@dipusevilla/componentes-iu 1.0.55 → 1.0.57

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.
Files changed (45) hide show
  1. package/dist/index.cjs.js +55 -29
  2. package/dist/index.css +1 -1
  3. package/dist/index.es.js +35526 -13239
  4. package/dist/index.umd.js +56 -30
  5. package/dist/types/components/Button.d.ts +2 -3
  6. package/dist/types/components/Checkbox.d.ts +0 -5
  7. package/dist/types/components/CollapsibleSection.d.ts +4 -6
  8. package/dist/types/components/DateInput.d.ts +4 -4
  9. package/dist/types/components/FormFieldInput.d.ts +6 -1
  10. package/dist/types/components/Input.d.ts +12 -14
  11. package/dist/types/components/InputGroup.d.ts +3 -1
  12. package/dist/types/components/SearchField.d.ts +9 -1
  13. package/dist/types/components/Select.d.ts +5 -0
  14. package/dist/types/components/TextArea.d.ts +16 -7
  15. package/dist/types/editor/SchemaEditorHost.d.ts +0 -4
  16. package/dist/types/editor/components/ColumnDropZone.d.ts +21 -2
  17. package/dist/types/editor/components/IconPicker.d.ts +17 -0
  18. package/dist/types/editor/components/ImportFromDTOButton.d.ts +1 -0
  19. package/dist/types/editor/components/Palette.d.ts +0 -1
  20. package/dist/types/editor/components/RelationsProvider.d.ts +28 -0
  21. package/dist/types/editor/components/RuleBuilder.enhanced.d.ts +13 -0
  22. package/dist/types/editor/components/RuleBuilder.types.d.ts +129 -0
  23. package/dist/types/editor/components/SelectInspector.d.ts +8 -0
  24. package/dist/types/editor/dnd/DraggableField.d.ts +17 -8
  25. package/dist/types/editor/dnd/FormRendererDnd.d.ts +13 -0
  26. package/dist/types/editor/dnd/InlineDropSlot.d.ts +12 -1
  27. package/dist/types/editor/dnd/RowDnd.d.ts +29 -0
  28. package/dist/types/editor/dnd/SortableBits.d.ts +11 -0
  29. package/dist/types/editor/dnd/dndPaths.d.ts +19 -0
  30. package/dist/types/editor/dnd/renderField.d.ts +24 -0
  31. package/dist/types/editor/dnd/types.d.ts +44 -1
  32. package/dist/types/editor/dnd/useFormRendererDeps.d.ts +23 -0
  33. package/dist/types/editor/importers/generateFromDTO.d.ts +56 -0
  34. package/dist/types/editor/relations/RelationsOverlay.d.ts +14 -0
  35. package/dist/types/editor/shortcuts/ShortcutsConfigModal.d.ts +10 -0
  36. package/dist/types/editor/shortcuts/index.d.ts +3 -0
  37. package/dist/types/editor/shortcuts/shortcutsConfig.d.ts +48 -0
  38. package/dist/types/editor/shortcuts/useShortcuts.d.ts +9 -0
  39. package/dist/types/editor/store.d.ts +29 -0
  40. package/dist/types/editor/utils/fieldKinds.d.ts +12 -0
  41. package/dist/types/editor/utils/input-group.d.ts +7 -0
  42. package/dist/types/editor/utils/layout-utils.d.ts +30 -0
  43. package/dist/types/types/FormTypes.d.ts +11 -1
  44. package/package.json +59 -66
  45. package/dist/types/editor/components/RuleBuilder.d.ts +0 -11
package/dist/index.cjs.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("react"),Jt=require("react-dom");function Cl(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const X=Cl(h);function Al(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Yr={exports:{}},vr={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react"),sr=require("react-dom");function X5(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const a=X5(v);function Q5(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Cn={exports:{}},Tr={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var fa;function Tl(){if(fa)return vr;fa=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(s,n,a){var i=null;if(a!==void 0&&(i=""+a),n.key!==void 0&&(i=""+n.key),"key"in n){a={};for(var l in n)l!=="key"&&(a[l]=n[l])}else a=n;return n=a.ref,{$$typeof:e,type:s,key:i,ref:n!==void 0?n:null,props:a}}return vr.Fragment=t,vr.jsx=r,vr.jsxs=r,vr}var yr={};/**
9
+ */var As;function e1(){if(As)return Tr;As=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,o,l){var i=null;if(l!==void 0&&(i=""+l),o.key!==void 0&&(i=""+o.key),"key"in o){l={};for(var c in o)c!=="key"&&(l[c]=o[c])}else l=o;return o=l.ref,{$$typeof:e,type:n,key:i,ref:o!==void 0?o:null,props:l}}return Tr.Fragment=t,Tr.jsx=r,Tr.jsxs=r,Tr}var Dr={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,37 +14,42 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var ma;function _l(){return ma||(ma=1,process.env.NODE_ENV!=="production"&&function(){function e(I){if(I==null)return null;if(typeof I=="function")return I.$$typeof===U?null:I.displayName||I.name||null;if(typeof I=="string")return I;switch(I){case v:return"Fragment";case m:return"Profiler";case x:return"StrictMode";case k:return"Suspense";case A:return"SuspenseList";case M:return"Activity"}if(typeof I=="object")switch(typeof I.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),I.$$typeof){case g:return"Portal";case j:return(I.displayName||"Context")+".Provider";case y:return(I._context.displayName||"Context")+".Consumer";case _:var z=I.render;return I=I.displayName,I||(I=z.displayName||z.name||"",I=I!==""?"ForwardRef("+I+")":"ForwardRef"),I;case C:return z=I.displayName||null,z!==null?z:e(I.type)||"Memo";case N:z=I._payload,I=I._init;try{return e(I(z))}catch{}}return null}function t(I){return""+I}function r(I){try{t(I);var z=!1}catch{z=!0}if(z){z=console;var Y=z.error,D=typeof Symbol=="function"&&Symbol.toStringTag&&I[Symbol.toStringTag]||I.constructor.name||"Object";return Y.call(z,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",D),t(I)}}function s(I){if(I===v)return"<>";if(typeof I=="object"&&I!==null&&I.$$typeof===N)return"<...>";try{var z=e(I);return z?"<"+z+">":"<...>"}catch{return"<...>"}}function n(){var I=V.A;return I===null?null:I.getOwner()}function a(){return Error("react-stack-top-frame")}function i(I){if(W.call(I,"key")){var z=Object.getOwnPropertyDescriptor(I,"key").get;if(z&&z.isReactWarning)return!1}return I.key!==void 0}function l(I,z){function Y(){S||(S=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",z))}Y.isReactWarning=!0,Object.defineProperty(I,"key",{get:Y,configurable:!0})}function c(){var I=e(this.type);return te[I]||(te[I]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),I=this.props.ref,I!==void 0?I:null}function d(I,z,Y,D,T,Z,R,B){return Y=Z.ref,I={$$typeof:b,type:I,key:z,props:Z,_owner:T},(Y!==void 0?Y:null)!==null?Object.defineProperty(I,"ref",{enumerable:!1,get:c}):Object.defineProperty(I,"ref",{enumerable:!1,value:null}),I._store={},Object.defineProperty(I._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(I,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(I,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:R}),Object.defineProperty(I,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:B}),Object.freeze&&(Object.freeze(I.props),Object.freeze(I)),I}function u(I,z,Y,D,T,Z,R,B){var ae=z.children;if(ae!==void 0)if(D)if($(ae)){for(D=0;D<ae.length;D++)f(ae[D]);Object.freeze&&Object.freeze(ae)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else f(ae);if(W.call(z,"key")){ae=e(I);var pe=Object.keys(z).filter(function(ve){return ve!=="key"});D=0<pe.length?"{key: someKey, "+pe.join(": ..., ")+": ...}":"{key: someKey}",me[ae+D]||(pe=0<pe.length?"{"+pe.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
17
+ */var Ss;function t1(){return Ss||(Ss=1,process.env.NODE_ENV!=="production"&&(function(){function e(O){if(O==null)return null;if(typeof O=="function")return O.$$typeof===_?null:O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case y:return"Fragment";case p:return"Profiler";case b:return"StrictMode";case A:return"Suspense";case S:return"SuspenseList";case $:return"Activity"}if(typeof O=="object")switch(typeof O.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),O.$$typeof){case x:return"Portal";case R:return O.displayName||"Context";case E:return(O._context.displayName||"Context")+".Consumer";case j:var J=O.render;return O=O.displayName,O||(O=J.displayName||J.name||"",O=O!==""?"ForwardRef("+O+")":"ForwardRef"),O;case N:return J=O.displayName||null,J!==null?J:e(O.type)||"Memo";case B:J=O._payload,O=O._init;try{return e(O(J))}catch{}}return null}function t(O){return""+O}function r(O){try{t(O);var J=!1}catch{J=!0}if(J){J=console;var T=J.error,Z=typeof Symbol=="function"&&Symbol.toStringTag&&O[Symbol.toStringTag]||O.constructor.name||"Object";return T.call(J,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Z),t(O)}}function n(O){if(O===y)return"<>";if(typeof O=="object"&&O!==null&&O.$$typeof===B)return"<...>";try{var J=e(O);return J?"<"+J+">":"<...>"}catch{return"<...>"}}function o(){var O=W.A;return O===null?null:O.getOwner()}function l(){return Error("react-stack-top-frame")}function i(O){if(K.call(O,"key")){var J=Object.getOwnPropertyDescriptor(O,"key").get;if(J&&J.isReactWarning)return!1}return O.key!==void 0}function c(O,J){function T(){ce||(ce=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",J))}T.isReactWarning=!0,Object.defineProperty(O,"key",{get:T,configurable:!0})}function d(){var O=e(this.type);return U[O]||(U[O]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),O=this.props.ref,O!==void 0?O:null}function u(O,J,T,Z,te,me){var re=T.ref;return O={$$typeof:w,type:O,key:J,props:T,_owner:Z},(re!==void 0?re:null)!==null?Object.defineProperty(O,"ref",{enumerable:!1,get:d}):Object.defineProperty(O,"ref",{enumerable:!1,value:null}),O._store={},Object.defineProperty(O._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(O,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(O,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:te}),Object.defineProperty(O,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:me}),Object.freeze&&(Object.freeze(O.props),Object.freeze(O)),O}function f(O,J,T,Z,te,me){var re=J.children;if(re!==void 0)if(Z)if(Q(re)){for(Z=0;Z<re.length;Z++)m(re[Z]);Object.freeze&&Object.freeze(re)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else m(re);if(K.call(J,"key")){re=e(O);var pe=Object.keys(J).filter(function(le){return le!=="key"});Z=0<pe.length?"{key: someKey, "+pe.join(": ..., ")+": ...}":"{key: someKey}",ae[re+Z]||(pe=0<pe.length?"{"+pe.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
18
  let props = %s;
19
19
  <%s {...props} />
20
20
  React keys must be passed directly to JSX without using spread:
21
21
  let props = %s;
22
- <%s key={someKey} {...props} />`,D,ae,pe,ae),me[ae+D]=!0)}if(ae=null,Y!==void 0&&(r(Y),ae=""+Y),i(z)&&(r(z.key),ae=""+z.key),"key"in z){Y={};for(var oe in z)oe!=="key"&&(Y[oe]=z[oe])}else Y=z;return ae&&l(Y,typeof I=="function"?I.displayName||I.name||"Unknown":I),d(I,ae,Z,T,n(),Y,R,B)}function f(I){typeof I=="object"&&I!==null&&I.$$typeof===b&&I._store&&(I._store.validated=1)}var p=h,b=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),j=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),M=Symbol.for("react.activity"),U=Symbol.for("react.client.reference"),V=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W=Object.prototype.hasOwnProperty,$=Array.isArray,L=console.createTask?console.createTask:function(){return null};p={"react-stack-bottom-frame":function(I){return I()}};var S,te={},ie=p["react-stack-bottom-frame"].bind(p,a)(),K=L(s(a)),me={};yr.Fragment=v,yr.jsx=function(I,z,Y,D,T){var Z=1e4>V.recentlyCreatedOwnerStacks++;return u(I,z,Y,!1,D,T,Z?Error("react-stack-top-frame"):ie,Z?L(s(I)):K)},yr.jsxs=function(I,z,Y,D,T){var Z=1e4>V.recentlyCreatedOwnerStacks++;return u(I,z,Y,!0,D,T,Z?Error("react-stack-top-frame"):ie,Z?L(s(I)):K)}}()),yr}var ha;function Fl(){return ha||(ha=1,process.env.NODE_ENV==="production"?Yr.exports=Tl():Yr.exports=_l()),Yr.exports}var o=Fl();function $o(e){var t,r,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=$o(e[t]))&&(s&&(s+=" "),s+=r)}else for(r in e)e[r]&&(s&&(s+=" "),s+=r);return s}function se(){for(var e,t,r=0,s="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=$o(e))&&(s&&(s+=" "),s+=t);return s}const Ol={sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6",xl:"w-10 h-10",full:"w-full h-full"};function kt({component:e,size:t="sm",className:r,...s}){return o.jsx(e,{className:se(Ol[t],r),"aria-hidden":s["aria-label"]?void 0:!0,...s})}const Rl="inline-flex items-center justify-center box-border font-[var(--font-primary)] font-medium rounded-lg transition focus:outline-none",Dl={primary:"bg-[var(--color-ds-button-primary-bg)] text-[var(--color-ds-button-primary-text)] hover:animate-pulse",outline:"bg-transparent text-[var(--color-ds-text-primary)] ring-1 ring-inset ring-[var(--color-ds-border-default)] hover:bg-[var(--color-ds-background-accent)] hover:text-[var(--color-ds-text-on-accent)]",ghost:"bg-transparent text-[var(--color-ds-text-primary)] hover:animate-pulse",subtle:"bg-[var(--color-ds-background-surface)] text-[var(--color-ds-text-primary)] ring-1 ring-inset ring-[var(--color-ds-border-default-50)] hover:text-[var(--color-ds-text-on-accent)] hover:bg-[var(--color-ds-background-accent)]",danger:"bg-[var(--color-ds-background-danger)] text-[var(--color-ds-text-danger)] hover:brightness-105"},Ml={xs:"text-[10px] leading-none h-5 px-1.5",sm:"text-ds-sm h-6 px-2",md:"text-ds-md h-10 px-2.5",lg:"text-ds-lg h-12 px-3"},$l={xs:"h-5 w-5 p-0",sm:"h-6 w-6 p-0",md:"h-10 w-10 p-0",lg:"h-12 w-12 p-0"},Ll="disabled:opacity-50 disabled:cursor-not-allowed disabled:bg-[var(--color-ds-background-disabled)] disabled:text-[var(--color-ds-text-primary)] disabled:ring-1 disabled:ring-inset disabled:ring-[var(--color-ds-border-muted)]";function fe({type:e="button",variant:t="primary",size:r="sm",width:s,disabled:n=!1,icon:a,iconPosition:i="left",ariaLabel:l,children:c,onClick:d,className:u,...f}){const p=!!a,b=p&&!c,g=b?$l[r]:Ml[r];return o.jsxs("button",{type:e,onClick:d,disabled:n,"aria-label":b?l:void 0,style:s?{width:s}:void 0,className:se(Rl,Dl[t],g,Ll,u,p&&c&&"gap-2"),...f,children:[a&&i==="left"&&o.jsx(kt,{component:a,size:r==="xs"?"sm":r}),c,a&&i==="right"&&o.jsx(kt,{component:a,size:r==="xs"?"sm":r})]})}function Pl({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3"}))}const zl=X.forwardRef(Pl);function Il({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"}))}const Vl=X.forwardRef(Il);function Bl({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"}))}const Ul=X.forwardRef(Bl);function ql({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 10.5 12 3m0 0 7.5 7.5M12 3v18"}))}const Wl=X.forwardRef(ql);function Kl({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))}const Gl=X.forwardRef(Kl);function Jl({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))}const Rs=X.forwardRef(Jl);function Zl({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5 8.25 12l7.5-7.5"}))}const Yl=X.forwardRef(Zl);function Hl({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"}))}const Lo=X.forwardRef(Hl);function Xl({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"}))}const Ql=X.forwardRef(Xl);function ec({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 16.5V9.75m0 0 3 3m-3-3-3 3M6.75 19.5a4.5 4.5 0 0 1-1.41-8.775 5.25 5.25 0 0 1 10.233-2.33 3 3 0 0 1 3.758 3.848A3.752 3.752 0 0 1 18 19.5H6.75Z"}))}const tc=X.forwardRef(ec);function rc({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.042 21.672 13.684 16.6m0 0-2.51 2.225.569-9.47 5.227 7.917-3.286-.672ZM12 2.25V4.5m5.834.166-1.591 1.591M20.25 10.5H18M7.757 14.743l-1.59 1.59M6 10.5H3.75m4.007-4.243-1.59-1.59"}))}const sc=X.forwardRef(rc);function nc({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const pa=X.forwardRef(nc);function ac({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"}))}const oc=X.forwardRef(ac);function ic({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}const Po=X.forwardRef(ic);function lc({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 8.25h15m-16.5 7.5h15m-1.8-13.5-3.9 19.5m-2.1-19.5-3.9 19.5"}))}const cc=X.forwardRef(lc);function dc({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"}))}const zo=X.forwardRef(dc);function uc({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"}))}const fc=X.forwardRef(uc);function mc({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 16.875h3.375m0 0h3.375m-3.375 0V13.5m0 3.375v3.375M6 10.5h2.25a2.25 2.25 0 0 0 2.25-2.25V6a2.25 2.25 0 0 0-2.25-2.25H6A2.25 2.25 0 0 0 3.75 6v2.25A2.25 2.25 0 0 0 6 10.5Zm0 9.75h2.25A2.25 2.25 0 0 0 10.5 18v-2.25a2.25 2.25 0 0 0-2.25-2.25H6a2.25 2.25 0 0 0-2.25 2.25V18A2.25 2.25 0 0 0 6 20.25Zm9.75-9.75H18a2.25 2.25 0 0 0 2.25-2.25V6A2.25 2.25 0 0 0 18 3.75h-2.25A2.25 2.25 0 0 0 13.5 6v2.25a2.25 2.25 0 0 0 2.25 2.25Z"}))}const hc=X.forwardRef(mc);function pc({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"}))}const bc=X.forwardRef(pc);function gc({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"}))}const xc=X.forwardRef(gc);function vc({title:e,titleId:t,...r},s){return X.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?X.createElement("title",{id:t},e):null,X.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))}const Vn=X.forwardRef(vc),yc={default:{wrapper:"box-border w-full rounded-lg bg-[var(--color-ds-background-surface)] overflow-hidden",padX:"px-6",padY:"py-4"},plain:{wrapper:"box-border w-full overflow-hidden",padX:"px-0",padY:"py-2"},soft:{wrapper:"box-border w-full rounded-lg bg-[color-mix(in srgb,var(--color-ds-background-surface) 60%, transparent 40%)] overflow-hidden",padX:"px-4",padY:"py-3"},ghost:{wrapper:"box-border w-full overflow-hidden",padX:"px-6",padY:"py-3"}};function it({title:e,children:t,defaultOpen:r=!0,className:s,type:n="default",contentClassName:a,headerClassName:i}){const[l,c]=h.useState(r),d=h.useRef(null),[u,f]=h.useState(0),p=()=>{d.current&&f(d.current.scrollHeight)};h.useLayoutEffect(()=>{p()},[l]),h.useEffect(()=>{const g=d.current;if(!g)return;const v=new ResizeObserver(()=>p());return v.observe(g),()=>v.disconnect()},[]);const b=yc[n];return o.jsxs("div",{className:se("flex flex-col w-full gap-3",s),children:[o.jsxs("button",{type:"button",onClick:()=>c(g=>!g),"aria-expanded":l,className:se("flex items-center justify-between w-full transition-colors","hover:bg-[var(--color-ds-surface-hover)]",i),children:[o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx("span",{className:"block w-1 h-5 bg-[var(--color-ds-background-accent)] rounded-sm"}),o.jsx("span",{className:"font-semibold text-[var(--color-ds-text-primary)]",children:e})]}),l?o.jsx(Ql,{className:"w-5 h-5 text-[var(--color-ds-text-primary)]"}):o.jsx(Rs,{className:"w-5 h-5 text-[var(--color-ds-text-primary)]"})]}),o.jsx("div",{className:b.wrapper,children:o.jsx("div",{className:b.padX,children:o.jsx("div",{className:se("overflow-hidden transition-all duration-300 ease-in-out",l?"opacity-100":"opacity-0"),style:{maxHeight:l?`${u}px`:"0px"},children:o.jsx("div",{ref:d,className:se(b.padY,a),children:t})})})})]})}const Bn="-",wc=e=>{const t=kc(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:i=>{const l=i.split(Bn);return l[0]===""&&l.length!==1&&l.shift(),Io(l,t)||jc(i)},getConflictingClassGroupIds:(i,l)=>{const c=r[i]||[];return l&&s[i]?[...c,...s[i]]:c}}},Io=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const r=e[0],s=t.nextPart.get(r),n=s?Io(e.slice(1),s):void 0;if(n)return n;if(t.validators.length===0)return;const a=e.join(Bn);return(i=t.validators.find(({validator:l})=>l(a)))==null?void 0:i.classGroupId},ba=/^\[(.+)\]$/,jc=e=>{if(ba.test(e)){const t=ba.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},kc=e=>{const{theme:t,classGroups:r}=e,s={nextPart:new Map,validators:[]};for(const n in r)xn(r[n],s,n,t);return s},xn=(e,t,r,s)=>{e.forEach(n=>{if(typeof n=="string"){const a=n===""?t:ga(t,n);a.classGroupId=r;return}if(typeof n=="function"){if(Nc(n)){xn(n(s),t,r,s);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([a,i])=>{xn(i,ga(t,a),r,s)})})},ga=(e,t)=>{let r=e;return t.split(Bn).forEach(s=>{r.nextPart.has(s)||r.nextPart.set(s,{nextPart:new Map,validators:[]}),r=r.nextPart.get(s)}),r},Nc=e=>e.isThemeGetter,Sc=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,s=new Map;const n=(a,i)=>{r.set(a,i),t++,t>e&&(t=0,s=r,r=new Map)};return{get(a){let i=r.get(a);if(i!==void 0)return i;if((i=s.get(a))!==void 0)return n(a,i),i},set(a,i){r.has(a)?r.set(a,i):n(a,i)}}},vn="!",yn=":",Ec=yn.length,Cc=e=>{const{prefix:t,experimentalParseClassName:r}=e;let s=n=>{const a=[];let i=0,l=0,c=0,d;for(let g=0;g<n.length;g++){let v=n[g];if(i===0&&l===0){if(v===yn){a.push(n.slice(c,g)),c=g+Ec;continue}if(v==="/"){d=g;continue}}v==="["?i++:v==="]"?i--:v==="("?l++:v===")"&&l--}const u=a.length===0?n:n.substring(c),f=Ac(u),p=f!==u,b=d&&d>c?d-c:void 0;return{modifiers:a,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:b}};if(t){const n=t+yn,a=s;s=i=>i.startsWith(n)?a(i.substring(n.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:i,maybePostfixModifierPosition:void 0}}if(r){const n=s;s=a=>r({className:a,parseClassName:n})}return s},Ac=e=>e.endsWith(vn)?e.substring(0,e.length-1):e.startsWith(vn)?e.substring(1):e,Tc=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(s=>[s,!0]));return s=>{if(s.length<=1)return s;const n=[];let a=[];return s.forEach(i=>{i[0]==="["||t[i]?(n.push(...a.sort(),i),a=[]):a.push(i)}),n.push(...a.sort()),n}},_c=e=>({cache:Sc(e.cacheSize),parseClassName:Cc(e),sortModifiers:Tc(e),...wc(e)}),Fc=/\s+/,Oc=(e,t)=>{const{parseClassName:r,getClassGroupId:s,getConflictingClassGroupIds:n,sortModifiers:a}=t,i=[],l=e.trim().split(Fc);let c="";for(let d=l.length-1;d>=0;d-=1){const u=l[d],{isExternal:f,modifiers:p,hasImportantModifier:b,baseClassName:g,maybePostfixModifierPosition:v}=r(u);if(f){c=u+(c.length>0?" "+c:c);continue}let x=!!v,m=s(x?g.substring(0,v):g);if(!m){if(!x){c=u+(c.length>0?" "+c:c);continue}if(m=s(g),!m){c=u+(c.length>0?" "+c:c);continue}x=!1}const y=a(p).join(":"),j=b?y+vn:y,_=j+m;if(i.includes(_))continue;i.push(_);const k=n(m,x);for(let A=0;A<k.length;++A){const C=k[A];i.push(j+C)}c=u+(c.length>0?" "+c:c)}return c};function Rc(){let e=0,t,r,s="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Vo(t))&&(s&&(s+=" "),s+=r);return s}const Vo=e=>{if(typeof e=="string")return e;let t,r="";for(let s=0;s<e.length;s++)e[s]&&(t=Vo(e[s]))&&(r&&(r+=" "),r+=t);return r};function Dc(e,...t){let r,s,n,a=i;function i(c){const d=t.reduce((u,f)=>f(u),e());return r=_c(d),s=r.cache.get,n=r.cache.set,a=l,l(c)}function l(c){const d=s(c);if(d)return d;const u=Oc(c,r);return n(c,u),u}return function(){return a(Rc.apply(null,arguments))}}const ze=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},Bo=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Uo=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Mc=/^\d+\/\d+$/,$c=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Lc=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Pc=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,zc=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ic=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,nr=e=>Mc.test(e),ge=e=>!!e&&!Number.isNaN(Number(e)),$t=e=>!!e&&Number.isInteger(Number(e)),Ks=e=>e.endsWith("%")&&ge(e.slice(0,-1)),St=e=>$c.test(e),Vc=()=>!0,Bc=e=>Lc.test(e)&&!Pc.test(e),qo=()=>!1,Uc=e=>zc.test(e),qc=e=>Ic.test(e),Wc=e=>!ce(e)&&!de(e),Kc=e=>hr(e,Go,qo),ce=e=>Bo.test(e),Kt=e=>hr(e,Jo,Bc),Gs=e=>hr(e,Hc,ge),xa=e=>hr(e,Wo,qo),Gc=e=>hr(e,Ko,qc),Hr=e=>hr(e,Zo,Uc),de=e=>Uo.test(e),wr=e=>pr(e,Jo),Jc=e=>pr(e,Xc),va=e=>pr(e,Wo),Zc=e=>pr(e,Go),Yc=e=>pr(e,Ko),Xr=e=>pr(e,Zo,!0),hr=(e,t,r)=>{const s=Bo.exec(e);return s?s[1]?t(s[1]):r(s[2]):!1},pr=(e,t,r=!1)=>{const s=Uo.exec(e);return s?s[1]?t(s[1]):r:!1},Wo=e=>e==="position"||e==="percentage",Ko=e=>e==="image"||e==="url",Go=e=>e==="length"||e==="size"||e==="bg-size",Jo=e=>e==="length",Hc=e=>e==="number",Xc=e=>e==="family-name",Zo=e=>e==="shadow",Qc=()=>{const e=ze("color"),t=ze("font"),r=ze("text"),s=ze("font-weight"),n=ze("tracking"),a=ze("leading"),i=ze("breakpoint"),l=ze("container"),c=ze("spacing"),d=ze("radius"),u=ze("shadow"),f=ze("inset-shadow"),p=ze("text-shadow"),b=ze("drop-shadow"),g=ze("blur"),v=ze("perspective"),x=ze("aspect"),m=ze("ease"),y=ze("animate"),j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],_=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[..._(),de,ce],A=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],N=()=>[de,ce,c],M=()=>[nr,"full","auto",...N()],U=()=>[$t,"none","subgrid",de,ce],V=()=>["auto",{span:["full",$t,de,ce]},$t,de,ce],W=()=>[$t,"auto",de,ce],$=()=>["auto","min","max","fr",de,ce],L=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],S=()=>["start","end","center","stretch","center-safe","end-safe"],te=()=>["auto",...N()],ie=()=>[nr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...N()],K=()=>[e,de,ce],me=()=>[..._(),va,xa,{position:[de,ce]}],I=()=>["no-repeat",{repeat:["","x","y","space","round"]}],z=()=>["auto","cover","contain",Zc,Kc,{size:[de,ce]}],Y=()=>[Ks,wr,Kt],D=()=>["","none","full",d,de,ce],T=()=>["",ge,wr,Kt],Z=()=>["solid","dashed","dotted","double"],R=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],B=()=>[ge,Ks,va,xa],ae=()=>["","none",g,de,ce],pe=()=>["none",ge,de,ce],oe=()=>["none",ge,de,ce],ve=()=>[ge,de,ce],le=()=>[nr,"full",...N()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[St],breakpoint:[St],color:[Vc],container:[St],"drop-shadow":[St],ease:["in","out","in-out"],font:[Wc],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[St],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[St],shadow:[St],spacing:["px",ge],text:[St],"text-shadow":[St],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",nr,ce,de,x]}],container:["container"],columns:[{columns:[ge,ce,de,l]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:M()}],"inset-x":[{"inset-x":M()}],"inset-y":[{"inset-y":M()}],start:[{start:M()}],end:[{end:M()}],top:[{top:M()}],right:[{right:M()}],bottom:[{bottom:M()}],left:[{left:M()}],visibility:["visible","invisible","collapse"],z:[{z:[$t,"auto",de,ce]}],basis:[{basis:[nr,"full","auto",l,...N()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ge,nr,"auto","initial","none",ce]}],grow:[{grow:["",ge,de,ce]}],shrink:[{shrink:["",ge,de,ce]}],order:[{order:[$t,"first","last","none",de,ce]}],"grid-cols":[{"grid-cols":U()}],"col-start-end":[{col:V()}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":U()}],"row-start-end":[{row:V()}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":$()}],"auto-rows":[{"auto-rows":$()}],gap:[{gap:N()}],"gap-x":[{"gap-x":N()}],"gap-y":[{"gap-y":N()}],"justify-content":[{justify:[...L(),"normal"]}],"justify-items":[{"justify-items":[...S(),"normal"]}],"justify-self":[{"justify-self":["auto",...S()]}],"align-content":[{content:["normal",...L()]}],"align-items":[{items:[...S(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...S(),{baseline:["","last"]}]}],"place-content":[{"place-content":L()}],"place-items":[{"place-items":[...S(),"baseline"]}],"place-self":[{"place-self":["auto",...S()]}],p:[{p:N()}],px:[{px:N()}],py:[{py:N()}],ps:[{ps:N()}],pe:[{pe:N()}],pt:[{pt:N()}],pr:[{pr:N()}],pb:[{pb:N()}],pl:[{pl:N()}],m:[{m:te()}],mx:[{mx:te()}],my:[{my:te()}],ms:[{ms:te()}],me:[{me:te()}],mt:[{mt:te()}],mr:[{mr:te()}],mb:[{mb:te()}],ml:[{ml:te()}],"space-x":[{"space-x":N()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":N()}],"space-y-reverse":["space-y-reverse"],size:[{size:ie()}],w:[{w:[l,"screen",...ie()]}],"min-w":[{"min-w":[l,"screen","none",...ie()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[i]},...ie()]}],h:[{h:["screen","lh",...ie()]}],"min-h":[{"min-h":["screen","lh","none",...ie()]}],"max-h":[{"max-h":["screen","lh",...ie()]}],"font-size":[{text:["base",r,wr,Kt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[s,de,Gs]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ks,ce]}],"font-family":[{font:[Jc,ce,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,de,ce]}],"line-clamp":[{"line-clamp":[ge,"none",de,Gs]}],leading:[{leading:[a,...N()]}],"list-image":[{"list-image":["none",de,ce]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",de,ce]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:K()}],"text-color":[{text:K()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:[ge,"from-font","auto",de,Kt]}],"text-decoration-color":[{decoration:K()}],"underline-offset":[{"underline-offset":[ge,"auto",de,ce]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",de,ce]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",de,ce]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:me()}],"bg-repeat":[{bg:I()}],"bg-size":[{bg:z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},$t,de,ce],radial:["",de,ce],conic:[$t,de,ce]},Yc,Gc]}],"bg-color":[{bg:K()}],"gradient-from-pos":[{from:Y()}],"gradient-via-pos":[{via:Y()}],"gradient-to-pos":[{to:Y()}],"gradient-from":[{from:K()}],"gradient-via":[{via:K()}],"gradient-to":[{to:K()}],rounded:[{rounded:D()}],"rounded-s":[{"rounded-s":D()}],"rounded-e":[{"rounded-e":D()}],"rounded-t":[{"rounded-t":D()}],"rounded-r":[{"rounded-r":D()}],"rounded-b":[{"rounded-b":D()}],"rounded-l":[{"rounded-l":D()}],"rounded-ss":[{"rounded-ss":D()}],"rounded-se":[{"rounded-se":D()}],"rounded-ee":[{"rounded-ee":D()}],"rounded-es":[{"rounded-es":D()}],"rounded-tl":[{"rounded-tl":D()}],"rounded-tr":[{"rounded-tr":D()}],"rounded-br":[{"rounded-br":D()}],"rounded-bl":[{"rounded-bl":D()}],"border-w":[{border:T()}],"border-w-x":[{"border-x":T()}],"border-w-y":[{"border-y":T()}],"border-w-s":[{"border-s":T()}],"border-w-e":[{"border-e":T()}],"border-w-t":[{"border-t":T()}],"border-w-r":[{"border-r":T()}],"border-w-b":[{"border-b":T()}],"border-w-l":[{"border-l":T()}],"divide-x":[{"divide-x":T()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":T()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Z(),"hidden","none"]}],"divide-style":[{divide:[...Z(),"hidden","none"]}],"border-color":[{border:K()}],"border-color-x":[{"border-x":K()}],"border-color-y":[{"border-y":K()}],"border-color-s":[{"border-s":K()}],"border-color-e":[{"border-e":K()}],"border-color-t":[{"border-t":K()}],"border-color-r":[{"border-r":K()}],"border-color-b":[{"border-b":K()}],"border-color-l":[{"border-l":K()}],"divide-color":[{divide:K()}],"outline-style":[{outline:[...Z(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ge,de,ce]}],"outline-w":[{outline:["",ge,wr,Kt]}],"outline-color":[{outline:K()}],shadow:[{shadow:["","none",u,Xr,Hr]}],"shadow-color":[{shadow:K()}],"inset-shadow":[{"inset-shadow":["none",f,Xr,Hr]}],"inset-shadow-color":[{"inset-shadow":K()}],"ring-w":[{ring:T()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:K()}],"ring-offset-w":[{"ring-offset":[ge,Kt]}],"ring-offset-color":[{"ring-offset":K()}],"inset-ring-w":[{"inset-ring":T()}],"inset-ring-color":[{"inset-ring":K()}],"text-shadow":[{"text-shadow":["none",p,Xr,Hr]}],"text-shadow-color":[{"text-shadow":K()}],opacity:[{opacity:[ge,de,ce]}],"mix-blend":[{"mix-blend":[...R(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":R()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ge]}],"mask-image-linear-from-pos":[{"mask-linear-from":B()}],"mask-image-linear-to-pos":[{"mask-linear-to":B()}],"mask-image-linear-from-color":[{"mask-linear-from":K()}],"mask-image-linear-to-color":[{"mask-linear-to":K()}],"mask-image-t-from-pos":[{"mask-t-from":B()}],"mask-image-t-to-pos":[{"mask-t-to":B()}],"mask-image-t-from-color":[{"mask-t-from":K()}],"mask-image-t-to-color":[{"mask-t-to":K()}],"mask-image-r-from-pos":[{"mask-r-from":B()}],"mask-image-r-to-pos":[{"mask-r-to":B()}],"mask-image-r-from-color":[{"mask-r-from":K()}],"mask-image-r-to-color":[{"mask-r-to":K()}],"mask-image-b-from-pos":[{"mask-b-from":B()}],"mask-image-b-to-pos":[{"mask-b-to":B()}],"mask-image-b-from-color":[{"mask-b-from":K()}],"mask-image-b-to-color":[{"mask-b-to":K()}],"mask-image-l-from-pos":[{"mask-l-from":B()}],"mask-image-l-to-pos":[{"mask-l-to":B()}],"mask-image-l-from-color":[{"mask-l-from":K()}],"mask-image-l-to-color":[{"mask-l-to":K()}],"mask-image-x-from-pos":[{"mask-x-from":B()}],"mask-image-x-to-pos":[{"mask-x-to":B()}],"mask-image-x-from-color":[{"mask-x-from":K()}],"mask-image-x-to-color":[{"mask-x-to":K()}],"mask-image-y-from-pos":[{"mask-y-from":B()}],"mask-image-y-to-pos":[{"mask-y-to":B()}],"mask-image-y-from-color":[{"mask-y-from":K()}],"mask-image-y-to-color":[{"mask-y-to":K()}],"mask-image-radial":[{"mask-radial":[de,ce]}],"mask-image-radial-from-pos":[{"mask-radial-from":B()}],"mask-image-radial-to-pos":[{"mask-radial-to":B()}],"mask-image-radial-from-color":[{"mask-radial-from":K()}],"mask-image-radial-to-color":[{"mask-radial-to":K()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":_()}],"mask-image-conic-pos":[{"mask-conic":[ge]}],"mask-image-conic-from-pos":[{"mask-conic-from":B()}],"mask-image-conic-to-pos":[{"mask-conic-to":B()}],"mask-image-conic-from-color":[{"mask-conic-from":K()}],"mask-image-conic-to-color":[{"mask-conic-to":K()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:me()}],"mask-repeat":[{mask:I()}],"mask-size":[{mask:z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",de,ce]}],filter:[{filter:["","none",de,ce]}],blur:[{blur:ae()}],brightness:[{brightness:[ge,de,ce]}],contrast:[{contrast:[ge,de,ce]}],"drop-shadow":[{"drop-shadow":["","none",b,Xr,Hr]}],"drop-shadow-color":[{"drop-shadow":K()}],grayscale:[{grayscale:["",ge,de,ce]}],"hue-rotate":[{"hue-rotate":[ge,de,ce]}],invert:[{invert:["",ge,de,ce]}],saturate:[{saturate:[ge,de,ce]}],sepia:[{sepia:["",ge,de,ce]}],"backdrop-filter":[{"backdrop-filter":["","none",de,ce]}],"backdrop-blur":[{"backdrop-blur":ae()}],"backdrop-brightness":[{"backdrop-brightness":[ge,de,ce]}],"backdrop-contrast":[{"backdrop-contrast":[ge,de,ce]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ge,de,ce]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ge,de,ce]}],"backdrop-invert":[{"backdrop-invert":["",ge,de,ce]}],"backdrop-opacity":[{"backdrop-opacity":[ge,de,ce]}],"backdrop-saturate":[{"backdrop-saturate":[ge,de,ce]}],"backdrop-sepia":[{"backdrop-sepia":["",ge,de,ce]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":N()}],"border-spacing-x":[{"border-spacing-x":N()}],"border-spacing-y":[{"border-spacing-y":N()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",de,ce]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ge,"initial",de,ce]}],ease:[{ease:["linear","initial",m,de,ce]}],delay:[{delay:[ge,de,ce]}],animate:[{animate:["none",y,de,ce]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,de,ce]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:pe()}],"rotate-x":[{"rotate-x":pe()}],"rotate-y":[{"rotate-y":pe()}],"rotate-z":[{"rotate-z":pe()}],scale:[{scale:oe()}],"scale-x":[{"scale-x":oe()}],"scale-y":[{"scale-y":oe()}],"scale-z":[{"scale-z":oe()}],"scale-3d":["scale-3d"],skew:[{skew:ve()}],"skew-x":[{"skew-x":ve()}],"skew-y":[{"skew-y":ve()}],transform:[{transform:[de,ce,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:le()}],"translate-x":[{"translate-x":le()}],"translate-y":[{"translate-y":le()}],"translate-z":[{"translate-z":le()}],"translate-none":["translate-none"],accent:[{accent:K()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:K()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",de,ce]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",de,ce]}],fill:[{fill:["none",...K()]}],"stroke-w":[{stroke:[ge,wr,Kt,Gs]}],stroke:[{stroke:["none",...K()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},ed=Dc(Qc);var Lr=e=>e.type==="checkbox",Zt=e=>e instanceof Date,Ze=e=>e==null;const Yo=e=>typeof e=="object";var De=e=>!Ze(e)&&!Array.isArray(e)&&Yo(e)&&!Zt(e),Ho=e=>De(e)&&e.target?Lr(e.target)?e.target.checked:e.target.value:e,td=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,Xo=(e,t)=>e.has(td(t)),rd=e=>{const t=e.constructor&&e.constructor.prototype;return De(t)&&t.hasOwnProperty("isPrototypeOf")},Un=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function qe(e){let t;const r=Array.isArray(e),s=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(Un&&(e instanceof Blob||s))&&(r||De(e)))if(t=r?[]:{},!r&&!rd(e))t=e;else for(const n in e)e.hasOwnProperty(n)&&(t[n]=qe(e[n]));else return e;return t}var Ds=e=>Array.isArray(e)?e.filter(Boolean):[],Re=e=>e===void 0,re=(e,t,r)=>{if(!t||!De(e))return r;const s=Ds(t.split(/[,[\].]+?/)).reduce((n,a)=>Ze(n)?n:n[a],e);return Re(s)||s===e?Re(e[t])?r:e[t]:s},lt=e=>typeof e=="boolean",qn=e=>/^\w*$/.test(e),Qo=e=>Ds(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Ee=(e,t,r)=>{let s=-1;const n=qn(t)?[t]:Qo(t),a=n.length,i=a-1;for(;++s<a;){const l=n[s];let c=r;if(s!==i){const d=e[l];c=De(d)||Array.isArray(d)?d:isNaN(+n[s+1])?{}:[]}if(l==="__proto__"||l==="constructor"||l==="prototype")return;e[l]=c,e=e[l]}};const gs={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},ht={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Et={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},ei=h.createContext(null),Pr=()=>h.useContext(ei),sd=e=>{const{children:t,...r}=e;return h.createElement(ei.Provider,{value:r},t)};var ti=(e,t,r,s=!0)=>{const n={defaultValues:t._defaultValues};for(const a in e)Object.defineProperty(n,a,{get:()=>{const i=a;return t._proxyFormState[i]!==ht.all&&(t._proxyFormState[i]=!s||ht.all),r&&(r[i]=!0),e[i]}});return n};const Wn=typeof window<"u"?X.useLayoutEffect:X.useEffect;function nd(e){const t=Pr(),{control:r=t.control,disabled:s,name:n,exact:a}=e||{},[i,l]=h.useState(r._formState),c=h.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return Wn(()=>r._subscribe({name:n,formState:c.current,exact:a,callback:d=>{!s&&l({...r._formState,...d})}}),[n,s,a]),h.useEffect(()=>{c.current.isValid&&r._setValid(!0)},[r]),h.useMemo(()=>ti(i,r,c.current,!1),[i,r])}var Nt=e=>typeof e=="string",ri=(e,t,r,s,n)=>Nt(e)?(s&&t.watch.add(e),re(r,e,n)):Array.isArray(e)?e.map(a=>(s&&t.watch.add(a),re(r,a))):(s&&(t.watchAll=!0),r);function Kn(e){const t=Pr(),{control:r=t.control,name:s,defaultValue:n,disabled:a,exact:i}=e||{},l=h.useRef(n),[c,d]=h.useState(r._getWatch(s,l.current));return Wn(()=>r._subscribe({name:s,formState:{values:!0},exact:i,callback:u=>!a&&d(ri(s,r._names,u.values||r._formValues,!1,l.current))}),[s,r,a,i]),h.useEffect(()=>r._removeUnmounted()),c}function si(e){const t=Pr(),{name:r,disabled:s,control:n=t.control,shouldUnregister:a}=e,i=Xo(n._names.array,r),l=Kn({control:n,name:r,defaultValue:re(n._formValues,r,re(n._defaultValues,r,e.defaultValue)),exact:!0}),c=nd({control:n,name:r,exact:!0}),d=h.useRef(e),u=h.useRef(n.register(r,{...e.rules,value:l,...lt(e.disabled)?{disabled:e.disabled}:{}})),f=h.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!re(c.errors,r)},isDirty:{enumerable:!0,get:()=>!!re(c.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!re(c.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!re(c.validatingFields,r)},error:{enumerable:!0,get:()=>re(c.errors,r)}}),[c,r]),p=h.useCallback(x=>u.current.onChange({target:{value:Ho(x),name:r},type:gs.CHANGE}),[r]),b=h.useCallback(()=>u.current.onBlur({target:{value:re(n._formValues,r),name:r},type:gs.BLUR}),[r,n._formValues]),g=h.useCallback(x=>{const m=re(n._fields,r);m&&x&&(m._f.ref={focus:()=>x.focus(),select:()=>x.select(),setCustomValidity:y=>x.setCustomValidity(y),reportValidity:()=>x.reportValidity()})},[n._fields,r]),v=h.useMemo(()=>({name:r,value:l,...lt(s)||c.disabled?{disabled:c.disabled||s}:{},onChange:p,onBlur:b,ref:g}),[r,s,c.disabled,p,b,g,l]);return h.useEffect(()=>{const x=n._options.shouldUnregister||a;n.register(r,{...d.current.rules,...lt(d.current.disabled)?{disabled:d.current.disabled}:{}});const m=(y,j)=>{const _=re(n._fields,y);_&&_._f&&(_._f.mount=j)};if(m(r,!0),x){const y=qe(re(n._options.defaultValues,r));Ee(n._defaultValues,r,y),Re(re(n._formValues,r))&&Ee(n._formValues,r,y)}return!i&&n.register(r),()=>{(i?x&&!n._state.action:x)?n.unregister(r):m(r,!1)}},[r,n,i,a]),h.useEffect(()=>{n._setDisabledField({disabled:s,name:r})},[s,r,n]),h.useMemo(()=>({field:v,formState:c,fieldState:f}),[v,c,f])}const gt=e=>e.render(si(e));var ni=(e,t,r,s,n)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[s]:n||!0}}:{},Er=e=>Array.isArray(e)?e:[e],ya=()=>{let e=[];return{get observers(){return e},next:n=>{for(const a of e)a.next&&a.next(n)},subscribe:n=>(e.push(n),{unsubscribe:()=>{e=e.filter(a=>a!==n)}}),unsubscribe:()=>{e=[]}}},wn=e=>Ze(e)||!Yo(e);function It(e,t){if(wn(e)||wn(t))return e===t;if(Zt(e)&&Zt(t))return e.getTime()===t.getTime();const r=Object.keys(e),s=Object.keys(t);if(r.length!==s.length)return!1;for(const n of r){const a=e[n];if(!s.includes(n))return!1;if(n!=="ref"){const i=t[n];if(Zt(a)&&Zt(i)||De(a)&&De(i)||Array.isArray(a)&&Array.isArray(i)?!It(a,i):a!==i)return!1}}return!0}var Je=e=>De(e)&&!Object.keys(e).length,Gn=e=>e.type==="file",pt=e=>typeof e=="function",xs=e=>{if(!Un)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},ai=e=>e.type==="select-multiple",Jn=e=>e.type==="radio",ad=e=>Jn(e)||Lr(e),Js=e=>xs(e)&&e.isConnected;function od(e,t){const r=t.slice(0,-1).length;let s=0;for(;s<r;)e=Re(e)?s++:e[t[s++]];return e}function id(e){for(const t in e)if(e.hasOwnProperty(t)&&!Re(e[t]))return!1;return!0}function Ie(e,t){const r=Array.isArray(t)?t:qn(t)?[t]:Qo(t),s=r.length===1?e:od(e,r),n=r.length-1,a=r[n];return s&&delete s[a],n!==0&&(De(s)&&Je(s)||Array.isArray(s)&&id(s))&&Ie(e,r.slice(0,-1)),e}var oi=e=>{for(const t in e)if(pt(e[t]))return!0;return!1};function vs(e,t={}){const r=Array.isArray(e);if(De(e)||r)for(const s in e)Array.isArray(e[s])||De(e[s])&&!oi(e[s])?(t[s]=Array.isArray(e[s])?[]:{},vs(e[s],t[s])):Ze(e[s])||(t[s]=!0);return t}function ii(e,t,r){const s=Array.isArray(e);if(De(e)||s)for(const n in e)Array.isArray(e[n])||De(e[n])&&!oi(e[n])?Re(t)||wn(r[n])?r[n]=Array.isArray(e[n])?vs(e[n],[]):{...vs(e[n])}:ii(e[n],Ze(t)?{}:t[n],r[n]):r[n]=!It(e[n],t[n]);return r}var jr=(e,t)=>ii(e,t,vs(t));const wa={value:!1,isValid:!1},ja={value:!0,isValid:!0};var li=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Re(e[0].attributes.value)?Re(e[0].value)||e[0].value===""?ja:{value:e[0].value,isValid:!0}:ja:wa}return wa},ci=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:s})=>Re(e)?e:t?e===""?NaN:e&&+e:r&&Nt(e)?new Date(e):s?s(e):e;const ka={isValid:!1,value:null};var di=e=>Array.isArray(e)?e.reduce((t,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:t,ka):ka;function Na(e){const t=e.ref;return Gn(t)?t.files:Jn(t)?di(e.refs).value:ai(t)?[...t.selectedOptions].map(({value:r})=>r):Lr(t)?li(e.refs).value:ci(Re(t.value)?e.ref.value:t.value,e)}var ld=(e,t,r,s)=>{const n={};for(const a of e){const i=re(t,a);i&&Ee(n,a,i._f)}return{criteriaMode:r,names:[...e],fields:n,shouldUseNativeValidation:s}},ys=e=>e instanceof RegExp,kr=e=>Re(e)?e:ys(e)?e.source:De(e)?ys(e.value)?e.value.source:e.value:e,Sa=e=>({isOnSubmit:!e||e===ht.onSubmit,isOnBlur:e===ht.onBlur,isOnChange:e===ht.onChange,isOnAll:e===ht.all,isOnTouch:e===ht.onTouched});const Ea="AsyncFunction";var cd=e=>!!e&&!!e.validate&&!!(pt(e.validate)&&e.validate.constructor.name===Ea||De(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===Ea)),dd=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),Ca=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(s=>e.startsWith(s)&&/^\.\w+/.test(e.slice(s.length))));const Cr=(e,t,r,s)=>{for(const n of r||Object.keys(e)){const a=re(e,n);if(a){const{_f:i,...l}=a;if(i){if(i.refs&&i.refs[0]&&t(i.refs[0],n)&&!s)return!0;if(i.ref&&t(i.ref,i.name)&&!s)return!0;if(Cr(l,t))break}else if(De(l)&&Cr(l,t))break}}};function Aa(e,t,r){const s=re(e,r);if(s||qn(r))return{error:s,name:r};const n=r.split(".");for(;n.length;){const a=n.join("."),i=re(t,a),l=re(e,a);if(i&&!Array.isArray(i)&&r!==a)return{name:r};if(l&&l.type)return{name:a,error:l};n.pop()}return{name:r}}var ud=(e,t,r,s)=>{r(e);const{name:n,...a}=e;return Je(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(i=>t[i]===(!s||ht.all))},fd=(e,t,r)=>!e||!t||e===t||Er(e).some(s=>s&&(r?s===t:s.startsWith(t)||t.startsWith(s))),md=(e,t,r,s,n)=>n.isOnAll?!1:!r&&n.isOnTouch?!(t||e):(r?s.isOnBlur:n.isOnBlur)?!e:(r?s.isOnChange:n.isOnChange)?e:!0,hd=(e,t)=>!Ds(re(e,t)).length&&Ie(e,t),pd=(e,t,r)=>{const s=Er(re(e,r));return Ee(s,"root",t[r]),Ee(e,r,s),e},fs=e=>Nt(e);function Ta(e,t,r="validate"){if(fs(e)||Array.isArray(e)&&e.every(fs)||lt(e)&&!e)return{type:r,message:fs(e)?e:"",ref:t}}var ar=e=>De(e)&&!ys(e)?e:{value:e,message:""},_a=async(e,t,r,s,n,a)=>{const{ref:i,refs:l,required:c,maxLength:d,minLength:u,min:f,max:p,pattern:b,validate:g,name:v,valueAsNumber:x,mount:m}=e._f,y=re(r,v);if(!m||t.has(v))return{};const j=l?l[0]:i,_=W=>{n&&j.reportValidity&&(j.setCustomValidity(lt(W)?"":W||""),j.reportValidity())},k={},A=Jn(i),C=Lr(i),N=A||C,M=(x||Gn(i))&&Re(i.value)&&Re(y)||xs(i)&&i.value===""||y===""||Array.isArray(y)&&!y.length,U=ni.bind(null,v,s,k),V=(W,$,L,S=Et.maxLength,te=Et.minLength)=>{const ie=W?$:L;k[v]={type:W?S:te,message:ie,ref:i,...U(W?S:te,ie)}};if(a?!Array.isArray(y)||!y.length:c&&(!N&&(M||Ze(y))||lt(y)&&!y||C&&!li(l).isValid||A&&!di(l).isValid)){const{value:W,message:$}=fs(c)?{value:!!c,message:c}:ar(c);if(W&&(k[v]={type:Et.required,message:$,ref:j,...U(Et.required,$)},!s))return _($),k}if(!M&&(!Ze(f)||!Ze(p))){let W,$;const L=ar(p),S=ar(f);if(!Ze(y)&&!isNaN(y)){const te=i.valueAsNumber||y&&+y;Ze(L.value)||(W=te>L.value),Ze(S.value)||($=te<S.value)}else{const te=i.valueAsDate||new Date(y),ie=I=>new Date(new Date().toDateString()+" "+I),K=i.type=="time",me=i.type=="week";Nt(L.value)&&y&&(W=K?ie(y)>ie(L.value):me?y>L.value:te>new Date(L.value)),Nt(S.value)&&y&&($=K?ie(y)<ie(S.value):me?y<S.value:te<new Date(S.value))}if((W||$)&&(V(!!W,L.message,S.message,Et.max,Et.min),!s))return _(k[v].message),k}if((d||u)&&!M&&(Nt(y)||a&&Array.isArray(y))){const W=ar(d),$=ar(u),L=!Ze(W.value)&&y.length>+W.value,S=!Ze($.value)&&y.length<+$.value;if((L||S)&&(V(L,W.message,$.message),!s))return _(k[v].message),k}if(b&&!M&&Nt(y)){const{value:W,message:$}=ar(b);if(ys(W)&&!y.match(W)&&(k[v]={type:Et.pattern,message:$,ref:i,...U(Et.pattern,$)},!s))return _($),k}if(g){if(pt(g)){const W=await g(y,r),$=Ta(W,j);if($&&(k[v]={...$,...U(Et.validate,$.message)},!s))return _($.message),k}else if(De(g)){let W={};for(const $ in g){if(!Je(W)&&!s)break;const L=Ta(await g[$](y,r),j,$);L&&(W={...L,...U($,L.message)},_(L.message),s&&(k[v]=W))}if(!Je(W)&&(k[v]={ref:j,...W},!s))return k}}return _(!0),k};const bd={mode:ht.onSubmit,reValidateMode:ht.onChange,shouldFocusError:!0};function gd(e={}){let t={...bd,...e},r={submitCount:0,isDirty:!1,isReady:!1,isLoading:pt(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1};const s={};let n=De(t.defaultValues)||De(t.values)?qe(t.defaultValues||t.values)||{}:{},a=t.shouldUnregister?{}:qe(n),i={action:!1,mount:!1,watch:!1},l={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},c,d=0;const u={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let f={...u};const p={array:ya(),state:ya()},b=t.criteriaMode===ht.all,g=w=>E=>{clearTimeout(d),d=setTimeout(w,E)},v=async w=>{if(!t.disabled&&(u.isValid||f.isValid||w)){const E=t.resolver?Je((await C()).errors):await M(s,!0);E!==r.isValid&&p.state.next({isValid:E})}},x=(w,E)=>{!t.disabled&&(u.isValidating||u.validatingFields||f.isValidating||f.validatingFields)&&((w||Array.from(l.mount)).forEach(O=>{O&&(E?Ee(r.validatingFields,O,E):Ie(r.validatingFields,O))}),p.state.next({validatingFields:r.validatingFields,isValidating:!Je(r.validatingFields)}))},m=(w,E=[],O,ee,H=!0,G=!0)=>{if(ee&&O&&!t.disabled){if(i.action=!0,G&&Array.isArray(re(s,w))){const ue=O(re(s,w),ee.argA,ee.argB);H&&Ee(s,w,ue)}if(G&&Array.isArray(re(r.errors,w))){const ue=O(re(r.errors,w),ee.argA,ee.argB);H&&Ee(r.errors,w,ue),hd(r.errors,w)}if((u.touchedFields||f.touchedFields)&&G&&Array.isArray(re(r.touchedFields,w))){const ue=O(re(r.touchedFields,w),ee.argA,ee.argB);H&&Ee(r.touchedFields,w,ue)}(u.dirtyFields||f.dirtyFields)&&(r.dirtyFields=jr(n,a)),p.state.next({name:w,isDirty:V(w,E),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else Ee(a,w,E)},y=(w,E)=>{Ee(r.errors,w,E),p.state.next({errors:r.errors})},j=w=>{r.errors=w,p.state.next({errors:r.errors,isValid:!1})},_=(w,E,O,ee)=>{const H=re(s,w);if(H){const G=re(a,w,Re(O)?re(n,w):O);Re(G)||ee&&ee.defaultChecked||E?Ee(a,w,E?G:Na(H._f)):L(w,G),i.mount&&v()}},k=(w,E,O,ee,H)=>{let G=!1,ue=!1;const be={name:w};if(!t.disabled){if(!O||ee){(u.isDirty||f.isDirty)&&(ue=r.isDirty,r.isDirty=be.isDirty=V(),G=ue!==be.isDirty);const we=It(re(n,w),E);ue=!!re(r.dirtyFields,w),we?Ie(r.dirtyFields,w):Ee(r.dirtyFields,w,!0),be.dirtyFields=r.dirtyFields,G=G||(u.dirtyFields||f.dirtyFields)&&ue!==!we}if(O){const we=re(r.touchedFields,w);we||(Ee(r.touchedFields,w,O),be.touchedFields=r.touchedFields,G=G||(u.touchedFields||f.touchedFields)&&we!==O)}G&&H&&p.state.next(be)}return G?be:{}},A=(w,E,O,ee)=>{const H=re(r.errors,w),G=(u.isValid||f.isValid)&&lt(E)&&r.isValid!==E;if(t.delayError&&O?(c=g(()=>y(w,O)),c(t.delayError)):(clearTimeout(d),c=null,O?Ee(r.errors,w,O):Ie(r.errors,w)),(O?!It(H,O):H)||!Je(ee)||G){const ue={...ee,...G&&lt(E)?{isValid:E}:{},errors:r.errors,name:w};r={...r,...ue},p.state.next(ue)}},C=async w=>{x(w,!0);const E=await t.resolver(a,t.context,ld(w||l.mount,s,t.criteriaMode,t.shouldUseNativeValidation));return x(w),E},N=async w=>{const{errors:E}=await C(w);if(w)for(const O of w){const ee=re(E,O);ee?Ee(r.errors,O,ee):Ie(r.errors,O)}else r.errors=E;return E},M=async(w,E,O={valid:!0})=>{for(const ee in w){const H=w[ee];if(H){const{_f:G,...ue}=H;if(G){const be=l.array.has(G.name),we=H._f&&cd(H._f);we&&u.validatingFields&&x([ee],!0);const Fe=await _a(H,l.disabled,a,b,t.shouldUseNativeValidation&&!E,be);if(we&&u.validatingFields&&x([ee]),Fe[G.name]&&(O.valid=!1,E))break;!E&&(re(Fe,G.name)?be?pd(r.errors,Fe,G.name):Ee(r.errors,G.name,Fe[G.name]):Ie(r.errors,G.name))}!Je(ue)&&await M(ue,E,O)}}return O.valid},U=()=>{for(const w of l.unMount){const E=re(s,w);E&&(E._f.refs?E._f.refs.every(O=>!Js(O)):!Js(E._f.ref))&&B(w)}l.unMount=new Set},V=(w,E)=>!t.disabled&&(w&&E&&Ee(a,w,E),!It(I(),n)),W=(w,E,O)=>ri(w,l,{...i.mount?a:Re(E)?n:Nt(w)?{[w]:E}:E},O,E),$=w=>Ds(re(i.mount?a:n,w,t.shouldUnregister?re(n,w,[]):[])),L=(w,E,O={})=>{const ee=re(s,w);let H=E;if(ee){const G=ee._f;G&&(!G.disabled&&Ee(a,w,ci(E,G)),H=xs(G.ref)&&Ze(E)?"":E,ai(G.ref)?[...G.ref.options].forEach(ue=>ue.selected=H.includes(ue.value)):G.refs?Lr(G.ref)?G.refs.forEach(ue=>{(!ue.defaultChecked||!ue.disabled)&&(Array.isArray(H)?ue.checked=!!H.find(be=>be===ue.value):ue.checked=H===ue.value||!!H)}):G.refs.forEach(ue=>ue.checked=ue.value===H):Gn(G.ref)?G.ref.value="":(G.ref.value=H,G.ref.type||p.state.next({name:w,values:qe(a)})))}(O.shouldDirty||O.shouldTouch)&&k(w,H,O.shouldTouch,O.shouldDirty,!0),O.shouldValidate&&me(w)},S=(w,E,O)=>{for(const ee in E){if(!E.hasOwnProperty(ee))return;const H=E[ee],G=`${w}.${ee}`,ue=re(s,G);(l.array.has(w)||De(H)||ue&&!ue._f)&&!Zt(H)?S(G,H,O):L(G,H,O)}},te=(w,E,O={})=>{const ee=re(s,w),H=l.array.has(w),G=qe(E);Ee(a,w,G),H?(p.array.next({name:w,values:qe(a)}),(u.isDirty||u.dirtyFields||f.isDirty||f.dirtyFields)&&O.shouldDirty&&p.state.next({name:w,dirtyFields:jr(n,a),isDirty:V(w,G)})):ee&&!ee._f&&!Ze(G)?S(w,G,O):L(w,G,O),Ca(w,l)&&p.state.next({...r}),p.state.next({name:i.mount?w:void 0,values:qe(a)})},ie=async w=>{i.mount=!0;const E=w.target;let O=E.name,ee=!0;const H=re(s,O),G=we=>{ee=Number.isNaN(we)||Zt(we)&&isNaN(we.getTime())||It(we,re(a,O,we))},ue=Sa(t.mode),be=Sa(t.reValidateMode);if(H){let we,Fe;const vt=E.type?Na(H._f):Ho(w),Me=w.type===gs.BLUR||w.type===gs.FOCUS_OUT,Vt=!dd(H._f)&&!t.resolver&&!re(r.errors,O)&&!H._f.deps||md(Me,re(r.touchedFields,O),r.isSubmitted,be,ue),Ft=Ca(O,l,Me);Ee(a,O,vt),Me?(H._f.onBlur&&H._f.onBlur(w),c&&c(0)):H._f.onChange&&H._f.onChange(w);const Ot=k(O,vt,Me),Rt=!Je(Ot)||Ft;if(!Me&&p.state.next({name:O,type:w.type,values:qe(a)}),Vt)return(u.isValid||f.isValid)&&(t.mode==="onBlur"?Me&&v():Me||v()),Rt&&p.state.next({name:O,...Ft?{}:Ot});if(!Me&&Ft&&p.state.next({...r}),t.resolver){const{errors:Dt}=await C([O]);if(G(vt),ee){const rr=Aa(r.errors,s,O),Mt=Aa(Dt,s,rr.name||O);we=Mt.error,O=Mt.name,Fe=Je(Dt)}}else x([O],!0),we=(await _a(H,l.disabled,a,b,t.shouldUseNativeValidation))[O],x([O]),G(vt),ee&&(we?Fe=!1:(u.isValid||f.isValid)&&(Fe=await M(s,!0)));ee&&(H._f.deps&&me(H._f.deps),A(O,Fe,we,Ot))}},K=(w,E)=>{if(re(r.errors,E)&&w.focus)return w.focus(),1},me=async(w,E={})=>{let O,ee;const H=Er(w);if(t.resolver){const G=await N(Re(w)?w:H);O=Je(G),ee=w?!H.some(ue=>re(G,ue)):O}else w?(ee=(await Promise.all(H.map(async G=>{const ue=re(s,G);return await M(ue&&ue._f?{[G]:ue}:ue)}))).every(Boolean),!(!ee&&!r.isValid)&&v()):ee=O=await M(s);return p.state.next({...!Nt(w)||(u.isValid||f.isValid)&&O!==r.isValid?{}:{name:w},...t.resolver||!w?{isValid:O}:{},errors:r.errors}),E.shouldFocus&&!ee&&Cr(s,K,w?H:l.mount),ee},I=w=>{const E={...i.mount?a:n};return Re(w)?E:Nt(w)?re(E,w):w.map(O=>re(E,O))},z=(w,E)=>({invalid:!!re((E||r).errors,w),isDirty:!!re((E||r).dirtyFields,w),error:re((E||r).errors,w),isValidating:!!re(r.validatingFields,w),isTouched:!!re((E||r).touchedFields,w)}),Y=w=>{w&&Er(w).forEach(E=>Ie(r.errors,E)),p.state.next({errors:w?r.errors:{}})},D=(w,E,O)=>{const ee=(re(s,w,{_f:{}})._f||{}).ref,H=re(r.errors,w)||{},{ref:G,message:ue,type:be,...we}=H;Ee(r.errors,w,{...we,...E,ref:ee}),p.state.next({name:w,errors:r.errors,isValid:!1}),O&&O.shouldFocus&&ee&&ee.focus&&ee.focus()},T=(w,E)=>pt(w)?p.state.subscribe({next:O=>w(W(void 0,E),O)}):W(w,E,!0),Z=w=>p.state.subscribe({next:E=>{fd(w.name,E.name,w.exact)&&ud(E,w.formState||u,ne,w.reRenderRoot)&&w.callback({values:{...a},...r,...E})}}).unsubscribe,R=w=>(i.mount=!0,f={...f,...w.formState},Z({...w,formState:f})),B=(w,E={})=>{for(const O of w?Er(w):l.mount)l.mount.delete(O),l.array.delete(O),E.keepValue||(Ie(s,O),Ie(a,O)),!E.keepError&&Ie(r.errors,O),!E.keepDirty&&Ie(r.dirtyFields,O),!E.keepTouched&&Ie(r.touchedFields,O),!E.keepIsValidating&&Ie(r.validatingFields,O),!t.shouldUnregister&&!E.keepDefaultValue&&Ie(n,O);p.state.next({values:qe(a)}),p.state.next({...r,...E.keepDirty?{isDirty:V()}:{}}),!E.keepIsValid&&v()},ae=({disabled:w,name:E})=>{(lt(w)&&i.mount||w||l.disabled.has(E))&&(w?l.disabled.add(E):l.disabled.delete(E))},pe=(w,E={})=>{let O=re(s,w);const ee=lt(E.disabled)||lt(t.disabled);return Ee(s,w,{...O||{},_f:{...O&&O._f?O._f:{ref:{name:w}},name:w,mount:!0,...E}}),l.mount.add(w),O?ae({disabled:lt(E.disabled)?E.disabled:t.disabled,name:w}):_(w,!0,E.value),{...ee?{disabled:E.disabled||t.disabled}:{},...t.progressive?{required:!!E.required,min:kr(E.min),max:kr(E.max),minLength:kr(E.minLength),maxLength:kr(E.maxLength),pattern:kr(E.pattern)}:{},name:w,onChange:ie,onBlur:ie,ref:H=>{if(H){pe(w,E),O=re(s,w);const G=Re(H.value)&&H.querySelectorAll&&H.querySelectorAll("input,select,textarea")[0]||H,ue=ad(G),be=O._f.refs||[];if(ue?be.find(we=>we===G):G===O._f.ref)return;Ee(s,w,{_f:{...O._f,...ue?{refs:[...be.filter(Js),G,...Array.isArray(re(n,w))?[{}]:[]],ref:{type:G.type,name:w}}:{ref:G}}}),_(w,!1,void 0,G)}else O=re(s,w,{}),O._f&&(O._f.mount=!1),(t.shouldUnregister||E.shouldUnregister)&&!(Xo(l.array,w)&&i.action)&&l.unMount.add(w)}}},oe=()=>t.shouldFocusError&&Cr(s,K,l.mount),ve=w=>{lt(w)&&(p.state.next({disabled:w}),Cr(s,(E,O)=>{const ee=re(s,O);ee&&(E.disabled=ee._f.disabled||w,Array.isArray(ee._f.refs)&&ee._f.refs.forEach(H=>{H.disabled=ee._f.disabled||w}))},0,!1))},le=(w,E)=>async O=>{let ee;O&&(O.preventDefault&&O.preventDefault(),O.persist&&O.persist());let H=qe(a);if(p.state.next({isSubmitting:!0}),t.resolver){const{errors:G,values:ue}=await C();r.errors=G,H=ue}else await M(s);if(l.disabled.size)for(const G of l.disabled)Ee(H,G,void 0);if(Ie(r.errors,"root"),Je(r.errors)){p.state.next({errors:{}});try{await w(H,O)}catch(G){ee=G}}else E&&await E({...r.errors},O),oe(),setTimeout(oe);if(p.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Je(r.errors)&&!ee,submitCount:r.submitCount+1,errors:r.errors}),ee)throw ee},he=(w,E={})=>{re(s,w)&&(Re(E.defaultValue)?te(w,qe(re(n,w))):(te(w,E.defaultValue),Ee(n,w,qe(E.defaultValue))),E.keepTouched||Ie(r.touchedFields,w),E.keepDirty||(Ie(r.dirtyFields,w),r.isDirty=E.defaultValue?V(w,qe(re(n,w))):V()),E.keepError||(Ie(r.errors,w),u.isValid&&v()),p.state.next({...r}))},Ce=(w,E={})=>{const O=w?qe(w):n,ee=qe(O),H=Je(w),G=H?n:ee;if(E.keepDefaultValues||(n=O),!E.keepValues){if(E.keepDirtyValues){const ue=new Set([...l.mount,...Object.keys(jr(n,a))]);for(const be of Array.from(ue))re(r.dirtyFields,be)?Ee(G,be,re(a,be)):te(be,re(G,be))}else{if(Un&&Re(w))for(const ue of l.mount){const be=re(s,ue);if(be&&be._f){const we=Array.isArray(be._f.refs)?be._f.refs[0]:be._f.ref;if(xs(we)){const Fe=we.closest("form");if(Fe){Fe.reset();break}}}}for(const ue of l.mount)te(ue,re(G,ue))}a=qe(G),p.array.next({values:{...G}}),p.state.next({values:{...G}})}l={mount:E.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},i.mount=!u.isValid||!!E.keepIsValid||!!E.keepDirtyValues,i.watch=!!t.shouldUnregister,p.state.next({submitCount:E.keepSubmitCount?r.submitCount:0,isDirty:H?!1:E.keepDirty?r.isDirty:!!(E.keepDefaultValues&&!It(w,n)),isSubmitted:E.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:H?{}:E.keepDirtyValues?E.keepDefaultValues&&a?jr(n,a):r.dirtyFields:E.keepDefaultValues&&w?jr(n,w):E.keepDirty?r.dirtyFields:{},touchedFields:E.keepTouched?r.touchedFields:{},errors:E.keepErrors?r.errors:{},isSubmitSuccessful:E.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1})},xe=(w,E)=>Ce(pt(w)?w(a):w,E),ke=(w,E={})=>{const O=re(s,w),ee=O&&O._f;if(ee){const H=ee.refs?ee.refs[0]:ee.ref;H.focus&&(H.focus(),E.shouldSelect&&pt(H.select)&&H.select())}},ne=w=>{r={...r,...w}},Ae={control:{register:pe,unregister:B,getFieldState:z,handleSubmit:le,setError:D,_subscribe:Z,_runSchema:C,_getWatch:W,_getDirty:V,_setValid:v,_setFieldArray:m,_setDisabledField:ae,_setErrors:j,_getFieldArray:$,_reset:Ce,_resetDefaultValues:()=>pt(t.defaultValues)&&t.defaultValues().then(w=>{xe(w,t.resetOptions),p.state.next({isLoading:!1})}),_removeUnmounted:U,_disableForm:ve,_subjects:p,_proxyFormState:u,get _fields(){return s},get _formValues(){return a},get _state(){return i},set _state(w){i=w},get _defaultValues(){return n},get _names(){return l},set _names(w){l=w},get _formState(){return r},get _options(){return t},set _options(w){t={...t,...w}}},subscribe:R,trigger:me,register:pe,handleSubmit:le,watch:T,setValue:te,getValues:I,reset:xe,resetField:he,clearErrors:Y,unregister:B,setError:D,setFocus:ke,getFieldState:z};return{...Ae,formControl:Ae}}function xd(e={}){const t=h.useRef(void 0),r=h.useRef(void 0),[s,n]=h.useState({isDirty:!1,isValidating:!1,isLoading:pt(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:pt(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...e.formControl?e.formControl:gd(e),formState:s},e.formControl&&e.defaultValues&&!pt(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions));const a=t.current.control;return a._options=e,Wn(()=>{const i=a._subscribe({formState:a._proxyFormState,callback:()=>n({...a._formState}),reRenderRoot:!0});return n(l=>({...l,isReady:!0})),a._formState.isReady=!0,i},[a]),h.useEffect(()=>a._disableForm(e.disabled),[a,e.disabled]),h.useEffect(()=>{e.mode&&(a._options.mode=e.mode),e.reValidateMode&&(a._options.reValidateMode=e.reValidateMode),e.errors&&!Je(e.errors)&&a._setErrors(e.errors)},[a,e.errors,e.mode,e.reValidateMode]),h.useEffect(()=>{e.shouldUnregister&&a._subjects.state.next({values:a._getWatch()})},[a,e.shouldUnregister]),h.useEffect(()=>{if(a._proxyFormState.isDirty){const i=a._getDirty();i!==s.isDirty&&a._subjects.state.next({isDirty:i})}},[a,s.isDirty]),h.useEffect(()=>{e.values&&!It(e.values,r.current)?(a._reset(e.values,a._options.resetOptions),r.current=e.values,n(i=>({...i}))):a._resetDefaultValues()},[a,e.values]),h.useEffect(()=>{a._state.mount||(a._setValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()}),t.current.formState=ti(s,a),t.current}const ui={sm:"text-ds-sm",md:"text-ds-md",lg:"text-ds-lg"},vd={sm:"h-6",md:"h-10",lg:"h-12"},yd={sm:"px-2",md:"px-2.5",lg:"px-3"};function Fa(e,t,r,s,n,a,i){const l=t?"datetime-local":"date",c=se("box-border w-full rounded-lg border outline-none transition font-[var(--font-primary)]",ui[r],vd[r],yd[r],a?"border-[var(--color-ds-border-error)]":"border-[var(--color-ds-border-default)]"),f=ed(c,n?"bg-[var(--color-ds-background-disabled)] border-[var(--color-ds-border-muted)] text-[var(--color-ds-text-disabled)] cursor-not-allowed opacity-60":"bg-[var(--color-ds-background-page)] text-[var(--color-ds-text-primary)]",i);return o.jsxs(o.Fragment,{children:[o.jsx("input",{id:e,type:l,disabled:n,"aria-disabled":n,"data-disabled":n?"true":"false",...s,className:f}),o.jsx("div",{children:a!=null&&a.message?o.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:a.message}):o.jsx("span",{"aria-hidden":"true",children:" "})})]})}function Fr(e){const{control:t,name:r,rules:s,defaultValue:n,showTime:a=!1,size:i="sm",width:l="100%",label:c,labelHidden:d=!1,hasError:u=!1,errorMessage:f="",disabled:p=!1,className:b,onChange:g}=e,v=h.useId(),x=r||v;return o.jsxs("div",{className:se("flex flex-col",b),style:{width:l,maxWidth:"100%"},children:[c&&o.jsx("label",{htmlFor:x,className:se("pb-2 text-[var(--color-ds-text-primary)]",ui[i],d&&"sr-only"),children:c}),t&&r?o.jsx(gt,{name:r,control:t,rules:s,defaultValue:n,render:({field:m,fieldState:y})=>Fa(x,a,i,{value:m.value,onChange:m.onChange,onBlur:m.onBlur},p,y.error,b)}):Fa(x,a,i,{defaultValue:n,onChange:g},p,u?{message:f}:void 0,b)]})}const wd=({trigger:e,items:t,align:r="left",className:s})=>{const[n,a]=h.useState(!1),i=h.useRef(null),l=h.useRef([]);h.useEffect(()=>{const d=u=>{i.current&&!i.current.contains(u.target)&&a(!1)};return document.addEventListener("mousedown",d),()=>document.removeEventListener("mousedown",d)},[]);const c=d=>{var f,p;const u=l.current.findIndex(b=>b===document.activeElement);if(d.key==="Escape")a(!1);else if(d.key==="ArrowDown"){d.preventDefault();const b=(u+1)%t.length;(f=l.current[b])==null||f.focus()}else if(d.key==="ArrowUp"){d.preventDefault();const b=(u-1+t.length)%t.length;(p=l.current[b])==null||p.focus()}};return o.jsxs("div",{className:se("relative inline-block",s),ref:i,children:[o.jsx("button",{type:"button",onClick:()=>a(d=>!d),className:"inline-flex items-center focus:outline-none","aria-haspopup":"menu","aria-expanded":n,children:e}),n&&o.jsx("div",{role:"menu","aria-orientation":"vertical",className:se("absolute mt-2 min-w-[160px] bg-[var(--color-ds-background-page)]","border border-[var(--color-ds-border-muted)] rounded shadow-lg z-10",r==="right"?"right-0":"left-0"),onKeyDown:c,children:t.map((d,u)=>{const{label:f,onSelect:p,disabled:b,icon:g}=d;return o.jsxs("button",{role:"menuitem",type:"button",disabled:b,ref:v=>{l.current[u]=v},className:se("w-full flex items-center px-4 py-2 text-[var(--color-ds-text-primary)] text-ds-md transition-colors",b?"opacity-50 cursor-not-allowed":"hover:bg-[var(--color-ds-background-surface)]"),onClick:()=>{b||(p(),a(!1))},children:[g&&o.jsx(g,{className:"w-5 h-5 mr-2 text-[var(--color-ds-text-secondary)]"}),f]},u)})})]})},jd=(e,t,r,s)=>{var a,i,l,c;const n=[r,{code:t,...s||{}}];if((i=(a=e==null?void 0:e.services)==null?void 0:a.logger)!=null&&i.forward)return e.services.logger.forward(n,"warn","react-i18next::",!0);Yt(n[0])&&(n[0]=`react-i18next:: ${n[0]}`),(c=(l=e==null?void 0:e.services)==null?void 0:l.logger)!=null&&c.warn?e.services.logger.warn(...n):console!=null&&console.warn&&console.warn(...n)},Oa={},jn=(e,t,r,s)=>{Yt(r)&&Oa[r]||(Yt(r)&&(Oa[r]=new Date),jd(e,t,r,s))},fi=(e,t)=>()=>{if(e.isInitialized)t();else{const r=()=>{setTimeout(()=>{e.off("initialized",r)},0),t()};e.on("initialized",r)}},kn=(e,t,r)=>{e.loadNamespaces(t,fi(e,r))},Ra=(e,t,r,s)=>{if(Yt(r)&&(r=[r]),e.options.preload&&e.options.preload.indexOf(t)>-1)return kn(e,r,s);r.forEach(n=>{e.options.ns.indexOf(n)<0&&e.options.ns.push(n)}),e.loadLanguages(t,fi(e,s))},kd=(e,t,r={})=>!t.languages||!t.languages.length?(jn(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:r.lng,precheck:(s,n)=>{var a;if(((a=r.bindI18n)==null?void 0:a.indexOf("languageChanging"))>-1&&s.services.backendConnector.backend&&s.isLanguageChangingTo&&!n(s.isLanguageChangingTo,e))return!1}}),Yt=e=>typeof e=="string",Nd=e=>typeof e=="object"&&e!==null,Sd=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Ed={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},Cd=e=>Ed[e],Ad=e=>e.replace(Sd,Cd);let Td={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Ad};const _d=()=>Td;let Fd;const Od=()=>Fd,Rd=h.createContext();class Dd{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(r=>{this.usedNamespaces[r]||(this.usedNamespaces[r]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const Md=(e,t)=>{const r=h.useRef();return h.useEffect(()=>{r.current=e},[e,t]),r.current},mi=(e,t,r,s)=>e.getFixedT(t,r,s),$d=(e,t,r,s)=>h.useCallback(mi(e,t,r,s),[e,t,r,s]),hi=(e,t={})=>{var _,k,A,C;const{i18n:r}=t,{i18n:s,defaultNS:n}=h.useContext(Rd)||{},a=r||s||Od();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new Dd),!a){jn(a,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const N=(U,V)=>Yt(V)?V:Nd(V)&&Yt(V.defaultValue)?V.defaultValue:Array.isArray(U)?U[U.length-1]:U,M=[N,{},!1];return M.t=N,M.i18n={},M.ready=!1,M}(_=a.options.react)!=null&&_.wait&&jn(a,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const i={..._d(),...a.options.react,...t},{useSuspense:l,keyPrefix:c}=i;let d=n||((k=a.options)==null?void 0:k.defaultNS);d=Yt(d)?[d]:d||["translation"],(C=(A=a.reportNamespaces).addUsedNamespaces)==null||C.call(A,d);const u=(a.isInitialized||a.initializedStoreOnce)&&d.every(N=>kd(N,a,i)),f=$d(a,t.lng||null,i.nsMode==="fallback"?d:d[0],c),p=()=>f,b=()=>mi(a,t.lng||null,i.nsMode==="fallback"?d:d[0],c),[g,v]=h.useState(p);let x=d.join();t.lng&&(x=`${t.lng}${x}`);const m=Md(x),y=h.useRef(!0);h.useEffect(()=>{const{bindI18n:N,bindI18nStore:M}=i;y.current=!0,!u&&!l&&(t.lng?Ra(a,t.lng,d,()=>{y.current&&v(b)}):kn(a,d,()=>{y.current&&v(b)})),u&&m&&m!==x&&y.current&&v(b);const U=()=>{y.current&&v(b)};return N&&(a==null||a.on(N,U)),M&&(a==null||a.store.on(M,U)),()=>{y.current=!1,a&&(N==null||N.split(" ").forEach(V=>a.off(V,U))),M&&a&&M.split(" ").forEach(V=>a.store.off(V,U))}},[a,x]),h.useEffect(()=>{y.current&&u&&v(p)},[a,c,u]);const j=[g,a,u];if(j.t=g,j.i18n=a,j.ready=u,u||!u&&!l)return j;throw new Promise(N=>{t.lng?Ra(a,t.lng,d,()=>N()):kn(a,d,()=>N())})},Nn={sm:"text-sm",md:"text-base",lg:"text-lg"};function Da(e,t,r,s,n,a,i,l,c){const{t:d}=hi(),u=h.useRef(null),f=typeof s=="number"&&t.length>=s,p=()=>{var y;!i&&!f&&((y=u.current)==null||y.click())},b=y=>{const j=y.target.files;if(!j)return;const _=Array.from(j);let k=t.concat(_);s&&(k=k.slice(0,s)),r(k),y.target.value=""},g=y=>{if(y.preventDefault(),i||f)return;const j=Array.from(y.dataTransfer.files);let _=t.concat(j);s&&(_=_.slice(0,s)),r(_)},v=y=>{y.preventDefault()},x=y=>{const j=URL.createObjectURL(y);window.open(j)},m=y=>{const j=t.filter((_,k)=>k!==y);r(j)};return o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"self-start mb-4 w-auto",children:o.jsx(fe,{type:"button",variant:"outline",size:a,icon:pa,onClick:p,disabled:i||f,children:d("ds.fileUploader.browse","Browse files")})}),!f&&o.jsxs("div",{className:se("relative flex bg-[var(--color-ds-background-page)] flex-col items-center justify-center border-2 border-dashed border-[var(--color-ds-border-muted)] rounded-lg p-4",i?"opacity-50 cursor-not-allowed":"hover:border-[var(--color-ds-border-default)]",Nn[a],c),onDrop:g,onDragOver:v,children:[o.jsx("input",{id:e,type:"file",ref:u,className:"hidden",multiple:s!==1,accept:n,onChange:b,disabled:i}),o.jsx(kt,{component:tc,size:"md",className:"w-8 h-8 text-[var(--color-ds-text-secondary)]"}),o.jsx("p",{className:"mt-3 text-[var(--color-ds-text-secondary)] text-center",children:d("ds.fileUploader.dragDrop","Drag & drop your files here or click to browse")})]}),t.length>0&&o.jsx("ul",{className:"mt-4 space-y-1",children:t.map((y,j)=>o.jsxs("li",{className:"flex items-center justify-between text-[var(--color-ds-text-secondary)] text-sm",children:[o.jsxs("div",{className:"flex items-center",children:[o.jsx(pa,{className:"w-4 h-4 mr-2","aria-hidden":"true"}),o.jsx("span",{className:"truncate pr-2",children:y.name})]}),o.jsxs("div",{className:"flex gap-2",children:[o.jsx(fe,{variant:"ghost",size:"sm",icon:Po,ariaLabel:d("ds.fileUploader.view","View"),onClick:()=>x(y)}),o.jsx(fe,{variant:"ghost",size:"sm",icon:Vn,ariaLabel:d("ds.fileUploader.remove","Remove"),onClick:()=>m(j)})]})]},j))}),o.jsx("div",{className:"pt-[5px] min-h-[18px] w-full",children:l!=null&&l.message?o.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:l.message}):o.jsx("span",{"aria-hidden":"true",children:" "})})]})}function pi(e){const{control:t,name:r,rules:s,defaultValue:n,maxFiles:a,accept:i,size:l="sm",width:c="100%",label:d,labelHidden:u=!1,disabled:f=!1,hasError:p=!1,errorMessage:b="",className:g}=e,v=h.useId(),x=r||v;if(t&&r)return o.jsxs("div",{className:se("flex flex-col",g),style:{width:c},children:[d&&o.jsx("label",{htmlFor:x,className:se("pb-[10px] text-[var(--color-ds-text-primary)]",Nn[l],u&&"sr-only"),children:d}),o.jsx(gt,{name:r,control:t,rules:s,defaultValue:n instanceof FileList?Array.from(n):n||[],render:({field:j,fieldState:_})=>Da(x,j.value,k=>j.onChange(k),a,i,l,f,_.error,g)})]});const[m,y]=h.useState(n instanceof FileList?Array.from(n):n||[]);return o.jsxs("div",{className:se("flex flex-col",g),style:{width:c},children:[d&&o.jsx("label",{htmlFor:x,className:se("pb-[10px] text-[var(--color-ds-text-primary)]",Nn[l],u&&"sr-only"),children:d}),Da(x,m,y,a,i,l,f,p?{message:b}:void 0,g)]})}const Xt=({count:e=1,width:t,height:r="1em",variant:s="rect",className:n})=>{const a=Array.from({length:e});return o.jsx(o.Fragment,{children:a.map((i,l)=>o.jsx("span",{role:"status","aria-label":"Cargando...",className:se("bg-[var(--color-ds-border-muted)] animate-pulse inline-block",s==="circle"?"rounded-full":"rounded",n),style:{width:t??"auto",height:r}},l))})},Qr={sm:"text-ds-sm",md:"text-ds-md",lg:"text-ds-lg"},Ld={sm:"h-6",md:"h-10",lg:"h-12"},Pd={sm:"px-2",md:"px-2.5",lg:"px-3"},Ma={sm:"pl-2",md:"pl-2.5",lg:"pl-3"},zd={sm:"1.5rem",md:"2.5rem",lg:"3rem"};function ye({id:e,type:t="text",size:r="sm",width:s="100%",label:n,labelHidden:a=!1,hasError:i=!1,errorMessage:l="",prefixIcon:c,suffixIcon:d,separator:u,suffixButton:f,disabled:p=!1,control:b,name:g,rules:v,defaultValue:x,reserveErrorSpace:m,disableErrorPlaceholder:y,loading:j=!1,className:_,...k}){const A=h.useId(),[C,N]=h.useState(!1),M=e||A,U=t==="password",W=c??(t==="number"?cc:void 0),$=U?C?oc:Po:d,L=typeof m=="boolean"?m:typeof y=="boolean"?!y:!!b,S=se("box-border w-full rounded-lg border placeholder-[var(--color-ds-text-secondary)] outline-none transition font-[var(--font-primary)] appearance-none",Qr[r],Ld[r],Pd[r],i?"border-[var(--color-ds-border-error)]":"border-[var(--color-ds-border-default)]","bg-[var(--color-ds-background-page)] text-[var(--color-ds-text-primary)]","disabled:bg-[var(--color-ds-background-disabled)]","disabled:border-[var(--color-ds-border-muted)]","disabled:text-[var(--color-ds-text-disabled)]","disabled:cursor-not-allowed");return j?o.jsxs("div",{className:"flex flex-col",style:{width:s,maxWidth:"100%"},children:[!a&&n&&o.jsx("label",{htmlFor:M,className:se("pb-2",Qr[r]),children:n}),o.jsx(Xt,{width:"100%",height:zd[r],variant:"rect",className:"rounded-lg"}),o.jsx("div",{className:"min-h-[18px] w-full",children:o.jsx("span",{"aria-hidden":"true",children:" "})})]}):b&&g?o.jsx(gt,{name:g,control:b,rules:v,defaultValue:x,render:({field:te,fieldState:ie})=>o.jsxs("div",{className:"flex flex-col",style:{width:s},children:[!a&&n&&o.jsx("label",{htmlFor:M,className:se("pb-2 text-[var(--color-ds-text-primary)]",Qr[r]),children:n}),o.jsxs("div",{className:"relative flex items-center w-full",children:[W&&o.jsx("div",{className:se("absolute left-0 flex items-center h-full",Ma[r]),children:o.jsx(kt,{component:W,size:r,className:"text-[var(--color-ds-text-secondary)]"})}),o.jsx("input",{...te,id:M,type:U?C?"text":"password":t,disabled:p,"aria-invalid":!!ie.error,className:se(S,W&&"pl-9",$&&"pr-9",_),onInvalid:K=>K.preventDefault(),style:U&&!C?{WebkitTextSecurity:"disc",MozTextSecurity:"disc"}:void 0}),u&&o.jsx("div",{className:"flex items-center h-full",children:u}),f&&o.jsx("div",{className:"flex items-center h-full pr-2",children:f}),$&&o.jsx("button",{type:"button",onClick:()=>N(K=>!K),className:"absolute right-0 flex items-center h-full pr-2",tabIndex:-1,children:o.jsx(kt,{component:$,size:r,className:"text-[var(--color-ds-text-secondary)]"})})]}),L?o.jsx("div",{className:"min-h-[18px]",children:ie.error?o.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:ie.error.message}):o.jsx("span",{"aria-hidden":"true",children:" "})}):ie.error?o.jsx("div",{className:"pt-1",children:o.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:ie.error.message})}):null]})}):o.jsxs("div",{className:"flex flex-col",style:{width:s},children:[!a&&n&&o.jsx("label",{htmlFor:M,className:se("pb-2 text-[var(--color-ds-text-primary)]",Qr[r]),children:n}),o.jsxs("div",{className:"relative flex items-center w-full",children:[W&&o.jsx("div",{className:se("absolute left-0 flex items-center h-full",Ma[r]),children:o.jsx(kt,{component:W,size:r,className:"text-[var(--color-ds-text-secondary)]"})}),o.jsx("input",{...k,id:M,type:U?C?"text":"password":t,disabled:p,"aria-invalid":i,className:se(S,W&&"pl-9",$&&"pr-9",_),onInvalid:te=>te.preventDefault(),style:U&&!C?{WebkitTextSecurity:"disc",MozTextSecurity:"disc"}:void 0}),u&&o.jsx("div",{className:"flex items-center h-full",children:u}),f&&o.jsx("div",{className:"flex items-center h-full",children:f}),$&&o.jsx("button",{type:"button",onClick:()=>N(te=>!te),className:"absolute right-0 flex items-center h-full pr-2",tabIndex:-1,children:o.jsx(kt,{component:$,size:r,className:"text-[var(--color-ds-text-secondary)]"})})]}),L?o.jsx("div",{className:"min-h-[18px]",children:i&&l?o.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:l}):o.jsx("span",{"aria-hidden":"true",children:" "})}):i&&l?o.jsx("div",{className:"pt-1",children:o.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:l})}):null]})}const Id={sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6"},Zs=400,es=8,Zn=({children:e,size:t="sm",position:r="top",className:s,onClick:n,ariaLabel:a="Más información"})=>{const[i,l]=h.useState(!1),[c,d]=h.useState({x:0,y:0}),u=h.useRef(null),f=h.useId();h.useEffect(()=>{if(i&&u.current){const g=u.current.getBoundingClientRect();let v=0,x=0;switch(r){case"top":v=g.left+g.width/2-Zs/2,x=g.top-es;break;case"bottom":v=g.left+g.width/2-Zs/2,x=g.bottom+es;break;case"left":v=g.left-Zs-es,x=g.top+g.height/2;break;case"right":v=g.right+es,x=g.top+g.height/2;break}d({x:v,y:x})}},[i,r]);const p=()=>typeof e=="string"?o.jsx("div",{dangerouslySetInnerHTML:{__html:e}}):o.jsx(o.Fragment,{children:e}),b=i?o.jsx("div",{id:f,role:"tooltip",className:se("fixed z-50 w-[250px] bg-[var(--color-ds-background-page)] text-[var(--color-ds-text-primary)] text-ds-sm rounded p-2 shadow-lg","pointer-events-none"),style:{top:`${c.y}px`,left:`${c.x}px`,transform:r==="left"||r==="right"?"translateY(-50%)":r==="top"?"translateY(-100%)":void 0},children:p()}):null;return o.jsxs(o.Fragment,{children:[o.jsx("button",{type:"button","aria-describedby":f,ref:u,"aria-label":a,className:se("inline-flex items-center justify-center focus:outline-none",Id[t],"text-[var(--color-ds-text-secondary)] hover:text-[var(--color-ds-text-primary)]",s),onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),onFocus:()=>l(!0),onBlur:()=>l(!1),onClick:n,children:o.jsx(zo,{className:"w-full h-full"})}),Jt.createPortal(b,document.body)]})};function Vd({name:e,label:t,type:r="text",size:s="sm",width:n,placeholder:a,validation:i,loadingDefaults:l,disabled:c,info:d}){var x;const{control:u,formState:{errors:f}}=Pr(),p=!!f[e],b=((x=f[e])==null?void 0:x.message)||"",g="relative",v=n??"w-full";return o.jsxs("div",{className:g,children:[o.jsx(gt,{name:e,control:u,rules:i,render:({field:m})=>o.jsx(ye,{label:t,size:s,width:v,placeholder:a,hasError:p,errorMessage:b,loading:l,type:r,...m,disabled:c,reserveErrorSpace:!0})}),d&&o.jsx(Zn,{size:s,position:"left",className:"absolute top-1/2 right-2 -translate-y-1/2",children:d})]})}const Yn=h.memo(Vd);Yn.displayName="FormFieldInput";function Bd({title:e,headerButtons:t,children:r,className:s}){return o.jsxs("div",{className:se("flex flex-col h-full",s),children:[o.jsxs("div",{className:"flex items-center justify-between py-4",children:[o.jsx("div",{className:`bg-[var(--color-ds-background-accent)] \r
22
+ <%s key={someKey} {...props} />`,Z,re,pe,re),ae[re+Z]=!0)}if(re=null,T!==void 0&&(r(T),re=""+T),i(J)&&(r(J.key),re=""+J.key),"key"in J){T={};for(var se in J)se!=="key"&&(T[se]=J[se])}else T=J;return re&&c(T,typeof O=="function"?O.displayName||O.name||"Unknown":O),u(O,re,T,o(),te,me)}function m(O){h(O)?O._store&&(O._store.validated=1):typeof O=="object"&&O!==null&&O.$$typeof===B&&(O._payload.status==="fulfilled"?h(O._payload.value)&&O._payload.value._store&&(O._payload.value._store.validated=1):O._store&&(O._store.validated=1))}function h(O){return typeof O=="object"&&O!==null&&O.$$typeof===w}var g=v,w=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),E=Symbol.for("react.consumer"),R=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),$=Symbol.for("react.activity"),_=Symbol.for("react.client.reference"),W=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=Object.prototype.hasOwnProperty,Q=Array.isArray,q=console.createTask?console.createTask:function(){return null};g={react_stack_bottom_frame:function(O){return O()}};var ce,U={},M=g.react_stack_bottom_frame.bind(g,l)(),F=q(n(l)),ae={};Dr.Fragment=y,Dr.jsx=function(O,J,T){var Z=1e4>W.recentlyCreatedOwnerStacks++;return f(O,J,T,!1,Z?Error("react-stack-top-frame"):M,Z?q(n(O)):F)},Dr.jsxs=function(O,J,T){var Z=1e4>W.recentlyCreatedOwnerStacks++;return f(O,J,T,!0,Z?Error("react-stack-top-frame"):M,Z?q(n(O)):F)}})()),Dr}var $s;function r1(){return $s||($s=1,process.env.NODE_ENV==="production"?Cn.exports=e1():Cn.exports=t1()),Cn.exports}var s=r1();function w0(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=w0(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function de(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=w0(e))&&(n&&(n+=" "),n+=t);return n}const n1={sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6",xl:"w-10 h-10",full:"w-full h-full"};function Xe({component:e,size:t="sm",className:r,...n}){return s.jsx(e,{className:de(n1[t],r),"aria-hidden":n["aria-label"]?void 0:!0,...n})}const a1="inline-flex items-center justify-center box-border font-medium transition focus:outline-none hover:ds-pulse",o1={primary:"bg-[var(--color-ds-button-primary-bg)] text-[var(--color-ds-button-primary-text)]",outline:"bg-transparent text-[var(--color-ds-text-primary)] ring-1 ring-inset ring-[var(--color-ds-border-default)]",ghost:"bg-transparent text-[var(--color-ds-text-primary)]",subtle:"bg-[var(--color-ds-background-surface)] text-[var(--color-ds-text-primary)] ring-1 ring-inset ring-[var(--color-ds-border-default-50)]",danger:"bg-[var(--color-ds-background-danger)] text-[var(--color-ds-text-danger)]"},s1={xs:"text-[10px] leading-none h-4 px-1",sm:"text-ds-sm h-6 px-2",md:"text-ds-md h-10 px-2.5",lg:"text-ds-lg h-12 px-3"},Ls={xs:"h-4 w-4 p-0",sm:"h-6 w-6 p-0",md:"h-10 w-10 p-0",lg:"h-12 w-12 p-0"},l1={default:"rounded-lg",circle:"rounded-full"},i1="disabled:opacity-50 disabled:cursor-not-allowed disabled:bg-[var(--color-ds-background-disabled)] disabled:text-[var(--color-ds-text-primary)] disabled:ring-1 disabled:ring-inset disabled:ring-[var(--color-ds-border-muted)]";function ie({type:e="button",variant:t="primary",size:r="sm",width:n,disabled:o=!1,icon:l,iconPosition:i="left",shape:c="default",ariaLabel:d,children:u,onClick:f,className:m,...h}){const g=!!l,w=c==="circle"||g&&!u?Ls[r]:s1[r];return s.jsxs("button",{type:e,onClick:f,disabled:o,"aria-label":c==="circle"?d??"button":g&&!u?d:void 0,style:n?{width:n}:void 0,className:de(a1,l1[c],o1[t],w,i1,g&&u&&c!=="circle"&&"gap-2",m),...h,children:[l&&i==="left"&&s.jsx(Xe,{component:l,size:r==="xs"?"sm":r}),u,l&&i==="right"&&s.jsx(Xe,{component:l,size:r==="xs"?"sm":r})]})}function c1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.26 10.147a60.438 60.438 0 0 0-.491 6.347A48.62 48.62 0 0 1 12 20.904a48.62 48.62 0 0 1 8.232-4.41 60.46 60.46 0 0 0-.491-6.347m-15.482 0a50.636 50.636 0 0 0-2.658-.813A59.906 59.906 0 0 1 12 3.493a59.903 59.903 0 0 1 10.399 5.84c-.896.248-1.783.52-2.658.814m-15.482 0A50.717 50.717 0 0 1 12 13.489a50.702 50.702 0 0 1 7.74-3.342M6.75 15a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm0 0v-3.675A55.378 55.378 0 0 1 12 8.443m-7.007 11.55A5.981 5.981 0 0 0 6.75 15.75v-1.5"}))}const d1=a.forwardRef(c1);function u1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"}))}const f1=a.forwardRef(u1);function m1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 13.5V3.75m0 9.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 3.75V16.5m12-3V3.75m0 9.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 3.75V16.5m-6-9V3.75m0 3.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 9.75V10.5"}))}const h1=a.forwardRef(m1);function p1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m20.25 7.5-.625 10.632a2.25 2.25 0 0 1-2.247 2.118H6.622a2.25 2.25 0 0 1-2.247-2.118L3.75 7.5m8.25 3v6.75m0 0-3-3m3 3 3-3M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"}))}const v1=a.forwardRef(p1);function w1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m20.25 7.5-.625 10.632a2.25 2.25 0 0 1-2.247 2.118H6.622a2.25 2.25 0 0 1-2.247-2.118L3.75 7.5m6 4.125 2.25 2.25m0 0 2.25 2.25M12 13.875l2.25-2.25M12 13.875l-2.25 2.25M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"}))}const g1=a.forwardRef(w1);function b1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m20.25 7.5-.625 10.632a2.25 2.25 0 0 1-2.247 2.118H6.622a2.25 2.25 0 0 1-2.247-2.118L3.75 7.5M10 11.25h4M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"}))}const x1=a.forwardRef(b1);function y1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 12.75 3 3m0 0 3-3m-3 3v-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const E1=a.forwardRef(y1);function k1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 4.5-15 15m0 0h11.25m-11.25 0V8.25"}))}const R1=a.forwardRef(k1);function j1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 7.5h-.75A2.25 2.25 0 0 0 4.5 9.75v7.5a2.25 2.25 0 0 0 2.25 2.25h7.5a2.25 2.25 0 0 0 2.25-2.25v-7.5a2.25 2.25 0 0 0-2.25-2.25h-.75m-6 3.75 3 3m0 0 3-3m-3 3V1.5m6 9h.75a2.25 2.25 0 0 1 2.25 2.25v7.5a2.25 2.25 0 0 1-2.25 2.25h-7.5a2.25 2.25 0 0 1-2.25-2.25v-.75"}))}const C1=a.forwardRef(j1);function M1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 8.25H7.5a2.25 2.25 0 0 0-2.25 2.25v9a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25H15M9 12l3 3m0 0 3-3m-3 3V2.25"}))}const A1=a.forwardRef(M1);function S1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 4.5 15 15m0 0V8.25m0 11.25H8.25"}))}const $1=a.forwardRef(S1);function L1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"}))}const O1=a.forwardRef(L1);function N1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3"}))}const g0=a.forwardRef(N1);function F1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const b0=a.forwardRef(F1);function I1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15M12 9l-3 3m0 0 3 3m-3-3h12.75"}))}const Z1=a.forwardRef(I1);function B1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15M12 9l-3 3m0 0 3 3m-3-3h12.75"}))}const V1=a.forwardRef(B1);function T1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15m-3 0-3-3m0 0 3-3m-3 3H15"}))}const D1=a.forwardRef(T1);function H1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"}))}const x0=a.forwardRef(H1);function _1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 17.25 12 21m0 0-3.75-3.75M12 21V3"}))}const P1=a.forwardRef(_1);function W1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 15.75 3 12m0 0 3.75-3.75M3 12h18"}))}const z1=a.forwardRef(W1);function q1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 8.25 21 12m0 0-3.75 3.75M21 12H3"}))}const U1=a.forwardRef(q1);function G1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 6.75 12 3m0 0 3.75 3.75M12 3v18"}))}const K1=a.forwardRef(G1);function Y1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 12c0-1.232-.046-2.453-.138-3.662a4.006 4.006 0 0 0-3.7-3.7 48.678 48.678 0 0 0-7.324 0 4.006 4.006 0 0 0-3.7 3.7c-.017.22-.032.441-.046.662M19.5 12l3-3m-3 3-3-3m-12 3c0 1.232.046 2.453.138 3.662a4.006 4.006 0 0 0 3.7 3.7 48.656 48.656 0 0 0 7.324 0 4.006 4.006 0 0 0 3.7-3.7c.017-.22.032-.441.046-.662M4.5 12l3 3m-3-3-3 3"}))}const J1=a.forwardRef(Y1);function X1({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"}))}const Q1=a.forwardRef(X1);function ec({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const y0=a.forwardRef(ec);function tc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"}))}const rc=a.forwardRef(tc);function nc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15m3 0 3-3m0 0-3-3m3 3H9"}))}const ac=a.forwardRef(nc);function oc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15m3 0 3-3m0 0-3-3m3 3H9"}))}const sc=a.forwardRef(oc);function lc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"}))}const E0=a.forwardRef(lc);function ic({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m0 0 6.75-6.75M12 19.5l-6.75-6.75"}))}const cc=a.forwardRef(ic);function dc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 12h-15m0 0 6.75 6.75M4.5 12l6.75-6.75"}))}const uc=a.forwardRef(dc);function fc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12h15m0 0-6.75-6.75M19.5 12l-6.75 6.75"}))}const mc=a.forwardRef(fc);function hc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 19.5v-15m0 0-6.75 6.75M12 4.5l6.75 6.75"}))}const pc=a.forwardRef(hc);function vc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"}))}const wc=a.forwardRef(vc);function gc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 6 9 12.75l4.286-4.286a11.948 11.948 0 0 1 4.306 6.43l.776 2.898m0 0 3.182-5.511m-3.182 5.51-5.511-3.181"}))}const bc=a.forwardRef(gc);function xc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 18 9 11.25l4.306 4.306a11.95 11.95 0 0 1 5.814-5.518l2.74-1.22m0 0-5.94-2.281m5.94 2.28-2.28 5.941"}))}const yc=a.forwardRef(xc);function Ec({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m7.49 12-3.75 3.75m0 0 3.75 3.75m-3.75-3.75h16.5V4.499"}))}const kc=a.forwardRef(Ec);function Rc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.49 12 3.75 3.75m0 0-3.75 3.75m3.75-3.75H3.74V4.499"}))}const jc=a.forwardRef(Rc);function Cc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.99 16.5-3.75 3.75m0 0L4.49 16.5m3.75 3.75V3.75h11.25"}))}const Mc=a.forwardRef(Cc);function Ac({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.99 7.5 8.24 3.75m0 0L4.49 7.5m3.75-3.75v16.499h11.25"}))}const Sc=a.forwardRef(Ac);function $c({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.99 16.5 3.75 3.75m0 0 3.75-3.75m-3.75 3.75V3.75H4.49"}))}const Lc=a.forwardRef($c);function Oc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.99 7.5 3.75-3.75m0 0 3.75 3.75m-3.75-3.75v16.499H4.49"}))}const Nc=a.forwardRef(Oc);function Fc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.49 12 3.74 8.248m0 0 3.75-3.75m-3.75 3.75h16.5V19.5"}))}const Ic=a.forwardRef(Fc);function Zc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.49 12 3.75-3.751m0 0-3.75-3.75m3.75 3.75H3.74V19.5"}))}const Bc=a.forwardRef(Zc);function Vc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15 11.25-3-3m0 0-3 3m3-3v7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const Tc=a.forwardRef(Vc);function Dc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 19.5-15-15m0 0v11.25m0-11.25h11.25"}))}const Hc=a.forwardRef(Dc);function _c({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 7.5h-.75A2.25 2.25 0 0 0 4.5 9.75v7.5a2.25 2.25 0 0 0 2.25 2.25h7.5a2.25 2.25 0 0 0 2.25-2.25v-7.5a2.25 2.25 0 0 0-2.25-2.25h-.75m0-3-3-3m0 0-3 3m3-3v11.25m6-2.25h.75a2.25 2.25 0 0 1 2.25 2.25v7.5a2.25 2.25 0 0 1-2.25 2.25h-7.5a2.25 2.25 0 0 1-2.25-2.25v-.75"}))}const Pc=a.forwardRef(_c);function Wc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 8.25H7.5a2.25 2.25 0 0 0-2.25 2.25v9a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25H15m0-3-3-3m0 0-3 3m3-3V15"}))}const zc=a.forwardRef(Wc);function qc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 19.5 15-15m0 0H8.25m11.25 0v11.25"}))}const Uc=a.forwardRef(qc);function Gc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5"}))}const Kc=a.forwardRef(Gc);function Yc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 10.5 12 3m0 0 7.5 7.5M12 3v18"}))}const k0=a.forwardRef(Yc);function Jc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15 15-6 6m0 0-6-6m6 6V9a6 6 0 0 1 12 0v3"}))}const Xc=a.forwardRef(Jc);function Qc({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 15 3 9m0 0 6-6M3 9h12a6 6 0 0 1 0 12h-3"}))}const e2=a.forwardRef(Qc);function t2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15 15 6-6m0 0-6-6m6 6H9a6 6 0 0 0 0 12h3"}))}const r2=a.forwardRef(t2);function n2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 9 6-6m0 0 6 6m-6-6v12a6 6 0 0 1-12 0v-3"}))}const a2=a.forwardRef(n2);function o2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 9V4.5M9 9H4.5M9 9 3.75 3.75M9 15v4.5M9 15H4.5M9 15l-5.25 5.25M15 9h4.5M15 9V4.5M15 9l5.25-5.25M15 15h4.5M15 15v4.5m0-4.5 5.25 5.25"}))}const s2=a.forwardRef(o2);function l2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15"}))}const i2=a.forwardRef(l2);function c2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 21 3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5"}))}const d2=a.forwardRef(c2);function u2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 7.5 7.5 3m0 0L12 7.5M7.5 3v13.5m13.5 0L16.5 21m0 0L12 16.5m4.5 4.5V7.5"}))}const f2=a.forwardRef(u2);function m2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 12a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm0 0c0 1.657 1.007 3 2.25 3S21 13.657 21 12a9 9 0 1 0-2.636 6.364M16.5 12V8.25"}))}const h2=a.forwardRef(m2);function p2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9.75 14.25 12m0 0 2.25 2.25M14.25 12l2.25-2.25M14.25 12 12 14.25m-2.58 4.92-6.374-6.375a1.125 1.125 0 0 1 0-1.59L9.42 4.83c.21-.211.497-.33.795-.33H19.5a2.25 2.25 0 0 1 2.25 2.25v10.5a2.25 2.25 0 0 1-2.25 2.25h-9.284c-.298 0-.585-.119-.795-.33Z"}))}const v2=a.forwardRef(p2);function w2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 16.811c0 .864-.933 1.406-1.683.977l-7.108-4.061a1.125 1.125 0 0 1 0-1.954l7.108-4.061A1.125 1.125 0 0 1 21 8.689v8.122ZM11.25 16.811c0 .864-.933 1.406-1.683.977l-7.108-4.061a1.125 1.125 0 0 1 0-1.954l7.108-4.061a1.125 1.125 0 0 1 1.683.977v8.122Z"}))}const g2=a.forwardRef(w2);function b2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 18.75a60.07 60.07 0 0 1 15.797 2.101c.727.198 1.453-.342 1.453-1.096V18.75M3.75 4.5v.75A.75.75 0 0 1 3 6h-.75m0 0v-.375c0-.621.504-1.125 1.125-1.125H20.25M2.25 6v9m18-10.5v.75c0 .414.336.75.75.75h.75m-1.5-1.5h.375c.621 0 1.125.504 1.125 1.125v9.75c0 .621-.504 1.125-1.125 1.125h-.375m1.5-1.5H21a.75.75 0 0 0-.75.75v.75m0 0H3.75m0 0h-.375a1.125 1.125 0 0 1-1.125-1.125V15m1.5 1.5v-.75A.75.75 0 0 0 3 15h-.75M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm3 0h.008v.008H18V10.5Zm-12 0h.008v.008H6V10.5Z"}))}const x2=a.forwardRef(b2);function y2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 9h16.5m-16.5 6.75h16.5"}))}const E2=a.forwardRef(y2);function k2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25H12"}))}const R2=a.forwardRef(k2);function j2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5M12 17.25h8.25"}))}const C2=a.forwardRef(j2);function M2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12H12m-8.25 5.25h16.5"}))}const A2=a.forwardRef(M2);function S2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))}const R0=a.forwardRef(S2);function $2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 5.25h16.5m-16.5 4.5h16.5m-16.5 4.5h16.5m-16.5 4.5h16.5"}))}const L2=a.forwardRef($2);function O2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 4.5h14.25M3 9h9.75M3 13.5h9.75m4.5-4.5v12m0 0-3.75-3.75M17.25 21 21 17.25"}))}const N2=a.forwardRef(O2);function F2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 4.5h14.25M3 9h9.75M3 13.5h5.25m5.25-.75L17.25 9m0 0L21 12.75M17.25 9v12"}))}const I2=a.forwardRef(F2);function Z2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 10.5h.375c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125H21M3.75 18h15A2.25 2.25 0 0 0 21 15.75v-6a2.25 2.25 0 0 0-2.25-2.25h-15A2.25 2.25 0 0 0 1.5 9.75v6A2.25 2.25 0 0 0 3.75 18Z"}))}const B2=a.forwardRef(Z2);function V2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 10.5h.375c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125H21M4.5 10.5H18V15H4.5v-4.5ZM3.75 18h15A2.25 2.25 0 0 0 21 15.75v-6a2.25 2.25 0 0 0-2.25-2.25h-15A2.25 2.25 0 0 0 1.5 9.75v6A2.25 2.25 0 0 0 3.75 18Z"}))}const T2=a.forwardRef(V2);function D2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 10.5h.375c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125H21M4.5 10.5h6.75V15H4.5v-4.5ZM3.75 18h15A2.25 2.25 0 0 0 21 15.75v-6a2.25 2.25 0 0 0-2.25-2.25h-15A2.25 2.25 0 0 0 1.5 9.75v6A2.25 2.25 0 0 0 3.75 18Z"}))}const H2=a.forwardRef(D2);function _2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.75 3.104v5.714a2.25 2.25 0 0 1-.659 1.591L5 14.5M9.75 3.104c-.251.023-.501.05-.75.082m.75-.082a24.301 24.301 0 0 1 4.5 0m0 0v5.714c0 .597.237 1.17.659 1.591L19.8 15.3M14.25 3.104c.251.023.501.05.75.082M19.8 15.3l-1.57.393A9.065 9.065 0 0 1 12 15a9.065 9.065 0 0 0-6.23-.693L5 14.5m14.8.8 1.402 1.402c1.232 1.232.65 3.318-1.067 3.611A48.309 48.309 0 0 1 12 21c-2.773 0-5.491-.235-8.135-.687-1.718-.293-2.3-2.379-1.067-3.61L5 14.5"}))}const P2=a.forwardRef(_2);function W2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0M3.124 7.5A8.969 8.969 0 0 1 5.292 3m13.416 0a8.969 8.969 0 0 1 2.168 4.5"}))}const z2=a.forwardRef(W2);function q2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.143 17.082a24.248 24.248 0 0 0 3.844.148m-3.844-.148a23.856 23.856 0 0 1-5.455-1.31 8.964 8.964 0 0 0 2.3-5.542m3.155 6.852a3 3 0 0 0 5.667 1.97m1.965-2.277L21 21m-4.225-4.225a23.81 23.81 0 0 0 3.536-1.003A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6.53 6.53m10.245 10.245L6.53 6.53M3 3l3.53 3.53"}))}const U2=a.forwardRef(q2);function G2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0M10.5 8.25h3l-3 4.5h3"}))}const K2=a.forwardRef(G2);function Y2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0"}))}const J2=a.forwardRef(Y2);function X2({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinejoin:"round",d:"M6.75 3.744h-.753v8.25h7.125a4.125 4.125 0 0 0 0-8.25H6.75Zm0 0v.38m0 16.122h6.747a4.5 4.5 0 0 0 0-9.001h-7.5v9h.753Zm0 0v-.37m0-15.751h6a3.75 3.75 0 1 1 0 7.5h-6m0-7.5v7.5m0 0v8.25m0-8.25h6.375a4.125 4.125 0 0 1 0 8.25H6.75m.747-15.38h4.875a3.375 3.375 0 0 1 0 6.75H7.497v-6.75Zm0 7.5h5.25a3.75 3.75 0 0 1 0 7.5h-5.25v-7.5Z"}))}const Q2=a.forwardRef(X2);function ed({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.412 15.655 9.75 21.75l3.745-4.012M9.257 13.5H3.75l2.659-2.849m2.048-2.194L14.25 2.25 12 10.5h8.25l-4.707 5.043M8.457 8.457 3 3m5.457 5.457 7.086 7.086m0 0L21 21"}))}const td=a.forwardRef(ed);function rd({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"}))}const nd=a.forwardRef(rd);function ad({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25"}))}const od=a.forwardRef(ad);function sd({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m3 3 1.664 1.664M21 21l-1.5-1.5m-5.485-1.242L12 17.25 4.5 21V8.742m.164-4.078a2.15 2.15 0 0 1 1.743-1.342 48.507 48.507 0 0 1 11.186 0c1.1.128 1.907 1.077 1.907 2.185V19.5M4.664 4.664 19.5 19.5"}))}const ld=a.forwardRef(sd);function id({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 3.75V16.5L12 14.25 7.5 16.5V3.75m9 0H18A2.25 2.25 0 0 1 20.25 6v12A2.25 2.25 0 0 1 18 20.25H6A2.25 2.25 0 0 1 3.75 18V6A2.25 2.25 0 0 1 6 3.75h1.5m9 0h-9"}))}const cd=a.forwardRef(id);function dd({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.593 3.322c1.1.128 1.907 1.077 1.907 2.185V21L12 17.25 4.5 21V5.507c0-1.108.806-2.057 1.907-2.185a48.507 48.507 0 0 1 11.186 0Z"}))}const ud=a.forwardRef(dd);function fd({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 14.15v4.25c0 1.094-.787 2.036-1.872 2.18-2.087.277-4.216.42-6.378.42s-4.291-.143-6.378-.42c-1.085-.144-1.872-1.086-1.872-2.18v-4.25m16.5 0a2.18 2.18 0 0 0 .75-1.661V8.706c0-1.081-.768-2.015-1.837-2.175a48.114 48.114 0 0 0-3.413-.387m4.5 8.006c-.194.165-.42.295-.673.38A23.978 23.978 0 0 1 12 15.75c-2.648 0-5.195-.429-7.577-1.22a2.016 2.016 0 0 1-.673-.38m0 0A2.18 2.18 0 0 1 3 12.489V8.706c0-1.081.768-2.015 1.837-2.175a48.111 48.111 0 0 1 3.413-.387m7.5 0V5.25A2.25 2.25 0 0 0 13.5 3h-3a2.25 2.25 0 0 0-2.25 2.25v.894m7.5 0a48.667 48.667 0 0 0-7.5 0M12 12.75h.008v.008H12v-.008Z"}))}const md=a.forwardRef(fd);function hd({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 12.75c1.148 0 2.278.08 3.383.237 1.037.146 1.866.966 1.866 2.013 0 3.728-2.35 6.75-5.25 6.75S6.75 18.728 6.75 15c0-1.046.83-1.867 1.866-2.013A24.204 24.204 0 0 1 12 12.75Zm0 0c2.883 0 5.647.508 8.207 1.44a23.91 23.91 0 0 1-1.152 6.06M12 12.75c-2.883 0-5.647.508-8.208 1.44.125 2.104.52 4.136 1.153 6.06M12 12.75a2.25 2.25 0 0 0 2.248-2.354M12 12.75a2.25 2.25 0 0 1-2.248-2.354M12 8.25c.995 0 1.971-.08 2.922-.236.403-.066.74-.358.795-.762a3.778 3.778 0 0 0-.399-2.25M12 8.25c-.995 0-1.97-.08-2.922-.236-.402-.066-.74-.358-.795-.762a3.734 3.734 0 0 1 .4-2.253M12 8.25a2.25 2.25 0 0 0-2.248 2.146M12 8.25a2.25 2.25 0 0 1 2.248 2.146M8.683 5a6.032 6.032 0 0 1-1.155-1.002c.07-.63.27-1.222.574-1.747m.581 2.749A3.75 3.75 0 0 1 15.318 5m0 0c.427-.283.815-.62 1.155-.999a4.471 4.471 0 0 0-.575-1.752M4.921 6a24.048 24.048 0 0 0-.392 3.314c1.668.546 3.416.914 5.223 1.082M19.08 6c.205 1.08.337 2.187.392 3.314a23.882 23.882 0 0 1-5.223 1.082"}))}const pd=a.forwardRef(hd);function vd({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21v-8.25M15.75 21v-8.25M8.25 21v-8.25M3 9l9-6 9 6m-1.5 12V10.332A48.36 48.36 0 0 0 12 9.75c-2.551 0-5.056.2-7.5.582V21M3 21h18M12 6.75h.008v.008H12V6.75Z"}))}const wd=a.forwardRef(vd);function gd({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 21h19.5m-18-18v18m10.5-18v18m6-13.5V21M6.75 6.75h.75m-.75 3h.75m-.75 3h.75m3-6h.75m-.75 3h.75m-.75 3h.75M6.75 21v-3.375c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21M3 3h12m-.75 4.5H21m-3.75 3.75h.008v.008h-.008v-.008Zm0 3h.008v.008h-.008v-.008Zm0 3h.008v.008h-.008v-.008Z"}))}const bd=a.forwardRef(gd);function xd({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 21h16.5M4.5 3h15M5.25 3v18m13.5-18v18M9 6.75h1.5m-1.5 3h1.5m-1.5 3h1.5m3-6H15m-1.5 3H15m-1.5 3H15M9 21v-3.375c0-.621.504-1.125 1.125-1.125h3.75c.621 0 1.125.504 1.125 1.125V21"}))}const yd=a.forwardRef(xd);function Ed({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 21v-7.5a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 .75.75V21m-4.5 0H2.36m11.14 0H18m0 0h3.64m-1.39 0V9.349M3.75 21V9.349m0 0a3.001 3.001 0 0 0 3.75-.615A2.993 2.993 0 0 0 9.75 9.75c.896 0 1.7-.393 2.25-1.016a2.993 2.993 0 0 0 2.25 1.016c.896 0 1.7-.393 2.25-1.015a3.001 3.001 0 0 0 3.75.614m-16.5 0a3.004 3.004 0 0 1-.621-4.72l1.189-1.19A1.5 1.5 0 0 1 5.378 3h13.243a1.5 1.5 0 0 1 1.06.44l1.19 1.189a3 3 0 0 1-.621 4.72M6.75 18h3.75a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75H6.75a.75.75 0 0 0-.75.75v3.75c0 .414.336.75.75.75Z"}))}const kd=a.forwardRef(Ed);function Rd({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8.25v-1.5m0 1.5c-1.355 0-2.697.056-4.024.166C6.845 8.51 6 9.473 6 10.608v2.513m6-4.871c1.355 0 2.697.056 4.024.166C17.155 8.51 18 9.473 18 10.608v2.513M15 8.25v-1.5m-6 1.5v-1.5m12 9.75-1.5.75a3.354 3.354 0 0 1-3 0 3.354 3.354 0 0 0-3 0 3.354 3.354 0 0 1-3 0 3.354 3.354 0 0 0-3 0 3.354 3.354 0 0 1-3 0L3 16.5m15-3.379a48.474 48.474 0 0 0-6-.371c-2.032 0-4.034.126-6 .371m12 0c.39.049.777.102 1.163.16 1.07.16 1.837 1.094 1.837 2.175v5.169c0 .621-.504 1.125-1.125 1.125H4.125A1.125 1.125 0 0 1 3 20.625v-5.17c0-1.08.768-2.014 1.837-2.174A47.78 47.78 0 0 1 6 13.12M12.265 3.11a.375.375 0 1 1-.53 0L12 2.845l.265.265Zm-3 0a.375.375 0 1 1-.53 0L9 2.845l.265.265Zm6 0a.375.375 0 1 1-.53 0L15 2.845l.265.265Z"}))}const jd=a.forwardRef(Rd);function Cd({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 15.75V18m-7.5-6.75h.008v.008H8.25v-.008Zm0 2.25h.008v.008H8.25V13.5Zm0 2.25h.008v.008H8.25v-.008Zm0 2.25h.008v.008H8.25V18Zm2.498-6.75h.007v.008h-.007v-.008Zm0 2.25h.007v.008h-.007V13.5Zm0 2.25h.007v.008h-.007v-.008Zm0 2.25h.007v.008h-.007V18Zm2.504-6.75h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V13.5Zm0 2.25h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V18Zm2.498-6.75h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V13.5ZM8.25 6h7.5v2.25h-7.5V6ZM12 2.25c-1.892 0-3.758.11-5.593.322C5.307 2.7 4.5 3.65 4.5 4.757V19.5a2.25 2.25 0 0 0 2.25 2.25h10.5a2.25 2.25 0 0 0 2.25-2.25V4.757c0-1.108-.806-2.057-1.907-2.185A48.507 48.507 0 0 0 12 2.25Z"}))}const Md=a.forwardRef(Cd);function Ad({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 2.994v2.25m10.5-2.25v2.25m-14.252 13.5V7.491a2.25 2.25 0 0 1 2.25-2.25h13.5a2.25 2.25 0 0 1 2.25 2.25v11.251m-18 0a2.25 2.25 0 0 0 2.25 2.25h13.5a2.25 2.25 0 0 0 2.25-2.25m-18 0v-7.5a2.25 2.25 0 0 1 2.25-2.25h13.5a2.25 2.25 0 0 1 2.25 2.25v7.5m-6.75-6h2.25m-9 2.25h4.5m.002-2.25h.005v.006H12v-.006Zm-.001 4.5h.006v.006h-.006v-.005Zm-2.25.001h.005v.006H9.75v-.006Zm-2.25 0h.005v.005h-.006v-.005Zm6.75-2.247h.005v.005h-.005v-.005Zm0 2.247h.006v.006h-.006v-.006Zm2.25-2.248h.006V15H16.5v-.005Z"}))}const Sd=a.forwardRef(Ad);function $d({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5m-9-6h.008v.008H12v-.008ZM12 15h.008v.008H12V15Zm0 2.25h.008v.008H12v-.008ZM9.75 15h.008v.008H9.75V15Zm0 2.25h.008v.008H9.75v-.008ZM7.5 15h.008v.008H7.5V15Zm0 2.25h.008v.008H7.5v-.008Zm6.75-4.5h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V15Zm0 2.25h.008v.008h-.008v-.008Zm2.25-4.5h.008v.008H16.5v-.008Zm0 2.25h.008v.008H16.5V15Z"}))}const j0=a.forwardRef($d);function Ld({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5"}))}const Od=a.forwardRef(Ld);function Nd({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.827 6.175A2.31 2.31 0 0 1 5.186 7.23c-.38.054-.757.112-1.134.175C2.999 7.58 2.25 8.507 2.25 9.574V18a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9.574c0-1.067-.75-1.994-1.802-2.169a47.865 47.865 0 0 0-1.134-.175 2.31 2.31 0 0 1-1.64-1.055l-.822-1.316a2.192 2.192 0 0 0-1.736-1.039 48.774 48.774 0 0 0-5.232 0 2.192 2.192 0 0 0-1.736 1.039l-.821 1.316Z"}),a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 12.75a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM18.75 10.5h.008v.008h-.008V10.5Z"}))}const Fd=a.forwardRef(Nd);function Id({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 14.25v2.25m3-4.5v4.5m3-6.75v6.75m3-9v9M6 20.25h12A2.25 2.25 0 0 0 20.25 18V6A2.25 2.25 0 0 0 18 3.75H6A2.25 2.25 0 0 0 3.75 6v12A2.25 2.25 0 0 0 6 20.25Z"}))}const Zd=a.forwardRef(Id);function Bd({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 0 1 3 19.875v-6.75ZM9.75 8.625c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V8.625ZM16.5 4.125c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V4.125Z"}))}const Vd=a.forwardRef(Bd);function Td({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 6a7.5 7.5 0 1 0 7.5 7.5h-7.5V6Z"}),a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 10.5H21A7.5 7.5 0 0 0 13.5 3v7.5Z"}))}const Dd=a.forwardRef(Td);function Hd({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 8.25h9m-9 3H12m-9.75 1.51c0 1.6 1.123 2.994 2.707 3.227 1.129.166 2.27.293 3.423.379.35.026.67.21.865.501L12 21l2.755-4.133a1.14 1.14 0 0 1 .865-.501 48.172 48.172 0 0 0 3.423-.379c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z"}))}const _d=a.forwardRef(Hd);function Pd({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12.76c0 1.6 1.123 2.994 2.707 3.227 1.068.157 2.148.279 3.238.364.466.037.893.281 1.153.671L12 21l2.652-3.978c.26-.39.687-.634 1.153-.67 1.09-.086 2.17-.208 3.238-.365 1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z"}))}const Wd=a.forwardRef(Pd);function zd({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.625 9.75a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375m-13.5 3.01c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.184-4.183a1.14 1.14 0 0 1 .778-.332 48.294 48.294 0 0 0 5.83-.498c1.585-.233 2.708-1.626 2.708-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z"}))}const qd=a.forwardRef(zd);function Ud({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 8.511c.884.284 1.5 1.128 1.5 2.097v4.286c0 1.136-.847 2.1-1.98 2.193-.34.027-.68.052-1.02.072v3.091l-3-3c-1.354 0-2.694-.055-4.02-.163a2.115 2.115 0 0 1-.825-.242m9.345-8.334a2.126 2.126 0 0 0-.476-.095 48.64 48.64 0 0 0-8.048 0c-1.131.094-1.976 1.057-1.976 2.192v4.286c0 .837.46 1.58 1.155 1.951m9.345-8.334V6.637c0-1.621-1.152-3.026-2.76-3.235A48.455 48.455 0 0 0 11.25 3c-2.115 0-4.198.137-6.24.402-1.608.209-2.76 1.614-2.76 3.235v6.226c0 1.621 1.152 3.026 2.76 3.235.577.075 1.157.14 1.74.194V21l4.155-4.155"}))}const Gd=a.forwardRef(Ud);function Kd({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12.76c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.076-4.076a1.526 1.526 0 0 1 1.037-.443 48.282 48.282 0 0 0 5.68-.494c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z"}))}const Yd=a.forwardRef(Kd);function Jd({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.625 12a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 0 1-2.555-.337A5.972 5.972 0 0 1 5.41 20.97a5.969 5.969 0 0 1-.474-.065 4.48 4.48 0 0 0 .978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25Z"}))}const Xd=a.forwardRef(Jd);function Qd({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 20.25c4.97 0 9-3.694 9-8.25s-4.03-8.25-9-8.25S3 7.444 3 12c0 2.104.859 4.023 2.273 5.48.432.447.74 1.04.586 1.641a4.483 4.483 0 0 1-.923 1.785A5.969 5.969 0 0 0 6 21c1.282 0 2.47-.402 3.445-1.087.81.22 1.668.337 2.555.337Z"}))}const e7=a.forwardRef(Qd);function t7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12c0 1.268-.63 2.39-1.593 3.068a3.745 3.745 0 0 1-1.043 3.296 3.745 3.745 0 0 1-3.296 1.043A3.745 3.745 0 0 1 12 21c-1.268 0-2.39-.63-3.068-1.593a3.746 3.746 0 0 1-3.296-1.043 3.745 3.745 0 0 1-1.043-3.296A3.745 3.745 0 0 1 3 12c0-1.268.63-2.39 1.593-3.068a3.745 3.745 0 0 1 1.043-3.296 3.746 3.746 0 0 1 3.296-1.043A3.746 3.746 0 0 1 12 3c1.268 0 2.39.63 3.068 1.593a3.746 3.746 0 0 1 3.296 1.043 3.746 3.746 0 0 1 1.043 3.296A3.745 3.745 0 0 1 21 12Z"}))}const r7=a.forwardRef(t7);function n7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const ya=a.forwardRef(n7);function a7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))}const C0=a.forwardRef(a7);function o7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 5.25 7.5 7.5 7.5-7.5m-15 6 7.5 7.5 7.5-7.5"}))}const s7=a.forwardRef(o7);function l7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m18.75 4.5-7.5 7.5 7.5 7.5m-6-15L5.25 12l7.5 7.5"}))}const i7=a.forwardRef(l7);function c7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m5.25 4.5 7.5 7.5-7.5 7.5m6-15 7.5 7.5-7.5 7.5"}))}const d7=a.forwardRef(c7);function u7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 18.75 7.5-7.5 7.5 7.5"}),a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 7.5-7.5 7.5 7.5"}))}const f7=a.forwardRef(u7);function m7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))}const mn=a.forwardRef(m7);function h7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5 8.25 12l7.5-7.5"}))}const M0=a.forwardRef(h7);function p7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"}))}const To=a.forwardRef(p7);function v7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 15 12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"}))}const w7=a.forwardRef(v7);function g7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"}))}const b7=a.forwardRef(g7);function x7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 6.375c0 2.278-3.694 4.125-8.25 4.125S3.75 8.653 3.75 6.375m16.5 0c0-2.278-3.694-4.125-8.25-4.125S3.75 4.097 3.75 6.375m16.5 0v11.25c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125V6.375m16.5 0v3.75m-16.5-3.75v3.75m16.5 0v3.75C20.25 16.153 16.556 18 12 18s-8.25-1.847-8.25-4.125v-3.75m16.5 0c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125"}))}const y7=a.forwardRef(x7);function E7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0 1 18 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3 1.5 1.5 3-3.75"}))}const Do=a.forwardRef(E7);function k7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25ZM6.75 12h.008v.008H6.75V12Zm0 3h.008v.008H6.75V15Zm0 3h.008v.008H6.75V18Z"}))}const A0=a.forwardRef(k7);function R7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z"}))}const j7=a.forwardRef(R7);function C7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.666 3.888A2.25 2.25 0 0 0 13.5 2.25h-3c-1.03 0-1.9.693-2.166 1.638m7.332 0c.055.194.084.4.084.612v0a.75.75 0 0 1-.75.75H9a.75.75 0 0 1-.75-.75v0c0-.212.03-.418.084-.612m7.332 0c.646.049 1.288.11 1.927.184 1.1.128 1.907 1.077 1.907 2.185V19.5a2.25 2.25 0 0 1-2.25 2.25H6.75A2.25 2.25 0 0 1 4.5 19.5V6.257c0-1.108.806-2.057 1.907-2.185a48.208 48.208 0 0 1 1.927-.184"}))}const M7=a.forwardRef(C7);function A7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const S7=a.forwardRef(A7);function $7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9.75v6.75m0 0-3-3m3 3 3-3m-8.25 6a4.5 4.5 0 0 1-1.41-8.775 5.25 5.25 0 0 1 10.233-2.33 3 3 0 0 1 3.758 3.848A3.752 3.752 0 0 1 18 19.5H6.75Z"}))}const L7=a.forwardRef($7);function O7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 16.5V9.75m0 0 3 3m-3-3-3 3M6.75 19.5a4.5 4.5 0 0 1-1.41-8.775 5.25 5.25 0 0 1 10.233-2.33 3 3 0 0 1 3.758 3.848A3.752 3.752 0 0 1 18 19.5H6.75Z"}))}const S0=a.forwardRef(O7);function N7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 15a4.5 4.5 0 0 0 4.5 4.5H18a3.75 3.75 0 0 0 1.332-7.257 3 3 0 0 0-3.758-3.848 5.25 5.25 0 0 0-10.233 2.33A4.502 4.502 0 0 0 2.25 15Z"}))}const F7=a.forwardRef(N7);function I7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.25 9.75 16.5 12l-2.25 2.25m-4.5 0L7.5 12l2.25-2.25M6 20.25h12A2.25 2.25 0 0 0 20.25 18V6A2.25 2.25 0 0 0 18 3.75H6A2.25 2.25 0 0 0 3.75 6v12A2.25 2.25 0 0 0 6 20.25Z"}))}const Z7=a.forwardRef(I7);function B7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 6.75 22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3-4.5 16.5"}))}const V7=a.forwardRef(B7);function T7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.325.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.241-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.991l1.004.827c.424.35.534.955.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.991a6.932 6.932 0 0 1 0-.255c.007-.38-.138-.751-.43-.992l-1.004-.827a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.086.22-.128.332-.183.582-.495.644-.869l.214-1.28Z"}),a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}const Ho=a.forwardRef(T7);function D7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.343 3.94c.09-.542.56-.94 1.11-.94h1.093c.55 0 1.02.398 1.11.94l.149.894c.07.424.384.764.78.93.398.164.855.142 1.205-.108l.737-.527a1.125 1.125 0 0 1 1.45.12l.773.774c.39.389.44 1.002.12 1.45l-.527.737c-.25.35-.272.806-.107 1.204.165.397.505.71.93.78l.893.15c.543.09.94.559.94 1.109v1.094c0 .55-.397 1.02-.94 1.11l-.894.149c-.424.07-.764.383-.929.78-.165.398-.143.854.107 1.204l.527.738c.32.447.269 1.06-.12 1.45l-.774.773a1.125 1.125 0 0 1-1.449.12l-.738-.527c-.35-.25-.806-.272-1.203-.107-.398.165-.71.505-.781.929l-.149.894c-.09.542-.56.94-1.11.94h-1.094c-.55 0-1.019-.398-1.11-.94l-.148-.894c-.071-.424-.384-.764-.781-.93-.398-.164-.854-.142-1.204.108l-.738.527c-.447.32-1.06.269-1.45-.12l-.773-.774a1.125 1.125 0 0 1-.12-1.45l.527-.737c.25-.35.272-.806.108-1.204-.165-.397-.506-.71-.93-.78l-.894-.15c-.542-.09-.94-.56-.94-1.109v-1.094c0-.55.398-1.02.94-1.11l.894-.149c.424-.07.765-.383.93-.78.165-.398.143-.854-.108-1.204l-.526-.738a1.125 1.125 0 0 1 .12-1.45l.773-.773a1.125 1.125 0 0 1 1.45-.12l.737.527c.35.25.807.272 1.204.107.397-.165.71-.505.78-.929l.15-.894Z"}),a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}const H7=a.forwardRef(D7);function _7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12a7.5 7.5 0 0 0 15 0m-15 0a7.5 7.5 0 1 1 15 0m-15 0H3m16.5 0H21m-1.5 0H12m-8.457 3.077 1.41-.513m14.095-5.13 1.41-.513M5.106 17.785l1.15-.964m11.49-9.642 1.149-.964M7.501 19.795l.75-1.3m7.5-12.99.75-1.3m-6.063 16.658.26-1.477m2.605-14.772.26-1.477m0 17.726-.26-1.477M10.698 4.614l-.26-1.477M16.5 19.794l-.75-1.299M7.5 4.205 12 12m6.894 5.785-1.149-.964M6.256 7.178l-1.15-.964m15.352 8.864-1.41-.513M4.954 9.435l-1.41-.514M12.002 12l-3.75 6.495"}))}const P7=a.forwardRef(_7);function W7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m6.75 7.5 3 2.25-3 2.25m4.5 0h3m-9 8.25h13.5A2.25 2.25 0 0 0 21 18V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v12a2.25 2.25 0 0 0 2.25 2.25Z"}))}const z7=a.forwardRef(W7);function q7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25"}))}const U7=a.forwardRef(q7);function G7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 3v1.5M4.5 8.25H3m18 0h-1.5M4.5 12H3m18 0h-1.5m-15 3.75H3m18 0h-1.5M8.25 19.5V21M12 3v1.5m0 15V21m3.75-18v1.5m0 15V21m-9-1.5h10.5a2.25 2.25 0 0 0 2.25-2.25V6.75a2.25 2.25 0 0 0-2.25-2.25H6.75A2.25 2.25 0 0 0 4.5 6.75v10.5a2.25 2.25 0 0 0 2.25 2.25Zm.75-12h9v9h-9v-9Z"}))}const K7=a.forwardRef(G7);function Y7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 8.25h19.5M2.25 9h19.5m-16.5 5.25h6m-6 2.25h3m-3.75 3h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Z"}))}const J7=a.forwardRef(Y7);function X7({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 7.5-2.25-1.313M21 7.5v2.25m0-2.25-2.25 1.313M3 7.5l2.25-1.313M3 7.5l2.25 1.313M3 7.5v2.25m9 3 2.25-1.313M12 12.75l-2.25-1.313M12 12.75V15m0 6.75 2.25-1.313M12 21.75V19.5m0 2.25-2.25-1.313m0-16.875L12 2.25l2.25 1.313M21 14.25v2.25l-2.25 1.313m-13.5 0L3 16.5v-2.25"}))}const Q7=a.forwardRef(X7);function eu({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 7.5-9-5.25L3 7.5m18 0-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9"}))}const tu=a.forwardRef(eu);function ru({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 7.5.415-.207a.75.75 0 0 1 1.085.67V10.5m0 0h6m-6 0h-1.5m1.5 0v5.438c0 .354.161.697.473.865a3.751 3.751 0 0 0 5.452-2.553c.083-.409-.263-.75-.68-.75h-.745M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const nu=a.forwardRef(ru);function au({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v12m-3-2.818.879.659c1.171.879 3.07.879 4.242 0 1.172-.879 1.172-2.303 0-3.182C13.536 12.219 12.768 12 12 12c-.725 0-1.45-.22-2.003-.659-1.106-.879-1.106-2.303 0-3.182s2.9-.879 4.006 0l.415.33M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const ou=a.forwardRef(au);function su({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.25 7.756a4.5 4.5 0 1 0 0 8.488M7.5 10.5h5.25m-5.25 3h5.25M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const lu=a.forwardRef(su);function iu({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.121 7.629A3 3 0 0 0 9.017 9.43c-.023.212-.002.425.028.636l.506 3.541a4.5 4.5 0 0 1-.43 2.65L9 16.5l1.539-.513a2.25 2.25 0 0 1 1.422 0l.655.218a2.25 2.25 0 0 0 1.718-.122L15 15.75M8.25 12H12m9 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const cu=a.forwardRef(iu);function du({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 8.25H9m6 3H9m3 6-3-3h1.5a3 3 0 1 0 0-6M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const uu=a.forwardRef(du);function fu({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 7.5 3 4.5m0 0 3-4.5M12 12v5.25M15 12H9m6 3H9m12-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const mu=a.forwardRef(fu);function hu({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.042 21.672 13.684 16.6m0 0-2.51 2.225.569-9.47 5.227 7.917-3.286-.672ZM12 2.25V4.5m5.834.166-1.591 1.591M20.25 10.5H18M7.757 14.743l-1.59 1.59M6 10.5H3.75m4.007-4.243-1.59-1.59"}))}const Cr=a.forwardRef(hu);function pu({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.042 21.672 13.684 16.6m0 0-2.51 2.225.569-9.47 5.227 7.917-3.286-.672Zm-7.518-.267A8.25 8.25 0 1 1 20.25 10.5M8.288 14.212A5.25 5.25 0 1 1 17.25 10.5"}))}const vu=a.forwardRef(pu);function wu({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 1.5H8.25A2.25 2.25 0 0 0 6 3.75v16.5a2.25 2.25 0 0 0 2.25 2.25h7.5A2.25 2.25 0 0 0 18 20.25V3.75a2.25 2.25 0 0 0-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3"}))}const gu=a.forwardRef(wu);function bu({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 19.5h3m-6.75 2.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-15a2.25 2.25 0 0 0-2.25-2.25H6.75A2.25 2.25 0 0 0 4.5 4.5v15a2.25 2.25 0 0 0 2.25 2.25Z"}))}const xu=a.forwardRef(bu);function yu({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.499 11.998h15m-7.5-6.75h.008v.008h-.008v-.008Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0ZM12 18.751h.007v.007H12v-.007Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))}const Eu=a.forwardRef(yu);function ku({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m.75 12 3 3m0 0 3-3m-3 3v-6m-1.5-9H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const Ru=a.forwardRef(ku);function ju({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m6.75 12-3-3m0 0-3 3m3-3v6m-1.5-15H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const $0=a.forwardRef(ju);function Cu({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25M9 16.5v.75m3-3v3M15 12v5.25m-4.5-15H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const Mu=a.forwardRef(Cu);function Au({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.125 2.25h-4.5c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125v-9M10.125 2.25h.375a9 9 0 0 1 9 9v.375M10.125 2.25A3.375 3.375 0 0 1 13.5 5.625v1.5c0 .621.504 1.125 1.125 1.125h1.5a3.375 3.375 0 0 1 3.375 3.375M9 15l2.25 2.25L15 12"}))}const Su=a.forwardRef(Au);function $u({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 8.25.22-.22a.75.75 0 0 1 1.28.53v6.441c0 .472.214.934.64 1.137a3.75 3.75 0 0 0 4.994-1.77c.205-.428-.152-.868-.627-.868h-.507m-6-2.25h7.5M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const Lu=a.forwardRef($u);function Ou({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m3.75 9v7.5m2.25-6.466a9.016 9.016 0 0 0-3.461-.203c-.536.072-.974.478-1.021 1.017a4.559 4.559 0 0 0-.018.402c0 .464.336.844.775.994l2.95 1.012c.44.15.775.53.775.994 0 .136-.006.27-.018.402-.047.539-.485.945-1.021 1.017a9.077 9.077 0 0 1-3.461-.203M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const Nu=a.forwardRef(Ou);function Fu({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 11.625h4.5m-4.5 2.25h4.5m2.121 1.527c-1.171 1.464-3.07 1.464-4.242 0-1.172-1.465-1.172-3.84 0-5.304 1.171-1.464 3.07-1.464 4.242 0M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const Iu=a.forwardRef(Fu);function Zu({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m6.621 9.879a3 3 0 0 0-5.02 2.897l.164.609a4.5 4.5 0 0 1-.108 2.676l-.157.439.44-.22a2.863 2.863 0 0 1 2.185-.155c.72.24 1.507.184 2.186-.155L15 18M8.25 15.75H12m-1.5-13.5H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const Bu=a.forwardRef(Zu);function Vu({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 9h3.75m-4.5 2.625h4.5M12 18.75 9.75 16.5h.375a2.625 2.625 0 0 0 0-5.25H9.75m.75-9H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const Tu=a.forwardRef(Vu);function Du({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m1.5 9 2.25 3m0 0 2.25-3m-2.25 3v4.5M9.75 15h4.5m-4.5 2.25h4.5m-3.75-15H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const Hu=a.forwardRef(Du);function _u({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 17.25v3.375c0 .621-.504 1.125-1.125 1.125h-9.75a1.125 1.125 0 0 1-1.125-1.125V7.875c0-.621.504-1.125 1.125-1.125H6.75a9.06 9.06 0 0 1 1.5.124m7.5 10.376h3.375c.621 0 1.125-.504 1.125-1.125V11.25c0-4.46-3.243-8.161-7.5-8.876a9.06 9.06 0 0 0-1.5-.124H9.375c-.621 0-1.125.504-1.125 1.125v3.5m7.5 10.375H9.375a1.125 1.125 0 0 1-1.125-1.125v-9.25m12 6.625v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H9.75"}))}const Pu=a.forwardRef(_u);function Wu({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m5.231 13.481L15 17.25m-4.5-15H5.625c-.621 0-1.125.504-1.125 1.125v16.5c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Zm3.75 11.625a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z"}))}const zu=a.forwardRef(Wu);function qu({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m6.75 12H9m1.5-12H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const Uu=a.forwardRef(qu);function Gu({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m3.75 9v6m3-3H9m1.5-12H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const Ku=a.forwardRef(Gu);function Yu({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const L0=a.forwardRef(Yu);function Ju({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const ho=a.forwardRef(Ju);function Xu({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.625 12a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const Qu=a.forwardRef(Xu);function e3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))}const t3=a.forwardRef(e3);function r3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 12.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 18.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5Z"}))}const O0=a.forwardRef(r3);function n3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 9v.906a2.25 2.25 0 0 1-1.183 1.981l-6.478 3.488M2.25 9v.906a2.25 2.25 0 0 0 1.183 1.981l6.478 3.488m8.839 2.51-4.66-2.51m0 0-1.023-.55a2.25 2.25 0 0 0-2.134 0l-1.022.55m0 0-4.661 2.51m16.5 1.615a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V8.844a2.25 2.25 0 0 1 1.183-1.981l7.5-4.039a2.25 2.25 0 0 1 2.134 0l7.5 4.039a2.25 2.25 0 0 1 1.183 1.98V19.5Z"}))}const a3=a.forwardRef(n3);function o3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"}))}const _o=a.forwardRef(o3);function s3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.499 8.248h15m-15 7.501h15"}))}const l3=a.forwardRef(s3);function i3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z"}))}const c3=a.forwardRef(i3);function d3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"}))}const Po=a.forwardRef(d3);function u3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15 11.25 1.5 1.5.75-.75V8.758l2.276-.61a3 3 0 1 0-3.675-3.675l-.61 2.277H12l-.75.75 1.5 1.5M15 11.25l-8.47 8.47c-.34.34-.8.53-1.28.53s-.94.19-1.28.53l-.97.97-.75-.75.97-.97c.34-.34.53-.8.53-1.28s.19-.94.53-1.28L12.75 9M15 11.25 12.75 9"}))}const f3=a.forwardRef(u3);function m3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"}))}const Wo=a.forwardRef(m3);function h3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}const tn=a.forwardRef(h3);function p3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.182 16.318A4.486 4.486 0 0 0 12.016 15a4.486 4.486 0 0 0-3.198 1.318M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0ZM9.75 9.75c0 .414-.168.75-.375.75S9 10.164 9 9.75 9.168 9 9.375 9s.375.336.375.75Zm-.375 0h.008v.015h-.008V9.75Zm5.625 0c0 .414-.168.75-.375.75s-.375-.336-.375-.75.168-.75.375-.75.375.336.375.75Zm-.375 0h.008v.015h-.008V9.75Z"}))}const v3=a.forwardRef(p3);function w3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.182 15.182a4.5 4.5 0 0 1-6.364 0M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0ZM9.75 9.75c0 .414-.168.75-.375.75S9 10.164 9 9.75 9.168 9 9.375 9s.375.336.375.75Zm-.375 0h.008v.015h-.008V9.75Zm5.625 0c0 .414-.168.75-.375.75s-.375-.336-.375-.75.168-.75.375-.75.375.336.375.75Zm-.375 0h.008v.015h-.008V9.75Z"}))}const g3=a.forwardRef(w3);function b3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.375 19.5h17.25m-17.25 0a1.125 1.125 0 0 1-1.125-1.125M3.375 19.5h1.5C5.496 19.5 6 18.996 6 18.375m-3.75 0V5.625m0 12.75v-1.5c0-.621.504-1.125 1.125-1.125m18.375 2.625V5.625m0 12.75c0 .621-.504 1.125-1.125 1.125m1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125m0 3.75h-1.5A1.125 1.125 0 0 1 18 18.375M20.625 4.5H3.375m17.25 0c.621 0 1.125.504 1.125 1.125M20.625 4.5h-1.5C18.504 4.5 18 5.004 18 5.625m3.75 0v1.5c0 .621-.504 1.125-1.125 1.125M3.375 4.5c-.621 0-1.125.504-1.125 1.125M3.375 4.5h1.5C5.496 4.5 6 5.004 6 5.625m-3.75 0v1.5c0 .621.504 1.125 1.125 1.125m0 0h1.5m-1.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125m1.5-3.75C5.496 8.25 6 7.746 6 7.125v-1.5M4.875 8.25C5.496 8.25 6 8.754 6 9.375v1.5m0-5.25v5.25m0-5.25C6 5.004 6.504 4.5 7.125 4.5h9.75c.621 0 1.125.504 1.125 1.125m1.125 2.625h1.5m-1.5 0A1.125 1.125 0 0 1 18 7.125v-1.5m1.125 2.625c-.621 0-1.125.504-1.125 1.125v1.5m2.625-2.625c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125M18 5.625v5.25M7.125 12h9.75m-9.75 0A1.125 1.125 0 0 1 6 10.875M7.125 12C6.504 12 6 12.504 6 13.125m0-2.25C6 11.496 5.496 12 4.875 12M18 10.875c0 .621-.504 1.125-1.125 1.125M18 10.875c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125m-12 5.25v-5.25m0 5.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125m-12 0v-1.5c0-.621-.504-1.125-1.125-1.125M18 18.375v-5.25m0 5.25v-1.5c0-.621.504-1.125 1.125-1.125M18 13.125v1.5c0 .621.504 1.125 1.125 1.125M18 13.125c0-.621.504-1.125 1.125-1.125M6 13.125v1.5c0 .621-.504 1.125-1.125 1.125M6 13.125C6 12.504 5.496 12 4.875 12m-1.5 0h1.5m-1.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125M19.125 12h1.5m0 0c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h1.5m14.25 0h1.5"}))}const x3=a.forwardRef(b3);function y3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.864 4.243A7.5 7.5 0 0 1 19.5 10.5c0 2.92-.556 5.709-1.568 8.268M5.742 6.364A7.465 7.465 0 0 0 4.5 10.5a7.464 7.464 0 0 1-1.15 3.993m1.989 3.559A11.209 11.209 0 0 0 8.25 10.5a3.75 3.75 0 1 1 7.5 0c0 .527-.021 1.049-.064 1.565M12 10.5a14.94 14.94 0 0 1-3.6 9.75m6.633-4.596a18.666 18.666 0 0 1-2.485 5.33"}))}const E3=a.forwardRef(y3);function k3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.362 5.214A8.252 8.252 0 0 1 12 21 8.25 8.25 0 0 1 6.038 7.047 8.287 8.287 0 0 0 9 9.601a8.983 8.983 0 0 1 3.361-6.867 8.21 8.21 0 0 0 3 2.48Z"}),a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 18a3.75 3.75 0 0 0 .495-7.468 5.99 5.99 0 0 0-1.925 3.547 5.975 5.975 0 0 1-2.133-1.001A3.75 3.75 0 0 0 12 18Z"}))}const R3=a.forwardRef(k3);function j3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 3v1.5M3 21v-6m0 0 2.77-.693a9 9 0 0 1 6.208.682l.108.054a9 9 0 0 0 6.086.71l3.114-.732a48.524 48.524 0 0 1-.005-10.499l-3.11.732a9 9 0 0 1-6.085-.711l-.108-.054a9 9 0 0 0-6.208-.682L3 4.5M3 15V4.5"}))}const C3=a.forwardRef(j3);function M3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 13.5 3 3m0 0 3-3m-3 3v-6m1.06-4.19-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z"}))}const A3=a.forwardRef(M3);function S3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 13.5H9m4.06-7.19-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z"}))}const $3=a.forwardRef(S3);function L3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 9.776c.112-.017.227-.026.344-.026h15.812c.117 0 .232.009.344.026m-16.5 0a2.25 2.25 0 0 0-1.883 2.542l.857 6a2.25 2.25 0 0 0 2.227 1.932H19.05a2.25 2.25 0 0 0 2.227-1.932l.857-6a2.25 2.25 0 0 0-1.883-2.542m-16.5 0V6A2.25 2.25 0 0 1 6 3.75h3.879a1.5 1.5 0 0 1 1.06.44l2.122 2.12a1.5 1.5 0 0 0 1.06.44H18A2.25 2.25 0 0 1 20.25 9v.776"}))}const O3=a.forwardRef(L3);function N3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 10.5v6m3-3H9m4.06-7.19-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z"}))}const F3=a.forwardRef(N3);function I3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12.75V12A2.25 2.25 0 0 1 4.5 9.75h15A2.25 2.25 0 0 1 21.75 12v.75m-8.69-6.44-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z"}))}const Z3=a.forwardRef(I3);function B3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 8.689c0-.864.933-1.406 1.683-.977l7.108 4.061a1.125 1.125 0 0 1 0 1.954l-7.108 4.061A1.125 1.125 0 0 1 3 16.811V8.69ZM12.75 8.689c0-.864.933-1.406 1.683-.977l7.108 4.061a1.125 1.125 0 0 1 0 1.954l-7.108 4.061a1.125 1.125 0 0 1-1.683-.977V8.69Z"}))}const V3=a.forwardRef(B3);function T3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z"}))}const D3=a.forwardRef(T3);function H3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12.75 8.25v7.5m6-7.5h-3V12m0 0v3.75m0-3.75H18M9.75 9.348c-1.03-1.464-2.698-1.464-3.728 0-1.03 1.465-1.03 3.84 0 5.304 1.03 1.464 2.699 1.464 3.728 0V12h-1.5M4.5 19.5h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Z"}))}const _3=a.forwardRef(H3);function P3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3.75v16.5M2.25 12h19.5M6.375 17.25a4.875 4.875 0 0 0 4.875-4.875V12m6.375 5.25a4.875 4.875 0 0 1-4.875-4.875V12m-9 8.25h16.5a1.5 1.5 0 0 0 1.5-1.5V5.25a1.5 1.5 0 0 0-1.5-1.5H3.75a1.5 1.5 0 0 0-1.5 1.5v13.5a1.5 1.5 0 0 0 1.5 1.5Zm12.621-9.44c-1.409 1.41-4.242 1.061-4.242 1.061s-.349-2.833 1.06-4.242a2.25 2.25 0 0 1 3.182 3.182ZM10.773 7.63c1.409 1.409 1.06 4.242 1.06 4.242S9 12.22 7.592 10.811a2.25 2.25 0 1 1 3.182-3.182Z"}))}const W3=a.forwardRef(P3);function z3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 11.25v8.25a1.5 1.5 0 0 1-1.5 1.5H5.25a1.5 1.5 0 0 1-1.5-1.5v-8.25M12 4.875A2.625 2.625 0 1 0 9.375 7.5H12m0-2.625V7.5m0-2.625A2.625 2.625 0 1 1 14.625 7.5H12m0 0V21m-8.625-9.75h18c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125h-18c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"}))}const q3=a.forwardRef(z3);function U3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0 1 12 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 0 1 3 12c0-1.605.42-3.113 1.157-4.418"}))}const G3=a.forwardRef(U3);function K3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m6.115 5.19.319 1.913A6 6 0 0 0 8.11 10.36L9.75 12l-.387.775c-.217.433-.132.956.21 1.298l1.348 1.348c.21.21.329.497.329.795v1.089c0 .426.24.815.622 1.006l.153.076c.433.217.956.132 1.298-.21l.723-.723a8.7 8.7 0 0 0 2.288-4.042 1.087 1.087 0 0 0-.358-1.099l-1.33-1.108c-.251-.21-.582-.299-.905-.245l-1.17.195a1.125 1.125 0 0 1-.98-.314l-.295-.295a1.125 1.125 0 0 1 0-1.591l.13-.132a1.125 1.125 0 0 1 1.3-.21l.603.302a.809.809 0 0 0 1.086-1.086L14.25 7.5l1.256-.837a4.5 4.5 0 0 0 1.528-1.732l.146-.292M6.115 5.19A9 9 0 1 0 17.18 4.64M6.115 5.19A8.965 8.965 0 0 1 12 3c1.929 0 3.716.607 5.18 1.64"}))}const Y3=a.forwardRef(K3);function J3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12.75 3.03v.568c0 .334.148.65.405.864l1.068.89c.442.369.535 1.01.216 1.49l-.51.766a2.25 2.25 0 0 1-1.161.886l-.143.048a1.107 1.107 0 0 0-.57 1.664c.369.555.169 1.307-.427 1.605L9 13.125l.423 1.059a.956.956 0 0 1-1.652.928l-.679-.906a1.125 1.125 0 0 0-1.906.172L4.5 15.75l-.612.153M12.75 3.031a9 9 0 0 0-8.862 12.872M12.75 3.031a9 9 0 0 1 6.69 14.036m0 0-.177-.529A2.25 2.25 0 0 0 17.128 15H16.5l-.324-.324a1.453 1.453 0 0 0-2.328.377l-.036.073a1.586 1.586 0 0 1-.982.816l-.99.282c-.55.157-.894.702-.8 1.267l.073.438c.08.474.49.821.97.821.846 0 1.598.542 1.865 1.345l.215.643m5.276-3.67a9.012 9.012 0 0 1-5.276 3.67m0 0a9 9 0 0 1-10.275-4.835M15.75 9c0 .896-.393 1.7-1.016 2.25"}))}const X3=a.forwardRef(J3);function Q3({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m20.893 13.393-1.135-1.135a2.252 2.252 0 0 1-.421-.585l-1.08-2.16a.414.414 0 0 0-.663-.107.827.827 0 0 1-.812.21l-1.273-.363a.89.89 0 0 0-.738 1.595l.587.39c.59.395.674 1.23.172 1.732l-.2.2c-.212.212-.33.498-.33.796v.41c0 .409-.11.809-.32 1.158l-1.315 2.191a2.11 2.11 0 0 1-1.81 1.025 1.055 1.055 0 0 1-1.055-1.055v-1.172c0-.92-.56-1.747-1.414-2.089l-.655-.261a2.25 2.25 0 0 1-1.383-2.46l.007-.042a2.25 2.25 0 0 1 .29-.787l.09-.15a2.25 2.25 0 0 1 2.37-1.048l1.178.236a1.125 1.125 0 0 0 1.302-.795l.208-.73a1.125 1.125 0 0 0-.578-1.315l-.665-.332-.091.091a2.25 2.25 0 0 1-1.591.659h-.18c-.249 0-.487.1-.662.274a.931.931 0 0 1-1.458-1.137l1.411-2.353a2.25 2.25 0 0 0 .286-.76m11.928 9.869A9 9 0 0 0 8.965 3.525m11.928 9.868A9 9 0 1 1 8.965 3.525"}))}const ef=a.forwardRef(Q3);function tf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.243 4.493v7.5m0 0v7.502m0-7.501h10.5m0-7.5v7.5m0 0v7.501m4.501-8.627 2.25-1.5v10.126m0 0h-2.25m2.25 0h2.25"}))}const rf=a.forwardRef(tf);function nf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 19.5H16.5v-1.609a2.25 2.25 0 0 1 1.244-2.012l2.89-1.445c.651-.326 1.116-.955 1.116-1.683 0-.498-.04-.987-.118-1.463-.135-.825-.835-1.422-1.668-1.489a15.202 15.202 0 0 0-3.464.12M2.243 4.492v7.5m0 0v7.502m0-7.501h10.5m0-7.5v7.5m0 0v7.501"}))}const af=a.forwardRef(nf);function of({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.905 14.626a4.52 4.52 0 0 1 .738 3.603c-.154.695-.794 1.143-1.504 1.208a15.194 15.194 0 0 1-3.639-.104m4.405-4.707a4.52 4.52 0 0 0 .738-3.603c-.154-.696-.794-1.144-1.504-1.209a15.19 15.19 0 0 0-3.639.104m4.405 4.708H18M2.243 4.493v7.5m0 0v7.502m0-7.501h10.5m0-7.5v7.5m0 0v7.501"}))}const sf=a.forwardRef(of);function lf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.05 4.575a1.575 1.575 0 1 0-3.15 0v3m3.15-3v-1.5a1.575 1.575 0 0 1 3.15 0v1.5m-3.15 0 .075 5.925m3.075.75V4.575m0 0a1.575 1.575 0 0 1 3.15 0V15M6.9 7.575a1.575 1.575 0 1 0-3.15 0v8.175a6.75 6.75 0 0 0 6.75 6.75h2.018a5.25 5.25 0 0 0 3.712-1.538l1.732-1.732a5.25 5.25 0 0 0 1.538-3.712l.003-2.024a.668.668 0 0 1 .198-.471 1.575 1.575 0 1 0-2.228-2.228 3.818 3.818 0 0 0-1.12 2.687M6.9 7.575V12m6.27 4.318A4.49 4.49 0 0 1 16.35 15m.002 0h-.002"}))}const cf=a.forwardRef(lf);function df({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.498 15.25H4.372c-1.026 0-1.945-.694-2.054-1.715a12.137 12.137 0 0 1-.068-1.285c0-2.848.992-5.464 2.649-7.521C5.287 4.247 5.886 4 6.504 4h4.016a4.5 4.5 0 0 1 1.423.23l3.114 1.04a4.5 4.5 0 0 0 1.423.23h1.294M7.498 15.25c.618 0 .991.724.725 1.282A7.471 7.471 0 0 0 7.5 19.75 2.25 2.25 0 0 0 9.75 22a.75.75 0 0 0 .75-.75v-.633c0-.573.11-1.14.322-1.672.304-.76.93-1.33 1.653-1.715a9.04 9.04 0 0 0 2.86-2.4c.498-.634 1.226-1.08 2.032-1.08h.384m-10.253 1.5H9.7m8.075-9.75c.01.05.027.1.05.148.593 1.2.925 2.55.925 3.977 0 1.487-.36 2.89-.999 4.125m.023-8.25c-.076-.365.183-.75.575-.75h.908c.889 0 1.713.518 1.972 1.368.339 1.11.521 2.287.521 3.507 0 1.553-.295 3.036-.831 4.398-.306.774-1.086 1.227-1.918 1.227h-1.053c-.472 0-.745-.556-.5-.96a8.95 8.95 0 0 0 .303-.54"}))}const uf=a.forwardRef(df);function ff({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.633 10.25c.806 0 1.533-.446 2.031-1.08a9.041 9.041 0 0 1 2.861-2.4c.723-.384 1.35-.956 1.653-1.715a4.498 4.498 0 0 0 .322-1.672V2.75a.75.75 0 0 1 .75-.75 2.25 2.25 0 0 1 2.25 2.25c0 1.152-.26 2.243-.723 3.218-.266.558.107 1.282.725 1.282m0 0h3.126c1.026 0 1.945.694 2.054 1.715.045.422.068.85.068 1.285a11.95 11.95 0 0 1-2.649 7.521c-.388.482-.987.729-1.605.729H13.48c-.483 0-.964-.078-1.423-.23l-3.114-1.04a4.501 4.501 0 0 0-1.423-.23H5.904m10.598-9.75H14.25M5.904 18.5c.083.205.173.405.27.602.197.4-.078.898-.523.898h-.908c-.889 0-1.713-.518-1.972-1.368a12 12 0 0 1-.521-3.507c0-1.553.295-3.036.831-4.398C3.387 9.953 4.167 9.5 5 9.5h1.053c.472 0 .745.556.5.96a8.958 8.958 0 0 0-1.302 4.665c0 1.194.232 2.333.654 3.375Z"}))}const mf=a.forwardRef(ff);function hf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 8.25h15m-16.5 7.5h15m-1.8-13.5-3.9 19.5m-2.1-19.5-3.9 19.5"}))}const zo=a.forwardRef(hf);function pf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12Z"}))}const vf=a.forwardRef(pf);function wf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 21v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21m0 0h4.5V3.545M12.75 21h7.5V10.75M2.25 21h1.5m18 0h-18M2.25 9l4.5-1.636M18.75 3l-1.5.545m0 6.205 3 1m1.5.5-1.5-.5M6.75 7.364V3h-3v18m3-13.636 10.5-3.819"}))}const gf=a.forwardRef(wf);function bf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"}))}const xf=a.forwardRef(bf);function yf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 9h3.75M15 12h3.75M15 15h3.75M4.5 19.5h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Zm6-10.125a1.875 1.875 0 1 1-3.75 0 1.875 1.875 0 0 1 3.75 0Zm1.294 6.336a6.721 6.721 0 0 1-3.17.789 6.721 6.721 0 0 1-3.168-.789 3.376 3.376 0 0 1 6.338 0Z"}))}const Ef=a.forwardRef(yf);function kf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 3.75H6.912a2.25 2.25 0 0 0-2.15 1.588L2.35 13.177a2.25 2.25 0 0 0-.1.661V18a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18v-4.162c0-.224-.034-.447-.1-.661L19.24 5.338a2.25 2.25 0 0 0-2.15-1.588H15M2.25 13.5h3.86a2.25 2.25 0 0 1 2.012 1.244l.256.512a2.25 2.25 0 0 0 2.013 1.244h3.218a2.25 2.25 0 0 0 2.013-1.244l.256-.512a2.25 2.25 0 0 1 2.013-1.244h3.859M12 3v8.25m0 0-3-3m3 3 3-3"}))}const Rf=a.forwardRef(kf);function jf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m7.875 14.25 1.214 1.942a2.25 2.25 0 0 0 1.908 1.058h2.006c.776 0 1.497-.4 1.908-1.058l1.214-1.942M2.41 9h4.636a2.25 2.25 0 0 1 1.872 1.002l.164.246a2.25 2.25 0 0 0 1.872 1.002h2.092a2.25 2.25 0 0 0 1.872-1.002l.164-.246A2.25 2.25 0 0 1 16.954 9h4.636M2.41 9a2.25 2.25 0 0 0-.16.832V12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 12V9.832c0-.287-.055-.57-.16-.832M2.41 9a2.25 2.25 0 0 1 .382-.632l3.285-3.832a2.25 2.25 0 0 1 1.708-.786h8.43c.657 0 1.281.287 1.709.786l3.284 3.832c.163.19.291.404.382.632M4.5 20.25h15A2.25 2.25 0 0 0 21.75 18v-2.625c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125V18a2.25 2.25 0 0 0 2.25 2.25Z"}))}const Cf=a.forwardRef(jf);function Mf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 13.5h3.86a2.25 2.25 0 0 1 2.012 1.244l.256.512a2.25 2.25 0 0 0 2.013 1.244h3.218a2.25 2.25 0 0 0 2.013-1.244l.256-.512a2.25 2.25 0 0 1 2.013-1.244h3.859m-19.5.338V18a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18v-4.162c0-.224-.034-.447-.1-.661L19.24 5.338a2.25 2.25 0 0 0-2.15-1.588H6.911a2.25 2.25 0 0 0-2.15 1.588L2.35 13.177a2.25 2.25 0 0 0-.1.661Z"}))}const Af=a.forwardRef(Mf);function Sf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"}))}const hn=a.forwardRef(Sf);function $f({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.248 20.246H9.05m0 0h3.696m-3.696 0 5.893-16.502m0 0h-3.697m3.697 0h3.803"}))}const Lf=a.forwardRef($f);function Of({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"}))}const Nf=a.forwardRef(Of);function Ff({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m10.5 21 5.25-11.25L21 21m-9-3h7.5M3 5.621a48.474 48.474 0 0 1 6-.371m0 0c1.12 0 2.233.038 3.334.114M9 5.25V3m3.334 2.364C11.176 10.658 7.69 15.08 3 17.502m9.334-12.138c.896.061 1.785.147 2.666.257m-4.589 8.495a18.023 18.023 0 0 1-3.827-5.802"}))}const If=a.forwardRef(Ff);function Zf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.712 4.33a9.027 9.027 0 0 1 1.652 1.306c.51.51.944 1.064 1.306 1.652M16.712 4.33l-3.448 4.138m3.448-4.138a9.014 9.014 0 0 0-9.424 0M19.67 7.288l-4.138 3.448m4.138-3.448a9.014 9.014 0 0 1 0 9.424m-4.138-5.976a3.736 3.736 0 0 0-.88-1.388 3.737 3.737 0 0 0-1.388-.88m2.268 2.268a3.765 3.765 0 0 1 0 2.528m-2.268-4.796a3.765 3.765 0 0 0-2.528 0m4.796 4.796c-.181.506-.475.982-.88 1.388a3.736 3.736 0 0 1-1.388.88m2.268-2.268 4.138 3.448m0 0a9.027 9.027 0 0 1-1.306 1.652c-.51.51-1.064.944-1.652 1.306m0 0-3.448-4.138m3.448 4.138a9.014 9.014 0 0 1-9.424 0m5.976-4.138a3.765 3.765 0 0 1-2.528 0m0 0a3.736 3.736 0 0 1-1.388-.88 3.737 3.737 0 0 1-.88-1.388m2.268 2.268L7.288 19.67m0 0a9.024 9.024 0 0 1-1.652-1.306 9.027 9.027 0 0 1-1.306-1.652m0 0 4.138-3.448M4.33 16.712a9.014 9.014 0 0 1 0-9.424m4.138 5.976a3.765 3.765 0 0 1 0-2.528m0 0c.181-.506.475-.982.88-1.388a3.736 3.736 0 0 1 1.388-.88m-2.268 2.268L4.33 7.288m6.406 1.18L7.288 4.33m0 0a9.024 9.024 0 0 0-1.652 1.306A9.025 9.025 0 0 0 4.33 7.288"}))}const Bf=a.forwardRef(Zf);function Vf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 18v-5.25m0 0a6.01 6.01 0 0 0 1.5-.189m-1.5.189a6.01 6.01 0 0 1-1.5-.189m3.75 7.478a12.06 12.06 0 0 1-4.5 0m3.75 2.383a14.406 14.406 0 0 1-3 0M14.25 18v-.192c0-.983.658-1.823 1.508-2.316a7.5 7.5 0 1 0-7.517 0c.85.493 1.509 1.333 1.509 2.316V18"}))}const N0=a.forwardRef(Vf);function Tf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.181 8.68a4.503 4.503 0 0 1 1.903 6.405m-9.768-2.782L3.56 14.06a4.5 4.5 0 0 0 6.364 6.365l3.129-3.129m5.614-5.615 1.757-1.757a4.5 4.5 0 0 0-6.364-6.365l-4.5 4.5c-.258.26-.479.541-.661.84m1.903 6.405a4.495 4.495 0 0 1-1.242-.88 4.483 4.483 0 0 1-1.062-1.683m6.587 2.345 5.907 5.907m-5.907-5.907L8.898 8.898M2.991 2.99 8.898 8.9"}))}const Df=a.forwardRef(Tf);function Hf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"}))}const qo=a.forwardRef(Hf);function _f({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 6.75h12M8.25 12h12m-12 5.25h12M3.75 6.75h.007v.008H3.75V6.75Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0ZM3.75 12h.007v.008H3.75V12Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm-.375 5.25h.007v.008H3.75v-.008Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))}const F0=a.forwardRef(_f);function Pf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"}))}const I0=a.forwardRef(Pf);function Wf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 10.5V6.75a4.5 4.5 0 1 1 9 0v3.75M3.75 21.75h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H3.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"}))}const zf=a.forwardRef(Wf);function qf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15.75 15.75-2.489-2.489m0 0a3.375 3.375 0 1 0-4.773-4.773 3.375 3.375 0 0 0 4.774 4.774ZM21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const Uf=a.forwardRef(qf);function Gf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607ZM13.5 10.5h-6"}))}const Kf=a.forwardRef(Gf);function Yf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607ZM10.5 7.5v6m3-3h-6"}))}const Jf=a.forwardRef(Yf);function Xf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))}const Z0=a.forwardRef(Xf);function Qf({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}),a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z"}))}const em=a.forwardRef(Qf);function tm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 6.75V15m6-6v8.25m.503 3.498 4.875-2.437c.381-.19.622-.58.622-1.006V4.82c0-.836-.88-1.38-1.628-1.006l-3.869 1.934c-.317.159-.69.159-1.006 0L9.503 3.252a1.125 1.125 0 0 0-1.006 0L3.622 5.689C3.24 5.88 3 6.27 3 6.695V19.18c0 .836.88 1.38 1.628 1.006l3.869-1.934c.317-.159.69-.159 1.006 0l4.994 2.497c.317.158.69.158 1.006 0Z"}))}const rm=a.forwardRef(tm);function nm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.34 15.84c-.688-.06-1.386-.09-2.09-.09H7.5a4.5 4.5 0 1 1 0-9h.75c.704 0 1.402-.03 2.09-.09m0 9.18c.253.962.584 1.892.985 2.783.247.55.06 1.21-.463 1.511l-.657.38c-.551.318-1.26.117-1.527-.461a20.845 20.845 0 0 1-1.44-4.282m3.102.069a18.03 18.03 0 0 1-.59-4.59c0-1.586.205-3.124.59-4.59m0 9.18a23.848 23.848 0 0 1 8.835 2.535M10.34 6.66a23.847 23.847 0 0 0 8.835-2.535m0 0A23.74 23.74 0 0 0 18.795 3m.38 1.125a23.91 23.91 0 0 1 1.014 5.395m-1.014 8.855c-.118.38-.245.754-.38 1.125m.38-1.125a23.91 23.91 0 0 0 1.014-5.395m0-3.46c.495.413.811 1.035.811 1.73 0 .695-.316 1.317-.811 1.73m0-3.46a24.347 24.347 0 0 1 0 3.46"}))}const am=a.forwardRef(nm);function om({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 18.75a6 6 0 0 0 6-6v-1.5m-6 7.5a6 6 0 0 1-6-6v-1.5m6 7.5v3.75m-3.75 0h7.5M12 15.75a3 3 0 0 1-3-3V4.5a3 3 0 1 1 6 0v8.25a3 3 0 0 1-3 3Z"}))}const sm=a.forwardRef(om);function lm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12H9m12 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const im=a.forwardRef(lm);function cm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18 12H6"}))}const dm=a.forwardRef(cm);function um({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 12h14"}))}const fm=a.forwardRef(um);function mm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"}))}const B0=a.forwardRef(mm);function hm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 9 10.5-3m0 6.553v3.75a2.25 2.25 0 0 1-1.632 2.163l-1.32.377a1.803 1.803 0 1 1-.99-3.467l2.31-.66a2.25 2.25 0 0 0 1.632-2.163Zm0 0V2.25L9 5.25v10.303m0 0v3.75a2.25 2.25 0 0 1-1.632 2.163l-1.32.377a1.803 1.803 0 0 1-.99-3.467l2.31-.66A2.25 2.25 0 0 0 9 15.553Z"}))}const pm=a.forwardRef(hm);function vm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 7.5h1.5m-1.5 3h1.5m-7.5 3h7.5m-7.5 3h7.5m3-9h3.375c.621 0 1.125.504 1.125 1.125V18a2.25 2.25 0 0 1-2.25 2.25M16.5 7.5V18a2.25 2.25 0 0 0 2.25 2.25M16.5 7.5V4.875c0-.621-.504-1.125-1.125-1.125H4.125C3.504 3.75 3 4.254 3 4.875V18a2.25 2.25 0 0 0 2.25 2.25h13.5M6 7.5h3v3H6v-3Z"}))}const wm=a.forwardRef(vm);function gm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 0 0 5.636 5.636m12.728 12.728A9 9 0 0 1 5.636 5.636m12.728 12.728L5.636 5.636"}))}const bm=a.forwardRef(gm);function xm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.242 5.992h12m-12 6.003H20.24m-12 5.999h12M4.117 7.495v-3.75H2.99m1.125 3.75H2.99m1.125 0H5.24m-1.92 2.577a1.125 1.125 0 1 1 1.591 1.59l-1.83 1.83h2.16M2.99 15.745h1.125a1.125 1.125 0 0 1 0 2.25H3.74m0-.002h.375a1.125 1.125 0 0 1 0 2.25H2.99"}))}const ym=a.forwardRef(xm);function Em({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.53 16.122a3 3 0 0 0-5.78 1.128 2.25 2.25 0 0 1-2.4 2.245 4.5 4.5 0 0 0 8.4-2.245c0-.399-.078-.78-.22-1.128Zm0 0a15.998 15.998 0 0 0 3.388-1.62m-5.043-.025a15.994 15.994 0 0 1 1.622-3.395m3.42 3.42a15.995 15.995 0 0 0 4.764-4.648l3.876-5.814a1.151 1.151 0 0 0-1.597-1.597L14.146 6.32a15.996 15.996 0 0 0-4.649 4.763m3.42 3.42a6.776 6.776 0 0 0-3.42-3.42"}))}const km=a.forwardRef(Em);function Rm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 12 3.269 3.125A59.769 59.769 0 0 1 21.485 12 59.768 59.768 0 0 1 3.27 20.875L5.999 12Zm0 0h7.5"}))}const jm=a.forwardRef(Rm);function Cm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m18.375 12.739-7.693 7.693a4.5 4.5 0 0 1-6.364-6.364l10.94-10.94A3 3 0 1 1 19.5 7.372L8.552 18.32m.009-.01-.01.01m5.699-9.941-7.81 7.81a1.5 1.5 0 0 0 2.112 2.13"}))}const Mm=a.forwardRef(Cm);function Am({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.25 9v6m-4.5 0V9M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const Sm=a.forwardRef(Am);function $m({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 5.25v13.5m-7.5-13.5v13.5"}))}const Lm=a.forwardRef($m);function Om({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"}))}const Uo=a.forwardRef(Om);function Nm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"}))}const Fm=a.forwardRef(Nm);function Im({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.99 14.993 6-6m6 3.001c0 1.268-.63 2.39-1.593 3.069a3.746 3.746 0 0 1-1.043 3.296 3.745 3.745 0 0 1-3.296 1.043 3.745 3.745 0 0 1-3.068 1.593c-1.268 0-2.39-.63-3.068-1.593a3.745 3.745 0 0 1-3.296-1.043 3.746 3.746 0 0 1-1.043-3.297 3.746 3.746 0 0 1-1.593-3.068c0-1.268.63-2.39 1.593-3.068a3.746 3.746 0 0 1 1.043-3.297 3.745 3.745 0 0 1 3.296-1.042 3.745 3.745 0 0 1 3.068-1.594c1.268 0 2.39.63 3.068 1.593a3.745 3.745 0 0 1 3.296 1.043 3.746 3.746 0 0 1 1.043 3.297 3.746 3.746 0 0 1 1.593 3.068ZM9.74 9.743h.008v.007H9.74v-.007Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm4.125 4.5h.008v.008h-.008v-.008Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))}const Zm=a.forwardRef(Im);function Bm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.25 9.75v-4.5m0 4.5h4.5m-4.5 0 6-6m-3 18c-8.284 0-15-6.716-15-15V4.5A2.25 2.25 0 0 1 4.5 2.25h1.372c.516 0 .966.351 1.091.852l1.106 4.423c.11.44-.054.902-.417 1.173l-1.293.97a1.062 1.062 0 0 0-.38 1.21 12.035 12.035 0 0 0 7.143 7.143c.441.162.928-.004 1.21-.38l.97-1.293a1.125 1.125 0 0 1 1.173-.417l4.423 1.106c.5.125.852.575.852 1.091V19.5a2.25 2.25 0 0 1-2.25 2.25h-2.25Z"}))}const Vm=a.forwardRef(Bm);function Tm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 3.75v4.5m0-4.5h-4.5m4.5 0-6 6m3 12c-8.284 0-15-6.716-15-15V4.5A2.25 2.25 0 0 1 4.5 2.25h1.372c.516 0 .966.351 1.091.852l1.106 4.423c.11.44-.054.902-.417 1.173l-1.293.97a1.062 1.062 0 0 0-.38 1.21 12.035 12.035 0 0 0 7.143 7.143c.441.162.928-.004 1.21-.38l.97-1.293a1.125 1.125 0 0 1 1.173-.417l4.423 1.106c.5.125.852.575.852 1.091V19.5a2.25 2.25 0 0 1-2.25 2.25h-2.25Z"}))}const Dm=a.forwardRef(Tm);function Hm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 3.75 18 6m0 0 2.25 2.25M18 6l2.25-2.25M18 6l-2.25 2.25m1.5 13.5c-8.284 0-15-6.716-15-15V4.5A2.25 2.25 0 0 1 4.5 2.25h1.372c.516 0 .966.351 1.091.852l1.106 4.423c.11.44-.054.902-.417 1.173l-1.293.97a1.062 1.062 0 0 0-.38 1.21 12.035 12.035 0 0 0 7.143 7.143c.441.162.928-.004 1.21-.38l.97-1.293a1.125 1.125 0 0 1 1.173-.417l4.423 1.106c.5.125.852.575.852 1.091V19.5a2.25 2.25 0 0 1-2.25 2.25h-2.25Z"}))}const _m=a.forwardRef(Hm);function Pm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z"}))}const Go=a.forwardRef(Pm);function Wm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))}const zm=a.forwardRef(Wm);function qm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}),a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.91 11.672a.375.375 0 0 1 0 .656l-5.603 3.113a.375.375 0 0 1-.557-.328V8.887c0-.286.307-.466.557-.327l5.603 3.112Z"}))}const Um=a.forwardRef(qm);function Gm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 7.5V18M15 7.5V18M3 16.811V8.69c0-.864.933-1.406 1.683-.977l7.108 4.061a1.125 1.125 0 0 1 0 1.954l-7.108 4.061A1.125 1.125 0 0 1 3 16.811Z"}))}const Km=a.forwardRef(Gm);function Ym({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.347a1.125 1.125 0 0 1 0 1.972l-11.54 6.347a1.125 1.125 0 0 1-1.667-.986V5.653Z"}))}const Jm=a.forwardRef(Ym);function Xm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v6m3-3H9m12 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const rn=a.forwardRef(Xm);function Qm({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v12m6-6H6"}))}const e4=a.forwardRef(Qm);function t4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))}const r4=a.forwardRef(t4);function n4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.636 5.636a9 9 0 1 0 12.728 0M12 3v9"}))}const a4=a.forwardRef(n4);function o4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3v11.25A2.25 2.25 0 0 0 6 16.5h2.25M3.75 3h-1.5m1.5 0h16.5m0 0h1.5m-1.5 0v11.25A2.25 2.25 0 0 1 18 16.5h-2.25m-7.5 0h7.5m-7.5 0-1 3m8.5-3 1 3m0 0 .5 1.5m-.5-1.5h-9.5m0 0-.5 1.5M9 11.25v1.5M12 9v3.75m3-6v6"}))}const s4=a.forwardRef(o4);function l4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3v11.25A2.25 2.25 0 0 0 6 16.5h2.25M3.75 3h-1.5m1.5 0h16.5m0 0h1.5m-1.5 0v11.25A2.25 2.25 0 0 1 18 16.5h-2.25m-7.5 0h7.5m-7.5 0-1 3m8.5-3 1 3m0 0 .5 1.5m-.5-1.5h-9.5m0 0-.5 1.5m.75-9 3-3 2.148 2.148A12.061 12.061 0 0 1 16.5 7.605"}))}const i4=a.forwardRef(l4);function c4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.72 13.829c-.24.03-.48.062-.72.096m.72-.096a42.415 42.415 0 0 1 10.56 0m-10.56 0L6.34 18m10.94-4.171c.24.03.48.062.72.096m-.72-.096L17.66 18m0 0 .229 2.523a1.125 1.125 0 0 1-1.12 1.227H7.231c-.662 0-1.18-.568-1.12-1.227L6.34 18m11.318 0h1.091A2.25 2.25 0 0 0 21 15.75V9.456c0-1.081-.768-2.015-1.837-2.175a48.055 48.055 0 0 0-1.913-.247M6.34 18H5.25A2.25 2.25 0 0 1 3 15.75V9.456c0-1.081.768-2.015 1.837-2.175a48.041 48.041 0 0 1 1.913-.247m10.5 0a48.536 48.536 0 0 0-10.5 0m10.5 0V3.375c0-.621-.504-1.125-1.125-1.125h-8.25c-.621 0-1.125.504-1.125 1.125v3.659M18 10.5h.008v.008H18V10.5Zm-3 0h.008v.008H15V10.5Z"}))}const d4=a.forwardRef(c4);function u4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.25 6.087c0-.355.186-.676.401-.959.221-.29.349-.634.349-1.003 0-1.036-1.007-1.875-2.25-1.875s-2.25.84-2.25 1.875c0 .369.128.713.349 1.003.215.283.401.604.401.959v0a.64.64 0 0 1-.657.643 48.39 48.39 0 0 1-4.163-.3c.186 1.613.293 3.25.315 4.907a.656.656 0 0 1-.658.663v0c-.355 0-.676-.186-.959-.401a1.647 1.647 0 0 0-1.003-.349c-1.036 0-1.875 1.007-1.875 2.25s.84 2.25 1.875 2.25c.369 0 .713-.128 1.003-.349.283-.215.604-.401.959-.401v0c.31 0 .555.26.532.57a48.039 48.039 0 0 1-.642 5.056c1.518.19 3.058.309 4.616.354a.64.64 0 0 0 .657-.643v0c0-.355-.186-.676-.401-.959a1.647 1.647 0 0 1-.349-1.003c0-1.035 1.008-1.875 2.25-1.875 1.243 0 2.25.84 2.25 1.875 0 .369-.128.713-.349 1.003-.215.283-.4.604-.4.959v0c0 .333.277.599.61.58a48.1 48.1 0 0 0 5.427-.63 48.05 48.05 0 0 0 .582-4.717.532.532 0 0 0-.533-.57v0c-.355 0-.676.186-.959.401-.29.221-.634.349-1.003.349-1.035 0-1.875-1.007-1.875-2.25s.84-2.25 1.875-2.25c.37 0 .713.128 1.003.349.283.215.604.401.96.401v0a.656.656 0 0 0 .658-.663 48.422 48.422 0 0 0-.37-5.36c-1.886.342-3.81.574-5.766.689a.578.578 0 0 1-.61-.58v0Z"}))}const f4=a.forwardRef(u4);function m4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 3.75 9.375v-4.5ZM3.75 14.625c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5a1.125 1.125 0 0 1-1.125-1.125v-4.5ZM13.5 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 13.5 9.375v-4.5Z"}),a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 6.75h.75v.75h-.75v-.75ZM6.75 16.5h.75v.75h-.75v-.75ZM16.5 6.75h.75v.75h-.75v-.75ZM13.5 13.5h.75v.75h-.75v-.75ZM13.5 19.5h.75v.75h-.75v-.75ZM19.5 13.5h.75v.75h-.75v-.75ZM19.5 19.5h.75v.75h-.75v-.75ZM16.5 16.5h.75v.75h-.75v-.75Z"}))}const h4=a.forwardRef(m4);function p4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"}))}const v4=a.forwardRef(p4);function w4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 12h16.5m-16.5 3.75h16.5M3.75 19.5h16.5M5.625 4.5h12.75a1.875 1.875 0 0 1 0 3.75H5.625a1.875 1.875 0 0 1 0-3.75Z"}))}const g4=a.forwardRef(w4);function b4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m3.75 7.5 16.5-4.125M12 6.75c-2.708 0-5.363.224-7.948.655C2.999 7.58 2.25 8.507 2.25 9.574v9.176A2.25 2.25 0 0 0 4.5 21h15a2.25 2.25 0 0 0 2.25-2.25V9.574c0-1.067-.75-1.994-1.802-2.169A48.329 48.329 0 0 0 12 6.75Zm-1.683 6.443-.005.005-.006-.005.006-.005.005.005Zm-.005 2.127-.005-.006.005-.005.005.005-.005.005Zm-2.116-.006-.005.006-.006-.006.005-.005.006.005Zm-.005-2.116-.006-.005.006-.005.005.005-.005.005ZM9.255 10.5v.008h-.008V10.5h.008Zm3.249 1.88-.007.004-.003-.007.006-.003.004.006Zm-1.38 5.126-.003-.006.006-.004.004.007-.006.003Zm.007-6.501-.003.006-.007-.003.004-.007.006.004Zm1.37 5.129-.007-.004.004-.006.006.003-.004.007Zm.504-1.877h-.008v-.007h.008v.007ZM9.255 18v.008h-.008V18h.008Zm-3.246-1.87-.007.004L6 16.127l.006-.003.004.006Zm1.366-5.119-.004-.006.006-.004.004.007-.006.003ZM7.38 17.5l-.003.006-.007-.003.004-.007.006.004Zm-1.376-5.116L6 12.38l.003-.007.007.004-.004.007Zm-.5 1.873h-.008v-.007h.008v.007ZM17.25 12.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5Zm0 4.5a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5Z"}))}const x4=a.forwardRef(b4);function y4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 14.25 6-6m4.5-3.493V21.75l-3.75-1.5-3.75 1.5-3.75-1.5-3.75 1.5V4.757c0-1.108.806-2.057 1.907-2.185a48.507 48.507 0 0 1 11.186 0c1.1.128 1.907 1.077 1.907 2.185ZM9.75 9h.008v.008H9.75V9Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm4.125 4.5h.008v.008h-.008V13.5Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))}const E4=a.forwardRef(y4);function k4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 9.75h4.875a2.625 2.625 0 0 1 0 5.25H12M8.25 9.75 10.5 7.5M8.25 9.75 10.5 12m9-7.243V21.75l-3.75-1.5-3.75 1.5-3.75-1.5-3.75 1.5V4.757c0-1.108.806-2.057 1.907-2.185a48.507 48.507 0 0 1 11.186 0c1.1.128 1.907 1.077 1.907 2.185Z"}))}const R4=a.forwardRef(k4);function j4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 7.125C2.25 6.504 2.754 6 3.375 6h6c.621 0 1.125.504 1.125 1.125v3.75c0 .621-.504 1.125-1.125 1.125h-6a1.125 1.125 0 0 1-1.125-1.125v-3.75ZM14.25 8.625c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v8.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-8.25ZM3.75 16.125c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-2.25Z"}))}const po=a.forwardRef(j4);function C4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 6.878V6a2.25 2.25 0 0 1 2.25-2.25h7.5A2.25 2.25 0 0 1 18 6v.878m-12 0c.235-.083.487-.128.75-.128h10.5c.263 0 .515.045.75.128m-12 0A2.25 2.25 0 0 0 4.5 9v.878m13.5-3A2.25 2.25 0 0 1 19.5 9v.878m0 0a2.246 2.246 0 0 0-.75-.128H5.25c-.263 0-.515.045-.75.128m15 0A2.25 2.25 0 0 1 21 12v6a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18v-6c0-.98.626-1.813 1.5-2.122"}))}const M4=a.forwardRef(C4);function A4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.59 14.37a6 6 0 0 1-5.84 7.38v-4.8m5.84-2.58a14.98 14.98 0 0 0 6.16-12.12A14.98 14.98 0 0 0 9.631 8.41m5.96 5.96a14.926 14.926 0 0 1-5.841 2.58m-.119-8.54a6 6 0 0 0-7.381 5.84h4.8m2.581-5.84a14.927 14.927 0 0 0-2.58 5.84m2.699 2.7c-.103.021-.207.041-.311.06a15.09 15.09 0 0 1-2.448-2.448 14.9 14.9 0 0 1 .06-.312m-2.24 2.39a4.493 4.493 0 0 0-1.757 4.306 4.493 4.493 0 0 0 4.306-1.758M16.5 9a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"}))}const S4=a.forwardRef(A4);function $4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12.75 19.5v-.75a7.5 7.5 0 0 0-7.5-7.5H4.5m0-6.75h.75c7.87 0 14.25 6.38 14.25 14.25v.75M6 18.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))}const L4=a.forwardRef($4);function O4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3v17.25m0 0c-1.472 0-2.882.265-4.185.75M12 20.25c1.472 0 2.882.265 4.185.75M18.75 4.97A48.416 48.416 0 0 0 12 4.5c-2.291 0-4.545.16-6.75.47m13.5 0c1.01.143 2.01.317 3 .52m-3-.52 2.62 10.726c.122.499-.106 1.028-.589 1.202a5.988 5.988 0 0 1-2.031.352 5.988 5.988 0 0 1-2.031-.352c-.483-.174-.711-.703-.59-1.202L18.75 4.971Zm-16.5.52c.99-.203 1.99-.377 3-.52m0 0 2.62 10.726c.122.499-.106 1.028-.589 1.202a5.989 5.989 0 0 1-2.031.352 5.989 5.989 0 0 1-2.031-.352c-.483-.174-.711-.703-.59-1.202L5.25 4.971Z"}))}const N4=a.forwardRef(O4);function F4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m7.848 8.25 1.536.887M7.848 8.25a3 3 0 1 1-5.196-3 3 3 0 0 1 5.196 3Zm1.536.887a2.165 2.165 0 0 1 1.083 1.839c.005.351.054.695.14 1.024M9.384 9.137l2.077 1.199M7.848 15.75l1.536-.887m-1.536.887a3 3 0 1 1-5.196 3 3 3 0 0 1 5.196-3Zm1.536-.887a2.165 2.165 0 0 0 1.083-1.838c.005-.352.054-.695.14-1.025m-1.223 2.863 2.077-1.199m0-3.328a4.323 4.323 0 0 1 2.068-1.379l5.325-1.628a4.5 4.5 0 0 1 2.48-.044l.803.215-7.794 4.5m-2.882-1.664A4.33 4.33 0 0 0 10.607 12m3.736 0 7.794 4.5-.802.215a4.5 4.5 0 0 1-2.48-.043l-5.326-1.629a4.324 4.324 0 0 1-2.068-1.379M14.343 12l-2.882 1.664"}))}const I4=a.forwardRef(F4);function Z4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 14.25h13.5m-13.5 0a3 3 0 0 1-3-3m3 3a3 3 0 1 0 0 6h13.5a3 3 0 1 0 0-6m-16.5-3a3 3 0 0 1 3-3h13.5a3 3 0 0 1 3 3m-19.5 0a4.5 4.5 0 0 1 .9-2.7L5.737 5.1a3.375 3.375 0 0 1 2.7-1.35h7.126c1.062 0 2.062.5 2.7 1.35l2.587 3.45a4.5 4.5 0 0 1 .9 2.7m0 0a3 3 0 0 1-3 3m0 3h.008v.008h-.008v-.008Zm0-6h.008v.008h-.008v-.008Zm-3 6h.008v.008h-.008v-.008Zm0-6h.008v.008h-.008v-.008Z"}))}const B4=a.forwardRef(Z4);function V4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 17.25v-.228a4.5 4.5 0 0 0-.12-1.03l-2.268-9.64a3.375 3.375 0 0 0-3.285-2.602H7.923a3.375 3.375 0 0 0-3.285 2.602l-2.268 9.64a4.5 4.5 0 0 0-.12 1.03v.228m19.5 0a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3m19.5 0a3 3 0 0 0-3-3H5.25a3 3 0 0 0-3 3m16.5 0h.008v.008h-.008v-.008Zm-3 0h.008v.008h-.008v-.008Z"}))}const T4=a.forwardRef(V4);function D4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.217 10.907a2.25 2.25 0 1 0 0 2.186m0-2.186c.18.324.283.696.283 1.093s-.103.77-.283 1.093m0-2.186 9.566-5.314m-9.566 7.5 9.566 5.314m0 0a2.25 2.25 0 1 0 3.935 2.186 2.25 2.25 0 0 0-3.935-2.186Zm0-12.814a2.25 2.25 0 1 0 3.933-2.185 2.25 2.25 0 0 0-3.933 2.185Z"}))}const H4=a.forwardRef(D4);function _4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z"}))}const P4=a.forwardRef(_4);function W4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m0-10.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.75c0 5.592 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.57-.598-3.75h-.152c-3.196 0-6.1-1.25-8.25-3.286Zm0 13.036h.008v.008H12v-.008Z"}))}const z4=a.forwardRef(W4);function q4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 10.5V6a3.75 3.75 0 1 0-7.5 0v4.5m11.356-1.993 1.263 12c.07.665-.45 1.243-1.119 1.243H4.25a1.125 1.125 0 0 1-1.12-1.243l1.264-12A1.125 1.125 0 0 1 5.513 7.5h12.974c.576 0 1.059.435 1.119 1.007ZM8.625 10.5a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm7.5 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))}const U4=a.forwardRef(q4);function G4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 0 0-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 0 0-16.536-1.84M7.5 14.25 5.106 5.272M6 20.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm12.75 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))}const K4=a.forwardRef(G4);function Y4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m3 3 8.735 8.735m0 0a.374.374 0 1 1 .53.53m-.53-.53.53.53m0 0L21 21M14.652 9.348a3.75 3.75 0 0 1 0 5.304m2.121-7.425a6.75 6.75 0 0 1 0 9.546m2.121-11.667c3.808 3.807 3.808 9.98 0 13.788m-9.546-4.242a3.733 3.733 0 0 1-1.06-2.122m-1.061 4.243a6.75 6.75 0 0 1-1.625-6.929m-.496 9.05c-3.068-3.067-3.664-7.67-1.79-11.334M12 12h.008v.008H12V12Z"}))}const J4=a.forwardRef(Y4);function X4({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.348 14.652a3.75 3.75 0 0 1 0-5.304m5.304 0a3.75 3.75 0 0 1 0 5.304m-7.425 2.121a6.75 6.75 0 0 1 0-9.546m9.546 0a6.75 6.75 0 0 1 0 9.546M5.106 18.894c-3.808-3.807-3.808-9.98 0-13.788m13.788 0c3.808 3.807 3.808 9.98 0 13.788M12 12h.008v.008H12V12Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))}const Q4=a.forwardRef(X4);function eh({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 20.247 6-16.5"}))}const th=a.forwardRef(eh);function rh({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"}))}const nh=a.forwardRef(rh);function ah({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.114 5.636a9 9 0 0 1 0 12.728M16.463 8.288a5.25 5.25 0 0 1 0 7.424M6.75 8.25l4.72-4.72a.75.75 0 0 1 1.28.53v15.88a.75.75 0 0 1-1.28.53l-4.72-4.72H4.51c-.88 0-1.704-.507-1.938-1.354A9.009 9.009 0 0 1 2.25 12c0-.83.112-1.633.322-2.396C2.806 8.756 3.63 8.25 4.51 8.25H6.75Z"}))}const oh=a.forwardRef(ah);function sh({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 9.75 19.5 12m0 0 2.25 2.25M19.5 12l2.25-2.25M19.5 12l-2.25 2.25m-10.5-6 4.72-4.72a.75.75 0 0 1 1.28.53v15.88a.75.75 0 0 1-1.28.53l-4.72-4.72H4.51c-.88 0-1.704-.507-1.938-1.354A9.009 9.009 0 0 1 2.25 12c0-.83.112-1.633.322-2.396C2.806 8.756 3.63 8.25 4.51 8.25H6.75Z"}))}const lh=a.forwardRef(sh);function ih({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 8.25V6a2.25 2.25 0 0 0-2.25-2.25H6A2.25 2.25 0 0 0 3.75 6v8.25A2.25 2.25 0 0 0 6 16.5h2.25m8.25-8.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-7.5A2.25 2.25 0 0 1 8.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 0 0-2.25 2.25v6"}))}const V0=a.forwardRef(ih);function ch({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.429 9.75 2.25 12l4.179 2.25m0-4.5 5.571 3 5.571-3m-11.142 0L2.25 7.5 12 2.25l9.75 5.25-4.179 2.25m0 0L21.75 12l-4.179 2.25m0 0 4.179 2.25L12 21.75 2.25 16.5l4.179-2.25m11.142 0-5.571 3-5.571-3"}))}const dh=a.forwardRef(ch);function uh({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6A2.25 2.25 0 0 1 6 3.75h2.25A2.25 2.25 0 0 1 10.5 6v2.25a2.25 2.25 0 0 1-2.25 2.25H6a2.25 2.25 0 0 1-2.25-2.25V6ZM3.75 15.75A2.25 2.25 0 0 1 6 13.5h2.25a2.25 2.25 0 0 1 2.25 2.25V18a2.25 2.25 0 0 1-2.25 2.25H6A2.25 2.25 0 0 1 3.75 18v-2.25ZM13.5 6a2.25 2.25 0 0 1 2.25-2.25H18A2.25 2.25 0 0 1 20.25 6v2.25A2.25 2.25 0 0 1 18 10.5h-2.25a2.25 2.25 0 0 1-2.25-2.25V6ZM13.5 15.75a2.25 2.25 0 0 1 2.25-2.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-2.25A2.25 2.25 0 0 1 13.5 18v-2.25Z"}))}const Ko=a.forwardRef(uh);function fh({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 16.875h3.375m0 0h3.375m-3.375 0V13.5m0 3.375v3.375M6 10.5h2.25a2.25 2.25 0 0 0 2.25-2.25V6a2.25 2.25 0 0 0-2.25-2.25H6A2.25 2.25 0 0 0 3.75 6v2.25A2.25 2.25 0 0 0 6 10.5Zm0 9.75h2.25A2.25 2.25 0 0 0 10.5 18v-2.25a2.25 2.25 0 0 0-2.25-2.25H6a2.25 2.25 0 0 0-2.25 2.25V18A2.25 2.25 0 0 0 6 20.25Zm9.75-9.75H18a2.25 2.25 0 0 0 2.25-2.25V6A2.25 2.25 0 0 0 18 3.75h-2.25A2.25 2.25 0 0 0 13.5 6v2.25a2.25 2.25 0 0 0 2.25 2.25Z"}))}const Yo=a.forwardRef(fh);function mh({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 3.499a.562.562 0 0 1 1.04 0l2.125 5.111a.563.563 0 0 0 .475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 0 0-.182.557l1.285 5.385a.562.562 0 0 1-.84.61l-4.725-2.885a.562.562 0 0 0-.586 0L6.982 20.54a.562.562 0 0 1-.84-.61l1.285-5.386a.562.562 0 0 0-.182-.557l-4.204-3.602a.562.562 0 0 1 .321-.988l5.518-.442a.563.563 0 0 0 .475-.345L11.48 3.5Z"}))}const hh=a.forwardRef(mh);function ph({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}),a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 9.563C9 9.252 9.252 9 9.563 9h4.874c.311 0 .563.252.563.563v4.874c0 .311-.252.563-.563.563H9.564A.562.562 0 0 1 9 14.437V9.564Z"}))}const vh=a.forwardRef(ph);function wh({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 7.5A2.25 2.25 0 0 1 7.5 5.25h9a2.25 2.25 0 0 1 2.25 2.25v9a2.25 2.25 0 0 1-2.25 2.25h-9a2.25 2.25 0 0 1-2.25-2.25v-9Z"}))}const gh=a.forwardRef(wh);function bh({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 12a8.912 8.912 0 0 1-.318-.079c-1.585-.424-2.904-1.247-3.76-2.236-.873-1.009-1.265-2.19-.968-3.301.59-2.2 3.663-3.29 6.863-2.432A8.186 8.186 0 0 1 16.5 5.21M6.42 17.81c.857.99 2.176 1.812 3.761 2.237 3.2.858 6.274-.23 6.863-2.431.233-.868.044-1.779-.465-2.617M3.75 12h16.5"}))}const xh=a.forwardRef(bh);function yh({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"}))}const T0=a.forwardRef(yh);function Eh({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.098 19.902a3.75 3.75 0 0 0 5.304 0l6.401-6.402M6.75 21A3.75 3.75 0 0 1 3 17.25V4.125C3 3.504 3.504 3 4.125 3h5.25c.621 0 1.125.504 1.125 1.125v4.072M6.75 21a3.75 3.75 0 0 0 3.75-3.75V8.197M6.75 21h13.125c.621 0 1.125-.504 1.125-1.125v-5.25c0-.621-.504-1.125-1.125-1.125h-4.072M10.5 8.197l2.88-2.88c.438-.439 1.15-.439 1.59 0l3.712 3.713c.44.44.44 1.152 0 1.59l-2.879 2.88M6.75 17.25h.008v.008H6.75v-.008Z"}))}const kh=a.forwardRef(Eh);function Rh({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.375 19.5h17.25m-17.25 0a1.125 1.125 0 0 1-1.125-1.125M3.375 19.5h7.5c.621 0 1.125-.504 1.125-1.125m-9.75 0V5.625m0 12.75v-1.5c0-.621.504-1.125 1.125-1.125m18.375 2.625V5.625m0 12.75c0 .621-.504 1.125-1.125 1.125m1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125m0 3.75h-7.5A1.125 1.125 0 0 1 12 18.375m9.75-12.75c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125m19.5 0v1.5c0 .621-.504 1.125-1.125 1.125M2.25 5.625v1.5c0 .621.504 1.125 1.125 1.125m0 0h17.25m-17.25 0h7.5c.621 0 1.125.504 1.125 1.125M3.375 8.25c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125m17.25-3.75h-7.5c-.621 0-1.125.504-1.125 1.125m8.625-1.125c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125M12 10.875v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 10.875c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125M13.125 12h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125M20.625 12c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5M12 14.625v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 14.625c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125m0 1.5v-1.5m0 0c0-.621.504-1.125 1.125-1.125m0 0h7.5"}))}const jh=a.forwardRef(Rh);function Ch({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.568 3H5.25A2.25 2.25 0 0 0 3 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 0 0 5.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 0 0 9.568 3Z"}),a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 6h.008v.008H6V6Z"}))}const Mh=a.forwardRef(Ch);function Ah({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 6v.75m0 3v.75m0 3v.75m0 3V18m-9-5.25h5.25M7.5 15h3M3.375 5.25c-.621 0-1.125.504-1.125 1.125v3.026a2.999 2.999 0 0 1 0 5.198v3.026c0 .621.504 1.125 1.125 1.125h17.25c.621 0 1.125-.504 1.125-1.125v-3.026a2.999 2.999 0 0 1 0-5.198V6.375c0-.621-.504-1.125-1.125-1.125H3.375Z"}))}const Sh=a.forwardRef(Ah);function $h({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"}))}const Sr=a.forwardRef($h);function Lh({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 18.75h-9m9 0a3 3 0 0 1 3 3h-15a3 3 0 0 1 3-3m9 0v-3.375c0-.621-.503-1.125-1.125-1.125h-.871M7.5 18.75v-3.375c0-.621.504-1.125 1.125-1.125h.872m5.007 0H9.497m5.007 0a7.454 7.454 0 0 1-.982-3.172M9.497 14.25a7.454 7.454 0 0 0 .981-3.172M5.25 4.236c-.982.143-1.954.317-2.916.52A6.003 6.003 0 0 0 7.73 9.728M5.25 4.236V4.5c0 2.108.966 3.99 2.48 5.228M5.25 4.236V2.721C7.456 2.41 9.71 2.25 12 2.25c2.291 0 4.545.16 6.75.47v1.516M7.73 9.728a6.726 6.726 0 0 0 2.748 1.35m8.272-6.842V4.5c0 2.108-.966 3.99-2.48 5.228m2.48-5.492a46.32 46.32 0 0 1 2.916.52 6.003 6.003 0 0 1-5.395 4.972m0 0a6.726 6.726 0 0 1-2.749 1.35m0 0a6.772 6.772 0 0 1-3.044 0"}))}const Oh=a.forwardRef(Lh);function Nh({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 18.75a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h6m-9 0H3.375a1.125 1.125 0 0 1-1.125-1.125V14.25m17.25 4.5a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h1.125c.621 0 1.129-.504 1.09-1.124a17.902 17.902 0 0 0-3.213-9.193 2.056 2.056 0 0 0-1.58-.86H14.25M16.5 18.75h-2.25m0-11.177v-.958c0-.568-.422-1.048-.987-1.106a48.554 48.554 0 0 0-10.026 0 1.106 1.106 0 0 0-.987 1.106v7.635m12-6.677v6.677m0 4.5v-4.5m0 0h-12"}))}const Fh=a.forwardRef(Nh);function Ih({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 20.25h12m-7.5-3v3m3-3v3m-10.125-3h17.25c.621 0 1.125-.504 1.125-1.125V4.875c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125Z"}))}const Zh=a.forwardRef(Ih);function Bh({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.995 3.744v7.5a6 6 0 1 1-12 0v-7.5m-2.25 16.502h16.5"}))}const Vh=a.forwardRef(Bh);function Th({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}const Dh=a.forwardRef(Th);function Hh({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18 18.72a9.094 9.094 0 0 0 3.741-.479 3 3 0 0 0-4.682-2.72m.94 3.198.001.031c0 .225-.012.447-.037.666A11.944 11.944 0 0 1 12 21c-2.17 0-4.207-.576-5.963-1.584A6.062 6.062 0 0 1 6 18.719m12 0a5.971 5.971 0 0 0-.941-3.197m0 0A5.995 5.995 0 0 0 12 12.75a5.995 5.995 0 0 0-5.058 2.772m0 0a3 3 0 0 0-4.681 2.72 8.986 8.986 0 0 0 3.74.477m.94-3.197a5.971 5.971 0 0 0-.94 3.197M15 6.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm6 3a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Zm-13.5 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Z"}))}const _h=a.forwardRef(Hh);function Ph({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M22 10.5h-6m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM4 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 10.374 21c-2.331 0-4.512-.645-6.374-1.766Z"}))}const Wh=a.forwardRef(Ph);function zh({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"}))}const qh=a.forwardRef(zh);function Uh({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"}))}const Gh=a.forwardRef(Uh);function Kh({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 19.128a9.38 9.38 0 0 0 2.625.372 9.337 9.337 0 0 0 4.121-.952 4.125 4.125 0 0 0-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 0 1 8.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0 1 11.964-3.07M12 6.375a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0Zm8.25 2.25a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z"}))}const Yh=a.forwardRef(Kh);function Jh({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.745 3A23.933 23.933 0 0 0 3 12c0 3.183.62 6.22 1.745 9M19.5 3c.967 2.78 1.5 5.817 1.5 9s-.533 6.22-1.5 9M8.25 8.885l1.444-.89a.75.75 0 0 1 1.105.402l2.402 7.206a.75.75 0 0 0 1.104.401l1.445-.889m-8.25.75.213.09a1.687 1.687 0 0 0 2.062-.617l4.45-6.676a1.688 1.688 0 0 1 2.062-.618l.213.09"}))}const Xh=a.forwardRef(Jh);function Qh({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15.75 10.5 4.72-4.72a.75.75 0 0 1 1.28.53v11.38a.75.75 0 0 1-1.28.53l-4.72-4.72M12 18.75H4.5a2.25 2.25 0 0 1-2.25-2.25V9m12.841 9.091L16.5 19.5m-1.409-1.409c.407-.407.659-.97.659-1.591v-9a2.25 2.25 0 0 0-2.25-2.25h-9c-.621 0-1.184.252-1.591.659m12.182 12.182L2.909 5.909M1.5 4.5l1.409 1.409"}))}const e6=a.forwardRef(Qh);function t6({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15.75 10.5 4.72-4.72a.75.75 0 0 1 1.28.53v11.38a.75.75 0 0 1-1.28.53l-4.72-4.72M4.5 18.75h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25h-9A2.25 2.25 0 0 0 2.25 7.5v9a2.25 2.25 0 0 0 2.25 2.25Z"}))}const r6=a.forwardRef(t6);function n6({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 4.5v15m6-15v15m-10.875 0h15.75c.621 0 1.125-.504 1.125-1.125V5.625c0-.621-.504-1.125-1.125-1.125H4.125C3.504 4.5 3 5.004 3 5.625v12.75c0 .621.504 1.125 1.125 1.125Z"}))}const a6=a.forwardRef(n6);function o6({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 3.75H6A2.25 2.25 0 0 0 3.75 6v1.5M16.5 3.75H18A2.25 2.25 0 0 1 20.25 6v1.5m0 9V18A2.25 2.25 0 0 1 18 20.25h-1.5m-9 0H6A2.25 2.25 0 0 1 3.75 18v-1.5M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}const s6=a.forwardRef(o6);function l6({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a2.25 2.25 0 0 0-2.25-2.25H15a3 3 0 1 1-6 0H5.25A2.25 2.25 0 0 0 3 12m18 0v6a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18v-6m18 0V9M3 12V9m18 0a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 9m18 0V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v3"}))}const i6=a.forwardRef(l6);function c6({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.288 15.038a5.25 5.25 0 0 1 7.424 0M5.106 11.856c3.807-3.808 9.98-3.808 13.788 0M1.924 8.674c5.565-5.565 14.587-5.565 20.152 0M12.53 18.22l-.53.53-.53-.53a.75.75 0 0 1 1.06 0Z"}))}const d6=a.forwardRef(c6);function u6({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 8.25V18a2.25 2.25 0 0 0 2.25 2.25h13.5A2.25 2.25 0 0 0 21 18V8.25m-18 0V6a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 6v2.25m-18 0h18M5.25 6h.008v.008H5.25V6ZM7.5 6h.008v.008H7.5V6Zm2.25 0h.008v.008H9.75V6Z"}))}const f6=a.forwardRef(u6);function m6({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.42 15.17 17.25 21A2.652 2.652 0 0 0 21 17.25l-5.877-5.877M11.42 15.17l2.496-3.03c.317-.384.74-.626 1.208-.766M11.42 15.17l-4.655 5.653a2.548 2.548 0 1 1-3.586-3.586l6.837-5.63m5.108-.233c.55-.164 1.163-.188 1.743-.14a4.5 4.5 0 0 0 4.486-6.336l-3.276 3.277a3.004 3.004 0 0 1-2.25-2.25l3.276-3.276a4.5 4.5 0 0 0-6.336 4.486c.091 1.076-.071 2.264-.904 2.95l-.102.085m-1.745 1.437L5.909 7.5H4.5L2.25 3.75l1.5-1.5L7.5 4.5v1.409l4.26 4.26m-1.745 1.437 1.745-1.437m6.615 8.206L15.75 15.75M4.867 19.125h.008v.008h-.008v-.008Z"}))}const D0=a.forwardRef(m6);function h6({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75a4.5 4.5 0 0 1-4.884 4.484c-1.076-.091-2.264.071-2.95.904l-7.152 8.684a2.548 2.548 0 1 1-3.586-3.586l8.684-7.152c.833-.686.995-1.874.904-2.95a4.5 4.5 0 0 1 6.336-4.486l-3.276 3.276a3.004 3.004 0 0 0 2.25 2.25l3.276-3.276c.256.565.398 1.192.398 1.852Z"}),a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.867 19.125h.008v.008h-.008v-.008Z"}))}const p6=a.forwardRef(h6);function v6({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const w6=a.forwardRef(v6);function g6({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))}const Qe=a.forwardRef(g6),nn=Object.freeze(Object.defineProperty({__proto__:null,AcademicCapIcon:d1,AdjustmentsHorizontalIcon:f1,AdjustmentsVerticalIcon:h1,ArchiveBoxArrowDownIcon:v1,ArchiveBoxIcon:x1,ArchiveBoxXMarkIcon:g1,ArrowDownCircleIcon:E1,ArrowDownIcon:g0,ArrowDownLeftIcon:R1,ArrowDownOnSquareIcon:A1,ArrowDownOnSquareStackIcon:C1,ArrowDownRightIcon:$1,ArrowDownTrayIcon:O1,ArrowLeftCircleIcon:b0,ArrowLeftEndOnRectangleIcon:Z1,ArrowLeftIcon:x0,ArrowLeftOnRectangleIcon:V1,ArrowLeftStartOnRectangleIcon:D1,ArrowLongDownIcon:P1,ArrowLongLeftIcon:z1,ArrowLongRightIcon:U1,ArrowLongUpIcon:K1,ArrowPathIcon:Q1,ArrowPathRoundedSquareIcon:J1,ArrowRightCircleIcon:y0,ArrowRightEndOnRectangleIcon:rc,ArrowRightIcon:E0,ArrowRightOnRectangleIcon:ac,ArrowRightStartOnRectangleIcon:sc,ArrowSmallDownIcon:cc,ArrowSmallLeftIcon:uc,ArrowSmallRightIcon:mc,ArrowSmallUpIcon:pc,ArrowTopRightOnSquareIcon:wc,ArrowTrendingDownIcon:bc,ArrowTrendingUpIcon:yc,ArrowTurnDownLeftIcon:kc,ArrowTurnDownRightIcon:jc,ArrowTurnLeftDownIcon:Mc,ArrowTurnLeftUpIcon:Sc,ArrowTurnRightDownIcon:Lc,ArrowTurnRightUpIcon:Nc,ArrowTurnUpLeftIcon:Ic,ArrowTurnUpRightIcon:Bc,ArrowUpCircleIcon:Tc,ArrowUpIcon:k0,ArrowUpLeftIcon:Hc,ArrowUpOnSquareIcon:zc,ArrowUpOnSquareStackIcon:Pc,ArrowUpRightIcon:Uc,ArrowUpTrayIcon:Kc,ArrowUturnDownIcon:Xc,ArrowUturnLeftIcon:e2,ArrowUturnRightIcon:r2,ArrowUturnUpIcon:a2,ArrowsPointingInIcon:s2,ArrowsPointingOutIcon:i2,ArrowsRightLeftIcon:d2,ArrowsUpDownIcon:f2,AtSymbolIcon:h2,BackspaceIcon:v2,BackwardIcon:g2,BanknotesIcon:x2,Bars2Icon:E2,Bars3BottomLeftIcon:R2,Bars3BottomRightIcon:C2,Bars3CenterLeftIcon:A2,Bars3Icon:R0,Bars4Icon:L2,BarsArrowDownIcon:N2,BarsArrowUpIcon:I2,Battery0Icon:B2,Battery100Icon:T2,Battery50Icon:H2,BeakerIcon:P2,BellAlertIcon:z2,BellIcon:J2,BellSlashIcon:U2,BellSnoozeIcon:K2,BoldIcon:Q2,BoltIcon:nd,BoltSlashIcon:td,BookOpenIcon:od,BookmarkIcon:ud,BookmarkSlashIcon:ld,BookmarkSquareIcon:cd,BriefcaseIcon:md,BugAntIcon:pd,BuildingLibraryIcon:wd,BuildingOffice2Icon:bd,BuildingOfficeIcon:yd,BuildingStorefrontIcon:kd,CakeIcon:jd,CalculatorIcon:Md,CalendarDateRangeIcon:Sd,CalendarDaysIcon:j0,CalendarIcon:Od,CameraIcon:Fd,ChartBarIcon:Vd,ChartBarSquareIcon:Zd,ChartPieIcon:Dd,ChatBubbleBottomCenterIcon:Wd,ChatBubbleBottomCenterTextIcon:_d,ChatBubbleLeftEllipsisIcon:qd,ChatBubbleLeftIcon:Yd,ChatBubbleLeftRightIcon:Gd,ChatBubbleOvalLeftEllipsisIcon:Xd,ChatBubbleOvalLeftIcon:e7,CheckBadgeIcon:r7,CheckCircleIcon:ya,CheckIcon:C0,ChevronDoubleDownIcon:s7,ChevronDoubleLeftIcon:i7,ChevronDoubleRightIcon:d7,ChevronDoubleUpIcon:f7,ChevronDownIcon:mn,ChevronLeftIcon:M0,ChevronRightIcon:To,ChevronUpDownIcon:w7,ChevronUpIcon:b7,CircleStackIcon:y7,ClipboardDocumentCheckIcon:Do,ClipboardDocumentIcon:j7,ClipboardDocumentListIcon:A0,ClipboardIcon:M7,ClockIcon:S7,CloudArrowDownIcon:L7,CloudArrowUpIcon:S0,CloudIcon:F7,CodeBracketIcon:V7,CodeBracketSquareIcon:Z7,Cog6ToothIcon:Ho,Cog8ToothIcon:H7,CogIcon:P7,CommandLineIcon:z7,ComputerDesktopIcon:U7,CpuChipIcon:K7,CreditCardIcon:J7,CubeIcon:tu,CubeTransparentIcon:Q7,CurrencyBangladeshiIcon:nu,CurrencyDollarIcon:ou,CurrencyEuroIcon:lu,CurrencyPoundIcon:cu,CurrencyRupeeIcon:uu,CurrencyYenIcon:mu,CursorArrowRaysIcon:Cr,CursorArrowRippleIcon:vu,DevicePhoneMobileIcon:gu,DeviceTabletIcon:xu,DivideIcon:Eu,DocumentArrowDownIcon:Ru,DocumentArrowUpIcon:$0,DocumentChartBarIcon:Mu,DocumentCheckIcon:Su,DocumentCurrencyBangladeshiIcon:Lu,DocumentCurrencyDollarIcon:Nu,DocumentCurrencyEuroIcon:Iu,DocumentCurrencyPoundIcon:Bu,DocumentCurrencyRupeeIcon:Tu,DocumentCurrencyYenIcon:Hu,DocumentDuplicateIcon:Pu,DocumentIcon:ho,DocumentMagnifyingGlassIcon:zu,DocumentMinusIcon:Uu,DocumentPlusIcon:Ku,DocumentTextIcon:L0,EllipsisHorizontalCircleIcon:Qu,EllipsisHorizontalIcon:t3,EllipsisVerticalIcon:O0,EnvelopeIcon:_o,EnvelopeOpenIcon:a3,EqualsIcon:l3,ExclamationCircleIcon:c3,ExclamationTriangleIcon:Po,EyeDropperIcon:f3,EyeIcon:tn,EyeSlashIcon:Wo,FaceFrownIcon:v3,FaceSmileIcon:g3,FilmIcon:x3,FingerPrintIcon:E3,FireIcon:R3,FlagIcon:C3,FolderArrowDownIcon:A3,FolderIcon:Z3,FolderMinusIcon:$3,FolderOpenIcon:O3,FolderPlusIcon:F3,ForwardIcon:V3,FunnelIcon:D3,GifIcon:_3,GiftIcon:q3,GiftTopIcon:W3,GlobeAltIcon:G3,GlobeAmericasIcon:Y3,GlobeAsiaAustraliaIcon:X3,GlobeEuropeAfricaIcon:ef,H1Icon:rf,H2Icon:af,H3Icon:sf,HandRaisedIcon:cf,HandThumbDownIcon:uf,HandThumbUpIcon:mf,HashtagIcon:zo,HeartIcon:vf,HomeIcon:xf,HomeModernIcon:gf,IdentificationIcon:Ef,InboxArrowDownIcon:Rf,InboxIcon:Af,InboxStackIcon:Cf,InformationCircleIcon:hn,ItalicIcon:Lf,KeyIcon:Nf,LanguageIcon:If,LifebuoyIcon:Bf,LightBulbIcon:N0,LinkIcon:qo,LinkSlashIcon:Df,ListBulletIcon:F0,LockClosedIcon:I0,LockOpenIcon:zf,MagnifyingGlassCircleIcon:Uf,MagnifyingGlassIcon:Z0,MagnifyingGlassMinusIcon:Kf,MagnifyingGlassPlusIcon:Jf,MapIcon:rm,MapPinIcon:em,MegaphoneIcon:am,MicrophoneIcon:sm,MinusCircleIcon:im,MinusIcon:fm,MinusSmallIcon:dm,MoonIcon:B0,MusicalNoteIcon:pm,NewspaperIcon:wm,NoSymbolIcon:bm,NumberedListIcon:ym,PaintBrushIcon:km,PaperAirplaneIcon:jm,PaperClipIcon:Mm,PauseCircleIcon:Sm,PauseIcon:Lm,PencilIcon:Fm,PencilSquareIcon:Uo,PercentBadgeIcon:Zm,PhoneArrowDownLeftIcon:Vm,PhoneArrowUpRightIcon:Dm,PhoneIcon:Go,PhoneXMarkIcon:_m,PhotoIcon:zm,PlayCircleIcon:Um,PlayIcon:Jm,PlayPauseIcon:Km,PlusCircleIcon:rn,PlusIcon:r4,PlusSmallIcon:e4,PowerIcon:a4,PresentationChartBarIcon:s4,PresentationChartLineIcon:i4,PrinterIcon:d4,PuzzlePieceIcon:f4,QrCodeIcon:h4,QuestionMarkCircleIcon:v4,QueueListIcon:g4,RadioIcon:x4,ReceiptPercentIcon:E4,ReceiptRefundIcon:R4,RectangleGroupIcon:po,RectangleStackIcon:M4,RocketLaunchIcon:S4,RssIcon:L4,ScaleIcon:N4,ScissorsIcon:I4,ServerIcon:T4,ServerStackIcon:B4,ShareIcon:H4,ShieldCheckIcon:P4,ShieldExclamationIcon:z4,ShoppingBagIcon:U4,ShoppingCartIcon:K4,SignalIcon:Q4,SignalSlashIcon:J4,SlashIcon:th,SparklesIcon:nh,SpeakerWaveIcon:oh,SpeakerXMarkIcon:lh,Square2StackIcon:V0,Square3Stack3DIcon:dh,Squares2X2Icon:Ko,SquaresPlusIcon:Yo,StarIcon:hh,StopCircleIcon:vh,StopIcon:gh,StrikethroughIcon:xh,SunIcon:T0,SwatchIcon:kh,TableCellsIcon:jh,TagIcon:Mh,TicketIcon:Sh,TrashIcon:Sr,TrophyIcon:Oh,TruckIcon:Fh,TvIcon:Zh,UnderlineIcon:Vh,UserCircleIcon:Dh,UserGroupIcon:_h,UserIcon:Gh,UserMinusIcon:Wh,UserPlusIcon:qh,UsersIcon:Yh,VariableIcon:Xh,VideoCameraIcon:r6,VideoCameraSlashIcon:e6,ViewColumnsIcon:a6,ViewfinderCircleIcon:s6,WalletIcon:i6,WifiIcon:d6,WindowIcon:f6,WrenchIcon:p6,WrenchScrewdriverIcon:D0,XCircleIcon:w6,XMarkIcon:Qe},Symbol.toStringTag,{value:"Module"})),b6={default:{wrapper:"box-border w-full rounded-lg bg-[var(--color-ds-background-surface)]",padX:"px-6",padY:"py-4"},plain:{wrapper:"box-border w-full",padX:"px-0",padY:"py-2"},soft:{wrapper:"box-border w-full rounded-lg bg-[color-mix(in srgb,var(--color-ds-background-surface) 60%, transparent 40%)]",padX:"px-4",padY:"py-3"},ghost:{wrapper:"box-border w-full",padX:"px-6",padY:"py-3"}};function at({title:e,children:t,defaultOpen:r=!0,className:n,type:o="default",contentClassName:l,headerClassName:i,forceOpen:c}){const[d,u]=v.useState(r);v.useEffect(()=>{c&&u(!0)},[c]);const f=b6[o],m=v.useRef(null),[h,g]=v.useState(0),w=()=>{m.current&&g(m.current.scrollHeight)};return v.useLayoutEffect(()=>{w()},[d]),v.useEffect(()=>{const x=m.current;if(!x)return;const y=new ResizeObserver(()=>w());return y.observe(x),()=>y.disconnect()},[]),s.jsxs("div",{className:de("flex flex-col w-full gap-2",n),children:[s.jsxs("button",{type:"button",onClick:()=>u(x=>!x),"aria-expanded":d,className:de("flex items-center justify-between w-full transition-colors","border-b",d?"border-[var(--color-ds-border-default-50)]":"border-transparent","hover:bg-[var(--color-ds-surface-hover)]",i),children:[s.jsx("div",{className:"flex items-center gap-2",children:s.jsx("span",{className:"font-semibold text-[var(--color-ds-text-primary)]",children:e})}),s.jsx(mn,{className:de("w-5 h-5 text-[var(--color-ds-text-primary)]","transition-transform duration-500 ease-in-out origin-center",d?"rotate-180":"rotate-0")})]}),s.jsx("div",{className:f.wrapper,children:s.jsx("div",{className:de(f.padX,!d&&"overflow-hidden","transition-[max-height,opacity] ease-in-out",d?"opacity-100":"opacity-0"),style:{maxHeight:d?`${h}px`:"0px",transitionDuration:c?"150ms":"300ms"},children:s.jsx("div",{ref:m,className:de(f.padY,l),children:t})})})]})}const x6=(e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},y6=(e,t)=>({classGroupId:e,validator:t}),H0=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),ra="-",Os=[],E6="arbitrary..",k6=e=>{const t=j6(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return R6(i);const c=i.split(ra),d=c[0]===""&&c.length>1?1:0;return _0(c,d,t)},getConflictingClassGroupIds:(i,c)=>{if(c){const d=n[i],u=r[i];return d?u?x6(u,d):d:u||Os}return r[i]||Os}}},_0=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const o=e[t],l=r.nextPart.get(o);if(l){const u=_0(e,t+1,l);if(u)return u}const i=r.validators;if(i===null)return;const c=t===0?e.join(ra):e.slice(t).join(ra),d=i.length;for(let u=0;u<d;u++){const f=i[u];if(f.validator(c))return f.classGroupId}},R6=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?E6+n:void 0})(),j6=e=>{const{theme:t,classGroups:r}=e;return C6(r,t)},C6=(e,t)=>{const r=H0();for(const n in e){const o=e[n];Jo(o,r,n,t)}return r},Jo=(e,t,r,n)=>{const o=e.length;for(let l=0;l<o;l++){const i=e[l];M6(i,t,r,n)}},M6=(e,t,r,n)=>{if(typeof e=="string"){A6(e,t,r);return}if(typeof e=="function"){S6(e,t,r,n);return}$6(e,t,r,n)},A6=(e,t,r)=>{const n=e===""?t:P0(t,e);n.classGroupId=r},S6=(e,t,r,n)=>{if(L6(e)){Jo(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(y6(r,e))},$6=(e,t,r,n)=>{const o=Object.entries(e),l=o.length;for(let i=0;i<l;i++){const[c,d]=o[i];Jo(d,P0(t,c),r,n)}},P0=(e,t)=>{let r=e;const n=t.split(ra),o=n.length;for(let l=0;l<o;l++){const i=n[l];let c=r.nextPart.get(i);c||(c=H0(),r.nextPart.set(i,c)),r=c}return r},L6=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,O6=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const o=(l,i)=>{r[l]=i,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(l){let i=r[l];if(i!==void 0)return i;if((i=n[l])!==void 0)return o(l,i),i},set(l,i){l in r?r[l]=i:o(l,i)}}},vo="!",Ns=":",N6=[],Fs=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),F6=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=o=>{const l=[];let i=0,c=0,d=0,u;const f=o.length;for(let x=0;x<f;x++){const y=o[x];if(i===0&&c===0){if(y===Ns){l.push(o.slice(d,x)),d=x+1;continue}if(y==="/"){u=x;continue}}y==="["?i++:y==="]"?i--:y==="("?c++:y===")"&&c--}const m=l.length===0?o:o.slice(d);let h=m,g=!1;m.endsWith(vo)?(h=m.slice(0,-1),g=!0):m.startsWith(vo)&&(h=m.slice(1),g=!0);const w=u&&u>d?u-d:void 0;return Fs(l,g,h,w)};if(t){const o=t+Ns,l=n;n=i=>i.startsWith(o)?l(i.slice(o.length)):Fs(N6,!1,i,void 0,!0)}if(r){const o=n;n=l=>r({className:l,parseClassName:o})}return n},I6=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let o=[];for(let l=0;l<r.length;l++){const i=r[l],c=i[0]==="[",d=t.has(i);c||d?(o.length>0&&(o.sort(),n.push(...o),o=[]),n.push(i)):o.push(i)}return o.length>0&&(o.sort(),n.push(...o)),n}},Z6=e=>({cache:O6(e.cacheSize),parseClassName:F6(e),sortModifiers:I6(e),...k6(e)}),B6=/\s+/,V6=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:l}=t,i=[],c=e.trim().split(B6);let d="";for(let u=c.length-1;u>=0;u-=1){const f=c[u],{isExternal:m,modifiers:h,hasImportantModifier:g,baseClassName:w,maybePostfixModifierPosition:x}=r(f);if(m){d=f+(d.length>0?" "+d:d);continue}let y=!!x,b=n(y?w.substring(0,x):w);if(!b){if(!y){d=f+(d.length>0?" "+d:d);continue}if(b=n(w),!b){d=f+(d.length>0?" "+d:d);continue}y=!1}const p=h.length===0?"":h.length===1?h[0]:l(h).join(":"),E=g?p+vo:p,R=E+b;if(i.indexOf(R)>-1)continue;i.push(R);const j=o(b,y);for(let A=0;A<j.length;++A){const S=j[A];i.push(E+S)}d=f+(d.length>0?" "+d:d)}return d},T6=(...e)=>{let t=0,r,n,o="";for(;t<e.length;)(r=e[t++])&&(n=W0(r))&&(o&&(o+=" "),o+=n);return o},W0=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=W0(e[n]))&&(r&&(r+=" "),r+=t);return r},D6=(e,...t)=>{let r,n,o,l;const i=d=>{const u=t.reduce((f,m)=>m(f),e());return r=Z6(u),n=r.cache.get,o=r.cache.set,l=c,c(d)},c=d=>{const u=n(d);if(u)return u;const f=V6(d,r);return o(d,f),f};return l=i,(...d)=>l(T6(...d))},H6=[],Ke=e=>{const t=r=>r[e]||H6;return t.isThemeGetter=!0,t},z0=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,q0=/^\((?:(\w[\w-]*):)?(.+)\)$/i,_6=/^\d+\/\d+$/,P6=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,W6=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,z6=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,q6=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,U6=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,wr=e=>_6.test(e),Ae=e=>!!e&&!Number.isNaN(Number(e)),Ut=e=>!!e&&Number.isInteger(Number(e)),Ba=e=>e.endsWith("%")&&Ae(e.slice(0,-1)),Ht=e=>P6.test(e),G6=()=>!0,K6=e=>W6.test(e)&&!z6.test(e),U0=()=>!1,Y6=e=>q6.test(e),J6=e=>U6.test(e),X6=e=>!ve(e)&&!we(e),Q6=e=>Or(e,Y0,U0),ve=e=>z0.test(e),nr=e=>Or(e,J0,K6),Va=e=>Or(e,ap,Ae),Is=e=>Or(e,G0,U0),ep=e=>Or(e,K0,J6),Mn=e=>Or(e,X0,Y6),we=e=>q0.test(e),Hr=e=>Nr(e,J0),tp=e=>Nr(e,op),Zs=e=>Nr(e,G0),rp=e=>Nr(e,Y0),np=e=>Nr(e,K0),An=e=>Nr(e,X0,!0),Or=(e,t,r)=>{const n=z0.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},Nr=(e,t,r=!1)=>{const n=q0.exec(e);return n?n[1]?t(n[1]):r:!1},G0=e=>e==="position"||e==="percentage",K0=e=>e==="image"||e==="url",Y0=e=>e==="length"||e==="size"||e==="bg-size",J0=e=>e==="length",ap=e=>e==="number",op=e=>e==="family-name",X0=e=>e==="shadow",sp=()=>{const e=Ke("color"),t=Ke("font"),r=Ke("text"),n=Ke("font-weight"),o=Ke("tracking"),l=Ke("leading"),i=Ke("breakpoint"),c=Ke("container"),d=Ke("spacing"),u=Ke("radius"),f=Ke("shadow"),m=Ke("inset-shadow"),h=Ke("text-shadow"),g=Ke("drop-shadow"),w=Ke("blur"),x=Ke("perspective"),y=Ke("aspect"),b=Ke("ease"),p=Ke("animate"),E=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],j=()=>[...R(),we,ve],A=()=>["auto","hidden","clip","visible","scroll"],S=()=>["auto","contain","none"],N=()=>[we,ve,d],B=()=>[wr,"full","auto",...N()],$=()=>[Ut,"none","subgrid",we,ve],_=()=>["auto",{span:["full",Ut,we,ve]},Ut,we,ve],W=()=>[Ut,"auto",we,ve],K=()=>["auto","min","max","fr",we,ve],Q=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],q=()=>["start","end","center","stretch","center-safe","end-safe"],ce=()=>["auto",...N()],U=()=>[wr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...N()],M=()=>[e,we,ve],F=()=>[...R(),Zs,Is,{position:[we,ve]}],ae=()=>["no-repeat",{repeat:["","x","y","space","round"]}],O=()=>["auto","cover","contain",rp,Q6,{size:[we,ve]}],J=()=>[Ba,Hr,nr],T=()=>["","none","full",u,we,ve],Z=()=>["",Ae,Hr,nr],te=()=>["solid","dashed","dotted","double"],me=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],re=()=>[Ae,Ba,Zs,Is],pe=()=>["","none",w,we,ve],se=()=>["none",Ae,we,ve],le=()=>["none",Ae,we,ve],Ee=()=>[Ae,we,ve],be=()=>[wr,"full",...N()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ht],breakpoint:[Ht],color:[G6],container:[Ht],"drop-shadow":[Ht],ease:["in","out","in-out"],font:[X6],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ht],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ht],shadow:[Ht],spacing:["px",Ae],text:[Ht],"text-shadow":[Ht],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",wr,ve,we,y]}],container:["container"],columns:[{columns:[Ae,ve,we,c]}],"break-after":[{"break-after":E()}],"break-before":[{"break-before":E()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:j()}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:B()}],"inset-x":[{"inset-x":B()}],"inset-y":[{"inset-y":B()}],start:[{start:B()}],end:[{end:B()}],top:[{top:B()}],right:[{right:B()}],bottom:[{bottom:B()}],left:[{left:B()}],visibility:["visible","invisible","collapse"],z:[{z:[Ut,"auto",we,ve]}],basis:[{basis:[wr,"full","auto",c,...N()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ae,wr,"auto","initial","none",ve]}],grow:[{grow:["",Ae,we,ve]}],shrink:[{shrink:["",Ae,we,ve]}],order:[{order:[Ut,"first","last","none",we,ve]}],"grid-cols":[{"grid-cols":$()}],"col-start-end":[{col:_()}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":$()}],"row-start-end":[{row:_()}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":K()}],"auto-rows":[{"auto-rows":K()}],gap:[{gap:N()}],"gap-x":[{"gap-x":N()}],"gap-y":[{"gap-y":N()}],"justify-content":[{justify:[...Q(),"normal"]}],"justify-items":[{"justify-items":[...q(),"normal"]}],"justify-self":[{"justify-self":["auto",...q()]}],"align-content":[{content:["normal",...Q()]}],"align-items":[{items:[...q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...q(),{baseline:["","last"]}]}],"place-content":[{"place-content":Q()}],"place-items":[{"place-items":[...q(),"baseline"]}],"place-self":[{"place-self":["auto",...q()]}],p:[{p:N()}],px:[{px:N()}],py:[{py:N()}],ps:[{ps:N()}],pe:[{pe:N()}],pt:[{pt:N()}],pr:[{pr:N()}],pb:[{pb:N()}],pl:[{pl:N()}],m:[{m:ce()}],mx:[{mx:ce()}],my:[{my:ce()}],ms:[{ms:ce()}],me:[{me:ce()}],mt:[{mt:ce()}],mr:[{mr:ce()}],mb:[{mb:ce()}],ml:[{ml:ce()}],"space-x":[{"space-x":N()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":N()}],"space-y-reverse":["space-y-reverse"],size:[{size:U()}],w:[{w:[c,"screen",...U()]}],"min-w":[{"min-w":[c,"screen","none",...U()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[i]},...U()]}],h:[{h:["screen","lh",...U()]}],"min-h":[{"min-h":["screen","lh","none",...U()]}],"max-h":[{"max-h":["screen","lh",...U()]}],"font-size":[{text:["base",r,Hr,nr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,we,Va]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ba,ve]}],"font-family":[{font:[tp,ve,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,we,ve]}],"line-clamp":[{"line-clamp":[Ae,"none",we,Va]}],leading:[{leading:[l,...N()]}],"list-image":[{"list-image":["none",we,ve]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",we,ve]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...te(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ae,"from-font","auto",we,nr]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[Ae,"auto",we,ve]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",we,ve]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",we,ve]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:F()}],"bg-repeat":[{bg:ae()}],"bg-size":[{bg:O()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ut,we,ve],radial:["",we,ve],conic:[Ut,we,ve]},np,ep]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:J()}],"gradient-via-pos":[{via:J()}],"gradient-to-pos":[{to:J()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:T()}],"rounded-s":[{"rounded-s":T()}],"rounded-e":[{"rounded-e":T()}],"rounded-t":[{"rounded-t":T()}],"rounded-r":[{"rounded-r":T()}],"rounded-b":[{"rounded-b":T()}],"rounded-l":[{"rounded-l":T()}],"rounded-ss":[{"rounded-ss":T()}],"rounded-se":[{"rounded-se":T()}],"rounded-ee":[{"rounded-ee":T()}],"rounded-es":[{"rounded-es":T()}],"rounded-tl":[{"rounded-tl":T()}],"rounded-tr":[{"rounded-tr":T()}],"rounded-br":[{"rounded-br":T()}],"rounded-bl":[{"rounded-bl":T()}],"border-w":[{border:Z()}],"border-w-x":[{"border-x":Z()}],"border-w-y":[{"border-y":Z()}],"border-w-s":[{"border-s":Z()}],"border-w-e":[{"border-e":Z()}],"border-w-t":[{"border-t":Z()}],"border-w-r":[{"border-r":Z()}],"border-w-b":[{"border-b":Z()}],"border-w-l":[{"border-l":Z()}],"divide-x":[{"divide-x":Z()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Z()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...te(),"hidden","none"]}],"divide-style":[{divide:[...te(),"hidden","none"]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:[...te(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ae,we,ve]}],"outline-w":[{outline:["",Ae,Hr,nr]}],"outline-color":[{outline:M()}],shadow:[{shadow:["","none",f,An,Mn]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",m,An,Mn]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[Ae,nr]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":Z()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":["none",h,An,Mn]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[Ae,we,ve]}],"mix-blend":[{"mix-blend":[...me(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":me()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ae]}],"mask-image-linear-from-pos":[{"mask-linear-from":re()}],"mask-image-linear-to-pos":[{"mask-linear-to":re()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":re()}],"mask-image-t-to-pos":[{"mask-t-to":re()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":re()}],"mask-image-r-to-pos":[{"mask-r-to":re()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":re()}],"mask-image-b-to-pos":[{"mask-b-to":re()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":re()}],"mask-image-l-to-pos":[{"mask-l-to":re()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":re()}],"mask-image-x-to-pos":[{"mask-x-to":re()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":re()}],"mask-image-y-to-pos":[{"mask-y-to":re()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[we,ve]}],"mask-image-radial-from-pos":[{"mask-radial-from":re()}],"mask-image-radial-to-pos":[{"mask-radial-to":re()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":R()}],"mask-image-conic-pos":[{"mask-conic":[Ae]}],"mask-image-conic-from-pos":[{"mask-conic-from":re()}],"mask-image-conic-to-pos":[{"mask-conic-to":re()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:F()}],"mask-repeat":[{mask:ae()}],"mask-size":[{mask:O()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",we,ve]}],filter:[{filter:["","none",we,ve]}],blur:[{blur:pe()}],brightness:[{brightness:[Ae,we,ve]}],contrast:[{contrast:[Ae,we,ve]}],"drop-shadow":[{"drop-shadow":["","none",g,An,Mn]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:["",Ae,we,ve]}],"hue-rotate":[{"hue-rotate":[Ae,we,ve]}],invert:[{invert:["",Ae,we,ve]}],saturate:[{saturate:[Ae,we,ve]}],sepia:[{sepia:["",Ae,we,ve]}],"backdrop-filter":[{"backdrop-filter":["","none",we,ve]}],"backdrop-blur":[{"backdrop-blur":pe()}],"backdrop-brightness":[{"backdrop-brightness":[Ae,we,ve]}],"backdrop-contrast":[{"backdrop-contrast":[Ae,we,ve]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ae,we,ve]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ae,we,ve]}],"backdrop-invert":[{"backdrop-invert":["",Ae,we,ve]}],"backdrop-opacity":[{"backdrop-opacity":[Ae,we,ve]}],"backdrop-saturate":[{"backdrop-saturate":[Ae,we,ve]}],"backdrop-sepia":[{"backdrop-sepia":["",Ae,we,ve]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":N()}],"border-spacing-x":[{"border-spacing-x":N()}],"border-spacing-y":[{"border-spacing-y":N()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",we,ve]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ae,"initial",we,ve]}],ease:[{ease:["linear","initial",b,we,ve]}],delay:[{delay:[Ae,we,ve]}],animate:[{animate:["none",p,we,ve]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[x,we,ve]}],"perspective-origin":[{"perspective-origin":j()}],rotate:[{rotate:se()}],"rotate-x":[{"rotate-x":se()}],"rotate-y":[{"rotate-y":se()}],"rotate-z":[{"rotate-z":se()}],scale:[{scale:le()}],"scale-x":[{"scale-x":le()}],"scale-y":[{"scale-y":le()}],"scale-z":[{"scale-z":le()}],"scale-3d":["scale-3d"],skew:[{skew:Ee()}],"skew-x":[{"skew-x":Ee()}],"skew-y":[{"skew-y":Ee()}],transform:[{transform:[we,ve,"","none","gpu","cpu"]}],"transform-origin":[{origin:j()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:be()}],"translate-x":[{"translate-x":be()}],"translate-y":[{"translate-y":be()}],"translate-z":[{"translate-z":be()}],"translate-none":["translate-none"],accent:[{accent:M()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:M()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",we,ve]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",we,ve]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[Ae,Hr,nr,Va]}],stroke:[{stroke:["none",...M()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},lp=D6(sp);var pn=e=>e.type==="checkbox",lr=e=>e instanceof Date,ht=e=>e==null;const Q0=e=>typeof e=="object";var Ge=e=>!ht(e)&&!Array.isArray(e)&&Q0(e)&&!lr(e),ei=e=>Ge(e)&&e.target?pn(e.target)?e.target.checked:e.target.value:e,ip=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,ti=(e,t)=>e.has(ip(t)),cp=e=>{const t=e.constructor&&e.constructor.prototype;return Ge(t)&&t.hasOwnProperty("isPrototypeOf")},Xo=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Ye(e){let t;const r=Array.isArray(e),n=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)t=new Date(e);else if(!(Xo&&(e instanceof Blob||n))&&(r||Ge(e)))if(t=r?[]:Object.create(Object.getPrototypeOf(e)),!r&&!cp(e))t=e;else for(const o in e)e.hasOwnProperty(o)&&(t[o]=Ye(e[o]));else return e;return t}var Ea=e=>/^\w*$/.test(e),We=e=>e===void 0,Qo=e=>Array.isArray(e)?e.filter(Boolean):[],es=e=>Qo(e.replace(/["|']|\]/g,"").split(/\.|\[/)),fe=(e,t,r)=>{if(!t||!Ge(e))return r;const n=(Ea(t)?[t]:es(t)).reduce((o,l)=>ht(o)?o:o[l],e);return We(n)||n===e?We(e[t])?r:e[t]:n},xt=e=>typeof e=="boolean",De=(e,t,r)=>{let n=-1;const o=Ea(t)?[t]:es(t),l=o.length,i=l-1;for(;++n<l;){const c=o[n];let d=r;if(n!==i){const u=e[c];d=Ge(u)||Array.isArray(u)?u:isNaN(+o[n+1])?{}:[]}if(c==="__proto__"||c==="constructor"||c==="prototype")return;e[c]=d,e=e[c]}};const na={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},St={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},_t={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},ts=v.createContext(null);ts.displayName="HookFormContext";const vn=()=>v.useContext(ts),ri=e=>{const{children:t,...r}=e;return v.createElement(ts.Provider,{value:r},t)};var ni=(e,t,r,n=!0)=>{const o={defaultValues:t._defaultValues};for(const l in e)Object.defineProperty(o,l,{get:()=>{const i=l;return t._proxyFormState[i]!==St.all&&(t._proxyFormState[i]=!n||St.all),r&&(r[i]=!0),e[i]}});return o};const rs=typeof window<"u"?v.useLayoutEffect:v.useEffect;function dp(e){const t=vn(),{control:r=t.control,disabled:n,name:o,exact:l}=e||{},[i,c]=v.useState(r._formState),d=v.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return rs(()=>r._subscribe({name:o,formState:d.current,exact:l,callback:u=>{!n&&c({...r._formState,...u})}}),[o,n,l]),v.useEffect(()=>{d.current.isValid&&r._setValid(!0)},[r]),v.useMemo(()=>ni(i,r,d.current,!1),[i,r])}var yt=e=>typeof e=="string",wo=(e,t,r,n,o)=>yt(e)?(n&&t.watch.add(e),fe(r,e,o)):Array.isArray(e)?e.map(l=>(n&&t.watch.add(l),fe(r,l))):(n&&(t.watchAll=!0),r),go=e=>ht(e)||!Q0(e);function $t(e,t,r=new WeakSet){if(go(e)||go(t))return e===t;if(lr(e)&&lr(t))return e.getTime()===t.getTime();const n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;if(r.has(e)||r.has(t))return!0;r.add(e),r.add(t);for(const l of n){const i=e[l];if(!o.includes(l))return!1;if(l!=="ref"){const c=t[l];if(lr(i)&&lr(c)||Ge(i)&&Ge(c)||Array.isArray(i)&&Array.isArray(c)?!$t(i,c,r):i!==c)return!1}}return!0}function ns(e){const t=vn(),{control:r=t.control,name:n,defaultValue:o,disabled:l,exact:i,compute:c}=e||{},d=v.useRef(o),u=v.useRef(c),f=v.useRef(void 0),m=v.useRef(r),h=v.useRef(n);u.current=c;const[g,w]=v.useState(()=>{const R=r._getWatch(n,d.current);return u.current?u.current(R):R}),x=v.useCallback(R=>{const j=wo(n,r._names,R||r._formValues,!1,d.current);return u.current?u.current(j):j},[r._formValues,r._names,n]),y=v.useCallback(R=>{if(!l){const j=wo(n,r._names,R||r._formValues,!1,d.current);if(u.current){const A=u.current(j);$t(A,f.current)||(w(A),f.current=A)}else w(j)}},[r._formValues,r._names,l,n]);rs(()=>((m.current!==r||!$t(h.current,n))&&(m.current=r,h.current=n,y()),r._subscribe({name:n,formState:{values:!0},exact:i,callback:R=>{y(R.values)}})),[r,i,n,y]),v.useEffect(()=>r._removeUnmounted());const b=m.current!==r,p=h.current,E=v.useMemo(()=>{if(l)return null;const R=!b&&!$t(p,n);return b||R?x():null},[l,b,n,p,x]);return E!==null?E:g}function ai(e){const t=vn(),{name:r,disabled:n,control:o=t.control,shouldUnregister:l,defaultValue:i}=e,c=ti(o._names.array,r),d=v.useMemo(()=>fe(o._formValues,r,fe(o._defaultValues,r,i)),[o,r,i]),u=ns({control:o,name:r,defaultValue:d,exact:!0}),f=dp({control:o,name:r,exact:!0}),m=v.useRef(e),h=v.useRef(void 0),g=v.useRef(o.register(r,{...e.rules,value:u,...xt(e.disabled)?{disabled:e.disabled}:{}}));m.current=e;const w=v.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!fe(f.errors,r)},isDirty:{enumerable:!0,get:()=>!!fe(f.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!fe(f.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!fe(f.validatingFields,r)},error:{enumerable:!0,get:()=>fe(f.errors,r)}}),[f,r]),x=v.useCallback(E=>g.current.onChange({target:{value:ei(E),name:r},type:na.CHANGE}),[r]),y=v.useCallback(()=>g.current.onBlur({target:{value:fe(o._formValues,r),name:r},type:na.BLUR}),[r,o._formValues]),b=v.useCallback(E=>{const R=fe(o._fields,r);R&&E&&(R._f.ref={focus:()=>E.focus&&E.focus(),select:()=>E.select&&E.select(),setCustomValidity:j=>E.setCustomValidity(j),reportValidity:()=>E.reportValidity()})},[o._fields,r]),p=v.useMemo(()=>({name:r,value:u,...xt(n)||f.disabled?{disabled:f.disabled||n}:{},onChange:x,onBlur:y,ref:b}),[r,n,f.disabled,x,y,b,u]);return v.useEffect(()=>{const E=o._options.shouldUnregister||l,R=h.current;R&&R!==r&&!c&&o.unregister(R),o.register(r,{...m.current.rules,...xt(m.current.disabled)?{disabled:m.current.disabled}:{}});const j=(A,S)=>{const N=fe(o._fields,A);N&&N._f&&(N._f.mount=S)};if(j(r,!0),E){const A=Ye(fe(o._options.defaultValues,r,m.current.defaultValue));De(o._defaultValues,r,A),We(fe(o._formValues,r))&&De(o._formValues,r,A)}return!c&&o.register(r),h.current=r,()=>{(c?E&&!o._state.action:E)?o.unregister(r):j(r,!1)}},[r,o,c,l]),v.useEffect(()=>{o._setDisabledField({disabled:n,name:r})},[n,r,o]),v.useMemo(()=>({field:p,formState:f,fieldState:w}),[p,f,w])}const Et=e=>e.render(ai(e));var oi=(e,t,r,n,o)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:o||!0}}:{},Yr=e=>Array.isArray(e)?e:[e],Bs=()=>{let e=[];return{get observers(){return e},next:o=>{for(const l of e)l.next&&l.next(o)},subscribe:o=>(e.push(o),{unsubscribe:()=>{e=e.filter(l=>l!==o)}}),unsubscribe:()=>{e=[]}}};function si(e,t){const r={};for(const n in e)if(e.hasOwnProperty(n)){const o=e[n],l=t[n];if(o&&Ge(o)&&l){const i=si(o,l);Ge(i)&&(r[n]=i)}else e[n]&&(r[n]=l)}return r}var st=e=>Ge(e)&&!Object.keys(e).length,as=e=>e.type==="file",Lt=e=>typeof e=="function",aa=e=>{if(!Xo)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},li=e=>e.type==="select-multiple",os=e=>e.type==="radio",up=e=>os(e)||pn(e),Ta=e=>aa(e)&&e.isConnected;function fp(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=We(e)?n++:e[t[n++]];return e}function mp(e){for(const t in e)if(e.hasOwnProperty(t)&&!We(e[t]))return!1;return!0}function Ue(e,t){const r=Array.isArray(t)?t:Ea(t)?[t]:es(t),n=r.length===1?e:fp(e,r),o=r.length-1,l=r[o];return n&&delete n[l],o!==0&&(Ge(n)&&st(n)||Array.isArray(n)&&mp(n))&&Ue(e,r.slice(0,-1)),e}var hp=e=>{for(const t in e)if(Lt(e[t]))return!0;return!1};function ii(e){return Array.isArray(e)||Ge(e)&&!hp(e)}function bo(e,t={}){for(const r in e)ii(e[r])?(t[r]=Array.isArray(e[r])?[]:{},bo(e[r],t[r])):We(e[r])||(t[r]=!0);return t}function kr(e,t,r){r||(r=bo(t));for(const n in e)ii(e[n])?We(t)||go(r[n])?r[n]=bo(e[n],Array.isArray(e[n])?[]:{}):kr(e[n],ht(t)?{}:t[n],r[n]):r[n]=!$t(e[n],t[n]);return r}const Vs={value:!1,isValid:!1},Ts={value:!0,isValid:!0};var ci=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!We(e[0].attributes.value)?We(e[0].value)||e[0].value===""?Ts:{value:e[0].value,isValid:!0}:Ts:Vs}return Vs},di=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>We(e)?e:t?e===""?NaN:e&&+e:r&&yt(e)?new Date(e):n?n(e):e;const Ds={isValid:!1,value:null};var ui=e=>Array.isArray(e)?e.reduce((t,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:t,Ds):Ds;function Hs(e){const t=e.ref;return as(t)?t.files:os(t)?ui(e.refs).value:li(t)?[...t.selectedOptions].map(({value:r})=>r):pn(t)?ci(e.refs).value:di(We(t.value)?e.ref.value:t.value,e)}var pp=(e,t,r,n)=>{const o={};for(const l of e){const i=fe(t,l);i&&De(o,l,i._f)}return{criteriaMode:r,names:[...e],fields:o,shouldUseNativeValidation:n}},oa=e=>e instanceof RegExp,_r=e=>We(e)?e:oa(e)?e.source:Ge(e)?oa(e.value)?e.value.source:e.value:e,_s=e=>({isOnSubmit:!e||e===St.onSubmit,isOnBlur:e===St.onBlur,isOnChange:e===St.onChange,isOnAll:e===St.all,isOnTouch:e===St.onTouched});const Ps="AsyncFunction";var vp=e=>!!e&&!!e.validate&&!!(Lt(e.validate)&&e.validate.constructor.name===Ps||Ge(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===Ps)),wp=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),Ws=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(n=>e.startsWith(n)&&/^\.\w+/.test(e.slice(n.length))));const Jr=(e,t,r,n)=>{for(const o of r||Object.keys(e)){const l=fe(e,o);if(l){const{_f:i,...c}=l;if(i){if(i.refs&&i.refs[0]&&t(i.refs[0],o)&&!n)return!0;if(i.ref&&t(i.ref,i.name)&&!n)return!0;if(Jr(c,t))break}else if(Ge(c)&&Jr(c,t))break}}};function zs(e,t,r){const n=fe(e,r);if(n||Ea(r))return{error:n,name:r};const o=r.split(".");for(;o.length;){const l=o.join("."),i=fe(t,l),c=fe(e,l);if(i&&!Array.isArray(i)&&r!==l)return{name:r};if(c&&c.type)return{name:l,error:c};if(c&&c.root&&c.root.type)return{name:`${l}.root`,error:c.root};o.pop()}return{name:r}}var gp=(e,t,r,n)=>{r(e);const{name:o,...l}=e;return st(l)||Object.keys(l).length>=Object.keys(t).length||Object.keys(l).find(i=>t[i]===(!n||St.all))},bp=(e,t,r)=>!e||!t||e===t||Yr(e).some(n=>n&&(r?n===t:n.startsWith(t)||t.startsWith(n))),xp=(e,t,r,n,o)=>o.isOnAll?!1:!r&&o.isOnTouch?!(t||e):(r?n.isOnBlur:o.isOnBlur)?!e:(r?n.isOnChange:o.isOnChange)?e:!0,yp=(e,t)=>!Qo(fe(e,t)).length&&Ue(e,t),Ep=(e,t,r)=>{const n=Yr(fe(e,r));return De(n,"root",t[r]),De(e,r,n),e};function qs(e,t,r="validate"){if(yt(e)||Array.isArray(e)&&e.every(yt)||xt(e)&&!e)return{type:r,message:yt(e)?e:"",ref:t}}var gr=e=>Ge(e)&&!oa(e)?e:{value:e,message:""},Us=async(e,t,r,n,o,l)=>{const{ref:i,refs:c,required:d,maxLength:u,minLength:f,min:m,max:h,pattern:g,validate:w,name:x,valueAsNumber:y,mount:b}=e._f,p=fe(r,x);if(!b||t.has(x))return{};const E=c?c[0]:i,R=W=>{o&&E.reportValidity&&(E.setCustomValidity(xt(W)?"":W||""),E.reportValidity())},j={},A=os(i),S=pn(i),N=A||S,B=(y||as(i))&&We(i.value)&&We(p)||aa(i)&&i.value===""||p===""||Array.isArray(p)&&!p.length,$=oi.bind(null,x,n,j),_=(W,K,Q,q=_t.maxLength,ce=_t.minLength)=>{const U=W?K:Q;j[x]={type:W?q:ce,message:U,ref:i,...$(W?q:ce,U)}};if(l?!Array.isArray(p)||!p.length:d&&(!N&&(B||ht(p))||xt(p)&&!p||S&&!ci(c).isValid||A&&!ui(c).isValid)){const{value:W,message:K}=yt(d)?{value:!!d,message:d}:gr(d);if(W&&(j[x]={type:_t.required,message:K,ref:E,...$(_t.required,K)},!n))return R(K),j}if(!B&&(!ht(m)||!ht(h))){let W,K;const Q=gr(h),q=gr(m);if(!ht(p)&&!isNaN(p)){const ce=i.valueAsNumber||p&&+p;ht(Q.value)||(W=ce>Q.value),ht(q.value)||(K=ce<q.value)}else{const ce=i.valueAsDate||new Date(p),U=ae=>new Date(new Date().toDateString()+" "+ae),M=i.type=="time",F=i.type=="week";yt(Q.value)&&p&&(W=M?U(p)>U(Q.value):F?p>Q.value:ce>new Date(Q.value)),yt(q.value)&&p&&(K=M?U(p)<U(q.value):F?p<q.value:ce<new Date(q.value))}if((W||K)&&(_(!!W,Q.message,q.message,_t.max,_t.min),!n))return R(j[x].message),j}if((u||f)&&!B&&(yt(p)||l&&Array.isArray(p))){const W=gr(u),K=gr(f),Q=!ht(W.value)&&p.length>+W.value,q=!ht(K.value)&&p.length<+K.value;if((Q||q)&&(_(Q,W.message,K.message),!n))return R(j[x].message),j}if(g&&!B&&yt(p)){const{value:W,message:K}=gr(g);if(oa(W)&&!p.match(W)&&(j[x]={type:_t.pattern,message:K,ref:i,...$(_t.pattern,K)},!n))return R(K),j}if(w){if(Lt(w)){const W=await w(p,r),K=qs(W,E);if(K&&(j[x]={...K,...$(_t.validate,K.message)},!n))return R(K.message),j}else if(Ge(w)){let W={};for(const K in w){if(!st(W)&&!n)break;const Q=qs(await w[K](p,r),E,K);Q&&(W={...Q,...$(K,Q.message)},R(Q.message),n&&(j[x]=W))}if(!st(W)&&(j[x]={ref:E,...W},!n))return j}}return R(!0),j};const kp={mode:St.onSubmit,reValidateMode:St.onChange,shouldFocusError:!0};function Rp(e={}){let t={...kp,...e},r={submitCount:0,isDirty:!1,isReady:!1,isLoading:Lt(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},n={},o=Ge(t.defaultValues)||Ge(t.values)?Ye(t.defaultValues||t.values)||{}:{},l=t.shouldUnregister?{}:Ye(o),i={action:!1,mount:!1,watch:!1},c={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},d,u=0;const f={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let m={...f};const h={array:Bs(),state:Bs()},g=t.criteriaMode===St.all,w=k=>C=>{clearTimeout(u),u=setTimeout(k,C)},x=async k=>{if(!t.disabled&&(f.isValid||m.isValid||k)){const C=t.resolver?st((await S()).errors):await B(n,!0);C!==r.isValid&&h.state.next({isValid:C})}},y=(k,C)=>{!t.disabled&&(f.isValidating||f.validatingFields||m.isValidating||m.validatingFields)&&((k||Array.from(c.mount)).forEach(L=>{L&&(C?De(r.validatingFields,L,C):Ue(r.validatingFields,L))}),h.state.next({validatingFields:r.validatingFields,isValidating:!st(r.validatingFields)}))},b=(k,C=[],L,z,P=!0,H=!0)=>{if(z&&L&&!t.disabled){if(i.action=!0,H&&Array.isArray(fe(n,k))){const G=L(fe(n,k),z.argA,z.argB);P&&De(n,k,G)}if(H&&Array.isArray(fe(r.errors,k))){const G=L(fe(r.errors,k),z.argA,z.argB);P&&De(r.errors,k,G),yp(r.errors,k)}if((f.touchedFields||m.touchedFields)&&H&&Array.isArray(fe(r.touchedFields,k))){const G=L(fe(r.touchedFields,k),z.argA,z.argB);P&&De(r.touchedFields,k,G)}(f.dirtyFields||m.dirtyFields)&&(r.dirtyFields=kr(o,l)),h.state.next({name:k,isDirty:_(k,C),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else De(l,k,C)},p=(k,C)=>{De(r.errors,k,C),h.state.next({errors:r.errors})},E=k=>{r.errors=k,h.state.next({errors:r.errors,isValid:!1})},R=(k,C,L,z)=>{const P=fe(n,k);if(P){const H=fe(l,k,We(L)?fe(o,k):L);We(H)||z&&z.defaultChecked||C?De(l,k,C?H:Hs(P._f)):Q(k,H),i.mount&&x()}},j=(k,C,L,z,P)=>{let H=!1,G=!1;const ue={name:k};if(!t.disabled){if(!L||z){(f.isDirty||m.isDirty)&&(G=r.isDirty,r.isDirty=ue.isDirty=_(),H=G!==ue.isDirty);const ne=$t(fe(o,k),C);G=!!fe(r.dirtyFields,k),ne?Ue(r.dirtyFields,k):De(r.dirtyFields,k,!0),ue.dirtyFields=r.dirtyFields,H=H||(f.dirtyFields||m.dirtyFields)&&G!==!ne}if(L){const ne=fe(r.touchedFields,k);ne||(De(r.touchedFields,k,L),ue.touchedFields=r.touchedFields,H=H||(f.touchedFields||m.touchedFields)&&ne!==L)}H&&P&&h.state.next(ue)}return H?ue:{}},A=(k,C,L,z)=>{const P=fe(r.errors,k),H=(f.isValid||m.isValid)&&xt(C)&&r.isValid!==C;if(t.delayError&&L?(d=w(()=>p(k,L)),d(t.delayError)):(clearTimeout(u),d=null,L?De(r.errors,k,L):Ue(r.errors,k)),(L?!$t(P,L):P)||!st(z)||H){const G={...z,...H&&xt(C)?{isValid:C}:{},errors:r.errors,name:k};r={...r,...G},h.state.next(G)}},S=async k=>{y(k,!0);const C=await t.resolver(l,t.context,pp(k||c.mount,n,t.criteriaMode,t.shouldUseNativeValidation));return y(k),C},N=async k=>{const{errors:C}=await S(k);if(k)for(const L of k){const z=fe(C,L);z?De(r.errors,L,z):Ue(r.errors,L)}else r.errors=C;return C},B=async(k,C,L={valid:!0})=>{for(const z in k){const P=k[z];if(P){const{_f:H,...G}=P;if(H){const ue=c.array.has(H.name),ne=P._f&&vp(P._f);ne&&f.validatingFields&&y([H.name],!0);const oe=await Us(P,c.disabled,l,g,t.shouldUseNativeValidation&&!C,ue);if(ne&&f.validatingFields&&y([H.name]),oe[H.name]&&(L.valid=!1,C))break;!C&&(fe(oe,H.name)?ue?Ep(r.errors,oe,H.name):De(r.errors,H.name,oe[H.name]):Ue(r.errors,H.name))}!st(G)&&await B(G,C,L)}}return L.valid},$=()=>{for(const k of c.unMount){const C=fe(n,k);C&&(C._f.refs?C._f.refs.every(L=>!Ta(L)):!Ta(C._f.ref))&&re(k)}c.unMount=new Set},_=(k,C)=>!t.disabled&&(k&&C&&De(l,k,C),!$t(ae(),o)),W=(k,C,L)=>wo(k,c,{...i.mount?l:We(C)?o:yt(k)?{[k]:C}:C},L,C),K=k=>Qo(fe(i.mount?l:o,k,t.shouldUnregister?fe(o,k,[]):[])),Q=(k,C,L={})=>{const z=fe(n,k);let P=C;if(z){const H=z._f;H&&(!H.disabled&&De(l,k,di(C,H)),P=aa(H.ref)&&ht(C)?"":C,li(H.ref)?[...H.ref.options].forEach(G=>G.selected=P.includes(G.value)):H.refs?pn(H.ref)?H.refs.forEach(G=>{(!G.defaultChecked||!G.disabled)&&(Array.isArray(P)?G.checked=!!P.find(ue=>ue===G.value):G.checked=P===G.value||!!P)}):H.refs.forEach(G=>G.checked=G.value===P):as(H.ref)?H.ref.value="":(H.ref.value=P,H.ref.type||h.state.next({name:k,values:Ye(l)})))}(L.shouldDirty||L.shouldTouch)&&j(k,P,L.shouldTouch,L.shouldDirty,!0),L.shouldValidate&&F(k)},q=(k,C,L)=>{for(const z in C){if(!C.hasOwnProperty(z))return;const P=C[z],H=k+"."+z,G=fe(n,H);(c.array.has(k)||Ge(P)||G&&!G._f)&&!lr(P)?q(H,P,L):Q(H,P,L)}},ce=(k,C,L={})=>{const z=fe(n,k),P=c.array.has(k),H=Ye(C);De(l,k,H),P?(h.array.next({name:k,values:Ye(l)}),(f.isDirty||f.dirtyFields||m.isDirty||m.dirtyFields)&&L.shouldDirty&&h.state.next({name:k,dirtyFields:kr(o,l),isDirty:_(k,H)})):z&&!z._f&&!ht(H)?q(k,H,L):Q(k,H,L),Ws(k,c)&&h.state.next({...r,name:k}),h.state.next({name:i.mount?k:void 0,values:Ye(l)})},U=async k=>{i.mount=!0;const C=k.target;let L=C.name,z=!0;const P=fe(n,L),H=ne=>{z=Number.isNaN(ne)||lr(ne)&&isNaN(ne.getTime())||$t(ne,fe(l,L,ne))},G=_s(t.mode),ue=_s(t.reValidateMode);if(P){let ne,oe;const ke=C.type?Hs(P._f):ei(k),I=k.type===na.BLUR||k.type===na.FOCUS_OUT,V=!wp(P._f)&&!t.resolver&&!fe(r.errors,L)&&!P._f.deps||xp(I,fe(r.touchedFields,L),r.isSubmitted,ue,G),X=Ws(L,c,I);De(l,L,ke),I?(!C||!C.readOnly)&&(P._f.onBlur&&P._f.onBlur(k),d&&d(0)):P._f.onChange&&P._f.onChange(k);const ee=j(L,ke,I),je=!st(ee)||X;if(!I&&h.state.next({name:L,type:k.type,values:Ye(l)}),V)return(f.isValid||m.isValid)&&(t.mode==="onBlur"?I&&x():I||x()),je&&h.state.next({name:L,...X?{}:ee});if(!I&&X&&h.state.next({...r}),t.resolver){const{errors:he}=await S([L]);if(H(ke),z){const xe=zs(r.errors,n,L),Fe=zs(he,n,xe.name||L);ne=Fe.error,L=Fe.name,oe=st(he)}}else y([L],!0),ne=(await Us(P,c.disabled,l,g,t.shouldUseNativeValidation))[L],y([L]),H(ke),z&&(ne?oe=!1:(f.isValid||m.isValid)&&(oe=await B(n,!0)));z&&(P._f.deps&&(!Array.isArray(P._f.deps)||P._f.deps.length>0)&&F(P._f.deps),A(L,oe,ne,ee))}},M=(k,C)=>{if(fe(r.errors,C)&&k.focus)return k.focus(),1},F=async(k,C={})=>{let L,z;const P=Yr(k);if(t.resolver){const H=await N(We(k)?k:P);L=st(H),z=k?!P.some(G=>fe(H,G)):L}else k?(z=(await Promise.all(P.map(async H=>{const G=fe(n,H);return await B(G&&G._f?{[H]:G}:G)}))).every(Boolean),!(!z&&!r.isValid)&&x()):z=L=await B(n);return h.state.next({...!yt(k)||(f.isValid||m.isValid)&&L!==r.isValid?{}:{name:k},...t.resolver||!k?{isValid:L}:{},errors:r.errors}),C.shouldFocus&&!z&&Jr(n,M,k?P:c.mount),z},ae=(k,C)=>{let L={...i.mount?l:o};return C&&(L=si(C.dirtyFields?r.dirtyFields:r.touchedFields,L)),We(k)?L:yt(k)?fe(L,k):k.map(z=>fe(L,z))},O=(k,C)=>({invalid:!!fe((C||r).errors,k),isDirty:!!fe((C||r).dirtyFields,k),error:fe((C||r).errors,k),isValidating:!!fe(r.validatingFields,k),isTouched:!!fe((C||r).touchedFields,k)}),J=k=>{k&&Yr(k).forEach(C=>Ue(r.errors,C)),h.state.next({errors:k?r.errors:{}})},T=(k,C,L)=>{const z=(fe(n,k,{_f:{}})._f||{}).ref,P=fe(r.errors,k)||{},{ref:H,message:G,type:ue,...ne}=P;De(r.errors,k,{...ne,...C,ref:z}),h.state.next({name:k,errors:r.errors,isValid:!1}),L&&L.shouldFocus&&z&&z.focus&&z.focus()},Z=(k,C)=>Lt(k)?h.state.subscribe({next:L=>"values"in L&&k(W(void 0,C),L)}):W(k,C,!0),te=k=>h.state.subscribe({next:C=>{bp(k.name,C.name,k.exact)&&gp(C,k.formState||f,nt,k.reRenderRoot)&&k.callback({values:{...l},...r,...C,defaultValues:o})}}).unsubscribe,me=k=>(i.mount=!0,m={...m,...k.formState},te({...k,formState:m})),re=(k,C={})=>{for(const L of k?Yr(k):c.mount)c.mount.delete(L),c.array.delete(L),C.keepValue||(Ue(n,L),Ue(l,L)),!C.keepError&&Ue(r.errors,L),!C.keepDirty&&Ue(r.dirtyFields,L),!C.keepTouched&&Ue(r.touchedFields,L),!C.keepIsValidating&&Ue(r.validatingFields,L),!t.shouldUnregister&&!C.keepDefaultValue&&Ue(o,L);h.state.next({values:Ye(l)}),h.state.next({...r,...C.keepDirty?{isDirty:_()}:{}}),!C.keepIsValid&&x()},pe=({disabled:k,name:C})=>{(xt(k)&&i.mount||k||c.disabled.has(C))&&(k?c.disabled.add(C):c.disabled.delete(C))},se=(k,C={})=>{let L=fe(n,k);const z=xt(C.disabled)||xt(t.disabled);return De(n,k,{...L||{},_f:{...L&&L._f?L._f:{ref:{name:k}},name:k,mount:!0,...C}}),c.mount.add(k),L?pe({disabled:xt(C.disabled)?C.disabled:t.disabled,name:k}):R(k,!0,C.value),{...z?{disabled:C.disabled||t.disabled}:{},...t.progressive?{required:!!C.required,min:_r(C.min),max:_r(C.max),minLength:_r(C.minLength),maxLength:_r(C.maxLength),pattern:_r(C.pattern)}:{},name:k,onChange:U,onBlur:U,ref:P=>{if(P){se(k,C),L=fe(n,k);const H=We(P.value)&&P.querySelectorAll&&P.querySelectorAll("input,select,textarea")[0]||P,G=up(H),ue=L._f.refs||[];if(G?ue.find(ne=>ne===H):H===L._f.ref)return;De(n,k,{_f:{...L._f,...G?{refs:[...ue.filter(Ta),H,...Array.isArray(fe(o,k))?[{}]:[]],ref:{type:H.type,name:k}}:{ref:H}}}),R(k,!1,void 0,H)}else L=fe(n,k,{}),L._f&&(L._f.mount=!1),(t.shouldUnregister||C.shouldUnregister)&&!(ti(c.array,k)&&i.action)&&c.unMount.add(k)}}},le=()=>t.shouldFocusError&&Jr(n,M,c.mount),Ee=k=>{xt(k)&&(h.state.next({disabled:k}),Jr(n,(C,L)=>{const z=fe(n,L);z&&(C.disabled=z._f.disabled||k,Array.isArray(z._f.refs)&&z._f.refs.forEach(P=>{P.disabled=z._f.disabled||k}))},0,!1))},be=(k,C)=>async L=>{let z;L&&(L.preventDefault&&L.preventDefault(),L.persist&&L.persist());let P=Ye(l);if(h.state.next({isSubmitting:!0}),t.resolver){const{errors:H,values:G}=await S();r.errors=H,P=Ye(G)}else await B(n);if(c.disabled.size)for(const H of c.disabled)Ue(P,H);if(Ue(r.errors,"root"),st(r.errors)){h.state.next({errors:{}});try{await k(P,L)}catch(H){z=H}}else C&&await C({...r.errors},L),le(),setTimeout(le);if(h.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:st(r.errors)&&!z,submitCount:r.submitCount+1,errors:r.errors}),z)throw z},Se=(k,C={})=>{fe(n,k)&&(We(C.defaultValue)?ce(k,Ye(fe(o,k))):(ce(k,C.defaultValue),De(o,k,Ye(C.defaultValue))),C.keepTouched||Ue(r.touchedFields,k),C.keepDirty||(Ue(r.dirtyFields,k),r.isDirty=C.defaultValue?_(k,Ye(fe(o,k))):_()),C.keepError||(Ue(r.errors,k),f.isValid&&x()),h.state.next({...r}))},Le=(k,C={})=>{const L=k?Ye(k):o,z=Ye(L),P=st(k),H=P?o:z;if(C.keepDefaultValues||(o=L),!C.keepValues){if(C.keepDirtyValues){const G=new Set([...c.mount,...Object.keys(kr(o,l))]);for(const ue of Array.from(G))fe(r.dirtyFields,ue)?De(H,ue,fe(l,ue)):ce(ue,fe(H,ue))}else{if(Xo&&We(k))for(const G of c.mount){const ue=fe(n,G);if(ue&&ue._f){const ne=Array.isArray(ue._f.refs)?ue._f.refs[0]:ue._f.ref;if(aa(ne)){const oe=ne.closest("form");if(oe){oe.reset();break}}}}if(C.keepFieldsRef)for(const G of c.mount)ce(G,fe(H,G));else n={}}l=t.shouldUnregister?C.keepDefaultValues?Ye(o):{}:Ye(H),h.array.next({values:{...H}}),h.state.next({values:{...H}})}c={mount:C.keepDirtyValues?c.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},i.mount=!f.isValid||!!C.keepIsValid||!!C.keepDirtyValues||!t.shouldUnregister&&!st(H),i.watch=!!t.shouldUnregister,h.state.next({submitCount:C.keepSubmitCount?r.submitCount:0,isDirty:P?!1:C.keepDirty?r.isDirty:!!(C.keepDefaultValues&&!$t(k,o)),isSubmitted:C.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:P?{}:C.keepDirtyValues?C.keepDefaultValues&&l?kr(o,l):r.dirtyFields:C.keepDefaultValues&&k?kr(o,k):C.keepDirty?r.dirtyFields:{},touchedFields:C.keepTouched?r.touchedFields:{},errors:C.keepErrors?r.errors:{},isSubmitSuccessful:C.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:o})},Ze=(k,C)=>Le(Lt(k)?k(l):k,C),Me=(k,C={})=>{const L=fe(n,k),z=L&&L._f;if(z){const P=z.refs?z.refs[0]:z.ref;P.focus&&(P.focus(),C.shouldSelect&&Lt(P.select)&&P.select())}},nt=k=>{r={...r,...k}},D={control:{register:se,unregister:re,getFieldState:O,handleSubmit:be,setError:T,_subscribe:te,_runSchema:S,_focusError:le,_getWatch:W,_getDirty:_,_setValid:x,_setFieldArray:b,_setDisabledField:pe,_setErrors:E,_getFieldArray:K,_reset:Le,_resetDefaultValues:()=>Lt(t.defaultValues)&&t.defaultValues().then(k=>{Ze(k,t.resetOptions),h.state.next({isLoading:!1})}),_removeUnmounted:$,_disableForm:Ee,_subjects:h,_proxyFormState:f,get _fields(){return n},get _formValues(){return l},get _state(){return i},set _state(k){i=k},get _defaultValues(){return o},get _names(){return c},set _names(k){c=k},get _formState(){return r},get _options(){return t},set _options(k){t={...t,...k}}},subscribe:me,trigger:F,register:se,handleSubmit:be,watch:Z,setValue:ce,getValues:ae,reset:Ze,resetField:Se,clearErrors:J,unregister:re,setError:T,setFocus:Me,getFieldState:O};return{...D,formControl:D}}function fi(e={}){const t=v.useRef(void 0),r=v.useRef(void 0),[n,o]=v.useState({isDirty:!1,isValidating:!1,isLoading:Lt(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:Lt(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:n},e.defaultValues&&!Lt(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:i,...c}=Rp(e);t.current={...c,formState:n}}const l=t.current.control;return l._options=e,rs(()=>{const i=l._subscribe({formState:l._proxyFormState,callback:()=>o({...l._formState}),reRenderRoot:!0});return o(c=>({...c,isReady:!0})),l._formState.isReady=!0,i},[l]),v.useEffect(()=>l._disableForm(e.disabled),[l,e.disabled]),v.useEffect(()=>{e.mode&&(l._options.mode=e.mode),e.reValidateMode&&(l._options.reValidateMode=e.reValidateMode)},[l,e.mode,e.reValidateMode]),v.useEffect(()=>{e.errors&&(l._setErrors(e.errors),l._focusError())},[l,e.errors]),v.useEffect(()=>{e.shouldUnregister&&l._subjects.state.next({values:l._getWatch()})},[l,e.shouldUnregister]),v.useEffect(()=>{if(l._proxyFormState.isDirty){const i=l._getDirty();i!==n.isDirty&&l._subjects.state.next({isDirty:i})}},[l,n.isDirty]),v.useEffect(()=>{e.values&&!$t(e.values,r.current)?(l._reset(e.values,{keepFieldsRef:!0,...l._options.resetOptions}),r.current=e.values,o(i=>({...i}))):l._resetDefaultValues()},[l,e.values]),v.useEffect(()=>{l._state.mount||(l._setValid(),l._state.mount=!0),l._state.watch&&(l._state.watch=!1,l._subjects.state.next({...l._formState})),l._removeUnmounted()}),t.current.formState=ni(n,l),t.current}const mi={sm:"text-ds-sm",md:"text-ds-md",lg:"text-ds-lg"},jp={sm:"h-6",md:"h-10",lg:"h-12"},Cp={sm:"px-2",md:"px-2.5",lg:"px-3"};function Gs(e,t,r,n,o,l,i){const c=t?"datetime-local":"date",d={sm:"var(--font-size-sm)",md:"var(--font-size-md)",lg:"var(--font-size-lg)"},u=de("box-border w-full rounded-lg border outline-none transition ds-date",mi[r],jp[r],Cp[r],l?"border-[var(--color-ds-border-error)]":"border-[var(--color-ds-border-default)]"),h=lp(u,o?"bg-[var(--color-ds-background-disabled)] border-[var(--color-ds-border-muted)] text-[var(--color-ds-text-disabled)] cursor-not-allowed opacity-60":"bg-[var(--color-ds-background-page)] text-[var(--color-ds-text-primary)]",i);return s.jsxs(s.Fragment,{children:[s.jsx("input",{id:e,type:c,disabled:o,"aria-disabled":o,"data-disabled":o?"true":"false",...n,className:h,style:{"--ds-date-fz":d[r]}}),s.jsx("div",{children:l!=null&&l.message?s.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:l.message}):s.jsx("span",{"aria-hidden":"true",children:" "})})]})}function $r(e){const{control:t,name:r,rules:n,defaultValue:o,showTime:l=!1,size:i="sm",width:c="100%",label:d,labelHidden:u=!1,hasError:f=!1,errorMessage:m="",disabled:h=!1,className:g,onChange:w}=e,x=v.useId(),y=r||x;return s.jsxs("div",{className:de("flex flex-col",g),style:{width:c,maxWidth:"100%"},children:[d&&s.jsx("label",{htmlFor:y,className:de("pb-2 text-[var(--color-ds-text-primary)]",mi[i],u&&"sr-only"),children:d}),t&&r?s.jsx(Et,{name:r,control:t,rules:n,defaultValue:o,render:({field:b,fieldState:p})=>Gs(y,l,i,{value:b.value,onChange:b.onChange,onBlur:b.onBlur},h,p.error,g)}):Gs(y,l,i,{defaultValue:o,onChange:w},h,f?{message:m}:void 0,g)]})}const Mp=({trigger:e,items:t,align:r="left",className:n})=>{const[o,l]=v.useState(!1),i=v.useRef(null),c=v.useRef([]);v.useEffect(()=>{const u=f=>{i.current&&!i.current.contains(f.target)&&l(!1)};return document.addEventListener("mousedown",u),()=>document.removeEventListener("mousedown",u)},[]);const d=u=>{var m,h;const f=c.current.findIndex(g=>g===document.activeElement);if(u.key==="Escape")l(!1);else if(u.key==="ArrowDown"){u.preventDefault();const g=(f+1)%t.length;(m=c.current[g])==null||m.focus()}else if(u.key==="ArrowUp"){u.preventDefault();const g=(f-1+t.length)%t.length;(h=c.current[g])==null||h.focus()}};return s.jsxs("div",{className:de("relative inline-block",n),ref:i,children:[s.jsx("button",{type:"button",onClick:()=>l(u=>!u),className:"inline-flex items-center focus:outline-none","aria-haspopup":"menu","aria-expanded":o,children:e}),o&&s.jsx("div",{role:"menu","aria-orientation":"vertical",className:de("absolute mt-2 min-w-[160px] bg-[var(--color-ds-background-page)]","border border-[var(--color-ds-border-muted)] rounded shadow-lg z-10",r==="right"?"right-0":"left-0"),onKeyDown:d,children:t.map((u,f)=>{const{label:m,onSelect:h,disabled:g,icon:w}=u;return s.jsxs("button",{role:"menuitem",type:"button",disabled:g,ref:x=>{c.current[f]=x},className:de("w-full flex items-center px-4 py-2 text-[var(--color-ds-text-primary)] text-ds-md transition-colors",g?"opacity-50 cursor-not-allowed":"hover:bg-[var(--color-ds-background-surface)]"),onClick:()=>{g||(h(),l(!1))},children:[w&&s.jsx(w,{className:"w-5 h-5 mr-2 text-[var(--color-ds-text-secondary)]"}),m]},f)})})]})},Ap=(e,t,r,n)=>{var l,i,c,d;const o=[r,{code:t,...n||{}}];if((i=(l=e==null?void 0:e.services)==null?void 0:l.logger)!=null&&i.forward)return e.services.logger.forward(o,"warn","react-i18next::",!0);cr(o[0])&&(o[0]=`react-i18next:: ${o[0]}`),(d=(c=e==null?void 0:e.services)==null?void 0:c.logger)!=null&&d.warn?e.services.logger.warn(...o):console!=null&&console.warn&&console.warn(...o)},Ks={},hi=(e,t,r,n)=>{cr(r)&&Ks[r]||(cr(r)&&(Ks[r]=new Date),Ap(e,t,r,n))},pi=(e,t)=>()=>{if(e.isInitialized)t();else{const r=()=>{setTimeout(()=>{e.off("initialized",r)},0),t()};e.on("initialized",r)}},xo=(e,t,r)=>{e.loadNamespaces(t,pi(e,r))},Ys=(e,t,r,n)=>{if(cr(r)&&(r=[r]),e.options.preload&&e.options.preload.indexOf(t)>-1)return xo(e,r,n);r.forEach(o=>{e.options.ns.indexOf(o)<0&&e.options.ns.push(o)}),e.loadLanguages(t,pi(e,n))},Sp=(e,t,r={})=>!t.languages||!t.languages.length?(hi(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:r.lng,precheck:(n,o)=>{if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&n.services.backendConnector.backend&&n.isLanguageChangingTo&&!o(n.isLanguageChangingTo,e))return!1}}),cr=e=>typeof e=="string",$p=e=>typeof e=="object"&&e!==null,Lp=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Op={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},Np=e=>Op[e],Fp=e=>e.replace(Lp,Np);let Ip={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Fp};const Zp=()=>Ip;let Bp;const Vp=()=>Bp,Tp=v.createContext();class Dp{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(r=>{this.usedNamespaces[r]||(this.usedNamespaces[r]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var Sn={exports:{}},Da={};/**
23
+ * @license React
24
+ * use-sync-external-store-shim.production.js
25
+ *
26
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
27
+ *
28
+ * This source code is licensed under the MIT license found in the
29
+ * LICENSE file in the root directory of this source tree.
30
+ */var Js;function Hp(){if(Js)return Da;Js=1;var e=v;function t(m,h){return m===h&&(m!==0||1/m===1/h)||m!==m&&h!==h}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,l=e.useLayoutEffect,i=e.useDebugValue;function c(m,h){var g=h(),w=n({inst:{value:g,getSnapshot:h}}),x=w[0].inst,y=w[1];return l(function(){x.value=g,x.getSnapshot=h,d(x)&&y({inst:x})},[m,g,h]),o(function(){return d(x)&&y({inst:x}),m(function(){d(x)&&y({inst:x})})},[m]),i(g),g}function d(m){var h=m.getSnapshot;m=m.value;try{var g=h();return!r(m,g)}catch{return!0}}function u(m,h){return h()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:c;return Da.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,Da}var Ha={};/**
31
+ * @license React
32
+ * use-sync-external-store-shim.development.js
33
+ *
34
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
35
+ *
36
+ * This source code is licensed under the MIT license found in the
37
+ * LICENSE file in the root directory of this source tree.
38
+ */var Xs;function _p(){return Xs||(Xs=1,process.env.NODE_ENV!=="production"&&(function(){function e(g,w){return g===w&&(g!==0||1/g===1/w)||g!==g&&w!==w}function t(g,w){f||o.startTransition===void 0||(f=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var x=w();if(!m){var y=w();l(x,y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),m=!0)}y=i({inst:{value:x,getSnapshot:w}});var b=y[0].inst,p=y[1];return d(function(){b.value=x,b.getSnapshot=w,r(b)&&p({inst:b})},[g,x,w]),c(function(){return r(b)&&p({inst:b}),g(function(){r(b)&&p({inst:b})})},[g]),u(x),x}function r(g){var w=g.getSnapshot;g=g.value;try{var x=w();return!l(g,x)}catch{return!0}}function n(g,w){return w()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var o=v,l=typeof Object.is=="function"?Object.is:e,i=o.useState,c=o.useEffect,d=o.useLayoutEffect,u=o.useDebugValue,f=!1,m=!1,h=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;Ha.useSyncExternalStore=o.useSyncExternalStore!==void 0?o.useSyncExternalStore:h,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Ha}var Qs;function Pp(){return Qs||(Qs=1,process.env.NODE_ENV==="production"?Sn.exports=Hp():Sn.exports=_p()),Sn.exports}var Wp=Pp();const zp=(e,t)=>cr(t)?t:$p(t)&&cr(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,qp={t:zp,ready:!1},Up=()=>()=>{},vi=(e,t={})=>{var S,N;const{i18n:r}=t,{i18n:n,defaultNS:o}=v.useContext(Tp)||{},l=r||n||Vp();l&&!l.reportNamespaces&&(l.reportNamespaces=new Dp),l||hi(l,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const i=v.useMemo(()=>{var B;return{...Zp(),...(B=l==null?void 0:l.options)==null?void 0:B.react,...t}},[l,t]),{useSuspense:c,keyPrefix:d}=i,u=v.useMemo(()=>{var $;const B=o||(($=l==null?void 0:l.options)==null?void 0:$.defaultNS);return cr(B)?[B]:B||["translation"]},[e,o,l]);(N=(S=l==null?void 0:l.reportNamespaces)==null?void 0:S.addUsedNamespaces)==null||N.call(S,u);const f=v.useRef(0),m=v.useCallback(B=>{if(!l)return Up;const{bindI18n:$,bindI18nStore:_}=i,W=()=>{f.current+=1,B()};return $&&l.on($,W),_&&l.store.on(_,W),()=>{$&&$.split(" ").forEach(K=>l.off(K,W)),_&&_.split(" ").forEach(K=>l.store.off(K,W))}},[l,i]),h=v.useRef(),g=v.useCallback(()=>{if(!l)return qp;const B=!!(l.isInitialized||l.initializedStoreOnce)&&u.every(q=>Sp(q,l,i)),$=t.lng||l.language,_=f.current,W=h.current;if(W&&W.ready===B&&W.lng===$&&W.keyPrefix===d&&W.revision===_)return W;const Q={t:l.getFixedT($,i.nsMode==="fallback"?u:u[0],d),ready:B,lng:$,keyPrefix:d,revision:_};return h.current=Q,Q},[l,u,d,i,t.lng]),[w,x]=v.useState(0),{t:y,ready:b}=Wp.useSyncExternalStore(m,g,g);v.useEffect(()=>{if(l&&!b&&!c){const B=()=>x($=>$+1);t.lng?Ys(l,t.lng,u,B):xo(l,u,B)}},[l,t.lng,u,b,c,w]);const p=l||{},E=v.useRef(null),R=v.useRef(),j=B=>{const $=Object.getOwnPropertyDescriptors(B);$.__original&&delete $.__original;const _=Object.create(Object.getPrototypeOf(B),$);if(!Object.prototype.hasOwnProperty.call(_,"__original"))try{Object.defineProperty(_,"__original",{value:B,writable:!1,enumerable:!1,configurable:!1})}catch{}return _},A=v.useMemo(()=>{const B=p,$=B==null?void 0:B.language;let _=B;B&&(E.current&&E.current.__original===B?R.current!==$?(_=j(B),E.current=_,R.current=$):_=E.current:(_=j(B),E.current=_,R.current=$));const W=[y,_,b];return W.t=y,W.i18n=_,W.ready=b,W},[y,p,b,p.resolvedLanguage,p.language,p.languages]);if(l&&c&&!b)throw new Promise(B=>{const $=()=>B();t.lng?Ys(l,t.lng,u,$):xo(l,u,$)});return A},yo={sm:"text-sm",md:"text-base",lg:"text-lg"};function el(e,t,r,n,o,l,i,c,d){const{t:u}=vi(),f=v.useRef(null),m=typeof n=="number"&&t.length>=n,h=()=>{var p;!i&&!m&&((p=f.current)==null||p.click())},g=p=>{const E=p.target.files;if(!E)return;const R=Array.from(E);let j=t.concat(R);n&&(j=j.slice(0,n)),r(j),p.target.value=""},w=p=>{if(p.preventDefault(),i||m)return;const E=Array.from(p.dataTransfer.files);let R=t.concat(E);n&&(R=R.slice(0,n)),r(R)},x=p=>{p.preventDefault()},y=p=>{const E=URL.createObjectURL(p);window.open(E)},b=p=>{const E=t.filter((R,j)=>j!==p);r(E)};return s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"self-start mb-4 w-auto",children:s.jsx(ie,{type:"button",variant:"outline",size:l,icon:ho,onClick:h,disabled:i||m,children:u("ds.fileUploader.browse","Browse files")})}),!m&&s.jsxs("div",{className:de("relative flex bg-[var(--color-ds-background-page)] flex-col items-center justify-center border-2 border-dashed border-[var(--color-ds-border-muted)] rounded-lg p-4",i?"opacity-50 cursor-not-allowed":"hover:border-[var(--color-ds-border-default)]",yo[l],d),onDrop:w,onDragOver:x,children:[s.jsx("input",{id:e,type:"file",ref:f,className:"hidden",multiple:n!==1,accept:o,onChange:g,disabled:i}),s.jsx(Xe,{component:S0,size:"md",className:"w-8 h-8 text-[var(--color-ds-text-secondary)]"}),s.jsx("p",{className:"mt-3 text-[var(--color-ds-text-secondary)] text-center",children:u("ds.fileUploader.dragDrop","Drag & drop your files here or click to browse")})]}),t.length>0&&s.jsx("ul",{className:"mt-4 space-y-1",children:t.map((p,E)=>s.jsxs("li",{className:"flex items-center justify-between text-[var(--color-ds-text-secondary)] text-sm",children:[s.jsxs("div",{className:"flex items-center",children:[s.jsx(ho,{className:"w-4 h-4 mr-2","aria-hidden":"true"}),s.jsx("span",{className:"truncate pr-2",children:p.name})]}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(ie,{variant:"ghost",size:"sm",icon:tn,ariaLabel:u("ds.fileUploader.view","View"),onClick:()=>y(p)}),s.jsx(ie,{variant:"ghost",size:"sm",icon:Qe,ariaLabel:u("ds.fileUploader.remove","Remove"),onClick:()=>b(E)})]})]},E))}),s.jsx("div",{className:"pt-[5px] min-h-[18px] w-full",children:c!=null&&c.message?s.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:c.message}):s.jsx("span",{"aria-hidden":"true",children:" "})})]})}function ss(e){const{control:t,name:r,rules:n,defaultValue:o,maxFiles:l,accept:i,size:c="sm",width:d="100%",label:u,labelHidden:f=!1,disabled:m=!1,hasError:h=!1,errorMessage:g="",className:w}=e,x=v.useId(),y=r||x;if(t&&r)return s.jsxs("div",{className:de("flex flex-col",w),style:{width:d},children:[u&&s.jsx("label",{htmlFor:y,className:de("pb-[10px] text-[var(--color-ds-text-primary)]",yo[c],f&&"sr-only"),children:u}),s.jsx(Et,{name:r,control:t,rules:n,defaultValue:o instanceof FileList?Array.from(o):o||[],render:({field:E,fieldState:R})=>el(y,E.value,j=>E.onChange(j),l,i,c,m,R.error,w)})]});const[b,p]=v.useState(o instanceof FileList?Array.from(o):o||[]);return s.jsxs("div",{className:de("flex flex-col",w),style:{width:d},children:[u&&s.jsx("label",{htmlFor:y,className:de("pb-[10px] text-[var(--color-ds-text-primary)]",yo[c],f&&"sr-only"),children:u}),el(y,b,p,l,i,c,m,h?{message:g}:void 0,w)]})}const zt=({count:e=1,width:t,height:r="1em",variant:n="rect",className:o})=>{const l=Array.from({length:e});return s.jsx(s.Fragment,{children:l.map((i,c)=>s.jsx("span",{role:"status","aria-label":"Cargando...",className:de("bg-[var(--color-ds-border-muted)] animate-pulse inline-block",n==="circle"?"rounded-full":"rounded",o),style:{width:t??"auto",height:r}},c))})},Gp={sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6"},_a=400,$n=8,ka=({children:e,size:t="sm",position:r="top",className:n,onClick:o,ariaLabel:l="Más información"})=>{const[i,c]=v.useState(!1),[d,u]=v.useState({x:0,y:0}),f=v.useRef(null),m=v.useId();v.useEffect(()=>{if(i&&f.current){const w=f.current.getBoundingClientRect();let x=0,y=0;switch(r){case"top":x=w.left+w.width/2-_a/2,y=w.top-$n;break;case"bottom":x=w.left+w.width/2-_a/2,y=w.bottom+$n;break;case"left":x=w.left-_a-$n,y=w.top+w.height/2;break;case"right":x=w.right+$n,y=w.top+w.height/2;break}u({x,y})}},[i,r]);const h=()=>typeof e=="string"?s.jsx("div",{dangerouslySetInnerHTML:{__html:e}}):s.jsx(s.Fragment,{children:e}),g=s.jsx("div",{id:m,role:"tooltip","aria-hidden":!i,className:de("fixed z-50 w-[250px] bg-[var(--color-ds-background-page)] text-[var(--color-ds-text-primary)] text-ds-sm rounded p-2 shadow-lg","pointer-events-none"),style:{top:`${d.y}px`,left:`${d.x}px`,transform:r==="left"||r==="right"?"translateY(-50%)":r==="top"?"translateY(-100%)":void 0,opacity:i?1:0,visibility:i?"visible":"hidden"},children:h()});return s.jsxs(s.Fragment,{children:[s.jsx("button",{type:"button",ref:f,"aria-describedby":m,"aria-label":l,className:de("inline-flex items-center justify-center focus:outline-none",Gp[t],"text-[var(--color-ds-text-secondary)] hover:text-[var(--color-ds-text-primary)]",n),onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),onFocus:()=>c(!0),onBlur:()=>c(!1),onClick:o,children:s.jsx("span",{children:s.jsx(hn,{className:"w-full h-full"})})}),sr.createPortal(g,document.body)]})},wi={sm:"text-ds-sm",md:"text-ds-md",lg:"text-ds-lg"},Kp={sm:"h-6",md:"h-10",lg:"h-12"},Yp={sm:"px-2",md:"px-2.5",lg:"px-3"},Jp={sm:"pl-2",md:"pl-2.5",lg:"pl-3"},Xp={sm:"1.5rem",md:"2.5rem",lg:"3rem"};function Qp(e){return e==="lg"?"lg":e==="md"?"md":"sm"}function e8(e){const t=(e??"text").toString().toLowerCase().trim();return["tel","phone","telephone"].includes(t)?"tel":["mail","email","e-mail"].includes(t)?"email":["number","numeric","integer","int","float","decimal"].includes(t)?"number":["password","pwd"].includes(t)?"password":["url","link","uri"].includes(t)?"url":t==="select"?"select":"text"}function t8(e){switch(e){case"number":return zo;case"email":return _o;case"tel":return Go;case"url":return qo;default:return}}function Pa({id:e,text:t,size:r,prefixIcon:n,suffixIcon:o,info:l,infoAriaLabel:i="Información"}){if(!t)return null;const c=l!=null&&l!=="";return s.jsx("label",{htmlFor:e,className:de("pb-2 text-[var(--color-ds-text-primary)]",wi[r]),children:s.jsxs("span",{className:"inline-flex items-center gap-1 align-middle w-full",children:[n?s.jsx(Xe,{component:n,size:r,className:"opacity-80"}):null,s.jsx("span",{className:"w-full",children:t}),o?s.jsx(Xe,{component:o,size:r,className:"opacity-80"}):null,c&&s.jsx(ka,{size:Qp(r),position:"top",className:"ml-1",ariaLabel:i,children:l})]})})}function tl({inputId:e,size:t,type:r,disabled:n,hasError:o,valueError:l,showPassword:i,setShowPassword:c,prefixIcon:d,suffixIcon:u,separator:f,suffixButton:m,className:h,...g}){const w=r==="password",x=d??t8(r),y=i?Wo:tn,b=w?void 0:u,p=de("box-border w-full rounded-lg border placeholder-[var(--color-ds-text-secondary)] outline-none transition appearance-none",wi[t],Kp[t],Yp[t],o?"border-[var(--color-ds-border-error)]":"border-[var(--color-ds-border-default)]","bg-[var(--color-ds-background-page)] text-[var(--color-ds-text-primary)]","disabled:bg-[var(--color-ds-background-disabled)]","disabled:border-[var(--color-ds-border-muted)]","disabled:text-[var(--color-ds-text-disabled)]","disabled:cursor-not-allowed");return s.jsxs("div",{className:"relative flex items-center w-full",children:[x&&s.jsx("div",{className:de("absolute left-0 flex items-center h-full",Jp[t]),children:s.jsx(Xe,{component:x,size:t,className:"text-[var(--color-ds-text-secondary)]"})}),s.jsx("input",{id:e,disabled:n,"aria-invalid":o,className:de(p,x&&"pl-9",(b||w)&&"pr-9",h),type:w?i?"text":"password":r,onInvalid:E=>E.preventDefault(),style:w&&!i?{WebkitTextSecurity:"disc",MozTextSecurity:"disc"}:void 0,...g}),f&&s.jsx("div",{className:"flex items-center h-full",children:f}),m&&s.jsx("div",{className:"flex items-center h-full pr-2",children:m}),b&&s.jsx("div",{className:"absolute right-0 flex items-center h-full pr-2",children:s.jsx(Xe,{component:b,size:t,className:"text-[var(--color-ds-text-secondary)]"})}),w&&s.jsx("button",{type:"button",onClick:()=>c(E=>!E),className:"absolute right-0 flex items-center h-full pr-2",tabIndex:-1,"aria-label":i?"Ocultar contraseña":"Mostrar contraseña",children:s.jsx(Xe,{component:y,size:t,className:"text-[var(--color-ds-text-secondary)]"})})]})}function Re({id:e,type:t="text",size:r="sm",width:n="100%",label:o,labelHidden:l=!1,hasError:i=!1,errorMessage:c="",labelPrefixIcon:d,labelSuffixIcon:u,info:f,infoAriaLabel:m,prefixIcon:h,suffixIcon:g,separator:w,suffixButton:x,disabled:y=!1,control:b,name:p,rules:E,defaultValue:R,reserveErrorSpace:j,disableErrorPlaceholder:A,loading:S=!1,showPasswordToggle:N,className:B,...$}){const _=v.useId(),[W,K]=v.useState(!1),Q=e||_,q=e8(t),ce=typeof j=="boolean"?j:typeof A=="boolean"?!A:!!b;return S?s.jsxs("div",{className:"flex flex-col",style:{width:n,maxWidth:"100%"},children:[!l&&o&&s.jsx(Pa,{id:Q,text:o,size:r,prefixIcon:d,suffixIcon:u,info:f,infoAriaLabel:m}),s.jsx(zt,{width:"100%",height:Xp[r],variant:"rect",className:"rounded-lg"}),s.jsx("div",{className:"min-h-[18px] w-full",children:s.jsx("span",{"aria-hidden":"true",children:" "})})]}):b&&p?s.jsx(Et,{name:p,control:b,rules:E,defaultValue:R,render:({field:U,fieldState:M})=>{var F;return s.jsxs("div",{className:"flex flex-col",style:{width:n},children:[!l&&o&&s.jsx(Pa,{id:Q,text:o,size:r,prefixIcon:d,suffixIcon:u,info:f,infoAriaLabel:m}),s.jsx(tl,{inputId:Q,size:r,type:q,disabled:y,hasError:!!M.error,valueError:(F=M.error)==null?void 0:F.message,showPassword:q==="password"?W:!1,setShowPassword:K,prefixIcon:h,suffixIcon:f?void 0:g,separator:w,suffixButton:x,className:B,...U}),ce?s.jsx("div",{className:"min-h-[18px]",children:M.error?s.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:M.error.message}):s.jsx("span",{"aria-hidden":"true",children:" "})}):M.error?s.jsx("div",{className:"pt-1",children:s.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:M.error.message})}):null]})}}):s.jsxs("div",{className:"flex flex-col",style:{width:n},children:[!l&&o&&s.jsx(Pa,{id:Q,text:o,size:r,prefixIcon:d,suffixIcon:u,info:f,infoAriaLabel:m}),s.jsx(tl,{inputId:Q,size:r,type:q,disabled:y,hasError:i??!1,valueError:c,showPassword:q==="password"?W:!1,setShowPassword:K,prefixIcon:h,suffixIcon:f?void 0:g,separator:w,suffixButton:x,className:B,...$}),ce?s.jsx("div",{className:"min-h-[18px]",children:i&&c?s.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:c}):s.jsx("span",{"aria-hidden":"true",children:" "})}):i&&c?s.jsx("div",{className:"pt-1",children:s.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:c})}):null]})}function r8({name:e,label:t,type:r="text",size:n="sm",width:o,placeholder:l,validation:i,loadingDefaults:c,disabled:d,info:u,suffixButton:f,hasError:m,errorMessage:h,labelPrefixIcon:g,labelSuffixIcon:w,prefixIcon:x,suffixIcon:y}){var A;const{control:b,formState:{errors:p}}=vn(),E=m??!!p[e],R=h??(((A=p[e])==null?void 0:A.message)||""),j=o??"w-full";return s.jsx(Et,{name:e,control:b,rules:i,render:({field:S})=>s.jsx(Re,{...S,label:t,size:n,width:j,placeholder:l,hasError:E,errorMessage:R,loading:c,type:r,disabled:d,reserveErrorSpace:!0,info:u,labelPrefixIcon:g,labelSuffixIcon:w,prefixIcon:x,suffixIcon:y,suffixButton:f})})}const Ra=v.memo(r8);Ra.displayName="FormFieldInput";function n8({title:e,headerButtons:t,children:r,className:n}){return s.jsxs("div",{className:de("flex flex-col h-full",n),children:[s.jsxs("div",{className:"flex items-center justify-between py-4",children:[s.jsx("div",{className:`bg-[var(--color-ds-background-accent)] \r
23
39
  text-[var(--color-ds-text-on-accent)] \r
24
40
  rounded-tr-[20px] \r
25
41
  pl-4 pr-10\r
26
- text-ds-lg`,children:e}),t&&o.jsx("div",{className:"flex items-center space-x-2",children:t})]}),o.jsx("main",{className:"flex-1 overflow-auto",children:r})]})}const $a=(e,t,r)=>{if(e&&"reportValidity"in e){const s=re(r,t);e.setCustomValidity(s&&s.message||""),e.reportValidity()}},bi=(e,t)=>{for(const r in t.fields){const s=t.fields[r];s&&s.ref&&"reportValidity"in s.ref?$a(s.ref,r,e):s&&s.refs&&s.refs.forEach(n=>$a(n,r,e))}},Ud=(e,t)=>{t.shouldUseNativeValidation&&bi(e,t);const r={};for(const s in e){const n=re(t.fields,s),a=Object.assign(e[s]||{},{ref:n&&n.ref});if(qd(t.names||Object.keys(e),s)){const i=Object.assign({},re(r,s));Ee(i,"root",a),Ee(r,s,i)}else Ee(r,s,a)}return r},qd=(e,t)=>{const r=La(t);return e.some(s=>La(s).match(`^${r}\\.\\d+`))};function La(e){return e.replace(/\]|\[/g,"")}function gi(e,t,r){return r===void 0&&(r={}),function(s,n,a){try{return Promise.resolve(function(i,l){try{var c=(t!=null&&t.context&&process.env.NODE_ENV==="development"&&console.warn("You should not used the yup options context. Please, use the 'useForm' context object instead"),Promise.resolve(e[r.mode==="sync"?"validateSync":"validate"](s,Object.assign({abortEarly:!1},t,{context:n}))).then(function(d){return a.shouldUseNativeValidation&&bi({},a),{values:r.raw?Object.assign({},s):d,errors:{}}}))}catch(d){return l(d)}return c&&c.then?c.then(void 0,l):c}(0,function(i){if(!i.inner)throw i;return{values:{},errors:Ud((l=i,c=!a.shouldUseNativeValidation&&a.criteriaMode==="all",(l.inner||[]).reduce(function(d,u){if(d[u.path]||(d[u.path]={message:u.message,type:u.type}),c){var f=d[u.path].types,p=f&&f[u.type];d[u.path]=ni(u.path,c,d,u.type,p?[].concat(p,u.message):u.message)}return d},{})),a)};var l,c}))}catch(i){return Promise.reject(i)}}}var Ys,Pa;function Wd(){if(Pa)return Ys;Pa=1;function e(m){this._maxSize=m,this.clear()}e.prototype.clear=function(){this._size=0,this._values=Object.create(null)},e.prototype.get=function(m){return this._values[m]},e.prototype.set=function(m,y){return this._size>=this._maxSize&&this.clear(),m in this._values||this._size++,this._values[m]=y};var t=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,s=/^\d/,n=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,a=/^\s*(['"]?)(.*?)(\1)\s*$/,i=512,l=new e(i),c=new e(i),d=new e(i);Ys={Cache:e,split:f,normalizePath:u,setter:function(m){var y=u(m);return c.get(m)||c.set(m,function(_,k){for(var A=0,C=y.length,N=_;A<C-1;){var M=y[A];if(M==="__proto__"||M==="constructor"||M==="prototype")return _;N=N[y[A++]]}N[y[A]]=k})},getter:function(m,y){var j=u(m);return d.get(m)||d.set(m,function(k){for(var A=0,C=j.length;A<C;)if(k!=null||!y)k=k[j[A++]];else return;return k})},join:function(m){return m.reduce(function(y,j){return y+(b(j)||r.test(j)?"["+j+"]":(y?".":"")+j)},"")},forEach:function(m,y,j){p(Array.isArray(m)?m:f(m),y,j)}};function u(m){return l.get(m)||l.set(m,f(m).map(function(y){return y.replace(a,"$2")}))}function f(m){return m.match(t)||[""]}function p(m,y,j){var _=m.length,k,A,C,N;for(A=0;A<_;A++)k=m[A],k&&(x(k)&&(k='"'+k+'"'),N=b(k),C=!N&&/^\d+$/.test(k),y.call(j,k,N,C,A,m))}function b(m){return typeof m=="string"&&m&&["'",'"'].indexOf(m.charAt(0))!==-1}function g(m){return m.match(s)&&!m.match(r)}function v(m){return n.test(m)}function x(m){return!b(m)&&(g(m)||v(m))}return Ys}var Ht=Wd(),Hs,za;function Kd(){if(za)return Hs;za=1;const e=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,t=u=>u.match(e)||[],r=u=>u[0].toUpperCase()+u.slice(1),s=(u,f)=>t(u).join(f).toLowerCase(),n=u=>t(u).reduce((f,p)=>`${f}${f?p[0].toUpperCase()+p.slice(1).toLowerCase():p.toLowerCase()}`,"");return Hs={words:t,upperFirst:r,camelCase:n,pascalCase:u=>r(n(u)),snakeCase:u=>s(u,"_"),kebabCase:u=>s(u,"-"),sentenceCase:u=>r(s(u," ")),titleCase:u=>t(u).map(r).join(" ")},Hs}var Xs=Kd(),ts={exports:{}},Ia;function Gd(){if(Ia)return ts.exports;Ia=1,ts.exports=function(n){return e(t(n),n)},ts.exports.array=e;function e(n,a){var i=n.length,l=new Array(i),c={},d=i,u=r(a),f=s(n);for(a.forEach(function(b){if(!f.has(b[0])||!f.has(b[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});d--;)c[d]||p(n[d],d,new Set);return l;function p(b,g,v){if(v.has(b)){var x;try{x=", node was:"+JSON.stringify(b)}catch{x=""}throw new Error("Cyclic dependency"+x)}if(!f.has(b))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(b));if(!c[g]){c[g]=!0;var m=u.get(b)||new Set;if(m=Array.from(m),g=m.length){v.add(b);do{var y=m[--g];p(y,f.get(y),v)}while(g);v.delete(b)}l[--i]=b}}}function t(n){for(var a=new Set,i=0,l=n.length;i<l;i++){var c=n[i];a.add(c[0]),a.add(c[1])}return Array.from(a)}function r(n){for(var a=new Map,i=0,l=n.length;i<l;i++){var c=n[i];a.has(c[0])||a.set(c[0],new Set),a.has(c[1])||a.set(c[1],new Set),a.get(c[0]).add(c[1])}return a}function s(n){for(var a=new Map,i=0,l=n.length;i<l;i++)a.set(n[i],i);return a}return ts.exports}var Jd=Gd();const Zd=Al(Jd),Yd=Object.prototype.toString,Hd=Error.prototype.toString,Xd=RegExp.prototype.toString,Qd=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",eu=/^Symbol\((.*)\)(.*)$/;function tu(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function Va(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const r=typeof e;if(r==="number")return tu(e);if(r==="string")return t?`"${e}"`:e;if(r==="function")return"[Function "+(e.name||"anonymous")+"]";if(r==="symbol")return Qd.call(e).replace(eu,"Symbol($1)");const s=Yd.call(e).slice(8,-1);return s==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):s==="Error"||e instanceof Error?"["+Hd.call(e)+"]":s==="RegExp"?Xd.call(e):null}function Tt(e,t){let r=Va(e,t);return r!==null?r:JSON.stringify(e,function(s,n){let a=Va(this[s],t);return a!==null?a:n},2)}function xi(e){return e==null?[]:[].concat(e)}let vi,yi,wi,ru=/\$\{\s*(\w+)\s*\}/g;vi=Symbol.toStringTag;class Ba{constructor(t,r,s,n){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[vi]="Error",this.name="ValidationError",this.value=r,this.path=s,this.type=n,this.errors=[],this.inner=[],xi(t).forEach(a=>{if(tt.isError(a)){this.errors.push(...a.errors);const i=a.inner.length?a.inner:[a];this.inner.push(...i)}else this.errors.push(a)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}yi=Symbol.hasInstance;wi=Symbol.toStringTag;class tt extends Error{static formatError(t,r){const s=r.label||r.path||"this";return r=Object.assign({},r,{path:s,originalPath:r.path}),typeof t=="string"?t.replace(ru,(n,a)=>Tt(r[a])):typeof t=="function"?t(r):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,r,s,n,a){const i=new Ba(t,r,s,n);if(a)return i;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[wi]="Error",this.name=i.name,this.message=i.message,this.type=i.type,this.value=i.value,this.path=i.path,this.errors=i.errors,this.inner=i.inner,Error.captureStackTrace&&Error.captureStackTrace(this,tt)}static[yi](t){return Ba[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let jt={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:r,originalValue:s})=>{const n=s!=null&&s!==r?` (cast from the value \`${Tt(s,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${Tt(r,!0)}\``+n:`${e} must match the configured type. The validated value was: \`${Tt(r,!0)}\``+n}},et={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},Pt={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},Sn={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},En={isValue:"${path} field must be ${value}"},ms={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"},hs={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},su={notType:e=>{const{path:t,value:r,spec:s}=e,n=s.types.length;if(Array.isArray(r)){if(r.length<n)return`${t} tuple value has too few items, expected a length of ${n} but got ${r.length} for value: \`${Tt(r,!0)}\``;if(r.length>n)return`${t} tuple value has too many items, expected a length of ${n} but got ${r.length} for value: \`${Tt(r,!0)}\``}return tt.formatError(jt.notType,e)}};Object.assign(Object.create(null),{mixed:jt,string:et,number:Pt,date:Sn,object:ms,array:hs,boolean:En,tuple:su});const Ms=e=>e&&e.__isYupSchema__;class ws{static fromOptions(t,r){if(!r.then&&!r.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:s,then:n,otherwise:a}=r,i=typeof s=="function"?s:(...l)=>l.every(c=>c===s);return new ws(t,(l,c)=>{var d;let u=i(...l)?n:a;return(d=u==null?void 0:u(c))!=null?d:c})}constructor(t,r){this.fn=void 0,this.refs=t,this.refs=t,this.fn=r}resolve(t,r){let s=this.refs.map(a=>a.getValue(r==null?void 0:r.value,r==null?void 0:r.parent,r==null?void 0:r.context)),n=this.fn(s,t,r);if(n===void 0||n===t)return t;if(!Ms(n))throw new TypeError("conditions must return a schema object");return n.resolve(r)}}const rs={context:"$",value:"."};class tr{constructor(t,r={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===rs.context,this.isValue=this.key[0]===rs.value,this.isSibling=!this.isContext&&!this.isValue;let s=this.isContext?rs.context:this.isValue?rs.value:"";this.path=this.key.slice(s.length),this.getter=this.path&&Ht.getter(this.path,!0),this.map=r.map}getValue(t,r,s){let n=this.isContext?s:this.isValue?t:r;return this.getter&&(n=this.getter(n||{})),this.map&&(n=this.map(n)),n}cast(t,r){return this.getValue(t,r==null?void 0:r.parent,r==null?void 0:r.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}tr.prototype.__isYupRef=!0;const bt=e=>e==null;function or(e){function t({value:r,path:s="",options:n,originalValue:a,schema:i},l,c){const{name:d,test:u,params:f,message:p,skipAbsent:b}=e;let{parent:g,context:v,abortEarly:x=i.spec.abortEarly,disableStackTrace:m=i.spec.disableStackTrace}=n;function y(V){return tr.isRef(V)?V.getValue(r,g,v):V}function j(V={}){const W=Object.assign({value:r,originalValue:a,label:i.spec.label,path:V.path||s,spec:i.spec,disableStackTrace:V.disableStackTrace||m},f,V.params);for(const L of Object.keys(W))W[L]=y(W[L]);const $=new tt(tt.formatError(V.message||p,W),r,W.path,V.type||d,W.disableStackTrace);return $.params=W,$}const _=x?l:c;let k={path:s,parent:g,type:d,from:n.from,createError:j,resolve:y,options:n,originalValue:a,schema:i};const A=V=>{tt.isError(V)?_(V):V?c(null):_(j())},C=V=>{tt.isError(V)?_(V):l(V)};if(b&&bt(r))return A(!0);let M;try{var U;if(M=u.call(k,r,k),typeof((U=M)==null?void 0:U.then)=="function"){if(n.sync)throw new Error(`Validation test of type: "${k.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(M).then(A,C)}}catch(V){C(V);return}A(M)}return t.OPTIONS=e,t}function nu(e,t,r,s=r){let n,a,i;return t?(Ht.forEach(t,(l,c,d)=>{let u=c?l.slice(1,l.length-1):l;e=e.resolve({context:s,parent:n,value:r});let f=e.type==="tuple",p=d?parseInt(u,10):0;if(e.innerType||f){if(f&&!d)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${i}" must contain an index to the tuple element, e.g. "${i}[0]"`);if(r&&p>=r.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${l}, in the path: ${t}. because there is no value at that index. `);n=r,r=r&&r[p],e=f?e.spec.types[p]:e.innerType}if(!d){if(!e.fields||!e.fields[u])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${i} which is a type: "${e.type}")`);n=r,r=r&&r[u],e=e.fields[u]}a=u,i=c?"["+l+"]":"."+l}),{schema:e,parent:n,parentPath:a}):{parent:n,parentPath:t,schema:e}}class js extends Set{describe(){const t=[];for(const r of this.values())t.push(tr.isRef(r)?r.describe():r);return t}resolveAll(t){let r=[];for(const s of this.values())r.push(t(s));return r}clone(){return new js(this.values())}merge(t,r){const s=this.clone();return t.forEach(n=>s.add(n)),r.forEach(n=>s.delete(n)),s}}function cr(e,t=new Map){if(Ms(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let r;if(e instanceof Date)r=new Date(e.getTime()),t.set(e,r);else if(e instanceof RegExp)r=new RegExp(e),t.set(e,r);else if(Array.isArray(e)){r=new Array(e.length),t.set(e,r);for(let s=0;s<e.length;s++)r[s]=cr(e[s],t)}else if(e instanceof Map){r=new Map,t.set(e,r);for(const[s,n]of e.entries())r.set(s,cr(n,t))}else if(e instanceof Set){r=new Set,t.set(e,r);for(const s of e)r.add(cr(s,t))}else if(e instanceof Object){r={},t.set(e,r);for(const[s,n]of Object.entries(e))r[s]=cr(n,t)}else throw Error(`Unable to clone ${e}`);return r}class nt{constructor(t){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new js,this._blacklist=new js,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(jt.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},t==null?void 0:t.spec),this.withMutation(r=>{r.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const r=Object.create(Object.getPrototypeOf(this));return r.type=this.type,r._typeCheck=this._typeCheck,r._whitelist=this._whitelist.clone(),r._blacklist=this._blacklist.clone(),r.internalTests=Object.assign({},this.internalTests),r.exclusiveTests=Object.assign({},this.exclusiveTests),r.deps=[...this.deps],r.conditions=[...this.conditions],r.tests=[...this.tests],r.transforms=[...this.transforms],r.spec=cr(Object.assign({},this.spec,t)),r}label(t){let r=this.clone();return r.spec.label=t,r}meta(...t){if(t.length===0)return this.spec.meta;let r=this.clone();return r.spec.meta=Object.assign(r.spec.meta||{},t[0]),r}withMutation(t){let r=this._mutate;this._mutate=!0;let s=t(this);return this._mutate=r,s}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let r=this,s=t.clone();const n=Object.assign({},r.spec,s.spec);return s.spec=n,s.internalTests=Object.assign({},r.internalTests,s.internalTests),s._whitelist=r._whitelist.merge(t._whitelist,t._blacklist),s._blacklist=r._blacklist.merge(t._blacklist,t._whitelist),s.tests=r.tests,s.exclusiveTests=r.exclusiveTests,s.withMutation(a=>{t.tests.forEach(i=>{a.test(i.OPTIONS)})}),s.transforms=[...r.transforms,...s.transforms],s}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let r=this;if(r.conditions.length){let s=r.conditions;r=r.clone(),r.conditions=[],r=s.reduce((n,a)=>a.resolve(n,t),r),r=r.resolve(t)}return r}resolveOptions(t){var r,s,n,a;return Object.assign({},t,{from:t.from||[],strict:(r=t.strict)!=null?r:this.spec.strict,abortEarly:(s=t.abortEarly)!=null?s:this.spec.abortEarly,recursive:(n=t.recursive)!=null?n:this.spec.recursive,disableStackTrace:(a=t.disableStackTrace)!=null?a:this.spec.disableStackTrace})}cast(t,r={}){let s=this.resolve(Object.assign({value:t},r)),n=r.assert==="ignore-optionality",a=s._cast(t,r);if(r.assert!==!1&&!s.isType(a)){if(n&&bt(a))return a;let i=Tt(t),l=Tt(a);throw new TypeError(`The value of ${r.path||"field"} could not be cast to a value that satisfies the schema type: "${s.type}".
42
+ text-ds-lg`,children:e}),t&&s.jsx("div",{className:"flex items-center space-x-2",children:t})]}),s.jsx("main",{className:"flex-1 overflow-auto",children:r})]})}const rl=(e,t,r)=>{if(e&&"reportValidity"in e){const n=fe(r,t);e.setCustomValidity(n&&n.message||""),e.reportValidity()}},gi=(e,t)=>{for(const r in t.fields){const n=t.fields[r];n&&n.ref&&"reportValidity"in n.ref?rl(n.ref,r,e):n&&n.refs&&n.refs.forEach(o=>rl(o,r,e))}},a8=(e,t)=>{t.shouldUseNativeValidation&&gi(e,t);const r={};for(const n in e){const o=fe(t.fields,n),l=Object.assign(e[n]||{},{ref:o&&o.ref});if(o8(t.names||Object.keys(e),n)){const i=Object.assign({},fe(r,n));De(i,"root",l),De(r,n,i)}else De(r,n,l)}return r},o8=(e,t)=>{const r=nl(t);return e.some(n=>nl(n).match(`^${r}\\.\\d+`))};function nl(e){return e.replace(/\]|\[/g,"")}function ls(e,t,r){return r===void 0&&(r={}),function(n,o,l){try{return Promise.resolve((function(i,c){try{var d=(t!=null&&t.context&&process.env.NODE_ENV==="development"&&console.warn("You should not used the yup options context. Please, use the 'useForm' context object instead"),Promise.resolve(e[r.mode==="sync"?"validateSync":"validate"](n,Object.assign({abortEarly:!1},t,{context:o}))).then(function(u){return l.shouldUseNativeValidation&&gi({},l),{values:r.raw?Object.assign({},n):u,errors:{}}}))}catch(u){return c(u)}return d&&d.then?d.then(void 0,c):d})(0,function(i){if(!i.inner)throw i;return{values:{},errors:a8((c=i,d=!l.shouldUseNativeValidation&&l.criteriaMode==="all",(c.inner||[]).reduce(function(u,f){if(u[f.path]||(u[f.path]={message:f.message,type:f.type}),d){var m=u[f.path].types,h=m&&m[f.type];u[f.path]=oi(f.path,d,u,f.type,h?[].concat(h,f.message):f.message)}return u},{})),l)};var c,d}))}catch(i){return Promise.reject(i)}}}var Wa,al;function s8(){if(al)return Wa;al=1;function e(b){this._maxSize=b,this.clear()}e.prototype.clear=function(){this._size=0,this._values=Object.create(null)},e.prototype.get=function(b){return this._values[b]},e.prototype.set=function(b,p){return this._size>=this._maxSize&&this.clear(),b in this._values||this._size++,this._values[b]=p};var t=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,n=/^\d/,o=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,l=/^\s*(['"]?)(.*?)(\1)\s*$/,i=512,c=new e(i),d=new e(i),u=new e(i);Wa={Cache:e,split:m,normalizePath:f,setter:function(b){var p=f(b);return d.get(b)||d.set(b,function(R,j){for(var A=0,S=p.length,N=R;A<S-1;){var B=p[A];if(B==="__proto__"||B==="constructor"||B==="prototype")return R;N=N[p[A++]]}N[p[A]]=j})},getter:function(b,p){var E=f(b);return u.get(b)||u.set(b,function(j){for(var A=0,S=E.length;A<S;)if(j!=null||!p)j=j[E[A++]];else return;return j})},join:function(b){return b.reduce(function(p,E){return p+(g(E)||r.test(E)?"["+E+"]":(p?".":"")+E)},"")},forEach:function(b,p,E){h(Array.isArray(b)?b:m(b),p,E)}};function f(b){return c.get(b)||c.set(b,m(b).map(function(p){return p.replace(l,"$2")}))}function m(b){return b.match(t)||[""]}function h(b,p,E){var R=b.length,j,A,S,N;for(A=0;A<R;A++)j=b[A],j&&(y(j)&&(j='"'+j+'"'),N=g(j),S=!N&&/^\d+$/.test(j),p.call(E,j,N,S,A,b))}function g(b){return typeof b=="string"&&b&&["'",'"'].indexOf(b.charAt(0))!==-1}function w(b){return b.match(n)&&!b.match(r)}function x(b){return o.test(b)}function y(b){return!g(b)&&(w(b)||x(b))}return Wa}var ir=s8(),za,ol;function l8(){if(ol)return za;ol=1;const e=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,t=f=>f.match(e)||[],r=f=>f[0].toUpperCase()+f.slice(1),n=(f,m)=>t(f).join(m).toLowerCase(),o=f=>t(f).reduce((m,h)=>`${m}${m?h[0].toUpperCase()+h.slice(1).toLowerCase():h.toLowerCase()}`,"");return za={words:t,upperFirst:r,camelCase:o,pascalCase:f=>r(o(f)),snakeCase:f=>n(f,"_"),kebabCase:f=>n(f,"-"),sentenceCase:f=>r(n(f," ")),titleCase:f=>t(f).map(r).join(" ")},za}var qa=l8(),Ln={exports:{}},sl;function i8(){if(sl)return Ln.exports;sl=1,Ln.exports=function(o){return e(t(o),o)},Ln.exports.array=e;function e(o,l){var i=o.length,c=new Array(i),d={},u=i,f=r(l),m=n(o);for(l.forEach(function(g){if(!m.has(g[0])||!m.has(g[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});u--;)d[u]||h(o[u],u,new Set);return c;function h(g,w,x){if(x.has(g)){var y;try{y=", node was:"+JSON.stringify(g)}catch{y=""}throw new Error("Cyclic dependency"+y)}if(!m.has(g))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(g));if(!d[w]){d[w]=!0;var b=f.get(g)||new Set;if(b=Array.from(b),w=b.length){x.add(g);do{var p=b[--w];h(p,m.get(p),x)}while(w);x.delete(g)}c[--i]=g}}}function t(o){for(var l=new Set,i=0,c=o.length;i<c;i++){var d=o[i];l.add(d[0]),l.add(d[1])}return Array.from(l)}function r(o){for(var l=new Map,i=0,c=o.length;i<c;i++){var d=o[i];l.has(d[0])||l.set(d[0],new Set),l.has(d[1])||l.set(d[1],new Set),l.get(d[0]).add(d[1])}return l}function n(o){for(var l=new Map,i=0,c=o.length;i<c;i++)l.set(o[i],i);return l}return Ln.exports}var c8=i8();const d8=Q5(c8),u8=Object.prototype.toString,f8=Error.prototype.toString,m8=RegExp.prototype.toString,h8=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",p8=/^Symbol\((.*)\)(.*)$/;function v8(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function ll(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const r=typeof e;if(r==="number")return v8(e);if(r==="string")return t?`"${e}"`:e;if(r==="function")return"[Function "+(e.name||"anonymous")+"]";if(r==="symbol")return h8.call(e).replace(p8,"Symbol($1)");const n=u8.call(e).slice(8,-1);return n==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):n==="Error"||e instanceof Error?"["+f8.call(e)+"]":n==="RegExp"?m8.call(e):null}function qt(e,t){let r=ll(e,t);return r!==null?r:JSON.stringify(e,function(n,o){let l=ll(this[n],t);return l!==null?l:o},2)}function bi(e){return e==null?[]:[].concat(e)}let xi,yi,Ei,w8=/\$\{\s*(\w+)\s*\}/g;xi=Symbol.toStringTag;class il{constructor(t,r,n,o){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[xi]="Error",this.name="ValidationError",this.value=r,this.path=n,this.type=o,this.errors=[],this.inner=[],bi(t).forEach(l=>{if(lt.isError(l)){this.errors.push(...l.errors);const i=l.inner.length?l.inner:[l];this.inner.push(...i)}else this.errors.push(l)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}yi=Symbol.hasInstance;Ei=Symbol.toStringTag;class lt extends Error{static formatError(t,r){const n=r.label||r.path||"this";return r=Object.assign({},r,{path:n,originalPath:r.path}),typeof t=="string"?t.replace(w8,(o,l)=>qt(r[l])):typeof t=="function"?t(r):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,r,n,o,l){const i=new il(t,r,n,o);if(l)return i;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[Ei]="Error",this.name=i.name,this.message=i.message,this.type=i.type,this.value=i.value,this.path=i.path,this.errors=i.errors,this.inner=i.inner,Error.captureStackTrace&&Error.captureStackTrace(this,lt)}static[yi](t){return il[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let Bt={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:r,originalValue:n})=>{const o=n!=null&&n!==r?` (cast from the value \`${qt(n,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${qt(r,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${qt(r,!0)}\``+o}},mt={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},Yt={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},Eo={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},ko={isValue:"${path} field must be ${value}"},Gn={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"},Kn={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},g8={notType:e=>{const{path:t,value:r,spec:n}=e,o=n.types.length;if(Array.isArray(r)){if(r.length<o)return`${t} tuple value has too few items, expected a length of ${o} but got ${r.length} for value: \`${qt(r,!0)}\``;if(r.length>o)return`${t} tuple value has too many items, expected a length of ${o} but got ${r.length} for value: \`${qt(r,!0)}\``}return lt.formatError(Bt.notType,e)}};Object.assign(Object.create(null),{mixed:Bt,string:mt,number:Yt,date:Eo,object:Gn,array:Kn,boolean:ko,tuple:g8});const ja=e=>e&&e.__isYupSchema__;class sa{static fromOptions(t,r){if(!r.then&&!r.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:o,otherwise:l}=r,i=typeof n=="function"?n:(...c)=>c.every(d=>d===n);return new sa(t,(c,d)=>{var u;let f=i(...c)?o:l;return(u=f==null?void 0:f(d))!=null?u:d})}constructor(t,r){this.fn=void 0,this.refs=t,this.refs=t,this.fn=r}resolve(t,r){let n=this.refs.map(l=>l.getValue(r==null?void 0:r.value,r==null?void 0:r.parent,r==null?void 0:r.context)),o=this.fn(n,t,r);if(o===void 0||o===t)return t;if(!ja(o))throw new TypeError("conditions must return a schema object");return o.resolve(r)}}const On={context:"$",value:"."};class fr{constructor(t,r={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===On.context,this.isValue=this.key[0]===On.value,this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?On.context:this.isValue?On.value:"";this.path=this.key.slice(n.length),this.getter=this.path&&ir.getter(this.path,!0),this.map=r.map}getValue(t,r,n){let o=this.isContext?n:this.isValue?t:r;return this.getter&&(o=this.getter(o||{})),this.map&&(o=this.map(o)),o}cast(t,r){return this.getValue(t,r==null?void 0:r.parent,r==null?void 0:r.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}fr.prototype.__isYupRef=!0;const Ot=e=>e==null;function br(e){function t({value:r,path:n="",options:o,originalValue:l,schema:i},c,d){const{name:u,test:f,params:m,message:h,skipAbsent:g}=e;let{parent:w,context:x,abortEarly:y=i.spec.abortEarly,disableStackTrace:b=i.spec.disableStackTrace}=o;const p={value:r,parent:w,context:x};function E(_={}){const W=ki(Object.assign({value:r,originalValue:l,label:i.spec.label,path:_.path||n,spec:i.spec,disableStackTrace:_.disableStackTrace||b},m,_.params),p),K=new lt(lt.formatError(_.message||h,W),r,W.path,_.type||u,W.disableStackTrace);return K.params=W,K}const R=y?c:d;let j={path:n,parent:w,type:u,from:o.from,createError:E,resolve(_){return Ri(_,p)},options:o,originalValue:l,schema:i};const A=_=>{lt.isError(_)?R(_):_?d(null):R(E())},S=_=>{lt.isError(_)?R(_):c(_)};if(g&&Ot(r))return A(!0);let B;try{var $;if(B=f.call(j,r,j),typeof(($=B)==null?void 0:$.then)=="function"){if(o.sync)throw new Error(`Validation test of type: "${j.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(B).then(A,S)}}catch(_){S(_);return}A(B)}return t.OPTIONS=e,t}function ki(e,t){if(!e)return e;for(const r of Object.keys(e))e[r]=Ri(e[r],t);return e}function Ri(e,t){return fr.isRef(e)?e.getValue(t.value,t.parent,t.context):e}function b8(e,t,r,n=r){let o,l,i;return t?(ir.forEach(t,(c,d,u)=>{let f=d?c.slice(1,c.length-1):c;e=e.resolve({context:n,parent:o,value:r});let m=e.type==="tuple",h=u?parseInt(f,10):0;if(e.innerType||m){if(m&&!u)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${i}" must contain an index to the tuple element, e.g. "${i}[0]"`);if(r&&h>=r.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${c}, in the path: ${t}. because there is no value at that index. `);o=r,r=r&&r[h],e=m?e.spec.types[h]:e.innerType}if(!u){if(!e.fields||!e.fields[f])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${i} which is a type: "${e.type}")`);o=r,r=r&&r[f],e=e.fields[f]}l=f,i=d?"["+c+"]":"."+c}),{schema:e,parent:o,parentPath:l}):{parent:o,parentPath:t,schema:e}}class la extends Set{describe(){const t=[];for(const r of this.values())t.push(fr.isRef(r)?r.describe():r);return t}resolveAll(t){let r=[];for(const n of this.values())r.push(t(n));return r}clone(){return new la(this.values())}merge(t,r){const n=this.clone();return t.forEach(o=>n.add(o)),r.forEach(o=>n.delete(o)),n}}function jr(e,t=new Map){if(ja(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let r;if(e instanceof Date)r=new Date(e.getTime()),t.set(e,r);else if(e instanceof RegExp)r=new RegExp(e),t.set(e,r);else if(Array.isArray(e)){r=new Array(e.length),t.set(e,r);for(let n=0;n<e.length;n++)r[n]=jr(e[n],t)}else if(e instanceof Map){r=new Map,t.set(e,r);for(const[n,o]of e.entries())r.set(n,jr(o,t))}else if(e instanceof Set){r=new Set,t.set(e,r);for(const n of e)r.add(jr(n,t))}else if(e instanceof Object){r={},t.set(e,r);for(const[n,o]of Object.entries(e))r[n]=jr(o,t)}else throw Error(`Unable to clone ${e}`);return r}function x8(e){if(!(e!=null&&e.length))return;const t=[];let r="",n=!1,o=!1;for(let l=0;l<e.length;l++){const i=e[l];if(i==="["&&!o){r&&(t.push(...r.split(".").filter(Boolean)),r=""),n=!0;continue}if(i==="]"&&!o){r&&(/^\d+$/.test(r)?t.push(r):t.push(r.replace(/^"|"$/g,"")),r=""),n=!1;continue}if(i==='"'){o=!o;continue}if(i==="."&&!n&&!o){r&&(t.push(r),r="");continue}r+=i}return r&&t.push(...r.split(".").filter(Boolean)),t}function y8(e,t){const r=t?`${t}.${e.path}`:e.path;return e.errors.map(n=>({message:n,path:x8(r)}))}function ji(e,t){var r;if(!((r=e.inner)!=null&&r.length)&&e.errors.length)return y8(e,t);const n=t?`${t}.${e.path}`:e.path;return e.inner.flatMap(o=>ji(o,n))}class vt{constructor(t){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new la,this._blacklist=new la,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(Bt.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},t==null?void 0:t.spec),this.withMutation(r=>{r.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const r=Object.create(Object.getPrototypeOf(this));return r.type=this.type,r._typeCheck=this._typeCheck,r._whitelist=this._whitelist.clone(),r._blacklist=this._blacklist.clone(),r.internalTests=Object.assign({},this.internalTests),r.exclusiveTests=Object.assign({},this.exclusiveTests),r.deps=[...this.deps],r.conditions=[...this.conditions],r.tests=[...this.tests],r.transforms=[...this.transforms],r.spec=jr(Object.assign({},this.spec,t)),r}label(t){let r=this.clone();return r.spec.label=t,r}meta(...t){if(t.length===0)return this.spec.meta;let r=this.clone();return r.spec.meta=Object.assign(r.spec.meta||{},t[0]),r}withMutation(t){let r=this._mutate;this._mutate=!0;let n=t(this);return this._mutate=r,n}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let r=this,n=t.clone();const o=Object.assign({},r.spec,n.spec);return n.spec=o,n.internalTests=Object.assign({},r.internalTests,n.internalTests),n._whitelist=r._whitelist.merge(t._whitelist,t._blacklist),n._blacklist=r._blacklist.merge(t._blacklist,t._whitelist),n.tests=r.tests,n.exclusiveTests=r.exclusiveTests,n.withMutation(l=>{t.tests.forEach(i=>{l.test(i.OPTIONS)})}),n.transforms=[...r.transforms,...n.transforms],n}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let r=this;if(r.conditions.length){let n=r.conditions;r=r.clone(),r.conditions=[],r=n.reduce((o,l)=>l.resolve(o,t),r),r=r.resolve(t)}return r}resolveOptions(t){var r,n,o,l;return Object.assign({},t,{from:t.from||[],strict:(r=t.strict)!=null?r:this.spec.strict,abortEarly:(n=t.abortEarly)!=null?n:this.spec.abortEarly,recursive:(o=t.recursive)!=null?o:this.spec.recursive,disableStackTrace:(l=t.disableStackTrace)!=null?l:this.spec.disableStackTrace})}cast(t,r={}){let n=this.resolve(Object.assign({},r,{value:t})),o=r.assert==="ignore-optionality",l=n._cast(t,r);if(r.assert!==!1&&!n.isType(l)){if(o&&Ot(l))return l;let i=qt(t),c=qt(l);throw new TypeError(`The value of ${r.path||"field"} could not be cast to a value that satisfies the schema type: "${n.type}".
27
43
 
28
44
  attempted value: ${i}
29
- `+(l!==i?`result of cast: ${l}`:""))}return a}_cast(t,r){let s=t===void 0?t:this.transforms.reduce((n,a)=>a.call(this,n,t,this),t);return s===void 0&&(s=this.getDefault(r)),s}_validate(t,r={},s,n){let{path:a,originalValue:i=t,strict:l=this.spec.strict}=r,c=t;l||(c=this._cast(c,Object.assign({assert:!1},r)));let d=[];for(let u of Object.values(this.internalTests))u&&d.push(u);this.runTests({path:a,value:c,originalValue:i,options:r,tests:d},s,u=>{if(u.length)return n(u,c);this.runTests({path:a,value:c,originalValue:i,options:r,tests:this.tests},s,n)})}runTests(t,r,s){let n=!1,{tests:a,value:i,originalValue:l,path:c,options:d}=t,u=v=>{n||(n=!0,r(v,i))},f=v=>{n||(n=!0,s(v,i))},p=a.length,b=[];if(!p)return f([]);let g={value:i,originalValue:l,path:c,options:d,schema:this};for(let v=0;v<a.length;v++){const x=a[v];x(g,u,function(y){y&&(Array.isArray(y)?b.push(...y):b.push(y)),--p<=0&&f(b)})}}asNestedTest({key:t,index:r,parent:s,parentPath:n,originalParent:a,options:i}){const l=t??r;if(l==null)throw TypeError("Must include `key` or `index` for nested validations");const c=typeof l=="number";let d=s[l];const u=Object.assign({},i,{strict:!0,parent:s,value:d,originalValue:a[l],key:void 0,[c?"index":"key"]:l,path:c||l.includes(".")?`${n||""}[${c?l:`"${l}"`}]`:(n?`${n}.`:"")+t});return(f,p,b)=>this.resolve(u)._validate(d,u,p,b)}validate(t,r){var s;let n=this.resolve(Object.assign({},r,{value:t})),a=(s=r==null?void 0:r.disableStackTrace)!=null?s:n.spec.disableStackTrace;return new Promise((i,l)=>n._validate(t,r,(c,d)=>{tt.isError(c)&&(c.value=d),l(c)},(c,d)=>{c.length?l(new tt(c,d,void 0,void 0,a)):i(d)}))}validateSync(t,r){var s;let n=this.resolve(Object.assign({},r,{value:t})),a,i=(s=r==null?void 0:r.disableStackTrace)!=null?s:n.spec.disableStackTrace;return n._validate(t,Object.assign({},r,{sync:!0}),(l,c)=>{throw tt.isError(l)&&(l.value=c),l},(l,c)=>{if(l.length)throw new tt(l,t,void 0,void 0,i);a=c}),a}isValid(t,r){return this.validate(t,r).then(()=>!0,s=>{if(tt.isError(s))return!1;throw s})}isValidSync(t,r){try{return this.validateSync(t,r),!0}catch(s){if(tt.isError(s))return!1;throw s}}_getDefault(t){let r=this.spec.default;return r==null?r:typeof r=="function"?r.call(this,t):cr(r)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,r){const s=this.clone({nullable:t});return s.internalTests.nullable=or({message:r,name:"nullable",test(n){return n===null?this.schema.spec.nullable:!0}}),s}optionality(t,r){const s=this.clone({optional:t});return s.internalTests.optionality=or({message:r,name:"optionality",test(n){return n===void 0?this.schema.spec.optional:!0}}),s}optional(){return this.optionality(!0)}defined(t=jt.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=jt.notNull){return this.nullability(!1,t)}required(t=jt.required){return this.clone().withMutation(r=>r.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let r=this.clone();return r.transforms.push(t),r}test(...t){let r;if(t.length===1?typeof t[0]=="function"?r={test:t[0]}:r=t[0]:t.length===2?r={name:t[0],test:t[1]}:r={name:t[0],message:t[1],test:t[2]},r.message===void 0&&(r.message=jt.default),typeof r.test!="function")throw new TypeError("`test` is a required parameters");let s=this.clone(),n=or(r),a=r.exclusive||r.name&&s.exclusiveTests[r.name]===!0;if(r.exclusive&&!r.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return r.name&&(s.exclusiveTests[r.name]=!!r.exclusive),s.tests=s.tests.filter(i=>!(i.OPTIONS.name===r.name&&(a||i.OPTIONS.test===n.OPTIONS.test))),s.tests.push(n),s}when(t,r){!Array.isArray(t)&&typeof t!="string"&&(r=t,t=".");let s=this.clone(),n=xi(t).map(a=>new tr(a));return n.forEach(a=>{a.isSibling&&s.deps.push(a.key)}),s.conditions.push(typeof r=="function"?new ws(n,r):ws.fromOptions(n,r)),s}typeError(t){let r=this.clone();return r.internalTests.typeError=or({message:t,name:"typeError",skipAbsent:!0,test(s){return this.schema._typeCheck(s)?!0:this.createError({params:{type:this.schema.type}})}}),r}oneOf(t,r=jt.oneOf){let s=this.clone();return t.forEach(n=>{s._whitelist.add(n),s._blacklist.delete(n)}),s.internalTests.whiteList=or({message:r,name:"oneOf",skipAbsent:!0,test(n){let a=this.schema._whitelist,i=a.resolveAll(this.resolve);return i.includes(n)?!0:this.createError({params:{values:Array.from(a).join(", "),resolved:i}})}}),s}notOneOf(t,r=jt.notOneOf){let s=this.clone();return t.forEach(n=>{s._blacklist.add(n),s._whitelist.delete(n)}),s.internalTests.blacklist=or({message:r,name:"notOneOf",test(n){let a=this.schema._blacklist,i=a.resolveAll(this.resolve);return i.includes(n)?this.createError({params:{values:Array.from(a).join(", "),resolved:i}}):!0}}),s}strip(t=!0){let r=this.clone();return r.spec.strip=t,r}describe(t){const r=(t?this.resolve(t):this).clone(),{label:s,meta:n,optional:a,nullable:i}=r.spec;return{meta:n,label:s,optional:a,nullable:i,default:r.getDefault(t),type:r.type,oneOf:r._whitelist.describe(),notOneOf:r._blacklist.describe(),tests:r.tests.map(c=>({name:c.OPTIONS.name,params:c.OPTIONS.params})).filter((c,d,u)=>u.findIndex(f=>f.name===c.name)===d)}}}nt.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])nt.prototype[`${e}At`]=function(t,r,s={}){const{parent:n,parentPath:a,schema:i}=nu(this,t,r,s.context);return i[e](n&&n[a],Object.assign({},s,{parent:n,path:t}))};for(const e of["equals","is"])nt.prototype[e]=nt.prototype.oneOf;for(const e of["not","nope"])nt.prototype[e]=nt.prototype.notOneOf;const au=()=>!0;function Cn(e){return new ji(e)}class ji extends nt{constructor(t){super(typeof t=="function"?{type:"mixed",check:t}:Object.assign({type:"mixed",check:au},t))}}Cn.prototype=ji.prototype;function ki(){return new Ni}class Ni extends nt{constructor(){super({type:"boolean",check(t){return t instanceof Boolean&&(t=t.valueOf()),typeof t=="boolean"}}),this.withMutation(()=>{this.transform((t,r,s)=>{if(s.spec.coerce&&!s.isType(t)){if(/^(true|1)$/i.test(String(t)))return!0;if(/^(false|0)$/i.test(String(t)))return!1}return t})})}isTrue(t=En.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"true"},test(r){return bt(r)||r===!0}})}isFalse(t=En.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"false"},test(r){return bt(r)||r===!1}})}default(t){return super.default(t)}defined(t){return super.defined(t)}optional(){return super.optional()}required(t){return super.required(t)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(t){return super.nonNullable(t)}strip(t){return super.strip(t)}}ki.prototype=Ni.prototype;const ou=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function iu(e){const t=An(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(t.z===void 0&&t.plusMinus===void 0)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let r=0;return t.z!=="Z"&&t.plusMinus!==void 0&&(r=t.hourOffset*60+t.minuteOffset,t.plusMinus==="+"&&(r=0-r)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+r,t.second,t.millisecond)}function An(e){var t,r;const s=ou.exec(e);return s?{year:Ct(s[1]),month:Ct(s[2],1)-1,day:Ct(s[3],1),hour:Ct(s[4]),minute:Ct(s[5]),second:Ct(s[6]),millisecond:s[7]?Ct(s[7].substring(0,3)):0,precision:(t=(r=s[7])==null?void 0:r.length)!=null?t:void 0,z:s[8]||void 0,plusMinus:s[9]||void 0,hourOffset:Ct(s[10]),minuteOffset:Ct(s[11])}:null}function Ct(e,t=0){return Number(e)||t}let lu=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,cu=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,du=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,uu="^\\d{4}-\\d{2}-\\d{2}",fu="\\d{2}:\\d{2}:\\d{2}",mu="(([+-]\\d{2}(:?\\d{2})?)|Z)",hu=new RegExp(`${uu}T${fu}(\\.\\d+)?${mu}$`),pu=e=>bt(e)||e===e.trim(),bu={}.toString();function lr(){return new Si}class Si extends nt{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,r,s)=>{if(!s.spec.coerce||s.isType(t)||Array.isArray(t))return t;const n=t!=null&&t.toString?t.toString():t;return n===bu?t:n})})}required(t){return super.required(t).withMutation(r=>r.test({message:t||jt.required,name:"required",skipAbsent:!0,test:s=>!!s.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests=t.tests.filter(r=>r.OPTIONS.name!=="required"),t))}length(t,r=et.length){return this.test({message:r,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(s){return s.length===this.resolve(t)}})}min(t,r=et.min){return this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(s){return s.length>=this.resolve(t)}})}max(t,r=et.max){return this.test({name:"max",exclusive:!0,message:r,params:{max:t},skipAbsent:!0,test(s){return s.length<=this.resolve(t)}})}matches(t,r){let s=!1,n,a;return r&&(typeof r=="object"?{excludeEmptyString:s=!1,message:n,name:a}=r:n=r),this.test({name:a||"matches",message:n||et.matches,params:{regex:t},skipAbsent:!0,test:i=>i===""&&s||i.search(t)!==-1})}email(t=et.email){return this.matches(lu,{name:"email",message:t,excludeEmptyString:!0})}url(t=et.url){return this.matches(cu,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=et.uuid){return this.matches(du,{name:"uuid",message:t,excludeEmptyString:!1})}datetime(t){let r="",s,n;return t&&(typeof t=="object"?{message:r="",allowOffset:s=!1,precision:n=void 0}=t:r=t),this.matches(hu,{name:"datetime",message:r||et.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:r||et.datetime_offset,params:{allowOffset:s},skipAbsent:!0,test:a=>{if(!a||s)return!0;const i=An(a);return i?!!i.z:!1}}).test({name:"datetime_precision",message:r||et.datetime_precision,params:{precision:n},skipAbsent:!0,test:a=>{if(!a||n==null)return!0;const i=An(a);return i?i.precision===n:!1}})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=et.trim){return this.transform(r=>r!=null?r.trim():r).test({message:t,name:"trim",test:pu})}lowercase(t=et.lowercase){return this.transform(r=>bt(r)?r:r.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:r=>bt(r)||r===r.toLowerCase()})}uppercase(t=et.uppercase){return this.transform(r=>bt(r)?r:r.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:r=>bt(r)||r===r.toUpperCase()})}}lr.prototype=Si.prototype;let gu=e=>e!=+e;function Ei(){return new Ci}class Ci extends nt{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!gu(t)}}),this.withMutation(()=>{this.transform((t,r,s)=>{if(!s.spec.coerce)return t;let n=t;if(typeof n=="string"){if(n=n.replace(/\s/g,""),n==="")return NaN;n=+n}return s.isType(n)||n===null?n:parseFloat(n)})})}min(t,r=Pt.min){return this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(s){return s>=this.resolve(t)}})}max(t,r=Pt.max){return this.test({message:r,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(s){return s<=this.resolve(t)}})}lessThan(t,r=Pt.lessThan){return this.test({message:r,name:"max",exclusive:!0,params:{less:t},skipAbsent:!0,test(s){return s<this.resolve(t)}})}moreThan(t,r=Pt.moreThan){return this.test({message:r,name:"min",exclusive:!0,params:{more:t},skipAbsent:!0,test(s){return s>this.resolve(t)}})}positive(t=Pt.positive){return this.moreThan(0,t)}negative(t=Pt.negative){return this.lessThan(0,t)}integer(t=Pt.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:r=>Number.isInteger(r)})}truncate(){return this.transform(t=>bt(t)?t:t|0)}round(t){var r;let s=["ceil","floor","round","trunc"];if(t=((r=t)==null?void 0:r.toLowerCase())||"round",t==="trunc")return this.truncate();if(s.indexOf(t.toLowerCase())===-1)throw new TypeError("Only valid options for round() are: "+s.join(", "));return this.transform(n=>bt(n)?n:Math[t](n))}}Ei.prototype=Ci.prototype;let Ai=new Date(""),xu=e=>Object.prototype.toString.call(e)==="[object Date]";function Hn(){return new zr}class zr extends nt{constructor(){super({type:"date",check(t){return xu(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,r,s)=>!s.spec.coerce||s.isType(t)||t===null?t:(t=iu(t),isNaN(t)?zr.INVALID_DATE:new Date(t)))})}prepareParam(t,r){let s;if(tr.isRef(t))s=t;else{let n=this.cast(t);if(!this._typeCheck(n))throw new TypeError(`\`${r}\` must be a Date or a value that can be \`cast()\` to a Date`);s=n}return s}min(t,r=Sn.min){let s=this.prepareParam(t,"min");return this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(n){return n>=this.resolve(s)}})}max(t,r=Sn.max){let s=this.prepareParam(t,"max");return this.test({message:r,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(n){return n<=this.resolve(s)}})}}zr.INVALID_DATE=Ai;Hn.prototype=zr.prototype;Hn.INVALID_DATE=Ai;function vu(e,t=[]){let r=[],s=new Set,n=new Set(t.map(([i,l])=>`${i}-${l}`));function a(i,l){let c=Ht.split(i)[0];s.add(c),n.has(`${l}-${c}`)||r.push([l,c])}for(const i of Object.keys(e)){let l=e[i];s.add(i),tr.isRef(l)&&l.isSibling?a(l.path,i):Ms(l)&&"deps"in l&&l.deps.forEach(c=>a(c,i))}return Zd.array(Array.from(s),r).reverse()}function Ua(e,t){let r=1/0;return e.some((s,n)=>{var a;if((a=t.path)!=null&&a.includes(s))return r=n,!0}),r}function Ti(e){return(t,r)=>Ua(e,t)-Ua(e,r)}const _i=(e,t,r)=>{if(typeof e!="string")return e;let s=e;try{s=JSON.parse(e)}catch{}return r.isType(s)?s:e};function ps(e){if("fields"in e){const t={};for(const[r,s]of Object.entries(e.fields))t[r]=ps(s);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=ps(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(ps)}):"optional"in e?e.optional():e}const yu=(e,t)=>{const r=[...Ht.normalizePath(t)];if(r.length===1)return r[0]in e;let s=r.pop(),n=Ht.getter(Ht.join(r),!0)(e);return!!(n&&s in n)};let qa=e=>Object.prototype.toString.call(e)==="[object Object]";function Wa(e,t){let r=Object.keys(e.fields);return Object.keys(t).filter(s=>r.indexOf(s)===-1)}const wu=Ti([]);function Fi(e){return new Oi(e)}class Oi extends nt{constructor(t){super({type:"object",check(r){return qa(r)||typeof r=="function"}}),this.fields=Object.create(null),this._sortErrors=wu,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{t&&this.shape(t)})}_cast(t,r={}){var s;let n=super._cast(t,r);if(n===void 0)return this.getDefault(r);if(!this._typeCheck(n))return n;let a=this.fields,i=(s=r.stripUnknown)!=null?s:this.spec.noUnknown,l=[].concat(this._nodes,Object.keys(n).filter(f=>!this._nodes.includes(f))),c={},d=Object.assign({},r,{parent:c,__validating:r.__validating||!1}),u=!1;for(const f of l){let p=a[f],b=f in n;if(p){let g,v=n[f];d.path=(r.path?`${r.path}.`:"")+f,p=p.resolve({value:v,context:r.context,parent:c});let x=p instanceof nt?p.spec:void 0,m=x==null?void 0:x.strict;if(x!=null&&x.strip){u=u||f in n;continue}g=!r.__validating||!m?p.cast(n[f],d):n[f],g!==void 0&&(c[f]=g)}else b&&!i&&(c[f]=n[f]);(b!==f in c||c[f]!==n[f])&&(u=!0)}return u?c:n}_validate(t,r={},s,n){let{from:a=[],originalValue:i=t,recursive:l=this.spec.recursive}=r;r.from=[{schema:this,value:i},...a],r.__validating=!0,r.originalValue=i,super._validate(t,r,s,(c,d)=>{if(!l||!qa(d)){n(c,d);return}i=i||d;let u=[];for(let f of this._nodes){let p=this.fields[f];!p||tr.isRef(p)||u.push(p.asNestedTest({options:r,key:f,parent:d,parentPath:r.path,originalParent:i}))}this.runTests({tests:u,value:d,originalValue:i,options:r},s,f=>{n(f.sort(this._sortErrors).concat(c),d)})})}clone(t){const r=super.clone(t);return r.fields=Object.assign({},this.fields),r._nodes=this._nodes,r._excludedEdges=this._excludedEdges,r._sortErrors=this._sortErrors,r}concat(t){let r=super.concat(t),s=r.fields;for(let[n,a]of Object.entries(this.fields)){const i=s[n];s[n]=i===void 0?a:i}return r.withMutation(n=>n.setFields(s,[...this._excludedEdges,...t._excludedEdges]))}_getDefault(t){if("default"in this.spec)return super._getDefault(t);if(!this._nodes.length)return;let r={};return this._nodes.forEach(s=>{var n;const a=this.fields[s];let i=t;(n=i)!=null&&n.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[s]})),r[s]=a&&"getDefault"in a?a.getDefault(i):void 0}),r}setFields(t,r){let s=this.clone();return s.fields=t,s._nodes=vu(t,r),s._sortErrors=Ti(Object.keys(t)),r&&(s._excludedEdges=r),s}shape(t,r=[]){return this.clone().withMutation(s=>{let n=s._excludedEdges;return r.length&&(Array.isArray(r[0])||(r=[r]),n=[...s._excludedEdges,...r]),s.setFields(Object.assign(s.fields,t),n)})}partial(){const t={};for(const[r,s]of Object.entries(this.fields))t[r]="optional"in s&&s.optional instanceof Function?s.optional():s;return this.setFields(t)}deepPartial(){return ps(this)}pick(t){const r={};for(const s of t)this.fields[s]&&(r[s]=this.fields[s]);return this.setFields(r,this._excludedEdges.filter(([s,n])=>t.includes(s)&&t.includes(n)))}omit(t){const r=[];for(const s of Object.keys(this.fields))t.includes(s)||r.push(s);return this.pick(r)}from(t,r,s){let n=Ht.getter(t,!0);return this.transform(a=>{if(!a)return a;let i=a;return yu(a,t)&&(i=Object.assign({},a),s||delete i[t],i[r]=n(a)),i})}json(){return this.transform(_i)}exact(t){return this.test({name:"exact",exclusive:!0,message:t||ms.exact,test(r){if(r==null)return!0;const s=Wa(this.schema,r);return s.length===0||this.createError({params:{properties:s.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(t=!0,r=ms.noUnknown){typeof t!="boolean"&&(r=t,t=!0);let s=this.test({name:"noUnknown",exclusive:!0,message:r,test(n){if(n==null)return!0;const a=Wa(this.schema,n);return!t||a.length===0||this.createError({params:{unknown:a.join(", ")}})}});return s.spec.noUnknown=t,s}unknown(t=!0,r=ms.noUnknown){return this.noUnknown(!t,r)}transformKeys(t){return this.transform(r=>{if(!r)return r;const s={};for(const n of Object.keys(r))s[t(n)]=r[n];return s})}camelCase(){return this.transformKeys(Xs.camelCase)}snakeCase(){return this.transformKeys(Xs.snakeCase)}constantCase(){return this.transformKeys(t=>Xs.snakeCase(t).toUpperCase())}describe(t){const r=(t?this.resolve(t):this).clone(),s=super.describe(t);s.fields={};for(const[a,i]of Object.entries(r.fields)){var n;let l=t;(n=l)!=null&&n.value&&(l=Object.assign({},l,{parent:l.value,value:l.value[a]})),s.fields[a]=i.describe(l)}return s}}Fi.prototype=Oi.prototype;function Tn(e){return new Ri(e)}class Ri extends nt{constructor(t){super({type:"array",spec:{types:t},check(r){return Array.isArray(r)}}),this.innerType=void 0,this.innerType=t}_cast(t,r){const s=super._cast(t,r);if(!this._typeCheck(s)||!this.innerType)return s;let n=!1;const a=s.map((i,l)=>{const c=this.innerType.cast(i,Object.assign({},r,{path:`${r.path||""}[${l}]`}));return c!==i&&(n=!0),c});return n?a:s}_validate(t,r={},s,n){var a;let i=this.innerType,l=(a=r.recursive)!=null?a:this.spec.recursive;r.originalValue!=null&&r.originalValue,super._validate(t,r,s,(c,d)=>{var u;if(!l||!i||!this._typeCheck(d)){n(c,d);return}let f=new Array(d.length);for(let b=0;b<d.length;b++){var p;f[b]=i.asNestedTest({options:r,index:b,parent:d,parentPath:r.path,originalParent:(p=r.originalValue)!=null?p:t})}this.runTests({value:d,tests:f,originalValue:(u=r.originalValue)!=null?u:t,options:r},s,b=>n(b.concat(c),d))})}clone(t){const r=super.clone(t);return r.innerType=this.innerType,r}json(){return this.transform(_i)}concat(t){let r=super.concat(t);return r.innerType=this.innerType,t.innerType&&(r.innerType=r.innerType?r.innerType.concat(t.innerType):t.innerType),r}of(t){let r=this.clone();if(!Ms(t))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+Tt(t));return r.innerType=t,r.spec=Object.assign({},r.spec,{types:t}),r}length(t,r=hs.length){return this.test({message:r,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(s){return s.length===this.resolve(t)}})}min(t,r){return r=r||hs.min,this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(s){return s.length>=this.resolve(t)}})}max(t,r){return r=r||hs.max,this.test({message:r,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(s){return s.length<=this.resolve(t)}})}ensure(){return this.default(()=>[]).transform((t,r)=>this._typeCheck(t)?t:r==null?[]:[].concat(r))}compact(t){let r=t?(s,n,a)=>!t(s,n,a):s=>!!s;return this.transform(s=>s!=null?s.filter(r):s)}describe(t){const r=(t?this.resolve(t):this).clone(),s=super.describe(t);if(r.innerType){var n;let a=t;(n=a)!=null&&n.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[0]})),s.innerType=r.innerType.describe(a)}return s}}Tn.prototype=Ri.prototype;function ju(e){return e.validation??{}}function ku(e){return!!e.multiple}function Qs(e){const t=e.maxFiles;return typeof t=="number"?t:void 0}function At(e,t){return t.required?e.required(t.requiredMessage||"Requerido"):e}function ss(e,t){var s,n,a;let r=e;return((s=t.minLength)==null?void 0:s.value)!=null&&(r=r.min(t.minLength.value,t.minLength.message||`Mín. ${t.minLength.value} caracteres`)),((n=t.maxLength)==null?void 0:n.value)!=null&&(r=r.max(t.maxLength.value,t.maxLength.message||`Máx. ${t.maxLength.value} caracteres`)),((a=t.pattern)==null?void 0:a.value)instanceof RegExp&&(r=r.matches(t.pattern.value,t.pattern.message||"Formato inválido")),r}function Nu(e){var r;const t=ju(e);switch(e.type){case"text":case"password":{let s=lr().trim();return s=ss(s,t),At(s,t)}case"email":{let s=lr().trim().email(t.emailMessage||"Email inválido");return s=ss(s,t),At(s,t)}case"number":{let s=Ei().transform((n,a)=>a===""||a===null?void 0:n).typeError(t.typeError||"Debe ser un número");return((r=t.pattern)==null?void 0:r.value)instanceof RegExp&&(s=s.test("pattern-number",t.pattern.message||"Formato inválido",n=>n==null||t.pattern.value.test(String(n)))),At(s,t)}case"select":{if(ku(e)){const n=Tn().of(lr());return At(n,t)}let s=lr().trim();return s=ss(s,t),At(s,t)}case"checkbox":{let s=ki();return t.required&&(s=s.oneOf([!0],t.requiredMessage||"Debes marcar esta casilla")),s}case"textarea":{let s=lr().trim();return s=ss(s,t),At(s,t)}case"date":{const s=Hn().typeError(t.typeError||"Fecha inválida").transform((n,a)=>a?new Date(a):void 0);return At(s,t)}case"file":{const s=Tn().of(Cn()).test("max-files",Qs(e)?`Máx. ${Qs(e)} fichero(s)`:"Número de ficheros inválido",n=>{const a=Qs(e);return!Array.isArray(n)||!a||n.length<=a});return At(s,t)}default:{const s=Cn();return At(s,t)}}}function Di(e){const t={};for(const r of e.fields){const s=r;s.name&&(t[s.name]=Nu(s))}return Fi(t)}function Ir({options:e,value:t,onChange:r,children:s}){const n=h.useRef(null),[a,i]=h.useState({left:0,width:0});return h.useLayoutEffect(()=>{const l=n.current;if(!l)return;const c=()=>{const d=e.findIndex(x=>x.value===t);if(d<0)return;const u=l.children[d],f=u.querySelector("span"),p=(f==null?void 0:f.offsetWidth)??u.offsetWidth,b=u.offsetWidth,v=u.offsetLeft+(b-p)/2;i({left:v,width:p})};return c(),window.addEventListener("resize",c),l.addEventListener("scroll",c),()=>{window.removeEventListener("resize",c),l.removeEventListener("scroll",c)}},[t,e]),o.jsxs("div",{children:[o.jsxs("div",{className:"relative",children:[o.jsx("ul",{ref:n,role:"tablist",className:"flex justify-center overflow-x-auto border-b border-[var(--color-ds-border-default-50)]",children:e.map(l=>{const c=l.value===t;return o.jsx("li",{role:"tab","aria-selected":c,onClick:()=>r(l.value),className:se("cursor-pointer whitespace-nowrap px-4 py-2 transition-colors duration-150 ease-in-out",c?"text-[var(--color-ds-background-accent)]":"text-[var(--color-ds-text-primary)]"),children:o.jsx("span",{className:"inline-block",children:l.label})},l.value)})}),o.jsx("span",{className:"absolute bottom-0 h-1 bg-[var(--color-ds-background-accent)] transition-all duration-200 ease-in-out rounded-t-full",style:{left:a.left,width:a.width}})]}),o.jsx("div",{className:"mt-4 pb-4 border-b border-[var(--color-ds-border-default-50)]",children:s[t]})]})}const ns={sm:"text-ds-sm",md:"text-ds-md",lg:"text-ds-lg"},Ka={sm:"h-6",md:"h-10",lg:"h-12"},Ga={sm:"px-2",md:"px-2.5",lg:"px-3"},Ja={sm:"1.5rem",md:"2.5rem",lg:"3rem"};function Za({id:e,size:t,disabled:r,error:s,reserveErrorSpace:n,className:a,suffixButton:i,children:l}){return o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"relative flex items-center w-full",children:[l,i&&o.jsx("div",{className:"flex items-center h-full pr-2",children:i})]}),n?o.jsx("div",{className:"min-h-[18px] w-full",children:s!=null&&s.message?o.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:s.message}):o.jsx("span",{"aria-hidden":"true",children:" "})}):s!=null&&s.message?o.jsx("div",{className:"pt-1",children:o.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:s.message})}):null]})}function rt(e){const{control:t,name:r,rules:s,defaultValue:n,options:a=[],loadOptions:i,reloadDeps:l=[],value:c,onChange:d,size:u="sm",width:f="100%",label:p,labelHidden:b=!1,hasError:g=!1,errorMessage:v="",reserveErrorSpace:x,disableErrorPlaceholder:m,disabled:y=!1,className:j,suffixButton:_,loading:k=!1,coerceFirstValid:A=!0}=e,C=h.useId(),N=r||C,[M,U]=h.useState(a),[V,W]=h.useState(!!i);h.useEffect(()=>{i&&(W(!0),i().then(S=>U(S)).finally(()=>W(!1)))},[i,...l]);const $=S=>S.find(te=>te.value!==""&&te.value!==void 0)??S[0],L=typeof x=="boolean"?x:!!t;if(t&&r){const{field:S,fieldState:te}=si({name:r,control:t,rules:s,defaultValue:n});return h.useEffect(()=>{if(!V&&M.length>0&&A){const ie=S.value,K=M.some(me=>String(me.value)===String(ie));(ie===void 0||!K)&&S.onChange($(M).value)}},[M,V,S,A]),o.jsxs("div",{className:se("flex flex-col",j),style:{width:f,maxWidth:"100%"},children:[p&&o.jsx("label",{htmlFor:N,className:se("pb-2 text-[var(--color-ds-text-primary)]",ns[u],b&&"sr-only"),children:p}),k||V?o.jsx(Xt,{width:"100%",height:Ja[u],variant:"rect",className:"rounded-lg"}):o.jsx(Za,{id:N,size:u,disabled:y,error:te.error,reserveErrorSpace:typeof m=="boolean"?!m:L,className:j,suffixButton:_,children:o.jsx("select",{id:N,value:S.value,onChange:ie=>S.onChange(ie.target.value),disabled:y,className:se("box-border w-full rounded-lg border bg-[var(--color-ds-background-page)] outline-none transition font-[var(--font-primary)]",ns[u],Ka[u],Ga[u],te.error?"border-[var(--color-ds-border-error)]":"border-[var(--color-ds-border-default)]",y?"bg-[var(--color-ds-background-disabled)] border-[var(--color-ds-border-muted)] text-[var(--color-ds-text-primary)] cursor-not-allowed":"text-[var(--color-ds-text-primary)]",j),children:M.map(ie=>o.jsx("option",{value:ie.value,className:"bg-[var(--color-ds-background-page)] text-[var(--color-ds-text-primary)]",children:ie.label},ie.value))})})]})}return h.useEffect(()=>{if(!t&&M.length>0&&A){const S=M.some(ie=>String(ie.value)===String(c));(c===void 0||c===""||!S)&&d&&d($(M).value)}},[M,c,d,t,A]),o.jsxs("div",{className:se("flex flex-col",j),style:{width:f,maxWidth:"100%"},children:[p&&o.jsx("label",{htmlFor:N,className:se("pb-2 text-[var(--color-ds-text-primary)]",ns[u],b&&"sr-only"),children:p}),k||V?o.jsx(Xt,{width:"100%",height:Ja[u],variant:"rect",className:"rounded-lg"}):o.jsx(Za,{id:N,size:u,disabled:y,error:g?{message:v}:void 0,reserveErrorSpace:typeof m=="boolean"?!m:!!(x??!1),className:j,suffixButton:_,children:o.jsx("select",{id:N,value:c,onChange:S=>d==null?void 0:d(S.target.value),disabled:y,className:se("box-border w-full rounded-lg border bg-[var(--color-ds-background-page)] outline-none transition font-[var(--font-primary)]",ns[u],Ka[u],Ga[u],g?"border-[var(--color-ds-border-error)]":"border-[var(--color-ds-border-default)]",y?"bg-[var(--color-ds-background-disabled)] border-[var(--color-ds-border-muted)] text-[var(--color-ds-text-primary)] cursor-not-allowed":"text-[var(--color-ds-text-primary)]",j),children:M.map(S=>o.jsx("option",{value:S.value,className:"bg-[var(--color-ds-background-page)] text-[var(--color-ds-text-primary)]",children:S.label},S.value))})})]})}const Ya={sm:"text-ds-sm",md:"text-ds-md",lg:"text-ds-lg"};function Mi({groupLabel:e,inputs:t=[],separator:r=o.jsx("span",{className:"px-1 select-none",children:"/"}),useSeparator:s=!0,className:n,showVisibleLabel:a=!1,size:i="sm",width:l}){const c=t.length;return o.jsxs("div",{className:se("flex flex-col",n),style:l?{width:l}:void 0,children:[o.jsx("label",{className:se("sr-only pb-2",Ya[i]),children:e}),a&&o.jsx("label",{className:se("pb-2",Ya[i]),children:e}),o.jsx("div",{className:"flex items-center flex-nowrap",children:t.map((d,u)=>{const{width:f,className:p,options:b,loadOptions:g,...v}=d,x=Array.isArray(b)||typeof g=="function";let m="rounded-lg";!s&&c>1&&(u===0?m="rounded-l-lg rounded-r-none":u===c-1?m="rounded-r-lg rounded-l-none !rounded-l-none":m="rounded-none !rounded-l-none !rounded-r-none");const y=[],j=typeof f=="string"&&f.split(/\s+/).some(C=>C.startsWith("w-")||C.includes(":w-")),_=se("inline-flex items-center flex-shrink-0",typeof f=="string"&&j?f:void 0,!s&&c>1&&u>0?"-ml-px focus-within:z-10 relative":void 0),k=typeof f=="string"&&!j?{width:f}:void 0,A=se(p,m,y);return o.jsxs("div",{className:_,style:k,children:[x?o.jsx(rt,{...v,size:i,className:A,options:b,loadOptions:g}):o.jsx(ye,{...v,size:i,className:A}),s&&u<c-1&&r]},u)})})]})}const Ha={sm:"text-ds-sm",md:"text-ds-md",lg:"text-ds-lg"},Su={sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6"};function $i({groupLabel:e,options:t,control:r,name:s,rules:n,defaultValue:a,multiple:i=!0,size:l="sm",vertical:c=!0,className:d,showVisibleLabel:u=!0}){return o.jsx(gt,{name:s,control:r,rules:n,defaultValue:a,render:({field:f,fieldState:p})=>{const{value:b,onChange:g}=f;p.error;const v=m=>i?Array.isArray(b)&&b.includes(m):b===m,x=m=>{if(i){const y=Array.isArray(b)?[...b]:[],j=y.indexOf(m);j>=0?y.splice(j,1):y.push(m),g(y)}else g(m)};return o.jsxs("div",{className:se("w-full",d),children:[o.jsx("label",{className:se("sr-only pb-2 text-[var(--color-ds-text-primary)]",Ha[l]),children:e}),u&&o.jsx("label",{className:se("block pb-2 text-[var(--color-ds-text-primary)]",Ha[l]),children:e}),o.jsx("div",{className:se(c?"flex flex-col gap-2":"flex flex-wrap gap-4"),children:t.map(m=>o.jsxs("label",{className:"inline-flex items-center space-x-2 cursor-pointer select-none",children:[o.jsx("input",{type:i?"checkbox":"radio",name:s,value:m.value,checked:v(m.value),onChange:()=>x(m.value),className:se(Su[l],"text-[var(--color-ds-button-primary-bg)]","border-[var(--color-ds-border-default)]")}),o.jsx("span",{className:"text-[var(--color-ds-text-primary)] text-ds-md",children:m.label})]},m.value))})]})}})}function Eu(e){function t(i){var l,c;for(const d of Object.keys(i)){if((l=i[d])!=null&&l.types||(c=i[d])!=null&&c.message)return d;if(typeof i[d]=="object"){const u=t(i[d]);if(u)return`${d}.${u}`}}return null}const r=t(e);if(!r)return;const s=`[name="${r}"]`,n=`[name^="${r}["], [name^="${r}."]`,a=document.querySelector(s)??document.querySelector(n);a&&(a.scrollIntoView({behavior:"smooth",block:"center"}),a.focus({preventScroll:!0}))}const Cu={success:"bg-green-100 border-green-500 text-green-800",error:"bg-red-100 border-red-500 text-red-800",info:"bg-blue-100 border-blue-500 text-blue-800",warning:"bg-yellow-100 border-yellow-500 text-yellow-800"},Li=({id:e,message:t,variant:r="info",duration:s=5e3,onClose:n})=>(h.useEffect(()=>{const a=setTimeout(()=>n(e),s);return()=>clearTimeout(a)},[e,s,n]),o.jsxs("div",{className:se("w-80 max-w-full border-l-4 rounded shadow-md p-4 mb-2 flex justify-between items-start",Cu[r]),role:"alert","aria-live":"assertive",children:[o.jsx("span",{className:"flex-1",children:t}),o.jsx("button",{onClick:()=>n(e),className:"ml-4 text-xl font-bold leading-none focus:outline-none",children:"×"})]}));let as;const Au=new Uint8Array(16);function Tu(){if(!as&&(as=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!as))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return as(Au)}const Ue=[];for(let e=0;e<256;++e)Ue.push((e+256).toString(16).slice(1));function _u(e,t=0){return Ue[e[t+0]]+Ue[e[t+1]]+Ue[e[t+2]]+Ue[e[t+3]]+"-"+Ue[e[t+4]]+Ue[e[t+5]]+"-"+Ue[e[t+6]]+Ue[e[t+7]]+"-"+Ue[e[t+8]]+Ue[e[t+9]]+"-"+Ue[e[t+10]]+Ue[e[t+11]]+Ue[e[t+12]]+Ue[e[t+13]]+Ue[e[t+14]]+Ue[e[t+15]]}const Fu=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Xa={randomUUID:Fu};function Ou(e,t,r){if(Xa.randomUUID&&!e)return Xa.randomUUID();e=e||{};const s=e.random||(e.rng||Tu)();return s[6]=s[6]&15|64,s[8]=s[8]&63|128,_u(s)}const Pi=h.createContext(null),Vr=()=>{const e=h.useContext(Pi);if(!e)throw new Error("useToast debe usarse dentro de <ToastProvider>");return e},Ru=({children:e})=>{const[t,r]=h.useState([]),s=(a,i="info",l=5e3)=>{const c=Ou();r(d=>[...d,{id:c,message:a,variant:i,duration:l}])},n=a=>{r(i=>i.filter(l=>l.id!==a))};return o.jsxs(Pi.Provider,{value:{show:s},children:[e,o.jsx("div",{className:"fixed top-4 right-4 z-50 flex flex-col items-end",children:t.map(a=>o.jsx(Li,{id:a.id,message:a.message,variant:a.variant,duration:a.duration,onClose:n},a.id))})]})},Du=e=>e.type==="inputGroup",Mu=e=>e.type==="button",$u=e=>!Du(e)&&!Mu(e);function Lu(e){const t=Array.isArray(e)?e:[];return h.useMemo(()=>{const r={};for(const s of t)$u(s)&&s.name&&(r[s.name]=s);return r},[t])}const zi=h.createContext(null);function Ii({children:e,value:t}){return o.jsx(zi.Provider,{value:t,children:e})}function $s(){const e=h.useContext(zi);if(!e)throw new Error("useAdapters debe usarse dentro de <AdaptersProvider />");return e}const Pu=e=>!!e&&typeof e.then=="function";function zu(e){return Array.isArray(e)?e.length>0&&typeof e[0]=="object"&&e[0]!==null?e.map(t=>{var n;if("label"in t&&"value"in t)return t;const s=(n=Object.entries(t)[0])==null?void 0:n[1];return{label:String(s??JSON.stringify(t)),value:String(s??"")}}):e.map(t=>({label:String(t),value:t})):[]}function Iu(e){const{services:t}=$s(),[r,s]=h.useState({}),[n,a]=h.useState(0),i=h.useRef(!0);h.useEffect(()=>(i.current=!0,()=>{i.current=!1}),[]);const l=h.useMemo(()=>e.filter(c=>c.type==="select"&&!c.options&&typeof c.optionSource=="string"&&c.name),[e]);return h.useEffect(()=>{if(l.length===0)return;let c=!1;return(async()=>{a(d=>d+1);try{const d=await Promise.all(l.map(async u=>{var x;const f=u.name,p=u.optionSource,b=(x=t==null?void 0:t.registry)==null?void 0:x[p];if(!b)return[f,[]];const g=Pu(b)?await b:await b(),v=zu(g);return[f,v]}));if(c||!i.current)return;s(u=>{const f={...u};for(const[p,b]of d)f[p]=[...b];return f})}finally{!c&&i.current&&a(d=>Math.max(0,d-1))}})(),()=>{c=!0}},[l,t==null?void 0:t.registry]),{optionsMap:r,loadingCount:n}}const Vu=e=>e.type==="inputGroup",Bu=e=>e.type==="button",Uu=e=>!Vu(e)&&!Bu(e);function qu(e){return typeof e=="object"&&e!==null}const Wu=e=>{const t=e.disabledWhen;if(!qu(t))return!1;const r="watchField"in t,s="rule"in t;return r&&!s};function Ku(e,t){const r=Array.isArray(e)?e:[],s=h.useMemo(()=>r.filter(Uu).filter(Wu),[r]),n=h.useMemo(()=>s.map(c=>c.disabledWhen.watchField),[s]),a=Kn({control:t,...n.length>0?{name:n}:{}}),i=Array.isArray(a)?a:[],l={};return s.forEach((c,d)=>{const u=i[d];l[c.name??`__unnamed_${d}`]=u===c.disabledWhen.watchValue}),l}const Qa={sm:"text-ds-sm",md:"text-ds-md",lg:"text-ds-lg"},Gu={sm:"px-2 py-1",md:"px-3 py-2",lg:"px-4 py-3"};function Ls({control:e,name:t,rules:r,defaultValue:s,size:n="sm",width:a="100%",label:i,labelHidden:l=!1,hasError:c=!1,errorMessage:d="",maxLength:u,showCounter:f=!1,className:p,suffixButton:b,...g}){const v=h.useId(),x=t||v,[m,y]=h.useState(s||"");if(e&&t)return o.jsx(gt,{name:t,control:e,rules:r,defaultValue:s||"",render:({field:_,fieldState:k})=>{var A;return o.jsx(Ls,{...g,size:n,width:a,label:i,labelHidden:l,hasError:!!k.error,errorMessage:((A=k.error)==null?void 0:A.message)||"",maxLength:u,showCounter:f,className:p,suffixButton:b,value:_.value,onChange:_.onChange})}});h.useEffect(()=>{y(s||"")},[s]);const j=_=>{var k;u!==void 0&&_.target.value.length>u||(y(_.target.value),(k=g.onChange)==null||k.call(g,_))};return o.jsxs("div",{className:se("flex flex-col",p),style:{width:a},children:[i&&o.jsx("label",{htmlFor:x,className:se("pb-2 text-[var(--color-ds-text-primary)]",Qa[n],l&&"sr-only"),children:i}),o.jsxs("div",{className:"flex items-stretch gap-2",children:[o.jsx("textarea",{id:x,className:se("box-border bg-[var(--color-ds-background-page)] w-full resize vertical rounded-lg border outline-none transition font-[var(--font-primary)]",Qa[n],Gu[n],c?"border-[var(--color-ds-border-error)]":"border-[var(--color-ds-border-default)]",g.disabled?"bg-[var(--color-ds-background-disabled)] border-[var(--color-ds-border-muted)] text-[var(--color-ds-text-secondary)] cursor-not-allowed":"text-[var(--color-ds-text-primary)]"),value:m,onChange:j,maxLength:u,...g}),b?o.jsx("div",{className:"shrink-0",children:b}):null]}),o.jsxs("div",{className:"flex justify-between pt-1 min-h-[18px]",children:[c&&d?o.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:d}):o.jsx("span",{"aria-hidden":"true",children:" "}),f&&u!==void 0&&o.jsxs("span",{className:"text-xs text-[var(--color-ds-text-secondary)]",children:[m.length,"/",u]})]})]})}const Ju={sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6"};function dt({control:e=null,name:t,rules:r,defaultValue:s=!1,label:n,labelHidden:a=!1,disabled:i=!1,size:l="sm",className:c,hasError:d=!1,errorMessage:u="",checked:f,onChange:p}){const b=se(Ju[l],"text-[var(--color-ds-button-primary-bg)]","border-[var(--color-ds-border-default)]",i&&"opacity-50 cursor-not-allowed"),g=se("text-[var(--color-ds-text-primary)] text-ds-md",i&&"text-[var(--color-ds-text-secondary)]",a&&"sr-only");return e?o.jsx("div",{className:se("flex flex-col",c),children:o.jsx(gt,{name:t||"",control:e,rules:r,defaultValue:s,render:({field:v,fieldState:x})=>{const m=x.error;return o.jsxs(o.Fragment,{children:[o.jsxs("label",{className:"flex items-center space-x-2",children:[o.jsx("input",{id:t,type:"checkbox",className:b,checked:!!v.value,onChange:y=>v.onChange(y.target.checked),disabled:i}),n&&o.jsx("span",{className:g,children:n})]}),(d||m)&&((m==null?void 0:m.message)||u)&&o.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:(m==null?void 0:m.message)||u})]})}})}):o.jsxs("div",{className:se("flex flex-col",c),children:[o.jsxs("label",{className:"flex items-center space-x-2",children:[o.jsx("input",{id:t,type:"checkbox",className:b,checked:!!f,onChange:v=>p==null?void 0:p(v.target.checked),disabled:i}),n&&o.jsx("span",{className:g,children:n})]}),d&&!!u&&o.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:u})]})}function Vi({name:e,control:t,searchFn:r,resolveByValue:s,label:n,size:a="sm",width:i="100%",disabled:l=!1,searchMode:c="button",minChars:d=3,debounceMs:u=600}){const f=Pr(),{watch:p,getValues:b,setValue:g}=f,v=Kn({control:t,name:e}),[x,m]=h.useState([]),[y,j]=h.useState(!1),[_,k]=h.useState(!1),[A,C]=h.useState(""),N=h.useRef(null),M=h.useRef(null),U=h.useRef(!1),V=h.useRef(!1),W=h.useRef(!0),$=h.useMemo(()=>{const K=new Map;for(const me of x)K.set(String(me.value).trim(),me.label??"");return K},[x]),L=async K=>{const me=(K??"").trim();if(!me){m([]),k(!1);return}j(!0);try{const I=await r(me,{watch:p,getValues:b});m(I??[]),k(!0)}finally{j(!1)}};h.useEffect(()=>{function K(me){N.current&&!N.current.contains(me.target)&&k(!1)}if(_)return document.addEventListener("mousedown",K),()=>document.removeEventListener("mousedown",K)},[_]),h.useEffect(()=>{if(U.current)return;const me=(v?String(v):"").trim();if(!me){C(""),k(!1);return}const I=$.get(me);if(I){C(I),k(!1),W.current=!0;return}let z=!1;return(async()=>{if(s)try{const Y=await s(me,{watch:p,getValues:b});z||(C((Y==null?void 0:Y.label)??me),k(!1),W.current=!0)}catch{z||(C(me),k(!1),W.current=!0)}else C(me),k(!1),W.current=!0})(),()=>{z=!0}},[v,$,s,p,b]),h.useEffect(()=>{if(c!=="debounced"||l)return;if(W.current){W.current=!1;return}if(!V.current)return;M.current&&(window.clearTimeout(M.current),M.current=null);const K=(A||"").trim();return K.length>=d?M.current=window.setTimeout(()=>{L(K)},u):(m([]),k(!1)),()=>{M.current&&(window.clearTimeout(M.current),M.current=null)}},[A,c,d,u,l]);const S=a==="sm"?"text-ds-sm":a==="md"?"text-ds-md":"text-ds-lg",te=a==="sm"?"h-6":a==="md"?"h-10":"h-12",ie=K=>{if(l)return;const me=(A||"").trim();K.key==="Enter"&&(K.preventDefault(),c==="debounced"?me.length>=d&&L(me):L(me)),K.key==="Escape"&&k(!1)};return o.jsx(gt,{name:e,control:t,render:({field:K,fieldState:me})=>{var I;return o.jsxs("div",{ref:N,className:"relative flex flex-col",style:{width:i},children:[n&&o.jsx("label",{className:`pb-2 text-[var(--color-ds-text-primary)] ${S}`,children:n}),o.jsx(ye,{className:c==="button"?"rounded-r-none":void 0,type:"text",size:a,width:"100%",value:A,onChange:z=>{const Y=z.target.value;U.current=!0,V.current=!0,C(Y),(v?String(v):"").trim()&&g(e,"",{shouldDirty:!0})},onKeyDown:ie,onBlur:()=>{U.current=!1},disabled:l,hasError:me.invalid,errorMessage:(I=me.error)==null?void 0:I.message,onFocus:()=>{if(U.current=!0,c==="button"&&V.current){const z=(A||"").trim();z&&L(z)}},suffixButton:c==="button"?o.jsx(fe,{type:"button",className:"!rounded-l-none",size:a,variant:"primary",onClick:()=>L((A||"").trim()),disabled:l,children:"Buscar"}):void 0}),y&&o.jsx("div",{className:"absolute top-14 left-0 right-0 z-10",children:o.jsx(Xt,{width:"100%",height:a==="sm"?"1.5rem":a==="md"?"2.5rem":"3rem",variant:"rect",className:"rounded-lg"})}),_&&!y&&x.length>0&&o.jsx("ul",{className:`
45
+ `+(c!==i?`result of cast: ${c}`:""))}return l}_cast(t,r){let n=t===void 0?t:this.transforms.reduce((o,l)=>l.call(this,o,t,this,r),t);return n===void 0&&(n=this.getDefault(r)),n}_validate(t,r={},n,o){let{path:l,originalValue:i=t,strict:c=this.spec.strict}=r,d=t;c||(d=this._cast(d,Object.assign({assert:!1},r)));let u=[];for(let f of Object.values(this.internalTests))f&&u.push(f);this.runTests({path:l,value:d,originalValue:i,options:r,tests:u},n,f=>{if(f.length)return o(f,d);this.runTests({path:l,value:d,originalValue:i,options:r,tests:this.tests},n,o)})}runTests(t,r,n){let o=!1,{tests:l,value:i,originalValue:c,path:d,options:u}=t,f=x=>{o||(o=!0,r(x,i))},m=x=>{o||(o=!0,n(x,i))},h=l.length,g=[];if(!h)return m([]);let w={value:i,originalValue:c,path:d,options:u,schema:this};for(let x=0;x<l.length;x++){const y=l[x];y(w,f,function(p){p&&(Array.isArray(p)?g.push(...p):g.push(p)),--h<=0&&m(g)})}}asNestedTest({key:t,index:r,parent:n,parentPath:o,originalParent:l,options:i}){const c=t??r;if(c==null)throw TypeError("Must include `key` or `index` for nested validations");const d=typeof c=="number";let u=n[c];const f=Object.assign({},i,{strict:!0,parent:n,value:u,originalValue:l[c],key:void 0,[d?"index":"key"]:c,path:d||c.includes(".")?`${o||""}[${d?c:`"${c}"`}]`:(o?`${o}.`:"")+t});return(m,h,g)=>this.resolve(f)._validate(u,f,h,g)}validate(t,r){var n;let o=this.resolve(Object.assign({},r,{value:t})),l=(n=r==null?void 0:r.disableStackTrace)!=null?n:o.spec.disableStackTrace;return new Promise((i,c)=>o._validate(t,r,(d,u)=>{lt.isError(d)&&(d.value=u),c(d)},(d,u)=>{d.length?c(new lt(d,u,void 0,void 0,l)):i(u)}))}validateSync(t,r){var n;let o=this.resolve(Object.assign({},r,{value:t})),l,i=(n=r==null?void 0:r.disableStackTrace)!=null?n:o.spec.disableStackTrace;return o._validate(t,Object.assign({},r,{sync:!0}),(c,d)=>{throw lt.isError(c)&&(c.value=d),c},(c,d)=>{if(c.length)throw new lt(c,t,void 0,void 0,i);l=d}),l}isValid(t,r){return this.validate(t,r).then(()=>!0,n=>{if(lt.isError(n))return!1;throw n})}isValidSync(t,r){try{return this.validateSync(t,r),!0}catch(n){if(lt.isError(n))return!1;throw n}}_getDefault(t){let r=this.spec.default;return r==null?r:typeof r=="function"?r.call(this,t):jr(r)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,r){const n=this.clone({nullable:t});return n.internalTests.nullable=br({message:r,name:"nullable",test(o){return o===null?this.schema.spec.nullable:!0}}),n}optionality(t,r){const n=this.clone({optional:t});return n.internalTests.optionality=br({message:r,name:"optionality",test(o){return o===void 0?this.schema.spec.optional:!0}}),n}optional(){return this.optionality(!0)}defined(t=Bt.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=Bt.notNull){return this.nullability(!1,t)}required(t=Bt.required){return this.clone().withMutation(r=>r.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let r=this.clone();return r.transforms.push(t),r}test(...t){let r;if(t.length===1?typeof t[0]=="function"?r={test:t[0]}:r=t[0]:t.length===2?r={name:t[0],test:t[1]}:r={name:t[0],message:t[1],test:t[2]},r.message===void 0&&(r.message=Bt.default),typeof r.test!="function")throw new TypeError("`test` is a required parameters");let n=this.clone(),o=br(r),l=r.exclusive||r.name&&n.exclusiveTests[r.name]===!0;if(r.exclusive&&!r.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return r.name&&(n.exclusiveTests[r.name]=!!r.exclusive),n.tests=n.tests.filter(i=>!(i.OPTIONS.name===r.name&&(l||i.OPTIONS.test===o.OPTIONS.test))),n.tests.push(o),n}when(t,r){!Array.isArray(t)&&typeof t!="string"&&(r=t,t=".");let n=this.clone(),o=bi(t).map(l=>new fr(l));return o.forEach(l=>{l.isSibling&&n.deps.push(l.key)}),n.conditions.push(typeof r=="function"?new sa(o,r):sa.fromOptions(o,r)),n}typeError(t){let r=this.clone();return r.internalTests.typeError=br({message:t,name:"typeError",skipAbsent:!0,test(n){return this.schema._typeCheck(n)?!0:this.createError({params:{type:this.schema.type}})}}),r}oneOf(t,r=Bt.oneOf){let n=this.clone();return t.forEach(o=>{n._whitelist.add(o),n._blacklist.delete(o)}),n.internalTests.whiteList=br({message:r,name:"oneOf",skipAbsent:!0,test(o){let l=this.schema._whitelist,i=l.resolveAll(this.resolve);return i.includes(o)?!0:this.createError({params:{values:Array.from(l).join(", "),resolved:i}})}}),n}notOneOf(t,r=Bt.notOneOf){let n=this.clone();return t.forEach(o=>{n._blacklist.add(o),n._whitelist.delete(o)}),n.internalTests.blacklist=br({message:r,name:"notOneOf",test(o){let l=this.schema._blacklist,i=l.resolveAll(this.resolve);return i.includes(o)?this.createError({params:{values:Array.from(l).join(", "),resolved:i}}):!0}}),n}strip(t=!0){let r=this.clone();return r.spec.strip=t,r}describe(t){const r=(t?this.resolve(t):this).clone(),{label:n,meta:o,optional:l,nullable:i}=r.spec;return{meta:o,label:n,optional:l,nullable:i,default:r.getDefault(t),type:r.type,oneOf:r._whitelist.describe(),notOneOf:r._blacklist.describe(),tests:r.tests.filter((d,u,f)=>f.findIndex(m=>m.OPTIONS.name===d.OPTIONS.name)===u).map(d=>{const u=d.OPTIONS.params&&t?ki(Object.assign({},d.OPTIONS.params),t):d.OPTIONS.params;return{name:d.OPTIONS.name,params:u}})}}get"~standard"(){const t=this;return{version:1,vendor:"yup",async validate(n){try{return{value:await t.validate(n,{abortEarly:!1})}}catch(o){if(o instanceof lt)return{issues:ji(o)};throw o}}}}}vt.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])vt.prototype[`${e}At`]=function(t,r,n={}){const{parent:o,parentPath:l,schema:i}=b8(this,t,r,n.context);return i[e](o&&o[l],Object.assign({},n,{parent:o,path:t}))};for(const e of["equals","is"])vt.prototype[e]=vt.prototype.oneOf;for(const e of["not","nope"])vt.prototype[e]=vt.prototype.notOneOf;const E8=()=>!0;function Gr(e){return new Ci(e)}class Ci extends vt{constructor(t){super(typeof t=="function"?{type:"mixed",check:t}:Object.assign({type:"mixed",check:E8},t))}}Gr.prototype=Ci.prototype;function Mi(){return new Ai}class Ai extends vt{constructor(){super({type:"boolean",check(t){return t instanceof Boolean&&(t=t.valueOf()),typeof t=="boolean"}}),this.withMutation(()=>{this.transform((t,r)=>{if(this.spec.coerce&&!this.isType(t)){if(/^(true|1)$/i.test(String(t)))return!0;if(/^(false|0)$/i.test(String(t)))return!1}return t})})}isTrue(t=ko.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"true"},test(r){return Ot(r)||r===!0}})}isFalse(t=ko.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"false"},test(r){return Ot(r)||r===!1}})}default(t){return super.default(t)}defined(t){return super.defined(t)}optional(){return super.optional()}required(t){return super.required(t)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(t){return super.nonNullable(t)}strip(t){return super.strip(t)}}Mi.prototype=Ai.prototype;const k8=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function R8(e){const t=Ro(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(t.z===void 0&&t.plusMinus===void 0)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let r=0;return t.z!=="Z"&&t.plusMinus!==void 0&&(r=t.hourOffset*60+t.minuteOffset,t.plusMinus==="+"&&(r=0-r)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+r,t.second,t.millisecond)}function Ro(e){var t,r;const n=k8.exec(e);return n?{year:Pt(n[1]),month:Pt(n[2],1)-1,day:Pt(n[3],1),hour:Pt(n[4]),minute:Pt(n[5]),second:Pt(n[6]),millisecond:n[7]?Pt(n[7].substring(0,3)):0,precision:(t=(r=n[7])==null?void 0:r.length)!=null?t:void 0,z:n[8]||void 0,plusMinus:n[9]||void 0,hourOffset:Pt(n[10]),minuteOffset:Pt(n[11])}:null}function Pt(e,t=0){return Number(e)||t}let j8=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,C8=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,M8=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,A8="^\\d{4}-\\d{2}-\\d{2}",S8="\\d{2}:\\d{2}:\\d{2}",$8="(([+-]\\d{2}(:?\\d{2})?)|Z)",L8=new RegExp(`${A8}T${S8}(\\.\\d+)?${$8}$`),O8=e=>Ot(e)||e===e.trim(),N8={}.toString();function Rr(){return new Si}class Si extends vt{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,r)=>{if(!this.spec.coerce||this.isType(t)||Array.isArray(t))return t;const n=t!=null&&t.toString?t.toString():t;return n===N8?t:n})})}required(t){return super.required(t).withMutation(r=>r.test({message:t||Bt.required,name:"required",skipAbsent:!0,test:n=>!!n.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests=t.tests.filter(r=>r.OPTIONS.name!=="required"),t))}length(t,r=mt.length){return this.test({message:r,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(n){return n.length===this.resolve(t)}})}min(t,r=mt.min){return this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(n){return n.length>=this.resolve(t)}})}max(t,r=mt.max){return this.test({name:"max",exclusive:!0,message:r,params:{max:t},skipAbsent:!0,test(n){return n.length<=this.resolve(t)}})}matches(t,r){let n=!1,o,l;return r&&(typeof r=="object"?{excludeEmptyString:n=!1,message:o,name:l}=r:o=r),this.test({name:l||"matches",message:o||mt.matches,params:{regex:t},skipAbsent:!0,test:i=>i===""&&n||i.search(t)!==-1})}email(t=mt.email){return this.matches(j8,{name:"email",message:t,excludeEmptyString:!0})}url(t=mt.url){return this.matches(C8,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=mt.uuid){return this.matches(M8,{name:"uuid",message:t,excludeEmptyString:!1})}datetime(t){let r="",n,o;return t&&(typeof t=="object"?{message:r="",allowOffset:n=!1,precision:o=void 0}=t:r=t),this.matches(L8,{name:"datetime",message:r||mt.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:r||mt.datetime_offset,params:{allowOffset:n},skipAbsent:!0,test:l=>{if(!l||n)return!0;const i=Ro(l);return i?!!i.z:!1}}).test({name:"datetime_precision",message:r||mt.datetime_precision,params:{precision:o},skipAbsent:!0,test:l=>{if(!l||o==null)return!0;const i=Ro(l);return i?i.precision===o:!1}})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=mt.trim){return this.transform(r=>r!=null?r.trim():r).test({message:t,name:"trim",test:O8})}lowercase(t=mt.lowercase){return this.transform(r=>Ot(r)?r:r.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:r=>Ot(r)||r===r.toLowerCase()})}uppercase(t=mt.uppercase){return this.transform(r=>Ot(r)?r:r.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:r=>Ot(r)||r===r.toUpperCase()})}}Rr.prototype=Si.prototype;let F8=e=>e!=+e;function $i(){return new Li}class Li extends vt{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!F8(t)}}),this.withMutation(()=>{this.transform((t,r)=>{if(!this.spec.coerce)return t;let n=t;if(typeof n=="string"){if(n=n.replace(/\s/g,""),n==="")return NaN;n=+n}return this.isType(n)||n===null?n:parseFloat(n)})})}min(t,r=Yt.min){return this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(n){return n>=this.resolve(t)}})}max(t,r=Yt.max){return this.test({message:r,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(n){return n<=this.resolve(t)}})}lessThan(t,r=Yt.lessThan){return this.test({message:r,name:"max",exclusive:!0,params:{less:t},skipAbsent:!0,test(n){return n<this.resolve(t)}})}moreThan(t,r=Yt.moreThan){return this.test({message:r,name:"min",exclusive:!0,params:{more:t},skipAbsent:!0,test(n){return n>this.resolve(t)}})}positive(t=Yt.positive){return this.moreThan(0,t)}negative(t=Yt.negative){return this.lessThan(0,t)}integer(t=Yt.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:r=>Number.isInteger(r)})}truncate(){return this.transform(t=>Ot(t)?t:t|0)}round(t){var r;let n=["ceil","floor","round","trunc"];if(t=((r=t)==null?void 0:r.toLowerCase())||"round",t==="trunc")return this.truncate();if(n.indexOf(t.toLowerCase())===-1)throw new TypeError("Only valid options for round() are: "+n.join(", "));return this.transform(o=>Ot(o)?o:Math[t](o))}}$i.prototype=Li.prototype;let Oi=new Date(""),I8=e=>Object.prototype.toString.call(e)==="[object Date]";function is(){return new wn}class wn extends vt{constructor(){super({type:"date",check(t){return I8(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,r)=>!this.spec.coerce||this.isType(t)||t===null?t:(t=R8(t),isNaN(t)?wn.INVALID_DATE:new Date(t)))})}prepareParam(t,r){let n;if(fr.isRef(t))n=t;else{let o=this.cast(t);if(!this._typeCheck(o))throw new TypeError(`\`${r}\` must be a Date or a value that can be \`cast()\` to a Date`);n=o}return n}min(t,r=Eo.min){let n=this.prepareParam(t,"min");return this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(o){return o>=this.resolve(n)}})}max(t,r=Eo.max){let n=this.prepareParam(t,"max");return this.test({message:r,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(o){return o<=this.resolve(n)}})}}wn.INVALID_DATE=Oi;is.prototype=wn.prototype;is.INVALID_DATE=Oi;function Z8(e,t=[]){let r=[],n=new Set,o=new Set(t.map(([i,c])=>`${i}-${c}`));function l(i,c){let d=ir.split(i)[0];n.add(d),o.has(`${c}-${d}`)||r.push([c,d])}for(const i of Object.keys(e)){let c=e[i];n.add(i),fr.isRef(c)&&c.isSibling?l(c.path,i):ja(c)&&"deps"in c&&c.deps.forEach(d=>l(d,i))}return d8.array(Array.from(n),r).reverse()}function cl(e,t){let r=1/0;return e.some((n,o)=>{var l;if((l=t.path)!=null&&l.includes(n))return r=o,!0}),r}function Ni(e){return(t,r)=>cl(e,t)-cl(e,r)}const Fi=(e,t,r)=>{if(typeof e!="string")return e;let n=e;try{n=JSON.parse(e)}catch{}return r.isType(n)?n:e};function Yn(e){if("fields"in e){const t={};for(const[r,n]of Object.entries(e.fields))t[r]=Yn(n);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=Yn(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(Yn)}):"optional"in e?e.optional():e}const B8=(e,t)=>{const r=[...ir.normalizePath(t)];if(r.length===1)return r[0]in e;let n=r.pop(),o=ir.getter(ir.join(r),!0)(e);return!!(o&&n in o)};let dl=e=>Object.prototype.toString.call(e)==="[object Object]";function ul(e,t){let r=Object.keys(e.fields);return Object.keys(t).filter(n=>r.indexOf(n)===-1)}const V8=Ni([]);function Ii(e){return new Zi(e)}class Zi extends vt{constructor(t){super({type:"object",check(r){return dl(r)||typeof r=="function"}}),this.fields=Object.create(null),this._sortErrors=V8,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{t&&this.shape(t)})}_cast(t,r={}){var n;let o=super._cast(t,r);if(o===void 0)return this.getDefault(r);if(!this._typeCheck(o))return o;let l=this.fields,i=(n=r.stripUnknown)!=null?n:this.spec.noUnknown,c=[].concat(this._nodes,Object.keys(o).filter(m=>!this._nodes.includes(m))),d={},u=Object.assign({},r,{parent:d,__validating:r.__validating||!1}),f=!1;for(const m of c){let h=l[m],g=m in o,w=o[m];if(h){let x;u.path=(r.path?`${r.path}.`:"")+m,h=h.resolve({value:w,context:r.context,parent:d});let y=h instanceof vt?h.spec:void 0,b=y==null?void 0:y.strict;if(y!=null&&y.strip){f=f||m in o;continue}x=!r.__validating||!b?h.cast(w,u):w,x!==void 0&&(d[m]=x)}else g&&!i&&(d[m]=w);(g!==m in d||d[m]!==w)&&(f=!0)}return f?d:o}_validate(t,r={},n,o){let{from:l=[],originalValue:i=t,recursive:c=this.spec.recursive}=r;r.from=[{schema:this,value:i},...l],r.__validating=!0,r.originalValue=i,super._validate(t,r,n,(d,u)=>{if(!c||!dl(u)){o(d,u);return}i=i||u;let f=[];for(let m of this._nodes){let h=this.fields[m];!h||fr.isRef(h)||f.push(h.asNestedTest({options:r,key:m,parent:u,parentPath:r.path,originalParent:i}))}this.runTests({tests:f,value:u,originalValue:i,options:r},n,m=>{o(m.sort(this._sortErrors).concat(d),u)})})}clone(t){const r=super.clone(t);return r.fields=Object.assign({},this.fields),r._nodes=this._nodes,r._excludedEdges=this._excludedEdges,r._sortErrors=this._sortErrors,r}concat(t){let r=super.concat(t),n=r.fields;for(let[o,l]of Object.entries(this.fields)){const i=n[o];n[o]=i===void 0?l:i}return r.withMutation(o=>o.setFields(n,[...this._excludedEdges,...t._excludedEdges]))}_getDefault(t){if("default"in this.spec)return super._getDefault(t);if(!this._nodes.length)return;let r={};return this._nodes.forEach(n=>{var o;const l=this.fields[n];let i=t;(o=i)!=null&&o.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[n]})),r[n]=l&&"getDefault"in l?l.getDefault(i):void 0}),r}setFields(t,r){let n=this.clone();return n.fields=t,n._nodes=Z8(t,r),n._sortErrors=Ni(Object.keys(t)),r&&(n._excludedEdges=r),n}shape(t,r=[]){return this.clone().withMutation(n=>{let o=n._excludedEdges;return r.length&&(Array.isArray(r[0])||(r=[r]),o=[...n._excludedEdges,...r]),n.setFields(Object.assign(n.fields,t),o)})}partial(){const t={};for(const[r,n]of Object.entries(this.fields))t[r]="optional"in n&&n.optional instanceof Function?n.optional():n;return this.setFields(t)}deepPartial(){return Yn(this)}pick(t){const r={};for(const n of t)this.fields[n]&&(r[n]=this.fields[n]);return this.setFields(r,this._excludedEdges.filter(([n,o])=>t.includes(n)&&t.includes(o)))}omit(t){const r=[];for(const n of Object.keys(this.fields))t.includes(n)||r.push(n);return this.pick(r)}from(t,r,n){let o=ir.getter(t,!0);return this.transform(l=>{if(!l)return l;let i=l;return B8(l,t)&&(i=Object.assign({},l),n||delete i[t],i[r]=o(l)),i})}json(){return this.transform(Fi)}exact(t){return this.test({name:"exact",exclusive:!0,message:t||Gn.exact,test(r){if(r==null)return!0;const n=ul(this.schema,r);return n.length===0||this.createError({params:{properties:n.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(t=!0,r=Gn.noUnknown){typeof t!="boolean"&&(r=t,t=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:r,test(o){if(o==null)return!0;const l=ul(this.schema,o);return!t||l.length===0||this.createError({params:{unknown:l.join(", ")}})}});return n.spec.noUnknown=t,n}unknown(t=!0,r=Gn.noUnknown){return this.noUnknown(!t,r)}transformKeys(t){return this.transform(r=>{if(!r)return r;const n={};for(const o of Object.keys(r))n[t(o)]=r[o];return n})}camelCase(){return this.transformKeys(qa.camelCase)}snakeCase(){return this.transformKeys(qa.snakeCase)}constantCase(){return this.transformKeys(t=>qa.snakeCase(t).toUpperCase())}describe(t){const r=(t?this.resolve(t):this).clone(),n=super.describe(t);n.fields={};for(const[l,i]of Object.entries(r.fields)){var o;let c=t;(o=c)!=null&&o.value&&(c=Object.assign({},c,{parent:c.value,value:c.value[l]})),n.fields[l]=i.describe(c)}return n}}Ii.prototype=Zi.prototype;function Bi(e){return new Vi(e)}class Vi extends vt{constructor(t){super({type:"array",spec:{types:t},check(r){return Array.isArray(r)}}),this.innerType=void 0,this.innerType=t}_cast(t,r){const n=super._cast(t,r);if(!this._typeCheck(n)||!this.innerType)return n;let o=!1;const l=n.map((i,c)=>{const d=this.innerType.cast(i,Object.assign({},r,{path:`${r.path||""}[${c}]`,parent:n,originalValue:i,value:i,index:c}));return d!==i&&(o=!0),d});return o?l:n}_validate(t,r={},n,o){var l;let i=this.innerType,c=(l=r.recursive)!=null?l:this.spec.recursive;r.originalValue!=null&&r.originalValue,super._validate(t,r,n,(d,u)=>{var f;if(!c||!i||!this._typeCheck(u)){o(d,u);return}let m=new Array(u.length);for(let g=0;g<u.length;g++){var h;m[g]=i.asNestedTest({options:r,index:g,parent:u,parentPath:r.path,originalParent:(h=r.originalValue)!=null?h:t})}this.runTests({value:u,tests:m,originalValue:(f=r.originalValue)!=null?f:t,options:r},n,g=>o(g.concat(d),u))})}clone(t){const r=super.clone(t);return r.innerType=this.innerType,r}json(){return this.transform(Fi)}concat(t){let r=super.concat(t);return r.innerType=this.innerType,t.innerType&&(r.innerType=r.innerType?r.innerType.concat(t.innerType):t.innerType),r}of(t){let r=this.clone();if(!ja(t))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+qt(t));return r.innerType=t,r.spec=Object.assign({},r.spec,{types:t}),r}length(t,r=Kn.length){return this.test({message:r,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(n){return n.length===this.resolve(t)}})}min(t,r){return r=r||Kn.min,this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(n){return n.length>=this.resolve(t)}})}max(t,r){return r=r||Kn.max,this.test({message:r,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(n){return n.length<=this.resolve(t)}})}ensure(){return this.default(()=>[]).transform((t,r)=>this._typeCheck(t)?t:r==null?[]:[].concat(r))}compact(t){let r=t?(n,o,l)=>!t(n,o,l):n=>!!n;return this.transform(n=>n!=null?n.filter(r):n)}describe(t){const r=(t?this.resolve(t):this).clone(),n=super.describe(t);if(r.innerType){var o;let l=t;(o=l)!=null&&o.value&&(l=Object.assign({},l,{parent:l.value,value:l.value[0]})),n.innerType=r.innerType.describe(l)}return n}}Bi.prototype=Vi.prototype;const T8=/^\s*(?:\+?\d{1,4}[\s-]*)?(?:\(?\d{2,4}\)?[\s-]*)?\d{3,4}[\s-]?\d{3,4}\s*$/;function D8(e){return e.validation??{}}function H8(e){return!!e.multiple}function _8(e){const t=e.maxFiles;return typeof t=="number"?t:void 0}function P8(e){const t=e.options;return Array.isArray(t)?t.map(r=>r==null?void 0:r.value).filter(r=>r!==void 0):[]}function W8(e){if(!e)return{exts:[],mimes:[]};const t=e.split(",").map(o=>o.trim().toLowerCase()).filter(Boolean),r=[],n=[];for(const o of t)o.startsWith(".")?r.push(o):o.includes("/")&&n.push(o);return{exts:r,mimes:n}}function ia(e,t){return typeof e=="string"?e:t}function Wt(e,t){return t.required?e.required(t.requiredMessage||(typeof t.required=="string"?t.required:"Requerido")):e}function Pr(e,t){var n,o,l;let r=e;return((n=t.minLength)==null?void 0:n.value)!=null&&(r=r.min(t.minLength.value,t.minLength.message||`Mín. ${t.minLength.value} caracteres`)),((o=t.maxLength)==null?void 0:o.value)!=null&&(r=r.max(t.maxLength.value,t.maxLength.message||`Máx. ${t.maxLength.value} caracteres`)),((l=t.pattern)==null?void 0:l.value)instanceof RegExp&&(r=r.matches(t.pattern.value,t.pattern.message||"Formato inválido")),r}function z8(e,t){var n,o,l,i;let r=e;if(((n=t.numberMin)==null?void 0:n.value)!=null&&(r=r.min(t.numberMin.value,t.numberMin.message||`Mínimo ${t.numberMin.value}`)),((o=t.numberMax)==null?void 0:o.value)!=null&&(r=r.max(t.numberMax.value,t.numberMax.message||`Máximo ${t.numberMax.value}`)),t.positiveOnly&&(r=r.moreThan(0,ia(t.positiveOnly,"Debe ser positivo"))),t.integerOnly&&(r=r.integer(ia(t.integerOnly,"Debe ser entero"))),((l=t.step)==null?void 0:l.value)!=null){const c=Number(t.step.value),d=t.step.message||`Debe ser múltiplo de ${c}`;r=r.test("step",d,u=>{if(u==null||Number.isNaN(u)||c===0)return!0;const f=u/c;return Math.abs(f-Math.round(f))<1e-9})}return((i=t.pattern)==null?void 0:i.value)instanceof RegExp&&(r=r.test("pattern-number",t.pattern.message||"Formato inválido",c=>c==null||t.pattern.value.test(String(c)))),r}function q8(e,t){var n,o;let r=e;return(n=t.dateMin)!=null&&n.value&&(r=r.min(new Date(t.dateMin.value),t.dateMin.message||"Fecha demasiado temprana")),(o=t.dateMax)!=null&&o.value&&(r=r.max(new Date(t.dateMax.value),t.dateMax.message||"Fecha demasiado tardía")),t.disallowPast&&(r=r.min(new Date,ia(t.disallowPast,"No puede ser pasada"))),t.disallowFuture&&(r=r.max(new Date,ia(t.disallowFuture,"No puede ser futura"))),r}function U8(e){var r,n;const t=D8(e);switch(e.type){case"text":case"password":case"textarea":case"search":{let o=Rr().trim();return o=Pr(o,t),Wt(o,t)}case"email":{let o=Rr().trim().email(t.emailMessage||"Email inválido");return o=Pr(o,t),Wt(o,t)}case"url":{let o=Rr().trim().url(t.urlMessage||"URL inválida");return o=Pr(o,t),Wt(o,t)}case"tel":{let o=Rr().trim();return o=Pr(o,t),(r=t.pattern)!=null&&r.value||(o=o.matches(T8,t.phoneMessage||"Teléfono inválido")),Wt(o,t)}case"number":{let o=$i().transform((l,i)=>{if(i===""||i===null||i===void 0)return;const c=typeof i=="string"?Number(i.replace(",",".")):l;return Number.isNaN(c)?NaN:c}).typeError(t.typeError||"Debe ser un número");return o=z8(o,t),Wt(o,t)}case"date":{let o=is().nullable().typeError(t.typeError||"Fecha inválida").transform((l,i)=>i?new Date(i):null);return o=q8(o,t),Wt(o,t)}case"select":case"optionGroup":{const o=H8(e),l=P8(e);if(o){let i=Bi().of(l.length?Gr().oneOf(l,"Opción inválida"):Gr());return t.required&&(i=i.min(1,t.requiredMessage||(typeof t.required=="string"?t.required:"Requerido"))),i}else{let i=Rr().trim();return i=Pr(i,t),l.length&&(i=i.oneOf(l,"Opción inválida")),Wt(i,t)}}case"checkbox":{let o=Mi();return t.required&&(o=o.oneOf([!0],t.requiredMessage||"Debes marcar esta casilla")),o}case"file":{const o=e,{exts:l,mimes:i}=W8(o.accept),c=_8(e);let d=Gr().test("file-shape","Archivo inválido",u=>(u==null,!0));if((n=t.fileMaxSizeMB)!=null&&n.value){const u=Number(t.fileMaxSizeMB.value)*1024*1024,f=t.fileMaxSizeMB.message||`Tamaño máximo ${t.fileMaxSizeMB.value} MB`;d=d.test("file-max-size",f,m=>m?(Array.isArray(m)?m:typeof FileList<"u"&&m instanceof FileList?Array.from(m):[m].filter(Boolean)).every(g=>typeof(g==null?void 0:g.size)!="number"||g.size<=u):!0)}return(l.length||i.length)&&(d=d.test("file-accept","Tipo de archivo no permitido",u=>u?(Array.isArray(u)?u:typeof FileList<"u"&&u instanceof FileList?Array.from(u):[u].filter(Boolean)).every(h=>{var b,p,E,R;const g=((p=(b=h==null?void 0:h.name)==null?void 0:b.toLowerCase)==null?void 0:p.call(b))||"",w=((R=(E=h==null?void 0:h.type)==null?void 0:E.toLowerCase)==null?void 0:R.call(E))||"",x=l.length===0||l.some(j=>g.endsWith(j)),y=i.length===0||i.includes(w);return x&&y}):!0)),typeof c=="number"&&(d=d.test("file-max-files",`Máx. ${c} fichero(s)`,u=>u?(Array.isArray(u)?u:typeof FileList<"u"&&u instanceof FileList?Array.from(u):[u].filter(Boolean)).length<=c:!0)),d=Wt(d,t),d}default:{const o=Gr();return Wt(o,t)}}}function cs(e){const t={};for(const r of e.fields){const n=r;n!=null&&n.name&&(t[n.name]=U8(n))}return Ii(t)}function mr({options:e,value:t,onChange:r,children:n}){const o=v.useRef(null),[l,i]=v.useState({left:0,width:0});return v.useLayoutEffect(()=>{const c=o.current;if(!c)return;const d=()=>{const u=e.findIndex(y=>y.value===t);if(u<0)return;const f=c.children[u],m=f.querySelector("span"),h=(m==null?void 0:m.offsetWidth)??f.offsetWidth,g=f.offsetWidth,x=f.offsetLeft+(g-h)/2;i({left:x,width:h})};return d(),window.addEventListener("resize",d),c.addEventListener("scroll",d),()=>{window.removeEventListener("resize",d),c.removeEventListener("scroll",d)}},[t,e]),s.jsxs("div",{children:[s.jsxs("div",{className:"relative",children:[s.jsx("ul",{ref:o,role:"tablist",className:"flex justify-center overflow-x-auto border-b border-[var(--color-ds-border-default-50)]",children:e.map(c=>{const d=c.value===t;return s.jsx("li",{role:"tab","aria-selected":d,onClick:()=>r(c.value),className:de("cursor-pointer whitespace-nowrap px-4 py-2 transition-colors duration-150 ease-in-out",d?"text-[var(--color-ds-background-accent)]":"text-[var(--color-ds-text-primary)]"),children:s.jsx("span",{className:"inline-block",children:c.label})},c.value)})}),s.jsx("span",{className:"absolute bottom-0 h-1 bg-[var(--color-ds-background-accent)] transition-all duration-200 ease-in-out rounded-t-full",style:{left:l.left,width:l.width}})]}),s.jsx("div",{className:"mt-4",children:n[t]})]})}const xr={sm:"text-ds-sm",md:"text-ds-md",lg:"text-ds-lg"},Nn={sm:"h-6",md:"h-10",lg:"h-12"},Fn={sm:"px-2",md:"px-2.5",lg:"px-3"},In={sm:"1.5rem",md:"2.5rem",lg:"3rem"},Zn={sm:"pr-9",md:"pr-11",lg:"pr-12"},G8={sm:"h-6 w-6",md:"h-8 w-8",lg:"h-10 w-10"};function Bn({id:e,size:t,disabled:r,error:n,reserveErrorSpace:o,className:l,suffixButton:i,children:c}){var d;return s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:de("relative w-full",l),children:[c,i&&s.jsx("div",{className:"pointer-events-none absolute flex items-center",style:{top:2,bottom:2,right:4},children:s.jsx("div",{className:"pointer-events-auto",children:v.isValidElement(i)?v.cloneElement(i,{className:de(G8[t],(d=i.props)==null?void 0:d.className)}):i})})]}),o?s.jsx("div",{className:"min-h-[18px] w-full",children:n!=null&&n.message?s.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:n.message}):s.jsx("span",{"aria-hidden":"true",children:" "})}):n!=null&&n.message?s.jsx("div",{className:"pt-1",children:s.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:n.message})}):null]})}function fl(e,t){v.useEffect(()=>{const r=n=>{e.current&&(e.current.contains(n.target)||t())};return document.addEventListener("mousedown",r),()=>document.removeEventListener("mousedown",r)},[t,e])}function rt(e){const{control:t,name:r,rules:n,defaultValue:o,options:l=[],loadOptions:i,reloadDeps:c=[],value:d,onChange:u,size:f="sm",width:m="100%",label:h,labelHidden:g=!1,hasError:w=!1,errorMessage:x="",reserveErrorSpace:y,disableErrorPlaceholder:b,disabled:p=!1,className:E,suffixButton:R,loading:j=!1,coerceFirstValid:A=!0,mode:S="native",renderTrigger:N,renderOption:B,popupWidth:$}=e,_=v.useId(),W=r||_,[K,Q]=v.useState(l),[q,ce]=v.useState(!!i);v.useEffect(()=>{if(!i){Q(l);return}ce(!0),i().then(ae=>Q(ae)).finally(()=>ce(!1))},[i,...c]),v.useEffect(()=>{i||Q(l)},[l,i]);const U=ae=>ae.find(O=>O.value!==""&&O.value!==void 0)??ae[0],M=typeof y=="boolean"?y:!!t;if(t&&r){const{field:ae,fieldState:O}=ai({name:r,control:t,rules:n,defaultValue:o});v.useEffect(()=>{if(!q&&K.length>0&&A){const T=ae.value,Z=K.some(te=>String(te.value)===String(T));(T===void 0||!Z)&&ae.onChange(U(K).value)}},[K,q,ae,A]);const J=h&&s.jsx("label",{htmlFor:W,className:de("pb-2 text-[var(--color-ds-text-primary)]",xr[f],g&&"sr-only"),children:h});if((S??"native")==="menu"){const[T,Z]=v.useState(!1),te=v.useRef(null);fl(te,()=>Z(!1));const me=K.find(re=>String(re.value)===String(ae.value));return s.jsxs("div",{className:de("flex flex-col",E),style:{width:m,maxWidth:"100%"},children:[J,j||q?s.jsx(zt,{width:"100%",height:In[f],variant:"rect",className:"rounded-lg"}):s.jsx(Bn,{id:W,size:f,disabled:p,error:O.error,reserveErrorSpace:typeof b=="boolean"?!b:M,className:E,suffixButton:R,children:s.jsxs("div",{className:"relative w-full",ref:te,children:[s.jsx("button",{type:"button",onClick:()=>!p&&Z(re=>!re),className:de("box-border w-full rounded-lg border bg-[var(--color-ds-background-page)] outline-none transition",xr[f],Nn[f],Fn[f],R&&Zn[f],O.error?"border-[var(--color-ds-border-error)]":"border-[var(--color-ds-border-default)]",p?"bg-[var(--color-ds-background-disabled)] border-[var(--color-ds-border-muted)] text-[var(--color-ds-text-primary)] cursor-not-allowed":"text-[var(--color-ds-text-primary)]"),"aria-haspopup":"listbox","aria-expanded":T,children:N?N(me):(me==null?void 0:me.label)??"—"}),T&&s.jsx("div",{role:"listbox",className:"custom-scroll absolute z-30 mt-1 rounded-md border bg-[var(--color-ds-background-page)] shadow-lg p-1 max-h-72 overflow-auto",style:{borderColor:"var(--color-ds-border-default-50)",width:$??"100%"},children:K.map(re=>{const pe=String(re.value)===String(ae.value);return s.jsx("button",{role:"option","aria-selected":pe,type:"button",onClick:()=>{ae.onChange(re.value),Z(!1)},className:"w-full rounded-md px-2 py-1.5 text-left hover:bg-[var(--color-ds-background-accent)]/10",children:B?B(re,pe):re.label},re.value)})})]})})]})}return s.jsxs("div",{className:de("flex flex-col",E),style:{width:m,maxWidth:"100%"},children:[J,j||q?s.jsx(zt,{width:"100%",height:In[f],variant:"rect",className:"rounded-lg"}):s.jsx(Bn,{id:W,size:f,disabled:p,error:O.error,reserveErrorSpace:typeof b=="boolean"?!b:M,className:E,suffixButton:R,children:s.jsx("select",{id:W,value:ae.value,onChange:T=>ae.onChange(T.target.value),disabled:p,className:de("box-border w-full rounded-lg border bg-[var(--color-ds-background-page)] outline-none transition",xr[f],Nn[f],Fn[f],R&&Zn[f],O.error?"border-[var(--color-ds-border-error)]":"border-[var(--color-ds-border-default)]",p?"bg-[var(--color-ds-background-disabled)] border-[var(--color-ds-border-muted)] text-[var(--color-ds-text-primary)] cursor-not-allowed":"text-[var(--color-ds-text-primary)]"),children:K.map(T=>s.jsx("option",{value:T.value,className:"bg-[var(--color-ds-background-page)] text-[var(--color-ds-text-primary)]",children:T.label},T.value))})})]})}v.useEffect(()=>{if(!t&&K.length>0&&A){const ae=K.some(J=>String(J.value)===String(d));(d===void 0||d===""||!ae)&&u&&u(U(K).value)}},[K,d,u,t,A]);const F=h&&s.jsx("label",{htmlFor:W,className:de("pb-2 text-[var(--color-ds-text-primary)]",xr[f],g&&"sr-only"),children:h});if((S??"native")==="menu"){const[ae,O]=v.useState(!1),J=v.useRef(null);fl(J,()=>O(!1));const T=K.find(Z=>String(Z.value)===String(d));return s.jsxs("div",{className:de("flex flex-col",E),style:{width:m,maxWidth:"100%"},children:[F,j||q?s.jsx(zt,{width:"100%",height:In[f],variant:"rect",className:"rounded-lg"}):s.jsx(Bn,{id:W,size:f,disabled:p,error:w?{message:x}:void 0,reserveErrorSpace:typeof b=="boolean"?!b:!!(y??!1),className:E,suffixButton:R,children:s.jsxs("div",{className:"relative w-full",ref:J,children:[s.jsx("button",{type:"button",onClick:()=>!p&&O(Z=>!Z),className:de("box-border w-full rounded-lg border bg-[var(--color-ds-background-page)] outline-none transition",xr[f],Nn[f],Fn[f],R&&Zn[f],w?"border-[var(--color-ds-border-error)]":"border-[var(--color-ds-border-default)]",p?"bg-[var(--color-ds-background-disabled)] border-[var(--color-ds-border-muted)] text-[var(--color-ds-text-primary)] cursor-not-allowed":"text-[var(--color-ds-text-primary)]"),"aria-haspopup":"listbox","aria-expanded":ae,children:N?N(T):(T==null?void 0:T.label)??"—"}),ae&&s.jsx("div",{role:"listbox",className:"custom-scroll absolute z-30 mt-1 rounded-md border bg-[var(--color-ds-background-page)] shadow-lg p-1 max-h-72 overflow-auto",style:{borderColor:"var(--color-ds-border-default-50)",width:$??"100%"},children:K.map(Z=>{const te=String(Z.value)===String(d);return s.jsx("button",{role:"option","aria-selected":te,type:"button",onClick:()=>{u==null||u(Z.value),O(!1)},className:"w-full rounded-md px-2 py-1.5 text-left hover:bg-[var(--color-ds-background-accent)]/10",children:B?B(Z,te):Z.label},Z.value)})})]})})]})}return s.jsxs("div",{className:de("flex flex-col",E),style:{width:m,maxWidth:"100%"},children:[F,j||q?s.jsx(zt,{width:"100%",height:In[f],variant:"rect",className:"rounded-lg"}):s.jsx(Bn,{id:W,size:f,disabled:p,error:w?{message:x}:void 0,reserveErrorSpace:typeof b=="boolean"?!b:!!(y??!1),className:E,suffixButton:R,children:s.jsx("select",{id:W,value:d,onChange:ae=>u==null?void 0:u(ae.target.value),disabled:p,className:de("box-border w-full rounded-lg border bg-[var(--color-ds-background-page)] outline-none transition",xr[f],Nn[f],Fn[f],R&&Zn[f],w?"border-[var(--color-ds-border-error)]":"border-[var(--color-ds-border-default)]",p?"bg-[var(--color-ds-background-disabled)] border-[var(--color-ds-border-muted)] text-[var(--color-ds-text-primary)] cursor-not-allowed":"text-[var(--color-ds-text-primary)]"),children:K.map(ae=>s.jsx("option",{value:ae.value,className:"bg-[var(--color-ds-background-page)] text-[var(--color-ds-text-primary)]",children:ae.label},ae.value))})})]})}const ml={sm:"text-ds-sm",md:"text-ds-md",lg:"text-ds-lg"};function hl(e){var t;e.preventDefault(),e.stopPropagation(),(t=e.nativeEvent)!=null&&t.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}function ds({groupLabel:e,inputs:t=[],separator:r=s.jsx("span",{className:"px-1 select-none",children:"/"}),useSeparator:n=!1,className:o,showVisibleLabel:l=!1,size:i="sm",width:c,respectChildWidths:d=!1}){const u=t.length;return s.jsxs("div",{"data-input-group-root":!0,role:"group",className:de("flex flex-col w-full",o),style:c?{width:c}:void 0,onDoubleClick:hl,onDoubleClickCapture:hl,onClickCapture:f=>{var g;const m=f.target;!!((g=m==null?void 0:m.closest)!=null&&g.call(m,'input,select,textarea,button,[data-interactive="true"]'))||f.stopPropagation()},children:[s.jsx("label",{className:de("sr-only pb-2",ml[i]),children:e}),l&&s.jsx("label",{className:de("pb-2",ml[i]),children:e}),s.jsx("div",{className:"flex items-stretch flex-nowrap w-full min-w-0",children:t.map((f,m)=>{const{width:h,className:g,options:w,loadOptions:x,...y}=f,b=Array.isArray(w)||typeof x=="function";let p="rounded-lg";!n&&u>1&&(m===0?p="rounded-l-lg rounded-r-none":m===u-1?p="rounded-r-lg rounded-l-none !rounded-l-none":p="rounded-none !rounded-l-none !rounded-r-none");const E=d?h:void 0,R=typeof E=="string"&&E.split(/\s+/).some(N=>N.startsWith("w-")||N.includes(":w-")),j=de("inline-flex items-stretch",E?"flex-shrink-0":"flex-1 min-w-0",typeof E=="string"&&R?E:void 0,!n&&u>1&&m>0?"-ml-px focus-within:z-10 relative":void 0),A=E?typeof E=="string"&&R?void 0:{width:E}:void 0,S=de(g,"w-full",p);return s.jsxs(v.Fragment,{children:[s.jsx("div",{className:j,style:A,children:b?s.jsx(rt,{...y,size:i,className:S,options:w,loadOptions:x,"data-interactive":"true"}):s.jsx(Re,{...y,size:i,className:S,"data-interactive":"true"})}),n&&m<u-1&&s.jsx("div",{className:"flex items-center flex-shrink-0 px-1 select-none",children:r})]},m)})})]})}const pl={sm:"text-ds-sm",md:"text-ds-md",lg:"text-ds-lg"},K8={sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6"};function us({groupLabel:e,options:t,control:r,name:n,rules:o,defaultValue:l,multiple:i=!0,size:c="sm",vertical:d=!0,className:u,showVisibleLabel:f=!0}){return s.jsx(Et,{name:n,control:r,rules:o,defaultValue:l,render:({field:m,fieldState:h})=>{const{value:g,onChange:w}=m;h.error;const x=b=>i?Array.isArray(g)&&g.includes(b):g===b,y=b=>{if(i){const p=Array.isArray(g)?[...g]:[],E=p.indexOf(b);E>=0?p.splice(E,1):p.push(b),w(p)}else w(b)};return s.jsxs("div",{className:de("w-full",u),children:[s.jsx("label",{className:de("sr-only pb-2 text-[var(--color-ds-text-primary)]",pl[c]),children:e}),f&&s.jsx("label",{className:de("block pb-2 text-[var(--color-ds-text-primary)]",pl[c]),children:e}),s.jsx("div",{className:de(d?"flex flex-col gap-2":"flex flex-wrap gap-4"),children:t.map(b=>s.jsxs("label",{className:"inline-flex items-center space-x-2 cursor-pointer select-none",children:[s.jsx("input",{type:i?"checkbox":"radio",name:n,value:b.value,checked:x(b.value),onChange:()=>y(b.value),className:de(K8[c],"text-[var(--color-ds-button-primary-bg)]","border-[var(--color-ds-border-default)]")}),s.jsx("span",{className:"text-[var(--color-ds-text-primary)] text-ds-md",children:b.label})]},b.value))})]})}})}function Y8(e){function t(i){var c,d;for(const u of Object.keys(i)){if((c=i[u])!=null&&c.types||(d=i[u])!=null&&d.message)return u;if(typeof i[u]=="object"){const f=t(i[u]);if(f)return`${u}.${f}`}}return null}const r=t(e);if(!r)return;const n=`[name="${r}"]`,o=`[name^="${r}["], [name^="${r}."]`,l=document.querySelector(n)??document.querySelector(o);l&&(l.scrollIntoView({behavior:"smooth",block:"center"}),l.focus({preventScroll:!0}))}const J8={success:"bg-green-100 border-green-500 text-green-800",error:"bg-red-100 border-red-500 text-red-800",info:"bg-blue-100 border-blue-500 text-blue-800",warning:"bg-yellow-100 border-yellow-500 text-yellow-800"},Ti=({id:e,message:t,variant:r="info",duration:n=5e3,onClose:o})=>(v.useEffect(()=>{const l=setTimeout(()=>o(e),n);return()=>clearTimeout(l)},[e,n,o]),s.jsxs("div",{className:de("w-80 max-w-full border-l-4 rounded shadow-md p-4 mb-2 flex justify-between items-start",J8[r]),role:"alert","aria-live":"assertive",children:[s.jsx("span",{className:"flex-1",children:t}),s.jsx("button",{onClick:()=>o(e),className:"ml-4 text-xl font-bold leading-none focus:outline-none",children:"×"})]})),tt=[];for(let e=0;e<256;++e)tt.push((e+256).toString(16).slice(1));function X8(e,t=0){return(tt[e[t+0]]+tt[e[t+1]]+tt[e[t+2]]+tt[e[t+3]]+"-"+tt[e[t+4]]+tt[e[t+5]]+"-"+tt[e[t+6]]+tt[e[t+7]]+"-"+tt[e[t+8]]+tt[e[t+9]]+"-"+tt[e[t+10]]+tt[e[t+11]]+tt[e[t+12]]+tt[e[t+13]]+tt[e[t+14]]+tt[e[t+15]]).toLowerCase()}let Ua;const Q8=new Uint8Array(16);function ev(){if(!Ua){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Ua=crypto.getRandomValues.bind(crypto)}return Ua(Q8)}const tv=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),vl={randomUUID:tv};function rv(e,t,r){var o;e=e||{};const n=e.random??((o=e.rng)==null?void 0:o.call(e))??ev();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,X8(n)}function nv(e,t,r){return vl.randomUUID&&!e?vl.randomUUID():rv(e)}const Di=v.createContext(null),hr=()=>{const e=v.useContext(Di);if(!e)throw new Error("useToast debe usarse dentro de <ToastProvider>");return e},av=({children:e})=>{const[t,r]=v.useState([]),n=(l,i="info",c=5e3)=>{const d=nv();r(u=>[...u,{id:d,message:l,variant:i,duration:c}])},o=l=>{r(i=>i.filter(c=>c.id!==l))};return s.jsxs(Di.Provider,{value:{show:n},children:[e,s.jsx("div",{className:"fixed top-4 right-4 z-50 flex flex-col items-end",children:t.map(l=>s.jsx(Ti,{id:l.id,message:l.message,variant:l.variant,duration:l.duration,onClose:o},l.id))})]})},ov=e=>e.type==="inputGroup",sv=e=>e.type==="button",lv=e=>!ov(e)&&!sv(e);function Hi(e){const t=Array.isArray(e)?e:[];return v.useMemo(()=>{const r={};for(const n of t)lv(n)&&n.name&&(r[n.name]=n);return r},[t])}const _i=v.createContext(null);function Pi({children:e,value:t}){return s.jsx(_i.Provider,{value:t,children:e})}function gn(){const e=v.useContext(_i);if(!e)throw new Error("useAdapters debe usarse dentro de <AdaptersProvider />");return e}const iv=e=>!!e&&typeof e.then=="function";function cv(e){return Array.isArray(e)?e.length>0&&typeof e[0]=="object"&&e[0]!==null?e.map(t=>{var o;if("label"in t&&"value"in t)return t;const n=(o=Object.entries(t)[0])==null?void 0:o[1];return{label:String(n??JSON.stringify(t)),value:String(n??"")}}):e.map(t=>({label:String(t),value:t})):[]}function Wi(e){const{services:t}=gn(),[r,n]=v.useState({}),[o,l]=v.useState(0),i=v.useRef(!0);v.useEffect(()=>(i.current=!0,()=>{i.current=!1}),[]);const c=v.useMemo(()=>e.filter(d=>d.type==="select"&&!d.options&&typeof d.optionSource=="string"&&d.name),[e]);return v.useEffect(()=>{if(c.length===0)return;let d=!1;return(async()=>{l(u=>u+1);try{const u=await Promise.all(c.map(async f=>{var y;const m=f.name,h=f.optionSource,g=(y=t==null?void 0:t.registry)==null?void 0:y[h];if(!g)return[m,[]];const w=iv(g)?await g:await g(),x=cv(w);return[m,x]}));if(d||!i.current)return;n(f=>{const m={...f};for(const[h,g]of u)m[h]=[...g];return m})}finally{!d&&i.current&&l(u=>Math.max(0,u-1))}})(),()=>{d=!0}},[c,t==null?void 0:t.registry]),{optionsMap:r,loadingCount:o}}const dv=e=>e.type==="inputGroup",uv=e=>e.type==="button",fv=e=>!dv(e)&&!uv(e);function mv(e){return typeof e=="object"&&e!==null}const hv=e=>{const t=e.disabledWhen;if(!mv(t))return!1;const r="watchField"in t,n="rule"in t;return r&&!n};function zi(e,t){const r=Array.isArray(e)?e:[],n=v.useMemo(()=>r.filter(fv).filter(hv),[r]),o=v.useMemo(()=>n.map(d=>d.disabledWhen.watchField),[n]),l=ns({control:t,name:o,compute:d=>d}),i=Array.isArray(l)?l:[],c={};return n.forEach((d,u)=>{const f=i[u];c[d.name??`__unnamed_${u}`]=f===d.disabledWhen.watchValue}),c}const qi={sm:"text-ds-sm",md:"text-ds-md",lg:"text-ds-lg"},pv={sm:"px-2 py-1.5",md:"px-3 py-2",lg:"px-4 py-3"};function vv(e){return e==="lg"?"lg":e==="md"?"md":"sm"}function wl({id:e,text:t,size:r,prefixIcon:n,suffixIcon:o,info:l,infoAriaLabel:i="Información"}){if(!t)return null;const c=l!=null&&l!=="";return s.jsx("label",{htmlFor:e,className:de("pb-2 text-[var(--color-ds-text-primary)]",qi[r]),children:s.jsxs("span",{className:"inline-flex items-center gap-1 align-middle w-full",children:[n?s.jsx(Xe,{component:n,size:r,className:"opacity-80"}):null,s.jsx("span",{className:"w-full",children:t}),o?s.jsx(Xe,{component:o,size:r,className:"opacity-80"}):null,c&&s.jsx(ka,{size:vv(r),position:"top",className:"ml-1",ariaLabel:i,children:l})]})})}function bn({control:e,name:t,rules:r,defaultValue:n,size:o="sm",width:l="100%",label:i,labelHidden:c=!1,hasError:d=!1,errorMessage:u="",maxLength:f,showCounter:m=!1,className:h,suffixButton:g,labelPrefixIcon:w,labelSuffixIcon:x,info:y,infoAriaLabel:b,prefixIcon:p,suffixIcon:E,reserveErrorSpace:R,disableErrorPlaceholder:j,id:A,...S}){const N=v.useId(),B=A||N,[$,_]=v.useState(String(n??S.value??"")),W=typeof R=="boolean"?R:typeof j=="boolean"?!j:!!e,K=de("box-border bg-[var(--color-ds-background-page)] w-full rounded-lg border outline-none transition","placeholder-[var(--color-ds-text-secondary)] text-[var(--color-ds-text-primary)]",qi[o],pv[o],d?"border-[var(--color-ds-border-error)]":"border-[var(--color-ds-border-default)]",S.disabled&&"bg-[var(--color-ds-background-disabled)] border-[var(--color-ds-border-muted)] text-[var(--color-ds-text-secondary)] cursor-not-allowed"),Q=p?"pl-9":"",q=E?"pr-9":"",ce=U=>{var M;typeof f=="number"&&U.target.value.length>f||(_(U.target.value),(M=S.onChange)==null||M.call(S,U))};return v.useEffect(()=>{n!==void 0&&_(String(n??""))},[n]),e&&t?s.jsx(Et,{name:t,control:e,rules:r,defaultValue:n??"",render:({field:U,fieldState:M})=>{var F;return s.jsxs("div",{className:de("flex flex-col",h),style:{width:l},children:[!c&&i&&s.jsx(wl,{id:B,text:i,size:o,prefixIcon:w,suffixIcon:x,info:y,infoAriaLabel:b}),s.jsxs("div",{className:"flex items-stretch gap-2",children:[s.jsxs("div",{className:"relative w-full",children:[p&&s.jsx("span",{className:"absolute left-2 top-2.5",children:s.jsx(Xe,{component:p,size:o,className:"text-[var(--color-ds-text-secondary)]"})}),s.jsx("textarea",{id:B,"aria-invalid":!!M.error,className:de(K,Q,q),maxLength:f,...U,onChange:ae=>{U.onChange(ae),m&&_(ae.target.value)}}),E&&s.jsx("span",{className:"absolute right-2 top-2.5",children:s.jsx(Xe,{component:E,size:o,className:"text-[var(--color-ds-text-secondary)]"})})]}),g?s.jsx("div",{className:"shrink-0",children:g}):null]}),s.jsxs("div",{className:"flex justify-between pt-1 min-h-[18px]",children:[W?M.error?s.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:M.error.message}):s.jsx("span",{"aria-hidden":"true",children:" "}):M.error?s.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:M.error.message}):s.jsx("span",{"aria-hidden":"true",children:" "}),m&&typeof f=="number"&&s.jsxs("span",{className:"text-xs text-[var(--color-ds-text-secondary)]",children:[((F=U.value)==null?void 0:F.length)??0,"/",f]})]})]})}}):s.jsxs("div",{className:de("flex flex-col",h),style:{width:l},children:[!c&&i&&s.jsx(wl,{id:B,text:i,size:o,prefixIcon:w,suffixIcon:x,info:y,infoAriaLabel:b}),s.jsxs("div",{className:"flex items-stretch gap-2",children:[s.jsxs("div",{className:"relative w-full",children:[p&&s.jsx("span",{className:"absolute left-2 top-2.5",children:s.jsx(Xe,{component:p,size:o,className:"text-[var(--color-ds-text-secondary)]"})}),s.jsx("textarea",{id:B,className:de(K,Q,q),value:$,onChange:ce,maxLength:f,...S}),E&&s.jsx("span",{className:"absolute right-2 top-2.5",children:s.jsx(Xe,{component:E,size:o,className:"text-[var(--color-ds-text-secondary)]"})})]}),g?s.jsx("div",{className:"shrink-0",children:g}):null]}),s.jsxs("div",{className:"flex justify-between pt-1 min-h-[18px]",children:[W?d&&u?s.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:u}):s.jsx("span",{"aria-hidden":"true",children:" "}):d&&u?s.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:u}):s.jsx("span",{"aria-hidden":"true",children:" "}),m&&typeof f=="number"&&s.jsxs("span",{className:"text-xs text-[var(--color-ds-text-secondary)]",children:[$.length,"/",f]})]})]})}function wv({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M11.7 2.805a.75.75 0 0 1 .6 0A60.65 60.65 0 0 1 22.83 8.72a.75.75 0 0 1-.231 1.337 49.948 49.948 0 0 0-9.902 3.912l-.003.002c-.114.06-.227.119-.34.18a.75.75 0 0 1-.707 0A50.88 50.88 0 0 0 7.5 12.173v-.224c0-.131.067-.248.172-.311a54.615 54.615 0 0 1 4.653-2.52.75.75 0 0 0-.65-1.352 56.123 56.123 0 0 0-4.78 2.589 1.858 1.858 0 0 0-.859 1.228 49.803 49.803 0 0 0-4.634-1.527.75.75 0 0 1-.231-1.337A60.653 60.653 0 0 1 11.7 2.805Z"}),a.createElement("path",{d:"M13.06 15.473a48.45 48.45 0 0 1 7.666-3.282c.134 1.414.22 2.843.255 4.284a.75.75 0 0 1-.46.711 47.87 47.87 0 0 0-8.105 4.342.75.75 0 0 1-.832 0 47.87 47.87 0 0 0-8.104-4.342.75.75 0 0 1-.461-.71c.035-1.442.121-2.87.255-4.286.921.304 1.83.634 2.726.99v1.27a1.5 1.5 0 0 0-.14 2.508c-.09.38-.222.753-.397 1.11.452.213.901.434 1.346.66a6.727 6.727 0 0 0 .551-1.607 1.5 1.5 0 0 0 .14-2.67v-.645a48.549 48.549 0 0 1 3.44 1.667 2.25 2.25 0 0 0 2.12 0Z"}),a.createElement("path",{d:"M4.462 19.462c.42-.419.753-.89 1-1.395.453.214.902.435 1.347.662a6.742 6.742 0 0 1-1.286 1.794.75.75 0 0 1-1.06-1.06Z"}))}const gv=a.forwardRef(wv);function bv({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M18.75 12.75h1.5a.75.75 0 0 0 0-1.5h-1.5a.75.75 0 0 0 0 1.5ZM12 6a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 12 6ZM12 18a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 12 18ZM3.75 6.75h1.5a.75.75 0 1 0 0-1.5h-1.5a.75.75 0 0 0 0 1.5ZM5.25 18.75h-1.5a.75.75 0 0 1 0-1.5h1.5a.75.75 0 0 1 0 1.5ZM3 12a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 3 12ZM9 3.75a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5ZM12.75 12a2.25 2.25 0 1 1 4.5 0 2.25 2.25 0 0 1-4.5 0ZM9 15.75a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5Z"}))}const xv=a.forwardRef(bv);function yv({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M6 12a.75.75 0 0 1-.75-.75v-7.5a.75.75 0 1 1 1.5 0v7.5A.75.75 0 0 1 6 12ZM18 12a.75.75 0 0 1-.75-.75v-7.5a.75.75 0 0 1 1.5 0v7.5A.75.75 0 0 1 18 12ZM6.75 20.25v-1.5a.75.75 0 0 0-1.5 0v1.5a.75.75 0 0 0 1.5 0ZM18.75 18.75v1.5a.75.75 0 0 1-1.5 0v-1.5a.75.75 0 0 1 1.5 0ZM12.75 5.25v-1.5a.75.75 0 0 0-1.5 0v1.5a.75.75 0 0 0 1.5 0ZM12 21a.75.75 0 0 1-.75-.75v-7.5a.75.75 0 0 1 1.5 0v7.5A.75.75 0 0 1 12 21ZM3.75 15a2.25 2.25 0 1 0 4.5 0 2.25 2.25 0 0 0-4.5 0ZM12 11.25a2.25 2.25 0 1 1 0-4.5 2.25 2.25 0 0 1 0 4.5ZM15.75 15a2.25 2.25 0 1 0 4.5 0 2.25 2.25 0 0 0-4.5 0Z"}))}const Ev=a.forwardRef(yv);function kv({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M3.375 3C2.339 3 1.5 3.84 1.5 4.875v.75c0 1.036.84 1.875 1.875 1.875h17.25c1.035 0 1.875-.84 1.875-1.875v-.75C22.5 3.839 21.66 3 20.625 3H3.375Z"}),a.createElement("path",{fillRule:"evenodd",d:"m3.087 9 .54 9.176A3 3 0 0 0 6.62 21h10.757a3 3 0 0 0 2.995-2.824L20.913 9H3.087ZM12 10.5a.75.75 0 0 1 .75.75v4.94l1.72-1.72a.75.75 0 1 1 1.06 1.06l-3 3a.75.75 0 0 1-1.06 0l-3-3a.75.75 0 1 1 1.06-1.06l1.72 1.72v-4.94a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const Rv=a.forwardRef(kv);function jv({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M3.375 3C2.339 3 1.5 3.84 1.5 4.875v.75c0 1.036.84 1.875 1.875 1.875h17.25c1.035 0 1.875-.84 1.875-1.875v-.75C22.5 3.839 21.66 3 20.625 3H3.375Z"}),a.createElement("path",{fillRule:"evenodd",d:"m3.087 9 .54 9.176A3 3 0 0 0 6.62 21h10.757a3 3 0 0 0 2.995-2.824L20.913 9H3.087Zm6.133 2.845a.75.75 0 0 1 1.06 0l1.72 1.72 1.72-1.72a.75.75 0 1 1 1.06 1.06l-1.72 1.72 1.72 1.72a.75.75 0 1 1-1.06 1.06L12 15.685l-1.72 1.72a.75.75 0 1 1-1.06-1.06l1.72-1.72-1.72-1.72a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const Cv=a.forwardRef(jv);function Mv({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M3.375 3C2.339 3 1.5 3.84 1.5 4.875v.75c0 1.036.84 1.875 1.875 1.875h17.25c1.035 0 1.875-.84 1.875-1.875v-.75C22.5 3.839 21.66 3 20.625 3H3.375Z"}),a.createElement("path",{fillRule:"evenodd",d:"m3.087 9 .54 9.176A3 3 0 0 0 6.62 21h10.757a3 3 0 0 0 2.995-2.824L20.913 9H3.087Zm6.163 3.75A.75.75 0 0 1 10 12h4a.75.75 0 0 1 0 1.5h-4a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const Av=a.forwardRef(Mv);function Sv({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-.53 14.03a.75.75 0 0 0 1.06 0l3-3a.75.75 0 1 0-1.06-1.06l-1.72 1.72V8.25a.75.75 0 0 0-1.5 0v5.69l-1.72-1.72a.75.75 0 0 0-1.06 1.06l3 3Z",clipRule:"evenodd"}))}const $v=a.forwardRef(Sv);function Lv({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M20.03 3.97a.75.75 0 0 1 0 1.06L6.31 18.75h9.44a.75.75 0 0 1 0 1.5H4.5a.75.75 0 0 1-.75-.75V8.25a.75.75 0 0 1 1.5 0v9.44L18.97 3.97a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const Ov=a.forwardRef(Lv);function Nv({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M9.75 6.75h-3a3 3 0 0 0-3 3v7.5a3 3 0 0 0 3 3h7.5a3 3 0 0 0 3-3v-7.5a3 3 0 0 0-3-3h-3V1.5a.75.75 0 0 0-1.5 0v5.25Zm0 0h1.5v5.69l1.72-1.72a.75.75 0 1 1 1.06 1.06l-3 3a.75.75 0 0 1-1.06 0l-3-3a.75.75 0 1 1 1.06-1.06l1.72 1.72V6.75Z",clipRule:"evenodd"}),a.createElement("path",{d:"M7.151 21.75a2.999 2.999 0 0 0 2.599 1.5h7.5a3 3 0 0 0 3-3v-7.5c0-1.11-.603-2.08-1.5-2.599v7.099a4.5 4.5 0 0 1-4.5 4.5H7.151Z"}))}const Fv=a.forwardRef(Nv);function Iv({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M12 1.5a.75.75 0 0 1 .75.75V7.5h-1.5V2.25A.75.75 0 0 1 12 1.5ZM11.25 7.5v5.69l-1.72-1.72a.75.75 0 0 0-1.06 1.06l3 3a.75.75 0 0 0 1.06 0l3-3a.75.75 0 1 0-1.06-1.06l-1.72 1.72V7.5h3.75a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3h-9a3 3 0 0 1-3-3v-9a3 3 0 0 1 3-3h3.75Z"}))}const Zv=a.forwardRef(Iv);function Bv({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3.97 3.97a.75.75 0 0 1 1.06 0l13.72 13.72V8.25a.75.75 0 0 1 1.5 0V19.5a.75.75 0 0 1-.75.75H8.25a.75.75 0 0 1 0-1.5h9.44L3.97 5.03a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const Vv=a.forwardRef(Bv);function Tv({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v11.69l3.22-3.22a.75.75 0 1 1 1.06 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 1 1 1.06-1.06l3.22 3.22V3a.75.75 0 0 1 .75-.75Zm-9 13.5a.75.75 0 0 1 .75.75v2.25a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5V16.5a.75.75 0 0 1 1.5 0v2.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V16.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const Dv=a.forwardRef(Tv);function Hv({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v16.19l6.22-6.22a.75.75 0 1 1 1.06 1.06l-7.5 7.5a.75.75 0 0 1-1.06 0l-7.5-7.5a.75.75 0 1 1 1.06-1.06l6.22 6.22V3a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const _v=a.forwardRef(Hv);function Pv({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-4.28 9.22a.75.75 0 0 0 0 1.06l3 3a.75.75 0 1 0 1.06-1.06l-1.72-1.72h5.69a.75.75 0 0 0 0-1.5h-5.69l1.72-1.72a.75.75 0 0 0-1.06-1.06l-3 3Z",clipRule:"evenodd"}))}const Wv=a.forwardRef(Pv);function zv({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M7.5 3.75A1.5 1.5 0 0 0 6 5.25v13.5a1.5 1.5 0 0 0 1.5 1.5h6a1.5 1.5 0 0 0 1.5-1.5V15a.75.75 0 0 1 1.5 0v3.75a3 3 0 0 1-3 3h-6a3 3 0 0 1-3-3V5.25a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3V9A.75.75 0 0 1 15 9V5.25a1.5 1.5 0 0 0-1.5-1.5h-6Zm5.03 4.72a.75.75 0 0 1 0 1.06l-1.72 1.72h10.94a.75.75 0 0 1 0 1.5H10.81l1.72 1.72a.75.75 0 1 1-1.06 1.06l-3-3a.75.75 0 0 1 0-1.06l3-3a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const qv=a.forwardRef(zv);function Uv({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M7.5 3.75A1.5 1.5 0 0 0 6 5.25v13.5a1.5 1.5 0 0 0 1.5 1.5h6a1.5 1.5 0 0 0 1.5-1.5V15a.75.75 0 0 1 1.5 0v3.75a3 3 0 0 1-3 3h-6a3 3 0 0 1-3-3V5.25a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3V9A.75.75 0 0 1 15 9V5.25a1.5 1.5 0 0 0-1.5-1.5h-6Zm5.03 4.72a.75.75 0 0 1 0 1.06l-1.72 1.72h10.94a.75.75 0 0 1 0 1.5H10.81l1.72 1.72a.75.75 0 1 1-1.06 1.06l-3-3a.75.75 0 0 1 0-1.06l3-3a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const Gv=a.forwardRef(Uv);function Kv({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M16.5 3.75a1.5 1.5 0 0 1 1.5 1.5v13.5a1.5 1.5 0 0 1-1.5 1.5h-6a1.5 1.5 0 0 1-1.5-1.5V15a.75.75 0 0 0-1.5 0v3.75a3 3 0 0 0 3 3h6a3 3 0 0 0 3-3V5.25a3 3 0 0 0-3-3h-6a3 3 0 0 0-3 3V9A.75.75 0 1 0 9 9V5.25a1.5 1.5 0 0 1 1.5-1.5h6ZM5.78 8.47a.75.75 0 0 0-1.06 0l-3 3a.75.75 0 0 0 0 1.06l3 3a.75.75 0 0 0 1.06-1.06l-1.72-1.72H15a.75.75 0 0 0 0-1.5H4.06l1.72-1.72a.75.75 0 0 0 0-1.06Z",clipRule:"evenodd"}))}const Yv=a.forwardRef(Kv);function Jv({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M11.03 3.97a.75.75 0 0 1 0 1.06l-6.22 6.22H21a.75.75 0 0 1 0 1.5H4.81l6.22 6.22a.75.75 0 1 1-1.06 1.06l-7.5-7.5a.75.75 0 0 1 0-1.06l7.5-7.5a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const Xv=a.forwardRef(Jv);function Qv({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v16.19l2.47-2.47a.75.75 0 1 1 1.06 1.06l-3.75 3.75a.75.75 0 0 1-1.06 0l-3.75-3.75a.75.75 0 1 1 1.06-1.06l2.47 2.47V3a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const ew=a.forwardRef(Qv);function tw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M7.28 7.72a.75.75 0 0 1 0 1.06l-2.47 2.47H21a.75.75 0 0 1 0 1.5H4.81l2.47 2.47a.75.75 0 1 1-1.06 1.06l-3.75-3.75a.75.75 0 0 1 0-1.06l3.75-3.75a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const rw=a.forwardRef(tw);function nw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M16.72 7.72a.75.75 0 0 1 1.06 0l3.75 3.75a.75.75 0 0 1 0 1.06l-3.75 3.75a.75.75 0 1 1-1.06-1.06l2.47-2.47H3a.75.75 0 0 1 0-1.5h16.19l-2.47-2.47a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const aw=a.forwardRef(nw);function ow({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M11.47 2.47a.75.75 0 0 1 1.06 0l3.75 3.75a.75.75 0 0 1-1.06 1.06l-2.47-2.47V21a.75.75 0 0 1-1.5 0V4.81L8.78 7.28a.75.75 0 0 1-1.06-1.06l3.75-3.75Z",clipRule:"evenodd"}))}const sw=a.forwardRef(ow);function lw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 5.25c1.213 0 2.415.046 3.605.135a3.256 3.256 0 0 1 3.01 3.01c.044.583.077 1.17.1 1.759L17.03 8.47a.75.75 0 1 0-1.06 1.06l3 3a.75.75 0 0 0 1.06 0l3-3a.75.75 0 0 0-1.06-1.06l-1.752 1.751c-.023-.65-.06-1.296-.108-1.939a4.756 4.756 0 0 0-4.392-4.392 49.422 49.422 0 0 0-7.436 0A4.756 4.756 0 0 0 3.89 8.282c-.017.224-.033.447-.046.672a.75.75 0 1 0 1.497.092c.013-.217.028-.434.044-.651a3.256 3.256 0 0 1 3.01-3.01c1.19-.09 2.392-.135 3.605-.135Zm-6.97 6.22a.75.75 0 0 0-1.06 0l-3 3a.75.75 0 1 0 1.06 1.06l1.752-1.751c.023.65.06 1.296.108 1.939a4.756 4.756 0 0 0 4.392 4.392 49.413 49.413 0 0 0 7.436 0 4.756 4.756 0 0 0 4.392-4.392c.017-.223.032-.447.046-.672a.75.75 0 0 0-1.497-.092c-.013.217-.028.434-.044.651a3.256 3.256 0 0 1-3.01 3.01 47.953 47.953 0 0 1-7.21 0 3.256 3.256 0 0 1-3.01-3.01 47.759 47.759 0 0 1-.1-1.759L6.97 15.53a.75.75 0 0 0 1.06-1.06l-3-3Z",clipRule:"evenodd"}))}const iw=a.forwardRef(lw);function cw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M4.755 10.059a7.5 7.5 0 0 1 12.548-3.364l1.903 1.903h-3.183a.75.75 0 1 0 0 1.5h4.992a.75.75 0 0 0 .75-.75V4.356a.75.75 0 0 0-1.5 0v3.18l-1.9-1.9A9 9 0 0 0 3.306 9.67a.75.75 0 1 0 1.45.388Zm15.408 3.352a.75.75 0 0 0-.919.53 7.5 7.5 0 0 1-12.548 3.364l-1.902-1.903h3.183a.75.75 0 0 0 0-1.5H2.984a.75.75 0 0 0-.75.75v4.992a.75.75 0 0 0 1.5 0v-3.18l1.9 1.9a9 9 0 0 0 15.059-4.035.75.75 0 0 0-.53-.918Z",clipRule:"evenodd"}))}const dw=a.forwardRef(cw);function uw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm4.28 10.28a.75.75 0 0 0 0-1.06l-3-3a.75.75 0 1 0-1.06 1.06l1.72 1.72H8.25a.75.75 0 0 0 0 1.5h5.69l-1.72 1.72a.75.75 0 1 0 1.06 1.06l3-3Z",clipRule:"evenodd"}))}const fw=a.forwardRef(uw);function mw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M16.5 3.75a1.5 1.5 0 0 1 1.5 1.5v13.5a1.5 1.5 0 0 1-1.5 1.5h-6a1.5 1.5 0 0 1-1.5-1.5V15a.75.75 0 0 0-1.5 0v3.75a3 3 0 0 0 3 3h6a3 3 0 0 0 3-3V5.25a3 3 0 0 0-3-3h-6a3 3 0 0 0-3 3V9A.75.75 0 1 0 9 9V5.25a1.5 1.5 0 0 1 1.5-1.5h6Zm-5.03 4.72a.75.75 0 0 0 0 1.06l1.72 1.72H2.25a.75.75 0 0 0 0 1.5h10.94l-1.72 1.72a.75.75 0 1 0 1.06 1.06l3-3a.75.75 0 0 0 0-1.06l-3-3a.75.75 0 0 0-1.06 0Z",clipRule:"evenodd"}))}const hw=a.forwardRef(mw);function pw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M7.5 3.75A1.5 1.5 0 0 0 6 5.25v13.5a1.5 1.5 0 0 0 1.5 1.5h6a1.5 1.5 0 0 0 1.5-1.5V15a.75.75 0 0 1 1.5 0v3.75a3 3 0 0 1-3 3h-6a3 3 0 0 1-3-3V5.25a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3V9A.75.75 0 0 1 15 9V5.25a1.5 1.5 0 0 0-1.5-1.5h-6Zm10.72 4.72a.75.75 0 0 1 1.06 0l3 3a.75.75 0 0 1 0 1.06l-3 3a.75.75 0 1 1-1.06-1.06l1.72-1.72H9a.75.75 0 0 1 0-1.5h10.94l-1.72-1.72a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const vw=a.forwardRef(pw);function ww({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M7.5 3.75A1.5 1.5 0 0 0 6 5.25v13.5a1.5 1.5 0 0 0 1.5 1.5h6a1.5 1.5 0 0 0 1.5-1.5V15a.75.75 0 0 1 1.5 0v3.75a3 3 0 0 1-3 3h-6a3 3 0 0 1-3-3V5.25a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3V9A.75.75 0 0 1 15 9V5.25a1.5 1.5 0 0 0-1.5-1.5h-6Zm10.72 4.72a.75.75 0 0 1 1.06 0l3 3a.75.75 0 0 1 0 1.06l-3 3a.75.75 0 1 1-1.06-1.06l1.72-1.72H9a.75.75 0 0 1 0-1.5h10.94l-1.72-1.72a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const gw=a.forwardRef(ww);function bw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12.97 3.97a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 1 1-1.06-1.06l6.22-6.22H3a.75.75 0 0 1 0-1.5h16.19l-6.22-6.22a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const xw=a.forwardRef(bw);function yw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 3.75a.75.75 0 0 1 .75.75v13.19l5.47-5.47a.75.75 0 1 1 1.06 1.06l-6.75 6.75a.75.75 0 0 1-1.06 0l-6.75-6.75a.75.75 0 1 1 1.06-1.06l5.47 5.47V4.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const Ew=a.forwardRef(yw);function kw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M20.25 12a.75.75 0 0 1-.75.75H6.31l5.47 5.47a.75.75 0 1 1-1.06 1.06l-6.75-6.75a.75.75 0 0 1 0-1.06l6.75-6.75a.75.75 0 1 1 1.06 1.06l-5.47 5.47H19.5a.75.75 0 0 1 .75.75Z",clipRule:"evenodd"}))}const Rw=a.forwardRef(kw);function jw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3.75 12a.75.75 0 0 1 .75-.75h13.19l-5.47-5.47a.75.75 0 0 1 1.06-1.06l6.75 6.75a.75.75 0 0 1 0 1.06l-6.75 6.75a.75.75 0 1 1-1.06-1.06l5.47-5.47H4.5a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const Cw=a.forwardRef(jw);function Mw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 20.25a.75.75 0 0 1-.75-.75V6.31l-5.47 5.47a.75.75 0 0 1-1.06-1.06l6.75-6.75a.75.75 0 0 1 1.06 0l6.75 6.75a.75.75 0 1 1-1.06 1.06l-5.47-5.47V19.5a.75.75 0 0 1-.75.75Z",clipRule:"evenodd"}))}const Aw=a.forwardRef(Mw);function Sw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M15.75 2.25H21a.75.75 0 0 1 .75.75v5.25a.75.75 0 0 1-1.5 0V4.81L8.03 17.03a.75.75 0 0 1-1.06-1.06L19.19 3.75h-3.44a.75.75 0 0 1 0-1.5Zm-10.5 4.5a1.5 1.5 0 0 0-1.5 1.5v10.5a1.5 1.5 0 0 0 1.5 1.5h10.5a1.5 1.5 0 0 0 1.5-1.5V10.5a.75.75 0 0 1 1.5 0v8.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V8.25a3 3 0 0 1 3-3h8.25a.75.75 0 0 1 0 1.5H5.25Z",clipRule:"evenodd"}))}const $w=a.forwardRef(Sw);function Lw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M1.72 5.47a.75.75 0 0 1 1.06 0L9 11.69l3.756-3.756a.75.75 0 0 1 .985-.066 12.698 12.698 0 0 1 4.575 6.832l.308 1.149 2.277-3.943a.75.75 0 1 1 1.299.75l-3.182 5.51a.75.75 0 0 1-1.025.275l-5.511-3.181a.75.75 0 0 1 .75-1.3l3.943 2.277-.308-1.149a11.194 11.194 0 0 0-3.528-5.617l-3.809 3.81a.75.75 0 0 1-1.06 0L1.72 6.53a.75.75 0 0 1 0-1.061Z",clipRule:"evenodd"}))}const Ow=a.forwardRef(Lw);function Nw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M15.22 6.268a.75.75 0 0 1 .968-.431l5.942 2.28a.75.75 0 0 1 .431.97l-2.28 5.94a.75.75 0 1 1-1.4-.537l1.63-4.251-1.086.484a11.2 11.2 0 0 0-5.45 5.173.75.75 0 0 1-1.199.19L9 12.312l-6.22 6.22a.75.75 0 0 1-1.06-1.061l6.75-6.75a.75.75 0 0 1 1.06 0l3.606 3.606a12.695 12.695 0 0 1 5.68-4.974l1.086-.483-4.251-1.632a.75.75 0 0 1-.432-.97Z",clipRule:"evenodd"}))}const Fw=a.forwardRef(Nw);function Iw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M20.239 3.749a.75.75 0 0 0-.75.75V15H5.549l2.47-2.47a.75.75 0 0 0-1.06-1.06l-3.75 3.75a.75.75 0 0 0 0 1.06l3.75 3.75a.75.75 0 1 0 1.06-1.06L5.55 16.5h14.69a.75.75 0 0 0 .75-.75V4.5a.75.75 0 0 0-.75-.751Z",clipRule:"evenodd"}))}const Zw=a.forwardRef(Iw);function Bw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3.74 3.749a.75.75 0 0 1 .75.75V15h13.938l-2.47-2.47a.75.75 0 0 1 1.061-1.06l3.75 3.75a.75.75 0 0 1 0 1.06l-3.75 3.75a.75.75 0 0 1-1.06-1.06l2.47-2.47H3.738a.75.75 0 0 1-.75-.75V4.5a.75.75 0 0 1 .75-.751Z",clipRule:"evenodd"}))}const Vw=a.forwardRef(Bw);function Tw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M20.24 3.75a.75.75 0 0 1-.75.75H8.989v13.939l2.47-2.47a.75.75 0 1 1 1.06 1.061l-3.75 3.75a.75.75 0 0 1-1.06 0l-3.751-3.75a.75.75 0 1 1 1.06-1.06l2.47 2.469V3.75a.75.75 0 0 1 .75-.75H19.49a.75.75 0 0 1 .75.75Z",clipRule:"evenodd"}))}const Dw=a.forwardRef(Tw);function Hw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M20.24 20.249a.75.75 0 0 0-.75-.75H8.989V5.56l2.47 2.47a.75.75 0 0 0 1.06-1.061l-3.75-3.75a.75.75 0 0 0-1.06 0l-3.75 3.75a.75.75 0 1 0 1.06 1.06l2.47-2.469V20.25c0 .414.335.75.75.75h11.25a.75.75 0 0 0 .75-.75Z",clipRule:"evenodd"}))}const _w=a.forwardRef(Hw);function Pw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3.738 3.75c0 .414.336.75.75.75H14.99v13.939l-2.47-2.47a.75.75 0 0 0-1.06 1.061l3.75 3.75a.75.75 0 0 0 1.06 0l3.751-3.75a.75.75 0 0 0-1.06-1.06l-2.47 2.469V3.75a.75.75 0 0 0-.75-.75H4.487a.75.75 0 0 0-.75.75Z",clipRule:"evenodd"}))}const Ww=a.forwardRef(Pw);function zw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3.738 20.249a.75.75 0 0 1 .75-.75H14.99V5.56l-2.47 2.47a.75.75 0 0 1-1.06-1.061l3.75-3.75a.75.75 0 0 1 1.06 0l3.751 3.75a.75.75 0 0 1-1.06 1.06L16.49 5.56V20.25a.75.75 0 0 1-.75.75H4.487a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const qw=a.forwardRef(zw);function Uw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M20.239 20.25a.75.75 0 0 1-.75-.75V8.999H5.549l2.47 2.47a.75.75 0 0 1-1.06 1.06l-3.75-3.75a.75.75 0 0 1 0-1.06l3.75-3.75a.75.75 0 1 1 1.06 1.06l-2.47 2.47h14.69a.75.75 0 0 1 .75.75V19.5a.75.75 0 0 1-.75.75Z",clipRule:"evenodd"}))}const Gw=a.forwardRef(Uw);function Kw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3.74 20.25a.75.75 0 0 0 .75-.75V8.999h13.938l-2.47 2.47a.75.75 0 0 0 1.061 1.06l3.75-3.75a.75.75 0 0 0 0-1.06l-3.75-3.75a.75.75 0 0 0-1.06 1.06l2.47 2.47H3.738a.75.75 0 0 0-.75.75V19.5c0 .414.336.75.75.75Z",clipRule:"evenodd"}))}const Yw=a.forwardRef(Kw);function Jw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm.53 5.47a.75.75 0 0 0-1.06 0l-3 3a.75.75 0 1 0 1.06 1.06l1.72-1.72v5.69a.75.75 0 0 0 1.5 0v-5.69l1.72 1.72a.75.75 0 1 0 1.06-1.06l-3-3Z",clipRule:"evenodd"}))}const Xw=a.forwardRef(Jw);function Qw({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M5.25 6.31v9.44a.75.75 0 0 1-1.5 0V4.5a.75.75 0 0 1 .75-.75h11.25a.75.75 0 0 1 0 1.5H6.31l13.72 13.72a.75.75 0 1 1-1.06 1.06L5.25 6.31Z",clipRule:"evenodd"}))}const eg=a.forwardRef(Qw);function tg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M9.97.97a.75.75 0 0 1 1.06 0l3 3a.75.75 0 0 1-1.06 1.06l-1.72-1.72v3.44h-1.5V3.31L8.03 5.03a.75.75 0 0 1-1.06-1.06l3-3ZM9.75 6.75v6a.75.75 0 0 0 1.5 0v-6h3a3 3 0 0 1 3 3v7.5a3 3 0 0 1-3 3h-7.5a3 3 0 0 1-3-3v-7.5a3 3 0 0 1 3-3h3Z"}),a.createElement("path",{d:"M7.151 21.75a2.999 2.999 0 0 0 2.599 1.5h7.5a3 3 0 0 0 3-3v-7.5c0-1.11-.603-2.08-1.5-2.599v7.099a4.5 4.5 0 0 1-4.5 4.5H7.151Z"}))}const rg=a.forwardRef(tg);function ng({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M11.47 1.72a.75.75 0 0 1 1.06 0l3 3a.75.75 0 0 1-1.06 1.06l-1.72-1.72V7.5h-1.5V4.06L9.53 5.78a.75.75 0 0 1-1.06-1.06l3-3ZM11.25 7.5V15a.75.75 0 0 0 1.5 0V7.5h3.75a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3h-9a3 3 0 0 1-3-3v-9a3 3 0 0 1 3-3h3.75Z"}))}const ag=a.forwardRef(ng);function og({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M8.25 3.75H19.5a.75.75 0 0 1 .75.75v11.25a.75.75 0 0 1-1.5 0V6.31L5.03 20.03a.75.75 0 0 1-1.06-1.06L17.69 5.25H8.25a.75.75 0 0 1 0-1.5Z",clipRule:"evenodd"}))}const sg=a.forwardRef(og);function lg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M11.47 2.47a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1-1.06 1.06l-3.22-3.22V16.5a.75.75 0 0 1-1.5 0V4.81L8.03 8.03a.75.75 0 0 1-1.06-1.06l4.5-4.5ZM3 15.75a.75.75 0 0 1 .75.75v2.25a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5V16.5a.75.75 0 0 1 1.5 0v2.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V16.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const ig=a.forwardRef(lg);function cg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M11.47 2.47a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06l-6.22-6.22V21a.75.75 0 0 1-1.5 0V4.81l-6.22 6.22a.75.75 0 1 1-1.06-1.06l7.5-7.5Z",clipRule:"evenodd"}))}const dg=a.forwardRef(cg);function ug({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M15 3.75A5.25 5.25 0 0 0 9.75 9v10.19l4.72-4.72a.75.75 0 1 1 1.06 1.06l-6 6a.75.75 0 0 1-1.06 0l-6-6a.75.75 0 1 1 1.06-1.06l4.72 4.72V9a6.75 6.75 0 0 1 13.5 0v3a.75.75 0 0 1-1.5 0V9c0-2.9-2.35-5.25-5.25-5.25Z",clipRule:"evenodd"}))}const fg=a.forwardRef(ug);function mg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M9.53 2.47a.75.75 0 0 1 0 1.06L4.81 8.25H15a6.75 6.75 0 0 1 0 13.5h-3a.75.75 0 0 1 0-1.5h3a5.25 5.25 0 1 0 0-10.5H4.81l4.72 4.72a.75.75 0 1 1-1.06 1.06l-6-6a.75.75 0 0 1 0-1.06l6-6a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const hg=a.forwardRef(mg);function pg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M14.47 2.47a.75.75 0 0 1 1.06 0l6 6a.75.75 0 0 1 0 1.06l-6 6a.75.75 0 1 1-1.06-1.06l4.72-4.72H9a5.25 5.25 0 1 0 0 10.5h3a.75.75 0 0 1 0 1.5H9a6.75 6.75 0 0 1 0-13.5h10.19l-4.72-4.72a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const vg=a.forwardRef(pg);function wg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M21.53 9.53a.75.75 0 0 1-1.06 0l-4.72-4.72V15a6.75 6.75 0 0 1-13.5 0v-3a.75.75 0 0 1 1.5 0v3a5.25 5.25 0 1 0 10.5 0V4.81L9.53 9.53a.75.75 0 0 1-1.06-1.06l6-6a.75.75 0 0 1 1.06 0l6 6a.75.75 0 0 1 0 1.06Z",clipRule:"evenodd"}))}const gg=a.forwardRef(wg);function bg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3.22 3.22a.75.75 0 0 1 1.06 0l3.97 3.97V4.5a.75.75 0 0 1 1.5 0V9a.75.75 0 0 1-.75.75H4.5a.75.75 0 0 1 0-1.5h2.69L3.22 4.28a.75.75 0 0 1 0-1.06Zm17.56 0a.75.75 0 0 1 0 1.06l-3.97 3.97h2.69a.75.75 0 0 1 0 1.5H15a.75.75 0 0 1-.75-.75V4.5a.75.75 0 0 1 1.5 0v2.69l3.97-3.97a.75.75 0 0 1 1.06 0ZM3.75 15a.75.75 0 0 1 .75-.75H9a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-2.69l-3.97 3.97a.75.75 0 0 1-1.06-1.06l3.97-3.97H4.5a.75.75 0 0 1-.75-.75Zm10.5 0a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-2.69l3.97 3.97a.75.75 0 1 1-1.06 1.06l-3.97-3.97v2.69a.75.75 0 0 1-1.5 0V15Z",clipRule:"evenodd"}))}const xg=a.forwardRef(bg);function yg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M15 3.75a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0V5.56l-3.97 3.97a.75.75 0 1 1-1.06-1.06l3.97-3.97h-2.69a.75.75 0 0 1-.75-.75Zm-12 0A.75.75 0 0 1 3.75 3h4.5a.75.75 0 0 1 0 1.5H5.56l3.97 3.97a.75.75 0 0 1-1.06 1.06L4.5 5.56v2.69a.75.75 0 0 1-1.5 0v-4.5Zm11.47 11.78a.75.75 0 1 1 1.06-1.06l3.97 3.97v-2.69a.75.75 0 0 1 1.5 0v4.5a.75.75 0 0 1-.75.75h-4.5a.75.75 0 0 1 0-1.5h2.69l-3.97-3.97Zm-4.94-1.06a.75.75 0 0 1 0 1.06L5.56 19.5h2.69a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75v-4.5a.75.75 0 0 1 1.5 0v2.69l3.97-3.97a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const Eg=a.forwardRef(yg);function kg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M15.97 2.47a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 1 1-1.06-1.06l3.22-3.22H7.5a.75.75 0 0 1 0-1.5h11.69l-3.22-3.22a.75.75 0 0 1 0-1.06Zm-7.94 9a.75.75 0 0 1 0 1.06l-3.22 3.22H16.5a.75.75 0 0 1 0 1.5H4.81l3.22 3.22a.75.75 0 1 1-1.06 1.06l-4.5-4.5a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const Rg=a.forwardRef(kg);function jg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M6.97 2.47a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1-1.06 1.06L8.25 4.81V16.5a.75.75 0 0 1-1.5 0V4.81L3.53 8.03a.75.75 0 0 1-1.06-1.06l4.5-4.5Zm9.53 4.28a.75.75 0 0 1 .75.75v11.69l3.22-3.22a.75.75 0 1 1 1.06 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 1 1 1.06-1.06l3.22 3.22V7.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const Cg=a.forwardRef(jg);function Mg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M17.834 6.166a8.25 8.25 0 1 0 0 11.668.75.75 0 0 1 1.06 1.06c-3.807 3.808-9.98 3.808-13.788 0-3.808-3.807-3.808-9.98 0-13.788 3.807-3.808 9.98-3.808 13.788 0A9.722 9.722 0 0 1 21.75 12c0 .975-.296 1.887-.809 2.571-.514.685-1.28 1.179-2.191 1.179-.904 0-1.666-.487-2.18-1.164a5.25 5.25 0 1 1-.82-6.26V8.25a.75.75 0 0 1 1.5 0V12c0 .682.208 1.27.509 1.671.3.401.659.579.991.579.332 0 .69-.178.991-.579.3-.4.509-.99.509-1.671a8.222 8.222 0 0 0-2.416-5.834ZM15.75 12a3.75 3.75 0 1 0-7.5 0 3.75 3.75 0 0 0 7.5 0Z",clipRule:"evenodd"}))}const Ag=a.forwardRef(Mg);function Sg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.515 10.674a1.875 1.875 0 0 0 0 2.652L8.89 19.7c.352.351.829.549 1.326.549H19.5a3 3 0 0 0 3-3V6.75a3 3 0 0 0-3-3h-9.284c-.497 0-.974.198-1.326.55l-6.375 6.374ZM12.53 9.22a.75.75 0 1 0-1.06 1.06L13.19 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06l1.72-1.72 1.72 1.72a.75.75 0 1 0 1.06-1.06L15.31 12l1.72-1.72a.75.75 0 1 0-1.06-1.06l-1.72 1.72-1.72-1.72Z",clipRule:"evenodd"}))}const $g=a.forwardRef(Sg);function Lg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M9.195 18.44c1.25.714 2.805-.189 2.805-1.629v-2.34l6.945 3.968c1.25.715 2.805-.188 2.805-1.628V8.69c0-1.44-1.555-2.343-2.805-1.628L12 11.029v-2.34c0-1.44-1.555-2.343-2.805-1.628l-7.108 4.061c-1.26.72-1.26 2.536 0 3.256l7.108 4.061Z"}))}const Og=a.forwardRef(Lg);function Ng({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M12 7.5a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 4.875C1.5 3.839 2.34 3 3.375 3h17.25c1.035 0 1.875.84 1.875 1.875v9.75c0 1.036-.84 1.875-1.875 1.875H3.375A1.875 1.875 0 0 1 1.5 14.625v-9.75ZM8.25 9.75a3.75 3.75 0 1 1 7.5 0 3.75 3.75 0 0 1-7.5 0ZM18.75 9a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V9.75a.75.75 0 0 0-.75-.75h-.008ZM4.5 9.75A.75.75 0 0 1 5.25 9h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H5.25a.75.75 0 0 1-.75-.75V9.75Z",clipRule:"evenodd"}),a.createElement("path",{d:"M2.25 18a.75.75 0 0 0 0 1.5c5.4 0 10.63.722 15.6 2.075 1.19.324 2.4-.558 2.4-1.82V18.75a.75.75 0 0 0-.75-.75H2.25Z"}))}const Fg=a.forwardRef(Ng);function Ig({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3 9a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 9Zm0 6.75a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const Zg=a.forwardRef(Ig);function Bg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3 6.75A.75.75 0 0 1 3.75 6h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 6.75ZM3 12a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 12Zm0 5.25a.75.75 0 0 1 .75-.75H12a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const Vg=a.forwardRef(Bg);function Tg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3 6.75A.75.75 0 0 1 3.75 6h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 6.75ZM3 12a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 12Zm8.25 5.25a.75.75 0 0 1 .75-.75h8.25a.75.75 0 0 1 0 1.5H12a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const Dg=a.forwardRef(Tg);function Hg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3 6.75A.75.75 0 0 1 3.75 6h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 6.75ZM3 12a.75.75 0 0 1 .75-.75H12a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 12Zm0 5.25a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const _g=a.forwardRef(Hg);function Pg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3 6.75A.75.75 0 0 1 3.75 6h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 6.75ZM3 12a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 12Zm0 5.25a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const Wg=a.forwardRef(Pg);function zg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3 5.25a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 5.25Zm0 4.5A.75.75 0 0 1 3.75 9h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 9.75Zm0 4.5a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75Zm0 4.5a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const qg=a.forwardRef(zg);function Ug({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.25 4.5A.75.75 0 0 1 3 3.75h14.25a.75.75 0 0 1 0 1.5H3a.75.75 0 0 1-.75-.75Zm0 4.5A.75.75 0 0 1 3 8.25h9.75a.75.75 0 0 1 0 1.5H3A.75.75 0 0 1 2.25 9Zm15-.75A.75.75 0 0 1 18 9v10.19l2.47-2.47a.75.75 0 1 1 1.06 1.06l-3.75 3.75a.75.75 0 0 1-1.06 0l-3.75-3.75a.75.75 0 1 1 1.06-1.06l2.47 2.47V9a.75.75 0 0 1 .75-.75Zm-15 5.25a.75.75 0 0 1 .75-.75h9.75a.75.75 0 0 1 0 1.5H3a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const Gg=a.forwardRef(Ug);function Kg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.25 4.5A.75.75 0 0 1 3 3.75h14.25a.75.75 0 0 1 0 1.5H3a.75.75 0 0 1-.75-.75Zm14.47 3.97a.75.75 0 0 1 1.06 0l3.75 3.75a.75.75 0 1 1-1.06 1.06L18 10.81V21a.75.75 0 0 1-1.5 0V10.81l-2.47 2.47a.75.75 0 1 1-1.06-1.06l3.75-3.75ZM2.25 9A.75.75 0 0 1 3 8.25h9.75a.75.75 0 0 1 0 1.5H3A.75.75 0 0 1 2.25 9Zm0 4.5a.75.75 0 0 1 .75-.75h5.25a.75.75 0 0 1 0 1.5H3a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const Yg=a.forwardRef(Kg);function Jg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M.75 9.75a3 3 0 0 1 3-3h15a3 3 0 0 1 3 3v.038c.856.173 1.5.93 1.5 1.837v2.25c0 .907-.644 1.664-1.5 1.838v.037a3 3 0 0 1-3 3h-15a3 3 0 0 1-3-3v-6Zm19.5 0a1.5 1.5 0 0 0-1.5-1.5h-15a1.5 1.5 0 0 0-1.5 1.5v6a1.5 1.5 0 0 0 1.5 1.5h15a1.5 1.5 0 0 0 1.5-1.5v-6Z",clipRule:"evenodd"}))}const Xg=a.forwardRef(Jg);function Qg({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3.75 6.75a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3v-.037c.856-.174 1.5-.93 1.5-1.838v-2.25c0-.907-.644-1.664-1.5-1.837V9.75a3 3 0 0 0-3-3h-15Zm15 1.5a1.5 1.5 0 0 1 1.5 1.5v6a1.5 1.5 0 0 1-1.5 1.5h-15a1.5 1.5 0 0 1-1.5-1.5v-6a1.5 1.5 0 0 1 1.5-1.5h15ZM4.5 9.75a.75.75 0 0 0-.75.75V15c0 .414.336.75.75.75H18a.75.75 0 0 0 .75-.75v-4.5a.75.75 0 0 0-.75-.75H4.5Z",clipRule:"evenodd"}))}const e9=a.forwardRef(Qg);function t9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M4.5 9.75a.75.75 0 0 0-.75.75V15c0 .414.336.75.75.75h6.75A.75.75 0 0 0 12 15v-4.5a.75.75 0 0 0-.75-.75H4.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M3.75 6.75a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3v-.037c.856-.174 1.5-.93 1.5-1.838v-2.25c0-.907-.644-1.664-1.5-1.837V9.75a3 3 0 0 0-3-3h-15Zm15 1.5a1.5 1.5 0 0 1 1.5 1.5v6a1.5 1.5 0 0 1-1.5 1.5h-15a1.5 1.5 0 0 1-1.5-1.5v-6a1.5 1.5 0 0 1 1.5-1.5h15Z",clipRule:"evenodd"}))}const r9=a.forwardRef(t9);function n9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M10.5 3.798v5.02a3 3 0 0 1-.879 2.121l-2.377 2.377a9.845 9.845 0 0 1 5.091 1.013 8.315 8.315 0 0 0 5.713.636l.285-.071-3.954-3.955a3 3 0 0 1-.879-2.121v-5.02a23.614 23.614 0 0 0-3 0Zm4.5.138a.75.75 0 0 0 .093-1.495A24.837 24.837 0 0 0 12 2.25a25.048 25.048 0 0 0-3.093.191A.75.75 0 0 0 9 3.936v4.882a1.5 1.5 0 0 1-.44 1.06l-6.293 6.294c-1.62 1.621-.903 4.475 1.471 4.88 2.686.46 5.447.698 8.262.698 2.816 0 5.576-.239 8.262-.697 2.373-.406 3.092-3.26 1.47-4.881L15.44 9.879A1.5 1.5 0 0 1 15 8.818V3.936Z",clipRule:"evenodd"}))}const a9=a.forwardRef(n9);function o9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M5.85 3.5a.75.75 0 0 0-1.117-1 9.719 9.719 0 0 0-2.348 4.876.75.75 0 0 0 1.479.248A8.219 8.219 0 0 1 5.85 3.5ZM19.267 2.5a.75.75 0 1 0-1.118 1 8.22 8.22 0 0 1 1.987 4.124.75.75 0 0 0 1.48-.248A9.72 9.72 0 0 0 19.266 2.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M12 2.25A6.75 6.75 0 0 0 5.25 9v.75a8.217 8.217 0 0 1-2.119 5.52.75.75 0 0 0 .298 1.206c1.544.57 3.16.99 4.831 1.243a3.75 3.75 0 1 0 7.48 0 24.583 24.583 0 0 0 4.83-1.244.75.75 0 0 0 .298-1.205 8.217 8.217 0 0 1-2.118-5.52V9A6.75 6.75 0 0 0 12 2.25ZM9.75 18c0-.034 0-.067.002-.1a25.05 25.05 0 0 0 4.496 0l.002.1a2.25 2.25 0 1 1-4.5 0Z",clipRule:"evenodd"}))}const s9=a.forwardRef(o9);function l9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M3.53 2.47a.75.75 0 0 0-1.06 1.06l18 18a.75.75 0 1 0 1.06-1.06l-18-18ZM20.57 16.476c-.223.082-.448.161-.674.238L7.319 4.137A6.75 6.75 0 0 1 18.75 9v.75c0 2.123.8 4.057 2.118 5.52a.75.75 0 0 1-.297 1.206Z"}),a.createElement("path",{fillRule:"evenodd",d:"M5.25 9c0-.184.007-.366.022-.546l10.384 10.384a3.751 3.751 0 0 1-7.396-1.119 24.585 24.585 0 0 1-4.831-1.244.75.75 0 0 1-.298-1.205A8.217 8.217 0 0 0 5.25 9.75V9Zm4.502 8.9a2.25 2.25 0 1 0 4.496 0 25.057 25.057 0 0 1-4.496 0Z",clipRule:"evenodd"}))}const i9=a.forwardRef(l9);function c9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25A6.75 6.75 0 0 0 5.25 9v.75a8.217 8.217 0 0 1-2.119 5.52.75.75 0 0 0 .298 1.206c1.544.57 3.16.99 4.831 1.243a3.75 3.75 0 1 0 7.48 0 24.583 24.583 0 0 0 4.83-1.244.75.75 0 0 0 .298-1.205 8.217 8.217 0 0 1-2.118-5.52V9A6.75 6.75 0 0 0 12 2.25ZM9.75 18c0-.034 0-.067.002-.1a25.05 25.05 0 0 0 4.496 0l.002.1a2.25 2.25 0 1 1-4.5 0Zm.75-10.5a.75.75 0 0 0 0 1.5h1.599l-2.223 3.334A.75.75 0 0 0 10.5 13.5h3a.75.75 0 0 0 0-1.5h-1.599l2.223-3.334A.75.75 0 0 0 13.5 7.5h-3Z",clipRule:"evenodd"}))}const d9=a.forwardRef(c9);function u9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M5.25 9a6.75 6.75 0 0 1 13.5 0v.75c0 2.123.8 4.057 2.118 5.52a.75.75 0 0 1-.297 1.206c-1.544.57-3.16.99-4.831 1.243a3.75 3.75 0 1 1-7.48 0 24.585 24.585 0 0 1-4.831-1.244.75.75 0 0 1-.298-1.205A8.217 8.217 0 0 0 5.25 9.75V9Zm4.502 8.9a2.25 2.25 0 1 0 4.496 0 25.057 25.057 0 0 1-4.496 0Z",clipRule:"evenodd"}))}const f9=a.forwardRef(u9);function m9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M5.246 3.744a.75.75 0 0 1 .75-.75h7.125a4.875 4.875 0 0 1 3.346 8.422 5.25 5.25 0 0 1-2.97 9.58h-7.5a.75.75 0 0 1-.75-.75V3.744Zm7.125 6.75a2.625 2.625 0 0 0 0-5.25H8.246v5.25h4.125Zm-4.125 2.251v6h4.5a3 3 0 0 0 0-6h-4.5Z",clipRule:"evenodd"}))}const h9=a.forwardRef(m9);function p9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"m20.798 11.012-3.188 3.416L9.462 6.28l4.24-4.542a.75.75 0 0 1 1.272.71L12.982 9.75h7.268a.75.75 0 0 1 .548 1.262ZM3.202 12.988 6.39 9.572l8.148 8.148-4.24 4.542a.75.75 0 0 1-1.272-.71l1.992-7.302H3.75a.75.75 0 0 1-.548-1.262ZM3.53 2.47a.75.75 0 0 0-1.06 1.06l18 18a.75.75 0 1 0 1.06-1.06l-18-18Z"}))}const v9=a.forwardRef(p9);function w9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M14.615 1.595a.75.75 0 0 1 .359.852L12.982 9.75h7.268a.75.75 0 0 1 .548 1.262l-10.5 11.25a.75.75 0 0 1-1.272-.71l1.992-7.302H3.75a.75.75 0 0 1-.548-1.262l10.5-11.25a.75.75 0 0 1 .913-.143Z",clipRule:"evenodd"}))}const g9=a.forwardRef(w9);function b9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M11.25 4.533A9.707 9.707 0 0 0 6 3a9.735 9.735 0 0 0-3.25.555.75.75 0 0 0-.5.707v14.25a.75.75 0 0 0 1 .707A8.237 8.237 0 0 1 6 18.75c1.995 0 3.823.707 5.25 1.886V4.533ZM12.75 20.636A8.214 8.214 0 0 1 18 18.75c.966 0 1.89.166 2.75.47a.75.75 0 0 0 1-.708V4.262a.75.75 0 0 0-.5-.707A9.735 9.735 0 0 0 18 3a9.707 9.707 0 0 0-5.25 1.533v16.103Z"}))}const x9=a.forwardRef(b9);function y9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M3.53 2.47a.75.75 0 0 0-1.06 1.06l18 18a.75.75 0 1 0 1.06-1.06l-18-18ZM20.25 5.507v11.561L5.853 2.671c.15-.043.306-.075.467-.094a49.255 49.255 0 0 1 11.36 0c1.497.174 2.57 1.46 2.57 2.93ZM3.75 21V6.932l14.063 14.063L12 18.088l-7.165 3.583A.75.75 0 0 1 3.75 21Z"}))}const E9=a.forwardRef(y9);function k9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M6 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H6Zm1.5 1.5a.75.75 0 0 0-.75.75V16.5a.75.75 0 0 0 1.085.67L12 15.089l4.165 2.083a.75.75 0 0 0 1.085-.671V5.25a.75.75 0 0 0-.75-.75h-9Z",clipRule:"evenodd"}))}const R9=a.forwardRef(k9);function j9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M6.32 2.577a49.255 49.255 0 0 1 11.36 0c1.497.174 2.57 1.46 2.57 2.93V21a.75.75 0 0 1-1.085.67L12 18.089l-7.165 3.583A.75.75 0 0 1 3.75 21V5.507c0-1.47 1.073-2.756 2.57-2.93Z",clipRule:"evenodd"}))}const C9=a.forwardRef(j9);function M9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M7.5 5.25a3 3 0 0 1 3-3h3a3 3 0 0 1 3 3v.205c.933.085 1.857.197 2.774.334 1.454.218 2.476 1.483 2.476 2.917v3.033c0 1.211-.734 2.352-1.936 2.752A24.726 24.726 0 0 1 12 15.75c-2.73 0-5.357-.442-7.814-1.259-1.202-.4-1.936-1.541-1.936-2.752V8.706c0-1.434 1.022-2.7 2.476-2.917A48.814 48.814 0 0 1 7.5 5.455V5.25Zm7.5 0v.09a49.488 49.488 0 0 0-6 0v-.09a1.5 1.5 0 0 1 1.5-1.5h3a1.5 1.5 0 0 1 1.5 1.5Zm-3 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}),a.createElement("path",{d:"M3 18.4v-2.796a4.3 4.3 0 0 0 .713.31A26.226 26.226 0 0 0 12 17.25c2.892 0 5.68-.468 8.287-1.335.252-.084.49-.189.713-.311V18.4c0 1.452-1.047 2.728-2.523 2.923-2.12.282-4.282.427-6.477.427a49.19 49.19 0 0 1-6.477-.427C4.047 21.128 3 19.852 3 18.4Z"}))}const A9=a.forwardRef(M9);function S9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M8.478 1.6a.75.75 0 0 1 .273 1.026 3.72 3.72 0 0 0-.425 1.121c.058.058.118.114.18.168A4.491 4.491 0 0 1 12 2.25c1.413 0 2.673.651 3.497 1.668.06-.054.12-.11.178-.167a3.717 3.717 0 0 0-.426-1.125.75.75 0 1 1 1.298-.752 5.22 5.22 0 0 1 .671 2.046.75.75 0 0 1-.187.582c-.241.27-.505.52-.787.749a4.494 4.494 0 0 1 .216 2.1c-.106.792-.753 1.295-1.417 1.403-.182.03-.364.057-.547.081.152.227.273.476.359.742a23.122 23.122 0 0 0 3.832-.803 23.241 23.241 0 0 0-.345-2.634.75.75 0 0 1 1.474-.28c.21 1.115.348 2.256.404 3.418a.75.75 0 0 1-.516.75c-1.527.499-3.119.854-4.76 1.049-.074.38-.22.735-.423 1.05 2.066.209 4.058.672 5.943 1.358a.75.75 0 0 1 .492.75 24.665 24.665 0 0 1-1.189 6.25.75.75 0 0 1-1.425-.47 23.14 23.14 0 0 0 1.077-5.306c-.5-.169-1.009-.32-1.524-.455.068.234.104.484.104.746 0 3.956-2.521 7.5-6 7.5-3.478 0-6-3.544-6-7.5 0-.262.037-.511.104-.746-.514.135-1.022.286-1.522.455.154 1.838.52 3.616 1.077 5.307a.75.75 0 1 1-1.425.468 24.662 24.662 0 0 1-1.19-6.25.75.75 0 0 1 .493-.749 24.586 24.586 0 0 1 4.964-1.24h.01c.321-.046.644-.085.969-.118a2.983 2.983 0 0 1-.424-1.05 24.614 24.614 0 0 1-4.76-1.05.75.75 0 0 1-.516-.75c.057-1.16.194-2.302.405-3.417a.75.75 0 0 1 1.474.28c-.164.862-.28 1.74-.345 2.634 1.237.371 2.517.642 3.832.803.085-.266.207-.515.359-.742a18.698 18.698 0 0 1-.547-.08c-.664-.11-1.311-.612-1.417-1.404a4.535 4.535 0 0 1 .217-2.103 6.788 6.788 0 0 1-.788-.751.75.75 0 0 1-.187-.583 5.22 5.22 0 0 1 .67-2.04.75.75 0 0 1 1.026-.273Z",clipRule:"evenodd"}))}const $9=a.forwardRef(S9);function L9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M11.584 2.376a.75.75 0 0 1 .832 0l9 6a.75.75 0 1 1-.832 1.248L12 3.901 3.416 9.624a.75.75 0 0 1-.832-1.248l9-6Z"}),a.createElement("path",{fillRule:"evenodd",d:"M20.25 10.332v9.918H21a.75.75 0 0 1 0 1.5H3a.75.75 0 0 1 0-1.5h.75v-9.918a.75.75 0 0 1 .634-.74A49.109 49.109 0 0 1 12 9c2.59 0 5.134.202 7.616.592a.75.75 0 0 1 .634.74Zm-7.5 2.418a.75.75 0 0 0-1.5 0v6.75a.75.75 0 0 0 1.5 0v-6.75Zm3-.75a.75.75 0 0 1 .75.75v6.75a.75.75 0 0 1-1.5 0v-6.75a.75.75 0 0 1 .75-.75ZM9 12.75a.75.75 0 0 0-1.5 0v6.75a.75.75 0 0 0 1.5 0v-6.75Z",clipRule:"evenodd"}),a.createElement("path",{d:"M12 7.875a1.125 1.125 0 1 0 0-2.25 1.125 1.125 0 0 0 0 2.25Z"}))}const O9=a.forwardRef(L9);function N9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3 2.25a.75.75 0 0 0 0 1.5v16.5h-.75a.75.75 0 0 0 0 1.5H15v-18a.75.75 0 0 0 0-1.5H3ZM6.75 19.5v-2.25a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-.75.75h-3a.75.75 0 0 1-.75-.75ZM6 6.75A.75.75 0 0 1 6.75 6h.75a.75.75 0 0 1 0 1.5h-.75A.75.75 0 0 1 6 6.75ZM6.75 9a.75.75 0 0 0 0 1.5h.75a.75.75 0 0 0 0-1.5h-.75ZM6 12.75a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 0 1.5h-.75a.75.75 0 0 1-.75-.75ZM10.5 6a.75.75 0 0 0 0 1.5h.75a.75.75 0 0 0 0-1.5h-.75Zm-.75 3.75A.75.75 0 0 1 10.5 9h.75a.75.75 0 0 1 0 1.5h-.75a.75.75 0 0 1-.75-.75ZM10.5 12a.75.75 0 0 0 0 1.5h.75a.75.75 0 0 0 0-1.5h-.75ZM16.5 6.75v15h5.25a.75.75 0 0 0 0-1.5H21v-12a.75.75 0 0 0 0-1.5h-4.5Zm1.5 4.5a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 2.25a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75v-.008a.75.75 0 0 0-.75-.75h-.008ZM18 17.25a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Z",clipRule:"evenodd"}))}const F9=a.forwardRef(N9);function I9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M4.5 2.25a.75.75 0 0 0 0 1.5v16.5h-.75a.75.75 0 0 0 0 1.5h16.5a.75.75 0 0 0 0-1.5h-.75V3.75a.75.75 0 0 0 0-1.5h-15ZM9 6a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5H9Zm-.75 3.75A.75.75 0 0 1 9 9h1.5a.75.75 0 0 1 0 1.5H9a.75.75 0 0 1-.75-.75ZM9 12a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5H9Zm3.75-5.25A.75.75 0 0 1 13.5 6H15a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75ZM13.5 9a.75.75 0 0 0 0 1.5H15A.75.75 0 0 0 15 9h-1.5Zm-.75 3.75a.75.75 0 0 1 .75-.75H15a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75ZM9 19.5v-2.25a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-.75.75h-4.5A.75.75 0 0 1 9 19.5Z",clipRule:"evenodd"}))}const Z9=a.forwardRef(I9);function B9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M5.223 2.25c-.497 0-.974.198-1.325.55l-1.3 1.298A3.75 3.75 0 0 0 7.5 9.75c.627.47 1.406.75 2.25.75.844 0 1.624-.28 2.25-.75.626.47 1.406.75 2.25.75.844 0 1.623-.28 2.25-.75a3.75 3.75 0 0 0 4.902-5.652l-1.3-1.299a1.875 1.875 0 0 0-1.325-.549H5.223Z"}),a.createElement("path",{fillRule:"evenodd",d:"M3 20.25v-8.755c1.42.674 3.08.673 4.5 0A5.234 5.234 0 0 0 9.75 12c.804 0 1.568-.182 2.25-.506a5.234 5.234 0 0 0 2.25.506c.804 0 1.567-.182 2.25-.506 1.42.674 3.08.675 4.5.001v8.755h.75a.75.75 0 0 1 0 1.5H2.25a.75.75 0 0 1 0-1.5H3Zm3-6a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 .75.75v3a.75.75 0 0 1-.75.75h-3a.75.75 0 0 1-.75-.75v-3Zm8.25-.75a.75.75 0 0 0-.75.75v5.25c0 .414.336.75.75.75h3a.75.75 0 0 0 .75-.75v-5.25a.75.75 0 0 0-.75-.75h-3Z",clipRule:"evenodd"}))}const V9=a.forwardRef(B9);function T9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"m15 1.784-.796.795a1.125 1.125 0 1 0 1.591 0L15 1.784ZM12 1.784l-.796.795a1.125 1.125 0 1 0 1.591 0L12 1.784ZM9 1.784l-.796.795a1.125 1.125 0 1 0 1.591 0L9 1.784ZM9.75 7.547c.498-.021.998-.035 1.5-.042V6.75a.75.75 0 0 1 1.5 0v.755c.502.007 1.002.021 1.5.042V6.75a.75.75 0 0 1 1.5 0v.88l.307.022c1.55.117 2.693 1.427 2.693 2.946v1.018a62.182 62.182 0 0 0-13.5 0v-1.018c0-1.519 1.143-2.829 2.693-2.946l.307-.022v-.88a.75.75 0 0 1 1.5 0v.797ZM12 12.75c-2.472 0-4.9.184-7.274.54-1.454.217-2.476 1.482-2.476 2.916v.384a4.104 4.104 0 0 1 2.585.364 2.605 2.605 0 0 0 2.33 0 4.104 4.104 0 0 1 3.67 0 2.605 2.605 0 0 0 2.33 0 4.104 4.104 0 0 1 3.67 0 2.605 2.605 0 0 0 2.33 0 4.104 4.104 0 0 1 2.585-.364v-.384c0-1.434-1.022-2.7-2.476-2.917A49.138 49.138 0 0 0 12 12.75ZM21.75 18.131a2.604 2.604 0 0 0-1.915.165 4.104 4.104 0 0 1-3.67 0 2.605 2.605 0 0 0-2.33 0 4.104 4.104 0 0 1-3.67 0 2.605 2.605 0 0 0-2.33 0 4.104 4.104 0 0 1-3.67 0 2.604 2.604 0 0 0-1.915-.165v2.494c0 1.035.84 1.875 1.875 1.875h15.75c1.035 0 1.875-.84 1.875-1.875v-2.494Z"}))}const D9=a.forwardRef(T9);function H9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M6.32 1.827a49.255 49.255 0 0 1 11.36 0c1.497.174 2.57 1.46 2.57 2.93V19.5a3 3 0 0 1-3 3H6.75a3 3 0 0 1-3-3V4.757c0-1.47 1.073-2.756 2.57-2.93ZM7.5 11.25a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H8.25a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75H8.25Zm-.75 3a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H8.25a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V18a.75.75 0 0 0-.75-.75H8.25Zm1.748-6a.75.75 0 0 1 .75-.75h.007a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.007a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.335.75.75.75h.007a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75h-.007Zm-.75 3a.75.75 0 0 1 .75-.75h.007a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.007a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.335.75.75.75h.007a.75.75 0 0 0 .75-.75V18a.75.75 0 0 0-.75-.75h-.007Zm1.754-6a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75h-.008Zm-.75 3a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V18a.75.75 0 0 0-.75-.75h-.008Zm1.748-6a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75h-.008Zm-8.25-6A.75.75 0 0 1 8.25 6h7.5a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75v-.75Zm9 9a.75.75 0 0 0-1.5 0V18a.75.75 0 0 0 1.5 0v-2.25Z",clipRule:"evenodd"}))}const _9=a.forwardRef(H9);function P9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M12 11.993a.75.75 0 0 0-.75.75v.006c0 .414.336.75.75.75h.006a.75.75 0 0 0 .75-.75v-.006a.75.75 0 0 0-.75-.75H12ZM12 16.494a.75.75 0 0 0-.75.75v.005c0 .414.335.75.75.75h.005a.75.75 0 0 0 .75-.75v-.005a.75.75 0 0 0-.75-.75H12ZM8.999 17.244a.75.75 0 0 1 .75-.75h.006a.75.75 0 0 1 .75.75v.006a.75.75 0 0 1-.75.75h-.006a.75.75 0 0 1-.75-.75v-.006ZM7.499 16.494a.75.75 0 0 0-.75.75v.005c0 .414.336.75.75.75h.005a.75.75 0 0 0 .75-.75v-.005a.75.75 0 0 0-.75-.75H7.5ZM13.499 14.997a.75.75 0 0 1 .75-.75h.006a.75.75 0 0 1 .75.75v.005a.75.75 0 0 1-.75.75h-.006a.75.75 0 0 1-.75-.75v-.005ZM14.25 16.494a.75.75 0 0 0-.75.75v.006c0 .414.335.75.75.75h.005a.75.75 0 0 0 .75-.75v-.006a.75.75 0 0 0-.75-.75h-.005ZM15.75 14.995a.75.75 0 0 1 .75-.75h.005a.75.75 0 0 1 .75.75v.006a.75.75 0 0 1-.75.75H16.5a.75.75 0 0 1-.75-.75v-.006ZM13.498 12.743a.75.75 0 0 1 .75-.75h2.25a.75.75 0 1 1 0 1.5h-2.25a.75.75 0 0 1-.75-.75ZM6.748 14.993a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Z"}),a.createElement("path",{fillRule:"evenodd",d:"M18 2.993a.75.75 0 0 0-1.5 0v1.5h-9V2.994a.75.75 0 1 0-1.5 0v1.497h-.752a3 3 0 0 0-3 3v11.252a3 3 0 0 0 3 3h13.5a3 3 0 0 0 3-3V7.492a3 3 0 0 0-3-3H18V2.993ZM3.748 18.743v-7.5a1.5 1.5 0 0 1 1.5-1.5h13.5a1.5 1.5 0 0 1 1.5 1.5v7.5a1.5 1.5 0 0 1-1.5 1.5h-13.5a1.5 1.5 0 0 1-1.5-1.5Z",clipRule:"evenodd"}))}const W9=a.forwardRef(P9);function z9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M12.75 12.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM7.5 15.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM8.25 17.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM9.75 15.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM10.5 17.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12 15.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM12.75 17.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM14.25 15.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM15 17.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM16.5 15.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM15 12.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM16.5 13.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M6.75 2.25A.75.75 0 0 1 7.5 3v1.5h9V3A.75.75 0 0 1 18 3v1.5h.75a3 3 0 0 1 3 3v11.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V7.5a3 3 0 0 1 3-3H6V3a.75.75 0 0 1 .75-.75Zm13.5 9a1.5 1.5 0 0 0-1.5-1.5H5.25a1.5 1.5 0 0 0-1.5 1.5v7.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5v-7.5Z",clipRule:"evenodd"}))}const q9=a.forwardRef(z9);function U9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M6.75 2.25A.75.75 0 0 1 7.5 3v1.5h9V3A.75.75 0 0 1 18 3v1.5h.75a3 3 0 0 1 3 3v11.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V7.5a3 3 0 0 1 3-3H6V3a.75.75 0 0 1 .75-.75Zm13.5 9a1.5 1.5 0 0 0-1.5-1.5H5.25a1.5 1.5 0 0 0-1.5 1.5v7.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5v-7.5Z",clipRule:"evenodd"}))}const G9=a.forwardRef(U9);function K9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M12 9a3.75 3.75 0 1 0 0 7.5A3.75 3.75 0 0 0 12 9Z"}),a.createElement("path",{fillRule:"evenodd",d:"M9.344 3.071a49.52 49.52 0 0 1 5.312 0c.967.052 1.83.585 2.332 1.39l.821 1.317c.24.383.645.643 1.11.71.386.054.77.113 1.152.177 1.432.239 2.429 1.493 2.429 2.909V18a3 3 0 0 1-3 3h-15a3 3 0 0 1-3-3V9.574c0-1.416.997-2.67 2.429-2.909.382-.064.766-.123 1.151-.178a1.56 1.56 0 0 0 1.11-.71l.822-1.315a2.942 2.942 0 0 1 2.332-1.39ZM6.75 12.75a5.25 5.25 0 1 1 10.5 0 5.25 5.25 0 0 1-10.5 0Zm12-1.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))}const Y9=a.forwardRef(K9);function J9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Zm4.5 7.5a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-1.5 0v-2.25a.75.75 0 0 1 .75-.75Zm3.75-1.5a.75.75 0 0 0-1.5 0v4.5a.75.75 0 0 0 1.5 0V12Zm2.25-3a.75.75 0 0 1 .75.75v6.75a.75.75 0 0 1-1.5 0V9.75A.75.75 0 0 1 13.5 9Zm3.75-1.5a.75.75 0 0 0-1.5 0v9a.75.75 0 0 0 1.5 0v-9Z",clipRule:"evenodd"}))}const X9=a.forwardRef(J9);function Q9({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M18.375 2.25c-1.035 0-1.875.84-1.875 1.875v15.75c0 1.035.84 1.875 1.875 1.875h.75c1.035 0 1.875-.84 1.875-1.875V4.125c0-1.036-.84-1.875-1.875-1.875h-.75ZM9.75 8.625c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v11.25c0 1.035-.84 1.875-1.875 1.875h-.75a1.875 1.875 0 0 1-1.875-1.875V8.625ZM3 13.125c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v6.75c0 1.035-.84 1.875-1.875 1.875h-.75A1.875 1.875 0 0 1 3 19.875v-6.75Z"}))}const eb=a.forwardRef(Q9);function tb({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.25 13.5a8.25 8.25 0 0 1 8.25-8.25.75.75 0 0 1 .75.75v6.75H18a.75.75 0 0 1 .75.75 8.25 8.25 0 0 1-16.5 0Z",clipRule:"evenodd"}),a.createElement("path",{fillRule:"evenodd",d:"M12.75 3a.75.75 0 0 1 .75-.75 8.25 8.25 0 0 1 8.25 8.25.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75V3Z",clipRule:"evenodd"}))}const rb=a.forwardRef(tb);function nb({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M4.848 2.771A49.144 49.144 0 0 1 12 2.25c2.43 0 4.817.178 7.152.52 1.978.292 3.348 2.024 3.348 3.97v6.02c0 1.946-1.37 3.678-3.348 3.97a48.901 48.901 0 0 1-3.476.383.39.39 0 0 0-.297.17l-2.755 4.133a.75.75 0 0 1-1.248 0l-2.755-4.133a.39.39 0 0 0-.297-.17 48.9 48.9 0 0 1-3.476-.384c-1.978-.29-3.348-2.024-3.348-3.97V6.741c0-1.946 1.37-3.68 3.348-3.97ZM6.75 8.25a.75.75 0 0 1 .75-.75h9a.75.75 0 0 1 0 1.5h-9a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H7.5Z",clipRule:"evenodd"}))}const ab=a.forwardRef(nb);function ob({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M4.848 2.771A49.144 49.144 0 0 1 12 2.25c2.43 0 4.817.178 7.152.52 1.978.292 3.348 2.024 3.348 3.97v6.02c0 1.946-1.37 3.678-3.348 3.97a48.901 48.901 0 0 1-3.476.383.39.39 0 0 0-.297.17l-2.755 4.133a.75.75 0 0 1-1.248 0l-2.755-4.133a.39.39 0 0 0-.297-.17 48.9 48.9 0 0 1-3.476-.384c-1.978-.29-3.348-2.024-3.348-3.97V6.741c0-1.946 1.37-3.68 3.348-3.97Z",clipRule:"evenodd"}))}const sb=a.forwardRef(ob);function lb({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-2.429 0-4.817.178-7.152.521C2.87 3.061 1.5 4.795 1.5 6.741v6.018c0 1.946 1.37 3.68 3.348 3.97.877.129 1.761.234 2.652.316V21a.75.75 0 0 0 1.28.53l4.184-4.183a.39.39 0 0 1 .266-.112c2.006-.05 3.982-.22 5.922-.506 1.978-.29 3.348-2.023 3.348-3.97V6.741c0-1.947-1.37-3.68-3.348-3.97A49.145 49.145 0 0 0 12 2.25ZM8.25 8.625a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25Zm2.625 1.125a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Zm4.875-1.125a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25Z",clipRule:"evenodd"}))}const ib=a.forwardRef(lb);function cb({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M4.913 2.658c2.075-.27 4.19-.408 6.337-.408 2.147 0 4.262.139 6.337.408 1.922.25 3.291 1.861 3.405 3.727a4.403 4.403 0 0 0-1.032-.211 50.89 50.89 0 0 0-8.42 0c-2.358.196-4.04 2.19-4.04 4.434v4.286a4.47 4.47 0 0 0 2.433 3.984L7.28 21.53A.75.75 0 0 1 6 21v-4.03a48.527 48.527 0 0 1-1.087-.128C2.905 16.58 1.5 14.833 1.5 12.862V6.638c0-1.97 1.405-3.718 3.413-3.979Z"}),a.createElement("path",{d:"M15.75 7.5c-1.376 0-2.739.057-4.086.169C10.124 7.797 9 9.103 9 10.609v4.285c0 1.507 1.128 2.814 2.67 2.94 1.243.102 2.5.157 3.768.165l2.782 2.781a.75.75 0 0 0 1.28-.53v-2.39l.33-.026c1.542-.125 2.67-1.433 2.67-2.94v-4.286c0-1.505-1.125-2.811-2.664-2.94A49.392 49.392 0 0 0 15.75 7.5Z"}))}const db=a.forwardRef(cb);function ub({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M4.848 2.771A49.144 49.144 0 0 1 12 2.25c2.43 0 4.817.178 7.152.52 1.978.292 3.348 2.024 3.348 3.97v6.02c0 1.946-1.37 3.678-3.348 3.97-1.94.284-3.916.455-5.922.505a.39.39 0 0 0-.266.112L8.78 21.53A.75.75 0 0 1 7.5 21v-3.955a48.842 48.842 0 0 1-2.652-.316c-1.978-.29-3.348-2.024-3.348-3.97V6.741c0-1.946 1.37-3.68 3.348-3.97Z",clipRule:"evenodd"}))}const fb=a.forwardRef(ub);function mb({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M4.804 21.644A6.707 6.707 0 0 0 6 21.75a6.721 6.721 0 0 0 3.583-1.029c.774.182 1.584.279 2.417.279 5.322 0 9.75-3.97 9.75-9 0-5.03-4.428-9-9.75-9s-9.75 3.97-9.75 9c0 2.409 1.025 4.587 2.674 6.192.232.226.277.428.254.543a3.73 3.73 0 0 1-.814 1.686.75.75 0 0 0 .44 1.223ZM8.25 10.875a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25ZM10.875 12a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Zm4.875-1.125a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25Z",clipRule:"evenodd"}))}const hb=a.forwardRef(mb);function pb({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M5.337 21.718a6.707 6.707 0 0 1-.533-.074.75.75 0 0 1-.44-1.223 3.73 3.73 0 0 0 .814-1.686c.023-.115-.022-.317-.254-.543C3.274 16.587 2.25 14.41 2.25 12c0-5.03 4.428-9 9.75-9s9.75 3.97 9.75 9c0 5.03-4.428 9-9.75 9-.833 0-1.643-.097-2.417-.279a6.721 6.721 0 0 1-4.246.997Z",clipRule:"evenodd"}))}const vb=a.forwardRef(pb);function wb({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M8.603 3.799A4.49 4.49 0 0 1 12 2.25c1.357 0 2.573.6 3.397 1.549a4.49 4.49 0 0 1 3.498 1.307 4.491 4.491 0 0 1 1.307 3.497A4.49 4.49 0 0 1 21.75 12a4.49 4.49 0 0 1-1.549 3.397 4.491 4.491 0 0 1-1.307 3.497 4.491 4.491 0 0 1-3.497 1.307A4.49 4.49 0 0 1 12 21.75a4.49 4.49 0 0 1-3.397-1.549 4.49 4.49 0 0 1-3.498-1.306 4.491 4.491 0 0 1-1.307-3.498A4.49 4.49 0 0 1 2.25 12c0-1.357.6-2.573 1.549-3.397a4.49 4.49 0 0 1 1.307-3.497 4.49 4.49 0 0 1 3.497-1.307Zm7.007 6.387a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",clipRule:"evenodd"}))}const gb=a.forwardRef(wb);function bb({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",clipRule:"evenodd"}))}const xb=a.forwardRef(bb);function yb({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M19.916 4.626a.75.75 0 0 1 .208 1.04l-9 13.5a.75.75 0 0 1-1.154.114l-6-6a.75.75 0 0 1 1.06-1.06l5.353 5.353 8.493-12.74a.75.75 0 0 1 1.04-.207Z",clipRule:"evenodd"}))}const Ui=a.forwardRef(yb);function Eb({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M11.47 13.28a.75.75 0 0 0 1.06 0l7.5-7.5a.75.75 0 0 0-1.06-1.06L12 11.69 5.03 4.72a.75.75 0 0 0-1.06 1.06l7.5 7.5Z",clipRule:"evenodd"}),a.createElement("path",{fillRule:"evenodd",d:"M11.47 19.28a.75.75 0 0 0 1.06 0l7.5-7.5a.75.75 0 1 0-1.06-1.06L12 17.69l-6.97-6.97a.75.75 0 0 0-1.06 1.06l7.5 7.5Z",clipRule:"evenodd"}))}const kb=a.forwardRef(Eb);function Rb({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M10.72 11.47a.75.75 0 0 0 0 1.06l7.5 7.5a.75.75 0 1 0 1.06-1.06L12.31 12l6.97-6.97a.75.75 0 0 0-1.06-1.06l-7.5 7.5Z",clipRule:"evenodd"}),a.createElement("path",{fillRule:"evenodd",d:"M4.72 11.47a.75.75 0 0 0 0 1.06l7.5 7.5a.75.75 0 1 0 1.06-1.06L6.31 12l6.97-6.97a.75.75 0 0 0-1.06-1.06l-7.5 7.5Z",clipRule:"evenodd"}))}const jb=a.forwardRef(Rb);function Cb({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M13.28 11.47a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 0 1-1.06-1.06L11.69 12 4.72 5.03a.75.75 0 0 1 1.06-1.06l7.5 7.5Z",clipRule:"evenodd"}),a.createElement("path",{fillRule:"evenodd",d:"M19.28 11.47a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 1 1-1.06-1.06L17.69 12l-6.97-6.97a.75.75 0 0 1 1.06-1.06l7.5 7.5Z",clipRule:"evenodd"}))}const Mb=a.forwardRef(Cb);function Ab({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M11.47 10.72a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06L12 12.31l-6.97 6.97a.75.75 0 0 1-1.06-1.06l7.5-7.5Z",clipRule:"evenodd"}),a.createElement("path",{fillRule:"evenodd",d:"M11.47 4.72a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06L12 6.31l-6.97 6.97a.75.75 0 0 1-1.06-1.06l7.5-7.5Z",clipRule:"evenodd"}))}const Sb=a.forwardRef(Ab);function $b({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12.53 16.28a.75.75 0 0 1-1.06 0l-7.5-7.5a.75.75 0 0 1 1.06-1.06L12 14.69l6.97-6.97a.75.75 0 1 1 1.06 1.06l-7.5 7.5Z",clipRule:"evenodd"}))}const Lb=a.forwardRef($b);function Ob({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M7.72 12.53a.75.75 0 0 1 0-1.06l7.5-7.5a.75.75 0 1 1 1.06 1.06L9.31 12l6.97 6.97a.75.75 0 1 1-1.06 1.06l-7.5-7.5Z",clipRule:"evenodd"}))}const Nb=a.forwardRef(Ob);function Fb({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M16.28 11.47a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 0 1-1.06-1.06L14.69 12 7.72 5.03a.75.75 0 0 1 1.06-1.06l7.5 7.5Z",clipRule:"evenodd"}))}const Ib=a.forwardRef(Fb);function Zb({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M11.47 4.72a.75.75 0 0 1 1.06 0l3.75 3.75a.75.75 0 0 1-1.06 1.06L12 6.31 8.78 9.53a.75.75 0 0 1-1.06-1.06l3.75-3.75Zm-3.75 9.75a.75.75 0 0 1 1.06 0L12 17.69l3.22-3.22a.75.75 0 1 1 1.06 1.06l-3.75 3.75a.75.75 0 0 1-1.06 0l-3.75-3.75a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const Bb=a.forwardRef(Zb);function Vb({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M11.47 7.72a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06L12 9.31l-6.97 6.97a.75.75 0 0 1-1.06-1.06l7.5-7.5Z",clipRule:"evenodd"}))}const Tb=a.forwardRef(Vb);function Db({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M21 6.375c0 2.692-4.03 4.875-9 4.875S3 9.067 3 6.375 7.03 1.5 12 1.5s9 2.183 9 4.875Z"}),a.createElement("path",{d:"M12 12.75c2.685 0 5.19-.586 7.078-1.609a8.283 8.283 0 0 0 1.897-1.384c.016.121.025.244.025.368C21 12.817 16.97 15 12 15s-9-2.183-9-4.875c0-.124.009-.247.025-.368a8.285 8.285 0 0 0 1.897 1.384C6.809 12.164 9.315 12.75 12 12.75Z"}),a.createElement("path",{d:"M12 16.5c2.685 0 5.19-.586 7.078-1.609a8.282 8.282 0 0 0 1.897-1.384c.016.121.025.244.025.368 0 2.692-4.03 4.875-9 4.875s-9-2.183-9-4.875c0-.124.009-.247.025-.368a8.284 8.284 0 0 0 1.897 1.384C6.809 15.914 9.315 16.5 12 16.5Z"}),a.createElement("path",{d:"M12 20.25c2.685 0 5.19-.586 7.078-1.609a8.282 8.282 0 0 0 1.897-1.384c.016.121.025.244.025.368 0 2.692-4.03 4.875-9 4.875s-9-2.183-9-4.875c0-.124.009-.247.025-.368a8.284 8.284 0 0 0 1.897 1.384C6.809 19.664 9.315 20.25 12 20.25Z"}))}const Hb=a.forwardRef(Db);function _b({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M7.502 6h7.128A3.375 3.375 0 0 1 18 9.375v9.375a3 3 0 0 0 3-3V6.108c0-1.505-1.125-2.811-2.664-2.94a48.972 48.972 0 0 0-.673-.05A3 3 0 0 0 15 1.5h-1.5a3 3 0 0 0-2.663 1.618c-.225.015-.45.032-.673.05C8.662 3.295 7.554 4.542 7.502 6ZM13.5 3A1.5 1.5 0 0 0 12 4.5h4.5A1.5 1.5 0 0 0 15 3h-1.5Z",clipRule:"evenodd"}),a.createElement("path",{fillRule:"evenodd",d:"M3 9.375C3 8.339 3.84 7.5 4.875 7.5h9.75c1.036 0 1.875.84 1.875 1.875v11.25c0 1.035-.84 1.875-1.875 1.875h-9.75A1.875 1.875 0 0 1 3 20.625V9.375Zm9.586 4.594a.75.75 0 0 0-1.172-.938l-2.476 3.096-.908-.907a.75.75 0 0 0-1.06 1.06l1.5 1.5a.75.75 0 0 0 1.116-.062l3-3.75Z",clipRule:"evenodd"}))}const Pb=a.forwardRef(_b);function Wb({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M7.502 6h7.128A3.375 3.375 0 0 1 18 9.375v9.375a3 3 0 0 0 3-3V6.108c0-1.505-1.125-2.811-2.664-2.94a48.972 48.972 0 0 0-.673-.05A3 3 0 0 0 15 1.5h-1.5a3 3 0 0 0-2.663 1.618c-.225.015-.45.032-.673.05C8.662 3.295 7.554 4.542 7.502 6ZM13.5 3A1.5 1.5 0 0 0 12 4.5h4.5A1.5 1.5 0 0 0 15 3h-1.5Z",clipRule:"evenodd"}),a.createElement("path",{fillRule:"evenodd",d:"M3 9.375C3 8.339 3.84 7.5 4.875 7.5h9.75c1.036 0 1.875.84 1.875 1.875v11.25c0 1.035-.84 1.875-1.875 1.875h-9.75A1.875 1.875 0 0 1 3 20.625V9.375ZM6 12a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H6.75a.75.75 0 0 1-.75-.75V12Zm2.25 0a.75.75 0 0 1 .75-.75h3.75a.75.75 0 0 1 0 1.5H9a.75.75 0 0 1-.75-.75ZM6 15a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H6.75a.75.75 0 0 1-.75-.75V15Zm2.25 0a.75.75 0 0 1 .75-.75h3.75a.75.75 0 0 1 0 1.5H9a.75.75 0 0 1-.75-.75ZM6 18a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H6.75a.75.75 0 0 1-.75-.75V18Zm2.25 0a.75.75 0 0 1 .75-.75h3.75a.75.75 0 0 1 0 1.5H9a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const zb=a.forwardRef(Wb);function qb({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M17.663 3.118c.225.015.45.032.673.05C19.876 3.298 21 4.604 21 6.109v9.642a3 3 0 0 1-3 3V16.5c0-5.922-4.576-10.775-10.384-11.217.324-1.132 1.3-2.01 2.548-2.114.224-.019.448-.036.673-.051A3 3 0 0 1 13.5 1.5H15a3 3 0 0 1 2.663 1.618ZM12 4.5A1.5 1.5 0 0 1 13.5 3H15a1.5 1.5 0 0 1 1.5 1.5H12Z",clipRule:"evenodd"}),a.createElement("path",{d:"M3 8.625c0-1.036.84-1.875 1.875-1.875h.375A3.75 3.75 0 0 1 9 10.5v1.875c0 1.036.84 1.875 1.875 1.875h1.875A3.75 3.75 0 0 1 16.5 18v2.625c0 1.035-.84 1.875-1.875 1.875h-9.75A1.875 1.875 0 0 1 3 20.625v-12Z"}),a.createElement("path",{d:"M10.5 10.5a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963 5.23 5.23 0 0 0-3.434-1.279h-1.875a.375.375 0 0 1-.375-.375V10.5Z"}))}const Ub=a.forwardRef(qb);function Gb({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M10.5 3A1.501 1.501 0 0 0 9 4.5h6A1.5 1.5 0 0 0 13.5 3h-3Zm-2.693.178A3 3 0 0 1 10.5 1.5h3a3 3 0 0 1 2.694 1.678c.497.042.992.092 1.486.15 1.497.173 2.57 1.46 2.57 2.929V19.5a3 3 0 0 1-3 3H6.75a3 3 0 0 1-3-3V6.257c0-1.47 1.073-2.756 2.57-2.93.493-.057.989-.107 1.487-.15Z",clipRule:"evenodd"}))}const Kb=a.forwardRef(Gb);function Yb({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM12.75 6a.75.75 0 0 0-1.5 0v6c0 .414.336.75.75.75h4.5a.75.75 0 0 0 0-1.5h-3.75V6Z",clipRule:"evenodd"}))}const Jb=a.forwardRef(Yb);function Xb({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M10.5 3.75a6 6 0 0 0-5.98 6.496A5.25 5.25 0 0 0 6.75 20.25H18a4.5 4.5 0 0 0 2.206-8.423 3.75 3.75 0 0 0-4.133-4.303A6.001 6.001 0 0 0 10.5 3.75Zm2.25 6a.75.75 0 0 0-1.5 0v4.94l-1.72-1.72a.75.75 0 0 0-1.06 1.06l3 3a.75.75 0 0 0 1.06 0l3-3a.75.75 0 1 0-1.06-1.06l-1.72 1.72V9.75Z",clipRule:"evenodd"}))}const Qb=a.forwardRef(Xb);function ex({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M10.5 3.75a6 6 0 0 0-5.98 6.496A5.25 5.25 0 0 0 6.75 20.25H18a4.5 4.5 0 0 0 2.206-8.423 3.75 3.75 0 0 0-4.133-4.303A6.001 6.001 0 0 0 10.5 3.75Zm2.03 5.47a.75.75 0 0 0-1.06 0l-3 3a.75.75 0 1 0 1.06 1.06l1.72-1.72v4.94a.75.75 0 0 0 1.5 0v-4.94l1.72 1.72a.75.75 0 1 0 1.06-1.06l-3-3Z",clipRule:"evenodd"}))}const tx=a.forwardRef(ex);function rx({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M4.5 9.75a6 6 0 0 1 11.573-2.226 3.75 3.75 0 0 1 4.133 4.303A4.5 4.5 0 0 1 18 20.25H6.75a5.25 5.25 0 0 1-2.23-10.004 6.072 6.072 0 0 1-.02-.496Z",clipRule:"evenodd"}))}const nx=a.forwardRef(rx);function ax({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Zm14.25 6a.75.75 0 0 1-.22.53l-2.25 2.25a.75.75 0 1 1-1.06-1.06L15.44 12l-1.72-1.72a.75.75 0 1 1 1.06-1.06l2.25 2.25c.141.14.22.331.22.53Zm-10.28-.53a.75.75 0 0 0 0 1.06l2.25 2.25a.75.75 0 1 0 1.06-1.06L8.56 12l1.72-1.72a.75.75 0 1 0-1.06-1.06l-2.25 2.25Z",clipRule:"evenodd"}))}const ox=a.forwardRef(ax);function sx({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M14.447 3.026a.75.75 0 0 1 .527.921l-4.5 16.5a.75.75 0 0 1-1.448-.394l4.5-16.5a.75.75 0 0 1 .921-.527ZM16.72 6.22a.75.75 0 0 1 1.06 0l5.25 5.25a.75.75 0 0 1 0 1.06l-5.25 5.25a.75.75 0 1 1-1.06-1.06L21.44 12l-4.72-4.72a.75.75 0 0 1 0-1.06Zm-9.44 0a.75.75 0 0 1 0 1.06L2.56 12l4.72 4.72a.75.75 0 0 1-1.06 1.06L.97 12.53a.75.75 0 0 1 0-1.06l5.25-5.25a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const lx=a.forwardRef(sx);function ix({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M11.078 2.25c-.917 0-1.699.663-1.85 1.567L9.05 4.889c-.02.12-.115.26-.297.348a7.493 7.493 0 0 0-.986.57c-.166.115-.334.126-.45.083L6.3 5.508a1.875 1.875 0 0 0-2.282.819l-.922 1.597a1.875 1.875 0 0 0 .432 2.385l.84.692c.095.078.17.229.154.43a7.598 7.598 0 0 0 0 1.139c.015.2-.059.352-.153.43l-.841.692a1.875 1.875 0 0 0-.432 2.385l.922 1.597a1.875 1.875 0 0 0 2.282.818l1.019-.382c.115-.043.283-.031.45.082.312.214.641.405.985.57.182.088.277.228.297.35l.178 1.071c.151.904.933 1.567 1.85 1.567h1.844c.916 0 1.699-.663 1.85-1.567l.178-1.072c.02-.12.114-.26.297-.349.344-.165.673-.356.985-.57.167-.114.335-.125.45-.082l1.02.382a1.875 1.875 0 0 0 2.28-.819l.923-1.597a1.875 1.875 0 0 0-.432-2.385l-.84-.692c-.095-.078-.17-.229-.154-.43a7.614 7.614 0 0 0 0-1.139c-.016-.2.059-.352.153-.43l.84-.692c.708-.582.891-1.59.433-2.385l-.922-1.597a1.875 1.875 0 0 0-2.282-.818l-1.02.382c-.114.043-.282.031-.449-.083a7.49 7.49 0 0 0-.985-.57c-.183-.087-.277-.227-.297-.348l-.179-1.072a1.875 1.875 0 0 0-1.85-1.567h-1.843ZM12 15.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5Z",clipRule:"evenodd"}))}const cx=a.forwardRef(ix);function dx({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M11.828 2.25c-.916 0-1.699.663-1.85 1.567l-.091.549a.798.798 0 0 1-.517.608 7.45 7.45 0 0 0-.478.198.798.798 0 0 1-.796-.064l-.453-.324a1.875 1.875 0 0 0-2.416.2l-.243.243a1.875 1.875 0 0 0-.2 2.416l.324.453a.798.798 0 0 1 .064.796 7.448 7.448 0 0 0-.198.478.798.798 0 0 1-.608.517l-.55.092a1.875 1.875 0 0 0-1.566 1.849v.344c0 .916.663 1.699 1.567 1.85l.549.091c.281.047.508.25.608.517.06.162.127.321.198.478a.798.798 0 0 1-.064.796l-.324.453a1.875 1.875 0 0 0 .2 2.416l.243.243c.648.648 1.67.733 2.416.2l.453-.324a.798.798 0 0 1 .796-.064c.157.071.316.137.478.198.267.1.47.327.517.608l.092.55c.15.903.932 1.566 1.849 1.566h.344c.916 0 1.699-.663 1.85-1.567l.091-.549a.798.798 0 0 1 .517-.608 7.52 7.52 0 0 0 .478-.198.798.798 0 0 1 .796.064l.453.324a1.875 1.875 0 0 0 2.416-.2l.243-.243c.648-.648.733-1.67.2-2.416l-.324-.453a.798.798 0 0 1-.064-.796c.071-.157.137-.316.198-.478.1-.267.327-.47.608-.517l.55-.091a1.875 1.875 0 0 0 1.566-1.85v-.344c0-.916-.663-1.699-1.567-1.85l-.549-.091a.798.798 0 0 1-.608-.517 7.507 7.507 0 0 0-.198-.478.798.798 0 0 1 .064-.796l.324-.453a1.875 1.875 0 0 0-.2-2.416l-.243-.243a1.875 1.875 0 0 0-2.416-.2l-.453.324a.798.798 0 0 1-.796.064 7.462 7.462 0 0 0-.478-.198.798.798 0 0 1-.517-.608l-.091-.55a1.875 1.875 0 0 0-1.85-1.566h-.344ZM12 15.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5Z",clipRule:"evenodd"}))}const ux=a.forwardRef(dx);function fx({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M17.004 10.407c.138.435-.216.842-.672.842h-3.465a.75.75 0 0 1-.65-.375l-1.732-3c-.229-.396-.053-.907.393-1.004a5.252 5.252 0 0 1 6.126 3.537ZM8.12 8.464c.307-.338.838-.235 1.066.16l1.732 3a.75.75 0 0 1 0 .75l-1.732 3c-.229.397-.76.5-1.067.161A5.23 5.23 0 0 1 6.75 12a5.23 5.23 0 0 1 1.37-3.536ZM10.878 17.13c-.447-.098-.623-.608-.394-1.004l1.733-3.002a.75.75 0 0 1 .65-.375h3.465c.457 0 .81.407.672.842a5.252 5.252 0 0 1-6.126 3.539Z"}),a.createElement("path",{fillRule:"evenodd",d:"M21 12.75a.75.75 0 1 0 0-1.5h-.783a8.22 8.22 0 0 0-.237-1.357l.734-.267a.75.75 0 1 0-.513-1.41l-.735.268a8.24 8.24 0 0 0-.689-1.192l.6-.503a.75.75 0 1 0-.964-1.149l-.6.504a8.3 8.3 0 0 0-1.054-.885l.391-.678a.75.75 0 1 0-1.299-.75l-.39.676a8.188 8.188 0 0 0-1.295-.47l.136-.77a.75.75 0 0 0-1.477-.26l-.136.77a8.36 8.36 0 0 0-1.377 0l-.136-.77a.75.75 0 1 0-1.477.26l.136.77c-.448.121-.88.28-1.294.47l-.39-.676a.75.75 0 0 0-1.3.75l.392.678a8.29 8.29 0 0 0-1.054.885l-.6-.504a.75.75 0 1 0-.965 1.149l.6.503a8.243 8.243 0 0 0-.689 1.192L3.8 8.216a.75.75 0 1 0-.513 1.41l.735.267a8.222 8.222 0 0 0-.238 1.356h-.783a.75.75 0 0 0 0 1.5h.783c.042.464.122.917.238 1.356l-.735.268a.75.75 0 0 0 .513 1.41l.735-.268c.197.417.428.816.69 1.191l-.6.504a.75.75 0 0 0 .963 1.15l.601-.505c.326.323.679.62 1.054.885l-.392.68a.75.75 0 0 0 1.3.75l.39-.679c.414.192.847.35 1.294.471l-.136.77a.75.75 0 0 0 1.477.261l.137-.772a8.332 8.332 0 0 0 1.376 0l.136.772a.75.75 0 1 0 1.477-.26l-.136-.771a8.19 8.19 0 0 0 1.294-.47l.391.677a.75.75 0 0 0 1.3-.75l-.393-.679a8.29 8.29 0 0 0 1.054-.885l.601.504a.75.75 0 0 0 .964-1.15l-.6-.503c.261-.375.492-.774.69-1.191l.735.267a.75.75 0 1 0 .512-1.41l-.734-.267c.115-.439.195-.892.237-1.356h.784Zm-2.657-3.06a6.744 6.744 0 0 0-1.19-2.053 6.784 6.784 0 0 0-1.82-1.51A6.705 6.705 0 0 0 12 5.25a6.8 6.8 0 0 0-1.225.11 6.7 6.7 0 0 0-2.15.793 6.784 6.784 0 0 0-2.952 3.489.76.76 0 0 1-.036.098A6.74 6.74 0 0 0 5.251 12a6.74 6.74 0 0 0 3.366 5.842l.009.005a6.704 6.704 0 0 0 2.18.798l.022.003a6.792 6.792 0 0 0 2.368-.004 6.704 6.704 0 0 0 2.205-.811 6.785 6.785 0 0 0 1.762-1.484l.009-.01.009-.01a6.743 6.743 0 0 0 1.18-2.066c.253-.707.39-1.469.39-2.263a6.74 6.74 0 0 0-.408-2.309Z",clipRule:"evenodd"}))}const mx=a.forwardRef(fx);function hx({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.25 6a3 3 0 0 1 3-3h13.5a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V6Zm3.97.97a.75.75 0 0 1 1.06 0l2.25 2.25a.75.75 0 0 1 0 1.06l-2.25 2.25a.75.75 0 0 1-1.06-1.06l1.72-1.72-1.72-1.72a.75.75 0 0 1 0-1.06Zm4.28 4.28a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z",clipRule:"evenodd"}))}const px=a.forwardRef(hx);function vx({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.25 5.25a3 3 0 0 1 3-3h13.5a3 3 0 0 1 3 3V15a3 3 0 0 1-3 3h-3v.257c0 .597.237 1.17.659 1.591l.621.622a.75.75 0 0 1-.53 1.28h-9a.75.75 0 0 1-.53-1.28l.621-.622a2.25 2.25 0 0 0 .659-1.59V18h-3a3 3 0 0 1-3-3V5.25Zm1.5 0v7.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5v-7.5a1.5 1.5 0 0 0-1.5-1.5H5.25a1.5 1.5 0 0 0-1.5 1.5Z",clipRule:"evenodd"}))}const wx=a.forwardRef(vx);function gx({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M16.5 7.5h-9v9h9v-9Z"}),a.createElement("path",{fillRule:"evenodd",d:"M8.25 2.25A.75.75 0 0 1 9 3v.75h2.25V3a.75.75 0 0 1 1.5 0v.75H15V3a.75.75 0 0 1 1.5 0v.75h.75a3 3 0 0 1 3 3v.75H21A.75.75 0 0 1 21 9h-.75v2.25H21a.75.75 0 0 1 0 1.5h-.75V15H21a.75.75 0 0 1 0 1.5h-.75v.75a3 3 0 0 1-3 3h-.75V21a.75.75 0 0 1-1.5 0v-.75h-2.25V21a.75.75 0 0 1-1.5 0v-.75H9V21a.75.75 0 0 1-1.5 0v-.75h-.75a3 3 0 0 1-3-3v-.75H3A.75.75 0 0 1 3 15h.75v-2.25H3a.75.75 0 0 1 0-1.5h.75V9H3a.75.75 0 0 1 0-1.5h.75v-.75a3 3 0 0 1 3-3h.75V3a.75.75 0 0 1 .75-.75ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75H6.75a.75.75 0 0 1-.75-.75V6.75Z",clipRule:"evenodd"}))}const bx=a.forwardRef(gx);function xx({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M4.5 3.75a3 3 0 0 0-3 3v.75h21v-.75a3 3 0 0 0-3-3h-15Z"}),a.createElement("path",{fillRule:"evenodd",d:"M22.5 9.75h-21v7.5a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3v-7.5Zm-18 3.75a.75.75 0 0 1 .75-.75h6a.75.75 0 0 1 0 1.5h-6a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z",clipRule:"evenodd"}))}const yx=a.forwardRef(xx);function Ex({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M11.622 1.602a.75.75 0 0 1 .756 0l2.25 1.313a.75.75 0 0 1-.756 1.295L12 3.118 10.128 4.21a.75.75 0 1 1-.756-1.295l2.25-1.313ZM5.898 5.81a.75.75 0 0 1-.27 1.025l-1.14.665 1.14.665a.75.75 0 1 1-.756 1.295L3.75 8.806v.944a.75.75 0 0 1-1.5 0V7.5a.75.75 0 0 1 .372-.648l2.25-1.312a.75.75 0 0 1 1.026.27Zm12.204 0a.75.75 0 0 1 1.026-.27l2.25 1.312a.75.75 0 0 1 .372.648v2.25a.75.75 0 0 1-1.5 0v-.944l-1.122.654a.75.75 0 1 1-.756-1.295l1.14-.665-1.14-.665a.75.75 0 0 1-.27-1.025Zm-9 5.25a.75.75 0 0 1 1.026-.27L12 11.882l1.872-1.092a.75.75 0 1 1 .756 1.295l-1.878 1.096V15a.75.75 0 0 1-1.5 0v-1.82l-1.878-1.095a.75.75 0 0 1-.27-1.025ZM3 13.5a.75.75 0 0 1 .75.75v1.82l1.878 1.095a.75.75 0 1 1-.756 1.295l-2.25-1.312a.75.75 0 0 1-.372-.648v-2.25A.75.75 0 0 1 3 13.5Zm18 0a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-.372.648l-2.25 1.312a.75.75 0 1 1-.756-1.295l1.878-1.096V14.25a.75.75 0 0 1 .75-.75Zm-9 5.25a.75.75 0 0 1 .75.75v.944l1.122-.654a.75.75 0 1 1 .756 1.295l-2.25 1.313a.75.75 0 0 1-.756 0l-2.25-1.313a.75.75 0 1 1 .756-1.295l1.122.654V19.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const kx=a.forwardRef(Ex);function Rx({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M12.378 1.602a.75.75 0 0 0-.756 0L3 6.632l9 5.25 9-5.25-8.622-5.03ZM21.75 7.93l-9 5.25v9l8.628-5.032a.75.75 0 0 0 .372-.648V7.93ZM11.25 22.18v-9l-9-5.25v8.57a.75.75 0 0 0 .372.648l8.628 5.033Z"}))}const jx=a.forwardRef(Rx);function Cx({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 21.75c5.385 0 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25 2.25 6.615 2.25 12s4.365 9.75 9.75 9.75ZM10.5 7.963a1.5 1.5 0 0 0-2.17-1.341l-.415.207a.75.75 0 0 0 .67 1.342L9 7.963V9.75h-.75a.75.75 0 1 0 0 1.5H9v4.688c0 .563.26 1.198.867 1.525A4.501 4.501 0 0 0 16.41 14.4c.199-.977-.636-1.649-1.415-1.649h-.745a.75.75 0 1 0 0 1.5h.656a3.002 3.002 0 0 1-4.327 1.893.113.113 0 0 1-.045-.051.336.336 0 0 1-.034-.154V11.25h5.25a.75.75 0 0 0 0-1.5H10.5V7.963Z",clipRule:"evenodd"}))}const Mx=a.forwardRef(Cx);function Ax({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M10.464 8.746c.227-.18.497-.311.786-.394v2.795a2.252 2.252 0 0 1-.786-.393c-.394-.313-.546-.681-.546-1.004 0-.323.152-.691.546-1.004ZM12.75 15.662v-2.824c.347.085.664.228.921.421.427.32.579.686.579.991 0 .305-.152.671-.579.991a2.534 2.534 0 0 1-.921.42Z"}),a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM12.75 6a.75.75 0 0 0-1.5 0v.816a3.836 3.836 0 0 0-1.72.756c-.712.566-1.112 1.35-1.112 2.178 0 .829.4 1.612 1.113 2.178.502.4 1.102.647 1.719.756v2.978a2.536 2.536 0 0 1-.921-.421l-.879-.66a.75.75 0 0 0-.9 1.2l.879.66c.533.4 1.169.645 1.821.75V18a.75.75 0 0 0 1.5 0v-.81a4.124 4.124 0 0 0 1.821-.749c.745-.559 1.179-1.344 1.179-2.191 0-.847-.434-1.632-1.179-2.191a4.122 4.122 0 0 0-1.821-.75V8.354c.29.082.559.213.786.393l.415.33a.75.75 0 0 0 .933-1.175l-.415-.33a3.836 3.836 0 0 0-1.719-.755V6Z",clipRule:"evenodd"}))}const Sx=a.forwardRef(Ax);function $x({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-1.902 7.098a3.75 3.75 0 0 1 3.903-.884.75.75 0 1 0 .498-1.415A5.25 5.25 0 0 0 8.005 9.75H7.5a.75.75 0 0 0 0 1.5h.054a5.281 5.281 0 0 0 0 1.5H7.5a.75.75 0 0 0 0 1.5h.505a5.25 5.25 0 0 0 6.494 2.701.75.75 0 1 0-.498-1.415 3.75 3.75 0 0 1-4.252-1.286h3.001a.75.75 0 0 0 0-1.5H9.075a3.77 3.77 0 0 1 0-1.5h3.675a.75.75 0 0 0 0-1.5h-3c.105-.14.221-.274.348-.402Z",clipRule:"evenodd"}))}const Lx=a.forwardRef($x);function Ox({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM9.763 9.51a2.25 2.25 0 0 1 3.828-1.351.75.75 0 0 0 1.06-1.06 3.75 3.75 0 0 0-6.38 2.252c-.033.307 0 .595.032.822l.154 1.077H8.25a.75.75 0 0 0 0 1.5h.421l.138.964a3.75 3.75 0 0 1-.358 2.208l-.122.242a.75.75 0 0 0 .908 1.047l1.539-.512a1.5 1.5 0 0 1 .948 0l.655.218a3 3 0 0 0 2.29-.163l.666-.333a.75.75 0 1 0-.67-1.342l-.667.333a1.5 1.5 0 0 1-1.145.082l-.654-.218a3 3 0 0 0-1.898 0l-.06.02a5.25 5.25 0 0 0 .053-1.794l-.108-.752H12a.75.75 0 0 0 0-1.5H9.972l-.184-1.29a1.863 1.863 0 0 1-.025-.45Z",clipRule:"evenodd"}))}const Nx=a.forwardRef(Ox);function Fx({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM9 7.5A.75.75 0 0 0 9 9h1.5c.98 0 1.813.626 2.122 1.5H9A.75.75 0 0 0 9 12h3.622a2.251 2.251 0 0 1-2.122 1.5H9a.75.75 0 0 0-.53 1.28l3 3a.75.75 0 1 0 1.06-1.06L10.8 14.988A3.752 3.752 0 0 0 14.175 12H15a.75.75 0 0 0 0-1.5h-.825A3.733 3.733 0 0 0 13.5 9H15a.75.75 0 0 0 0-1.5H9Z",clipRule:"evenodd"}))}const Ix=a.forwardRef(Fx);function Zx({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM9.624 7.084a.75.75 0 0 0-1.248.832l2.223 3.334H9a.75.75 0 0 0 0 1.5h2.25v1.5H9a.75.75 0 0 0 0 1.5h2.25v1.5a.75.75 0 0 0 1.5 0v-1.5H15a.75.75 0 0 0 0-1.5h-2.25v-1.5H15a.75.75 0 0 0 0-1.5h-1.599l2.223-3.334a.75.75 0 1 0-1.248-.832L12 10.648 9.624 7.084Z",clipRule:"evenodd"}))}const Bx=a.forwardRef(Zx);function Vx({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 1.5a.75.75 0 0 1 .75.75V4.5a.75.75 0 0 1-1.5 0V2.25A.75.75 0 0 1 12 1.5ZM5.636 4.136a.75.75 0 0 1 1.06 0l1.592 1.591a.75.75 0 0 1-1.061 1.06l-1.591-1.59a.75.75 0 0 1 0-1.061Zm12.728 0a.75.75 0 0 1 0 1.06l-1.591 1.592a.75.75 0 0 1-1.06-1.061l1.59-1.591a.75.75 0 0 1 1.061 0Zm-6.816 4.496a.75.75 0 0 1 .82.311l5.228 7.917a.75.75 0 0 1-.777 1.148l-2.097-.43 1.045 3.9a.75.75 0 0 1-1.45.388l-1.044-3.899-1.601 1.42a.75.75 0 0 1-1.247-.606l.569-9.47a.75.75 0 0 1 .554-.68ZM3 10.5a.75.75 0 0 1 .75-.75H6a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 10.5Zm14.25 0a.75.75 0 0 1 .75-.75h2.25a.75.75 0 0 1 0 1.5H18a.75.75 0 0 1-.75-.75Zm-8.962 3.712a.75.75 0 0 1 0 1.061l-1.591 1.591a.75.75 0 1 1-1.061-1.06l1.591-1.592a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const Tx=a.forwardRef(Vx);function Dx({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M17.303 5.197A7.5 7.5 0 0 0 6.697 15.803a.75.75 0 0 1-1.061 1.061A9 9 0 1 1 21 10.5a.75.75 0 0 1-1.5 0c0-1.92-.732-3.839-2.197-5.303Zm-2.121 2.121a4.5 4.5 0 0 0-6.364 6.364.75.75 0 1 1-1.06 1.06A6 6 0 1 1 18 10.5a.75.75 0 0 1-1.5 0c0-1.153-.44-2.303-1.318-3.182Zm-3.634 1.314a.75.75 0 0 1 .82.311l5.228 7.917a.75.75 0 0 1-.777 1.148l-2.097-.43 1.045 3.9a.75.75 0 0 1-1.45.388l-1.044-3.899-1.601 1.42a.75.75 0 0 1-1.247-.606l.569-9.47a.75.75 0 0 1 .554-.68Z",clipRule:"evenodd"}))}const Hx=a.forwardRef(Dx);function _x({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M10.5 18.75a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z"}),a.createElement("path",{fillRule:"evenodd",d:"M8.625.75A3.375 3.375 0 0 0 5.25 4.125v15.75a3.375 3.375 0 0 0 3.375 3.375h6.75a3.375 3.375 0 0 0 3.375-3.375V4.125A3.375 3.375 0 0 0 15.375.75h-6.75ZM7.5 4.125C7.5 3.504 8.004 3 8.625 3H9.75v.375c0 .621.504 1.125 1.125 1.125h2.25c.621 0 1.125-.504 1.125-1.125V3h1.125c.621 0 1.125.504 1.125 1.125v15.75c0 .621-.504 1.125-1.125 1.125h-6.75A1.125 1.125 0 0 1 7.5 19.875V4.125Z",clipRule:"evenodd"}))}const Px=a.forwardRef(_x);function Wx({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M10.5 18a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7.125 1.5A3.375 3.375 0 0 0 3.75 4.875v14.25A3.375 3.375 0 0 0 7.125 22.5h9.75a3.375 3.375 0 0 0 3.375-3.375V4.875A3.375 3.375 0 0 0 16.875 1.5h-9.75ZM6 4.875c0-.621.504-1.125 1.125-1.125h9.75c.621 0 1.125.504 1.125 1.125v14.25c0 .621-.504 1.125-1.125 1.125h-9.75A1.125 1.125 0 0 1 6 19.125V4.875Z",clipRule:"evenodd"}))}const zx=a.forwardRef(Wx);function qx({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M10.874 5.248a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Zm-7.125 6.75a.75.75 0 0 1 .75-.75h15a.75.75 0 0 1 0 1.5h-15a.75.75 0 0 1-.75-.75Zm7.125 6.753a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Z",clipRule:"evenodd"}))}const Ux=a.forwardRef(qx);function Gx({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M5.625 1.5H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375c0-1.036.84-1.875 1.875-1.875Zm5.845 17.03a.75.75 0 0 0 1.06 0l3-3a.75.75 0 1 0-1.06-1.06l-1.72 1.72V12a.75.75 0 0 0-1.5 0v4.19l-1.72-1.72a.75.75 0 0 0-1.06 1.06l3 3Z",clipRule:"evenodd"}),a.createElement("path",{d:"M14.25 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Z"}))}const Kx=a.forwardRef(Gx);function Yx({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M5.625 1.5H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375c0-1.036.84-1.875 1.875-1.875Zm6.905 9.97a.75.75 0 0 0-1.06 0l-3 3a.75.75 0 1 0 1.06 1.06l1.72-1.72V18a.75.75 0 0 0 1.5 0v-4.19l1.72 1.72a.75.75 0 1 0 1.06-1.06l-3-3Z",clipRule:"evenodd"}),a.createElement("path",{d:"M14.25 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Z"}))}const Jx=a.forwardRef(Yx);function Xx({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M5.625 1.5H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375c0-1.036.84-1.875 1.875-1.875ZM9.75 17.25a.75.75 0 0 0-1.5 0V18a.75.75 0 0 0 1.5 0v-.75Zm2.25-3a.75.75 0 0 1 .75.75v3a.75.75 0 0 1-1.5 0v-3a.75.75 0 0 1 .75-.75Zm3.75-1.5a.75.75 0 0 0-1.5 0V18a.75.75 0 0 0 1.5 0v-5.25Z",clipRule:"evenodd"}),a.createElement("path",{d:"M14.25 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Z"}))}const Qx=a.forwardRef(Xx);function ey({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M9 1.5H5.625c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0 0 16.5 9h-1.875a1.875 1.875 0 0 1-1.875-1.875V5.25A3.75 3.75 0 0 0 9 1.5Zm6.61 10.936a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 14.47a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",clipRule:"evenodd"}),a.createElement("path",{d:"M12.971 1.816A5.23 5.23 0 0 1 14.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 0 1 3.434 1.279 9.768 9.768 0 0 0-6.963-6.963Z"}))}const ty=a.forwardRef(ey);function ry({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3.75 3.375c0-1.036.84-1.875 1.875-1.875H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375Zm10.5 1.875a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Zm-3.75 5.56c0-1.336-1.616-2.005-2.56-1.06l-.22.22a.75.75 0 0 0 1.06 1.06l.22-.22v1.94h-.75a.75.75 0 0 0 0 1.5H9v3c0 .671.307 1.453 1.068 1.815a4.5 4.5 0 0 0 5.993-2.123c.233-.487.14-1-.136-1.37A1.459 1.459 0 0 0 14.757 15h-.507a.75.75 0 0 0 0 1.5h.349a2.999 2.999 0 0 1-3.887 1.21c-.091-.043-.212-.186-.212-.46v-3h5.25a.75.75 0 1 0 0-1.5H10.5v-1.94Z",clipRule:"evenodd"}))}const ny=a.forwardRef(ry);function ay({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3.75 3.375c0-1.036.84-1.875 1.875-1.875H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375Zm10.5 1.875a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25ZM12 10.5a.75.75 0 0 1 .75.75v.028a9.727 9.727 0 0 1 1.687.28.75.75 0 1 1-.374 1.452 8.207 8.207 0 0 0-1.313-.226v1.68l.969.332c.67.23 1.281.85 1.281 1.704 0 .158-.007.314-.02.468-.083.931-.83 1.582-1.669 1.695a9.776 9.776 0 0 1-.561.059v.028a.75.75 0 0 1-1.5 0v-.029a9.724 9.724 0 0 1-1.687-.278.75.75 0 0 1 .374-1.453c.425.11.864.186 1.313.226v-1.68l-.968-.332C9.612 14.974 9 14.354 9 13.5c0-.158.007-.314.02-.468.083-.931.831-1.582 1.67-1.694.185-.025.372-.045.56-.06v-.028a.75.75 0 0 1 .75-.75Zm-1.11 2.324c.119-.016.239-.03.36-.04v1.166l-.482-.165c-.208-.072-.268-.211-.268-.285 0-.113.005-.225.015-.336.013-.146.14-.309.374-.34Zm1.86 4.392V16.05l.482.165c.208.072.268.211.268.285 0 .113-.005.225-.015.336-.012.146-.14.309-.374.34-.12.016-.24.03-.361.04Z",clipRule:"evenodd"}))}const oy=a.forwardRef(ay);function sy({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3.75 3.375c0-1.036.84-1.875 1.875-1.875H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375Zm7.464 9.442c.459-.573 1.019-.817 1.536-.817.517 0 1.077.244 1.536.817a.75.75 0 1 0 1.171-.937c-.713-.892-1.689-1.38-2.707-1.38-1.018 0-1.994.488-2.707 1.38a4.61 4.61 0 0 0-.705 1.245H8.25a.75.75 0 0 0 0 1.5h.763c-.017.25-.017.5 0 .75H8.25a.75.75 0 0 0 0 1.5h1.088c.17.449.406.87.705 1.245.713.892 1.689 1.38 2.707 1.38 1.018 0 1.994-.488 2.707-1.38a.75.75 0 0 0-1.171-.937c-.459.573-1.019.817-1.536.817-.517 0-1.077-.244-1.536-.817-.078-.098-.15-.2-.215-.308h1.751a.75.75 0 0 0 0-1.5h-2.232a3.965 3.965 0 0 1 0-.75h2.232a.75.75 0 0 0 0-1.5H11c.065-.107.136-.21.214-.308Z",clipRule:"evenodd"}),a.createElement("path",{d:"M14.25 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Z"}))}const ly=a.forwardRef(sy);function iy({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3.75 3.375c0-1.036.84-1.875 1.875-1.875H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375Zm10.5 1.875a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Zm-3.674 9.583a2.249 2.249 0 0 1 3.765-2.174.75.75 0 0 0 1.06-1.06A3.75 3.75 0 0 0 9.076 15H8.25a.75.75 0 0 0 0 1.5h1.156a3.75 3.75 0 0 1-.206 1.559l-.156.439a.75.75 0 0 0 1.042.923l.439-.22a2.113 2.113 0 0 1 1.613-.115 3.613 3.613 0 0 0 2.758-.196l.44-.22a.75.75 0 1 0-.671-1.341l-.44.22a2.113 2.113 0 0 1-1.613.114 3.612 3.612 0 0 0-1.745-.134c.048-.341.062-.686.042-1.029H12a.75.75 0 0 0 0-1.5h-1.379l-.045-.167Z",clipRule:"evenodd"}))}const cy=a.forwardRef(iy);function dy({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3.75 3.375c0-1.036.84-1.875 1.875-1.875H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375Zm10.5 1.875a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Zm-4.5 5.25a.75.75 0 0 0 0 1.5h.375c.769 0 1.43.463 1.719 1.125H9.75a.75.75 0 0 0 0 1.5h2.094a1.875 1.875 0 0 1-1.719 1.125H9.75a.75.75 0 0 0-.53 1.28l2.25 2.25a.75.75 0 0 0 1.06-1.06l-1.193-1.194a3.382 3.382 0 0 0 2.08-2.401h.833a.75.75 0 0 0 0-1.5h-.834A3.357 3.357 0 0 0 12.932 12h1.318a.75.75 0 0 0 0-1.5H10.5c-.04 0-.08.003-.12.01a3.425 3.425 0 0 0-.255-.01H9.75Z",clipRule:"evenodd"}))}const uy=a.forwardRef(dy);function fy({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3.75 3.375c0-1.036.84-1.875 1.875-1.875H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375Zm10.5 1.875a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Zm-3.9 5.55a.75.75 0 0 0-1.2.9l1.912 2.55H9.75a.75.75 0 0 0 0 1.5h1.5v.75h-1.5a.75.75 0 0 0 0 1.5h1.5v.75a.75.75 0 1 0 1.5 0V18h1.5a.75.75 0 1 0 0-1.5h-1.5v-.75h1.5a.75.75 0 1 0 0-1.5h-1.313l1.913-2.55a.75.75 0 1 0-1.2-.9L12 13l-1.65-2.2Z",clipRule:"evenodd"}))}const my=a.forwardRef(fy);function hy({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M7.5 3.375c0-1.036.84-1.875 1.875-1.875h.375a3.75 3.75 0 0 1 3.75 3.75v1.875C13.5 8.161 14.34 9 15.375 9h1.875A3.75 3.75 0 0 1 21 12.75v3.375C21 17.16 20.16 18 19.125 18h-9.75A1.875 1.875 0 0 1 7.5 16.125V3.375Z"}),a.createElement("path",{d:"M15 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 17.25 7.5h-1.875A.375.375 0 0 1 15 7.125V5.25ZM4.875 6H6v10.125A3.375 3.375 0 0 0 9.375 19.5H16.5v1.125c0 1.035-.84 1.875-1.875 1.875h-9.75A1.875 1.875 0 0 1 3 20.625V7.875C3 6.839 3.84 6 4.875 6Z"}))}const py=a.forwardRef(hy);function vy({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M11.625 16.5a1.875 1.875 0 1 0 0-3.75 1.875 1.875 0 0 0 0 3.75Z"}),a.createElement("path",{fillRule:"evenodd",d:"M5.625 1.5H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375c0-1.036.84-1.875 1.875-1.875Zm6 16.5c.66 0 1.277-.19 1.797-.518l1.048 1.048a.75.75 0 0 0 1.06-1.06l-1.047-1.048A3.375 3.375 0 1 0 11.625 18Z",clipRule:"evenodd"}),a.createElement("path",{d:"M14.25 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Z"}))}const wy=a.forwardRef(vy);function gy({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M5.625 1.5H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375c0-1.036.84-1.875 1.875-1.875ZM9.75 14.25a.75.75 0 0 0 0 1.5H15a.75.75 0 0 0 0-1.5H9.75Z",clipRule:"evenodd"}),a.createElement("path",{d:"M14.25 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Z"}))}const by=a.forwardRef(gy);function xy({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M5.625 1.5H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375c0-1.036.84-1.875 1.875-1.875ZM12.75 12a.75.75 0 0 0-1.5 0v2.25H9a.75.75 0 0 0 0 1.5h2.25V18a.75.75 0 0 0 1.5 0v-2.25H15a.75.75 0 0 0 0-1.5h-2.25V12Z",clipRule:"evenodd"}),a.createElement("path",{d:"M14.25 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Z"}))}const yy=a.forwardRef(xy);function Ey({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0 0 16.5 9h-1.875a1.875 1.875 0 0 1-1.875-1.875V5.25A3.75 3.75 0 0 0 9 1.5H5.625ZM7.5 15a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 7.5 15Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H8.25Z",clipRule:"evenodd"}),a.createElement("path",{d:"M12.971 1.816A5.23 5.23 0 0 1 14.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 0 1 3.434 1.279 9.768 9.768 0 0 0-6.963-6.963Z"}))}const ky=a.forwardRef(Ey);function Ry({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0 0 16.5 9h-1.875a1.875 1.875 0 0 1-1.875-1.875V5.25A3.75 3.75 0 0 0 9 1.5H5.625Z"}),a.createElement("path",{d:"M12.971 1.816A5.23 5.23 0 0 1 14.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 0 1 3.434 1.279 9.768 9.768 0 0 0-6.963-6.963Z"}))}const jy=a.forwardRef(Ry);function Cy({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm0 8.625a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25ZM15.375 12a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0ZM7.5 10.875a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25Z",clipRule:"evenodd"}))}const My=a.forwardRef(Cy);function Ay({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M4.5 12a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm6 0a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm6 0a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z",clipRule:"evenodd"}))}const Sy=a.forwardRef(Ay);function $y({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M10.5 6a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm0 6a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm0 6a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z",clipRule:"evenodd"}))}const Ly=a.forwardRef($y);function Oy({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M19.5 22.5a3 3 0 0 0 3-3v-8.174l-6.879 4.022 3.485 1.876a.75.75 0 1 1-.712 1.321l-5.683-3.06a1.5 1.5 0 0 0-1.422 0l-5.683 3.06a.75.75 0 0 1-.712-1.32l3.485-1.877L1.5 11.326V19.5a3 3 0 0 0 3 3h15Z"}),a.createElement("path",{d:"M1.5 9.589v-.745a3 3 0 0 1 1.578-2.642l7.5-4.038a3 3 0 0 1 2.844 0l7.5 4.038A3 3 0 0 1 22.5 8.844v.745l-8.426 4.926-.652-.351a3 3 0 0 0-2.844 0l-.652.351L1.5 9.589Z"}))}const Ny=a.forwardRef(Oy);function Fy({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M1.5 8.67v8.58a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V8.67l-8.928 5.493a3 3 0 0 1-3.144 0L1.5 8.67Z"}),a.createElement("path",{d:"M22.5 6.908V6.75a3 3 0 0 0-3-3h-15a3 3 0 0 0-3 3v.158l9.714 5.978a1.5 1.5 0 0 0 1.572 0L22.5 6.908Z"}))}const Iy=a.forwardRef(Fy);function Zy({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3.748 8.248a.75.75 0 0 1 .75-.75h15a.75.75 0 0 1 0 1.5h-15a.75.75 0 0 1-.75-.75ZM3.748 15.75a.75.75 0 0 1 .75-.751h15a.75.75 0 0 1 0 1.5h-15a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const By=a.forwardRef(Zy);function Vy({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))}const Ty=a.forwardRef(Vy);function Dy({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))}const Hy=a.forwardRef(Dy);function _y({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M16.098 2.598a3.75 3.75 0 1 1 3.622 6.275l-1.72.46V12a.75.75 0 0 1-.22.53l-.75.75a.75.75 0 0 1-1.06 0l-.97-.97-7.94 7.94a2.56 2.56 0 0 1-1.81.75 1.06 1.06 0 0 0-.75.31l-.97.97a.75.75 0 0 1-1.06 0l-.75-.75a.75.75 0 0 1 0-1.06l.97-.97a1.06 1.06 0 0 0 .31-.75c0-.68.27-1.33.75-1.81L11.69 9l-.97-.97a.75.75 0 0 1 0-1.06l.75-.75A.75.75 0 0 1 12 6h2.666l.461-1.72c.165-.617.49-1.2.971-1.682Zm-3.348 7.463L4.81 18a1.06 1.06 0 0 0-.31.75c0 .318-.06.63-.172.922a2.56 2.56 0 0 1 .922-.172c.281 0 .551-.112.75-.31l7.94-7.94-1.19-1.19Z",clipRule:"evenodd"}))}const Py=a.forwardRef(_y);function Wy({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M3.53 2.47a.75.75 0 0 0-1.06 1.06l18 18a.75.75 0 1 0 1.06-1.06l-18-18ZM22.676 12.553a11.249 11.249 0 0 1-2.631 4.31l-3.099-3.099a5.25 5.25 0 0 0-6.71-6.71L7.759 4.577a11.217 11.217 0 0 1 4.242-.827c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113Z"}),a.createElement("path",{d:"M15.75 12c0 .18-.013.357-.037.53l-4.244-4.243A3.75 3.75 0 0 1 15.75 12ZM12.53 15.713l-4.243-4.244a3.75 3.75 0 0 0 4.244 4.243Z"}),a.createElement("path",{d:"M6.75 12c0-.619.107-1.213.304-1.764l-3.1-3.1a11.25 11.25 0 0 0-2.63 4.31c-.12.362-.12.752 0 1.114 1.489 4.467 5.704 7.69 10.675 7.69 1.5 0 2.933-.294 4.242-.827l-2.477-2.477A5.25 5.25 0 0 1 6.75 12Z"}))}const zy=a.forwardRef(Wy);function qy({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 0 1 0-1.113ZM17.25 12a5.25 5.25 0 1 1-10.5 0 5.25 5.25 0 0 1 10.5 0Z",clipRule:"evenodd"}))}const Uy=a.forwardRef(qy);function Gy({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-2.625 6c-.54 0-.828.419-.936.634a1.96 1.96 0 0 0-.189.866c0 .298.059.605.189.866.108.215.395.634.936.634.54 0 .828-.419.936-.634.13-.26.189-.568.189-.866 0-.298-.059-.605-.189-.866-.108-.215-.395-.634-.936-.634Zm4.314.634c.108-.215.395-.634.936-.634.54 0 .828.419.936.634.13.26.189.568.189.866 0 .298-.059.605-.189.866-.108.215-.395.634-.936.634-.54 0-.828-.419-.936-.634a1.96 1.96 0 0 1-.189-.866c0-.298.059-.605.189-.866Zm-4.34 7.964a.75.75 0 0 1-1.061-1.06 5.236 5.236 0 0 1 3.73-1.538 5.236 5.236 0 0 1 3.695 1.538.75.75 0 1 1-1.061 1.06 3.736 3.736 0 0 0-2.639-1.098 3.736 3.736 0 0 0-2.664 1.098Z",clipRule:"evenodd"}))}const Ky=a.forwardRef(Gy);function Yy({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-2.625 6c-.54 0-.828.419-.936.634a1.96 1.96 0 0 0-.189.866c0 .298.059.605.189.866.108.215.395.634.936.634.54 0 .828-.419.936-.634.13-.26.189-.568.189-.866 0-.298-.059-.605-.189-.866-.108-.215-.395-.634-.936-.634Zm4.314.634c.108-.215.395-.634.936-.634.54 0 .828.419.936.634.13.26.189.568.189.866 0 .298-.059.605-.189.866-.108.215-.395.634-.936.634-.54 0-.828-.419-.936-.634a1.96 1.96 0 0 1-.189-.866c0-.298.059-.605.189-.866Zm2.023 6.828a.75.75 0 1 0-1.06-1.06 3.75 3.75 0 0 1-5.304 0 .75.75 0 0 0-1.06 1.06 5.25 5.25 0 0 0 7.424 0Z",clipRule:"evenodd"}))}const Jy=a.forwardRef(Yy);function Xy({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M1.5 5.625c0-1.036.84-1.875 1.875-1.875h17.25c1.035 0 1.875.84 1.875 1.875v12.75c0 1.035-.84 1.875-1.875 1.875H3.375A1.875 1.875 0 0 1 1.5 18.375V5.625Zm1.5 0v1.5c0 .207.168.375.375.375h1.5a.375.375 0 0 0 .375-.375v-1.5a.375.375 0 0 0-.375-.375h-1.5A.375.375 0 0 0 3 5.625Zm16.125-.375a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375h1.5A.375.375 0 0 0 21 7.125v-1.5a.375.375 0 0 0-.375-.375h-1.5ZM21 9.375A.375.375 0 0 0 20.625 9h-1.5a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375h1.5a.375.375 0 0 0 .375-.375v-1.5Zm0 3.75a.375.375 0 0 0-.375-.375h-1.5a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375h1.5a.375.375 0 0 0 .375-.375v-1.5Zm0 3.75a.375.375 0 0 0-.375-.375h-1.5a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375h1.5a.375.375 0 0 0 .375-.375v-1.5ZM4.875 18.75a.375.375 0 0 0 .375-.375v-1.5a.375.375 0 0 0-.375-.375h-1.5a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375h1.5ZM3.375 15h1.5a.375.375 0 0 0 .375-.375v-1.5a.375.375 0 0 0-.375-.375h-1.5a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375Zm0-3.75h1.5a.375.375 0 0 0 .375-.375v-1.5A.375.375 0 0 0 4.875 9h-1.5A.375.375 0 0 0 3 9.375v1.5c0 .207.168.375.375.375Zm4.125 0a.75.75 0 0 0 0 1.5h9a.75.75 0 0 0 0-1.5h-9Z",clipRule:"evenodd"}))}const Qy=a.forwardRef(Xy);function eE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 3.75a6.715 6.715 0 0 0-3.722 1.118.75.75 0 1 1-.828-1.25 8.25 8.25 0 0 1 12.8 6.883c0 3.014-.574 5.897-1.62 8.543a.75.75 0 0 1-1.395-.551A21.69 21.69 0 0 0 18.75 10.5 6.75 6.75 0 0 0 12 3.75ZM6.157 5.739a.75.75 0 0 1 .21 1.04A6.715 6.715 0 0 0 5.25 10.5c0 1.613-.463 3.12-1.265 4.393a.75.75 0 0 1-1.27-.8A6.715 6.715 0 0 0 3.75 10.5c0-1.68.503-3.246 1.367-4.55a.75.75 0 0 1 1.04-.211ZM12 7.5a3 3 0 0 0-3 3c0 3.1-1.176 5.927-3.105 8.056a.75.75 0 1 1-1.112-1.008A10.459 10.459 0 0 0 7.5 10.5a4.5 4.5 0 1 1 9 0c0 .547-.022 1.09-.067 1.626a.75.75 0 0 1-1.495-.123c.041-.495.062-.996.062-1.503a3 3 0 0 0-3-3Zm0 2.25a.75.75 0 0 1 .75.75c0 3.908-1.424 7.485-3.781 10.238a.75.75 0 0 1-1.14-.975A14.19 14.19 0 0 0 11.25 10.5a.75.75 0 0 1 .75-.75Zm3.239 5.183a.75.75 0 0 1 .515.927 19.417 19.417 0 0 1-2.585 5.544.75.75 0 0 1-1.243-.84 17.915 17.915 0 0 0 2.386-5.116.75.75 0 0 1 .927-.515Z",clipRule:"evenodd"}))}const tE=a.forwardRef(eE);function rE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12.963 2.286a.75.75 0 0 0-1.071-.136 9.742 9.742 0 0 0-3.539 6.176 7.547 7.547 0 0 1-1.705-1.715.75.75 0 0 0-1.152-.082A9 9 0 1 0 15.68 4.534a7.46 7.46 0 0 1-2.717-2.248ZM15.75 14.25a3.75 3.75 0 1 1-7.313-1.172c.628.465 1.35.81 2.133 1a5.99 5.99 0 0 1 1.925-3.546 3.75 3.75 0 0 1 3.255 3.718Z",clipRule:"evenodd"}))}const nE=a.forwardRef(rE);function aE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3 2.25a.75.75 0 0 1 .75.75v.54l1.838-.46a9.75 9.75 0 0 1 6.725.738l.108.054A8.25 8.25 0 0 0 18 4.524l3.11-.732a.75.75 0 0 1 .917.81 47.784 47.784 0 0 0 .005 10.337.75.75 0 0 1-.574.812l-3.114.733a9.75 9.75 0 0 1-6.594-.77l-.108-.054a8.25 8.25 0 0 0-5.69-.625l-2.202.55V21a.75.75 0 0 1-1.5 0V3A.75.75 0 0 1 3 2.25Z",clipRule:"evenodd"}))}const oE=a.forwardRef(aE);function sE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M19.5 21a3 3 0 0 0 3-3V9a3 3 0 0 0-3-3h-5.379a.75.75 0 0 1-.53-.22L11.47 3.66A2.25 2.25 0 0 0 9.879 3H4.5a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h15Zm-6.75-10.5a.75.75 0 0 0-1.5 0v4.19l-1.72-1.72a.75.75 0 0 0-1.06 1.06l3 3a.75.75 0 0 0 1.06 0l3-3a.75.75 0 1 0-1.06-1.06l-1.72 1.72V10.5Z",clipRule:"evenodd"}))}const lE=a.forwardRef(sE);function iE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M19.5 21a3 3 0 0 0 3-3V9a3 3 0 0 0-3-3h-5.379a.75.75 0 0 1-.53-.22L11.47 3.66A2.25 2.25 0 0 0 9.879 3H4.5a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h15ZM9 12.75a.75.75 0 0 0 0 1.5h6a.75.75 0 0 0 0-1.5H9Z",clipRule:"evenodd"}))}const cE=a.forwardRef(iE);function dE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M19.906 9c.382 0 .749.057 1.094.162V9a3 3 0 0 0-3-3h-3.879a.75.75 0 0 1-.53-.22L11.47 3.66A2.25 2.25 0 0 0 9.879 3H6a3 3 0 0 0-3 3v3.162A3.756 3.756 0 0 1 4.094 9h15.812ZM4.094 10.5a2.25 2.25 0 0 0-2.227 2.568l.857 6A2.25 2.25 0 0 0 4.951 21H19.05a2.25 2.25 0 0 0 2.227-1.932l.857-6a2.25 2.25 0 0 0-2.227-2.568H4.094Z"}))}const uE=a.forwardRef(dE);function fE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M19.5 21a3 3 0 0 0 3-3V9a3 3 0 0 0-3-3h-5.379a.75.75 0 0 1-.53-.22L11.47 3.66A2.25 2.25 0 0 0 9.879 3H4.5a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h15Zm-6.75-10.5a.75.75 0 0 0-1.5 0v2.25H9a.75.75 0 0 0 0 1.5h2.25v2.25a.75.75 0 0 0 1.5 0v-2.25H15a.75.75 0 0 0 0-1.5h-2.25V10.5Z",clipRule:"evenodd"}))}const mE=a.forwardRef(fE);function hE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M19.5 21a3 3 0 0 0 3-3v-4.5a3 3 0 0 0-3-3h-15a3 3 0 0 0-3 3V18a3 3 0 0 0 3 3h15ZM1.5 10.146V6a3 3 0 0 1 3-3h5.379a2.25 2.25 0 0 1 1.59.659l2.122 2.121c.14.141.331.22.53.22H19.5a3 3 0 0 1 3 3v1.146A4.483 4.483 0 0 0 19.5 9h-15a4.483 4.483 0 0 0-3 1.146Z"}))}const pE=a.forwardRef(hE);function vE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M5.055 7.06C3.805 6.347 2.25 7.25 2.25 8.69v8.122c0 1.44 1.555 2.343 2.805 1.628L12 14.471v2.34c0 1.44 1.555 2.343 2.805 1.628l7.108-4.061c1.26-.72 1.26-2.536 0-3.256l-7.108-4.061C13.555 6.346 12 7.249 12 8.689v2.34L5.055 7.061Z"}))}const wE=a.forwardRef(vE);function gE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3.792 2.938A49.069 49.069 0 0 1 12 2.25c2.797 0 5.54.236 8.209.688a1.857 1.857 0 0 1 1.541 1.836v1.044a3 3 0 0 1-.879 2.121l-6.182 6.182a1.5 1.5 0 0 0-.439 1.061v2.927a3 3 0 0 1-1.658 2.684l-1.757.878A.75.75 0 0 1 9.75 21v-5.818a1.5 1.5 0 0 0-.44-1.06L3.13 7.938a3 3 0 0 1-.879-2.121V4.774c0-.897.64-1.683 1.542-1.836Z",clipRule:"evenodd"}))}const bE=a.forwardRef(gE);function xE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M4.5 3.75a3 3 0 0 0-3 3v10.5a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V6.75a3 3 0 0 0-3-3h-15Zm9 4.5a.75.75 0 0 0-1.5 0v7.5a.75.75 0 0 0 1.5 0v-7.5Zm1.5 0a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 0 1.5H16.5v2.25H18a.75.75 0 0 1 0 1.5h-1.5v3a.75.75 0 0 1-1.5 0v-7.5ZM6.636 9.78c.404-.575.867-.78 1.25-.78s.846.205 1.25.78a.75.75 0 0 0 1.228-.863C9.738 8.027 8.853 7.5 7.886 7.5c-.966 0-1.852.527-2.478 1.417-.62.882-.908 2-.908 3.083 0 1.083.288 2.201.909 3.083.625.89 1.51 1.417 2.477 1.417.967 0 1.852-.527 2.478-1.417a.75.75 0 0 0 .136-.431V12a.75.75 0 0 0-.75-.75h-1.5a.75.75 0 0 0 0 1.5H9v1.648c-.37.44-.774.602-1.114.602-.383 0-.846-.205-1.25-.78C6.226 13.638 6 12.837 6 12c0-.837.226-1.638.636-2.22Z",clipRule:"evenodd"}))}const yE=a.forwardRef(xE);function EE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M11.25 3v4.046a3 3 0 0 0-4.277 4.204H1.5v-6A2.25 2.25 0 0 1 3.75 3h7.5ZM12.75 3v4.011a3 3 0 0 1 4.239 4.239H22.5v-6A2.25 2.25 0 0 0 20.25 3h-7.5ZM22.5 12.75h-8.983a4.125 4.125 0 0 0 4.108 3.75.75.75 0 0 1 0 1.5 5.623 5.623 0 0 1-4.875-2.817V21h7.5a2.25 2.25 0 0 0 2.25-2.25v-6ZM11.25 21v-5.817A5.623 5.623 0 0 1 6.375 18a.75.75 0 0 1 0-1.5 4.126 4.126 0 0 0 4.108-3.75H1.5v6A2.25 2.25 0 0 0 3.75 21h7.5Z"}),a.createElement("path",{d:"M11.085 10.354c.03.297.038.575.036.805a7.484 7.484 0 0 1-.805-.036c-.833-.084-1.677-.325-2.195-.843a1.5 1.5 0 0 1 2.122-2.12c.517.517.759 1.36.842 2.194ZM12.877 10.354c-.03.297-.038.575-.036.805.23.002.508-.006.805-.036.833-.084 1.677-.325 2.195-.843A1.5 1.5 0 0 0 13.72 8.16c-.518.518-.76 1.362-.843 2.194Z"}))}const kE=a.forwardRef(EE);function RE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M9.375 3a1.875 1.875 0 0 0 0 3.75h1.875v4.5H3.375A1.875 1.875 0 0 1 1.5 9.375v-.75c0-1.036.84-1.875 1.875-1.875h3.193A3.375 3.375 0 0 1 12 2.753a3.375 3.375 0 0 1 5.432 3.997h3.943c1.035 0 1.875.84 1.875 1.875v.75c0 1.036-.84 1.875-1.875 1.875H12.75v-4.5h1.875a1.875 1.875 0 1 0-1.875-1.875V6.75h-1.5V4.875C11.25 3.839 10.41 3 9.375 3ZM11.25 12.75H3v6.75a2.25 2.25 0 0 0 2.25 2.25h6v-9ZM12.75 12.75v9h6.75a2.25 2.25 0 0 0 2.25-2.25v-6.75h-9Z"}))}const jE=a.forwardRef(RE);function CE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M21.721 12.752a9.711 9.711 0 0 0-.945-5.003 12.754 12.754 0 0 1-4.339 2.708 18.991 18.991 0 0 1-.214 4.772 17.165 17.165 0 0 0 5.498-2.477ZM14.634 15.55a17.324 17.324 0 0 0 .332-4.647c-.952.227-1.945.347-2.966.347-1.021 0-2.014-.12-2.966-.347a17.515 17.515 0 0 0 .332 4.647 17.385 17.385 0 0 0 5.268 0ZM9.772 17.119a18.963 18.963 0 0 0 4.456 0A17.182 17.182 0 0 1 12 21.724a17.18 17.18 0 0 1-2.228-4.605ZM7.777 15.23a18.87 18.87 0 0 1-.214-4.774 12.753 12.753 0 0 1-4.34-2.708 9.711 9.711 0 0 0-.944 5.004 17.165 17.165 0 0 0 5.498 2.477ZM21.356 14.752a9.765 9.765 0 0 1-7.478 6.817 18.64 18.64 0 0 0 1.988-4.718 18.627 18.627 0 0 0 5.49-2.098ZM2.644 14.752c1.682.971 3.53 1.688 5.49 2.099a18.64 18.64 0 0 0 1.988 4.718 9.765 9.765 0 0 1-7.478-6.816ZM13.878 2.43a9.755 9.755 0 0 1 6.116 3.986 11.267 11.267 0 0 1-3.746 2.504 18.63 18.63 0 0 0-2.37-6.49ZM12 2.276a17.152 17.152 0 0 1 2.805 7.121c-.897.23-1.837.353-2.805.353-.968 0-1.908-.122-2.805-.353A17.151 17.151 0 0 1 12 2.276ZM10.122 2.43a18.629 18.629 0 0 0-2.37 6.49 11.266 11.266 0 0 1-3.746-2.504 9.754 9.754 0 0 1 6.116-3.985Z"}))}const ME=a.forwardRef(CE);function AE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM6.262 6.072a8.25 8.25 0 1 0 10.562-.766 4.5 4.5 0 0 1-1.318 1.357L14.25 7.5l.165.33a.809.809 0 0 1-1.086 1.085l-.604-.302a1.125 1.125 0 0 0-1.298.21l-.132.131c-.439.44-.439 1.152 0 1.591l.296.296c.256.257.622.374.98.314l1.17-.195c.323-.054.654.036.905.245l1.33 1.108c.32.267.46.694.358 1.1a8.7 8.7 0 0 1-2.288 4.04l-.723.724a1.125 1.125 0 0 1-1.298.21l-.153-.076a1.125 1.125 0 0 1-.622-1.006v-1.089c0-.298-.119-.585-.33-.796l-1.347-1.347a1.125 1.125 0 0 1-.21-1.298L9.75 12l-1.64-1.64a6 6 0 0 1-1.676-3.257l-.172-1.03Z",clipRule:"evenodd"}))}const SE=a.forwardRef(AE);function $E({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M15.75 8.25a.75.75 0 0 1 .75.75c0 1.12-.492 2.126-1.27 2.812a.75.75 0 1 1-.992-1.124A2.243 2.243 0 0 0 15 9a.75.75 0 0 1 .75-.75Z"}),a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM4.575 15.6a8.25 8.25 0 0 0 9.348 4.425 1.966 1.966 0 0 0-1.84-1.275.983.983 0 0 1-.97-.822l-.073-.437c-.094-.565.25-1.11.8-1.267l.99-.282c.427-.123.783-.418.982-.816l.036-.073a1.453 1.453 0 0 1 2.328-.377L16.5 15h.628a2.25 2.25 0 0 1 1.983 1.186 8.25 8.25 0 0 0-6.345-12.4c.044.262.18.503.389.676l1.068.89c.442.369.535 1.01.216 1.49l-.51.766a2.25 2.25 0 0 1-1.161.886l-.143.048a1.107 1.107 0 0 0-.57 1.664c.369.555.169 1.307-.427 1.605L9 13.125l.423 1.059a.956.956 0 0 1-1.652.928l-.679-.906a1.125 1.125 0 0 0-1.906.172L4.575 15.6Z",clipRule:"evenodd"}))}const LE=a.forwardRef($E);function OE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM8.547 4.505a8.25 8.25 0 1 0 11.672 8.214l-.46-.46a2.252 2.252 0 0 1-.422-.586l-1.08-2.16a.414.414 0 0 0-.663-.107.827.827 0 0 1-.812.21l-1.273-.363a.89.89 0 0 0-.738 1.595l.587.39c.59.395.674 1.23.172 1.732l-.2.2c-.211.212-.33.498-.33.796v.41c0 .409-.11.809-.32 1.158l-1.315 2.191a2.11 2.11 0 0 1-1.81 1.025 1.055 1.055 0 0 1-1.055-1.055v-1.172c0-.92-.56-1.747-1.414-2.089l-.654-.261a2.25 2.25 0 0 1-1.384-2.46l.007-.042a2.25 2.25 0 0 1 .29-.787l.09-.15a2.25 2.25 0 0 1 2.37-1.048l1.178.236a1.125 1.125 0 0 0 1.302-.795l.208-.73a1.125 1.125 0 0 0-.578-1.315l-.665-.332-.091.091a2.25 2.25 0 0 1-1.591.659h-.18c-.249 0-.487.1-.662.274a.931.931 0 0 1-1.458-1.137l1.279-2.132Z",clipRule:"evenodd"}))}const NE=a.forwardRef(OE);function FE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.243 3.743a.75.75 0 0 1 .75.75v6.75h9v-6.75a.75.75 0 1 1 1.5 0v15.002a.75.75 0 1 1-1.5 0v-6.751h-9v6.75a.75.75 0 1 1-1.5 0v-15a.75.75 0 0 1 .75-.75Zm17.605 4.964a.75.75 0 0 1 .396.661v9.376h1.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5h1.5V10.77l-1.084.722a.75.75 0 1 1-.832-1.248l2.25-1.5a.75.75 0 0 1 .77-.037Z",clipRule:"evenodd"}))}const IE=a.forwardRef(FE);function ZE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.246 3.743a.75.75 0 0 1 .75.75v6.75h9v-6.75a.75.75 0 0 1 1.5 0v15.002a.75.75 0 1 1-1.5 0v-6.751h-9v6.75a.75.75 0 1 1-1.5 0v-15a.75.75 0 0 1 .75-.75ZM18.75 10.5c-.727 0-1.441.054-2.138.16a.75.75 0 1 1-.223-1.484 15.867 15.867 0 0 1 3.635-.125c1.149.092 2.153.923 2.348 2.115.084.516.128 1.045.128 1.584 0 1.065-.676 1.927-1.531 2.354l-2.89 1.445a1.5 1.5 0 0 0-.829 1.342v.86h4.5a.75.75 0 1 1 0 1.5H16.5a.75.75 0 0 1-.75-.75v-1.61a3 3 0 0 1 1.659-2.684l2.89-1.445c.447-.223.701-.62.701-1.012a8.32 8.32 0 0 0-.108-1.342c-.075-.457-.47-.82-.987-.862a14.45 14.45 0 0 0-1.155-.046Z",clipRule:"evenodd"}))}const BE=a.forwardRef(ZE);function VE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12.749 3.743a.75.75 0 0 1 .75.75v15.002a.75.75 0 1 1-1.5 0v-6.75H2.997v6.75a.75.75 0 0 1-1.5 0V4.494a.75.75 0 1 1 1.5 0v6.75H12v-6.75a.75.75 0 0 1 .75-.75ZM18.75 10.5c-.727 0-1.441.055-2.139.16a.75.75 0 1 1-.223-1.483 15.87 15.87 0 0 1 3.82-.11c.95.088 1.926.705 2.168 1.794a5.265 5.265 0 0 1-.579 3.765 5.265 5.265 0 0 1 .578 3.765c-.24 1.088-1.216 1.706-2.167 1.793a15.942 15.942 0 0 1-3.82-.109.75.75 0 0 1 .223-1.483 14.366 14.366 0 0 0 3.46.099c.467-.043.773-.322.84-.624a3.768 3.768 0 0 0-.413-2.691H18a.75.75 0 0 1 0-1.5h2.498a3.768 3.768 0 0 0 .413-2.69c-.067-.303-.373-.582-.84-.625-.435-.04-.876-.06-1.321-.06Z",clipRule:"evenodd"}))}const TE=a.forwardRef(VE);function DE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M10.5 1.875a1.125 1.125 0 0 1 2.25 0v8.219c.517.162 1.02.382 1.5.659V3.375a1.125 1.125 0 0 1 2.25 0v10.937a4.505 4.505 0 0 0-3.25 2.373 8.963 8.963 0 0 1 4-.935A.75.75 0 0 0 18 15v-2.266a3.368 3.368 0 0 1 .988-2.37 1.125 1.125 0 0 1 1.591 1.59 1.118 1.118 0 0 0-.329.79v3.006h-.005a6 6 0 0 1-1.752 4.007l-1.736 1.736a6 6 0 0 1-4.242 1.757H10.5a7.5 7.5 0 0 1-7.5-7.5V6.375a1.125 1.125 0 0 1 2.25 0v5.519c.46-.452.965-.832 1.5-1.141V3.375a1.125 1.125 0 0 1 2.25 0v6.526c.495-.1.997-.151 1.5-.151V1.875Z"}))}const HE=a.forwardRef(DE);function _E({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M15.73 5.5h1.035A7.465 7.465 0 0 1 18 9.625a7.465 7.465 0 0 1-1.235 4.125h-.148c-.806 0-1.534.446-2.031 1.08a9.04 9.04 0 0 1-2.861 2.4c-.723.384-1.35.956-1.653 1.715a4.499 4.499 0 0 0-.322 1.672v.633A.75.75 0 0 1 9 22a2.25 2.25 0 0 1-2.25-2.25c0-1.152.26-2.243.723-3.218.266-.558-.107-1.282-.725-1.282H3.622c-1.026 0-1.945-.694-2.054-1.715A12.137 12.137 0 0 1 1.5 12.25c0-2.848.992-5.464 2.649-7.521C4.537 4.247 5.136 4 5.754 4H9.77a4.5 4.5 0 0 1 1.423.23l3.114 1.04a4.5 4.5 0 0 0 1.423.23ZM21.669 14.023c.536-1.362.831-2.845.831-4.398 0-1.22-.182-2.398-.52-3.507-.26-.85-1.084-1.368-1.973-1.368H19.1c-.445 0-.72.498-.523.898.591 1.2.924 2.55.924 3.977a8.958 8.958 0 0 1-1.302 4.666c-.245.403.028.959.5.959h1.053c.832 0 1.612-.453 1.918-1.227Z"}))}const PE=a.forwardRef(_E);function WE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M7.493 18.5c-.425 0-.82-.236-.975-.632A7.48 7.48 0 0 1 6 15.125c0-1.75.599-3.358 1.602-4.634.151-.192.373-.309.6-.397.473-.183.89-.514 1.212-.924a9.042 9.042 0 0 1 2.861-2.4c.723-.384 1.35-.956 1.653-1.715a4.498 4.498 0 0 0 .322-1.672V2.75A.75.75 0 0 1 15 2a2.25 2.25 0 0 1 2.25 2.25c0 1.152-.26 2.243-.723 3.218-.266.558.107 1.282.725 1.282h3.126c1.026 0 1.945.694 2.054 1.715.045.422.068.85.068 1.285a11.95 11.95 0 0 1-2.649 7.521c-.388.482-.987.729-1.605.729H14.23c-.483 0-.964-.078-1.423-.23l-3.114-1.04a4.501 4.501 0 0 0-1.423-.23h-.777ZM2.331 10.727a11.969 11.969 0 0 0-.831 4.398 12 12 0 0 0 .52 3.507C2.28 19.482 3.105 20 3.994 20H4.9c.445 0 .72-.498.523-.898a8.963 8.963 0 0 1-.924-3.977c0-1.708.476-3.305 1.302-4.666.245-.403-.028-.959-.5-.959H4.25c-.832 0-1.612.453-1.918 1.227Z"}))}const zE=a.forwardRef(WE);function qE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M11.097 1.515a.75.75 0 0 1 .589.882L10.666 7.5h4.47l1.079-5.397a.75.75 0 1 1 1.47.294L16.665 7.5h3.585a.75.75 0 0 1 0 1.5h-3.885l-1.2 6h3.585a.75.75 0 0 1 0 1.5h-3.885l-1.08 5.397a.75.75 0 1 1-1.47-.294l1.02-5.103h-4.47l-1.08 5.397a.75.75 0 1 1-1.47-.294l1.02-5.103H3.75a.75.75 0 0 1 0-1.5h3.885l1.2-6H5.25a.75.75 0 0 1 0-1.5h3.885l1.08-5.397a.75.75 0 0 1 .882-.588ZM10.365 9l-1.2 6h4.47l1.2-6h-4.47Z",clipRule:"evenodd"}))}const UE=a.forwardRef(qE);function GE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"m11.645 20.91-.007-.003-.022-.012a15.247 15.247 0 0 1-.383-.218 25.18 25.18 0 0 1-4.244-3.17C4.688 15.36 2.25 12.174 2.25 8.25 2.25 5.322 4.714 3 7.688 3A5.5 5.5 0 0 1 12 5.052 5.5 5.5 0 0 1 16.313 3c2.973 0 5.437 2.322 5.437 5.25 0 3.925-2.438 7.111-4.739 9.256a25.175 25.175 0 0 1-4.244 3.17 15.247 15.247 0 0 1-.383.219l-.022.012-.007.004-.003.001a.752.752 0 0 1-.704 0l-.003-.001Z"}))}const KE=a.forwardRef(GE);function YE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M19.006 3.705a.75.75 0 1 0-.512-1.41L6 6.838V3a.75.75 0 0 0-.75-.75h-1.5A.75.75 0 0 0 3 3v4.93l-1.006.365a.75.75 0 0 0 .512 1.41l16.5-6Z"}),a.createElement("path",{fillRule:"evenodd",d:"M3.019 11.114 18 5.667v3.421l4.006 1.457a.75.75 0 1 1-.512 1.41l-.494-.18v8.475h.75a.75.75 0 0 1 0 1.5H2.25a.75.75 0 0 1 0-1.5H3v-9.129l.019-.007ZM18 20.25v-9.566l1.5.546v9.02H18Zm-9-6a.75.75 0 0 0-.75.75v4.5c0 .414.336.75.75.75h3a.75.75 0 0 0 .75-.75V15a.75.75 0 0 0-.75-.75H9Z",clipRule:"evenodd"}))}const JE=a.forwardRef(YE);function XE({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M11.47 3.841a.75.75 0 0 1 1.06 0l8.69 8.69a.75.75 0 1 0 1.06-1.061l-8.689-8.69a2.25 2.25 0 0 0-3.182 0l-8.69 8.69a.75.75 0 1 0 1.061 1.06l8.69-8.689Z"}),a.createElement("path",{d:"m12 5.432 8.159 8.159c.03.03.06.058.091.086v6.198c0 1.035-.84 1.875-1.875 1.875H15a.75.75 0 0 1-.75-.75v-4.5a.75.75 0 0 0-.75-.75h-3a.75.75 0 0 0-.75.75V21a.75.75 0 0 1-.75.75H5.625a1.875 1.875 0 0 1-1.875-1.875v-6.198a2.29 2.29 0 0 0 .091-.086L12 5.432Z"}))}const QE=a.forwardRef(XE);function ek({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M4.5 3.75a3 3 0 0 0-3 3v10.5a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V6.75a3 3 0 0 0-3-3h-15Zm4.125 3a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5Zm-3.873 8.703a4.126 4.126 0 0 1 7.746 0 .75.75 0 0 1-.351.92 7.47 7.47 0 0 1-3.522.877 7.47 7.47 0 0 1-3.522-.877.75.75 0 0 1-.351-.92ZM15 8.25a.75.75 0 0 0 0 1.5h3.75a.75.75 0 0 0 0-1.5H15ZM14.25 12a.75.75 0 0 1 .75-.75h3.75a.75.75 0 0 1 0 1.5H15a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5h3.75a.75.75 0 0 0 0-1.5H15Z",clipRule:"evenodd"}))}const tk=a.forwardRef(ek);function rk({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M5.478 5.559A1.5 1.5 0 0 1 6.912 4.5H9A.75.75 0 0 0 9 3H6.912a3 3 0 0 0-2.868 2.118l-2.411 7.838a3 3 0 0 0-.133.882V18a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3v-4.162c0-.299-.045-.596-.133-.882l-2.412-7.838A3 3 0 0 0 17.088 3H15a.75.75 0 0 0 0 1.5h2.088a1.5 1.5 0 0 1 1.434 1.059l2.213 7.191H17.89a3 3 0 0 0-2.684 1.658l-.256.513a1.5 1.5 0 0 1-1.342.829h-3.218a1.5 1.5 0 0 1-1.342-.83l-.256-.512a3 3 0 0 0-2.684-1.658H3.265l2.213-7.191Z",clipRule:"evenodd"}),a.createElement("path",{fillRule:"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v6.44l1.72-1.72a.75.75 0 1 1 1.06 1.06l-3 3a.75.75 0 0 1-1.06 0l-3-3a.75.75 0 0 1 1.06-1.06l1.72 1.72V3a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const nk=a.forwardRef(rk);function ak({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M1.5 9.832v1.793c0 1.036.84 1.875 1.875 1.875h17.25c1.035 0 1.875-.84 1.875-1.875V9.832a3 3 0 0 0-.722-1.952l-3.285-3.832A3 3 0 0 0 16.215 3h-8.43a3 3 0 0 0-2.278 1.048L2.222 7.88A3 3 0 0 0 1.5 9.832ZM7.785 4.5a1.5 1.5 0 0 0-1.139.524L3.881 8.25h3.165a3 3 0 0 1 2.496 1.336l.164.246a1.5 1.5 0 0 0 1.248.668h2.092a1.5 1.5 0 0 0 1.248-.668l.164-.246a3 3 0 0 1 2.496-1.336h3.165l-2.765-3.226a1.5 1.5 0 0 0-1.139-.524h-8.43Z",clipRule:"evenodd"}),a.createElement("path",{d:"M2.813 15c-.725 0-1.313.588-1.313 1.313V18a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3v-1.688c0-.724-.588-1.312-1.313-1.312h-4.233a3 3 0 0 0-2.496 1.336l-.164.246a1.5 1.5 0 0 1-1.248.668h-2.092a1.5 1.5 0 0 1-1.248-.668l-.164-.246A3 3 0 0 0 7.046 15H2.812Z"}))}const ok=a.forwardRef(ak);function sk({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M6.912 3a3 3 0 0 0-2.868 2.118l-2.411 7.838a3 3 0 0 0-.133.882V18a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3v-4.162c0-.299-.045-.596-.133-.882l-2.412-7.838A3 3 0 0 0 17.088 3H6.912Zm13.823 9.75-2.213-7.191A1.5 1.5 0 0 0 17.088 4.5H6.912a1.5 1.5 0 0 0-1.434 1.059L3.265 12.75H6.11a3 3 0 0 1 2.684 1.658l.256.513a1.5 1.5 0 0 0 1.342.829h3.218a1.5 1.5 0 0 0 1.342-.83l.256-.512a3 3 0 0 1 2.684-1.658h2.844Z",clipRule:"evenodd"}))}const lk=a.forwardRef(sk);function ik({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm8.706-1.442c1.146-.573 2.437.463 2.126 1.706l-.709 2.836.042-.02a.75.75 0 0 1 .67 1.34l-.04.022c-1.147.573-2.438-.463-2.127-1.706l.71-2.836-.042.02a.75.75 0 1 1-.671-1.34l.041-.022ZM12 9a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))}const ck=a.forwardRef(ik);function dk({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M10.497 3.744a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-3.275l-5.357 15.002h2.632a.75.75 0 1 1 0 1.5h-7.5a.75.75 0 1 1 0-1.5h3.275l5.357-15.002h-2.632a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const uk=a.forwardRef(dk);function fk({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M15.75 1.5a6.75 6.75 0 0 0-6.651 7.906c.067.39-.032.717-.221.906l-6.5 6.499a3 3 0 0 0-.878 2.121v2.818c0 .414.336.75.75.75H6a.75.75 0 0 0 .75-.75v-1.5h1.5A.75.75 0 0 0 9 19.5V18h1.5a.75.75 0 0 0 .53-.22l2.658-2.658c.19-.189.517-.288.906-.22A6.75 6.75 0 1 0 15.75 1.5Zm0 3a.75.75 0 0 0 0 1.5A2.25 2.25 0 0 1 18 8.25a.75.75 0 0 0 1.5 0 3.75 3.75 0 0 0-3.75-3.75Z",clipRule:"evenodd"}))}const mk=a.forwardRef(fk);function hk({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M9 2.25a.75.75 0 0 1 .75.75v1.506a49.384 49.384 0 0 1 5.343.371.75.75 0 1 1-.186 1.489c-.66-.083-1.323-.151-1.99-.206a18.67 18.67 0 0 1-2.97 6.323c.318.384.65.753 1 1.107a.75.75 0 0 1-1.07 1.052A18.902 18.902 0 0 1 9 13.687a18.823 18.823 0 0 1-5.656 4.482.75.75 0 0 1-.688-1.333 17.323 17.323 0 0 0 5.396-4.353A18.72 18.72 0 0 1 5.89 8.598a.75.75 0 0 1 1.388-.568A17.21 17.21 0 0 0 9 11.224a17.168 17.168 0 0 0 2.391-5.165 48.04 48.04 0 0 0-8.298.307.75.75 0 0 1-.186-1.489 49.159 49.159 0 0 1 5.343-.371V3A.75.75 0 0 1 9 2.25ZM15.75 9a.75.75 0 0 1 .68.433l5.25 11.25a.75.75 0 1 1-1.36.634l-1.198-2.567h-6.744l-1.198 2.567a.75.75 0 0 1-1.36-.634l5.25-11.25A.75.75 0 0 1 15.75 9Zm-2.672 8.25h5.344l-2.672-5.726-2.672 5.726Z",clipRule:"evenodd"}))}const pk=a.forwardRef(hk);function vk({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M19.449 8.448 16.388 11a4.52 4.52 0 0 1 0 2.002l3.061 2.55a8.275 8.275 0 0 0 0-7.103ZM15.552 19.45 13 16.388a4.52 4.52 0 0 1-2.002 0l-2.55 3.061a8.275 8.275 0 0 0 7.103 0ZM4.55 15.552 7.612 13a4.52 4.52 0 0 1 0-2.002L4.551 8.45a8.275 8.275 0 0 0 0 7.103ZM8.448 4.55 11 7.612a4.52 4.52 0 0 1 2.002 0l2.55-3.061a8.275 8.275 0 0 0-7.103 0Zm8.657-.86a9.776 9.776 0 0 1 1.79 1.415 9.776 9.776 0 0 1 1.414 1.788 9.764 9.764 0 0 1 0 10.211 9.777 9.777 0 0 1-1.415 1.79 9.777 9.777 0 0 1-1.788 1.414 9.764 9.764 0 0 1-10.212 0 9.776 9.776 0 0 1-1.788-1.415 9.776 9.776 0 0 1-1.415-1.788 9.764 9.764 0 0 1 0-10.212 9.774 9.774 0 0 1 1.415-1.788A9.774 9.774 0 0 1 6.894 3.69a9.764 9.764 0 0 1 10.211 0ZM14.121 9.88a2.985 2.985 0 0 0-1.11-.704 3.015 3.015 0 0 0-2.022 0 2.985 2.985 0 0 0-1.11.704c-.326.325-.56.705-.704 1.11a3.015 3.015 0 0 0 0 2.022c.144.405.378.785.704 1.11.325.326.705.56 1.11.704.652.233 1.37.233 2.022 0a2.985 2.985 0 0 0 1.11-.704c.326-.325.56-.705.704-1.11a3.016 3.016 0 0 0 0-2.022 2.985 2.985 0 0 0-.704-1.11Z",clipRule:"evenodd"}))}const wk=a.forwardRef(vk);function gk({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M12 .75a8.25 8.25 0 0 0-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 0 0 .577.706c.352.083.71.148 1.074.195.323.041.6-.218.6-.544v-4.661a6.714 6.714 0 0 1-.937-.171.75.75 0 1 1 .374-1.453 5.261 5.261 0 0 0 2.626 0 .75.75 0 1 1 .374 1.452 6.712 6.712 0 0 1-.937.172v4.66c0 .327.277.586.6.545.364-.047.722-.112 1.074-.195a.75.75 0 0 0 .577-.706c.02-.615.448-1.225 1.134-1.623A8.25 8.25 0 0 0 12 .75Z"}),a.createElement("path",{fillRule:"evenodd",d:"M9.013 19.9a.75.75 0 0 1 .877-.597 11.319 11.319 0 0 0 4.22 0 .75.75 0 1 1 .28 1.473 12.819 12.819 0 0 1-4.78 0 .75.75 0 0 1-.597-.876ZM9.754 22.344a.75.75 0 0 1 .824-.668 13.682 13.682 0 0 0 2.844 0 .75.75 0 1 1 .156 1.492 15.156 15.156 0 0 1-3.156 0 .75.75 0 0 1-.668-.824Z",clipRule:"evenodd"}))}const bk=a.forwardRef(gk);function xk({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M19.892 4.09a3.75 3.75 0 0 0-5.303 0l-4.5 4.5c-.074.074-.144.15-.21.229l4.965 4.966a3.75 3.75 0 0 0-1.986-4.428.75.75 0 0 1 .646-1.353 5.253 5.253 0 0 1 2.502 6.944l5.515 5.515a.75.75 0 0 1-1.061 1.06l-18-18.001A.75.75 0 0 1 3.521 2.46l5.294 5.295a5.31 5.31 0 0 1 .213-.227l4.5-4.5a5.25 5.25 0 1 1 7.425 7.425l-1.757 1.757a.75.75 0 1 1-1.06-1.06l1.756-1.757a3.75 3.75 0 0 0 0-5.304ZM5.846 11.773a.75.75 0 0 1 0 1.06l-1.757 1.758a3.75 3.75 0 0 0 5.303 5.304l3.129-3.13a.75.75 0 1 1 1.06 1.061l-3.128 3.13a5.25 5.25 0 1 1-7.425-7.426l1.757-1.757a.75.75 0 0 1 1.061 0Zm2.401.26a.75.75 0 0 1 .957.458c.18.512.474.992.885 1.403.31.311.661.555 1.035.733a.75.75 0 0 1-.647 1.354 5.244 5.244 0 0 1-1.449-1.026 5.232 5.232 0 0 1-1.24-1.965.75.75 0 0 1 .46-.957Z",clipRule:"evenodd"}))}const yk=a.forwardRef(xk);function Ek({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M19.902 4.098a3.75 3.75 0 0 0-5.304 0l-4.5 4.5a3.75 3.75 0 0 0 1.035 6.037.75.75 0 0 1-.646 1.353 5.25 5.25 0 0 1-1.449-8.45l4.5-4.5a5.25 5.25 0 1 1 7.424 7.424l-1.757 1.757a.75.75 0 1 1-1.06-1.06l1.757-1.757a3.75 3.75 0 0 0 0-5.304Zm-7.389 4.267a.75.75 0 0 1 1-.353 5.25 5.25 0 0 1 1.449 8.45l-4.5 4.5a5.25 5.25 0 1 1-7.424-7.424l1.757-1.757a.75.75 0 1 1 1.06 1.06l-1.757 1.757a3.75 3.75 0 1 0 5.304 5.304l4.5-4.5a3.75 3.75 0 0 0-1.035-6.037.75.75 0 0 1-.354-1Z",clipRule:"evenodd"}))}const kk=a.forwardRef(Ek);function Rk({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.625 6.75a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Zm4.875 0A.75.75 0 0 1 8.25 6h12a.75.75 0 0 1 0 1.5h-12a.75.75 0 0 1-.75-.75ZM2.625 12a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0ZM7.5 12a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5h-12A.75.75 0 0 1 7.5 12Zm-4.875 5.25a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Zm4.875 0a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5h-12a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const jk=a.forwardRef(Rk);function Ck({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 1.5a5.25 5.25 0 0 0-5.25 5.25v3a3 3 0 0 0-3 3v6.75a3 3 0 0 0 3 3h10.5a3 3 0 0 0 3-3v-6.75a3 3 0 0 0-3-3v-3c0-2.9-2.35-5.25-5.25-5.25Zm3.75 8.25v-3a3.75 3.75 0 1 0-7.5 0v3h7.5Z",clipRule:"evenodd"}))}const Mk=a.forwardRef(Ck);function Ak({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M18 1.5c2.9 0 5.25 2.35 5.25 5.25v3.75a.75.75 0 0 1-1.5 0V6.75a3.75 3.75 0 1 0-7.5 0v3a3 3 0 0 1 3 3v6.75a3 3 0 0 1-3 3H3.75a3 3 0 0 1-3-3v-6.75a3 3 0 0 1 3-3h9v-3c0-2.9 2.35-5.25 5.25-5.25Z"}))}const Sk=a.forwardRef(Ak);function $k({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M8.25 10.875a2.625 2.625 0 1 1 5.25 0 2.625 2.625 0 0 1-5.25 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-1.125 4.5a4.125 4.125 0 1 0 2.338 7.524l2.007 2.006a.75.75 0 1 0 1.06-1.06l-2.006-2.007a4.125 4.125 0 0 0-3.399-6.463Z",clipRule:"evenodd"}))}const Lk=a.forwardRef($k);function Ok({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M10.5 3.75a6.75 6.75 0 1 0 0 13.5 6.75 6.75 0 0 0 0-13.5ZM2.25 10.5a8.25 8.25 0 1 1 14.59 5.28l4.69 4.69a.75.75 0 1 1-1.06 1.06l-4.69-4.69A8.25 8.25 0 0 1 2.25 10.5Zm4.5 0a.75.75 0 0 1 .75-.75h6a.75.75 0 0 1 0 1.5h-6a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const Nk=a.forwardRef(Ok);function Fk({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M10.5 3.75a6.75 6.75 0 1 0 0 13.5 6.75 6.75 0 0 0 0-13.5ZM2.25 10.5a8.25 8.25 0 1 1 14.59 5.28l4.69 4.69a.75.75 0 1 1-1.06 1.06l-4.69-4.69A8.25 8.25 0 0 1 2.25 10.5Zm8.25-3.75a.75.75 0 0 1 .75.75v2.25h2.25a.75.75 0 0 1 0 1.5h-2.25v2.25a.75.75 0 0 1-1.5 0v-2.25H7.5a.75.75 0 0 1 0-1.5h2.25V7.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const Ik=a.forwardRef(Fk);function Zk({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M10.5 3.75a6.75 6.75 0 1 0 0 13.5 6.75 6.75 0 0 0 0-13.5ZM2.25 10.5a8.25 8.25 0 1 1 14.59 5.28l4.69 4.69a.75.75 0 1 1-1.06 1.06l-4.69-4.69A8.25 8.25 0 0 1 2.25 10.5Z",clipRule:"evenodd"}))}const Bk=a.forwardRef(Zk);function Vk({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"m11.54 22.351.07.04.028.016a.76.76 0 0 0 .723 0l.028-.015.071-.041a16.975 16.975 0 0 0 1.144-.742 19.58 19.58 0 0 0 2.683-2.282c1.944-1.99 3.963-4.98 3.963-8.827a8.25 8.25 0 0 0-16.5 0c0 3.846 2.02 6.837 3.963 8.827a19.58 19.58 0 0 0 2.682 2.282 16.975 16.975 0 0 0 1.145.742ZM12 13.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",clipRule:"evenodd"}))}const Tk=a.forwardRef(Vk);function Dk({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M8.161 2.58a1.875 1.875 0 0 1 1.678 0l4.993 2.498c.106.052.23.052.336 0l3.869-1.935A1.875 1.875 0 0 1 21.75 4.82v12.485c0 .71-.401 1.36-1.037 1.677l-4.875 2.437a1.875 1.875 0 0 1-1.676 0l-4.994-2.497a.375.375 0 0 0-.336 0l-3.868 1.935A1.875 1.875 0 0 1 2.25 19.18V6.695c0-.71.401-1.36 1.036-1.677l4.875-2.437ZM9 6a.75.75 0 0 1 .75.75V15a.75.75 0 0 1-1.5 0V6.75A.75.75 0 0 1 9 6Zm6.75 3a.75.75 0 0 0-1.5 0v8.25a.75.75 0 0 0 1.5 0V9Z",clipRule:"evenodd"}))}const Hk=a.forwardRef(Dk);function _k({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M16.881 4.345A23.112 23.112 0 0 1 8.25 6H7.5a5.25 5.25 0 0 0-.88 10.427 21.593 21.593 0 0 0 1.378 3.94c.464 1.004 1.674 1.32 2.582.796l.657-.379c.88-.508 1.165-1.593.772-2.468a17.116 17.116 0 0 1-.628-1.607c1.918.258 3.76.75 5.5 1.446A21.727 21.727 0 0 0 18 11.25c0-2.414-.393-4.735-1.119-6.905ZM18.26 3.74a23.22 23.22 0 0 1 1.24 7.51 23.22 23.22 0 0 1-1.41 7.992.75.75 0 1 0 1.409.516 24.555 24.555 0 0 0 1.415-6.43 2.992 2.992 0 0 0 .836-2.078c0-.807-.319-1.54-.836-2.078a24.65 24.65 0 0 0-1.415-6.43.75.75 0 1 0-1.409.516c.059.16.116.321.17.483Z"}))}const Pk=a.forwardRef(_k);function Wk({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M8.25 4.5a3.75 3.75 0 1 1 7.5 0v8.25a3.75 3.75 0 1 1-7.5 0V4.5Z"}),a.createElement("path",{d:"M6 10.5a.75.75 0 0 1 .75.75v1.5a5.25 5.25 0 1 0 10.5 0v-1.5a.75.75 0 0 1 1.5 0v1.5a6.751 6.751 0 0 1-6 6.709v2.291h3a.75.75 0 0 1 0 1.5h-7.5a.75.75 0 0 1 0-1.5h3v-2.291a6.751 6.751 0 0 1-6-6.709v-1.5A.75.75 0 0 1 6 10.5Z"}))}const zk=a.forwardRef(Wk);function qk({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm3 10.5a.75.75 0 0 0 0-1.5H9a.75.75 0 0 0 0 1.5h6Z",clipRule:"evenodd"}))}const Uk=a.forwardRef(qk);function Gk({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M5.25 12a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5H6a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const Kk=a.forwardRef(Gk);function Yk({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M4.25 12a.75.75 0 0 1 .75-.75h14a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const Jk=a.forwardRef(Yk);function Xk({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M9.528 1.718a.75.75 0 0 1 .162.819A8.97 8.97 0 0 0 9 6a9 9 0 0 0 9 9 8.97 8.97 0 0 0 3.463-.69.75.75 0 0 1 .981.98 10.503 10.503 0 0 1-9.694 6.46c-5.799 0-10.5-4.7-10.5-10.5 0-4.368 2.667-8.112 6.46-9.694a.75.75 0 0 1 .818.162Z",clipRule:"evenodd"}))}const Qk=a.forwardRef(Xk);function eR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M19.952 1.651a.75.75 0 0 1 .298.599V16.303a3 3 0 0 1-2.176 2.884l-1.32.377a2.553 2.553 0 1 1-1.403-4.909l2.311-.66a1.5 1.5 0 0 0 1.088-1.442V6.994l-9 2.572v9.737a3 3 0 0 1-2.176 2.884l-1.32.377a2.553 2.553 0 1 1-1.402-4.909l2.31-.66a1.5 1.5 0 0 0 1.088-1.442V5.25a.75.75 0 0 1 .544-.721l10.5-3a.75.75 0 0 1 .658.122Z",clipRule:"evenodd"}))}const tR=a.forwardRef(eR);function rR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M4.125 3C3.089 3 2.25 3.84 2.25 4.875V18a3 3 0 0 0 3 3h15a3 3 0 0 1-3-3V4.875C17.25 3.839 16.41 3 15.375 3H4.125ZM12 9.75a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5H12Zm-.75-2.25a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5H12a.75.75 0 0 1-.75-.75ZM6 12.75a.75.75 0 0 0 0 1.5h7.5a.75.75 0 0 0 0-1.5H6Zm-.75 3.75a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5H6a.75.75 0 0 1-.75-.75ZM6 6.75a.75.75 0 0 0-.75.75v3c0 .414.336.75.75.75h3a.75.75 0 0 0 .75-.75v-3A.75.75 0 0 0 9 6.75H6Z",clipRule:"evenodd"}),a.createElement("path",{d:"M18.75 6.75h1.875c.621 0 1.125.504 1.125 1.125V18a1.5 1.5 0 0 1-3 0V6.75Z"}))}const nR=a.forwardRef(rR);function aR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"m6.72 5.66 11.62 11.62A8.25 8.25 0 0 0 6.72 5.66Zm10.56 12.68L5.66 6.72a8.25 8.25 0 0 0 11.62 11.62ZM5.105 5.106c3.807-3.808 9.98-3.808 13.788 0 3.808 3.807 3.808 9.98 0 13.788-3.807 3.808-9.98 3.808-13.788 0-3.808-3.807-3.808-9.98 0-13.788Z",clipRule:"evenodd"}))}const oR=a.forwardRef(aR);function sR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M7.491 5.992a.75.75 0 0 1 .75-.75h12a.75.75 0 1 1 0 1.5h-12a.75.75 0 0 1-.75-.75ZM7.49 11.995a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5h-12a.75.75 0 0 1-.75-.75ZM7.491 17.994a.75.75 0 0 1 .75-.75h12a.75.75 0 1 1 0 1.5h-12a.75.75 0 0 1-.75-.75ZM2.24 3.745a.75.75 0 0 1 .75-.75h1.125a.75.75 0 0 1 .75.75v3h.375a.75.75 0 0 1 0 1.5H2.99a.75.75 0 0 1 0-1.5h.375v-2.25H2.99a.75.75 0 0 1-.75-.75ZM2.79 10.602a.75.75 0 0 1 0-1.06 1.875 1.875 0 1 1 2.652 2.651l-.55.55h.35a.75.75 0 0 1 0 1.5h-2.16a.75.75 0 0 1-.53-1.281l1.83-1.83a.375.375 0 0 0-.53-.53.75.75 0 0 1-1.062 0ZM2.24 15.745a.75.75 0 0 1 .75-.75h1.125a1.875 1.875 0 0 1 1.501 2.999 1.875 1.875 0 0 1-1.501 3H2.99a.75.75 0 0 1 0-1.501h1.125a.375.375 0 0 0 .036-.748H3.74a.75.75 0 0 1-.75-.75v-.002a.75.75 0 0 1 .75-.75h.411a.375.375 0 0 0-.036-.748H2.99a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const lR=a.forwardRef(sR);function iR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M20.599 1.5c-.376 0-.743.111-1.055.32l-5.08 3.385a18.747 18.747 0 0 0-3.471 2.987 10.04 10.04 0 0 1 4.815 4.815 18.748 18.748 0 0 0 2.987-3.472l3.386-5.079A1.902 1.902 0 0 0 20.599 1.5Zm-8.3 14.025a18.76 18.76 0 0 0 1.896-1.207 8.026 8.026 0 0 0-4.513-4.513A18.75 18.75 0 0 0 8.475 11.7l-.278.5a5.26 5.26 0 0 1 3.601 3.602l.502-.278ZM6.75 13.5A3.75 3.75 0 0 0 3 17.25a1.5 1.5 0 0 1-1.601 1.497.75.75 0 0 0-.7 1.123 5.25 5.25 0 0 0 9.8-2.62 3.75 3.75 0 0 0-3.75-3.75Z",clipRule:"evenodd"}))}const cR=a.forwardRef(iR);function dR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M3.478 2.404a.75.75 0 0 0-.926.941l2.432 7.905H13.5a.75.75 0 0 1 0 1.5H4.984l-2.432 7.905a.75.75 0 0 0 .926.94 60.519 60.519 0 0 0 18.445-8.986.75.75 0 0 0 0-1.218A60.517 60.517 0 0 0 3.478 2.404Z"}))}const uR=a.forwardRef(dR);function fR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M18.97 3.659a2.25 2.25 0 0 0-3.182 0l-10.94 10.94a3.75 3.75 0 1 0 5.304 5.303l7.693-7.693a.75.75 0 0 1 1.06 1.06l-7.693 7.693a5.25 5.25 0 1 1-7.424-7.424l10.939-10.94a3.75 3.75 0 1 1 5.303 5.304L9.097 18.835l-.008.008-.007.007-.002.002-.003.002A2.25 2.25 0 0 1 5.91 15.66l7.81-7.81a.75.75 0 0 1 1.061 1.06l-7.81 7.81a.75.75 0 0 0 1.054 1.068L18.97 6.84a2.25 2.25 0 0 0 0-3.182Z",clipRule:"evenodd"}))}const mR=a.forwardRef(fR);function hR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12ZM9 8.25a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h.75a.75.75 0 0 0 .75-.75V9a.75.75 0 0 0-.75-.75H9Zm5.25 0a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75H15a.75.75 0 0 0 .75-.75V9a.75.75 0 0 0-.75-.75h-.75Z",clipRule:"evenodd"}))}const pR=a.forwardRef(hR);function vR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M6.75 5.25a.75.75 0 0 1 .75-.75H9a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-.75.75H7.5a.75.75 0 0 1-.75-.75V5.25Zm7.5 0A.75.75 0 0 1 15 4.5h1.5a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-.75.75H15a.75.75 0 0 1-.75-.75V5.25Z",clipRule:"evenodd"}))}const wR=a.forwardRef(vR);function gR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-8.4 8.4a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32l8.4-8.4Z"}),a.createElement("path",{d:"M5.25 5.25a3 3 0 0 0-3 3v10.5a3 3 0 0 0 3 3h10.5a3 3 0 0 0 3-3V13.5a.75.75 0 0 0-1.5 0v5.25a1.5 1.5 0 0 1-1.5 1.5H5.25a1.5 1.5 0 0 1-1.5-1.5V8.25a1.5 1.5 0 0 1 1.5-1.5h5.25a.75.75 0 0 0 0-1.5H5.25Z"}))}const bR=a.forwardRef(gR);function xR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32L19.513 8.2Z"}))}const yR=a.forwardRef(xR);function ER({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M11.99 2.243a4.49 4.49 0 0 0-3.398 1.55 4.49 4.49 0 0 0-3.497 1.306 4.491 4.491 0 0 0-1.307 3.498 4.491 4.491 0 0 0-1.548 3.397c0 1.357.6 2.573 1.548 3.397a4.491 4.491 0 0 0 1.307 3.498 4.49 4.49 0 0 0 3.498 1.307 4.49 4.49 0 0 0 3.397 1.549 4.49 4.49 0 0 0 3.397-1.549 4.49 4.49 0 0 0 3.497-1.307 4.491 4.491 0 0 0 1.306-3.497 4.491 4.491 0 0 0 1.55-3.398c0-1.357-.601-2.573-1.549-3.397a4.491 4.491 0 0 0-1.307-3.498 4.49 4.49 0 0 0-3.498-1.307 4.49 4.49 0 0 0-3.396-1.549Zm3.53 7.28a.75.75 0 0 0-1.06-1.06l-6 6a.75.75 0 1 0 1.06 1.06l6-6Zm-5.78-.905a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25Zm4.5 4.5a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25Z",clipRule:"evenodd"}))}const kR=a.forwardRef(ER);function RR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M19.5 9.75a.75.75 0 0 1-.75.75h-4.5a.75.75 0 0 1-.75-.75v-4.5a.75.75 0 0 1 1.5 0v2.69l4.72-4.72a.75.75 0 1 1 1.06 1.06L16.06 9h2.69a.75.75 0 0 1 .75.75Z",clipRule:"evenodd"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 4.5a3 3 0 0 1 3-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 0 1-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 0 0 6.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 0 1 1.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 0 1-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5Z",clipRule:"evenodd"}))}const jR=a.forwardRef(RR);function CR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M15 3.75a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0V5.56l-4.72 4.72a.75.75 0 1 1-1.06-1.06l4.72-4.72h-2.69a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 4.5a3 3 0 0 1 3-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 0 1-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 0 0 6.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 0 1 1.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 0 1-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5Z",clipRule:"evenodd"}))}const MR=a.forwardRef(CR);function AR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M15.22 3.22a.75.75 0 0 1 1.06 0L18 4.94l1.72-1.72a.75.75 0 1 1 1.06 1.06L19.06 6l1.72 1.72a.75.75 0 0 1-1.06 1.06L18 7.06l-1.72 1.72a.75.75 0 1 1-1.06-1.06L16.94 6l-1.72-1.72a.75.75 0 0 1 0-1.06ZM1.5 4.5a3 3 0 0 1 3-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 0 1-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 0 0 6.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 0 1 1.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 0 1-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5Z",clipRule:"evenodd"}))}const SR=a.forwardRef(AR);function $R({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M1.5 4.5a3 3 0 0 1 3-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 0 1-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 0 0 6.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 0 1 1.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 0 1-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5Z",clipRule:"evenodd"}))}const LR=a.forwardRef($R);function OR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M1.5 6a2.25 2.25 0 0 1 2.25-2.25h16.5A2.25 2.25 0 0 1 22.5 6v12a2.25 2.25 0 0 1-2.25 2.25H3.75A2.25 2.25 0 0 1 1.5 18V6ZM3 16.06V18c0 .414.336.75.75.75h16.5A.75.75 0 0 0 21 18v-1.94l-2.69-2.689a1.5 1.5 0 0 0-2.12 0l-.88.879.97.97a.75.75 0 1 1-1.06 1.06l-5.16-5.159a1.5 1.5 0 0 0-2.12 0L3 16.061Zm10.125-7.81a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Z",clipRule:"evenodd"}))}const NR=a.forwardRef(OR);function FR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm14.024-.983a1.125 1.125 0 0 1 0 1.966l-5.603 3.113A1.125 1.125 0 0 1 9 15.113V8.887c0-.857.921-1.4 1.671-.983l5.603 3.113Z",clipRule:"evenodd"}))}const IR=a.forwardRef(FR);function ZR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M15 6.75a.75.75 0 0 0-.75.75V18a.75.75 0 0 0 .75.75h.75a.75.75 0 0 0 .75-.75V7.5a.75.75 0 0 0-.75-.75H15ZM20.25 6.75a.75.75 0 0 0-.75.75V18c0 .414.336.75.75.75H21a.75.75 0 0 0 .75-.75V7.5a.75.75 0 0 0-.75-.75h-.75ZM5.055 7.06C3.805 6.347 2.25 7.25 2.25 8.69v8.122c0 1.44 1.555 2.343 2.805 1.628l7.108-4.061c1.26-.72 1.26-2.536 0-3.256L5.055 7.061Z"}))}const BR=a.forwardRef(ZR);function VR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M4.5 5.653c0-1.427 1.529-2.33 2.779-1.643l11.54 6.347c1.295.712 1.295 2.573 0 3.286L7.28 19.99c-1.25.687-2.779-.217-2.779-1.643V5.653Z",clipRule:"evenodd"}))}const TR=a.forwardRef(VR);function DR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM12.75 9a.75.75 0 0 0-1.5 0v2.25H9a.75.75 0 0 0 0 1.5h2.25V15a.75.75 0 0 0 1.5 0v-2.25H15a.75.75 0 0 0 0-1.5h-2.25V9Z",clipRule:"evenodd"}))}const HR=a.forwardRef(DR);function _R({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 5.25a.75.75 0 0 1 .75.75v5.25H18a.75.75 0 0 1 0 1.5h-5.25V18a.75.75 0 0 1-1.5 0v-5.25H6a.75.75 0 0 1 0-1.5h5.25V6a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const PR=a.forwardRef(_R);function WR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 3.75a.75.75 0 0 1 .75.75v6.75h6.75a.75.75 0 0 1 0 1.5h-6.75v6.75a.75.75 0 0 1-1.5 0v-6.75H4.5a.75.75 0 0 1 0-1.5h6.75V4.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const zR=a.forwardRef(WR);function qR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v9a.75.75 0 0 1-1.5 0V3a.75.75 0 0 1 .75-.75ZM6.166 5.106a.75.75 0 0 1 0 1.06 8.25 8.25 0 1 0 11.668 0 .75.75 0 1 1 1.06-1.06c3.808 3.807 3.808 9.98 0 13.788-3.807 3.808-9.98 3.808-13.788 0-3.808-3.807-3.808-9.98 0-13.788a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const UR=a.forwardRef(qR);function GR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.25 2.25a.75.75 0 0 0 0 1.5H3v10.5a3 3 0 0 0 3 3h1.21l-1.172 3.513a.75.75 0 0 0 1.424.474l.329-.987h8.418l.33.987a.75.75 0 0 0 1.422-.474l-1.17-3.513H18a3 3 0 0 0 3-3V3.75h.75a.75.75 0 0 0 0-1.5H2.25Zm6.04 16.5.5-1.5h6.42l.5 1.5H8.29Zm7.46-12a.75.75 0 0 0-1.5 0v6a.75.75 0 0 0 1.5 0v-6Zm-3 2.25a.75.75 0 0 0-1.5 0v3.75a.75.75 0 0 0 1.5 0V9Zm-3 2.25a.75.75 0 0 0-1.5 0v1.5a.75.75 0 0 0 1.5 0v-1.5Z",clipRule:"evenodd"}))}const KR=a.forwardRef(GR);function YR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.25 2.25a.75.75 0 0 0 0 1.5H3v10.5a3 3 0 0 0 3 3h1.21l-1.172 3.513a.75.75 0 0 0 1.424.474l.329-.987h8.418l.33.987a.75.75 0 0 0 1.422-.474l-1.17-3.513H18a3 3 0 0 0 3-3V3.75h.75a.75.75 0 0 0 0-1.5H2.25Zm6.54 15h6.42l.5 1.5H8.29l.5-1.5Zm8.085-8.995a.75.75 0 1 0-.75-1.299 12.81 12.81 0 0 0-3.558 3.05L11.03 8.47a.75.75 0 0 0-1.06 0l-3 3a.75.75 0 1 0 1.06 1.06l2.47-2.47 1.617 1.618a.75.75 0 0 0 1.146-.102 11.312 11.312 0 0 1 3.612-3.321Z",clipRule:"evenodd"}))}const JR=a.forwardRef(YR);function XR({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M7.875 1.5C6.839 1.5 6 2.34 6 3.375v2.99c-.426.053-.851.11-1.274.174-1.454.218-2.476 1.483-2.476 2.917v6.294a3 3 0 0 0 3 3h.27l-.155 1.705A1.875 1.875 0 0 0 7.232 22.5h9.536a1.875 1.875 0 0 0 1.867-2.045l-.155-1.705h.27a3 3 0 0 0 3-3V9.456c0-1.434-1.022-2.7-2.476-2.917A48.716 48.716 0 0 0 18 6.366V3.375c0-1.036-.84-1.875-1.875-1.875h-8.25ZM16.5 6.205v-2.83A.375.375 0 0 0 16.125 3h-8.25a.375.375 0 0 0-.375.375v2.83a49.353 49.353 0 0 1 9 0Zm-.217 8.265c.178.018.317.16.333.337l.526 5.784a.375.375 0 0 1-.374.409H7.232a.375.375 0 0 1-.374-.409l.526-5.784a.373.373 0 0 1 .333-.337 41.741 41.741 0 0 1 8.566 0Zm.967-3.97a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H18a.75.75 0 0 1-.75-.75V10.5ZM15 9.75a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V10.5a.75.75 0 0 0-.75-.75H15Z",clipRule:"evenodd"}))}const QR=a.forwardRef(XR);function ej({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M11.25 5.337c0-.355-.186-.676-.401-.959a1.647 1.647 0 0 1-.349-1.003c0-1.036 1.007-1.875 2.25-1.875S15 2.34 15 3.375c0 .369-.128.713-.349 1.003-.215.283-.401.604-.401.959 0 .332.278.598.61.578 1.91-.114 3.79-.342 5.632-.676a.75.75 0 0 1 .878.645 49.17 49.17 0 0 1 .376 5.452.657.657 0 0 1-.66.664c-.354 0-.675-.186-.958-.401a1.647 1.647 0 0 0-1.003-.349c-1.035 0-1.875 1.007-1.875 2.25s.84 2.25 1.875 2.25c.369 0 .713-.128 1.003-.349.283-.215.604-.401.959-.401.31 0 .557.262.534.571a48.774 48.774 0 0 1-.595 4.845.75.75 0 0 1-.61.61c-1.82.317-3.673.533-5.555.642a.58.58 0 0 1-.611-.581c0-.355.186-.676.401-.959.221-.29.349-.634.349-1.003 0-1.035-1.007-1.875-2.25-1.875s-2.25.84-2.25 1.875c0 .369.128.713.349 1.003.215.283.401.604.401.959a.641.641 0 0 1-.658.643 49.118 49.118 0 0 1-4.708-.36.75.75 0 0 1-.645-.878c.293-1.614.504-3.257.629-4.924A.53.53 0 0 0 5.337 15c-.355 0-.676.186-.959.401-.29.221-.634.349-1.003.349-1.036 0-1.875-1.007-1.875-2.25s.84-2.25 1.875-2.25c.369 0 .713.128 1.003.349.283.215.604.401.959.401a.656.656 0 0 0 .659-.663 47.703 47.703 0 0 0-.31-4.82.75.75 0 0 1 .83-.832c1.343.155 2.703.254 4.077.294a.64.64 0 0 0 .657-.642Z"}))}const tj=a.forwardRef(ej);function rj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3 4.875C3 3.839 3.84 3 4.875 3h4.5c1.036 0 1.875.84 1.875 1.875v4.5c0 1.036-.84 1.875-1.875 1.875h-4.5A1.875 1.875 0 0 1 3 9.375v-4.5ZM4.875 4.5a.375.375 0 0 0-.375.375v4.5c0 .207.168.375.375.375h4.5a.375.375 0 0 0 .375-.375v-4.5a.375.375 0 0 0-.375-.375h-4.5Zm7.875.375c0-1.036.84-1.875 1.875-1.875h4.5C20.16 3 21 3.84 21 4.875v4.5c0 1.036-.84 1.875-1.875 1.875h-4.5a1.875 1.875 0 0 1-1.875-1.875v-4.5Zm1.875-.375a.375.375 0 0 0-.375.375v4.5c0 .207.168.375.375.375h4.5a.375.375 0 0 0 .375-.375v-4.5a.375.375 0 0 0-.375-.375h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75A.75.75 0 0 1 6 7.5v-.75Zm9.75 0A.75.75 0 0 1 16.5 6h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75ZM3 14.625c0-1.036.84-1.875 1.875-1.875h4.5c1.036 0 1.875.84 1.875 1.875v4.5c0 1.035-.84 1.875-1.875 1.875h-4.5A1.875 1.875 0 0 1 3 19.125v-4.5Zm1.875-.375a.375.375 0 0 0-.375.375v4.5c0 .207.168.375.375.375h4.5a.375.375 0 0 0 .375-.375v-4.5a.375.375 0 0 0-.375-.375h-4.5Zm7.875-.75a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75Zm6 0a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75ZM6 16.5a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75Zm9.75 0a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75Zm-3 3a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75Zm6 0a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75Z",clipRule:"evenodd"}))}const nj=a.forwardRef(rj);function aj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm11.378-3.917c-.89-.777-2.366-.777-3.255 0a.75.75 0 0 1-.988-1.129c1.454-1.272 3.776-1.272 5.23 0 1.513 1.324 1.513 3.518 0 4.842a3.75 3.75 0 0 1-.837.552c-.676.328-1.028.774-1.028 1.152v.75a.75.75 0 0 1-1.5 0v-.75c0-1.279 1.06-2.107 1.875-2.502.182-.088.351-.199.503-.331.83-.727.83-1.857 0-2.584ZM12 18a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))}const oj=a.forwardRef(aj);function sj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M5.625 3.75a2.625 2.625 0 1 0 0 5.25h12.75a2.625 2.625 0 0 0 0-5.25H5.625ZM3.75 11.25a.75.75 0 0 0 0 1.5h16.5a.75.75 0 0 0 0-1.5H3.75ZM3 15.75a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75ZM3.75 18.75a.75.75 0 0 0 0 1.5h16.5a.75.75 0 0 0 0-1.5H3.75Z"}))}const lj=a.forwardRef(sj);function ij({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M20.432 4.103a.75.75 0 0 0-.364-1.456L4.128 6.632l-.2.033C2.498 6.904 1.5 8.158 1.5 9.574v9.176a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V9.574c0-1.416-.997-2.67-2.429-2.909a49.017 49.017 0 0 0-7.255-.658l7.616-1.904Zm-9.585 8.56a.75.75 0 0 1 0 1.06l-.005.006a.75.75 0 0 1-1.06 0l-.006-.006a.75.75 0 0 1 0-1.06l.005-.005a.75.75 0 0 1 1.06 0l.006.005ZM9.781 15.85a.75.75 0 0 0 1.061 0l.005-.005a.75.75 0 0 0 0-1.061l-.005-.005a.75.75 0 0 0-1.06 0l-.006.005a.75.75 0 0 0 0 1.06l.005.006Zm-1.055-1.066a.75.75 0 0 1 0 1.06l-.005.006a.75.75 0 0 1-1.061 0l-.005-.005a.75.75 0 0 1 0-1.06l.005-.006a.75.75 0 0 1 1.06 0l.006.005ZM7.66 13.73a.75.75 0 0 0 1.061 0l.005-.006a.75.75 0 0 0 0-1.06l-.005-.006a.75.75 0 0 0-1.06 0l-.006.006a.75.75 0 0 0 0 1.06l.005.006ZM9.255 9.75a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75V10.5a.75.75 0 0 1 .75-.75h.008Zm3.624 3.28a.75.75 0 0 0 .275-1.025L13.15 12a.75.75 0 0 0-1.025-.275l-.006.004a.75.75 0 0 0-.275 1.024l.004.007a.75.75 0 0 0 1.025.274l.006-.003Zm-1.38 5.126a.75.75 0 0 1-1.024-.275l-.004-.006a.75.75 0 0 1 .275-1.025l.006-.004a.75.75 0 0 1 1.025.275l.004.007a.75.75 0 0 1-.275 1.024l-.006.004Zm.282-6.776a.75.75 0 0 0-.274-1.025l-.007-.003a.75.75 0 0 0-1.024.274l-.004.007a.75.75 0 0 0 .274 1.024l.007.004a.75.75 0 0 0 1.024-.275l.004-.006Zm1.369 5.129a.75.75 0 0 1-1.025.274l-.006-.004a.75.75 0 0 1-.275-1.024l.004-.007a.75.75 0 0 1 1.025-.274l.006.004a.75.75 0 0 1 .275 1.024l-.004.007Zm-.145-1.502a.75.75 0 0 0 .75-.75v-.007a.75.75 0 0 0-.75-.75h-.008a.75.75 0 0 0-.75.75v.007c0 .415.336.75.75.75h.008Zm-3.75 2.243a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75V18a.75.75 0 0 1 .75-.75h.008Zm-2.871-.47a.75.75 0 0 0 .274-1.025l-.003-.006a.75.75 0 0 0-1.025-.275l-.006.004a.75.75 0 0 0-.275 1.024l.004.007a.75.75 0 0 0 1.024.274l.007-.003Zm1.366-5.12a.75.75 0 0 1-1.025-.274l-.004-.006a.75.75 0 0 1 .275-1.025l.006-.004a.75.75 0 0 1 1.025.275l.004.006a.75.75 0 0 1-.275 1.025l-.006.004Zm.281 6.215a.75.75 0 0 0-.275-1.024l-.006-.004a.75.75 0 0 0-1.025.274l-.003.007a.75.75 0 0 0 .274 1.024l.007.004a.75.75 0 0 0 1.024-.274l.004-.007Zm-1.376-5.116a.75.75 0 0 1-1.025.274l-.006-.003a.75.75 0 0 1-.275-1.025l.004-.007a.75.75 0 0 1 1.025-.274l.006.004a.75.75 0 0 1 .275 1.024l-.004.007Zm-1.15 2.248a.75.75 0 0 0 .75-.75v-.007a.75.75 0 0 0-.75-.75h-.008a.75.75 0 0 0-.75.75v.007c0 .415.336.75.75.75h.008ZM17.25 10.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm1.5 6a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0Z",clipRule:"evenodd"}))}const cj=a.forwardRef(ij);function dj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 1.5c-1.921 0-3.816.111-5.68.327-1.497.174-2.57 1.46-2.57 2.93V21.75a.75.75 0 0 0 1.029.696l3.471-1.388 3.472 1.388a.75.75 0 0 0 .556 0l3.472-1.388 3.471 1.388a.75.75 0 0 0 1.029-.696V4.757c0-1.47-1.073-2.756-2.57-2.93A49.255 49.255 0 0 0 12 1.5Zm3.53 7.28a.75.75 0 0 0-1.06-1.06l-6 6a.75.75 0 1 0 1.06 1.06l6-6ZM8.625 9a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Zm5.625 3.375a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25Z",clipRule:"evenodd"}))}const uj=a.forwardRef(dj);function fj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 1.5c-1.921 0-3.816.111-5.68.327-1.497.174-2.57 1.46-2.57 2.93V21.75a.75.75 0 0 0 1.029.696l3.471-1.388 3.472 1.388a.75.75 0 0 0 .556 0l3.472-1.388 3.471 1.388a.75.75 0 0 0 1.029-.696V4.757c0-1.47-1.073-2.756-2.57-2.93A49.255 49.255 0 0 0 12 1.5Zm-.97 6.53a.75.75 0 1 0-1.06-1.06L7.72 9.22a.75.75 0 0 0 0 1.06l2.25 2.25a.75.75 0 1 0 1.06-1.06l-.97-.97h3.065a1.875 1.875 0 0 1 0 3.75H12a.75.75 0 0 0 0 1.5h1.125a3.375 3.375 0 1 0 0-6.75h-3.064l.97-.97Z",clipRule:"evenodd"}))}const mj=a.forwardRef(fj);function hj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M1.5 7.125c0-1.036.84-1.875 1.875-1.875h6c1.036 0 1.875.84 1.875 1.875v3.75c0 1.036-.84 1.875-1.875 1.875h-6A1.875 1.875 0 0 1 1.5 10.875v-3.75Zm12 1.5c0-1.036.84-1.875 1.875-1.875h5.25c1.035 0 1.875.84 1.875 1.875v8.25c0 1.035-.84 1.875-1.875 1.875h-5.25a1.875 1.875 0 0 1-1.875-1.875v-8.25ZM3 16.125c0-1.036.84-1.875 1.875-1.875h5.25c1.036 0 1.875.84 1.875 1.875v2.25c0 1.035-.84 1.875-1.875 1.875h-5.25A1.875 1.875 0 0 1 3 18.375v-2.25Z",clipRule:"evenodd"}))}const pj=a.forwardRef(hj);function vj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M5.566 4.657A4.505 4.505 0 0 1 6.75 4.5h10.5c.41 0 .806.055 1.183.157A3 3 0 0 0 15.75 3h-7.5a3 3 0 0 0-2.684 1.657ZM2.25 12a3 3 0 0 1 3-3h13.5a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3v-6ZM5.25 7.5c-.41 0-.806.055-1.184.157A3 3 0 0 1 6.75 6h10.5a3 3 0 0 1 2.683 1.657A4.505 4.505 0 0 0 18.75 7.5H5.25Z"}))}const wj=a.forwardRef(vj);function gj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M9.315 7.584C12.195 3.883 16.695 1.5 21.75 1.5a.75.75 0 0 1 .75.75c0 5.056-2.383 9.555-6.084 12.436A6.75 6.75 0 0 1 9.75 22.5a.75.75 0 0 1-.75-.75v-4.131A15.838 15.838 0 0 1 6.382 15H2.25a.75.75 0 0 1-.75-.75 6.75 6.75 0 0 1 7.815-6.666ZM15 6.75a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5Z",clipRule:"evenodd"}),a.createElement("path",{d:"M5.26 17.242a.75.75 0 1 0-.897-1.203 5.243 5.243 0 0 0-2.05 5.022.75.75 0 0 0 .625.627 5.243 5.243 0 0 0 5.022-2.051.75.75 0 1 0-1.202-.897 3.744 3.744 0 0 1-3.008 1.51c0-1.23.592-2.323 1.51-3.008Z"}))}const bj=a.forwardRef(gj);function xj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3.75 4.5a.75.75 0 0 1 .75-.75h.75c8.284 0 15 6.716 15 15v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75C18 11.708 12.292 6 5.25 6H4.5a.75.75 0 0 1-.75-.75V4.5Zm0 6.75a.75.75 0 0 1 .75-.75h.75a8.25 8.25 0 0 1 8.25 8.25v.75a.75.75 0 0 1-.75.75H12a.75.75 0 0 1-.75-.75v-.75a6 6 0 0 0-6-6H4.5a.75.75 0 0 1-.75-.75v-.75Zm0 7.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z",clipRule:"evenodd"}))}const yj=a.forwardRef(xj);function Ej({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v.756a49.106 49.106 0 0 1 9.152 1 .75.75 0 0 1-.152 1.485h-1.918l2.474 10.124a.75.75 0 0 1-.375.84A6.723 6.723 0 0 1 18.75 18a6.723 6.723 0 0 1-3.181-.795.75.75 0 0 1-.375-.84l2.474-10.124H12.75v13.28c1.293.076 2.534.343 3.697.776a.75.75 0 0 1-.262 1.453h-8.37a.75.75 0 0 1-.262-1.453c1.162-.433 2.404-.7 3.697-.775V6.24H6.332l2.474 10.124a.75.75 0 0 1-.375.84A6.723 6.723 0 0 1 5.25 18a6.723 6.723 0 0 1-3.181-.795.75.75 0 0 1-.375-.84L4.168 6.241H2.25a.75.75 0 0 1-.152-1.485 49.105 49.105 0 0 1 9.152-1V3a.75.75 0 0 1 .75-.75Zm4.878 13.543 1.872-7.662 1.872 7.662h-3.744Zm-9.756 0L5.25 8.131l-1.872 7.662h3.744Z",clipRule:"evenodd"}))}const kj=a.forwardRef(Ej);function Rj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M8.128 9.155a3.751 3.751 0 1 1 .713-1.321l1.136.656a.75.75 0 0 1 .222 1.104l-.006.007a.75.75 0 0 1-1.032.157 1.421 1.421 0 0 0-.113-.072l-.92-.531Zm-4.827-3.53a2.25 2.25 0 0 1 3.994 2.063.756.756 0 0 0-.122.23 2.25 2.25 0 0 1-3.872-2.293ZM13.348 8.272a5.073 5.073 0 0 0-3.428 3.57 5.08 5.08 0 0 0-.165 1.202 1.415 1.415 0 0 1-.707 1.201l-.96.554a3.751 3.751 0 1 0 .734 1.309l13.729-7.926a.75.75 0 0 0-.181-1.374l-.803-.215a5.25 5.25 0 0 0-2.894.05l-5.325 1.629Zm-9.223 7.03a2.25 2.25 0 1 0 2.25 3.897 2.25 2.25 0 0 0-2.25-3.897ZM12 12.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}),a.createElement("path",{d:"M16.372 12.615a.75.75 0 0 1 .75 0l5.43 3.135a.75.75 0 0 1-.182 1.374l-.802.215a5.25 5.25 0 0 1-2.894-.051l-5.147-1.574a.75.75 0 0 1-.156-1.367l3-1.732Z"}))}const jj=a.forwardRef(Rj);function Cj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M5.507 4.048A3 3 0 0 1 7.785 3h8.43a3 3 0 0 1 2.278 1.048l1.722 2.008A4.533 4.533 0 0 0 19.5 6h-15c-.243 0-.482.02-.715.056l1.722-2.008Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 10.5a3 3 0 0 1 3-3h15a3 3 0 1 1 0 6h-15a3 3 0 0 1-3-3Zm15 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm2.25.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM4.5 15a3 3 0 1 0 0 6h15a3 3 0 1 0 0-6h-15Zm11.25 3.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM19.5 18a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z",clipRule:"evenodd"}))}const Mj=a.forwardRef(Cj);function Aj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M4.08 5.227A3 3 0 0 1 6.979 3H17.02a3 3 0 0 1 2.9 2.227l2.113 7.926A5.228 5.228 0 0 0 18.75 12H5.25a5.228 5.228 0 0 0-3.284 1.153L4.08 5.227Z"}),a.createElement("path",{fillRule:"evenodd",d:"M5.25 13.5a3.75 3.75 0 1 0 0 7.5h13.5a3.75 3.75 0 1 0 0-7.5H5.25Zm10.5 4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm3.75-.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z",clipRule:"evenodd"}))}const Sj=a.forwardRef(Aj);function $j({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M15.75 4.5a3 3 0 1 1 .825 2.066l-8.421 4.679a3.002 3.002 0 0 1 0 1.51l8.421 4.679a3 3 0 1 1-.729 1.31l-8.421-4.678a3 3 0 1 1 0-4.132l8.421-4.679a3 3 0 0 1-.096-.755Z",clipRule:"evenodd"}))}const Lj=a.forwardRef($j);function Oj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12.516 2.17a.75.75 0 0 0-1.032 0 11.209 11.209 0 0 1-7.877 3.08.75.75 0 0 0-.722.515A12.74 12.74 0 0 0 2.25 9.75c0 5.942 4.064 10.933 9.563 12.348a.749.749 0 0 0 .374 0c5.499-1.415 9.563-6.406 9.563-12.348 0-1.39-.223-2.73-.635-3.985a.75.75 0 0 0-.722-.516l-.143.001c-2.996 0-5.717-1.17-7.734-3.08Zm3.094 8.016a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",clipRule:"evenodd"}))}const Nj=a.forwardRef(Oj);function Fj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M11.484 2.17a.75.75 0 0 1 1.032 0 11.209 11.209 0 0 0 7.877 3.08.75.75 0 0 1 .722.515 12.74 12.74 0 0 1 .635 3.985c0 5.942-4.064 10.933-9.563 12.348a.749.749 0 0 1-.374 0C6.314 20.683 2.25 15.692 2.25 9.75c0-1.39.223-2.73.635-3.985a.75.75 0 0 1 .722-.516l.143.001c2.996 0 5.718-1.17 7.734-3.08ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75ZM12 15a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75v-.008a.75.75 0 0 0-.75-.75H12Z",clipRule:"evenodd"}))}const Ij=a.forwardRef(Fj);function Zj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M7.5 6v.75H5.513c-.96 0-1.764.724-1.865 1.679l-1.263 12A1.875 1.875 0 0 0 4.25 22.5h15.5a1.875 1.875 0 0 0 1.865-2.071l-1.263-12a1.875 1.875 0 0 0-1.865-1.679H16.5V6a4.5 4.5 0 1 0-9 0ZM12 3a3 3 0 0 0-3 3v.75h6V6a3 3 0 0 0-3-3Zm-3 8.25a3 3 0 1 0 6 0v-.75a.75.75 0 0 1 1.5 0v.75a4.5 4.5 0 1 1-9 0v-.75a.75.75 0 0 1 1.5 0v.75Z",clipRule:"evenodd"}))}const Bj=a.forwardRef(Zj);function Vj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M2.25 2.25a.75.75 0 0 0 0 1.5h1.386c.17 0 .318.114.362.278l2.558 9.592a3.752 3.752 0 0 0-2.806 3.63c0 .414.336.75.75.75h15.75a.75.75 0 0 0 0-1.5H5.378A2.25 2.25 0 0 1 7.5 15h11.218a.75.75 0 0 0 .674-.421 60.358 60.358 0 0 0 2.96-7.228.75.75 0 0 0-.525-.965A60.864 60.864 0 0 0 5.68 4.509l-.232-.867A1.875 1.875 0 0 0 3.636 2.25H2.25ZM3.75 20.25a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0ZM16.5 20.25a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"}))}const Tj=a.forwardRef(Vj);function Dj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.47 2.47a.75.75 0 0 1 1.06 0l8.407 8.407a1.125 1.125 0 0 1 1.186 1.186l1.462 1.461a3.001 3.001 0 0 0-.464-3.645.75.75 0 1 1 1.061-1.061 4.501 4.501 0 0 1 .486 5.79l1.072 1.072a6.001 6.001 0 0 0-.497-7.923.75.75 0 0 1 1.06-1.06 7.501 7.501 0 0 1 .505 10.05l1.064 1.065a9 9 0 0 0-.508-12.176.75.75 0 0 1 1.06-1.06c3.923 3.922 4.093 10.175.512 14.3l1.594 1.594a.75.75 0 1 1-1.06 1.06l-2.106-2.105-2.121-2.122h-.001l-4.705-4.706a.747.747 0 0 1-.127-.126L2.47 3.53a.75.75 0 0 1 0-1.061Zm1.189 4.422a.75.75 0 0 1 .326 1.01 9.004 9.004 0 0 0 1.651 10.462.75.75 0 1 1-1.06 1.06C1.27 16.12.63 11.165 2.648 7.219a.75.75 0 0 1 1.01-.326ZM5.84 9.134a.75.75 0 0 1 .472.95 6 6 0 0 0 1.444 6.159.75.75 0 0 1-1.06 1.06A7.5 7.5 0 0 1 4.89 9.606a.75.75 0 0 1 .95-.472Zm2.341 2.653a.75.75 0 0 1 .848.638c.088.62.37 1.218.849 1.696a.75.75 0 0 1-1.061 1.061 4.483 4.483 0 0 1-1.273-2.546.75.75 0 0 1 .637-.848Z",clipRule:"evenodd"}))}const Hj=a.forwardRef(Dj);function _j({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M5.636 4.575a.75.75 0 0 1 0 1.061 9 9 0 0 0 0 12.728.75.75 0 1 1-1.06 1.06c-4.101-4.1-4.101-10.748 0-14.849a.75.75 0 0 1 1.06 0Zm12.728 0a.75.75 0 0 1 1.06 0c4.101 4.1 4.101 10.75 0 14.85a.75.75 0 1 1-1.06-1.061 9 9 0 0 0 0-12.728.75.75 0 0 1 0-1.06ZM7.757 6.697a.75.75 0 0 1 0 1.06 6 6 0 0 0 0 8.486.75.75 0 0 1-1.06 1.06 7.5 7.5 0 0 1 0-10.606.75.75 0 0 1 1.06 0Zm8.486 0a.75.75 0 0 1 1.06 0 7.5 7.5 0 0 1 0 10.606.75.75 0 0 1-1.06-1.06 6 6 0 0 0 0-8.486.75.75 0 0 1 0-1.06ZM9.879 8.818a.75.75 0 0 1 0 1.06 3 3 0 0 0 0 4.243.75.75 0 1 1-1.061 1.061 4.5 4.5 0 0 1 0-6.364.75.75 0 0 1 1.06 0Zm4.242 0a.75.75 0 0 1 1.061 0 4.5 4.5 0 0 1 0 6.364.75.75 0 0 1-1.06-1.06 3 3 0 0 0 0-4.243.75.75 0 0 1 0-1.061ZM10.875 12a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Z",clipRule:"evenodd"}))}const Pj=a.forwardRef(_j);function Wj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M15.256 3.042a.75.75 0 0 1 .449.962l-6 16.5a.75.75 0 1 1-1.41-.513l6-16.5a.75.75 0 0 1 .961-.449Z",clipRule:"evenodd"}))}const zj=a.forwardRef(Wj);function qj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M9 4.5a.75.75 0 0 1 .721.544l.813 2.846a3.75 3.75 0 0 0 2.576 2.576l2.846.813a.75.75 0 0 1 0 1.442l-2.846.813a3.75 3.75 0 0 0-2.576 2.576l-.813 2.846a.75.75 0 0 1-1.442 0l-.813-2.846a3.75 3.75 0 0 0-2.576-2.576l-2.846-.813a.75.75 0 0 1 0-1.442l2.846-.813A3.75 3.75 0 0 0 7.466 7.89l.813-2.846A.75.75 0 0 1 9 4.5ZM18 1.5a.75.75 0 0 1 .728.568l.258 1.036c.236.94.97 1.674 1.91 1.91l1.036.258a.75.75 0 0 1 0 1.456l-1.036.258c-.94.236-1.674.97-1.91 1.91l-.258 1.036a.75.75 0 0 1-1.456 0l-.258-1.036a2.625 2.625 0 0 0-1.91-1.91l-1.036-.258a.75.75 0 0 1 0-1.456l1.036-.258a2.625 2.625 0 0 0 1.91-1.91l.258-1.036A.75.75 0 0 1 18 1.5ZM16.5 15a.75.75 0 0 1 .712.513l.394 1.183c.15.447.5.799.948.948l1.183.395a.75.75 0 0 1 0 1.422l-1.183.395c-.447.15-.799.5-.948.948l-.395 1.183a.75.75 0 0 1-1.422 0l-.395-1.183a1.5 1.5 0 0 0-.948-.948l-1.183-.395a.75.75 0 0 1 0-1.422l1.183-.395c.447-.15.799-.5.948-.948l.395-1.183A.75.75 0 0 1 16.5 15Z",clipRule:"evenodd"}))}const Uj=a.forwardRef(qj);function Gj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M13.5 4.06c0-1.336-1.616-2.005-2.56-1.06l-4.5 4.5H4.508c-1.141 0-2.318.664-2.66 1.905A9.76 9.76 0 0 0 1.5 12c0 .898.121 1.768.35 2.595.341 1.24 1.518 1.905 2.659 1.905h1.93l4.5 4.5c.945.945 2.561.276 2.561-1.06V4.06ZM18.584 5.106a.75.75 0 0 1 1.06 0c3.808 3.807 3.808 9.98 0 13.788a.75.75 0 0 1-1.06-1.06 8.25 8.25 0 0 0 0-11.668.75.75 0 0 1 0-1.06Z"}),a.createElement("path",{d:"M15.932 7.757a.75.75 0 0 1 1.061 0 6 6 0 0 1 0 8.486.75.75 0 0 1-1.06-1.061 4.5 4.5 0 0 0 0-6.364.75.75 0 0 1 0-1.06Z"}))}const Kj=a.forwardRef(Gj);function Yj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M13.5 4.06c0-1.336-1.616-2.005-2.56-1.06l-4.5 4.5H4.508c-1.141 0-2.318.664-2.66 1.905A9.76 9.76 0 0 0 1.5 12c0 .898.121 1.768.35 2.595.341 1.24 1.518 1.905 2.659 1.905h1.93l4.5 4.5c.945.945 2.561.276 2.561-1.06V4.06ZM17.78 9.22a.75.75 0 1 0-1.06 1.06L18.44 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06l1.72-1.72 1.72 1.72a.75.75 0 1 0 1.06-1.06L20.56 12l1.72-1.72a.75.75 0 1 0-1.06-1.06l-1.72 1.72-1.72-1.72Z"}))}const Jj=a.forwardRef(Yj);function Xj({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M16.5 6a3 3 0 0 0-3-3H6a3 3 0 0 0-3 3v7.5a3 3 0 0 0 3 3v-6A4.5 4.5 0 0 1 10.5 6h6Z"}),a.createElement("path",{d:"M18 7.5a3 3 0 0 1 3 3V18a3 3 0 0 1-3 3h-7.5a3 3 0 0 1-3-3v-7.5a3 3 0 0 1 3-3H18Z"}))}const Qj=a.forwardRef(Xj);function eC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M11.644 1.59a.75.75 0 0 1 .712 0l9.75 5.25a.75.75 0 0 1 0 1.32l-9.75 5.25a.75.75 0 0 1-.712 0l-9.75-5.25a.75.75 0 0 1 0-1.32l9.75-5.25Z"}),a.createElement("path",{d:"m3.265 10.602 7.668 4.129a2.25 2.25 0 0 0 2.134 0l7.668-4.13 1.37.739a.75.75 0 0 1 0 1.32l-9.75 5.25a.75.75 0 0 1-.71 0l-9.75-5.25a.75.75 0 0 1 0-1.32l1.37-.738Z"}),a.createElement("path",{d:"m10.933 19.231-7.668-4.13-1.37.739a.75.75 0 0 0 0 1.32l9.75 5.25c.221.12.489.12.71 0l9.75-5.25a.75.75 0 0 0 0-1.32l-1.37-.738-7.668 4.13a2.25 2.25 0 0 1-2.134-.001Z"}))}const tC=a.forwardRef(eC);function rC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M3 6a3 3 0 0 1 3-3h2.25a3 3 0 0 1 3 3v2.25a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Zm9.75 0a3 3 0 0 1 3-3H18a3 3 0 0 1 3 3v2.25a3 3 0 0 1-3 3h-2.25a3 3 0 0 1-3-3V6ZM3 15.75a3 3 0 0 1 3-3h2.25a3 3 0 0 1 3 3V18a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-2.25Zm9.75 0a3 3 0 0 1 3-3H18a3 3 0 0 1 3 3V18a3 3 0 0 1-3 3h-2.25a3 3 0 0 1-3-3v-2.25Z",clipRule:"evenodd"}))}const nC=a.forwardRef(rC);function aC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M6 3a3 3 0 0 0-3 3v2.25a3 3 0 0 0 3 3h2.25a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H6ZM15.75 3a3 3 0 0 0-3 3v2.25a3 3 0 0 0 3 3H18a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3h-2.25ZM6 12.75a3 3 0 0 0-3 3V18a3 3 0 0 0 3 3h2.25a3 3 0 0 0 3-3v-2.25a3 3 0 0 0-3-3H6ZM17.625 13.5a.75.75 0 0 0-1.5 0v2.625H13.5a.75.75 0 0 0 0 1.5h2.625v2.625a.75.75 0 0 0 1.5 0v-2.625h2.625a.75.75 0 0 0 0-1.5h-2.625V13.5Z"}))}const oC=a.forwardRef(aC);function sC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.006 5.404.434c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.434 2.082-5.005Z",clipRule:"evenodd"}))}const lC=a.forwardRef(sC);function iC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm6-2.438c0-.724.588-1.312 1.313-1.312h4.874c.725 0 1.313.588 1.313 1.313v4.874c0 .725-.588 1.313-1.313 1.313H9.564a1.312 1.312 0 0 1-1.313-1.313V9.564Z",clipRule:"evenodd"}))}const cC=a.forwardRef(iC);function dC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M4.5 7.5a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3h-9a3 3 0 0 1-3-3v-9Z",clipRule:"evenodd"}))}const uC=a.forwardRef(dC);function fC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M9.657 4.728c-1.086.385-1.766 1.057-1.979 1.85-.214.8.046 1.733.81 2.616.746.862 1.93 1.612 3.388 2.003.07.019.14.037.21.053h8.163a.75.75 0 0 1 0 1.5h-8.24a.66.66 0 0 1-.02 0H3.75a.75.75 0 0 1 0-1.5h4.78a7.108 7.108 0 0 1-1.175-1.074C6.372 9.042 5.849 7.61 6.229 6.19c.377-1.408 1.528-2.38 2.927-2.876 1.402-.497 3.127-.55 4.855-.086A8.937 8.937 0 0 1 16.94 4.6a.75.75 0 0 1-.881 1.215 7.437 7.437 0 0 0-2.436-1.14c-1.473-.394-2.885-.331-3.966.052Zm6.533 9.632a.75.75 0 0 1 1.03.25c.592.974.846 2.094.55 3.2-.378 1.408-1.529 2.38-2.927 2.876-1.402.497-3.127.55-4.855.087-1.712-.46-3.168-1.354-4.134-2.47a.75.75 0 0 1 1.134-.982c.746.862 1.93 1.612 3.388 2.003 1.473.394 2.884.331 3.966-.052 1.085-.384 1.766-1.056 1.978-1.85.169-.628.046-1.33-.381-2.032a.75.75 0 0 1 .25-1.03Z",clipRule:"evenodd"}))}const mC=a.forwardRef(fC);function hC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M12 2.25a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-1.5 0V3a.75.75 0 0 1 .75-.75ZM7.5 12a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM18.894 6.166a.75.75 0 0 0-1.06-1.06l-1.591 1.59a.75.75 0 1 0 1.06 1.061l1.591-1.59ZM21.75 12a.75.75 0 0 1-.75.75h-2.25a.75.75 0 0 1 0-1.5H21a.75.75 0 0 1 .75.75ZM17.834 18.894a.75.75 0 0 0 1.06-1.06l-1.59-1.591a.75.75 0 1 0-1.061 1.06l1.59 1.591ZM12 18a.75.75 0 0 1 .75.75V21a.75.75 0 0 1-1.5 0v-2.25A.75.75 0 0 1 12 18ZM7.758 17.303a.75.75 0 0 0-1.061-1.06l-1.591 1.59a.75.75 0 0 0 1.06 1.061l1.591-1.59ZM6 12a.75.75 0 0 1-.75.75H3a.75.75 0 0 1 0-1.5h2.25A.75.75 0 0 1 6 12ZM6.697 7.757a.75.75 0 0 0 1.06-1.06l-1.59-1.591a.75.75 0 0 0-1.061 1.06l1.59 1.591Z"}))}const pC=a.forwardRef(hC);function vC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.25 4.125c0-1.036.84-1.875 1.875-1.875h5.25c1.036 0 1.875.84 1.875 1.875V17.25a4.5 4.5 0 1 1-9 0V4.125Zm4.5 14.25a1.125 1.125 0 1 0 0-2.25 1.125 1.125 0 0 0 0 2.25Z",clipRule:"evenodd"}),a.createElement("path",{d:"M10.719 21.75h9.156c1.036 0 1.875-.84 1.875-1.875v-5.25c0-1.036-.84-1.875-1.875-1.875h-.14l-8.742 8.743c-.09.089-.18.175-.274.257ZM12.738 17.625l6.474-6.474a1.875 1.875 0 0 0 0-2.651L15.5 4.787a1.875 1.875 0 0 0-2.651 0l-.1.099V17.25c0 .126-.003.251-.01.375Z"}))}const wC=a.forwardRef(vC);function gC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M1.5 5.625c0-1.036.84-1.875 1.875-1.875h17.25c1.035 0 1.875.84 1.875 1.875v12.75c0 1.035-.84 1.875-1.875 1.875H3.375A1.875 1.875 0 0 1 1.5 18.375V5.625ZM21 9.375A.375.375 0 0 0 20.625 9h-7.5a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375h7.5a.375.375 0 0 0 .375-.375v-1.5Zm0 3.75a.375.375 0 0 0-.375-.375h-7.5a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375h7.5a.375.375 0 0 0 .375-.375v-1.5Zm0 3.75a.375.375 0 0 0-.375-.375h-7.5a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375h7.5a.375.375 0 0 0 .375-.375v-1.5ZM10.875 18.75a.375.375 0 0 0 .375-.375v-1.5a.375.375 0 0 0-.375-.375h-7.5a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375h7.5ZM3.375 15h7.5a.375.375 0 0 0 .375-.375v-1.5a.375.375 0 0 0-.375-.375h-7.5a.375.375 0 0 0-.375.375v1.5c0 .207.168.375.375.375Zm0-3.75h7.5a.375.375 0 0 0 .375-.375v-1.5A.375.375 0 0 0 10.875 9h-7.5A.375.375 0 0 0 3 9.375v1.5c0 .207.168.375.375.375Z",clipRule:"evenodd"}))}const bC=a.forwardRef(gC);function xC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M5.25 2.25a3 3 0 0 0-3 3v4.318a3 3 0 0 0 .879 2.121l9.58 9.581c.92.92 2.39 1.186 3.548.428a18.849 18.849 0 0 0 5.441-5.44c.758-1.16.492-2.629-.428-3.548l-9.58-9.581a3 3 0 0 0-2.122-.879H5.25ZM6.375 7.5a1.125 1.125 0 1 0 0-2.25 1.125 1.125 0 0 0 0 2.25Z",clipRule:"evenodd"}))}const yC=a.forwardRef(xC);function EC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M1.5 6.375c0-1.036.84-1.875 1.875-1.875h17.25c1.035 0 1.875.84 1.875 1.875v3.026a.75.75 0 0 1-.375.65 2.249 2.249 0 0 0 0 3.898.75.75 0 0 1 .375.65v3.026c0 1.035-.84 1.875-1.875 1.875H3.375A1.875 1.875 0 0 1 1.5 17.625v-3.026a.75.75 0 0 1 .374-.65 2.249 2.249 0 0 0 0-3.898.75.75 0 0 1-.374-.65V6.375Zm15-1.125a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-1.5 0V6a.75.75 0 0 1 .75-.75Zm.75 4.5a.75.75 0 0 0-1.5 0v.75a.75.75 0 0 0 1.5 0v-.75Zm-.75 3a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-1.5 0v-.75a.75.75 0 0 1 .75-.75Zm.75 4.5a.75.75 0 0 0-1.5 0V18a.75.75 0 0 0 1.5 0v-.75ZM6 12a.75.75 0 0 1 .75-.75H12a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 12Zm.75 2.25a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z",clipRule:"evenodd"}))}const kC=a.forwardRef(EC);function RC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M16.5 4.478v.227a48.816 48.816 0 0 1 3.878.512.75.75 0 1 1-.256 1.478l-.209-.035-1.005 13.07a3 3 0 0 1-2.991 2.77H8.084a3 3 0 0 1-2.991-2.77L4.087 6.66l-.209.035a.75.75 0 0 1-.256-1.478A48.567 48.567 0 0 1 7.5 4.705v-.227c0-1.564 1.213-2.9 2.816-2.951a52.662 52.662 0 0 1 3.369 0c1.603.051 2.815 1.387 2.815 2.951Zm-6.136-1.452a51.196 51.196 0 0 1 3.273 0C14.39 3.05 15 3.684 15 4.478v.113a49.488 49.488 0 0 0-6 0v-.113c0-.794.609-1.428 1.364-1.452Zm-.355 5.945a.75.75 0 1 0-1.5.058l.347 9a.75.75 0 1 0 1.499-.058l-.346-9Zm5.48.058a.75.75 0 1 0-1.498-.058l-.347 9a.75.75 0 0 0 1.5.058l.345-9Z",clipRule:"evenodd"}))}const jC=a.forwardRef(RC);function CC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M5.166 2.621v.858c-1.035.148-2.059.33-3.071.543a.75.75 0 0 0-.584.859 6.753 6.753 0 0 0 6.138 5.6 6.73 6.73 0 0 0 2.743 1.346A6.707 6.707 0 0 1 9.279 15H8.54c-1.036 0-1.875.84-1.875 1.875V19.5h-.75a2.25 2.25 0 0 0-2.25 2.25c0 .414.336.75.75.75h15a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-2.25-2.25h-.75v-2.625c0-1.036-.84-1.875-1.875-1.875h-.739a6.706 6.706 0 0 1-1.112-3.173 6.73 6.73 0 0 0 2.743-1.347 6.753 6.753 0 0 0 6.139-5.6.75.75 0 0 0-.585-.858 47.077 47.077 0 0 0-3.07-.543V2.62a.75.75 0 0 0-.658-.744 49.22 49.22 0 0 0-6.093-.377c-2.063 0-4.096.128-6.093.377a.75.75 0 0 0-.657.744Zm0 2.629c0 1.196.312 2.32.857 3.294A5.266 5.266 0 0 1 3.16 5.337a45.6 45.6 0 0 1 2.006-.343v.256Zm13.5 0v-.256c.674.1 1.343.214 2.006.343a5.265 5.265 0 0 1-2.863 3.207 6.72 6.72 0 0 0 .857-3.294Z",clipRule:"evenodd"}))}const MC=a.forwardRef(CC);function AC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M3.375 4.5C2.339 4.5 1.5 5.34 1.5 6.375V13.5h12V6.375c0-1.036-.84-1.875-1.875-1.875h-8.25ZM13.5 15h-12v2.625c0 1.035.84 1.875 1.875 1.875h.375a3 3 0 1 1 6 0h3a.75.75 0 0 0 .75-.75V15Z"}),a.createElement("path",{d:"M8.25 19.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0ZM15.75 6.75a.75.75 0 0 0-.75.75v11.25c0 .087.015.17.042.248a3 3 0 0 1 5.958.464c.853-.175 1.522-.935 1.464-1.883a18.659 18.659 0 0 0-3.732-10.104 1.837 1.837 0 0 0-1.47-.725H15.75Z"}),a.createElement("path",{d:"M19.5 19.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0Z"}))}const SC=a.forwardRef(AC);function $C({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M19.5 6h-15v9h15V6Z"}),a.createElement("path",{fillRule:"evenodd",d:"M3.375 3C2.339 3 1.5 3.84 1.5 4.875v11.25C1.5 17.16 2.34 18 3.375 18H9.75v1.5H6A.75.75 0 0 0 6 21h12a.75.75 0 0 0 0-1.5h-3.75V18h6.375c1.035 0 1.875-.84 1.875-1.875V4.875C22.5 3.839 21.66 3 20.625 3H3.375Zm0 13.5h17.25a.375.375 0 0 0 .375-.375V4.875a.375.375 0 0 0-.375-.375H3.375A.375.375 0 0 0 3 4.875v11.25c0 .207.168.375.375.375Z",clipRule:"evenodd"}))}const LC=a.forwardRef($C);function OC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M5.995 2.994a.75.75 0 0 1 .75.75v7.5a5.25 5.25 0 1 0 10.5 0v-7.5a.75.75 0 0 1 1.5 0v7.5a6.75 6.75 0 1 1-13.5 0v-7.5a.75.75 0 0 1 .75-.75Zm-3 17.252a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5h-16.5a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))}const NC=a.forwardRef(OC);function FC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M18.685 19.097A9.723 9.723 0 0 0 21.75 12c0-5.385-4.365-9.75-9.75-9.75S2.25 6.615 2.25 12a9.723 9.723 0 0 0 3.065 7.097A9.716 9.716 0 0 0 12 21.75a9.716 9.716 0 0 0 6.685-2.653Zm-12.54-1.285A7.486 7.486 0 0 1 12 15a7.486 7.486 0 0 1 5.855 2.812A8.224 8.224 0 0 1 12 20.25a8.224 8.224 0 0 1-5.855-2.438ZM15.75 9a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z",clipRule:"evenodd"}))}const IC=a.forwardRef(FC);function ZC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M8.25 6.75a3.75 3.75 0 1 1 7.5 0 3.75 3.75 0 0 1-7.5 0ZM15.75 9.75a3 3 0 1 1 6 0 3 3 0 0 1-6 0ZM2.25 9.75a3 3 0 1 1 6 0 3 3 0 0 1-6 0ZM6.31 15.117A6.745 6.745 0 0 1 12 12a6.745 6.745 0 0 1 6.709 7.498.75.75 0 0 1-.372.568A12.696 12.696 0 0 1 12 21.75c-2.305 0-4.47-.612-6.337-1.684a.75.75 0 0 1-.372-.568 6.787 6.787 0 0 1 1.019-4.38Z",clipRule:"evenodd"}),a.createElement("path",{d:"M5.082 14.254a8.287 8.287 0 0 0-1.308 5.135 9.687 9.687 0 0 1-1.764-.44l-.115-.04a.563.563 0 0 1-.373-.487l-.01-.121a3.75 3.75 0 0 1 3.57-4.047ZM20.226 19.389a8.287 8.287 0 0 0-1.308-5.135 3.75 3.75 0 0 1 3.57 4.047l-.01.121a.563.563 0 0 1-.373.486l-.115.04c-.567.2-1.156.349-1.764.441Z"}))}const BC=a.forwardRef(ZC);function VC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M10.375 2.25a4.125 4.125 0 1 0 0 8.25 4.125 4.125 0 0 0 0-8.25ZM10.375 12a7.125 7.125 0 0 0-7.124 7.247.75.75 0 0 0 .363.63 13.067 13.067 0 0 0 6.761 1.873c2.472 0 4.786-.684 6.76-1.873a.75.75 0 0 0 .364-.63l.001-.12v-.002A7.125 7.125 0 0 0 10.375 12ZM16 9.75a.75.75 0 0 0 0 1.5h6a.75.75 0 0 0 0-1.5h-6Z"}))}const TC=a.forwardRef(VC);function DC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M5.25 6.375a4.125 4.125 0 1 1 8.25 0 4.125 4.125 0 0 1-8.25 0ZM2.25 19.125a7.125 7.125 0 0 1 14.25 0v.003l-.001.119a.75.75 0 0 1-.363.63 13.067 13.067 0 0 1-6.761 1.873c-2.472 0-4.786-.684-6.76-1.873a.75.75 0 0 1-.364-.63l-.001-.122ZM18.75 7.5a.75.75 0 0 0-1.5 0v2.25H15a.75.75 0 0 0 0 1.5h2.25v2.25a.75.75 0 0 0 1.5 0v-2.25H21a.75.75 0 0 0 0-1.5h-2.25V7.5Z"}))}const HC=a.forwardRef(DC);function _C({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M7.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3.751 20.105a8.25 8.25 0 0 1 16.498 0 .75.75 0 0 1-.437.695A18.683 18.683 0 0 1 12 22.5c-2.786 0-5.433-.608-7.812-1.7a.75.75 0 0 1-.437-.695Z",clipRule:"evenodd"}))}const PC=a.forwardRef(_C);function WC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M4.5 6.375a4.125 4.125 0 1 1 8.25 0 4.125 4.125 0 0 1-8.25 0ZM14.25 8.625a3.375 3.375 0 1 1 6.75 0 3.375 3.375 0 0 1-6.75 0ZM1.5 19.125a7.125 7.125 0 0 1 14.25 0v.003l-.001.119a.75.75 0 0 1-.363.63 13.067 13.067 0 0 1-6.761 1.873c-2.472 0-4.786-.684-6.76-1.873a.75.75 0 0 1-.364-.63l-.001-.122ZM17.25 19.128l-.001.144a2.25 2.25 0 0 1-.233.96 10.088 10.088 0 0 0 5.06-1.01.75.75 0 0 0 .42-.643 4.875 4.875 0 0 0-6.957-4.611 8.586 8.586 0 0 1 1.71 5.157v.003Z"}))}const zC=a.forwardRef(WC);function qC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M19.253 2.292a.75.75 0 0 1 .955.461A28.123 28.123 0 0 1 21.75 12c0 3.266-.547 6.388-1.542 9.247a.75.75 0 1 1-1.416-.494c.94-2.7 1.458-5.654 1.458-8.753s-.519-6.054-1.458-8.754a.75.75 0 0 1 .461-.954Zm-14.227.013a.75.75 0 0 1 .414.976A23.183 23.183 0 0 0 3.75 12c0 3.085.6 6.027 1.69 8.718a.75.75 0 0 1-1.39.563c-1.161-2.867-1.8-6-1.8-9.281 0-3.28.639-6.414 1.8-9.281a.75.75 0 0 1 .976-.414Zm4.275 5.052a1.5 1.5 0 0 1 2.21.803l.716 2.148L13.6 8.246a2.438 2.438 0 0 1 2.978-.892l.213.09a.75.75 0 1 1-.584 1.381l-.214-.09a.937.937 0 0 0-1.145.343l-2.021 3.033 1.084 3.255 1.445-.89a.75.75 0 1 1 .786 1.278l-1.444.889a1.5 1.5 0 0 1-2.21-.803l-.716-2.148-1.374 2.062a2.437 2.437 0 0 1-2.978.892l-.213-.09a.75.75 0 0 1 .584-1.381l.214.09a.938.938 0 0 0 1.145-.344l2.021-3.032-1.084-3.255-1.445.89a.75.75 0 1 1-.786-1.278l1.444-.89Z",clipRule:"evenodd"}))}const UC=a.forwardRef(qC);function GC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M.97 3.97a.75.75 0 0 1 1.06 0l15 15a.75.75 0 1 1-1.06 1.06l-15-15a.75.75 0 0 1 0-1.06ZM17.25 16.06l2.69 2.69c.944.945 2.56.276 2.56-1.06V6.31c0-1.336-1.616-2.005-2.56-1.06l-2.69 2.69v8.12ZM15.75 7.5v8.068L4.682 4.5h8.068a3 3 0 0 1 3 3ZM1.5 16.5V7.682l11.773 11.773c-.17.03-.345.045-.523.045H4.5a3 3 0 0 1-3-3Z"}))}const KC=a.forwardRef(GC);function YC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M4.5 4.5a3 3 0 0 0-3 3v9a3 3 0 0 0 3 3h8.25a3 3 0 0 0 3-3v-9a3 3 0 0 0-3-3H4.5ZM19.94 18.75l-2.69-2.69V7.94l2.69-2.69c.944-.945 2.56-.276 2.56 1.06v11.38c0 1.336-1.616 2.005-2.56 1.06Z"}))}const JC=a.forwardRef(YC);function XC({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M15 3.75H9v16.5h6V3.75ZM16.5 20.25h3.375c1.035 0 1.875-.84 1.875-1.875V5.625c0-1.036-.84-1.875-1.875-1.875H16.5v16.5ZM4.125 3.75H7.5v16.5H4.125a1.875 1.875 0 0 1-1.875-1.875V5.625c0-1.036.84-1.875 1.875-1.875Z"}))}const QC=a.forwardRef(XC);function eM({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M6 3a3 3 0 0 0-3 3v1.5a.75.75 0 0 0 1.5 0V6A1.5 1.5 0 0 1 6 4.5h1.5a.75.75 0 0 0 0-1.5H6ZM16.5 3a.75.75 0 0 0 0 1.5H18A1.5 1.5 0 0 1 19.5 6v1.5a.75.75 0 0 0 1.5 0V6a3 3 0 0 0-3-3h-1.5ZM12 8.25a3.75 3.75 0 1 0 0 7.5 3.75 3.75 0 0 0 0-7.5ZM4.5 16.5a.75.75 0 0 0-1.5 0V18a3 3 0 0 0 3 3h1.5a.75.75 0 0 0 0-1.5H6A1.5 1.5 0 0 1 4.5 18v-1.5ZM21 16.5a.75.75 0 0 0-1.5 0V18a1.5 1.5 0 0 1-1.5 1.5h-1.5a.75.75 0 0 0 0 1.5H18a3 3 0 0 0 3-3v-1.5Z"}))}const tM=a.forwardRef(eM);function rM({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M2.273 5.625A4.483 4.483 0 0 1 5.25 4.5h13.5c1.141 0 2.183.425 2.977 1.125A3 3 0 0 0 18.75 3H5.25a3 3 0 0 0-2.977 2.625ZM2.273 8.625A4.483 4.483 0 0 1 5.25 7.5h13.5c1.141 0 2.183.425 2.977 1.125A3 3 0 0 0 18.75 6H5.25a3 3 0 0 0-2.977 2.625ZM5.25 9a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h13.5a3 3 0 0 0 3-3v-6a3 3 0 0 0-3-3H15a.75.75 0 0 0-.75.75 2.25 2.25 0 0 1-4.5 0A.75.75 0 0 0 9 9H5.25Z"}))}const nM=a.forwardRef(rM);function aM({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M1.371 8.143c5.858-5.857 15.356-5.857 21.213 0a.75.75 0 0 1 0 1.061l-.53.53a.75.75 0 0 1-1.06 0c-4.98-4.979-13.053-4.979-18.032 0a.75.75 0 0 1-1.06 0l-.53-.53a.75.75 0 0 1 0-1.06Zm3.182 3.182c4.1-4.1 10.749-4.1 14.85 0a.75.75 0 0 1 0 1.061l-.53.53a.75.75 0 0 1-1.062 0 8.25 8.25 0 0 0-11.667 0 .75.75 0 0 1-1.06 0l-.53-.53a.75.75 0 0 1 0-1.06Zm3.204 3.182a6 6 0 0 1 8.486 0 .75.75 0 0 1 0 1.061l-.53.53a.75.75 0 0 1-1.061 0 3.75 3.75 0 0 0-5.304 0 .75.75 0 0 1-1.06 0l-.53-.53a.75.75 0 0 1 0-1.06Zm3.182 3.182a1.5 1.5 0 0 1 2.122 0 .75.75 0 0 1 0 1.061l-.53.53a.75.75 0 0 1-1.061 0l-.53-.53a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const oM=a.forwardRef(aM);function sM({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M2.25 6a3 3 0 0 1 3-3h13.5a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V6Zm18 3H3.75v9a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5V9Zm-15-3.75A.75.75 0 0 0 4.5 6v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V6a.75.75 0 0 0-.75-.75H5.25Zm1.5.75a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H7.5a.75.75 0 0 1-.75-.75V6Zm3-.75A.75.75 0 0 0 9 6v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V6a.75.75 0 0 0-.75-.75H9.75Z",clipRule:"evenodd"}))}const lM=a.forwardRef(sM);function iM({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 6.75a5.25 5.25 0 0 1 6.775-5.025.75.75 0 0 1 .313 1.248l-3.32 3.319c.063.475.276.934.641 1.299.365.365.824.578 1.3.64l3.318-3.319a.75.75 0 0 1 1.248.313 5.25 5.25 0 0 1-5.472 6.756c-1.018-.086-1.87.1-2.309.634L7.344 21.3A3.298 3.298 0 1 1 2.7 16.657l8.684-7.151c.533-.44.72-1.291.634-2.309A5.342 5.342 0 0 1 12 6.75ZM4.117 19.125a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Z",clipRule:"evenodd"}),a.createElement("path",{d:"m10.076 8.64-2.201-2.2V4.874a.75.75 0 0 0-.364-.643l-3.75-2.25a.75.75 0 0 0-.916.113l-.75.75a.75.75 0 0 0-.113.916l2.25 3.75a.75.75 0 0 0 .643.364h1.564l2.062 2.062 1.575-1.297Z"}),a.createElement("path",{fillRule:"evenodd",d:"m12.556 17.329 4.183 4.182a3.375 3.375 0 0 0 4.773-4.773l-3.306-3.305a6.803 6.803 0 0 1-1.53.043c-.394-.034-.682-.006-.867.042a.589.589 0 0 0-.167.063l-3.086 3.748Zm3.414-1.36a.75.75 0 0 1 1.06 0l1.875 1.876a.75.75 0 1 1-1.06 1.06L15.97 17.03a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const cM=a.forwardRef(iM);function dM({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 6.75a5.25 5.25 0 0 1 6.775-5.025.75.75 0 0 1 .313 1.248l-3.32 3.319c.063.475.276.934.641 1.299.365.365.824.578 1.3.64l3.318-3.319a.75.75 0 0 1 1.248.313 5.25 5.25 0 0 1-5.472 6.756c-1.018-.086-1.87.1-2.309.634L7.344 21.3A3.298 3.298 0 1 1 2.7 16.657l8.684-7.151c.533-.44.72-1.291.634-2.309A5.342 5.342 0 0 1 12 6.75ZM4.117 19.125a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Z",clipRule:"evenodd"}))}const uM=a.forwardRef(dM);function fM({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-1.72 6.97a.75.75 0 1 0-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06L12 13.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L13.06 12l1.72-1.72a.75.75 0 1 0-1.06-1.06L12 10.94l-1.72-1.72Z",clipRule:"evenodd"}))}const mM=a.forwardRef(fM);function hM({title:e,titleId:t,...r},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M5.47 5.47a.75.75 0 0 1 1.06 0L12 10.94l5.47-5.47a.75.75 0 1 1 1.06 1.06L13.06 12l5.47 5.47a.75.75 0 1 1-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 0 1-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const pM=a.forwardRef(hM),an=Object.freeze(Object.defineProperty({__proto__:null,AcademicCapIcon:gv,AdjustmentsHorizontalIcon:xv,AdjustmentsVerticalIcon:Ev,ArchiveBoxArrowDownIcon:Rv,ArchiveBoxIcon:Av,ArchiveBoxXMarkIcon:Cv,ArrowDownCircleIcon:$v,ArrowDownIcon:_v,ArrowDownLeftIcon:Ov,ArrowDownOnSquareIcon:Zv,ArrowDownOnSquareStackIcon:Fv,ArrowDownRightIcon:Vv,ArrowDownTrayIcon:Dv,ArrowLeftCircleIcon:Wv,ArrowLeftEndOnRectangleIcon:qv,ArrowLeftIcon:Xv,ArrowLeftOnRectangleIcon:Gv,ArrowLeftStartOnRectangleIcon:Yv,ArrowLongDownIcon:ew,ArrowLongLeftIcon:rw,ArrowLongRightIcon:aw,ArrowLongUpIcon:sw,ArrowPathIcon:dw,ArrowPathRoundedSquareIcon:iw,ArrowRightCircleIcon:fw,ArrowRightEndOnRectangleIcon:hw,ArrowRightIcon:xw,ArrowRightOnRectangleIcon:vw,ArrowRightStartOnRectangleIcon:gw,ArrowSmallDownIcon:Ew,ArrowSmallLeftIcon:Rw,ArrowSmallRightIcon:Cw,ArrowSmallUpIcon:Aw,ArrowTopRightOnSquareIcon:$w,ArrowTrendingDownIcon:Ow,ArrowTrendingUpIcon:Fw,ArrowTurnDownLeftIcon:Zw,ArrowTurnDownRightIcon:Vw,ArrowTurnLeftDownIcon:Dw,ArrowTurnLeftUpIcon:_w,ArrowTurnRightDownIcon:Ww,ArrowTurnRightUpIcon:qw,ArrowTurnUpLeftIcon:Gw,ArrowTurnUpRightIcon:Yw,ArrowUpCircleIcon:Xw,ArrowUpIcon:dg,ArrowUpLeftIcon:eg,ArrowUpOnSquareIcon:ag,ArrowUpOnSquareStackIcon:rg,ArrowUpRightIcon:sg,ArrowUpTrayIcon:ig,ArrowUturnDownIcon:fg,ArrowUturnLeftIcon:hg,ArrowUturnRightIcon:vg,ArrowUturnUpIcon:gg,ArrowsPointingInIcon:xg,ArrowsPointingOutIcon:Eg,ArrowsRightLeftIcon:Rg,ArrowsUpDownIcon:Cg,AtSymbolIcon:Ag,BackspaceIcon:$g,BackwardIcon:Og,BanknotesIcon:Fg,Bars2Icon:Zg,Bars3BottomLeftIcon:Vg,Bars3BottomRightIcon:Dg,Bars3CenterLeftIcon:_g,Bars3Icon:Wg,Bars4Icon:qg,BarsArrowDownIcon:Gg,BarsArrowUpIcon:Yg,Battery0Icon:Xg,Battery100Icon:e9,Battery50Icon:r9,BeakerIcon:a9,BellAlertIcon:s9,BellIcon:f9,BellSlashIcon:i9,BellSnoozeIcon:d9,BoldIcon:h9,BoltIcon:g9,BoltSlashIcon:v9,BookOpenIcon:x9,BookmarkIcon:C9,BookmarkSlashIcon:E9,BookmarkSquareIcon:R9,BriefcaseIcon:A9,BugAntIcon:$9,BuildingLibraryIcon:O9,BuildingOffice2Icon:F9,BuildingOfficeIcon:Z9,BuildingStorefrontIcon:V9,CakeIcon:D9,CalculatorIcon:_9,CalendarDateRangeIcon:W9,CalendarDaysIcon:q9,CalendarIcon:G9,CameraIcon:Y9,ChartBarIcon:eb,ChartBarSquareIcon:X9,ChartPieIcon:rb,ChatBubbleBottomCenterIcon:sb,ChatBubbleBottomCenterTextIcon:ab,ChatBubbleLeftEllipsisIcon:ib,ChatBubbleLeftIcon:fb,ChatBubbleLeftRightIcon:db,ChatBubbleOvalLeftEllipsisIcon:hb,ChatBubbleOvalLeftIcon:vb,CheckBadgeIcon:gb,CheckCircleIcon:xb,CheckIcon:Ui,ChevronDoubleDownIcon:kb,ChevronDoubleLeftIcon:jb,ChevronDoubleRightIcon:Mb,ChevronDoubleUpIcon:Sb,ChevronDownIcon:Lb,ChevronLeftIcon:Nb,ChevronRightIcon:Ib,ChevronUpDownIcon:Bb,ChevronUpIcon:Tb,CircleStackIcon:Hb,ClipboardDocumentCheckIcon:Pb,ClipboardDocumentIcon:Ub,ClipboardDocumentListIcon:zb,ClipboardIcon:Kb,ClockIcon:Jb,CloudArrowDownIcon:Qb,CloudArrowUpIcon:tx,CloudIcon:nx,CodeBracketIcon:lx,CodeBracketSquareIcon:ox,Cog6ToothIcon:cx,Cog8ToothIcon:ux,CogIcon:mx,CommandLineIcon:px,ComputerDesktopIcon:wx,CpuChipIcon:bx,CreditCardIcon:yx,CubeIcon:jx,CubeTransparentIcon:kx,CurrencyBangladeshiIcon:Mx,CurrencyDollarIcon:Sx,CurrencyEuroIcon:Lx,CurrencyPoundIcon:Nx,CurrencyRupeeIcon:Ix,CurrencyYenIcon:Bx,CursorArrowRaysIcon:Tx,CursorArrowRippleIcon:Hx,DevicePhoneMobileIcon:Px,DeviceTabletIcon:zx,DivideIcon:Ux,DocumentArrowDownIcon:Kx,DocumentArrowUpIcon:Jx,DocumentChartBarIcon:Qx,DocumentCheckIcon:ty,DocumentCurrencyBangladeshiIcon:ny,DocumentCurrencyDollarIcon:oy,DocumentCurrencyEuroIcon:ly,DocumentCurrencyPoundIcon:cy,DocumentCurrencyRupeeIcon:uy,DocumentCurrencyYenIcon:my,DocumentDuplicateIcon:py,DocumentIcon:jy,DocumentMagnifyingGlassIcon:wy,DocumentMinusIcon:by,DocumentPlusIcon:yy,DocumentTextIcon:ky,EllipsisHorizontalCircleIcon:My,EllipsisHorizontalIcon:Sy,EllipsisVerticalIcon:Ly,EnvelopeIcon:Iy,EnvelopeOpenIcon:Ny,EqualsIcon:By,ExclamationCircleIcon:Ty,ExclamationTriangleIcon:Hy,EyeDropperIcon:Py,EyeIcon:Uy,EyeSlashIcon:zy,FaceFrownIcon:Ky,FaceSmileIcon:Jy,FilmIcon:Qy,FingerPrintIcon:tE,FireIcon:nE,FlagIcon:oE,FolderArrowDownIcon:lE,FolderIcon:pE,FolderMinusIcon:cE,FolderOpenIcon:uE,FolderPlusIcon:mE,ForwardIcon:wE,FunnelIcon:bE,GifIcon:yE,GiftIcon:jE,GiftTopIcon:kE,GlobeAltIcon:ME,GlobeAmericasIcon:SE,GlobeAsiaAustraliaIcon:LE,GlobeEuropeAfricaIcon:NE,H1Icon:IE,H2Icon:BE,H3Icon:TE,HandRaisedIcon:HE,HandThumbDownIcon:PE,HandThumbUpIcon:zE,HashtagIcon:UE,HeartIcon:KE,HomeIcon:QE,HomeModernIcon:JE,IdentificationIcon:tk,InboxArrowDownIcon:nk,InboxIcon:lk,InboxStackIcon:ok,InformationCircleIcon:ck,ItalicIcon:uk,KeyIcon:mk,LanguageIcon:pk,LifebuoyIcon:wk,LightBulbIcon:bk,LinkIcon:kk,LinkSlashIcon:yk,ListBulletIcon:jk,LockClosedIcon:Mk,LockOpenIcon:Sk,MagnifyingGlassCircleIcon:Lk,MagnifyingGlassIcon:Bk,MagnifyingGlassMinusIcon:Nk,MagnifyingGlassPlusIcon:Ik,MapIcon:Hk,MapPinIcon:Tk,MegaphoneIcon:Pk,MicrophoneIcon:zk,MinusCircleIcon:Uk,MinusIcon:Jk,MinusSmallIcon:Kk,MoonIcon:Qk,MusicalNoteIcon:tR,NewspaperIcon:nR,NoSymbolIcon:oR,NumberedListIcon:lR,PaintBrushIcon:cR,PaperAirplaneIcon:uR,PaperClipIcon:mR,PauseCircleIcon:pR,PauseIcon:wR,PencilIcon:yR,PencilSquareIcon:bR,PercentBadgeIcon:kR,PhoneArrowDownLeftIcon:jR,PhoneArrowUpRightIcon:MR,PhoneIcon:LR,PhoneXMarkIcon:SR,PhotoIcon:NR,PlayCircleIcon:IR,PlayIcon:TR,PlayPauseIcon:BR,PlusCircleIcon:HR,PlusIcon:zR,PlusSmallIcon:PR,PowerIcon:UR,PresentationChartBarIcon:KR,PresentationChartLineIcon:JR,PrinterIcon:QR,PuzzlePieceIcon:tj,QrCodeIcon:nj,QuestionMarkCircleIcon:oj,QueueListIcon:lj,RadioIcon:cj,ReceiptPercentIcon:uj,ReceiptRefundIcon:mj,RectangleGroupIcon:pj,RectangleStackIcon:wj,RocketLaunchIcon:bj,RssIcon:yj,ScaleIcon:kj,ScissorsIcon:jj,ServerIcon:Sj,ServerStackIcon:Mj,ShareIcon:Lj,ShieldCheckIcon:Nj,ShieldExclamationIcon:Ij,ShoppingBagIcon:Bj,ShoppingCartIcon:Tj,SignalIcon:Pj,SignalSlashIcon:Hj,SlashIcon:zj,SparklesIcon:Uj,SpeakerWaveIcon:Kj,SpeakerXMarkIcon:Jj,Square2StackIcon:Qj,Square3Stack3DIcon:tC,Squares2X2Icon:nC,SquaresPlusIcon:oC,StarIcon:lC,StopCircleIcon:cC,StopIcon:uC,StrikethroughIcon:mC,SunIcon:pC,SwatchIcon:wC,TableCellsIcon:bC,TagIcon:yC,TicketIcon:kC,TrashIcon:jC,TrophyIcon:MC,TruckIcon:SC,TvIcon:LC,UnderlineIcon:NC,UserCircleIcon:IC,UserGroupIcon:BC,UserIcon:PC,UserMinusIcon:TC,UserPlusIcon:HC,UsersIcon:zC,VariableIcon:UC,VideoCameraIcon:JC,VideoCameraSlashIcon:KC,ViewColumnsIcon:QC,ViewfinderCircleIcon:tM,WalletIcon:nM,WifiIcon:oM,WindowIcon:lM,WrenchIcon:uM,WrenchScrewdriverIcon:cM,XCircleIcon:mM,XMarkIcon:pM},Symbol.toStringTag,{value:"Module"})),vM={sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6"},wM={sm:"w-3 h-3",md:"w-3.5 h-3.5",lg:"w-4 h-4"};function bt({control:e=null,name:t,rules:r,defaultValue:n=!1,label:o,labelHidden:l=!1,disabled:i=!1,size:c="sm",className:d,hasError:u=!1,errorMessage:f="",checked:m,onChange:h}){const g=de("text-[var(--color-ds-text-primary)] text-ds-sm",i&&"text-[var(--color-ds-text-secondary)]",l&&"sr-only"),w=(x,y,b)=>{const p=u||!!b,E=(b==null?void 0:b.message)||f,R=de("inline-flex items-center justify-center rounded-[6px] border transition-all duration-150",vM[c],"bg-[var(--color-ds-background-page)]","border-[var(--color-ds-border-default-50)]","shadow-[0_0_0_1px_color-mix(in_srgb,var(--color-ds-border-default)20%,transparent)]","peer-focus-visible:outline-none peer-focus-visible:ring-2 peer-focus-visible:ring-[var(--color-ds-border-default)]","hover:border-[var(--color-ds-border-default)]",x&&"bg-[var(--color-ds-button-primary-bg)] border-[var(--color-ds-button-primary-bg)]",p&&"border-[var(--color-ds-border-error)] shadow-[0_0_0_1px_color-mix(in_srgb,var(--color-ds-border-error)30%,transparent)]",i&&"opacity-60 cursor-not-allowed"),j=de(wM[c],"text-[var(--color-ds-button-primary-text)]","transition-all duration-150",x?"opacity-100 scale-100":"opacity-0 scale-75");return s.jsxs("div",{className:de("flex flex-col gap-1",d),children:[s.jsxs("label",{className:de("inline-flex items-center gap-2 cursor-pointer select-none",i&&"cursor-not-allowed"),children:[s.jsxs("span",{className:"relative inline-flex items-center justify-center",children:[s.jsx("input",{id:t,type:"checkbox",className:"peer sr-only",checked:x,onChange:A=>y(A.target.checked),disabled:i}),s.jsx("span",{"aria-hidden":!0,className:R,children:s.jsx(Ui,{className:j})})]}),o&&s.jsx("span",{className:g,children:o})]}),p&&!!E&&s.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:E})]})};return e?s.jsx(Et,{name:t||"",control:e,rules:r,defaultValue:n,render:({field:x,fieldState:y})=>{const b=y.error;return w(!!x.value,p=>x.onChange(p),b)}}):w(!!m,x=>h==null?void 0:h(x))}function fs({name:e,control:t,searchFn:r,resolveByValue:n,label:o,size:l="sm",width:i="100%",disabled:c=!1,searchMode:d="button",minChars:u=3,debounceMs:f=600,labelPrefixIcon:m,labelSuffixIcon:h,prefixIcon:g,suffixIcon:w}){const x=vn(),{watch:y,getValues:b,setValue:p}=x,E=ns({control:t,name:e}),[R,j]=v.useState([]),[A,S]=v.useState(!1),[N,B]=v.useState(!1),[$,_]=v.useState(""),W=v.useRef(null),K=v.useRef(null),Q=v.useRef(!1),q=v.useRef(!1),ce=v.useRef(!0),U=v.useMemo(()=>{const J=new Map;for(const T of R)J.set(String(T.value).trim(),T.label??"");return J},[R]),M=async J=>{const T=(J??"").trim();if(!T){j([]),B(!1);return}S(!0);try{const Z=await r(T,{watch:y,getValues:b});j(Z??[]),B(!0)}finally{S(!1)}};v.useEffect(()=>{function J(T){W.current&&!W.current.contains(T.target)&&B(!1)}if(N)return document.addEventListener("mousedown",J),()=>document.removeEventListener("mousedown",J)},[N]),v.useEffect(()=>{if(Q.current)return;const T=(E?String(E):"").trim();if(!T){_(""),B(!1);return}const Z=U.get(T);if(Z){_(Z),B(!1),ce.current=!0;return}let te=!1;return(async()=>{if(n)try{const me=await n(T,{watch:y,getValues:b});te||(_((me==null?void 0:me.label)??T),B(!1),ce.current=!0)}catch{te||(_(T),B(!1),ce.current=!0)}else _(T),B(!1),ce.current=!0})(),()=>{te=!0}},[E,U,n,y,b]),v.useEffect(()=>{if(d!=="debounced"||c)return;if(ce.current){ce.current=!1;return}if(!q.current)return;K.current&&(window.clearTimeout(K.current),K.current=null);const J=($||"").trim();return J.length>=u?K.current=window.setTimeout(()=>{M(J)},f):(j([]),B(!1)),()=>{K.current&&(window.clearTimeout(K.current),K.current=null)}},[$,d,u,f,c]);const F=l==="sm"?"text-ds-sm":l==="md"?"text-ds-md":"text-ds-lg",ae=l==="sm"?"h-6":l==="md"?"h-10":"h-12",O=J=>{if(c)return;const T=($||"").trim();J.key==="Enter"&&(J.preventDefault(),d==="debounced"?T.length>=u&&M(T):M(T)),J.key==="Escape"&&B(!1)};return s.jsx(Et,{name:e,control:t,render:({field:J,fieldState:T})=>{var Z;return s.jsxs("div",{ref:W,className:"relative flex flex-col",style:{width:i},children:[o&&s.jsx("label",{className:`pb-2 text-[var(--color-ds-text-primary)] ${F}`,children:s.jsxs("span",{className:"inline-flex items-center gap-1 align-middle w-full",children:[m?s.jsx(Xe,{component:m,size:l,className:"opacity-80"}):null,s.jsx("span",{className:"w-full",children:o}),h?s.jsx(Xe,{component:h,size:l,className:"opacity-80"}):null]})}),s.jsx(Re,{className:d==="button"?"rounded-r-none":void 0,type:"text",size:l,width:"100%",value:$,prefixIcon:g,suffixIcon:w,onChange:te=>{const me=te.target.value;Q.current=!0,q.current=!0,_(me),(E?String(E):"").trim()&&p(e,"",{shouldDirty:!0})},onKeyDown:O,onBlur:()=>{Q.current=!1},disabled:c,hasError:T.invalid,errorMessage:(Z=T.error)==null?void 0:Z.message,onFocus:()=>{if(Q.current=!0,d==="button"&&q.current){const te=($||"").trim();te&&M(te)}},suffixButton:d==="button"?s.jsx(ie,{type:"button",className:"!rounded-l-none",size:l,variant:"primary",onClick:()=>M(($||"").trim()),disabled:c,children:"Buscar"}):void 0}),A&&s.jsx("div",{className:"absolute top-14 left-0 right-0 z-10",children:s.jsx(zt,{width:"100%",height:l==="sm"?"1.5rem":l==="md"?"2.5rem":"3rem",variant:"rect",className:"rounded-lg"})}),N&&!A&&R.length>0&&s.jsx("ul",{className:`
30
46
  absolute top-14 left-0 right-0
31
47
  border-[var(--color-ds-border-default)]
32
48
  rounded-lg bg-[var(--color-ds-background-page)]
33
- shadow-lg ${S} max-h-48 overflow-auto z-10
34
- `,children:x.map(z=>o.jsx("li",{className:`px-2 ${te} flex items-center cursor-pointer
49
+ shadow-lg ${F} max-h-48 overflow-auto z-10
50
+ `,children:R.map(te=>s.jsx("li",{className:`px-2 ${ae} flex items-center cursor-pointer
35
51
  text-[var(--color-ds-text-primary)]
36
- hover:bg-[var(--color-ds-background-surface)]`,onClick:()=>{const Y=String(z.value).trim();g(e,Y,{shouldDirty:!0,shouldValidate:!0}),C(z.label??Y),U.current=!1,V.current=!1,k(!1)},children:z.label},String(z.value)))})]})}})}const Nr=(e,t)=>e[t],eo=e=>e instanceof Date?e.getTime():e;function Zu(e,t,r){const s=eo(e),n=eo(t);return typeof s=="number"&&typeof n=="number"||typeof s=="string"&&typeof n=="string"?r==="gt"?s>n:r==="gte"?s>=n:r==="lt"?s<n:s<=n:!1}function ks(e,t){if(!e)return!1;switch(e.op){case"eq":return Nr(t,e.field)===e.value;case"neq":return Nr(t,e.field)!==e.value;case"in":return e.values.includes(Nr(t,e.field));case"notIn":return!e.values.includes(Nr(t,e.field));case"gt":case"gte":case"lt":case"lte":return Zu(Nr(t,e.field),e.value,e.op);case"and":return e.rules.every(r=>ks(r,t));case"or":return e.rules.some(r=>ks(r,t));default:return!1}}function to(e){if(e){if(typeof e=="string")try{return JSON.parse(e)}catch{return}if(typeof e=="object")return e}}function Yu(e,t){var r;return Array.isArray(e)?e.length&&typeof e[0]=="object"&&"value"in e[0]?t?e.map(s=>s.value):((r=e[0])==null?void 0:r.value)??"":t?e:e[0]??"":e&&typeof e=="object"&&"value"in e?e.value:e??(t?[]:"")}const Hu=e=>e.type!=="inputGroup"&&e.type!=="button";function Xu(){try{return $s()??void 0}catch{return}}function Bi({schema:e,resolver:t,serviceRegistry:r}){var Y;const{layout:s,fields:n=[],onSubmit:a,successMessage:i,errorMessage:l,footerButtons:c,defaultValues:d,loadDefaultValues:u,validationSchema:f}=e,{show:p}=Vr(),{t:b}=hi(),g=Xu(),v=r??((Y=g==null?void 0:g.services)==null?void 0:Y.registry)??void 0,x=h.useMemo(()=>{if(t)return t;try{const D=f??Di(e);return gi(D)}catch{return}},[t,e,f]),m=xd({resolver:x,mode:"onBlur",reValidateMode:"onChange",defaultValues:d??{}});h.useEffect(()=>{const D=e.defaultSource;if(!D)return;let T=!1;return(async()=>{try{const Z=v==null?void 0:v[D];if(!Z)return;const R=typeof Z=="function"?await Z():Z;!T&&R&&typeof R=="object"&&m.reset({...e.defaultValues??{},...R})}catch{}})(),()=>{T=!0}},[e,v,m.reset]);const{control:y,reset:j,handleSubmit:_,formState:{errors:k,isSubmitting:A}}=m,[C,N]=h.useState(!1);h.useEffect(()=>{u&&(N(!0),u().then(D=>j(D)).finally(()=>N(!1)))},[u,j]);const M=h.useMemo(()=>(n??[]).filter(Hu),[n]),{loadingCount:U,optionsMap:V}=Iu(M),[W,$]=h.useState({});h.useEffect(()=>{let D=!0;return(async()=>{const Z=await Promise.all(M.filter(B=>B.type==="select"&&B.optionSource).map(async B=>{const ae=B.name,pe=B.optionSource,oe=to(B.adapterCtx??B.optionAdapterCtx),ve=v==null?void 0:v[pe];if(typeof ve!="function")return[ae,[]];try{const le=await Promise.resolve(ve("",{getValues:m.getValues,watch:m.watch,ctx:oe})),he=Array.isArray(le)?le:[];return[ae,he]}catch{return[ae,[]]}}));if(!D)return;const R={};for(const[B,ae]of Z)R[B]=ae;$(R)})(),()=>{D=!1}},[v,m.getValues,m.watch,JSON.stringify(M.map(D=>({n:D.name,os:D.optionSource??null,ctx:D.adapterCtx??D.optionAdapterCtx??null,staticLen:Array.isArray(D.options)?D.options.length:-1})))]),h.useEffect(()=>{let D=!0;return(async()=>{for(const Z of M){if(Z.type!=="select")continue;const R=Z.name,B=Z.defaultSource;if(!B)continue;const ae=m.getValues(R);if(!(ae==null||(Array.isArray(ae)?ae.length===0:ae==="")))continue;const oe=v==null?void 0:v[B];if(typeof oe=="function")try{const ve=to(Z.adapterCtx??Z.optionAdapterCtx),le=await Promise.resolve(oe("",{getValues:m.getValues,watch:m.watch,ctx:ve}));if(!D)return;const he=Yu(le,!!Z.multiple);m.setValue(R,he,{shouldDirty:!0,shouldTouch:!0})}catch{}}})(),()=>{D=!1}},[v,m.getValues,m.setValue,JSON.stringify(M.map(D=>({n:D.name,ds:D.defaultSource??null,mult:!!D.multiple})))]);const L=Lu(n),S=Ku(n,y),te=h.useMemo(()=>{const D={};return s.forEach((T,Z)=>{T.type==="tabs"&&(D[Z]=T.tabs[0].key)}),D},[s]),[ie,K]=h.useState(te),me=h.useCallback((D,T)=>{if(!(D!=null&&D.enabled)||!D.rule)return T;try{return!!ks(D.rule,m.getValues())}catch{return T}},[m]),I=h.useMemo(()=>n.map(D=>D).filter(D=>{var T;return((T=D.clearWhen)==null?void 0:T.enabled)&&D.clearWhen.rule}).map(D=>({name:D.name,rule:D.clearWhen.rule,clearTo:D.clearWhen.clearTo})),[n]);h.useEffect(()=>{if(!I.length)return;const D=Z=>{I.forEach(({name:R,rule:B,clearTo:ae})=>{try{if(!!ks(B,Z)){const oe=ae??"";Z[R]!==oe&&m.setValue(R,oe,{shouldDirty:!0,shouldValidate:!0})}}catch{}})};D(m.getValues());const T=m.watch(()=>D(m.getValues()));return()=>{var Z;return(Z=T==null?void 0:T.unsubscribe)==null?void 0:Z.call(T)}},[m,I]);const z=h.useCallback(D=>{var he,Ce,xe,ke;let T;if(typeof D=="string"){if(T=L[D],!T){const ne=(n??[]).find(Ne=>(Ne==null?void 0:Ne.name)===D);if(ne)T=ne;else return null}}else T=D;const Z=T.visibleWhen;if(!me(Z,!0))return null;let B=!!T.disabled;const ae=T.disabledWhen,pe=me(ae,!1);if(ae!=null&&ae.enabled&&(B=pe),!(ae!=null&&ae.enabled)&&"name"in T&&T.name&&S[T.name]&&(B=!0),T.type==="search"){const ne=typeof T.searchFn=="function",Ne=T.searchSource,Ae=async E=>{if(ne)return T.searchFn(E,{getValues:m.getValues,watch:m.watch});if(Ne){const O=v==null?void 0:v[Ne];if(typeof O=="function")return await O(E,{getValues:m.getValues,watch:m.watch});if(Array.isArray(O))return O}return[]},w={};return T.searchMode&&(w.searchMode=T.searchMode),T.minChars&&(w.minChars=T.minChars),T.debounceMs&&(w.debounceMs=T.debounceMs),T.resolveByValue&&(w.resolveByValue=T.resolveByValue),o.jsx(Vi,{name:T.name,control:y,searchFn:Ae,label:T.label,size:T.size,width:T.width,disabled:B||A,...w},T.name)}if(T.type==="inputGroup"){const ne=T,Ne=(ne.inputs??[]).map(Ae=>{var G;const w=typeof Ae=="string"?L[Ae]??(n??[]).find(ue=>(ue==null?void 0:ue.name)===Ae):Ae;if(!w)return null;const E=w.disabledWhen;let O=!!w.disabled;const ee=me(E,!1);E!=null&&E.enabled&&(O=ee),!(E!=null&&E.enabled)&&S[w.name]&&(O=!0);const H={name:w.name,control:y,label:w.label,size:w.size,width:w.width,placeholder:w.placeholder,hasError:!!k[w.name],errorMessage:((G=k[w.name])==null?void 0:G.message)||"",loading:C,disabled:O||A,suffixButton:w.suffixButton,reserveErrorSpace:!0};return w.type==="select"?{...H,options:w.options??W[w.name]??V[w.name]??[],loadOptions:w.options||w.optionSource?void 0:w.loadOptions}:{...H,type:w.type}}).filter(Boolean);return o.jsx(Mi,{groupLabel:ne.groupLabel,inputs:Ne,separator:ne.separator,useSeparator:ne.useSeparator,className:ne.className,showVisibleLabel:ne.showVisibleLabel,size:ne.size},`inputGroup_${ne.name??ne.groupLabel??"group"}`)}if(T.type==="button"){const ne=T;return o.jsx("div",{className:"self-center",children:o.jsx(fe,{type:"button",variant:ne.variant,size:ne.size,width:ne.width,icon:ne.icon,iconPosition:ne.iconPosition,ariaLabel:ne.ariaLabel,onClick:ne.onClick,disabled:B||A,children:ne.label})},ne.name)}const oe=T.suffixButton,ve=typeof oe=="string"?z(oe):oe,le={name:T.name,control:y,disabled:B||A,label:T.label,size:T.size,width:T.width,placeholder:T.placeholder,info:T.info,suffixButton:ve};switch(T.type){case"select":{const ne=T.name,Ne=T.options??W[ne]??V[ne]??[],Ae=Array.isArray(Ne)&&Ne.length?`${Ne.length}:${Ne.map(E=>String((E==null?void 0:E.value)??"")).join("|")}`:"0",w=!T.options&&!T.optionSource&&T.loadOptions;return o.jsx(gt,{name:ne,control:y,render:({field:E})=>{var O;return o.jsx(rt,{...le,value:E.value,onChange:E.onChange,options:Ne,loadOptions:w||void 0,hasError:!!k[ne],errorMessage:(O=k[ne])==null?void 0:O.message,suffixButton:ve})}},`${ne}:${Ae}`)}case"textarea":return o.jsx(gt,{name:T.name,control:y,render:({field:ne,fieldState:Ne})=>{var Ae;return o.jsx(Ls,{...le,value:ne.value,onChange:ne.onChange,maxLength:T.maxLength,showCounter:!!T.showCounter,hasError:!!Ne.error,errorMessage:((Ae=Ne.error)==null?void 0:Ae.message)||""})}},T.name);case"file":return o.jsx(pi,{...le,defaultValue:[],maxFiles:T.maxFiles,accept:T.accept,hasError:!!k[T.name],errorMessage:(he=k[T.name])==null?void 0:he.message},T.name);case"checkbox":return o.jsx(dt,{...le,defaultValue:!1,hasError:!!k[T.name],errorMessage:(Ce=k[T.name])==null?void 0:Ce.message,name:T.name},T.name);case"date":return o.jsx(Fr,{...le,defaultValue:"",showTime:!!T.showTime,hasError:!!k[T.name],errorMessage:(xe=k[T.name])==null?void 0:xe.message},T.name);case"optionGroup":return o.jsx($i,{...le,options:T.options||[],multiple:T.multiple,vertical:T.vertical,groupLabel:T.groupLabel,defaultValue:T.defaultValue,className:T.width?void 0:"w-full",name:T.name},T.name);default:return o.jsx(Yn,{...le,type:T.type,loadingDefaults:C,hasError:!!k[T.name],errorMessage:(ke=k[T.name])==null?void 0:ke.message,suffixButton:ve,name:T.name},T.name)}},[n,L,y,k,A,C,V,W,me,S,m.getValues,m.watch,v]);return o.jsx(sd,{...m,children:o.jsxs("form",{noValidate:!0,onSubmit:_(async D=>{await a(D),p(i??b("ds.form.saveSuccess"),"success")},D=>{console.log("❌ errores de validación:",D),Eu(D),p(l??b("ds.form.saveError"),"error")}),className:"space-y-6",children:[s.map((D,T)=>D.type==="rows"?o.jsx(h.Fragment,{children:D.sections.map((Z,R)=>o.jsx("div",{className:"mb-6",children:o.jsx(it,{title:Z.sectionTitle,defaultOpen:Z.defaultOpen,children:Z.rows.map((B,ae)=>o.jsxs("div",{children:[B.title&&o.jsx("h2",{className:"mb-2 text-lg text-[var(--color-ds-text-primary)]",children:B.title}),o.jsx("div",{className:"flex flex-wrap -mx-2",children:B.columns.map((pe,oe)=>{var ve;return o.jsx("div",{className:`${pe.width} px-2 flex flex-col`,children:o.jsx("div",{className:"space-y-4",children:pe.fields?pe.fields.map(le=>z(le)):(ve=pe.rows)==null?void 0:ve.map((le,he)=>o.jsx("div",{className:"mb-1",children:o.jsx("div",{className:"flex flex-wrap -mx-2",children:le.columns.map((Ce,xe)=>{var ke;return o.jsx("div",{className:`${Ce.width} px-2`,children:(ke=Ce.fields)==null?void 0:ke.map(ne=>z(ne))},xe)})})},he))})},oe)})})]},ae))})},R))},T):o.jsx(Ir,{options:D.tabs.map(Z=>({label:Z.label,value:Z.key})),value:ie[T],onChange:Z=>K(R=>({...R,[T]:Z})),children:Object.fromEntries(D.tabs.map(Z=>[Z.key,o.jsx("div",{className:"space-y-6",children:Z.sections.map((R,B)=>o.jsx("div",{className:"mb-6",children:o.jsx(it,{title:R.sectionTitle,defaultOpen:R.defaultOpen,children:R.rows.map((ae,pe)=>o.jsx("div",{children:o.jsx("div",{className:"flex flex-wrap -mx-2",children:ae.columns.map((oe,ve)=>{var le;return o.jsx("div",{className:`${oe.width??"flex-1"} px-2 flex flex-col`,children:o.jsx("div",{className:"space-y-4",children:(le=oe.fields)==null?void 0:le.map((he,Ce)=>o.jsx(h.Fragment,{children:z(he)},Ce))})},ve)})})},pe))})},B))},Z.key)]))},T)),o.jsx("footer",{className:"py-4 w-full flex justify-center space-x-4",children:c??o.jsx(fe,{type:"submit",variant:"primary",icon:Gl,size:"sm",disabled:A||C||U>0,children:b(A?"ds.form.sending":"ds.form.submit")})})]})})}const Qu={sm:"h-8 w-8",md:"h-10 w-10",lg:"h-12 w-12"};function Ui({icon:e,size:t="md",ariaLabel:r,disabled:s=!1,onClick:n,...a}){return o.jsx("button",{type:"button","aria-label":r,disabled:s,onClick:n,className:se("inline-flex items-center justify-center","rounded-full","bg-transparent","text-[var(--color-ds-text-primary)]","transition-transform","focus:outline-none",Qu[t],s?"opacity-50 cursor-not-allowed":["hover:scale-110","hover:animate-pulse"]),...a,children:o.jsx(e,{className:se(t==="sm"?"h-4 w-4":t==="md"?"h-5 w-5":"h-6 w-6")})})}function qi({dark:e,onToggle:t}){return o.jsx("button",{type:"button","aria-pressed":e,"aria-label":e?"Cambiar a modo claro":"Cambiar a modo oscuro",onClick:t,className:se("relative inline-flex items-center transition-colors focus:outline-none duration-200 ease-in-out","bg-[var(--color-ds-background-accent)]","h-6 w-12 rounded-full"),children:o.jsxs("div",{className:se("absolute bg-[var(--color-ds-background-page)] flex items-center justify-center rounded-full transition-transform duration-200 ease-in-out","h-5 w-5",e?"translate-x-6":"translate-x-1"),children:[o.jsx(kt,{component:bc,size:"sm",className:se("absolute transition-opacity duration-200 ease-in-out",e?"opacity-0":"opacity-100 text-[var(--color-ds-background-accent)]")}),o.jsx(kt,{component:fc,size:"sm",className:se("absolute transition-opacity duration-200 ease-in-out",e?"opacity-100 text-[var(--color-ds-background-accent)]":"opacity-0")})]})})}const ro="licytal:ui:theme",Wi=h.createContext({theme:"light",dark:!1,toggle:()=>{}});function ef({children:e}){const[t,r]=h.useState(!1),[s,n]=h.useState("light");h.useEffect(()=>{if(typeof window>"u")return;const i=localStorage.getItem(ro);i==="light"||i==="dark"?n(i):window.matchMedia("(prefers-color-scheme: dark)").matches&&n("dark"),r(!0)},[]),h.useEffect(()=>{t&&(document.documentElement.classList.toggle("dark",s==="dark"),localStorage.setItem(ro,s))},[s,t]);const a=()=>n(i=>i==="light"?"dark":"light");return t?o.jsx(Wi.Provider,{value:{theme:s,dark:s==="dark",toggle:a},children:e}):null}const Xn=()=>h.useContext(Wi),Sr={locale:"licytal:ui:locale",theme:"licytal:ui:theme"},Ki=({pinnedPages:e,onRemovePinned:t,onBack:r,dark:s,locale:n,languageOptions:a,onChangeLocale:i,profile:l="",profileOptions:c=[],onChangeProfile:d})=>{const u=e.slice(0,3),{toggle:f}=Xn(),p=g=>{try{localStorage.setItem(Sr.locale,g)}catch{}i==null||i(g)},b=()=>{const g=!s;try{localStorage.setItem(Sr.theme,g?"dark":"light")}catch{}f()};return h.useEffect(()=>{try{const g=localStorage.getItem(Sr.locale);g&&g!==n&&(i==null||i(g))}catch{}},[]),h.useEffect(()=>{if(n)try{localStorage.setItem(Sr.locale,n)}catch{}},[n]),h.useEffect(()=>{try{const g=localStorage.getItem(Sr.theme);if(!g)return;g==="dark"!==s&&f()}catch{}},[]),o.jsxs("header",{className:"flex items-center bg-[var(--color-ds-background-page)] py-2",children:[o.jsx("div",{className:"flex items-center space-x-2",children:u.map(g=>o.jsxs("div",{className:"flex items-center",children:[o.jsx("a",{href:g.href,className:se("inline-flex items-center rounded-lg","py-1 px-1 my-1 text-ds-sm","bg-transparent text-[var(--color-ds-text-primary)]","transition-colors duration-200 ease-in-out","hover:bg-[var(--color-ds-border-muted)] hover:animate-pulse"),children:g.label}),o.jsx(Ui,{icon:Vn,size:"sm",ariaLabel:`Remove ${g.label}`,onClick:()=>t(g.id)})]},g.id))}),o.jsx("div",{className:"flex-grow"}),o.jsxs("div",{className:"flex items-center space-x-2",children:[o.jsx(rt,{size:"sm",width:"auto",options:a,value:n,onChange:p,disableErrorPlaceholder:!0}),!!c.length&&o.jsx(rt,{size:"sm",width:"auto",options:c,value:l,onChange:g=>d==null?void 0:d(g),disableErrorPlaceholder:!0}),o.jsx(qi,{dark:s,onToggle:b})]})]})},tf=({loading:e=!1,ariaLabel:t="Cargando..."})=>e?o.jsxs("div",{className:`\r
37
- fixed inset-0\r
38
- flex items-center justify-center\r
39
- bg-[var(--color-ds-background-surface)]/90\r
40
- z-50\r
41
- `,role:"status","aria-live":"polite","aria-label":t,children:[o.jsx("div",{className:`\r
42
- w-12 h-12\r
43
- border-4 rounded-full\r
44
- border-gray-200\r
45
- border-t-[var(--color-ds-button-primary-bg)]\r
46
- animate-spin\r
47
- `}),o.jsx("span",{className:"sr-only",children:t})]}):null,rf=({isOpen:e,onClose:t,title:r,children:s,footer:n})=>(h.useEffect(()=>{const a=i=>i.key==="Escape"&&t();return e&&(document.addEventListener("keydown",a),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",a),document.body.style.overflow=""}},[e,t]),e?Jt.createPortal(o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"fixed inset-0 bg-[var(--color-ds-text-primary)]/50 z-40",onClick:t}),o.jsx("div",{className:"fixed inset-0 flex items-center justify-center px-4 z-50",children:o.jsxs("div",{className:`\r
52
+ hover:bg-[var(--color-ds-background-surface)]`,onClick:()=>{const me=String(te.value).trim();p(e,me,{shouldDirty:!0,shouldValidate:!0}),_(te.label??me),Q.current=!1,q.current=!1,B(!1)},children:te.label},String(te.value)))})]})}})}const Wr=(e,t)=>e[t],gl=e=>e instanceof Date?e.getTime():e;function gM(e,t,r){const n=gl(e),o=gl(t);return typeof n=="number"&&typeof o=="number"||typeof n=="string"&&typeof o=="string"?r==="gt"?n>o:r==="gte"?n>=o:r==="lt"?n<o:n<=o:!1}function on(e,t){if(!e)return!1;switch(e.op){case"eq":return Wr(t,e.field)===e.value;case"neq":return Wr(t,e.field)!==e.value;case"in":return e.values.includes(Wr(t,e.field));case"notIn":return!e.values.includes(Wr(t,e.field));case"gt":case"gte":case"lt":case"lte":return gM(Wr(t,e.field),e.value,e.op);case"and":return e.rules.every(r=>on(r,t));case"or":return e.rules.some(r=>on(r,t));default:return!1}}const Fr=({isOpen:e,onClose:t,title:r,children:n,footer:o})=>(v.useEffect(()=>{const l=i=>i.key==="Escape"&&t();return e&&(document.addEventListener("keydown",l),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",l),document.body.style.overflow=""}},[e,t]),e?sr.createPortal(s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"fixed inset-0 bg-[var(--color-ds-text-primary)]/50 z-40",onClick:t}),s.jsx("div",{className:"fixed inset-0 flex items-center justify-center px-4 z-50",children:s.jsxs("div",{className:`\r
48
53
  relative\r
49
54
  bg-[var(--color-ds-background-page)]\r
50
55
  dark:bg-[var(--color-ds-background-surface)]\r
@@ -52,31 +57,52 @@ attempted value: ${i}
52
57
  shadow-2xl\r
53
58
  w-full max-w-lg\r
54
59
  overflow-hidden\r
55
- `,children:[o.jsxs("div",{className:"flex items-center justify-between px-6 py-4 border-b border-[var(--color-ds-border-muted)]",children:[r?o.jsx("h3",{className:"text-ds-lg font-semibold text-[var(--color-ds-text-primary)]",children:r}):o.jsx("div",{}),o.jsxs("button",{onClick:t,className:`\r
60
+ `,children:[s.jsxs("div",{className:"flex items-center justify-between px-6 py-4 border-b border-[var(--color-ds-border-muted)]",children:[r?s.jsx("h3",{className:"text-ds-lg font-semibold text-[var(--color-ds-text-primary)]",children:r}):s.jsx("div",{}),s.jsxs("button",{onClick:t,className:`\r
56
61
  p-1 rounded-full\r
57
62
  bg-[var(--color-ds-background-page)]\r
58
63
  dark:bg-[var(--color-ds-background-surface)]\r
59
64
  hover:bg-[var(--color-ds-background-accent)]/10\r
60
65
  focus:outline-none\r
61
- `,children:[o.jsx(Vn,{className:"w-5 h-5 text-[var(--color-ds-text-secondary)] hover:text-[var(--color-ds-text-primary)]"}),o.jsx("span",{className:"sr-only",children:"Cerrar modal"})]})]}),o.jsx("div",{className:"px-6 py-6 text-[var(--color-ds-text-primary)]",children:s}),n&&o.jsx("div",{className:"px-6 py-4 border-t border-[var(--color-ds-border-muted)] bg-[var(--color-ds-background-surface)]",children:n})]})})]}),document.body):null),Qn=({items:e,selected:t,onSelect:r,level:s=0})=>{const[n,a]=h.useState(new Set),i=l=>{const c=new Set(n);s===0?(c.clear(),n.has(l)||c.add(l)):c.has(l)?c.delete(l):c.add(l),a(c)};return o.jsx("ul",{className:se(s>0?"mt-1":"mt-0"),children:e.map(l=>{var g;const c=l.value===t,d=n.has(l.value),u=["pl-2","pl-2","pl-2"][s]||"pl-4",f=s===0?d||c?"bg-[var(--color-ds-background-accent)] text-[var(--color-ds-text-on-accent)] rounded-r-lg":"text-[var(--color-ds-text-primary)] hover:bg-[var(--color-ds-background-surface)]":c?"bg-[var(--color-ds-background-surface)] text-[var(--color-ds-text-primary)]":"text-[var(--color-ds-text-primary)] hover:bg-[var(--color-ds-background-surface)]",p=s===0&&(d||c)?"text-[var(--color-ds-text-on-accent)]":"text-[var(--color-ds-text-secondary)]",b=!!((g=l.children)!=null&&g.length);return o.jsxs("li",{children:[o.jsxs("button",{type:"button",onClick:()=>b?i(l.value):r(l.value),"aria-expanded":b?d:void 0,className:se("w-full flex items-center justify-between h-8 transition-colors",u,f),children:[o.jsxs("div",{className:"flex items-center space-x-2",children:[s===0&&l.icon&&o.jsx(l.icon,{className:"w-5 h-5 ml-2"}),o.jsx("span",{className:"text-ds-sm",children:l.label})]}),b&&(d?o.jsx(Rs,{className:se("w-4 h-4",p)}):o.jsx(Lo,{className:se("w-4 h-4",p)}))]}),b&&o.jsx("div",{className:se("overflow-hidden transition-[max-height] duration-300 ease-in-out","border-l-1 border-[var(--color-ds-background-accent)] ml-6",d?"max-h-screen":"max-h-0"),children:o.jsx(Qn,{items:l.children,selected:t,onSelect:r,level:s+1})})]},l.value)})})},sf="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20viewBox='0%200%20250%20250'%3e%3c!--%20Generator:%20Adobe%20Illustrator%2029.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%202.1.0%20Build%20186)%20--%3e%3cdefs%3e%3cstyle%3e%20.st0%20{%20fill:%20%23FFFFFF;%20}%20%3c/style%3e%3c/defs%3e%3cpath%20class='st0'%20d='M101.7,82.72c1.6.57,3.25,1.09,4.98,1.53,11.93,3.07,17.85,7.44,17.85,13.01,0,2.72-1.14,5-3.43,6.86-2.29,1.86-5.14,2.79-8.57,2.79s-6.49-1.13-8.9-3.36c-2.62,6.82-6.19,13.16-10.51,18.91,5.53,3.09,11.9,4.68,19.13,4.68,10.14,0,18.64-3,25.43-9.01,3.7-3.24,6.35-6.96,8.02-11.11,1.77,3.2,4.03,6.17,6.81,8.9,7.64,7.51,17.28,11.22,28.78,11.22,9.14,0,17.21-2.43,24.21-7.22,2.24-1.55,4.24-3.27,6.05-5.14l-14.05-13.73h-.14c-2.57,4.29-8.57,7.44-15.64,7.44-8.78,0-15.5-5.22-17.85-13.58h57.06c.36-1.57.57-3.79.57-6.58,0-11.37-3.86-20.73-11.5-28.24-7.71-7.44-17.28-11.15-28.71-11.15s-21.14,3.72-28.78,11.15c-5.19,5.09-8.59,11.03-10.26,17.78-1.11-1.42-2.37-2.71-3.78-3.83-6.07-4.79-12.07-7.36-20.64-9.73-11-2.93-16.5-7.08-16.5-12.58,0-2.51,1-4.65,3.07-6.37,2.07-1.71,4.57-2.57,7.57-2.57,3.21,0,5.93,1,8,3,2.07,2,3.14,4.5,3.14,7.5h23.21c0-8.79-3.29-16.08-9.78-21.95-6.5-5.86-14.71-8.79-24.57-8.79s-17.44,2.77-23.89,8.31C74.82,12.54,53.44.47,29.27,0v24.08c27.07.77,48.86,23.04,48.86,50.32s-21.79,49.55-48.86,50.32v24.08c37.54-.72,68.34-29.42,72.44-66.08ZM181.29,67.38c8.21,0,15,5.08,17.21,13.3h-34.5c2.57-8.22,8.93-13.3,17.28-13.3Z'/%3e%3cpath%20class='st0'%20d='M29.35,160.65v29.07h10.94c4.12,0,7.57-1.38,10.31-4.16,2.74-2.76,4.12-6.21,4.12-10.39s-1.38-7.61-4.12-10.39c-2.74-2.76-6.19-4.14-10.31-4.14h-10.94ZM52.1,175.17c0,3.46-1.14,6.34-3.39,8.64-2.25,2.3-5.07,3.46-8.46,3.46h-8.36v-24.17h8.36c3.39,0,6.21,1.15,8.46,3.46,2.25,2.3,3.39,5.18,3.39,8.62Z'/%3e%3cpath%20class='st0'%20d='M60.61,161.41c0-.97-.79-1.73-1.79-1.73s-1.75.76-1.75,1.73.79,1.77,1.75,1.77,1.79-.76,1.79-1.77Z'/%3e%3crect%20class='st0'%20x='57.63'%20y='168.24'%20width='2.42'%20height='21.48'/%3e%3cpath%20class='st0'%20d='M64.15,168.24v29.48h2.41v-13.19c.85,1.77,2.09,3.17,3.69,4.18,1.6,1.01,3.41,1.52,5.44,1.52,3.11,0,5.7-1.07,7.75-3.23,2.05-2.16,3.07-4.83,3.07-8.04s-1.04-5.86-3.09-8.02c-2.05-2.14-4.63-3.21-7.73-3.21-2.03,0-3.84.49-5.44,1.5-1.6,1.01-2.84,2.41-3.69,4.18v-5.16h-2.41ZM69.06,172.62c1.64-1.69,3.73-2.53,6.23-2.53s4.57.84,6.23,2.53c1.66,1.71,2.5,3.8,2.5,6.33s-.83,4.65-2.5,6.36c-1.66,1.71-3.73,2.55-6.23,2.55s-4.59-.84-6.23-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33Z'/%3e%3cpath%20class='st0'%20d='M107.73,189.71v-21.48h-2.42v12.59c0,2.1-.65,3.79-1.97,5.08-1.32,1.3-3.05,1.95-5.18,1.95s-3.69-.64-4.93-1.91c-1.26-1.28-1.89-2.96-1.89-5.04v-12.67h-2.4v13.35c0,2.61.79,4.69,2.35,6.27,1.56,1.58,3.61,2.37,6.15,2.37,3.65-.02,6.27-1.52,7.85-4.53v4.01h2.42Z'/%3e%3cpolygon%20class='st0'%20points='117.35%20189.71%20117.35%20170.46%20122.55%20170.46%20122.55%20168.24%20117.35%20168.24%20117.35%20161.9%20114.94%20162.38%20114.94%20168.24%20110.01%20168.24%20110.01%20170.46%20114.94%20170.46%20114.94%20189.71%20117.35%20189.71'/%3e%3cpath%20class='st0'%20d='M144.27,189.71v-21.48h-2.42v5.12c-.87-1.75-2.13-3.13-3.73-4.14-1.6-1.01-3.41-1.5-5.4-1.5-3.08,0-5.64,1.07-7.69,3.21-2.05,2.16-3.09,4.83-3.09,8.02s1.04,5.88,3.09,8.04c2.05,2.16,4.63,3.23,7.69,3.23,1.99,0,3.79-.51,5.4-1.52,1.6-1.01,2.84-2.39,3.73-4.13v5.14h2.42ZM139.36,185.31c-1.66,1.71-3.73,2.55-6.23,2.55s-4.53-.84-6.19-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.19-2.53s4.57.84,6.23,2.53c1.66,1.71,2.5,3.8,2.5,6.33s-.83,4.65-2.5,6.36Z'/%3e%3cpath%20class='st0'%20d='M158.18,170.09c2.09,0,3.9.62,5.46,1.85,1.54,1.23,2.56,2.84,3.02,4.83h2.5c-.47-2.63-1.73-4.79-3.73-6.5-2.03-1.71-4.44-2.55-7.25-2.55-3.19,0-5.84,1.07-8,3.21-2.15,2.16-3.23,4.83-3.23,8.02s1.08,5.88,3.23,8.04c2.13,2.16,4.81,3.23,8,3.23,2.8,0,5.22-.84,7.25-2.55,2.01-1.71,3.27-3.87,3.73-6.52h-2.5c-.47,2-1.48,3.62-3.02,4.85-1.56,1.23-3.37,1.85-5.46,1.85-2.5,0-4.57-.84-6.23-2.55-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.23-2.53Z'/%3e%3crect%20class='st0'%20x='171.72'%20y='168.24'%20width='2.42'%20height='21.48'/%3e%3cpath%20class='st0'%20d='M174.71,161.41c0-.97-.79-1.73-1.79-1.73s-1.75.76-1.75,1.73.79,1.77,1.75,1.77,1.79-.76,1.79-1.77Z'/%3e%3cpath%20class='st0'%20d='M176.86,178.95c0,3.21,1.08,5.88,3.23,8.04,2.15,2.16,4.83,3.23,8.02,3.23s5.85-1.07,7.98-3.23c2.13-2.16,3.19-4.83,3.19-8.04s-1.06-5.86-3.19-8.02c-2.13-2.14-4.79-3.21-7.98-3.21s-5.86,1.07-8.02,3.21c-2.15,2.16-3.23,4.83-3.23,8.02ZM188.09,170.09c2.5,0,4.57.84,6.21,2.53,1.64,1.71,2.48,3.8,2.48,6.33s-.83,4.65-2.48,6.36c-1.64,1.71-3.71,2.55-6.21,2.55s-4.57-.84-6.23-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.23-2.53Z'/%3e%3cpolygon%20class='st0'%20points='194.03%20160.01%20190.83%20160.01%20186.46%20165.15%20189.08%20165.15%20194.03%20160.01'/%3e%3cpath%20class='st0'%20d='M221.5,189.71v-13.02c0-2.69-.81-4.86-2.44-6.5-1.64-1.65-3.79-2.47-6.45-2.47-3.75,0-6.68,1.67-8.22,4.71v-4.2h-2.42v21.48h2.42v-12.22c0-2.22.69-4.01,2.07-5.37,1.38-1.36,3.19-2.04,5.44-2.04s3.92.66,5.24,2c1.32,1.34,1.97,3.11,1.97,5.33v12.3h2.4Z'/%3e%3cpath%20class='st0'%20d='M57.27,225.24c-2.82-2.23-5.61-3.43-9.59-4.53-5.11-1.37-7.66-3.3-7.66-5.87,0-1.17.46-2.17,1.43-2.97.96-.8,2.12-1.2,3.52-1.2,1.49,0,2.75.47,3.72,1.4.96.93,1.46,2.1,1.46,3.5h10.78c0-4.1-1.53-7.5-4.55-10.23-3.02-2.73-6.83-4.1-11.42-4.1s-8.23,1.33-11.25,4c-3.02,2.67-4.51,6-4.51,10s1.26,7.4,3.75,9.73c2.49,2.37,5.68,4.03,9.56,5.03,5.54,1.43,8.29,3.47,8.29,6.06,0,1.27-.53,2.33-1.59,3.2-1.06.87-2.39,1.3-3.98,1.3s-3.05-.53-4.18-1.6c-1.16-1.07-1.73-2.37-1.73-3.93h-10.82c0,4.3,1.59,7.86,4.78,10.7,3.15,2.83,7.1,4.26,11.81,4.26s8.66-1.4,11.81-4.2c3.15-2.77,4.71-6.26,4.71-10.43,0-4.43-1.56-7.9-4.35-10.13Z'/%3e%3cpolygon%20class='st0'%20points='118.26%20236.54%20110.23%20214.38%2098.88%20214.38%20113.02%20249.17%20123.21%20249.17%20137.28%20214.38%20126.19%20214.38%20118.26%20236.54'/%3e%3crect%20class='st0'%20x='139.25'%20y='214.38'%20width='9.92'%20height='34.79'/%3e%3cpath%20class='st0'%20d='M144.2,199.53c-1.72,0-3.18.57-4.35,1.73-1.16,1.17-1.76,2.6-1.76,4.33s.6,3.23,1.76,4.4c1.16,1.17,2.62,1.73,4.35,1.73s3.25-.57,4.45-1.73c1.16-1.17,1.76-2.63,1.76-4.4s-.6-3.17-1.76-4.33c-1.19-1.17-2.69-1.73-4.45-1.73Z'/%3e%3crect%20class='st0'%20x='154.93'%20y='200.02'%20width='9.92'%20height='49.15'/%3e%3crect%20class='st0'%20x='170.61'%20y='200.02'%20width='9.92'%20height='49.15'/%3e%3cpath%20class='st0'%20d='M211.58,214.38v3.8c-2.82-3.1-6.34-4.63-10.49-4.63-4.75,0-8.73,1.73-11.91,5.2-3.22,3.5-4.81,7.83-4.81,13s1.59,9.53,4.81,13.03c3.19,3.5,7.17,5.23,11.91,5.23,4.18-.03,7.67-1.57,10.49-4.67v3.83h9.92v-34.79h-9.92ZM209.19,237.9c-1.63,1.63-3.65,2.47-6.11,2.47s-4.41-.83-6.01-2.47c-1.63-1.63-2.42-3.7-2.42-6.17s.8-4.5,2.42-6.13c1.59-1.63,3.58-2.43,6.01-2.43s4.45.8,6.07,2.43c1.63,1.63,2.42,3.7,2.42,6.13s-.8,4.53-2.39,6.17Z'/%3e%3cpath%20class='st0'%20d='M82.34,213.54c-5.34,0-9.82,1.73-13.37,5.2-3.55,3.5-5.34,7.83-5.34,13s1.79,9.53,5.34,13.03c3.55,3.5,8.03,5.23,13.37,5.23,4.25,0,8-1.13,11.25-3.37,1.05-.73,1.99-1.55,2.84-2.43l-6.5-6.37h-.13c-1.19,2-3.98,3.47-7.27,3.47-4.08,0-7.2-2.43-8.29-6.33h26.51c.17-.73.27-1.77.27-3.07,0-5.3-1.79-9.66-5.34-13.16-3.58-3.47-8.03-5.2-13.34-5.2ZM74.31,228.34c1.19-3.83,4.15-6.2,8.03-6.2s6.97,2.37,8,6.2h-16.03Z'/%3e%3c/svg%3e",nf="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20viewBox='0%200%20250%20250'%3e%3c!--%20Generator:%20Adobe%20Illustrator%2029.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%202.1.0%20Build%20186)%20--%3e%3cdefs%3e%3cstyle%3e%20.st0%20{%20fill:%20%23005751;%20}%20%3c/style%3e%3c/defs%3e%3cpath%20class='st0'%20d='M101.7,82.72c1.6.57,3.25,1.09,4.98,1.53,11.93,3.07,17.85,7.44,17.85,13.01,0,2.72-1.14,5-3.43,6.86-2.29,1.86-5.14,2.79-8.57,2.79s-6.49-1.13-8.9-3.36c-2.62,6.82-6.19,13.16-10.51,18.91,5.53,3.09,11.9,4.68,19.13,4.68,10.14,0,18.64-3,25.43-9.01,3.7-3.24,6.35-6.96,8.02-11.11,1.77,3.2,4.03,6.17,6.81,8.9,7.64,7.51,17.28,11.22,28.78,11.22,9.14,0,17.21-2.43,24.21-7.22,2.24-1.55,4.24-3.27,6.05-5.14l-14.05-13.73h-.14c-2.57,4.29-8.57,7.44-15.64,7.44-8.78,0-15.5-5.22-17.85-13.58h57.06c.36-1.57.57-3.79.57-6.58,0-11.37-3.86-20.73-11.5-28.24-7.71-7.44-17.28-11.15-28.71-11.15s-21.14,3.72-28.78,11.15c-5.19,5.09-8.59,11.03-10.26,17.78-1.11-1.42-2.37-2.71-3.78-3.83-6.07-4.79-12.07-7.36-20.64-9.73-11-2.93-16.5-7.08-16.5-12.58,0-2.51,1-4.65,3.07-6.37,2.07-1.71,4.57-2.57,7.57-2.57,3.21,0,5.93,1,8,3,2.07,2,3.14,4.5,3.14,7.5h23.21c0-8.79-3.29-16.08-9.78-21.95-6.5-5.86-14.71-8.79-24.57-8.79s-17.44,2.77-23.89,8.31C74.82,12.54,53.44.47,29.27,0v24.08c27.07.77,48.86,23.04,48.86,50.32s-21.79,49.55-48.86,50.32v24.08c37.54-.72,68.34-29.42,72.44-66.08ZM181.29,67.38c8.21,0,15,5.08,17.21,13.3h-34.5c2.57-8.22,8.93-13.3,17.28-13.3Z'/%3e%3cpath%20class='st0'%20d='M29.35,160.65v29.07h10.94c4.12,0,7.57-1.38,10.31-4.16,2.74-2.76,4.12-6.21,4.12-10.39s-1.38-7.61-4.12-10.39c-2.74-2.76-6.19-4.14-10.31-4.14h-10.94ZM52.1,175.17c0,3.46-1.14,6.34-3.39,8.64-2.25,2.3-5.07,3.46-8.46,3.46h-8.36v-24.17h8.36c3.39,0,6.21,1.15,8.46,3.46,2.25,2.3,3.39,5.18,3.39,8.62Z'/%3e%3cpath%20class='st0'%20d='M60.61,161.41c0-.97-.79-1.73-1.79-1.73s-1.75.76-1.75,1.73.79,1.77,1.75,1.77,1.79-.76,1.79-1.77Z'/%3e%3crect%20class='st0'%20x='57.63'%20y='168.24'%20width='2.42'%20height='21.48'/%3e%3cpath%20class='st0'%20d='M64.15,168.24v29.48h2.41v-13.19c.85,1.77,2.09,3.17,3.69,4.18,1.6,1.01,3.41,1.52,5.44,1.52,3.11,0,5.7-1.07,7.75-3.23,2.05-2.16,3.07-4.83,3.07-8.04s-1.04-5.86-3.09-8.02c-2.05-2.14-4.63-3.21-7.73-3.21-2.03,0-3.84.49-5.44,1.5-1.6,1.01-2.84,2.41-3.69,4.18v-5.16h-2.41ZM69.06,172.62c1.64-1.69,3.73-2.53,6.23-2.53s4.57.84,6.23,2.53c1.66,1.71,2.5,3.8,2.5,6.33s-.83,4.65-2.5,6.36c-1.66,1.71-3.73,2.55-6.23,2.55s-4.59-.84-6.23-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33Z'/%3e%3cpath%20class='st0'%20d='M107.73,189.71v-21.48h-2.42v12.59c0,2.1-.65,3.79-1.97,5.08-1.32,1.3-3.05,1.95-5.18,1.95s-3.69-.64-4.93-1.91c-1.26-1.28-1.89-2.96-1.89-5.04v-12.67h-2.4v13.35c0,2.61.79,4.69,2.35,6.27,1.56,1.58,3.61,2.37,6.15,2.37,3.65-.02,6.27-1.52,7.85-4.53v4.01h2.42Z'/%3e%3cpolygon%20class='st0'%20points='117.35%20189.71%20117.35%20170.46%20122.55%20170.46%20122.55%20168.24%20117.35%20168.24%20117.35%20161.9%20114.94%20162.38%20114.94%20168.24%20110.01%20168.24%20110.01%20170.46%20114.94%20170.46%20114.94%20189.71%20117.35%20189.71'/%3e%3cpath%20class='st0'%20d='M144.27,189.71v-21.48h-2.42v5.12c-.87-1.75-2.13-3.13-3.73-4.14-1.6-1.01-3.41-1.5-5.4-1.5-3.08,0-5.64,1.07-7.69,3.21-2.05,2.16-3.09,4.83-3.09,8.02s1.04,5.88,3.09,8.04c2.05,2.16,4.63,3.23,7.69,3.23,1.99,0,3.79-.51,5.4-1.52,1.6-1.01,2.84-2.39,3.73-4.13v5.14h2.42ZM139.36,185.31c-1.66,1.71-3.73,2.55-6.23,2.55s-4.53-.84-6.19-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.19-2.53s4.57.84,6.23,2.53c1.66,1.71,2.5,3.8,2.5,6.33s-.83,4.65-2.5,6.36Z'/%3e%3cpath%20class='st0'%20d='M158.18,170.09c2.09,0,3.9.62,5.46,1.85,1.54,1.23,2.56,2.84,3.02,4.83h2.5c-.47-2.63-1.73-4.79-3.73-6.5-2.03-1.71-4.44-2.55-7.25-2.55-3.19,0-5.84,1.07-8,3.21-2.15,2.16-3.23,4.83-3.23,8.02s1.08,5.88,3.23,8.04c2.13,2.16,4.81,3.23,8,3.23,2.8,0,5.22-.84,7.25-2.55,2.01-1.71,3.27-3.87,3.73-6.52h-2.5c-.47,2-1.48,3.62-3.02,4.85-1.56,1.23-3.37,1.85-5.46,1.85-2.5,0-4.57-.84-6.23-2.55-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.23-2.53Z'/%3e%3crect%20class='st0'%20x='171.72'%20y='168.24'%20width='2.42'%20height='21.48'/%3e%3cpath%20class='st0'%20d='M174.71,161.41c0-.97-.79-1.73-1.79-1.73s-1.75.76-1.75,1.73.79,1.77,1.75,1.77,1.79-.76,1.79-1.77Z'/%3e%3cpath%20class='st0'%20d='M176.86,178.95c0,3.21,1.08,5.88,3.23,8.04,2.15,2.16,4.83,3.23,8.02,3.23s5.85-1.07,7.98-3.23c2.13-2.16,3.19-4.83,3.19-8.04s-1.06-5.86-3.19-8.02c-2.13-2.14-4.79-3.21-7.98-3.21s-5.86,1.07-8.02,3.21c-2.15,2.16-3.23,4.83-3.23,8.02ZM188.09,170.09c2.5,0,4.57.84,6.21,2.53,1.64,1.71,2.48,3.8,2.48,6.33s-.83,4.65-2.48,6.36c-1.64,1.71-3.71,2.55-6.21,2.55s-4.57-.84-6.23-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.23-2.53Z'/%3e%3cpolygon%20class='st0'%20points='194.03%20160.01%20190.83%20160.01%20186.46%20165.15%20189.08%20165.15%20194.03%20160.01'/%3e%3cpath%20class='st0'%20d='M221.5,189.71v-13.02c0-2.69-.81-4.86-2.44-6.5-1.64-1.65-3.79-2.47-6.45-2.47-3.75,0-6.68,1.67-8.22,4.71v-4.2h-2.42v21.48h2.42v-12.22c0-2.22.69-4.01,2.07-5.37,1.38-1.36,3.19-2.04,5.44-2.04s3.92.66,5.24,2c1.32,1.34,1.97,3.11,1.97,5.33v12.3h2.4Z'/%3e%3cpath%20class='st0'%20d='M57.27,225.24c-2.82-2.23-5.61-3.43-9.59-4.53-5.11-1.37-7.66-3.3-7.66-5.87,0-1.17.46-2.17,1.43-2.97.96-.8,2.12-1.2,3.52-1.2,1.49,0,2.75.47,3.72,1.4.96.93,1.46,2.1,1.46,3.5h10.78c0-4.1-1.53-7.5-4.55-10.23-3.02-2.73-6.83-4.1-11.42-4.1s-8.23,1.33-11.25,4c-3.02,2.67-4.51,6-4.51,10s1.26,7.4,3.75,9.73c2.49,2.37,5.68,4.03,9.56,5.03,5.54,1.43,8.29,3.47,8.29,6.06,0,1.27-.53,2.33-1.59,3.2-1.06.87-2.39,1.3-3.98,1.3s-3.05-.53-4.18-1.6c-1.16-1.07-1.73-2.37-1.73-3.93h-10.82c0,4.3,1.59,7.86,4.78,10.7,3.15,2.83,7.1,4.26,11.81,4.26s8.66-1.4,11.81-4.2c3.15-2.77,4.71-6.26,4.71-10.43,0-4.43-1.56-7.9-4.35-10.13Z'/%3e%3cpolygon%20class='st0'%20points='118.26%20236.54%20110.23%20214.38%2098.88%20214.38%20113.02%20249.17%20123.21%20249.17%20137.28%20214.38%20126.19%20214.38%20118.26%20236.54'/%3e%3crect%20class='st0'%20x='139.25'%20y='214.38'%20width='9.92'%20height='34.79'/%3e%3cpath%20class='st0'%20d='M144.2,199.53c-1.72,0-3.18.57-4.35,1.73-1.16,1.17-1.76,2.6-1.76,4.33s.6,3.23,1.76,4.4c1.16,1.17,2.62,1.73,4.35,1.73s3.25-.57,4.45-1.73c1.16-1.17,1.76-2.63,1.76-4.4s-.6-3.17-1.76-4.33c-1.19-1.17-2.69-1.73-4.45-1.73Z'/%3e%3crect%20class='st0'%20x='154.93'%20y='200.02'%20width='9.92'%20height='49.15'/%3e%3crect%20class='st0'%20x='170.61'%20y='200.02'%20width='9.92'%20height='49.15'/%3e%3cpath%20class='st0'%20d='M211.58,214.38v3.8c-2.82-3.1-6.34-4.63-10.49-4.63-4.75,0-8.73,1.73-11.91,5.2-3.22,3.5-4.81,7.83-4.81,13s1.59,9.53,4.81,13.03c3.19,3.5,7.17,5.23,11.91,5.23,4.18-.03,7.67-1.57,10.49-4.67v3.83h9.92v-34.79h-9.92ZM209.19,237.9c-1.63,1.63-3.65,2.47-6.11,2.47s-4.41-.83-6.01-2.47c-1.63-1.63-2.42-3.7-2.42-6.17s.8-4.5,2.42-6.13c1.59-1.63,3.58-2.43,6.01-2.43s4.45.8,6.07,2.43c1.63,1.63,2.42,3.7,2.42,6.13s-.8,4.53-2.39,6.17Z'/%3e%3cpath%20class='st0'%20d='M82.34,213.54c-5.34,0-9.82,1.73-13.37,5.2-3.55,3.5-5.34,7.83-5.34,13s1.79,9.53,5.34,13.03c3.55,3.5,8.03,5.23,13.37,5.23,4.25,0,8-1.13,11.25-3.37,1.05-.73,1.99-1.55,2.84-2.43l-6.5-6.37h-.13c-1.19,2-3.98,3.47-7.27,3.47-4.08,0-7.2-2.43-8.29-6.33h26.51c.17-.73.27-1.77.27-3.07,0-5.3-1.79-9.66-5.34-13.16-3.58-3.47-8.03-5.2-13.34-5.2ZM74.31,228.34c1.19-3.83,4.15-6.2,8.03-6.2s6.97,2.37,8,6.2h-16.03Z'/%3e%3c/svg%3e",Gi=({appName:e,orgName:t,username:r,footerText:s,navItems:n,selectedNav:a,onSelectNav:i,width:l="200px"})=>{const{theme:c}=Xn(),d=c==="dark"?sf:nf;return o.jsxs("aside",{className:"flex flex-col h-screen bg-[var(--color-ds-background-page)]",style:{width:l},children:[o.jsxs("div",{className:"flex gap-1 flex-col items-center py-4 space-y-1",children:[o.jsx("img",{src:d,alt:"Logo Diputación",className:"w-20 h-20"}),o.jsx("span",{className:"text-[var(--color-ds-text-primary)] text-ds-lg ",children:e}),o.jsx("span",{className:"text-ds-sm text-[var(--color-ds-text-secondary)]",children:t}),o.jsx("span",{className:"text-ds-sm text-[var(--color-ds-text-secondary)]",children:r}),o.jsx("div",{className:"w-1/5 h-0.5 rounded-full bg-[var(--color-ds-background-accent)] mt-2"})]}),o.jsx("nav",{className:"flex-1 overflow-auto pt-3",children:o.jsx(Qn,{items:n,selected:a,onSelect:i})}),o.jsx("div",{className:"px-4 w-full py-3",children:o.jsx("span",{className:"text-ds-sm w-full text-center text-[var(--color-ds-text-secondary)]",children:s})})]})};function af({hideSidebar:e=!1,sidebar:t,header:r,children:s}){const{dark:n}=Xn(),a={...r,dark:n};return o.jsxs("div",{className:"flex h-screen overflow-hidden bg-[var(--color-ds-background-page)]",children:[!e&&o.jsx(Gi,{...t}),o.jsxs("div",{className:`flex-1 flex flex-col overflow-auto [scrollbar-gutter:stable_both-edges] ${e?"px-0":"px-10"}`,children:[o.jsx(Ki,{...a}),o.jsx("main",{className:"flex-1 min-h-0",children:s})]})]})}function of({columns:e,data:t,loadData:r,loading:s,idAccessor:n,multiSelect:a=!1,onSelectionChange:i,pageSize:l=10,initialSort:c,onSort:d,className:u,onRowDoubleClick:f}){const p=t!==void 0,[b,g]=h.useState([]),[v,x]=h.useState(!1),m=h.useRef(null);h.useEffect(()=>{var Y;if(!r||p)return;(Y=m.current)==null||Y.abort();const z=new AbortController;return m.current=z,x(!0),r().then(D=>{z.signal.aborted||g(D)}).finally(()=>{z.signal.aborted||x(!1)}),()=>z.abort()},[r,p]);const y=h.useMemo(()=>p?t:b,[t,b,p]),j=s??(r?v:!1),[_,k]=h.useState(new Set),[A,C]=h.useState(1),[N,M]=h.useState(c==null?void 0:c.sortBy),[U,V]=h.useState((c==null?void 0:c.sortDir)??"asc"),W=z=>typeof n=="function"?n(z):z[n],$=h.useRef(null);h.useEffect(()=>{$.current!==y&&(k(new Set),C(1),$.current=y)},[y]);const L=h.useMemo(()=>{if(!N)return y;const z=U==="asc"?1:-1;return[...y].sort((Y,D)=>{const T=Y[N],Z=D[N];return T==null?-z:Z==null||T>Z?z:T<Z?-z:0})},[y,N,U]),S=Math.max(1,Math.ceil(L.length/l)),te=h.useMemo(()=>{const z=(A-1)*l;return L.slice(z,z+l)},[L,A,l]),ie=z=>{const Y=new Set(_);Y.has(z)?Y.delete(z):Y.add(z),k(Y),i==null||i(y.filter(D=>Y.has(W(D))))},K=()=>{const z=te.every(D=>_.has(W(D))),Y=new Set(_);te.forEach(D=>{z?Y.delete(W(D)):Y.add(W(D))}),k(Y),i==null||i(y.filter(D=>Y.has(W(D))))},me=z=>{if(!z.sortable)return;const Y=typeof z.accessor=="string"?z.accessor:z.sortKey;if(N===Y){const D=U==="asc"?"desc":"asc";V(D),d==null||d(Y,D)}else M(Y),V("asc"),d==null||d(Y,"asc");C(1)},I=()=>j?o.jsx("tbody",{children:Array.from({length:l}).map((z,Y)=>o.jsxs("tr",{children:[a&&o.jsx("td",{className:"px-3 py-2",children:o.jsx(Xt,{width:"1rem",height:"1rem",variant:"circle"})}),e.map((D,T)=>o.jsx("td",{className:"px-4 py-2",children:o.jsx(Xt,{width:"100%",height:"1em",variant:"rect"})},T))]},Y))}):te.length?o.jsx("tbody",{className:"bg-[var(--color-ds-background-surface)]",children:te.map(z=>{const Y=W(z);return o.jsxs("tr",{className:se("transition-colors","hover:bg-[var(--color-ds-border-default-50)]",f&&"cursor-pointer select-none"),onDoubleClick:f?()=>f(z):void 0,title:f?"Doble clic para abrir":void 0,children:[a&&o.jsx("td",{className:"px-3 py-2",children:o.jsx("input",{type:"checkbox",className:"accent-[var(--color-ds-button-primary-bg)]",checked:_.has(Y),onChange:()=>ie(Y),onDoubleClick:D=>D.stopPropagation()})}),e.map((D,T)=>{const Z=D.render?D.render(z):typeof D.accessor=="function"?D.accessor(z):z[D.accessor];return o.jsx("td",{className:se("px-4 py-2 whitespace-nowrap text-[var(--color-ds-text-primary)] text-sm",D.width),children:Z},`${String(D.header)}-${T}`)})]},Y)})}):o.jsx("tbody",{children:o.jsx("tr",{children:o.jsx("td",{className:"px-4 py-6 text-center text-[var(--color-ds-text-secondary)]",colSpan:e.length+(a?1:0),children:"No hay datos"})})});return o.jsxs("div",{className:se("w-full overflow-auto rounded-lg border","border-[var(--color-ds-border-default-50)]",u),children:[o.jsxs("table",{className:"min-w-full",children:[o.jsx("thead",{className:"bg-[var(--color-ds-background-surface)] border-b border-[var(--color-ds-border-default-50)]",children:o.jsxs("tr",{children:[a&&o.jsx("th",{className:"px-3 py-2",children:o.jsx("input",{type:"checkbox",className:"accent-[var(--color-ds-button-primary-bg)]",checked:te.length>0&&te.every(z=>_.has(W(z))),onChange:K,onDoubleClick:z=>z.stopPropagation()})}),e.map(z=>{const Y=typeof z.accessor=="string"?z.accessor:z.header,D=N===(typeof z.accessor=="string"?z.accessor:z.sortKey);return o.jsx("th",{className:se("px-4 py-2 text-left text-xs font-semibold uppercase tracking-wide select-none","text-[var(--color-ds-text-secondary)]",z.width),onClick:()=>me(z),children:o.jsxs("div",{className:se("inline-flex items-center gap-1",z.sortable&&"cursor-pointer"),children:[o.jsx("span",{children:z.header}),z.sortable&&o.jsx("span",{className:se("text-[var(--color-ds-text-secondary)]"),children:D?U==="asc"?"▲":"▼":"⇵"})]})},Y)})]})}),I()]}),o.jsxs("div",{className:"flex items-center justify-between py-2 px-4 border-t border-[var(--color-ds-border-default-50)] bg-[var(--color-ds-background-page)]/40",children:[o.jsx("span",{className:"text-sm text-[var(--color-ds-text-secondary)]",children:j?"Cargando...":`Página ${A} de ${S}`}),o.jsxs("div",{className:"space-x-2",children:[o.jsx(fe,{size:"sm",variant:"outline",disabled:j||A<=1,onClick:()=>C(z=>Math.max(1,z-1)),children:"Prev"}),o.jsx(fe,{size:"sm",variant:"outline",disabled:j||A>=S,onClick:()=>C(z=>Math.min(S,z+1)),children:"Next"})]})]})]})}function Ji({control:e,name:t,rules:r,defaultValue:s=!1,checked:n,onChange:a,disabled:i=!1,label:l,labelPosition:c="right",errorMessage:d="",className:u}){const f=h.useId();if(e&&t)return o.jsx(gt,{name:t,control:e,rules:r,defaultValue:s,render:({field:b,fieldState:g})=>{var v;return o.jsx(Ji,{checked:b.value,onChange:b.onChange,disabled:i,label:l,labelPosition:c,errorMessage:((v=g.error)==null?void 0:v.message)||"",className:u})}});const p=!!n;return o.jsxs("div",{className:se("flex flex-col",u),children:[o.jsxs("label",{className:se("inline-flex items-center space-x-3 select-none",i&&"opacity-50 cursor-not-allowed"),htmlFor:f,children:[l&&c==="left"&&o.jsx("span",{className:"text-ds-md text-[var(--color-ds-text-primary)]",children:l}),o.jsx("button",{id:f,type:"button",role:"switch","aria-checked":p,disabled:i,onClick:()=>!i&&(a==null?void 0:a(!p)),className:se("relative inline-flex items-center h-8 w-16","bg-[var(--color-ds-background-accent)] rounded-full transition-colors duration-200","focus:outline-none "),children:o.jsx("div",{className:se("absolute h-6 w-6 bg-[var(--color-ds-background-page)] rounded-full shadow transform transition-transform duration-200",p?"translate-x-9":"translate-x-1")})}),l&&c==="right"&&o.jsx("span",{className:"text-ds-md text-[var(--color-ds-text-primary)]",children:l})]}),o.jsx("div",{className:"pt-1 min-h-[18px] w-full",children:d?o.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:d}):o.jsx("span",{"aria-hidden":"true",children:" "})})]})}function Zi({items:e,value:t,onValueChange:r,multiple:s=!0,dense:n=!1,className:a}){const i=h.useMemo(()=>e.filter(g=>g.defaultOpen&&!g.disabled).map(g=>g.id),[e]),[l,c]=h.useState(i),d=t??l,u=g=>{r?r(g):c(g)},f=(g,v)=>{v&&u(s?d.includes(g)?d.filter(x=>x!==g):[...d,g]:d.includes(g)?[]:[g])},p=(g,v,x)=>{(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),f(v,x))},b=n?"py-1":"py-2";return o.jsx("div",{className:["divide-y","divide-[var(--color-ds-border-default-50)]",a].filter(Boolean).join(" "),children:e.map(g=>{const v=d.includes(g.id),x=!g.disabled;return o.jsxs("section",{"aria-disabled":g.disabled||void 0,children:[o.jsxs("button",{type:"button",onClick:()=>f(g.id,x),onKeyDown:m=>p(m,g.id,x),"aria-expanded":v,className:["w-full flex items-center justify-between gap-2 text-left select-none",b,"text-[var(--color-ds-text-primary)]",g.disabled?"opacity-60 cursor-not-allowed":"hover:bg-[color-mix(in_srgb,var(--color-ds-background-surface)_80%,transparent)]"].join(" "),children:[o.jsxs("div",{className:"min-w-0 flex items-center gap-2",children:[g.leftAdornment&&o.jsx("span",{className:"shrink-0",children:g.leftAdornment}),o.jsx("span",{className:"font-medium truncate",children:g.title})]}),o.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[g.actions,o.jsx(Rs,{className:["h-4 w-4 transition-transform",v?"rotate-180":"",g.disabled?"opacity-40":""].join(" ")})]})]}),v&&o.jsx("div",{className:[n?"py-1":"py-2"].join(" "),children:g.content})]},g.id)})})}const so=e=>{let t;const r=new Set,s=(d,u)=>{const f=typeof d=="function"?d(t):d;if(!Object.is(f,t)){const p=t;t=u??(typeof f!="object"||f===null)?f:Object.assign({},t,f),r.forEach(b=>b(t,p))}},n=()=>t,l={setState:s,getState:n,getInitialState:()=>c,subscribe:d=>(r.add(d),()=>r.delete(d))},c=t=e(s,n,l);return l},lf=e=>e?so(e):so,cf=e=>e;function df(e,t=cf){const r=h.useSyncExternalStore(e.subscribe,h.useCallback(()=>t(e.getState()),[e,t]),h.useCallback(()=>t(e.getInitialState()),[e,t]));return h.useDebugValue(r),r}const no=e=>{const t=lf(e),r=s=>df(t,s);return Object.assign(r,t),r},uf=e=>e?no(e):no;var Yi=Symbol.for("immer-nothing"),ao=Symbol.for("immer-draftable"),ct=Symbol.for("immer-state"),ff=process.env.NODE_ENV!=="production"?[function(e){return`The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`},function(e){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`},"This object has been frozen and should not be mutated",function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(e){return`'current' expects a draft, got: ${e}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(e){return`'original' expects a draft, got: ${e}`}]:[];function st(e,...t){if(process.env.NODE_ENV!=="production"){const r=ff[e],s=typeof r=="function"?r.apply(null,t):r;throw new Error(`[Immer] ${s}`)}throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var fr=Object.getPrototypeOf;function mr(e){return!!e&&!!e[ct]}function Qt(e){var t;return e?Hi(e)||Array.isArray(e)||!!e[ao]||!!((t=e.constructor)!=null&&t[ao])||Br(e)||zs(e):!1}var mf=Object.prototype.constructor.toString();function Hi(e){if(!e||typeof e!="object")return!1;const t=fr(e);if(t===null)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object?!0:typeof r=="function"&&Function.toString.call(r)===mf}function Ns(e,t){Ps(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,s)=>t(s,r,e))}function Ps(e){const t=e[ct];return t?t.type_:Array.isArray(e)?1:Br(e)?2:zs(e)?3:0}function _n(e,t){return Ps(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Xi(e,t,r){const s=Ps(e);s===2?e.set(t,r):s===3?e.add(r):e[t]=r}function hf(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Br(e){return e instanceof Map}function zs(e){return e instanceof Set}function Gt(e){return e.copy_||e.base_}function Fn(e,t){if(Br(e))return new Map(e);if(zs(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const r=Hi(e);if(t===!0||t==="class_only"&&!r){const s=Object.getOwnPropertyDescriptors(e);delete s[ct];let n=Reflect.ownKeys(s);for(let a=0;a<n.length;a++){const i=n[a],l=s[i];l.writable===!1&&(l.writable=!0,l.configurable=!0),(l.get||l.set)&&(s[i]={configurable:!0,writable:!0,enumerable:l.enumerable,value:e[i]})}return Object.create(fr(e),s)}else{const s=fr(e);if(s!==null&&r)return{...e};const n=Object.create(s);return Object.assign(n,e)}}function ea(e,t=!1){return Is(e)||mr(e)||!Qt(e)||(Ps(e)>1&&Object.defineProperties(e,{set:{value:os},add:{value:os},clear:{value:os},delete:{value:os}}),Object.freeze(e),t&&Object.values(e).forEach(r=>ea(r,!0))),e}function os(){st(2)}function Is(e){return Object.isFrozen(e)}var pf={};function er(e){const t=pf[e];return t||st(0,e),t}var Or;function Qi(){return Or}function bf(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function oo(e,t){t&&(er("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function On(e){Rn(e),e.drafts_.forEach(gf),e.drafts_=null}function Rn(e){e===Or&&(Or=e.parent_)}function io(e){return Or=bf(Or,e)}function gf(e){const t=e[ct];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function lo(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[ct].modified_&&(On(t),st(4)),Qt(e)&&(e=Ss(t,e),t.parent_||Es(t,e)),t.patches_&&er("Patches").generateReplacementPatches_(r[ct].base_,e,t.patches_,t.inversePatches_)):e=Ss(t,r,[]),On(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Yi?e:void 0}function Ss(e,t,r){if(Is(t))return t;const s=t[ct];if(!s)return Ns(t,(n,a)=>co(e,s,t,n,a,r)),t;if(s.scope_!==e)return t;if(!s.modified_)return Es(e,s.base_,!0),s.base_;if(!s.finalized_){s.finalized_=!0,s.scope_.unfinalizedDrafts_--;const n=s.copy_;let a=n,i=!1;s.type_===3&&(a=new Set(n),n.clear(),i=!0),Ns(a,(l,c)=>co(e,s,n,l,c,r,i)),Es(e,n,!1),r&&e.patches_&&er("Patches").generatePatches_(s,r,e.patches_,e.inversePatches_)}return s.copy_}function co(e,t,r,s,n,a,i){if(process.env.NODE_ENV!=="production"&&n===r&&st(5),mr(n)){const l=a&&t&&t.type_!==3&&!_n(t.assigned_,s)?a.concat(s):void 0,c=Ss(e,n,l);if(Xi(r,s,c),mr(c))e.canAutoFreeze_=!1;else return}else i&&r.add(n);if(Qt(n)&&!Is(n)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Ss(e,n),(!t||!t.scope_.parent_)&&typeof s!="symbol"&&(Br(r)?r.has(s):Object.prototype.propertyIsEnumerable.call(r,s))&&Es(e,n)}}function Es(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&ea(t,r)}function xf(e,t){const r=Array.isArray(e),s={type_:r?1:0,scope_:t?t.scope_:Qi(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let n=s,a=ta;r&&(n=[s],a=Rr);const{revoke:i,proxy:l}=Proxy.revocable(n,a);return s.draft_=l,s.revoke_=i,l}var ta={get(e,t){if(t===ct)return e;const r=Gt(e);if(!_n(r,t))return vf(e,r,t);const s=r[t];return e.finalized_||!Qt(s)?s:s===en(e.base_,t)?(tn(e),e.copy_[t]=Mn(s,e)):s},has(e,t){return t in Gt(e)},ownKeys(e){return Reflect.ownKeys(Gt(e))},set(e,t,r){const s=el(Gt(e),t);if(s!=null&&s.set)return s.set.call(e.draft_,r),!0;if(!e.modified_){const n=en(Gt(e),t),a=n==null?void 0:n[ct];if(a&&a.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(hf(r,n)&&(r!==void 0||_n(e.base_,t)))return!0;tn(e),Dn(e)}return e.copy_[t]===r&&(r!==void 0||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty(e,t){return en(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,tn(e),Dn(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=Gt(e),s=Reflect.getOwnPropertyDescriptor(r,t);return s&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:s.enumerable,value:r[t]}},defineProperty(){st(11)},getPrototypeOf(e){return fr(e.base_)},setPrototypeOf(){st(12)}},Rr={};Ns(ta,(e,t)=>{Rr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Rr.deleteProperty=function(e,t){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(t))&&st(13),Rr.set.call(this,e,t,void 0)};Rr.set=function(e,t,r){return process.env.NODE_ENV!=="production"&&t!=="length"&&isNaN(parseInt(t))&&st(14),ta.set.call(this,e[0],t,r,e[0])};function en(e,t){const r=e[ct];return(r?Gt(r):e)[t]}function vf(e,t,r){var n;const s=el(t,r);return s?"value"in s?s.value:(n=s.get)==null?void 0:n.call(e.draft_):void 0}function el(e,t){if(!(t in e))return;let r=fr(e);for(;r;){const s=Object.getOwnPropertyDescriptor(r,t);if(s)return s;r=fr(r)}}function Dn(e){e.modified_||(e.modified_=!0,e.parent_&&Dn(e.parent_))}function tn(e){e.copy_||(e.copy_=Fn(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var yf=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,s)=>{if(typeof t=="function"&&typeof r!="function"){const a=r;r=t;const i=this;return function(c=a,...d){return i.produce(c,u=>r.call(this,u,...d))}}typeof r!="function"&&st(6),s!==void 0&&typeof s!="function"&&st(7);let n;if(Qt(t)){const a=io(this),i=Mn(t,void 0);let l=!0;try{n=r(i),l=!1}finally{l?On(a):Rn(a)}return oo(a,s),lo(n,a)}else if(!t||typeof t!="object"){if(n=r(t),n===void 0&&(n=t),n===Yi&&(n=void 0),this.autoFreeze_&&ea(n,!0),s){const a=[],i=[];er("Patches").generateReplacementPatches_(t,n,a,i),s(a,i)}return n}else st(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(i,...l)=>this.produceWithPatches(i,c=>t(c,...l));let s,n;return[this.produce(t,r,(i,l)=>{s=i,n=l}),s,n]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Qt(e)||st(8),mr(e)&&(e=wf(e));const t=io(this),r=Mn(e,void 0);return r[ct].isManual_=!0,Rn(t),r}finishDraft(e,t){const r=e&&e[ct];(!r||!r.isManual_)&&st(9);const{scope_:s}=r;return oo(s,t),lo(void 0,s)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const n=t[r];if(n.path.length===0&&n.op==="replace"){e=n.value;break}}r>-1&&(t=t.slice(r+1));const s=er("Patches").applyPatches_;return mr(e)?s(e,t):this.produce(e,n=>s(n,t))}};function Mn(e,t){const r=Br(e)?er("MapSet").proxyMap_(e,t):zs(e)?er("MapSet").proxySet_(e,t):xf(e,t);return(t?t.scope_:Qi()).drafts_.push(r),r}function wf(e){return mr(e)||st(10,e),tl(e)}function tl(e){if(!Qt(e)||Is(e))return e;const t=e[ct];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Fn(e,t.scope_.immer_.useStrictShallowCopy_)}else r=Fn(e,!0);return Ns(r,(s,n)=>{Xi(r,s,tl(n))}),t&&(t.finalized_=!1),r}var jf=new yf,kf=jf.produce;const rn=e=>Number(e.toFixed(2)),dr=e=>Math.max(0,Math.min(100,e??0)),Nf={text:{name:"text",label:"Texto"},number:{name:"number",label:"Número"},email:{name:"email",label:"Email"},select:{name:"select",label:"Select"},checkbox:{name:"checkbox",label:"Checkbox"},date:{name:"date",label:"Fecha"},textarea:{name:"textarea",label:"Textarea"},file:{name:"file",label:"Archivo"}},_e=e=>e.layout.find(t=>t.type==="rows"),mt=(e,t)=>{if(t==null)return _e(e);const r=e.layout[t];return r&&r.type==="rows"?r:_e(e)},sn=e=>e<=1?["w-full"]:e===2?["w-1/2","w-1/2"]:e===3?["w-1/3","w-1/3","w-1/3"]:Array.from({length:e},()=>"flex-1"),nn={1:["w-full"],2:["w-1/2","w-1/2"],3:["w-1/3","w-1/3","w-1/3"],4:["w-1/4","w-1/4","w-1/4","w-1/4"],"1/3-2/3":["w-1/3","w-2/3"],"2/3-1/3":["w-2/3","w-1/3"],"1/4-3/4":["w-1/4","w-3/4"],"3/4-1/4":["w-3/4","w-1/4"]},$e=(e,t)=>{for(let r=0;r<e.layout.length;r++){const s=e.layout[r];if((s==null?void 0:s.type)!=="tabs")continue;const n=s.tabs.findIndex(a=>a.key===t);if(n>=0)return{nodeIdx:r,tabIdx:n}}return null},Sf=e=>{const t=[];return e.layout.forEach(r=>{r.type==="rows"&&r.sections.forEach(s=>s.rows.forEach(n=>n.columns.forEach(a=>(a.fields??[]).forEach(i=>t.push(i))))),r.type==="tabs"&&r.tabs.forEach(s=>s.sections.forEach(n=>n.rows.forEach(a=>a.columns.forEach(i=>(i.fields??[]).forEach(l=>t.push(l))))))}),t},Ef=e=>({type:"rows",sections:[{sectionTitle:e??"Sección",defaultOpen:!0,rows:[{title:"",columns:[{width:"w-full",fields:[]}]}]}]}),Cf=()=>({type:"tabs",tabs:[{key:`tab_${Date.now().toString(36)}_1`,label:"Pestaña 1",sections:[{sectionTitle:"Sección 1",defaultOpen:!0,rows:[{title:"",columns:[{width:"w-full",fields:[]}]}]}]},{key:`tab_${Date.now().toString(36)}_2`,label:"Pestaña 2",sections:[{sectionTitle:"Sección 1",defaultOpen:!0,rows:[{title:"",columns:[{width:"w-full",fields:[]}]}]}]}]}),ir=(e,t)=>Sf(e).includes(t),$n=e=>e.replace(/(?:_copy)+$/i,"").replace(/_(\d+)$/i,""),rl=e=>e.replace(/\s\((\d+)\)$/i,""),Xe=(e,t)=>{const r=e||"campo";if(!t.has(r))return r;let s=2;for(;t.has(`${r}_${s}`);)s++;return`${r}_${s}`},ot=(e,t)=>{const r=e||"Campo";if(!t.has(r))return r;let s=2;for(;t.has(`${r} (${s})`);)s++;return`${r} (${s})`},Qe=e=>{const t=(e.type??"text").toString(),r=Nf[t]??{name:"campo",label:"Campo"},s=e.name?$n(e.name):r.name,n=e.label?rl(e.label):r.label;return{baseName:s,baseLabel:n}},Af={layout:[{type:"rows",sections:[{sectionTitle:"Sección 1",defaultOpen:!0,rows:[{title:"",columns:[{width:"w-full",fields:[]}]}]}]}],fields:[],onSubmit:async()=>{},successMessage:"Guardado",errorMessage:"Error"},J=uf((e,t)=>({schema:Af,selection:{kind:"none"},past:[],future:[],setSchema:r=>{const s=t().schema,n=kf(s,r),a=n;e(i=>({...i,schema:a,past:[...i.past,s],future:[]}))},setSelection:r=>e({selection:r}),undo:()=>e(r=>r.past.length?{schema:r.past[r.past.length-1],past:r.past.slice(0,-1),future:[r.schema,...r.future]}:r),redo:()=>e(r=>r.future.length?{schema:r.future[0],past:[...r.past,r.schema],future:r.future.slice(1)}:r),resetHistory:()=>e(r=>({past:[],future:[]})),addField:r=>t().setSchema(s=>{const{baseName:n,baseLabel:a}=Qe(r),i=new Set(s.fields.map(u=>u.name).filter(Boolean)),l=new Set(s.fields.map(u=>u.label??"").filter(Boolean)),c=Xe(n,i),d=ot(a,l);r.name=c,r.label||(r.label=d),s.fields.push(r)}),addFieldAt:(r,s)=>t().setSchema(n=>{const{baseName:a,baseLabel:i}=Qe(r),l=new Set(n.fields.map(p=>p.name).filter(Boolean)),c=new Set(n.fields.map(p=>p.label??"").filter(Boolean)),d=Xe(a,l),u=ot(i,c);r.name=d,r.label||(r.label=u);const f=Math.max(0,Math.min(s??n.fields.length,n.fields.length));n.fields.splice(f,0,r)}),removeField:r=>t().setSchema(s=>{s.fields=s.fields.filter(n=>n.name!==r),s.layout.forEach(n=>{n.type==="rows"&&n.sections.forEach(a=>a.rows.forEach(i=>i.columns.forEach(l=>{l.fields=(l.fields??[]).filter(c=>c!==r)}))),n.type==="tabs"&&n.tabs.forEach(a=>a.sections.forEach(i=>i.rows.forEach(l=>l.columns.forEach(c=>{c.fields=(c.fields??[]).filter(d=>d!==r)}))))})}),updateField:(r,s)=>t().setSchema(n=>{const a=n.fields.findIndex(i=>i.name===r);a>=0&&s(n.fields[a])}),duplicateField:(r,s)=>t().setSchema(n=>{const a=n.fields.findIndex(g=>g.name===r);if(a<0)return;const i=n.fields[a],l=$n((s==null?void 0:s.trim())||i.name||""),c=rl(i.label??""),d=new Set(n.fields.map(g=>g.name).filter(Boolean)),u=new Set(n.fields.map(g=>g.label??"").filter(Boolean)),f=Xe(l||Qe(i).baseName,d),p=ot(c||Qe(i).baseLabel,u),b=JSON.parse(JSON.stringify(i));b.name=f,b.label=p,n.fields.splice(a+1,0,b)}),renameField:(r,s)=>t().setSchema(n=>{const a=n.fields.findIndex(d=>d.name===r);if(a<0)return;const i=$n((s??r).trim()||"campo"),l=new Set(n.fields.map(d=>d.name).filter(Boolean));l.delete(r);const c=Xe(i,l);n.fields[a].name=c,n.layout.forEach(d=>{d.type==="rows"&&d.sections.forEach(u=>u.rows.forEach(f=>f.columns.forEach(p=>{p.fields&&(p.fields=p.fields.map(b=>b===r?c:b))}))),d.type==="tabs"&&d.tabs.forEach(u=>u.sections.forEach(f=>f.rows.forEach(p=>p.columns.forEach(b=>{b.fields&&(b.fields=b.fields.map(g=>g===r?c:g))}))))})}),addSection:r=>t().setSchema(s=>{const n=_e(s);if(!n)return;const a={sectionTitle:r??"Nueva sección",defaultOpen:!0,rows:[{title:"",columns:[{width:"w-full",fields:[]}]}]};n.sections.push(a)}),renameSection:(r,s)=>t().setSchema(n=>{const a=_e(n);if(!a)return;const i=a.sections[r];i&&(i.sectionTitle=(s??"").trim()||"Sección")}),moveSection:(r,s,n)=>e(a=>{const i=[...a.schema.layout],l=i[r];if(!l||l.type!=="rows")return a;const c=[...l.sections],[d]=c.splice(s,1),u=Math.max(0,Math.min(n,c.length));return c.splice(u,0,d),i[r]={...l,sections:c},{schema:{...a.schema,layout:i}}}),removeSection:r=>t().setSchema(s=>{const n=_e(s);if(!n||r<0||r>=n.sections.length)return;const a=[...n.sections];a.splice(r,1),n.sections=a}),duplicateSection:r=>t().setSchema(s=>{const n=_e(s);if(!n)return;const a=n.sections[r];if(!a)return;const i=JSON.parse(JSON.stringify(a)),l=(a.sectionTitle||"Sección").toString(),c=n.sections.map(f=>f.sectionTitle||""),d=new Set(c);let u=l;if(d.has(u)){let f=2;for(;d.has(`${l} (${f})`);)f++;u=`${l} (${f})`}i.sectionTitle=u,n.sections.splice(r+1,0,i)}),addRowsBlockAt:(r,s)=>t().setSchema(n=>{const a=Math.max(0,Math.min(r,n.layout.length));n.layout.splice(a,0,Ef(s))}),addTabsContainerAt:r=>t().setSchema(s=>{const n=Math.max(0,Math.min(r,s.layout.length));s.layout.splice(n,0,Cf())}),moveLayoutNode:(r,s)=>t().setSchema(n=>{const a=n.layout.length;if(r<0||r>=a)return;const i=Math.max(0,Math.min(s,a-1));if(r===i)return;const l=[...n.layout],[c]=l.splice(r,1);l.splice(i,0,c),n.layout=l}),removeLayoutNode:r=>t().setSchema(s=>{if(r<0||r>=s.layout.length)return;const n=[...s.layout];n.splice(r,1),s.layout=n}),addTabsContainer:()=>t().setSchema(r=>{const s={type:"tabs",tabs:[{key:"tab1",label:"Pestaña 1",sections:[{sectionTitle:"Sección 1",defaultOpen:!0,rows:[{title:"",columns:[{width:"w-full",fields:[]}]}]}]},{key:"tab2",label:"Pestaña 2",sections:[{sectionTitle:"Sección 1",defaultOpen:!0,rows:[{title:"",columns:[{width:"w-full",fields:[]}]}]}]}]};r.layout.push(s)}),addTabAfter:r=>t().setSchema(s=>{const n=$e(s,r);if(!n)return;const a=s.layout[n.nodeIdx],i="Nueva pestaña",l=new Set(a.tabs.map(f=>f.label));let c=i,d=2;for(;l.has(c);)c=`${i} (${d++})`;const u={key:`tab_${Date.now().toString(36)}`,label:c,sections:[{sectionTitle:"Sección 1",defaultOpen:!0,rows:[{title:"",columns:[{width:"w-full",fields:[]}]}]}]};a.tabs.splice(n.tabIdx+1,0,u)}),removeTab:r=>t().setSchema(s=>{const n=$e(s,r);if(!n)return;const a=s.layout[n.nodeIdx];a.tabs.length<=1||a.tabs.splice(n.tabIdx,1)}),renameTab:(r,s)=>t().setSchema(n=>{const a=$e(n,r);if(!a)return;const i=n.layout[a.nodeIdx];i.tabs[a.tabIdx].label=(s??"").trim()||"Pestaña"}),moveTab:(r,s,n)=>e(a=>{const i=[...a.schema.layout],l=i[r];if(!l||l.type!=="tabs")return a;const c=[...l.tabs],[d]=c.splice(s,1),u=Math.max(0,Math.min(n,c.length));return c.splice(u,0,d),i[r]={...l,tabs:c},{schema:{...a.schema,layout:i}}}),moveTabSection:(r,s,n,a)=>e(i=>{const l=[...i.schema.layout],c=l[r];if(!c||c.type!=="tabs")return i;const d=c.tabs.find(g=>g.key===s);if(!d)return i;const u=[...d.sections],[f]=u.splice(n,1),p=Math.max(0,Math.min(a,u.length));u.splice(p,0,f);const b=c.tabs.map(g=>g.key===s?{...g,sections:u}:g);return l[r]={...c,tabs:b},{schema:{...i.schema,layout:l}}}),addSectionToTab:(r,s)=>t().setSchema(n=>{const a=$e(n,r);if(!a)return;n.layout[a.nodeIdx].tabs[a.tabIdx].sections.push({sectionTitle:s??"Nueva sección",defaultOpen:!0,rows:[{title:"",columns:[{width:"w-full",fields:[]}]}]})}),addRowToTabSection:(r,s)=>t().setSchema(n=>{var l;const a=$e(n,r);if(!a)return;(l=n.layout[a.nodeIdx].tabs[a.tabIdx].sections[s])==null||l.rows.push({title:"",columns:[{width:"w-full",fields:[]}]})}),renameTabSection:(r,s,n)=>t().setSchema(a=>{const i=$e(a,r);if(!i)return;const c=a.layout[i.nodeIdx].tabs[i.tabIdx].sections[s];c&&(c.sectionTitle=(n??"").trim()||"Sección")}),setTabRowColumns:(r,s,n,a)=>t().setSchema(i=>{var b,g;const l=$e(i,r);if(!l)return;const d=(g=(b=i.layout[l.nodeIdx].tabs[l.tabIdx].sections[s])==null?void 0:b.rows)==null?void 0:g[n];if(!d)return;const u=(d.columns??[]).flatMap(v=>v.fields??[]),f=sn(a),p=Array.from({length:a},(v,x)=>({width:f[x],fields:[]}));u.forEach((v,x)=>p[x%a].fields.push(v)),d.columns=p}),addColumnToTabRow:(r,s,n)=>t().setSchema(a=>{var d,u;const i=$e(a,r);if(!i)return;const c=(u=(d=a.layout[i.nodeIdx].tabs[i.tabIdx].sections[s])==null?void 0:d.rows)==null?void 0:u[n];c&&c.columns.push({width:"w-1/2",fields:[]})}),removeTabColumn:(r,s,n,a)=>t().setSchema(i=>{var g,v;const l=$e(i,r);if(!l)return;const d=(v=(g=i.layout[l.nodeIdx].tabs[l.tabIdx].sections[s])==null?void 0:g.rows)==null?void 0:v[n];if(!d)return;const u=d.columns??[];if(!u[a])return;const f=u[a],p=a>0?a-1:u[a+1]?a+1:-1,b=[...u];b.splice(a,1),p>=0&&b[p]&&(b[p].fields=[...b[p].fields??[],...f.fields??[]]),d.columns=b}),placeFieldInTabColumn:(r,s,n,a,i)=>t().setSchema(l=>{const c=$e(l,s);if(!c)return;const u=l.layout[c.nodeIdx].tabs[c.tabIdx].sections[n].rows[a].columns[i];let f=r;if(ir(l,r)){const p=l.fields.findIndex(b=>b.name===r);if(p>=0){const b=l.fields[p],{baseName:g,baseLabel:v}=Qe(b),x=new Set(l.fields.map(_=>_.name).filter(Boolean)),m=new Set(l.fields.map(_=>_.label??"").filter(Boolean));f=Xe(g,x);const y=ot(v,m),j=JSON.parse(JSON.stringify(b));j.name=f,j.label=y,l.fields.splice(p+1,0,j)}}u.fields=[...u.fields??[],f]}),moveFieldInTab:(r,s)=>t().setSchema(n=>{var b,g,v,x;const a=$e(n,r.tabKey);if(!a)return;const i=n.layout[a.nodeIdx],l=(g=(b=i.tabs[a.tabIdx].sections[r.s])==null?void 0:b.rows[r.r])==null?void 0:g.columns[r.c],c=(x=(v=i.tabs[a.tabIdx].sections[s.s])==null?void 0:v.rows[s.r])==null?void 0:x.columns[s.c];if(!l||!c)return;const d=[...l.fields??[]];if(r.idx<0||r.idx>=d.length)return;const[u]=d.splice(r.idx,1);l.fields=d;const f=[...c.fields??[]],p=s.idx===void 0?f.length:Math.max(0,Math.min(s.idx,f.length));f.splice(p,0,u),c.fields=f}),removeFieldFromTabLayout:r=>t().setSchema(s=>{var c,d;const n=$e(s,r.tabKey);if(!n)return;const i=(d=(c=s.layout[n.nodeIdx].tabs[n.tabIdx].sections[r.s])==null?void 0:c.rows[r.r])==null?void 0:d.columns[r.c];if(!i||!i.fields||r.idx<0||r.idx>=i.fields.length)return;const l=[...i.fields];l.splice(r.idx,1),i.fields=l}),moveRowInSection:(r,s,n)=>t().setSchema(a=>{const i=_e(a);if(!i)return;const l=i.sections[r];if(!l)return;const c=[...l.rows];if(s<0||s>=c.length)return;const d=Math.max(0,Math.min(n,c.length-1));if(s===d)return;const[u]=c.splice(s,1);c.splice(d,0,u),l.rows=c}),duplicateRowInSection:(r,s)=>t().setSchema(n=>{const a=_e(n);if(!a)return;const i=a.sections[r];if(!i)return;const l=i.rows[s];if(!l)return;const c=JSON.parse(JSON.stringify(l));i.rows.splice(s+1,0,c)}),removeRowFromSection:(r,s)=>t().setSchema(n=>{const a=_e(n);if(!a)return;const i=a.sections[r];if(!i)return;const l=[...i.rows];s<0||s>=l.length||(l.splice(s,1),l.length===0&&l.push({title:"",columns:[{width:"w-full",fields:[]}]}),i.rows=l)}),setRowColumnsPreset:(r,s,n)=>t().setSchema(a=>{var d,u;const i=_e(a);if(!i)return;const l=(u=(d=i.sections[r])==null?void 0:d.rows)==null?void 0:u[s];if(!l)return;const c=nn[n];c&&an(l,c)}),setRowResponsive:(r,s,n)=>t().setSchema(a=>{var b,g;const i=_e(a);if(!i)return;const l=(g=(b=i.sections[Number(r)])==null?void 0:b.rows)==null?void 0:g[Number(s)];if(!l)return;const c=Math.max(n.desktop.count??1,n.tablet.count??1,n.mobile.count??1),d=(l.columns??[]).flatMap(v=>v.fields??[]),u=ln(d,c),f=(v,x,m)=>x<(m??0)?dr((v==null?void 0:v[x])??0):null,p=Array.from({length:c},(v,x)=>{const m=f(n.mobile.widths,x,n.mobile.count),y=f(n.tablet.widths,x,n.tablet.count),j=f(n.desktop.widths,x,n.desktop.count);return{width:on(m,y,j),fields:u[x]??[]}});l.columns=p}),setRowColumnsAt:(r,s,n,a)=>t().setSchema(i=>{var p,b;const l=mt(i,r);if(!l)return;const c=(b=(p=l.sections[s])==null?void 0:p.rows)==null?void 0:b[n];if(!c)return;const d=(c.columns??[]).flatMap(g=>g.fields??[]),u=sn(a),f=Array.from({length:a},(g,v)=>({width:u[v],fields:[]}));d.forEach((g,v)=>f[v%a].fields.push(g)),c.columns=f}),addColumnToRowAt:(r,s,n)=>t().setSchema(a=>{var l,c,d,u;const i=mt(a,r);i&&((u=(d=(c=(l=i.sections[s])==null?void 0:l.rows)==null?void 0:c[n])==null?void 0:d.columns)==null||u.push({width:"w-1/2",fields:[]}))}),removeColumnAt:(r,s,n,a)=>t().setSchema(i=>{var b,g;const l=mt(i,r);if(!l)return;const c=(g=(b=l.sections[s])==null?void 0:b.rows)==null?void 0:g[n];if(!c)return;const d=c.columns??[];if(!d[a])return;const u=d[a],f=a>0?a-1:d[a+1]?a+1:-1,p=[...d];p.splice(a,1),f>=0&&p[f]&&(p[f].fields=[...p[f].fields??[],...u.fields??[]]),c.columns=p}),setRowColumnsPresetAt:(r,s,n,a)=>t().setSchema(i=>{var u,f;const l=mt(i,r);if(!l)return;const c=(f=(u=l.sections[s])==null?void 0:u.rows)==null?void 0:f[n];if(!c)return;const d=nn[a];d&&an(c,d)}),setRowResponsiveAt:(r,s,n,a)=>t().setSchema(i=>{var g,v;const l=mt(i,r);if(!l)return;const c=(v=(g=l.sections[Number(s)])==null?void 0:g.rows)==null?void 0:v[Number(n)];if(!c)return;const d=Math.max(a.desktop.count??1,a.tablet.count??1,a.mobile.count??1),u=(x,m,y)=>m<(y??0)?dr((x==null?void 0:x[m])??0):null,f=Tf(c,d),p=f.flatMap(x=>x.fields??[]),b=ln(p,d);for(let x=0;x<d;x++){const m=u(a.mobile.widths,x,a.mobile.count),y=u(a.tablet.widths,x,a.tablet.count),j=u(a.desktop.widths,x,a.desktop.count);f[x].width=on(m,y,j),f[x].fields=b[x]??[]}}),placeFieldInColumnAt:(r,s,n,a,i,l)=>t().setSchema(c=>{var g,v,x,m;const d=mt(c,r);if(!d)return;const u=(m=(x=(v=(g=d.sections[n])==null?void 0:g.rows)==null?void 0:v[a])==null?void 0:x.columns)==null?void 0:m[i];if(!u)return;let f=s;if(ir(c,s)){const y=c.fields.findIndex(j=>j.name===s);if(y>=0){const j=c.fields[y],{baseName:_,baseLabel:k}=Qe(j),A=new Set(c.fields.map(U=>U.name).filter(Boolean)),C=new Set(c.fields.map(U=>U.label??"").filter(Boolean));f=Xe(_,A);const N=ot(k,C),M=JSON.parse(JSON.stringify(j));M.name=f,M.label=N,c.fields.splice(y+1,0,M)}}const p=[...u.fields??[]],b=l===void 0?p.length:Math.max(0,Math.min(l,p.length));p.splice(b,0,f),u.fields=p}),moveFieldAt:(r,s,n,a)=>t().setSchema(i=>{var v,x,m,y,j,_,k,A;const l=mt(i,r),c=mt(i,n);if(!l||!c)return;const d=(y=(m=(x=(v=l.sections[s.s])==null?void 0:v.rows)==null?void 0:x[s.r])==null?void 0:m.columns)==null?void 0:y[s.c],u=(A=(k=(_=(j=c.sections[a.s])==null?void 0:j.rows)==null?void 0:_[a.r])==null?void 0:k.columns)==null?void 0:A[a.c];if(!d||!u)return;const f=[...d.fields??[]];if(s.idx<0||s.idx>=f.length)return;const[p]=f.splice(s.idx,1);d.fields=f;const b=[...u.fields??[]],g=a.idx===void 0?b.length:Math.max(0,Math.min(a.idx,b.length));b.splice(g,0,p),u.fields=b}),removeFieldFromLayoutAt:(r,s)=>t().setSchema(n=>{var c,d,u,f;const a=mt(n,r);if(!a)return;const i=(f=(u=(d=(c=a.sections[s.s])==null?void 0:c.rows)==null?void 0:d[s.r])==null?void 0:u.columns)==null?void 0:f[s.c];if(!i||!i.fields||s.idx<0||s.idx>=i.fields.length)return;const l=[...i.fields];l.splice(s.idx,1),i.fields=l}),insertExistingFieldAtAt:(r,s,n,a,i,l)=>t().setSchema(c=>{var g,v,x,m;const d=mt(c,r);if(!d)return;const u=(m=(x=(v=(g=d.sections[n])==null?void 0:g.rows)==null?void 0:v[a])==null?void 0:x.columns)==null?void 0:m[i];if(!u)return;let f=s;if(ir(c,s)){const y=c.fields.findIndex(j=>j.name===s);if(y>=0){const j=c.fields[y],{baseName:_,baseLabel:k}=Qe(j),A=new Set(c.fields.map(V=>V.name).filter(Boolean)),C=new Set(c.fields.map(V=>V.label??"").filter(Boolean)),N=Xe(_,A),M=ot(k,C),U=JSON.parse(JSON.stringify(j));U.name=N,U.label=M,c.fields.splice(y+1,0,U),f=N}}const p=[...u.fields??[]],b=Math.max(0,Math.min(l,p.length));p.splice(b,0,f),u.fields=p}),addFieldAndPlaceAtAt:(r,s,n,a,i,l)=>t().setSchema(c=>{var _,k,A,C;const{baseName:d,baseLabel:u}=Qe(s),f=new Set(c.fields.map(N=>N.name).filter(Boolean)),p=new Set(c.fields.map(N=>N.label??"").filter(Boolean)),b=Xe(d,f),g=ot(u,p),v=JSON.parse(JSON.stringify(s));v.name=b,v.label||(v.label=g),c.fields.push(v);const x=mt(c,r);if(!x)return;const m=(C=(A=(k=(_=x.sections[n])==null?void 0:_.rows)==null?void 0:k[a])==null?void 0:A.columns)==null?void 0:C[i];if(!m)return;const y=[...m.fields??[]],j=Math.max(0,Math.min(l,y.length));y.splice(j,0,b),m.fields=y}),setTabRowResponsive:(r,s,n,a)=>t().setSchema(i=>{var v,x;const l=$e(i,r);if(!l)return;const d=(x=(v=i.layout[l.nodeIdx].tabs[l.tabIdx].sections[Number(s)])==null?void 0:v.rows)==null?void 0:x[Number(n)];if(!d)return;const u=Math.max(a.desktop.count??1,a.tablet.count??1,a.mobile.count??1),f=(d.columns??[]).flatMap(m=>m.fields??[]),p=ln(f,u),b=(m,y,j)=>y<(j??0)?dr((m==null?void 0:m[y])??0):null,g=Array.from({length:u},(m,y)=>{const j=b(a.mobile.widths,y,a.mobile.count),_=b(a.tablet.widths,y,a.tablet.count),k=b(a.desktop.widths,y,a.desktop.count);return{width:on(j,_,k),fields:p[y]??[]}});d.columns=g}),moveTabRow:(r,s,n,a)=>t().setSchema(i=>{const l=$e(i,r);if(!l)return;const d=i.layout[l.nodeIdx].tabs[l.tabIdx].sections[s];if(!d)return;const u=[...d.rows];if(n<0||n>=u.length)return;const f=Math.max(0,Math.min(a,u.length-1));if(n===f)return;const[p]=u.splice(n,1);u.splice(f,0,p),d.rows=u}),duplicateTabRow:(r,s,n)=>t().setSchema(a=>{const i=$e(a,r);if(!i)return;const c=a.layout[i.nodeIdx].tabs[i.tabIdx].sections[s];if(!c)return;const d=c.rows[n];if(!d)return;const u=JSON.parse(JSON.stringify(d));c.rows.splice(n+1,0,u)}),removeTabRow:(r,s,n)=>t().setSchema(a=>{const i=$e(a,r);if(!i)return;const c=a.layout[i.nodeIdx].tabs[i.tabIdx].sections[s];if(!c)return;const d=[...c.rows];n<0||n>=d.length||(d.splice(n,1),d.length===0&&d.push({title:"",columns:[{width:"w-full",fields:[]}]}),c.rows=d)}),setTabRowColumnsPreset:(r,s,n,a)=>t().setSchema(i=>{var f,p;const l=$e(i,r);if(!l)return;const d=(p=(f=i.layout[l.nodeIdx].tabs[l.tabIdx].sections[s])==null?void 0:f.rows)==null?void 0:p[n];if(!d)return;const u=nn[a];u&&an(d,u)}),addRowToSection:r=>t().setSchema(s=>{const n=_e(s);n&&n.sections[r].rows.push({title:"",columns:[{width:"w-full",fields:[]}]})}),addColumnToRow:(r,s)=>t().setSchema(n=>{const a=_e(n);a&&a.sections[r].rows[s].columns.push({width:"w-1/2",fields:[]})}),setRowColumns:(r,s,n)=>t().setSchema(a=>{const i=_e(a);if(!i)return;const l=i.sections[r].rows[s],c=(l.columns??[]).flatMap(f=>f.fields??[]),d=sn(n),u=Array.from({length:n},(f,p)=>({width:d[p],fields:[]}));c.forEach((f,p)=>u[p%n].fields.push(f)),l.columns=u}),removeColumn:(r,s,n)=>t().setSchema(a=>{const i=_e(a);if(!i)return;const l=i.sections[r].rows[s],c=l.columns??[];if(!c[n])return;const d=c[n],u=n>0?n-1:c[n+1]?n+1:-1,f=[...c];f.splice(n,1),u>=0&&f[u]&&(f[u].fields=[...f[u].fields??[],...d.fields??[]]),l.columns=f}),placeFieldInColumn:(r,s,n,a)=>t().setSchema(i=>{const l=_e(i);if(!l)return;const c=l.sections[s].rows[n].columns[a];let d=r;if(ir(i,r)){const u=i.fields.findIndex(f=>f.name===r);if(u>=0){const f=i.fields[u],{baseName:p,baseLabel:b}=Qe(f),g=new Set(i.fields.map(j=>j.name).filter(Boolean)),v=new Set(i.fields.map(j=>j.label??"").filter(Boolean)),x=Xe(p,g),m=ot(b,v),y=JSON.parse(JSON.stringify(f));y.name=x,y.label=m,i.fields.splice(u+1,0,y),d=x}}c.fields=[...c.fields??[],d]}),moveField:(r,s)=>t().setSchema(n=>{var p,b,g,v;const a=_e(n);if(!a)return;const i=(b=(p=a.sections[r.s])==null?void 0:p.rows[r.r])==null?void 0:b.columns[r.c],l=(v=(g=a.sections[s.s])==null?void 0:g.rows[s.r])==null?void 0:v.columns[s.c];if(!i||!l)return;const c=[...i.fields??[]];if(r.idx<0||r.idx>=c.length)return;const[d]=c.splice(r.idx,1);i.fields=c;const u=[...l.fields??[]],f=s.idx===void 0?u.length:Math.max(0,Math.min(s.idx,u.length));u.splice(f,0,d),l.fields=u}),removeFieldFromLayout:r=>t().setSchema(s=>{var l,c;const n=_e(s);if(!n)return;const a=(c=(l=n.sections[r.s])==null?void 0:l.rows[r.r])==null?void 0:c.columns[r.c];if(!a||!a.fields||r.idx<0||r.idx>=a.fields.length)return;const i=[...a.fields];i.splice(r.idx,1),a.fields=i}),addFieldAndPlace:(r,s,n,a)=>t().setSchema(i=>{const{baseName:l,baseLabel:c}=Qe(r),d=new Set(i.fields.map(x=>x.name).filter(Boolean)),u=new Set(i.fields.map(x=>x.label??"").filter(Boolean)),f=Xe(l,d),p=ot(c,u),b=JSON.parse(JSON.stringify(r));b.name=f,b.label||(b.label=p),i.fields.push(b);const g=_e(i);if(!g)return;const v=g.sections[s].rows[n].columns[a];v.fields=[...v.fields??[],f]}),moveFieldWithinColumn:(r,s,n,a,i)=>t().setSchema(l=>{var b,g,v,x;const c=_e(l);if(!c)return;const d=(x=(v=(g=(b=c.sections[r])==null?void 0:b.rows)==null?void 0:g[s])==null?void 0:v.columns)==null?void 0:x[n];if(!d)return;const u=[...d.fields??[]];if(a<0||a>=u.length)return;const[f]=u.splice(a,1),p=Math.max(0,Math.min(i,u.length));u.splice(p,0,f),d.fields=u}),insertExistingFieldAt:(r,s,n,a,i)=>t().setSchema(l=>{var b,g,v,x;const c=_e(l);if(!c)return;const d=(x=(v=(g=(b=c.sections[s])==null?void 0:b.rows)==null?void 0:g[n])==null?void 0:v.columns)==null?void 0:x[a];if(!d)return;let u=r;if(ir(l,r)){const m=l.fields.findIndex(y=>y.name===r);if(m>=0){const y=l.fields[m],{baseName:j,baseLabel:_}=Qe(y),k=new Set(l.fields.map(U=>U.name).filter(Boolean)),A=new Set(l.fields.map(U=>U.label??"").filter(Boolean)),C=Xe(j,k),N=ot(_,A),M=JSON.parse(JSON.stringify(y));M.name=C,M.label=N,l.fields.splice(m+1,0,M),u=C}}const f=[...d.fields??[]],p=Math.max(0,Math.min(i,f.length));f.splice(p,0,u),d.fields=f}),addFieldAndPlaceAt:(r,s,n,a,i)=>t().setSchema(l=>{var j,_,k,A;const{baseName:c,baseLabel:d}=Qe(r),u=new Set(l.fields.map(C=>C.name).filter(Boolean)),f=new Set(l.fields.map(C=>C.label??"").filter(Boolean)),p=Xe(c,u),b=ot(d,f),g=JSON.parse(JSON.stringify(r));g.name=p,g.label||(g.label=b),l.fields.push(g);const v=_e(l);if(!v)return;const x=(A=(k=(_=(j=v.sections[s])==null?void 0:j.rows)==null?void 0:_[n])==null?void 0:k.columns)==null?void 0:A[a];if(!x)return;const m=[...x.fields??[]],y=Math.max(0,Math.min(i,m.length));m.splice(y,0,p),x.fields=m}),moveFieldWithinTab:(r,s,n,a,i,l)=>t().setSchema(c=>{var g,v,x,m;const d=$e(c,r);if(!d)return;const u=(m=(x=(v=(g=c.layout[d.nodeIdx].tabs[d.tabIdx].sections[s])==null?void 0:g.rows)==null?void 0:v[n])==null?void 0:x.columns)==null?void 0:m[a];if(!u)return;const f=[...u.fields??[]];if(i<0||i>=f.length)return;const[p]=f.splice(i,1),b=Math.max(0,Math.min(l,f.length));f.splice(b,0,p),u.fields=f}),insertExistingFieldInTabAt:(r,s,n,a,i,l)=>t().setSchema(c=>{var g,v,x,m;const d=$e(c,s);if(!d)return;const u=(m=(x=(v=(g=c.layout[d.nodeIdx].tabs[d.tabIdx].sections[n])==null?void 0:g.rows)==null?void 0:v[a])==null?void 0:x.columns)==null?void 0:m[i];if(!u)return;let f=r;if(ir(c,r)){const y=c.fields.findIndex(j=>j.name===r);if(y>=0){const j=c.fields[y],{baseName:_,baseLabel:k}=Qe(j),A=new Set(c.fields.map(V=>V.name).filter(Boolean)),C=new Set(c.fields.map(V=>V.label??"").filter(Boolean)),N=Xe(_,A),M=ot(k,C),U=JSON.parse(JSON.stringify(j));U.name=N,U.label=M,c.fields.splice(y+1,0,U),f=N}}const p=[...u.fields??[]],b=Math.max(0,Math.min(l,p.length));p.splice(b,0,f),u.fields=p}),addFieldAndPlaceInTabAt:(r,s,n,a,i,l)=>t().setSchema(c=>{var _,k,A,C;const d=$e(c,s);if(!d)return;const{baseName:u,baseLabel:f}=Qe(r),p=new Set(c.fields.map(N=>N.name).filter(Boolean)),b=new Set(c.fields.map(N=>N.label??"").filter(Boolean)),g=Xe(u,p),v=ot(f,b),x=JSON.parse(JSON.stringify(r));x.name=g,x.label||(x.label=v),c.fields.push(x);const m=(C=(A=(k=(_=c.layout[d.nodeIdx].tabs[d.tabIdx].sections[n])==null?void 0:_.rows)==null?void 0:k[a])==null?void 0:A.columns)==null?void 0:C[i];if(!m)return;const y=[...m.fields??[]],j=Math.max(0,Math.min(l,y.length));y.splice(j,0,g),m.fields=y}),changeFieldType:(r,s)=>t().setSchema(n=>{const a=n.fields.findIndex(d=>d.name===r);if(a<0)return;const i=n.fields[a],c={...{name:i.name,label:i.label,width:i.width,size:i.size,info:i.info,disabled:i.disabled,visibleWhen:i.visibleWhen,disabledWhen:i.disabledWhen,clearWhen:i.clearWhen,validation:i.validation,placeholder:i.placeholder},type:s};switch(s){case"text":case"email":case"password":case"number":break;case"textarea":c.maxLength=i.maxLength??void 0,c.showCounter=i.showCounter??!1;break;case"select":c.options=Array.isArray(i.options)?i.options:[],c.multiple=!!i.multiple,c.loadOptions=i.loadOptions??void 0;break;case"checkbox":c.defaultValue=!!i.defaultValue,delete c.placeholder;break;case"date":c.showTime=!!i.showTime;break;case"file":c.maxFiles=i.maxFiles??1,c.accept=i.accept??"",delete c.placeholder;break}s!=="select"&&(delete c.options,delete c.multiple,delete c.loadOptions),s!=="textarea"&&(delete c.maxLength,delete c.showCounter),s!=="checkbox"&&delete c.defaultValue,s!=="date"&&delete c.showTime,s!=="file"&&(delete c.maxFiles,delete c.accept),n.fields[a]=c})}));function an(e,t){const r=(e.columns??[]).flatMap(a=>a.fields??[]),s=t.length,n=t.map(a=>({width:a,fields:[]}));r.forEach((a,i)=>n[i%s].fields.push(a)),e.columns=n}function on(e,t,r){const s=[];return e===null?s.push("hidden"):s.push(`w-[${rn(dr(e))}%]`,"block"),t===null?s.push("md:hidden"):s.push(`md:w-[${rn(dr(t))}%]`,"md:block"),r===null?s.push("lg:hidden"):s.push(`lg:w-[${rn(dr(r))}%]`,"lg:block"),s.join(" ")}function Tf(e,t){const r=e.columns??[];if(r.length===t)return r;if(r.length<t){const n=t-r.length,a=[...r];for(let i=0;i<n;i++)a.push({width:"w-[100%]",fields:[]});return e.columns=a,a}const s=r.slice(0,t);for(let n=t;n<r.length;n++)s[t-1].fields=[...s[t-1].fields??[],...r[n].fields??[]];return e.columns=s,s}function ln(e,t){const r=Array.from({length:t},()=>[]);return e.forEach((s,n)=>r[n%t].push(s)),r}const Vs=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function br(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function ra(e){return"nodeType"in e}function Ye(e){var t,r;return e?br(e)?e:ra(e)&&(t=(r=e.ownerDocument)==null?void 0:r.defaultView)!=null?t:window:window}function sa(e){const{Document:t}=Ye(e);return e instanceof t}function Ur(e){return br(e)?!1:e instanceof Ye(e).HTMLElement}function sl(e){return e instanceof Ye(e).SVGElement}function gr(e){return e?br(e)?e.document:ra(e)?sa(e)?e:Ur(e)||sl(e)?e.ownerDocument:document:document:document}const _t=Vs?h.useLayoutEffect:h.useEffect;function Bs(e){const t=h.useRef(e);return _t(()=>{t.current=e}),h.useCallback(function(){for(var r=arguments.length,s=new Array(r),n=0;n<r;n++)s[n]=arguments[n];return t.current==null?void 0:t.current(...s)},[])}function _f(){const e=h.useRef(null),t=h.useCallback((s,n)=>{e.current=setInterval(s,n)},[]),r=h.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,r]}function Dr(e,t){t===void 0&&(t=[e]);const r=h.useRef(e);return _t(()=>{r.current!==e&&(r.current=e)},t),r}function qr(e,t){const r=h.useRef();return h.useMemo(()=>{const s=e(r.current);return r.current=s,s},[...t])}function Cs(e){const t=Bs(e),r=h.useRef(null),s=h.useCallback(n=>{n!==r.current&&(t==null||t(n,r.current)),r.current=n},[]);return[r,s]}function As(e){const t=h.useRef();return h.useEffect(()=>{t.current=e},[e]),t.current}let cn={};function Us(e,t){return h.useMemo(()=>{if(t)return t;const r=cn[e]==null?0:cn[e]+1;return cn[e]=r,e+"-"+r},[e,t])}function nl(e){return function(t){for(var r=arguments.length,s=new Array(r>1?r-1:0),n=1;n<r;n++)s[n-1]=arguments[n];return s.reduce((a,i)=>{const l=Object.entries(i);for(const[c,d]of l){const u=a[c];u!=null&&(a[c]=u+e*d)}return a},{...t})}}const ur=nl(1),Ts=nl(-1);function Ff(e){return"clientX"in e&&"clientY"in e}function na(e){if(!e)return!1;const{KeyboardEvent:t}=Ye(e.target);return t&&e instanceof t}function Of(e){if(!e)return!1;const{TouchEvent:t}=Ye(e.target);return t&&e instanceof t}function _s(e){if(Of(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:r}=e.touches[0];return{x:t,y:r}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:r}=e.changedTouches[0];return{x:t,y:r}}}return Ff(e)?{x:e.clientX,y:e.clientY}:null}const Mr=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:r}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(r?Math.round(r):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:r}=e;return"scaleX("+t+") scaleY("+r+")"}},Transform:{toString(e){if(e)return[Mr.Translate.toString(e),Mr.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:r,easing:s}=e;return t+" "+r+"ms "+s}}}),uo="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Rf(e){return e.matches(uo)?e:e.querySelector(uo)}const Df={display:"none"};function Mf(e){let{id:t,value:r}=e;return h.createElement("div",{id:t,style:Df},r)}function $f(e){let{id:t,announcement:r,ariaLiveType:s="assertive"}=e;const n={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return h.createElement("div",{id:t,style:n,role:"status","aria-live":s,"aria-atomic":!0},r)}function Lf(){const[e,t]=h.useState("");return{announce:h.useCallback(s=>{s!=null&&t(s)},[]),announcement:e}}const al=h.createContext(null);function Pf(e){const t=h.useContext(al);h.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function zf(){const[e]=h.useState(()=>new Set),t=h.useCallback(s=>(e.add(s),()=>e.delete(s)),[e]);return[h.useCallback(s=>{let{type:n,event:a}=s;e.forEach(i=>{var l;return(l=i[n])==null?void 0:l.call(i,a)})},[e]),t]}const If={draggable:`
66
+ `,children:[s.jsx(Qe,{className:"w-5 h-5 text-[var(--color-ds-text-secondary)] hover:text-[var(--color-ds-text-primary)]"}),s.jsx("span",{className:"sr-only",children:"Cerrar modal"})]})]}),s.jsx("div",{className:"px-6 py-6 text-[var(--color-ds-text-primary)]",children:n}),o&&s.jsx("div",{className:"px-6 py-4 border-t border-[var(--color-ds-border-muted)] bg-[var(--color-ds-background-surface)]",children:o})]})})]}),document.body):null);function ms(e){return!!e&&(typeof e=="function"||typeof e=="object")}function jo(e,t){const r=t==="outline"?nn:an,n=r==null?void 0:r[e];return ms(n)?n:null}const bM=Object.entries(nn).filter(([e,t])=>e.endsWith("Icon")&&ms(t)).map(([e,t])=>({name:e,Icon:t,style:"outline"})),xM=Object.entries(an).filter(([e,t])=>e.endsWith("Icon")&&ms(t)).map(([e,t])=>({name:e,Icon:t,style:"solid"})),yM=Ko||V0||(e=>s.jsx("svg",{...e})),bl=({value:e,onChange:t,buttonLabel:r,disabled:n,className:o})=>{const[l,i]=v.useState(!1),[c,d]=v.useState(""),[u,f]=v.useState((e==null?void 0:e.style)??"outline"),m=e&&jo(e.name,e.style)||yM,h=v.useCallback((w,x)=>{const y=jo(w,x);t==null||t({name:w,style:x},y),i(!1)},[t]),g=v.useCallback(()=>{t==null||t(void 0,void 0),i(!1)},[t]);return s.jsxs(s.Fragment,{children:[s.jsx(ie,{size:"sm",variant:"outline",shape:"circle",className:`rounded-full p-0 w-8 h-8 inline-flex items-center justify-center ${o??""}`,disabled:n,onClick:()=>i(!0),ariaLabel:"Elegir icono",title:r||"Elegir icono",children:s.jsx(m,{className:"h-4 w-4"})}),s.jsx(Fr,{isOpen:l,onClose:()=>i(!1),title:"Seleccionar icono",children:s.jsxs("div",{className:"space-y-3",children:[s.jsx(Re,{labelHidden:!0,placeholder:"Buscar icono (p. ej. 'user', 'arrow', 'calendar'...)",value:c,onChange:w=>d(w.target.value)}),s.jsx(mr,{options:[{label:"Outline",value:"outline"},{label:"Solid",value:"solid"}],value:u,onChange:w=>f(w),children:{outline:s.jsx(xl,{items:bM,query:c,onPick:w=>h(w,"outline"),onClear:g}),solid:s.jsx(xl,{items:xM,query:c,onPick:w=>h(w,"solid"),onClear:g})}})]})})]})},xl=({items:e,query:t,onPick:r,onClear:n})=>{const o=v.useMemo(()=>{if(!t.trim())return e;const i=t.trim().toLowerCase().replace(/\s+/g,"");return e.filter(c=>c.name.toLowerCase().includes(i))},[e,t]),l=Qe;return s.jsx("div",{className:"custom-scroll max-h-[60vh] overflow-y-auto",children:s.jsxs("div",{className:"grid gap-2 grid-cols-3 sm:grid-cols-4 md:grid-cols-6",children:[s.jsxs("button",{type:"button",onClick:n,className:"group w-full aspect-square border border-[var(--color-ds-border-default-50)] rounded-lg p-1 bg-[var(--color-ds-background-page)] hover:bg-[var(--color-ds-background-accent)]/5 hover:border-[var(--color-ds-border-default)] transition focus:outline-none",title:"Ninguno","aria-label":"Quitar icono",children:[s.jsx("div",{className:"h-full w-full flex items-center justify-center",children:l?s.jsx(l,{className:"w-6 h-6"}):s.jsx("span",{className:"text-ds-lg",children:"×"})}),s.jsx("div",{className:"mt-1 text-center",children:s.jsx("span",{className:"block text-[11px] leading-tight text-[var(--color-ds-text-secondary)] truncate",children:"Ninguno"})})]}),(o.length===0?e:o).map(({name:i,Icon:c})=>s.jsxs("button",{type:"button",onClick:()=>r(i),className:"group w-full aspect-square border border-[var(--color-ds-border-default-50)] rounded-lg p-1 bg-[var(--color-ds-background-page)] hover:bg-[var(--color-ds-background-accent)]/5 hover:border-[var(--color-ds-border-default)] transition focus:outline-none",title:i,"aria-label":`Elegir ${i}`,children:[s.jsx("div",{className:"h-full w-full flex items-center justify-center",children:s.jsx(c,{className:"w-6 h-6 text-[var(--color-ds-text-primary)]"})}),s.jsx("div",{className:"mt-1 text-center",children:s.jsx("span",{className:"block text-[11px] leading-tight text-[var(--color-ds-text-secondary)] truncate",children:i.replace(/Icon$/,"")})})]},i))]})})};function yl(e){if(e){if(typeof e=="string")try{return JSON.parse(e)}catch{return}if(typeof e=="object")return e}}function EM(e,t){var r;return Array.isArray(e)?e.length&&typeof e[0]=="object"&&"value"in e[0]?t?e.map(n=>n.value):((r=e[0])==null?void 0:r.value)??"":t?e:e[0]??"":e&&typeof e=="object"&&"value"in e?e.value:e??(t?[]:"")}const kM=e=>e.type!=="inputGroup"&&e.type!=="button";function RM(){try{return gn()??void 0}catch{return}}function jt(e){if(!e||typeof e!="object")return;const t=e.name,r=e.style;if(!(!t||!r))return jo(t,r)||void 0}function Gi({schema:e,resolver:t,serviceRegistry:r}){var J;const{layout:n,fields:o=[],onSubmit:l,successMessage:i,errorMessage:c,footerButtons:d,defaultValues:u,loadDefaultValues:f,validationSchema:m}=e,{show:h}=hr(),{t:g}=vi(),w=RM(),x=r??((J=w==null?void 0:w.services)==null?void 0:J.registry)??void 0,y=v.useMemo(()=>{if(t)return t;try{const T=m??cs(e);return ls(T)}catch{return}},[t,e,m]),b=fi({resolver:y,mode:"onBlur",reValidateMode:"onChange",defaultValues:u??{}});v.useEffect(()=>{const T=e.defaultSource;if(!T)return;let Z=!1;return(async()=>{try{const te=x==null?void 0:x[T];if(!te)return;const me=typeof te=="function"?await te():te;!Z&&me&&typeof me=="object"&&b.reset({...e.defaultValues??{},...me})}catch{}})(),()=>{Z=!0}},[e,x,b.reset]);const{control:p,reset:E,handleSubmit:R,formState:{errors:j,isSubmitting:A}}=b,[S,N]=v.useState(!1);v.useEffect(()=>{f&&(N(!0),f().then(T=>E(T)).finally(()=>N(!1)))},[f,E]);const B=v.useMemo(()=>(o??[]).filter(kM),[o]),{loadingCount:$,optionsMap:_}=Wi(B),[W,K]=v.useState({});v.useEffect(()=>{let T=!0;return(async()=>{const te=await Promise.all(B.filter(re=>re.type==="select"&&re.optionSource).map(async re=>{const pe=re.name,se=re.optionSource,le=yl(re.adapterCtx??re.optionAdapterCtx),Ee=x==null?void 0:x[se];if(typeof Ee!="function")return[pe,[]];try{const be=await Promise.resolve(Ee("",{getValues:b.getValues,watch:b.watch,ctx:le})),Se=Array.isArray(be)?be:[];return[pe,Se]}catch{return[pe,[]]}}));if(!T)return;const me={};for(const[re,pe]of te)me[re]=pe;K(me)})(),()=>{T=!1}},[x,b.getValues,b.watch,JSON.stringify(B.map(T=>({n:T.name,os:T.optionSource??null,ctx:T.adapterCtx??T.optionAdapterCtx??null,staticLen:Array.isArray(T.options)?T.options.length:-1})))]),v.useEffect(()=>{let T=!0;return(async()=>{for(const te of B){if(te.type!=="select")continue;const me=te.name,re=te.defaultSource;if(!re)continue;const pe=b.getValues(me);if(!(pe==null||(Array.isArray(pe)?pe.length===0:pe==="")))continue;const le=x==null?void 0:x[re];if(typeof le=="function")try{const Ee=yl(te.adapterCtx??te.optionAdapterCtx),be=await Promise.resolve(le("",{getValues:b.getValues,watch:b.watch,ctx:Ee}));if(!T)return;const Se=EM(be,!!te.multiple);b.setValue(me,Se,{shouldDirty:!0,shouldTouch:!0})}catch{}}})(),()=>{T=!1}},[x,b.getValues,b.setValue,JSON.stringify(B.map(T=>({n:T.name,ds:T.defaultSource??null,mult:!!T.multiple})))]);const Q=Hi(o),q=zi(o,p),ce=v.useMemo(()=>{const T={};return n.forEach((Z,te)=>{Z.type==="tabs"&&(T[te]=Z.tabs[0].key)}),T},[n]),[U,M]=v.useState(ce),F=v.useCallback((T,Z)=>{if(!(T!=null&&T.enabled)||!T.rule)return Z;try{return!!on(T.rule,b.getValues())}catch{return Z}},[b]),ae=v.useMemo(()=>o.map(T=>T).filter(T=>{var Z;return((Z=T.clearWhen)==null?void 0:Z.enabled)&&T.clearWhen.rule}).map(T=>({name:T.name,rule:T.clearWhen.rule,clearTo:T.clearWhen.clearTo})),[o]);v.useEffect(()=>{if(!ae.length)return;const T=te=>{ae.forEach(({name:me,rule:re,clearTo:pe})=>{try{if(!!on(re,te)){const le=pe??"";te[me]!==le&&b.setValue(me,le,{shouldDirty:!0,shouldValidate:!0})}}catch{}})};T(b.getValues());const Z=b.watch(()=>T(b.getValues()));return()=>{var te;return(te=Z==null?void 0:Z.unsubscribe)==null?void 0:te.call(Z)}},[b,ae]);const O=v.useCallback(T=>{var nt,ct,D,k;let Z;if(typeof T=="string"){if(Z=Q[T],!Z){const C=(o??[]).find(L=>(L==null?void 0:L.name)===T);if(C)Z=C;else return null}}else Z=T;const te=Z.visibleWhen;if(!F(te,!0))return null;let re=!!Z.disabled;const pe=Z.disabledWhen,se=F(pe,!1);if(pe!=null&&pe.enabled&&(re=se),!(pe!=null&&pe.enabled)&&"name"in Z&&Z.name&&q[Z.name]&&(re=!0),Z.type==="search"){const C=typeof Z.searchFn=="function",L=Z.searchSource,z=async oe=>{if(C)return Z.searchFn(oe,{getValues:b.getValues,watch:b.watch});if(L){const ke=x==null?void 0:x[L];if(typeof ke=="function")return await ke(oe,{getValues:b.getValues,watch:b.watch});if(Array.isArray(ke))return ke}return[]},P={};Z.searchMode&&(P.searchMode=Z.searchMode),Z.minChars&&(P.minChars=Z.minChars),Z.debounceMs&&(P.debounceMs=Z.debounceMs),Z.resolveByValue&&(P.resolveByValue=Z.resolveByValue);const H=jt(Z.labelIconLeft??Z.labelPrefixIcon),G=jt(Z.labelIconRight??Z.labelSuffixIcon),ue=jt(Z.prefixIcon),ne=jt(Z.suffixIcon);return s.jsx(fs,{name:Z.name,control:p,searchFn:z,label:Z.label,size:Z.size,width:Z.width,disabled:re||A,labelPrefixIcon:H,labelSuffixIcon:G,prefixIcon:ue,suffixIcon:ne,...P},Z.name)}if(Z.type==="inputGroup"){const C=Z,L=(C.inputs??[]).map(z=>{var X;const P=typeof z=="string"?Q[z]??(o??[]).find(ee=>(ee==null?void 0:ee.name)===z):z;if(!P)return null;const H=P.disabledWhen;let G=!!P.disabled;const ue=F(H,!1);H!=null&&H.enabled&&(G=ue),!(H!=null&&H.enabled)&&q[P.name]&&(G=!0);const ne=jt(P.labelIconLeft??P.labelPrefixIcon),oe=jt(P.labelIconRight??P.labelSuffixIcon),ke=jt(P.prefixIcon),I=jt(P.suffixIcon),V={name:P.name,control:p,label:P.label,size:P.size,width:P.width,placeholder:P.placeholder,hasError:!!j[P.name],errorMessage:((X=j[P.name])==null?void 0:X.message)||"",loading:S,disabled:G||A,suffixButton:P.suffixButton,reserveErrorSpace:!0,labelPrefixIcon:ne,labelSuffixIcon:oe,prefixIcon:ke,suffixIcon:I};return P.type==="select"?{...V,options:P.options??W[P.name]??_[P.name]??[],loadOptions:P.options||P.optionSource?void 0:P.loadOptions}:{...V,type:P.type}}).filter(Boolean);return s.jsx(ds,{groupLabel:C.groupLabel,inputs:L,separator:C.separator,useSeparator:C.useSeparator,className:C.className,showVisibleLabel:C.showVisibleLabel,size:C.size},`inputGroup_${C.name??C.groupLabel??"group"}`)}if(Z.type==="button"){const C=Z;return s.jsx("div",{className:"self-center",children:s.jsx(ie,{type:"button",variant:C.variant,size:C.size,width:C.width,icon:C.icon,iconPosition:C.iconPosition,ariaLabel:C.ariaLabel,onClick:C.onClick,disabled:re||A,children:C.label})},C.name)}const le=Z.suffixButton,Ee=typeof le=="string"?O(le):le,be=jt(Z.labelIconLeft??Z.labelPrefixIcon),Se=jt(Z.labelIconRight??Z.labelSuffixIcon),Le=jt(Z.prefixIcon),Ze=jt(Z.suffixIcon),Me={name:Z.name,control:p,disabled:re||A,label:Z.label,size:Z.size,width:Z.width,placeholder:Z.placeholder,info:Z.info,suffixButton:Ee,labelPrefixIcon:be,labelSuffixIcon:Se,prefixIcon:Le,suffixIcon:Ze};switch(Z.type){case"select":{const C=Z.name,L=Z.options??W[C]??_[C]??[],z=Array.isArray(L)&&L.length?`${L.length}:${L.map(H=>String((H==null?void 0:H.value)??"")).join("|")}`:"0",P=!Z.options&&!Z.optionSource&&Z.loadOptions;return s.jsx(Et,{name:C,control:p,render:({field:H})=>{var G;return s.jsx(rt,{...Me,value:H.value,onChange:H.onChange,options:L,loadOptions:P||void 0,hasError:!!j[C],errorMessage:(G=j[C])==null?void 0:G.message,suffixButton:Ee})}},`${C}:${z}`)}case"textarea":return s.jsx(Et,{name:Z.name,control:p,render:({field:C,fieldState:L})=>{var z;return s.jsx(bn,{...Me,value:C.value,onChange:C.onChange,maxLength:Z.maxLength,showCounter:!!Z.showCounter,hasError:!!L.error,errorMessage:((z=L.error)==null?void 0:z.message)||""})}},Z.name);case"file":return s.jsx(ss,{...Me,defaultValue:[],maxFiles:Z.maxFiles,accept:Z.accept,hasError:!!j[Z.name],errorMessage:(nt=j[Z.name])==null?void 0:nt.message},Z.name);case"checkbox":return s.jsx(bt,{...Me,defaultValue:!1,hasError:!!j[Z.name],errorMessage:(ct=j[Z.name])==null?void 0:ct.message,name:Z.name},Z.name);case"date":return s.jsx($r,{...Me,defaultValue:"",showTime:!!Z.showTime,hasError:!!j[Z.name],errorMessage:(D=j[Z.name])==null?void 0:D.message},Z.name);case"optionGroup":return s.jsx(us,{...Me,options:Z.options||[],multiple:Z.multiple,vertical:Z.vertical,groupLabel:Z.groupLabel,defaultValue:Z.defaultValue,className:Z.width?void 0:"w-full",name:Z.name},Z.name);default:return s.jsx(Ra,{...Me,type:Z.type,loadingDefaults:S,hasError:!!j[Z.name],errorMessage:(k=j[Z.name])==null?void 0:k.message,suffixButton:Ee,name:Z.name},Z.name)}},[o,Q,p,j,A,S,_,W,F,q,b.getValues,b.watch,x]);return s.jsx(ri,{...b,children:s.jsxs("form",{noValidate:!0,onSubmit:R(async T=>{await l(T),h(i??g("ds.form.saveSuccess"),"success")},T=>{Y8(T),h(c??g("ds.form.saveError"),"error")}),className:"space-y-6",children:[n.map((T,Z)=>T.type==="rows"?s.jsx(v.Fragment,{children:T.sections.map((te,me)=>s.jsx("div",{className:"mb-6",children:s.jsx(at,{title:te.sectionTitle,defaultOpen:te.defaultOpen,children:te.rows.map((re,pe)=>s.jsxs("div",{children:[re.title&&s.jsx("h2",{className:"mb-2 text-lg text-[var(--color-ds-text-primary)]",children:re.title}),s.jsx("div",{className:"flex flex-wrap -mx-2",children:re.columns.map((se,le)=>{var Ee;return s.jsx("div",{className:`${se.width} px-2 flex flex-col`,children:s.jsx("div",{className:"",children:se.fields?se.fields.map(be=>O(be)):(Ee=se.rows)==null?void 0:Ee.map((be,Se)=>s.jsx("div",{className:"mb-1",children:s.jsx("div",{className:"flex flex-wrap -mx-2",children:be.columns.map((Le,Ze)=>{var Me;return s.jsx("div",{className:`${Le.width} px-2`,children:(Me=Le.fields)==null?void 0:Me.map(nt=>O(nt))},Ze)})})},Se))})},le)})})]},pe))})},me))},Z):s.jsx(mr,{options:T.tabs.map(te=>({label:te.label,value:te.key})),value:U[Z],onChange:te=>M(me=>({...me,[Z]:te})),children:Object.fromEntries(T.tabs.map(te=>[te.key,s.jsx("div",{className:"space-y-6",children:te.sections.map((me,re)=>s.jsx("div",{className:"mb-6",children:s.jsx(at,{title:me.sectionTitle,defaultOpen:me.defaultOpen,children:me.rows.map((pe,se)=>s.jsx("div",{children:s.jsx("div",{className:"flex flex-wrap -mx-2",children:pe.columns.map((le,Ee)=>{var be;return s.jsx("div",{className:`${le.width??"flex-1"} px-2 flex flex-col`,children:s.jsx("div",{className:"space-y-4",children:(be=le.fields)==null?void 0:be.map((Se,Le)=>s.jsx(v.Fragment,{children:O(Se)},Le))})},Ee)})})},se))})},re))},te.key)]))},Z)),s.jsx("footer",{className:"py-4 w-full flex justify-center space-x-4",children:d??s.jsx(ie,{type:"submit",variant:"primary",icon:C0,size:"sm",disabled:A||S||$>0,children:g(A?"ds.form.sending":"ds.form.submit")})})]})})}const jM={sm:"h-8 w-8",md:"h-10 w-10",lg:"h-12 w-12"};function Ki({icon:e,size:t="md",ariaLabel:r,disabled:n=!1,onClick:o,...l}){return s.jsx("button",{type:"button","aria-label":r,disabled:n,onClick:o,className:de("inline-flex items-center justify-center","rounded-full","bg-transparent","text-[var(--color-ds-text-primary)]","transition-transform","focus:outline-none",jM[t],n?"opacity-50 cursor-not-allowed":["hover:scale-110","hover:animate-pulse"]),...l,children:s.jsx(e,{className:de(t==="sm"?"h-4 w-4":t==="md"?"h-5 w-5":"h-6 w-6")})})}function Yi({dark:e,onToggle:t}){return s.jsx("button",{type:"button","aria-pressed":e,"aria-label":e?"Cambiar a modo claro":"Cambiar a modo oscuro",onClick:t,className:de("relative inline-flex items-center transition-colors focus:outline-none duration-200 ease-in-out","bg-[var(--color-ds-background-accent)]","h-6 w-12 rounded-full"),children:s.jsxs("div",{className:de("absolute bg-[var(--color-ds-background-page)] flex items-center justify-center rounded-full transition-transform duration-200 ease-in-out","h-5 w-5",e?"translate-x-6":"translate-x-1"),children:[s.jsx(Xe,{component:T0,size:"sm",className:de("absolute transition-opacity duration-200 ease-in-out",e?"opacity-0":"opacity-100 text-[var(--color-ds-background-accent)]")}),s.jsx(Xe,{component:B0,size:"sm",className:de("absolute transition-opacity duration-200 ease-in-out",e?"opacity-100 text-[var(--color-ds-background-accent)]":"opacity-0")})]})})}const El="licytal:ui:theme",Ji=v.createContext({theme:"light",dark:!1,toggle:()=>{}});function CM({children:e}){const[t,r]=v.useState(!1),[n,o]=v.useState("light");v.useEffect(()=>{if(typeof window>"u")return;const i=localStorage.getItem(El);i==="light"||i==="dark"?o(i):window.matchMedia("(prefers-color-scheme: dark)").matches&&o("dark"),r(!0)},[]),v.useEffect(()=>{t&&(document.documentElement.classList.toggle("dark",n==="dark"),localStorage.setItem(El,n))},[n,t]);const l=()=>o(i=>i==="light"?"dark":"light");return t?s.jsx(Ji.Provider,{value:{theme:n,dark:n==="dark",toggle:l},children:e}):null}const hs=()=>v.useContext(Ji),zr={locale:"licytal:ui:locale",theme:"licytal:ui:theme"},Xi=({pinnedPages:e,onRemovePinned:t,onBack:r,dark:n,locale:o,languageOptions:l,onChangeLocale:i,profile:c="",profileOptions:d=[],onChangeProfile:u})=>{const f=e.slice(0,3),{toggle:m}=hs(),h=w=>{try{localStorage.setItem(zr.locale,w)}catch{}i==null||i(w)},g=()=>{const w=!n;try{localStorage.setItem(zr.theme,w?"dark":"light")}catch{}m()};return v.useEffect(()=>{try{const w=localStorage.getItem(zr.locale);w&&w!==o&&(i==null||i(w))}catch{}},[]),v.useEffect(()=>{if(o)try{localStorage.setItem(zr.locale,o)}catch{}},[o]),v.useEffect(()=>{try{const w=localStorage.getItem(zr.theme);if(!w)return;w==="dark"!==n&&m()}catch{}},[]),s.jsxs("header",{className:"flex items-center bg-[var(--color-ds-background-page)] py-2",children:[s.jsx("div",{className:"flex items-center space-x-2",children:f.map(w=>s.jsxs("div",{className:"flex items-center",children:[s.jsx("a",{href:w.href,className:de("inline-flex items-center rounded-lg","py-1 px-1 my-1 text-ds-sm","bg-transparent text-[var(--color-ds-text-primary)]","transition-colors duration-200 ease-in-out","hover:bg-[var(--color-ds-border-muted)] hover:animate-pulse"),children:w.label}),s.jsx(Ki,{icon:Qe,size:"sm",ariaLabel:`Remove ${w.label}`,onClick:()=>t(w.id)})]},w.id))}),s.jsx("div",{className:"flex-grow"}),s.jsxs("div",{className:"flex items-center space-x-2",children:[s.jsx(rt,{size:"sm",width:"auto",options:l,value:o,onChange:h,disableErrorPlaceholder:!0,label:"Idioma",labelHidden:!0}),!!d.length&&s.jsx(rt,{size:"sm",width:"auto",options:d,value:c,onChange:w=>u==null?void 0:u(w),disableErrorPlaceholder:!0,label:"Perfil",labelHidden:!0}),s.jsx(Yi,{dark:n,onToggle:g})]})]})},MM=({loading:e=!1,ariaLabel:t="Cargando..."})=>e?s.jsxs("div",{className:`\r
67
+ fixed inset-0\r
68
+ flex items-center justify-center\r
69
+ bg-[var(--color-ds-background-surface)]/90\r
70
+ z-50\r
71
+ `,role:"status","aria-live":"polite","aria-label":t,children:[s.jsx("div",{className:`\r
72
+ w-12 h-12\r
73
+ border-4 rounded-full\r
74
+ border-gray-200\r
75
+ border-t-[var(--color-ds-button-primary-bg)]\r
76
+ animate-spin\r
77
+ `}),s.jsx("span",{className:"sr-only",children:t})]}):null,ps=({items:e,selected:t,onSelect:r,level:n=0})=>{const[o,l]=v.useState(new Set),i=c=>{const d=new Set(o);n===0?(d.clear(),o.has(c)||d.add(c)):d.has(c)?d.delete(c):d.add(c),l(d)};return s.jsx("ul",{className:de(n>0?"mt-1":"mt-0"),children:e.map(c=>{var w;const d=c.value===t,u=o.has(c.value),f=["pl-2","pl-2","pl-2"][n]||"pl-4",m=n===0?u||d?"bg-[var(--color-ds-background-accent)] text-[var(--color-ds-text-on-accent)] rounded-r-lg":"text-[var(--color-ds-text-primary)] hover:bg-[var(--color-ds-background-surface)]":d?"bg-[var(--color-ds-background-surface)] text-[var(--color-ds-text-primary)]":"text-[var(--color-ds-text-primary)] hover:bg-[var(--color-ds-background-surface)]",h=n===0&&(u||d)?"text-[var(--color-ds-text-on-accent)]":"text-[var(--color-ds-text-secondary)]",g=!!((w=c.children)!=null&&w.length);return s.jsxs("li",{children:[s.jsxs("button",{type:"button",onClick:()=>g?i(c.value):r(c.value),"aria-expanded":g?u:void 0,className:de("w-full flex items-center justify-between h-8 transition-colors",f,m),children:[s.jsxs("div",{className:"flex items-center space-x-2",children:[n===0&&c.icon&&s.jsx(c.icon,{className:"w-5 h-5 ml-2"}),s.jsx("span",{className:"text-ds-sm",children:c.label})]}),g&&(u?s.jsx(mn,{className:de("w-4 h-4",h)}):s.jsx(To,{className:de("w-4 h-4",h)}))]}),g&&s.jsx("div",{className:de("overflow-hidden transition-[max-height] duration-300 ease-in-out","border-l-1 border-[var(--color-ds-background-accent)] ml-6",u?"max-h-screen":"max-h-0"),children:s.jsx(ps,{items:c.children,selected:t,onSelect:r,level:n+1})})]},c.value)})})},AM="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20viewBox='0%200%20250%20250'%3e%3c!--%20Generator:%20Adobe%20Illustrator%2029.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%202.1.0%20Build%20186)%20--%3e%3cdefs%3e%3cstyle%3e%20.st0%20{%20fill:%20%23FFFFFF;%20}%20%3c/style%3e%3c/defs%3e%3cpath%20class='st0'%20d='M101.7,82.72c1.6.57,3.25,1.09,4.98,1.53,11.93,3.07,17.85,7.44,17.85,13.01,0,2.72-1.14,5-3.43,6.86-2.29,1.86-5.14,2.79-8.57,2.79s-6.49-1.13-8.9-3.36c-2.62,6.82-6.19,13.16-10.51,18.91,5.53,3.09,11.9,4.68,19.13,4.68,10.14,0,18.64-3,25.43-9.01,3.7-3.24,6.35-6.96,8.02-11.11,1.77,3.2,4.03,6.17,6.81,8.9,7.64,7.51,17.28,11.22,28.78,11.22,9.14,0,17.21-2.43,24.21-7.22,2.24-1.55,4.24-3.27,6.05-5.14l-14.05-13.73h-.14c-2.57,4.29-8.57,7.44-15.64,7.44-8.78,0-15.5-5.22-17.85-13.58h57.06c.36-1.57.57-3.79.57-6.58,0-11.37-3.86-20.73-11.5-28.24-7.71-7.44-17.28-11.15-28.71-11.15s-21.14,3.72-28.78,11.15c-5.19,5.09-8.59,11.03-10.26,17.78-1.11-1.42-2.37-2.71-3.78-3.83-6.07-4.79-12.07-7.36-20.64-9.73-11-2.93-16.5-7.08-16.5-12.58,0-2.51,1-4.65,3.07-6.37,2.07-1.71,4.57-2.57,7.57-2.57,3.21,0,5.93,1,8,3,2.07,2,3.14,4.5,3.14,7.5h23.21c0-8.79-3.29-16.08-9.78-21.95-6.5-5.86-14.71-8.79-24.57-8.79s-17.44,2.77-23.89,8.31C74.82,12.54,53.44.47,29.27,0v24.08c27.07.77,48.86,23.04,48.86,50.32s-21.79,49.55-48.86,50.32v24.08c37.54-.72,68.34-29.42,72.44-66.08ZM181.29,67.38c8.21,0,15,5.08,17.21,13.3h-34.5c2.57-8.22,8.93-13.3,17.28-13.3Z'/%3e%3cpath%20class='st0'%20d='M29.35,160.65v29.07h10.94c4.12,0,7.57-1.38,10.31-4.16,2.74-2.76,4.12-6.21,4.12-10.39s-1.38-7.61-4.12-10.39c-2.74-2.76-6.19-4.14-10.31-4.14h-10.94ZM52.1,175.17c0,3.46-1.14,6.34-3.39,8.64-2.25,2.3-5.07,3.46-8.46,3.46h-8.36v-24.17h8.36c3.39,0,6.21,1.15,8.46,3.46,2.25,2.3,3.39,5.18,3.39,8.62Z'/%3e%3cpath%20class='st0'%20d='M60.61,161.41c0-.97-.79-1.73-1.79-1.73s-1.75.76-1.75,1.73.79,1.77,1.75,1.77,1.79-.76,1.79-1.77Z'/%3e%3crect%20class='st0'%20x='57.63'%20y='168.24'%20width='2.42'%20height='21.48'/%3e%3cpath%20class='st0'%20d='M64.15,168.24v29.48h2.41v-13.19c.85,1.77,2.09,3.17,3.69,4.18,1.6,1.01,3.41,1.52,5.44,1.52,3.11,0,5.7-1.07,7.75-3.23,2.05-2.16,3.07-4.83,3.07-8.04s-1.04-5.86-3.09-8.02c-2.05-2.14-4.63-3.21-7.73-3.21-2.03,0-3.84.49-5.44,1.5-1.6,1.01-2.84,2.41-3.69,4.18v-5.16h-2.41ZM69.06,172.62c1.64-1.69,3.73-2.53,6.23-2.53s4.57.84,6.23,2.53c1.66,1.71,2.5,3.8,2.5,6.33s-.83,4.65-2.5,6.36c-1.66,1.71-3.73,2.55-6.23,2.55s-4.59-.84-6.23-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33Z'/%3e%3cpath%20class='st0'%20d='M107.73,189.71v-21.48h-2.42v12.59c0,2.1-.65,3.79-1.97,5.08-1.32,1.3-3.05,1.95-5.18,1.95s-3.69-.64-4.93-1.91c-1.26-1.28-1.89-2.96-1.89-5.04v-12.67h-2.4v13.35c0,2.61.79,4.69,2.35,6.27,1.56,1.58,3.61,2.37,6.15,2.37,3.65-.02,6.27-1.52,7.85-4.53v4.01h2.42Z'/%3e%3cpolygon%20class='st0'%20points='117.35%20189.71%20117.35%20170.46%20122.55%20170.46%20122.55%20168.24%20117.35%20168.24%20117.35%20161.9%20114.94%20162.38%20114.94%20168.24%20110.01%20168.24%20110.01%20170.46%20114.94%20170.46%20114.94%20189.71%20117.35%20189.71'/%3e%3cpath%20class='st0'%20d='M144.27,189.71v-21.48h-2.42v5.12c-.87-1.75-2.13-3.13-3.73-4.14-1.6-1.01-3.41-1.5-5.4-1.5-3.08,0-5.64,1.07-7.69,3.21-2.05,2.16-3.09,4.83-3.09,8.02s1.04,5.88,3.09,8.04c2.05,2.16,4.63,3.23,7.69,3.23,1.99,0,3.79-.51,5.4-1.52,1.6-1.01,2.84-2.39,3.73-4.13v5.14h2.42ZM139.36,185.31c-1.66,1.71-3.73,2.55-6.23,2.55s-4.53-.84-6.19-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.19-2.53s4.57.84,6.23,2.53c1.66,1.71,2.5,3.8,2.5,6.33s-.83,4.65-2.5,6.36Z'/%3e%3cpath%20class='st0'%20d='M158.18,170.09c2.09,0,3.9.62,5.46,1.85,1.54,1.23,2.56,2.84,3.02,4.83h2.5c-.47-2.63-1.73-4.79-3.73-6.5-2.03-1.71-4.44-2.55-7.25-2.55-3.19,0-5.84,1.07-8,3.21-2.15,2.16-3.23,4.83-3.23,8.02s1.08,5.88,3.23,8.04c2.13,2.16,4.81,3.23,8,3.23,2.8,0,5.22-.84,7.25-2.55,2.01-1.71,3.27-3.87,3.73-6.52h-2.5c-.47,2-1.48,3.62-3.02,4.85-1.56,1.23-3.37,1.85-5.46,1.85-2.5,0-4.57-.84-6.23-2.55-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.23-2.53Z'/%3e%3crect%20class='st0'%20x='171.72'%20y='168.24'%20width='2.42'%20height='21.48'/%3e%3cpath%20class='st0'%20d='M174.71,161.41c0-.97-.79-1.73-1.79-1.73s-1.75.76-1.75,1.73.79,1.77,1.75,1.77,1.79-.76,1.79-1.77Z'/%3e%3cpath%20class='st0'%20d='M176.86,178.95c0,3.21,1.08,5.88,3.23,8.04,2.15,2.16,4.83,3.23,8.02,3.23s5.85-1.07,7.98-3.23c2.13-2.16,3.19-4.83,3.19-8.04s-1.06-5.86-3.19-8.02c-2.13-2.14-4.79-3.21-7.98-3.21s-5.86,1.07-8.02,3.21c-2.15,2.16-3.23,4.83-3.23,8.02ZM188.09,170.09c2.5,0,4.57.84,6.21,2.53,1.64,1.71,2.48,3.8,2.48,6.33s-.83,4.65-2.48,6.36c-1.64,1.71-3.71,2.55-6.21,2.55s-4.57-.84-6.23-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.23-2.53Z'/%3e%3cpolygon%20class='st0'%20points='194.03%20160.01%20190.83%20160.01%20186.46%20165.15%20189.08%20165.15%20194.03%20160.01'/%3e%3cpath%20class='st0'%20d='M221.5,189.71v-13.02c0-2.69-.81-4.86-2.44-6.5-1.64-1.65-3.79-2.47-6.45-2.47-3.75,0-6.68,1.67-8.22,4.71v-4.2h-2.42v21.48h2.42v-12.22c0-2.22.69-4.01,2.07-5.37,1.38-1.36,3.19-2.04,5.44-2.04s3.92.66,5.24,2c1.32,1.34,1.97,3.11,1.97,5.33v12.3h2.4Z'/%3e%3cpath%20class='st0'%20d='M57.27,225.24c-2.82-2.23-5.61-3.43-9.59-4.53-5.11-1.37-7.66-3.3-7.66-5.87,0-1.17.46-2.17,1.43-2.97.96-.8,2.12-1.2,3.52-1.2,1.49,0,2.75.47,3.72,1.4.96.93,1.46,2.1,1.46,3.5h10.78c0-4.1-1.53-7.5-4.55-10.23-3.02-2.73-6.83-4.1-11.42-4.1s-8.23,1.33-11.25,4c-3.02,2.67-4.51,6-4.51,10s1.26,7.4,3.75,9.73c2.49,2.37,5.68,4.03,9.56,5.03,5.54,1.43,8.29,3.47,8.29,6.06,0,1.27-.53,2.33-1.59,3.2-1.06.87-2.39,1.3-3.98,1.3s-3.05-.53-4.18-1.6c-1.16-1.07-1.73-2.37-1.73-3.93h-10.82c0,4.3,1.59,7.86,4.78,10.7,3.15,2.83,7.1,4.26,11.81,4.26s8.66-1.4,11.81-4.2c3.15-2.77,4.71-6.26,4.71-10.43,0-4.43-1.56-7.9-4.35-10.13Z'/%3e%3cpolygon%20class='st0'%20points='118.26%20236.54%20110.23%20214.38%2098.88%20214.38%20113.02%20249.17%20123.21%20249.17%20137.28%20214.38%20126.19%20214.38%20118.26%20236.54'/%3e%3crect%20class='st0'%20x='139.25'%20y='214.38'%20width='9.92'%20height='34.79'/%3e%3cpath%20class='st0'%20d='M144.2,199.53c-1.72,0-3.18.57-4.35,1.73-1.16,1.17-1.76,2.6-1.76,4.33s.6,3.23,1.76,4.4c1.16,1.17,2.62,1.73,4.35,1.73s3.25-.57,4.45-1.73c1.16-1.17,1.76-2.63,1.76-4.4s-.6-3.17-1.76-4.33c-1.19-1.17-2.69-1.73-4.45-1.73Z'/%3e%3crect%20class='st0'%20x='154.93'%20y='200.02'%20width='9.92'%20height='49.15'/%3e%3crect%20class='st0'%20x='170.61'%20y='200.02'%20width='9.92'%20height='49.15'/%3e%3cpath%20class='st0'%20d='M211.58,214.38v3.8c-2.82-3.1-6.34-4.63-10.49-4.63-4.75,0-8.73,1.73-11.91,5.2-3.22,3.5-4.81,7.83-4.81,13s1.59,9.53,4.81,13.03c3.19,3.5,7.17,5.23,11.91,5.23,4.18-.03,7.67-1.57,10.49-4.67v3.83h9.92v-34.79h-9.92ZM209.19,237.9c-1.63,1.63-3.65,2.47-6.11,2.47s-4.41-.83-6.01-2.47c-1.63-1.63-2.42-3.7-2.42-6.17s.8-4.5,2.42-6.13c1.59-1.63,3.58-2.43,6.01-2.43s4.45.8,6.07,2.43c1.63,1.63,2.42,3.7,2.42,6.13s-.8,4.53-2.39,6.17Z'/%3e%3cpath%20class='st0'%20d='M82.34,213.54c-5.34,0-9.82,1.73-13.37,5.2-3.55,3.5-5.34,7.83-5.34,13s1.79,9.53,5.34,13.03c3.55,3.5,8.03,5.23,13.37,5.23,4.25,0,8-1.13,11.25-3.37,1.05-.73,1.99-1.55,2.84-2.43l-6.5-6.37h-.13c-1.19,2-3.98,3.47-7.27,3.47-4.08,0-7.2-2.43-8.29-6.33h26.51c.17-.73.27-1.77.27-3.07,0-5.3-1.79-9.66-5.34-13.16-3.58-3.47-8.03-5.2-13.34-5.2ZM74.31,228.34c1.19-3.83,4.15-6.2,8.03-6.2s6.97,2.37,8,6.2h-16.03Z'/%3e%3c/svg%3e",SM="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20viewBox='0%200%20250%20250'%3e%3c!--%20Generator:%20Adobe%20Illustrator%2029.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%202.1.0%20Build%20186)%20--%3e%3cdefs%3e%3cstyle%3e%20.st0%20{%20fill:%20%23005751;%20}%20%3c/style%3e%3c/defs%3e%3cpath%20class='st0'%20d='M101.7,82.72c1.6.57,3.25,1.09,4.98,1.53,11.93,3.07,17.85,7.44,17.85,13.01,0,2.72-1.14,5-3.43,6.86-2.29,1.86-5.14,2.79-8.57,2.79s-6.49-1.13-8.9-3.36c-2.62,6.82-6.19,13.16-10.51,18.91,5.53,3.09,11.9,4.68,19.13,4.68,10.14,0,18.64-3,25.43-9.01,3.7-3.24,6.35-6.96,8.02-11.11,1.77,3.2,4.03,6.17,6.81,8.9,7.64,7.51,17.28,11.22,28.78,11.22,9.14,0,17.21-2.43,24.21-7.22,2.24-1.55,4.24-3.27,6.05-5.14l-14.05-13.73h-.14c-2.57,4.29-8.57,7.44-15.64,7.44-8.78,0-15.5-5.22-17.85-13.58h57.06c.36-1.57.57-3.79.57-6.58,0-11.37-3.86-20.73-11.5-28.24-7.71-7.44-17.28-11.15-28.71-11.15s-21.14,3.72-28.78,11.15c-5.19,5.09-8.59,11.03-10.26,17.78-1.11-1.42-2.37-2.71-3.78-3.83-6.07-4.79-12.07-7.36-20.64-9.73-11-2.93-16.5-7.08-16.5-12.58,0-2.51,1-4.65,3.07-6.37,2.07-1.71,4.57-2.57,7.57-2.57,3.21,0,5.93,1,8,3,2.07,2,3.14,4.5,3.14,7.5h23.21c0-8.79-3.29-16.08-9.78-21.95-6.5-5.86-14.71-8.79-24.57-8.79s-17.44,2.77-23.89,8.31C74.82,12.54,53.44.47,29.27,0v24.08c27.07.77,48.86,23.04,48.86,50.32s-21.79,49.55-48.86,50.32v24.08c37.54-.72,68.34-29.42,72.44-66.08ZM181.29,67.38c8.21,0,15,5.08,17.21,13.3h-34.5c2.57-8.22,8.93-13.3,17.28-13.3Z'/%3e%3cpath%20class='st0'%20d='M29.35,160.65v29.07h10.94c4.12,0,7.57-1.38,10.31-4.16,2.74-2.76,4.12-6.21,4.12-10.39s-1.38-7.61-4.12-10.39c-2.74-2.76-6.19-4.14-10.31-4.14h-10.94ZM52.1,175.17c0,3.46-1.14,6.34-3.39,8.64-2.25,2.3-5.07,3.46-8.46,3.46h-8.36v-24.17h8.36c3.39,0,6.21,1.15,8.46,3.46,2.25,2.3,3.39,5.18,3.39,8.62Z'/%3e%3cpath%20class='st0'%20d='M60.61,161.41c0-.97-.79-1.73-1.79-1.73s-1.75.76-1.75,1.73.79,1.77,1.75,1.77,1.79-.76,1.79-1.77Z'/%3e%3crect%20class='st0'%20x='57.63'%20y='168.24'%20width='2.42'%20height='21.48'/%3e%3cpath%20class='st0'%20d='M64.15,168.24v29.48h2.41v-13.19c.85,1.77,2.09,3.17,3.69,4.18,1.6,1.01,3.41,1.52,5.44,1.52,3.11,0,5.7-1.07,7.75-3.23,2.05-2.16,3.07-4.83,3.07-8.04s-1.04-5.86-3.09-8.02c-2.05-2.14-4.63-3.21-7.73-3.21-2.03,0-3.84.49-5.44,1.5-1.6,1.01-2.84,2.41-3.69,4.18v-5.16h-2.41ZM69.06,172.62c1.64-1.69,3.73-2.53,6.23-2.53s4.57.84,6.23,2.53c1.66,1.71,2.5,3.8,2.5,6.33s-.83,4.65-2.5,6.36c-1.66,1.71-3.73,2.55-6.23,2.55s-4.59-.84-6.23-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33Z'/%3e%3cpath%20class='st0'%20d='M107.73,189.71v-21.48h-2.42v12.59c0,2.1-.65,3.79-1.97,5.08-1.32,1.3-3.05,1.95-5.18,1.95s-3.69-.64-4.93-1.91c-1.26-1.28-1.89-2.96-1.89-5.04v-12.67h-2.4v13.35c0,2.61.79,4.69,2.35,6.27,1.56,1.58,3.61,2.37,6.15,2.37,3.65-.02,6.27-1.52,7.85-4.53v4.01h2.42Z'/%3e%3cpolygon%20class='st0'%20points='117.35%20189.71%20117.35%20170.46%20122.55%20170.46%20122.55%20168.24%20117.35%20168.24%20117.35%20161.9%20114.94%20162.38%20114.94%20168.24%20110.01%20168.24%20110.01%20170.46%20114.94%20170.46%20114.94%20189.71%20117.35%20189.71'/%3e%3cpath%20class='st0'%20d='M144.27,189.71v-21.48h-2.42v5.12c-.87-1.75-2.13-3.13-3.73-4.14-1.6-1.01-3.41-1.5-5.4-1.5-3.08,0-5.64,1.07-7.69,3.21-2.05,2.16-3.09,4.83-3.09,8.02s1.04,5.88,3.09,8.04c2.05,2.16,4.63,3.23,7.69,3.23,1.99,0,3.79-.51,5.4-1.52,1.6-1.01,2.84-2.39,3.73-4.13v5.14h2.42ZM139.36,185.31c-1.66,1.71-3.73,2.55-6.23,2.55s-4.53-.84-6.19-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.19-2.53s4.57.84,6.23,2.53c1.66,1.71,2.5,3.8,2.5,6.33s-.83,4.65-2.5,6.36Z'/%3e%3cpath%20class='st0'%20d='M158.18,170.09c2.09,0,3.9.62,5.46,1.85,1.54,1.23,2.56,2.84,3.02,4.83h2.5c-.47-2.63-1.73-4.79-3.73-6.5-2.03-1.71-4.44-2.55-7.25-2.55-3.19,0-5.84,1.07-8,3.21-2.15,2.16-3.23,4.83-3.23,8.02s1.08,5.88,3.23,8.04c2.13,2.16,4.81,3.23,8,3.23,2.8,0,5.22-.84,7.25-2.55,2.01-1.71,3.27-3.87,3.73-6.52h-2.5c-.47,2-1.48,3.62-3.02,4.85-1.56,1.23-3.37,1.85-5.46,1.85-2.5,0-4.57-.84-6.23-2.55-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.23-2.53Z'/%3e%3crect%20class='st0'%20x='171.72'%20y='168.24'%20width='2.42'%20height='21.48'/%3e%3cpath%20class='st0'%20d='M174.71,161.41c0-.97-.79-1.73-1.79-1.73s-1.75.76-1.75,1.73.79,1.77,1.75,1.77,1.79-.76,1.79-1.77Z'/%3e%3cpath%20class='st0'%20d='M176.86,178.95c0,3.21,1.08,5.88,3.23,8.04,2.15,2.16,4.83,3.23,8.02,3.23s5.85-1.07,7.98-3.23c2.13-2.16,3.19-4.83,3.19-8.04s-1.06-5.86-3.19-8.02c-2.13-2.14-4.79-3.21-7.98-3.21s-5.86,1.07-8.02,3.21c-2.15,2.16-3.23,4.83-3.23,8.02ZM188.09,170.09c2.5,0,4.57.84,6.21,2.53,1.64,1.71,2.48,3.8,2.48,6.33s-.83,4.65-2.48,6.36c-1.64,1.71-3.71,2.55-6.21,2.55s-4.57-.84-6.23-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.23-2.53Z'/%3e%3cpolygon%20class='st0'%20points='194.03%20160.01%20190.83%20160.01%20186.46%20165.15%20189.08%20165.15%20194.03%20160.01'/%3e%3cpath%20class='st0'%20d='M221.5,189.71v-13.02c0-2.69-.81-4.86-2.44-6.5-1.64-1.65-3.79-2.47-6.45-2.47-3.75,0-6.68,1.67-8.22,4.71v-4.2h-2.42v21.48h2.42v-12.22c0-2.22.69-4.01,2.07-5.37,1.38-1.36,3.19-2.04,5.44-2.04s3.92.66,5.24,2c1.32,1.34,1.97,3.11,1.97,5.33v12.3h2.4Z'/%3e%3cpath%20class='st0'%20d='M57.27,225.24c-2.82-2.23-5.61-3.43-9.59-4.53-5.11-1.37-7.66-3.3-7.66-5.87,0-1.17.46-2.17,1.43-2.97.96-.8,2.12-1.2,3.52-1.2,1.49,0,2.75.47,3.72,1.4.96.93,1.46,2.1,1.46,3.5h10.78c0-4.1-1.53-7.5-4.55-10.23-3.02-2.73-6.83-4.1-11.42-4.1s-8.23,1.33-11.25,4c-3.02,2.67-4.51,6-4.51,10s1.26,7.4,3.75,9.73c2.49,2.37,5.68,4.03,9.56,5.03,5.54,1.43,8.29,3.47,8.29,6.06,0,1.27-.53,2.33-1.59,3.2-1.06.87-2.39,1.3-3.98,1.3s-3.05-.53-4.18-1.6c-1.16-1.07-1.73-2.37-1.73-3.93h-10.82c0,4.3,1.59,7.86,4.78,10.7,3.15,2.83,7.1,4.26,11.81,4.26s8.66-1.4,11.81-4.2c3.15-2.77,4.71-6.26,4.71-10.43,0-4.43-1.56-7.9-4.35-10.13Z'/%3e%3cpolygon%20class='st0'%20points='118.26%20236.54%20110.23%20214.38%2098.88%20214.38%20113.02%20249.17%20123.21%20249.17%20137.28%20214.38%20126.19%20214.38%20118.26%20236.54'/%3e%3crect%20class='st0'%20x='139.25'%20y='214.38'%20width='9.92'%20height='34.79'/%3e%3cpath%20class='st0'%20d='M144.2,199.53c-1.72,0-3.18.57-4.35,1.73-1.16,1.17-1.76,2.6-1.76,4.33s.6,3.23,1.76,4.4c1.16,1.17,2.62,1.73,4.35,1.73s3.25-.57,4.45-1.73c1.16-1.17,1.76-2.63,1.76-4.4s-.6-3.17-1.76-4.33c-1.19-1.17-2.69-1.73-4.45-1.73Z'/%3e%3crect%20class='st0'%20x='154.93'%20y='200.02'%20width='9.92'%20height='49.15'/%3e%3crect%20class='st0'%20x='170.61'%20y='200.02'%20width='9.92'%20height='49.15'/%3e%3cpath%20class='st0'%20d='M211.58,214.38v3.8c-2.82-3.1-6.34-4.63-10.49-4.63-4.75,0-8.73,1.73-11.91,5.2-3.22,3.5-4.81,7.83-4.81,13s1.59,9.53,4.81,13.03c3.19,3.5,7.17,5.23,11.91,5.23,4.18-.03,7.67-1.57,10.49-4.67v3.83h9.92v-34.79h-9.92ZM209.19,237.9c-1.63,1.63-3.65,2.47-6.11,2.47s-4.41-.83-6.01-2.47c-1.63-1.63-2.42-3.7-2.42-6.17s.8-4.5,2.42-6.13c1.59-1.63,3.58-2.43,6.01-2.43s4.45.8,6.07,2.43c1.63,1.63,2.42,3.7,2.42,6.13s-.8,4.53-2.39,6.17Z'/%3e%3cpath%20class='st0'%20d='M82.34,213.54c-5.34,0-9.82,1.73-13.37,5.2-3.55,3.5-5.34,7.83-5.34,13s1.79,9.53,5.34,13.03c3.55,3.5,8.03,5.23,13.37,5.23,4.25,0,8-1.13,11.25-3.37,1.05-.73,1.99-1.55,2.84-2.43l-6.5-6.37h-.13c-1.19,2-3.98,3.47-7.27,3.47-4.08,0-7.2-2.43-8.29-6.33h26.51c.17-.73.27-1.77.27-3.07,0-5.3-1.79-9.66-5.34-13.16-3.58-3.47-8.03-5.2-13.34-5.2ZM74.31,228.34c1.19-3.83,4.15-6.2,8.03-6.2s6.97,2.37,8,6.2h-16.03Z'/%3e%3c/svg%3e",Qi=({appName:e,orgName:t,username:r,footerText:n,navItems:o,selectedNav:l,onSelectNav:i,width:c="200px"})=>{const{theme:d}=hs(),u=d==="dark"?AM:SM;return s.jsxs("aside",{className:"flex flex-col h-screen bg-[var(--color-ds-background-page)] ",style:{width:c},children:[s.jsxs("div",{className:"flex gap-1 flex-col items-center py-4 space-y-1 ",children:[s.jsx("img",{src:u,alt:"Logo Diputación",className:"w-20 h-20"}),s.jsx("span",{className:"text-[var(--color-ds-text-primary)] text-ds-lg ",children:e}),s.jsx("span",{className:"text-ds-sm text-[var(--color-ds-text-secondary)]",children:t}),s.jsx("span",{className:"text-ds-sm text-[var(--color-ds-text-secondary)]",children:r}),s.jsx("div",{className:"w-1/5 h-0.5 rounded-full bg-[var(--color-ds-background-accent)] mt-2"})]}),s.jsx("nav",{className:"flex-1 overflow-auto pt-3",children:s.jsx(ps,{items:o,selected:l,onSelect:i})}),s.jsx("div",{className:"px-4 w-full py-3",children:s.jsx("span",{className:"text-ds-sm w-full text-center text-[var(--color-ds-text-secondary)]",children:n})})]})};function $M({hideSidebar:e=!1,sidebar:t,header:r,children:n}){const{dark:o}=hs(),l={...r,dark:o};return s.jsxs("div",{className:"flex h-screen overflow-hidden bg-[var(--color-ds-background-page)]",children:[!e&&s.jsx(Qi,{...t}),s.jsxs("div",{className:`flex-1 flex flex-col overflow-auto [scrollbar-gutter:stable_both-edges] ${e?"px-0":"px-10"}`,children:[s.jsx(Xi,{...l}),s.jsx("main",{className:"flex-1 min-h-0",children:n})]})]})}function LM({columns:e,data:t,loadData:r,loading:n,idAccessor:o,multiSelect:l=!1,onSelectionChange:i,pageSize:c=10,initialSort:d,onSort:u,className:f,onRowDoubleClick:m}){const h=t!==void 0,[g,w]=v.useState([]),[x,y]=v.useState(!1),b=v.useRef(null);v.useEffect(()=>{var J;if(!r||h)return;(J=b.current)==null||J.abort();const O=new AbortController;return b.current=O,y(!0),r().then(T=>{O.signal.aborted||w(T)}).finally(()=>{O.signal.aborted||y(!1)}),()=>O.abort()},[r,h]);const p=v.useMemo(()=>h?t:g,[t,g,h]),E=n??(r?x:!1),[R,j]=v.useState(new Set),[A,S]=v.useState(1),[N,B]=v.useState(d==null?void 0:d.sortBy),[$,_]=v.useState((d==null?void 0:d.sortDir)??"asc"),W=O=>typeof o=="function"?o(O):O[o],K=v.useRef(null);v.useEffect(()=>{K.current!==p&&(j(new Set),S(1),K.current=p)},[p]);const Q=v.useMemo(()=>{if(!N)return p;const O=$==="asc"?1:-1;return[...p].sort((J,T)=>{const Z=J[N],te=T[N];return Z==null?-O:te==null||Z>te?O:Z<te?-O:0})},[p,N,$]),q=Math.max(1,Math.ceil(Q.length/c)),ce=v.useMemo(()=>{const O=(A-1)*c;return Q.slice(O,O+c)},[Q,A,c]),U=O=>{const J=new Set(R);J.has(O)?J.delete(O):J.add(O),j(J),i==null||i(p.filter(T=>J.has(W(T))))},M=()=>{const O=ce.every(T=>R.has(W(T))),J=new Set(R);ce.forEach(T=>{O?J.delete(W(T)):J.add(W(T))}),j(J),i==null||i(p.filter(T=>J.has(W(T))))},F=O=>{if(!O.sortable)return;const J=typeof O.accessor=="string"?O.accessor:O.sortKey;if(N===J){const T=$==="asc"?"desc":"asc";_(T),u==null||u(J,T)}else B(J),_("asc"),u==null||u(J,"asc");S(1)},ae=()=>E?s.jsx("tbody",{children:Array.from({length:c}).map((O,J)=>s.jsxs("tr",{children:[l&&s.jsx("td",{className:"px-3 py-2",children:s.jsx(zt,{width:"1rem",height:"1rem",variant:"circle"})}),e.map((T,Z)=>s.jsx("td",{className:"px-4 py-2",children:s.jsx(zt,{width:"100%",height:"1em",variant:"rect"})},Z))]},J))}):ce.length?s.jsx("tbody",{className:"bg-[var(--color-ds-background-surface)]",children:ce.map(O=>{const J=W(O);return s.jsxs("tr",{className:de("transition-colors","hover:bg-[var(--color-ds-border-default-50)]",m&&"cursor-pointer select-none"),onDoubleClick:m?()=>m(O):void 0,title:m?"Doble clic para abrir":void 0,children:[l&&s.jsx("td",{className:"px-3 py-2",children:s.jsx("input",{type:"checkbox",className:"accent-[var(--color-ds-button-primary-bg)]",checked:R.has(J),onChange:()=>U(J),onDoubleClick:T=>T.stopPropagation()})}),e.map((T,Z)=>{const te=T.render?T.render(O):typeof T.accessor=="function"?T.accessor(O):O[T.accessor];return s.jsx("td",{className:de("px-4 py-2 whitespace-nowrap text-[var(--color-ds-text-primary)] text-sm",T.width),children:te},`${String(T.header)}-${Z}`)})]},J)})}):s.jsx("tbody",{children:s.jsx("tr",{children:s.jsx("td",{className:"px-4 py-6 text-center text-[var(--color-ds-text-secondary)]",colSpan:e.length+(l?1:0),children:"No hay datos"})})});return s.jsxs("div",{className:de("w-full overflow-auto rounded-lg border","border-[var(--color-ds-border-default-50)]",f),children:[s.jsxs("table",{className:"min-w-full",children:[s.jsx("thead",{className:"bg-[var(--color-ds-background-surface)] border-b border-[var(--color-ds-border-default-50)]",children:s.jsxs("tr",{children:[l&&s.jsx("th",{className:"px-3 py-2",children:s.jsx("input",{type:"checkbox",className:"accent-[var(--color-ds-button-primary-bg)]",checked:ce.length>0&&ce.every(O=>R.has(W(O))),onChange:M,onDoubleClick:O=>O.stopPropagation()})}),e.map(O=>{const J=typeof O.accessor=="string"?O.accessor:O.header,T=N===(typeof O.accessor=="string"?O.accessor:O.sortKey);return s.jsx("th",{className:de("px-4 py-2 text-left text-xs font-semibold uppercase tracking-wide select-none","text-[var(--color-ds-text-secondary)]",O.width),onClick:()=>F(O),children:s.jsxs("div",{className:de("inline-flex items-center gap-1",O.sortable&&"cursor-pointer"),children:[s.jsx("span",{children:O.header}),O.sortable&&s.jsx("span",{className:de("text-[var(--color-ds-text-secondary)]"),children:T?$==="asc"?"▲":"▼":"⇵"})]})},J)})]})}),ae()]}),s.jsxs("div",{className:"flex items-center justify-between py-2 px-4 border-t border-[var(--color-ds-border-default-50)] bg-[var(--color-ds-background-page)]/40",children:[s.jsx("span",{className:"text-sm text-[var(--color-ds-text-secondary)]",children:E?"Cargando...":`Página ${A} de ${q}`}),s.jsxs("div",{className:"space-x-2",children:[s.jsx(ie,{size:"sm",variant:"outline",disabled:E||A<=1,onClick:()=>S(O=>Math.max(1,O-1)),children:"Prev"}),s.jsx(ie,{size:"sm",variant:"outline",disabled:E||A>=q,onClick:()=>S(O=>Math.min(q,O+1)),children:"Next"})]})]})]})}function vs({control:e,name:t,rules:r,defaultValue:n=!1,checked:o,onChange:l,disabled:i=!1,label:c,labelPosition:d="right",errorMessage:u="",className:f}){const m=v.useId();if(e&&t)return s.jsx(Et,{name:t,control:e,rules:r,defaultValue:n,render:({field:g,fieldState:w})=>{var x;return s.jsx(vs,{checked:g.value,onChange:g.onChange,disabled:i,label:c,labelPosition:d,errorMessage:((x=w.error)==null?void 0:x.message)||"",className:f})}});const h=!!o;return s.jsxs("div",{className:de("flex flex-col",f),children:[s.jsxs("label",{className:de("inline-flex items-center space-x-3 select-none",i&&"opacity-50 cursor-not-allowed"),htmlFor:m,children:[c&&d==="left"&&s.jsx("span",{className:"text-ds-md text-[var(--color-ds-text-primary)]",children:c}),s.jsx("button",{id:m,type:"button",role:"switch","aria-checked":h,disabled:i,onClick:()=>!i&&(l==null?void 0:l(!h)),className:de("relative inline-flex items-center h-8 w-16","bg-[var(--color-ds-background-accent)] rounded-full transition-colors duration-200","focus:outline-none "),children:s.jsx("div",{className:de("absolute h-6 w-6 bg-[var(--color-ds-background-page)] rounded-full shadow transform transition-transform duration-200",h?"translate-x-9":"translate-x-1")})}),c&&d==="right"&&s.jsx("span",{className:"text-ds-md text-[var(--color-ds-text-primary)]",children:c})]}),s.jsx("div",{className:"pt-1 min-h-[18px] w-full",children:u?s.jsx("span",{className:"text-xs text-[var(--color-ds-text-error)]",children:u}):s.jsx("span",{"aria-hidden":"true",children:" "})})]})}function e5({items:e,value:t,onValueChange:r,multiple:n=!0,dense:o=!1,className:l}){const i=v.useMemo(()=>e.filter(w=>w.defaultOpen&&!w.disabled).map(w=>w.id),[e]),[c,d]=v.useState(i),u=t??c,f=w=>{r?r(w):d(w)},m=(w,x)=>{x&&f(n?u.includes(w)?u.filter(y=>y!==w):[...u,w]:u.includes(w)?[]:[w])},h=(w,x,y)=>{(w.key==="Enter"||w.key===" ")&&(w.preventDefault(),m(x,y))},g=o?"py-1":"py-2";return s.jsx("div",{className:["divide-y","divide-[var(--color-ds-border-default-50)]",l].filter(Boolean).join(" "),children:e.map(w=>{const x=u.includes(w.id),y=!w.disabled;return s.jsxs("section",{"aria-disabled":w.disabled||void 0,children:[s.jsxs("button",{type:"button",onClick:()=>m(w.id,y),onKeyDown:b=>h(b,w.id,y),"aria-expanded":x,className:["w-full flex items-center justify-between gap-2 text-left select-none",g,"text-[var(--color-ds-text-primary)]",w.disabled?"opacity-60 cursor-not-allowed":"hover:bg-[color-mix(in_srgb,var(--color-ds-background-surface)_80%,transparent)]"].join(" "),children:[s.jsxs("div",{className:"min-w-0 flex items-center gap-2",children:[w.leftAdornment&&s.jsx("span",{className:"shrink-0",children:w.leftAdornment}),s.jsx("span",{className:"font-medium truncate",children:w.title})]}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[w.actions,s.jsx(mn,{className:["h-4 w-4 transition-transform",x?"rotate-180":"",w.disabled?"opacity-40":""].join(" ")})]})]}),x&&s.jsx("div",{className:[o?"py-1":"py-2"].join(" "),children:w.content})]},w.id)})})}const kl=e=>{let t;const r=new Set,n=(u,f)=>{const m=typeof u=="function"?u(t):u;if(!Object.is(m,t)){const h=t;t=f??(typeof m!="object"||m===null)?m:Object.assign({},t,m),r.forEach(g=>g(t,h))}},o=()=>t,c={setState:n,getState:o,getInitialState:()=>d,subscribe:u=>(r.add(u),()=>r.delete(u))},d=t=e(n,o,c);return c},OM=(e=>e?kl(e):kl),NM=e=>e;function FM(e,t=NM){const r=v.useSyncExternalStore(e.subscribe,v.useCallback(()=>t(e.getState()),[e,t]),v.useCallback(()=>t(e.getInitialState()),[e,t]));return v.useDebugValue(r),r}const Rl=e=>{const t=OM(e),r=n=>FM(t,n);return Object.assign(r,t),r},IM=(e=>e?Rl(e):Rl);var t5=Symbol.for("immer-nothing"),jl=Symbol.for("immer-draftable"),kt=Symbol.for("immer-state"),ZM=process.env.NODE_ENV!=="production"?[function(e){return`The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`},function(e){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`},"This object has been frozen and should not be mutated",function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(e){return`'current' expects a draft, got: ${e}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(e){return`'original' expects a draft, got: ${e}`}]:[];function pt(e,...t){if(process.env.NODE_ENV!=="production"){const r=ZM[e],n=typeof r=="function"?r.apply(null,t):r;throw new Error(`[Immer] ${n}`)}throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var sn=Object.getPrototypeOf;function Lr(e){return!!e&&!!e[kt]}function dr(e){var t;return e?r5(e)||Array.isArray(e)||!!e[jl]||!!((t=e.constructor)!=null&&t[jl])||xn(e)||Ma(e):!1}var BM=Object.prototype.constructor.toString(),Cl=new WeakMap;function r5(e){if(!e||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;if(r===Object)return!0;if(typeof r!="function")return!1;let n=Cl.get(r);return n===void 0&&(n=Function.toString.call(r),Cl.set(r,n)),n===BM}function ca(e,t,r=!0){Ca(e)===0?(r?Reflect.ownKeys(e):Object.keys(e)).forEach(o=>{t(o,e[o],e)}):e.forEach((n,o)=>t(o,n,e))}function Ca(e){const t=e[kt];return t?t.type_:Array.isArray(e)?1:xn(e)?2:Ma(e)?3:0}function Co(e,t){return Ca(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function n5(e,t,r){const n=Ca(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function VM(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function xn(e){return e instanceof Map}function Ma(e){return e instanceof Set}function ar(e){return e.copy_||e.base_}function Mo(e,t){if(xn(e))return new Map(e);if(Ma(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const r=r5(e);if(t===!0||t==="class_only"&&!r){const n=Object.getOwnPropertyDescriptors(e);delete n[kt];let o=Reflect.ownKeys(n);for(let l=0;l<o.length;l++){const i=o[l],c=n[i];c.writable===!1&&(c.writable=!0,c.configurable=!0),(c.get||c.set)&&(n[i]={configurable:!0,writable:!0,enumerable:c.enumerable,value:e[i]})}return Object.create(sn(e),n)}else{const n=sn(e);if(n!==null&&r)return{...e};const o=Object.create(n);return Object.assign(o,e)}}function ws(e,t=!1){return Aa(e)||Lr(e)||!dr(e)||(Ca(e)>1&&Object.defineProperties(e,{set:Vn,add:Vn,clear:Vn,delete:Vn}),Object.freeze(e),t&&Object.values(e).forEach(r=>ws(r,!0))),e}function TM(){pt(2)}var Vn={value:TM};function Aa(e){return e===null||typeof e!="object"?!0:Object.isFrozen(e)}var DM={};function ur(e){const t=DM[e];return t||pt(0,e),t}var ln;function a5(){return ln}function HM(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Ml(e,t){t&&(ur("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Ao(e){So(e),e.drafts_.forEach(_M),e.drafts_=null}function So(e){e===ln&&(ln=e.parent_)}function Al(e){return ln=HM(ln,e)}function _M(e){const t=e[kt];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Sl(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[kt].modified_&&(Ao(t),pt(4)),dr(e)&&(e=da(t,e),t.parent_||ua(t,e)),t.patches_&&ur("Patches").generateReplacementPatches_(r[kt].base_,e,t.patches_,t.inversePatches_)):e=da(t,r,[]),Ao(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==t5?e:void 0}function da(e,t,r){if(Aa(t))return t;const n=e.immer_.shouldUseStrictIteration(),o=t[kt];if(!o)return ca(t,(l,i)=>$l(e,o,t,l,i,r),n),t;if(o.scope_!==e)return t;if(!o.modified_)return ua(e,o.base_,!0),o.base_;if(!o.finalized_){o.finalized_=!0,o.scope_.unfinalizedDrafts_--;const l=o.copy_;let i=l,c=!1;o.type_===3&&(i=new Set(l),l.clear(),c=!0),ca(i,(d,u)=>$l(e,o,l,d,u,r,c),n),ua(e,l,!1),r&&e.patches_&&ur("Patches").generatePatches_(o,r,e.patches_,e.inversePatches_)}return o.copy_}function $l(e,t,r,n,o,l,i){if(o==null||typeof o!="object"&&!i)return;const c=Aa(o);if(!(c&&!i)){if(process.env.NODE_ENV!=="production"&&o===r&&pt(5),Lr(o)){const d=l&&t&&t.type_!==3&&!Co(t.assigned_,n)?l.concat(n):void 0,u=da(e,o,d);if(n5(r,n,u),Lr(u))e.canAutoFreeze_=!1;else return}else i&&r.add(o);if(dr(o)&&!c){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[n]===o&&c)return;da(e,o),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&(xn(r)?r.has(n):Object.prototype.propertyIsEnumerable.call(r,n))&&ua(e,o)}}}function ua(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&ws(t,r)}function PM(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:a5(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=n,l=gs;r&&(o=[n],l=cn);const{revoke:i,proxy:c}=Proxy.revocable(o,l);return n.draft_=c,n.revoke_=i,c}var gs={get(e,t){if(t===kt)return e;const r=ar(e);if(!Co(r,t))return WM(e,r,t);const n=r[t];return e.finalized_||!dr(n)?n:n===Ga(e.base_,t)?(Ka(e),e.copy_[t]=Lo(n,e)):n},has(e,t){return t in ar(e)},ownKeys(e){return Reflect.ownKeys(ar(e))},set(e,t,r){const n=o5(ar(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const o=Ga(ar(e),t),l=o==null?void 0:o[kt];if(l&&l.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(VM(r,o)&&(r!==void 0||Co(e.base_,t)))return!0;Ka(e),$o(e)}return e.copy_[t]===r&&(r!==void 0||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty(e,t){return Ga(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Ka(e),$o(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=ar(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){pt(11)},getPrototypeOf(e){return sn(e.base_)},setPrototypeOf(){pt(12)}},cn={};ca(gs,(e,t)=>{cn[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});cn.deleteProperty=function(e,t){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(t))&&pt(13),cn.set.call(this,e,t,void 0)};cn.set=function(e,t,r){return process.env.NODE_ENV!=="production"&&t!=="length"&&isNaN(parseInt(t))&&pt(14),gs.set.call(this,e[0],t,r,e[0])};function Ga(e,t){const r=e[kt];return(r?ar(r):e)[t]}function WM(e,t,r){var o;const n=o5(t,r);return n?"value"in n?n.value:(o=n.get)==null?void 0:o.call(e.draft_):void 0}function o5(e,t){if(!(t in e))return;let r=sn(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=sn(r)}}function $o(e){e.modified_||(e.modified_=!0,e.parent_&&$o(e.parent_))}function Ka(e){e.copy_||(e.copy_=Mo(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var zM=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(t,r,n)=>{if(typeof t=="function"&&typeof r!="function"){const l=r;r=t;const i=this;return function(d=l,...u){return i.produce(d,f=>r.call(this,f,...u))}}typeof r!="function"&&pt(6),n!==void 0&&typeof n!="function"&&pt(7);let o;if(dr(t)){const l=Al(this),i=Lo(t,void 0);let c=!0;try{o=r(i),c=!1}finally{c?Ao(l):So(l)}return Ml(l,n),Sl(o,l)}else if(!t||typeof t!="object"){if(o=r(t),o===void 0&&(o=t),o===t5&&(o=void 0),this.autoFreeze_&&ws(o,!0),n){const l=[],i=[];ur("Patches").generateReplacementPatches_(t,o,l,i),n(l,i)}return o}else pt(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(i,...c)=>this.produceWithPatches(i,d=>t(d,...c));let n,o;return[this.produce(t,r,(i,c)=>{n=i,o=c}),n,o]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof(e==null?void 0:e.useStrictIteration)=="boolean"&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){dr(e)||pt(8),Lr(e)&&(e=qM(e));const t=Al(this),r=Lo(e,void 0);return r[kt].isManual_=!0,So(t),r}finishDraft(e,t){const r=e&&e[kt];(!r||!r.isManual_)&&pt(9);const{scope_:n}=r;return Ml(n,t),Sl(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const o=t[r];if(o.path.length===0&&o.op==="replace"){e=o.value;break}}r>-1&&(t=t.slice(r+1));const n=ur("Patches").applyPatches_;return Lr(e)?n(e,t):this.produce(e,o=>n(o,t))}};function Lo(e,t){const r=xn(e)?ur("MapSet").proxyMap_(e,t):Ma(e)?ur("MapSet").proxySet_(e,t):PM(e,t);return(t?t.scope_:a5()).drafts_.push(r),r}function qM(e){return Lr(e)||pt(10,e),s5(e)}function s5(e){if(!dr(e)||Aa(e))return e;const t=e[kt];let r,n=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Mo(e,t.scope_.immer_.useStrictShallowCopy_),n=t.scope_.immer_.shouldUseStrictIteration()}else r=Mo(e,!0);return ca(r,(o,l)=>{n5(r,o,s5(l))},n),t&&(t.finalized_=!1),r}var UM=new zM,GM=UM.produce;const Ya=e=>Number(e.toFixed(2)),Mr=e=>Math.max(0,Math.min(100,e??0)),KM={text:{name:"text",label:"Texto"},number:{name:"number",label:"Número"},email:{name:"email",label:"Email"},select:{name:"select",label:"Select"},checkbox:{name:"checkbox",label:"Checkbox"},date:{name:"date",label:"Fecha"},textarea:{name:"textarea",label:"Textarea"},file:{name:"file",label:"Archivo"},search:{name:"search",label:"Búsqueda"}},Pe=e=>e.layout.find(t=>t.type==="rows"),Mt=(e,t)=>{if(t==null)return Pe(e);const r=e.layout[t];return r&&r.type==="rows"?r:Pe(e)},Ja=e=>e<=1?["w-full"]:e===2?["w-1/2","w-1/2"]:e===3?["w-1/3","w-1/3","w-1/3"]:Array.from({length:e},()=>"flex-1"),Xa={1:["w-full"],2:["w-1/2","w-1/2"],3:["w-1/3","w-1/3","w-1/3"],4:["w-1/4","w-1/4","w-1/4","w-1/4"],"1/3-2/3":["w-1/3","w-2/3"],"2/3-1/3":["w-2/3","w-1/3"],"1/4-3/4":["w-1/4","w-3/4"],"3/4-1/4":["w-3/4","w-1/4"]},qe=(e,t)=>{for(let r=0;r<e.layout.length;r++){const n=e.layout[r];if((n==null?void 0:n.type)!=="tabs")continue;const o=n.tabs.findIndex(l=>l.key===t);if(o>=0)return{nodeIdx:r,tabIdx:o}}return null},YM=e=>{const t=[];return e.layout.forEach(r=>{r.type==="rows"&&r.sections.forEach(n=>n.rows.forEach(o=>o.columns.forEach(l=>(l.fields??[]).forEach(i=>t.push(i))))),r.type==="tabs"&&r.tabs.forEach(n=>n.sections.forEach(o=>o.rows.forEach(l=>l.columns.forEach(i=>(i.fields??[]).forEach(c=>t.push(c))))))}),t},JM=e=>({type:"rows",sections:[{sectionTitle:e??"Sección",defaultOpen:!0,rows:[{title:"",columns:[{width:"w-full",fields:[]}]}]}]}),Ll=(e,t)=>Math.max(0,Math.min(e,t)),Qa=e=>!!e&&e.type==="inputGroup",Jn=(e,t)=>e.findIndex(r=>(r==null?void 0:r.name)===t),eo=(e,t)=>e[Jn(e,t)],XM=()=>({type:"tabs",tabs:[{key:`tab_${Date.now().toString(36)}_1`,label:"Pestaña 1",sections:[{sectionTitle:"Sección 1",defaultOpen:!0,rows:[{title:"",columns:[{width:"w-full",fields:[]}]}]}]},{key:`tab_${Date.now().toString(36)}_2`,label:"Pestaña 2",sections:[{sectionTitle:"Sección 1",defaultOpen:!0,rows:[{title:"",columns:[{width:"w-full",fields:[]}]}]}]}]}),yr=(e,t)=>YM(e).includes(t),Oo=e=>e.replace(/(?:_copy)+$/i,"").replace(/_(\d+)$/i,""),l5=e=>e.replace(/\s\((\d+)\)$/i,""),ut=(e,t)=>{const r=e||"campo";if(!t.has(r))return r;let n=2;for(;t.has(`${r}_${n}`);)n++;return`${r}_${n}`},gt=(e,t)=>{const r=e||"Campo";if(!t.has(r))return r;let n=2;for(;t.has(`${r} (${n})`);)n++;return`${r} (${n})`},ft=e=>{const t=(e.type??"text").toString(),r=KM[t]??{name:"campo",label:"Campo"},n=e.name?Oo(e.name):r.name,o=e.label?l5(e.label):r.label;return{baseName:n,baseLabel:o}},QM={layout:[{type:"rows",sections:[{sectionTitle:"Sección 1",defaultOpen:!0,rows:[{title:"",columns:[{width:"w-full",fields:[]}]}]}]}],fields:[],onSubmit:async()=>{},successMessage:"Guardado",errorMessage:"Error"},Y=IM((e,t)=>({schema:QM,selection:{kind:"none"},past:[],future:[],fieldPick:{armed:!1},previewMode:!1,fieldDom:{},fieldAnchors:{},showRelations:!1,relationsEnabled:!1,setPreviewMode:r=>e({previewMode:!!r}),togglePreview:()=>e(r=>{const n=!r.previewMode;return{previewMode:n,...n?{showRelations:!1,relationsEnabled:!1}:{}}}),toggleRelations:r=>e(n=>{const o=r!==void 0?r:!n.relationsEnabled;return{relationsEnabled:o,showRelations:o}}),registerFieldEl:(r,n)=>e(o=>({fieldDom:{...o.fieldDom,[r]:n}})),registerFieldAnchor:(r,n)=>e(o=>{const l=o.fieldAnchors[r];return l&&l.x===n.x&&l.y===n.y&&l.w===n.w&&l.h===n.h?o:{fieldAnchors:{...o.fieldAnchors,[r]:n}}}),unregisterFieldAnchor:r=>e(n=>{const o={...n.fieldAnchors};return delete o[r],{fieldAnchors:o}}),setSchema:r=>{const n=t().schema,o=typeof r=="function"?GM(n,r):r;e(l=>({...l,schema:o,past:[...l.past,n].slice(-50),future:[]}))},setSelection:r=>e({selection:r}),undo:()=>e(r=>r.past.length?{schema:r.past[r.past.length-1],past:r.past.slice(0,-1),future:[r.schema,...r.future]}:r),redo:()=>e(r=>r.future.length?{schema:r.future[0],past:[...r.past,r.schema],future:r.future.slice(1)}:r),resetHistory:()=>e(r=>({past:[],future:[]})),addField:r=>t().setSchema(n=>{const{baseName:o,baseLabel:l}=ft(r),i=new Set(n.fields.map(f=>f.name).filter(Boolean)),c=new Set(n.fields.map(f=>f.label??"").filter(Boolean)),d=ut(o,i),u=gt(l,c);r.name=d,r.label||(r.label=u),n.fields.push(r)}),addFieldAt:(r,n)=>t().setSchema(o=>{const{baseName:l,baseLabel:i}=ft(r),c=new Set(o.fields.map(h=>h.name).filter(Boolean)),d=new Set(o.fields.map(h=>h.label??"").filter(Boolean)),u=ut(l,c),f=gt(i,d);r.name=u,r.label||(r.label=f);const m=Math.max(0,Math.min(n??o.fields.length,o.fields.length));o.fields.splice(m,0,r)}),removeField:r=>t().setSchema(n=>{n.fields=n.fields.filter(o=>o.name!==r),n.layout.forEach(o=>{o.type==="rows"&&o.sections.forEach(l=>l.rows.forEach(i=>i.columns.forEach(c=>{c.fields=(c.fields??[]).filter(d=>d!==r)}))),o.type==="tabs"&&o.tabs.forEach(l=>l.sections.forEach(i=>i.rows.forEach(c=>c.columns.forEach(d=>{d.fields=(d.fields??[]).filter(u=>u!==r)}))))})}),updateField:(r,n)=>t().setSchema(o=>{const l=o.fields.findIndex(i=>i.name===r);l>=0&&n(o.fields[l])}),duplicateField:(r,n)=>t().setSchema(o=>{const l=o.fields.findIndex(w=>w.name===r);if(l<0)return;const i=o.fields[l],c=Oo((n==null?void 0:n.trim())||i.name||""),d=l5(i.label??""),u=new Set(o.fields.map(w=>w.name).filter(Boolean)),f=new Set(o.fields.map(w=>w.label??"").filter(Boolean)),m=ut(c||ft(i).baseName,u),h=gt(d||ft(i).baseLabel,f),g=JSON.parse(JSON.stringify(i));g.name=m,g.label=h,o.fields.splice(l+1,0,g)}),renameField:(r,n)=>t().setSchema(o=>{const l=o.fields.findIndex(u=>u.name===r);if(l<0)return;const i=Oo((n??r).trim()||"campo"),c=new Set(o.fields.map(u=>u.name).filter(Boolean));c.delete(r);const d=ut(i,c);o.fields[l].name=d,o.layout.forEach(u=>{u.type==="rows"&&u.sections.forEach(f=>f.rows.forEach(m=>m.columns.forEach(h=>{h.fields&&(h.fields=h.fields.map(g=>g===r?d:g))}))),u.type==="tabs"&&u.tabs.forEach(f=>f.sections.forEach(m=>m.rows.forEach(h=>h.columns.forEach(g=>{g.fields&&(g.fields=g.fields.map(w=>w===r?d:w))}))))})}),addSection:r=>t().setSchema(n=>{const o=Pe(n);if(!o)return;const l={sectionTitle:r??"Nueva sección",defaultOpen:!0,rows:[{title:"",columns:[{width:"w-full",fields:[]}]}]};o.sections.push(l)}),renameSection:(r,n)=>t().setSchema(o=>{const l=Pe(o);if(!l)return;const i=l.sections[r];i&&(i.sectionTitle=(n??"").trim()||"Sección")}),moveSection:(r,n,o)=>e(l=>{const i=[...l.schema.layout],c=i[r];if(!c||c.type!=="rows")return l;const d=[...c.sections],[u]=d.splice(n,1),f=Math.max(0,Math.min(o,d.length));return d.splice(f,0,u),i[r]={...c,sections:d},{schema:{...l.schema,layout:i}}}),removeSection:r=>t().setSchema(n=>{const o=Pe(n);if(!o||r<0||r>=o.sections.length)return;const l=[...o.sections];l.splice(r,1),o.sections=l}),duplicateSection:r=>t().setSchema(n=>{const o=Pe(n);if(!o)return;const l=o.sections[r];if(!l)return;const i=JSON.parse(JSON.stringify(l)),c=(l.sectionTitle||"Sección").toString(),d=o.sections.map(m=>m.sectionTitle||""),u=new Set(d);let f=c;if(u.has(f)){let m=2;for(;u.has(`${c} (${m})`);)m++;f=`${c} (${m})`}i.sectionTitle=f,o.sections.splice(r+1,0,i)}),addRowsBlockAt:(r,n)=>t().setSchema(o=>{const l=Math.max(0,Math.min(r,o.layout.length));o.layout.splice(l,0,JM(n))}),addTabsContainerAt:r=>t().setSchema(n=>{const o=Math.max(0,Math.min(r,n.layout.length));n.layout.splice(o,0,XM())}),moveLayoutNode:(r,n)=>t().setSchema(o=>{const l=o.layout.length;if(r<0||r>=l)return;const i=Math.max(0,Math.min(n,l-1));if(r===i)return;const c=[...o.layout],[d]=c.splice(r,1);c.splice(i,0,d),o.layout=c}),removeLayoutNode:r=>t().setSchema(n=>{if(r<0||r>=n.layout.length)return;const o=[...n.layout];o.splice(r,1),n.layout=o}),addTabsContainer:()=>t().setSchema(r=>{const n={type:"tabs",tabs:[{key:"tab1",label:"Pestaña 1",sections:[{sectionTitle:"Sección 1",defaultOpen:!0,rows:[{title:"",columns:[{width:"w-full",fields:[]}]}]}]},{key:"tab2",label:"Pestaña 2",sections:[{sectionTitle:"Sección 1",defaultOpen:!0,rows:[{title:"",columns:[{width:"w-full",fields:[]}]}]}]}]};r.layout.push(n)}),addTabAfter:r=>t().setSchema(n=>{const o=qe(n,r);if(!o)return;const l=n.layout[o.nodeIdx],i="Nueva pestaña",c=new Set(l.tabs.map(m=>m.label));let d=i,u=2;for(;c.has(d);)d=`${i} (${u++})`;const f={key:`tab_${Date.now().toString(36)}`,label:d,sections:[{sectionTitle:"Sección 1",defaultOpen:!0,rows:[{title:"",columns:[{width:"w-full",fields:[]}]}]}]};l.tabs.splice(o.tabIdx+1,0,f)}),removeTab:r=>t().setSchema(n=>{const o=qe(n,r);if(!o)return;const l=n.layout[o.nodeIdx];l.tabs.length<=1||l.tabs.splice(o.tabIdx,1)}),renameTab:(r,n)=>t().setSchema(o=>{const l=qe(o,r);if(!l)return;const i=o.layout[l.nodeIdx];i.tabs[l.tabIdx].label=(n??"").trim()||"Pestaña"}),moveTab:(r,n,o)=>e(l=>{const i=[...l.schema.layout],c=i[r];if(!c||c.type!=="tabs")return l;const d=[...c.tabs],[u]=d.splice(n,1),f=Math.max(0,Math.min(o,d.length));return d.splice(f,0,u),i[r]={...c,tabs:d},{schema:{...l.schema,layout:i}}}),moveTabSection:(r,n,o,l)=>e(i=>{const c=[...i.schema.layout],d=c[r];if(!d||d.type!=="tabs")return i;const u=d.tabs.find(w=>w.key===n);if(!u)return i;const f=[...u.sections],[m]=f.splice(o,1),h=Math.max(0,Math.min(l,f.length));f.splice(h,0,m);const g=d.tabs.map(w=>w.key===n?{...w,sections:f}:w);return c[r]={...d,tabs:g},{schema:{...i.schema,layout:c}}}),addSectionToTab:(r,n)=>t().setSchema(o=>{const l=qe(o,r);if(!l)return;o.layout[l.nodeIdx].tabs[l.tabIdx].sections.push({sectionTitle:n??"Nueva sección",defaultOpen:!0,rows:[{title:"",columns:[{width:"w-full",fields:[]}]}]})}),addRowToTabSection:(r,n)=>t().setSchema(o=>{var c;const l=qe(o,r);if(!l)return;(c=o.layout[l.nodeIdx].tabs[l.tabIdx].sections[n])==null||c.rows.push({title:"",columns:[{width:"w-full",fields:[]}]})}),renameTabSection:(r,n,o)=>t().setSchema(l=>{const i=qe(l,r);if(!i)return;const d=l.layout[i.nodeIdx].tabs[i.tabIdx].sections[n];d&&(d.sectionTitle=(o??"").trim()||"Sección")}),setTabRowColumns:(r,n,o,l)=>t().setSchema(i=>{var g,w;const c=qe(i,r);if(!c)return;const u=(w=(g=i.layout[c.nodeIdx].tabs[c.tabIdx].sections[n])==null?void 0:g.rows)==null?void 0:w[o];if(!u)return;const f=(u.columns??[]).flatMap(x=>x.fields??[]),m=Ja(l),h=Array.from({length:l},(x,y)=>({width:m[y],fields:[]}));f.forEach((x,y)=>h[y%l].fields.push(x)),u.columns=h}),addColumnToTabRow:(r,n,o)=>t().setSchema(l=>{var u,f;const i=qe(l,r);if(!i)return;const d=(f=(u=l.layout[i.nodeIdx].tabs[i.tabIdx].sections[n])==null?void 0:u.rows)==null?void 0:f[o];d&&d.columns.push({width:"w-1/2",fields:[]})}),removeTabColumn:(r,n,o,l)=>t().setSchema(i=>{var w,x;const c=qe(i,r);if(!c)return;const u=(x=(w=i.layout[c.nodeIdx].tabs[c.tabIdx].sections[n])==null?void 0:w.rows)==null?void 0:x[o];if(!u)return;const f=u.columns??[];if(!f[l])return;const m=f[l],h=l>0?l-1:f[l+1]?l+1:-1,g=[...f];g.splice(l,1),h>=0&&g[h]&&(g[h].fields=[...g[h].fields??[],...m.fields??[]]),u.columns=g}),placeFieldInTabColumn:(r,n,o,l,i)=>t().setSchema(c=>{const d=qe(c,n);if(!d)return;const f=c.layout[d.nodeIdx].tabs[d.tabIdx].sections[o].rows[l].columns[i];let m=r;if(yr(c,r)){const h=c.fields.findIndex(g=>g.name===r);if(h>=0){const g=c.fields[h],{baseName:w,baseLabel:x}=ft(g),y=new Set(c.fields.map(R=>R.name).filter(Boolean)),b=new Set(c.fields.map(R=>R.label??"").filter(Boolean));m=ut(w,y);const p=gt(x,b),E=JSON.parse(JSON.stringify(g));E.name=m,E.label=p,c.fields.splice(h+1,0,E)}}f.fields=[...f.fields??[],m]}),moveFieldInTab:(r,n)=>t().setSchema(o=>{var g,w,x,y;const l=qe(o,r.tabKey);if(!l)return;const i=o.layout[l.nodeIdx],c=(w=(g=i.tabs[l.tabIdx].sections[r.s])==null?void 0:g.rows[r.r])==null?void 0:w.columns[r.c],d=(y=(x=i.tabs[l.tabIdx].sections[n.s])==null?void 0:x.rows[n.r])==null?void 0:y.columns[n.c];if(!c||!d)return;const u=[...c.fields??[]];if(r.idx<0||r.idx>=u.length)return;const[f]=u.splice(r.idx,1);c.fields=u;const m=[...d.fields??[]],h=n.idx===void 0?m.length:Math.max(0,Math.min(n.idx,m.length));m.splice(h,0,f),d.fields=m}),removeFieldFromTabLayout:r=>t().setSchema(n=>{var d,u;const o=qe(n,r.tabKey);if(!o)return;const i=(u=(d=n.layout[o.nodeIdx].tabs[o.tabIdx].sections[r.s])==null?void 0:d.rows[r.r])==null?void 0:u.columns[r.c];if(!i||!i.fields||r.idx<0||r.idx>=i.fields.length)return;const c=[...i.fields];c.splice(r.idx,1),i.fields=c}),moveRowInSection:(r,n,o)=>t().setSchema(l=>{const i=Pe(l);if(!i)return;const c=i.sections[r];if(!c)return;const d=[...c.rows];if(n<0||n>=d.length)return;const u=Math.max(0,Math.min(o,d.length-1));if(n===u)return;const[f]=d.splice(n,1);d.splice(u,0,f),c.rows=d}),duplicateRowInSection:(r,n)=>t().setSchema(o=>{const l=Pe(o);if(!l)return;const i=l.sections[r];if(!i)return;const c=i.rows[n];if(!c)return;const d=JSON.parse(JSON.stringify(c));i.rows.splice(n+1,0,d)}),removeRowFromSection:(r,n)=>t().setSchema(o=>{const l=Pe(o);if(!l)return;const i=l.sections[r];if(!i)return;const c=[...i.rows];n<0||n>=c.length||(c.splice(n,1),c.length===0&&c.push({title:"",columns:[{width:"w-full",fields:[]}]}),i.rows=c)}),setRowColumnsPreset:(r,n,o)=>t().setSchema(l=>{var u,f;const i=Pe(l);if(!i)return;const c=(f=(u=i.sections[r])==null?void 0:u.rows)==null?void 0:f[n];if(!c)return;const d=Xa[o];d&&to(c,d)}),setRowResponsive:(r,n,o)=>t().setSchema(l=>{var g,w;const i=Pe(l);if(!i)return;const c=(w=(g=i.sections[Number(r)])==null?void 0:g.rows)==null?void 0:w[Number(n)];if(!c)return;const d=Math.max(o.desktop.count??1,o.tablet.count??1,o.mobile.count??1),u=(c.columns??[]).flatMap(x=>x.fields??[]),f=no(u,d),m=(x,y,b)=>y<(b??0)?Mr((x==null?void 0:x[y])??0):null,h=Array.from({length:d},(x,y)=>{const b=m(o.mobile.widths,y,o.mobile.count),p=m(o.tablet.widths,y,o.tablet.count),E=m(o.desktop.widths,y,o.desktop.count);return{width:ro(b,p,E),fields:f[y]??[]}});c.columns=h}),setRowColumnsAt:(r,n,o,l)=>t().setSchema(i=>{var h,g;const c=Mt(i,r);if(!c)return;const d=(g=(h=c.sections[n])==null?void 0:h.rows)==null?void 0:g[o];if(!d)return;const u=(d.columns??[]).flatMap(w=>w.fields??[]),f=Ja(l),m=Array.from({length:l},(w,x)=>({width:f[x],fields:[]}));u.forEach((w,x)=>m[x%l].fields.push(w)),d.columns=m}),addColumnToRowAt:(r,n,o)=>t().setSchema(l=>{var c,d,u,f;const i=Mt(l,r);i&&((f=(u=(d=(c=i.sections[n])==null?void 0:c.rows)==null?void 0:d[o])==null?void 0:u.columns)==null||f.push({width:"w-1/2",fields:[]}))}),removeColumnAt:(r,n,o,l)=>t().setSchema(i=>{var g,w;const c=Mt(i,r);if(!c)return;const d=(w=(g=c.sections[n])==null?void 0:g.rows)==null?void 0:w[o];if(!d)return;const u=d.columns??[];if(!u[l])return;const f=u[l],m=l>0?l-1:u[l+1]?l+1:-1,h=[...u];h.splice(l,1),m>=0&&h[m]&&(h[m].fields=[...h[m].fields??[],...f.fields??[]]),d.columns=h}),setRowColumnsPresetAt:(r,n,o,l)=>t().setSchema(i=>{var f,m;const c=Mt(i,r);if(!c)return;const d=(m=(f=c.sections[n])==null?void 0:f.rows)==null?void 0:m[o];if(!d)return;const u=Xa[l];u&&to(d,u)}),setRowResponsiveAt:(r,n,o,l)=>t().setSchema(i=>{var w,x;const c=Mt(i,r);if(!c)return;const d=(x=(w=c.sections[Number(n)])==null?void 0:w.rows)==null?void 0:x[Number(o)];if(!d)return;const u=Math.max(l.desktop.count??1,l.tablet.count??1,l.mobile.count??1),f=(y,b,p)=>b<(p??0)?Mr((y==null?void 0:y[b])??0):null,m=eA(d,u),h=m.flatMap(y=>y.fields??[]),g=no(h,u);for(let y=0;y<u;y++){const b=f(l.mobile.widths,y,l.mobile.count),p=f(l.tablet.widths,y,l.tablet.count),E=f(l.desktop.widths,y,l.desktop.count);m[y].width=ro(b,p,E),m[y].fields=g[y]??[]}}),placeFieldInColumnAt:(r,n,o,l,i,c)=>t().setSchema(d=>{var w,x,y,b;const u=Mt(d,r);if(!u)return;const f=(b=(y=(x=(w=u.sections[o])==null?void 0:w.rows)==null?void 0:x[l])==null?void 0:y.columns)==null?void 0:b[i];if(!f)return;let m=n;if(yr(d,n)){const p=d.fields.findIndex(E=>E.name===n);if(p>=0){const E=d.fields[p],{baseName:R,baseLabel:j}=ft(E),A=new Set(d.fields.map($=>$.name).filter(Boolean)),S=new Set(d.fields.map($=>$.label??"").filter(Boolean));m=ut(R,A);const N=gt(j,S),B=JSON.parse(JSON.stringify(E));B.name=m,B.label=N,d.fields.splice(p+1,0,B)}}const h=[...f.fields??[]],g=c===void 0?h.length:Math.max(0,Math.min(c,h.length));h.splice(g,0,m),f.fields=h}),moveFieldAt:(r,n,o,l)=>t().setSchema(i=>{var x,y,b,p,E,R,j,A;const c=Mt(i,r),d=Mt(i,o);if(!c||!d)return;const u=(p=(b=(y=(x=c.sections[n.s])==null?void 0:x.rows)==null?void 0:y[n.r])==null?void 0:b.columns)==null?void 0:p[n.c],f=(A=(j=(R=(E=d.sections[l.s])==null?void 0:E.rows)==null?void 0:R[l.r])==null?void 0:j.columns)==null?void 0:A[l.c];if(!u||!f)return;const m=[...u.fields??[]];if(n.idx<0||n.idx>=m.length)return;const[h]=m.splice(n.idx,1);u.fields=m;const g=[...f.fields??[]],w=l.idx===void 0?g.length:Math.max(0,Math.min(l.idx,g.length));g.splice(w,0,h),f.fields=g}),removeFieldFromLayoutAt:(r,n)=>t().setSchema(o=>{var d,u,f,m;const l=Mt(o,r);if(!l)return;const i=(m=(f=(u=(d=l.sections[n.s])==null?void 0:d.rows)==null?void 0:u[n.r])==null?void 0:f.columns)==null?void 0:m[n.c];if(!i||!i.fields||n.idx<0||n.idx>=i.fields.length)return;const c=[...i.fields];c.splice(n.idx,1),i.fields=c}),insertExistingFieldAtAt:(r,n,o,l,i,c)=>t().setSchema(d=>{var w,x,y,b;const u=Mt(d,r);if(!u)return;const f=(b=(y=(x=(w=u.sections[o])==null?void 0:w.rows)==null?void 0:x[l])==null?void 0:y.columns)==null?void 0:b[i];if(!f)return;let m=n;if(yr(d,n)){const p=d.fields.findIndex(E=>E.name===n);if(p>=0){const E=d.fields[p],{baseName:R,baseLabel:j}=ft(E),A=new Set(d.fields.map(_=>_.name).filter(Boolean)),S=new Set(d.fields.map(_=>_.label??"").filter(Boolean)),N=ut(R,A),B=gt(j,S),$=JSON.parse(JSON.stringify(E));$.name=N,$.label=B,d.fields.splice(p+1,0,$),m=N}}const h=[...f.fields??[]],g=Math.max(0,Math.min(c,h.length));h.splice(g,0,m),f.fields=h}),addFieldAndPlaceAtAt:(r,n,o,l,i,c)=>t().setSchema(d=>{var R,j,A,S;const{baseName:u,baseLabel:f}=ft(n),m=new Set(d.fields.map(N=>N.name).filter(Boolean)),h=new Set(d.fields.map(N=>N.label??"").filter(Boolean)),g=ut(u,m),w=gt(f,h),x=JSON.parse(JSON.stringify(n));x.name=g,x.label||(x.label=w),d.fields.push(x);const y=Mt(d,r);if(!y)return;const b=(S=(A=(j=(R=y.sections[o])==null?void 0:R.rows)==null?void 0:j[l])==null?void 0:A.columns)==null?void 0:S[i];if(!b)return;const p=[...b.fields??[]],E=Math.max(0,Math.min(c,p.length));p.splice(E,0,g),b.fields=p}),setTabRowResponsive:(r,n,o,l)=>t().setSchema(i=>{var x,y;const c=qe(i,r);if(!c)return;const u=(y=(x=i.layout[c.nodeIdx].tabs[c.tabIdx].sections[Number(n)])==null?void 0:x.rows)==null?void 0:y[Number(o)];if(!u)return;const f=Math.max(l.desktop.count??1,l.tablet.count??1,l.mobile.count??1),m=(u.columns??[]).flatMap(b=>b.fields??[]),h=no(m,f),g=(b,p,E)=>p<(E??0)?Mr((b==null?void 0:b[p])??0):null,w=Array.from({length:f},(b,p)=>{const E=g(l.mobile.widths,p,l.mobile.count),R=g(l.tablet.widths,p,l.tablet.count),j=g(l.desktop.widths,p,l.desktop.count);return{width:ro(E,R,j),fields:h[p]??[]}});u.columns=w}),moveTabRow:(r,n,o,l)=>t().setSchema(i=>{const c=qe(i,r);if(!c)return;const u=i.layout[c.nodeIdx].tabs[c.tabIdx].sections[n];if(!u)return;const f=[...u.rows];if(o<0||o>=f.length)return;const m=Math.max(0,Math.min(l,f.length-1));if(o===m)return;const[h]=f.splice(o,1);f.splice(m,0,h),u.rows=f}),duplicateTabRow:(r,n,o)=>t().setSchema(l=>{const i=qe(l,r);if(!i)return;const d=l.layout[i.nodeIdx].tabs[i.tabIdx].sections[n];if(!d)return;const u=d.rows[o];if(!u)return;const f=JSON.parse(JSON.stringify(u));d.rows.splice(o+1,0,f)}),removeTabRow:(r,n,o)=>t().setSchema(l=>{const i=qe(l,r);if(!i)return;const d=l.layout[i.nodeIdx].tabs[i.tabIdx].sections[n];if(!d)return;const u=[...d.rows];o<0||o>=u.length||(u.splice(o,1),u.length===0&&u.push({title:"",columns:[{width:"w-full",fields:[]}]}),d.rows=u)}),setTabRowColumnsPreset:(r,n,o,l)=>t().setSchema(i=>{var m,h;const c=qe(i,r);if(!c)return;const u=(h=(m=i.layout[c.nodeIdx].tabs[c.tabIdx].sections[n])==null?void 0:m.rows)==null?void 0:h[o];if(!u)return;const f=Xa[l];f&&to(u,f)}),addRowToSection:r=>t().setSchema(n=>{const o=Pe(n);o&&o.sections[r].rows.push({title:"",columns:[{width:"w-full",fields:[]}]})}),addRowToSectionAt:(r,n)=>t().setSchema(o=>{const l=Pe(o);if(!l)return;const i=l.sections[r];if(!i)return;const c=[...i.rows??[]],d=Math.max(0,Math.min(n,c.length));c.splice(d,0,{title:"",columns:[{width:"w-full",fields:[]}]}),i.rows=c}),addColumnToRow:(r,n)=>t().setSchema(o=>{const l=Pe(o);l&&l.sections[r].rows[n].columns.push({width:"w-1/2",fields:[]})}),setRowColumns:(r,n,o)=>t().setSchema(l=>{const i=Pe(l);if(!i)return;const c=i.sections[r].rows[n],d=(c.columns??[]).flatMap(m=>m.fields??[]),u=Ja(o),f=Array.from({length:o},(m,h)=>({width:u[h],fields:[]}));d.forEach((m,h)=>f[h%o].fields.push(m)),c.columns=f}),removeColumn:(r,n,o)=>t().setSchema(l=>{const i=Pe(l);if(!i)return;const c=i.sections[r].rows[n],d=c.columns??[];if(!d[o])return;const u=d[o],f=o>0?o-1:d[o+1]?o+1:-1,m=[...d];m.splice(o,1),f>=0&&m[f]&&(m[f].fields=[...m[f].fields??[],...u.fields??[]]),c.columns=m}),placeFieldInColumn:(r,n,o,l)=>t().setSchema(i=>{const c=Pe(i);if(!c)return;const d=c.sections[n].rows[o].columns[l];let u=r;if(yr(i,r)){const f=i.fields.findIndex(m=>m.name===r);if(f>=0){const m=i.fields[f],{baseName:h,baseLabel:g}=ft(m),w=new Set(i.fields.map(E=>E.name).filter(Boolean)),x=new Set(i.fields.map(E=>E.label??"").filter(Boolean)),y=ut(h,w),b=gt(g,x),p=JSON.parse(JSON.stringify(m));p.name=y,p.label=b,i.fields.splice(f+1,0,p),u=y}}d.fields=[...d.fields??[],u]}),moveField:(r,n)=>t().setSchema(o=>{var h,g,w,x;const l=Pe(o);if(!l)return;const i=(g=(h=l.sections[r.s])==null?void 0:h.rows[r.r])==null?void 0:g.columns[r.c],c=(x=(w=l.sections[n.s])==null?void 0:w.rows[n.r])==null?void 0:x.columns[n.c];if(!i||!c)return;const d=[...i.fields??[]];if(r.idx<0||r.idx>=d.length)return;const[u]=d.splice(r.idx,1);i.fields=d;const f=[...c.fields??[]],m=n.idx===void 0?f.length:Math.max(0,Math.min(n.idx,f.length));f.splice(m,0,u),c.fields=f}),removeFieldFromLayout:r=>t().setSchema(n=>{var c,d;const o=Pe(n);if(!o)return;const l=(d=(c=o.sections[r.s])==null?void 0:c.rows[r.r])==null?void 0:d.columns[r.c];if(!l||!l.fields||r.idx<0||r.idx>=l.fields.length)return;const i=[...l.fields];i.splice(r.idx,1),l.fields=i}),addFieldAndPlace:(r,n,o,l)=>t().setSchema(i=>{const{baseName:c,baseLabel:d}=ft(r),u=new Set(i.fields.map(y=>y.name).filter(Boolean)),f=new Set(i.fields.map(y=>y.label??"").filter(Boolean)),m=ut(c,u),h=gt(d,f),g=JSON.parse(JSON.stringify(r));g.name=m,g.label||(g.label=h),i.fields.push(g);const w=Pe(i);if(!w)return;const x=w.sections[n].rows[o].columns[l];x.fields=[...x.fields??[],m]}),moveFieldWithinColumn:(r,n,o,l,i)=>t().setSchema(c=>{var g,w,x,y;const d=Pe(c);if(!d)return;const u=(y=(x=(w=(g=d.sections[r])==null?void 0:g.rows)==null?void 0:w[n])==null?void 0:x.columns)==null?void 0:y[o];if(!u)return;const f=[...u.fields??[]];if(l<0||l>=f.length)return;const[m]=f.splice(l,1),h=Math.max(0,Math.min(i,f.length));f.splice(h,0,m),u.fields=f}),insertExistingFieldAt:(r,n,o,l,i)=>t().setSchema(c=>{var g,w,x,y;const d=Pe(c);if(!d)return;const u=(y=(x=(w=(g=d.sections[n])==null?void 0:g.rows)==null?void 0:w[o])==null?void 0:x.columns)==null?void 0:y[l];if(!u)return;let f=r;if(yr(c,r)){const b=c.fields.findIndex(p=>p.name===r);if(b>=0){const p=c.fields[b],{baseName:E,baseLabel:R}=ft(p),j=new Set(c.fields.map($=>$.name).filter(Boolean)),A=new Set(c.fields.map($=>$.label??"").filter(Boolean)),S=ut(E,j),N=gt(R,A),B=JSON.parse(JSON.stringify(p));B.name=S,B.label=N,c.fields.splice(b+1,0,B),f=S}}const m=[...u.fields??[]],h=Math.max(0,Math.min(i,m.length));m.splice(h,0,f),u.fields=m}),addFieldAndPlaceAt:(r,n,o,l,i)=>t().setSchema(c=>{var E,R,j,A;const{baseName:d,baseLabel:u}=ft(r),f=new Set(c.fields.map(S=>S.name).filter(Boolean)),m=new Set(c.fields.map(S=>S.label??"").filter(Boolean)),h=ut(d,f),g=gt(u,m),w=JSON.parse(JSON.stringify(r));w.name=h,w.label||(w.label=g),c.fields.push(w);const x=Pe(c);if(!x)return;const y=(A=(j=(R=(E=x.sections[n])==null?void 0:E.rows)==null?void 0:R[o])==null?void 0:j.columns)==null?void 0:A[l];if(!y)return;const b=[...y.fields??[]],p=Math.max(0,Math.min(i,b.length));b.splice(p,0,h),y.fields=b}),moveFieldWithinTab:(r,n,o,l,i,c)=>t().setSchema(d=>{var w,x,y,b;const u=qe(d,r);if(!u)return;const f=(b=(y=(x=(w=d.layout[u.nodeIdx].tabs[u.tabIdx].sections[n])==null?void 0:w.rows)==null?void 0:x[o])==null?void 0:y.columns)==null?void 0:b[l];if(!f)return;const m=[...f.fields??[]];if(i<0||i>=m.length)return;const[h]=m.splice(i,1),g=Math.max(0,Math.min(c,m.length));m.splice(g,0,h),f.fields=m}),insertExistingFieldInTabAt:(r,n,o,l,i,c)=>t().setSchema(d=>{var w,x,y,b;const u=qe(d,n);if(!u)return;const f=(b=(y=(x=(w=d.layout[u.nodeIdx].tabs[u.tabIdx].sections[o])==null?void 0:w.rows)==null?void 0:x[l])==null?void 0:y.columns)==null?void 0:b[i];if(!f)return;let m=r;if(yr(d,r)){const p=d.fields.findIndex(E=>E.name===r);if(p>=0){const E=d.fields[p],{baseName:R,baseLabel:j}=ft(E),A=new Set(d.fields.map(_=>_.name).filter(Boolean)),S=new Set(d.fields.map(_=>_.label??"").filter(Boolean)),N=ut(R,A),B=gt(j,S),$=JSON.parse(JSON.stringify(E));$.name=N,$.label=B,d.fields.splice(p+1,0,$),m=N}}const h=[...f.fields??[]],g=Math.max(0,Math.min(c,h.length));h.splice(g,0,m),f.fields=h}),addFieldAndPlaceInTabAt:(r,n,o,l,i,c)=>t().setSchema(d=>{var R,j,A,S;const u=qe(d,n);if(!u)return;const{baseName:f,baseLabel:m}=ft(r),h=new Set(d.fields.map(N=>N.name).filter(Boolean)),g=new Set(d.fields.map(N=>N.label??"").filter(Boolean)),w=ut(f,h),x=gt(m,g),y=JSON.parse(JSON.stringify(r));y.name=w,y.label||(y.label=x),d.fields.push(y);const b=(S=(A=(j=(R=d.layout[u.nodeIdx].tabs[u.tabIdx].sections[o])==null?void 0:R.rows)==null?void 0:j[l])==null?void 0:A.columns)==null?void 0:S[i];if(!b)return;const p=[...b.fields??[]],E=Math.max(0,Math.min(c,p.length));p.splice(E,0,w),b.fields=p}),changeFieldType:(r,n)=>t().setSchema(o=>{const l=o.fields.findIndex(u=>u.name===r);if(l<0)return;const i=o.fields[l],d={...{name:i.name,label:i.label,width:i.width,size:i.size,info:i.info,disabled:i.disabled,visibleWhen:i.visibleWhen,disabledWhen:i.disabledWhen,clearWhen:i.clearWhen,validation:i.validation,placeholder:i.placeholder},type:n};switch(n){case"text":case"email":case"password":case"number":break;case"textarea":d.maxLength=i.maxLength??void 0,d.showCounter=i.showCounter??!1;break;case"select":d.options=Array.isArray(i.options)?i.options:[],d.multiple=!!i.multiple,d.loadOptions=i.loadOptions??void 0;break;case"checkbox":d.defaultValue=!!i.defaultValue,delete d.placeholder;break;case"date":d.showTime=!!i.showTime;break;case"file":d.maxFiles=i.maxFiles??1,d.accept=i.accept??"",delete d.placeholder;break}n!=="select"&&(delete d.options,delete d.multiple,delete d.loadOptions),n!=="textarea"&&(delete d.maxLength,delete d.showCounter),n!=="checkbox"&&delete d.defaultValue,n!=="date"&&delete d.showTime,n!=="file"&&(delete d.maxFiles,delete d.accept),o.fields[l]=d}),moveSectionAcrossNodes:(r,n,o,l)=>t().setSchema(i=>{const c=i.layout[r],d=i.layout[o];if(!c||c.type!=="rows"||!d||d.type!=="rows")return;const u=[...c.sections??[]];if(n<0||n>=u.length)return;const[f]=u.splice(n,1);c.sections=u;const m=[...d.sections??[]],h=Math.max(0,Math.min(l??m.length,m.length));m.splice(h,0,f),d.sections=m}),armFieldPick:(r,n)=>e(o=>({...o,fieldPick:{armed:!0,forField:r,fieldKey:n}})),cancelFieldPick:()=>e(r=>({...r,fieldPick:{armed:!1}})),completeFieldPick:r=>{const{fieldPick:n}=t();if(!n.armed||!n.forField||!n.fieldKey){e(o=>({...o,fieldPick:{armed:!1}}));return}t().setSchema(o=>{const l=o.fields.findIndex(f=>f.name===n.forField);if(l<0)return;const i=o.fields[l],c=n.fieldKey,d=i[c]??{};let u=d.rule??{op:"eq",field:r,value:!0};u={...u,field:r},i[c]={...d??{},enabled:!0,rule:u}}),e(o=>({...o,fieldPick:{armed:!1}}))},placeFieldInInputGroup:(r,n,o)=>e(l=>{const i=l.schema,c=[...i.fields],d=eo(c,n);if(!Qa(d))return l;const u=Array.isArray(d.inputs)?[...d.inputs]:[];if(u.some(w=>typeof w=="string"?w===r:w.name===r))return l;const f=typeof o=="number"?Ll(o,u.length):u.length;u.splice(f,0,r);const m=Jn(c,n),h={...d,inputs:u},g=[...c];return g.splice(m,1,h),{schema:{...i,fields:g}}}),moveFieldWithinInputGroup:(r,n,o)=>e(l=>{const i=l.schema,c=[...i.fields],d=eo(c,r);if(!Qa(d)||!Array.isArray(d.inputs))return l;const u=[...d.inputs];if(n<0||n>=u.length)return l;const f=Ll(o,u.length),[m]=u.splice(n,1),h=f>n?f-1:f;u.splice(h,0,m);const g=Jn(c,r),w={...d,inputs:u},x=[...c];return x.splice(g,1,w),{schema:{...i,fields:x}}}),removeFieldFromInputGroup:(r,n)=>e(o=>{const l=o.schema,i=[...l.fields],c=eo(i,r);if(!Qa(c)||!Array.isArray(c.inputs))return o;const d=[...c.inputs];if(n<0||n>=d.length)return o;d.splice(n,1);const u=Jn(i,r),f={...c,inputs:d},m=[...i];return m.splice(u,1,f),{schema:{...l,fields:m}}})}));function to(e,t){const r=(e.columns??[]).flatMap(l=>l.fields??[]),n=t.length,o=t.map(l=>({width:l,fields:[]}));r.forEach((l,i)=>o[i%n].fields.push(l)),e.columns=o}function ro(e,t,r){const n=[];return e===null?n.push("hidden"):n.push(`w-[${Ya(Mr(e))}%]`,"block"),t===null?n.push("md:hidden"):n.push(`md:w-[${Ya(Mr(t))}%]`,"md:block"),r===null?n.push("lg:hidden"):n.push(`lg:w-[${Ya(Mr(r))}%]`,"lg:block"),n.join(" ")}function eA(e,t){const r=e.columns??[];if(r.length===t)return r;if(r.length<t){const o=t-r.length,l=[...r];for(let i=0;i<o;i++)l.push({width:"w-[100%]",fields:[]});return e.columns=l,l}const n=r.slice(0,t);for(let o=t;o<r.length;o++)n[t-1].fields=[...n[t-1].fields??[],...r[o].fields??[]];return e.columns=n,n}function no(e,t){const r=Array.from({length:t},()=>[]);return e.forEach((n,o)=>r[o%t].push(n)),r}const tA=Object.freeze(Object.defineProperty({__proto__:null,useEditorStore:Y},Symbol.toStringTag,{value:"Module"}));function rA(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return v.useMemo(()=>n=>{t.forEach(o=>o(n))},t)}const Sa=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Ir(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function bs(e){return"nodeType"in e}function it(e){var t,r;return e?Ir(e)?e:bs(e)&&(t=(r=e.ownerDocument)==null?void 0:r.defaultView)!=null?t:window:window}function xs(e){const{Document:t}=it(e);return e instanceof t}function yn(e){return Ir(e)?!1:e instanceof it(e).HTMLElement}function i5(e){return e instanceof it(e).SVGElement}function Zr(e){return e?Ir(e)?e.document:bs(e)?xs(e)?e:yn(e)||i5(e)?e.ownerDocument:document:document:document}const Nt=Sa?v.useLayoutEffect:v.useEffect;function $a(e){const t=v.useRef(e);return Nt(()=>{t.current=e}),v.useCallback(function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return t.current==null?void 0:t.current(...n)},[])}function nA(){const e=v.useRef(null),t=v.useCallback((n,o)=>{e.current=setInterval(n,o)},[]),r=v.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,r]}function dn(e,t){t===void 0&&(t=[e]);const r=v.useRef(e);return Nt(()=>{r.current!==e&&(r.current=e)},t),r}function En(e,t){const r=v.useRef();return v.useMemo(()=>{const n=e(r.current);return r.current=n,n},[...t])}function fa(e){const t=$a(e),r=v.useRef(null),n=v.useCallback(o=>{o!==r.current&&(t==null||t(o,r.current)),r.current=o},[]);return[r,n]}function ma(e){const t=v.useRef();return v.useEffect(()=>{t.current=e},[e]),t.current}let ao={};function kn(e,t){return v.useMemo(()=>{if(t)return t;const r=ao[e]==null?0:ao[e]+1;return ao[e]=r,e+"-"+r},[e,t])}function c5(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.reduce((l,i)=>{const c=Object.entries(i);for(const[d,u]of c){const f=l[d];f!=null&&(l[d]=f+e*u)}return l},{...t})}}const Ar=c5(1),un=c5(-1);function aA(e){return"clientX"in e&&"clientY"in e}function La(e){if(!e)return!1;const{KeyboardEvent:t}=it(e.target);return t&&e instanceof t}function oA(e){if(!e)return!1;const{TouchEvent:t}=it(e.target);return t&&e instanceof t}function ha(e){if(oA(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:r}=e.touches[0];return{x:t,y:r}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:r}=e.changedTouches[0];return{x:t,y:r}}}return aA(e)?{x:e.clientX,y:e.clientY}:null}const Xt=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:r}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(r?Math.round(r):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:r}=e;return"scaleX("+t+") scaleY("+r+")"}},Transform:{toString(e){if(e)return[Xt.Translate.toString(e),Xt.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:r,easing:n}=e;return t+" "+r+"ms "+n}}}),Ol="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function sA(e){return e.matches(Ol)?e:e.querySelector(Ol)}const lA={display:"none"};function iA(e){let{id:t,value:r}=e;return v.createElement("div",{id:t,style:lA},r)}function cA(e){let{id:t,announcement:r,ariaLiveType:n="assertive"}=e;const o={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return v.createElement("div",{id:t,style:o,role:"status","aria-live":n,"aria-atomic":!0},r)}function dA(){const[e,t]=v.useState("");return{announce:v.useCallback(n=>{n!=null&&t(n)},[]),announcement:e}}const d5=v.createContext(null);function Rn(e){const t=v.useContext(d5);v.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function uA(){const[e]=v.useState(()=>new Set),t=v.useCallback(n=>(e.add(n),()=>e.delete(n)),[e]);return[v.useCallback(n=>{let{type:o,event:l}=n;e.forEach(i=>{var c;return(c=i[o])==null?void 0:c.call(i,l)})},[e]),t]}const fA={draggable:`
62
78
  To pick up a draggable item, press the space bar.
63
79
  While dragging, use the arrow keys to move the item.
64
80
  Press space again to drop the item in its new position, or press escape to cancel.
65
- `},Vf={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was moved over droppable area "+r.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was dropped over droppable area "+r.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function Bf(e){let{announcements:t=Vf,container:r,hiddenTextDescribedById:s,screenReaderInstructions:n=If}=e;const{announce:a,announcement:i}=Lf(),l=Us("DndLiveRegion"),[c,d]=h.useState(!1);if(h.useEffect(()=>{d(!0)},[]),Pf(h.useMemo(()=>({onDragStart(f){let{active:p}=f;a(t.onDragStart({active:p}))},onDragMove(f){let{active:p,over:b}=f;t.onDragMove&&a(t.onDragMove({active:p,over:b}))},onDragOver(f){let{active:p,over:b}=f;a(t.onDragOver({active:p,over:b}))},onDragEnd(f){let{active:p,over:b}=f;a(t.onDragEnd({active:p,over:b}))},onDragCancel(f){let{active:p,over:b}=f;a(t.onDragCancel({active:p,over:b}))}}),[a,t])),!c)return null;const u=h.createElement(h.Fragment,null,h.createElement(Mf,{id:s,value:n.draggable}),h.createElement($f,{id:l,announcement:i}));return r?Jt.createPortal(u,r):u}var Ve;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(Ve||(Ve={}));function Fs(){}function fo(e,t){return h.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function Uf(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return h.useMemo(()=>[...t].filter(s=>s!=null),[...t])}const xt=Object.freeze({x:0,y:0});function qf(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Wf(e,t){const r=_s(e);if(!r)return"0 0";const s={x:(r.x-t.left)/t.width*100,y:(r.y-t.top)/t.height*100};return s.x+"% "+s.y+"%"}function Kf(e,t){let{data:{value:r}}=e,{data:{value:s}}=t;return r-s}function Gf(e,t){let{data:{value:r}}=e,{data:{value:s}}=t;return s-r}function Jf(e,t){if(!e||e.length===0)return null;const[r]=e;return r[t]}function mo(e,t,r){return t===void 0&&(t=e.left),r===void 0&&(r=e.top),{x:t+e.width*.5,y:r+e.height*.5}}const Zf=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:s}=e;const n=mo(t,t.left,t.top),a=[];for(const i of s){const{id:l}=i,c=r.get(l);if(c){const d=qf(mo(c),n);a.push({id:l,data:{droppableContainer:i,value:d}})}}return a.sort(Kf)};function Yf(e,t){const r=Math.max(t.top,e.top),s=Math.max(t.left,e.left),n=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),i=n-s,l=a-r;if(s<n&&r<a){const c=t.width*t.height,d=e.width*e.height,u=i*l,f=u/(c+d-u);return Number(f.toFixed(4))}return 0}const ol=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:s}=e;const n=[];for(const a of s){const{id:i}=a,l=r.get(i);if(l){const c=Yf(l,t);c>0&&n.push({id:i,data:{droppableContainer:a,value:c}})}}return n.sort(Gf)};function Hf(e,t,r){return{...e,scaleX:t&&r?t.width/r.width:1,scaleY:t&&r?t.height/r.height:1}}function il(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:xt}function Xf(e){return function(r){for(var s=arguments.length,n=new Array(s>1?s-1:0),a=1;a<s;a++)n[a-1]=arguments[a];return n.reduce((i,l)=>({...i,top:i.top+e*l.y,bottom:i.bottom+e*l.y,left:i.left+e*l.x,right:i.right+e*l.x}),{...r})}}const Qf=Xf(1);function ll(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function em(e,t,r){const s=ll(t);if(!s)return e;const{scaleX:n,scaleY:a,x:i,y:l}=s,c=e.left-i-(1-n)*parseFloat(r),d=e.top-l-(1-a)*parseFloat(r.slice(r.indexOf(" ")+1)),u=n?e.width/n:e.width,f=a?e.height/a:e.height;return{width:u,height:f,top:d,right:c+u,bottom:d+f,left:c}}const tm={ignoreTransform:!1};function Wr(e,t){t===void 0&&(t=tm);let r=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:d,transformOrigin:u}=Ye(e).getComputedStyle(e);d&&(r=em(r,d,u))}const{top:s,left:n,width:a,height:i,bottom:l,right:c}=r;return{top:s,left:n,width:a,height:i,bottom:l,right:c}}function ho(e){return Wr(e,{ignoreTransform:!0})}function rm(e){const t=e.innerWidth,r=e.innerHeight;return{top:0,left:0,right:t,bottom:r,width:t,height:r}}function sm(e,t){return t===void 0&&(t=Ye(e).getComputedStyle(e)),t.position==="fixed"}function nm(e,t){t===void 0&&(t=Ye(e).getComputedStyle(e));const r=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(n=>{const a=t[n];return typeof a=="string"?r.test(a):!1})}function aa(e,t){const r=[];function s(n){if(t!=null&&r.length>=t||!n)return r;if(sa(n)&&n.scrollingElement!=null&&!r.includes(n.scrollingElement))return r.push(n.scrollingElement),r;if(!Ur(n)||sl(n)||r.includes(n))return r;const a=Ye(e).getComputedStyle(n);return n!==e&&nm(n,a)&&r.push(n),sm(n,a)?r:s(n.parentNode)}return e?s(e):r}function cl(e){const[t]=aa(e,1);return t??null}function dn(e){return!Vs||!e?null:br(e)?e:ra(e)?sa(e)||e===gr(e).scrollingElement?window:Ur(e)?e:null:null}function dl(e){return br(e)?e.scrollX:e.scrollLeft}function ul(e){return br(e)?e.scrollY:e.scrollTop}function Ln(e){return{x:dl(e),y:ul(e)}}var Be;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(Be||(Be={}));function fl(e){return!Vs||!e?!1:e===document.scrollingElement}function ml(e){const t={x:0,y:0},r=fl(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},s={x:e.scrollWidth-r.width,y:e.scrollHeight-r.height},n=e.scrollTop<=t.y,a=e.scrollLeft<=t.x,i=e.scrollTop>=s.y,l=e.scrollLeft>=s.x;return{isTop:n,isLeft:a,isBottom:i,isRight:l,maxScroll:s,minScroll:t}}const am={x:.2,y:.2};function om(e,t,r,s,n){let{top:a,left:i,right:l,bottom:c}=r;s===void 0&&(s=10),n===void 0&&(n=am);const{isTop:d,isBottom:u,isLeft:f,isRight:p}=ml(e),b={x:0,y:0},g={x:0,y:0},v={height:t.height*n.y,width:t.width*n.x};return!d&&a<=t.top+v.height?(b.y=Be.Backward,g.y=s*Math.abs((t.top+v.height-a)/v.height)):!u&&c>=t.bottom-v.height&&(b.y=Be.Forward,g.y=s*Math.abs((t.bottom-v.height-c)/v.height)),!p&&l>=t.right-v.width?(b.x=Be.Forward,g.x=s*Math.abs((t.right-v.width-l)/v.width)):!f&&i<=t.left+v.width&&(b.x=Be.Backward,g.x=s*Math.abs((t.left+v.width-i)/v.width)),{direction:b,speed:g}}function im(e){if(e===document.scrollingElement){const{innerWidth:a,innerHeight:i}=window;return{top:0,left:0,right:a,bottom:i,width:a,height:i}}const{top:t,left:r,right:s,bottom:n}=e.getBoundingClientRect();return{top:t,left:r,right:s,bottom:n,width:e.clientWidth,height:e.clientHeight}}function hl(e){return e.reduce((t,r)=>ur(t,Ln(r)),xt)}function lm(e){return e.reduce((t,r)=>t+dl(r),0)}function cm(e){return e.reduce((t,r)=>t+ul(r),0)}function pl(e,t){if(t===void 0&&(t=Wr),!e)return;const{top:r,left:s,bottom:n,right:a}=t(e);cl(e)&&(n<=0||a<=0||r>=window.innerHeight||s>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const dm=[["x",["left","right"],lm],["y",["top","bottom"],cm]];class oa{constructor(t,r){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const s=aa(r),n=hl(s);this.rect={...t},this.width=t.width,this.height=t.height;for(const[a,i,l]of dm)for(const c of i)Object.defineProperty(this,c,{get:()=>{const d=l(s),u=n[a]-d;return this.rect[c]+u},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Ar{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(r=>{var s;return(s=this.target)==null?void 0:s.removeEventListener(...r)})},this.target=t}add(t,r,s){var n;(n=this.target)==null||n.addEventListener(t,r,s),this.listeners.push([t,r,s])}}function um(e){const{EventTarget:t}=Ye(e);return e instanceof t?e:gr(e)}function un(e,t){const r=Math.abs(e.x),s=Math.abs(e.y);return typeof t=="number"?Math.sqrt(r**2+s**2)>t:"x"in t&&"y"in t?r>t.x&&s>t.y:"x"in t?r>t.x:"y"in t?s>t.y:!1}var ut;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(ut||(ut={}));function po(e){e.preventDefault()}function fm(e){e.stopPropagation()}var Te;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"})(Te||(Te={}));const bl={start:[Te.Space,Te.Enter],cancel:[Te.Esc],end:[Te.Space,Te.Enter,Te.Tab]},mm=(e,t)=>{let{currentCoordinates:r}=t;switch(e.code){case Te.Right:return{...r,x:r.x+25};case Te.Left:return{...r,x:r.x-25};case Te.Down:return{...r,y:r.y+25};case Te.Up:return{...r,y:r.y-25}}};class ia{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:r}}=t;this.props=t,this.listeners=new Ar(gr(r)),this.windowListeners=new Ar(Ye(r)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(ut.Resize,this.handleCancel),this.windowListeners.add(ut.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(ut.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:r}=this.props,s=t.node.current;s&&pl(s),r(xt)}handleKeyDown(t){if(na(t)){const{active:r,context:s,options:n}=this.props,{keyboardCodes:a=bl,coordinateGetter:i=mm,scrollBehavior:l="smooth"}=n,{code:c}=t;if(a.end.includes(c)){this.handleEnd(t);return}if(a.cancel.includes(c)){this.handleCancel(t);return}const{collisionRect:d}=s.current,u=d?{x:d.left,y:d.top}:xt;this.referenceCoordinates||(this.referenceCoordinates=u);const f=i(t,{active:r,context:s.current,currentCoordinates:u});if(f){const p=Ts(f,u),b={x:0,y:0},{scrollableAncestors:g}=s.current;for(const v of g){const x=t.code,{isTop:m,isRight:y,isLeft:j,isBottom:_,maxScroll:k,minScroll:A}=ml(v),C=im(v),N={x:Math.min(x===Te.Right?C.right-C.width/2:C.right,Math.max(x===Te.Right?C.left:C.left+C.width/2,f.x)),y:Math.min(x===Te.Down?C.bottom-C.height/2:C.bottom,Math.max(x===Te.Down?C.top:C.top+C.height/2,f.y))},M=x===Te.Right&&!y||x===Te.Left&&!j,U=x===Te.Down&&!_||x===Te.Up&&!m;if(M&&N.x!==f.x){const V=v.scrollLeft+p.x,W=x===Te.Right&&V<=k.x||x===Te.Left&&V>=A.x;if(W&&!p.y){v.scrollTo({left:V,behavior:l});return}W?b.x=v.scrollLeft-V:b.x=x===Te.Right?v.scrollLeft-k.x:v.scrollLeft-A.x,b.x&&v.scrollBy({left:-b.x,behavior:l});break}else if(U&&N.y!==f.y){const V=v.scrollTop+p.y,W=x===Te.Down&&V<=k.y||x===Te.Up&&V>=A.y;if(W&&!p.x){v.scrollTo({top:V,behavior:l});return}W?b.y=v.scrollTop-V:b.y=x===Te.Down?v.scrollTop-k.y:v.scrollTop-A.y,b.y&&v.scrollBy({top:-b.y,behavior:l});break}}this.handleMove(t,ur(Ts(f,this.referenceCoordinates),b))}}}handleMove(t,r){const{onMove:s}=this.props;t.preventDefault(),s(r)}handleEnd(t){const{onEnd:r}=this.props;t.preventDefault(),this.detach(),r()}handleCancel(t){const{onCancel:r}=this.props;t.preventDefault(),this.detach(),r()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}ia.activators=[{eventName:"onKeyDown",handler:(e,t,r)=>{let{keyboardCodes:s=bl,onActivation:n}=t,{active:a}=r;const{code:i}=e.nativeEvent;if(s.start.includes(i)){const l=a.activatorNode.current;return l&&e.target!==l?!1:(e.preventDefault(),n==null||n({event:e.nativeEvent}),!0)}return!1}}];function bo(e){return!!(e&&"distance"in e)}function go(e){return!!(e&&"delay"in e)}class la{constructor(t,r,s){var n;s===void 0&&(s=um(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=r;const{event:a}=t,{target:i}=a;this.props=t,this.events=r,this.document=gr(i),this.documentListeners=new Ar(this.document),this.listeners=new Ar(s),this.windowListeners=new Ar(Ye(i)),this.initialCoordinates=(n=_s(a))!=null?n:xt,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:r,bypassActivationConstraint:s}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),t.cancel&&this.listeners.add(t.cancel.name,this.handleCancel),this.windowListeners.add(ut.Resize,this.handleCancel),this.windowListeners.add(ut.DragStart,po),this.windowListeners.add(ut.VisibilityChange,this.handleCancel),this.windowListeners.add(ut.ContextMenu,po),this.documentListeners.add(ut.Keydown,this.handleKeydown),r){if(s!=null&&s({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(go(r)){this.timeoutId=setTimeout(this.handleStart,r.delay),this.handlePending(r);return}if(bo(r)){this.handlePending(r);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(t,r){const{active:s,onPending:n}=this.props;n(s,t,this.initialCoordinates,r)}handleStart(){const{initialCoordinates:t}=this,{onStart:r}=this.props;t&&(this.activated=!0,this.documentListeners.add(ut.Click,fm,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(ut.SelectionChange,this.removeTextSelection),r(t))}handleMove(t){var r;const{activated:s,initialCoordinates:n,props:a}=this,{onMove:i,options:{activationConstraint:l}}=a;if(!n)return;const c=(r=_s(t))!=null?r:xt,d=Ts(n,c);if(!s&&l){if(bo(l)){if(l.tolerance!=null&&un(d,l.tolerance))return this.handleCancel();if(un(d,l.distance))return this.handleStart()}if(go(l)&&un(d,l.tolerance))return this.handleCancel();this.handlePending(l,d);return}t.cancelable&&t.preventDefault(),i(c)}handleEnd(){const{onAbort:t,onEnd:r}=this.props;this.detach(),this.activated||t(this.props.active),r()}handleCancel(){const{onAbort:t,onCancel:r}=this.props;this.detach(),this.activated||t(this.props.active),r()}handleKeydown(t){t.code===Te.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const hm={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class ca extends la{constructor(t){const{event:r}=t,s=gr(r.target);super(t,hm,s)}}ca.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:s}=t;return!r.isPrimary||r.button!==0?!1:(s==null||s({event:r}),!0)}}];const pm={move:{name:"mousemove"},end:{name:"mouseup"}};var Pn;(function(e){e[e.RightClick=2]="RightClick"})(Pn||(Pn={}));class bm extends la{constructor(t){super(t,pm,gr(t.event.target))}}bm.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:s}=t;return r.button===Pn.RightClick?!1:(s==null||s({event:r}),!0)}}];const fn={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class gm extends la{constructor(t){super(t,fn)}static setup(){return window.addEventListener(fn.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(fn.move.name,t)};function t(){}}}gm.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:s}=t;const{touches:n}=r;return n.length>1?!1:(s==null||s({event:r}),!0)}}];var Tr;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(Tr||(Tr={}));var Os;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(Os||(Os={}));function xm(e){let{acceleration:t,activator:r=Tr.Pointer,canScroll:s,draggingRect:n,enabled:a,interval:i=5,order:l=Os.TreeOrder,pointerCoordinates:c,scrollableAncestors:d,scrollableAncestorRects:u,delta:f,threshold:p}=e;const b=ym({delta:f,disabled:!a}),[g,v]=_f(),x=h.useRef({x:0,y:0}),m=h.useRef({x:0,y:0}),y=h.useMemo(()=>{switch(r){case Tr.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case Tr.DraggableRect:return n}},[r,n,c]),j=h.useRef(null),_=h.useCallback(()=>{const A=j.current;if(!A)return;const C=x.current.x*m.current.x,N=x.current.y*m.current.y;A.scrollBy(C,N)},[]),k=h.useMemo(()=>l===Os.TreeOrder?[...d].reverse():d,[l,d]);h.useEffect(()=>{if(!a||!d.length||!y){v();return}for(const A of k){if((s==null?void 0:s(A))===!1)continue;const C=d.indexOf(A),N=u[C];if(!N)continue;const{direction:M,speed:U}=om(A,N,y,t,p);for(const V of["x","y"])b[V][M[V]]||(U[V]=0,M[V]=0);if(U.x>0||U.y>0){v(),j.current=A,g(_,i),x.current=U,m.current=M;return}}x.current={x:0,y:0},m.current={x:0,y:0},v()},[t,_,s,v,a,i,JSON.stringify(y),JSON.stringify(b),g,d,k,u,JSON.stringify(p)])}const vm={x:{[Be.Backward]:!1,[Be.Forward]:!1},y:{[Be.Backward]:!1,[Be.Forward]:!1}};function ym(e){let{delta:t,disabled:r}=e;const s=As(t);return qr(n=>{if(r||!s||!n)return vm;const a={x:Math.sign(t.x-s.x),y:Math.sign(t.y-s.y)};return{x:{[Be.Backward]:n.x[Be.Backward]||a.x===-1,[Be.Forward]:n.x[Be.Forward]||a.x===1},y:{[Be.Backward]:n.y[Be.Backward]||a.y===-1,[Be.Forward]:n.y[Be.Forward]||a.y===1}}},[r,t,s])}function wm(e,t){const r=t!=null?e.get(t):void 0,s=r?r.node.current:null;return qr(n=>{var a;return t==null?null:(a=s??n)!=null?a:null},[s,t])}function jm(e,t){return h.useMemo(()=>e.reduce((r,s)=>{const{sensor:n}=s,a=n.activators.map(i=>({eventName:i.eventName,handler:t(i.handler,s)}));return[...r,...a]},[]),[e,t])}var $r;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})($r||($r={}));var zn;(function(e){e.Optimized="optimized"})(zn||(zn={}));const xo=new Map;function km(e,t){let{dragging:r,dependencies:s,config:n}=t;const[a,i]=h.useState(null),{frequency:l,measure:c,strategy:d}=n,u=h.useRef(e),f=x(),p=Dr(f),b=h.useCallback(function(m){m===void 0&&(m=[]),!p.current&&i(y=>y===null?m:y.concat(m.filter(j=>!y.includes(j))))},[p]),g=h.useRef(null),v=qr(m=>{if(f&&!r)return xo;if(!m||m===xo||u.current!==e||a!=null){const y=new Map;for(let j of e){if(!j)continue;if(a&&a.length>0&&!a.includes(j.id)&&j.rect.current){y.set(j.id,j.rect.current);continue}const _=j.node.current,k=_?new oa(c(_),_):null;j.rect.current=k,k&&y.set(j.id,k)}return y}return m},[e,a,r,f,c]);return h.useEffect(()=>{u.current=e},[e]),h.useEffect(()=>{f||b()},[r,f]),h.useEffect(()=>{a&&a.length>0&&i(null)},[JSON.stringify(a)]),h.useEffect(()=>{f||typeof l!="number"||g.current!==null||(g.current=setTimeout(()=>{b(),g.current=null},l))},[l,f,b,...s]),{droppableRects:v,measureDroppableContainers:b,measuringScheduled:a!=null};function x(){switch(d){case $r.Always:return!1;case $r.BeforeDragging:return r;default:return!r}}}function da(e,t){return qr(r=>e?r||(typeof t=="function"?t(e):e):null,[t,e])}function Nm(e,t){return da(e,t)}function Sm(e){let{callback:t,disabled:r}=e;const s=Bs(t),n=h.useMemo(()=>{if(r||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:a}=window;return new a(s)},[s,r]);return h.useEffect(()=>()=>n==null?void 0:n.disconnect(),[n]),n}function qs(e){let{callback:t,disabled:r}=e;const s=Bs(t),n=h.useMemo(()=>{if(r||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:a}=window;return new a(s)},[r]);return h.useEffect(()=>()=>n==null?void 0:n.disconnect(),[n]),n}function Em(e){return new oa(Wr(e),e)}function vo(e,t,r){t===void 0&&(t=Em);const[s,n]=h.useState(null);function a(){n(c=>{if(!e)return null;if(e.isConnected===!1){var d;return(d=c??r)!=null?d:null}const u=t(e);return JSON.stringify(c)===JSON.stringify(u)?c:u})}const i=Sm({callback(c){if(e)for(const d of c){const{type:u,target:f}=d;if(u==="childList"&&f instanceof HTMLElement&&f.contains(e)){a();break}}}}),l=qs({callback:a});return _t(()=>{a(),e?(l==null||l.observe(e),i==null||i.observe(document.body,{childList:!0,subtree:!0})):(l==null||l.disconnect(),i==null||i.disconnect())},[e]),s}function Cm(e){const t=da(e);return il(e,t)}const yo=[];function Am(e){const t=h.useRef(e),r=qr(s=>e?s&&s!==yo&&e&&t.current&&e.parentNode===t.current.parentNode?s:aa(e):yo,[e]);return h.useEffect(()=>{t.current=e},[e]),r}function Tm(e){const[t,r]=h.useState(null),s=h.useRef(e),n=h.useCallback(a=>{const i=dn(a.target);i&&r(l=>l?(l.set(i,Ln(i)),new Map(l)):null)},[]);return h.useEffect(()=>{const a=s.current;if(e!==a){i(a);const l=e.map(c=>{const d=dn(c);return d?(d.addEventListener("scroll",n,{passive:!0}),[d,Ln(d)]):null}).filter(c=>c!=null);r(l.length?new Map(l):null),s.current=e}return()=>{i(e),i(a)};function i(l){l.forEach(c=>{const d=dn(c);d==null||d.removeEventListener("scroll",n)})}},[n,e]),h.useMemo(()=>e.length?t?Array.from(t.values()).reduce((a,i)=>ur(a,i),xt):hl(e):xt,[e,t])}function wo(e,t){t===void 0&&(t=[]);const r=h.useRef(null);return h.useEffect(()=>{r.current=null},t),h.useEffect(()=>{const s=e!==xt;s&&!r.current&&(r.current=e),!s&&r.current&&(r.current=null)},[e]),r.current?Ts(e,r.current):xt}function _m(e){h.useEffect(()=>{if(!Vs)return;const t=e.map(r=>{let{sensor:s}=r;return s.setup==null?void 0:s.setup()});return()=>{for(const r of t)r==null||r()}},e.map(t=>{let{sensor:r}=t;return r}))}function Fm(e,t){return h.useMemo(()=>e.reduce((r,s)=>{let{eventName:n,handler:a}=s;return r[n]=i=>{a(i,t)},r},{}),[e,t])}function gl(e){return h.useMemo(()=>e?rm(e):null,[e])}const jo=[];function Om(e,t){t===void 0&&(t=Wr);const[r]=e,s=gl(r?Ye(r):null),[n,a]=h.useState(jo);function i(){a(()=>e.length?e.map(c=>fl(c)?s:new oa(t(c),c)):jo)}const l=qs({callback:i});return _t(()=>{l==null||l.disconnect(),i(),e.forEach(c=>l==null?void 0:l.observe(c))},[e]),n}function xl(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return Ur(t)?t:e}function Rm(e){let{measure:t}=e;const[r,s]=h.useState(null),n=h.useCallback(d=>{for(const{target:u}of d)if(Ur(u)){s(f=>{const p=t(u);return f?{...f,width:p.width,height:p.height}:p});break}},[t]),a=qs({callback:n}),i=h.useCallback(d=>{const u=xl(d);a==null||a.disconnect(),u&&(a==null||a.observe(u)),s(u?t(u):null)},[t,a]),[l,c]=Cs(i);return h.useMemo(()=>({nodeRef:l,rect:r,setRef:c}),[r,l,c])}const Dm=[{sensor:ca,options:{}},{sensor:ia,options:{}}],Mm={current:{}},bs={draggable:{measure:ho},droppable:{measure:ho,strategy:$r.WhileDragging,frequency:zn.Optimized},dragOverlay:{measure:Wr}};class _r extends Map{get(t){var r;return t!=null&&(r=super.get(t))!=null?r:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:r}=t;return!r})}getNodeFor(t){var r,s;return(r=(s=this.get(t))==null?void 0:s.node.current)!=null?r:void 0}}const $m={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new _r,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:Fs},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:bs,measureDroppableContainers:Fs,windowRect:null,measuringScheduled:!1},vl={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:Fs,draggableNodes:new Map,over:null,measureDroppableContainers:Fs},Kr=h.createContext(vl),yl=h.createContext($m);function Lm(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new _r}}}function Pm(e,t){switch(t.type){case Ve.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case Ve.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case Ve.DragEnd:case Ve.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Ve.RegisterDroppable:{const{element:r}=t,{id:s}=r,n=new _r(e.droppable.containers);return n.set(s,r),{...e,droppable:{...e.droppable,containers:n}}}case Ve.SetDroppableDisabled:{const{id:r,key:s,disabled:n}=t,a=e.droppable.containers.get(r);if(!a||s!==a.key)return e;const i=new _r(e.droppable.containers);return i.set(r,{...a,disabled:n}),{...e,droppable:{...e.droppable,containers:i}}}case Ve.UnregisterDroppable:{const{id:r,key:s}=t,n=e.droppable.containers.get(r);if(!n||s!==n.key)return e;const a=new _r(e.droppable.containers);return a.delete(r),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function zm(e){let{disabled:t}=e;const{active:r,activatorEvent:s,draggableNodes:n}=h.useContext(Kr),a=As(s),i=As(r==null?void 0:r.id);return h.useEffect(()=>{if(!t&&!s&&a&&i!=null){if(!na(a)||document.activeElement===a.target)return;const l=n.get(i);if(!l)return;const{activatorNode:c,node:d}=l;if(!c.current&&!d.current)return;requestAnimationFrame(()=>{for(const u of[c.current,d.current]){if(!u)continue;const f=Rf(u);if(f){f.focus();break}}})}},[s,t,n,i,a]),null}function wl(e,t){let{transform:r,...s}=t;return e!=null&&e.length?e.reduce((n,a)=>a({transform:n,...s}),r):r}function Im(e){return h.useMemo(()=>({draggable:{...bs.draggable,...e==null?void 0:e.draggable},droppable:{...bs.droppable,...e==null?void 0:e.droppable},dragOverlay:{...bs.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function Vm(e){let{activeNode:t,measure:r,initialRect:s,config:n=!0}=e;const a=h.useRef(!1),{x:i,y:l}=typeof n=="boolean"?{x:n,y:n}:n;_t(()=>{if(!i&&!l||!t){a.current=!1;return}if(a.current||!s)return;const d=t==null?void 0:t.node.current;if(!d||d.isConnected===!1)return;const u=r(d),f=il(u,s);if(i||(f.x=0),l||(f.y=0),a.current=!0,Math.abs(f.x)>0||Math.abs(f.y)>0){const p=cl(d);p&&p.scrollBy({top:f.y,left:f.x})}},[t,i,l,s,r])}const Ws=h.createContext({...xt,scaleX:1,scaleY:1});var zt;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(zt||(zt={}));const Bm=h.memo(function(t){var r,s,n,a;let{id:i,accessibility:l,autoScroll:c=!0,children:d,sensors:u=Dm,collisionDetection:f=ol,measuring:p,modifiers:b,...g}=t;const v=h.useReducer(Pm,void 0,Lm),[x,m]=v,[y,j]=zf(),[_,k]=h.useState(zt.Uninitialized),A=_===zt.Initialized,{draggable:{active:C,nodes:N,translate:M},droppable:{containers:U}}=x,V=C!=null?N.get(C):null,W=h.useRef({initial:null,translated:null}),$=h.useMemo(()=>{var q;return C!=null?{id:C,data:(q=V==null?void 0:V.data)!=null?q:Mm,rect:W}:null},[C,V]),L=h.useRef(null),[S,te]=h.useState(null),[ie,K]=h.useState(null),me=Dr(g,Object.values(g)),I=Us("DndDescribedBy",i),z=h.useMemo(()=>U.getEnabled(),[U]),Y=Im(p),{droppableRects:D,measureDroppableContainers:T,measuringScheduled:Z}=km(z,{dragging:A,dependencies:[M.x,M.y],config:Y.droppable}),R=wm(N,C),B=h.useMemo(()=>ie?_s(ie):null,[ie]),ae=Q(),pe=Nm(R,Y.draggable.measure);Vm({activeNode:C!=null?N.get(C):null,config:ae.layoutShiftCompensation,initialRect:pe,measure:Y.draggable.measure});const oe=vo(R,Y.draggable.measure,pe),ve=vo(R?R.parentElement:null),le=h.useRef({activatorEvent:null,active:null,activeNode:R,collisionRect:null,collisions:null,droppableRects:D,draggableNodes:N,draggingNode:null,draggingNodeRect:null,droppableContainers:U,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),he=U.getNodeFor((r=le.current.over)==null?void 0:r.id),Ce=Rm({measure:Y.dragOverlay.measure}),xe=(s=Ce.nodeRef.current)!=null?s:R,ke=A?(n=Ce.rect)!=null?n:oe:null,ne=!!(Ce.nodeRef.current&&Ce.rect),Ne=Cm(ne?null:oe),Ae=gl(xe?Ye(xe):null),w=Am(A?he??R:null),E=Om(w),O=wl(b,{transform:{x:M.x-Ne.x,y:M.y-Ne.y,scaleX:1,scaleY:1},activatorEvent:ie,active:$,activeNodeRect:oe,containerNodeRect:ve,draggingNodeRect:ke,over:le.current.over,overlayNodeRect:Ce.rect,scrollableAncestors:w,scrollableAncestorRects:E,windowRect:Ae}),ee=B?ur(B,M):null,H=Tm(w),G=wo(H),ue=wo(H,[oe]),be=ur(O,G),we=ke?Qf(ke,O):null,Fe=$&&we?f({active:$,collisionRect:we,droppableRects:D,droppableContainers:z,pointerCoordinates:ee}):null,vt=Jf(Fe,"id"),[Me,Vt]=h.useState(null),Ft=ne?O:ur(O,ue),Ot=Hf(Ft,(a=Me==null?void 0:Me.rect)!=null?a:null,oe),Rt=h.useRef(null),Dt=h.useCallback((q,je)=>{let{sensor:Le,options:Oe}=je;if(L.current==null)return;const He=N.get(L.current);if(!He)return;const We=q.nativeEvent,Ke=new Le({active:L.current,activeNode:He,event:We,options:Oe,context:le,onAbort(Pe){if(!N.get(Pe))return;const{onDragAbort:at}=me.current,ft={id:Pe};at==null||at(ft),y({type:"onDragAbort",event:ft})},onPending(Pe,yt,at,ft){if(!N.get(Pe))return;const{onDragPending:Ut}=me.current,wt={id:Pe,constraint:yt,initialCoordinates:at,offset:ft};Ut==null||Ut(wt),y({type:"onDragPending",event:wt})},onStart(Pe){const yt=L.current;if(yt==null)return;const at=N.get(yt);if(!at)return;const{onDragStart:ft}=me.current,Bt={activatorEvent:We,active:{id:yt,data:at.data,rect:W}};Jt.unstable_batchedUpdates(()=>{ft==null||ft(Bt),k(zt.Initializing),m({type:Ve.DragStart,initialCoordinates:Pe,active:yt}),y({type:"onDragStart",event:Bt}),te(Rt.current),K(We)})},onMove(Pe){m({type:Ve.DragMove,coordinates:Pe})},onEnd:Ge(Ve.DragEnd),onCancel:Ge(Ve.DragCancel)});Rt.current=Ke;function Ge(Pe){return async function(){const{active:at,collisions:ft,over:Bt,scrollAdjustedTranslate:Ut}=le.current;let wt=null;if(at&&Ut){const{cancelDrop:qt}=me.current;wt={activatorEvent:We,active:at,collisions:ft,delta:Ut,over:Bt},Pe===Ve.DragEnd&&typeof qt=="function"&&await Promise.resolve(qt(wt))&&(Pe=Ve.DragCancel)}L.current=null,Jt.unstable_batchedUpdates(()=>{m({type:Pe}),k(zt.Uninitialized),Vt(null),te(null),K(null),Rt.current=null;const qt=Pe===Ve.DragEnd?"onDragEnd":"onDragCancel";if(wt){const xr=me.current[qt];xr==null||xr(wt),y({type:qt,event:wt})}})}}},[N]),rr=h.useCallback((q,je)=>(Le,Oe)=>{const He=Le.nativeEvent,We=N.get(Oe);if(L.current!==null||!We||He.dndKit||He.defaultPrevented)return;const Ke={active:We};q(Le,je.options,Ke)===!0&&(He.dndKit={capturedBy:je.sensor},L.current=Oe,Dt(Le,je))},[N,Dt]),Mt=jm(u,rr);_m(u),_t(()=>{oe&&_===zt.Initializing&&k(zt.Initialized)},[oe,_]),h.useEffect(()=>{const{onDragMove:q}=me.current,{active:je,activatorEvent:Le,collisions:Oe,over:He}=le.current;if(!je||!Le)return;const We={active:je,activatorEvent:Le,collisions:Oe,delta:{x:be.x,y:be.y},over:He};Jt.unstable_batchedUpdates(()=>{q==null||q(We),y({type:"onDragMove",event:We})})},[be.x,be.y]),h.useEffect(()=>{const{active:q,activatorEvent:je,collisions:Le,droppableContainers:Oe,scrollAdjustedTranslate:He}=le.current;if(!q||L.current==null||!je||!He)return;const{onDragOver:We}=me.current,Ke=Oe.get(vt),Ge=Ke&&Ke.rect.current?{id:Ke.id,rect:Ke.rect.current,data:Ke.data,disabled:Ke.disabled}:null,Pe={active:q,activatorEvent:je,collisions:Le,delta:{x:He.x,y:He.y},over:Ge};Jt.unstable_batchedUpdates(()=>{Vt(Ge),We==null||We(Pe),y({type:"onDragOver",event:Pe})})},[vt]),_t(()=>{le.current={activatorEvent:ie,active:$,activeNode:R,collisionRect:we,collisions:Fe,droppableRects:D,draggableNodes:N,draggingNode:xe,draggingNodeRect:ke,droppableContainers:U,over:Me,scrollableAncestors:w,scrollAdjustedTranslate:be},W.current={initial:ke,translated:we}},[$,R,Fe,we,N,xe,ke,D,U,Me,w,be]),xm({...ae,delta:M,draggingRect:we,pointerCoordinates:ee,scrollableAncestors:w,scrollableAncestorRects:E});const F=h.useMemo(()=>({active:$,activeNode:R,activeNodeRect:oe,activatorEvent:ie,collisions:Fe,containerNodeRect:ve,dragOverlay:Ce,draggableNodes:N,droppableContainers:U,droppableRects:D,over:Me,measureDroppableContainers:T,scrollableAncestors:w,scrollableAncestorRects:E,measuringConfiguration:Y,measuringScheduled:Z,windowRect:Ae}),[$,R,oe,ie,Fe,ve,Ce,N,U,D,Me,T,w,E,Y,Z,Ae]),P=h.useMemo(()=>({activatorEvent:ie,activators:Mt,active:$,activeNodeRect:oe,ariaDescribedById:{draggable:I},dispatch:m,draggableNodes:N,over:Me,measureDroppableContainers:T}),[ie,Mt,$,oe,m,I,N,Me,T]);return h.createElement(al.Provider,{value:j},h.createElement(Kr.Provider,{value:P},h.createElement(yl.Provider,{value:F},h.createElement(Ws.Provider,{value:Ot},d)),h.createElement(zm,{disabled:(l==null?void 0:l.restoreFocus)===!1})),h.createElement(Bf,{...l,hiddenTextDescribedById:I}));function Q(){const q=(S==null?void 0:S.autoScrollEnabled)===!1,je=typeof c=="object"?c.enabled===!1:c===!1,Le=A&&!q&&!je;return typeof c=="object"?{...c,enabled:Le}:{enabled:Le}}}),Um=h.createContext(null),ko="button",qm="Draggable";function Gr(e){let{id:t,data:r,disabled:s=!1,attributes:n}=e;const a=Us(qm),{activators:i,activatorEvent:l,active:c,activeNodeRect:d,ariaDescribedById:u,draggableNodes:f,over:p}=h.useContext(Kr),{role:b=ko,roleDescription:g="draggable",tabIndex:v=0}=n??{},x=(c==null?void 0:c.id)===t,m=h.useContext(x?Ws:Um),[y,j]=Cs(),[_,k]=Cs(),A=Fm(i,t),C=Dr(r);_t(()=>(f.set(t,{id:t,key:a,node:y,activatorNode:_,data:C}),()=>{const M=f.get(t);M&&M.key===a&&f.delete(t)}),[f,t]);const N=h.useMemo(()=>({role:b,tabIndex:v,"aria-disabled":s,"aria-pressed":x&&b===ko?!0:void 0,"aria-roledescription":g,"aria-describedby":u.draggable}),[s,b,v,x,g,u.draggable]);return{active:c,activatorEvent:l,activeNodeRect:d,attributes:N,isDragging:x,listeners:s?void 0:A,node:y,over:p,setNodeRef:j,setActivatorNodeRef:k,transform:m}}function Wm(){return h.useContext(yl)}const Km="Droppable",Gm={timeout:25};function Jr(e){let{data:t,disabled:r=!1,id:s,resizeObserverConfig:n}=e;const a=Us(Km),{active:i,dispatch:l,over:c,measureDroppableContainers:d}=h.useContext(Kr),u=h.useRef({disabled:r}),f=h.useRef(!1),p=h.useRef(null),b=h.useRef(null),{disabled:g,updateMeasurementsFor:v,timeout:x}={...Gm,...n},m=Dr(v??s),y=h.useCallback(()=>{if(!f.current){f.current=!0;return}b.current!=null&&clearTimeout(b.current),b.current=setTimeout(()=>{d(Array.isArray(m.current)?m.current:[m.current]),b.current=null},x)},[x]),j=qs({callback:y,disabled:g||!i}),_=h.useCallback((N,M)=>{j&&(M&&(j.unobserve(M),f.current=!1),N&&j.observe(N))},[j]),[k,A]=Cs(_),C=Dr(t);return h.useEffect(()=>{!j||!k.current||(j.disconnect(),f.current=!1,j.observe(k.current))},[k,j]),h.useEffect(()=>(l({type:Ve.RegisterDroppable,element:{id:s,key:a,disabled:r,node:k,rect:p,data:C}}),()=>l({type:Ve.UnregisterDroppable,key:a,id:s})),[s]),h.useEffect(()=>{r!==u.current.disabled&&(l({type:Ve.SetDroppableDisabled,id:s,key:a,disabled:r}),u.current.disabled=r)},[s,a,r,l]),{active:i,rect:p,isOver:(c==null?void 0:c.id)===s,node:k,over:c,setNodeRef:A}}function Jm(e){let{animation:t,children:r}=e;const[s,n]=h.useState(null),[a,i]=h.useState(null),l=As(r);return!r&&!s&&l&&n(l),_t(()=>{if(!a)return;const c=s==null?void 0:s.key,d=s==null?void 0:s.props.id;if(c==null||d==null){n(null);return}Promise.resolve(t(d,a)).then(()=>{n(null)})},[t,s,a]),h.createElement(h.Fragment,null,r,s?h.cloneElement(s,{ref:i}):null)}const Zm={x:0,y:0,scaleX:1,scaleY:1};function Ym(e){let{children:t}=e;return h.createElement(Kr.Provider,{value:vl},h.createElement(Ws.Provider,{value:Zm},t))}const Hm={position:"fixed",touchAction:"none"},Xm=e=>na(e)?"transform 250ms ease":void 0,Qm=h.forwardRef((e,t)=>{let{as:r,activatorEvent:s,adjustScale:n,children:a,className:i,rect:l,style:c,transform:d,transition:u=Xm}=e;if(!l)return null;const f=n?d:{...d,scaleX:1,scaleY:1},p={...Hm,width:l.width,height:l.height,top:l.top,left:l.left,transform:Mr.Transform.toString(f),transformOrigin:n&&s?Wf(s,l):void 0,transition:typeof u=="function"?u(s):u,...c};return h.createElement(r,{className:i,style:p,ref:t},a)}),eh=e=>t=>{let{active:r,dragOverlay:s}=t;const n={},{styles:a,className:i}=e;if(a!=null&&a.active)for(const[l,c]of Object.entries(a.active))c!==void 0&&(n[l]=r.node.style.getPropertyValue(l),r.node.style.setProperty(l,c));if(a!=null&&a.dragOverlay)for(const[l,c]of Object.entries(a.dragOverlay))c!==void 0&&s.node.style.setProperty(l,c);return i!=null&&i.active&&r.node.classList.add(i.active),i!=null&&i.dragOverlay&&s.node.classList.add(i.dragOverlay),function(){for(const[c,d]of Object.entries(n))r.node.style.setProperty(c,d);i!=null&&i.active&&r.node.classList.remove(i.active)}},th=e=>{let{transform:{initial:t,final:r}}=e;return[{transform:Mr.Transform.toString(t)},{transform:Mr.Transform.toString(r)}]},rh={duration:250,easing:"ease",keyframes:th,sideEffects:eh({styles:{active:{opacity:"0"}}})};function sh(e){let{config:t,draggableNodes:r,droppableContainers:s,measuringConfiguration:n}=e;return Bs((a,i)=>{if(t===null)return;const l=r.get(a);if(!l)return;const c=l.node.current;if(!c)return;const d=xl(i);if(!d)return;const{transform:u}=Ye(i).getComputedStyle(i),f=ll(u);if(!f)return;const p=typeof t=="function"?t:nh(t);return pl(c,n.draggable.measure),p({active:{id:a,data:l.data,node:c,rect:n.draggable.measure(c)},draggableNodes:r,dragOverlay:{node:i,rect:n.dragOverlay.measure(d)},droppableContainers:s,measuringConfiguration:n,transform:f})})}function nh(e){const{duration:t,easing:r,sideEffects:s,keyframes:n}={...rh,...e};return a=>{let{active:i,dragOverlay:l,transform:c,...d}=a;if(!t)return;const u={x:l.rect.left-i.rect.left,y:l.rect.top-i.rect.top},f={scaleX:c.scaleX!==1?i.rect.width*c.scaleX/l.rect.width:1,scaleY:c.scaleY!==1?i.rect.height*c.scaleY/l.rect.height:1},p={x:c.x-u.x,y:c.y-u.y,...f},b=n({...d,active:i,dragOverlay:l,transform:{initial:c,final:p}}),[g]=b,v=b[b.length-1];if(JSON.stringify(g)===JSON.stringify(v))return;const x=s==null?void 0:s({active:i,dragOverlay:l,...d}),m=l.node.animate(b,{duration:t,easing:r,fill:"forwards"});return new Promise(y=>{m.onfinish=()=>{x==null||x(),y()}})}}let No=0;function ah(e){return h.useMemo(()=>{if(e!=null)return No++,No},[e])}const oh=h.memo(e=>{let{adjustScale:t=!1,children:r,dropAnimation:s,style:n,transition:a,modifiers:i,wrapperElement:l="div",className:c,zIndex:d=999}=e;const{activatorEvent:u,active:f,activeNodeRect:p,containerNodeRect:b,draggableNodes:g,droppableContainers:v,dragOverlay:x,over:m,measuringConfiguration:y,scrollableAncestors:j,scrollableAncestorRects:_,windowRect:k}=Wm(),A=h.useContext(Ws),C=ah(f==null?void 0:f.id),N=wl(i,{activatorEvent:u,active:f,activeNodeRect:p,containerNodeRect:b,draggingNodeRect:x.rect,over:m,overlayNodeRect:x.rect,scrollableAncestors:j,scrollableAncestorRects:_,transform:A,windowRect:k}),M=da(p),U=sh({config:s,draggableNodes:g,droppableContainers:v,measuringConfiguration:y}),V=M?x.setRef:void 0;return h.createElement(Ym,null,h.createElement(Jm,{animation:U},f&&C?h.createElement(Qm,{key:C,id:f.id,ref:V,as:l,activatorEvent:u,adjustScale:t,className:c,transition:a,rect:M,style:{zIndex:d,...n},transform:N},r):null))});function ih(){return{label:"Texto",type:"text",width:"w-full md:w-1/2",placeholder:"Escribe…",size:"sm"}}function lh(){return{label:"Número",type:"number",width:"w-full md:w-1/3",placeholder:"0",size:"sm",validation:{required:!1}}}function ch(){return{label:"Email",type:"email",width:"w-full md:w-1/2",placeholder:"usuario@dominio.com",size:"sm"}}function dh(){return{label:"Selecciona una opción",type:"select",width:"w-full md:w-1/3",size:"sm",options:[{label:"Opción A",value:"A"},{label:"Opción B",value:"B"}]}}function uh(){return{label:"Aceptar condiciones",type:"checkbox",width:"w-full md:w-1/3",size:"sm",defaultValue:!1}}function fh(){return{label:"Comentario",type:"textarea",width:"w-full",size:"sm",maxLength:300,showCounter:!0,placeholder:"Escribe tu comentario…"}}function mh(){return{label:"Fecha",type:"date",width:"w-full md:w-1/3",size:"sm",showTime:!1}}function hh(){return{label:"Documento",type:"file",width:"w-full md:w-1/2",maxFiles:1,accept:".pdf,.doc,.docx"}}const ph={text:ih,number:lh,email:ch,select:dh,checkbox:uh,textarea:fh,date:mh,file:hh},bh=()=>o.jsx(ye,{label:"Texto",placeholder:"Escribe…",size:"sm",reserveErrorSpace:!1}),gh=()=>o.jsx(ye,{type:"number",label:"Número",placeholder:"0",size:"sm",reserveErrorSpace:!1}),xh=()=>o.jsx(ye,{type:"email",label:"Email",placeholder:"usuario@dominio.com",size:"sm",reserveErrorSpace:!1}),vh=()=>o.jsx(rt,{label:"Select",options:[{label:"Opción A",value:"A"},{label:"Opción B",value:"B"}],size:"sm"}),yh=()=>o.jsx(dt,{label:"Aceptar condiciones",defaultValue:!1,name:"__prev_checkbox__"}),wh=()=>o.jsx(Ls,{label:"Comentario",placeholder:"Escribe tu comentario…",size:"sm",maxLength:120,showCounter:!0}),jh=()=>o.jsx(Fr,{label:"Fecha",defaultValue:"",showTime:!1,name:"__prev_date__"}),kh=()=>o.jsxs("div",{children:[o.jsx("label",{className:"text-ds-xs block mb-1 opacity-80",children:"Documento"}),o.jsx("div",{className:"w-full rounded-xl border border-dashed p-4 text-ds-xs opacity-70",children:"Arrastra o selecciona archivo…"})]}),Nh=()=>o.jsx("div",{className:"p-2 rounded-md bg-[var(--color-ds-background-page)]",children:o.jsx(Ir,{options:[{label:"Tab 1",value:"t1"},{label:"Tab 2",value:"t2"}],value:"t1",onChange:()=>{},children:{t1:o.jsx("div",{className:"text-ds-sm opacity-80",children:"Contenido ejemplo 1"}),t2:o.jsx("div",{className:"text-ds-sm opacity-80",children:"Contenido ejemplo 2"})}})}),Sh=()=>o.jsxs("div",{className:"rounded-lg border border-[var(--color-ds-border-default-50)] bg-[var(--color-ds-background-surface)]",children:[o.jsx("div",{className:"px-3 py-2 border-b border-[var(--color-ds-border-default-50)] text-ds-sm",children:"Sección"}),o.jsx("div",{className:"p-3 text-ds-xs opacity-70",children:"Fila con 1 columna (w-full). Modifícala desde el lienzo."})]}),is=[{kind:"text",title:"Texto",category:"basics",renderPreview:o.jsx(bh,{}),detail:o.jsxs("ul",{className:"list-disc pl-4 space-y-1",children:[o.jsxs("li",{children:["Props: ",o.jsx("code",{children:"placeholder"}),", ",o.jsx("code",{children:"size"}),", ",o.jsx("code",{children:"width"}),", ",o.jsx("code",{children:"info"})]}),o.jsxs("li",{children:["Validación: ",o.jsx("code",{children:"required"}),", ",o.jsx("code",{children:"minLength"}),", ",o.jsx("code",{children:"maxLength"}),", ",o.jsx("code",{children:"pattern"})]})]})},{kind:"number",title:"Número",category:"basics",renderPreview:o.jsx(gh,{}),detail:o.jsx("ul",{className:"list-disc pl-4 space-y-1",children:o.jsxs("li",{children:["Validación: ",o.jsx("code",{children:"numberMin"}),", ",o.jsx("code",{children:"numberMax"}),", ",o.jsx("code",{children:"step"}),", ",o.jsx("code",{children:"integerOnly"}),", ",o.jsx("code",{children:"positiveOnly"})]})})},{kind:"email",title:"Email",category:"basics",renderPreview:o.jsx(xh,{}),detail:o.jsx("ul",{className:"list-disc pl-4 space-y-1",children:o.jsx("li",{children:"Preset de patrón disponible"})})},{kind:"select",title:"Select",category:"basics",renderPreview:o.jsx(vh,{}),hint:"Admite optionSource",detail:o.jsxs("ul",{className:"list-disc pl-4 space-y-1",children:[o.jsxs("li",{children:["Opciones: ",o.jsx("code",{children:"options"})," o ",o.jsx("code",{children:"optionSource"})]}),o.jsxs("li",{children:["Default: ",o.jsx("code",{children:"defaultSource"})]}),o.jsxs("li",{children:["Soporta ",o.jsx("code",{children:"multiple"})," y ",o.jsx("code",{children:"adapterCtx"})]})]})},{kind:"checkbox",title:"Checkbox",category:"basics",renderPreview:o.jsx(yh,{}),detail:o.jsx("ul",{className:"list-disc pl-4 space-y-1",children:o.jsxs("li",{children:["Devuelve ",o.jsx("code",{children:"boolean"})]})})},{kind:"date",title:"Fecha",category:"basics",renderPreview:o.jsx(jh,{}),detail:o.jsxs("ul",{className:"list-disc pl-4 space-y-1",children:[o.jsxs("li",{children:["Prop: ",o.jsx("code",{children:"showTime"})]}),o.jsxs("li",{children:["Validación: ",o.jsx("code",{children:"dateMin"}),", ",o.jsx("code",{children:"dateMax"}),", ",o.jsx("code",{children:"disallowPast"}),", ",o.jsx("code",{children:"disallowFuture"})]})]})},{kind:"textarea",title:"Textarea",category:"content",renderPreview:o.jsx(wh,{}),detail:o.jsx("ul",{className:"list-disc pl-4 space-y-1",children:o.jsxs("li",{children:["Props: ",o.jsx("code",{children:"maxLength"}),", ",o.jsx("code",{children:"showCounter"})]})})},{kind:"file",title:"Archivo",category:"content",renderPreview:o.jsx(kh,{}),detail:o.jsxs("ul",{className:"list-disc pl-4 space-y-1",children:[o.jsxs("li",{children:["Props: ",o.jsx("code",{children:"accept"}),", ",o.jsx("code",{children:"maxFiles"})]}),o.jsxs("li",{children:["Validación: ",o.jsx("code",{children:"fileMaxSizeMB"})]})]})},{kind:"section-layout",title:"Sección",category:"layout",renderPreview:o.jsx(Sh,{}),isLayout:!0,hint:"Contenedor de layout",detail:o.jsxs("ul",{className:"list-disc pl-4 space-y-1",children:[o.jsx("li",{children:"Inserta un bloque de filas/columnas (rows) con una fila vacía."}),o.jsx("li",{children:"Después puedes añadir columnas y colocar campos."})]})},{kind:"tabs-layout",title:"Pestañas",category:"layout",renderPreview:o.jsx(Nh,{}),isLayout:!0,hint:"Contenedor de layout (no es un campo)",detail:o.jsxs("ul",{className:"list-disc pl-4 space-y-1",children:[o.jsxs("li",{children:["Inserta un contenedor de ",o.jsx("code",{children:"tabs"})," en el layout."]}),o.jsx("li",{children:"Cada pestaña contiene sus propias secciones y filas."}),o.jsx("li",{children:"Útil para agrupar campos por temática."})]})}];function jl({title:e,onAdd:t,onInfo:r,dragging:s=!1}){return o.jsxs("div",{className:["hover:text-[var(--color-ds-text-on-accent)] relative",s?"opacity-70":""].join(" "),children:[o.jsx(fe,{size:"sm",variant:"outline",onClick:t,className:["w-full rounded-xl p-2 text-left justify-start","border-dashed ring-1 ring-inset ring-[var(--color-ds-border-default-50)] hover:ring-[var(--color-ds-border-default)] hover:shadow-sm","cursor-grab active:cursor-grabbing"].join(" "),title:`Añadir ${e}`,"aria-label":`Añadir ${e}`,children:o.jsx("div",{className:"text-ds-sm",children:e})}),o.jsx("div",{className:"absolute top-1 right-1",children:o.jsx(Zn,{size:"sm",position:"right",ariaLabel:`Más info de ${e}`,onClick:r,children:o.jsxs("div",{className:"max-w-[240px]",children:["Pulsa para ver un ejemplo y detalles de ",o.jsx("strong",{children:e}),"."]})})})]})}function So({kind:e,title:t,onAdd:r,onInfo:s}){const{attributes:n,listeners:a,setNodeRef:i,isDragging:l}=Gr({id:`palette:${e}:${t}`,data:{kind:"palette-field",factoryKind:e}});return o.jsx("div",{ref:i,...n,...a,role:"button","aria-label":`Arrastrar ${t}`,className:"touch-none select-none",children:o.jsx(jl,{title:t,onAdd:r,onInfo:s,dragging:l})})}function Eh(){var v;const e=J(x=>x.addField),t=J(x=>x.addTabsContainerAt),r=J(x=>x.addRowsBlockAt),s=J(x=>x.schema),{show:n}=Vr(),[a,i]=h.useState(""),[l,c]=h.useState(null),d=h.useMemo(()=>is.filter(x=>x.category==="basics"&&x.title.toLowerCase().includes(a.toLowerCase())),[a]),u=h.useMemo(()=>is.filter(x=>x.category==="content"&&x.title.toLowerCase().includes(a.toLowerCase())),[a]),f=h.useMemo(()=>is.filter(x=>x.category==="layout"&&x.title.toLowerCase().includes(a.toLowerCase())),[a]),p=h.useMemo(()=>is.find(x=>x.kind===l)??null,[l]),b=h.useCallback(x=>{const m=ph[x];if(!m){n("Tipo de campo no soportado.","warning");return}const y=m();e(y),n(`Añadido “${y.label}”. Ahora arrástralo al formulario o usa “Colocar último campo”.`,"success")},[e,n]),g=h.useCallback(x=>{var y;const m=((y=s==null?void 0:s.layout)==null?void 0:y.length)??0;if(x==="section-layout"){typeof r=="function"?(r(m,"Nueva sección"),n("Sección añadida al layout.","success")):n("Acción addRowsBlockAt no disponible en el store.","warning");return}if(x==="tabs-layout"){typeof t=="function"?(t(m),n("Contenedor de pestañas añadido al layout.","success")):n("Acción addTabsContainerAt no disponible en el store.","warning");return}n("Tipo de layout no soportado.","warning")},[(v=s==null?void 0:s.layout)==null?void 0:v.length,r,t,n]);if(p){const x=!!p.isLayout;return o.jsxs("aside",{className:"border-r bg-[var(--color-ds-background-page)] custom-scroll min-h-0 text-[var(--color-ds-text-primary)]",children:[o.jsxs("div",{className:"px-4 py-3 border-b border-[var(--color-ds-border-default-50)] flex items-center",children:[o.jsx("h3",{className:"font-semibold text-[1rem] flex-1 truncate",children:p.title}),o.jsx(fe,{size:"sm",variant:"ghost",onClick:()=>c(null),className:"ml-auto",children:"← Volver"})]}),o.jsxs("div",{className:"space-y-4",children:[o.jsx("div",{className:"border border-[var(--color-ds-border-default-50)] p-4 bg-[var(--color-ds-background-surface)]",children:p.renderPreview}),o.jsxs("div",{className:"p-2",children:[o.jsxs("div",{className:"flex items-center gap-2 justify-center mb-4",children:[o.jsx(fe,{size:"sm",variant:"primary",onClick:()=>x?g(p.kind):b(p.kind),title:"Añadir rápidamente",children:"Añadir al lienzo"}),o.jsx("span",{className:"text-ds-xs opacity-70",children:"o arrástrame al formulario"})]}),o.jsxs("div",{className:"rounded-xl border border-[var(--color-ds-border-default-50)] p-3",children:[o.jsxs("div",{className:"text-ds-sm text-[var(--color-ds-text-secondary)] mb-2",children:["Acerca de ",o.jsx("strong",{children:p.title})]}),o.jsxs("div",{className:"text-ds-sm space-y-2",children:[p.hint?o.jsx("div",{className:"opacity-80",children:p.hint}):null,p.detail]})]})]})]})]})}return o.jsxs("aside",{className:"bg-[var(--color-ds-background-page)] custom-scroll min-h-0 text-[var(--color-ds-text-primary)]",children:[o.jsxs("div",{className:"px-4 py-3 border-b border-[var(--color-ds-border-default-50)]",children:[o.jsx("h3",{className:"font-semibold text-[1rem]",children:"Paleta"}),o.jsxs("p",{className:"text-[var(--color-ds-text-secondary)] text-ds-sm mt-1",children:["Clic en una tarjeta para ",o.jsx("strong",{children:"añadir"})," al catálogo, o ",o.jsx("strong",{children:"arrastra"})," al formulario para colocar. Usa el icono"," ",o.jsx(zo,{className:"inline w-4 h-4 align-[-2px]"})," para ver detalles."]}),o.jsx("div",{className:"mt-3",children:o.jsx(ye,{size:"sm",placeholder:"Buscar componente…",value:a,onChange:x=>i(x.target.value),reserveErrorSpace:!1})})]}),o.jsxs("div",{className:"p-4 space-y-6",children:[o.jsxs("section",{className:"space-y-3",children:[o.jsx("div",{className:"text-[var(--color-ds-text-secondary)] text-ds-sm font-medium",children:"Inputs básicos"}),o.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[d.map(x=>o.jsx(So,{kind:x.kind,title:x.title,onAdd:()=>b(x.kind),onInfo:()=>c(x.kind)},x.kind)),d.length===0&&o.jsx("div",{className:"col-span-2 text-ds-xs opacity-60",children:"No hay resultados."})]})]}),o.jsxs("section",{className:"space-y-3",children:[o.jsx("div",{className:"text-[var(--color-ds-text-secondary)] text-ds-sm font-medium",children:"Contenido"}),o.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[u.map(x=>o.jsx(So,{kind:x.kind,title:x.title,onAdd:()=>b(x.kind),onInfo:()=>c(x.kind)},x.kind)),u.length===0&&o.jsx("div",{className:"col-span-2 text-ds-xs opacity-60",children:"No hay resultados."})]})]}),o.jsxs("section",{className:"space-y-3",children:[o.jsx("div",{className:"text-[var(--color-ds-text-secondary)] text-ds-sm font-medium",children:"Estructura"}),o.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[f.map(x=>o.jsx(jl,{title:x.title,onAdd:()=>x.isLayout?g(x.kind):b(x.kind),onInfo:()=>c(x.kind)},x.kind)),f.length===0&&o.jsx("div",{className:"col-span-2 text-ds-xs opacity-60",children:"No hay resultados."})]})]})]})]})}function kl(e){const t=e.trim();if(/^(true|false)$/i.test(t))return t.toLowerCase()==="true";const r=Number(t);return!Number.isNaN(r)&&t!==""?r:t}function Ch(e){return e.split(",").map(t=>t.trim()).filter(t=>t.length>0).map(kl)}function ls(e){return typeof e=="boolean"?e?"true":"false":typeof e=="number"?String(e):typeof e=="string"?e:""}const mn=(e,t)=>JSON.stringify(e??null)===JSON.stringify(t??null);function Ah({value:e,onChange:t,fieldOptions:r}){const s=h.useRef(t);h.useEffect(()=>{s.current=t},[t]);const[n,a]=h.useState((e==null?void 0:e.op)??"eq"),[i,l]=h.useState(e&&"field"in e&&typeof e.field=="string"?e.field:""),[c,d]=h.useState(e&&"value"in e?ls(e.value):""),[u,f]=h.useState(e&&"values"in e&&Array.isArray(e.values)?e.values.map(ls).join(","):""),p=(k={})=>{const A=k.op??n,C=k.field??i,N=k.val??c,M=k.vals??u;if(!C)return;if(A==="in"||A==="notIn"){const V=Ch(M);return A==="in"?{op:"in",field:C,values:V}:{op:"notIn",field:C,values:V}}const U=N.trim()===""?"":kl(N);return{op:A,field:C,value:U}},b=()=>p({}),g=h.useRef(!1);h.useEffect(()=>{const k=b();if(mn(e,k))return;if(g.current=!0,!e){a("eq"),l(""),d(""),f(""),g.current=!1;return}const A=e.op??"eq";a(A),l("field"in e&&typeof e.field=="string"?e.field:""),A==="in"||A==="notIn"?(f("values"in e&&Array.isArray(e.values)?e.values.map(ls).join(","):""),d("")):(f(""),d("value"in e?ls(e.value):"")),g.current=!1},[e]);const v=h.useRef(void 0),x=h.useRef(null),m=k=>{g.current||k&&(mn(v.current,k)||(v.current=k,s.current(k)))},y=()=>{if(g.current)return;const k=b();k&&(mn(v.current,k)||(x.current&&window.clearTimeout(x.current),x.current=window.setTimeout(()=>{v.current=k,s.current(k)},200)))};h.useEffect(()=>()=>{x.current&&window.clearTimeout(x.current)},[]);const j=h.useMemo(()=>[{value:"eq",label:"igual a"},{value:"neq",label:"distinto de"},{value:"in",label:"en lista"},{value:"notIn",label:"no en lista"},{value:"gt",label:"mayor que"},{value:"gte",label:"mayor o igual"},{value:"lt",label:"menor que"},{value:"lte",label:"menor o igual"}],[]),_=h.useMemo(()=>[{label:"— campo —",value:""},...r],[r]);return o.jsxs("div",{className:"space-y-2",children:[o.jsx(rt,{label:"Operador",value:n,onChange:k=>{const A=k;a(A),A==="in"||A==="notIn"?d(""):f(""),m(p({op:A,val:A==="in"||A==="notIn"?"":c,vals:A==="in"||A==="notIn"?u:""}))},options:j,size:"sm",coerceFirstValid:!1,reserveErrorSpace:!1}),o.jsx(rt,{label:"Campo",value:i,onChange:k=>{const A=k;l(A),m(p({field:A}))},options:_,size:"sm",coerceFirstValid:!1,reserveErrorSpace:!1}),n==="in"||n==="notIn"?o.jsx(ye,{size:"sm",label:"Valores (coma)",placeholder:"valor1, valor2, ...",value:u,onChange:k=>{f(k.target.value),y()},reserveErrorSpace:!1}):o.jsx(ye,{size:"sm",label:"Valor",placeholder:"true/false, 123, texto",value:c,onChange:k=>{d(k.target.value),y()},reserveErrorSpace:!1})]})}const Th=["w-full","w-1/2","w-1/3","w-2/3","w-1/4","w-3/4","w-full md:w-1/2","w-full md:w-1/3","w-full md:w-1/4"],_h=["sm","md","lg"],Fh=[{value:"text",label:"Texto"},{value:"number",label:"Número"},{value:"email",label:"Email"},{value:"password",label:"Password"},{value:"textarea",label:"Textarea"},{value:"select",label:"Select"},{value:"checkbox",label:"Checkbox"},{value:"date",label:"Fecha"},{value:"file",label:"Archivo"}],Oh=e=>(e==null?void 0:e.enabled)??!!(e!=null&&e.rule),Eo=(e,t)=>({...e??{},enabled:t}),Rh=(e,t)=>({...e??{},rule:t}),Dh=(e,t)=>({...e??{},clearTo:t}),Mh=e=>{try{return JSON.stringify(e,null,2)}catch{return""}};async function $h(){try{const e=await navigator.clipboard.readText(),t=JSON.parse(e);if(t&&typeof t=="object"&&"op"in t)return t}catch{}}function Lh(e){return typeof e=="number"||typeof e=="string"||e instanceof Date}function Nl(e,t){if(!e)return{ok:!1,reason:"Sin regla"};if(!("op"in e))return{ok:!1,reason:"Operador inválido"};if(e.op==="and"||e.op==="or"){if(!Array.isArray(e.rules)||e.rules.length===0)return{ok:!1,reason:`Lista de reglas vacía en "${e.op}"`};for(const r of e.rules){const s=Nl(r,t);if(!s.ok)return s}return{ok:!0}}if(!e.field||typeof e.field!="string")return{ok:!1,reason:"Campo no especificado"};if(!t.includes(e.field))return{ok:!1,reason:`Campo "${e.field}" no existe`};switch(e.op){case"eq":case"neq":return"value"in e?{ok:!0}:{ok:!1,reason:"Valor requerido"};case"in":case"notIn":return Array.isArray(e.values)&&e.values.length>0?{ok:!0}:{ok:!1,reason:"Lista de valores vacía"};case"gt":case"gte":case"lt":case"lte":return"value"in e?Lh(e.value)?{ok:!0}:{ok:!1,reason:"Valor no comparable (número, string o Date)"}:{ok:!1,reason:"Valor requerido"};default:return{ok:!1,reason:`Operador no soportado: ${e.op}`}}}function Ph(e,t){for(let r=0;r<e.layout.length;r++){const s=e.layout[r];if((s==null?void 0:s.type)!=="tabs")continue;const n=s.tabs.findIndex(a=>a.key===t);if(n>=0)return{nodeIdx:r,tabIdx:n,node:s,tab:s.tabs[n]}}return null}function zh(){var z,Y,D,T,Z,R,B,ae,pe,oe,ve,le,he,Ce,xe,ke,ne,Ne,Ae,w,E,O,ee,H,G,ue,be,we,Fe,vt,Me,Vt,Ft,Ot,Rt,Dt,rr,Mt;const e=J(F=>F.selection),t=J(F=>F.schema),r=J(F=>F.updateField),s=J(F=>F.removeField),n=J(F=>F.renameField),a=J(F=>F.duplicateField),i=J(F=>F.changeFieldType),l=J(F=>F.addTabAfter),c=J(F=>F.removeTab),d=J(F=>F.renameTab),u=J(F=>F.moveTab),f=J(F=>F.addSectionToTab),{services:p}=$s(),{show:b}=Vr(),g=i??((F,P)=>r(F,Q=>{Q.type=P})),v=h.useMemo(()=>t.fields.map(F=>F.name).filter(Boolean).map(F=>({label:F,value:F})),[t.fields]),x=h.useMemo(()=>v.map(F=>F.value),[v]),m=h.useMemo(()=>{if(e.kind==="field")return t.fields.find(F=>F.name===e.name)},[e,t.fields]),y=(m==null?void 0:m.type)==="select",j=(m==null?void 0:m.type)==="textarea",_=(m==null?void 0:m.type)==="file",k=(m==null?void 0:m.type)==="date",A=(m==null?void 0:m.type)==="number",C=h.useMemo(()=>Object.keys((p==null?void 0:p.registry)??{}),[p]),N=h.useMemo(()=>[{label:"— ninguno —",value:""},...C.map(F=>({label:F,value:F}))],[C]),[M,U]=h.useState(!1),[V,W]=h.useState(null),[$,L]=h.useState([]),[S,te]=h.useState(""),ie=async()=>{var Q;const F=m==null?void 0:m.optionSource;if(!F){W("Debes elegir una clave en 'Option source'."),b("Elige la clave del adapter en 'Option source'.","warning");return}const P=(Q=p==null?void 0:p.registry)==null?void 0:Q[F];if(typeof P!="function"){W(`No existe un provider en services.registry["${F}"]`),b(`Provider no encontrado: ${F}`,"error");return}U(!0),W(null);try{let q;if(S.trim())try{q=JSON.parse(S)}catch{W("Contexto JSON inválido."),b("Contexto JSON inválido.","error"),U(!1);return}const je=q!=null?{getValues:()=>q}:void 0,Le=await Promise.resolve(P("",je)),Oe=Array.isArray(Le)?Le:[];L(Oe),b(Oe.length?`Cargadas ${Oe.length} opciones.`:"El adapter devolvió 0 opciones.",Oe.length?"success":"info")}catch(q){W((q==null?void 0:q.message)||String(q)),b("Error al cargar opciones desde adapter.","error")}finally{U(!1)}},K=()=>{m!=null&&m.name&&(r(m.name,F=>{F.options=[...$],delete F.optionSource,delete F.loadOptions}),b("Opciones copiadas al campo (options).","success"))},me=({title:F,fieldKey:P,showClearTo:Q})=>{const q=(m==null?void 0:m[P])??{},je=Oh(q),Le=Mh(q.rule??null),Oe=Se=>r(m.name,Wt=>{Wt[P]=Se}),[He,We]=h.useState(""),Ke=h.useRef(null),Ge=Se=>{Ke.current&&window.clearTimeout(Ke.current),We(Se),Ke.current=window.setTimeout(()=>We(""),1500)};h.useEffect(()=>()=>{Ke.current!=null&&window.clearTimeout(Ke.current)},[]);const Pe=Se=>{var sr;if(Se.rule)return Se;const Wt=((sr=v[0])==null?void 0:sr.value)??"";return{...Se,rule:{op:"eq",field:Wt,value:!0}}},yt=Se=>{Oe(Se?Pe(Eo(q,Se)):Eo(q,Se)),Ge(Se?"Regla activada":"Regla desactivada"),b(Se?"Regla activada":"Regla desactivada","info")},at=Se=>{Oe(Rh(q,Se)),Ge("Regla actualizada")},ft=Se=>{Oe(Dh(q,Se)),Ge("clearTo actualizado"),b("clearTo actualizado","info")},Bt="__quick_placeholder__",Ut=Se=>{var ua;if(!Se||Se===Bt)return;const Wt=((ua=v[0])==null?void 0:ua.value)??"",sr={...q??{},enabled:!0};Se==="eq:true"&&Oe({...sr,rule:{op:"eq",field:Wt,value:!0}}),Se==="eq:false"&&Oe({...sr,rule:{op:"eq",field:Wt,value:!1}}),Se==="eq:empty"&&Oe({...sr,rule:{op:"eq",field:Wt,value:""}}),Ge("Atajo aplicado"),b("Atajo aplicado","success")},wt=async()=>{try{await navigator.clipboard.writeText(Le||""),Ge("Copiado"),b("Regla copiada al portapapeles","success")}catch{Ge("No se pudo copiar"),b("No se pudo copiar al portapapeles","error")}},qt=async()=>{const Se=await $h();Se?(Oe({...q??{},enabled:!0,rule:Se}),Ge("Pegado"),b("Regla pegada desde portapapeles","success")):(Ge("Portapapeles no válido"),b("El contenido del portapapeles no es una regla válida","warning"))},xr=()=>{at(void 0),Ge("Regla borrada"),b("Regla borrada","info")},Zr=Nl(q.rule,x),Sl=je?Zr.ok?"text-[var(--color-success-600)]":"text-[var(--color-danger-600)]":"text-[var(--color-ds-text-secondary)]",El=je?Zr.ok?"border-[var(--color-success-400)]":"border-[var(--color-danger-400)]":"border-[var(--color-ds-border-default-50)]";return o.jsxs("div",{className:"rounded-md border border-[var(--color-ds-border-default-50)] p-2 space-y-2",children:[o.jsx("div",{className:"flex items-center justify-between",children:o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(dt,{size:"sm",checked:je,onChange:yt,label:F}),o.jsxs("span",{className:`ml-2 flex items-center gap-1 text-[11px] ${Sl}`,children:[o.jsx("span",{className:"inline-block w-2 h-2 rounded-full border border-black/10 bg-current opacity-70"}),je?Zr.ok?"OK":Zr.reason:"Inactiva"]})]})}),o.jsx("div",{className:"text-[11px] h-4 text-[var(--color-ds-text-secondary)]","aria-live":"polite",children:He||o.jsx("span",{"aria-hidden":"true",children:" "})}),o.jsx(rt,{label:"Atajo rápido",value:"__quick_placeholder__",onChange:Se=>Ut(Se),options:[{label:"— Atajo rápido —",value:"__quick_placeholder__"},{label:"Campo = true",value:"eq:true"},{label:"Campo = false",value:"eq:false"},{label:"Campo = '' (vacío)",value:"eq:empty"}],size:"sm",reserveErrorSpace:!1}),o.jsxs("div",{className:"flex flex-wrap gap-2 pt-1",children:[o.jsx(fe,{size:"sm",variant:"outline",onClick:wt,title:"Copiar JSON",children:"Copiar"}),o.jsx(fe,{size:"sm",variant:"outline",onClick:qt,title:"Pegar JSON",children:"Pegar"}),o.jsx(fe,{size:"sm",variant:"outline",onClick:xr,title:"Borrar regla",children:"Borrar"})]}),o.jsx("div",{className:je?"":"opacity-60 pointer-events-none",children:o.jsx(Ah,{value:q.rule,fieldOptions:v,onChange:Se=>at(Se)})}),o.jsx("div",{className:`rounded p-2 bg-[var(--color-ds-background-surface)] border ${El}`,children:o.jsx("pre",{className:"m-0 text-[11px] leading-snug whitespace-pre-wrap break-all text-[var(--color-ds-text-primary)]",children:Le||"—"})}),Q&&o.jsx(ye,{label:"clearTo",value:q.clearTo??"",onChange:Se=>ft(Se.target.value)})]})};if(e.kind==="tab"){const F=Ph(t,e.tabKey);if(!F)return o.jsx("div",{className:"p-3 text-[var(--color-ds-text-secondary)]",children:"Pestaña no encontrada."});const{tab:P}=F,[Q,q]=h.useState(P.label??"");return h.useEffect(()=>{q(P.label??"")},[P.label]),o.jsxs("div",{className:"pl-2 pt-4 border-l border-[var(--color-ds-border-default)] space-y-4 custom-scroll overflow-auto",children:[o.jsxs("div",{className:"flex items-center justify-between",children:[o.jsx("h3",{className:"font-medium text-ds-md text-[var(--color-ds-text-primary)]",children:"Inspector de pestaña"}),o.jsxs("div",{className:"flex gap-2",children:[o.jsx(fe,{size:"sm",variant:"outline",onClick:()=>u(e.tabKey,"left"),children:"← Mover"}),o.jsx(fe,{size:"sm",variant:"outline",onClick:()=>u(e.tabKey,"right"),children:"Mover →"}),o.jsx(fe,{size:"sm",variant:"outline",onClick:()=>l(e.tabKey),children:"+ Pestaña a la derecha"}),o.jsx(fe,{size:"sm",variant:"outline",onClick:()=>c(e.tabKey),children:"Eliminar pestaña"})]})]}),o.jsx(it,{title:"Identidad",type:"plain",defaultOpen:!0,children:o.jsx("div",{className:"grid gap-2",children:o.jsx(ye,{size:"sm",label:"Label de la pestaña",value:Q,onChange:je=>q(je.target.value),onBlur:()=>d(e.tabKey,Q)})})}),o.jsx(it,{title:"Estructura",type:"plain",defaultOpen:!0,children:o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(fe,{size:"sm",variant:"outline",onClick:()=>f(e.tabKey),children:"+ Añadir sección"}),o.jsx("div",{className:"text-[var(--color-ds-text-secondary)] text-ds-sm",children:"Esta acción agrega una sección con una fila y una columna vacía dentro de la pestaña."})]})}),o.jsx("div",{className:"text-[var(--color-ds-text-secondary)] text-ds-sm",children:"Selecciona una sección o un campo para ver sus propiedades específicas."})]})}if(e.kind!=="field")return o.jsx("div",{className:"p-3 text-[var(--color-ds-text-secondary)]",children:"Selecciona un campo o una pestaña…"});if(!m)return o.jsx("div",{className:"p-3 text-[var(--color-ds-text-secondary)]",children:"Campo no encontrado."});const I=F=>{r(m.name,P=>{var je;const Q=(je=P.validation)==null?void 0:je.pattern;if(F==="none"){P.validation={...P.validation??{},pattern:void 0};return}const q=F==="email"?/^[^\s@]+@[^\s@]+\.[^\s@]+$/:/^\+?\d{7,15}$/;P.validation={...P.validation??{},pattern:{value:q,message:(Q==null?void 0:Q.message)||(F==="email"?"Email inválido":"Teléfono inválido")}}}),b(F==="none"?"Patrón eliminado":"Patrón aplicado","info")};return o.jsxs("div",{className:"pl-2 pt-4 border-l border-[var(--color-ds-border-default)] space-y-4 custom-scroll overflow-auto",children:[o.jsxs("div",{className:"flex items-center justify-between",children:[o.jsx("h3",{className:"font-medium text-ds-md text-[var(--color-ds-text-primary)]",children:"Inspector"}),o.jsxs("div",{className:"flex gap-2",children:[o.jsx(fe,{size:"sm",variant:"outline",onClick:()=>a(m.name,`${m.name}`),children:"Duplicar"}),o.jsx(fe,{size:"sm",variant:"outline",onClick:()=>s(m.name),children:"Eliminar"})]})]}),o.jsxs(it,{title:"Identidad",type:"plain",defaultOpen:!0,children:[o.jsxs("div",{className:"grid gap-2",children:[o.jsx(ye,{size:"sm",label:"Name",value:m.name??"",onChange:F=>n(m.name,F.target.value)}),o.jsx(ye,{size:"sm",label:"Label",value:m.label??"",onChange:F=>r(m.name,P=>{P.label=F.target.value})})]}),o.jsxs("div",{className:"grid gap-2",children:[o.jsx(rt,{label:"Tipo",value:m.type,onChange:F=>g(m.name,F),options:Fh}),o.jsx(ye,{size:"sm",label:"Info (tooltip/ayuda)",value:m.info??"",onChange:F=>r(m.name,P=>{P.info=F.target.value})})]})]}),o.jsx(it,{title:"Layout",type:"plain",defaultOpen:!0,children:o.jsxs("div",{className:"grid gap-2",children:[o.jsx(rt,{label:"Width",value:m.width??"",onChange:F=>r(m.name,P=>{P.width=F}),options:[{label:"— custom —",value:""},...Th.map(F=>({label:F,value:F}))]}),o.jsx(rt,{label:"Size",value:m.size??"sm",onChange:F=>r(m.name,P=>{P.size=F}),options:_h.map(F=>({label:F,value:F}))}),!["checkbox","file"].includes(m.type)&&o.jsx(ye,{size:"sm",label:"Placeholder",value:m.placeholder??"",onChange:F=>r(m.name,P=>{P.placeholder=F.target.value})})]})}),y&&o.jsxs(it,{title:"Select",type:"plain",defaultOpen:!0,children:[o.jsxs("div",{className:"grid gap-2",children:[o.jsx(rt,{label:"Option source (registry key)",value:m.optionSource??"",onChange:F=>r(m.name,P=>{P.optionSource=F||void 0,P.optionSource&&(delete P.options,delete P.loadOptions)}),options:N}),o.jsx(ye,{size:"sm",label:"Contexto (JSON) para adapter (opcional)",placeholder:'{"cifOrga":"A12345678","tipoContrato":"OB"}',value:S,onChange:F=>te(F.target.value)}),o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(fe,{size:"sm",variant:"outline",onClick:ie,disabled:M||!C.length,children:M?"Cargando…":"Cargar opciones"}),!!$.length&&o.jsx(fe,{size:"sm",variant:"outline",onClick:K,title:"Copiar vista previa a options",children:"Aplicar al campo"})]}),V&&o.jsx("div",{className:"text-xs text-[var(--color-ds-text-primary)]",children:V}),!!$.length&&o.jsxs("div",{className:"rounded border p-2 max-h-40 overflow-auto border-[var(--color-ds-border-default-50)]",children:[o.jsxs("div",{className:"text-[11px] mb-1 opacity-70",children:["Vista previa (",$.length,"):"]}),o.jsxs("ul",{className:"text-[12px] space-y-1",children:[$.slice(0,50).map((F,P)=>o.jsxs("li",{children:[o.jsx("code",{className:"opacity-70",children:F.value})," — ",F.label]},`${F.value}-${P}`)),$.length>50&&o.jsx("li",{className:"opacity-60 text-[11px]",children:"… (truncado)"})]})]})]}),o.jsxs("div",{className:"pt-2 space-y-2",children:[o.jsx("div",{className:"text-xs opacity-70 text-[var(--color-ds-text-primary)]",children:"Opciones estáticas (se ignoran si defines optionSource)"}),(m.options??[]).map((F,P)=>o.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[o.jsx(ye,{size:"sm",label:"Etiqueta",value:F.label??"",onChange:Q=>r(m.name,q=>{const je=Array.isArray(q.options)?[...q.options]:[];je[P]={...je[P],label:Q.target.value},q.options=je})}),o.jsxs("div",{className:"flex gap-2",children:[o.jsx(ye,{size:"sm",label:"Valor",value:F.value??"",onChange:Q=>r(m.name,q=>{const je=Array.isArray(q.options)?[...q.options]:[];je[P]={...je[P],value:Q.target.value},q.options=je})}),o.jsx(fe,{size:"sm",variant:"outline",onClick:()=>r(m.name,Q=>{const q=Array.isArray(Q.options)?[...Q.options]:[];q.splice(P,1),Q.options=q}),"aria-label":"Eliminar opción",title:"Eliminar opción",children:"✕"})]})]},P)),o.jsx(fe,{size:"sm",variant:"outline",onClick:()=>r(m.name,F=>{const P=Array.isArray(F.options)?[...F.options]:[];P.push({label:"Opción",value:`opt_${P.length+1}`}),F.options=P}),children:"+ Añadir opción"})]}),o.jsx("div",{className:"pt-2",children:o.jsx(dt,{size:"sm",label:"Múltiple",checked:!!m.multiple,onChange:F=>r(m.name,P=>{P.multiple=F})})})]}),j&&o.jsxs(it,{title:"Textarea",type:"plain",defaultOpen:!0,children:[o.jsx(ye,{size:"sm",type:"number",label:"Máx. caracteres",value:m.maxLength??"",onChange:F=>r(m.name,P=>{const Q=F.target.value;P.maxLength=Q?Number(Q):void 0}),className:"w-32"}),o.jsx(dt,{size:"sm",label:"Mostrar contador",checked:!!m.showCounter,onChange:F=>r(m.name,P=>{P.showCounter=F})})]}),_&&o.jsxs(it,{title:"Archivo",type:"plain",defaultOpen:!0,children:[o.jsx(ye,{size:"sm",label:"Extensiones permitidas (accept)",placeholder:".pdf,.jpg",value:m.accept??"",onChange:F=>r(m.name,P=>{P.accept=F.target.value})}),o.jsx(ye,{size:"sm",type:"number",label:"Máx. ficheros",value:m.maxFiles??"",onChange:F=>r(m.name,P=>{const Q=F.target.value;P.maxFiles=Q?Number(Q):void 0}),className:"w-32"})]}),k&&o.jsx(it,{title:"Fecha",type:"plain",defaultOpen:!0,children:o.jsx(dt,{size:"sm",label:"Incluir hora",checked:!!m.showTime,onChange:F=>r(m.name,P=>{P.showTime=F})})}),o.jsx(it,{title:"Reglas",type:"plain",defaultOpen:!0,children:o.jsxs("div",{className:"space-y-3",children:[o.jsx(me,{title:"visibleWhen",fieldKey:"visibleWhen"}),o.jsx(me,{title:"disabledWhen",fieldKey:"disabledWhen"}),o.jsx(me,{title:"clearWhen",fieldKey:"clearWhen",showClearTo:!0})]})}),o.jsxs(it,{title:"Validación",type:"plain",defaultOpen:!0,children:[o.jsx(dt,{size:"sm",label:"Requerido",checked:!!((z=m.validation)!=null&&z.required),onChange:F=>r(m.name,P=>{P.validation={...P.validation??{},required:F}})}),o.jsx("div",{className:"grid gap-2",children:o.jsx(rt,{label:"Preset de patrón",value:"__none__",onChange:F=>I(F==="email"?"email":F==="phone"?"phone":"none"),options:[{label:"— ninguno —",value:"__none__"},{label:"Email básico",value:"email"},{label:"Teléfono (+999…)",value:"phone"}],size:"sm",reserveErrorSpace:!1})}),o.jsxs("div",{className:"grid gap-2",children:[o.jsxs("div",{children:[o.jsx("div",{className:"text-xs opacity-70 text-[var(--color-ds-text-primary)] pb-1",children:"minLength"}),o.jsxs("div",{className:"flex gap-2",children:[o.jsx(ye,{type:"number",value:((D=(Y=m.validation)==null?void 0:Y.minLength)==null?void 0:D.value)??"",onChange:F=>r(m.name,P=>{var Q,q;P.validation={...P.validation??{},minLength:F.target.value?{value:Number(F.target.value),message:((q=(Q=P.validation)==null?void 0:Q.minLength)==null?void 0:q.message)??"Muy corto"}:void 0}}),className:"w-24"}),o.jsx(ye,{placeholder:"mensaje",value:((Z=(T=m.validation)==null?void 0:T.minLength)==null?void 0:Z.message)??"",onChange:F=>r(m.name,P=>{var q;const Q=(q=P.validation)==null?void 0:q.minLength;P.validation={...P.validation??{},minLength:Q?{...Q,message:F.target.value}:{value:0,message:F.target.value}}})})]})]}),o.jsxs("div",{children:[o.jsx("div",{className:"text-xs opacity-70 text-[var(--color-ds-text-primary)] pb-1",children:"maxLength"}),o.jsxs("div",{className:"flex gap-2",children:[o.jsx(ye,{type:"number",value:((B=(R=m.validation)==null?void 0:R.maxLength)==null?void 0:B.value)??"",onChange:F=>r(m.name,P=>{var Q,q;P.validation={...P.validation??{},maxLength:F.target.value?{value:Number(F.target.value),message:((q=(Q=P.validation)==null?void 0:Q.maxLength)==null?void 0:q.message)??"Muy largo"}:void 0}}),className:"w-24"}),o.jsx(ye,{placeholder:"mensaje",value:((pe=(ae=m.validation)==null?void 0:ae.maxLength)==null?void 0:pe.message)??"",onChange:F=>r(m.name,P=>{var q;const Q=(q=P.validation)==null?void 0:q.maxLength;P.validation={...P.validation??{},maxLength:Q?{...Q,message:F.target.value}:{value:0,message:F.target.value}}})})]})]}),o.jsxs("div",{children:[o.jsx("div",{className:"text-xs opacity-70 text-[var(--color-ds-text-primary)] pb-1",children:"pattern (RegExp)"}),o.jsxs("div",{className:"flex gap-2",children:[o.jsx(ye,{placeholder:"^\\\\d+$",value:((le=(ve=(oe=m.validation)==null?void 0:oe.pattern)==null?void 0:ve.value)==null?void 0:le.source)??"",onChange:F=>r(m.name,P=>{var Q,q;P.validation={...P.validation??{},pattern:F.target.value?{value:new RegExp(F.target.value),message:((q=(Q=P.validation)==null?void 0:Q.pattern)==null?void 0:q.message)??"Formato inválido"}:void 0}})}),o.jsx(ye,{placeholder:"mensaje",value:((Ce=(he=m.validation)==null?void 0:he.pattern)==null?void 0:Ce.message)??"",onChange:F=>r(m.name,P=>{var q;const Q=(q=P.validation)==null?void 0:q.pattern;P.validation={...P.validation??{},pattern:Q?{...Q,message:F.target.value}:{value:/.*/,message:F.target.value}}})})]})]})]}),A&&o.jsxs("div",{className:"grid gap-2",children:[o.jsx("div",{className:"text-xs opacity-70 text-[var(--color-ds-text-primary)] pt-2",children:"Número"}),o.jsxs("div",{className:"flex gap-2",children:[o.jsx(ye,{type:"number",label:"min",className:"w-28",value:((ke=(xe=m.validation)==null?void 0:xe.numberMin)==null?void 0:ke.value)??"",onChange:F=>r(m.name,P=>{var Q,q;P.validation={...P.validation??{},numberMin:F.target.value?{value:Number(F.target.value),message:((q=(Q=P.validation)==null?void 0:Q.numberMin)==null?void 0:q.message)??"Demasiado pequeño"}:void 0}})}),o.jsx(ye,{type:"number",label:"max",className:"w-28",value:((Ne=(ne=m.validation)==null?void 0:ne.numberMax)==null?void 0:Ne.value)??"",onChange:F=>r(m.name,P=>{var Q,q;P.validation={...P.validation??{},numberMax:F.target.value?{value:Number(F.target.value),message:((q=(Q=P.validation)==null?void 0:Q.numberMax)==null?void 0:q.message)??"Demasiado grande"}:void 0}})}),o.jsx(ye,{type:"number",label:"step",className:"w-28",value:((w=(Ae=m.validation)==null?void 0:Ae.step)==null?void 0:w.value)??"",onChange:F=>r(m.name,P=>{var Q,q;P.validation={...P.validation??{},step:F.target.value?{value:Number(F.target.value),message:((q=(Q=P.validation)==null?void 0:Q.step)==null?void 0:q.message)??"Incremento inválido"}:void 0}})})]}),o.jsxs("div",{className:"flex gap-4",children:[o.jsx(dt,{size:"sm",label:"Solo enteros",checked:!!((O=(E=m.validation)==null?void 0:E.integerOnly)!=null&&O.value),onChange:F=>r(m.name,P=>{var Q,q;P.validation={...P.validation??{},integerOnly:F?{value:!0,message:((q=(Q=P.validation)==null?void 0:Q.integerOnly)==null?void 0:q.message)??"Debe ser entero"}:void 0}})}),o.jsx(dt,{size:"sm",label:"Solo positivos",checked:!!((H=(ee=m.validation)==null?void 0:ee.positiveOnly)!=null&&H.value),onChange:F=>r(m.name,P=>{var Q,q;P.validation={...P.validation??{},positiveOnly:F?{value:!0,message:((q=(Q=P.validation)==null?void 0:Q.positiveOnly)==null?void 0:q.message)??"Debe ser positivo"}:void 0}})})]})]}),y&&m.multiple&&o.jsxs("div",{className:"grid gap-2",children:[o.jsx("div",{className:"text-xs opacity-70 text-[var(--color-ds-text-primary)] pt-2",children:"Select (múltiple)"}),o.jsxs("div",{className:"flex gap-2",children:[o.jsx(ye,{type:"number",label:"mín. seleccionados",className:"w-40",value:((ue=(G=m.validation)==null?void 0:G.selectMin)==null?void 0:ue.value)??"",onChange:F=>r(m.name,P=>{var Q,q;P.validation={...P.validation??{},selectMin:F.target.value?{value:Number(F.target.value),message:((q=(Q=P.validation)==null?void 0:Q.selectMin)==null?void 0:q.message)??"Selecciona más opciones"}:void 0}})}),o.jsx(ye,{type:"number",label:"máx. seleccionados",className:"w-40",value:((we=(be=m.validation)==null?void 0:be.selectMax)==null?void 0:we.value)??"",onChange:F=>r(m.name,P=>{var Q,q;P.validation={...P.validation??{},selectMax:F.target.value?{value:Number(F.target.value),message:((q=(Q=P.validation)==null?void 0:Q.selectMax)==null?void 0:q.message)??"Demasiadas opciones"}:void 0}})})]})]}),k&&o.jsxs("div",{className:"grid gap-2",children:[o.jsx("div",{className:"text-xs opacity-70 text-[var(--color-ds-text-primary)] pt-2",children:"Fecha"}),o.jsxs("div",{className:"flex gap-2",children:[o.jsx(Fr,{size:"sm",label:"minDate",className:"w-44",showTime:!!m.showTime,defaultValue:((vt=(Fe=m.validation)==null?void 0:Fe.dateMin)==null?void 0:vt.value)??"",onChange:F=>r(m.name,P=>{var Q,q;P.validation={...P.validation??{},dateMin:F.target.value?{value:F.target.value,message:((q=(Q=P.validation)==null?void 0:Q.dateMin)==null?void 0:q.message)??"Demasiado antigua"}:void 0}})}),o.jsx(Fr,{size:"sm",label:"maxDate",className:"w-44",showTime:!!m.showTime,defaultValue:((Vt=(Me=m.validation)==null?void 0:Me.dateMax)==null?void 0:Vt.value)??"",onChange:F=>r(m.name,P=>{var Q,q;P.validation={...P.validation??{},dateMax:F.target.value?{value:F.target.value,message:((q=(Q=P.validation)==null?void 0:Q.dateMax)==null?void 0:q.message)??"Demasiado futura"}:void 0}})})]}),o.jsxs("div",{className:"flex gap-4",children:[o.jsx(dt,{size:"sm",label:"No permitir pasado",checked:!!((Ot=(Ft=m.validation)==null?void 0:Ft.disallowPast)!=null&&Ot.value),onChange:F=>r(m.name,P=>{var Q,q;P.validation={...P.validation??{},disallowPast:F?{value:!0,message:((q=(Q=P.validation)==null?void 0:Q.disallowPast)==null?void 0:q.message)??"No se permiten fechas pasadas"}:void 0}})}),o.jsx(dt,{size:"sm",label:"No permitir futuro",checked:!!((Dt=(Rt=m.validation)==null?void 0:Rt.disallowFuture)!=null&&Dt.value),onChange:F=>r(m.name,P=>{var Q,q;P.validation={...P.validation??{},disallowFuture:F?{value:!0,message:((q=(Q=P.validation)==null?void 0:Q.disallowFuture)==null?void 0:q.message)??"No se permiten fechas futuras"}:void 0}})})]})]}),_&&o.jsxs("div",{className:"grid gap-2",children:[o.jsx("div",{className:"text-xs opacity-70 text-[var(--color-ds-text-primary)] pt-2",children:"Archivo"}),o.jsx(ye,{type:"number",label:"Tamaño máx. por archivo (MB)",className:"w-56",value:((Mt=(rr=m.validation)==null?void 0:rr.fileMaxSizeMB)==null?void 0:Mt.value)??"",onChange:F=>r(m.name,P=>{var Q,q;P.validation={...P.validation??{},fileMaxSizeMB:F.target.value?{value:Number(F.target.value),message:((q=(Q=P.validation)==null?void 0:Q.fileMaxSizeMB)==null?void 0:q.message)??"Archivo demasiado grande"}:void 0}})})]})]})]})}function Ih(e){return typeof e.type=="string"}function Vh(e){const t=e.validation;return t===void 0||typeof t=="object"}function Bh(e){const t=e.options;return Array.isArray(t)}function Uh(e){return Object.prototype.toString.call(e)==="[object RegExp]"}function Lt(e){return String(e).replace(/\\/g,"\\\\").replace(/`/g,"\\`")}function qh(e){var a,i,l,c,d;const t=Ih(e)&&e.type?e.type:"string";let r="yup.string()";switch(t){case"number":r="yup.number()";break;case"checkbox":r="yup.boolean()";break;case"date":r="yup.date().nullable()";break;case"file":r="yup.array()";break;case"select":case"text":case"email":case"password":case"textarea":default:r="yup.string()";break}const s=Vh(e)&&e.validation?e.validation:{},n=[r];if(s.required){const u=typeof s.required=="string"?s.required:s.requiredMessage||"Requerido";n.push(`.required(\`${Lt(u)}\`)`)}if(((a=s.minLength)==null?void 0:a.value)!=null&&n.push(`.min(${Number(s.minLength.value)}, \`${Lt(s.minLength.message??"Muy corto")}\`)`),((i=s.maxLength)==null?void 0:i.value)!=null&&n.push(`.max(${Number(s.maxLength.value)}, \`${Lt(s.maxLength.message??"Muy largo")}\`)`),(l=s.pattern)!=null&&l.value&&Uh(s.pattern.value)){const u=s.pattern.value.source,f=s.pattern.value.flags||"";n.push(`.matches(new RegExp(\`${Lt(u)}\`, \`${Lt(f)}\`), \`${Lt(s.pattern.message??"Formato inválido")}\`)`)}if(t==="number"&&(((c=s.min)==null?void 0:c.value)!=null&&n.push(`.min(${Number(s.min.value)}, \`${Lt(s.min.message??"Demasiado pequeño")}\`)`),((d=s.max)==null?void 0:d.value)!=null&&n.push(`.max(${Number(s.max.value)}, \`${Lt(s.max.message??"Demasiado grande")}\`)`)),t==="select"&&Bh(e)&&e.options&&e.options.length){const u=e.options.map(f=>JSON.stringify(String(f.value)));n.push(`.oneOf([${u.join(", ")}])`)}return n.join("")}function Wh(e,t="validationSchema"){const r=[],s=e.fields??[];for(const i of s){const l=i;!l.name||typeof l.name!="string"||r.push(` ${l.name}: ${qh(l)},`)}const n=r.join(`
81
+ `},mA={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was moved over droppable area "+r.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was dropped over droppable area "+r.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function hA(e){let{announcements:t=mA,container:r,hiddenTextDescribedById:n,screenReaderInstructions:o=fA}=e;const{announce:l,announcement:i}=dA(),c=kn("DndLiveRegion"),[d,u]=v.useState(!1);if(v.useEffect(()=>{u(!0)},[]),Rn(v.useMemo(()=>({onDragStart(m){let{active:h}=m;l(t.onDragStart({active:h}))},onDragMove(m){let{active:h,over:g}=m;t.onDragMove&&l(t.onDragMove({active:h,over:g}))},onDragOver(m){let{active:h,over:g}=m;l(t.onDragOver({active:h,over:g}))},onDragEnd(m){let{active:h,over:g}=m;l(t.onDragEnd({active:h,over:g}))},onDragCancel(m){let{active:h,over:g}=m;l(t.onDragCancel({active:h,over:g}))}}),[l,t])),!d)return null;const f=v.createElement(v.Fragment,null,v.createElement(iA,{id:n,value:o.draggable}),v.createElement(cA,{id:c,announcement:i}));return r?sr.createPortal(f,r):f}var Je;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(Je||(Je={}));function pa(){}function va(e,t){return v.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function u5(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return v.useMemo(()=>[...t].filter(n=>n!=null),[...t])}const Ft=Object.freeze({x:0,y:0});function ys(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function pA(e,t){const r=ha(e);if(!r)return"0 0";const n={x:(r.x-t.left)/t.width*100,y:(r.y-t.top)/t.height*100};return n.x+"% "+n.y+"%"}function Es(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return r-n}function vA(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return n-r}function No(e){let{left:t,top:r,height:n,width:o}=e;return[{x:t,y:r},{x:t+o,y:r},{x:t,y:r+n},{x:t+o,y:r+n}]}function f5(e,t){if(!e||e.length===0)return null;const[r]=e;return r[t]}function Nl(e,t,r){return t===void 0&&(t=e.left),r===void 0&&(r=e.top),{x:t+e.width*.5,y:r+e.height*.5}}const m5=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const o=Nl(t,t.left,t.top),l=[];for(const i of n){const{id:c}=i,d=r.get(c);if(d){const u=ys(Nl(d),o);l.push({id:c,data:{droppableContainer:i,value:u}})}}return l.sort(Es)},wA=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const o=No(t),l=[];for(const i of n){const{id:c}=i,d=r.get(c);if(d){const u=No(d),f=o.reduce((h,g,w)=>h+ys(u[w],g),0),m=Number((f/4).toFixed(4));l.push({id:c,data:{droppableContainer:i,value:m}})}}return l.sort(Es)};function gA(e,t){const r=Math.max(t.top,e.top),n=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),l=Math.min(t.top+t.height,e.top+e.height),i=o-n,c=l-r;if(n<o&&r<l){const d=t.width*t.height,u=e.width*e.height,f=i*c,m=f/(d+u-f);return Number(m.toFixed(4))}return 0}const h5=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const o=[];for(const l of n){const{id:i}=l,c=r.get(i);if(c){const d=gA(c,t);d>0&&o.push({id:i,data:{droppableContainer:l,value:d}})}}return o.sort(vA)};function bA(e,t){const{top:r,left:n,bottom:o,right:l}=t;return r<=e.y&&e.y<=o&&n<=e.x&&e.x<=l}const xA=e=>{let{droppableContainers:t,droppableRects:r,pointerCoordinates:n}=e;if(!n)return[];const o=[];for(const l of t){const{id:i}=l,c=r.get(i);if(c&&bA(n,c)){const u=No(c).reduce((m,h)=>m+ys(n,h),0),f=Number((u/4).toFixed(4));o.push({id:i,data:{droppableContainer:l,value:f}})}}return o.sort(Es)};function yA(e,t,r){return{...e,scaleX:t&&r?t.width/r.width:1,scaleY:t&&r?t.height/r.height:1}}function p5(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:Ft}function EA(e){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),l=1;l<n;l++)o[l-1]=arguments[l];return o.reduce((i,c)=>({...i,top:i.top+e*c.y,bottom:i.bottom+e*c.y,left:i.left+e*c.x,right:i.right+e*c.x}),{...r})}}const kA=EA(1);function v5(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function RA(e,t,r){const n=v5(t);if(!n)return e;const{scaleX:o,scaleY:l,x:i,y:c}=n,d=e.left-i-(1-o)*parseFloat(r),u=e.top-c-(1-l)*parseFloat(r.slice(r.indexOf(" ")+1)),f=o?e.width/o:e.width,m=l?e.height/l:e.height;return{width:f,height:m,top:u,right:d+f,bottom:u+m,left:d}}const jA={ignoreTransform:!1};function Br(e,t){t===void 0&&(t=jA);let r=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:u,transformOrigin:f}=it(e).getComputedStyle(e);u&&(r=RA(r,u,f))}const{top:n,left:o,width:l,height:i,bottom:c,right:d}=r;return{top:n,left:o,width:l,height:i,bottom:c,right:d}}function Fl(e){return Br(e,{ignoreTransform:!0})}function CA(e){const t=e.innerWidth,r=e.innerHeight;return{top:0,left:0,right:t,bottom:r,width:t,height:r}}function MA(e,t){return t===void 0&&(t=it(e).getComputedStyle(e)),t.position==="fixed"}function AA(e,t){t===void 0&&(t=it(e).getComputedStyle(e));const r=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(o=>{const l=t[o];return typeof l=="string"?r.test(l):!1})}function Oa(e,t){const r=[];function n(o){if(t!=null&&r.length>=t||!o)return r;if(xs(o)&&o.scrollingElement!=null&&!r.includes(o.scrollingElement))return r.push(o.scrollingElement),r;if(!yn(o)||i5(o)||r.includes(o))return r;const l=it(e).getComputedStyle(o);return o!==e&&AA(o,l)&&r.push(o),MA(o,l)?r:n(o.parentNode)}return e?n(e):r}function w5(e){const[t]=Oa(e,1);return t??null}function oo(e){return!Sa||!e?null:Ir(e)?e:bs(e)?xs(e)||e===Zr(e).scrollingElement?window:yn(e)?e:null:null}function g5(e){return Ir(e)?e.scrollX:e.scrollLeft}function b5(e){return Ir(e)?e.scrollY:e.scrollTop}function Fo(e){return{x:g5(e),y:b5(e)}}var et;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(et||(et={}));function x5(e){return!Sa||!e?!1:e===document.scrollingElement}function y5(e){const t={x:0,y:0},r=x5(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},n={x:e.scrollWidth-r.width,y:e.scrollHeight-r.height},o=e.scrollTop<=t.y,l=e.scrollLeft<=t.x,i=e.scrollTop>=n.y,c=e.scrollLeft>=n.x;return{isTop:o,isLeft:l,isBottom:i,isRight:c,maxScroll:n,minScroll:t}}const SA={x:.2,y:.2};function $A(e,t,r,n,o){let{top:l,left:i,right:c,bottom:d}=r;n===void 0&&(n=10),o===void 0&&(o=SA);const{isTop:u,isBottom:f,isLeft:m,isRight:h}=y5(e),g={x:0,y:0},w={x:0,y:0},x={height:t.height*o.y,width:t.width*o.x};return!u&&l<=t.top+x.height?(g.y=et.Backward,w.y=n*Math.abs((t.top+x.height-l)/x.height)):!f&&d>=t.bottom-x.height&&(g.y=et.Forward,w.y=n*Math.abs((t.bottom-x.height-d)/x.height)),!h&&c>=t.right-x.width?(g.x=et.Forward,w.x=n*Math.abs((t.right-x.width-c)/x.width)):!m&&i<=t.left+x.width&&(g.x=et.Backward,w.x=n*Math.abs((t.left+x.width-i)/x.width)),{direction:g,speed:w}}function LA(e){if(e===document.scrollingElement){const{innerWidth:l,innerHeight:i}=window;return{top:0,left:0,right:l,bottom:i,width:l,height:i}}const{top:t,left:r,right:n,bottom:o}=e.getBoundingClientRect();return{top:t,left:r,right:n,bottom:o,width:e.clientWidth,height:e.clientHeight}}function E5(e){return e.reduce((t,r)=>Ar(t,Fo(r)),Ft)}function OA(e){return e.reduce((t,r)=>t+g5(r),0)}function NA(e){return e.reduce((t,r)=>t+b5(r),0)}function k5(e,t){if(t===void 0&&(t=Br),!e)return;const{top:r,left:n,bottom:o,right:l}=t(e);w5(e)&&(o<=0||l<=0||r>=window.innerHeight||n>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const FA=[["x",["left","right"],OA],["y",["top","bottom"],NA]];class ks{constructor(t,r){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=Oa(r),o=E5(n);this.rect={...t},this.width=t.width,this.height=t.height;for(const[l,i,c]of FA)for(const d of i)Object.defineProperty(this,d,{get:()=>{const u=c(n),f=o[l]-u;return this.rect[d]+f},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Xr{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(r=>{var n;return(n=this.target)==null?void 0:n.removeEventListener(...r)})},this.target=t}add(t,r,n){var o;(o=this.target)==null||o.addEventListener(t,r,n),this.listeners.push([t,r,n])}}function IA(e){const{EventTarget:t}=it(e);return e instanceof t?e:Zr(e)}function so(e,t){const r=Math.abs(e.x),n=Math.abs(e.y);return typeof t=="number"?Math.sqrt(r**2+n**2)>t:"x"in t&&"y"in t?r>t.x&&n>t.y:"x"in t?r>t.x:"y"in t?n>t.y:!1}var Ct;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(Ct||(Ct={}));function Il(e){e.preventDefault()}function ZA(e){e.stopPropagation()}var $e;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"})($e||($e={}));const R5={start:[$e.Space,$e.Enter],cancel:[$e.Esc],end:[$e.Space,$e.Enter,$e.Tab]},BA=(e,t)=>{let{currentCoordinates:r}=t;switch(e.code){case $e.Right:return{...r,x:r.x+25};case $e.Left:return{...r,x:r.x-25};case $e.Down:return{...r,y:r.y+25};case $e.Up:return{...r,y:r.y-25}}};class Na{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:r}}=t;this.props=t,this.listeners=new Xr(Zr(r)),this.windowListeners=new Xr(it(r)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Ct.Resize,this.handleCancel),this.windowListeners.add(Ct.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Ct.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:r}=this.props,n=t.node.current;n&&k5(n),r(Ft)}handleKeyDown(t){if(La(t)){const{active:r,context:n,options:o}=this.props,{keyboardCodes:l=R5,coordinateGetter:i=BA,scrollBehavior:c="smooth"}=o,{code:d}=t;if(l.end.includes(d)){this.handleEnd(t);return}if(l.cancel.includes(d)){this.handleCancel(t);return}const{collisionRect:u}=n.current,f=u?{x:u.left,y:u.top}:Ft;this.referenceCoordinates||(this.referenceCoordinates=f);const m=i(t,{active:r,context:n.current,currentCoordinates:f});if(m){const h=un(m,f),g={x:0,y:0},{scrollableAncestors:w}=n.current;for(const x of w){const y=t.code,{isTop:b,isRight:p,isLeft:E,isBottom:R,maxScroll:j,minScroll:A}=y5(x),S=LA(x),N={x:Math.min(y===$e.Right?S.right-S.width/2:S.right,Math.max(y===$e.Right?S.left:S.left+S.width/2,m.x)),y:Math.min(y===$e.Down?S.bottom-S.height/2:S.bottom,Math.max(y===$e.Down?S.top:S.top+S.height/2,m.y))},B=y===$e.Right&&!p||y===$e.Left&&!E,$=y===$e.Down&&!R||y===$e.Up&&!b;if(B&&N.x!==m.x){const _=x.scrollLeft+h.x,W=y===$e.Right&&_<=j.x||y===$e.Left&&_>=A.x;if(W&&!h.y){x.scrollTo({left:_,behavior:c});return}W?g.x=x.scrollLeft-_:g.x=y===$e.Right?x.scrollLeft-j.x:x.scrollLeft-A.x,g.x&&x.scrollBy({left:-g.x,behavior:c});break}else if($&&N.y!==m.y){const _=x.scrollTop+h.y,W=y===$e.Down&&_<=j.y||y===$e.Up&&_>=A.y;if(W&&!h.x){x.scrollTo({top:_,behavior:c});return}W?g.y=x.scrollTop-_:g.y=y===$e.Down?x.scrollTop-j.y:x.scrollTop-A.y,g.y&&x.scrollBy({top:-g.y,behavior:c});break}}this.handleMove(t,Ar(un(m,this.referenceCoordinates),g))}}}handleMove(t,r){const{onMove:n}=this.props;t.preventDefault(),n(r)}handleEnd(t){const{onEnd:r}=this.props;t.preventDefault(),this.detach(),r()}handleCancel(t){const{onCancel:r}=this.props;t.preventDefault(),this.detach(),r()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}Na.activators=[{eventName:"onKeyDown",handler:(e,t,r)=>{let{keyboardCodes:n=R5,onActivation:o}=t,{active:l}=r;const{code:i}=e.nativeEvent;if(n.start.includes(i)){const c=l.activatorNode.current;return c&&e.target!==c?!1:(e.preventDefault(),o==null||o({event:e.nativeEvent}),!0)}return!1}}];function Zl(e){return!!(e&&"distance"in e)}function Bl(e){return!!(e&&"delay"in e)}class Rs{constructor(t,r,n){var o;n===void 0&&(n=IA(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=r;const{event:l}=t,{target:i}=l;this.props=t,this.events=r,this.document=Zr(i),this.documentListeners=new Xr(this.document),this.listeners=new Xr(n),this.windowListeners=new Xr(it(i)),this.initialCoordinates=(o=ha(l))!=null?o:Ft,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:r,bypassActivationConstraint:n}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),t.cancel&&this.listeners.add(t.cancel.name,this.handleCancel),this.windowListeners.add(Ct.Resize,this.handleCancel),this.windowListeners.add(Ct.DragStart,Il),this.windowListeners.add(Ct.VisibilityChange,this.handleCancel),this.windowListeners.add(Ct.ContextMenu,Il),this.documentListeners.add(Ct.Keydown,this.handleKeydown),r){if(n!=null&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Bl(r)){this.timeoutId=setTimeout(this.handleStart,r.delay),this.handlePending(r);return}if(Zl(r)){this.handlePending(r);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(t,r){const{active:n,onPending:o}=this.props;o(n,t,this.initialCoordinates,r)}handleStart(){const{initialCoordinates:t}=this,{onStart:r}=this.props;t&&(this.activated=!0,this.documentListeners.add(Ct.Click,ZA,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Ct.SelectionChange,this.removeTextSelection),r(t))}handleMove(t){var r;const{activated:n,initialCoordinates:o,props:l}=this,{onMove:i,options:{activationConstraint:c}}=l;if(!o)return;const d=(r=ha(t))!=null?r:Ft,u=un(o,d);if(!n&&c){if(Zl(c)){if(c.tolerance!=null&&so(u,c.tolerance))return this.handleCancel();if(so(u,c.distance))return this.handleStart()}if(Bl(c)&&so(u,c.tolerance))return this.handleCancel();this.handlePending(c,u);return}t.cancelable&&t.preventDefault(),i(d)}handleEnd(){const{onAbort:t,onEnd:r}=this.props;this.detach(),this.activated||t(this.props.active),r()}handleCancel(){const{onAbort:t,onCancel:r}=this.props;this.detach(),this.activated||t(this.props.active),r()}handleKeydown(t){t.code===$e.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const VA={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class Fa extends Rs{constructor(t){const{event:r}=t,n=Zr(r.target);super(t,VA,n)}}Fa.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return!r.isPrimary||r.button!==0?!1:(n==null||n({event:r}),!0)}}];const TA={move:{name:"mousemove"},end:{name:"mouseup"}};var Io;(function(e){e[e.RightClick=2]="RightClick"})(Io||(Io={}));class DA extends Rs{constructor(t){super(t,TA,Zr(t.event.target))}}DA.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return r.button===Io.RightClick?!1:(n==null||n({event:r}),!0)}}];const lo={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class HA extends Rs{constructor(t){super(t,lo)}static setup(){return window.addEventListener(lo.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(lo.move.name,t)};function t(){}}}HA.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;const{touches:o}=r;return o.length>1?!1:(n==null||n({event:r}),!0)}}];var Qr;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(Qr||(Qr={}));var wa;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(wa||(wa={}));function _A(e){let{acceleration:t,activator:r=Qr.Pointer,canScroll:n,draggingRect:o,enabled:l,interval:i=5,order:c=wa.TreeOrder,pointerCoordinates:d,scrollableAncestors:u,scrollableAncestorRects:f,delta:m,threshold:h}=e;const g=WA({delta:m,disabled:!l}),[w,x]=nA(),y=v.useRef({x:0,y:0}),b=v.useRef({x:0,y:0}),p=v.useMemo(()=>{switch(r){case Qr.Pointer:return d?{top:d.y,bottom:d.y,left:d.x,right:d.x}:null;case Qr.DraggableRect:return o}},[r,o,d]),E=v.useRef(null),R=v.useCallback(()=>{const A=E.current;if(!A)return;const S=y.current.x*b.current.x,N=y.current.y*b.current.y;A.scrollBy(S,N)},[]),j=v.useMemo(()=>c===wa.TreeOrder?[...u].reverse():u,[c,u]);v.useEffect(()=>{if(!l||!u.length||!p){x();return}for(const A of j){if((n==null?void 0:n(A))===!1)continue;const S=u.indexOf(A),N=f[S];if(!N)continue;const{direction:B,speed:$}=$A(A,N,p,t,h);for(const _ of["x","y"])g[_][B[_]]||($[_]=0,B[_]=0);if($.x>0||$.y>0){x(),E.current=A,w(R,i),y.current=$,b.current=B;return}}y.current={x:0,y:0},b.current={x:0,y:0},x()},[t,R,n,x,l,i,JSON.stringify(p),JSON.stringify(g),w,u,j,f,JSON.stringify(h)])}const PA={x:{[et.Backward]:!1,[et.Forward]:!1},y:{[et.Backward]:!1,[et.Forward]:!1}};function WA(e){let{delta:t,disabled:r}=e;const n=ma(t);return En(o=>{if(r||!n||!o)return PA;const l={x:Math.sign(t.x-n.x),y:Math.sign(t.y-n.y)};return{x:{[et.Backward]:o.x[et.Backward]||l.x===-1,[et.Forward]:o.x[et.Forward]||l.x===1},y:{[et.Backward]:o.y[et.Backward]||l.y===-1,[et.Forward]:o.y[et.Forward]||l.y===1}}},[r,t,n])}function zA(e,t){const r=t!=null?e.get(t):void 0,n=r?r.node.current:null;return En(o=>{var l;return t==null?null:(l=n??o)!=null?l:null},[n,t])}function qA(e,t){return v.useMemo(()=>e.reduce((r,n)=>{const{sensor:o}=n,l=o.activators.map(i=>({eventName:i.eventName,handler:t(i.handler,n)}));return[...r,...l]},[]),[e,t])}var fn;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(fn||(fn={}));var Zo;(function(e){e.Optimized="optimized"})(Zo||(Zo={}));const Vl=new Map;function UA(e,t){let{dragging:r,dependencies:n,config:o}=t;const[l,i]=v.useState(null),{frequency:c,measure:d,strategy:u}=o,f=v.useRef(e),m=y(),h=dn(m),g=v.useCallback(function(b){b===void 0&&(b=[]),!h.current&&i(p=>p===null?b:p.concat(b.filter(E=>!p.includes(E))))},[h]),w=v.useRef(null),x=En(b=>{if(m&&!r)return Vl;if(!b||b===Vl||f.current!==e||l!=null){const p=new Map;for(let E of e){if(!E)continue;if(l&&l.length>0&&!l.includes(E.id)&&E.rect.current){p.set(E.id,E.rect.current);continue}const R=E.node.current,j=R?new ks(d(R),R):null;E.rect.current=j,j&&p.set(E.id,j)}return p}return b},[e,l,r,m,d]);return v.useEffect(()=>{f.current=e},[e]),v.useEffect(()=>{m||g()},[r,m]),v.useEffect(()=>{l&&l.length>0&&i(null)},[JSON.stringify(l)]),v.useEffect(()=>{m||typeof c!="number"||w.current!==null||(w.current=setTimeout(()=>{g(),w.current=null},c))},[c,m,g,...n]),{droppableRects:x,measureDroppableContainers:g,measuringScheduled:l!=null};function y(){switch(u){case fn.Always:return!1;case fn.BeforeDragging:return r;default:return!r}}}function js(e,t){return En(r=>e?r||(typeof t=="function"?t(e):e):null,[t,e])}function GA(e,t){return js(e,t)}function KA(e){let{callback:t,disabled:r}=e;const n=$a(t),o=v.useMemo(()=>{if(r||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:l}=window;return new l(n)},[n,r]);return v.useEffect(()=>()=>o==null?void 0:o.disconnect(),[o]),o}function Ia(e){let{callback:t,disabled:r}=e;const n=$a(t),o=v.useMemo(()=>{if(r||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:l}=window;return new l(n)},[r]);return v.useEffect(()=>()=>o==null?void 0:o.disconnect(),[o]),o}function YA(e){return new ks(Br(e),e)}function Tl(e,t,r){t===void 0&&(t=YA);const[n,o]=v.useState(null);function l(){o(d=>{if(!e)return null;if(e.isConnected===!1){var u;return(u=d??r)!=null?u:null}const f=t(e);return JSON.stringify(d)===JSON.stringify(f)?d:f})}const i=KA({callback(d){if(e)for(const u of d){const{type:f,target:m}=u;if(f==="childList"&&m instanceof HTMLElement&&m.contains(e)){l();break}}}}),c=Ia({callback:l});return Nt(()=>{l(),e?(c==null||c.observe(e),i==null||i.observe(document.body,{childList:!0,subtree:!0})):(c==null||c.disconnect(),i==null||i.disconnect())},[e]),n}function JA(e){const t=js(e);return p5(e,t)}const Dl=[];function XA(e){const t=v.useRef(e),r=En(n=>e?n&&n!==Dl&&e&&t.current&&e.parentNode===t.current.parentNode?n:Oa(e):Dl,[e]);return v.useEffect(()=>{t.current=e},[e]),r}function QA(e){const[t,r]=v.useState(null),n=v.useRef(e),o=v.useCallback(l=>{const i=oo(l.target);i&&r(c=>c?(c.set(i,Fo(i)),new Map(c)):null)},[]);return v.useEffect(()=>{const l=n.current;if(e!==l){i(l);const c=e.map(d=>{const u=oo(d);return u?(u.addEventListener("scroll",o,{passive:!0}),[u,Fo(u)]):null}).filter(d=>d!=null);r(c.length?new Map(c):null),n.current=e}return()=>{i(e),i(l)};function i(c){c.forEach(d=>{const u=oo(d);u==null||u.removeEventListener("scroll",o)})}},[o,e]),v.useMemo(()=>e.length?t?Array.from(t.values()).reduce((l,i)=>Ar(l,i),Ft):E5(e):Ft,[e,t])}function Hl(e,t){t===void 0&&(t=[]);const r=v.useRef(null);return v.useEffect(()=>{r.current=null},t),v.useEffect(()=>{const n=e!==Ft;n&&!r.current&&(r.current=e),!n&&r.current&&(r.current=null)},[e]),r.current?un(e,r.current):Ft}function eS(e){v.useEffect(()=>{if(!Sa)return;const t=e.map(r=>{let{sensor:n}=r;return n.setup==null?void 0:n.setup()});return()=>{for(const r of t)r==null||r()}},e.map(t=>{let{sensor:r}=t;return r}))}function tS(e,t){return v.useMemo(()=>e.reduce((r,n)=>{let{eventName:o,handler:l}=n;return r[o]=i=>{l(i,t)},r},{}),[e,t])}function j5(e){return v.useMemo(()=>e?CA(e):null,[e])}const _l=[];function rS(e,t){t===void 0&&(t=Br);const[r]=e,n=j5(r?it(r):null),[o,l]=v.useState(_l);function i(){l(()=>e.length?e.map(d=>x5(d)?n:new ks(t(d),d)):_l)}const c=Ia({callback:i});return Nt(()=>{c==null||c.disconnect(),i(),e.forEach(d=>c==null?void 0:c.observe(d))},[e]),o}function C5(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return yn(t)?t:e}function nS(e){let{measure:t}=e;const[r,n]=v.useState(null),o=v.useCallback(u=>{for(const{target:f}of u)if(yn(f)){n(m=>{const h=t(f);return m?{...m,width:h.width,height:h.height}:h});break}},[t]),l=Ia({callback:o}),i=v.useCallback(u=>{const f=C5(u);l==null||l.disconnect(),f&&(l==null||l.observe(f)),n(f?t(f):null)},[t,l]),[c,d]=fa(i);return v.useMemo(()=>({nodeRef:c,rect:r,setRef:d}),[r,c,d])}const aS=[{sensor:Fa,options:{}},{sensor:Na,options:{}}],oS={current:{}},Xn={draggable:{measure:Fl},droppable:{measure:Fl,strategy:fn.WhileDragging,frequency:Zo.Optimized},dragOverlay:{measure:Br}};class en extends Map{get(t){var r;return t!=null&&(r=super.get(t))!=null?r:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:r}=t;return!r})}getNodeFor(t){var r,n;return(r=(n=this.get(t))==null?void 0:n.node.current)!=null?r:void 0}}const sS={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new en,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:pa},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Xn,measureDroppableContainers:pa,windowRect:null,measuringScheduled:!1},M5={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:pa,draggableNodes:new Map,over:null,measureDroppableContainers:pa},jn=v.createContext(M5),A5=v.createContext(sS);function lS(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new en}}}function iS(e,t){switch(t.type){case Je.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case Je.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case Je.DragEnd:case Je.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Je.RegisterDroppable:{const{element:r}=t,{id:n}=r,o=new en(e.droppable.containers);return o.set(n,r),{...e,droppable:{...e.droppable,containers:o}}}case Je.SetDroppableDisabled:{const{id:r,key:n,disabled:o}=t,l=e.droppable.containers.get(r);if(!l||n!==l.key)return e;const i=new en(e.droppable.containers);return i.set(r,{...l,disabled:o}),{...e,droppable:{...e.droppable,containers:i}}}case Je.UnregisterDroppable:{const{id:r,key:n}=t,o=e.droppable.containers.get(r);if(!o||n!==o.key)return e;const l=new en(e.droppable.containers);return l.delete(r),{...e,droppable:{...e.droppable,containers:l}}}default:return e}}function cS(e){let{disabled:t}=e;const{active:r,activatorEvent:n,draggableNodes:o}=v.useContext(jn),l=ma(n),i=ma(r==null?void 0:r.id);return v.useEffect(()=>{if(!t&&!n&&l&&i!=null){if(!La(l)||document.activeElement===l.target)return;const c=o.get(i);if(!c)return;const{activatorNode:d,node:u}=c;if(!d.current&&!u.current)return;requestAnimationFrame(()=>{for(const f of[d.current,u.current]){if(!f)continue;const m=sA(f);if(m){m.focus();break}}})}},[n,t,o,i,l]),null}function S5(e,t){let{transform:r,...n}=t;return e!=null&&e.length?e.reduce((o,l)=>l({transform:o,...n}),r):r}function dS(e){return v.useMemo(()=>({draggable:{...Xn.draggable,...e==null?void 0:e.draggable},droppable:{...Xn.droppable,...e==null?void 0:e.droppable},dragOverlay:{...Xn.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function uS(e){let{activeNode:t,measure:r,initialRect:n,config:o=!0}=e;const l=v.useRef(!1),{x:i,y:c}=typeof o=="boolean"?{x:o,y:o}:o;Nt(()=>{if(!i&&!c||!t){l.current=!1;return}if(l.current||!n)return;const u=t==null?void 0:t.node.current;if(!u||u.isConnected===!1)return;const f=r(u),m=p5(f,n);if(i||(m.x=0),c||(m.y=0),l.current=!0,Math.abs(m.x)>0||Math.abs(m.y)>0){const h=w5(u);h&&h.scrollBy({top:m.y,left:m.x})}},[t,i,c,n,r])}const Za=v.createContext({...Ft,scaleX:1,scaleY:1});var Jt;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(Jt||(Jt={}));const $5=v.memo(function(t){var r,n,o,l;let{id:i,accessibility:c,autoScroll:d=!0,children:u,sensors:f=aS,collisionDetection:m=h5,measuring:h,modifiers:g,...w}=t;const x=v.useReducer(iS,void 0,lS),[y,b]=x,[p,E]=uA(),[R,j]=v.useState(Jt.Uninitialized),A=R===Jt.Initialized,{draggable:{active:S,nodes:N,translate:B},droppable:{containers:$}}=y,_=S!=null?N.get(S):null,W=v.useRef({initial:null,translated:null}),K=v.useMemo(()=>{var Ve;return S!=null?{id:S,data:(Ve=_==null?void 0:_.data)!=null?Ve:oS,rect:W}:null},[S,_]),Q=v.useRef(null),[q,ce]=v.useState(null),[U,M]=v.useState(null),F=dn(w,Object.values(w)),ae=kn("DndDescribedBy",i),O=v.useMemo(()=>$.getEnabled(),[$]),J=dS(h),{droppableRects:T,measureDroppableContainers:Z,measuringScheduled:te}=UA(O,{dragging:A,dependencies:[B.x,B.y],config:J.droppable}),me=zA(N,S),re=v.useMemo(()=>U?ha(U):null,[U]),pe=Ce(),se=GA(me,J.draggable.measure);uS({activeNode:S!=null?N.get(S):null,config:pe.layoutShiftCompensation,initialRect:se,measure:J.draggable.measure});const le=Tl(me,J.draggable.measure,se),Ee=Tl(me?me.parentElement:null),be=v.useRef({activatorEvent:null,active:null,activeNode:me,collisionRect:null,collisions:null,droppableRects:T,draggableNodes:N,draggingNode:null,draggingNodeRect:null,droppableContainers:$,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Se=$.getNodeFor((r=be.current.over)==null?void 0:r.id),Le=nS({measure:J.dragOverlay.measure}),Ze=(n=Le.nodeRef.current)!=null?n:me,Me=A?(o=Le.rect)!=null?o:le:null,nt=!!(Le.nodeRef.current&&Le.rect),ct=JA(nt?null:le),D=j5(Ze?it(Ze):null),k=XA(A?Se??me:null),C=rS(k),L=S5(g,{transform:{x:B.x-ct.x,y:B.y-ct.y,scaleX:1,scaleY:1},activatorEvent:U,active:K,activeNodeRect:le,containerNodeRect:Ee,draggingNodeRect:Me,over:be.current.over,overlayNodeRect:Le.rect,scrollableAncestors:k,scrollableAncestorRects:C,windowRect:D}),z=re?Ar(re,B):null,P=QA(k),H=Hl(P),G=Hl(P,[le]),ue=Ar(L,H),ne=Me?kA(Me,L):null,oe=K&&ne?m({active:K,collisionRect:ne,droppableRects:T,droppableContainers:O,pointerCoordinates:z}):null,ke=f5(oe,"id"),[I,V]=v.useState(null),X=nt?L:Ar(L,G),ee=yA(X,(l=I==null?void 0:I.rect)!=null?l:null,le),je=v.useRef(null),he=v.useCallback((Ve,Be)=>{let{sensor:Ne,options:ge}=Be;if(Q.current==null)return;const Te=N.get(Q.current);if(!Te)return;const He=Ve.nativeEvent,ze=new Ne({active:Q.current,activeNode:Te,event:He,options:ge,context:be,onAbort(_e){if(!N.get(_e))return;const{onDragAbort:ot}=F.current,wt={id:_e};ot==null||ot(wt),p({type:"onDragAbort",event:wt})},onPending(_e,Rt,ot,wt){if(!N.get(_e))return;const{onDragPending:er}=F.current,It={id:_e,constraint:Rt,initialCoordinates:ot,offset:wt};er==null||er(It),p({type:"onDragPending",event:It})},onStart(_e){const Rt=Q.current;if(Rt==null)return;const ot=N.get(Rt);if(!ot)return;const{onDragStart:wt}=F.current,Qt={activatorEvent:He,active:{id:Rt,data:ot.data,rect:W}};sr.unstable_batchedUpdates(()=>{wt==null||wt(Qt),j(Jt.Initializing),b({type:Je.DragStart,initialCoordinates:_e,active:Rt}),p({type:"onDragStart",event:Qt}),ce(je.current),M(He)})},onMove(_e){b({type:Je.DragMove,coordinates:_e})},onEnd:dt(Je.DragEnd),onCancel:dt(Je.DragCancel)});je.current=ze;function dt(_e){return async function(){const{active:ot,collisions:wt,over:Qt,scrollAdjustedTranslate:er}=be.current;let It=null;if(ot&&er){const{cancelDrop:tr}=F.current;It={activatorEvent:He,active:ot,collisions:wt,delta:er,over:Qt},_e===Je.DragEnd&&typeof tr=="function"&&await Promise.resolve(tr(It))&&(_e=Je.DragCancel)}Q.current=null,sr.unstable_batchedUpdates(()=>{b({type:_e}),j(Jt.Uninitialized),V(null),ce(null),M(null),je.current=null;const tr=_e===Je.DragEnd?"onDragEnd":"onDragCancel";if(It){const Vr=F.current[tr];Vr==null||Vr(It),p({type:tr,event:It})}})}}},[N]),xe=v.useCallback((Ve,Be)=>(Ne,ge)=>{const Te=Ne.nativeEvent,He=N.get(ge);if(Q.current!==null||!He||Te.dndKit||Te.defaultPrevented)return;const ze={active:He};Ve(Ne,Be.options,ze)===!0&&(Te.dndKit={capturedBy:Be.sensor},Q.current=ge,he(Ne,Be))},[N,he]),Fe=qA(f,xe);eS(f),Nt(()=>{le&&R===Jt.Initializing&&j(Jt.Initialized)},[le,R]),v.useEffect(()=>{const{onDragMove:Ve}=F.current,{active:Be,activatorEvent:Ne,collisions:ge,over:Te}=be.current;if(!Be||!Ne)return;const He={active:Be,activatorEvent:Ne,collisions:ge,delta:{x:ue.x,y:ue.y},over:Te};sr.unstable_batchedUpdates(()=>{Ve==null||Ve(He),p({type:"onDragMove",event:He})})},[ue.x,ue.y]),v.useEffect(()=>{const{active:Ve,activatorEvent:Be,collisions:Ne,droppableContainers:ge,scrollAdjustedTranslate:Te}=be.current;if(!Ve||Q.current==null||!Be||!Te)return;const{onDragOver:He}=F.current,ze=ge.get(ke),dt=ze&&ze.rect.current?{id:ze.id,rect:ze.rect.current,data:ze.data,disabled:ze.disabled}:null,_e={active:Ve,activatorEvent:Be,collisions:Ne,delta:{x:Te.x,y:Te.y},over:dt};sr.unstable_batchedUpdates(()=>{V(dt),He==null||He(_e),p({type:"onDragOver",event:_e})})},[ke]),Nt(()=>{be.current={activatorEvent:U,active:K,activeNode:me,collisionRect:ne,collisions:oe,droppableRects:T,draggableNodes:N,draggingNode:Ze,draggingNodeRect:Me,droppableContainers:$,over:I,scrollableAncestors:k,scrollAdjustedTranslate:ue},W.current={initial:Me,translated:ne}},[K,me,oe,ne,N,Ze,Me,T,$,I,k,ue]),_A({...pe,delta:B,draggingRect:ne,pointerCoordinates:z,scrollableAncestors:k,scrollableAncestorRects:C});const Oe=v.useMemo(()=>({active:K,activeNode:me,activeNodeRect:le,activatorEvent:U,collisions:oe,containerNodeRect:Ee,dragOverlay:Le,draggableNodes:N,droppableContainers:$,droppableRects:T,over:I,measureDroppableContainers:Z,scrollableAncestors:k,scrollableAncestorRects:C,measuringConfiguration:J,measuringScheduled:te,windowRect:D}),[K,me,le,U,oe,Ee,Le,N,$,T,I,Z,k,C,J,te,D]),ye=v.useMemo(()=>({activatorEvent:U,activators:Fe,active:K,activeNodeRect:le,ariaDescribedById:{draggable:ae},dispatch:b,draggableNodes:N,over:I,measureDroppableContainers:Z}),[U,Fe,K,le,b,ae,N,I,Z]);return v.createElement(d5.Provider,{value:E},v.createElement(jn.Provider,{value:ye},v.createElement(A5.Provider,{value:Oe},v.createElement(Za.Provider,{value:ee},u)),v.createElement(cS,{disabled:(c==null?void 0:c.restoreFocus)===!1})),v.createElement(hA,{...c,hiddenTextDescribedById:ae}));function Ce(){const Ve=(q==null?void 0:q.autoScrollEnabled)===!1,Be=typeof d=="object"?d.enabled===!1:d===!1,Ne=A&&!Ve&&!Be;return typeof d=="object"?{...d,enabled:Ne}:{enabled:Ne}}}),fS=v.createContext(null),Pl="button",mS="Draggable";function pr(e){let{id:t,data:r,disabled:n=!1,attributes:o}=e;const l=kn(mS),{activators:i,activatorEvent:c,active:d,activeNodeRect:u,ariaDescribedById:f,draggableNodes:m,over:h}=v.useContext(jn),{role:g=Pl,roleDescription:w="draggable",tabIndex:x=0}=o??{},y=(d==null?void 0:d.id)===t,b=v.useContext(y?Za:fS),[p,E]=fa(),[R,j]=fa(),A=tS(i,t),S=dn(r);Nt(()=>(m.set(t,{id:t,key:l,node:p,activatorNode:R,data:S}),()=>{const B=m.get(t);B&&B.key===l&&m.delete(t)}),[m,t]);const N=v.useMemo(()=>({role:g,tabIndex:x,"aria-disabled":n,"aria-pressed":y&&g===Pl?!0:void 0,"aria-roledescription":w,"aria-describedby":f.draggable}),[n,g,x,y,w,f.draggable]);return{active:d,activatorEvent:c,activeNodeRect:u,attributes:N,isDragging:y,listeners:n?void 0:A,node:p,over:h,setNodeRef:E,setActivatorNodeRef:j,transform:b}}function L5(){return v.useContext(A5)}const hS="Droppable",pS={timeout:25};function Dt(e){let{data:t,disabled:r=!1,id:n,resizeObserverConfig:o}=e;const l=kn(hS),{active:i,dispatch:c,over:d,measureDroppableContainers:u}=v.useContext(jn),f=v.useRef({disabled:r}),m=v.useRef(!1),h=v.useRef(null),g=v.useRef(null),{disabled:w,updateMeasurementsFor:x,timeout:y}={...pS,...o},b=dn(x??n),p=v.useCallback(()=>{if(!m.current){m.current=!0;return}g.current!=null&&clearTimeout(g.current),g.current=setTimeout(()=>{u(Array.isArray(b.current)?b.current:[b.current]),g.current=null},y)},[y]),E=Ia({callback:p,disabled:w||!i}),R=v.useCallback((N,B)=>{E&&(B&&(E.unobserve(B),m.current=!1),N&&E.observe(N))},[E]),[j,A]=fa(R),S=dn(t);return v.useEffect(()=>{!E||!j.current||(E.disconnect(),m.current=!1,E.observe(j.current))},[j,E]),v.useEffect(()=>(c({type:Je.RegisterDroppable,element:{id:n,key:l,disabled:r,node:j,rect:h,data:S}}),()=>c({type:Je.UnregisterDroppable,key:l,id:n})),[n]),v.useEffect(()=>{r!==f.current.disabled&&(c({type:Je.SetDroppableDisabled,id:n,key:l,disabled:r}),f.current.disabled=r)},[n,l,r,c]),{active:i,rect:h,isOver:(d==null?void 0:d.id)===n,node:j,over:d,setNodeRef:A}}function vS(e){let{animation:t,children:r}=e;const[n,o]=v.useState(null),[l,i]=v.useState(null),c=ma(r);return!r&&!n&&c&&o(c),Nt(()=>{if(!l)return;const d=n==null?void 0:n.key,u=n==null?void 0:n.props.id;if(d==null||u==null){o(null);return}Promise.resolve(t(u,l)).then(()=>{o(null)})},[t,n,l]),v.createElement(v.Fragment,null,r,n?v.cloneElement(n,{ref:i}):null)}const wS={x:0,y:0,scaleX:1,scaleY:1};function gS(e){let{children:t}=e;return v.createElement(jn.Provider,{value:M5},v.createElement(Za.Provider,{value:wS},t))}const bS={position:"fixed",touchAction:"none"},xS=e=>La(e)?"transform 250ms ease":void 0,yS=v.forwardRef((e,t)=>{let{as:r,activatorEvent:n,adjustScale:o,children:l,className:i,rect:c,style:d,transform:u,transition:f=xS}=e;if(!c)return null;const m=o?u:{...u,scaleX:1,scaleY:1},h={...bS,width:c.width,height:c.height,top:c.top,left:c.left,transform:Xt.Transform.toString(m),transformOrigin:o&&n?pA(n,c):void 0,transition:typeof f=="function"?f(n):f,...d};return v.createElement(r,{className:i,style:h,ref:t},l)}),ES=e=>t=>{let{active:r,dragOverlay:n}=t;const o={},{styles:l,className:i}=e;if(l!=null&&l.active)for(const[c,d]of Object.entries(l.active))d!==void 0&&(o[c]=r.node.style.getPropertyValue(c),r.node.style.setProperty(c,d));if(l!=null&&l.dragOverlay)for(const[c,d]of Object.entries(l.dragOverlay))d!==void 0&&n.node.style.setProperty(c,d);return i!=null&&i.active&&r.node.classList.add(i.active),i!=null&&i.dragOverlay&&n.node.classList.add(i.dragOverlay),function(){for(const[d,u]of Object.entries(o))r.node.style.setProperty(d,u);i!=null&&i.active&&r.node.classList.remove(i.active)}},kS=e=>{let{transform:{initial:t,final:r}}=e;return[{transform:Xt.Transform.toString(t)},{transform:Xt.Transform.toString(r)}]},RS={duration:250,easing:"ease",keyframes:kS,sideEffects:ES({styles:{active:{opacity:"0"}}})};function jS(e){let{config:t,draggableNodes:r,droppableContainers:n,measuringConfiguration:o}=e;return $a((l,i)=>{if(t===null)return;const c=r.get(l);if(!c)return;const d=c.node.current;if(!d)return;const u=C5(i);if(!u)return;const{transform:f}=it(i).getComputedStyle(i),m=v5(f);if(!m)return;const h=typeof t=="function"?t:CS(t);return k5(d,o.draggable.measure),h({active:{id:l,data:c.data,node:d,rect:o.draggable.measure(d)},draggableNodes:r,dragOverlay:{node:i,rect:o.dragOverlay.measure(u)},droppableContainers:n,measuringConfiguration:o,transform:m})})}function CS(e){const{duration:t,easing:r,sideEffects:n,keyframes:o}={...RS,...e};return l=>{let{active:i,dragOverlay:c,transform:d,...u}=l;if(!t)return;const f={x:c.rect.left-i.rect.left,y:c.rect.top-i.rect.top},m={scaleX:d.scaleX!==1?i.rect.width*d.scaleX/c.rect.width:1,scaleY:d.scaleY!==1?i.rect.height*d.scaleY/c.rect.height:1},h={x:d.x-f.x,y:d.y-f.y,...m},g=o({...u,active:i,dragOverlay:c,transform:{initial:d,final:h}}),[w]=g,x=g[g.length-1];if(JSON.stringify(w)===JSON.stringify(x))return;const y=n==null?void 0:n({active:i,dragOverlay:c,...u}),b=c.node.animate(g,{duration:t,easing:r,fill:"forwards"});return new Promise(p=>{b.onfinish=()=>{y==null||y(),p()}})}}let Wl=0;function MS(e){return v.useMemo(()=>{if(e!=null)return Wl++,Wl},[e])}const O5=v.memo(e=>{let{adjustScale:t=!1,children:r,dropAnimation:n,style:o,transition:l,modifiers:i,wrapperElement:c="div",className:d,zIndex:u=999}=e;const{activatorEvent:f,active:m,activeNodeRect:h,containerNodeRect:g,draggableNodes:w,droppableContainers:x,dragOverlay:y,over:b,measuringConfiguration:p,scrollableAncestors:E,scrollableAncestorRects:R,windowRect:j}=L5(),A=v.useContext(Za),S=MS(m==null?void 0:m.id),N=S5(i,{activatorEvent:f,active:m,activeNodeRect:h,containerNodeRect:g,draggingNodeRect:y.rect,over:b,overlayNodeRect:y.rect,scrollableAncestors:E,scrollableAncestorRects:R,transform:A,windowRect:j}),B=js(h),$=jS({config:n,draggableNodes:w,droppableContainers:x,measuringConfiguration:p}),_=B?y.setRef:void 0;return v.createElement(gS,null,v.createElement(vS,{animation:$},m&&S?v.createElement(yS,{key:S,id:m.id,ref:_,as:c,activatorEvent:f,adjustScale:t,className:d,transition:l,rect:B,style:{zIndex:u,...o},transform:N},r):null))}),AS={text:"var(--comp-text)",number:"var(--comp-number)",email:"var(--comp-email)",password:"var(--comp-password, var(--comp-text))",tel:"var(--comp-tel, var(--comp-text))",url:"var(--comp-url, var(--comp-text))",select:"var(--comp-select)",checkbox:"var(--comp-checkbox)",textarea:"var(--comp-textarea)",date:"var(--comp-date)",file:"var(--comp-file)",search:"var(--comp-search, var(--comp-text))","section-layout":"var(--comp-section)","tabs-layout":"var(--comp-tabs)",inputGroup:"var(--comp-text)"};function Vt(e){return e?AS[e]??"var(--comp-file)":"var(--comp-file)"}function Tt(e){const t="w-4 h-4",r={color:Vt(e)};switch(e){case"text":return s.jsx(Uo,{className:t,style:r});case"number":return s.jsx(zo,{className:t,style:r});case"email":return s.jsx(_o,{className:t,style:r});case"password":return s.jsx(I0,{className:t,style:r});case"tel":return s.jsx(Go,{className:t,style:r});case"url":return s.jsx(qo,{className:t,style:r});case"select":return s.jsx(F0,{className:t,style:r});case"checkbox":return s.jsx(ya,{className:t,style:r});case"textarea":return s.jsx(L0,{className:t,style:r});case"date":return s.jsx(j0,{className:t,style:r});case"file":return s.jsx($0,{className:t,style:r});case"search":return s.jsx(Z0,{className:t,style:r});case"section-layout":return s.jsx(po,{className:t,style:r});case"tabs-layout":return s.jsx(Ko,{className:t,style:r});case"inputGroup":return s.jsx(po,{className:t,style:r});default:return s.jsx(rn,{className:t,style:r})}}const SS=[{value:"text",label:"Texto"},{value:"number",label:"Número"},{value:"email",label:"Email"},{value:"password",label:"Password"},{value:"tel",label:"Teléfono"},{value:"url",label:"URL"},{value:"textarea",label:"Textarea"},{value:"select",label:"Select"},{value:"checkbox",label:"Checkbox"},{value:"date",label:"Fecha"},{value:"file",label:"Archivo"},{value:"search",label:"Búsqueda"}];function $S(){return{label:"Texto",type:"text",width:"w-full md:w-1/2",placeholder:"Escribe…",size:"sm"}}function LS(){return{label:"Número",type:"number",width:"w-full md:w-1/3",placeholder:"0",size:"sm",validation:{required:!1}}}function OS(){return{label:"Email",type:"email",width:"w-full md:w-1/2",placeholder:"usuario@dominio.com",size:"sm"}}function NS(){return{label:"Contraseña",type:"password",width:"w-full md:w-1/2",placeholder:"••••••••",size:"sm",validation:{minLength:8}}}function FS(){return{label:"Teléfono",type:"tel",width:"w-full md:w-1/3",placeholder:"600 000 000",size:"sm"}}function IS(){return{label:"URL",type:"url",width:"w-full md:w-1/2",placeholder:"https://ejemplo.com",size:"sm"}}function ZS(){return{label:"Selecciona una opción",type:"select",width:"w-full md:w-1/3",size:"sm",options:[{label:"Opción A",value:"A"},{label:"Opción B",value:"B"}]}}function BS(){return{label:"Aceptar condiciones",type:"checkbox",width:"w-full md:w-1/3",size:"sm",defaultValue:!1}}function VS(){return{label:"Comentario",type:"textarea",width:"w-full",size:"sm",maxLength:300,showCounter:!0,placeholder:"Escribe tu comentario…"}}function TS(){return{label:"Fecha",type:"date",width:"w-full md:w-1/3",size:"sm",showTime:!1}}function DS(){return{label:"Documento",type:"file",width:"w-full md:w-1/2",maxFiles:1,accept:".pdf,.doc,.docx"}}function HS(){return{label:"Grupo",type:"inputGroup",width:"w-full",fields:[]}}function _S(){return{label:"Búsqueda",type:"search",width:"w-full md:w-1/2",placeholder:"Buscar...",size:"sm",searchMode:"button"}}const PS={text:$S,number:LS,email:OS,password:NS,tel:FS,url:IS,select:ZS,checkbox:BS,textarea:VS,date:TS,file:DS,search:_S,inputGroup:HS},WS=()=>s.jsx(Re,{label:"Texto",placeholder:"Escribe…",size:"sm",reserveErrorSpace:!1}),zS=()=>s.jsx(Re,{type:"number",label:"Número",placeholder:"0",size:"sm",reserveErrorSpace:!1}),qS=()=>s.jsx(Re,{type:"email",label:"Email",placeholder:"usuario@dominio.com",size:"sm",reserveErrorSpace:!1}),US=()=>s.jsx(Re,{type:"password",label:"Contraseña",placeholder:"••••••••",size:"sm",reserveErrorSpace:!1}),GS=()=>s.jsx(Re,{type:"tel",label:"Teléfono",placeholder:"600 000 000",size:"sm",reserveErrorSpace:!1}),KS=()=>s.jsx(Re,{type:"url",label:"URL",placeholder:"https://ejemplo.com",size:"sm",reserveErrorSpace:!1}),YS=()=>s.jsx(rt,{label:"Select",options:[{label:"Opción A",value:"A"},{label:"Opción B",value:"B"}],size:"sm"}),JS=()=>s.jsx(bt,{label:"Aceptar condiciones",defaultValue:!1,name:"__prev_checkbox__"}),XS=()=>s.jsx(bn,{label:"Comentario",placeholder:"Escribe tu comentario…",size:"sm",maxLength:120,showCounter:!0}),QS=()=>s.jsx($r,{label:"Fecha",defaultValue:"",showTime:!1,name:"__prev_date__"}),e$=()=>s.jsxs("div",{children:[s.jsx("label",{className:"text-ds-xs mb-1 block opacity-80",children:"Documento"}),s.jsx("div",{className:"w-full rounded-xl border border-dashed p-4 text-ds-xs opacity-70",children:"Arrastra o selecciona archivo…"})]}),t$=()=>s.jsx(Re,{label:"Búsqueda",placeholder:"Buscar...",size:"sm",reserveErrorSpace:!1,suffixButton:s.jsx(ie,{size:"sm",variant:"primary",className:"!rounded-l-none",children:"Buscar"})}),r$=()=>s.jsx("div",{className:"p-2 rounded-md bg-[var(--color-ds-background-surface)]",children:s.jsx(mr,{options:[{label:"Tab 1",value:"t1"},{label:"Tab 2",value:"t2"}],value:"t1",onChange:()=>{},children:{t1:s.jsx("div",{className:"text-ds-sm opacity-80",children:"Contenido ejemplo 1"}),t2:s.jsx("div",{className:"text-ds-sm opacity-80",children:"Contenido ejemplo 2"})}})}),n$=()=>s.jsxs("div",{className:"rounded-lg border border-[var(--color-ds-border-default-50)] bg-[var(--color-ds-background-surface)]",children:[s.jsx("div",{className:"px-3 py-2 border-b border-[var(--color-ds-border-default-50)] text-ds-sm",children:"Sección"}),s.jsx("div",{className:"p-3 text-ds-xs opacity-70",children:"Fila con 1 columna (w-full). Modifícala desde el lienzo."})]}),a$=()=>s.jsxs("div",{className:"rounded-lg border border-[var(--color-ds-border-default-50)] bg-[var(--color-ds-background-surface)] p-3",children:[s.jsx("div",{className:"text-ds-xs mb-2 opacity-70",children:"Grupo"}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(Re,{size:"sm",placeholder:"Campo A",reserveErrorSpace:!1}),s.jsx(Re,{size:"sm",placeholder:"Campo B",reserveErrorSpace:!1})]})]}),Tn=[{kind:"text",title:"Texto",category:"basics",renderPreview:s.jsx(WS,{}),detail:s.jsxs("ul",{className:"list-disc pl-4 space-y-1",children:[s.jsxs("li",{children:["Props: ",s.jsx("code",{children:"placeholder"}),", ",s.jsx("code",{children:"size"}),", ",s.jsx("code",{children:"width"}),","," ",s.jsx("code",{children:"info"})]}),s.jsxs("li",{children:["Validación: ",s.jsx("code",{children:"required"}),", ",s.jsx("code",{children:"minLength"}),", ",s.jsx("code",{children:"maxLength"}),","," ",s.jsx("code",{children:"pattern"})]})]})},{kind:"number",title:"Número",category:"basics",renderPreview:s.jsx(zS,{}),detail:s.jsx("ul",{className:"list-disc pl-4 space-y-1",children:s.jsxs("li",{children:["Validación: ",s.jsx("code",{children:"numberMin"}),", ",s.jsx("code",{children:"numberMax"}),", ",s.jsx("code",{children:"step"}),","," ",s.jsx("code",{children:"integerOnly"}),", ",s.jsx("code",{children:"positiveOnly"})]})})},{kind:"email",title:"Email",category:"basics",renderPreview:s.jsx(qS,{}),detail:s.jsx("ul",{className:"list-disc pl-4 space-y-1",children:s.jsx("li",{children:"Preset de patrón disponible"})})},{kind:"password",title:"Clave",category:"basics",renderPreview:s.jsx(US,{}),detail:s.jsxs("ul",{className:"list-disc pl-4 space-y-1",children:[s.jsx("li",{children:"Oculta el texto e incluye toggle de visibilidad."}),s.jsxs("li",{children:["Validación típica: ",s.jsx("code",{children:"minLength"}),", ",s.jsx("code",{children:"pattern"})," (fuerza)."]})]})},{kind:"tel",title:"Teléfono",category:"basics",renderPreview:s.jsx(GS,{}),detail:s.jsxs("ul",{className:"list-disc pl-4 space-y-1",children:[s.jsx("li",{children:"Usa teclado numérico en móvil."}),s.jsxs("li",{children:["Valídalo con ",s.jsx("code",{children:"pattern"})," o máscaras si procede."]})]})},{kind:"url",title:"URL",category:"basics",renderPreview:s.jsx(KS,{}),detail:s.jsx("ul",{className:"list-disc pl-4 space-y-1",children:s.jsxs("li",{children:["Valida formato con el propio ",s.jsx("code",{children:'type="url"'})," y/o ",s.jsx("code",{children:"pattern"}),"."]})})},{kind:"select",title:"Select",category:"basics",renderPreview:s.jsx(YS,{}),hint:"Admite optionSource",detail:s.jsxs("ul",{className:"list-disc pl-4 space-y-1",children:[s.jsxs("li",{children:["Opciones: ",s.jsx("code",{children:"options"})," o ",s.jsx("code",{children:"optionSource"})]}),s.jsxs("li",{children:["Default: ",s.jsx("code",{children:"defaultSource"})]}),s.jsxs("li",{children:["Soporta ",s.jsx("code",{children:"multiple"})," y ",s.jsx("code",{children:"adapterCtx"})]})]})},{kind:"checkbox",title:"Check",category:"basics",renderPreview:s.jsx(JS,{}),detail:s.jsx("ul",{className:"list-disc pl-4 space-y-1",children:s.jsxs("li",{children:["Devuelve ",s.jsx("code",{children:"boolean"})]})})},{kind:"date",title:"Fecha",category:"basics",renderPreview:s.jsx(QS,{}),detail:s.jsxs("ul",{className:"list-disc pl-4 space-y-1",children:[s.jsxs("li",{children:["Prop: ",s.jsx("code",{children:"showTime"})]}),s.jsxs("li",{children:["Validación: ",s.jsx("code",{children:"dateMin"}),", ",s.jsx("code",{children:"dateMax"}),", ",s.jsx("code",{children:"disallowPast"}),","," ",s.jsx("code",{children:"disallowFuture"})]})]})},{kind:"textarea",title:"Textarea",category:"content",renderPreview:s.jsx(XS,{}),detail:s.jsx("ul",{className:"list-disc pl-4 space-y-1",children:s.jsxs("li",{children:["Props: ",s.jsx("code",{children:"maxLength"}),", ",s.jsx("code",{children:"showCounter"})]})})},{kind:"file",title:"Archivo",category:"content",renderPreview:s.jsx(e$,{}),detail:s.jsxs("ul",{className:"list-disc pl-4 space-y-1",children:[s.jsxs("li",{children:["Props: ",s.jsx("code",{children:"accept"}),", ",s.jsx("code",{children:"maxFiles"})]}),s.jsxs("li",{children:["Validación: ",s.jsx("code",{children:"fileMaxSizeMB"})]})]})},{kind:"search",title:"Búsqueda",category:"content",renderPreview:s.jsx(t$,{}),detail:s.jsxs("ul",{className:"list-disc pl-4 space-y-1",children:[s.jsxs("li",{children:["Props: ",s.jsx("code",{children:"searchMode"}),", ",s.jsx("code",{children:"minChars"}),", ",s.jsx("code",{children:"debounceMs"})]}),s.jsxs("li",{children:["Requiere ",s.jsx("code",{children:"searchFn"})," o ",s.jsx("code",{children:"searchSource"})]})]})},{kind:"section-layout",title:"Sección",category:"layout",renderPreview:s.jsx(n$,{}),isLayout:!0,hint:"Contenedor de layout",detail:s.jsxs("ul",{className:"list-disc pl-4 space-y-1",children:[s.jsx("li",{children:"Inserta un bloque de filas/columnas (rows) con una fila vacía."}),s.jsx("li",{children:"Después puedes añadir columnas y colocar campos."})]})},{kind:"tabs-layout",title:"Pestañas",category:"layout",renderPreview:s.jsx(r$,{}),isLayout:!0,hint:"Contenedor de layout (no es un campo)",detail:s.jsxs("ul",{className:"list-disc pl-4 space-y-1",children:[s.jsxs("li",{children:["Inserta un contenedor de ",s.jsx("code",{children:"tabs"})," en el layout."]}),s.jsx("li",{children:"Cada pestaña contiene sus propias secciones y filas."}),s.jsx("li",{children:"Útil para agrupar campos por temática."})]})},{kind:"inputGroup",title:"Grupo",category:"content",renderPreview:s.jsx(a$,{}),hint:"Contenedor de varios inputs en una fila",detail:s.jsxs("ul",{className:"list-disc pl-4 space-y-1",children:[s.jsx("li",{children:"Añade y ordena inputs dentro del grupo."}),s.jsxs("li",{children:["Se muestra en una sola fila con ",s.jsx("code",{children:"flex"})," y ",s.jsx("code",{children:"gap"}),"."]}),s.jsx("li",{children:"No es layout global: se comporta como un campo con hijos."})]})}];function N5({title:e,onAdd:t,onInfo:r,dragging:n=!1,icon:o,kind:l,dragRef:i,dragProps:c}){const d=Vt(l),[u,f]=v.useState(!1);v.useEffect(()=>{if(!n&&u){const h=setTimeout(()=>f(!1),50);return()=>clearTimeout(h)}},[n,u]);const m=h=>{if(u){h.preventDefault(),h.stopPropagation();return}t()};return s.jsxs("div",{className:["relative group",n?"opacity-70":""].join(" "),children:[s.jsxs(ie,{ref:i,...c,onPointerUp:()=>n&&f(!0),onClick:m,size:"sm",variant:"outline",className:["w-full rounded-xl p-2 text-left justify-start","border-dashed ring-1 ring-inset","cursor-grab active:cursor-grabbing","flex items-center gap-2 pr-11","touch-none select-none"].join(" "),title:`Añadir ${e}`,"aria-label":`Añadir ${e}`,style:{boxShadow:`inset 0 0 0 1px color-mix(in srgb, ${d} 35%, transparent)`},type:"button",children:[s.jsx("span",{"aria-hidden":!0,className:"shrink-0 flex items-center gap-1",children:s.jsx("span",{className:"text-[var(--color-ds-text-secondary)]",style:{color:d},children:o})}),s.jsx("div",{className:"text-ds-sm",children:e})]}),s.jsx("div",{className:"absolute top-3/4 -translate-y-3/4 right-1",children:s.jsx(ka,{size:"sm",position:"right",ariaLabel:`Más info de ${e}`,onClick:r,children:s.jsxs("div",{className:"max-w-[240px]",children:["Pulsa para ver un ejemplo y detalles de ",s.jsx("strong",{children:e}),"."]})})})]})}function zl({kind:e,title:t,onAdd:r,onInfo:n}){const{attributes:o,listeners:l,setNodeRef:i,isDragging:c}=pr({id:`palette:${e}:${t}`,data:{kind:"palette-field",factoryKind:e}}),{role:d,tabIndex:u}=o,f={...l,...d?{role:d}:{},...u!==void 0?{tabIndex:u}:{}};return s.jsx(N5,{kind:e,title:t,onAdd:r,onInfo:n,dragging:c,icon:Tt(e),dragRef:i,dragProps:f})}function o$(){var x;const e=Y(y=>y.addField),t=Y(y=>y.addTabsContainerAt),r=Y(y=>y.addRowsBlockAt),n=Y(y=>y.schema),{show:o}=hr(),[l,i]=v.useState(""),[c,d]=v.useState(null),u=v.useMemo(()=>Tn.filter(y=>y.category==="basics"&&y.title.toLowerCase().includes(l.toLowerCase())),[l]),f=v.useMemo(()=>Tn.filter(y=>y.category==="content"&&y.title.toLowerCase().includes(l.toLowerCase())),[l]),m=v.useMemo(()=>Tn.filter(y=>y.category==="layout"&&y.title.toLowerCase().includes(l.toLowerCase())),[l]),h=v.useMemo(()=>Tn.find(y=>y.kind===c)??null,[c]),g=v.useCallback(y=>{const b=PS[y];if(!b){o("Tipo de campo no soportado.","warning");return}const p=b();e(p),o(`Añadido “${p.label}”. Ahora arrástralo al formulario o usa “Colocar último campo”.`,"success")},[e,o]),w=v.useCallback(y=>{var p;const b=((p=n==null?void 0:n.layout)==null?void 0:p.length)??0;if(y==="section-layout"){typeof r=="function"?(r(b,"Nueva sección"),o("Sección añadida al layout.","success")):o("Acción addRowsBlockAt no disponible en el store.","warning");return}if(y==="tabs-layout"){typeof t=="function"?(t(b),o("Contenedor de pestañas añadido al layout.","success")):o("Acción addTabsContainerAt no disponible en el store.","warning");return}o("Tipo de layout no soportado.","warning")},[(x=n==null?void 0:n.layout)==null?void 0:x.length,r,t,o]);if(h){const y=!!h.isLayout;return s.jsxs("aside",{className:"custom-scroll min-h-0 text-[var(--color-ds-text-primary)]",children:[s.jsxs("div",{className:"px-4 py-3 border-b border-[var(--color-ds-border-default-50)] flex items-center bg-[var(--color-ds-background-surface)]",children:[s.jsx("h1",{className:"font-semibold text-[1rem] flex-1 truncate",children:h.title}),s.jsx(ie,{size:"sm",variant:"ghost",onClick:()=>d(null),className:"ml-auto",children:"← Volver"})]}),s.jsxs("div",{className:"space-y-4 px-3 py-3",children:[s.jsx("div",{className:"border border-[var(--color-ds-border-default-50)] p-4 bg-[var(--color-ds-background-surface)] rounded-xl",children:h.renderPreview}),s.jsxs("div",{className:"p-2 rounded-xl bg-[var(--color-ds-background-page)] shadow-sm",children:[s.jsxs("div",{className:"flex items-center gap-2 justify-center mb-4",children:[s.jsx(ie,{size:"sm",variant:"primary",onClick:()=>y?w(h.kind):g(h.kind),title:"Añadir rápidamente",children:"Añadir al lienzo"}),s.jsx("span",{className:"text-ds-xs opacity-70",children:"o arrástrame al formulario"})]}),s.jsxs("div",{className:"rounded-xl border border-[var(--color-ds-border-default-50)] p-1",children:[s.jsxs("div",{className:"text-ds-sm text-[var(--color-ds-text-secondary)] mb-2",children:["Acerca de ",s.jsx("strong",{children:h.title})]}),s.jsxs("div",{className:"text-ds-sm space-y-2",children:[h.hint?s.jsx("div",{className:"opacity-80",children:h.hint}):null,h.detail]})]})]})]})]})}return s.jsxs("aside",{className:"custom-scroll min-h-0 text-[var(--color-ds-text-primary)]",children:[s.jsxs("div",{className:"px-1 py-3 bg-[var(--color-ds-background-surface)]",children:[s.jsx("h1",{className:"font-semibold text-[1rem]",children:"Paleta"}),s.jsxs("p",{className:"text-[var(--color-ds-text-secondary)] text-ds-sm mt-1",children:["Clic en una tarjeta para ",s.jsx("strong",{children:"añadir"})," al catálogo, o"," ",s.jsx("strong",{children:"arrastra"})," al formulario para colocar. Usa el icono"," ",s.jsx(hn,{className:"inline w-4 h-4 align-[-2px]"})," para ver detalles."]}),s.jsx("div",{className:"mt-3",children:s.jsx(Re,{size:"sm",placeholder:"Buscar componente…",value:l,onChange:y=>i(y.target.value),reserveErrorSpace:!1,label:"Buscar",labelHidden:!0,"aria-label":"Buscar componente en la paleta"})})]}),s.jsx("div",{className:"px-0 pb-3 pt-2",children:s.jsxs("div",{className:"p-2 space-y-6 rounded-xl bg-[var(--color-ds-background-page)] shadow-sm",children:[s.jsxs("section",{className:"space-y-3",children:[s.jsx("div",{className:"text-[var(--color-ds-text-secondary)] text-ds-sm font-medium",children:"Inputs básicos"}),s.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[u.map(y=>s.jsx(zl,{kind:y.kind,title:y.title,onAdd:()=>g(y.kind),onInfo:()=>d(y.kind)},y.kind)),u.length===0&&s.jsx("div",{className:"col-span-2 text-ds-xs opacity-60",children:"No hay resultados."})]})]}),s.jsxs("section",{className:"space-y-3",children:[s.jsx("div",{className:"text-[var(--color-ds-text-secondary)] text-ds-sm font-medium",children:"Contenido"}),s.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[f.map(y=>s.jsx(zl,{kind:y.kind,title:y.title,onAdd:()=>g(y.kind),onInfo:()=>d(y.kind)},y.kind)),f.length===0&&s.jsx("div",{className:"col-span-2 text-ds-xs opacity-60",children:"No hay resultados."})]})]}),s.jsxs("section",{className:"space-y-3",children:[s.jsx("div",{className:"text-[var(--color-ds-text-secondary)] text-ds-sm font-medium",children:"Estructura"}),s.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[m.map(y=>s.jsx(N5,{kind:y.kind,title:y.title,onAdd:()=>y.isLayout?w(y.kind):g(y.kind),onInfo:()=>d(y.kind),icon:Tt(y.kind)},y.kind)),m.length===0&&s.jsx("div",{className:"col-span-2 text-ds-xs opacity-60",children:"No hay resultados."})]})]})]})})]})}const qr=[{op:"eq",label:"es igual a",inputType:"single",placeholder:"valor exacto"},{op:"neq",label:"es distinto de",inputType:"single",placeholder:"valor a excluir"},{op:"isEmpty",label:"está vacío",inputType:"none",description:"Campo sin valor",compile:e=>({op:"eq",field:e,value:""})},{op:"isNotEmpty",label:"tiene valor",inputType:"none",description:"Campo con cualquier valor",compile:e=>({op:"neq",field:e,value:""})},{op:"contains",label:"contiene",inputType:"single",placeholder:"texto a buscar",description:"El campo contiene este texto"},{op:"notContains",label:"no contiene",inputType:"single",placeholder:"texto a excluir"},{op:"startsWith",label:"empieza con",inputType:"single",placeholder:"prefijo"},{op:"endsWith",label:"termina con",inputType:"single",placeholder:"sufijo"},{op:"in",label:"es uno de",inputType:"multi",placeholder:"opción1, opción2, opción3"},{op:"notIn",label:"no es ninguno de",inputType:"multi",placeholder:"valor1, valor2, valor3"},{op:"matches",label:"coincide con patrón",inputType:"pattern",placeholder:"^[A-Z]{3}\\d{4}$",description:"Expresión regular"}],s$=[{op:"eq",label:"igual a",inputType:"single",placeholder:"123"},{op:"neq",label:"distinto de",inputType:"single",placeholder:"0"},{op:"gt",label:"mayor que",inputType:"single",placeholder:"0"},{op:"gte",label:"mayor o igual",inputType:"single",placeholder:"1"},{op:"lt",label:"menor que",inputType:"single",placeholder:"100"},{op:"lte",label:"menor o igual",inputType:"single",placeholder:"99"},{op:"inRange",label:"entre",inputType:"range",placeholder:"min,max",description:"Valor entre un rango",compile:(e,t)=>{const[r,n]=t.split(",").map(o=>parseFloat(o.trim()));return{op:"and",rules:[{op:"gte",field:e,value:r},{op:"lte",field:e,value:n}]}}},{op:"isEmpty",label:"sin valor",inputType:"none",compile:e=>({op:"eq",field:e,value:null})},{op:"in",label:"es uno de",inputType:"multi",placeholder:"1, 2, 3, 5, 8"}],l$=[{op:"isTrue",label:"está marcado",inputType:"none",compile:e=>({op:"eq",field:e,value:!0})},{op:"isFalse",label:"está desmarcado",inputType:"none",compile:e=>({op:"eq",field:e,value:!1})},{op:"eq",label:"es igual a",inputType:"single",placeholder:"true/false"}],ql=[{op:"eq",label:"es igual a",inputType:"single",placeholder:"valor seleccionado"},{op:"neq",label:"es distinto de",inputType:"single",placeholder:"valor"},{op:"isEmpty",label:"sin selección",inputType:"none",compile:e=>({op:"eq",field:e,value:""})},{op:"isNotEmpty",label:"tiene selección",inputType:"none",compile:e=>({op:"neq",field:e,value:""})},{op:"in",label:"es uno de",inputType:"multi",placeholder:"opción1, opción2"},{op:"notIn",label:"no es ninguno de",inputType:"multi",placeholder:"valor1, valor2"}],i$=[{op:"eq",label:"es exactamente",inputType:"single",placeholder:"2025-01-15"},{op:"neq",label:"no es",inputType:"single",placeholder:"2025-01-01"},{op:"gt",label:"después de",inputType:"single",placeholder:"2025-01-01"},{op:"gte",label:"desde (inclusive)",inputType:"single",placeholder:"2025-01-01"},{op:"lt",label:"antes de",inputType:"single",placeholder:"2025-12-31"},{op:"lte",label:"hasta (inclusive)",inputType:"single",placeholder:"2025-12-31"},{op:"today",label:"es hoy",inputType:"none",description:"La fecha es hoy",compile:e=>{const t=new Date().toISOString().split("T")[0];return{op:"eq",field:e,value:t}}},{op:"inPast",label:"es en el pasado",inputType:"none",compile:e=>{const t=new Date().toISOString().split("T")[0];return{op:"lt",field:e,value:t}}},{op:"inFuture",label:"es en el futuro",inputType:"none",compile:e=>{const t=new Date().toISOString().split("T")[0];return{op:"gt",field:e,value:t}}},{op:"inRange",label:"entre fechas",inputType:"range",placeholder:"2025-01-01,2025-12-31",compile:(e,t)=>{const[r,n]=t.split(",").map(o=>o.trim());return{op:"and",rules:[{op:"gte",field:e,value:r},{op:"lte",field:e,value:n}]}}},{op:"isEmpty",label:"sin fecha",inputType:"none",compile:e=>({op:"eq",field:e,value:null})}],c$=[{op:"isEmpty",label:"está vacío",inputType:"none",compile:e=>({op:"eq",field:e,value:""})},{op:"isNotEmpty",label:"tiene contenido",inputType:"none",compile:e=>({op:"neq",field:e,value:""})},{op:"contains",label:"contiene",inputType:"single",placeholder:"palabra clave"},{op:"notContains",label:"no contiene",inputType:"single"},{op:"eq",label:"es igual a",inputType:"single"},{op:"neq",label:"es distinto de",inputType:"single"}],d$=[{op:"hasAnyValue",label:"tiene archivo",inputType:"none",description:"Se ha cargado al menos un archivo",compile:e=>({op:"neq",field:e,value:null})},{op:"hasNoValue",label:"sin archivo",inputType:"none",compile:e=>({op:"eq",field:e,value:null})},{op:"eq",label:"nombre es",inputType:"single",placeholder:"documento.pdf",description:"Nombre exacto del archivo"},{op:"contains",label:"nombre contiene",inputType:"single",placeholder:"factura"}],Ul={text:{fieldType:"text",operators:qr,defaultOperator:"eq",defaultPlaceholder:"valor del texto",helpText:"Compara el valor del campo de texto"},email:{fieldType:"email",operators:[...qr,{op:"matches",label:"es email válido",inputType:"none",compile:e=>({op:"matches",field:e,value:/^[^\s@]+@[^\s@]+\.[^\s@]+$/})}],defaultOperator:"eq",defaultPlaceholder:"email@ejemplo.com",helpText:"Valida o compara direcciones de email"},url:{fieldType:"url",operators:[...qr,{op:"startsWith",label:"protocolo es",inputType:"single",placeholder:"https://"}],defaultOperator:"eq",defaultPlaceholder:"https://ejemplo.com"},tel:{fieldType:"tel",operators:qr,defaultOperator:"eq",defaultPlaceholder:"+34 600 000 000",helpText:"Compara números de teléfono"},number:{fieldType:"number",operators:s$,defaultOperator:"eq",defaultPlaceholder:"0",helpText:"Comparaciones numéricas",validateValue:(e,t)=>{if(["isEmpty","isNotEmpty"].includes(e))return{valid:!0};if(e==="inRange"){const r=String(t).split(",");if(r.length!==2)return{valid:!1,message:"Formato: min,max"};const[n,o]=r.map(l=>parseFloat(l.trim()));return isNaN(n)||isNaN(o)?{valid:!1,message:"Valores deben ser números"}:n>=o?{valid:!1,message:"Min debe ser menor que Max"}:{valid:!0}}return isNaN(Number(t))?{valid:!1,message:"Debe ser un número válido"}:{valid:!0}}},password:{fieldType:"password",operators:[{op:"isEmpty",label:"sin contraseña",inputType:"none",compile:e=>({op:"eq",field:e,value:""})},{op:"isNotEmpty",label:"tiene contraseña",inputType:"none",compile:e=>({op:"neq",field:e,value:""})}],defaultOperator:"isEmpty",helpText:"Por seguridad, solo se puede validar si existe"},select:{fieldType:"select",operators:ql,defaultOperator:"eq",defaultPlaceholder:"valor seleccionado",helpText:"Compara el valor seleccionado"},date:{fieldType:"date",operators:i$,defaultOperator:"eq",defaultPlaceholder:"2025-01-01",helpText:"Comparaciones de fechas",validateValue:(e,t)=>["isEmpty","today","inPast","inFuture"].includes(e)?{valid:!0}:e==="inRange"?String(t).split(",").length!==2?{valid:!1,message:"Formato: YYYY-MM-DD,YYYY-MM-DD"}:{valid:!0}:/^\d{4}-\d{2}-\d{2}$/.test(String(t))?{valid:!0}:{valid:!1,message:"Formato: YYYY-MM-DD"}},checkbox:{fieldType:"checkbox",operators:l$,defaultOperator:"isTrue",helpText:"Valida el estado del checkbox"},textarea:{fieldType:"textarea",operators:c$,defaultOperator:"isEmpty",defaultPlaceholder:"contenido del texto",helpText:"Analiza el contenido del textarea"},file:{fieldType:"file",operators:d$,defaultOperator:"hasAnyValue",helpText:"Valida si se ha cargado un archivo"},search:{fieldType:"search",operators:qr,defaultOperator:"contains",defaultPlaceholder:"término de búsqueda"},optionGroup:{fieldType:"optionGroup",operators:ql,defaultOperator:"eq"},button:{fieldType:"button",operators:[],defaultOperator:"eq",helpText:"Los botones no tienen valor para reglas"},inputGroup:{fieldType:"inputGroup",operators:[],defaultOperator:"eq",helpText:"Use los campos individuales del grupo"}};function ga(e){return Ul[e]||Ul.text}function or(e,t){return ga(e).operators.find(n=>n.op===t)}function io(e,t,r,n){const o=or(n,e);if(o!=null&&o.compile)return o.compile(t,r);if(["eq","neq","in","notIn","gt","gte","lt","lte"].includes(e)){if(e==="in"||e==="notIn"){const l=Array.isArray(r)?r:String(r).split(",").map(i=>i.trim());return{op:e,field:t,values:l}}return{op:e,field:t,value:r}}switch(e){case"isEmpty":return{op:"eq",field:t,value:""};case"isNotEmpty":return{op:"neq",field:t,value:""};case"isTrue":return{op:"eq",field:t,value:!0};case"isFalse":return{op:"eq",field:t,value:!1};case"hasAnyValue":return{op:"neq",field:t,value:null};case"hasNoValue":return{op:"eq",field:t,value:null};case"contains":case"notContains":case"startsWith":case"endsWith":case"matches":return{op:"eq",field:t,value:r,_originalOp:e};case"inRange":const l=String(r).split(",");if(l.length===2){const[c,d]=l.map(u=>u.trim());return{op:"and",rules:[{op:"gte",field:t,value:n==="number"?parseFloat(c):c},{op:"lte",field:t,value:n==="number"?parseFloat(d):d}],_originalOp:"inRange"}}return{op:"eq",field:t,value:r,_originalOp:e};case"today":case"inPast":case"inFuture":const i=new Date().toISOString().split("T")[0];if(e==="today")return{op:"eq",field:t,value:i,_originalOp:"today"};if(e==="inPast")return{op:"lt",field:t,value:i,_originalOp:"inPast"};if(e==="inFuture")return{op:"gt",field:t,value:i,_originalOp:"inFuture"};break}return console.warn(`Operador no implementado: ${e}, usando eq como fallback`),{op:"eq",field:t,value:r}}function u$(e,t,r){const n=ga(e);if(n.validateValue)return n.validateValue(t,r);const o=or(e,t);return o?o.inputType==="none"?{valid:!0}:o.inputType==="single"&&!r&&r!==0&&r!==!1?{valid:!1,message:"El valor no puede estar vacío"}:{valid:!0}:["isEmpty","isNotEmpty","contains","notContains","startsWith","endsWith","matches","isTrue","isFalse","hasAnyValue","hasNoValue","inRange","today","inPast","inFuture"].includes(t)?["isEmpty","isNotEmpty","isTrue","isFalse","hasAnyValue","hasNoValue","today","inPast","inFuture"].includes(t)?{valid:!0}:!r&&r!==0&&r!==!1?{valid:!1,message:"El valor no puede estar vacío"}:{valid:!0}:{valid:!1,message:"Operador no soportado para este tipo de campo"}}function Dn(e){return typeof e=="boolean"?e?"true":"false":typeof e=="number"?String(e):typeof e=="string"?e:e==null?"":String(e)}function Gl(e){if(!e)return"eq";if("_originalOp"in e)return e._originalOp;const t=e.op;if(t==="and"||t==="or")return"_originalOp"in e?e._originalOp:"eq";if(t==="eq"){const r=e.value;if(r==="")return"isEmpty";if(r===!0)return"isTrue";if(r===!1)return"isFalse";if(r===null)return"isEmpty"}if(t==="neq"){const r=e.value;if(r==="")return"isNotEmpty";if(r===null)return"hasAnyValue"}return t}function f$({value:e,fieldOptions:t,fieldTypes:r,onChange:n,fieldPickerSuffix:o,showHelp:l=!0}){const[i,c]=v.useState(()=>e&&"field"in e?e.field:""),[d,u]=v.useState(()=>Gl(e)),[f,m]=v.useState(()=>e?"value"in e?Dn(e.value):"values"in e?e.values.map(Dn).join(", "):"":""),h=v.useRef(null),g=v.useRef(!0);v.useEffect(()=>{if(!g.current||(g.current=!1,!e))return;"field"in e&&c(e.field);const $=Gl(e);u($),"value"in e?m(Dn(e.value)):"values"in e&&m(e.values.map(Dn).join(", "))},[]);const w=v.useMemo(()=>i&&r[i]||"text",[i,r]),x=v.useMemo(()=>ga(w),[w]),y=v.useMemo(()=>x.operators.map($=>({value:$.op,label:$.label})),[x.operators]),b=v.useMemo(()=>{if(!i)return{valid:!1,message:"Selecciona un campo"};const $=or(w,d);return($==null?void 0:$.inputType)==="none"?{valid:!0}:u$(w,d,f)},[i,w,d,f]),p=$=>{if(c($),$){const _=r[$]||"text",W=ga(_);u(W.defaultOperator),m("");try{const K=io(W.defaultOperator,$,"",_);n(K)}catch(K){console.error("Error:",K)}}else n(void 0)},E=$=>{u($);const _=or(w,$);(_==null?void 0:_.inputType)==="none"&&m("");try{const W=io($,i,f,w);n(W)}catch(W){console.error("Error:",W)}},R=$=>{m($),h.current&&clearTimeout(h.current),h.current=window.setTimeout(()=>{if(i)try{const _=io(d,i,$,w);n(_)}catch(_){console.error("Error:",_)}},300)};v.useEffect(()=>()=>{h.current&&clearTimeout(h.current)},[]);const j=()=>{const $=or(w,d),_=["isEmpty","isNotEmpty","isTrue","isFalse","hasAnyValue","hasNoValue","today","inPast","inFuture"];if(($==null?void 0:$.inputType)==="none"||_.includes(d))return s.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 rounded-md bg-[var(--color-ds-background-surface)] border border-[var(--color-ds-border-default-50)] text-[var(--color-ds-text-secondary)] text-sm",children:[s.jsx(hn,{className:"w-4 h-4"}),s.jsx("span",{className:"text-xs",children:($==null?void 0:$.description)||"No requiere valor"})]});if(($==null?void 0:$.inputType)==="range"||d==="inRange")return s.jsx(Re,{size:"sm",label:"Rango",placeholder:($==null?void 0:$.placeholder)||"min,max",value:f,onChange:K=>R(K.target.value),reserveErrorSpace:!1,hasError:!b.valid,errorMessage:b.message});if(($==null?void 0:$.inputType)==="multi"||d==="in"||d==="notIn")return s.jsx(Re,{size:"sm",label:"Valores",placeholder:($==null?void 0:$.placeholder)||"valor1, valor2, valor3",value:f,onChange:K=>R(K.target.value),reserveErrorSpace:!1,hasError:!b.valid,errorMessage:b.message});if(($==null?void 0:$.inputType)==="pattern"||d==="matches")return s.jsx(Re,{size:"sm",label:"Patrón",placeholder:($==null?void 0:$.placeholder)||"^patrón$",value:f,onChange:K=>R(K.target.value),reserveErrorSpace:!1,hasError:!b.valid,errorMessage:b.message});let W="text";return w==="number"&&(W="number"),w==="date"&&(W="date"),w==="email"&&(W="email"),w==="url"&&(W="url"),w==="tel"&&(W="tel"),s.jsx(Re,{size:"sm",type:W,label:"Valor",placeholder:($==null?void 0:$.placeholder)||x.defaultPlaceholder||"valor",value:f,onChange:K=>R(K.target.value),reserveErrorSpace:!1,hasError:!b.valid,errorMessage:b.message})},A=()=>i?s.jsx("span",{className:"inline-flex items-center px-2 py-0.5 rounded text-xs font-mono bg-[var(--color-ds-background-surface)] text-[var(--color-ds-text-secondary)] border border-[var(--color-ds-border-default-50)]",children:w}):null,S=()=>{if(!l||!i)return null;const $=or(w,d),_=($==null?void 0:$.description)||x.helpText;return _?s.jsxs("div",{className:"flex items-start gap-2 px-3 py-2 rounded-md bg-[color-mix(in_srgb,var(--color-ds-background-accent)_10%,transparent)] border border-[var(--color-ds-border-default-50)]",children:[s.jsx(N0,{className:"w-4 h-4 text-[var(--color-ds-text-secondary)] flex-shrink-0 mt-0.5"}),s.jsx("span",{className:"text-xs text-[var(--color-ds-text-secondary)] leading-relaxed",children:_})]}):null},N=()=>{if(!i)return null;const $=or(w,d),_=["isEmpty","isNotEmpty","isTrue","isFalse","hasAnyValue","hasNoValue","today","inPast","inFuture"];return($==null?void 0:$.inputType)==="none"||_.includes(d)?null:s.jsx("div",{className:"flex items-center gap-1.5 text-xs",children:b.valid?s.jsxs(s.Fragment,{children:[s.jsx(ya,{className:"w-4 h-4 text-[var(--color-ds-text-primary)]"}),s.jsx("span",{className:"text-[var(--color-ds-text-primary)]",children:"Válido"})]}):s.jsxs(s.Fragment,{children:[s.jsx(Po,{className:"w-4 h-4 text-[var(--color-ds-text-primary)]"}),s.jsx("span",{className:"text-[var(--color-ds-text-primary)]",children:b.message||"Inválido"})]})})},B=v.useMemo(()=>[{label:"— selecciona un campo —",value:""},...t],[t]);return s.jsxs("div",{className:"space-y-3",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("span",{className:"text-sm font-medium text-[var(--color-ds-text-primary)]",children:"Campo"}),A()]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("div",{className:"flex-1",children:s.jsx(rt,{value:i,onChange:$=>p($),options:B,size:"sm",coerceFirstValid:!1,reserveErrorSpace:!1})}),o&&s.jsx("div",{className:"flex-shrink-0",children:o})]})]}),i&&y.length>0&&s.jsx(rt,{label:"Operador",value:d,onChange:$=>E($),options:y,size:"sm",coerceFirstValid:!1,reserveErrorSpace:!1}),S(),i&&j(),N()]})}const m$=({field:e,updateField:t,services:r,show:n})=>{const o=v.useMemo(()=>Object.keys((r==null?void 0:r.registry)??{}),[r]),l=v.useMemo(()=>[{label:"— ninguno —",value:""},...o.map(b=>({label:b,value:b}))],[o]),[i,c]=v.useState(!1),[d,u]=v.useState(null),[f,m]=v.useState([]),[h,g]=v.useState(""),w=async()=>{var E;const b=e==null?void 0:e.optionSource;if(!b){u("Debes elegir una clave en 'Option source'."),n("Elige la clave del adapter en 'Option source'.","warning");return}const p=(E=r==null?void 0:r.registry)==null?void 0:E[b];if(typeof p!="function"){u(`No existe un provider en services.registry["${b}"]`),n(`Provider no encontrado: ${b}`,"error");return}c(!0),u(null);try{let R;if(h.trim())try{R=JSON.parse(h)}catch{u("Contexto JSON inválido."),n("Contexto JSON inválido.","error"),c(!1);return}const j=R!=null?{getValues:()=>R}:void 0,A=await Promise.resolve(p("",j)),S=Array.isArray(A)?A:[];m(S),n(S.length?`Cargadas ${S.length} opciones.`:"El adapter devolvió 0 opciones.",S.length?"success":"info")}catch(R){u((R==null?void 0:R.message)||String(R)),n("Error al cargar opciones desde adapter.","error")}finally{c(!1)}},x=()=>{e!=null&&e.name&&(t(e.name,b=>{b.options=[...f],delete b.optionSource,delete b.loadOptions}),n("Opciones copiadas al campo (options).","success"))},y=v.memo(({fieldName:b,idx:p,opt:E,updateField:R,onRemove:j})=>{const[A,S]=v.useState(E);v.useEffect(()=>{S(E)},[E.label,E.value]);const N=v.useCallback(()=>{R(b,B=>{const $=Array.isArray(B.options)?[...B.options]:[];$[p]={...$[p],...A},B.options=$})},[b,p,A,R]);return s.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[s.jsx(Re,{size:"sm",label:"Etiqueta",value:A.label??"",onChange:B=>S($=>({...$,label:B.target.value})),onBlur:N}),s.jsxs("div",{className:"flex gap-2 items-end",children:[s.jsx(Re,{size:"sm",label:"Valor",value:String(A.value??""),onChange:B=>S($=>({...$,value:B.target.value})),onBlur:N}),s.jsx(ie,{size:"sm",variant:"outline",onClick:()=>j(p),"aria-label":"Eliminar opción",title:"Eliminar opción",children:s.jsx(Qe,{className:"w-4 h-4"})})]})]})});return s.jsxs(at,{title:"Configuración Select",type:"plain",defaultOpen:!0,children:[s.jsxs("div",{className:"grid gap-2",children:[s.jsx(rt,{label:"Option source (registry key)",value:e.optionSource??"",onChange:b=>t(e.name,p=>{p.optionSource=b||void 0,p.optionSource&&(delete p.options,delete p.loadOptions)}),options:l}),s.jsx(Re,{size:"sm",label:"Contexto (JSON) para adapter (opcional)",placeholder:'{"cifOrga":"A12345678","tipoContrato":"OB"}',value:h,onChange:b=>g(b.target.value)}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(ie,{size:"sm",variant:"outline",onClick:w,disabled:i||!o.length,children:i?"Cargando…":"Cargar opciones"}),!!f.length&&s.jsxs(ie,{size:"sm",variant:"outline",onClick:x,title:"Copiar vista previa a options",children:[s.jsx(Do,{className:"w-4 h-4 mr-1"}),"Aplicar al campo"]})]}),d&&s.jsx("div",{className:"text-xs text-[var(--color-ds-text-primary)]",children:d}),!!f.length&&s.jsxs("div",{className:"rounded border p-2 max-h-40 overflow-auto border-[var(--color-ds-border-default-50)]",children:[s.jsxs("div",{className:"text-[11px] mb-1 opacity-70",children:["Vista previa (",f.length,"):"]}),s.jsxs("ul",{className:"text-[12px] space-y-1",children:[f.slice(0,50).map((b,p)=>s.jsxs("li",{children:[s.jsx("code",{className:"opacity-70",children:b.value})," — ",b.label]},`${b.value}-${p}`)),f.length>50&&s.jsx("li",{className:"opacity-60 text-[11px]",children:"… (truncado)"})]})]})]}),s.jsxs("div",{className:"pt-2 space-y-2",children:[s.jsx("div",{className:"text-xs opacity-70 text-[var(--color-ds-text-primary)]",children:"Opciones estáticas (se ignoran si defines optionSource)"}),(e.options??[]).map((b,p)=>s.jsx(y,{fieldName:e.name,idx:p,opt:b,updateField:t,onRemove:E=>t(e.name,R=>{const j=Array.isArray(R.options)?[...R.options]:[];j.splice(E,1),R.options=j})},`opt-${e.name}-${p}`)),s.jsxs(ie,{size:"sm",variant:"outline",onClick:()=>t(e.name,b=>{const p=Array.isArray(b.options)?[...b.options]:[];p.push({label:"Opción",value:`opt_${p.length+1}`}),b.options=p}),children:[s.jsx(rn,{className:"w-4 h-4 mr-1"}),"Añadir opción"]})]}),s.jsx("div",{className:"pt-2",children:s.jsx(bt,{size:"sm",label:"Múltiple",checked:!!e.multiple,onChange:b=>t(e.name,p=>{p.multiple=b})})})]})},h$=["w-full","w-1/2","w-1/3","w-2/3","w-1/4","w-3/4","w-full md:w-1/2","w-full md:w-1/3","w-full md:w-1/4"],p$=["sm","md","lg"],v$=e=>(e==null?void 0:e.enabled)??!!(e!=null&&e.rule),Kl=(e,t)=>({...e??{},enabled:t}),w$=(e,t)=>({...e??{},rule:t}),g$=(e,t)=>({...e??{},clearTo:t}),b$=e=>{try{return JSON.stringify(e,null,2)}catch{return""}};async function x$(){try{const e=await navigator.clipboard.readText(),t=JSON.parse(e);if(t&&typeof t=="object"&&"op"in t)return t}catch{}}function y$(e){return typeof e=="number"||typeof e=="string"||e instanceof Date}function F5(e,t){if(!e)return{ok:!1,reason:"Sin regla"};if(!("op"in e))return{ok:!1,reason:"Operador inválido"};if(e.op==="and"||e.op==="or"){if(!Array.isArray(e.rules)||e.rules.length===0)return{ok:!1,reason:`Lista de reglas vacía en "${e.op}"`};for(const r of e.rules){const n=F5(r,t);if(!n.ok)return n}return{ok:!0}}if(!e.field||typeof e.field!="string")return{ok:!1,reason:"Campo no especificado"};if(!t.includes(e.field))return{ok:!1,reason:`Campo "${e.field}" no existe`};switch(e.op){case"eq":case"neq":return"value"in e?{ok:!0}:{ok:!1,reason:"Valor requerido"};case"in":case"notIn":return Array.isArray(e.values)&&e.values.length>0?{ok:!0}:{ok:!1,reason:"Lista de valores vacía"};case"gt":case"gte":case"lt":case"lte":return"value"in e?y$(e.value)?{ok:!0}:{ok:!1,reason:"Valor no comparable (número, string o Date)"}:{ok:!1,reason:"Valor requerido"};default:return{ok:!1,reason:`Operador no soportado: ${e.op}`}}}function E$(e,t){for(let r=0;r<e.layout.length;r++){const n=e.layout[r];if((n==null?void 0:n.type)!=="tabs")continue;const o=n.tabs.findIndex(l=>l.key===t);if(o>=0)return{nodeIdx:r,tabIdx:o,node:n,tab:n.tabs[o]}}return null}function I5(e,t,r){if(!e||!("op"in e))return e;if(e.op==="and"||e.op==="or"){const n=(e.rules??[]).map(l=>I5(l,t,r));return n.some((l,i)=>l!==(e.rules??[])[i])?{...e,rules:n}:e}return e.field&&e.field===t?{...e,field:r}:e}function co(e,t,r){if(!e||!e.rule)return e;const n=I5(e.rule,t,r);return n===e.rule?e:{...e??{},rule:n}}const k$=({selTabKey:e,schema:t,moveTab:r,addTabAfter:n,removeTab:o,renameTab:l,addSectionToTab:i})=>{const c=v.useMemo(()=>E$(t,e),[t,e]),[d,u]=v.useState((c==null?void 0:c.tab.label)??"");return v.useEffect(()=>{u((c==null?void 0:c.tab.label)??"")},[c==null?void 0:c.tab.label]),c?s.jsxs("div",{className:"pl-2 pt-4 space-y-4 custom-scroll scrollbar-hidden overflow-auto",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("h1",{className:"font-medium text-ds-md text-[var(--color-ds-text-primary)] inline-flex items-center gap-2",children:[s.jsx(Ho,{className:"w-5 h-5"}),"Inspector de pestaña"]}),s.jsxs("div",{className:"flex gap-2",children:[s.jsxs(ie,{size:"sm",variant:"outline",onClick:()=>r(e,"left"),children:[s.jsx(b0,{className:"w-4 h-4 mr-1"}),"Mover"]}),s.jsxs(ie,{size:"sm",variant:"outline",onClick:()=>r(e,"right"),children:["Mover",s.jsx(y0,{className:"w-4 h-4 ml-1"})]}),s.jsxs(ie,{size:"sm",variant:"outline",onClick:()=>n(e),children:[s.jsx(rn,{className:"w-4 h-4 mr-1"}),"Pestaña a la derecha"]}),s.jsxs(ie,{size:"sm",variant:"outline",onClick:()=>o(e),children:[s.jsx(Sr,{className:"w-4 h-4 mr-1"}),"Eliminar pestaña"]})]})]}),s.jsx(at,{title:"Identidad",type:"plain",defaultOpen:!0,children:s.jsx("div",{className:"grid gap-2",children:s.jsx(Re,{size:"sm",label:"Label de la pestaña",value:d,onChange:f=>u(f.target.value),onBlur:()=>l(e,d)})})}),s.jsx(at,{title:"Estructura",type:"plain",defaultOpen:!0,children:s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsxs(ie,{size:"sm",variant:"outline",onClick:()=>i(e),children:[s.jsx(rn,{className:"w-4 h-4 mr-1"}),"Añadir sección"]}),s.jsx("div",{className:"text-[var(--color-ds-text-secondary)] text-ds-sm",children:"Agrega una sección con una fila y una columna vacía dentro de la pestaña."})]})}),s.jsx("div",{className:"text-[var(--color-ds-text-secondary)] text-ds-sm)",children:"Selecciona una sección o un campo para ver sus propiedades específicas."})]}):s.jsx("div",{className:"p-3 text-[var(--color-ds-text-secondary)]",children:"Pestaña no encontrada."})},R$=({schema:e,field:t,changeFieldType:r,updateField:n,removeField:o,duplicateField:l,renameField:i,setSelection:c,services:d,show:u,armFieldPick:f,cancelFieldPick:m,pickState:h})=>{var K,Q,q,ce,U,M,F,ae,O,J,T,Z,te,me,re,pe,se,le,Ee,be,Se,Le,Ze,Me,nt,ct,D,k,C,L,z,P,H,G,ue,ne,oe,ke;const g=v.useMemo(()=>e.fields.map(I=>I.name).filter(Boolean).map(I=>({label:I,value:I})),[e.fields]),w=v.useMemo(()=>g.map(I=>I.value),[g]),x=v.useMemo(()=>{const I={};for(const V of e.fields){const X=V;X.name&&X.type&&(I[X.name]=X.type)}return I},[e.fields]),y=(t==null?void 0:t.type)==="select",b=(t==null?void 0:t.type)==="textarea",p=(t==null?void 0:t.type)==="file",E=(t==null?void 0:t.type)==="date",R=(t==null?void 0:t.type)==="number",j=(t==null?void 0:t.type)==="search",[A,S]=v.useState(t.name??"");v.useEffect(()=>{S(t.name??"")},[t==null?void 0:t.name]);const N=v.useCallback(()=>{if(!(t!=null&&t.name))return;const I=t.name,V=(A||"").trim();if(!V){S(I),u("El nombre no puede estar vacío.","warning");return}if(V===I)return;if(e.fields.some(je=>je.name===V)){u(`Ya existe un campo con name "${V}".`,"warning"),S(I);return}i(I,V),c({kind:"field",name:V});let ee=0;for(const je of e.fields){const he=je.name;!he||he===I||n(he,xe=>{const Fe=co(xe.visibleWhen,I,V),Oe=co(xe.disabledWhen,I,V),ye=co(xe.clearWhen,I,V);Fe!==xe.visibleWhen&&(xe.visibleWhen=Fe,ee++),Oe!==xe.disabledWhen&&(xe.disabledWhen=Oe,ee++),ye!==xe.clearWhen&&(xe.clearWhen=ye,ee++)})}for(const je of e.fields){if((je==null?void 0:je.type)!=="inputGroup")continue;const he=je.name;he&&n(he,xe=>{const Fe=Array.isArray(xe.inputs)?xe.inputs:[];let Oe=!1;const ye=Fe.map(Ce=>typeof Ce=="string"?Ce===I?(Oe=!0,V):Ce:Ce&&typeof Ce=="object"&&Ce.name===I?(Oe=!0,{...Ce,name:V}):Ce);Oe&&(xe.inputs=ye)})}ee>0?u(`Campo renombrado y reglas actualizadas (${ee} cambio${ee===1?"":"s"}).`,"success"):u(`Campo renombrado a "${V}".`,"success")},[t==null?void 0:t.name,A,i,c,e.fields,u,n]),B=I=>{I.key==="Enter"?I.currentTarget.blur():I.key==="Escape"&&(S(t.name??""),I.currentTarget.blur())},$=I=>{n(t.name,V=>{var je;const X=(je=V.validation)==null?void 0:je.pattern;if(I==="none"){V.validation={...V.validation??{},pattern:void 0};return}const ee=I==="email"?/^[^\s@]+@[^\s@]+\.[^\s@]+$/:/^\+?\d{7,15}$/;V.validation={...V.validation??{},pattern:{value:ee,message:(X==null?void 0:X.message)||(I==="email"?"Email inválido":"Teléfono inválido")}}}),u(I==="none"?"Patrón eliminado":"Patrón aplicado","info")},_=({title:I,fieldKey:V,showClearTo:X})=>{const ee=(t==null?void 0:t[V])??{},je=v$(ee),he=b$(ee.rule??null),xe=Ie=>n(t.name,rr=>{rr[V]=Ie}),[Fe,Oe]=v.useState(""),ye=v.useRef(null),Ce=Ie=>{ye.current&&window.clearTimeout(ye.current),Oe(Ie),ye.current=window.setTimeout(()=>Oe(""),1500)};v.useEffect(()=>()=>{ye.current!=null&&window.clearTimeout(ye.current)},[]);const Ve=!!h.armed&&h.forField===(t==null?void 0:t.name)&&h.fieldKey===V,Be=!!h.armed&&!Ve,Ne=Ie=>{var vr;if(Ie.rule)return Ie;const rr=((vr=g[0])==null?void 0:vr.value)??"";return{...Ie,rule:{op:"eq",field:rr,value:!0}}},ge=Ie=>{xe(Ie?Ne(Kl(ee,Ie)):Kl(ee,Ie)),Ce(Ie?"Regla activada":"Regla desactivada"),u(Ie?"Regla activada":"Regla desactivada","info")},Te=Ie=>{xe(w$(ee,Ie)),Ce("Regla actualizada")},He=Ie=>{xe(g$(ee,Ie)),Ce("clearTo actualizado"),u("clearTo actualizado","info")},ze="__quick_placeholder__",dt=Ie=>{var Ms;if(!Ie||Ie===ze)return;const rr=((Ms=g[0])==null?void 0:Ms.value)??"",vr={...ee??{},enabled:!0};Ie==="eq:true"&&xe({...vr,rule:{op:"eq",field:rr,value:!0}}),Ie==="eq:false"&&xe({...vr,rule:{op:"eq",field:rr,value:!1}}),Ie==="eq:empty"&&xe({...vr,rule:{op:"eq",field:rr,value:""}}),Ce("Atajo aplicado"),u("Atajo aplicado","success")},_e=async()=>{try{await navigator.clipboard.writeText(he||""),Ce("Copiado"),u("Regla copiada al portapapeles","success")}catch{Ce("No se pudo copiar"),u("No se pudo copiar al portapapeles","error")}},Rt=async()=>{const Ie=await x$();Ie?(xe({...ee??{},enabled:!0,rule:Ie}),Ce("Pegado"),u("Regla pegada desde portapapeles","success")):(Ce("Portapapeles no válido"),u("El contenido del portapapeles no es una regla válida","warning"))},ot=()=>{Te(void 0),Ce("Regla borrada"),u("Regla borrada","info")},wt=F5(ee.rule,w),Qt="text-[var(--color-ds-text-secondary)]",er=je?wt.ok?s.jsx(ya,{className:"w-4 h-4"}):s.jsx(Po,{className:"w-4 h-4"}):s.jsx(hn,{className:"w-4 h-4 opacity-70"}),It="border-[var(--color-ds-border-default-50)]",tr=()=>{t!=null&&t.name&&(Ve?(m(),Ce("Selección en lienzo cancelada"),u("Selección en lienzo cancelada","info")):(f(t.name,V),Ce("Modo selección en lienzo"),u("Haz click sobre un campo del lienzo para usarlo en la regla.","info")))},Vr=s.jsx(ie,{size:"xs",variant:Ve?"primary":"ghost",shape:"circle",icon:Cr,ariaLabel:Ve?"Cancelar selección desde lienzo":"Elegir campo desde lienzo",disabled:Be,onClick:tr});return s.jsxs("div",{className:`rounded-md border border-[var(--color-ds-border-default-50)] p-2 space-y-2 ${Be?"opacity-60 pointer-events-none":""}`,children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(bt,{size:"sm",checked:je,onChange:ge,label:I}),s.jsxs("span",{className:`ml-2 inline-flex items-center gap-1 text-[11px] ${Qt}`,children:[er,je?wt.ok?"OK":wt.reason:"Inactiva"]})]}),s.jsxs("div",{className:"flex items-center gap-2 text-[11px] text-[var(--color-ds-text-secondary)]",children:[Ve&&s.jsxs("span",{className:"inline-flex items-center gap-1",children:[s.jsx(Cr,{className:"w-3 h-3"}),"Seleccionando campo en lienzo…"]}),Be&&s.jsxs("span",{className:"inline-flex items-center gap-1",children:[s.jsx(Cr,{className:"w-3 h-3"}),"Seleccionando en otra regla…"]})]})]}),s.jsx("div",{className:"text-[11px] h-4 text-[var(--color-ds-text-secondary)]","aria-live":"polite",children:Fe||s.jsx("span",{"aria-hidden":"true",children:" "})}),s.jsx(rt,{label:"Atajo rápido",value:"__quick_placeholder__",onChange:Ie=>dt(Ie),options:[{label:"— Atajo rápido —",value:"__quick_placeholder__"},{label:"Campo = true",value:"eq:true"},{label:"Campo = false",value:"eq:false"},{label:"Campo = '' (vacío)",value:"eq:empty"}],size:"sm",reserveErrorSpace:!1}),s.jsxs("div",{className:"flex flex-wrap gap-2 pt-1",children:[s.jsxs(ie,{size:"sm",variant:"outline",onClick:_e,title:"Copiar JSON",children:[s.jsx(A0,{className:"w-4 h-4 mr-1"}),"Copiar"]}),s.jsxs(ie,{size:"sm",variant:"outline",onClick:Rt,title:"Pegar JSON",children:[s.jsx(Do,{className:"w-4 h-4 mr-1"}),"Pegar"]}),s.jsxs(ie,{size:"sm",variant:"outline",onClick:ot,title:"Borrar regla",children:[s.jsx(Sr,{className:"w-4 h-4 mr-1"}),"Borrar"]})]}),s.jsx("div",{className:je?"":"opacity-60 pointer-events-none",children:s.jsx(f$,{value:ee.rule,fieldOptions:g,fieldTypes:x,onChange:Ie=>Te(Ie),fieldPickerSuffix:Vr,showHelp:!0})}),s.jsx("div",{className:`rounded p-2 bg-[var(--color-ds-background-surface)] border ${It}`,children:s.jsx("pre",{className:"m-0 text-[11px] leading-snug whitespace-pre-wrap break-all text-[var(--color-ds-text-primary)]",children:he||"—"})}),X&&s.jsx(Re,{label:"clearTo",value:ee.clearTo??"",onChange:Ie=>He(Ie.target.value)})]})},W=({title:I,leftValue:V,rightValue:X,onLeftChange:ee,onRightChange:je})=>s.jsxs("div",{className:"space-y-2",children:[s.jsx("div",{className:"text-ds-sm text-[var(--color-ds-text-secondary)] text-left",children:I}),s.jsxs("div",{className:"grid grid-cols-2 gap-15 w-fit mx-auto place-items-center",children:[s.jsxs("div",{className:"flex flex-col items-center gap-1",children:[s.jsx("span",{className:"text-[11px] text-[var(--color-ds-text-secondary)]",children:"Izquierda"}),s.jsx(bl,{value:V,onChange:he=>ee(he)})]}),s.jsxs("div",{className:"flex flex-col items-center gap-1",children:[s.jsx("span",{className:"text-[11px] text-[var(--color-ds-text-secondary)]",children:"Derecha"}),s.jsx(bl,{value:X,onChange:he=>je(he)})]})]})]});return s.jsxs("div",{className:"pl-2 pt-4 space-y-4",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("h1",{className:"font-medium text-ds-md text-[var(--color-ds-text-primary)] inline-flex items-center gap-2",children:[s.jsx(D0,{className:"w-5 h-5"}),"Inspector"]}),s.jsxs("div",{className:"flex gap-2",children:[s.jsxs(ie,{size:"sm",variant:"outline",onClick:()=>l(t.name,`${t.name}`),children:[s.jsx(Yo,{className:"w-4 h-4 mr-1"}),"Duplicar"]}),s.jsxs(ie,{size:"sm",variant:"outline",onClick:()=>o(t.name),children:[s.jsx(Sr,{className:"w-4 h-4 mr-1"}),"Eliminar"]})]})]}),s.jsxs(at,{title:"Identidad",type:"plain",defaultOpen:!0,children:[s.jsxs("div",{className:"grid gap-2 overflow-visible",children:[s.jsx(rt,{label:"Tipo",mode:"menu",value:t.type,onChange:I=>r(t.name,I),options:SS.map(I=>({label:I.label,value:I.value})),popupWidth:"100%",renderTrigger:I=>{const V=Vt(I==null?void 0:I.value);return s.jsxs("span",{className:"inline-flex items-center justify-between w-full",children:[s.jsxs("span",{className:"inline-flex items-center gap-2",children:[s.jsx("span",{className:"inline-flex items-center justify-center",children:Tt(I==null?void 0:I.value)}),s.jsx("span",{className:"text-ds-sm",children:(I==null?void 0:I.label)??"—"})]}),s.jsx("span",{className:"inline-block w-2.5 h-2.5 rounded-full",style:{background:V}})]})},renderOption:(I,V)=>{const X=Vt(I.value);return s.jsxs("span",{className:"inline-flex items-center justify-between w-full",children:[s.jsxs("span",{className:"inline-flex items-center gap-2",children:[Tt(I.value),s.jsx("span",{className:"text-ds-sm",children:I.label})]}),s.jsx("span",{className:"inline-block w-2.5 h-2.5 rounded-full",style:{background:X,outline:V?"2px solid color-mix(in srgb, var(--color-ds-text-primary) 40%, transparent)":"none"}})]})}}),s.jsx(Re,{size:"sm",label:"Name",value:A,onChange:I=>S(I.target.value),onBlur:N,onKeyDown:B}),s.jsx(Re,{size:"sm",label:"Label",value:t.label??"",onChange:I=>n(t.name,V=>{V.label=I.target.value})}),s.jsx(Re,{size:"sm",label:"Info (tooltip/ayuda)",value:t.info??"",onChange:I=>n(t.name,V=>{V.info=I.target.value})})]}),s.jsxs("div",{className:"mt-2 space-y-3",children:[s.jsx(W,{title:"Iconos en label",leftValue:t.labelPrefixIcon,rightValue:t.labelSuffixIcon,onLeftChange:I=>n(t.name,V=>{V.labelPrefixIcon=I}),onRightChange:I=>n(t.name,V=>{V.labelSuffixIcon=I})}),s.jsx(W,{title:"Iconos dentro del input",leftValue:t.prefixIcon,rightValue:t.suffixIcon,onLeftChange:I=>n(t.name,V=>{V.prefixIcon=I}),onRightChange:I=>n(t.name,V=>{V.suffixIcon=I})})]})]}),s.jsx(at,{title:"Layout",type:"plain",defaultOpen:!0,children:s.jsxs("div",{className:"grid gap-2",children:[s.jsx(rt,{label:"Width",value:t.width??"",onChange:I=>n(t.name,V=>{V.width=I}),options:[{label:"— custom —",value:""},...h$.map(I=>({label:I,value:I}))]}),s.jsx(rt,{label:"Size",value:t.size??"sm",onChange:I=>n(t.name,V=>{V.size=I}),options:p$.map(I=>({label:I,value:I}))}),!["checkbox","file"].includes(t.type)&&s.jsx(Re,{size:"sm",label:"Placeholder",value:t.placeholder??"",onChange:I=>n(t.name,V=>{V.placeholder=I.target.value})})]})}),y&&s.jsx(m$,{field:t,updateField:n,services:d,show:u}),b&&s.jsxs(at,{title:"Textarea",type:"plain",defaultOpen:!0,children:[s.jsx(Re,{size:"sm",type:"number",label:"Máx. caracteres",value:t.maxLength??"",onChange:I=>n(t.name,V=>{const X=I.target.value;V.maxLength=X?Number(X):void 0}),className:"w-32"}),s.jsx(bt,{size:"sm",label:"Mostrar contador",checked:!!t.showCounter,onChange:I=>n(t.name,V=>{V.showCounter=I})})]}),p&&s.jsxs(at,{title:"Archivo",type:"plain",defaultOpen:!0,children:[s.jsx(Re,{size:"sm",label:"Extensiones permitidas (accept)",placeholder:".pdf,.jpg",value:t.accept??"",onChange:I=>n(t.name,V=>{V.accept=I.target.value})}),s.jsx(Re,{size:"sm",type:"number",label:"Máx. ficheros",value:t.maxFiles??"",onChange:I=>n(t.name,V=>{const X=I.target.value;V.maxFiles=X?Number(X):void 0}),className:"w-32"})]}),E&&s.jsx(at,{title:"Fecha",type:"plain",defaultOpen:!0,children:s.jsx(bt,{size:"sm",label:"Incluir hora",checked:!!t.showTime,onChange:I=>n(t.name,V=>{V.showTime=I})})}),j&&s.jsxs(at,{title:"Búsqueda",type:"plain",defaultOpen:!0,children:[s.jsx(Re,{size:"sm",label:"Fuente de búsqueda (Registry Key)",value:t.searchSource??"",onChange:I=>n(t.name,V=>{V.searchSource=I.target.value}),placeholder:"ej. searchUsers"}),s.jsx(rt,{label:"Modo",size:"sm",value:t.searchMode??"button",onChange:I=>n(t.name,V=>{V.searchMode=I}),options:[{label:"Botón",value:"button"},{label:"Al escribir (debounced)",value:"debounced"}]}),t.searchMode==="debounced"&&s.jsxs("div",{className:"flex gap-2",children:[s.jsx(Re,{type:"number",size:"sm",label:"Min. caracteres",value:t.minChars??"",onChange:I=>n(t.name,V=>{const X=I.target.value;V.minChars=X?Number(X):void 0}),className:"w-1/2"}),s.jsx(Re,{type:"number",size:"sm",label:"Debounce (ms)",value:t.debounceMs??"",onChange:I=>n(t.name,V=>{const X=I.target.value;V.debounceMs=X?Number(X):void 0}),className:"w-1/2"})]})]}),s.jsx(at,{title:"Reglas",type:"plain",defaultOpen:!0,children:s.jsxs("div",{className:"space-y-3",children:[s.jsx(_,{title:"visibleWhen",fieldKey:"visibleWhen"}),s.jsx(_,{title:"disabledWhen",fieldKey:"disabledWhen"}),s.jsx(_,{title:"clearWhen",fieldKey:"clearWhen",showClearTo:!0})]})}),s.jsxs(at,{title:"Validación",type:"plain",defaultOpen:!0,children:[s.jsx(bt,{size:"sm",label:"Requerido",checked:!!((K=t.validation)!=null&&K.required),onChange:I=>n(t.name,V=>{V.validation={...V.validation??{},required:I}})}),s.jsx("div",{className:"grid gap-2",children:s.jsx(rt,{label:"Preset de patrón",value:"__none__",onChange:I=>$(I==="email"?"email":I==="phone"?"phone":"none"),options:[{label:"— ninguno —",value:"__none__"},{label:"Email básico",value:"email"},{label:"Teléfono (+999…)",value:"phone"}],size:"sm",reserveErrorSpace:!1})}),s.jsxs("div",{className:"grid gap-2",children:[s.jsxs("div",{children:[s.jsx("div",{className:"text-xs opacity-70 text-[var(--color-ds-text-primary)] pb-1",children:"minLength"}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(Re,{type:"number",value:((q=(Q=t.validation)==null?void 0:Q.minLength)==null?void 0:q.value)??"",onChange:I=>n(t.name,V=>{var X,ee;V.validation={...V.validation??{},minLength:I.target.value?{value:Number(I.target.value),message:((ee=(X=V.validation)==null?void 0:X.minLength)==null?void 0:ee.message)??"Muy corto"}:void 0}}),className:"w-24"}),s.jsx(Re,{placeholder:"mensaje",value:((U=(ce=t.validation)==null?void 0:ce.minLength)==null?void 0:U.message)??"",onChange:I=>n(t.name,V=>{var ee;const X=(ee=V.validation)==null?void 0:ee.minLength;V.validation={...V.validation??{},minLength:X?{...X,message:I.target.value}:{value:0,message:I.target.value}}})})]})]}),s.jsxs("div",{children:[s.jsx("div",{className:"text-xs opacity-70 text-[var(--color-ds-text-primary)] pb-1",children:"maxLength"}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(Re,{type:"number",value:((F=(M=t.validation)==null?void 0:M.maxLength)==null?void 0:F.value)??"",onChange:I=>n(t.name,V=>{var X,ee;V.validation={...V.validation??{},maxLength:I.target.value?{value:Number(I.target.value),message:((ee=(X=V.validation)==null?void 0:X.maxLength)==null?void 0:ee.message)??"Muy largo"}:void 0}}),className:"w-24"}),s.jsx(Re,{placeholder:"mensaje",value:((O=(ae=t.validation)==null?void 0:ae.maxLength)==null?void 0:O.message)??"",onChange:I=>n(t.name,V=>{var ee;const X=(ee=V.validation)==null?void 0:ee.maxLength;V.validation={...V.validation??{},maxLength:X?{...X,message:I.target.value}:{value:0,message:I.target.value}}})})]})]}),s.jsxs("div",{children:[s.jsx("div",{className:"text-xs opacity-70 text-[var(--color-ds-text-primary)] pb-1",children:"pattern (RegExp)"}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(Re,{placeholder:"^\\\\d+$",value:((Z=(T=(J=t.validation)==null?void 0:J.pattern)==null?void 0:T.value)==null?void 0:Z.source)??"",onChange:I=>n(t.name,V=>{var X,ee;V.validation={...V.validation??{},pattern:I.target.value?{value:new RegExp(I.target.value),message:((ee=(X=V.validation)==null?void 0:X.pattern)==null?void 0:ee.message)??"Formato inválido"}:void 0}})}),s.jsx(Re,{placeholder:"mensaje",value:((me=(te=t.validation)==null?void 0:te.pattern)==null?void 0:me.message)??"",onChange:I=>n(t.name,V=>{var ee;const X=(ee=V.validation)==null?void 0:ee.pattern;V.validation={...V.validation??{},pattern:X?{...X,message:I.target.value}:{value:/.*/,message:I.target.value}}})})]})]})]}),R&&s.jsxs("div",{className:"grid gap-2",children:[s.jsx("div",{className:"text-xs opacity-70 text-[var(--color-ds-text-primary)] pt-2",children:"Número"}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(Re,{type:"number",label:"min",className:"w-28",value:((pe=(re=t.validation)==null?void 0:re.numberMin)==null?void 0:pe.value)??"",onChange:I=>n(t.name,V=>{var X,ee;V.validation={...V.validation??{},numberMin:I.target.value?{value:Number(I.target.value),message:((ee=(X=V.validation)==null?void 0:X.numberMin)==null?void 0:ee.message)??"Demasiado pequeño"}:void 0}})}),s.jsx(Re,{type:"number",label:"max",className:"w-28",value:((le=(se=t.validation)==null?void 0:se.numberMax)==null?void 0:le.value)??"",onChange:I=>n(t.name,V=>{var X,ee;V.validation={...V.validation??{},numberMax:I.target.value?{value:Number(I.target.value),message:((ee=(X=V.validation)==null?void 0:X.numberMax)==null?void 0:ee.message)??"Demasiado grande"}:void 0}})}),s.jsx(Re,{type:"number",label:"step",className:"w-28",value:((be=(Ee=t.validation)==null?void 0:Ee.step)==null?void 0:be.value)??"",onChange:I=>n(t.name,V=>{var X,ee;V.validation={...V.validation??{},step:I.target.value?{value:Number(I.target.value),message:((ee=(X=V.validation)==null?void 0:X.step)==null?void 0:ee.message)??"Incremento inválido"}:void 0}})})]}),s.jsxs("div",{className:"flex gap-4",children:[s.jsx(bt,{size:"sm",label:"Solo enteros",checked:!!((Le=(Se=t.validation)==null?void 0:Se.integerOnly)!=null&&Le.value),onChange:I=>n(t.name,V=>{var X,ee;V.validation={...V.validation??{},integerOnly:I?{value:!0,message:((ee=(X=V.validation)==null?void 0:X.integerOnly)==null?void 0:ee.message)??"Debe ser entero"}:void 0}})}),s.jsx(bt,{size:"sm",label:"Solo positivos",checked:!!((Me=(Ze=t.validation)==null?void 0:Ze.positiveOnly)!=null&&Me.value),onChange:I=>n(t.name,V=>{var X,ee;V.validation={...V.validation??{},positiveOnly:I?{value:!0,message:((ee=(X=V.validation)==null?void 0:X.positiveOnly)==null?void 0:ee.message)??"Debe ser positivo"}:void 0}})})]})]}),y&&t.multiple&&s.jsxs("div",{className:"grid gap-2",children:[s.jsx("div",{className:"text-xs opacity-70 text-[var(--color-ds-text-primary)] pt-2",children:"Select (múltiple)"}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(Re,{type:"number",label:"mín. seleccionados",className:"w-40",value:((ct=(nt=t.validation)==null?void 0:nt.selectMin)==null?void 0:ct.value)??"",onChange:I=>n(t.name,V=>{var X,ee;V.validation={...V.validation??{},selectMin:I.target.value?{value:Number(I.target.value),message:((ee=(X=V.validation)==null?void 0:X.selectMin)==null?void 0:ee.message)??"Selecciona más opciones"}:void 0}})}),s.jsx(Re,{type:"number",label:"máx. seleccionados",className:"w-40",value:((k=(D=t.validation)==null?void 0:D.selectMax)==null?void 0:k.value)??"",onChange:I=>n(t.name,V=>{var X,ee;V.validation={...V.validation??{},selectMax:I.target.value?{value:Number(I.target.value),message:((ee=(X=V.validation)==null?void 0:X.selectMax)==null?void 0:ee.message)??"Demasiadas opciones"}:void 0}})})]})]}),E&&s.jsxs("div",{className:"grid gap-2",children:[s.jsx("div",{className:"text-xs opacity-70 text-[var(--color-ds-text-primary)] pt-2",children:"Fecha"}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx($r,{size:"sm",label:"minDate",className:"w-44",showTime:!!t.showTime,defaultValue:((L=(C=t.validation)==null?void 0:C.dateMin)==null?void 0:L.value)??"",onChange:I=>n(t.name,V=>{var X,ee;V.validation={...V.validation??{},dateMin:I.target.value?{value:I.target.value,message:((ee=(X=V.validation)==null?void 0:X.dateMin)==null?void 0:ee.message)??"Demasiado antigua"}:void 0}})}),s.jsx($r,{size:"sm",label:"maxDate",className:"w-44",showTime:!!t.showTime,defaultValue:((P=(z=t.validation)==null?void 0:z.dateMax)==null?void 0:P.value)??"",onChange:I=>n(t.name,V=>{var X,ee;V.validation={...V.validation??{},dateMax:I.target.value?{value:I.target.value,message:((ee=(X=V.validation)==null?void 0:X.dateMax)==null?void 0:ee.message)??"Demasiado futura"}:void 0}})})]}),s.jsxs("div",{className:"flex gap-4",children:[s.jsx(bt,{size:"sm",label:"No permitir pasado",checked:!!((G=(H=t.validation)==null?void 0:H.disallowPast)!=null&&G.value),onChange:I=>n(t.name,V=>{var X,ee;V.validation={...V.validation??{},disallowPast:I?{value:!0,message:((ee=(X=V.validation)==null?void 0:X.disallowPast)==null?void 0:ee.message)??"No se permiten fechas pasadas"}:void 0}})}),s.jsx(bt,{size:"sm",label:"No permitir futuro",checked:!!((ne=(ue=t.validation)==null?void 0:ue.disallowFuture)!=null&&ne.value),onChange:I=>n(t.name,V=>{var X,ee;V.validation={...V.validation??{},disallowFuture:I?{value:!0,message:((ee=(X=V.validation)==null?void 0:X.disallowFuture)==null?void 0:ee.message)??"No se permiten fechas futuras"}:void 0}})})]})]}),p&&s.jsxs("div",{className:"grid gap-2",children:[s.jsx("div",{className:"text-xs opacity-70 text-[var(--color-ds-text-primary)] pt-2",children:"Archivo"}),s.jsx(Re,{type:"number",label:"Tamaño máx. por archivo (MB)",className:"w-56",value:((ke=(oe=t.validation)==null?void 0:oe.fileMaxSizeMB)==null?void 0:ke.value)??"",onChange:I=>n(t.name,V=>{var X,ee;V.validation={...V.validation??{},fileMaxSizeMB:I.target.value?{value:Number(I.target.value),message:((ee=(X=V.validation)==null?void 0:X.fileMaxSizeMB)==null?void 0:ee.message)??"Archivo demasiado grande"}:void 0}})})]})]})]})};function j$(){const e=Y(R=>R.selection),t=Y(R=>R.schema),r=Y(R=>R.updateField),n=Y(R=>R.removeField),o=Y(R=>R.renameField),l=Y(R=>R.duplicateField),i=Y(R=>R.changeFieldType),c=Y(R=>R.setSelection),d=Y(R=>R.addTabAfter),u=Y(R=>R.removeTab),f=Y(R=>R.renameTab),m=Y(R=>R.moveTab),h=Y(R=>R.addSectionToTab),g=Y(R=>R.armFieldPick),w=Y(R=>R.cancelFieldPick),x=Y(R=>R.fieldPick),{services:y}=gn(),{show:b}=hr(),p=i??((R,j)=>r(R,A=>{A.type=j})),E=v.useMemo(()=>{if(e.kind==="field")return t.fields.find(R=>R.name===e.name)},[e,t.fields]);return e.kind==="tab"?s.jsx(k$,{selTabKey:e.tabKey,schema:t,moveTab:m,addTabAfter:d,removeTab:u,renameTab:f,addSectionToTab:h}):e.kind!=="field"?s.jsxs("div",{className:"flex flex-col items-center justify-center h-full p-6 text-center select-none pt-20",children:[s.jsx("div",{className:"w-16 h-16 rounded-full bg-[var(--color-ds-background-surface)] border border-[var(--color-ds-border-default-50)] flex items-center justify-center mb-4 shadow-sm",children:s.jsx(Cr,{className:"w-7 h-7 text-[var(--color-ds-text-secondary)]"})}),s.jsx("h1",{className:"text-sm font-medium text-[var(--color-ds-text-primary)] mb-1",children:"Nada seleccionado"}),s.jsx("p",{className:"text-xs text-[var(--color-ds-text-secondary)] max-w-[240px] leading-relaxed",children:"Haz clic en una pestaña o un campo del lienzo para ver y editar sus propiedades aquí."})]}):E?s.jsx(R$,{schema:t,field:E,changeFieldType:p,updateField:r,removeField:n,duplicateField:l,renameField:o,setSelection:c,services:y,show:b,armFieldPick:g,cancelFieldPick:w,pickState:x}):s.jsx("div",{className:"p-3 text-[var(--color-ds-text-secondary)]",children:"Campo no encontrado."})}function C$(e){return Object.prototype.toString.call(e)==="[object Object]"}function M$(e){return/^\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(:\d{2})?)?/.test(e)}function A$(e){return e.replace(/\.(.)/g,(t,r)=>" "+r.toUpperCase()).replace(/_/g," ").replace(/([A-ZÑÁÉÍÓÚ])/g," $1").replace(/\s+/g," ").trim().replace(/^./,t=>t.toUpperCase())}function S$(e,t){if(t&&t[e])return t[e];const r=e.replace(/(^|\.)(id|[cfhimnt])(?=[A-Z_])/g,"$1");return A$(r)}function $$(e,t){return t instanceof Date?"date":typeof t=="number"?"number":typeof t=="boolean"?"boolean":typeof t=="string"?M$(t)?"date":"string":L$(e)}function L$(e){return/^(is|has|can|should|allow|show|hide)[A-Z_]/.test(e)||/(activo|habilitado|visible|checked|enabled|done|completed|valid)$/i.test(e)?"boolean":/(\.|^)[fh](?=[A-Z_])/.test(e)||/(date|fecha|time|hora|created|updated|at)$/i.test(e)?"date":/(\.|^)(n|id)(?=[A-Z_]|$)/.test(e)||/(\.|^)i(?=[A-Z_])/.test(e)||/(count|total|price|precio|cantidad|qty|stock|width|height|size|length)$/i.test(e)?"number":"string"}function O$(e,t,r){const n=r==null?void 0:r.find(l=>typeof l.match=="string"?l.match===e:l.match.test(e));if(n)return n.type;const o=e.toLowerCase();return t==="boolean"?"checkbox":t==="date"?"date":t==="number"?"number":/(email|correo)/i.test(o)?"email":/tel|phone|telefono|tlf|celular|mobile/.test(o)?"tel":/url|enlace|link|website|sitio/.test(o)?"url":/password|pass|pwd|clave|contraseña/.test(o)?"password":/(file|archivo|adjunto|image|foto|avatar|documento|upload)/.test(o)?"file":/(search|query|busqueda|buscar|filter)/.test(o)?"search":/^cCod|^cod.*|.*Codigo$|.*Code$|.*Id$|.*Type$|.*Tipo$|.*Status$|.*Estado$/i.test(e)?"select":/^m[A-Z]|(descripcion|observaciones|comentarios?|notes|details|bio|address|direccion)$/i.test(e)?"textarea":"text"}function Z5(e,{prefix:t="",depth:r=0,maxDepth:n=5,out:o={}}={}){if(r>n||e==null)return o;for(const[l,i]of Object.entries(e)){const c=t?`${t}.${l}`:l;if(i==null){o[c]=i;continue}if(Array.isArray(i)){o[c]=i.length?i[0]:i;continue}if(C$(i)){Z5(i,{prefix:c,depth:r+1,maxDepth:n,out:o});continue}o[c]=i}return o}function B5({name:e,inputType:t}){return!(/(id|uuid)$/i.test(e)||/(alta|modi|login|cread|actualiz|publi)/i.test(e)||t==="checkbox")}function N$({inputType:e}){switch(e){case"textarea":case"file":case"inputGroup":return"w-full";case"date":case"select":return"w-full md:w-1/3";case"number":case"tel":case"url":case"email":case"search":case"password":return"w-full md:w-1/3";case"checkbox":return"w-full md:w-auto";default:return"w-full md:w-1/2"}}function F$({name:e}){return/^m[A-Z]/.test(e)||/(descripcion|observaciones|comentarios?)$/i.test(e)?{isTextArea:!0,maxLength:4e3}:{isTextArea:!1}}function I$(e,t,r){const n=r?{required:!0}:{};switch(t){case"email":return{...n,pattern:{value:/^[^\s@]+@[^\s@]+\.[^\s@]+$/,message:"Email inválido"}};case"url":return{...n,pattern:{value:/^https?:\/\/.+/,message:"URL inválida"}};case"tel":return{...n,pattern:{value:/^[\d\s()+\-]{6,20}$/,message:"Teléfono inválido"}};case"password":return{...n,minLength:{value:6,message:"Mín. 6 caracteres"}};case"number":{const o={...n},l={};return/importe|monto|amount/i.test(e)&&(l.step={value:.01,message:"Dos decimales"},l.positiveOnly="Debe ser positivo"),/anio|año|year/i.test(e)&&(l.integerOnly="Debe ser entero",l.numberMin={value:1900,message:"Año inválido"}),{...o,...l}}case"date":return{...n};case"textarea":return{...n,maxLength:{value:4e3,message:"Máx. 4000 caracteres"}};default:return r?{required:!0}:void 0}}function Z$(e,t={}){var x;const{flatten:r=!0,maxDepth:n=5,exclude:o=[],typeOverrides:l,labelOverrides:i,requiredStrategy:c=B5,selectSourceResolver:d,widthStrategy:u=N$,textareaStrategy:f=F$,sortComparator:m}=t,h=r?Z5(e,{maxDepth:n}):e,g=y=>o.some(b=>typeof b=="string"?b===y:b.test(y)),w=[];for(const[y,b]of Object.entries(h)){if(g(y))continue;const p=$$(y,b);let E=O$(y,p,l);if(E==="text"){const S=f==null?void 0:f({name:y,sample:typeof b=="string"?b:void 0});S!=null&&S.isTextArea&&(E="textarea")}const R=S$(y,i),j=c({name:y,inputType:E,sample:b}),A={name:y,label:R,type:E,size:"sm",width:u({name:y,inputType:E})||"w-full"};switch(["text","email","url","tel","password","number","search","textarea"].includes(E)&&(A.placeholder=`Ingrese ${R.toLowerCase()}...`),E){case"textarea":A.placeholder="Escribe aquí...",A.maxLength=((x=f==null?void 0:f({name:y}))==null?void 0:x.maxLength)??4e3,A.showCounter=!0;break;case"number":/importe|monto|amount|price|cost/i.test(y)&&(A.step=.01);break;case"date":A.showTime=/\.(h|hora|time)/i.test(y)||/^h[A-Z_]/.test(y)||/time|hora/i.test(y);break;case"select":{const S=d==null?void 0:d(y);S?Object.assign(A,{optionSource:"kind"in S?S:void 0,...S}):A.options=[],A.placeholder="Seleccione una opción";break}case"file":A.maxFiles=1,A.accept="*/*";break}A.validation=I$(y,E,j),w.push(A)}return m&&w.sort(m),w}function B$(e){const t={},r=[];for(const l of e)if(l.name&&l.name.includes(".")){const c=l.name.split(".")[0],d=c.charAt(0).toUpperCase()+c.slice(1).replace(/_/g," ");t[d]||(t[d]=[]),t[d].push(l)}else r.push(l);const n=l=>{const i=[];let c=null;for(const d of l){if(d.type==="textarea"||d.type==="inputGroup"||d.width==="w-full"){c&&c.columns.length>0&&(c=null),i.push({columns:[{width:"w-full",fields:[d.name]}]});continue}c||(c={columns:[]},i.push(c)),c.columns.push({fields:[d.name]}),c.columns.length>=3&&(c=null)}return i},o=[];r.length>0&&o.push({sectionTitle:"Datos Generales",rows:n(r)});for(const[l,i]of Object.entries(t))o.push({sectionTitle:l,rows:n(i)});return o.length===0&&e.length>0&&o.push({sectionTitle:"Datos",rows:n(e)}),[{type:"rows",sections:o}]}function Qn(e,t={}){const r=Z$(e,t);return{id:t.formId||"generated-form",title:t.formTitle||"Formulario generado",fields:r,layout:B$(r)}}function V$(e){return/^\s*(export\s+)?interface\s+\w+\s*\{[\s\S]*\}\s*$/.test(e.trim())}function T$(e){const t=e.match(/\{\s*([\s\S]*?)\s*\}\s*$/);return t?t[1]:""}function D$(e){return e.replace(/\/\*.*?\*\//g,"").replace(/\/\/.*$/gm,"").trim().replace(/\s*\|\s*(null|undefined)\s*/g,"").trim()}function H$(e,t,r){const n=D$(t).toLowerCase(),o=/iso\s*date|fecha/i.test(r||""),l=/(^|\.)(f|h)(?=[A-Z_])/.test(e)||/(date|fecha|time|hora)/i.test(e);return o||l?"2025-01-01":n.startsWith("number")?0:n.startsWith("boolean")?!1:n.startsWith("string")?"":/\bdate\b/.test(n)?"2025-01-01":/\[\]$/.test(n)||/array<.*>/.test(n)?/number/.test(n)?[0]:/string/.test(n)?[""]:/boolean/.test(n)?[!1]:[]:/(record<|{|\[key:|\bobject\b)/i.test(t)?{}:""}function _$(e){const r=T$(e).split(/\r?\n/),n={},o=new Set,l=/^\s*([A-Za-z_]\w*)\s*(\?)?\s*:\s*([^;]+?);?\s*(\/\/.+)?$/;for(const i of r){const c=i.trim();if(!c||c.startsWith("//"))continue;const d=c.match(l);if(!d)continue;const[,u,f,m,h]=d;f&&o.add(u),n[u]=H$(u,m,h)}return{dto:n,optional:o}}function P$(e,t={}){if(typeof e!="string")return Qn(e,t);const r=e.trim();if(!V$(r)){let c;try{c=JSON.parse(r)}catch{throw new Error("Entrada string no es un interface TS ni JSON válido. Pega un `export interface ... { ... }` o JSON.")}return Qn(c,t)}const{dto:n,optional:o}=_$(r),l=t.requiredStrategy||B5;return Qn(n,{...t,requiredStrategy:c=>o.has(c.name)?!1:l(c)})}const W$=e=>e.normalize("NFD").replace(/[\u0300-\u036f]/g,""),z$=e=>String(e||"").split(".").pop()||"";function q$(e){return/^[cfinhtCFINHT][A-ZÁÉÍÓÚÑ]/.test(e)?e.slice(1):/^[cfinhtCFINHT]_[A-ZÁÉÍÓÚÑ]/.test(e)?e.slice(2):e}function ba(e){const t=q$(z$(e));return W$(t.replace(/([a-z])([A-ZÁÉÍÓÚÑ])/g,"$1 $2").replace(/_/g," ")).toLowerCase()}function U$(e){const t=ba(e),r=/(unidad|unit)/i.test(t),n=/(valor|cantidad|importe|monto|duracion|plazo|periodo|periodo|período|value|amount|quantity|duration)/i.test(t);return r&&!n?"unit":n&&!r?"value":r&&n?/(unidad|unit)/i.test(t)?"unit":"value":/^plazo($|\s)/i.test(t)||/duracion/i.test(t)?"value":null}const G$=/\b(unidad|unit|valor|cantidad|importe|monto|duracion|value|amount|quantity|duration)\b/g;function K$(e){let t=ba(e).replace(G$," ").replace(/\s+/g," ").trim();if(t)return t;const r=ba(e).split(/\s+/g).filter(Boolean);return r.find(o=>!/(unidad|unit|valor|cantidad|importe|monto|duracion|value|amount|quantity|duration)/.test(o))||r[0]||"medida"}function Y$(e){return e?e.replace(/(^|\s)\S/g,t=>t.toUpperCase()).trim():"Medida"}function J$(e,t){if(!t.has(e))return e;let r=2;for(;t.has(`${e}_${r}`);)r++;return`${e}_${r}`}function X$(e,t={}){const r=Array.isArray(e==null?void 0:e.fields)?e.fields:[],n=new Set(r.map(c=>String((c==null?void 0:c.name)||""))),o={};for(const c of r){const d=String((c==null?void 0:c.name)||""),u=U$(d);if(!u)continue;let f=K$(d);const m=ba(d);(/(^|\s)plazo(\s|$)/i.test(m)||/duracion/i.test(m))&&(f="plazo"),o[f]||(o[f]={unit:[],value:[]}),o[f][u].push(d)}const l=t.groupSuffix||"_group",i=[];for(const[c,{unit:d,value:u}]of Object.entries(o)){if(!d.length||!u.length)continue;const f=[u[0],d[0]],m=(c||"medida")+l,h=J$(m,n);n.add(h),i.push({groupName:h,label:Y$(c),inputs:f})}return i}function Q$(e,t){var i,c,d;if(!t||!((i=t.inputs)!=null&&i.length))return e;const r=Array.isArray(e==null?void 0:e.fields)?e.fields:[];r.some(u=>(u==null?void 0:u.name)===t.groupName)||r.push({type:"inputGroup",name:t.groupName,label:t.label,width:"w-full",size:"sm",inputs:[...t.inputs]}),e.fields=r;const n=new Set(t.inputs),o=((d=(c=e.layout)==null?void 0:c.filter)==null?void 0:d.call(c,u=>(u==null?void 0:u.type)==="rows"))??[];let l=null;for(let u=0;u<o.length&&!l;u++){const m=o[u].sections??[];for(let h=0;h<m.length&&!l;h++){const w=m[h].rows??[];for(let x=0;x<w.length&&!l;x++){const b=w[x].columns??[];for(let p=0;p<b.length&&!l;p++){const E=b[p],R=Array.isArray(E.fields)?E.fields:[];for(let j=0;j<R.length;j++)if(n.has(R[j])){l={nodeIdx:u,secIdx:h,rowIdx:x,colIdx:p,insertAt:j};break}}}}}for(let u=0;u<o.length;u++){const m=o[u].sections??[];for(let h=0;h<m.length;h++){const w=m[h].rows??[];for(let x=0;x<w.length;x++){const b=w[x].columns??[];for(let p=0;p<b.length;p++){const E=b[p];let j=(Array.isArray(E.fields)?E.fields:[]).filter(A=>!n.has(A)&&A!==t.groupName);if(l&&u===l.nodeIdx&&h===l.secIdx&&x===l.rowIdx&&p===l.colIdx){const A=Math.min(l.insertAt,j.length);j.splice(A,0,t.groupName)}E.fields=j}}}}return e}function V5(e,t={}){const r=X$(e,t);for(const n of r)Q$(e,n);return e}function Yl(e,t=!0){const r=e.trim();return t?r.replace(/[_-]+/g," ").replace(/\s+/g," ").replace(/^./,o=>o.toUpperCase())||"General":r||"General"}function T5(e){const t=e.indexOf(".");return t===-1?{group:"",leaf:e}:{group:e.slice(0,t),leaf:e.slice(t+1)}}function D5(e){return e<=1?["w-full"]:e===2?["w-1/2","w-1/2"]:e===3?["w-1/3","w-1/3","w-1/3"]:["w-1/4","w-1/4","w-1/4","w-1/4"]}function eL(e){const t=e.columns??[];if(t.length!==1)return e;const r=t[0];return r.width="w-full",e}function tL(e){return/(uuid|(^|[._])id($|[A-Z_])|(^|[._])cod(igo)?($|[A-Z_])|code)/i.test(e)}function rL(e){const t=e.toLowerCase();return/email|correo|tel|phone|tlf|url|enlace|link/.test(t)}function nL(e){const t=e==null?void 0:e.validation;return t?t.required===!0:!1}function aL(e){const t=String((e==null?void 0:e.type)||"text").toLowerCase();return t==="select"?4:t==="date"?5:t==="number"||t==="tel"||t==="url"||t==="email"||t==="password"?6:t==="checkbox"?8:7}function Jl(e,t){const r=tL(e==null?void 0:e.name)?1:rL(e==null?void 0:e.name)?3:9,n=nL(e)?0:1,o=aL(e),l=((e==null?void 0:e.label)??"").toString();return[r,n,o,`${l.padEnd(1)}#${t.toString().padStart(5,"0")}`]}function H5(e,t){const r=e.map((n,o)=>({n,i:o,f:t.get(n)}));return r.sort((n,o)=>{const l=Jl(n.f,n.i),i=Jl(o.f,o.i);for(let c=0;c<Math.max(l.length,i.length);c++){const d=l[c],u=i[c];if(d!==u)return typeof d=="string"&&typeof u=="string"?d.localeCompare(u,"es",{sensitivity:"base"}):d-u}return 0}),r.map(n=>n.n)}function oL(e){return/(^m[A-Z])|(descripcion|observaciones|comentarios?|detalle|detalle?s?|nota|direccion|dirección|calle|domicilio)/i.test(e)}function sL(e){return Array.isArray(e)?e.reduce((t,r)=>t+String((r==null?void 0:r.label)??(r==null?void 0:r.value)??"").length,0):0}function lL(e){const t=(e==null?void 0:e.options)??[];return Array.isArray(t)&&t.length>8}function iL(e){const t=(e==null?void 0:e.options)??[];return!Array.isArray(t)||!t.length?!1:sL(t)/Math.max(t.length,1)>=18}function cL(e){const t=String((e==null?void 0:e.type)||"text").toLowerCase(),r=String((e==null?void 0:e.name)||""),n=Number((e==null?void 0:e.maxLength)??0);return!!(t==="textarea"||t==="file"||oL(r)||t==="select"&&(lL(e)||iL(e))||t==="url"&&/url|enlace|link/i.test(r)||n>=512)}function Cs(e){const{leaf:t}=T5(e),n=t.trim().toLowerCase().replace(/[._\-\s]/g,"");return/^(uuid|guid)$/.test(n)||/^(id|idregistro|identificador)$/.test(n)?"id":/^(cif|nif|nie|cciforga|cifempresa|nifempresa)$/.test(n)?"fiscalId":/^(telefono|tel|phone|tlf|movil|mobile|celular)$/.test(n)?"phone":/^(email|correo|mail|e-mail)$/.test(n)?"email":/^(url|enlace|link|homepage|website)$/.test(n)?"url":/^(importe|monto|amount|total|coste|costo|price|precio|valor)$/.test(n)?"amount":/^(anio|año|year)$/.test(n)?"year":/^(fecha|date|falta|fcreacion|fmodi|factualizacion)$/.test(n)?"date":/^(hora|time|hmodi|hcrea|fhoramodi|fhoracreacion)$/.test(n)?"time":/^(nombre|name|razonsocial|razon|titulo|title)$/.test(n)?"name":/^m[a-zñáéíóú]/.test(n)?"longtext":/^(direccion|dirección|calle|via|vía|portal|piso|cp|postal|codigopostal|provincia|municipio|ciudad|localidad)$/.test(n)?"address":n}function dL(e,t,r="keep"){const n=new Map,o=[];for(const c of e){const d=Cs(c);n.has(d)||(n.set(d,[]),o.push(d)),n.get(d).push(c)}const l=c=>{switch(c){case"id":return 1;case"fiscalId":return 2;case"name":return 3;case"email":return 4;case"phone":return 5;case"url":return 6;case"date":return 7;case"amount":return 8;case"address":return 9;default:return 50}};o.sort((c,d)=>l(c)-l(d));const i=[];for(const c of o){const d=n.get(c);if(r==="drop-secondary"){i.push(d[0]);continue}const u=H5(d,t);for(const f of u)i.push(f)}return i}function uL(e,t){const n=(Array.isArray(e==null?void 0:e.fields)?e.fields:[]).map(u=>u.name).filter(Boolean),o=[],l=D5(t);let i=null,c=0;const d=()=>{i&&i.columns.some(u=>{var f;return(((f=u.fields)==null?void 0:f.length)??0)>0})&&o.push(i),i=null,c=0};for(const u of n)i||(i={title:"",columns:Array.from({length:t},(f,m)=>({width:l[m],fields:[]}))}),i.columns[c].fields.push(u),c=(c+1)%t,c===0&&d();return d(),e.layout=[{type:"rows",sections:[{sectionTitle:"Datos",defaultOpen:!0,rows:o}]}],e}function fL(e,t,r){const n=e.filter(h=>!r(t.get(h))),o=n.length;let l=0,i=0,c=0,d=0;for(const h of n){const g=t.get(h)||{},w=(g.label??"").toString();l+=w.length,i++;const x=String(g.type||"text").toLowerCase();(x==="select"||x==="date")&&c++,(x==="number"||x==="email"||x==="tel"||x==="url"||x==="password"||x==="text")&&d++}const u=i?l/i:0,f=o?c/o:0,m=o?d/o:0;return o<=2?1:o<=4?2:f>=.5||u>=18?3:m>=.7?4:3}function mL(e,t,r){return e.reduce((n,o)=>n+(r(t.get(o))?0:1),0)}function hL(e,t,r,n){if(e.length<=1)return e;const o=[];let l=null;const i=()=>{l&&o.push(l),l=null};for(let c=0;c<e.length;c++){const d=e[c],u=mL(d.names,t,r);if(!l)l={key:d.key,names:[...d.names]};else if(u<n){l.names.push(...d.names);continue}else i(),l={key:d.key,names:[...d.names]};u>=n&&i()}return i(),o}const Xl={identifiers:"Identificadores",company:"Empresa",contact:"Contacto",address:"Dirección",dates:"Fechas",money:"Importe y Presupuestos",web:"Web",general:"General"};function pL(e){const t=Cs(e);return t==="id"||t==="fiscalId"||/^(expediente|num|numero|número|code)$/i.test(t)?"identifiers":/^(empresa|organismo|orga|entidad|razonsocial|razon|cif|nif)$/i.test(t)?"company":t==="email"||t==="phone"?"contact":t==="address"?"address":t==="date"||t==="time"||/(f(alta|modi|crea|actu)|fecha|date|hora|time)/i.test(e)?"dates":t==="amount"||/(importe|monto|amount|total|presupuesto|budget|price|precio|valor)/i.test(e)?"money":t==="url"||/(web|url|enlace|link|homepage|website)/i.test(e)?"web":"general"}function Ql(e){switch(e){case"identifiers":return 1;case"company":return 2;case"contact":return 3;case"address":return 4;case"dates":return 5;case"money":return 6;case"web":return 7;case"general":return 50}}function vL(e,t={}){const r=t.columns??"smart",n=t.generalTitle??"General",o=t.titleCase??!0,l=t.fullSpanStrategy??cL,i=t.mergeTinySections??!0,c=Math.max(1,Math.floor(t.minFieldsPerSection??2)),d=t.groupByConcept??!0,u=t.collapseConceptDuplicates??"keep",f=t.entityBlocks??"auto",m={...Xl,...t.entityTitles??{}},h=Array.isArray(e==null?void 0:e.fields)?e.fields:[],g=new Map(h.map((p,E)=>[p==null?void 0:p.name,{...p,__idx:E}])),w=new Map,x=[];if(f==="auto"){for(const p of h){const E=p==null?void 0:p.name;if(!E)continue;const j=pL(E);w.has(j)||(w.set(j,[]),x.push(j)),w.get(j).push(E)}x.sort((p,E)=>Ql(p)-Ql(E))}else for(const p of h){const E=p==null?void 0:p.name;if(!E)continue;const{group:R}=T5(E),j=R||n;w.has(j)||(w.set(j,[]),x.push(j)),w.get(j).push(E)}let y=x.map(p=>({key:p,names:w.get(p)}));i&&(y=hL(y,g,l,c));const b=[];for(const{key:p,names:E}of y){let R=d?dL(E,g,u):H5(E,g);if(u==="drop-secondary"){const W=new Set;R=R.filter(K=>{const Q=Cs(K);return W.has(Q)?!1:(W.add(Q),!0)})}const j=r==="smart"?fL(R,g,l):r,A=D5(j),S=[];let N=null,B=0;const $=()=>{N&&N.columns.some(W=>{var K;return(((K=W.fields)==null?void 0:K.length)??0)>0})&&S.push(N),N=null,B=0};for(const W of R){const K=g.get(W);if(l(K)){$(),S.push(eL({title:"",columns:[{width:"w-full",fields:[W]}]}));continue}N||(N={title:"",columns:Array.from({length:j},(q,ce)=>({width:A[ce],fields:[]}))}),N.columns[B].fields.push(W),B=(B+1)%j,B===0&&$()}$();let _=p;if(f==="auto"){const W=p||"general";_=m[W]??Xl[W]??Yl(p,o)}else _=Yl(p,o);b.push({sectionTitle:_,defaultOpen:!0,rows:S.length?S:[{title:"",columns:[{width:"w-full",fields:[]}]}]})}return e.layout=[{type:"rows",sections:b}],e}function wL(e,t){const r=vL(e,t==null?void 0:t.sectionize);return V5(r,t==null?void 0:t.groups)}function gL(e){const t=e.split(",").map(n=>n.trim()).filter(Boolean),r=[];for(const n of t){const o=n.match(/^\/(.+)\/([a-z]*)$/i);if(o)try{r.push(new RegExp(o[1],o[2]));continue}catch{}r.push(n)}return r}function bL(e){const t=e.trim();return/^export\s+interface\s+\w+/i.test(t)||/^interface\s+\w+/i.test(t)||/^export\s+type\s+\w+\s*=\s*{/.test(t)||/^type\s+\w+\s*=\s*{/.test(t)}function xL(e){return e.replace(/^\uFEFF/,"").replace(/\/\*[\s\S]*?\*\//g,"").replace(/^\s*\/\/.*$/gm,"").replace(/,\s*([}\]])/g,"$1")}function yL(){const[e,t]=v.useState(!1);return s.jsxs(s.Fragment,{children:[s.jsx(ie,{size:"sm",variant:"outline",onClick:()=>t(!0),title:"Generar formulario desde JSON o TypeScript",children:"Generar desde objeto"}),s.jsx(EL,{open:e,onClose:()=>t(!1)})]})}function EL({open:e,onClose:t}){const{show:r}=hr(),n=Y(j=>j.setSchema),[o,l]=v.useState(""),[i,c]=v.useState(!0),[d,u]=v.useState(5),[f,m]=v.useState("^id$, alta, modi, login"),[h,g]=v.useState("Formulario generado"),[w,x]=v.useState("generated-form"),[y,b]=v.useState(!1),[p,E]=v.useState("auto"),R=v.useCallback(()=>{const j=o.trim(),A={flatten:i,maxDepth:d,exclude:gL(f),formTitle:h.trim()||"Formulario generado",formId:w.trim()||"generated-form"};b(!0);try{let S=null;try{const N=JSON.parse(xL(j));if(N==null||typeof N!="object"||Array.isArray(N))throw new Error("El JSON debe ser un objeto (no null/array).");S=Qn(N,A)}catch(N){if(bL(j))S=P$(j,A);else{const B=(N==null?void 0:N.message)||"Entrada inválida";throw new Error(`Entrada inválida: ${B}. Pega JSON válido o una definición TypeScript.`)}}if(!S||!Array.isArray(S.fields)||S.fields.length===0)throw new Error("La entrada no produjo campos. Revisa el contenido.");p!=="auto"?(S=uL(S,Number(p)),S=V5(S,{groupSuffix:"_group"})):S=wL(S,{sectionize:{collapseConceptDuplicates:"adjacent",entityBlocks:"auto",mergeTinySections:!0,minFieldsPerSection:2},groups:{groupSuffix:"_group"}}),n==null||n(S),r("Formulario generado correctamente.","success"),t()}catch(S){r(S!=null&&S.message?String(S.message):"No se pudo generar el formulario.","error")}finally{b(!1)}},[o,i,d,f,h,w,p,n,r,t]);return v.useEffect(()=>{if(!e)return;const j=A=>{A.key==="Escape"&&t(),(A.ctrlKey||A.metaKey)&&A.key.toLowerCase()==="enter"&&R()};return window.addEventListener("keydown",j),()=>window.removeEventListener("keydown",j)},[e,t,R]),e?s.jsxs("div",{role:"dialog","aria-modal":"true",className:"fixed inset-0 z-[999] flex items-center justify-center",children:[s.jsx("div",{className:"absolute inset-0 bg-black/40",onClick:t}),s.jsxs("div",{className:"relative w-full max-w-4xl rounded-xl border bg-[var(--color-ds-background-surface)] border-[var(--color-ds-border-default-50)] shadow-lg",children:[s.jsxs("div",{className:"px-4 py-3 border-b border-[var(--color-ds-border-default-50)] flex items-center gap-2",children:[s.jsx("div",{className:"font-semibold text-[var(--color-ds-text-primary)]",children:"Generar desde JSON o TypeScript"}),s.jsx("div",{className:"ml-auto",children:s.jsx(ie,{size:"sm",variant:"ghost",onClick:t,title:"Cerrar","aria-label":"Cerrar",children:"✕"})})]}),s.jsxs("div",{className:"p-4 space-y-4 max-h-[80vh] overflow-auto",children:[s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:[s.jsx(Re,{label:"Título del formulario",value:h,onChange:j=>g(j.target.value),size:"sm",reserveErrorSpace:!1}),s.jsx(Re,{label:"ID del formulario",value:w,onChange:j=>x(j.target.value),size:"sm",reserveErrorSpace:!1})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-3 items-end",children:s.jsx(rt,{label:"Distribución (cols)",size:"sm",value:p,onChange:j=>E(j),options:[{label:"Auto",value:"auto"},{label:"1 columna",value:"1"},{label:"2 columnas",value:"2"},{label:"3 columnas",value:"3"},{label:"4 columnas",value:"4"}],reserveErrorSpace:!0})}),s.jsx(bn,{label:"Entrada (pega JSON o una interface/type de TypeScript)",value:o,onChange:j=>l(j.target.value),size:"sm",rows:16,placeholder:`{
82
+ "campo":"valor",
83
+ "nPlazoDuracion": 12,
84
+ "cUnidadPlazo": "meses"
85
+ }
86
+ /* O pega un interface TS:
87
+ export interface MiDTO {
88
+ nPlazoDuracion?: number;
89
+ cUnidadPlazo?: string;
90
+ }
91
+ */`,maxLength:2e6}),s.jsx("div",{className:"sticky bottom-0 pt-1 bg-[var(--color-ds-background-surface)]",children:s.jsxs("div",{className:"flex items-center justify-end gap-2 border-t border-[var(--color-ds-border-default-50)] pt-3",children:[s.jsx(ie,{size:"sm",variant:"outline",onClick:t,children:"Cancelar"}),s.jsx(ie,{size:"sm",variant:"primary",onClick:R,disabled:y,children:y?"Generando…":"Generar formulario"})]})})]})]})]}):null}function kL(e){return typeof e.type=="string"}function RL(e){const t=e.validation;return t===void 0||typeof t=="object"}function jL(e){const t=e.options;return Array.isArray(t)}function CL(e){return Object.prototype.toString.call(e)==="[object RegExp]"}function Gt(e){return String(e).replace(/\\/g,"\\\\").replace(/`/g,"\\`")}function ML(e){var l,i,c,d,u;const t=kL(e)&&e.type?e.type:"string";let r="yup.string()";switch(t){case"number":r="yup.number()";break;case"checkbox":r="yup.boolean()";break;case"date":r="yup.date().nullable()";break;case"file":r="yup.array()";break;case"select":case"text":case"email":case"password":case"textarea":default:r="yup.string()";break}const n=RL(e)&&e.validation?e.validation:{},o=[r];if(n.required){const f=typeof n.required=="string"?n.required:n.requiredMessage||"Requerido";o.push(`.required(\`${Gt(f)}\`)`)}if(((l=n.minLength)==null?void 0:l.value)!=null&&o.push(`.min(${Number(n.minLength.value)}, \`${Gt(n.minLength.message??"Muy corto")}\`)`),((i=n.maxLength)==null?void 0:i.value)!=null&&o.push(`.max(${Number(n.maxLength.value)}, \`${Gt(n.maxLength.message??"Muy largo")}\`)`),(c=n.pattern)!=null&&c.value&&CL(n.pattern.value)){const f=n.pattern.value.source,m=n.pattern.value.flags||"";o.push(`.matches(new RegExp(\`${Gt(f)}\`, \`${Gt(m)}\`), \`${Gt(n.pattern.message??"Formato inválido")}\`)`)}if(t==="number"&&(((d=n.min)==null?void 0:d.value)!=null&&o.push(`.min(${Number(n.min.value)}, \`${Gt(n.min.message??"Demasiado pequeño")}\`)`),((u=n.max)==null?void 0:u.value)!=null&&o.push(`.max(${Number(n.max.value)}, \`${Gt(n.max.message??"Demasiado grande")}\`)`)),t==="select"&&jL(e)&&e.options&&e.options.length){const f=e.options.map(m=>JSON.stringify(String(m.value)));o.push(`.oneOf([${f.join(", ")}])`)}return o.join("")}function AL(e,t="validationSchema"){const r=[],n=e.fields??[];for(const i of n){const c=i;!c.name||typeof c.name!="string"||r.push(` ${c.name}: ${ML(c)},`)}const o=r.join(`
66
92
  `);return`/* eslint-disable */
67
93
  // Auto-generated with generateYupCode(schema)
68
94
  import * as yup from "yup";
69
95
 
70
96
  export const ${t} = yup.object({
71
- ${n}
97
+ ${o}
72
98
  });
73
99
 
74
- export type FormValues = yup.InferType<typeof ${t}>;`}function Co(e,t){const r=new Blob([t],{type:"text/plain;charset=utf-8"}),s=URL.createObjectURL(r),n=document.createElement("a");n.href=s,n.download=e,n.click(),URL.revokeObjectURL(s)}function Kh(e){return e.reduce((t,r)=>r.type==="rows"?t+r.sections.length:t+r.tabs.reduce((s,n)=>s+n.sections.length,0),0)}const hn=e=>e.toLowerCase().endsWith(".json")?e:`${e}.json`,Ao=(e,t)=>`${e.replace(/\/+$/,"")}/${t.replace(/^\/+/,"")}`;function Gh(){var A;const e=J(C=>C.schema),t=J(C=>C.undo),r=J(C=>C.redo),s=J(C=>C.setSchema),n=J(C=>C.resetHistory),a=J(C=>C.past.length),i=J(C=>C.future.length),l=h.useRef(null),{show:c}=Vr(),{fs:d,baseDir:u}=$s(),f=Kh(e.layout),p=e.fields.length,b=((A=e.title)==null?void 0:A.toString().trim().replace(/\s+/g,"-").toLowerCase())||"form-schema",g=()=>{Co(`${b}.json`,JSON.stringify(e,null,2)),c("Esquema exportado como JSON.","success")},v=()=>{try{const C=Wh(e,"validationSchema");Co(`${b}.validation.ts`,C),c("Yup exportado como TypeScript.","success")}catch(C){console.error(C),c("No se pudo generar el Yup.","error")}},x=async()=>{try{await navigator.clipboard.writeText(JSON.stringify(e,null,2)),c("JSON copiado al portapapeles.","success")}catch{c("No se pudo copiar al portapapeles.","error")}},m=()=>{var C;return(C=l.current)==null?void 0:C.click()},y=C=>{var V;const N=(V=C.target.files)==null?void 0:V[0];if(!N)return;if(!window.confirm("Vas a reemplazar el esquema actual. ¿Continuar?")){C.currentTarget.value="";return}const U=new FileReader;U.onload=()=>{try{const W=JSON.parse(String(U.result));if(!Array.isArray(W.layout)||!Array.isArray(W.fields)){c("JSON inválido: faltan layout/fields.","error");return}s(()=>W),n(),c("Esquema importado correctamente.","success")}catch{c("No se pudo parsear el JSON.","error")}},U.readAsText(N),C.currentTarget.value=""},j=()=>{window.confirm("Crear un esquema nuevo vacío (perderás cambios no guardados). ¿Continuar?")&&(s(N=>{N.layout=[{type:"rows",sections:[{sectionTitle:"Sección 1",defaultOpen:!0,rows:[{title:"",columns:[{width:"w-full",fields:[]}]}]}]}],N.fields=[],N.successMessage="Guardado",N.errorMessage="Error",N.onSubmit=async()=>{}}),n(),c("Esquema nuevo creado.","info"))},_=async()=>{try{const C=Ao(u,hn(`${b}.json`));await d.write(C,JSON.stringify(e,null,2)),c(`Guardado rápido en ${C}`,"success")}catch(C){console.error(C),c("Guardado rápido fallido.","error")}},k=async()=>{try{const C=hn(`${b}.json`),N=window.prompt("Guardar como (archivo en baseDir):",C);if(!N)return;const M=Ao(u,hn(N));await d.write(M,JSON.stringify(e,null,2)),c(`Guardado en ${M}`,"success")}catch(C){console.error(C),c("No se pudo guardar el archivo.","error")}};return h.useEffect(()=>{const C=N=>{const M=N.metaKey||N.ctrlKey;if(M&&N.key.toLowerCase()==="z"&&!N.shiftKey){N.preventDefault(),a>0&&t();return}if(M&&N.key.toLowerCase()==="z"&&N.shiftKey||M&&N.key.toLowerCase()==="y"){N.preventDefault(),i>0&&r();return}if(M&&N.key.toLowerCase()==="s"){N.preventDefault(),_();return}};return window.addEventListener("keydown",C),()=>window.removeEventListener("keydown",C)},[a,i,t,r]),o.jsxs("div",{className:"px-4 py-2 border-b border-[var(--color-ds-border-default)] bg-[var(--color-ds-background-page)] flex items-center justify-between",children:[o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(fe,{variant:"ghost",onClick:t,disabled:a===0,title:"Deshacer (Ctrl/Cmd+Z)",children:"Undo"}),o.jsx(fe,{variant:"ghost",onClick:r,disabled:i===0,title:"Rehacer (Ctrl/Cmd+Shift+Z · Ctrl+Y)",children:"Redo"}),o.jsx("span",{className:"mx-1 opacity-30 select-none",children:"|"}),o.jsx(fe,{variant:"outline",onClick:m,title:"Importar desde JSON",children:"Importar JSON"}),o.jsx(fe,{variant:"outline",onClick:g,title:"Exportar a JSON",children:"Exportar JSON"}),o.jsx(fe,{variant:"outline",onClick:v,title:"Exportar Yup como TypeScript",children:"Exportar Yup (.ts)"}),o.jsx(fe,{variant:"ghost",onClick:x,title:"Copiar JSON al portapapeles",children:"Copiar JSON"}),o.jsx("input",{ref:l,type:"file",accept:"application/json",className:"hidden",onChange:y}),o.jsx("span",{className:"mx-1 opacity-30 select-none",children:"|"}),o.jsx(fe,{variant:"outline",onClick:_,title:"Guardar rápido en baseDir (Ctrl/Cmd+S)",children:"Guardar"}),o.jsx(fe,{variant:"outline",onClick:k,title:"Guardar como… en baseDir",children:"Guardar como…"}),o.jsx("span",{className:"mx-1 opacity-30 select-none",children:"|"}),o.jsx(fe,{onClick:j,title:"Nuevo esquema",children:"Nuevo"})]}),o.jsxs("div",{className:"flex items-center gap-3 text-[var(--color-ds-text-secondary)] text-ds-sm",children:[o.jsxs("span",{className:"text-[var(--color-ds-text-primary)]",children:["Secciones: ",o.jsx("strong",{children:f})]}),o.jsxs("span",{className:"text-[var(--color-ds-text-primary)]",children:["Campos: ",o.jsx("strong",{children:p})]})]})]})}const cs="application/x-ds-field-template",To="application/x-ds-layout-kind";function ds(e){return e.layout.find(t=>(t==null?void 0:t.type)==="rows")}function Jh({className:e,children:t}){var y;const r=J(j=>j.schema),s=J(j=>j.addFieldAndPlace),n=J(j=>j.addRowsBlockAt),a=J(j=>j.addSection),i=J(j=>j.addRowToSection),l=J(j=>j.setRowColumns),c=J(j=>j.moveField),[d,u]=h.useState(!1),f=h.useMemo(()=>{var k;const j=ds(r);if(!j)return[];const _=[];return(k=j.sections)==null||k.forEach((A,C)=>{var N;(N=A.rows)==null||N.forEach((M,U)=>{(M.columns??[]).forEach((V,W)=>{var S;const $=((S=V.fields)==null?void 0:S.length)??0,L=Math.max(1,$+1);for(let te=0;te<L;te++)_.push({kind:"field-slot",sectionIdx:C,rowIdx:U,colIdx:W,insertIdx:te,key:`s${C}-r${U}-c${W}-i${te}`})})})}),_},[r]),p=h.useCallback(()=>{var k,A;let j=ds(r);return j?(k=j.sections)!=null&&k.length?(A=j.sections[0].rows)!=null&&A.length?((j.sections[0].rows[0].columns??[]).length||l==null||l(0,0,1),{s:0,r:0,c:0}):(i==null||i(0),{s:0,r:0,c:0}):(a==null||a("Sección 1"),{s:0,r:0,c:0}):(n==null||n(r.layout.length??0,"Sección 1"),{s:0,r:0,c:0})},[r,n,a,i,l]),b=h.useCallback(j=>{var k;const _=((k=j.dataTransfer)==null?void 0:k.types)||[];(_.includes(cs)||_.includes(To))&&(j.preventDefault(),j.dataTransfer.dropEffect="copy",u(_.includes(cs)?"field":"layout"))},[]),g=h.useCallback(()=>u(!1),[]),v=h.useCallback(j=>{var C;const _=j.dataTransfer.getData(To);if(!_)return!1;const{kind:k}=JSON.parse(_),A=((C=r==null?void 0:r.layout)==null?void 0:C.length)??0;return k==="section-layout"&&(n==null||n(A,"Nueva sección")),!0},[(y=r==null?void 0:r.layout)==null?void 0:y.length,n]),x=h.useCallback((j,_)=>{const k=_.dataTransfer.getData(cs);if(!k)return!1;const{fieldTemplate:A}=JSON.parse(k);return s(A,j.sectionIdx,j.rowIdx,j.colIdx),queueMicrotask(()=>{var V;const C=J.getState().schema,U=(((V=ds(C).sections[j.sectionIdx].rows[j.rowIdx].columns[j.colIdx].fields)==null?void 0:V.length)??1)-1;j.insertIdx>=0&&j.insertIdx<U&&c({s:j.sectionIdx,r:j.rowIdx,c:j.colIdx,idx:U},{s:j.sectionIdx,r:j.rowIdx,c:j.colIdx,idx:j.insertIdx})}),!0},[s,c]),m=h.useCallback(j=>{if(j.preventDefault(),j.stopPropagation(),v(j)){u(!1);return}const _=j.dataTransfer.getData(cs);if(_){const{fieldTemplate:k}=JSON.parse(_),A=p();s(k,A.s,A.r,A.c)}u(!1)},[v,p,s]);return o.jsxs("div",{className:["relative",e].filter(Boolean).join(" "),onDragOver:b,onDragLeave:g,onDrop:m,children:[t,d&&o.jsxs("div",{className:"absolute inset-0 z-40",children:[o.jsx("div",{className:"absolute inset-0 bg-black/5 pointer-events-none"}),o.jsx("div",{className:"absolute inset-0 px-4 py-4 overflow-auto space-y-4",children:(()=>{var k;const j=ds(r);if(!j||!((k=j.sections)!=null&&k.length)){const A=p(),C={kind:"field-slot",sectionIdx:A.s,rowIdx:A.r,colIdx:A.c,insertIdx:0,key:"init"};return o.jsx("div",{className:"min-h-[220px] border-2 border-dashed rounded-2xl bg-white/70 flex items-center justify-center text-ds-sm",onDragOver:N=>N.preventDefault(),onDrop:N=>{N.preventDefault(),N.stopPropagation(),x(C,N),u(!1)},children:"Suelta aquí para empezar"})}const _=[];return j.sections.forEach((A,C)=>{var N;(N=A.rows)==null||N.forEach((M,U)=>{const V=[];(M.columns??[]).forEach((W,$)=>{const L=f.filter(S=>S.sectionIdx===C&&S.rowIdx===U&&S.colIdx===$);V.push(L)}),_.push({key:`s${C}-r${U}`,cols:V})})}),_.map(A=>o.jsx("div",{className:"grid gap-3 pointer-events-none",style:{gridTemplateColumns:`repeat(${A.cols.length||1}, minmax(0,1fr))`},children:A.cols.map((C,N)=>{const M=C.length===1;return o.jsx("div",{className:"pointer-events-auto",children:o.jsx("div",{className:["rounded-xl border-2 border-dashed bg-white/60",M?"min-h-[160px]":"py-2"].join(" "),children:o.jsx("div",{className:"flex flex-col gap-2",children:C.map(U=>o.jsx("div",{className:"h-7 rounded-md border border-transparent hover:border-[var(--color-ds-border-default)] hover:bg-white/80 flex items-center justify-center text-ds-xs text-[var(--color-ds-text-secondary)]",onDragOver:V=>V.preventDefault(),onDrop:V=>{V.preventDefault(),V.stopPropagation(),x(U,V),u(!1)},title:`Insertar en Col ${U.colIdx+1}, posición ${U.insertIdx+1}`,children:M?"Soltar aquí":U.insertIdx===C.length-1?"Añadir al final":"Insertar aquí"},U.key))})})},`${A.key}-c${N}`)})},A.key))})()})]})]})}function Zh(e,t,r){const s={...e};return t.top+e.y<=r.top?s.y=r.top-t.top:t.bottom+e.y>=r.top+r.height&&(s.y=r.top+r.height-t.bottom),t.left+e.x<=r.left?s.x=r.left-t.left:t.right+e.x>=r.left+r.width&&(s.x=r.left+r.width-t.right),s}const Yh=e=>{let{transform:t,draggingNodeRect:r,windowRect:s}=e;return!r||!s?t:Zh(t,r,s)};function Hh({children:e}){const t=J($=>$.moveField),r=J($=>$.moveFieldInTab),s=J($=>$.removeFieldFromLayout),n=J($=>$.removeFieldFromTabLayout),a=J($=>$.insertExistingFieldAt),i=J($=>$.insertExistingFieldInTabAt),l=J($=>$.addField),c=J($=>$.addFieldAndPlaceInTabAt),d=J($=>$.placeFieldInTabColumn),u=J($=>$.placeFieldInColumn),f=J($=>$.moveFieldAt),p=J($=>$.removeFieldFromLayoutAt),b=J($=>$.placeFieldInColumnAt),g=J($=>$.insertExistingFieldAtAt),v=J($=>$.addFieldAndPlaceAtAt),x=J($=>$.moveSection),m=J($=>$.moveTab),y=J($=>$.moveTabSection),[j,_]=h.useState(null),[k,A]=h.useState(null),C=Uf(fo(ca,{activationConstraint:{distance:6}}),fo(ia)),N=$=>{var S,te;const L=(te=(S=$==null?void 0:$.active)==null?void 0:S.data)==null?void 0:te.current;L&&_({data:L})},M=$=>{var S,te;const L=(te=(S=$==null?void 0:$.over)==null?void 0:S.data)==null?void 0:te.current;A(L??null)},U=($,L)=>$===void 0?L:Math.max(0,Math.min($,L)),V=$=>{var ie,K;const L=(K=(ie=$.active)==null?void 0:ie.data)==null?void 0:K.current;let S=null;switch(L==null?void 0:L.kind){case"rows-section":S=["rows-section"];break;case"tabs-tab":S=["tabs-tab"];break;case"tab-section":S=["tab-section"];break;case"field-in-rows":S=["rows-column"];break;case"field-in-tabs":S=["tabs-column"];break;case"palette-field":S=["rows-column","tabs-column"];break;default:S=null}const te=S==null?$.droppableContainers:$.droppableContainers.filter(me=>{var z,Y;const I=(Y=(z=me.data)==null?void 0:z.current)==null?void 0:Y.scope;return I&&S.includes(I)});return te.length?Zf({...$,droppableContainers:te}):ol($)},W=$=>{var te,ie,K,me,I,z,Y,D;const L=(ie=(te=$==null?void 0:$.active)==null?void 0:te.data)==null?void 0:ie.current,S=(me=(K=$==null?void 0:$.over)==null?void 0:K.data)==null?void 0:me.current;if(_(null),A(null),!(!L||!S)){if(L.kind==="rows-section"&&S.scope==="rows-section"){if(typeof x=="function"&&L.nodeIdx===S.nodeIdx){const T=J.getState().schema.layout[L.nodeIdx],Z=((I=T==null?void 0:T.sections)==null?void 0:I.length)??0;x(L.nodeIdx,L.sIdx,U(S.insertAt,Z))}return}if(L.kind==="tabs-tab"&&S.scope==="tabs-tab"){if(typeof m=="function"&&L.nodeIdx===S.nodeIdx){const T=J.getState().schema.layout[L.nodeIdx],Z=((z=T==null?void 0:T.tabs)==null?void 0:z.length)??0;m(L.nodeIdx,L.index,U(S.insertAt,Z))}return}if(L.kind==="tab-section"&&S.scope==="tab-section"){if(typeof y=="function"&&L.nodeIdx===S.nodeIdx&&L.tabKey===S.tabKey){const T=J.getState().schema.layout[L.nodeIdx],Z=(Y=T==null?void 0:T.tabs)==null?void 0:Y.find(B=>B.key===L.tabKey),R=((D=Z==null?void 0:Z.sections)==null?void 0:D.length)??0;y(L.nodeIdx,L.tabKey,L.sIdx,U(S.insertAt,R))}return}if(L.kind==="field-in-rows"&&S.scope==="rows-column"){const T=L.rowsNodeIdx??0,Z=S.rowsNodeIdx??T;typeof f=="function"&&T!==Z?f(T,L.path,Z,{s:S.s,r:S.r,c:S.c,idx:S.insertAt}):t(L.path,{s:S.s,r:S.r,c:S.c,idx:S.insertAt});return}if(L.kind==="field-in-tabs"&&S.scope==="tabs-column"&&L.tabKey===S.tabKey){r({tabKey:L.tabKey,...L.path},{tabKey:L.tabKey,s:S.s,r:S.r,c:S.c,idx:S.insertAt});return}if(L.kind==="field-in-tabs"&&S.scope==="tabs-column"&&L.tabKey!==S.tabKey){n({tabKey:L.tabKey,...L.path}),typeof S.insertAt=="number"?i(L.name,S.tabKey,S.s,S.r,S.c,S.insertAt):d(L.name,S.tabKey,S.s,S.r,S.c);return}if(L.kind==="field-in-rows"&&S.scope==="tabs-column"){const T=L.rowsNodeIdx??0;typeof p=="function"?p(T,L.path):s(L.path),typeof S.insertAt=="number"?i(L.name,S.tabKey,S.s,S.r,S.c,S.insertAt):d(L.name,S.tabKey,S.s,S.r,S.c);return}if(L.kind==="field-in-tabs"&&S.scope==="rows-column"){n({tabKey:L.tabKey,...L.path});const T=S.rowsNodeIdx??0;if(typeof g=="function"){const Z=typeof S.insertAt=="number"?S.insertAt:void 0;typeof Z=="number"?g(T,L.name,S.s,S.r,S.c,Z):typeof b=="function"?b(T,L.name,S.s,S.r,S.c):u(L.name,S.s,S.r,S.c)}else typeof S.insertAt=="number"?a(L.name,S.s,S.r,S.c,S.insertAt):u(L.name,S.s,S.r,S.c);return}if(L.kind==="palette-field"){if(S.scope==="rows-column"){const T=S.rowsNodeIdx??0;if(typeof S.insertAt=="number"&&typeof v=="function")v(T,{type:L.factoryKind},S.s,S.r,S.c,S.insertAt);else{const Z=J.getState().schema.fields.length;l({type:L.factoryKind});const R=J.getState().schema.fields[Z];typeof b=="function"?b(T,R.name,S.s,S.r,S.c):u(R.name,S.s,S.r,S.c)}return}if(S.scope==="tabs-column"){if(typeof S.insertAt=="number"&&typeof c=="function")c({type:L.factoryKind},S.tabKey,S.s,S.r,S.c,S.insertAt);else{const T=J.getState().schema.fields.length;l({type:L.factoryKind});const Z=J.getState().schema.fields[T];d(Z.name,S.tabKey,S.s,S.r,S.c)}return}}}};return o.jsxs(Bm,{sensors:C,collisionDetection:V,onDragStart:N,onDragOver:M,onDragEnd:W,modifiers:[Yh],children:[e,o.jsx(oh,{children:j?o.jsxs("div",{className:"px-2 py-1 rounded-md border text-[var(--color-ds-text-primary)] border-[var(--color-ds-border-default)] bg-[var(--color-ds-background-surface)] shadow",children:[j.data.kind==="palette-field"&&`Nuevo: ${j.data.factoryKind}`,j.data.kind==="field-in-rows"&&j.data.name,j.data.kind==="field-in-tabs"&&j.data.name,j.data.kind==="rows-section"&&"Sección",j.data.kind==="tabs-tab"&&"Pestaña",j.data.kind==="tab-section"&&"Sección de pestaña"]}):null})]})}function _o(e){const r={...e.scope==="rows-column"?{scope:"rows-column",s:e.s,r:e.r,c:e.c,rowsNodeIdx:e.rowsNodeIdx}:{scope:"tabs-column",tabKey:e.tabKey,s:e.s,r:e.r,c:e.c},insertAt:Number.MAX_SAFE_INTEGER},{setNodeRef:s,isOver:n}=Jr({id:JSON.stringify(r),data:r});return o.jsx("div",{ref:s,className:n?"ring-2 ring-[var(--color-ds-border-default)] rounded-md":"","aria-dropeffect":n?"copy":void 0,"data-drop-scope":e.scope,children:e.children})}function us(e){const r={...e.scope==="rows-column"?{scope:"rows-column",rowsNodeIdx:e.rowsNodeIdx,s:e.s,r:e.r,c:e.c}:{scope:"tabs-column",tabKey:e.tabKey,s:e.s,r:e.r,c:e.c},insertAt:e.insertAt},{setNodeRef:s,isOver:n}=Jr({id:JSON.stringify(r),data:r});return o.jsx("div",{ref:s,role:"button","aria-dropeffect":n?"copy":void 0,"aria-label":`Soltar aquí (posición ${e.insertAt+1})`,"data-drop-scope":e.scope,"data-insert-at":e.insertAt,className:["h-2 my-1 w-full","rounded-sm transition",n?"bg-[var(--color-ds-border-default)]/30 ring-1 ring-[var(--color-ds-border-default)]":"bg-transparent","relative -mx-1 px-1"].join(" ")})}function Fo(e){const t=e.kind==="field-in-tabs"?`${e.kind}:${e.tabKey}:${e.name}:${e.path.s}-${e.path.r}-${e.path.c}-${e.path.idx}`:`${e.kind}:${e.rowsNodeIdx}:${e.name}:${e.path.s}-${e.path.r}-${e.path.c}-${e.path.idx}`,r=e.kind==="field-in-rows"?{kind:e.kind,name:e.name,path:e.path,rowsNodeIdx:e.rowsNodeIdx}:{kind:e.kind,name:e.name,path:e.path,tabKey:e.tabKey},{attributes:s,listeners:n,setNodeRef:a,isDragging:i}=Gr({id:t,data:r});return o.jsxs("div",{ref:a,className:["text-[var(--color-ds-text-primary)] group flex items-center justify-between gap-2 rounded-md px-2 py-1 w-100",i?"opacity-50":"opacity-100"].join(" "),"data-field-name":e.name,children:[o.jsx("button",{type:"button",className:"text-[var(--color-ds-text-primary)] text-ds-sm hover:underline text-left truncate",title:e.name,onClick:e.onSelect,children:e.name}),o.jsx("div",{...n,...s,role:"button","aria-grabbed":i,"aria-label":`Arrastrar campo ${e.name}`,className:["text-[var(--color-ds-text-primary)] text-[10px] select-none cursor-grab active:cursor-grabbing","px-1 py-0.5 rounded-sm","hover:bg-[var(--color-ds-background-muted)]","focus:outline-none focus:ring-2 focus:ring-[var(--color-accent-500)]"].join(" "),title:"Arrastra para reordenar",children:"⇅"})]})}function Oo({nodeIdx:e,insertAt:t}){const r={scope:"rows-section",nodeIdx:e,insertAt:t},{setNodeRef:s,isOver:n}=Jr({id:`rows-section:${e}:${t}`,data:r});return o.jsx("div",{ref:s,className:["h-2 my-1 w-full rounded-sm transition relative -mx-1 px-1",n?"bg-[var(--color-ds-border-default)]/30 ring-1 ring-[var(--color-ds-border-default)]":"bg-transparent"].join(" "),"aria-label":`Insertar sección en posición ${t+1}`})}function Xh({nodeIdx:e,sIdx:t}){const r=`rows-section:${e}:${t}`,s={kind:"rows-section",nodeIdx:e,sIdx:t},{attributes:n,listeners:a,setNodeRef:i,isDragging:l}=Gr({id:r,data:s});return o.jsx("div",{ref:i,...n,...a,role:"button",title:"Arrastrar sección","aria-grabbed":l,className:"shrink-0 w-6 h-6 grid place-items-center cursor-grab active:cursor-grabbing rounded hover:bg-[var(--color-ds-background-muted)]",children:"⇅"})}function Ro({nodeIdx:e,insertAt:t}){const r={scope:"tabs-tab",nodeIdx:e,insertAt:t},{setNodeRef:s,isOver:n}=Jr({id:`tabs-tab:${e}:${t}`,data:r});return o.jsx("div",{ref:s,className:["w-8 h-7 rounded-md transition",n?"bg-[var(--color-ds-border-default)]/30 ring-1 ring-[var(--color-ds-border-default)]":"bg-transparent"].join(" "),title:`Insertar pestaña en posición ${t+1}`})}function Qh({nodeIdx:e,index:t,tabKey:r,label:s}){const n=`tabs-tab:${e}:${t}:${r}`,a={kind:"tabs-tab",nodeIdx:e,index:t,tabKey:r},{attributes:i,listeners:l,setNodeRef:c,isDragging:d}=Gr({id:n,data:a});return o.jsxs("div",{ref:c,...i,...l,"aria-grabbed":d,className:["px-2 h-7 inline-flex items-center rounded-full border text-ds-xs cursor-grab active:cursor-grabbing","border-[var(--color-ds-border-default-50)] bg-[var(--color-ds-background-surface)]",d?"opacity-50":"opacity-100"].join(" "),title:`Arrastrar pestaña "${s}"`,children:[o.jsx("span",{className:"mr-1",children:"⇅"})," ",s]})}function pn({nodeIdx:e,tabKey:t,insertAt:r}){const s={scope:"tab-section",nodeIdx:e,tabKey:t,insertAt:r},{setNodeRef:n,isOver:a}=Jr({id:`tab-section:${e}:${t}:${r}`,data:s});return o.jsx("div",{ref:n,className:["h-2 my-1 w-full rounded-sm transition relative -mx-1 px-1",a?"bg-[var(--color-ds-border-default)]/30 ring-1 ring-[var(--color-ds-border-default)]":"bg-transparent"].join(" "),"aria-label":`Insertar sección de pestaña en posición ${r+1}`})}function ep({nodeIdx:e,tabKey:t,sIdx:r}){const s=`tab-section:${e}:${t}:${r}`,n={kind:"tab-section",nodeIdx:e,tabKey:t,sIdx:r},{attributes:a,listeners:i,setNodeRef:l,isDragging:c}=Gr({id:s,data:n});return o.jsx("div",{ref:l,...a,...i,title:"Arrastrar sección de pestaña","aria-grabbed":c,className:"shrink-0 w-6 h-6 grid place-items-center cursor-grab active:cursor-grabbing rounded hover:bg-[var(--color-ds-background-muted)]",children:"⇅"})}const Do=e=>e<=1?["w-full"]:e===2?["w-1/2","w-1/2"]:e===3?["w-1/3","w-1/3","w-1/3"]:Array.from({length:e},()=>"flex-1"),Mo=[1,2,3,4];function bn({expanded:e,onClick:t,labelExpanded:r,labelCollapsed:s,titleExpanded:n,titleCollapsed:a,className:i=""}){return o.jsx(fe,{size:"xs",variant:"ghost","aria-expanded":e,"aria-label":e?r:s,onClick:t,title:e?n??"Colapsar":a??"Expandir",className:`shrink-0 w-8 h-8 p-0 grid place-items-center ${i}`,children:o.jsx(Rs,{className:`w-4 h-4 text-[var(--color-ds-text-primary)] transition-transform duration-150 ${e?"rotate-180":""}`})})}function tp(){const e=J(R=>R.schema),t=J(R=>R.placeFieldInColumn),r=J(R=>R.removeFieldFromLayout),s=J(R=>R.addColumnToRow),n=J(R=>R.setRowColumns),a=J(R=>R.removeColumn),i=J(R=>R.setSelection),l=J(R=>R.renameSection||R.setSectionTitle),c=J(R=>R.removeSection);J(R=>R.duplicateSection),J(R=>R.addRowToSection);const d=J(R=>R.addTabAfter),u=J(R=>R.removeTab),f=J(R=>R.renameTab),p=J(R=>R.addSectionToTab);J(R=>R.addRowToTabSection);const b=J(R=>R.renameTabSection),g=J(R=>R.setTabRowColumns),v=J(R=>R.addColumnToTabRow),x=J(R=>R.removeTabColumn),m=J(R=>R.placeFieldInTabColumn),y=J(R=>R.removeFieldFromTabLayout);J(R=>R.addRowsBlockAt),J(R=>R.addTabsContainerAt);const j=J(R=>R.removeLayoutNode);J(R=>R.duplicateRowInSection);const _=J(R=>R.removeRowFromSection),k=J(R=>R.duplicateTabRow),A=J(R=>R.removeTabRow),[C,N]=h.useState({}),[M,U]=h.useState({}),[V,W]=h.useState({}),[$,L]=h.useState({}),S=(R,B)=>`${R}:${B}`,te=(R,B,ae)=>`${R}:${B}:${ae}`,ie=(R,B)=>U(ae=>({...ae,[S(R,B)]:!ae[S(R,B)]})),K=(R,B)=>!!M[S(R,B)],me=(R,B,ae)=>W(pe=>({...pe,[te(R,B,ae)]:!pe[te(R,B,ae)]})),I=(R,B,ae)=>!!V[te(R,B,ae)],z=R=>L(B=>({...B,[R]:!B[R]})),Y=R=>!!$[R],D=(R,B)=>l==null?void 0:l(R,B),T=R=>c==null?void 0:c(R),Z=h.useMemo(()=>[...e.fields].reverse().find(R=>R.type!=="inputGroup"&&R.type!=="button"),[e.fields]);return o.jsx(Hh,{children:o.jsxs("div",{className:"space-y-3",children:[o.jsx(gn,{at:0}),e.layout.map((R,B)=>{var ae;if(R.type==="rows")return o.jsxs("div",{className:"space-y-2",children:[o.jsxs("div",{className:"space-y-3",children:[o.jsx(Oo,{nodeIdx:B,insertAt:0}),R.sections.map((pe,oe)=>o.jsxs(h.Fragment,{children:[o.jsxs("div",{className:"rounded-lg border border-[var(--color-ds-border-default-50)] overflow-hidden",children:[o.jsx("div",{className:"pr-3 bg-[var(--color-ds-background-surface)] border-b border-[var(--color-ds-border-default-50)]",children:o.jsxs("div",{className:"flex items-center gap-2 min-h-9 py-1",children:[o.jsx(bn,{expanded:!K(B,oe),onClick:()=>ie(B,oe),labelExpanded:"Colapsar sección",labelCollapsed:"Expandir sección"}),o.jsx(Xh,{nodeIdx:B,sIdx:oe}),o.jsx(ye,{size:"sm",labelHidden:!0,placeholder:"Sección",value:pe.sectionTitle??"",onChange:ve=>D(oe,ve.target.value),onBlur:ve=>D(oe,ve.target.value.trim()||"Sección"),reserveErrorSpace:!1}),o.jsx("div",{className:"flex flex-wrap gap-1 ml-auto",children:o.jsx(fe,{size:"xs",variant:"danger",onClick:()=>T(oe),title:"Eliminar sección",children:"✕"})})]})}),K(B,oe)?null:o.jsx("div",{className:"space-y-4 bg-[var(--color-ds-background-page)]",children:pe.rows.map((ve,le)=>{const he=ve.columns??[],Ce=he.length===0,xe=Do(he.length);return o.jsxs("div",{className:"space-y-2",children:[o.jsxs("div",{className:"px-3 py-2 flex items-center gap-3 bg-[var(--color-ds-background)] border-b border-[var(--color-ds-border-default-50)]",children:[o.jsxs("div",{className:"flex items-center gap-2 flex-wrap flex-1 min-w-0",children:[o.jsxs("span",{className:"text-[11px] leading-none uppercase tracking-wide text-[var(--color-ds-text-secondary)]",children:["Fila ",le+1]}),o.jsx("div",{className:"h-3 w-px bg-[var(--color-ds-border-default-50)]"}),o.jsxs("div",{className:"flex gap-1 flex-wrap",children:[Mo.map(ke=>o.jsx(fe,{size:"xs",variant:"outline",className:"rounded-full px-2 py-0.5",onClick:()=>n(oe,le,ke),title:`${ke} columna(s)`,children:ke},ke)),o.jsx(fe,{size:"xs",variant:"outline",className:"rounded-full px-2 py-0.5",onClick:()=>s(oe,le),title:"Añadir columna",children:"+ columna"})]})]}),o.jsx(fe,{size:"xs",variant:"danger",onClick:()=>_==null?void 0:_(oe,le),title:"Eliminar fila",children:"✕"})]}),Ce?o.jsx("div",{className:"rounded-md border border-dashed p-6 text-center border-[var(--color-ds-border-default-50)] text-[var(--color-ds-text-secondary)]",children:"No hay columnas. Usa “+ columna”."}):o.jsx("div",{className:"space-y-3",children:he.map((ke,ne)=>o.jsx(_o,{scope:"rows-column",rowsNodeIdx:B,s:oe,r:le,c:ne,children:o.jsxs("div",{className:"rounded-lg border bg-[var(--color-ds-background-page)] border-[var(--color-ds-border-default-50)] overflow-hidden",children:[o.jsxs("div",{className:"flex items-center justify-between px-3 py-1.5 bg-[var(--color-ds-background-surface)]",children:[o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsxs("span",{className:"inline-flex items-center justify-center text-[10px] leading-none px-1.5 py-0.5 rounded-full border text-[var(--color-ds-text-primary)] border-[var(--color-ds-border-default-50)]",children:["Col ",ne+1]}),o.jsx("span",{className:"text-[10px] leading-none text-[var(--color-ds-text-secondary)]",children:ke.width||xe[ne]||"flex-1"})]}),o.jsx(fe,{size:"xs",variant:"danger",onClick:()=>a(oe,le,ne),title:"Eliminar columna",children:"✕"})]}),o.jsxs("div",{className:"p-2",children:[o.jsxs("div",{className:"space-y-2",children:[o.jsx(us,{scope:"rows-column",rowsNodeIdx:B,s:oe,r:le,c:ne,insertAt:0}),(ke.fields??[]).length===0&&o.jsx("div",{className:"text-center text-[12px] text-[var(--color-ds-text-secondary)] border border-dashed border-[var(--color-ds-border-default-50)] rounded-md py-4",children:"Suelta campos aquí"}),(ke.fields??[]).map((Ne,Ae)=>{const w=typeof Ne=="string"?Ne:Ne.name;return o.jsxs(h.Fragment,{children:[o.jsxs("div",{className:"flex items-center justify-between gap-2 rounded-md border border-[var(--color-ds-border-default-50)] bg-[var(--color-ds-background-surface)] px-2 py-1",children:[o.jsx(Fo,{kind:"field-in-rows",rowsNodeIdx:B,name:w,path:{s:oe,r:le,c:ne,idx:Ae},onSelect:()=>i({kind:"field",name:w})}),o.jsx(fe,{size:"xs",variant:"danger",onClick:()=>r({s:oe,r:le,c:ne,idx:Ae}),title:"Quitar del layout",children:"✕"})]}),o.jsx(us,{scope:"rows-column",rowsNodeIdx:B,s:oe,r:le,c:ne,insertAt:Ae+1})]},`${w}-${Ae}`)})]}),o.jsx("div",{className:"mt-2",children:o.jsx(fe,{size:"xs",variant:"outline",onClick:()=>(Z==null?void 0:Z.name)&&t(Z.name,oe,le,ne),title:"Colocar el último campo creado en esta columna",children:"Colocar último campo"})})]})]})},`col-${B}-${oe}-${le}-${ne}`))})]},le)})})]}),o.jsx(Oo,{nodeIdx:B,insertAt:oe+1})]},`rows-sec-${B}-${oe}`))]}),o.jsx(gn,{at:B+1})]},`rows-${B}`);if(R.type==="tabs"){const pe=R.tabs.map(le=>({label:le.label,value:le.key})),oe=(ae=R.tabs[0])==null?void 0:ae.key,ve=C[B]??oe??"";return o.jsxs("div",{className:"space-y-2",children:[o.jsxs("div",{className:"rounded-lg border border-[var(--color-ds-border-default-50)] overflow-hidden",children:[o.jsx("div",{className:"bg-[var(--color-ds-background-surface)] border-b border-[var(--color-ds-border-default-50)]",children:o.jsxs("div",{className:"flex items-center gap-2 min-h-9 py-1 pr-2",children:[o.jsx(bn,{expanded:!Y(B),onClick:()=>z(B),labelExpanded:"Colapsar pestañas",labelCollapsed:"Expandir pestañas"}),o.jsx("span",{className:"text-[11px] leading-none uppercase tracking-wide text-[var(--color-ds-text-secondary)]",children:"Pestañas"}),o.jsx("div",{className:"ml-auto",children:o.jsx(fe,{size:"xs",variant:"danger",onClick:()=>j(B),title:"Eliminar bloque",children:"✕"})})]})}),Y(B)?null:o.jsxs("div",{className:"bg-[var(--color-ds-background)]",children:[o.jsxs("div",{className:"px-2 py-2 flex items-center gap-2 border-b border-[var(--color-ds-border-default-50)] bg-[var(--color-ds-background-surface)]",children:[o.jsx("span",{className:"text-[11px] uppercase tracking-wide text-[var(--color-ds-text-secondary)]",children:"Orden pestañas"}),o.jsx(Ro,{nodeIdx:B,insertAt:0}),R.tabs.map((le,he)=>o.jsxs(h.Fragment,{children:[o.jsx(Qh,{nodeIdx:B,index:he,tabKey:le.key,label:le.label}),o.jsx(Ro,{nodeIdx:B,insertAt:he+1})]},`tabchip-${B}-${le.key}`))]}),o.jsx("div",{className:"border-b border-[var(--color-ds-border-default-50)]",children:o.jsx(Ir,{options:pe,value:ve,onChange:le=>N(he=>({...he,[B]:le})),children:R.tabs.reduce((le,he)=>(le[he.key]=o.jsxs("div",{className:"space-y-3",children:[ve===he.key&&o.jsxs("div",{className:"p-2 flex flex-wrap items-center gap-2",children:[o.jsx(ye,{size:"sm",label:"Nombre pestaña",value:he.label,onChange:Ce=>f==null?void 0:f(he.key,Ce.target.value),className:"w-48",reserveErrorSpace:!1}),o.jsx(fe,{size:"xs",variant:"outline",onClick:()=>d==null?void 0:d(he.key),children:"+ pestaña"}),o.jsx(fe,{size:"xs",variant:"outline",onClick:()=>p==null?void 0:p(he.key,"Nueva sección"),children:"+ sección"}),o.jsx(fe,{size:"xs",variant:"danger",onClick:()=>u==null?void 0:u(he.key),disabled:R.tabs.length<=1,children:"eliminar pestaña"})]}),he.sections.length===0?o.jsx("div",{className:"px-2",children:o.jsx(pn,{nodeIdx:B,tabKey:he.key,insertAt:0})}):null,he.sections.map((Ce,xe)=>o.jsxs(h.Fragment,{children:[xe===0?o.jsx("div",{className:"px-2",children:o.jsx(pn,{nodeIdx:B,tabKey:he.key,insertAt:0})}):null,o.jsxs("div",{className:"rounded-lg border border-[var(--color-ds-border-default-50)] overflow-hidden",children:[o.jsx("div",{className:"bg-[var(--color-ds-background-surface)] border-b border-[var(--color-ds-border-default-50)]",children:o.jsxs("div",{className:"flex items-center gap-2 min-h-9 py-1",children:[o.jsx(bn,{expanded:!I(B,he.key,xe),onClick:()=>me(B,he.key,xe),labelExpanded:"Colapsar sección",labelCollapsed:"Expandir sección",className:"ml-2"}),o.jsx(ep,{nodeIdx:B,tabKey:he.key,sIdx:xe}),o.jsx(ye,{size:"sm",labelHidden:!0,placeholder:"Sección",value:Ce.sectionTitle??"",onChange:ke=>b==null?void 0:b(he.key,xe,ke.target.value),onBlur:ke=>b==null?void 0:b(he.key,xe,ke.target.value.trim()||"Sección"),reserveErrorSpace:!1})]})}),I(B,he.key,xe)?null:o.jsx("div",{className:"space-y-4 bg-[var(--color-ds-background-page)]",children:Ce.rows.map((ke,ne)=>{const Ne=ke.columns??[],Ae=Ne.length===0,w=Do(Ne.length);return o.jsxs("div",{className:"space-y-2",children:[o.jsxs("div",{className:"px-3 py-2 flex items-center gap-3 bg-[var(--color-ds-background)] border-b border-[var(--color-ds-border-default-50)]",children:[o.jsxs("div",{className:"flex items-center gap-2 flex-wrap flex-1 min-w-0",children:[o.jsxs("span",{className:"text-[11px] leading-none uppercase tracking-wide text-[var(--color-ds-text-secondary)]",children:["Fila ",ne+1]}),o.jsx("div",{className:"h-3 w-px bg-[var(--color-ds-border-default-50)]"}),o.jsxs("div",{className:"flex gap-1 flex-wrap",children:[Mo.map(E=>o.jsx(fe,{size:"xs",variant:"outline",className:"rounded-full px-2 py-0.5",onClick:()=>g==null?void 0:g(he.key,xe,ne,E),title:`${E} columna(s)`,children:E},E)),o.jsx(fe,{size:"xs",variant:"outline",className:"rounded-full px-2 py-0.5",onClick:()=>v==null?void 0:v(he.key,xe,ne),title:"Añadir columna",children:"+ columna"})]})]}),o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(fe,{size:"xs",variant:"subtle",onClick:()=>k==null?void 0:k(he.key,xe,ne),title:"Duplicar fila",children:"duplicar"}),o.jsx(fe,{size:"xs",variant:"danger",onClick:()=>A==null?void 0:A(he.key,xe,ne),title:"Eliminar fila",children:"eliminar"})]})]}),Ae?o.jsx("div",{className:"rounded-md border border-dashed p-6 text-center border-[var(--color-ds-border-default-50)] text-[var(--color-ds-text-secondary)]",children:"No hay columnas. Usa “+ columna”."}):o.jsx("div",{className:"space-y-3",children:Ne.map((E,O)=>o.jsx(_o,{scope:"tabs-column",tabKey:he.key,s:xe,r:ne,c:O,children:o.jsxs("div",{className:"rounded-lg border bg-[var(--color-ds-background-page)] border-[var(--color-ds-border-default-50)] overflow-hidden",children:[o.jsxs("div",{className:"flex items-center justify-between px-3 py-1.5 bg-[var(--color-ds-background-surface)]",children:[o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsxs("span",{className:"inline-flex items-center justify-center text-[10px] leading-none px-1.5 py-0.5 rounded-full border border-[var(--color-ds-border-default-50)]",children:["Col ",O+1]}),o.jsx("span",{className:"text-[10px] leading-none text-[var(--color-ds-text-secondary)]",children:E.width||w[O]||"flex-1"})]}),o.jsx(fe,{size:"xs",variant:"danger",onClick:()=>x==null?void 0:x(he.key,xe,ne,O),children:"✕"})]}),o.jsxs("div",{className:"p-2",children:[o.jsxs("div",{className:"space-y-2",children:[o.jsx(us,{scope:"tabs-column",tabKey:he.key,s:xe,r:ne,c:O,insertAt:0}),(E.fields??[]).length===0&&o.jsx("div",{className:"text-center text-[12px] text-[var(--color-ds-text-secondary)] border border-dashed border-[var(--color-ds-border-default-50)] rounded-md py-4",children:"Suelta campos aquí"}),(E.fields??[]).map((ee,H)=>{const G=typeof ee=="string"?ee:ee.name;return o.jsxs(h.Fragment,{children:[o.jsxs("div",{className:"flex items-center justify-between gap-2 rounded-md border border-[var(--color-ds-border-default-50)] bg-[var(--color-ds-background-surface)] px-2 py-1",children:[o.jsx(Fo,{kind:"field-in-tabs",tabKey:he.key,name:G,path:{s:xe,r:ne,c:O,idx:H},onSelect:()=>i({kind:"field",name:G})}),o.jsx(fe,{size:"xs",variant:"danger",onClick:()=>y==null?void 0:y({tabKey:he.key,s:xe,r:ne,c:O,idx:H}),children:"✕"})]}),o.jsx(us,{scope:"tabs-column",tabKey:he.key,s:xe,r:ne,c:O,insertAt:H+1})]},`${G}-${H}`)})]}),o.jsx("div",{className:"mt-2",children:o.jsx(fe,{size:"xs",variant:"outline",onClick:()=>(Z==null?void 0:Z.name)&&(m==null?void 0:m(Z.name,he.key,xe,ne,O)),children:"Colocar último campo"})})]})]})},`tcol-${he.key}-${ne}-${O}`))})]},`trow-${he.key}-${ne}`)})})]}),o.jsx("div",{className:"px-2",children:o.jsx(pn,{nodeIdx:B,tabKey:he.key,insertAt:xe+1})})]},`tsec-${he.key}-${xe}`))]}),le),{})})})]})]}),o.jsx(gn,{at:B+1})]},`tabs-${B}`)}return null})]})})}function gn({at:e}){const t=J(s=>s.addRowsBlockAt),r=J(s=>s.addTabsContainerAt);return o.jsxs("div",{className:"my-2 flex items-center justify-center gap-2",children:[o.jsx(fe,{size:"xs",variant:"outline",onClick:()=>t(e,"Sección"),title:"Añadir sección aquí",children:"+ Sección aquí"}),o.jsx(fe,{size:"xs",variant:"outline",onClick:()=>r(e),title:"Añadir pestañas aquí",children:"+ Pestañas aquí"})]})}function rp(){const e=J(r=>r.schema),t=h.useMemo(()=>{try{const r=Di(e);return gi(r)}catch{return}},[e]);return o.jsxs("div",{className:"grid grid-rows-[auto_1fr] h-[calc(100vh-80px)]",children:[o.jsx(Gh,{}),o.jsxs("div",{className:"grid grid-cols-[260px_1fr_320px] min-h-0",children:[o.jsxs("div",{className:"overflow-auto border-r border-[var(--color-ds-border-default)] ",children:[o.jsx(Eh,{}),o.jsx("div",{className:"h-px bg-[var(--color-ds-border-default-50)] my-2"}),o.jsx(tp,{})]}),o.jsxs(Jh,{className:"overflow-auto",children:[o.jsx("div",{className:"px-4 py-2 border-b text-[var(--color-ds-text-primary)] bg-[var(--color-ds-background-surface)] flex items-center gap-2",children:o.jsx("strong",{children:"Preview"})}),o.jsx("div",{className:"p-4",children:o.jsx(Bi,{schema:e,resolver:t})})]}),o.jsx(zh,{})]})]})}function sp({title:e="Form Schema Editor",baseDir:t="src/schemas",fs:r,services:s,onSchemaChange:n,rightPanel:a,rightPanelWidth:i="320px",rightPanelDefaultOpen:l=!1,rightPanelOpen:c,onRightPanelOpenChange:d,className:u}){const f=J(_=>_.schema),p=typeof c=="boolean",[b,g]=h.useState(l),v=p?c:b,x=_=>{p||g(_),d==null||d(_)};h.useEffect(()=>{n==null||n(f)},[f,n]),h.useEffect(()=>{(!(r!=null&&r.list)||!(r!=null&&r.read)||!(r!=null&&r.write)||!(r!=null&&r.remove))&&console.warn("[SchemaEditorHost] fs adapter incompleto."),s!=null&&s.registry||console.warn("[SchemaEditorHost] services.adapter sin registry.")},[r,s]);const m=!!a,y=a&&v?{paddingRight:i}:void 0,j={width:i};return o.jsx(Ii,{value:{fs:r,services:s,baseDir:t},children:o.jsxs("div",{className:["grid grid-rows-[auto_1fr] h-full min-h-[480px]",u].filter(Boolean).join(" "),children:[o.jsxs("div",{className:"flex items-center justify-between px-4 py-2 border-[var(--color-ds-border-default)] border-b bg-[var(--color-ds-background-page)]",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("h1",{className:"text-lg font-semibold text-[var(--color-ds-text-primary)]",children:e}),m&&o.jsx("button",{type:"button",onClick:()=>x(!v),className:`inline-flex items-center gap-1 rounded-md border px-2 py-1 text-xs\r
100
+ export type FormValues = yup.InferType<typeof ${t}>;`}const ea={undo:{key:"z",ctrl:!0,description:"Deshacer",action:"undo",enabled:!0},redo:{key:"y",ctrl:!0,description:"Rehacer",action:"redo",enabled:!0},save:{key:"s",ctrl:!0,description:"Guardar",action:"save",enabled:!0},saveAs:{key:"s",ctrl:!0,shift:!0,description:"Guardar como...",action:"saveAs",enabled:!0},toggleRelations:{key:"r",ctrl:!0,description:"Mostrar/Ocultar relaciones",action:"toggleRelations",enabled:!0},togglePreview:{key:"p",ctrl:!0,description:"Alternar vista previa",action:"togglePreview",enabled:!0},deleteField:{key:"Delete",description:"Eliminar campo seleccionado",action:"deleteField",enabled:!0},duplicateField:{key:"d",ctrl:!0,description:"Duplicar campo seleccionado",action:"duplicateField",enabled:!0},copy:{key:"c",ctrl:!0,description:"Copiar JSON al portapapeles",action:"copy",enabled:!0},paste:{key:"v",ctrl:!0,description:"Pegar",action:"paste",enabled:!1},selectAll:{key:"a",ctrl:!0,description:"Seleccionar todo",action:"selectAll",enabled:!1},newSchema:{key:"n",ctrl:!0,description:"Nuevo esquema",action:"newSchema",enabled:!0},importSchema:{key:"o",ctrl:!0,description:"Importar esquema",action:"importSchema",enabled:!0},exportSchema:{key:"e",ctrl:!0,description:"Exportar esquema",action:"exportSchema",enabled:!0}},_5="form-editor-shortcuts";function SL(){try{const e=localStorage.getItem(_5);if(!e)return{...ea};const t=JSON.parse(e);return{...ea,...t}}catch(e){return console.error("Error loading shortcuts config:",e),{...ea}}}function P5(e){try{localStorage.setItem(_5,JSON.stringify(e))}catch(t){console.error("Error saving shortcuts config:",t)}}function $L(){const e={...ea};return P5(e),e}function LL(e,t){if(!t.enabled)return!1;const r=e.key.toLowerCase()===t.key.toLowerCase(),n=!!t.ctrl===(e.ctrlKey||e.metaKey),o=!!t.shift===e.shiftKey,l=!!t.alt===e.altKey;return r&&n&&o&&l}function At(e){const t=[];(e.ctrl||e.meta)&&t.push(navigator.platform.includes("Mac")?"⌘":"Ctrl"),e.shift&&t.push("Shift"),e.alt&&t.push("Alt");let r=e.key;return r===" "?r="Space":r.length===1&&(r=r.toUpperCase()),t.push(r),t.join("+")}function OL(e){const t=[],r=Object.keys(e);for(let n=0;n<r.length;n++)for(let o=n+1;o<r.length;o++){const l=e[r[n]],i=e[r[o]];!l.enabled||!i.enabled||l.key.toLowerCase()===i.key.toLowerCase()&&!!l.ctrl==!!i.ctrl&&!!l.shift==!!i.shift&&!!l.alt==!!i.alt&&t.push({action1:r[n],action2:r[o]})}return{valid:t.length===0,conflicts:t}}function NL(e){const[t,r]=v.useState(()=>SL()),n=v.useCallback(o=>{r(o),P5(o)},[]);return v.useEffect(()=>{const o=l=>{const i=l.target,c=i.tagName==="INPUT"||i.tagName==="TEXTAREA"||i.isContentEditable,d=["save","saveAs","undo","redo","copy"];for(const[u,f]of Object.entries(t))if(LL(l,f)){const m=e[u];if(m){if(c&&!d.includes(u))continue;m(l)!==!1&&(l.preventDefault(),l.stopPropagation());break}}};return window.addEventListener("keydown",o),()=>window.removeEventListener("keydown",o)},[t,e]),{config:t,updateConfig:n}}const FL=({isOpen:e,onClose:t,config:r,onSave:n})=>{const[o,l]=v.useState(r),[i,c]=v.useState(null),[d,u]=v.useState(!1),{show:f}=hr(),m=()=>{const y=OL(o);if(!y.valid){const b=y.conflicts.map(({action1:p,action2:E})=>`${o[p].description} y ${o[E].description}`);f(`Conflictos detectados:
101
+ ${b.join(`
102
+ `)}`,"error");return}n(o),f("Configuración de shortcuts guardada","success"),t()},h=()=>{if(window.confirm("¿Restaurar shortcuts a valores por defecto?")){const y=$L();l(y),f("Shortcuts restaurados a valores por defecto","info")}},g=y=>{l(b=>({...b,[y]:{...b[y],enabled:!b[y].enabled}}))},w=y=>{c(y),u(!0)},x=y=>{if(!d||!i||(y.preventDefault(),y.stopPropagation(),["Control","Shift","Alt","Meta"].includes(y.key)))return;const b={...o[i],key:y.key,ctrl:y.ctrlKey||y.metaKey,shift:y.shiftKey,alt:y.altKey};l(p=>({...p,[i]:b})),u(!1),c(null)};return v.useEffect(()=>{if(d)return window.addEventListener("keydown",x),()=>window.removeEventListener("keydown",x)},[d,i,o]),v.useEffect(()=>{l(r)},[r]),e?s.jsx(Fr,{isOpen:e,onClose:t,title:"Configurar Shortcuts",children:s.jsxs("div",{className:"space-y-4 max-w-3xl",children:[s.jsx("div",{className:"text-sm text-[var(--color-ds-text-secondary)] mb-4",children:'Haz clic en "Editar" para grabar un nuevo atajo de teclado. Presiona Escape para cancelar.'}),s.jsx("div",{className:"max-h-[60vh] overflow-y-auto space-y-2",children:Object.entries(o).map(([y,b])=>s.jsxs("div",{className:"flex items-center justify-between p-3 rounded-lg border border-[var(--color-ds-border-default)] bg-[var(--color-ds-background-default)]",children:[s.jsxs("div",{className:"flex items-center gap-3 flex-1",children:[s.jsx("input",{type:"checkbox",checked:b.enabled,onChange:()=>g(y),className:"w-4 h-4"}),s.jsxs("div",{className:"flex-1",children:[s.jsx("div",{className:"font-medium text-sm",children:b.description}),s.jsx("div",{className:"text-xs text-[var(--color-ds-text-secondary)]",children:y})]})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("div",{className:`px-3 py-1 rounded font-mono text-sm ${d&&i===y?"bg-blue-500 text-white animate-pulse":"bg-[var(--color-ds-background-subtle)] text-[var(--color-ds-text-primary)]"}`,children:d&&i===y?"Presiona una tecla...":At(b)}),s.jsx(ie,{size:"sm",variant:"ghost",onClick:()=>w(y),disabled:!b.enabled||d,children:"Editar"})]})]},y))}),s.jsxs("div",{className:"flex justify-between pt-4 border-t border-[var(--color-ds-border-default)]",children:[s.jsx(ie,{variant:"ghost",onClick:h,children:"Restaurar por defecto"}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(ie,{variant:"outline",onClick:t,children:"Cancelar"}),s.jsx(ie,{variant:"primary",onClick:m,children:"Guardar"})]})]})]})}):null};function e0(e,t){const r=new Blob([t],{type:"text/plain;charset=utf-8"}),n=URL.createObjectURL(r),o=document.createElement("a");o.href=n,o.download=e,o.click(),URL.revokeObjectURL(n)}function IL(e){return e.reduce((t,r)=>r.type==="rows"?t+r.sections.length:t+r.tabs.reduce((n,o)=>n+o.sections.length,0),0)}const uo=e=>e.toLowerCase().endsWith(".json")?e:`${e}.json`,t0=(e,t)=>`${e.replace(/\/+$/,"")}/${t.replace(/^\/+/,"")}`,Hn=()=>s.jsx("span",{className:"inline-flex items-center justify-center mx-1 select-none text-[var(--color-ds-border-muted)]","aria-hidden":"true",children:s.jsx(O0,{className:"w-4 h-4",focusable:"false"})});function ZL(){var U;const e=Y(M=>M.schema),t=Y(M=>M.undo),r=Y(M=>M.redo),n=Y(M=>M.setSchema),o=Y(M=>M.resetHistory),l=Y(M=>M.past.length),i=Y(M=>M.future.length),c=Y(M=>M.selection),d=Y(M=>M.removeField),u=Y(M=>M.duplicateField),f=Y(M=>M.showRelations??!1),m=Y(M=>M.toggleRelations),h=Y(M=>M.setShowRelations),g=Y(M=>M.previewMode),w=Y(M=>M.togglePreview),[x,y]=v.useState(!1),b=()=>{typeof m=="function"?m():typeof h=="function"&&h(!f)},p=v.useRef(null),{show:E}=hr(),{fs:R,baseDir:j}=gn();IL(e.layout),e.fields.length;const A=((U=e.title)==null?void 0:U.toString().trim().replace(/\s+/g,"-").toLowerCase())||"form-schema",S=()=>{e0(`${A}.json`,JSON.stringify(e,null,2)),E("Esquema exportado como JSON.","success")},N=()=>{try{const M=AL(e,"validationSchema");e0(`${A}.validation.ts`,M),E("Yup exportado como TypeScript.","success")}catch(M){console.error(M),E("No se pudo generar el Yup.","error")}},B=async()=>{try{await navigator.clipboard.writeText(JSON.stringify(e,null,2)),E("JSON copiado al portapapeles.","success")}catch{E("No se pudo copiar al portapapeles.","error")}},$=()=>{var M;return(M=p.current)==null?void 0:M.click()},_=M=>{var J;const F=(J=M.target.files)==null?void 0:J[0];if(!F)return;if(!window.confirm("Vas a reemplazar el esquema actual. ¿Continuar?")){M.currentTarget.value="";return}const O=new FileReader;O.onload=()=>{try{const T=JSON.parse(String(O.result));if(!Array.isArray(T.layout)||!Array.isArray(T.fields)){E("JSON inválido: faltan layout/fields.","error");return}n(()=>T),o(),E("Esquema importado correctamente.","success")}catch{E("No se pudo parsear el JSON.","error")}},O.readAsText(F),M.currentTarget.value=""},W=()=>{window.confirm("Crear un esquema nuevo vacío (perderás cambios no guardados). ¿Continuar?")&&(n(F=>{F.layout=[{type:"rows",sections:[{sectionTitle:"Sección 1",defaultOpen:!0,rows:[{title:"",columns:[{width:"w-full",fields:[]}]}]}]}],F.fields=[],F.successMessage="Guardado",F.errorMessage="Error",F.onSubmit=async()=>{}}),o(),E("Esquema nuevo creado.","info"))},K=async()=>{try{const M=t0(j,uo(`${A}.json`));await R.write(M,JSON.stringify(e,null,2)),E(`Guardado rápido en ${M}`,"success")}catch(M){console.error(M),E("Guardado rápido fallido.","error")}},Q=async()=>{try{const M=uo(`${A}.json`),F=window.prompt("Guardar como (archivo en baseDir):",M);if(!F)return;const ae=t0(j,uo(F));await R.write(ae,JSON.stringify(e,null,2)),E(`Guardado en ${ae}`,"success")}catch(M){console.error(M),E("No se pudo guardar el archivo.","error")}},{config:q,updateConfig:ce}=NL({undo:()=>{l>0&&t()},redo:()=>{i>0&&r()},save:()=>{K()},saveAs:()=>{Q()},toggleRelations:()=>{b()},togglePreview:()=>{w()},deleteField:()=>{c.kind==="field"&&window.confirm(`¿Eliminar el campo "${c.name}"?`)&&(d(c.name),E("Campo eliminado","success"))},duplicateField:()=>{c.kind==="field"&&(u(c.name),E("Campo duplicado","success"))},copy:()=>{B()},newSchema:()=>{W()},importSchema:()=>{$()},exportSchema:()=>{S()}});return s.jsxs("div",{className:"pb-1 bg-[var(--color-ds-background-page)]",children:[s.jsxs("div",{className:"flex items-center justify-between rounded-xl border border-[var(--color-ds-border-default-50)] bg-[var(--color-ds-background-surface)] shadow-sm px-3 py-2",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(ie,{variant:"ghost",onClick:t,disabled:l===0,title:`Deshacer (${At(q.undo)})`,children:"Undo"}),s.jsx(ie,{variant:"ghost",onClick:r,disabled:i===0,title:`Rehacer (${At(q.redo)})`,children:"Redo"}),s.jsx(Hn,{}),s.jsx(ie,{variant:"outline",onClick:$,title:`Importar desde JSON (${At(q.importSchema)})`,children:"Importar JSON"}),s.jsx(ie,{variant:"outline",onClick:S,title:`Exportar a JSON (${At(q.exportSchema)})`,children:"Exportar JSON"}),s.jsx(ie,{variant:"outline",onClick:N,title:"Exportar Yup como TypeScript",children:"Exportar Yup (.ts)"}),s.jsx("div",{className:"flex items-center gap-2",children:s.jsx(yL,{})}),s.jsx(ie,{variant:"ghost",onClick:B,title:`Copiar JSON al portapapeles (${At(q.copy)})`,children:"Copiar JSON"}),s.jsx("input",{ref:p,type:"file",accept:"application/json",className:"hidden",onChange:_,"aria-label":"Importar JSON"}),s.jsx(Hn,{}),s.jsx(ie,{variant:"outline",onClick:K,title:`Guardar rápido en baseDir (${At(q.save)})`,children:"Guardar"}),s.jsx(ie,{variant:"outline",onClick:Q,title:`Guardar como… en baseDir (${At(q.saveAs)})`,children:"Guardar como…"}),s.jsx(Hn,{}),s.jsxs(ie,{variant:"outline",onClick:b,title:f?`Ocultar relaciones (${At(q.toggleRelations)})`:`Mostrar relaciones (${At(q.toggleRelations)})`,"aria-pressed":f,children:[f?s.jsx(Wo,{className:"w-4 h-4 mr-1"}):s.jsx(tn,{className:"w-4 h-4 mr-1"}),"Relaciones"]}),s.jsx(Hn,{}),s.jsx(ie,{onClick:W,title:"Nuevo esquema",children:"Nuevo"})]}),s.jsxs("div",{className:"ml-auto flex items-center gap-2",children:[s.jsx(ie,{size:"sm",variant:"ghost",onClick:()=>y(!0),title:"Configurar atajos de teclado",children:s.jsx(Ho,{className:"w-4 h-4"})}),s.jsxs(ie,{size:"sm",variant:g?"primary":"outline",onClick:w,title:`${g?"Salir de Preview":"Ver Preview"} (${At(q.togglePreview)})`,children:[g?s.jsx(Uo,{className:"w-4 h-4 mr-1"}):s.jsx(tn,{className:"w-4 h-4 mr-1"}),g?"Diseñar":"Preview"]})]})]}),s.jsx(FL,{isOpen:x,onClose:()=>y(!1),config:q,onSave:ce})]})}const _n="application/x-ds-field-template",r0="application/x-ds-layout-kind";function Pn(e){return e.layout.find(t=>(t==null?void 0:t.type)==="rows")}function BL({className:e,children:t}){var p;const r=Y(E=>E.schema),n=Y(E=>E.addFieldAndPlace),o=Y(E=>E.addRowsBlockAt),l=Y(E=>E.addSection),i=Y(E=>E.addRowToSection),c=Y(E=>E.setRowColumns),d=Y(E=>E.moveField),[u,f]=v.useState(!1),m=v.useMemo(()=>{var j;const E=Pn(r);if(!E)return[];const R=[];return(j=E.sections)==null||j.forEach((A,S)=>{var N;(N=A.rows)==null||N.forEach((B,$)=>{(B.columns??[]).forEach((_,W)=>{var q;const K=((q=_.fields)==null?void 0:q.length)??0,Q=Math.max(1,K+1);for(let ce=0;ce<Q;ce++)R.push({kind:"field-slot",sectionIdx:S,rowIdx:$,colIdx:W,insertIdx:ce,key:`s${S}-r${$}-c${W}-i${ce}`})})})}),R},[r]),h=v.useCallback(()=>{var j,A;let E=Pn(r);return E?(j=E.sections)!=null&&j.length?(A=E.sections[0].rows)!=null&&A.length?((E.sections[0].rows[0].columns??[]).length||c==null||c(0,0,1),{s:0,r:0,c:0}):(i==null||i(0),{s:0,r:0,c:0}):(l==null||l("Sección 1"),{s:0,r:0,c:0}):(o==null||o(r.layout.length??0,"Sección 1"),{s:0,r:0,c:0})},[r,o,l,i,c]),g=v.useCallback(E=>{var j;const R=((j=E.dataTransfer)==null?void 0:j.types)||[];(R.includes(_n)||R.includes(r0))&&(E.preventDefault(),E.dataTransfer.dropEffect="copy",f(R.includes(_n)?"field":"layout"))},[]),w=v.useCallback(()=>f(!1),[]),x=v.useCallback(E=>{var S;const R=E.dataTransfer.getData(r0);if(!R)return!1;const{kind:j}=JSON.parse(R),A=((S=r==null?void 0:r.layout)==null?void 0:S.length)??0;return j==="section-layout"&&(o==null||o(A,"Nueva sección")),!0},[(p=r==null?void 0:r.layout)==null?void 0:p.length,o]),y=v.useCallback((E,R)=>{const j=R.dataTransfer.getData(_n);if(!j)return!1;const{fieldTemplate:A}=JSON.parse(j);return n(A,E.sectionIdx,E.rowIdx,E.colIdx),queueMicrotask(()=>{var _;const S=Y.getState().schema,$=(((_=Pn(S).sections[E.sectionIdx].rows[E.rowIdx].columns[E.colIdx].fields)==null?void 0:_.length)??1)-1;E.insertIdx>=0&&E.insertIdx<$&&d({s:E.sectionIdx,r:E.rowIdx,c:E.colIdx,idx:$},{s:E.sectionIdx,r:E.rowIdx,c:E.colIdx,idx:E.insertIdx})}),!0},[n,d]),b=v.useCallback(E=>{if(E.preventDefault(),E.stopPropagation(),x(E)){f(!1);return}const R=E.dataTransfer.getData(_n);if(R){const{fieldTemplate:j}=JSON.parse(R),A=h();n(j,A.s,A.r,A.c)}f(!1)},[x,h,n]);return s.jsxs("div",{className:["relative",e].filter(Boolean).join(" "),onDragOver:g,onDragLeave:w,onDrop:b,children:[t,u&&s.jsxs("div",{className:"absolute inset-0 z-40",children:[s.jsx("div",{className:"absolute inset-0 bg-black/5 pointer-events-none"}),s.jsx("div",{className:"absolute inset-0 px-4 py-4 overflow-auto space-y-4",children:(()=>{var j;const E=Pn(r);if(!E||!((j=E.sections)!=null&&j.length)){const A=h(),S={kind:"field-slot",sectionIdx:A.s,rowIdx:A.r,colIdx:A.c,insertIdx:0,key:"init"};return s.jsx("div",{className:"min-h-[220px] border-2 border-dashed rounded-2xl bg-white/70 flex items-center justify-center text-ds-sm",onDragOver:N=>N.preventDefault(),onDrop:N=>{N.preventDefault(),N.stopPropagation(),y(S,N),f(!1)},children:"Suelta aquí para empezar"})}const R=[];return E.sections.forEach((A,S)=>{var N;(N=A.rows)==null||N.forEach((B,$)=>{const _=[];(B.columns??[]).forEach((W,K)=>{const Q=m.filter(q=>q.sectionIdx===S&&q.rowIdx===$&&q.colIdx===K);_.push(Q)}),R.push({key:`s${S}-r${$}`,cols:_})})}),R.map(A=>s.jsx("div",{className:"grid gap-3 pointer-events-none",style:{gridTemplateColumns:`repeat(${A.cols.length||1}, minmax(0,1fr))`},children:A.cols.map((S,N)=>{const B=S.length===1;return s.jsx("div",{className:"pointer-events-auto",children:s.jsx("div",{className:["rounded-xl border-2 border-dashed bg-white/60",B?"min-h-[160px]":"py-2"].join(" "),children:s.jsx("div",{className:"flex flex-col gap-2",children:S.map($=>s.jsx("div",{className:"h-7 rounded-md border border-transparent hover:border-[var(--color-ds-border-default)] hover:bg-white/80 flex items-center justify-center text-ds-xs text-[var(--color-ds-text-secondary)]",onDragOver:_=>_.preventDefault(),onDrop:_=>{_.preventDefault(),_.stopPropagation(),y($,_),f(!1)},title:`Insertar en Col ${$.colIdx+1}, posición ${$.insertIdx+1}`,children:B?"Soltar aquí":$.insertIdx===S.length-1?"Añadir al final":"Insertar aquí"},$.key))})})},`${A.key}-c${N}`)})},A.key))})()})]})]})}function n0(e){const r={...e.scope==="rows-column"?{scope:"rows-column",s:e.s,r:e.r,c:e.c,rowsNodeIdx:e.rowsNodeIdx}:{scope:"tabs-column",tabKey:e.tabKey,s:e.s,r:e.r,c:e.c},insertAt:Number.MAX_SAFE_INTEGER},{setNodeRef:n,isOver:o}=Dt({id:JSON.stringify(r),data:r});return s.jsx("div",{ref:n,className:o?"ring-5 ring-[var(--color-ds-border-default)] rounded-md":"","aria-dropeffect":o?"copy":void 0,"data-drop-scope":e.scope,children:e.children})}function VL(e,t=44){if(!e)return t;const r=e.previousElementSibling,n=e.nextElementSibling,o=c=>{var d;return((d=c==null?void 0:c.querySelector)==null?void 0:d.call(c,"[data-sortable-item]"))||c},l=o(r)??o(n)??null,i=(l==null?void 0:l.getBoundingClientRect().height)??0;return Math.max(32,Math.min(96,Math.round(i||t)))}function TL(e){var u,f,m,h,g,w,x;if(!e)return null;const t=e.kind??e.scope??e.type,r=e.s??((u=e.path)==null?void 0:u.s),n=e.r??((f=e.path)==null?void 0:f.r),o=e.c??((m=e.path)==null?void 0:m.c),l=e.idx??((h=e.path)==null?void 0:h.idx),i=e.rowsNodeIdx??e.nodeIdx??((g=e.path)==null?void 0:g.rowsNodeIdx),c=e.tabKey??((w=e.path)==null?void 0:w.tabKey),d=e.groupName??((x=e.path)==null?void 0:x.groupName);return{kind:t,s:r,r:n,c:o,idx:l,rowsNodeIdx:i,tabKey:c,groupName:d}}function DL(e,t){if(!t)return!1;const r=n=>typeof n=="number"&&(e.insertAt===n||e.insertAt===n+1);if(e.scope==="rows-column"){if((t.kind==="field-in-rows"||t.kind==="rows-column")&&t.rowsNodeIdx===e.rowsNodeIdx&&t.s===e.s&&t.r===e.r&&t.c===e.c&&r(t.idx))return!0}else if(e.scope==="tabs-column"){if((t.kind==="field-in-tabs"||t.kind==="tabs-column")&&t.tabKey===e.tabKey&&t.s===e.s&&t.r===e.r&&t.c===e.c&&r(t.idx))return!0}else if(e.scope==="input-group"&&(t.kind==="field-in-inputgroup"||t.kind==="input-group")&&t.groupName===e.groupName&&r(t.idx))return!0;return!1}function Zt(e){const t=e.scope==="rows-column"?{scope:"rows-column",rowsNodeIdx:e.rowsNodeIdx,s:e.s,r:e.r,c:e.c,insertAt:e.insertAt}:e.scope==="tabs-column"?{scope:"tabs-column",tabKey:e.tabKey,s:e.s,r:e.r,c:e.c,insertAt:e.insertAt}:{scope:"input-group",groupName:e.groupName,insertAt:e.insertAt},r=v.useRef(null),{setNodeRef:n,isOver:o}=Dt({id:JSON.stringify(t),data:t}),[l,i]=v.useState(44),c=e.scope==="input-group"?6:8,[d,u]=v.useState(null);Rn({onDragStart:x=>{var y,b;return u(((b=(y=x.active)==null?void 0:y.data)==null?void 0:b.current)??null)},onDragCancel:()=>u(null),onDragEnd:()=>u(null)});const f=DL(e,TL(d)),m=!!e.suppressAll||f;if(v.useEffect(()=>{if(!o||m)return;const x=VL(r.current,e.scope==="input-group"?36:44);i(x)},[o,e.scope,m]),m)return s.jsx("div",{ref:x=>{r.current=x,n(x)},style:{position:"absolute",inset:0,pointerEvents:"none"},role:"button","aria-dropeffect":o?"copy":void 0,"aria-label":`Soltar aquí (posición ${e.insertAt+1})`,"data-drop-scope":e.scope,"data-insert-at":e.insertAt});const h=e.insertAt===0,g={height:o?l:0,margin:o?`${c}px 0`:"0px",transition:"height 120ms ease, margin 120ms ease, opacity 80ms ease",opacity:o?1:0},w=e.scope==="input-group"?"w-full inline-flex":"w-full block";return s.jsx("div",{ref:x=>{r.current=x,n(x)},role:"button","aria-dropeffect":o?"copy":void 0,"aria-label":`Soltar aquí (posición ${e.insertAt+1})`,"data-drop-scope":e.scope,"data-insert-at":e.insertAt,className:w,style:g,children:o&&s.jsx("div",{"aria-hidden":!0,className:["w-full","rounded-md","border","border-dashed","border-[var(--color-ds-border-default-50)]",e.scope==="input-group"?"bg-[var(--color-ds-background-surface)]/70":"bg-[var(--color-ds-background)]/60","relative"].join(" "),style:{height:l,boxShadow:"inset 0 0 0 1px color-mix(in srgb, var(--color-ds-border-default-50) 30%, transparent)"},children:!e.suppressHint&&s.jsxs("div",{className:"absolute -top-2 left-3 px-1.5 py-0.5 rounded text-[11px] leading-none",style:{background:"var(--color-ds-background-elevated)",color:"var(--color-ds-text-secondary)",border:"1px solid var(--color-ds-border-default-50)"},children:["Soltar aquí",""]})})})}function Er(e){const t=e.kind==="field-in-tabs"?`${e.kind}:${e.tabKey}:${e.name}:${e.path.s}-${e.path.r}-${e.path.c}-${e.path.idx}`:e.kind==="field-in-rows"?`${e.kind}:${e.rowsNodeIdx}:${e.name}:${e.path.s}-${e.path.r}-${e.path.c}-${e.path.idx}`:`${e.kind}:${e.groupName}:${e.name}:${e.path.idx}`,r=e.kind==="field-in-rows"?{kind:e.kind,name:e.name,path:e.path,rowsNodeIdx:e.rowsNodeIdx}:e.kind==="field-in-tabs"?{kind:e.kind,name:e.name,path:e.path,tabKey:e.tabKey}:{kind:e.kind,name:e.name,path:e.path,groupName:e.groupName},{attributes:n,listeners:o,setNodeRef:l,isDragging:i}=pr({id:t,data:r}),c=e.disableSelect?s.jsxs("span",{className:"text-[var(--color-ds-text-primary)] text-ds-sm text-left truncate inline-flex items-center gap-1",children:[e.icon?s.jsx("span",{"aria-hidden":!0,className:"shrink-0 text-[var(--color-ds-text-secondary)]",children:e.icon}):null,s.jsx("span",{className:"truncate",children:e.name})]}):s.jsxs("button",{type:"button",className:"text-[var(--color-ds-text-primary)] text-ds-sm hover:underline text-left truncate inline-flex items-center gap-1",onClick:d=>{d.stopPropagation(),e.onSelect()},children:[e.icon?s.jsx("span",{"aria-hidden":!0,className:"shrink-0 text-[var(--color-ds-text-secondary)]",children:e.icon}):null,s.jsx("span",{className:"truncate",children:e.name})]});return s.jsxs("div",{ref:l,className:["text-[var(--color-ds-text-primary)] group flex items-center justify-between rounded-md py-1 w-100","overflow-visible",i?"opacity-50":"opacity-100"].join(" "),"data-field-name":e.name,children:[c,s.jsx("div",{...o,...n,role:"button","aria-grabbed":i,"aria-label":`Arrastrar campo ${e.name}`,className:["text-[var(--color-ds-text-primary)] text-[11px] select-none cursor-grab active:cursor-grabbing","px-1 py-0.5 rounded-sm","hover:bg-[var(--color-ds-background-muted)]","focus:outline-none focus:ring-2 focus:ring-[var(--color-accent-500)]"].join(" "),title:"Arrastra para reordenar",children:"⇅"})]})}function HL({nodeIdx:e,insertAt:t}){const r={scope:"rows-section",nodeIdx:e,insertAt:t},{setNodeRef:n,isOver:o}=Dt({id:`rows-section:drop:${e}:${t}`,data:r});return s.jsx("div",{ref:n,className:["h-2 my-1 w-full rounded-sm transition relative mx-1 px-1",o?"bg-[var(--color-ds-border-default)]/30 ring-1 ring-[var(--color-ds-border-default)]":"bg-transparent"].join(" "),"aria-label":`Insertar sección en posición ${t+1}`})}function _L({nodeIdx:e,sIdx:t}){const r=`rows-section:drag:${e}:${t}`,n={kind:"rows-section",nodeIdx:e,sIdx:t},{attributes:o,listeners:l,setNodeRef:i,isDragging:c}=pr({id:r,data:n});return s.jsx("div",{ref:i,...o,...l,role:"button",title:"Arrastrar sección","aria-grabbed":c,className:"shrink-0 w-6 h-6 grid place-items-center cursor-grab active:cursor-grabbing rounded text-[var(--color-ds-text-primary)] hover:bg-[var(--color-ds-background-muted)]",children:"⇅"})}function a0({nodeIdx:e,insertAt:t}){const r={scope:"tabs-tab",nodeIdx:e,insertAt:t},{setNodeRef:n,isOver:o}=Dt({id:`tabs-tab:${e}:${t}`,data:r});return s.jsx("div",{ref:n,className:["w-1 h-5 rounded-md transition",o?"bg-[var(--color-ds-border-default)]/30 ring-1 ring-[var(--color-ds-border-default)]":"bg-transparent"].join(" "),title:`Insertar pestaña en posición ${t+1}`})}function PL({className:e=""}){return s.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10","aria-hidden":"true",className:e,fill:"currentColor",children:[1,5].map(t=>[1,4,7].map((r,n)=>s.jsx("circle",{cx:t,cy:r,r:"1"},`${t}-${r}-${n}`)))})}function WL({nodeIdx:e,index:t,tabKey:r,label:n}){const o=`tabs-tab:${e}:${t}:${r}`,l={kind:"tabs-tab",nodeIdx:e,index:t,tabKey:r},{attributes:i,listeners:c,setNodeRef:d,isDragging:u}=pr({id:o,data:l});return s.jsxs("button",{ref:d,...i,...c,type:"button",tabIndex:0,"aria-grabbed":u,"aria-label":`Arrastrar pestaña "${n}"`,title:`Arrastrar pestaña "${n}"`,className:["inline-flex items-center gap-1 select-none","h-6 px-1.5 rounded-full","text-[11px] leading-none","border border-[var(--color-ds-border-default-50)]","bg-[var(--color-ds-background-surface)]","text-[var(--color-ds-text-primary)]","cursor-grab active:cursor-grabbing","hover:bg-[color-mix(in_srgb,var(--color-ds-background-surface)_85%,black_15%)]","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-ds-border-default)]",u?"opacity-60":"opacity-100","transition-colors"].join(" "),children:[s.jsx(PL,{className:"text-[var(--color-ds-text-primary)]"}),s.jsx("span",{className:"truncate max-w-[10rem]",children:n})]})}function zL({nodeIdx:e,tabKey:t,insertAt:r}){const n={scope:"tab-section",nodeIdx:e,tabKey:t,insertAt:r},{setNodeRef:o,isOver:l}=Dt({id:`tab-section:${e}:${t}:${r}`,data:n});return s.jsx("div",{ref:o,className:["h-2 my-1 w-full rounded-sm transition relative -mx-1 px-1",l?"bg-[var(--color-ds-border-default)]/30 ring-1 ring-[var(--color-ds-border-default)]":"bg-transparent"].join(" "),"aria-label":`Insertar sección de pestaña en posición ${r+1}`})}function qL({nodeIdx:e,tabKey:t,sIdx:r}){const n=`tab-section:${e}:${t}:${r}`,o={kind:"tab-section",nodeIdx:e,tabKey:t,sIdx:r},{attributes:l,listeners:i,setNodeRef:c,isDragging:d}=pr({id:n,data:o});return s.jsx("div",{ref:c,...l,...i,title:"Arrastrar sección de pestaña","aria-grabbed":d,className:"shrink-0 w-6 h-6 grid place-items-center cursor-grab active:cursor-grabbing rounded text-[var(--color-ds-text-primary)] hover:bg-[var(--color-ds-background-muted)]",children:"⇅"})}const o0=e=>e<=1?["w-full"]:e===2?["w-1/2","w-1/2"]:e===3?["w-1/3","w-1/3","w-1/3"]:Array.from({length:e},()=>"flex-1"),UL=[1,2,3,4];function fo({expanded:e,onClick:t,labelExpanded:r,labelCollapsed:n,titleExpanded:o,titleCollapsed:l,className:i=""}){return s.jsx(ie,{size:"xs",variant:"ghost","aria-expanded":e,"aria-label":e?r:n,onClick:t,title:e?o??"Colapsar":l??"Expandir",className:`shrink-0 w-8 h-8 p-0 grid place-items-center ${i}`,children:s.jsx(mn,{className:`w-4 h-4 text-[var(--color-ds-text-primary)] transition-transform duration-150 ${e?"rotate-180":""}`})})}function GL(){const e=Y(D=>D.schema),t=Y(D=>D.placeFieldInColumn),r=Y(D=>D.removeFieldFromLayout);Y(D=>D.addColumnToRow);const n=Y(D=>D.setRowColumns),o=Y(D=>D.removeColumn),l=Y(D=>D.setSelection),i=Y(D=>D.addRowToSectionAt),c=Y(D=>D.renameSection||D.setSectionTitle),d=Y(D=>D.removeSection);Y(D=>D.duplicateSection),Y(D=>D.addRowToSection);const u=Y(D=>D.addTabAfter),f=Y(D=>D.removeTab),m=Y(D=>D.renameTab),h=Y(D=>D.addSectionToTab);Y(D=>D.addRowToTabSection);const g=Y(D=>D.addRowToTabSectionAt),w=Y(D=>D.renameTabSection),x=Y(D=>D.setTabRowColumns);Y(D=>D.addColumnToTabRow);const y=Y(D=>D.removeTabColumn),b=Y(D=>D.placeFieldInTabColumn),p=Y(D=>D.removeFieldFromTabLayout),E=Y(D=>D.removeFieldFromInputGroup);Y(D=>D.addRowsBlockAt),Y(D=>D.addTabsContainerAt);const R=Y(D=>D.removeLayoutNode);Y(D=>D.duplicateRowInSection);const j=Y(D=>D.removeRowFromSection);Y(D=>D.duplicateTabRow);const A=Y(D=>D.removeTabRow),S=Y(D=>D.registerFieldEl),N=v.useCallback(D=>k=>{S==null||S(D,k)},[S]),[B,$]=v.useState({}),[_,W]=v.useState({}),[K,Q]=v.useState({}),[q,ce]=v.useState({}),U=(D,k)=>`${D}:${k}`,M=(D,k,C)=>`${D}:${k}:${C}`,F=(D,k)=>W(C=>({...C,[U(D,k)]:!C[U(D,k)]})),ae=(D,k)=>!!_[U(D,k)],O=(D,k,C)=>Q(L=>({...L,[M(D,k,C)]:!L[M(D,k,C)]})),J=(D,k,C)=>!!K[M(D,k,C)],T=D=>ce(k=>({...k,[D]:!k[D]})),Z=D=>!!q[D],te=(D,k)=>c==null?void 0:c(D,k),me=D=>d==null?void 0:d(D),re=v.useMemo(()=>{const D={};for(const k of e.fields){const C=k;C!=null&&C.name&&(D[C.name]=C.type)}return D},[e.fields]),pe=v.useMemo(()=>{const D={};for(const k of e.fields){const C=k;C!=null&&C.name&&(D[C.name]=C)}return D},[e.fields]),se=v.useMemo(()=>[...e.fields].reverse().find(D=>D.type!=="inputGroup"&&D.type!=="button"),[e.fields]),[le,Ee]=v.useState(null),[be,Se]=v.useState(null);Rn({onDragStart:D=>{const{active:k}=D,C=k.data.current;C&&C.kind==="rows-section"&&Ee(C.sIdx),C&&C.kind==="tab-section"&&Se({nodeIdx:C.nodeIdx,tabKey:C.tabKey,sIdx:C.sIdx})},onDragEnd:()=>{Ee(null),Se(null)},onDragCancel:()=>{Ee(null),Se(null)}});const[Le,Ze]=v.useState({isOpen:!1,title:"",message:null,onConfirm:()=>{}}),Me=(D,k,C)=>{Ze({isOpen:!0,title:D,message:k,onConfirm:C})},nt=()=>{Le.onConfirm(),Ze(D=>({...D,isOpen:!1}))},ct=()=>{Ze(D=>({...D,isOpen:!1}))};return s.jsxs("div",{id:"designer-canvas-root",className:"space-y-3 relative",children:[e.layout.map((D,k)=>{var C;if(D.type==="rows"){const L=D.sections;return s.jsx("div",{className:"space-y-2",children:s.jsx("div",{className:"space-y-3",children:Array.from({length:L.length+1}).map((z,P)=>{const H=P,G=L[H];return s.jsxs(v.Fragment,{children:[!(le!==null&&P===le+1)&&s.jsx(HL,{nodeIdx:k,insertAt:P}),H<L.length&&s.jsxs("div",{className:"rounded-lg border border-[var(--color-ds-border-default-50)] overflow-hidden",children:[s.jsx("div",{className:"pr-3 bg-[var(--color-ds-background-surface)] border-b border-[var(--color-ds-border-default-50)]",children:s.jsxs("div",{className:"flex items-center gap-2 min-h-9 py-1",children:[s.jsx(fo,{expanded:!ae(k,H),onClick:()=>F(k,H),labelExpanded:"Colapsar sección",labelCollapsed:"Expandir sección"}),s.jsx(Re,{size:"sm",labelHidden:!0,placeholder:"Sección",value:G.sectionTitle??"",onChange:ue=>te(H,ue.target.value),onBlur:ue=>te(H,ue.target.value.trim()||"Sección"),reserveErrorSpace:!1,"aria-label":"Título de la sección"}),s.jsx(_L,{nodeIdx:k,sIdx:H}),s.jsx("div",{className:"flex flex-wrap gap-1 ml-auto",children:s.jsx(ie,{size:"xs",variant:"danger",onClick:()=>Me("Eliminar sección","¿Estás seguro de que quieres eliminar esta sección? Se perderán todos los campos que contiene.",()=>me(H)),title:"Eliminar sección",shape:"circle",icon:Qe})})]})}),ae(k,H)?null:s.jsx("div",{className:"bg-[var(--color-ds-background-page)]",children:G.rows.map((ue,ne)=>{const oe=ue.columns??[],ke=oe.length===0,I=o0(oe.length);return s.jsxs("div",{className:"space-y-0",children:[s.jsxs("div",{className:"px-3 py-2 flex items-center gap-1 bg-[var(--color-ds-background)] border-b border-[var(--color-ds-border-default-50)]",children:[s.jsxs("div",{className:"flex items-center gap-2 flex-wrap flex-1 min-w-0",children:[s.jsxs("span",{className:"text-[11px] leading-none uppercase tracking-wide text-[var(--color-ds-text-secondary)]",children:["Fila ",ne+1]}),s.jsx("div",{className:"h-3 w-px bg-[var(--color-ds-border-default-50)]"}),s.jsx("div",{className:"flex gap-1 flex-wrap",children:UL.map(V=>s.jsx(ie,{size:"xs",variant:"outline",className:"rounded-full px-2 py-0.5",onClick:()=>n(H,ne,V),title:`${V} columna(s)`,children:V},V))})]}),s.jsx(ie,{size:"xs",variant:"danger",onClick:()=>Me("Eliminar fila","¿Estás seguro de que quieres eliminar esta fila? Se perderán todos los campos que contiene.",()=>j==null?void 0:j(H,ne)),title:"Eliminar fila",shape:"circle",icon:Qe})]}),ke?s.jsx("div",{className:"rounded-md border border-dashed p-6 text-center border-[var(--color-ds-border-default-50)] text-[var(--color-ds-text-secondary)]",children:"No hay columnas. Usa “+ columna”."}):s.jsx("div",{children:oe.map((V,X)=>s.jsx(n0,{scope:"rows-column",rowsNodeIdx:k,s:H,r:ne,c:X,children:s.jsxs("div",{className:"bg-[var(--color-ds-background-page)] overflow-hidden",children:[s.jsxs("div",{className:"flex items-center justify-between px-3 py-1.5 bg-[var(--color-ds-background-surface)]",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsxs("span",{className:"inline-flex items-center justify-center text-[11px] leading-none px-1.5 py-0.5 rounded-full border text-[var(--color-ds-text-primary)] border-[var(--color-ds-border-default-50)]",children:["Col ",X+1]}),s.jsx("span",{className:"text-[11px] leading-none text-[var(--color-ds-text-secondary)]",children:V.width||I[X]||"flex-1"})]}),s.jsx("div",{className:"flex items-center gap-1",children:s.jsx(ie,{size:"xs",variant:"danger",onClick:()=>Me("Eliminar columna","¿Estás seguro de que quieres eliminar esta columna? Se perderán los campos que contiene.",()=>o(H,ne,X)),title:"Eliminar columna",shape:"circle",icon:Qe})})]}),s.jsxs("div",{className:"p-2 relative",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(Zt,{scope:"rows-column",rowsNodeIdx:k,s:H,r:ne,c:X,insertAt:0,suppressAll:(V.fields??[]).length===0}),(V.fields??[]).length===0&&s.jsx("div",{className:"text-center text-[12px] text-[var(--color-ds-text-secondary)] border border-dashed border-[var(--color-ds-border-default-50)] rounded-md py-4",children:"Suelta campos aquí"}),(V.fields??[]).map((ee,je)=>{const he=typeof ee=="string"?ee:ee.name,xe=typeof ee=="string"?re[he]:ee==null?void 0:ee.type;if(xe==="inputGroup"){const ye=pe[he],Ce=(ye==null?void 0:ye.type)==="inputGroup"&&Array.isArray(ye==null?void 0:ye.inputs)?ye.inputs:[],Ve=(ye==null?void 0:ye.type)!=="inputGroup"&&Array.isArray(ye==null?void 0:ye.inputs)?ye.inputs:[],Be=Ce.length>0,Ne=!Be&&Ve.length>0;return s.jsxs(v.Fragment,{children:[s.jsxs("div",{ref:N(he),"data-field-name":he,className:"rounded-md border bg-[var(--color-ds-background-page)]",style:{borderColor:"var(--color-ds-border-default-50)",boxShadow:`inset 0 0 0 1px color-mix(in srgb, ${Vt("inputGroup")} 18%, transparent)`},children:[s.jsxs("div",{className:"flex items-center justify-between gap-2 px-2 py-1 bg-[var(--color-ds-background-surface)] border-b border-[var(--color-ds-border-default-50)]",children:[s.jsx(Er,{kind:"field-in-rows",rowsNodeIdx:k,name:he,path:{s:H,r:ne,c:X,idx:je},onSelect:()=>l({kind:"field",name:he}),icon:Tt("inputGroup"),disableSelect:!0}),s.jsx(ie,{size:"xs",variant:"danger",onClick:()=>Me("Eliminar grupo","¿Estás seguro de que quieres eliminar este grupo de inputs?",()=>r({s:H,r:ne,c:X,idx:je})),title:"Quitar grupo del layout",shape:"circle",icon:Qe})]}),s.jsx("div",{className:"p-2",children:s.jsxs("div",{className:"flex flex-row gap-2 flex-wrap relative",children:[s.jsx(Zt,{scope:"input-group",groupName:he,insertAt:0,suppressAll:!Be}),Be&&Ce.map((ge,Te)=>{const He=typeof ge=="string"?ge:ge.name,ze=He?re[He]:ge==null?void 0:ge.type,dt=Vt(ze),_e=Tt(ze);return s.jsxs(v.Fragment,{children:[s.jsxs("div",{className:"flex items-center justify-between w-full gap-2 rounded-md border bg-[var(--color-ds-background-page)] px-2 py-1",style:{borderColor:"var(--color-ds-border-default-50)",borderLeft:`4px solid ${dt}`,boxShadow:`inset 0 0 0 1px color-mix(in srgb, ${dt} 18%, transparent)`},children:[He?s.jsx(Er,{kind:"field-in-inputgroup",groupName:he,name:He,path:{idx:Te},onSelect:()=>l({kind:"field",name:He}),icon:_e}):s.jsx("div",{className:"text-ds-sm opacity-80",children:(ge==null?void 0:ge.label)??"(inline sin nombre)"}),E&&He?s.jsx(ie,{size:"xs",variant:"danger",onClick:()=>Me("Eliminar campo","¿Estás seguro de que quieres eliminar este campo del grupo?",()=>E(he,Te)),title:"Quitar del grupo",shape:"circle",icon:Qe}):null]}),s.jsx(Zt,{scope:"input-group",groupName:he,insertAt:Te+1,suppressAll:!Be})]},`${he}-child-${He??Te}`)}),!Be&&Ne&&Ve.map((ge,Te)=>s.jsxs("div",{className:"flex items-center gap-2 rounded-md border border-dashed bg-[var(--color-ds-background-surface)] px-2 py-1 opacity-80",title:"Definido en FieldSchema.inputs (vista previa). Arrastra desde la paleta para añadirlo realmente al grupo.",children:[s.jsx("span",{className:"text-[11px] px-1.5 py-0.5 rounded-full border",children:(ge==null?void 0:ge.label)??(ge==null?void 0:ge.name)??"Input"}),s.jsx("span",{className:"text-[var(--color-ds-text-secondary)] text-ds-xs",children:"(solo vista)"})]},`${he}-ui-${(ge==null?void 0:ge.name)??Te}`)),!Be&&!Ne&&s.jsx("div",{className:"text-center text-[12px] text-[var(--color-ds-text-secondary)] border border-dashed border-[var(--color-ds-border-default-50)] rounded-md py-3 w-full",children:"Suelta inputs dentro del grupo"})]})})]}),s.jsx(Zt,{scope:"rows-column",rowsNodeIdx:k,s:H,r:ne,c:X,insertAt:je+1,suppressAll:(V.fields??[]).length===0})]},`${he}-${je}`)}const Fe=Tt(xe),Oe=Vt(xe);return s.jsxs(v.Fragment,{children:[s.jsxs("div",{ref:N(he),"data-field-name":he,className:"flex items-center justify-between gap-2 w-full rounded-md border bg-[var(--color-ds-background-page)] px-2 py-1",style:{borderColor:"var(--color-ds-border-default-50)",borderLeft:`4px solid ${Oe}`,boxShadow:`inset 0 0 0 1px color-mix(in srgb, ${Oe} 18%, transparent)`},children:[s.jsx(Er,{kind:"field-in-rows",rowsNodeIdx:k,name:he,path:{s:H,r:ne,c:X,idx:je},onSelect:()=>l({kind:"field",name:he}),icon:Fe}),s.jsx(ie,{size:"xs",variant:"danger",onClick:()=>Me("Eliminar campo","¿Estás seguro de que quieres eliminar este campo?",()=>r({s:H,r:ne,c:X,idx:je})),title:"Quitar del layout",shape:"circle",icon:Qe})]}),s.jsx(Zt,{scope:"rows-column",rowsNodeIdx:k,s:H,r:ne,c:X,insertAt:je+1,suppressAll:(V.fields??[]).length===0})]},`${he}-${je}`)})]}),s.jsx("div",{className:"mt-2 text-center",children:s.jsx(ie,{size:"xs",variant:"outline",onClick:()=>(se==null?void 0:se.name)&&t(se.name,H,ne,X),title:"Colocar el último campo creado en esta columna",children:"Colocar último campo"})})]})]})},`col-${k}-${H}-${ne}-${X}`))}),s.jsx("div",{className:"flex justify-center p-1 bg-[var(--color-ds-background-surface)] border-t border-[var(--color-ds-border-default-50)]",children:s.jsx(ie,{size:"xs",variant:"ghost",className:"w-full justify-center text-[var(--color-ds-text-secondary)] hover:text-[var(--color-ds-text-primary)]",onClick:()=>i==null?void 0:i(H,ne+1),title:"Añadir fila debajo",children:"+ Añadir fila debajo"})})]},ne)})})]})]},`rows-slot-sec-${k}-${P}`)})})},`rows-${k}`)}if(D.type==="tabs"){const L=D.tabs.map(H=>({label:H.label,value:H.key})),z=(C=D.tabs[0])==null?void 0:C.key,P=B[k]??z??"";return s.jsx("div",{className:"space-y-2",children:s.jsxs("div",{className:"rounded-lg border border-[var(--color-ds-border-default-50)] overflow-hidden",children:[s.jsx("div",{className:"bg-[var(--color-ds-background-surface)] border-b border-[var(--color-ds-border-default-50)]",children:s.jsxs("div",{className:"flex items-center gap-2 min-h-9 py-1 pr-2",children:[s.jsx(fo,{expanded:!Z(k),onClick:()=>T(k),labelExpanded:"Colapsar pestañas",labelCollapsed:"Expandir pestañas"}),s.jsx("span",{className:"text-[11px] leading-none uppercase tracking-wide text-[var(--color-ds-text-secondary)]",children:"Pestañas"}),s.jsx("div",{className:"ml-auto",children:s.jsx(ie,{size:"xs",variant:"danger",onClick:()=>Me("Eliminar bloque de pestañas","¿Estás seguro de que quieres eliminar este bloque de pestañas? Se perderá todo su contenido.",()=>R(k)),title:"Eliminar bloque",shape:"circle",icon:Qe})})]})}),Z(k)?null:s.jsxs("div",{className:"bg-[var(--color-ds-background)]",children:[s.jsx("div",{className:"px-3 py-2 border-b border-[var(--color-ds-border-default-50)] bg-[var(--color-ds-background-surface)]",children:s.jsx("span",{className:"text-[11px] uppercase tracking-wide text-[var(--color-ds-text-secondary)]",children:"Orden pestañas"})}),s.jsx("div",{className:"custom-scroll scrollbar-hidden overflow-x-auto overflow-y-hidden",children:s.jsxs("div",{className:"py-2 inline-flex items-center gap-1 whitespace-nowrap min-h-[2rem]",role:"list","aria-label":"Reordenar pestañas",children:[s.jsx(a0,{nodeIdx:k,insertAt:0}),D.tabs.map((H,G)=>s.jsxs(v.Fragment,{children:[s.jsx(WL,{nodeIdx:k,index:G,tabKey:H.key,label:H.label}),s.jsx(a0,{nodeIdx:k,insertAt:G+1})]},`tabchip-${k}-${H.key}`))]})}),s.jsx("div",{children:s.jsx(mr,{options:L,value:P,onChange:H=>$(G=>({...G,[k]:H})),children:D.tabs.reduce((H,G)=>(H[G.key]=s.jsxs("div",{className:"space-y-3",children:[P===G.key&&s.jsxs("div",{className:"flex flex-wrap items-center gap-2 px-2",children:[s.jsx(Re,{size:"sm",label:"Nombre pestaña",value:G.label,onChange:ue=>m==null?void 0:m(G.key,ue.target.value),className:"w-48",reserveErrorSpace:!1,"aria-label":"Nombre pestaña"}),s.jsx(ie,{size:"xs",variant:"outline",onClick:()=>u==null?void 0:u(G.key),children:"+ pestaña"}),s.jsx(ie,{size:"xs",variant:"outline",onClick:()=>h==null?void 0:h(G.key,"Nueva sección"),children:"+ sección"}),s.jsx(ie,{size:"xs",variant:"danger",onClick:()=>Me("Eliminar pestaña","¿Estás seguro de que quieres eliminar esta pestaña? Se perderá todo su contenido.",()=>f==null?void 0:f(G.key)),disabled:D.tabs.length<=1,children:"eliminar pestaña"})]}),Array.from({length:G.sections.length+1}).map((ue,ne)=>{const oe=ne,ke=G.sections[oe];return s.jsxs(v.Fragment,{children:[s.jsx("div",{className:"px-2",children:!((be==null?void 0:be.nodeIdx)===k&&(be==null?void 0:be.tabKey)===G.key&&ne===be.sIdx+1)&&s.jsx(zL,{nodeIdx:k,tabKey:G.key,insertAt:ne})}),oe<G.sections.length&&s.jsxs("div",{className:"overflow-hidden",children:[s.jsx("div",{className:"bg-[var(--color-ds-background-surface)] border-b border-[var(--color-ds-border-default-50)]",children:s.jsxs("div",{className:"flex items-center gap-2 min-h-9 py-1",children:[s.jsx(fo,{expanded:!J(k,G.key,oe),onClick:()=>O(k,G.key,oe),labelExpanded:"Colapsar sección",labelCollapsed:"Expandir sección",className:"ml-2"}),s.jsx(Re,{size:"sm",labelHidden:!0,placeholder:"Sección",value:ke.sectionTitle??"",onChange:I=>w==null?void 0:w(G.key,oe,I.target.value),onBlur:I=>w==null?void 0:w(G.key,oe,I.target.value.trim()||"Sección"),reserveErrorSpace:!1,"aria-label":"Título de la sección"}),s.jsx(qL,{nodeIdx:k,tabKey:G.key,sIdx:oe})]})}),J(k,G.key,oe)?null:s.jsx("div",{className:"space-y-4 bg-[var(--color-ds-background-page)]",children:ke.rows.map((I,V)=>{const X=I.columns??[],ee=X.length===0,je=o0(X.length);return s.jsxs("div",{className:"space-y-0",children:[s.jsxs("div",{className:"px-3 py-2 flex items-center gap-1 bg-[var(--color-ds-background)] border-b border-[var(--color-ds-border-default-50)]",children:[s.jsxs("div",{className:"flex items-center gap-2 flex-wrap flex-1 min-w-0",children:[s.jsxs("span",{className:"text-[11px] leading-none uppercase tracking-wide text-[var(--color-ds-text-secondary)]",children:["Fila ",V+1]}),s.jsx("div",{className:"h-3 w-px bg-[var(--color-ds-border-default-50)]"}),s.jsx("div",{className:"flex gap-1 flex-wrap",children:[1,2,3,4].map(he=>s.jsx(ie,{size:"xs",variant:"outline",className:"rounded-full px-2 py-0.5",onClick:()=>x==null?void 0:x(G.key,oe,V,he),title:`${he} columna(s)`,children:he},he))})]}),s.jsx("div",{className:"flex items-center gap-2",children:s.jsx(ie,{size:"xs",variant:"danger",onClick:()=>Me("Eliminar fila","¿Estás seguro de que quieres eliminar esta fila? Se perderán todos los campos que contiene.",()=>A==null?void 0:A(G.key,oe,V)),title:"Eliminar fila",shape:"circle",icon:Qe})})]}),ee?s.jsx("div",{className:"rounded-md border border-dashed p-6 text-center border-[var(--color-ds-border-default-50)] text-[var(--color-ds-text-secondary)]",children:"No hay columnas. Usa “+ columna”."}):s.jsx("div",{children:X.map((he,xe)=>s.jsx(n0,{scope:"tabs-column",tabKey:G.key,s:oe,r:V,c:xe,children:s.jsxs("div",{className:"bg-[var(--color-ds-background-page)] overflow-hidden",children:[s.jsxs("div",{className:"flex items-center justify-between px-3 py-1.5 bg-[var(--color-ds-background-surface)]",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsxs("span",{className:"inline-flex items-center justify-center text-[11px] leading-none px-1.5 py-0.5 rounded-full border text-[var(--color-ds-text-primary)] border-[var(--color-ds-border-default-50)]",children:["Col"," ",xe+1]}),s.jsx("span",{className:"text-[11px] leading-none text-[var(--color-ds-text-secondary)]",children:he.width||je[xe]||"flex-1"})]}),s.jsx("div",{className:"flex items-center gap-1",children:s.jsx(ie,{size:"xs",variant:"danger",onClick:()=>Me("Eliminar columna","¿Estás seguro de que quieres eliminar esta columna? Se perderán los campos que contiene.",()=>y==null?void 0:y(G.key,oe,V,xe)),title:"Eliminar columna",shape:"circle",icon:Qe})})]}),s.jsxs("div",{className:"p-2 relative",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(Zt,{scope:"tabs-column",tabKey:G.key,s:oe,r:V,c:xe,insertAt:0,suppressAll:(he.fields??[]).length===0}),(he.fields??[]).length===0&&s.jsx("div",{className:"text-center text-[12px] text-[var(--color-ds-text-secondary)] border border-dashed border-[var(--color-ds-border-default-50)] rounded-md py-4",children:"Suelta campos aquí"}),(he.fields??[]).map((Fe,Oe)=>{var Ne;const ye=typeof Fe=="string"?Fe:Fe.name,Ce=typeof Fe=="string"?re[ye]:Fe==null?void 0:Fe.type;if(Ce==="inputGroup"){const ge=pe[ye],Te=Vt(Ce);return s.jsxs(v.Fragment,{children:[s.jsxs("div",{ref:N(ye),"data-field-name":ye,className:"rounded-md border bg-[var(--color-ds-background-page)]",style:{borderColor:"var(--color-ds-border-default-50)",boxShadow:`inset 0 0 0 1px color-mix(in srgb, ${Te} 18%, transparent)`},children:[s.jsxs("div",{className:"flex items-center justify-between gap-2 px-2 py-1 bg-[var(--color-ds-background-surface)] border-b border-[var(--color-ds-border-default-50)]",children:[s.jsx(Er,{kind:"field-in-tabs",tabKey:G.key,name:ye,path:{s:oe,r:V,c:xe,idx:Oe},onSelect:()=>l({kind:"field",name:ye}),icon:Tt(Ce)}),s.jsx(ie,{size:"xs",variant:"danger",onClick:()=>Me("Eliminar grupo","¿Estás seguro de que quieres eliminar este grupo de inputs?",()=>p==null?void 0:p({tabKey:G.key,s:oe,r:V,c:xe,idx:Oe})),title:"Quitar grupo del layout",shape:"circle",icon:Qe})]}),s.jsx("div",{className:"p-2",children:s.jsxs("div",{className:"flex flex-row gap-2 flex-wrap relative",children:[s.jsx(Zt,{scope:"input-group",groupName:ye,insertAt:0,suppressAll:(((Ne=ge==null?void 0:ge.fields)==null?void 0:Ne.length)??0)===0}),((ge==null?void 0:ge.fields)??[]).length===0&&s.jsx("div",{className:"text-center text-[12px] text-[var(--color-ds-text-secondary)] border border-dashed border-[var(--color-ds-border-default-50)] rounded-md py-3 w-full",children:"Suelta inputs dentro del grupo"}),((ge==null?void 0:ge.fields)??[]).map((He,ze)=>{var ot;const dt=re[He],_e=Vt(dt),Rt=Tt(dt);return s.jsxs(v.Fragment,{children:[s.jsxs("div",{className:"flex items-center justify-between w-full gap-2 rounded-md border bg-[var(--color-ds-background-page)] px-2 py-1",style:{borderColor:"var(--color-ds-border-default-50)",borderLeft:`4px solid ${_e}`,boxShadow:`inset 0 0 0 1px color-mix(in srgb, ${_e} 18%, transparent)`},children:[s.jsx(Er,{kind:"field-in-inputgroup",groupName:ye,name:He,path:{idx:ze},onSelect:()=>l({kind:"field",name:He}),icon:Rt}),E?s.jsx(ie,{size:"xs",variant:"danger",onClick:()=>Me("Eliminar campo","¿Estás seguro de que quieres eliminar este campo del grupo?",()=>E(ye,ze)),title:"Quitar del grupo",shape:"circle",icon:Qe}):null]}),s.jsx(Zt,{scope:"input-group",groupName:ye,insertAt:ze+1,suppressAll:(((ot=ge==null?void 0:ge.fields)==null?void 0:ot.length)??0)===0})]},`${ye}-child-${He}-${ze}`)})]})})]}),s.jsx(Zt,{scope:"tabs-column",tabKey:G.key,s:oe,r:V,c:xe,insertAt:Oe+1,suppressAll:(he.fields??[]).length===0})]},`${ye}-${Oe}`)}const Ve=Tt(Ce),Be=Vt(Ce);return s.jsxs(v.Fragment,{children:[s.jsxs("div",{ref:N(ye),"data-field-name":ye,className:"flex items-center justify-between gap-2 rounded-md border bg-[var(--color-ds-background-surface)] px-2 py-1",style:{borderColor:"var(--color-ds-border-default-50)",borderLeft:`4px solid ${Be}`,boxShadow:`inset 0 0 0 1px color-mix(in srgb, ${Be} 18%, transparent)`},children:[s.jsx(Er,{kind:"field-in-tabs",tabKey:G.key,name:ye,path:{s:oe,r:V,c:xe,idx:Oe},onSelect:()=>l({kind:"field",name:ye}),icon:Ve}),s.jsx(ie,{size:"xs",variant:"danger",onClick:()=>Me("Eliminar campo","¿Estás seguro de que quieres eliminar este campo?",()=>p==null?void 0:p({tabKey:G.key,s:oe,r:V,c:xe,idx:Oe})),shape:"circle",icon:Qe})]}),s.jsx(Zt,{scope:"tabs-column",tabKey:G.key,s:oe,r:V,c:xe,insertAt:Oe+1,suppressAll:(he.fields??[]).length===0})]},`${ye}-${Oe}`)})]}),s.jsx("div",{className:"mt-2 text-center",children:s.jsx(ie,{size:"xs",variant:"outline",onClick:()=>(se==null?void 0:se.name)&&(b==null?void 0:b(se.name,G.key,oe,V,xe)),children:"Colocar último campo"})})]})]})},`tcol-${G.key}-${V}-${xe}`))}),s.jsx("div",{className:"flex justify-center p-1 bg-[var(--color-ds-background-surface)] border-t border-[var(--color-ds-border-default-50)]",children:s.jsx(ie,{size:"xs",variant:"ghost",className:"w-full justify-center text-[var(--color-ds-text-secondary)] hover:text-[var(--color-ds-text-primary)]",onClick:()=>g==null?void 0:g(G.key,oe,V+1),title:"Añadir fila debajo",children:"+ Añadir fila debajo"})})]},`trow-${G.key}-${V}`)})})]})]},`tsec-${G.key}-${ne}`)})]}),H),{})})})]})]})},`tabs-${k}`)}return null}),s.jsx(Fr,{isOpen:Le.isOpen,onClose:ct,title:Le.title,footer:s.jsxs("div",{className:"flex justify-end gap-2",children:[s.jsx(ie,{variant:"outline",onClick:ct,children:"Cancelar"}),s.jsx(ie,{variant:"danger",onClick:nt,children:"Eliminar"})]}),children:s.jsx("p",{className:"text-sm text-[var(--color-ds-text-secondary)]",children:Le.message})})]})}function W5(e,t,r){const n=e.slice();return n.splice(r<0?n.length+r:r,0,n.splice(t,1)[0]),n}function KL(e,t){return e.reduce((r,n,o)=>{const l=t.get(n);return l&&(r[o]=l),r},Array(e.length))}function Wn(e){return e!==null&&e>=0}function YL(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function JL(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const z5=e=>{let{rects:t,activeIndex:r,overIndex:n,index:o}=e;const l=W5(t,n,r),i=t[o],c=l[o];return!c||!i?null:{x:c.left-i.left,y:c.top-i.top,scaleX:c.width/i.width,scaleY:c.height/i.height}},zn={scaleX:1,scaleY:1},XL=e=>{var t;let{activeIndex:r,activeNodeRect:n,index:o,rects:l,overIndex:i}=e;const c=(t=l[r])!=null?t:n;if(!c)return null;if(o===r){const u=l[i];return u?{x:0,y:r<i?u.top+u.height-(c.top+c.height):u.top-c.top,...zn}:null}const d=QL(l,o,r);return o>r&&o<=i?{x:0,y:-c.height-d,...zn}:o<r&&o>=i?{x:0,y:c.height+d,...zn}:{x:0,y:0,...zn}};function QL(e,t,r){const n=e[t],o=e[t-1],l=e[t+1];return n?r<t?o?n.top-(o.top+o.height):l?l.top-(n.top+n.height):0:l?l.top-(n.top+n.height):o?n.top-(o.top+o.height):0:0}const q5="Sortable",U5=v.createContext({activeIndex:-1,containerId:q5,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:z5,disabled:{draggable:!1,droppable:!1}});function eO(e){let{children:t,id:r,items:n,strategy:o=z5,disabled:l=!1}=e;const{active:i,dragOverlay:c,droppableRects:d,over:u,measureDroppableContainers:f}=L5(),m=kn(q5,r),h=c.rect!==null,g=v.useMemo(()=>n.map(A=>typeof A=="object"&&"id"in A?A.id:A),[n]),w=i!=null,x=i?g.indexOf(i.id):-1,y=u?g.indexOf(u.id):-1,b=v.useRef(g),p=!YL(g,b.current),E=y!==-1&&x===-1||p,R=JL(l);Nt(()=>{p&&w&&f(g)},[p,g,w,f]),v.useEffect(()=>{b.current=g},[g]);const j=v.useMemo(()=>({activeIndex:x,containerId:m,disabled:R,disableTransforms:E,items:g,overIndex:y,useDragOverlay:h,sortedRects:KL(g,d),strategy:o}),[x,m,R.draggable,R.droppable,E,g,y,d,h,o]);return v.createElement(U5.Provider,{value:j},t)}const tO=e=>{let{id:t,items:r,activeIndex:n,overIndex:o}=e;return W5(r,n,o).indexOf(t)},rO=e=>{let{containerId:t,isSorting:r,wasDragging:n,index:o,items:l,newIndex:i,previousItems:c,previousContainerId:d,transition:u}=e;return!u||!n||c!==l&&o===i?!1:r?!0:i!==o&&t===d},nO={duration:200,easing:"ease"},G5="transform",aO=Xt.Transition.toString({property:G5,duration:0,easing:"linear"}),oO={roleDescription:"sortable"};function sO(e){let{disabled:t,index:r,node:n,rect:o}=e;const[l,i]=v.useState(null),c=v.useRef(r);return Nt(()=>{if(!t&&r!==c.current&&n.current){const d=o.current;if(d){const u=Br(n.current,{ignoreTransform:!0}),f={x:d.left-u.left,y:d.top-u.top,scaleX:d.width/u.width,scaleY:d.height/u.height};(f.x||f.y)&&i(f)}}r!==c.current&&(c.current=r)},[t,r,n,o]),v.useEffect(()=>{l&&i(null)},[l]),l}function lO(e){let{animateLayoutChanges:t=rO,attributes:r,disabled:n,data:o,getNewIndex:l=tO,id:i,strategy:c,resizeObserverConfig:d,transition:u=nO}=e;const{items:f,containerId:m,activeIndex:h,disabled:g,disableTransforms:w,sortedRects:x,overIndex:y,useDragOverlay:b,strategy:p}=v.useContext(U5),E=iO(n,g),R=f.indexOf(i),j=v.useMemo(()=>({sortable:{containerId:m,index:R,items:f},...o}),[m,o,R,f]),A=v.useMemo(()=>f.slice(f.indexOf(i)),[f,i]),{rect:S,node:N,isOver:B,setNodeRef:$}=Dt({id:i,data:j,disabled:E.droppable,resizeObserverConfig:{updateMeasurementsFor:A,...d}}),{active:_,activatorEvent:W,activeNodeRect:K,attributes:Q,setNodeRef:q,listeners:ce,isDragging:U,over:M,setActivatorNodeRef:F,transform:ae}=pr({id:i,data:j,attributes:{...oO,...r},disabled:E.draggable}),O=rA($,q),J=!!_,T=J&&!w&&Wn(h)&&Wn(y),Z=!b&&U,te=Z&&T?ae:null,re=T?te??(c??p)({rects:x,activeNodeRect:K,activeIndex:h,overIndex:y,index:R}):null,pe=Wn(h)&&Wn(y)?l({id:i,items:f,activeIndex:h,overIndex:y}):R,se=_==null?void 0:_.id,le=v.useRef({activeId:se,items:f,newIndex:pe,containerId:m}),Ee=f!==le.current.items,be=t({active:_,containerId:m,isDragging:U,isSorting:J,id:i,index:R,items:f,newIndex:le.current.newIndex,previousItems:le.current.items,previousContainerId:le.current.containerId,transition:u,wasDragging:le.current.activeId!=null}),Se=sO({disabled:!be,index:R,node:N,rect:S});return v.useEffect(()=>{J&&le.current.newIndex!==pe&&(le.current.newIndex=pe),m!==le.current.containerId&&(le.current.containerId=m),f!==le.current.items&&(le.current.items=f)},[J,pe,m,f]),v.useEffect(()=>{if(se===le.current.activeId)return;if(se!=null&&le.current.activeId==null){le.current.activeId=se;return}const Ze=setTimeout(()=>{le.current.activeId=se},50);return()=>clearTimeout(Ze)},[se]),{active:_,activeIndex:h,attributes:Q,data:j,rect:S,index:R,newIndex:pe,items:f,isOver:B,isSorting:J,isDragging:U,listeners:ce,node:N,overIndex:y,over:M,setNodeRef:O,setActivatorNodeRef:F,setDroppableNodeRef:$,setDraggableNodeRef:q,transform:Se??re,transition:Le()};function Le(){if(Se||Ee&&le.current.newIndex===R)return aO;if(!(Z&&!La(W)||!u)&&(J||be))return Xt.Transition.toString({...u,property:G5})}}function iO(e,t){var r,n;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(r=e==null?void 0:e.draggable)!=null?r:t.draggable,droppable:(n=e==null?void 0:e.droppable)!=null?n:t.droppable}}function xa(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&typeof t.sortable=="object"&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const cO=[$e.Down,$e.Right,$e.Up,$e.Left],dO=(e,t)=>{let{context:{active:r,collisionRect:n,droppableRects:o,droppableContainers:l,over:i,scrollableAncestors:c}}=t;if(cO.includes(e.code)){if(e.preventDefault(),!r||!n)return;const d=[];l.getEnabled().forEach(m=>{if(!m||m!=null&&m.disabled)return;const h=o.get(m.id);if(h)switch(e.code){case $e.Down:n.top<h.top&&d.push(m);break;case $e.Up:n.top>h.top&&d.push(m);break;case $e.Left:n.left>h.left&&d.push(m);break;case $e.Right:n.left<h.left&&d.push(m);break}});const u=wA({collisionRect:n,droppableRects:o,droppableContainers:d});let f=f5(u,"id");if(f===(i==null?void 0:i.id)&&u.length>1&&(f=u[1].id),f!=null){const m=l.get(r.id),h=l.get(f),g=h?o.get(h.id):null,w=h==null?void 0:h.node.current;if(w&&g&&m&&h){const y=Oa(w).some((A,S)=>c[S]!==A),b=K5(m,h),p=uO(m,h),E=y||!b?{x:0,y:0}:{x:p?n.width-g.width:0,y:p?n.height-g.height:0},R={x:g.left,y:g.top};return E.x&&E.y?R:un(R,E)}}}};function K5(e,t){return!xa(e)||!xa(t)?!1:e.data.current.sortable.containerId===t.data.current.sortable.containerId}function uO(e,t){return!xa(e)||!xa(t)||!K5(e,t)?!1:e.data.current.sortable.index<t.data.current.sortable.index}const fO=(e,t,r)=>Math.max(t,Math.min(r,e));function s0(e){const t=[`li:${e.li}`];return e.tabIdx!=null&&t.push(`t:${e.tabIdx}`),t.push(`s:${e.sectionIdx}`,`r:${e.rowIdx}`,`c:${e.colIdx}`,`f:${e.fieldIdx}`),t.join("|")}function Kr(e){const t=Object.fromEntries(e.split("|").map(r=>r.split(":")));return{li:Number(t.li),tabIdx:t.t!=null?Number(t.t):void 0,sectionIdx:Number(t.s),rowIdx:Number(t.r),colIdx:Number(t.c),fieldIdx:Number(t.f)}}function l0(e,t){var n,o,l,i,c,d,u;const r=e[t.li];if(!r)return null;if(r.type==="rows"){const f=(n=r.sections)==null?void 0:n[t.sectionIdx],m=(o=f==null?void 0:f.rows)==null?void 0:o[t.rowIdx];return((l=m==null?void 0:m.columns)==null?void 0:l[t.colIdx])??null}if(r.type==="tabs"){const f=(i=r.tabs)==null?void 0:i[t.tabIdx??0],m=(c=f==null?void 0:f.sections)==null?void 0:c[t.sectionIdx],h=(d=m==null?void 0:m.rows)==null?void 0:d[t.rowIdx];return((u=h==null?void 0:h.columns)==null?void 0:u[t.colIdx])??null}return null}function mO(e,t,r){if(t.li===r.li&&(t.tabIdx??-1)===(r.tabIdx??-1)&&t.sectionIdx===r.sectionIdx&&t.rowIdx===r.rowIdx&&t.colIdx===r.colIdx&&t.fieldIdx===r.fieldIdx)return e;const n=JSON.parse(JSON.stringify(e.layout)),o=l0(n,{li:t.li,tabIdx:t.tabIdx,sectionIdx:t.sectionIdx,rowIdx:t.rowIdx,colIdx:t.colIdx}),l=l0(n,{li:r.li,tabIdx:r.tabIdx,sectionIdx:r.sectionIdx,rowIdx:r.rowIdx,colIdx:r.colIdx});if(!o||!Array.isArray(o.fields)||!l||!Array.isArray(l.fields))return e;const i=[...o.fields];if(t.fieldIdx<0||t.fieldIdx>=i.length)return e;const[c]=i.splice(t.fieldIdx,1);o.fields=i;const d=[...l.fields],u=fO(r.fieldIdx??d.length,0,d.length);return d.splice(u,0,c),l.fields=d,{...e,layout:n}}function hO(e,t){const r=JSON.parse(JSON.stringify(e.layout)),o=(i=>{var d,u,f,m,h,g,w,x,y,b,p,E;const c=r[i.li];return c?c.type==="rows"?((h=(m=(f=(u=(d=c.sections)==null?void 0:d[i.sectionIdx])==null?void 0:u.rows)==null?void 0:f[i.rowIdx])==null?void 0:m.columns)==null?void 0:h[i.colIdx])??null:c.type==="tabs"?((E=(p=(b=(y=(x=(w=(g=c.tabs)==null?void 0:g[i.tabIdx??0])==null?void 0:w.sections)==null?void 0:x[i.sectionIdx])==null?void 0:y.rows)==null?void 0:b[i.rowIdx])==null?void 0:p.columns)==null?void 0:E[i.colIdx])??null:null:null})({li:t.li,tabIdx:t.tabIdx,sectionIdx:t.sectionIdx,rowIdx:t.rowIdx,colIdx:t.colIdx});if(!o||!Array.isArray(o.fields))return e;const l=[...o.fields];return t.fieldIdx<0||t.fieldIdx>=l.length?e:(l.splice(t.fieldIdx,1),o.fields=l,{...e,layout:r})}const Y5=v.createContext(null),J5=()=>{const e=v.useContext(Y5);if(!e)throw new Error("useRelations must be used inside <RelationsProvider>");return e},pO=e=>{const{registerFieldEl:t}=J5();return v.useCallback(r=>{e&&t(e,r)},[e,t])},vO=({children:e})=>{const[t,r]=v.useState(!1),[n,o]=v.useState(null),[l,i]=v.useState({}),c=v.useRef({}),d=g=>r(w=>typeof g=="boolean"?g:!w),u=v.useCallback((g,w)=>{c.current[g]=w},[]);v.useEffect(()=>{let g=!0,w;const y=(async()=>{try{const{useEditorStore:b}=await Promise.resolve().then(()=>tA),E=b.getState().showRelations??!1;return w=E,g&&r(E),b.subscribe(j=>{const A=j.showRelations??!1;g&&A!==w&&(w=A,r(A))})}catch(b){return console.error("Failed to sync with store:",b),()=>{}}})();return()=>{g=!1,y.then(b=>b())}},[]);const f=v.useRef(null),m=v.useRef({});v.useEffect(()=>{if(!t)return;const g=()=>{const p=f.current;if(!p)return;const E=p.getBoundingClientRect(),R={};for(const[N,B]of Object.entries(c.current)){if(!B)continue;const $=B.getBoundingClientRect();R[N]={x:Math.round($.left-E.left+$.width/2),y:Math.round($.top-E.top+$.height/2),w:Math.round($.width),h:Math.round($.height)}}const j=m.current;let A=!1;const S=new Set([...Object.keys(R),...Object.keys(j)]);for(const N of S){const B=R[N],$=j[N];if(!B||!$||B.x!==$.x||B.y!==$.y||B.w!==$.w||B.h!==$.h){A=!0;break}}A&&(m.current=R,i(R))},w=()=>requestAnimationFrame(g),x=new ResizeObserver(w);f.current&&x.observe(f.current);const y=new MutationObserver(w);f.current&&y.observe(f.current,{childList:!0,subtree:!0}),window.addEventListener("resize",w,{passive:!0}),document.addEventListener("scroll",w,{passive:!0,capture:!0});const b=new ResizeObserver(w);return Object.values(c.current).forEach(p=>p&&b.observe(p)),w(),()=>{x.disconnect(),y.disconnect(),b.disconnect(),window.removeEventListener("resize",w),document.removeEventListener("scroll",w,{capture:!0})}},[t]);const h=v.useMemo(()=>({enabled:t,toggle:d,registerFieldEl:u,anchors:l,schema:n,setSchema:o}),[t,u,l,n]);return s.jsx(Y5.Provider,{value:h,children:s.jsx("div",{ref:f,className:"relative",children:e})})};function ta(e){return e?e.op==="and"||e.op==="or"?(e.rules??[]).flatMap(ta):e.field?[e.field]:[]:[]}function wO(e){var o,l,i;const t=[];for(const c of e.fields){const d=c.name,u=(o=c.visibleWhen)==null?void 0:o.rule,f=(l=c.disabledWhen)==null?void 0:l.rule,m=(i=c.clearWhen)==null?void 0:i.rule;for(const h of ta(u))t.push({from:h,to:d,kind:"visibleWhen"});for(const h of ta(f))t.push({from:h,to:d,kind:"disabledWhen"});for(const h of ta(m))t.push({from:h,to:d,kind:"clearWhen"})}const r=c=>`${c.from}->${c.to}:${c.kind}`,n=new Set;return t.filter(c=>n.has(r(c))?!1:(n.add(r(c)),!0))}const mo={visibleWhen:"var(--color-success-500, #22c55e)",disabledWhen:"var(--color-warning-500, #f59e0b)",clearWhen:"var(--color-info-500, #0ea5e9)"};function i0(e){return{left:e.x-e.w/2,right:e.x+e.w/2,top:e.y-e.h/2,bottom:e.y+e.h/2,cx:e.x,cy:e.y,w:e.w,h:e.h}}function c0(e,t,r=20,n=0){const o=i0(e),l=i0(t),i=1,c=1,d=l.cx-o.cx,u=l.cy-o.cy,m=Math.min(o.bottom,l.bottom)-Math.max(o.top,l.top)>0||Math.abs(d)>Math.abs(u);let h,g,w=[];if(m)if(d>0?(h={x:o.right+i,y:o.cy},g={x:l.left-c,y:l.cy}):(h={x:o.left-i,y:o.cy},g={x:l.right+c,y:l.cy}),Math.abs(h.y-g.y)<5)w=[h,g];else{const b=(h.x+g.x)/2;if(d>0&&h.x>g.x||d<0&&h.x<g.x){const p=Math.max(o.bottom,l.bottom)+r;w=[h,{x:h.x+(d>0?10:-10),y:h.y},{x:h.x+(d>0?10:-10),y:p},{x:g.x-(d>0?10:-10),y:p},{x:g.x-(d>0?10:-10),y:g.y},g]}else w=[h,{x:b,y:h.y},{x:b,y:g.y},g]}else if(u>0?(h={x:o.cx,y:o.bottom+i},g={x:l.cx,y:l.top-c}):(h={x:o.right+i,y:o.cy},g={x:l.right+c,y:l.cy}),u>0&&Math.abs(h.x-g.x)<5)w=[h,g];else if(u>0){const b=(h.y+g.y)/2;w=[h,{x:h.x,y:b},{x:g.x,y:b},g]}else{const b=Math.max(o.right,l.right)+r;w=[h,{x:b,y:h.y},{x:b,y:g.y},g]}n!==0&&(w=w.map(b=>m?{x:b.x,y:b.y+n}:{x:b.x+n,y:b.y}));let x=`M ${w[0].x},${w[0].y}`;for(let b=1;b<w.length;b++)x+=` L ${w[b].x},${w[b].y}`;let y={x:0,y:0};if(w.length===2)y={x:(w[0].x+w[1].x)/2,y:(w[0].y+w[1].y)/2};else{const b=Math.floor((w.length-1)/2),p=w[b],E=w[b+1];y={x:(p.x+E.x)/2,y:(p.y+E.y)/2}}return{d:x,label:y}}const gO=({enabled:e=!0,anchors:t,schema:r})=>{const n=v.useMemo(()=>r?wO(r):[],[r]),[o,l]=v.useState(null),i=Y(f=>f.setSelection),c=Y(f=>f.selection),d=(c==null?void 0:c.kind)==="field"?c.name:null,u=v.useMemo(()=>{const f=new Map;return n.forEach(m=>{const h=`${m.from}->${m.to}`;f.has(h)||f.set(h,[]),f.get(h).push(m)}),Array.from(f.entries())},[n]);return!e||!r||n.length===0?null:s.jsxs("svg",{className:"pointer-events-none absolute inset-0 z-50",width:"100%",height:"100%",children:[s.jsxs("defs",{children:[s.jsx("marker",{id:"arrow-head-visibleWhen",viewBox:"0 0 10 10",refX:8,refY:5,markerWidth:4,markerHeight:4,orient:"auto",children:s.jsx("path",{d:"M 0 0 L 10 5 L 0 10 z",fill:"var(--color-success-500, #22c55e)"})}),s.jsx("marker",{id:"arrow-head-disabledWhen",viewBox:"0 0 10 10",refX:8,refY:5,markerWidth:4,markerHeight:4,orient:"auto",children:s.jsx("path",{d:"M 0 0 L 10 5 L 0 10 z",fill:"var(--color-warning-500, #f59e0b)"})}),s.jsx("marker",{id:"arrow-head-clearWhen",viewBox:"0 0 10 10",refX:8,refY:5,markerWidth:4,markerHeight:4,orient:"auto",children:s.jsx("path",{d:"M 0 0 L 10 5 L 0 10 z",fill:"var(--color-info-500, #0ea5e9)"})}),s.jsx("marker",{id:"circle-start-visibleWhen",viewBox:"0 0 10 10",refX:5,refY:5,markerWidth:3,markerHeight:3,children:s.jsx("circle",{cx:5,cy:5,r:3,fill:"var(--color-success-500, #22c55e)"})}),s.jsx("marker",{id:"circle-start-disabledWhen",viewBox:"0 0 10 10",refX:5,refY:5,markerWidth:3,markerHeight:3,children:s.jsx("circle",{cx:5,cy:5,r:3,fill:"var(--color-warning-500, #f59e0b)"})}),s.jsx("marker",{id:"circle-start-clearWhen",viewBox:"0 0 10 10",refX:5,refY:5,markerWidth:3,markerHeight:3,children:s.jsx("circle",{cx:5,cy:5,r:3,fill:"var(--color-info-500, #0ea5e9)"})})]}),u.map(([f,m])=>{const h=m[0],g=t[h.from],w=t[h.to];if(!g||!w)return null;const x=`${f}`,y=o===x,b=!!d&&m.some(K=>K.from===d||K.to===d),p=m[0].kind,E=mo[p];let R=1;y?R=1:o?R=b?.4:.15:d&&(R=b?1:.2);const j=c0(g,w),{label:A}=j,S=m.length>1?m.map(K=>{const Q=K.kind.replace("When","");return Q.charAt(0).toUpperCase()+Q.slice(1)}).join(" + "):h.kind,N=Math.max(80,S.length*6+20),B=()=>{i({kind:"field",name:h.to})},$=m.length,_=3,W=m.map((K,Q)=>(Q-($-1)/2)*_);return s.jsxs("g",{style:{opacity:R,transition:"opacity 0.2s"},onMouseEnter:()=>l(x),onMouseLeave:()=>l(null),onClick:B,className:"pointer-events-auto cursor-pointer",children:[m.map((K,Q)=>{const q=mo[K.kind],{d:ce}=c0(g,w,20,W[Q]),U=!!d&&(K.from===d||K.to===d),M=y||U?1.75:1,F=`url(#arrow-head-${K.kind})`,ae=`url(#circle-start-${K.kind})`;return s.jsxs("g",{children:[s.jsx("path",{d:ce,stroke:"transparent",strokeWidth:18,fill:"none"}),s.jsx("path",{d:ce,stroke:q,strokeWidth:M,fill:"none",markerEnd:F,markerStart:ae,strokeLinejoin:"round",strokeDasharray:K.kind==="disabledWhen"?"5 5":void 0})]},`${x}-${K.kind}-${Q}`)}),s.jsxs("g",{transform:`translate(${A.x}, ${A.y})`,children:[s.jsx("rect",{x:-N/2,y:-10,width:N,height:20,rx:4,ry:4,fill:"var(--color-ds-background-surface, #f8fafc)",stroke:E,strokeWidth:1,className:"shadow-sm"}),s.jsx("text",{x:0,y:4,textAnchor:"middle",fontSize:10,fontWeight:600,fill:"var(--color-ds-text-primary, #0f172a)",style:{pointerEvents:"none"},children:S}),m.length>1&&s.jsx("g",{transform:"translate(0, 15)",children:m.map((K,Q)=>{const q=mo[K.kind],ce=(Q-(m.length-1)/2)*20;return s.jsx("circle",{cx:ce,cy:0,r:3,fill:q,stroke:"white",strokeWidth:1},Q)})})]})]},x)})]})};function d0(e,t){if(!e||!t)return;const r=t==="outline"?nn:an;let n=r==null?void 0:r[e];return!n&&(r!=null&&r.default)&&(n=r.default[e]),n||console.warn(`[IconResolver] Icon "${e}" (${t}) no encontrado en @heroicons/react/24/${t}. Revisa tu versión o el nombre. Exports disponibles (outline):`,Object.keys(t==="outline"?nn:an)),console.log(n),n||void 0}function Kt(e){if(!(!e||typeof e!="object"))return console.log(d0(e.name,e.style)),d0(e.name,e.style)}function bO(e){const{fields:t,fieldsByName:r,control:n,errors:o,isSubmitting:l,loadingDefaults:i,asyncOptionsMap:c,adapterOptionsMap:d,evalContainer:u,disabledMap:f,registry:m,methods:h}=e,g=()=>Y.getState().fieldPick,w=y=>Y.getState().completeFieldPick(y),x=(y,b)=>{if(!b)return y;const p=g(),E=p.armed,R=E&&p.forField===b,j=E&&!R,A=B=>{E&&(B.preventDefault(),B.stopPropagation(),!R&&w(b))},S=B=>{E&&j&&(B.key==="Enter"||B.key===" ")&&(B.preventDefault(),B.stopPropagation(),w(b))},N=E?R?"opacity-40 cursor-not-allowed":"cursor-pointer transition-all rounded border border-[color-mix(in_srgb,var(--color-ds-border-default)_40%,transparent)] hover:border-[color-mix(in_srgb,var(--color-ds-border-default)_70%,transparent)] hover:bg-[color-mix(in_srgb,var(--color-ds-background-accent)_5%,transparent)]":"";return s.jsx("div",{onClick:A,onKeyDown:S,tabIndex:j?0:-1,className:N,role:j?"button":void 0,"aria-label":j?`Seleccionar campo ${b}`:void 0,children:y})};return function y(b){var $,_,W,K,Q;let p;if(typeof b=="string"){if(p=r[b],p||(p=(t??[]).find(q=>(q==null?void 0:q.name)===b)),!p)return null}else p=b;p.visibleWhen;let E=!!p.disabled;const R=p.disabledWhen,j=u(R,!1);R!=null&&R.enabled&&(E=j),!(R!=null&&R.enabled)&&"name"in p&&p.name&&f[p.name]&&(E=!0);const A=p==null?void 0:p.name;if(p.type==="search"){const q=typeof p.searchFn=="function",ce=p.searchSource,U=async ae=>{if(q)return p.searchFn(ae,{getValues:h.getValues,watch:h.watch});if(ce){const O=m==null?void 0:m[ce];if(typeof O=="function")return await O(ae,{getValues:h.getValues,watch:h.watch});if(Array.isArray(O))return O}return[]},M={};p.searchMode&&(M.searchMode=p.searchMode),p.minChars&&(M.minChars=p.minChars),p.debounceMs&&(M.debounceMs=p.debounceMs),p.resolveByValue&&(M.resolveByValue=p.resolveByValue);const F=s.jsx(fs,{name:p.name,control:n,searchFn:U,label:p.label,size:p.size,width:p.width,disabled:E||l,...M},p.name);return x(F,A)}if(p.type==="inputGroup"){const q=p,ce=(q.inputs??[]).map(M=>{var Z;const F=typeof M=="string"?r[M]??(t??[]).find(te=>(te==null?void 0:te.name)===M):M;if(!F)return null;const ae=F.disabledWhen;let O=!!F.disabled;const J=u(ae,!1);ae!=null&&ae.enabled&&(O=J),!(ae!=null&&ae.enabled)&&f[F.name]&&(O=!0);const T={name:F.name,control:n,label:F.label,size:F.size,width:F.width,placeholder:F.placeholder,hasError:!!o[F.name],errorMessage:((Z=o[F.name])==null?void 0:Z.message)||"",loading:!1,disabled:O||l,suffixButton:F.suffixButton,reserveErrorSpace:!0,labelPrefixIcon:Kt(F.labelPrefixIcon),labelSuffixIcon:Kt(F.labelSuffixIcon),prefixIcon:Kt(F.prefixIcon),suffixIcon:Kt(F.suffixIcon)};return F.type==="select"?{...T,options:F.options??d[F.name]??c[F.name]??[],loadOptions:F.options||F.optionSource?void 0:F.loadOptions}:{...T,type:F.type}}).filter(Boolean),U=s.jsx(ds,{groupLabel:q.groupLabel,inputs:ce,separator:q.separator,useSeparator:q.useSeparator,className:q.className,showVisibleLabel:q.showVisibleLabel,size:q.size},`inputGroup_${q.name??q.groupLabel??"group"}`);return x(U,q.name)}if(p.type==="button"){const q=p;return s.jsx("div",{className:"self-center",children:s.jsx(ie,{type:"button",variant:q.variant,size:q.size,width:q.width,icon:q.icon,iconPosition:q.iconPosition,ariaLabel:q.ariaLabel,onClick:q.onClick,disabled:E||l,children:q.label})},q.name)}const S=p.suffixButton,N=typeof S=="string"?y(S):S,B={name:p.name,control:n,disabled:E||l,label:p.label,size:p.size,width:p.width,placeholder:p.placeholder,info:p.info,suffixButton:N,labelPrefixIcon:Kt(p.labelPrefixIcon),labelSuffixIcon:Kt(p.labelSuffixIcon),prefixIcon:Kt(p.prefixIcon),suffixIcon:Kt(p.suffixIcon)};switch(p.type){case"select":{const q=p.name,ce=p.options??d[q]??c[q]??[],U=!p.options&&!p.optionSource&&p.loadOptions,M=s.jsx(Et,{name:q,control:n,render:({field:F})=>{var ae;return s.jsx(rt,{...B,value:F.value,onChange:F.onChange,options:ce,loadOptions:U||void 0,hasError:!!o[q],errorMessage:(ae=o[q])==null?void 0:ae.message,suffixButton:N})}},`${q}`);return x(M,A)}case"textarea":{const q=s.jsx(Et,{name:p.name,control:n,render:({field:ce,fieldState:U})=>{var M;return s.jsx(bn,{...B,value:ce.value,onChange:ce.onChange,maxLength:p.maxLength,showCounter:!!p.showCounter,hasError:!!U.error,errorMessage:((M=U.error)==null?void 0:M.message)||""})}},p.name);return x(q,A)}case"file":{const q=s.jsx(ss,{...B,defaultValue:[],maxFiles:p.maxFiles,accept:p.accept,hasError:!!o[p.name],errorMessage:($=o[p.name])==null?void 0:$.message},p.name);return x(q,A)}case"checkbox":{const q=s.jsx(bt,{...B,defaultValue:!1,hasError:!!o[p.name],errorMessage:(_=o[p.name])==null?void 0:_.message,name:p.name},p.name);return x(q,A)}case"date":{const q=s.jsx($r,{...B,defaultValue:"",showTime:!!p.showTime,hasError:!!o[p.name],errorMessage:(W=o[p.name])==null?void 0:W.message},p.name);return x(q,A)}case"optionGroup":{const q=s.jsx(us,{...B,options:p.options||[],multiple:p.multiple,vertical:p.vertical,groupLabel:p.groupLabel,defaultValue:p.defaultValue,className:p.width?void 0:"w-full",name:p.name},p.name);return x(q,A)}case"toggle":{const q=s.jsx(vs,{...B,checked:p.defaultValue??!1,errorMessage:(K=o[p.name])==null?void 0:K.message,name:p.name},p.name);return x(q,A)}default:{const q=s.jsx(Ra,{...B,type:p.type,loadingDefaults:i,hasError:!!o[p.name],errorMessage:(Q=o[p.name])==null?void 0:Q.message,suffixButton:N,name:p.name},p.name);return x(q,A)}}}}function xO(e){var r;return e?!!((r=e.closest)!=null&&r.call(e,'button,[role="button"],a[href],input,select,textarea,[contenteditable="true"],[data-interactive="true"]')):!1}function yO(e){var r;return e?!!((r=e.closest)!=null&&r.call(e,'[data-input-group-root],[data-input-group],[data-role="input-group"],.input-group,.InputGroup')):!1}function Ur(e){var t;e.preventDefault(),e.stopPropagation(),(t=e.nativeEvent)!=null&&t.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}function EO({id:e,children:t,onDelete:r,fieldName:n,chromeDisabled:o=!1}){const{attributes:l,listeners:i,setNodeRef:c,transform:d,transition:u,isDragging:f}=lO({id:e,disabled:o}),m=Y(y=>y.setSelection),h={transform:Xt.Transform.toString(d),transition:u},g="opacity-0 scale-95 group-hover:opacity-100 group-hover:scale-100 group-focus-within:opacity-100 group-focus-within:scale-100",w=y=>{const b=y.target;xO(b)||yO(b)||n&&(y.stopPropagation(),m({kind:"field",name:n}))},x=y=>{Ur(y)};return s.jsxs("div",{ref:c,style:h,className:["relative",o?"":"group",f?"z-30":"z-0"].filter(Boolean).join(" "),onClickCapture:w,onDoubleClick:x,onDoubleClickCapture:x,children:[!o&&s.jsxs(s.Fragment,{children:[s.jsx("div",{className:["pointer-events-none absolute -inset-0.5 rounded-lg","bg-[var(--color-ds-background-surface)]/80","border border-dashed border-[var(--color-ds-border-default-50)]","transition-all duration-150 ease-out",g,f?"opacity-100 scale-100":""].join(" ")}),s.jsxs("div",{className:["pointer-events-none absolute -top-3 right-2 flex gap-1 z-40","transition-all duration-150 ease-out",g,f?"opacity-100 scale-100":""].join(" "),children:[r&&s.jsx("button",{type:"button","aria-label":"Eliminar campo",className:["pointer-events-auto inline-flex items-center justify-center","w-7 h-7 rounded-full","bg-[var(--color-ds-background-surface)]","border border-[var(--color-ds-border-default-50)]","text-[var(--color-ds-text-secondary)] hover:text-[var(--color-ds-text-danger)]","focus:outline-none focus:ring-2 focus:ring-[var(--color-ds-border-default-50)]","transition-colors"].join(" "),onClick:y=>{y.preventDefault(),y.stopPropagation(),r==null||r(e)},onDoubleClick:Ur,onDoubleClickCapture:Ur,children:s.jsx(Sr,{className:"w-4 h-4"})}),s.jsx("button",{type:"button","aria-label":"Mover campo","data-drag-handle":!0,className:["pointer-events-auto inline-flex items-center justify-center","w-8 h-8 rounded-full cursor-grab active:cursor-grabbing touch-none","bg-[var(--color-ds-background-surface)]","border border-[var(--color-ds-border-default-50)]","text-[var(--color-ds-text-secondary)] hover:text-[var(--color-ds-text-primary)]","focus:outline-none focus:ring-2 focus:ring-[var(--color-ds-border-default-50)]","transition-colors"].join(" "),...l,...i,onDoubleClick:Ur,onDoubleClickCapture:Ur,children:s.jsx(R0,{className:"w-4 h-4"})})]})]}),s.jsx("div",{className:"relative z-10",children:t})]})}function kO(e,t){if(!t||t.kind!=="row-in-section"&&t.kind!=="row-in-tab-section")return!1;const r=n=>e.insertAt===n||e.insertAt===n+1;if(e.scope==="row-slot"){if(t.kind==="row-in-section"&&t.li===e.li&&t.sIdx===e.sIdx&&r(t.rIdx))return!0}else if(e.scope==="tab-row-slot"&&t.kind==="row-in-tab-section"&&t.li===e.li&&t.tabKey===e.tabKey&&t.sIdx===e.sIdx&&r(t.rIdx))return!0;return!1}function qn(e){const t=e.scope==="row-slot"?{scope:"row-slot",li:e.li,sIdx:e.sIdx,insertAt:e.insertAt}:{scope:"tab-row-slot",li:e.li,tabKey:e.tabKey,sIdx:e.sIdx,insertAt:e.insertAt},r=e.scope==="row-slot"?`row-slot|li:${e.li}|s:${e.sIdx}|i:${e.insertAt}`:`tab-row-slot|li:${e.li}|t:${e.tabKey}|s:${e.sIdx}|i:${e.insertAt}`,{setNodeRef:n,isOver:o}=Dt({id:r,data:t}),[l,i]=v.useState(void 0);return Rn({onDragStart:u=>{i(u.active.data.current)},onDragEnd:()=>i(void 0),onDragCancel:()=>i(void 0)}),kO(e,l)?s.jsx("div",{ref:n,style:{display:"none"}}):s.jsx("div",{className:"w-full relative transition-all duration-200 ease-in-out",style:{height:o?60:0,pointerEvents:"none",zIndex:o?10:0},children:s.jsx("div",{ref:n,className:"absolute left-0 right-0",style:{top:o?0:-12,height:o?"100%":24,zIndex:o?10:2,pointerEvents:"auto"},children:o&&s.jsx("div",{className:"w-full h-full rounded-md border border-dashed border-[var(--color-ds-border-default-50)] bg-[var(--color-ds-background)]/60 relative",style:{boxShadow:"inset 0 0 0 1px color-mix(in srgb, var(--color-ds-border-default-50) 30%, transparent)"},children:s.jsx("div",{className:"absolute -top-2 left-3 px-1.5 py-0.5 rounded text-[11px] leading-none",style:{background:"var(--color-ds-background-elevated)",color:"var(--color-ds-text-secondary)",border:"1px solid var(--color-ds-border-default-50)"},children:"Soltar fila aquí"})})})})}function u0(e){const t=e.kind==="row-in-section"?{kind:"row-in-section",li:e.li,sIdx:e.sIdx,rIdx:e.rIdx}:{kind:"row-in-tab-section",li:e.li,tabKey:e.tabKey,sIdx:e.sIdx,rIdx:e.rIdx},r=e.kind==="row-in-section"?`row|li:${e.li}|s:${e.sIdx}|r:${e.rIdx}`:`tab-row|li:${e.li}|t:${e.tabKey}|s:${e.sIdx}|r:${e.rIdx}`,{attributes:n,listeners:o,setNodeRef:l,isDragging:i}=pr({id:r,data:t});return s.jsx("div",{ref:l,"aria-label":"Handle de arrastre de fila",style:{position:"absolute",left:"50%",top:-14,transform:"translateX(-50%)",zIndex:2147483647,pointerEvents:e.visible?"auto":"none",opacity:e.visible?1:0,transition:"opacity .12s ease"},...o,...n,children:s.jsx("div",{className:"flex items-center justify-center bg-[var(--color-ds-background-elevated)]/85 backdrop-blur-sm px-1 py-0.5 rounded-lg border border-[var(--color-ds-border-default-50)] shadow-sm",children:s.jsx("div",{title:"Mover fila (arrastrar)",className:"flex items-center justify-center rounded hover:bg-[var(--color-ds-background-muted)] transition-colors",style:{cursor:i?"grabbing":"grab",touchAction:"none",padding:"2px 6px"},children:s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-4 h-4 text-[var(--color-ds-text-secondary)]",children:s.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 9h16.5m-16.5 6.75h16.5"})})})})})}function RO(e){return typeof e=="function"}function Un(e,t){if(!e||!t)return null;const r=t==="outline"?nn:an,n=r==null?void 0:r[e];return RO(n)?n:null}function Bo(e){var c,d,u,f,m,h,g,w;if(!e||typeof e!="object")return e;if(e.type==="inputGroup"){const x=e,y={...x};return Array.isArray(x.inputs)&&(y.inputs=x.inputs.map(b=>typeof b=="string"?b:Bo(b))),y}const t=e,r={...t},n=Un((c=t.labelPrefixIcon)==null?void 0:c.name,(d=t.labelPrefixIcon)==null?void 0:d.style),o=Un((u=t.labelSuffixIcon)==null?void 0:u.name,(f=t.labelSuffixIcon)==null?void 0:f.style),l=Un((m=t.prefixIcon)==null?void 0:m.name,(h=t.prefixIcon)==null?void 0:h.style),i=Un((g=t.suffixIcon)==null?void 0:g.name,(w=t.suffixIcon)==null?void 0:w.style);return n&&(r.labelPrefixIcon=n),o&&(r.labelSuffixIcon=o),l&&(r.prefixIcon=l),i&&(r.suffixIcon=i),r}function jO({name:e,children:t}){const r=pO(e);return s.jsx("div",{ref:r,"data-field":e,style:{position:"relative"},children:t})}function f0(e){return e.startsWith("row|")?Object.fromEntries(e.slice(4).split(";").map(r=>r.split(":"))):{}}function CO(e,t){const r=f0(e),n=f0(t);return r.ctx===n.ctx&&r.li===n.li&&r.s===n.s&&(r.t??"")===(n.t??"")}function m0(e,t){if(!e.startsWith("col|"))return Kr(e);const r=Object.fromEntries(e.slice(4).split(";").map(i=>i.split(":"))),n=r.ctx==="rows"?`rows|li:${r.li}|s:${r.s}|r:${r.r}|c:${r.c}`:`tabs|li:${r.li}|t:${r.t}|s:${r.s}|r:${r.r}|c:${r.c}`,o=(t[n]??[]).length,l=Object.prototype.hasOwnProperty.call(r,"insertAt");return{li:Number(r.li),tabIdx:r.t?Number(r.t):void 0,sectionIdx:Number(r.s),rowIdx:Number(r.r),colIdx:Number(r.c),fieldIdx:l?Number(r.insertAt):o}}function MO(e,t){const r=Array.from(e.querySelectorAll("[data-sortable-item]"));if(!r.length)return{insertAt:0,yAbs:e.getBoundingClientRect().top+8};let n=r.length,o=r[r.length-1].getBoundingClientRect().bottom;for(let l=0;l<r.length;l++){const i=r[l].getBoundingClientRect(),c=(i.top+i.bottom)/2;if(t<c){n=l,o=i.top;break}}return{insertAt:n,yAbs:o}}function AO(e){v.useEffect(()=>{if(!e)return;let t=0;const r=()=>{const n=document.getElementById("form-renderer-root");if(!n){t=requestAnimationFrame(r);return}const o=n.getBoundingClientRect(),l=window.__lastPointerY,i=80,c=14;typeof l=="number"&&(l<o.top+i?window.scrollBy({top:-c}):l>o.bottom-i&&window.scrollBy({top:c})),t=requestAnimationFrame(r)};return t=requestAnimationFrame(r),()=>cancelAnimationFrame(t)},[e])}function SO(e){const t=e.replaceAll("|",";");return t.startsWith("rows;")?`col|ctx:rows;${t.slice(5)}`:t.startsWith("tabs;")?`col|ctx:tabs;${t.slice(5)}`:`col|${t}`}function $O({droppableId:e,children:t,className:r}){const{isOver:n,setNodeRef:o}=Dt({id:e});return s.jsx("div",{ref:o,className:["relative min-h-[28px] h-full overflow-visible transition-[box-shadow,border-color] duration-100",n?"ring-1 ring-[var(--color-ds-border-default-50)] rounded":"",r??""].join(" "),style:{isolation:"isolate"},"data-droppable-col":!0,children:t})}function LO(e,t){var n,o,l,i,c,d,u,f,m;const r=e.layout[t.li];if(r)return r.type==="rows"?(i=(l=(o=(n=r.sections[t.sectionIdx])==null?void 0:n.rows[t.rowIdx])==null?void 0:o.columns[t.colIdx])==null?void 0:l.fields)==null?void 0:i[t.fieldIdx]:(m=(f=(u=(d=(c=r.tabs[t.tabIdx])==null?void 0:c.sections[t.sectionIdx])==null?void 0:d.rows[t.rowIdx])==null?void 0:u.columns[t.colIdx])==null?void 0:f.fields)==null?void 0:m[t.fieldIdx]}function h0({ctx:e,visible:t}){const r=Y(R=>R.addColumnToRow),n=Y(R=>R.setRowColumns),o=Y(R=>R.removeLastColumn),l=Y(R=>R.addRowToSectionAt),i=Y(R=>R.addColumnToTabRow),c=Y(R=>R.setTabRowColumns),d=Y(R=>R.removeLastTabColumn),u=Y(R=>R.addRowToTabSectionAt),f=()=>e.kind==="rows"?r==null?void 0:r(e.sectionIdx,e.rowIdx):i==null?void 0:i(e.tabKey,e.sectionIdx,e.rowIdx),m=()=>e.kind==="rows"?o==null?void 0:o(e.sectionIdx,e.rowIdx):d==null?void 0:d(e.tabKey,e.sectionIdx,e.rowIdx),h=R=>e.kind==="rows"?n==null?void 0:n(e.sectionIdx,e.rowIdx,R):c==null?void 0:c(e.tabKey,e.sectionIdx,e.rowIdx,R),g=()=>e.kind==="rows"?l==null?void 0:l(e.sectionIdx,e.rowIdx):u==null?void 0:u(e.tabKey,e.sectionIdx,e.rowIdx),w=()=>e.kind==="rows"?l==null?void 0:l(e.sectionIdx,e.rowIdx+1):u==null?void 0:u(e.tabKey,e.sectionIdx,e.rowIdx+1),[x,y]=v.useState({isOpen:!1,title:"",message:null,onConfirm:()=>{}}),b=(R,j,A)=>{y({isOpen:!0,title:R,message:j,onConfirm:A})},p=()=>{x.onConfirm(),y(R=>({...R,isOpen:!1}))},E=()=>{y(R=>({...R,isOpen:!1}))};return s.jsxs("div",{"aria-label":"Acciones de fila",style:{position:"absolute",insetInlineEnd:6,insetBlockStart:-30,zIndex:2147483646,pointerEvents:t?"auto":"none",opacity:t?1:0,transition:"opacity .12s ease"},className:"flex items-center gap-1",children:[s.jsxs("div",{className:"flex items-center gap-1 bg-[var(--color-ds-background-elevated)]/85 backdrop-blur-sm px-1.5 py-1 rounded-lg border border-[var(--color-ds-border-default-50)] shadow-sm",children:[s.jsx(ie,{size:"xs",variant:"ghost",title:"Añadir fila arriba",onClick:g,children:"↑"}),s.jsx(ie,{size:"xs",variant:"ghost",title:"Añadir fila abajo",onClick:w,children:"↓"}),s.jsx("span",{className:"w-px h-4 bg-[var(--color-ds-border-default-50)] mx-1","aria-hidden":!0}),s.jsx(ie,{size:"xs",variant:"ghost",title:"Añadir columna",onClick:f,children:"+"}),s.jsx(ie,{size:"xs",variant:"ghost",title:"Quitar última columna",onClick:()=>b("Eliminar columna","¿Estás seguro de que quieres eliminar la última columna? Se perderán los campos que contiene.",m),children:"−"}),s.jsx("span",{className:"w-px h-4 bg-[var(--color-ds-border-default-50)] mx-1","aria-hidden":!0}),[1,2,3,4].map(R=>s.jsx(ie,{size:"xs",variant:"ghost",title:`Distribuir en ${R} columna(s)`,onClick:()=>h(R),children:R},R))]}),s.jsx(Fr,{isOpen:x.isOpen,onClose:E,title:x.title,footer:s.jsxs("div",{className:"flex justify-end gap-2",children:[s.jsx(ie,{variant:"outline",onClick:E,children:"Cancelar"}),s.jsx(ie,{variant:"danger",onClick:p,children:"Eliminar"})]}),children:s.jsx("p",{className:"text-sm text-[var(--color-ds-text-secondary)]",children:x.message})})]})}function OO({schema:e,onSchemaChange:t,deps:r,layoutEditMode:n=!1}){const o=v.useMemo(()=>bO(r),[r]),l=Y(D=>D.selection),i=(l==null?void 0:l.kind)==="field"?l.name:void 0,d=Y(D=>D.fieldPick).armed,{enabled:u,anchors:f,setSchema:m}=J5();v.useEffect(()=>{m(e)},[e,m]);const[h,g]=v.useState(null),[w,x]=v.useState(null),y=v.useRef({}),b=v.useCallback(D=>k=>{y.current[D]=k},[]),p=v.useRef(null),E=v.useRef(null),R=v.useRef(null),j=D=>{E.current==null&&(E.current=requestAnimationFrame(()=>{E.current=null;const k=R.current;JSON.stringify(k)!==JSON.stringify(D)&&(R.current=D,x(D))}))},A=v.useMemo(()=>{const D={};return e.layout.forEach((k,C)=>{k.type==="tabs"&&(D[C]=k.tabs[0].key)}),D},[e.layout]),[S,N]=v.useState(A),[B,$]=v.useState({isOpen:!1,title:"",message:null,onConfirm:()=>{}}),_=(D,k,C)=>{$({isOpen:!0,title:D,message:k,onConfirm:C})},W=()=>{B.onConfirm(),$(D=>({...D,isOpen:!1}))},K=()=>{$(D=>({...D,isOpen:!1}))},Q=v.useMemo(()=>{const D={};return e.layout.forEach((k,C)=>{k.type==="rows"?k.sections.forEach((L,z)=>{L.rows.forEach((P,H)=>{P.columns.forEach((G,ue)=>{const ne=`rows|li:${C}|s:${z}|r:${H}|c:${ue}`;D[ne]=(G.fields??[]).map((oe,ke)=>s0({li:C,sectionIdx:z,rowIdx:H,colIdx:ue,fieldIdx:ke}))})})}):k.type==="tabs"&&k.tabs.forEach((L,z)=>{L.sections.forEach((P,H)=>{P.rows.forEach((G,ue)=>{G.columns.forEach((ne,oe)=>{const ke=`tabs|li:${C}|t:${z}|s:${H}|r:${ue}|c:${oe}`;D[ke]=(ne.fields??[]).map((I,V)=>s0({li:C,tabIdx:z,sectionIdx:H,rowIdx:ue,colIdx:oe,fieldIdx:V}))})})})})}),D},[e]),q=v.useMemo(()=>{const D={};return Object.entries(Q).forEach(([k,C])=>C.forEach(L=>D[L]=k)),D},[Q]),ce=u5(va(Fa,{activationConstraint:{distance:6}}),va(Na,{coordinateGetter:dO})),U="__phantom__",[M,F]=v.useState(!1),[ae,O]=v.useState(null),[J,T]=v.useState(null),[Z,te]=v.useState(40),[me,re]=v.useState(null),[pe,se]=v.useState(null),le=v.useCallback(D=>{if(!D)return!1;if(typeof D=="string"){const k=r.fieldsByName[D];return!!k&&k.type==="inputGroup"}return(D==null?void 0:D.type)==="inputGroup"},[r.fieldsByName]),Ee=D=>{var H;const k=String(((H=D.active)==null?void 0:H.id)??""),C=m5(D),L=C[0],z=L?String(L.id):null;if(z&&q[z]&&q[k]&&q[z]===q[k])return C;const P=xA(D);if(k.startsWith("row|")||k.startsWith("tab-row|")){const G=P.filter(ue=>String(ue.id).startsWith("row-slot|")||String(ue.id).startsWith("tab-row-slot|"));if(G.length)return G}else{const G=P.filter(ue=>String(ue.id).startsWith("col|"));if(G.length)return G}return C};Rn({onDragStart:D=>{var L,z,P,H,G,ue;F(!0);const k=String(D.active.id??"");O(k),T(q[k]??null),p.current=k.startsWith("row|")?"row":"field";const C=((z=(L=D.active.rect.current)==null?void 0:L.translated)==null?void 0:z.height)??((H=(P=D.active.rect.current)==null?void 0:P.initial)==null?void 0:H.height)??40;if(te(Math.max(24,Math.floor(C))),p.current==="field"&&!k.startsWith("col|"))try{const ne=Kr(k),oe=(G=e.layout)==null?void 0:G[ne.li],I=(ue=((oe==null?void 0:oe.type)==="rows"?oe.sections[ne.sectionIdx].rows[ne.rowIdx].columns[ne.colIdx]:oe.tabs[ne.tabIdx].sections[ne.sectionIdx].rows[ne.rowIdx].columns[ne.colIdx]).fields)==null?void 0:ue[ne.fieldIdx??0],V=I&&Bo(I);re(V?o(V):null)}catch{re(null)}else re(null)},onDragOver:D=>{var ue,ne;const k=String(((ue=D.over)==null?void 0:ue.id)??""),C=String(((ne=D.active)==null?void 0:ne.id)??""),L=D.activatorEvent;if(L&&typeof L.clientY=="number"&&(window.__lastPointerY=L.clientY),p.current==="row"){if(k.startsWith("row|")&&C.startsWith("row|"))if(CO(C,k)&&C!==k){const oe=y.current[k],ke=(L==null?void 0:L.clientY)??0;if(oe&&ke){const I=oe.getBoundingClientRect(),V=ke<I.top+I.height/2?"before":"after";j({rid:k,pos:V})}else j(null)}else j(null);else j(null);se(null);return}if(!k.startsWith("col|")){se(null);return}const z=Object.fromEntries(k.slice(4).split(";").map(oe=>oe.split(":"))),P=z.ctx==="rows"?`rows|li:${z.li}|s:${z.s}|r:${z.r}|c:${z.c}`:`tabs|li:${z.li}|t:${z.t}|s:${z.s}|r:${z.r}|c:${z.c}`,H=document.querySelector(`[data-col-key="${P}"]`),G=(L==null?void 0:L.clientY)??0;if(H&&G){const{insertAt:oe,yAbs:ke}=MO(H,G),I=H.getBoundingClientRect().top;se({overId:k,keyId:P,insertAt:oe,yRel:ke-I})}else se(null)},onDragCancel:D=>{F(!1),O(null),T(null),te(40),re(null),se(null),x(null),p.current=null,E.current&&(cancelAnimationFrame(E.current),E.current=null),R.current=null},onDragEnd:()=>{F(!1),O(null),T(null),te(40),re(null),x(null),p.current=null,E.current&&(cancelAnimationFrame(E.current),E.current=null),R.current=null}}),AO(M);const be=v.useCallback(D=>{const{active:k,over:C}=D;if(!(k!=null&&k.id)||!(C!=null&&C.id)){se(null),x(null);return}const L=k.data.current,z=C.data.current;if(((L==null?void 0:L.kind)==="row-in-section"||(L==null?void 0:L.kind)==="row-in-tab-section")&&((z==null?void 0:z.scope)==="row-slot"||(z==null?void 0:z.scope)==="tab-row-slot")){const oe=L.li,ke=L.sIdx,I=L.rIdx,V=z.li,X=z.sIdx,ee=z.insertAt,je={...e,layout:[...e.layout]},he={...je.layout[oe]};je.layout[oe]=he;let xe=null,Fe=null,Oe=null;if(L.kind==="row-in-section"&&he.type==="rows")he.sections=[...he.sections],Fe={...he.sections[ke]},he.sections[ke]=Fe,Fe.rows=[...Fe.rows],xe=Fe.rows;else if(L.kind==="row-in-tab-section"&&he.type==="tabs"){he.tabs=[...he.tabs];const Ne=he.tabs.findIndex(ge=>ge.key===L.tabKey);Ne>=0&&(Oe={...he.tabs[Ne]},he.tabs[Ne]=Oe,Oe.sections=[...Oe.sections],Fe={...Oe.sections[ke]},Oe.sections[ke]=Fe,Fe.rows=[...Fe.rows],xe=Fe.rows)}if(!xe)return;let ye=null,Ce=null;if(oe===V?Ce=he:(Ce={...je.layout[V]},je.layout[V]=Ce),z.scope==="row-slot"&&Ce.type==="rows")if(Ce.sections===he.sections||(Ce.sections=[...Ce.sections]),oe===V&&ke===X&&L.kind==="row-in-section")ye=xe;else{const Ne={...Ce.sections[X]};Ce.sections[X]=Ne,Ne.rows=[...Ne.rows],ye=Ne.rows}else if(z.scope==="tab-row-slot"&&Ce.type==="tabs"){Ce.tabs===he.tabs||(Ce.tabs=[...Ce.tabs]);const Ne=Ce.tabs.findIndex(ge=>ge.key===z.tabKey);if(Ne>=0){let ge=Ce.tabs[Ne];if(oe===V&&L.kind==="row-in-tab-section"&&L.tabKey===z.tabKey?ge=Oe:(ge={...ge},Ce.tabs[Ne]=ge),ge.sections===(Oe==null?void 0:Oe.sections)||(ge.sections=[...ge.sections]),oe===V&&ke===X&&L.kind==="row-in-tab-section"&&L.tabKey===z.tabKey)ye=xe;else{const Te={...ge.sections[X]};ge.sections[X]=Te,Te.rows=[...Te.rows],ye=Te.rows}}}if(!ye)return;const[Ve]=xe.splice(I,1);let Be=ee;xe===ye&&I<ee&&(Be-=1),ye.splice(Be,0,Ve),t(je),se(null),x(null);return}const P=String(k.id),H=String(C.id);P.startsWith("row|")&&H.startsWith("row|");const G=Kr(P);let ue;if(H.startsWith("col|")&&pe&&pe.overId===H){const oe=Object.fromEntries(H.slice(4).split(";").map(I=>I.split(":"))),ke=`col|${Object.entries(oe).filter(([I])=>I!=="insertAt").map(([I,V])=>`${I}:${V}`).join(";")};insertAt:${pe.insertAt}`;ue=m0(ke,Q)}else ue=m0(H,Q);const ne=mO(e,G,ue);se(null),x(null),t(ne)},[e,t,Q,pe]);function Se(D,k){let C=D;if(ae&&J&&J!==k&&(C=C.filter(L=>L!==ae)),M&&pe&&pe.keyId===k){const L=Math.max(0,Math.min(pe.insertAt,C.length)),z=C.slice();return z.splice(L,0,U),z}return C}const Le=({keyId:D,ids:k,className:C})=>{const L=SO(D),z=Se(k,D);return s.jsx($O,{droppableId:L,className:C,children:s.jsxs("div",{"data-col-key":D,className:"relative",children:[M&&pe&&pe.overId===L?s.jsx("div",{"aria-hidden":!0,style:{position:"absolute",left:0,right:0,top:Math.max(0,pe.yRel-1),height:2,background:"var(--color-ds-border-default)",borderRadius:2}}):null,s.jsx(eO,{items:z,strategy:XL,children:s.jsx("div",{children:z.map((P,H)=>{if(P===U)return s.jsx("div",{"data-sortable-item":!0,"aria-hidden":!0,style:{height:Z,border:"1px dashed var(--color-ds-border-default-50)",borderRadius:8,background:"color-mix(in srgb, var(--color-ds-border-default-50) 8%, transparent)"}},`${D}-ph-${H}`);const G=Kr(String(P)),ue=LO(e,G);if(!ue)return s.jsx("div",{"data-sortable-item":!0,"aria-hidden":!0},`${D}-miss-${H}`);const ne=Bo(ue),oe=typeof ne=="string"?ne:(ne==null?void 0:ne.name)??"",ke=!!i&&!!oe&&i===oe,I=o(ne),V=le(ne),X=je=>{var he;je.preventDefault(),je.stopPropagation(),(he=je.nativeEvent)!=null&&he.stopImmediatePropagation&&je.nativeEvent.stopImmediatePropagation()},ee=V?{onDoubleClick:X,onDoubleClickCapture:X,onClick:X,onClickCapture:X,onMouseDown:X,onMouseDownCapture:X,onMouseUp:X,onMouseUpCapture:X,onPointerDown:X,onPointerDownCapture:X,onPointerUp:X,onPointerUpCapture:X,onContextMenu:X}:{};return s.jsx("div",{"data-sortable-item":!0,children:s.jsx(EO,{id:String(P),fieldName:oe,onDelete:je=>{const he=Kr(je);_("Eliminar campo","¿Estás seguro de que quieres eliminar este campo?",()=>{const xe=hO(e,he);t(xe)})},chromeDisabled:d,children:s.jsx(jO,{name:oe,children:s.jsx("div",{className:ke?"selected-field":void 0,"data-field-name":oe,"aria-selected":ke||void 0,...ee,children:I})})})},String(P))})})})]})})},Ze=M&&p.current==="row",Me=(D,k)=>s.jsx(s.Fragment,{children:D.sections.map((C,L)=>s.jsx("div",{className:"mb-6",children:s.jsx(at,{title:C.sectionTitle,defaultOpen:C.defaultOpen,forceOpen:Ze,children:s.jsxs("div",{className:"flex flex-col",children:[s.jsx(qn,{scope:"row-slot",li:k,sIdx:L,insertAt:0}),C.rows.map((z,P)=>{const H=`row|li:${k}|s:${L}|r:${P}`,G=n&&h===H,ue=ae===H;return s.jsxs(v.Fragment,{children:[s.jsxs("div",{ref:b(H),className:`relative transition-all duration-200 ${ue?"opacity-40 ring-1 ring-dashed ring-[var(--color-ds-border-default)] bg-[var(--color-ds-background-muted)]":n&&G?"ring-1 ring-[var(--color-ds-border-default-50)]":""}`,onMouseEnter:()=>g(H),onMouseLeave:()=>g(ne=>ne===H?null:ne),style:{borderRadius:8},children:[n&&s.jsxs(s.Fragment,{children:[s.jsx(h0,{ctx:{kind:"rows",li:k,sectionIdx:L,rowIdx:P},visible:!!G&&!d}),s.jsx(u0,{kind:"row-in-section",li:k,sIdx:L,rIdx:P,visible:!!G&&!d})]}),z.title&&s.jsx("h2",{className:"mb-2 text-lg text-[var(--color-ds-text-primary)]",children:z.title}),s.jsx("div",{className:"flex flex-wrap -mx-2 items-stretch",children:z.columns.map((ne,oe)=>{const ke=`rows|li:${k}|s:${L}|r:${P}|c:${oe}`,I=Q[ke]??[];return s.jsx("div",{className:`${ne.width} px-2 flex flex-col`,children:s.jsx(Le,{keyId:ke,ids:I})},`col-${k}-${L}-${P}-${oe}`)})})]}),s.jsx(qn,{scope:"row-slot",li:k,sIdx:L,insertAt:P+1})]},`rowwrap-${H}`)})]})})},`sec-${k}-${L}`))}),nt=(D,k)=>{var L;const C=S[k]??((L=D.tabs[0])==null?void 0:L.key);return s.jsx(mr,{options:D.tabs.map(z=>({label:z.label,value:z.key})),value:C,onChange:z=>N(P=>({...P,[k]:z})),children:Object.fromEntries(D.tabs.map((z,P)=>[z.key,s.jsx("div",{className:"space-y-6",children:z.sections.map((H,G)=>s.jsx("div",{className:"mb-6",children:s.jsx(at,{title:H.sectionTitle,defaultOpen:H.defaultOpen,forceOpen:Ze,children:s.jsxs("div",{className:"flex flex-col",children:[s.jsx(qn,{scope:"tab-row-slot",li:k,tabKey:z.key,sIdx:G,insertAt:0}),H.rows.map((ue,ne)=>{const oe=`tab-row|li:${k}|t:${z.key}|s:${G}|r:${ne}`,ke=n&&h===oe,I=ae===oe;return s.jsxs(v.Fragment,{children:[s.jsxs("div",{ref:b(oe),className:`relative transition-all duration-200 ${I?"opacity-40 ring-1 ring-dashed ring-[var(--color-ds-border-default)] bg-[var(--color-ds-background-muted)]":n&&ke?"ring-1 ring-[var(--color-ds-border-default-50)]":""}`,onMouseEnter:()=>g(oe),onMouseLeave:()=>g(V=>V===oe?null:V),style:{borderRadius:8},children:[n&&s.jsxs(s.Fragment,{children:[s.jsx(h0,{ctx:{kind:"tabs",li:k,tabKey:z.key,tabIdx:P,sectionIdx:G,rowIdx:ne},visible:!!ke&&!d}),s.jsx(u0,{kind:"row-in-tab-section",li:k,tabKey:z.key,sIdx:G,rIdx:ne,visible:!!ke&&!d})]}),s.jsx("div",{className:"flex flex-wrap -mx-2 items-stretch",children:ue.columns.map((V,X)=>{const ee=`tabs|li:${k}|t:${P}|s:${G}|r:${ne}|c:${X}`,je=Q[ee]??[];return s.jsx("div",{className:`${V.width??"flex-1"} px-2 flex flex-col`,children:s.jsx(Le,{keyId:ee,ids:je})},`col-${k}-${P}-${G}-${ne}-${X}`)})})]}),s.jsx(qn,{scope:"tab-row-slot",li:k,tabKey:z.key,sIdx:G,insertAt:ne+1})]},`rowwrap-${oe}`)})]})})},`sec-${k}-${P}-${G}`))},`tabpanel-${k}-${P}`)]))},`tabs-${k}`)},ct=Y(D=>D.setSelection);return s.jsxs(ri,{...r.methods,children:[s.jsxs($5,{sensors:ce,collisionDetection:Ee,onDragEnd:be,children:[s.jsxs("div",{id:"form-renderer-root",className:"relative overflow-visible",onDoubleClick:D=>{ct({kind:"none"})},children:[s.jsx("div",{className:"space-y-6 ",children:e.layout.map((D,k)=>D.type==="rows"?s.jsx(v.Fragment,{children:Me(D,k)},`rows-${k}`):s.jsx(v.Fragment,{children:nt(D,k)},`tabs-${k}`))}),s.jsx(gO,{schema:e,anchors:f,enabled:u})]}),s.jsx(O5,{dropAnimation:null,children:me?s.jsx("div",{style:{pointerEvents:"none",opacity:.9},children:me}):null})]}),s.jsx(Fr,{isOpen:B.isOpen,onClose:K,title:B.title,footer:s.jsxs("div",{className:"flex justify-end gap-2",children:[s.jsx(ie,{variant:"outline",onClick:K,children:"Cancelar"}),s.jsx(ie,{variant:"danger",onClick:W,children:"Eliminar"})]}),children:s.jsx("p",{className:"text-sm text-[var(--color-ds-text-secondary)]",children:B.message})})]})}function NO(e,t,r){var y;const{fields:n=[],layout:o,validationSchema:l}=e,i=FO(),c=((y=i==null?void 0:i.services)==null?void 0:y.registry)??void 0,d=v.useMemo(()=>{if(t)return t;try{const b=l??cs(e);return ls(b)}catch{return}},[t,e,l]),u=fi({resolver:d,mode:"onBlur",reValidateMode:"onChange",defaultValues:e.defaultValues??{}}),f=v.useMemo(()=>(n??[]).filter(b=>b.type!=="inputGroup"&&b.type!=="button"),[n]),{optionsMap:m}=Wi(f),h=Hi(n),g=zi(n,u.control),w=(i==null?void 0:i.optionsMap)??{},x=v.useCallback((b,p)=>{if(!(b!=null&&b.enabled)||!b.rule)return p;try{return!!on(b.rule,u.getValues())}catch{return p}},[u]);return{methods:u,control:u.control,formState:u.formState,fields:n,fieldsByName:h,asyncOptionsMap:m,adapterOptionsMap:w,disabledMap:g,evalContainer:x,registry:c,layout:o}}function FO(){try{return gn()??void 0}catch{return}}function IO(e,t,r){const n={...e};return t.top+e.y<=r.top?n.y=r.top-t.top:t.bottom+e.y>=r.top+r.height&&(n.y=r.top+r.height-t.bottom),t.left+e.x<=r.left?n.x=r.left-t.left:t.right+e.x>=r.left+r.width&&(n.x=r.left+r.width-t.right),n}const ZO=e=>{let{transform:t,draggingNodeRect:r,windowRect:n}=e;return!r||!n?t:IO(t,r,n)};function p0({children:e}){const t=Y(U=>U.moveField),r=Y(U=>U.moveFieldInTab),n=Y(U=>U.removeFieldFromLayout),o=Y(U=>U.removeFieldFromTabLayout),l=Y(U=>U.insertExistingFieldAt),i=Y(U=>U.insertExistingFieldInTabAt),c=Y(U=>U.addField),d=Y(U=>U.addFieldAndPlaceInTabAt),u=Y(U=>U.placeFieldInTabColumn),f=Y(U=>U.placeFieldInColumn),m=Y(U=>U.moveFieldAt),h=Y(U=>U.removeFieldFromLayoutAt),g=Y(U=>U.placeFieldInColumnAt),w=Y(U=>U.insertExistingFieldAtAt),x=Y(U=>U.addFieldAndPlaceAtAt),y=Y(U=>U.moveSection),b=Y(U=>U.moveTab),p=Y(U=>U.moveTabSection),E=Y(U=>U.moveSectionAcrossNodes),R=Y(U=>U.placeFieldInInputGroup),j=Y(U=>U.moveFieldWithinInputGroup),A=Y(U=>U.removeFieldFromInputGroup),[S,N]=v.useState(null),[B,$]=v.useState(null),_=u5(va(Fa,{activationConstraint:{distance:6}}),va(Na)),W=U=>{var F,ae;const M=(ae=(F=U==null?void 0:U.active)==null?void 0:F.data)==null?void 0:ae.current;M&&N({data:M})},K=U=>{var F,ae;const M=(ae=(F=U==null?void 0:U.over)==null?void 0:F.data)==null?void 0:ae.current;$(M??null)},Q=(U,M)=>U===void 0?M:Math.max(0,Math.min(U,M)),q=U=>{var O,J;const M=(J=(O=U.active)==null?void 0:O.data)==null?void 0:J.current;let F=null;switch(M==null?void 0:M.kind){case"rows-section":F=["rows-section"];break;case"tabs-tab":F=["tabs-tab"];break;case"tab-section":F=["tab-section"];break;case"field-in-rows":F=["rows-column","input-group"];break;case"field-in-tabs":F=["tabs-column","input-group"];break;case"field-in-inputgroup":F=["input-group"];break;case"palette-field":F=["rows-column","tabs-column","input-group"];break;default:F=null}const ae=F==null?U.droppableContainers:U.droppableContainers.filter(T=>{var te,me;const Z=(me=(te=T.data)==null?void 0:te.current)==null?void 0:me.scope;return Z&&F.includes(Z)});return ae.length?m5({...U,droppableContainers:ae}):h5(U)},ce=U=>{var ae,O,J,T,Z,te,me,re,pe;const M=(O=(ae=U==null?void 0:U.active)==null?void 0:ae.data)==null?void 0:O.current,F=(T=(J=U==null?void 0:U.over)==null?void 0:J.data)==null?void 0:T.current;if(N(null),$(null),!(!M||!F)){if(M.kind==="rows-section"&&F.scope==="rows-section"){const se=M.nodeIdx,le=M.sIdx,Ee=F.nodeIdx,be=F.insertAt;if(se===Ee){if(typeof y=="function"){const Se=Y.getState().schema.layout[se],Le=((Z=Se==null?void 0:Se.sections)==null?void 0:Z.length)??0,Ze=Q(be,Le);if(Ze!==le){const Me=Ze>le?Ze-1:Ze;y(se,le,Me)}}}else if(typeof E=="function"){const Se=Y.getState().schema.layout[Ee],Le=((te=Se==null?void 0:Se.sections)==null?void 0:te.length)??0,Ze=Q(be,Le);E(se,le,Ee,Ze)}return}if(M.kind==="tabs-tab"&&F.scope==="tabs-tab"){if(typeof b=="function"&&M.nodeIdx===F.nodeIdx){const se=Y.getState().schema.layout[M.nodeIdx],le=((me=se==null?void 0:se.tabs)==null?void 0:me.length)??0;b(M.nodeIdx,M.index,Q(F.insertAt,le))}return}if(M.kind==="tab-section"&&F.scope==="tab-section"){if(typeof p=="function"&&M.nodeIdx===F.nodeIdx&&M.tabKey===F.tabKey){const se=Y.getState().schema.layout[M.nodeIdx],le=(re=se==null?void 0:se.tabs)==null?void 0:re.find(be=>be.key===M.tabKey),Ee=((pe=le==null?void 0:le.sections)==null?void 0:pe.length)??0;p(M.nodeIdx,M.tabKey,M.sIdx,Q(F.insertAt,Ee))}return}if(F.scope==="input-group"){const se=F.groupName,le=F.insertAt;if(M.kind==="field-in-inputgroup"&&M.groupName===se){const Ee=M.path.idx,be=le??Ee;typeof j=="function"&&Ee!==be&&j(se,Ee,be);return}if(M.kind==="field-in-inputgroup"&&M.groupName!==se){typeof A=="function"&&A(M.groupName,M.path.idx),R==null||R(M.name,se,le);return}if(M.kind==="field-in-rows"){const Ee=M.rowsNodeIdx??0;typeof h=="function"?h(Ee,M.path):n(M.path),R==null||R(M.name,se,le);return}if(M.kind==="field-in-tabs"){o({tabKey:M.tabKey,...M.path}),R==null||R(M.name,se,le);return}if(M.kind==="palette-field"){const Ee=Y.getState().schema.fields.length;c({type:M.factoryKind});const be=Y.getState().schema.fields[Ee];R==null||R(be.name,se,le);return}}if(M.kind==="field-in-rows"&&F.scope==="rows-column"){const se=M.rowsNodeIdx??0,le=F.rowsNodeIdx??se;typeof m=="function"&&se!==le?m(se,M.path,le,{s:F.s,r:F.r,c:F.c,idx:F.insertAt}):t(M.path,{s:F.s,r:F.r,c:F.c,idx:F.insertAt});return}if(M.kind==="field-in-tabs"&&F.scope==="tabs-column"&&M.tabKey===F.tabKey){r({tabKey:M.tabKey,...M.path},{tabKey:M.tabKey,s:F.s,r:F.r,c:F.c,idx:F.insertAt});return}if(M.kind==="field-in-tabs"&&F.scope==="tabs-column"&&M.tabKey!==F.tabKey){o({tabKey:M.tabKey,...M.path}),typeof F.insertAt=="number"?i(M.name,F.tabKey,F.s,F.r,F.c,F.insertAt):u(M.name,F.tabKey,F.s,F.r,F.c);return}if(M.kind==="field-in-rows"&&F.scope==="tabs-column"){const se=M.rowsNodeIdx??0;typeof h=="function"?h(se,M.path):n(M.path),typeof F.insertAt=="number"?i(M.name,F.tabKey,F.s,F.r,F.c,F.insertAt):u(M.name,F.tabKey,F.s,F.r,F.c);return}if(M.kind==="field-in-tabs"&&F.scope==="rows-column"){o({tabKey:M.tabKey,...M.path});const se=F.rowsNodeIdx??0;if(typeof w=="function"){const le=typeof F.insertAt=="number"?F.insertAt:void 0;typeof le=="number"?w(se,M.name,F.s,F.r,F.c,le):typeof g=="function"?g(se,M.name,F.s,F.r,F.c):f(M.name,F.s,F.r,F.c)}else typeof F.insertAt=="number"?l(M.name,F.s,F.r,F.c,F.insertAt):f(M.name,F.s,F.r,F.c);return}if(M.kind==="palette-field"){if(F.scope==="rows-column"){const se=F.rowsNodeIdx??0;if(typeof F.insertAt=="number"&&typeof x=="function")x(se,{type:M.factoryKind},F.s,F.r,F.c,F.insertAt);else{const le=Y.getState().schema.fields.length;c({type:M.factoryKind});const Ee=Y.getState().schema.fields[le];typeof g=="function"?g(se,Ee.name,F.s,F.r,F.c):f(Ee.name,F.s,F.r,F.c)}return}if(F.scope==="tabs-column"){if(typeof F.insertAt=="number"&&typeof d=="function")d({type:M.factoryKind},F.tabKey,F.s,F.r,F.c,F.insertAt);else{const se=Y.getState().schema.fields.length;c({type:M.factoryKind});const le=Y.getState().schema.fields[se];u(le.name,F.tabKey,F.s,F.r,F.c)}return}}}};return s.jsxs($5,{sensors:_,collisionDetection:q,onDragStart:W,onDragOver:K,onDragEnd:ce,modifiers:[ZO],children:[e,s.jsx(O5,{children:S?s.jsxs("div",{className:"px-2 py-1 rounded-md border text-[var(--color-ds-text-primary)] border-[var(--color-ds-border-default)] bg-[var(--color-ds-background-surface)] shadow",children:[S.data.kind==="palette-field"&&`Nuevo: ${S.data.factoryKind}`,S.data.kind==="field-in-rows"&&S.data.name,S.data.kind==="field-in-tabs"&&S.data.name,S.data.kind==="field-in-inputgroup"&&S.data.name,S.data.kind==="rows-section"&&"Sección",S.data.kind==="tabs-tab"&&"Pestaña",S.data.kind==="tab-section"&&"Sección de pestaña"]}):null})]})}function BO(){const e=Y(c=>c.schema),t=Y(c=>c.previewMode),r=Y(c=>c.setSchema??c.updateSchema??c.replaceSchema),n=Y(c=>c.setSelection),o=v.useMemo(()=>{try{return ls(cs(e))}catch{return}},[e]),l=NO(e,o),i=v.useCallback(c=>{try{Y.setState(d=>({...d,schema:c}));return}catch{}if(r){try{r(d=>{d.schema=c});return}catch{}try{r(c);return}catch{}try{r("schema",c)}catch{}}},[r]);return s.jsx(p0,{children:s.jsxs("div",{className:"flex flex-col h-[calc(100vh-80px)] bg-[var(--color-ds-background-page)]",children:[s.jsx(ZL,{}),s.jsx("div",{className:"flex-1 min-h-0 px-0 my-4",children:s.jsxs("div",{className:"grid grid-cols-[260px_minmax(0,1fr)_320px] gap-4 h-full",children:[s.jsx("div",{className:"min-h-0 h-full",children:s.jsx("div",{className:"h-full flex flex-col rounded-xl bg-[var(--color-ds-background-surface)] shadow-sm overflow-hidden",children:s.jsx(p0,{children:s.jsxs("div",{className:"min-h-0 overflow-auto custom-scroll p-2 scrollbar-hidden",children:[s.jsx(o$,{}),s.jsx("div",{className:"h-px bg-[var(--color-ds-border-default-50)] my-3"}),s.jsx(GL,{})]})})})}),s.jsx("div",{className:"min-h-0 h-full",children:s.jsxs(BL,{className:"h-full min-h-0 flex flex-col rounded-xl bg-[var(--color-ds-background-page)] shadow-lg overflow-hidden",children:[s.jsx("div",{className:"px-4 py-2 border-b border-[var(--color-ds-border-default-50)] text-[var(--color-ds-text-primary)] bg-[var(--color-ds-background-surface)] flex items-center gap-2 shrink-0",children:s.jsx("strong",{children:t?"Preview":"Designer"})}),s.jsx("div",{className:"flex-1 min-h-0 overflow-auto custom-scroll p-4 pb-6",onDoubleClick:c=>{c.defaultPrevented||n({kind:"none"})},children:t?s.jsx(Gi,{schema:e}):s.jsx(vO,{children:s.jsx(OO,{layoutEditMode:!0,schema:e,onSchemaChange:i,deps:{fields:l.fields,fieldsByName:l.fieldsByName,control:l.control,errors:l.formState.errors,isSubmitting:l.formState.isSubmitting,loadingDefaults:!1,asyncOptionsMap:l.asyncOptionsMap,adapterOptionsMap:l.adapterOptionsMap??{},evalContainer:l.evalContainer,disabledMap:l.disabledMap,registry:l.registry,methods:l.methods}})})})]})}),s.jsx("div",{className:"min-h-0 h-full",children:s.jsx("div",{className:"h-full flex flex-col rounded-xl bg-[var(--color-ds-background-surface)] shadow-sm overflow-hidden",children:s.jsx("div",{className:"min-h-0 flex-1 overflow-auto custom-scroll scrollbar-hidden p-3",children:s.jsx(j$,{})})})})]})})]})})}function VO({title:e="Form Schema Editor",baseDir:t="src/schemas",fs:r,services:n,onSchemaChange:o,rightPanel:l,rightPanelWidth:i="320px",rightPanelDefaultOpen:c=!1,rightPanelOpen:d,onRightPanelOpenChange:u,className:f}){const m=Y(R=>R.schema),h=typeof d=="boolean",[g,w]=v.useState(c),x=h?d:g,y=R=>{h||w(R),u==null||u(R)};v.useEffect(()=>{o==null||o(m)},[m,o]),v.useEffect(()=>{(!(r!=null&&r.list)||!(r!=null&&r.read)||!(r!=null&&r.write)||!(r!=null&&r.remove))&&console.warn("[SchemaEditorHost] fs adapter incompleto."),n!=null&&n.registry||console.warn("[SchemaEditorHost] services.adapter sin registry.")},[r,n]);const b=!!l,p=l&&x?{paddingRight:i}:void 0,E={width:i};return s.jsx(Pi,{value:{fs:r,services:n,baseDir:t},children:s.jsxs("div",{className:["grid grid-rows-[auto_1fr] h-full min-h-[480px]",f].filter(Boolean).join(" "),children:[s.jsxs("div",{className:"flex items-center justify-between px-4 py-2 bg-[var(--color-ds-background-page)]",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("h1",{className:"text-lg font-semibold text-[var(--color-ds-text-primary)]",children:e}),b&&s.jsx("button",{type:"button",onClick:()=>y(!x),className:`inline-flex items-center gap-1 rounded-md border px-2 py-1 text-xs\r
75
103
  border-[var(--color-ds-border-default-50)]\r
76
104
  text-[var(--color-ds-text-primary)]\r
77
- hover:bg-[var(--color-ds-background-surface)]`,title:v?"Ocultar panel":"Mostrar panel","aria-pressed":v,"aria-label":"Alternar panel derecho",children:v?o.jsxs(o.Fragment,{children:[o.jsx(Lo,{className:"w-4 h-4"}),"Ocultar panel"]}):o.jsxs(o.Fragment,{children:[o.jsx(Yl,{className:"w-4 h-4"}),"Mostrar panel"]})})]}),o.jsxs("div",{className:"text-xs text-[var(--color-ds-text-secondary)]",children:["baseDir: ",o.jsx("code",{children:t})]})]}),o.jsxs("div",{className:"relative min-h-0",children:[o.jsx("div",{className:"min-h-0 h-full overflow-hidden",style:y,children:o.jsx(rp,{})}),a&&v&&o.jsx("aside",{className:"absolute inset-y-0 right-0 border-l min-h-0 overflow-auto bg-[var(--color-ds-background-page)]",style:j,children:a})]})]})})}function np({name:e,canUp:t,canDown:r,canLeft:s,canRight:n,onSelect:a,onUp:i,onDown:l,onLeft:c,onRight:d,onDuplicate:u,onRemove:f}){return o.jsxs("div",{className:`group flex items-center justify-between gap-2 rounded-md border px-2 py-1\r
105
+ hover:bg-[var(--color-ds-background-surface)]`,title:x?"Ocultar panel derecho":"Mostrar panel derecho","aria-pressed":x,"aria-label":"Alternar panel derecho",children:x?s.jsxs(s.Fragment,{children:[s.jsx(To,{className:"w-4 h-4"}),"Ocultar panel"]}):s.jsxs(s.Fragment,{children:[s.jsx(M0,{className:"w-4 h-4"}),"Mostrar panel"]})})]}),s.jsxs("div",{className:"text-xs text-[var(--color-ds-text-secondary)]",children:["baseDir: ",s.jsx("code",{children:t})]})]}),s.jsxs("div",{className:"relative min-h-0",children:[s.jsx("div",{className:"min-h-0 h-full overflow-hidden",style:p,children:s.jsx(BO,{})}),l&&x&&s.jsx("aside",{className:"absolute inset-y-0 right-0 border-l min-h-0 overflow-auto bg-[var(--color-ds-background-page)]",style:E,children:l})]})]})})}function TO({name:e,canUp:t,canDown:r,canLeft:n,canRight:o,onSelect:l,onUp:i,onDown:c,onLeft:d,onRight:u,onDuplicate:f,onRemove:m}){return s.jsxs("div",{className:`group flex items-center justify-between gap-2 rounded-md border px-2 py-1\r
78
106
  bg-[var(--color-ds-background-surface)]\r
79
107
  border-[var(--color-ds-border-default)]\r
80
- text-[var(--color-ds-text-primary)]`,children:[o.jsxs("button",{type:"button",className:"flex items-center gap-2 text-sm hover:underline",onClick:a,children:[o.jsx(sc,{className:"h-4 w-4 opacity-70"}),e]}),o.jsxs("div",{className:"invisible group-hover:visible flex items-center gap-1",children:[o.jsx(fe,{type:"button",variant:"ghost",ariaLabel:"Subir",icon:Wl,disabled:!t,onClick:i}),o.jsx(fe,{type:"button",variant:"ghost",ariaLabel:"Bajar",icon:zl,disabled:!r,onClick:l}),o.jsx(fe,{type:"button",variant:"ghost",ariaLabel:"Izquierda",icon:Vl,disabled:!s,onClick:c}),o.jsx(fe,{type:"button",variant:"ghost",ariaLabel:"Derecha",icon:Ul,disabled:!n,onClick:d}),o.jsx(fe,{type:"button",variant:"ghost",ariaLabel:"Duplicar",icon:hc,onClick:u}),o.jsx(fe,{type:"button",variant:"ghost",ariaLabel:"Quitar",icon:xc,onClick:f})]})]})}function In({widthLabel:e,fields:t,indices:r,canMoveLeft:s,canMoveRight:n,onSelect:a,onMove:i,onDuplicate:l,onRemoveAt:c,onPlaceLast:d,placeDisabled:u,readOnly:f=!1}){const{sIdx:p,rIdx:b,cIdx:g}=r;return o.jsxs("div",{className:`flex-1 rounded-lg p-2 border border-dashed\r
81
- bg-[var(--color-ds-background-page)]\r
82
- border-[var(--color-ds-border-muted)]`,children:[o.jsx("div",{className:"text-[10px] mb-2 text-[var(--color-ds-text-secondary)]",children:e||"flex-1"}),o.jsx("ul",{className:"space-y-1",children:t.map((v,x)=>o.jsx("li",{children:o.jsx(np,{name:v,canUp:x>0,canDown:x<t.length-1,canLeft:s,canRight:n,onSelect:()=>a(v),onUp:()=>i({s:p,r:b,c:g,idx:x},{idx:x-1}),onDown:()=>i({s:p,r:b,c:g,idx:x},{idx:x+1}),onLeft:()=>s&&i({s:p,r:b,c:g,idx:x},{c:g-1,idx:void 0}),onRight:()=>n&&i({s:p,r:b,c:g,idx:x},{c:g+1,idx:void 0}),onDuplicate:()=>l(v),onRemove:()=>c({s:p,r:b,c:g,idx:x})})},`${v}-${x}`))}),o.jsx("div",{className:"mt-3",children:o.jsx(fe,{type:"button",variant:"outline",onClick:d,disabled:f||u,"aria-disabled":f||u,children:"Colocar último campo"})})]})}const ap=e=>e.type!=="inputGroup"&&e.type!=="button";function op(){const e=J(u=>u.schema),t=J(u=>u.setSelection),r=J(u=>u.moveField),s=J(u=>u.removeFieldFromLayout),n=J(u=>u.placeFieldInColumn),a=J(u=>u.duplicateField),[i,l]=h.useState({}),c=h.useMemo(()=>[...e.fields].reverse().find(ap),[e.fields]),d=h.useMemo(()=>{const u=[];return e.layout.forEach((f,p)=>{var b;if(f.type==="rows"&&f.sections.forEach((g,v)=>{const x=o.jsx("div",{className:"space-y-2",children:g.rows.map((m,y)=>o.jsx("div",{className:"grid gap-2",style:{gridTemplateColumns:`repeat(${m.columns.length}, minmax(0, 1fr))`},children:m.columns.map((j,_)=>o.jsx(In,{widthLabel:j.width||"flex-1",fields:j.fields??[],indices:{sIdx:v,rIdx:y,cIdx:_},canMoveLeft:_>0,canMoveRight:_<m.columns.length-1,onSelect:k=>t({kind:"field",name:k}),onMove:(k,A)=>r(k,{s:k.s,r:k.r,c:A.c??k.c,idx:A.idx}),onDuplicate:k=>a(k,`${k}_copy`),onRemoveAt:k=>s(k),onPlaceLast:()=>(c==null?void 0:c.name)&&n(c.name,v,y,_),placeDisabled:!(c!=null&&c.name)},`col-${v}-${y}-${_}`))},`row-${v}-${y}`))});u.push({id:`rows-${p}-sec-${v}`,title:g.sectionTitle,defaultOpen:g.defaultOpen,content:x})}),f.type==="tabs"){const g=f.tabs.map(j=>({label:j.label,value:j.key})),v=(b=f.tabs[0])==null?void 0:b.key,x=i[p]??v,m={};f.tabs.forEach(j=>{const _=o.jsx("div",{className:"space-y-4",children:j.sections.map((k,A)=>o.jsxs("div",{className:"space-y-2",children:[o.jsx("div",{className:"text-ds-sm font-medium text-[var(--color-ds-text-primary)]",children:k.sectionTitle}),k.rows.map((C,N)=>o.jsx("div",{className:"grid gap-2",style:{gridTemplateColumns:`repeat(${C.columns.length}, minmax(0, 1fr))`},children:C.columns.map((M,U)=>o.jsx(In,{widthLabel:M.width||"flex-1",fields:M.fields??[],indices:{sIdx:0,rIdx:0,cIdx:0},canMoveLeft:!1,canMoveRight:!1,onSelect:V=>t({kind:"field",name:V}),onMove:()=>{},onDuplicate:()=>{},onRemoveAt:()=>{},onPlaceLast:()=>{},placeDisabled:!0,readOnly:!0},`tab-${j.key}-col-${N}-${U}`))},`tab-${j.key}-row-${N}`))]},`tab-${j.key}-sec-${A}`))});m[j.key]=_});const y=o.jsx("div",{className:"rounded-lg border border-[var(--color-ds-border-default-50)]",children:o.jsx("div",{className:"p-2 border-b border-[var(--color-ds-border-default-50)] bg-[var(--color-ds-background-surface)]",children:o.jsx(Ir,{options:g,value:x,onChange:j=>l(_=>({..._,[p]:j})),children:m})})});u.push({id:`tabs-${p}`,title:"Contenedor de pestañas",defaultOpen:!0,content:y})}}),u},[e.layout,c==null?void 0:c.name,a,r,n,s,t,i]);return o.jsx("div",{className:"p-3",children:o.jsx(Zi,{items:d})})}exports.AdaptersProvider=Ii;exports.Button=fe;exports.Canvas=op;exports.Checkbox=dt;exports.CollapsibleSection=it;exports.ColumnDropZone=In;exports.CompactAccordion=Zi;exports.DateInput=Fr;exports.DropdownMenu=wd;exports.FileUploader=pi;exports.FormFieldInput=Yn;exports.FormPageLayout=Bd;exports.FormRenderer=Bi;exports.Header=Ki;exports.Icon=kt;exports.IconButton=Ui;exports.InfoButton=Zn;exports.Input=ye;exports.InputGroup=Mi;exports.LoadingScreen=tf;exports.Modal=rf;exports.OptionGroup=$i;exports.PageLayout=af;exports.SchemaEditorHost=sp;exports.SearchField=Vi;exports.Select=rt;exports.Sidebar=Gi;exports.SidebarNav=Qn;exports.SkeletonLoader=Xt;exports.Table=of;exports.Tabs=Ir;exports.TextArea=Ls;exports.ThemeProvider=ef;exports.ThemeToggle=qi;exports.Toast=Li;exports.ToastProvider=Ru;exports.ToggleSwitch=Ji;exports.useToast=Vr;
108
+ text-[var(--color-ds-text-primary)]`,children:[s.jsxs("button",{type:"button",className:"flex items-center gap-2 text-sm hover:underline",onClick:l,children:[s.jsx(Cr,{className:"h-4 w-4 opacity-70"}),e]}),s.jsxs("div",{className:"invisible group-hover:visible flex items-center gap-1",children:[s.jsx(ie,{type:"button",variant:"ghost",ariaLabel:"Subir",icon:k0,disabled:!t,onClick:i}),s.jsx(ie,{type:"button",variant:"ghost",ariaLabel:"Bajar",icon:g0,disabled:!r,onClick:c}),s.jsx(ie,{type:"button",variant:"ghost",ariaLabel:"Izquierda",icon:x0,disabled:!n,onClick:d}),s.jsx(ie,{type:"button",variant:"ghost",ariaLabel:"Derecha",icon:E0,disabled:!o,onClick:u}),s.jsx(ie,{type:"button",variant:"ghost",ariaLabel:"Duplicar",icon:Yo,onClick:f}),s.jsx(ie,{type:"button",variant:"ghost",ariaLabel:"Quitar",icon:Sr,onClick:m})]})]})}function v0({id:e,data:t,className:r}){const{isOver:n,setNodeRef:o}=Dt({id:e,data:t});return s.jsx("div",{ref:o,className:de("h-3 -my-1 rounded transition",n?"bg-[var(--color-ds-background-accent)]/30 outline outline-1 outline-[var(--color-ds-border-default-50)]":"bg-transparent",r)})}function DO({id:e,data:t,children:r}){const{isOver:n,setNodeRef:o}=Dt({id:e,data:t});return s.jsx("div",{ref:o,className:de("min-h-8 h-full rounded-md border border-dashed flex items-center justify-center","border-[var(--color-ds-border-default-50)] text-[var(--color-ds-text-secondary)] text-ds-xs",n&&"bg-[var(--color-ds-background-accent)]/20"),children:r})}function Vo({widthLabel:e,fields:t,indices:r,canMoveLeft:n,canMoveRight:o,onSelect:l,onMove:i,onDuplicate:c,onRemoveAt:d,onPlaceLast:u,placeDisabled:f,readOnly:m=!1,dnd:h}){const{sIdx:g,rIdx:w,cIdx:x}=r,y=p=>h?h.scope==="rows-column"?{scope:"rows-column",rowsNodeIdx:h.rowsNodeIdx,s:g,r:w,c:x,insertAt:p}:{scope:"tabs-column",tabKey:h.tabKey,s:g,r:w,c:x,insertAt:p}:{},b=(h==null?void 0:h.droppableIdBase)??((h==null?void 0:h.scope)==="rows-column"?`rows|s:${g}|r:${w}|c:${x}`:(h==null?void 0:h.scope)==="tabs-column"?`tabs|t:${h==null?void 0:h.tabKey}|s:${g}|r:${w}|c:${x}`:`col|s:${g}|r:${w}|c:${x}`);return s.jsxs("div",{className:de("flex-1 rounded-lg p-2 border border-dashed","bg-[var(--color-ds-background-page)]","border-[var(--color-ds-border-muted)]"),children:[s.jsx("div",{className:"text-[11px] mb-2 text-[var(--color-ds-text-secondary)]",children:e||"flex-1"}),s.jsx("ul",{className:"space-y-1",children:t.length===0?h?s.jsx("li",{children:s.jsx(DO,{id:`dz|${b}|at:0`,data:y(0),children:"Soltar aquí"})}):null:s.jsxs(s.Fragment,{children:[h&&s.jsx("li",{children:s.jsx(v0,{id:`dz|${b}|at:0`,data:y(0)})}),t.map((p,E)=>s.jsxs(v.Fragment,{children:[s.jsx("li",{children:s.jsx(TO,{name:p,canUp:E>0,canDown:E<t.length-1,canLeft:n,canRight:o,onSelect:()=>l(p),onUp:()=>i({s:g,r:w,c:x,idx:E},{idx:E-1}),onDown:()=>i({s:g,r:w,c:x,idx:E},{idx:E+1}),onLeft:()=>n&&i({s:g,r:w,c:x,idx:E},{c:x-1,idx:void 0}),onRight:()=>o&&i({s:g,r:w,c:x,idx:E},{c:x+1,idx:void 0}),onDuplicate:()=>c(p),onRemove:()=>d({s:g,r:w,c:x,idx:E})})}),h&&s.jsx("li",{children:s.jsx(v0,{id:`dz|${b}|at:${E+1}`,data:y(E+1)})})]},`${p}-${E}`))]})}),s.jsx("div",{className:"mt-3",children:s.jsx(ie,{type:"button",variant:"outline",onClick:u,disabled:m||f,"aria-disabled":m||f,children:"Colocar último campo"})})]})}const HO=e=>e.type!=="inputGroup"&&e.type!=="button";function _O(){const e=Y(f=>f.schema),t=Y(f=>f.setSelection),r=Y(f=>f.moveField),n=Y(f=>f.removeFieldFromLayout),o=Y(f=>f.placeFieldInColumn),l=Y(f=>f.duplicateField),[i,c]=v.useState({}),d=v.useMemo(()=>[...e.fields].reverse().find(HO),[e.fields]),u=v.useMemo(()=>{const f=[];return e.layout.forEach((m,h)=>{var g;if(m.type==="rows"&&m.sections.forEach((w,x)=>{const y=s.jsx("div",{className:"space-y-2",children:w.rows.map((b,p)=>s.jsx("div",{className:"grid gap-2",style:{gridTemplateColumns:`repeat(${b.columns.length}, minmax(0, 1fr))`},children:b.columns.map((E,R)=>s.jsx(Vo,{widthLabel:E.width||"flex-1",fields:E.fields??[],indices:{sIdx:x,rIdx:p,cIdx:R},canMoveLeft:R>0,canMoveRight:R<b.columns.length-1,onSelect:j=>t({kind:"field",name:j}),onMove:(j,A)=>r(j,{s:j.s,r:j.r,c:A.c??j.c,idx:A.idx}),onDuplicate:j=>l(j,`${j}_copy`),onRemoveAt:j=>n(j),onPlaceLast:()=>(d==null?void 0:d.name)&&o(d.name,x,p,R),placeDisabled:!(d!=null&&d.name)},`col-${x}-${p}-${R}`))},`row-${x}-${p}`))});f.push({id:`rows-${h}-sec-${x}`,title:w.sectionTitle,defaultOpen:w.defaultOpen,content:y})}),m.type==="tabs"){const w=m.tabs.map(E=>({label:E.label,value:E.key})),x=(g=m.tabs[0])==null?void 0:g.key,y=i[h]??x,b={};m.tabs.forEach(E=>{const R=s.jsx("div",{className:"space-y-4",children:E.sections.map((j,A)=>s.jsxs("div",{className:"space-y-2",children:[s.jsx("div",{className:"text-ds-sm font-medium text-[var(--color-ds-text-primary)]",children:j.sectionTitle}),j.rows.map((S,N)=>s.jsx("div",{className:"grid gap-2",style:{gridTemplateColumns:`repeat(${S.columns.length}, minmax(0, 1fr))`},children:S.columns.map((B,$)=>s.jsx(Vo,{widthLabel:B.width||"flex-1",fields:B.fields??[],indices:{sIdx:0,rIdx:0,cIdx:0},canMoveLeft:!1,canMoveRight:!1,onSelect:_=>t({kind:"field",name:_}),onMove:()=>{},onDuplicate:()=>{},onRemoveAt:()=>{},onPlaceLast:()=>{},placeDisabled:!0,readOnly:!0},`tab-${E.key}-col-${N}-${$}`))},`tab-${E.key}-row-${N}`))]},`tab-${E.key}-sec-${A}`))});b[E.key]=R});const p=s.jsx("div",{className:"rounded-lg border border-[var(--color-ds-border-default-50)]",children:s.jsx("div",{className:"p-2 border-b border-[var(--color-ds-border-default-50)] bg-[var(--color-ds-background-surface)]",children:s.jsx(mr,{options:w,value:y,onChange:E=>c(R=>({...R,[h]:E})),children:b})})});f.push({id:`tabs-${h}`,title:"Contenedor de pestañas",defaultOpen:!0,content:p})}}),f},[e.layout,d==null?void 0:d.name,l,r,o,n,t,i]);return s.jsx("div",{className:"p-3",children:s.jsx(e5,{items:u})})}exports.AdaptersProvider=Pi;exports.Button=ie;exports.Canvas=_O;exports.Checkbox=bt;exports.CollapsibleSection=at;exports.ColumnDropZone=Vo;exports.CompactAccordion=e5;exports.DateInput=$r;exports.DropdownMenu=Mp;exports.FileUploader=ss;exports.FormFieldInput=Ra;exports.FormPageLayout=n8;exports.FormRenderer=Gi;exports.Header=Xi;exports.Icon=Xe;exports.IconButton=Ki;exports.InfoButton=ka;exports.Input=Re;exports.InputGroup=ds;exports.LoadingScreen=MM;exports.Modal=Fr;exports.OptionGroup=us;exports.PageLayout=$M;exports.SchemaEditorHost=VO;exports.SearchField=fs;exports.Select=rt;exports.Sidebar=Qi;exports.SidebarNav=ps;exports.SkeletonLoader=zt;exports.Table=LM;exports.Tabs=mr;exports.TextArea=bn;exports.ThemeProvider=CM;exports.ThemeToggle=Yi;exports.Toast=Ti;exports.ToastProvider=av;exports.ToggleSwitch=vs;exports.useToast=hr;