@takecasper/acuity-design-system 1.27.7 → 1.27.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -27,5 +27,5 @@ Check your code at `+m+":"+v+"."}return""}}var ft={};function Fn(d){{var m=ut();
27
27
  Check the top-level render call using <`+v+">.")}return m}}function pt(d,m){{if(!d._store||d._store.validated||d.key!=null)return;d._store.validated=!0;var v=Fn(m);if(ft[v])return;ft[v]=!0;var E="";d&&d._owner&&d._owner!==Er.current&&(E=" It was passed a child from "+M(d._owner.type)+"."),Fe(d),j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',v,E),Fe(null)}}function ht(d,m){{if(typeof d!="object")return;if(yr(d))for(var v=0;v<d.length;v++){var E=d[v];$r(E)&&pt(E,m)}else if($r(d))d._store&&(d._store.validated=!0);else if(d){var N=C(d);if(typeof N=="function"&&N!==d.entries)for(var R=N.call(d),S;!(S=R.next()).done;)$r(S.value)&&pt(S.value,m)}}}function On(d){{var m=d.type;if(m==null||typeof m=="string")return;var v;if(typeof m=="function")v=m.propTypes;else if(typeof m=="object"&&(m.$$typeof===c||m.$$typeof===h))v=m.propTypes;else return;if(v){var E=M(m);wn(v,d.props,"prop",E,d)}else if(m.PropTypes!==void 0&&!Lr){Lr=!0;var N=M(m);j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",N||"Unknown")}typeof m.getDefaultProps=="function"&&!m.getDefaultProps.isReactClassApproved&&j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Wn(d){{for(var m=Object.keys(d.props),v=0;v<m.length;v++){var E=m[v];if(E!=="children"&&E!=="key"){Fe(d),j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",E),Fe(null);break}}d.ref!==null&&(Fe(d),j("Invalid attribute `ref` supplied to `React.Fragment`."),Fe(null))}}function mt(d,m,v,E,N,R){{var S=K(d);if(!S){var $="";(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&($+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var X=Pn(N);X?$+=X:$+=ut();var _;d===null?_="null":yr(d)?_="array":d!==void 0&&d.$$typeof===r?(_="<"+(M(d.type)||"Unknown")+" />",$=" Did you accidentally export a JSX literal instead of a component?"):_=typeof d,j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_,$)}var V=An(d,m,v,N,R);if(V==null)return V;if(S){var oe=m.children;if(oe!==void 0)if(E)if(yr(oe)){for(var Oe=0;Oe<oe.length;Oe++)ht(oe[Oe],d);Object.freeze&&Object.freeze(oe)}else j("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 ht(oe,d)}return d===t?Wn(V):On(V),V}}function _n(d,m,v){return mt(d,m,v,!0)}function Vn(d,m,v){return mt(d,m,v,!1)}var In=Vn,Dn=_n;Ye.Fragment=t,Ye.jsx=In,Ye.jsxs=Dn}()),Ye}process.env.NODE_ENV==="production"?Rr.exports=Hn():Rr.exports=zn();var i=Rr.exports;const Un=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o="",filled:a=!1})=>{const l=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${l}`,role:o||(l?"graphics-document":"img"),children:[!l&&i.jsx("title",{children:t}),i.jsx("path",{d:"M12 22C14.6522 22 17.1957 20.9464 19.0711 19.0711C20.9464 17.1957 22 14.6522 22 12C22 9.34784 20.9464 6.8043 19.0711 4.92893C17.1957 3.05357 14.6522 2 12 2C9.34784 2 6.8043 3.05357 4.92893 4.92893C3.05357 6.8043 2 9.34784 2 12C2 14.6522 3.05357 17.1957 4.92893 19.0711C6.8043 20.9464 9.34784 22 12 22Z",stroke:a?"transparent":"currentColor",fill:a?"#157393":"none",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M12 17.5553V13.1108",stroke:a?"white":"currentColor",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M12 8.7333C11.8527 8.7333 11.7114 8.67477 11.6072 8.57058C11.503 8.4664 11.4445 8.32509 11.4445 8.17775C11.4445 8.03041 11.503 7.8891 11.6072 7.78491C11.7114 7.68072 11.8527 7.62219 12 7.62219",stroke:a?"white":"currentColor",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M12 8.7333C12.1473 8.7333 12.2887 8.67477 12.3928 8.57058C12.497 8.4664 12.5556 8.32509 12.5556 8.17775C12.5556 8.03041 12.497 7.8891 12.3928 7.78491C12.2887 7.68072 12.1473 7.62219 12 7.62219",stroke:a?"white":"currentColor",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round"})]})},Br=Un,Gn=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o="",filled:a=!1})=>{const l=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#000000",className:n,"aria-hidden":`${l}`,role:o||(l?"graphics-document":"img"),children:[!l&&i.jsx("title",{children:t}),i.jsx("path",{d:"M10.8715 2.54037C11.0072 2.37168 11.1791 2.23557 11.3743 2.14206C11.5696 2.04854 11.7833 2 11.9998 2C12.2163 2 12.4301 2.04854 12.6253 2.14206C12.8206 2.23557 12.9924 2.37168 13.1281 2.54037L14.4714 4.21147C14.6235 4.40106 14.821 4.54927 15.0455 4.64243C15.27 4.73559 15.5144 4.7707 15.756 4.74452L17.8882 4.51264C18.1041 4.48866 18.3225 4.51354 18.5275 4.58543C18.7324 4.65731 18.9185 4.77437 19.0721 4.92793C19.2256 5.08149 19.3427 5.26762 19.4146 5.47255C19.4865 5.67747 19.5113 5.89594 19.4874 6.11178L19.2555 8.24397C19.2293 8.48564 19.2644 8.73001 19.3576 8.95453C19.4507 9.17905 19.5989 9.37648 19.7885 9.52862L21.4596 10.8719C21.6283 11.0076 21.7644 11.1794 21.8579 11.3747C21.9515 11.5699 22 11.7837 22 12.0002C22 12.2167 21.9515 12.4304 21.8579 12.6257C21.7644 12.8209 21.6283 12.9928 21.4596 13.1285L19.7832 14.4655C19.5937 14.6179 19.4455 14.8155 19.3524 15.0402C19.2592 15.2648 19.2241 15.5093 19.2502 15.7511L19.482 17.8832C19.5062 18.0991 19.4814 18.3177 19.4096 18.5227C19.3378 18.7277 19.2207 18.9139 19.0671 19.0675C18.9135 19.2211 18.7273 19.3381 18.5223 19.41C18.3173 19.4818 18.0988 19.5065 17.8829 19.4824L15.7507 19.2505C15.509 19.2242 15.2646 19.2593 15.0401 19.3525C14.8156 19.4456 14.6181 19.5939 14.4661 19.7836L13.1281 21.4484C12.9925 21.6173 12.8207 21.7535 12.6254 21.8471C12.4302 21.9407 12.2164 21.9893 11.9998 21.9893C11.7833 21.9893 11.5695 21.9407 11.3742 21.8471C11.1789 21.7535 11.0072 21.6173 10.8715 21.4484L9.52915 19.7782C9.37682 19.5886 9.17922 19.4404 8.95456 19.3473C8.7299 19.2541 8.48541 19.219 8.24361 19.2452L6.11142 19.4771C5.89551 19.5014 5.6769 19.4767 5.47181 19.405C5.26673 19.3332 5.08045 19.2162 4.92681 19.0625C4.77318 18.9089 4.65613 18.7226 4.58436 18.5175C4.5126 18.3124 4.48796 18.0938 4.51228 17.8779L4.74416 15.7457C4.77033 15.5039 4.73522 15.2594 4.64207 15.0348C4.54891 14.8101 4.40071 14.6125 4.21111 14.4602L2.54089 13.1178C2.37207 12.9822 2.23582 12.8104 2.14221 12.6151C2.0486 12.4199 2 12.2061 2 11.9895C2 11.773 2.0486 11.5592 2.14221 11.3639C2.23582 11.1686 2.37207 10.9969 2.54089 10.8612L4.21111 9.51795C4.40076 9.36588 4.54902 9.16845 4.64219 8.94391C4.73536 8.71938 4.77043 8.47498 4.74416 8.23331L4.51228 6.10112C4.48813 5.88525 4.51289 5.6667 4.58471 5.4617C4.65654 5.2567 4.77359 5.07049 4.92719 4.91689C5.08079 4.76329 5.267 4.64624 5.472 4.57441C5.67701 4.50259 5.89555 4.47783 6.11142 4.50198L8.24361 4.73385C8.4854 4.75995 8.72987 4.7248 8.95452 4.63165C9.17916 4.5385 9.37677 4.39034 9.52915 4.20081L10.8715 2.54037Z",stroke:a?"transparent":"currentColor",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",fill:a?"#387F14":"none"}),i.jsx("path",{d:"M15.3314 9.99585L11.7946 14.7115C11.7373 14.7878 11.6643 14.8509 11.5805 14.8966C11.4967 14.9422 11.404 14.9693 11.3089 14.9761C11.2137 14.9828 11.1181 14.969 11.0288 14.9356C10.9394 14.9023 10.8582 14.8501 10.7907 14.7826L8.66827 12.6611",stroke:a?"white":"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})},Hr=Gn,Zn=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o="",filled:a=!1})=>{const l=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${l}`,role:o||(l?"graphics-document":"img"),children:[!l&&i.jsx("title",{children:t}),i.jsx("path",{d:"M13.3508 3.46672C13.2268 3.21422 13.0345 3.00155 12.7957 2.85282C12.557 2.70408 12.2813 2.62524 12 2.62524C11.7187 2.62524 11.443 2.70408 11.2042 2.85282C10.9655 3.00155 10.7732 3.21422 10.6492 3.46672L2.75501 19.5484C2.65998 19.7417 2.61579 19.956 2.6266 20.1711C2.63741 20.3863 2.70286 20.5951 2.81678 20.7779C2.9307 20.9607 3.08933 21.1115 3.2777 21.216C3.46606 21.3205 3.67794 21.3752 3.89334 21.375H20.1067C20.3221 21.3752 20.5339 21.3205 20.7223 21.216C20.9107 21.1115 21.0693 20.9607 21.1832 20.7779C21.2972 20.5951 21.3626 20.3863 21.3734 20.1711C21.3842 19.956 21.34 19.7417 21.245 19.5484L13.3508 3.46672Z",stroke:a?"transparent":"currentColor",fill:a?"#816E09":"none",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M12 18.25C11.8274 18.25 11.6875 18.1101 11.6875 17.9375C11.6875 17.7649 11.8274 17.625 12 17.625",stroke:a?"white":"currentColor",strokeWidth:s}),i.jsx("path",{d:"M12 18.25C12.1726 18.25 12.3125 18.1101 12.3125 17.9375C12.3125 17.7649 12.1726 17.625 12 17.625",stroke:a?"white":"currentColor",strokeWidth:s}),i.jsx("path",{d:"M12 15.125V8.875",stroke:a?"white":"currentColor",strokeWidth:s,strokeMiterlimit:"10",strokeLinecap:"round"})]})},zr=Zn,Yn=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o="",filled:a=!1})=>{const l=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#000000",className:n,"aria-hidden":`${l}`,role:o||(l?"graphics-document":"img"),children:[!l&&i.jsx("title",{children:t}),i.jsx("path",{d:"M12 22C14.6522 22 17.1957 20.9464 19.0711 19.0711C20.9464 17.1957 22 14.6522 22 12C22 9.34784 20.9464 6.8043 19.0711 4.92893C17.1957 3.05357 14.6522 2 12 2C9.34784 2 6.8043 3.05357 4.92893 4.92893C3.05357 6.8043 2 9.34784 2 12C2 14.6522 3.05357 17.1957 4.92893 19.0711C6.8043 20.9464 9.34784 22 12 22Z",stroke:a?"transparent":"currentColor",fill:a?"#A90508":"none",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M15.3344 8.66663L8.66666 15.3333",stroke:a?"white":"currentColor",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M8.66666 8.66663L15.3344 15.3333",stroke:a?"white":"currentColor",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round"})]})},Ur=Yn,qn=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M2.625 21.3741L21.375 2.62415",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M21.375 21.3741L2.625 2.62415",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"})]})},Kn=qn,Jn=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M20.4917 3.50831C20.2079 3.22568 19.8709 3.00208 19.5002 2.85044C19.1294 2.69879 18.7324 2.62211 18.3318 2.62483C17.9313 2.62754 17.5353 2.70959 17.1667 2.86624C16.798 3.02288 16.4641 3.25103 16.1842 3.53748L4.10083 15.6208L2.625 21.375L8.37917 19.8991L20.4625 7.81581C20.749 7.53587 20.9771 7.20193 21.1337 6.8333C21.2904 6.46468 21.3724 6.06866 21.3752 5.66814C21.3779 5.26762 21.3012 4.87053 21.1495 4.49982C20.9979 4.1291 20.7743 3.79211 20.4917 3.50831Z",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M15.8383 3.8833L20.1167 8.16163",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M14.0933 5.6283L18.3717 9.90663",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M4.10083 15.6208L8.38333 19.895",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"})]})},Xn=Jn,Qn=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M2 2V22.0007",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M2 3.33301H21.334C21.4625 3.33314 21.5881 3.37038 21.6959 3.44023C21.8037 3.51008 21.889 3.60958 21.9416 3.72676C21.9942 3.84394 22.0118 3.97381 21.9923 4.10077C21.9728 4.22772 21.9171 4.34634 21.8318 4.44238L18.2717 8.4443C18.0545 8.68843 17.9345 9.0038 17.9345 9.33055C17.9345 9.6573 18.0545 9.97268 18.2717 10.2168L21.8274 14.2214C21.9127 14.3174 21.9684 14.4361 21.9879 14.563C22.0073 14.69 21.9897 14.8198 21.9371 14.937C21.8845 15.0542 21.7992 15.1537 21.6915 15.2235C21.5837 15.2934 21.458 15.3306 21.3296 15.3308H2",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"})]})},es=Qn,rs=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M10.2221 20.6666C10.335 21.0512 10.5695 21.3889 10.8903 21.6292C11.2112 21.8694 11.6013 21.9992 12.0021 21.9992C12.4029 21.9992 12.793 21.8694 13.1139 21.6292C13.4348 21.3889 13.6692 21.0512 13.7821 20.6666",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M12 4V2",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M12 4C13.7681 4 15.4638 4.70238 16.714 5.95262C17.9643 7.20286 18.6667 8.89856 18.6667 10.6667C18.6667 16.9298 20 18 20 18H4C4 18 5.33333 16.2969 5.33333 10.6667C5.33333 8.89856 6.03571 7.20286 7.28595 5.95262C8.5362 4.70238 10.2319 4 12 4V4Z",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"})]})},ts=rs,ns=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return e==="16"&&r==="16"?i.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,"aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M6.88898 13.6672C6.95954 13.9076 7.10608 14.1187 7.30663 14.2688C7.50719 14.419 7.75099 14.5001 8.00152 14.5001C8.25205 14.5001 8.49585 14.419 8.6964 14.2688C8.89696 14.1187 9.04349 13.9076 9.11406 13.6672",strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M8.00018 3.25005V2",strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M8.00019 3.25012C9.1053 3.25012 10.1651 3.68913 10.9466 4.47056C11.728 5.25199 12.167 6.31183 12.167 7.41694C12.167 11.3315 13.0004 12.0005 13.0004 12.0005H3C3 12.0005 3.83336 10.936 3.83336 7.41694C3.83336 6.31183 4.27237 5.25199 5.0538 4.47056C5.83523 3.68913 6.89508 3.25012 8.00019 3.25012V3.25012Z",strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("circle",{cx:"11.8",cy:"6.11104",r:"2.3",fill:"#BA1E50",stroke:"white"})]}):i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M10.2221 20.6666C10.335 21.0512 10.5695 21.3889 10.8903 21.6292C11.2112 21.8694 11.6013 21.9992 12.0021 21.9992C12.4029 21.9992 12.793 21.8694 13.1139 21.6292C13.4348 21.3889 13.6692 21.0512 13.7821 20.6666",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M12 4V2",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M12 4C13.7681 4 15.4638 4.70238 16.714 5.95262C17.9643 7.20286 18.6667 8.89856 18.6667 10.6667C18.6667 16.9298 20 18 20 18H4C4 18 5.33333 16.2969 5.33333 10.6667C5.33333 8.89856 6.03571 7.20286 7.28595 5.95262C8.5362 4.70238 10.2319 4 12 4V4Z",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("circle",{cx:"18",cy:"8",r:"4",fill:"#BA1E50",stroke:"white",strokeWidth:"2"})]})},ss=ns,os=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M9.33325 9.33315C9.33335 8.84429 9.46782 8.36486 9.72198 7.94726C9.97614 7.52966 10.3402 7.18996 10.7744 6.96528C11.2085 6.74062 11.6962 6.63962 12.1838 6.67335C12.6716 6.70706 13.1406 6.8742 13.5397 7.15648C13.9389 7.43877 14.2527 7.82534 14.4469 8.27394C14.6413 8.72255 14.7085 9.21592 14.6413 9.70015C14.5741 10.1844 14.3751 10.6408 14.0661 11.0196C13.757 11.3984 13.3497 11.6848 12.8888 11.8478C12.6287 11.9398 12.4036 12.1101 12.2444 12.3353C12.0852 12.5607 11.9997 12.8297 11.9999 13.1056V13.9998",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M12.0001 17.3333C11.816 17.3333 11.6667 17.184 11.6667 17C11.6667 16.8159 11.816 16.6666 12.0001 16.6666",strokeWidth:s,stroke:"currentColor"}),i.jsx("path",{d:"M12 17.3333C12.1841 17.3333 12.3333 17.184 12.3333 17C12.3333 16.8159 12.1841 16.6666 12 16.6666",strokeWidth:s,stroke:"currentColor"}),i.jsx("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47716 17.5228 2 12 2C6.47716 2 2 6.47716 2 12C2 17.5228 6.47716 22 12 22Z",strokeWidth:s,strokeMiterlimit:"10",stroke:"currentColor"})]})},as=os,is=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M9.1042 3.96154L9.83189 2.08308C9.95462 1.76503 10.1705 1.49146 10.4514 1.29821C10.7322 1.10495 11.0648 1.00101 11.4057 1H12.7934C13.1343 1.00101 13.467 1.10495 13.7478 1.29821C14.0286 1.49146 14.2446 1.76503 14.3673 2.08308L15.095 3.96154L17.5657 5.38308L19.5627 5.07846C19.8952 5.03333 20.2336 5.08806 20.5349 5.23572C20.8363 5.38337 21.0869 5.61727 21.255 5.90769L21.9319 7.09231C22.1054 7.38736 22.1853 7.72807 22.1611 8.06948C22.1369 8.41089 22.0098 8.73694 21.7965 9.00462L20.5611 10.5785V13.4215L21.8304 14.9954C22.0437 15.2631 22.1708 15.5891 22.1949 15.9305C22.2191 16.2719 22.1392 16.6126 21.9657 16.9077L21.2888 18.0923C21.1207 18.3827 20.8701 18.6166 20.5688 18.7643C20.2674 18.9119 19.929 18.9667 19.5965 18.9215L17.5996 18.6169L15.1288 20.0385L14.4011 21.9169C14.2784 22.235 14.0625 22.5085 13.7817 22.7018C13.5008 22.8951 13.1682 22.999 12.8273 23H11.4057C11.0648 22.999 10.7322 22.8951 10.4514 22.7018C10.1705 22.5085 9.95462 22.235 9.83189 21.9169L9.1042 20.0385L6.63343 18.6169L4.63651 18.9215C4.304 18.9667 3.96558 18.9119 3.66425 18.7643C3.36292 18.6166 3.11229 18.3827 2.9442 18.0923L2.26728 16.9077C2.09382 16.6126 2.0139 16.2719 2.03807 15.9305C2.06224 15.5891 2.18937 15.2631 2.40266 14.9954L3.63805 13.4215V10.5785L2.36882 9.00462C2.15552 8.73694 2.0284 8.41089 2.00423 8.06948C1.98006 7.72807 2.05997 7.38736 2.23343 7.09231L2.91036 5.90769C3.07844 5.61727 3.32907 5.38337 3.6304 5.23572C3.93173 5.08806 4.27015 5.03333 4.60266 5.07846L6.59959 5.38308L9.1042 3.96154ZM8.71497 12C8.71497 12.6694 8.91348 13.3238 9.28538 13.8804C9.65729 14.437 10.1859 14.8708 10.8044 15.127C11.4228 15.3832 12.1033 15.4502 12.7599 15.3196C13.4164 15.189 14.0195 14.8666 14.4929 14.3933C14.9662 13.9199 15.2886 13.3169 15.4192 12.6603C15.5498 12.0038 15.4827 11.3232 15.2266 10.7048C14.9704 10.0863 14.5366 9.5577 13.98 9.1858C13.4234 8.81389 12.769 8.61538 12.0996 8.61538C11.2019 8.61538 10.341 8.97198 9.7063 9.60672C9.07156 10.2415 8.71497 11.1023 8.71497 12V12Z",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"})]})},ls=is,ds=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M2.00003 5H22V19H2.00003V5Z",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M21.6772 5.51294L13.921 11.3593C13.3703 11.7745 12.6949 11.9997 12 11.9997C11.3052 11.9997 10.6298 11.7745 10.0791 11.3593L2.32291 5.51294",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"})]})},cs=ds,us=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M12 22C17.5228 22 22 17.5229 22 12.0001C22 6.47721 17.5228 2 12 2C6.47716 2 2 6.47721 2 12.0001C2 17.5229 6.47716 22 12 22Z",strokeWidth:s,strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M6.88889 11.9554H16.9334",strokeWidth:s,strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"})]})},fs=us,ps=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,"aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M2 5.6366H22",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M14.0454 2H9.95446C9.5928 2 9.24595 2.14367 8.99022 2.3994C8.73449 2.65513 8.59082 3.00198 8.59082 3.36364V5.63636H15.409V3.36364C15.409 3.00198 15.2653 2.65513 15.0096 2.3994C14.7539 2.14367 14.407 2 14.0454 2Z",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M9.95453 17.2275V10.4093",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M14.0455 17.2275V10.4093",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M18.2364 20.7457C18.2111 21.0873 18.0573 21.4067 17.8059 21.6395C17.5546 21.8723 17.2244 22.0012 16.8818 22.0002H7.11818C6.77561 22.0012 6.4454 21.8723 6.19406 21.6395C5.94273 21.4067 5.78893 21.0873 5.76364 20.7457L4.5 5.6366H19.5L18.2364 20.7457Z",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"})]})},hs=ps,ms=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M21.375 8.09253L12.4417 17.025C12.3837 17.0831 12.3148 17.1291 12.2391 17.1605C12.1632 17.192 12.082 17.2082 12 17.2082C11.918 17.2082 11.8368 17.192 11.7609 17.1605C11.6852 17.1291 11.6163 17.0831 11.5583 17.025L2.625 8.09253",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"})]})},gs=ms,bs=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M20.125 5.125H3.875C3.18464 5.125 2.625 5.68464 2.625 6.375V20.125C2.625 20.8153 3.18464 21.375 3.875 21.375H20.125C20.8153 21.375 21.375 20.8153 21.375 20.125V6.375C21.375 5.68464 20.8153 5.125 20.125 5.125Z",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M2.625 10.125H21.375",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M7.625 7V2.625",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M16.375 7V2.625",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M6.6875 13.875C6.51491 13.875 6.375 13.7351 6.375 13.5625C6.375 13.3899 6.51491 13.25 6.6875 13.25",strokeWidth:s,stroke:"currentColor"}),i.jsx("path",{d:"M6.6875 13.875C6.86009 13.875 7 13.7351 7 13.5625C7 13.3899 6.86009 13.25 6.6875 13.25",strokeWidth:s,stroke:"currentColor"}),i.jsx("path",{d:"M6.6875 18.25C6.51491 18.25 6.375 18.1101 6.375 17.9375C6.375 17.7649 6.51491 17.625 6.6875 17.625",strokeWidth:s,stroke:"currentColor"}),i.jsx("path",{d:"M6.6875 18.25C6.86009 18.25 7 18.1101 7 17.9375C7 17.7649 6.86009 17.625 6.6875 17.625",strokeWidth:s,stroke:"currentColor"}),i.jsx("path",{d:"M12 13.875C11.8274 13.875 11.6875 13.7351 11.6875 13.5625C11.6875 13.3899 11.8274 13.25 12 13.25",strokeWidth:s,stroke:"currentColor"}),i.jsx("path",{d:"M12 13.875C12.1726 13.875 12.3125 13.7351 12.3125 13.5625C12.3125 13.3899 12.1726 13.25 12 13.25",strokeWidth:s,stroke:"currentColor"}),i.jsx("path",{d:"M12 18.25C11.8274 18.25 11.6875 18.1101 11.6875 17.9375C11.6875 17.7649 11.8274 17.625 12 17.625",strokeWidth:s,stroke:"currentColor"}),i.jsx("path",{d:"M12 18.25C12.1726 18.25 12.3125 18.1101 12.3125 17.9375C12.3125 17.7649 12.1726 17.625 12 17.625",strokeWidth:s,stroke:"currentColor"}),i.jsx("path",{d:"M17.3125 13.875C17.1399 13.875 17 13.7351 17 13.5625C17 13.3899 17.1399 13.25 17.3125 13.25",strokeWidth:s,stroke:"currentColor"}),i.jsx("path",{d:"M17.3125 13.875C17.4851 13.875 17.625 13.7351 17.625 13.5625C17.625 13.3899 17.4851 13.25 17.3125 13.25",strokeWidth:s,stroke:"currentColor"}),i.jsx("path",{d:"M17.3125 18.25C17.1399 18.25 17 18.1101 17 17.9375C17 17.7649 17.1399 17.625 17.3125 17.625",strokeWidth:s,stroke:"currentColor"}),i.jsx("path",{d:"M17.3125 18.25C17.4851 18.25 17.625 18.1101 17.625 17.9375C17.625 17.7649 17.4851 17.625 17.3125 17.625",strokeWidth:s,stroke:"currentColor"})]})},vs=bs,xs=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M17.2667 20.9723L12 17.2856L6.73333 20.9723C6.6397 21.0378 6.52988 21.0764 6.41584 21.0839C6.3018 21.0914 6.18789 21.0674 6.08651 21.0147C5.98512 20.9619 5.90015 20.8824 5.84082 20.7847C5.78149 20.687 5.75007 20.5749 5.75 20.4606V4.16064C5.75 3.82912 5.8817 3.51118 6.11612 3.27676C6.35054 3.04234 6.66848 2.91064 7 2.91064H17C17.3315 2.91064 17.6495 3.04234 17.8839 3.27676C18.1183 3.51118 18.25 3.82912 18.25 4.16064V20.4606C18.2499 20.5749 18.2185 20.687 18.1592 20.7847C18.0999 20.8824 18.0149 20.9619 17.9135 21.0147C17.8121 21.0674 17.6982 21.0914 17.5842 21.0839C17.4701 21.0764 17.3603 21.0378 17.2667 20.9723Z",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M9.5 2.91162V19.0358",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M14.5 2.91162V19.0358",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"})]})},Cs=xs,ks=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return e==="16"&&r==="16"?i.jsxs("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,"aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M11.7377 15.4192L7.97053 12.7822L4.20336 15.4192C4.13638 15.4661 4.05784 15.4937 3.97627 15.499C3.89469 15.5044 3.81322 15.4873 3.7407 15.4495C3.66818 15.4118 3.6074 15.3549 3.56496 15.285C3.52252 15.2152 3.50005 15.135 3.5 15.0532V3.39411C3.5 3.15697 3.5942 2.92955 3.76188 2.76188C3.92955 2.5942 4.15697 2.5 4.39411 2.5H11.5469C11.7841 2.5 12.0115 2.5942 12.1792 2.76188C12.3469 2.92955 12.4411 3.15697 12.4411 3.39411V15.0532C12.441 15.135 12.4185 15.2152 12.3761 15.285C12.3337 15.3549 12.2729 15.4118 12.2004 15.4495C12.1278 15.4873 12.0464 15.5044 11.9648 15.499C11.8832 15.4937 11.8047 15.4661 11.7377 15.4192Z",strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M6.18231 2.50098V14.0343",strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M9.75873 2.50098V14.0343",strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("circle",{cx:"12.8",cy:"3.11104",r:"2.3",fill:"#BA1E50",stroke:"white"})]}):i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M17.2667 21.9723L12 18.2856L6.73333 21.9723C6.6397 22.0378 6.52988 22.0764 6.41584 22.0839C6.3018 22.0914 6.18789 22.0674 6.08651 22.0147C5.98512 21.9619 5.90015 21.8824 5.84082 21.7847C5.78149 21.687 5.75007 21.5749 5.75 21.4606V5.16064C5.75 4.82912 5.8817 4.51118 6.11612 4.27676C6.35054 4.04234 6.66848 3.91064 7 3.91064H17C17.3315 3.91064 17.6495 4.04234 17.8839 4.27676C18.1183 4.51118 18.25 4.82912 18.25 5.16064V21.4606C18.2499 21.5749 18.2185 21.687 18.1592 21.7847C18.0999 21.8824 18.0149 21.9619 17.9135 22.0147C17.8121 22.0674 17.6982 22.0914 17.5842 22.0839C17.4701 22.0764 17.3603 22.0378 17.2667 21.9723Z",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M9.5 3.91162V20.0358",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M14.5 3.91162V20.0358",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("circle",{cx:"19",cy:"5",r:"4",fill:"#BA1E50",stroke:"white",strokeWidth:"2"})]})},ws=ks,ys=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M3.22667 13.1308C4.01013 14.9742 5.49382 16.431 7.35134 17.1805C9.20886 17.9301 11.2881 17.911 13.1315 17.1276C14.975 16.3441 16.4317 14.8604 17.1813 13.0029C17.9308 11.1454 17.9118 9.06617 17.1283 7.2227C16.3449 5.37922 14.8612 3.92248 13.0037 3.17294C11.1461 2.42339 9.06694 2.44244 7.22347 3.2259C5.38 4.00936 3.92325 5.49305 3.17371 7.35057C2.42416 9.20809 2.44322 11.2873 3.22667 13.1308Z",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M15.5175 15.5167L21.375 21.3751",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"})]})},js=ys,Es=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M17.3333 5.01583C18.7245 4.79227 20.1306 4.67518 21.5396 4.66561C21.6606 4.66375 21.7775 4.70975 21.8649 4.79361C21.9506 4.87667 21.9993 4.99071 22 5.11006V19.1261C21.9976 19.3705 21.8 19.5681 21.5556 19.5705C14.184 19.6621 12 21.9989 12 21.9989V7.09406C12 7.09406 9.81778 4.75983 2.46044 4.66561C2.33876 4.66328 2.22112 4.70931 2.13333 4.79361C2.04829 4.87697 2.00026 4.99097 2 5.11006V19.1261C2.00241 19.3705 2.19999 19.5681 2.44444 19.5705C9.816 19.6621 12 21.9989 12 21.9989",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M12 21.5609C12.1404 20.4089 12.6507 19.3334 13.4542 18.496C14.4882 17.3807 15.8441 16.6154 17.3333 16.3067V2.43734C17.3306 2.29208 17.2542 2.15817 17.1307 2.08178C16.9997 1.99949 16.8395 1.97808 16.6916 2.02312C15.4443 2.38152 14.3226 3.08277 13.4542 4.04712C12.6511 4.88407 12.1408 5.95882 12 7.11023",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"})]})},Ls=Es,$s=({width:e="24",height:r="24",className:n="",title:t="",role:s=""})=>{const o=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",stroke:"#000000",xmlns:"http://www.w3.org/2000/svg",className:n,"aria-hidden":`${o}`,role:s||(o?"graphics-document":"img"),children:[!o&&i.jsx("title",{children:t}),i.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",stroke:"currentColor",d:"M20.5002 6.50003H3.50002C3.10219 6.50003 2.72065 6.342 2.43934 6.06069C2.15804 5.77938 2 5.39785 2 5.00002C2 4.60219 2.15804 4.22065 2.43934 3.93934C2.72065 3.65804 3.10219 3.5 3.50002 3.5H20.5002C20.898 3.5 21.2796 3.65804 21.5609 3.93934C21.8422 4.22065 22.0002 4.60219 22.0002 5.00002C22.0002 5.39785 21.8422 5.77938 21.5609 6.06069C21.2796 6.342 20.898 6.50003 20.5002 6.50003ZM20.5002 13.5001H3.50002C3.10219 13.5001 2.72065 13.3421 2.43934 13.0608C2.15804 12.7795 2 12.3979 2 12.0001C2 11.6023 2.15804 11.2207 2.43934 10.9394C2.72065 10.6581 3.10219 10.5001 3.50002 10.5001H20.5002C20.898 10.5001 21.2796 10.6581 21.5609 10.9394C21.8422 11.2207 22.0002 11.6023 22.0002 12.0001C22.0002 12.3979 21.8422 12.7795 21.5609 13.0608C21.2796 13.3421 20.898 13.5001 20.5002 13.5001ZM3.50002 20.5002H20.5002C20.898 20.5002 21.2796 20.3422 21.5609 20.0608C21.8422 19.7795 22.0002 19.398 22.0002 19.0002C22.0002 18.6023 21.8422 18.2208 21.5609 17.9395C21.2796 17.6582 20.898 17.5002 20.5002 17.5002H3.50002C3.10219 17.5002 2.72065 17.6582 2.43934 17.9395C2.15804 18.2208 2 18.6023 2 19.0002C2 19.398 2.15804 19.7795 2.43934 20.0608C2.72065 20.3422 3.10219 20.5002 3.50002 20.5002Z"})]})},Ms=$s,Ss=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M12 8V16",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M8 12H16",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M2 12C2 13.3132 2.25866 14.6136 2.7612 15.8268C3.26375 17.0401 4.00035 18.1425 4.92893 19.0711C5.85752 19.9997 6.95991 20.7362 8.17317 21.2388C9.38642 21.7413 10.6868 22 12 22C13.3132 22 14.6136 21.7413 15.8268 21.2388C17.0401 20.7362 18.1425 19.9997 19.0711 19.0711C19.9997 18.1425 20.7362 17.0401 21.2388 15.8268C21.7413 14.6136 22 13.3132 22 12C22 10.6868 21.7413 9.38642 21.2388 8.17317C20.7362 6.95991 19.9997 5.85752 19.0711 4.92893C18.1425 4.00035 17.0401 3.26375 15.8268 2.7612C14.6136 2.25866 13.3132 2 12 2C10.6868 2 9.38642 2.25866 8.17317 2.7612C6.95991 3.26375 5.85752 4.00035 4.92893 4.92893C4.00035 5.85752 3.26375 6.95991 2.7612 8.17317C2.25866 9.38642 2 10.6868 2 12Z",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"})]})},Ns=Ss,Ts=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",stroke:"#000000",xmlns:"http://www.w3.org/2000/svg",className:n,"aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M9.70831 14.1025L21.375 2.625",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M21.375 9.18417V2.625H14.7083",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M12.1042 6.79163H3.35417C3.16078 6.79163 2.97531 6.86845 2.83857 7.00519C2.70182 7.14194 2.625 7.32741 2.625 7.52079V20.6458C2.625 20.8392 2.70182 21.0246 2.83857 21.1614C2.97531 21.2981 3.16078 21.375 3.35417 21.375H16.4792C16.6726 21.375 16.858 21.2981 16.9948 21.1614C17.1315 21.0246 17.2083 20.8392 17.2083 20.6458V11.8958",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"})]})},Rs=Ts,As=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return e==="16"&&r==="16"?i.jsxs("svg",{width:"19",height:"17",viewBox:"0 0 19 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,"aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M11.7333 4.11082C12.7071 3.95432 13.6914 3.87236 14.6777 3.86566C14.7624 3.86436 14.8443 3.89656 14.9054 3.95526C14.9654 4.0134 14.9995 4.09323 15 4.17677V13.988C14.9983 14.1591 14.86 14.2974 14.6889 14.2991C9.5288 14.3632 8 15.999 8 15.999V5.56557C8 5.56557 6.47244 3.93162 1.32231 3.86566C1.23713 3.86403 1.15478 3.89625 1.09333 3.95526C1.0338 4.01361 1.00018 4.09341 1 4.17677V13.988C1.00169 14.1591 1.13999 14.2974 1.31111 14.2991C6.4712 14.3632 8 15.999 8 15.999",strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M8 15.6926C8.09831 14.8862 8.4555 14.1334 9.01796 13.5472C9.74172 12.7665 10.6909 12.2308 11.7333 12.0147V2.30614C11.7314 2.20446 11.678 2.11072 11.5915 2.05725C11.4998 1.99964 11.3877 1.98466 11.2841 2.01618C10.411 2.26706 9.62585 2.75794 9.01796 3.43298C8.45574 4.01885 8.09857 4.77117 8 5.57716",strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("circle",{cx:"15.8",cy:"3.11104",r:"2.3",fill:"#BA1E50",stroke:"white"})]}):i.jsxs("svg",{width:"29",height:"24",viewBox:"0 0 29 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M17.3333 5.01583C18.7245 4.79227 20.1306 4.67518 21.5396 4.66561C21.6606 4.66375 21.7775 4.70975 21.8649 4.79361C21.9506 4.87667 21.9993 4.99071 22 5.11006V19.1261C21.9976 19.3705 21.8 19.5681 21.5556 19.5705C14.184 19.6621 12 21.9989 12 21.9989V7.09406C12 7.09406 9.81778 4.75983 2.46044 4.66561C2.33876 4.66328 2.22112 4.70931 2.13333 4.79361C2.04829 4.87697 2.00026 4.99097 2 5.11006V19.1261C2.00241 19.3705 2.19999 19.5681 2.44444 19.5705C9.816 19.6621 12 21.9989 12 21.9989",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M12 21.5609C12.1404 20.4089 12.6507 19.3334 13.4542 18.496C14.4882 17.3807 15.8441 16.6154 17.3333 16.3067V2.43734C17.3306 2.29208 17.2542 2.15817 17.1307 2.08178C16.9997 1.99949 16.8395 1.97808 16.6916 2.02312C15.4443 2.38152 14.3226 3.08277 13.4542 4.04712C12.6511 4.88407 12.1408 5.95882 12 7.11023",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("circle",{cx:"24",cy:"5",r:"4",fill:"#BA1E50",stroke:"white",strokeWidth:"2"})]})},Ps=As,Fs=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",className:n,fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M12 22C14.6522 22 17.1957 20.9464 19.0711 19.0711C20.9464 17.1957 22 14.6522 22 12C22 9.34784 20.9464 6.8043 19.0711 4.92893C17.1957 3.05357 14.6522 2 12 2C9.34784 2 6.8043 3.05357 4.92893 4.92893C3.05357 6.8043 2 9.34784 2 12C2 14.6522 3.05357 17.1957 4.92893 19.0711C6.8043 20.9464 9.34784 22 12 22Z",stroke:"currentColor",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("path",{d:"M15.5 9L11 15L8 12",stroke:"currentColor",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round"})]})},Os=Fs,Ws=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M4.9375 9.4375H19C19 9.4375 19.9375 9.4375 19.9375 10.375V21.625C19.9375 21.625 19.9375 22.5625 19 22.5625H4.9375C4.9375 22.5625 4 22.5625 4 21.625V10.375C4 10.375 4 9.4375 4.9375 9.4375Z",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M6.8125 6.15625C6.8125 4.78873 7.35575 3.47721 8.32273 2.51023C9.28971 1.54325 10.6012 1 11.9688 1C13.3363 1 14.6478 1.54325 15.6148 2.51023C16.5818 3.47721 17.125 4.78873 17.125 6.15625V9.4375",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M11.0312 14.5938C11.0312 14.8424 11.13 15.0808 11.3058 15.2567C11.4817 15.4325 11.7201 15.5312 11.9688 15.5312C12.2174 15.5312 12.4558 15.4325 12.6317 15.2567C12.8075 15.0808 12.9062 14.8424 12.9062 14.5938C12.9062 14.3451 12.8075 14.1067 12.6317 13.9308C12.4558 13.755 12.2174 13.6562 11.9688 13.6562C11.7201 13.6562 11.4817 13.755 11.3058 13.9308C11.13 14.1067 11.0312 14.3451 11.0312 14.5938Z",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M11.9688 15.5312V18.3438",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"})]})},_s=Ws,Vs=({width:e="24",height:r="24",className:n="",title:t="",stroke:s="1.5",role:o=""})=>{const a=!(t&&t.length>0);return i.jsxs("svg",{width:e,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,stroke:"#000000","aria-hidden":`${a}`,role:o||(a?"graphics-document":"img"),children:[!a&&i.jsx("title",{children:t}),i.jsx("path",{d:"M11.0312 14.5938C11.0312 14.8424 11.13 15.0808 11.3058 15.2567C11.4817 15.4325 11.7201 15.5312 11.9688 15.5312C12.2174 15.5312 12.4558 15.4325 12.6317 15.2567C12.8075 15.0808 12.9062 14.8424 12.9062 14.5938C12.9062 14.3451 12.8075 14.1067 12.6317 13.9308C12.4558 13.755 12.2174 13.6562 11.9688 13.6562C11.7201 13.6562 11.4817 13.755 11.3058 13.9308C11.13 14.1067 11.0312 14.3451 11.0312 14.5938Z",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M11.9688 15.5312V18.3438",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M4.9375 9.4375H19C19 9.4375 19.9375 9.4375 19.9375 10.375V21.625C19.9375 21.625 19.9375 22.5625 19 22.5625H4.9375C4.9375 22.5625 4 22.5625 4 21.625V10.375C4 10.375 4 9.4375 4.9375 9.4375Z",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),i.jsx("path",{d:"M6.8125 6.15625C6.8125 4.78873 7.35575 3.47721 8.32273 2.51023C9.28971 1.54325 10.6012 1 11.9688 1C13.3363 1 14.6478 1.54325 15.6148 2.51023C16.5818 3.47721 17.125 4.78873 17.125 6.15625V9.4375H6.8125V6.15625Z",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"})]})},Is=Vs;function Nt(e){var r,n,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e))for(r=0;r<e.length;r++)e[r]&&(n=Nt(e[r]))&&(t&&(t+=" "),t+=n);else for(r in e)e[r]&&(t&&(t+=" "),t+=r);return t}function Ds(){for(var e,r,n=0,t="";n<arguments.length;)(e=arguments[n++])&&(r=Nt(e))&&(t&&(t+=" "),t+=r);return t}const xt=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,Ct=Ds,A=(e,r)=>n=>{var t;if((r==null?void 0:r.variants)==null)return Ct(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:o}=r,a=Object.keys(s).map(p=>{const f=n==null?void 0:n[p],h=o==null?void 0:o[p];if(f===null)return null;const g=xt(f)||xt(h);return s[p][g]}),l=n&&Object.entries(n).reduce((p,f)=>{let[h,g]=f;return g===void 0||(p[h]=g),p},{}),c=r==null||(t=r.compoundVariants)===null||t===void 0?void 0:t.reduce((p,f)=>{let{class:h,className:g,...b}=f;return Object.entries(b).every(x=>{let[k,C]=x;return Array.isArray(C)?C.includes({...o,...l}[k]):{...o,...l}[k]===C})?[...p,h,g]:p},[]);return Ct(e,a,c,n==null?void 0:n.class,n==null?void 0:n.className)},Gr="-";function Bs(e){const r=zs(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:t}=e;function s(a){const l=a.split(Gr);return l[0]===""&&l.length!==1&&l.shift(),Tt(l,r)||Hs(a)}function o(a,l){const c=n[a]||[];return l&&t[a]?[...c,...t[a]]:c}return{getClassGroupId:s,getConflictingClassGroupIds:o}}function Tt(e,r){var a;if(e.length===0)return r.classGroupId;const n=e[0],t=r.nextPart.get(n),s=t?Tt(e.slice(1),t):void 0;if(s)return s;if(r.validators.length===0)return;const o=e.join(Gr);return(a=r.validators.find(({validator:l})=>l(o)))==null?void 0:a.classGroupId}const kt=/^\[(.+)\]$/;function Hs(e){if(kt.test(e)){const r=kt.exec(e)[1],n=r==null?void 0:r.substring(0,r.indexOf(":"));if(n)return"arbitrary.."+n}}function zs(e){const{theme:r,prefix:n}=e,t={nextPart:new Map,validators:[]};return Gs(Object.entries(e.classGroups),n).forEach(([o,a])=>{Ar(a,t,o,r)}),t}function Ar(e,r,n,t){e.forEach(s=>{if(typeof s=="string"){const o=s===""?r:wt(r,s);o.classGroupId=n;return}if(typeof s=="function"){if(Us(s)){Ar(s(t),r,n,t);return}r.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([o,a])=>{Ar(a,wt(r,o),n,t)})})}function wt(e,r){let n=e;return r.split(Gr).forEach(t=>{n.nextPart.has(t)||n.nextPart.set(t,{nextPart:new Map,validators:[]}),n=n.nextPart.get(t)}),n}function Us(e){return e.isThemeGetter}function Gs(e,r){return r?e.map(([n,t])=>{const s=t.map(o=>typeof o=="string"?r+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,l])=>[r+a,l])):o);return[n,s]}):e}function Zs(e){if(e<1)return{get:()=>{},set:()=>{}};let r=0,n=new Map,t=new Map;function s(o,a){n.set(o,a),r++,r>e&&(r=0,t=n,n=new Map)}return{get(o){let a=n.get(o);if(a!==void 0)return a;if((a=t.get(o))!==void 0)return s(o,a),a},set(o,a){n.has(o)?n.set(o,a):s(o,a)}}}const Rt="!";function Ys(e){const r=e.separator,n=r.length===1,t=r[0],s=r.length;return function(a){const l=[];let c=0,p=0,f;for(let k=0;k<a.length;k++){let C=a[k];if(c===0){if(C===t&&(n||a.slice(k,k+s)===r)){l.push(a.slice(p,k)),p=k+s;continue}if(C==="/"){f=k;continue}}C==="["?c++:C==="]"&&c--}const h=l.length===0?a:a.substring(p),g=h.startsWith(Rt),b=g?h.substring(1):h,x=f&&f>p?f-p:void 0;return{modifiers:l,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:x}}}function qs(e){if(e.length<=1)return e;const r=[];let n=[];return e.forEach(t=>{t[0]==="["?(r.push(...n.sort(),t),n=[]):n.push(t)}),r.push(...n.sort()),r}function Ks(e){return{cache:Zs(e.cacheSize),splitModifiers:Ys(e),...Bs(e)}}const Js=/\s+/;function Xs(e,r){const{splitModifiers:n,getClassGroupId:t,getConflictingClassGroupIds:s}=r,o=new Set;return e.trim().split(Js).map(a=>{const{modifiers:l,hasImportantModifier:c,baseClassName:p,maybePostfixModifierPosition:f}=n(a);let h=t(f?p.substring(0,f):p),g=!!f;if(!h){if(!f)return{isTailwindClass:!1,originalClassName:a};if(h=t(p),!h)return{isTailwindClass:!1,originalClassName:a};g=!1}const b=qs(l).join(":");return{isTailwindClass:!0,modifierId:c?b+Rt:b,classGroupId:h,originalClassName:a,hasPostfixModifier:g}}).reverse().filter(a=>{if(!a.isTailwindClass)return!0;const{modifierId:l,classGroupId:c,hasPostfixModifier:p}=a,f=l+c;return o.has(f)?!1:(o.add(f),s(c,p).forEach(h=>o.add(l+h)),!0)}).reverse().map(a=>a.originalClassName).join(" ")}function Qs(){let e=0,r,n,t="";for(;e<arguments.length;)(r=arguments[e++])&&(n=At(r))&&(t&&(t+=" "),t+=n);return t}function At(e){if(typeof e=="string")return e;let r,n="";for(let t=0;t<e.length;t++)e[t]&&(r=At(e[t]))&&(n&&(n+=" "),n+=r);return n}function eo(e,...r){let n,t,s,o=a;function a(c){const p=r.reduce((f,h)=>h(f),e());return n=Ks(p),t=n.cache.get,s=n.cache.set,o=l,l(c)}function l(c){const p=t(c);if(p)return p;const f=Xs(c,n);return s(c,f),f}return function(){return o(Qs.apply(null,arguments))}}function P(e){const r=n=>n[e]||[];return r.isThemeGetter=!0,r}const Pt=/^\[(?:([a-z-]+):)?(.+)\]$/i,ro=/^\d+\/\d+$/,to=new Set(["px","full","screen"]),no=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,so=/\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$/,oo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ao=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,io=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Ce(e){return Te(e)||to.has(e)||ro.test(e)}function Ee(e){return Ve(e,"length",go)}function Te(e){return!!e&&!Number.isNaN(Number(e))}function dr(e){return Ve(e,"number",Te)}function qe(e){return!!e&&Number.isInteger(Number(e))}function lo(e){return e.endsWith("%")&&Te(e.slice(0,-1))}function L(e){return Pt.test(e)}function Le(e){return no.test(e)}const co=new Set(["length","size","percentage"]);function uo(e){return Ve(e,co,Ft)}function fo(e){return Ve(e,"position",Ft)}const po=new Set(["image","url"]);function ho(e){return Ve(e,po,vo)}function mo(e){return Ve(e,"",bo)}function Ke(){return!0}function Ve(e,r,n){const t=Pt.exec(e);return t?t[1]?typeof r=="string"?t[1]===r:r.has(t[1]):n(t[2]):!1}function go(e){return so.test(e)&&!oo.test(e)}function Ft(){return!1}function bo(e){return ao.test(e)}function vo(e){return io.test(e)}function xo(){const e=P("colors"),r=P("spacing"),n=P("blur"),t=P("brightness"),s=P("borderColor"),o=P("borderRadius"),a=P("borderSpacing"),l=P("borderWidth"),c=P("contrast"),p=P("grayscale"),f=P("hueRotate"),h=P("invert"),g=P("gap"),b=P("gradientColorStops"),x=P("gradientColorStopPositions"),k=P("inset"),C=P("margin"),w=P("opacity"),j=P("padding"),Z=P("saturate"),T=P("scale"),H=P("sepia"),ie=P("skew"),Y=P("space"),z=P("translate"),q=()=>["auto","contain","none"],K=()=>["auto","hidden","clip","visible","scroll"],ee=()=>["auto",L,r],y=()=>[L,r],M=()=>["",Ce,Ee],O=()=>["auto",Te,L],J=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],le=()=>["solid","dashed","dotted","double","none"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],de=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",L],be=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ce=()=>[Te,dr],re=()=>[Te,L];return{cacheSize:500,separator:":",theme:{colors:[Ke],spacing:[Ce,Ee],blur:["none","",Le,L],brightness:ce(),borderColor:[e],borderRadius:["none","","full",Le,L],borderSpacing:y(),borderWidth:M(),contrast:ce(),grayscale:U(),hueRotate:re(),invert:U(),gap:y(),gradientColorStops:[e],gradientColorStopPositions:[lo,Ee],inset:ee(),margin:ee(),opacity:ce(),padding:y(),saturate:ce(),scale:ce(),sepia:U(),skew:re(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",L]}],container:["container"],columns:[{columns:[Le]}],"break-after":[{"break-after":be()}],"break-before":[{"break-before":be()}],"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"],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(),L]}],overflow:[{overflow:K()}],"overflow-x":[{"overflow-x":K()}],"overflow-y":[{"overflow-y":K()}],overscroll:[{overscroll:q()}],"overscroll-x":[{"overscroll-x":q()}],"overscroll-y":[{"overscroll-y":q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[k]}],"inset-x":[{"inset-x":[k]}],"inset-y":[{"inset-y":[k]}],start:[{start:[k]}],end:[{end:[k]}],top:[{top:[k]}],right:[{right:[k]}],bottom:[{bottom:[k]}],left:[{left:[k]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",qe,L]}],basis:[{basis:ee()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",L]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",qe,L]}],"grid-cols":[{"grid-cols":[Ke]}],"col-start-end":[{col:["auto",{span:["full",qe,L]},L]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[Ke]}],"row-start-end":[{row:["auto",{span:[qe,L]},L]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",L]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",L]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...de()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...de(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...de(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[j]}],px:[{px:[j]}],py:[{py:[j]}],ps:[{ps:[j]}],pe:[{pe:[j]}],pt:[{pt:[j]}],pr:[{pr:[j]}],pb:[{pb:[j]}],pl:[{pl:[j]}],m:[{m:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],me:[{me:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[Y]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Y]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",L,r]}],"min-w":[{"min-w":[L,r,"min","max","fit"]}],"max-w":[{"max-w":[L,r,"none","full","min","max","fit","prose",{screen:[Le]},Le]}],h:[{h:[L,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[L,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[L,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[L,r,"auto","min","max","fit"]}],"font-size":[{text:["base",Le,Ee]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",dr]}],"font-family":[{font:[Ke]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",L]}],"line-clamp":[{"line-clamp":["none",Te,dr]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ce,L]}],"list-image":[{"list-image":["none",L]}],"list-style-type":[{list:["none","disc","decimal",L]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...le(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Ce,Ee]}],"underline-offset":[{"underline-offset":["auto",Ce,L]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",L]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",L]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...J(),fo]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",uo]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ho]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...le(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:le()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...le()]}],"outline-offset":[{"outline-offset":[Ce,L]}],"outline-w":[{outline:[Ce,Ee]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:M()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[Ce,Ee]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Le,mo]}],"shadow-color":[{shadow:[Ke]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":fe()}],"bg-blend":[{"bg-blend":fe()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[t]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Le,L]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[h]}],saturate:[{saturate:[Z]}],sepia:[{sepia:[H]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[t]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[Z]}],"backdrop-sepia":[{"backdrop-sepia":[H]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",L]}],duration:[{duration:re()}],ease:[{ease:["linear","in","out","in-out",L]}],delay:[{delay:re()}],animate:[{animate:["none","spin","ping","pulse","bounce",L]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-y":[{"scale-y":[T]}],rotate:[{rotate:[qe,L]}],"translate-x":[{"translate-x":[z]}],"translate-y":[{"translate-y":[z]}],"skew-x":[{"skew-x":[ie]}],"skew-y":[{"skew-y":[ie]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",L]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",L]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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",L]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Ce,Ee,dr]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"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-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-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"],"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"]}}}const I=eo(xo);function Ot(){return Math.floor(Math.random()*1e7)}const Wt=(e,r,n,t,s)=>{const o=`preflight ${n}`;return{settings:i.jsx(ls,{width:e,height:r,className:o,title:t,role:s}),questionCircle:i.jsx(as,{width:e,height:r,className:o,title:t,role:s}),notifications:i.jsx(ts,{width:e,height:r,className:o,title:t,role:s}),flag:i.jsx(es,{width:e,height:r,className:o,title:t,role:s}),edit:i.jsx(Xn,{width:e,height:r,className:o,title:t,role:s}),infoCircle:i.jsx(Br,{width:e,height:r,className:o,title:t,role:s}),delete:i.jsx(hs,{width:e,height:r,className:o,title:t,role:s}),resourceCenter:i.jsx(Ls,{width:e,height:r,className:o,title:t,role:s}),search:i.jsx(js,{width:e,height:r,className:o,title:t,role:s}),error:i.jsx(Ur,{width:e,height:r,className:o,title:t,role:s}),warning:i.jsx(zr,{width:e,height:r,className:o,title:t,role:s}),dropdown:i.jsx(gs,{width:e,height:r,className:o,title:t,role:s}),calendar:i.jsx(vs,{width:e,height:r,className:o,title:t,role:s}),bookmark:i.jsx(Cs,{width:e,height:r,className:o,title:t,role:s}),menu:i.jsx(Ms,{width:e,height:r,className:o,title:t,role:s}),add:i.jsx(Ns,{width:e,height:r,className:o,title:t,role:s}),exclude:i.jsx(fs,{width:e,height:r,className:o,title:t,role:s}),email:i.jsx(cs,{width:e,height:r,className:o,title:t,role:s}),close:i.jsx(Kn,{width:e,height:r,className:o,title:t,role:s}),checkCircle:i.jsx(Hr,{width:e,height:r,className:o,title:t,role:s}),linkNewTab:i.jsx(Rs,{width:e,height:r,className:o,title:t,role:s}),lockOpened:i.jsx(_s,{width:e,height:r,className:o,title:t,role:s}),lockClosed:i.jsx(Is,{width:e,height:r,className:o,title:t,role:s}),check:i.jsx(Os,{width:e,height:r,className:o,title:t,role:s})}},_t=(e,r,n,t,s)=>{const o=`preflight ${n}`;return{notifications:i.jsx(ss,{width:e,height:r,className:o,title:t,role:s}),resourceCenter:i.jsx(Ps,{width:e,height:r,className:o,title:t,role:s}),bookmark:i.jsx(ws,{width:e,height:r,className:o,title:t,role:s})}},Vt=(e,r,n,t,s,o)=>{const a=`preflight ${n}`;return{infoCircle:i.jsx(Br,{width:e,height:r,className:a,title:t,role:s,filled:o}),error:i.jsx(Ur,{width:e,height:r,className:a,title:t,role:s,filled:o}),warning:i.jsx(zr,{width:e,height:r,className:a,title:t,role:s,filled:o}),checkCircle:i.jsx(Hr,{width:e,height:r,className:a,title:t,role:s,filled:o})}},Co=({size:e="small",name:r,hasIndicator:n=!1,className:t,altText:s,role:o=void 0,filled:a=!1})=>{const l={small:{width:"16",height:"16"},medium:{width:"24",height:"24"}},c=Wt(l[e].width,l[e].height,t,s,o),p=_t(l[e].width,l[e].height,t,s,o),f=Vt(l[e].width,l[e].height,t,s,o,a),h=n&&!a?p[r]||c[r]:a&&f[r]||c[r];return i.jsx(i.Fragment,{children:h})},me=Co;Object.keys(Wt()).sort((e,r)=>e.localeCompare(r));Object.keys(_t()).sort((e,r)=>e.localeCompare(r));Object.keys(Vt()).sort((e,r)=>e.localeCompare(r));function It(e){var r,n,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(r=0;r<s;r++)e[r]&&(n=It(e[r]))&&(t&&(t+=" "),t+=n)}else for(n in e)e[n]&&(t&&(t+=" "),t+=n);return t}function ko(){for(var e,r,n=0,t="",s=arguments.length;n<s;n++)(e=arguments[n])&&(r=It(e))&&(t&&(t+=" "),t+=r);return t}const tr=(...e)=>I(ko(...e)),wo=A("ds-rounded-full ds-border-t-acuity-blue ds-border-x-acuity-blue ds-border-b-neutrals-transparent ds-border-solid ds-animate-spin",{variants:{size:{small:["ds-w-4","ds-h-4","ds-border"],medium:["ds-w-5","ds-h-5","ds-border-2"],large:["ds-w-7","ds-h-7","ds-border-[3px]"],"extra-large":["ds-w-[6.5rem]","ds-h-[6.5rem]","ds-border-[6px]"]}}}),yo=A("preflight ds-inline-block ds-rounded focus-visible:ds-outline-none focus-visible:ds-ring-2 focus-visible:ds-ring-acuity-blue",{variants:{size:{small:"ds-p-1",medium:"ds-p-2",large:"ds-p-3","extra-large":"ds-p-4"}}}),jo=({size:e="medium",focusable:r=!0,label:n="",ariaLive:t="assertive",className:s=""})=>i.jsx("div",{tabIndex:r?0:void 0,"aria-label":n,"aria-live":t,className:r?tr(yo({size:e}),s):`preflight ds-rounded ${s}`,role:"status",children:i.jsx("div",{className:tr(wo({size:e}))})}),pr=jo,Dt=(e,r,n)=>{if(r){e.preventDefault();return}n(e)},br=(e,r,n)=>{if(r){e.preventDefault();return}n(e)},Eo=A(["preflight","!ds-font-sans","ds-rounded","ds-text-base","ds-font-semibold","ds-border","ds-transition","ds-duration-100","ds-text-nowrap","focus-visible:ds-border","focus-visible:ds-ring","focus-visible:ds-ring-2","focus-visible:ds-outline-none","focus-visible:ds-ring-offset-2"],{variants:{variant:{default:["ds-p-[10px]","ds-relative","ds-group"],small:["ds-p-1"]},isTransparent:{false:"",true:""},disabled:{false:["ds-text-neutrals-black","hover:ds-bg-neutrals-transparent-light","hover:ds-border-neutrals-transparent","active:ds-bg-neutrals-transparent-medium","active:ds-border-neutrals-transparent","focus-visible:ds-bg-neutrals-transparent-light","focus-visible:ds-border-neutrals-dark","focus-visible:ds-ring-neutrals-black"],true:["ds-bg-neutrals-transparent-light","ds-text-neutrals-dark","ds-border-neutrals-transparent","ds-cursor-not-allowed","focus-visible:ds-border-neutrals-light","focus-visible:ds-ring-neutrals-black"]}},compoundVariants:[{isTransparent:!0,disabled:!1,className:["ds-bg-neutrals-transparent","ds-border-neutrals-transparent"]},{isTransparent:!1,disabled:!1,className:["ds-bg-neutrals-white","ds-border-neutrals-white"]}]}),Lo=({variant:e="default",label:r="",disabled:n=!1,className:t="",onClick:s,iconName:o,iconSize:a="medium",hasIndicator:l=!1,hasTooltip:c=!0,isTransparent:p=!0,iconColor:f="",stateful:h=!1,...g})=>{const b=h||n;return i.jsxs("button",{onClick:x=>br(x,b,s),"aria-disabled":b,"aria-label":r,"aria-pressed":h,"aria-live":h?"assertive":"off",className:tr(Eo({variant:e,isTransparent:p,disabled:b}),t),...g,children:[h&&e==="default"?i.jsx(pr,{size:"medium",focusable:!1,label:r,ariaLive:"off"}):i.jsx(me,{size:e==="small"?"small":a,name:o!=null?o:"edit",hasIndicator:l,className:n?"ds-text-neutrals-dark":f&&f!==""?f:"ds-text-neutrals-black",altText:r}),e==="default"&&c&&i.jsx("div",{"aria-hidden":"true",className:`${b?"group-hover:ds-hidden":"group-hover:ds-block group-active:ds-block"} ds-absolute ds-left-1/2 ds-top-[3.5rem] ds-z-10 ds-hidden ds--translate-x-1/2 ds-cursor-default ds-text-nowrap ds-rounded ds-bg-neutrals-darker ds-px-2 ds-py-1 ds-text-sm ds-font-normal ds-text-neutrals-white ds-transition-all ds-duration-100 group-focus-visible:ds-block`,children:r})]})},vr=Lo,$o=A(["preflight","ds-flex","ds-w-full","ds-flex-row","ds-justify-between","ds-rounded","ds-pl-5","ds-pr-[14px]","ds-py-4","!ds-font-sans"],{variants:{variant:{success:["ds-bg-success-green-lightest","ds-text-success-green-darkest"],info:["ds-bg-information-blue-lightest","ds-text-information-blue-darkest"],warning:["ds-bg-warning-yellow-lightest","ds-text-neutrals-darker"],error:["ds-bg-danger-red-lightest","ds-text-danger-red-darkest"]}}}),Mo=e=>I($o(e)),So=A("",{variants:{variant:{success:"ds-text-success-green-dark",info:"ds-text-information-blue-dark",warning:"ds-text-warning-yellow-darkest",error:"ds-text-danger-red-dark"}}}),yt=e=>I(So(e)),No=A("",{variants:{variant:{success:["ds-text-success-green-darkest","ds-stroke-success-green-darkest"],info:["ds-text-information-blue-darkest","ds-stroke-information-blue-darkest"],warning:["ds-text-neutrals-darker","ds-stroke-neutrals-darker"],error:["ds-text-danger-red-darkest","ds-stroke-danger-red-darkest"]}}}),We=e=>I(No(e)),To=({variant:e="info",isDismissible:r=!0,showIcon:n=!0,titleSize:t="large",title:s="",description:o="",content:a=void 0,closeAriaLabel:l="Close button",id:c="alert_"+Ot().toString(),handleClose:p,className:f="",...h})=>{const g={success:i.jsx(Hr,{className:We({variant:e})}),info:i.jsx(Br,{className:We({variant:e})}),warning:i.jsx(zr,{className:We({variant:e})}),error:i.jsx(Ur,{className:We({variant:e})})},b=()=>a!==void 0&&o!==""&&!(t!=="none"||s!==""),x=()=>t==="large"?"ds-flex-col ds-flex ds-gap-3":t==="small"?"ds-flex-row ds-flex ds-gap-3":"ds-flex";return i.jsxs("div",{id:c,className:I(Mo({variant:e}),f),...h,children:[i.jsxs("div",{className:"ds-flex ds-flex-row",children:[n&&i.jsx("div",{className:`ds-flex ds-pr-2 ${t==="large"&&s!==""&&"ds-h-[1.75rem] ds-items-center"}`,children:g[e]}),i.jsxs("div",{className:`ds-flex ds-flex-col ${t!=="none"&&s!==""?"ds-gap-3":"ds-justify-center"}`,children:[i.jsxs("div",{className:x(),children:[t!=="none"&&s!==""&&i.jsx("h1",{className:t==="large"?"ds-text-xl ds-font-semibold":"ds-hidden",children:s}),i.jsxs("div",{className:yt({variant:e}),children:[t!=="none"&&s!==""&&i.jsx("span",{className:`${We({variant:e})} ${t==="small"&&s!==""?"ds-pr-2 ds-text-base ds-font-semibold":"ds-hidden"}`,children:s}),i.jsx("span",{className:`${t==="none"||s===""?"ds-mb-3":""}`,children:o})]})]}),a&&i.jsx("div",{className:`${yt({variant:e})} ${b()?"ds-mt-3":""}`,children:a})]})]}),r===!0&&i.jsx("div",{className:"-ds-mt-2 ds-h-5",children:i.jsx(vr,{variant:"default",iconSize:"small",iconName:"close",hasTooltip:!1,label:l,disabled:!1,iconColor:We({variant:e}),onClick:p})})]})},Bt=To,Ht=["preflight","!ds-font-sans","ds-rounded","ds-text-base","ds-font-semibold","ds-border","ds-transition","ds-duration-100","ds-text-nowrap","focus-visible:ds-ring","focus-visible:ds-ring-2","focus-visible:ds-outline-none","focus-visible:ds-ring-offset-2"],Ro=["!ds-bg-neutrals-lighter","!ds-text-neutrals-dark","!ds-border-neutrals-light","!ds-cursor-not-allowed","!hover:ds-bg-neutrals-lighter","!hover:ds-border-neutrals-light","!hover:ds-text-neutrals-dark","!focus-visible:ds-ring-neutrals-black","!focus-visible:ds-border-neutrals-light"],Ao=[...Ht,"ds-p-1","!ds-bg-neutrals-lighter","!ds-text-neutrals-dark","!ds-cursor-not-allowed","ds-border-neutrals-lighter","focus:ds-border-neutrals-light","focus-visible:ds-ring-neutrals-black","!focus-visible:ds-border-neutrals-light","active:ds-border-neutrals-lighter"],Po=A(Ht,{variants:{variant:{primary:["ds-py-3","ds-px-4","ds-text-neutrals-white","ds-bg-acuity-blue","ds-border-acuity-blue","hover:ds-bg-acuity-blue-dark","hover:ds-border-acuity-blue-dark","active:ds-bg-acuity-blue-darkest","active:ds-border-acuity-blue-darkest","active:ds-text-neutrals-white","focus-visible:ds-text-neutrals-black","focus-visible:ds-bg-acuity-blue-light","focus-visible:ds-border-acuity-blue"],secondary:["ds-py-3","ds-px-4","ds-text-neutrals-black","ds-bg-neutrals-white","ds-border-neutrals","hover:ds-bg-neutrals-lighter","hover:ds-border-neutrals-darker","active:ds-bg-neutrals-dark","active:ds-border-neutrals-dark","active:ds-text-neutrals-white","focus-visible:ds-text-neutrals-black","focus-visible:ds-bg-neutrals-lighter","focus-visible:ds-border-neutrals-black","focus-visible:ds-ring-neutrals-black"],danger:["ds-py-3","ds-px-4","ds-text-neutrals-white","ds-bg-danger-red","ds-border-danger-red","hover:ds-bg-danger-red-dark","hover:ds-border-danger-red-dark","active:ds-bg-danger-red-darkest","active:ds-border-danger-red-darkest","active:ds-text-neutrals-white","focus-visible:ds-text-neutrals-black","focus-visible:ds-bg-danger-red-lighter","focus-visible:ds-border-danger-red-darkest"],inline:["ds-p-1","ds-text-neutrals-black","ds-bg-neutrals-white","ds-border-neutrals-white","hover:ds-bg-neutrals-lighter","hover:ds-border-neutrals-lighter","active:ds-bg-neutrals-dark","active:ds-border-neutrals-dark","active:ds-text-neutrals-white","focus-visible:ds-text-neutrals-black","focus-visible:ds-bg-neutrals-lighter","focus-visible:ds-border-neutrals-dark","focus-visible:ds-ring-neutrals-black"]},disabled:{true:Ro,false:[]}},compoundVariants:[{variant:"primary",disabled:!1,class:"focus-visible:ds-ring-acuity-blue"},{variant:"danger",disabled:!1,class:"focus-visible:ds-ring-danger-red-darkest"},{variant:["primary","danger"],disabled:!0,class:"focus-visible:ds-ring-neutrals-black"}]}),Fo=(e,r,n)=>e==="inline"&&r===!0?tr(Ao):tr(Po({variant:e,disabled:r}),n),Oo=({variant:e="primary",text:r,label:n="",disabled:t=!1,className:s="",onClick:o,iconName:a,iconIndicator:l=!1,leadingIcon:c=!1,trailingIcon:p=!1,stateful:f=!1,...h})=>{const g=f||t;return i.jsx(i.Fragment,{children:i.jsx("button",{"aria-disabled":g,"aria-pressed":f,onClick:b=>br(b,g,o),className:Fo(e,g,s),"aria-label":n,"aria-live":f?"assertive":"off",...h,children:i.jsxs("div",{className:"ds-flex ds-flex-wrap ds-content-center ds-justify-center",children:[c&&(f?i.jsx(pr,{size:"small",className:"ds-mr-2 ds-self-center",focusable:!1,label:n,ariaLive:"off"}):i.jsx(me,{size:"small",name:a!=null?a:"edit",hasIndicator:l,className:"ds-mr-2 ds-self-center",altText:""})),i.jsx("span",{children:r}),p&&(f?i.jsx(pr,{size:"small",className:"ds-ml-2 ds-self-center",focusable:!1,ariaLive:"off",label:n}):i.jsx(me,{size:"small",name:a!=null?a:"edit",hasIndicator:l,className:"ds-ml-2 ds-self-center",altText:""}))]})})})},zt=Oo,Wo=({content:e=void 0,iconName:r=void 0,title:n="",footer:t=void 0,className:s="",...o})=>i.jsxs("div",{...o,className:I("preflight ds-flex ds-flex-col ds-items-start ds-gap-6 ds-rounded-lg ds-border ds-border-neutrals-light ds-p-5",s),children:[n&&i.jsxs("div",{className:"ds-flex ds-flex-row ds-items-center ds-gap-3",children:[r&&i.jsx(me,{size:"medium",name:r,className:"ds-text-neutrals-darker",hasIndicator:!1,altText:r}),i.jsx(Yr,{size:"small",text:n,hasMarginBottom:!1})]}),e&&i.jsx("div",{className:"ds-text-base",children:e}),t&&i.jsx("div",{children:t})]}),_o=Wo,Vo=A(["preflight","ds-h-4","ds-w-4","focus:ds-ring-acuity-blue","ds-border-neutrals","ds-border","ds-border-solid"],{variants:{disabled:{false:["ds-text-acuity-blue","ds-bg-neutrals-white","hover:ds-border-acuity-blue","hover:ds-bg-acuity-blue-lightest","hover:ds-text-acuity-blue-dark","active:ds-border-acuity-blue-darkest","active:ds-bg-acuity-blue-darkest","active:ds-text-acuity-blue-darkest","ds-cursor-pointer"],true:["ds-text-neutrals","ds-bg-neutrals-lighter"]}}}),Ut=e=>I(Vo(e)),Io=A(["preflight","ds-font-base","!ds-font-sans","ds-ml-2","ds-text-base"],{variants:{disabled:{false:"ds-cursor-pointer",true:"ds-text-neutrals"}}}),Gt=e=>I(Io(e)),Zr={variants:{state:{default:["ds-border-neutrals","ds-text-neutrals-darker","focus:ds-border-acuity-blue","focus:ds-ring-acuity-blue","focus:ds-ring-offset-2","focus:ds-ring-2"],error:["ds-border-danger-red","ds-text-danger-red-darkest","focus:ds-border-danger-red","focus:ds-ring-danger-red-dark","focus:ds-ring-offset-2","focus:ds-ring-2"],success:["ds-border-success-green","ds-text-neutrals-darker","focus:ds-border-success-green","focus:ds-ring-success-green-dark","focus:ds-ring-offset-2","focus:ds-ring-2"]},disabled:{true:["!ds-border-neutrals","!ds-text-neutrals-darker","!ds-bg-neutrals-lighter","focus:!ds-border-neutrals","focus:!ds-ring-neutrals-dark","ds-cursor-not-allowed"]}}},Do=({id:e,label:r="",name:n="",checked:t=!1,disabled:s=!1,indeterminate:o=!1,onChange:a=()=>{},onClick:l=()=>{},...c})=>{const p=c["aria-label"]||r||"checkbox_"+e;return i.jsxs("div",{className:"ds-items-top ds-flex",children:[i.jsx("input",{id:e,name:n,"aria-label":p,"aria-disabled":s,type:"checkbox",className:`ds-form-checkbox ds-mt-1 ${Ut({disabled:s})} ds-rounded`,checked:t,ref:f=>f&&(f.indeterminate=o),onClick:f=>br(f,s,l),onChange:f=>Dt(f,s,a),...c}),r&&i.jsx("label",{htmlFor:e,className:Gt({disabled:s}),children:r})]})},Bo=Do,Ho=e=>["Zero","One","Two","Three","Four","Five","Six","Seven","Eight","Nine"][e]||e.toString(),zo=({children:e,className:r="",onClick:n,successTitle:t,successDescription:s,errorTitle:o,buttonText:a,...l})=>{const c="formValidation_"+Ot().toString(),[p,f]=u.useState(!1),[h,g]=u.useState(!1),[b,x]=u.useState(""),[k,C]=u.useState(!0),[w,j]=u.useState(""),[Z,T]=u.useState("success"),H=32,ie=u.Children.toArray(e).filter(y=>u.isValidElement(y)),Y=y=>{n(y),C(!1),g(!0),K(c)},z=y=>M=>{y&&y(M),k||f(!0)},q=u.Children.map(e,y=>u.isValidElement(y)?u.cloneElement(y,{onBlur:z(y.props.onBlur)}):y),K=y=>{const M=document.getElementById(y);if(M){const O=M.getBoundingClientRect().top+window.scrollY;window.scrollTo({top:O-H,behavior:"smooth"})}},ee=y=>{o?j(o):y==1?j("An error was found in the information you submitted"):j(`${Ho(y)} errors were found in the information you submitted`)};return u.useEffect(()=>{if(p||h){const y=ie.filter(M=>M.props.state=="error");y.length==0?p?C(!0):(T("success"),x(s),j(t)):p&&Z=="success"?C(!0):(T("error"),x(i.jsx("ul",{children:y.map((M,O)=>i.jsx("li",{children:i.jsxs("span",{onClick:()=>K("label_"+M.props.id),children:[y.length>1?`${O+1}. `:"",M.props.message]})},M.props.id))})),ee(y.length)),f(!1),g(!1)}},[p,h]),i.jsxs("div",{className:`prelight ${r}`,id:c,...l,children:[!k&&i.jsx("div",{className:"preflight ds-mb-6 ds-rounded",children:i.jsx(Bt,{description:b,isDismissible:Z=="success",title:w,titleSize:Z=="success"?"small":"large",variant:Z,handleClose:()=>{C(!0)}})}),q,i.jsx(zt,{text:a,onClick:Y})]})},Uo=zo,Pe="large",Ie="medium",De="small",Be="extra-large",jt="h1",Go="h2",Zo="h3",Yo="div";function qo(e){return{[Pe]:jt,[Ie]:Go,[De]:Zo,[Be]:Yo}[e]||jt}const Ko=A("preflight !ds-font-sans",{variants:{size:{[De]:"ds-mb-3",[Ie]:"ds-mb-5",[Pe]:"ds-mb-5",[Be]:"ds-mb-6"}}}),cr=A("ds-text-neutrals-darker !ds-font-sans",{variants:{size:{[De]:"ds-text-xl ds-font-semibold",[Ie]:"ds-text-2xl ds-font-semibold",[Pe]:"ds-text-3xl ds-font-bold",[Be]:"ds-text-4xl ds-font-semibold"}}}),Jo=A("ds-mt-0 ds-font-bold ds-text-neutrals-dark",{variants:{size:{[De]:"ds-mb-1 ds-text-sm",[Ie]:"ds-mb-2 ds-text-sm",[Pe]:"ds-mb-2 ds-text-base",[Be]:"ds-mb-3 ds-text-base"}}}),Xo=A("ds-mb-0 ds-text-neutrals-dark",{variants:{size:{[De]:"ds-mt-1 ds-text-base",[Ie]:"ds-mt-2 ds-text-base",[Pe]:"ds-mt-2 ds-text-base",[Be]:"ds-mt-3 ds-text-base"}}}),Qo=A("ds-text-neutrals-light",{variants:{size:{[De]:"ds-mt-2",[Ie]:"ds-mt-2",[Pe]:"ds-mt-2",[Be]:"ds-mt-3"}}}),ea=({size:e=Pe,className:r="",text:n="",descriptionTop:t="",descriptionBottom:s="",hasHorizontalRule:o=!1,hasMarginBottom:a=!0,headingTag:l,...c})=>{const p=t?i.jsx("p",{className:Jo({size:e}),children:t}):null,f=s?i.jsx("p",{className:Xo({size:e}),children:s}):null,h=o?i.jsx("hr",{className:Qo({size:e})}):null,g=a?Ko({size:e}):"preflight",b={div:i.jsx("div",{className:cr({size:e}),children:n}),h3:i.jsx("h3",{className:cr({size:e}),children:n}),h2:i.jsx("h2",{className:cr({size:e}),children:n}),h1:i.jsx("h1",{className:cr({size:e}),children:n})};return i.jsxs("div",{className:I(g,r),...c,children:[p,b[l||qo(e)],f,h]})},Yr=ea,ra=({label:e="",name:r,id:n,disabled:t=!1,onChange:s=()=>{},onClick:o=()=>{},...a})=>i.jsxs("div",{className:"ds-flex ds-h-4 ds-items-center",children:[i.jsx("input",{id:n,name:r,type:"radio",className:`ds-form-radio ${Ut({disabled:t})}`,"aria-disabled":t,onChange:l=>Dt(l,t,s),onClick:l=>br(l,t,o),...a}),i.jsx("label",{htmlFor:n,className:Gt({disabled:t}),children:e})]}),ta=ra,na=A(["preflight","!ds-font-sans","ds-inline-flex","ds-items-center","ds-gap-1","ds-flex-direction-row","ds-cursor-pointer","ds-text-acuity-blue","active:ds-text-acuity-blue-darkest","focus-visible:ds-outline-none","focus-visible:ds-border-2","focus-visible:ds-rounded","focus-visible:ds-border-acuity-blue","focus-visible:ds-px-[2px]","focus-visible:ds-py-[2px]","focus-visible:-ds-mx-[4px]","focus-visible:-ds-my-[4px]"],{variants:{type:{default:["ds-font-bold","hover:ds-underline"],inline:["ds-underline","hover:ds-no-underline","active:ds-no-underline","visited:ds-text-[#551A8B]"]}}}),sa=({text:e,href:r,type:n="default",iconName:t,...s})=>i.jsxs("a",{href:r,type:n,className:I(na({type:n})),...s,children:[e,t&&i.jsx(me,{altText:e,name:t,size:"small"})]}),oa=sa;var aa=Object.defineProperty,ia=(e,r,n)=>r in e?aa(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,Mr=(e,r,n)=>(ia(e,typeof r!="symbol"?r+"":r,n),n);let la=class{constructor(){Mr(this,"current",this.detect()),Mr(this,"handoffState","pending"),Mr(this,"currentId",0)}set(r){this.current!==r&&(this.handoffState="pending",this.currentId=0,this.current=r)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window=="undefined"||typeof document=="undefined"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Ae=new la;function qr(e){return Ae.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}function xr(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(r=>setTimeout(()=>{throw r}))}function Ne(){let e=[],r={addEventListener(n,t,s,o){return n.addEventListener(t,s,o),r.add(()=>n.removeEventListener(t,s,o))},requestAnimationFrame(...n){let t=requestAnimationFrame(...n);return r.add(()=>cancelAnimationFrame(t))},nextFrame(...n){return r.requestAnimationFrame(()=>r.requestAnimationFrame(...n))},setTimeout(...n){let t=setTimeout(...n);return r.add(()=>clearTimeout(t))},microTask(...n){let t={current:!0};return xr(()=>{t.current&&n[0]()}),r.add(()=>{t.current=!1})},style(n,t,s){let o=n.style.getPropertyValue(t);return Object.assign(n.style,{[t]:s}),this.add(()=>{Object.assign(n.style,{[t]:o})})},group(n){let t=Ne();return n(t),this.add(()=>t.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let t=e.indexOf(n);if(t>=0)for(let s of e.splice(t,1))s()}},dispose(){for(let n of e.splice(0))n()}};return r}function Kr(){let[e]=u.useState(Ne);return u.useEffect(()=>()=>e.dispose(),[e]),e}let Q=(e,r)=>{Ae.isServer?u.useEffect(e,r):u.useLayoutEffect(e,r)};function he(e){let r=u.useRef(e);return Q(()=>{r.current=e},[e]),r}let F=function(e){let r=he(e);return u.useCallback((...n)=>r.current(...n),[r])},da=u.createContext(void 0);function ca(){return u.useContext(da)}function Qe(...e){return Array.from(new Set(e.flatMap(r=>typeof r=="string"?r.split(" "):[]))).filter(Boolean).join(" ")}function G(e,r,...n){if(e in r){let s=r[e];return typeof s=="function"?s(...n):s}let t=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(r).map(s=>`"${s}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,G),t}var hr=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(hr||{}),Se=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Se||{});function ue({ourProps:e,theirProps:r,slot:n,defaultTag:t,features:s,visible:o=!0,name:a,mergeRefs:l}){l=l!=null?l:ua;let c=Zt(r,e);if(o)return ur(c,n,t,a,l);let p=s!=null?s:0;if(p&2){let{static:f=!1,...h}=c;if(f)return ur(h,n,t,a,l)}if(p&1){let{unmount:f=!0,...h}=c;return G(f?0:1,{0(){return null},1(){return ur({...h,hidden:!0,style:{display:"none"}},n,t,a,l)}})}return ur(c,n,t,a,l)}function ur(e,r={},n,t,s){let{as:o=n,children:a,refName:l="ref",...c}=Sr(e,["unmount","static"]),p=e.ref!==void 0?{[l]:e.ref}:{},f=typeof a=="function"?a(r):a;"className"in c&&c.className&&typeof c.className=="function"&&(c.className=c.className(r)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let h={};if(r){let g=!1,b=[];for(let[x,k]of Object.entries(r))typeof k=="boolean"&&(g=!0),k===!0&&b.push(x.replace(/([A-Z])/g,C=>`-${C.toLowerCase()}`));if(g){h["data-headlessui-state"]=b.join(" ");for(let x of b)h[`data-${x}`]=""}}if(o===u.Fragment&&(Object.keys(_e(c)).length>0||Object.keys(_e(h)).length>0))if(!u.isValidElement(f)||Array.isArray(f)&&f.length>1){if(Object.keys(_e(c)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${t} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(_e(c)).concat(Object.keys(_e(h))).map(g=>` - ${g}`).join(`
28
28
  `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(g=>` - ${g}`).join(`
29
29
  `)].join(`
30
- `))}else{let g=f.props,b=g==null?void 0:g.className,x=typeof b=="function"?(...w)=>Qe(b(...w),c.className):Qe(b,c.className),k=x?{className:x}:{},C=Zt(f.props,_e(Sr(c,["ref"])));for(let w in h)w in C&&delete h[w];return u.cloneElement(f,Object.assign({},C,h,p,{ref:s(f.ref,p.ref)},k))}return u.createElement(o,Object.assign({},Sr(c,["ref"]),o!==u.Fragment&&p,o!==u.Fragment&&h),f)}function ua(...e){return e.every(r=>r==null)?void 0:r=>{for(let n of e)n!=null&&(typeof n=="function"?n(r):n.current=r)}}function Zt(...e){if(e.length===0)return{};if(e.length===1)return e[0];let r={},n={};for(let t of e)for(let s in t)s.startsWith("on")&&typeof t[s]=="function"?(n[s]!=null||(n[s]=[]),n[s].push(t[s])):r[s]=t[s];if(r.disabled||r["aria-disabled"])for(let t in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(t)&&(n[t]=[s=>{var o;return(o=s==null?void 0:s.preventDefault)==null?void 0:o.call(s)}]);for(let t in n)Object.assign(r,{[t](s,...o){let a=n[t];for(let l of a){if((s instanceof Event||(s==null?void 0:s.nativeEvent)instanceof Event)&&s.defaultPrevented)return;l(s,...o)}}});return r}function ae(e){var r;return Object.assign(u.forwardRef(e),{displayName:(r=e.displayName)!=null?r:e.name})}function _e(e){let r=Object.assign({},e);for(let n in r)r[n]===void 0&&delete r[n];return r}function Sr(e,r=[]){let n=Object.assign({},e);for(let t of r)t in n&&delete n[t];return n}let fa="div";var mr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(mr||{});function pa(e,r){var n;let{features:t=1,...s}=e,o={ref:r,"aria-hidden":(t&2)===2?!0:(n=s["aria-hidden"])!=null?n:void 0,hidden:(t&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(t&4)===4&&(t&2)!==2&&{display:"none"}}};return ue({ourProps:o,theirProps:s,slot:{},defaultTag:fa,name:"Hidden"})}let Pr=ae(pa),ha=u.createContext(null);function ma({children:e}){let r=u.useContext(ha);if(!r)return u.createElement(u.Fragment,null,e);let{target:n}=r;return n?St.createPortal(u.createElement(u.Fragment,null,e),n):null}let Yt=Symbol();function ga(e,r=!0){return Object.assign(e,{[Yt]:r})}function ge(...e){let r=u.useRef(e);u.useEffect(()=>{r.current=e},[e]);let n=F(t=>{for(let s of r.current)s!=null&&(typeof s=="function"?s(t):s.current=t)});return e.every(t=>t==null||(t==null?void 0:t[Yt]))?void 0:n}let Jr=u.createContext(null);Jr.displayName="DescriptionContext";function qt(){let e=u.useContext(Jr);if(e===null){let r=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(r,qt),r}return e}function ba(){let[e,r]=u.useState([]);return[e.length>0?e.join(" "):void 0,u.useMemo(()=>function(n){let t=F(o=>(r(a=>[...a,o]),()=>r(a=>{let l=a.slice(),c=l.indexOf(o);return c!==-1&&l.splice(c,1),l}))),s=u.useMemo(()=>({register:t,slot:n.slot,name:n.name,props:n.props,value:n.value}),[t,n.slot,n.name,n.props,n.value]);return u.createElement(Jr.Provider,{value:s},n.children)},[r])]}let va="p";function xa(e,r){let n=u.useId(),t=ca(),{id:s=`headlessui-description-${n}`,...o}=e,a=qt(),l=ge(r);Q(()=>a.register(s),[s,a.register]);let c=t||!1,p=u.useMemo(()=>({...a.slot,disabled:c}),[a.slot,c]),f={ref:l,...a.props,id:s};return ue({ourProps:f,theirProps:o,slot:p,defaultTag:va,name:a.name||"Description"})}let Ca=ae(xa),ka=Object.assign(Ca,{});var Kt=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Kt||{});let wa=u.createContext(()=>{});function ya({value:e,children:r}){return u.createElement(wa.Provider,{value:e},r)}let Fr=new Map,er=new Map;function Et(e){var r;let n=(r=er.get(e))!=null?r:0;return er.set(e,n+1),n!==0?()=>Lt(e):(Fr.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>Lt(e))}function Lt(e){var r;let n=(r=er.get(e))!=null?r:1;if(n===1?er.delete(e):er.set(e,n-1),n!==1)return;let t=Fr.get(e);t&&(t["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",t["aria-hidden"]),e.inert=t.inert,Fr.delete(e))}function ja({allowed:e,disallowed:r}={},n=!0){Q(()=>{var t,s;if(!n)return;let o=Ne();for(let l of(t=r==null?void 0:r())!=null?t:[])l&&o.add(Et(l));let a=(s=e==null?void 0:e())!=null?s:[];for(let l of a){if(!l)continue;let c=qr(l);if(!c)continue;let p=l.parentElement;for(;p&&p!==c.body;){for(let f of p.children)a.some(h=>f.contains(h))||o.add(Et(f));p=p.parentElement}}return o.dispose},[n,e,r])}function Jt(e,r,n=!0){let t=he(s=>{let o=s.getBoundingClientRect();o.x===0&&o.y===0&&o.width===0&&o.height===0&&r()});u.useEffect(()=>{if(!n)return;let s=e===null?null:e instanceof HTMLElement?e:e.current;if(!s)return;let o=Ne();if(typeof ResizeObserver!="undefined"){let a=new ResizeObserver(()=>t.current(s));a.observe(s),o.add(()=>a.disconnect())}if(typeof IntersectionObserver!="undefined"){let a=new IntersectionObserver(()=>t.current(s));a.observe(s),o.add(()=>a.disconnect())}return()=>o.dispose()},[e,t,n])}let Or=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),Ea=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var we=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(we||{}),Wr=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Wr||{}),La=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(La||{});function $a(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Or)).sort((r,n)=>Math.sign((r.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function Ma(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Ea)).sort((r,n)=>Math.sign((r.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Xt=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Xt||{});function Sa(e,r=0){var n;return e===((n=qr(e))==null?void 0:n.body)?!1:G(r,{0(){return e.matches(Or)},1(){let t=e;for(;t!==null;){if(t.matches(Or))return!0;t=t.parentElement}return!1}})}var Na=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Na||{});typeof window!="undefined"&&typeof document!="undefined"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function ye(e){e==null||e.focus({preventScroll:!0})}let Ta=["textarea","input"].join(",");function Ra(e){var r,n;return(n=(r=e==null?void 0:e.matches)==null?void 0:r.call(e,Ta))!=null?n:!1}function Aa(e,r=n=>n){return e.slice().sort((n,t)=>{let s=r(n),o=r(t);if(s===null||o===null)return 0;let a=s.compareDocumentPosition(o);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function rr(e,r,{sorted:n=!0,relativeTo:t=null,skipElements:s=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,a=Array.isArray(e)?n?Aa(e):e:r&64?Ma(e):$a(e);s.length>0&&a.length>1&&(a=a.filter(b=>!s.some(x=>x!=null&&"current"in x?(x==null?void 0:x.current)===b:x===b))),t=t!=null?t:o.activeElement;let l=(()=>{if(r&5)return 1;if(r&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(r&1)return 0;if(r&2)return Math.max(0,a.indexOf(t))-1;if(r&4)return Math.max(0,a.indexOf(t))+1;if(r&8)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),p=r&32?{preventScroll:!0}:{},f=0,h=a.length,g;do{if(f>=h||f+h<=0)return 0;let b=c+f;if(r&16)b=(b+h)%h;else{if(b<0)return 3;if(b>=h)return 1}g=a[b],g==null||g.focus(p),f+=l}while(g!==o.activeElement);return r&6&&Ra(g)&&g.select(),2}function Qt(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Pa(){return/Android/gi.test(window.navigator.userAgent)}function Fa(){return Qt()||Pa()}function fr(e,r,n){let t=he(r);u.useEffect(()=>{function s(o){t.current(o)}return document.addEventListener(e,s,n),()=>document.removeEventListener(e,s,n)},[e,n])}function en(e,r,n){let t=he(r);u.useEffect(()=>{function s(o){t.current(o)}return window.addEventListener(e,s,n),()=>window.removeEventListener(e,s,n)},[e,n])}function Oa(e,r,n=!0){let t=u.useRef(!1);u.useEffect(()=>{requestAnimationFrame(()=>{t.current=n})},[n]);function s(a,l){if(!t.current||a.defaultPrevented)return;let c=l(a);if(c===null||!c.getRootNode().contains(c)||!c.isConnected)return;let p=function f(h){return typeof h=="function"?f(h()):Array.isArray(h)||h instanceof Set?h:[h]}(e);for(let f of p){if(f===null)continue;let h=f instanceof HTMLElement?f:f.current;if(h!=null&&h.contains(c)||a.composed&&a.composedPath().includes(h))return}return!Sa(c,Xt.Loose)&&c.tabIndex!==-1&&a.preventDefault(),r(a,c)}let o=u.useRef(null);fr("pointerdown",a=>{var l,c;t.current&&(o.current=((c=(l=a.composedPath)==null?void 0:l.call(a))==null?void 0:c[0])||a.target)},!0),fr("mousedown",a=>{var l,c;t.current&&(o.current=((c=(l=a.composedPath)==null?void 0:l.call(a))==null?void 0:c[0])||a.target)},!0),fr("click",a=>{Fa()||o.current&&(s(a,()=>o.current),o.current=null)},!0),fr("touchend",a=>s(a,()=>a.target instanceof HTMLElement?a.target:null),!0),en("blur",a=>s(a,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function nr(...e){return u.useMemo(()=>qr(...e),[...e])}function rn(e,r,n,t){let s=he(n);u.useEffect(()=>{e=e!=null?e:window;function o(a){s.current(a)}return e.addEventListener(r,o,t),()=>e.removeEventListener(r,o,t)},[e,r,t])}function Wa(e){return u.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}function _a(e,r){let n=e(),t=new Set;return{getSnapshot(){return n},subscribe(s){return t.add(s),()=>t.delete(s)},dispatch(s,...o){let a=r[s].call(n,...o);a&&(n=a,t.forEach(l=>l()))}}}function Va(){let e;return{before({doc:r}){var n;let t=r.documentElement,s=(n=r.defaultView)!=null?n:window;e=Math.max(0,s.innerWidth-t.clientWidth)},after({doc:r,d:n}){let t=r.documentElement,s=Math.max(0,t.clientWidth-t.offsetWidth),o=Math.max(0,e-s);n.style(t,"paddingRight",`${o}px`)}}}function Ia(){return Qt()?{before({doc:e,d:r,meta:n}){function t(s){return n.containers.flatMap(o=>o()).some(o=>o.contains(s))}r.microTask(()=>{var s;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let l=Ne();l.style(e.documentElement,"scrollBehavior","auto"),r.add(()=>r.microTask(()=>l.dispose()))}let o=(s=window.scrollY)!=null?s:window.pageYOffset,a=null;r.addEventListener(e,"click",l=>{if(l.target instanceof HTMLElement)try{let c=l.target.closest("a");if(!c)return;let{hash:p}=new URL(c.href),f=e.querySelector(p);f&&!t(f)&&(a=f)}catch(c){}},!0),r.addEventListener(e,"touchstart",l=>{if(l.target instanceof HTMLElement)if(t(l.target)){let c=l.target;for(;c.parentElement&&t(c.parentElement);)c=c.parentElement;r.style(c,"overscrollBehavior","contain")}else r.style(l.target,"touchAction","none")}),r.addEventListener(e,"touchmove",l=>{if(l.target instanceof HTMLElement){if(l.target.tagName==="INPUT")return;if(t(l.target)){let c=l.target;for(;c.parentElement&&c.dataset.headlessuiPortal!==""&&!(c.scrollHeight>c.clientHeight||c.scrollWidth>c.clientWidth);)c=c.parentElement;c.dataset.headlessuiPortal===""&&l.preventDefault()}else l.preventDefault()}},{passive:!1}),r.add(()=>{var l;let c=(l=window.scrollY)!=null?l:window.pageYOffset;o!==c&&window.scrollTo(0,o),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}:{}}function Da(){return{before({doc:e,d:r}){r.style(e.documentElement,"overflow","hidden")}}}function Ba(e){let r={};for(let n of e)Object.assign(r,n(r));return r}let Re=_a(()=>new Map,{PUSH(e,r){var n;let t=(n=this.get(e))!=null?n:{doc:e,count:0,d:Ne(),meta:new Set};return t.count++,t.meta.add(r),this.set(e,t),this},POP(e,r){let n=this.get(e);return n&&(n.count--,n.meta.delete(r)),this},SCROLL_PREVENT({doc:e,d:r,meta:n}){let t={doc:e,d:r,meta:Ba(n)},s=[Ia(),Va(),Da()];s.forEach(({before:o})=>o==null?void 0:o(t)),s.forEach(({after:o})=>o==null?void 0:o(t))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});Re.subscribe(()=>{let e=Re.getSnapshot(),r=new Map;for(let[n]of e)r.set(n,n.documentElement.style.overflow);for(let n of e.values()){let t=r.get(n.doc)==="hidden",s=n.count!==0;(s&&!t||!s&&t)&&Re.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&Re.dispatch("TEARDOWN",n)}});function Ha(e,r,n=()=>({containers:[]})){let t=Wa(Re),s=e?t.get(e):void 0,o=s?s.count>0:!1;return Q(()=>{if(!(!e||!r))return Re.dispatch("PUSH",e,n),()=>Re.dispatch("POP",e,n)},[r,e]),o}function za(e,r,n=()=>[document.body]){Ha(e,r,t=>{var s;return{containers:[...(s=t.containers)!=null?s:[],n]}})}function Xr(e,r){let n=u.useRef([]),t=F(e);u.useEffect(()=>{let s=[...n.current];for(let[o,a]of r.entries())if(n.current[o]!==a){let l=t(r,s);return n.current=r,l}},[t,...r])}let Qr=u.createContext(null);Qr.displayName="OpenClosedContext";var se=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(se||{});function et(){return u.useContext(Qr)}function Ua({value:e,children:r}){return u.createElement(Qr.Provider,{value:e},r)}function Ga(e){function r(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",r))}typeof window!="undefined"&&typeof document!="undefined"&&(document.addEventListener("DOMContentLoaded",r),r())}let Me=[];Ga(()=>{function e(r){r.target instanceof HTMLElement&&r.target!==document.body&&Me[0]!==r.target&&(Me.unshift(r.target),Me=Me.filter(n=>n!=null&&n.isConnected),Me.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function tn(e){let r=F(e),n=u.useRef(!1);u.useEffect(()=>(n.current=!1,()=>{n.current=!0,xr(()=>{n.current&&r()})}),[r])}function Za(){let e=typeof document=="undefined";return"useSyncExternalStore"in Xe?(r=>r.useSyncExternalStore)(Xe)(()=>()=>{},()=>!1,()=>!e):!1}function sr(){let e=Za(),[r,n]=Xe.useState(Ae.isHandoffComplete);return r&&Ae.isHandoffComplete===!1&&n(!1),Xe.useEffect(()=>{r!==!0&&n(!0)},[r]),Xe.useEffect(()=>Ae.handoff(),[]),e?!1:r}let nn=u.createContext(!1);function Ya(){return u.useContext(nn)}function $t(e){return u.createElement(nn.Provider,{value:e.force},e.children)}function qa(e){let r=Ya(),n=u.useContext(on),t=nr(e),[s,o]=u.useState(()=>{var a;if(!r&&n!==null)return(a=n.current)!=null?a:null;if(Ae.isServer)return null;let l=t==null?void 0:t.getElementById("headlessui-portal-root");if(l)return l;if(t===null)return null;let c=t.createElement("div");return c.setAttribute("id","headlessui-portal-root"),t.body.appendChild(c)});return u.useEffect(()=>{s!==null&&(t!=null&&t.body.contains(s)||t==null||t.body.appendChild(s))},[s,t]),u.useEffect(()=>{r||n!==null&&o(n.current)},[n,o,r]),s}let sn=u.Fragment,Ka=ae(function(e,r){let n=e,t=u.useRef(null),s=ge(ga(f=>{t.current=f}),r),o=nr(t),a=qa(t),[l]=u.useState(()=>{var f;return Ae.isServer?null:(f=o==null?void 0:o.createElement("div"))!=null?f:null}),c=u.useContext(_r),p=sr();return Q(()=>{!a||!l||a.contains(l)||(l.setAttribute("data-headlessui-portal",""),a.appendChild(l))},[a,l]),Q(()=>{if(l&&c)return c.register(l)},[c,l]),tn(()=>{var f;!a||!l||(l instanceof Node&&a.contains(l)&&a.removeChild(l),a.childNodes.length<=0&&((f=a.parentElement)==null||f.removeChild(a)))}),p?!a||!l?null:St.createPortal(ue({ourProps:{ref:s},theirProps:n,slot:{},defaultTag:sn,name:"Portal"}),l):null});function Ja(e,r){let n=ge(r),{enabled:t=!0,...s}=e;return t?u.createElement(Ka,{...s,ref:n}):ue({ourProps:{ref:n},theirProps:s,slot:{},defaultTag:sn,name:"Portal"})}let Xa=u.Fragment,on=u.createContext(null);function Qa(e,r){let{target:n,...t}=e,s={ref:ge(r)};return u.createElement(on.Provider,{value:n},ue({ourProps:s,theirProps:t,defaultTag:Xa,name:"Popover.Group"}))}let _r=u.createContext(null);function ei(){let e=u.useContext(_r),r=u.useRef([]),n=F(o=>(r.current.push(o),e&&e.register(o),()=>t(o))),t=F(o=>{let a=r.current.indexOf(o);a!==-1&&r.current.splice(a,1),e&&e.unregister(o)}),s=u.useMemo(()=>({register:n,unregister:t,portals:r}),[n,t,r]);return[r,u.useMemo(()=>function({children:o}){return u.createElement(_r.Provider,{value:s},o)},[s])]}let ri=ae(Ja),ti=ae(Qa),Mt=Object.assign(ri,{Group:ti});function ni(){var e;let[r]=u.useState(()=>typeof window!="undefined"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[n,t]=u.useState((e=r==null?void 0:r.matches)!=null?e:!1);return Q(()=>{if(!r)return;function s(o){t(o.matches)}return r.addEventListener("change",s),()=>r.removeEventListener("change",s)},[r]),n}function si({defaultContainers:e=[],portals:r,mainTreeNodeRef:n}={}){var t;let s=u.useRef((t=n==null?void 0:n.current)!=null?t:null),o=nr(s),a=F(()=>{var l,c,p;let f=[];for(let h of e)h!==null&&(h instanceof HTMLElement?f.push(h):"current"in h&&h.current instanceof HTMLElement&&f.push(h.current));if(r!=null&&r.current)for(let h of r.current)f.push(h);for(let h of(l=o==null?void 0:o.querySelectorAll("html > *, body > *"))!=null?l:[])h!==document.body&&h!==document.head&&h instanceof HTMLElement&&h.id!=="headlessui-portal-root"&&(h.contains(s.current)||h.contains((p=(c=s.current)==null?void 0:c.getRootNode())==null?void 0:p.host)||f.some(g=>h.contains(g))||f.push(h));return f});return{resolveContainers:a,contains:F(l=>a().some(c=>c.contains(l))),mainTreeNodeRef:s,MainTreeNode:u.useMemo(()=>function(){return n!=null?null:u.createElement(Pr,{features:mr.Hidden,ref:s})},[s,n])}}let rt=u.createContext(()=>{});rt.displayName="StackContext";var Vr=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Vr||{});function oi(){return u.useContext(rt)}function ai({children:e,onUpdate:r,type:n,element:t,enabled:s}){let o=oi(),a=F((...l)=>{r==null||r(...l),o(...l)});return Q(()=>{let l=s===void 0||s===!0;return l&&a(0,n,t),()=>{l&&a(1,n,t)}},[a,n,t,s]),u.createElement(rt.Provider,{value:a},e)}function or(){let e=u.useRef(!1);return Q(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var Je=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Je||{});function ii(){let e=u.useRef(0);return en("keydown",r=>{r.key==="Tab"&&(e.current=r.shiftKey?1:0)},!0),e}function an(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let r=new Set;for(let n of e.current)n.current instanceof HTMLElement&&r.add(n.current);return r}let li="div";var ke=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.AutoFocus=32]="AutoFocus",e[e.All=30]="All",e))(ke||{});function di(e,r){let n=u.useRef(null),t=ge(n,r),{initialFocus:s,initialFocusFallback:o,containers:a,features:l=30,...c}=e;sr()||(l=1);let p=nr(n);pi({ownerDocument:p},!!(l&16));let f=hi({ownerDocument:p,container:n,initialFocus:s,initialFocusFallback:o},l);mi({ownerDocument:p,container:n,containers:a,previousActiveElement:f},!!(l&8));let h=ii(),g=F(C=>{let w=n.current;w&&(j=>j())(()=>{G(h.current,{[Je.Forwards]:()=>{rr(w,we.First,{skipElements:[C.relatedTarget,o]})},[Je.Backwards]:()=>{rr(w,we.Last,{skipElements:[C.relatedTarget,o]})}})})}),b=Kr(),x=u.useRef(!1),k={ref:t,onKeyDown(C){C.key=="Tab"&&(x.current=!0,b.requestAnimationFrame(()=>{x.current=!1}))},onBlur(C){if(!(l&8))return;let w=an(a);n.current instanceof HTMLElement&&w.add(n.current);let j=C.relatedTarget;j instanceof HTMLElement&&j.dataset.headlessuiFocusGuard!=="true"&&(ln(w,j)||(x.current?rr(n.current,G(h.current,{[Je.Forwards]:()=>we.Next,[Je.Backwards]:()=>we.Previous})|we.WrapAround,{relativeTo:C.target}):C.target instanceof HTMLElement&&ye(C.target)))}};return u.createElement(u.Fragment,null,!!(l&4)&&u.createElement(Pr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:g,features:mr.Focusable}),ue({ourProps:k,theirProps:c,defaultTag:li,name:"FocusTrap"}),!!(l&4)&&u.createElement(Pr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:g,features:mr.Focusable}))}let ci=ae(di),ui=Object.assign(ci,{features:ke});function fi(e=!0){let r=u.useRef(Me.slice());return Xr(([n],[t])=>{t===!0&&n===!1&&xr(()=>{r.current.splice(0)}),t===!1&&n===!0&&(r.current=Me.slice())},[e,Me,r]),F(()=>{var n;return(n=r.current.find(t=>t!=null&&t.isConnected))!=null?n:null})}function pi({ownerDocument:e},r){let n=fi(r);Xr(()=>{r||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&ye(n())},[r]),tn(()=>{r&&ye(n())})}function hi({ownerDocument:e,container:r,initialFocus:n,initialFocusFallback:t},s){let o=!!(s&2),a=u.useRef(null),l=or();return Xr(()=>{if(!o){t!=null&&t.current&&ye(t.current);return}let c=r.current;c&&xr(()=>{if(!l.current)return;let p=e==null?void 0:e.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===p){a.current=p;return}}else if(c.contains(p)){a.current=p;return}if(n!=null&&n.current)ye(n.current);else{if(s&32){if(rr(c,we.First|we.AutoFocus)!==Wr.Error)return}else if(rr(c,we.First)!==Wr.Error)return;if(t!=null&&t.current&&(ye(t.current),(e==null?void 0:e.activeElement)===t.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}a.current=e==null?void 0:e.activeElement})},[t,o,s]),a}function mi({ownerDocument:e,container:r,containers:n,previousActiveElement:t},s){let o=or();rn(e==null?void 0:e.defaultView,"focus",a=>{if(!s||!o.current)return;let l=an(n);r.current instanceof HTMLElement&&l.add(r.current);let c=t.current;if(!c)return;let p=a.target;p&&p instanceof HTMLElement?ln(l,p)?(t.current=p,ye(p)):(a.preventDefault(),a.stopPropagation(),ye(c)):ye(t.current)},!0)}function ln(e,r){for(let n of e)if(n.contains(r))return!0;return!1}var gi=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(gi||{}),bi=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(bi||{});let vi={0(e,r){return e.titleId===r.id?e:{...e,titleId:r.id}}},gr=u.createContext(null);gr.displayName="DialogContext";function tt(e){let r=u.useContext(gr);if(r===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,tt),n}return r}function xi(e,r){return G(r.type,vi,e,r)}let Ci="div",ki=hr.RenderStrategy|hr.Static;function wi(e,r){let n=u.useId(),{id:t=`headlessui-dialog-${n}`,open:s,onClose:o,initialFocus:a,role:l="dialog",autoFocus:c=!0,__demoMode:p=!1,...f}=e,[h,g]=u.useState(0),b=u.useRef(!1);l=function(){return l==="dialog"||l==="alertdialog"?l:(b.current||(b.current=!0,console.warn(`Invalid role [${l}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let x=et();s===void 0&&x!==null&&(s=(x&se.Open)===se.Open);let k=u.useRef(null),C=ge(k,r),w=nr(k),j=e.hasOwnProperty("open")||x!==null,Z=e.hasOwnProperty("onClose");if(!j&&!Z)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!j)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!Z)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(typeof s!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${s}`);if(typeof o!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${o}`);let T=s?0:1,[H,ie]=u.useReducer(xi,{titleId:null,descriptionId:null,panelRef:u.createRef()}),Y=F(()=>o(!1)),z=F(W=>ie({type:0,id:W})),q=sr()?T===0:!1,K=h>1,ee=u.useContext(gr)!==null,[y,M]=ei(),O={get current(){var W;return(W=H.panelRef.current)!=null?W:k.current}},{resolveContainers:J,mainTreeNodeRef:le,MainTreeNode:fe}=si({portals:y,defaultContainers:[O]}),de=K?"parent":"leaf",U=x!==null?(x&se.Closing)===se.Closing:!1,be=K||U?!1:q;ja({allowed:F(()=>{var W,pe;return[(pe=(W=k.current)==null?void 0:W.closest("[data-headlessui-portal]"))!=null?pe:null]}),disallowed:F(()=>{var W,pe;return[(pe=(W=le.current)==null?void 0:W.closest("body > *:not(#headlessui-portal-root)"))!=null?pe:null]})},p?!1:be),Oa(J,W=>{W.preventDefault(),Y()},!(!q||K));let re=!(K||T!==0);rn(w==null?void 0:w.defaultView,"keydown",W=>{re&&(W.defaultPrevented||W.key===Kt.Escape&&(W.preventDefault(),W.stopPropagation(),Y()))}),za(w,p?!1:!(U||T!==0||ee),J),Jt(k,Y,T===0);let[ne,He]=ba(),te=u.useMemo(()=>[{dialogState:T,close:Y,setTitleId:z},H],[T,H,Y,z]),D=u.useMemo(()=>({open:T===0}),[T]),B={ref:C,id:t,role:l,tabIndex:-1,"aria-modal":T===0?!0:void 0,"aria-labelledby":H.titleId,"aria-describedby":ne},ze=!ni(),ve=q?G(de,{parent:ke.RestoreFocus,leaf:ke.All&~ke.FocusLock}):ke.None;return c&&(ve|=ke.AutoFocus),ze||(ve&=~ke.InitialFocus),p&&(ve=ke.None),u.createElement(ai,{type:"Dialog",enabled:T===0,element:k,onUpdate:F((W,pe)=>{pe==="Dialog"&&G(W,{[Vr.Add]:()=>g(Ue=>Ue+1),[Vr.Remove]:()=>g(Ue=>Ue-1)})})},u.createElement($t,{force:!0},u.createElement(Mt,null,u.createElement(gr.Provider,{value:te},u.createElement(Mt.Group,{target:k},u.createElement($t,{force:!1},u.createElement(He,{slot:D,name:"Dialog.Description"},u.createElement(M,null,u.createElement(ui,{initialFocus:a,initialFocusFallback:k,containers:J,features:ve},u.createElement(ya,{value:Y},ue({ourProps:B,theirProps:f,slot:D,defaultTag:Ci,features:ki,visible:T===0,name:"Dialog"})))))))))),u.createElement(ma,null,u.createElement(fe,null)))}let yi="div";function ji(e,r){let n=u.useId(),{id:t=`headlessui-dialog-panel-${n}`,...s}=e,[{dialogState:o},a]=tt("Dialog.Panel"),l=ge(r,a.panelRef),c=u.useMemo(()=>({open:o===0}),[o]),p=F(f=>{f.stopPropagation()});return ue({ourProps:{ref:l,id:t,onClick:p},theirProps:s,slot:c,defaultTag:yi,name:"Dialog.Panel"})}let Ei="h2";function Li(e,r){let n=u.useId(),{id:t=`headlessui-dialog-title-${n}`,...s}=e,[{dialogState:o,setTitleId:a}]=tt("Dialog.Title"),l=ge(r);u.useEffect(()=>(a(t),()=>a(null)),[t,a]);let c=u.useMemo(()=>({open:o===0}),[o]);return ue({ourProps:{ref:l,id:t},theirProps:s,slot:c,defaultTag:Ei,name:"Dialog.Title"})}let $i=ae(wi),dn=ae(ji),Mi=ae(Li),Si=Object.assign($i,{Panel:dn,Title:Mi,Description:ka});function Ni(e=0){let[r,n]=u.useState(e),t=or(),s=u.useCallback(c=>{t.current&&n(p=>p|c)},[r,t]),o=u.useCallback(c=>!!(r&c),[r]),a=u.useCallback(c=>{t.current&&n(p=>p&~c)},[n,t]),l=u.useCallback(c=>{t.current&&n(p=>p^c)},[n]);return{flags:r,addFlag:s,hasFlag:o,removeFlag:a,toggleFlag:l}}function cn(e){let r={called:!1};return(...n)=>{if(!r.called)return r.called=!0,e(...n)}}function Nr(e,...r){e&&r.length>0&&e.classList.add(...r)}function Tr(e,...r){e&&r.length>0&&e.classList.remove(...r)}function Ti(e,r){let n=cn(r),t=Ne();if(!e)return t.dispose;let{transitionDuration:s,transitionDelay:o}=getComputedStyle(e),[a,l]=[s,o].map(p=>{let[f=0]=p.split(",").filter(Boolean).map(h=>h.includes("ms")?parseFloat(h):parseFloat(h)*1e3).sort((h,g)=>g-h);return f}),c=a+l;if(c!==0){let p=t.group(f=>{let h=f.setTimeout(()=>{n(),f.dispose()},c);f.addEventListener(e,"transitionrun",g=>{g.target===g.currentTarget&&(h(),f.addEventListener(e,"transitioncancel",b=>{b.target===b.currentTarget&&(n(),p())}))})});t.addEventListener(e,"transitionend",f=>{f.target===f.currentTarget&&(n(),t.dispose())})}else n();return t.dispose}function Ri(e,{direction:r,done:n,classes:t,inFlight:s}){let o=Ne(),a=n!==void 0?cn(n):()=>{};r==="enter"&&(e.removeAttribute("hidden"),e.style.display="");let l=G(r,{enter:()=>t.enter,leave:()=>t.leave}),c=G(r,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),p=G(r,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return Ai(e,{prepare(){Tr(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),Nr(e,...t.base,...l,...p)},inFlight:s}),s&&(s.current=!0),o.nextFrame(()=>{o.add(Ti(e,()=>(Tr(e,...t.base,...l),Nr(e,...t.base,...t.entered,...c),s&&(s.current=!1),a()))),Tr(e,...t.base,...l,...p),Nr(e,...t.base,...l,...c)}),o.dispose}function Ai(e,{inFlight:r,prepare:n}){if(r!=null&&r.current){n();return}let t=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=t}function Pi({container:e,direction:r,classes:n,onStart:t,onStop:s}){let o=or(),a=Kr(),l=u.useRef(!1);Q(()=>{if(r==="idle"||!o.current)return;t.current(r);let c=e.current;return c?a.add(Ri(c,{direction:r,classes:n.current,inFlight:l,done(){s.current(r)}})):s.current(r),a.dispose},[r])}function $e(e=""){return e.split(/\s+/).filter(r=>r.length>1)}function un(e){var r;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((r=e.as)!=null?r:pn)!==u.Fragment||u.Children.count(e.children)===1}let Cr=u.createContext(null);Cr.displayName="TransitionContext";var Fi=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Fi||{});function Oi(){let e=u.useContext(Cr);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function Wi(){let e=u.useContext(kr);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let kr=u.createContext(null);kr.displayName="NestingContext";function wr(e){return"children"in e?wr(e.children):e.current.filter(({el:r})=>r.current!==null).filter(({state:r})=>r==="visible").length>0}function fn(e,r){let n=he(e),t=u.useRef([]),s=or(),o=Kr(),a=F((b,x=Se.Hidden)=>{let k=t.current.findIndex(({el:C})=>C===b);k!==-1&&(G(x,{[Se.Unmount](){t.current.splice(k,1)},[Se.Hidden](){t.current[k].state="hidden"}}),o.microTask(()=>{var C;!wr(t)&&s.current&&((C=n.current)==null||C.call(n))}))}),l=F(b=>{let x=t.current.find(({el:k})=>k===b);return x?x.state!=="visible"&&(x.state="visible"):t.current.push({el:b,state:"visible"}),()=>a(b,Se.Unmount)}),c=u.useRef([]),p=u.useRef(Promise.resolve()),f=u.useRef({enter:[],leave:[],idle:[]}),h=F((b,x,k)=>{c.current.splice(0),r&&(r.chains.current[x]=r.chains.current[x].filter(([C])=>C!==b)),r==null||r.chains.current[x].push([b,new Promise(C=>{c.current.push(C)})]),r==null||r.chains.current[x].push([b,new Promise(C=>{Promise.all(f.current[x].map(([w,j])=>j)).then(()=>C())})]),x==="enter"?p.current=p.current.then(()=>r==null?void 0:r.wait.current).then(()=>k(x)):k(x)}),g=F((b,x,k)=>{Promise.all(f.current[x].splice(0).map(([C,w])=>w)).then(()=>{var C;(C=c.current.shift())==null||C()}).then(()=>k(x))});return u.useMemo(()=>({children:t,register:l,unregister:a,onStart:h,onStop:g,wait:p,chains:f}),[l,a,t,h,g,f,p])}let pn=u.Fragment,hn=hr.RenderStrategy;function _i(e,r){var n,t,s;let{beforeEnter:o,afterEnter:a,beforeLeave:l,afterLeave:c,enter:p,enterFrom:f,enterTo:h,entered:g,leave:b,leaveFrom:x,leaveTo:k,...C}=e,w=u.useRef(null),j=un(e),Z=ge(...j?[w,r]:r===null?[]:[r]),T=(n=C.unmount)==null||n?Se.Unmount:Se.Hidden,{show:H,appear:ie,initial:Y}=Oi(),[z,q]=u.useState(H?"visible":"hidden"),K=Wi(),{register:ee,unregister:y}=K;Q(()=>ee(w),[ee,w]),Q(()=>{if(T===Se.Hidden&&w.current){if(H&&z!=="visible"){q("visible");return}return G(z,{hidden:()=>y(w),visible:()=>ee(w)})}},[z,w,ee,y,H,T]);let M=he({base:$e(C.className),enter:$e(p),enterFrom:$e(f),enterTo:$e(h),entered:$e(g),leave:$e(b),leaveFrom:$e(x),leaveTo:$e(k)}),O=he({beforeEnter:o,afterEnter:a,beforeLeave:l,afterLeave:c}),J=sr();Q(()=>{if(j&&J&&z==="visible"&&w.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[w,z,J,j]);let le=Y&&!ie,fe=ie&&H&&Y,de=fe?"enter":!J||le?"idle":H?"enter":"leave",U=Ni(0),be=F(te=>G(te,{enter:()=>{var D,B;U.addFlag(se.Opening),(B=(D=O.current).beforeEnter)==null||B.call(D)},leave:()=>{var D,B;U.addFlag(se.Closing),(B=(D=O.current).beforeLeave)==null||B.call(D)},idle:()=>{}})),ce=F(te=>G(te,{enter:()=>{var D,B;U.removeFlag(se.Opening),(B=(D=O.current).afterEnter)==null||B.call(D)},leave:()=>{var D,B;U.removeFlag(se.Closing),(B=(D=O.current).afterLeave)==null||B.call(D)},idle:()=>{}})),re=u.useRef(!1),je=fn(()=>{re.current||(q("hidden"),y(w))},K);Pi({container:w,classes:M,direction:de,onStart:he(te=>{re.current=!0,je.onStart(w,te,be)}),onStop:he(te=>{re.current=!1,je.onStop(w,te,ce),te==="leave"&&!wr(je)&&(q("hidden"),y(w))})});let ne=C,He={ref:Z};return fe?ne={...ne,className:Qe(C.className,...M.current.enter,...M.current.enterFrom)}:re.current?(ne.className=Qe(C.className,(t=w.current)==null?void 0:t.className),ne.className===""&&delete ne.className):(ne.className=Qe(C.className,(s=w.current)==null?void 0:s.className,...G(de,{enter:[...M.current.enterTo,...M.current.entered],leave:M.current.leaveTo,idle:[]})),ne.className===""&&delete ne.className),u.createElement(kr.Provider,{value:je},u.createElement(Ua,{value:G(z,{visible:se.Open,hidden:se.Closed})|U.flags},ue({ourProps:He,theirProps:ne,defaultTag:pn,features:hn,visible:z==="visible",name:"Transition.Child"})))}function Vi(e,r){let{show:n,appear:t=!1,unmount:s=!0,...o}=e,a=u.useRef(null),l=un(e),c=ge(...l?[a,r]:r===null?[]:[r]);sr();let p=et();if(n===void 0&&p!==null&&(n=(p&se.Open)===se.Open),n===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[f,h]=u.useState(n?"visible":"hidden"),g=fn(()=>{n||h("hidden")}),[b,x]=u.useState(!0),k=u.useRef([n]);Q(()=>{b!==!1&&k.current[k.current.length-1]!==n&&(k.current.push(n),x(!1))},[k,n]);let C=u.useMemo(()=>({show:n,appear:t,initial:b}),[n,t,b]);Jt(a,()=>h("hidden")),Q(()=>{n?h("visible"):!wr(g)&&a.current!==null&&h("hidden")},[n,g]);let w={unmount:s},j=F(()=>{var T;b&&x(!1),(T=e.beforeEnter)==null||T.call(e)}),Z=F(()=>{var T;b&&x(!1),(T=e.beforeLeave)==null||T.call(e)});return u.createElement(kr.Provider,{value:g},u.createElement(Cr.Provider,{value:C},ue({ourProps:{...w,as:u.Fragment,children:u.createElement(mn,{ref:c,...w,...o,beforeEnter:j,beforeLeave:Z})},theirProps:{},defaultTag:u.Fragment,features:hn,visible:f==="visible",name:"Transition"})))}function Ii(e,r){let n=u.useContext(Cr)!==null,t=et()!==null;return u.createElement(u.Fragment,null,!n&&t?u.createElement(Ir,{ref:r,...e}):u.createElement(mn,{ref:r,...e}))}let Ir=ae(Vi),mn=ae(_i),Dr=ae(Ii),Di=Object.assign(Ir,{Child:Dr,Root:Ir});const Bi=({open:e=!1,onClose:r,title:n="",backdrop:t="static",content:s,footer:o,icon:a=!1,iconComponent:l,iconName:c=void 0,dismissible:p=!0,horizontalRule:f=!0})=>{const h=()=>l?i.jsx(i.Fragment,{children:l}):a&&c?i.jsx(me,{name:c,size:"medium"}):null,g=()=>t==="dismissible"?r():!0;return i.jsx(Di,{appear:!0,show:e,as:u.Fragment,children:i.jsxs(Si,{as:"div",onClose:g,static:!0,className:"preflight ds-relative ds-z-20 focus:ds-outline-none","aria-labelledby":"modal-title",children:[t!=="none"&&i.jsx(Dr,{as:u.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:i.jsx("div",{className:"ds-fixed ds-inset-0 ds-bg-neutrals-transparent-medium ds-transition-opacity","aria-hidden":"true"})}),i.jsx("div",{className:"ds-fixed ds-inset-0 ds-z-20 ds-w-screen ds-overflow-y-auto",children:i.jsx("div",{className:"ds-flex ds-min-h-full ds-items-center ds-justify-center ds-p-4",children:i.jsx(Dr,{as:u.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:i.jsxs(dn,{className:"ds-flex ds-max-h-[90vh] ds-min-w-full ds-max-w-full ds-transform ds-flex-col ds-overflow-y-scroll ds-rounded-lg ds-bg-neutrals-white ds-text-left ds-shadow-modal sm:ds-min-w-[15rem] sm:ds-max-w-[55%]",children:[i.jsxs("div",{className:`ds-flex ds-items-center ds-py-4 ${p?"ds-pl-5 ds-pr-3":"ds-px-5"}`,children:[a&&i.jsx("div",{className:"ds-mr-3",children:h()}),i.jsx("div",{className:"ds-flex-grow",children:i.jsx(Yr,{text:n,headingTag:"h2",size:"medium",hasMarginBottom:!1,id:"modal-title"})}),p&&i.jsx(vr,{variant:"default",iconSize:"small",iconName:"close",hasTooltip:!1,label:"Close",disabled:!1,onClick:()=>r()})]}),f&&i.jsx("hr",{className:"ds-border-neutrals-light"}),s&&i.jsx("div",{className:`ds-h-auto ds-max-h-[48.6rem] ds-grow ds-overflow-y-scroll ds-px-5 ${o?"ds-py-4":"ds-pb-5 ds-pt-4"}`,children:s}),o&&i.jsx("div",{className:"ds-flex ds-justify-end ds-gap-x-4 ds-px-5 ds-py-4",children:o})]})})})})]})})},Hi=Bi,zi=A(["preflight","ds-rounded-xl","ds-border","ds-px-2","ds-py-1","ds-inline-flex","ds-items-center"],{variants:{color:{default:["ds-border-neutrals-light"],gray:["ds-bg-neutrals-lighter","ds-border-neutrals-lighter"],blue:["ds-bg-information-blue-lightest","ds-text-information-blue-darkest","ds-border-information-blue-lightest"],green:["ds-bg-success-green-lightest","ds-text-success-green-darkest","ds-border-success-green-lightest"],yellow:["ds-bg-warning-yellow-lightest","ds-text-warning-yellow-darkest","ds-border-warning-yellow-lightest"],red:["ds-bg-danger-red-lightest","ds-text-danger-red-darkest","ds-border-danger-red-lightest"]},type:{regular:["ds-text-base"],small:["ds-text-sm"]}}}),Ui=({label:e,type:r="regular",color:n="default",dismissible:t=!1,dismissLabel:s="",className:o="",onDismiss:a,...l})=>{const c=l["aria-label"]||e;return i.jsxs("div",{className:I(zi({color:n,type:r}),o),"aria-label":c,...l,children:[i.jsx("div",{className:"ds-max-w-[200px] ds-truncate ds-leading-6",children:e}),t&&i.jsx(vr,{variant:"small",iconName:"close",label:s||"dismiss",disabled:!1,onClick:()=>a&&a(),className:"ds-ms-1",isTransparent:!0})]})},gn=Ui,Gi=A(["preflight","ds-transition","ds-duration-100","ds-text-nowrap","!ds-font-sans","ds-text-base","ds-p-2","active:ds-text-neutrals-white","focus-visible:ds-ring-neutrals-black","focus-visible:ds-ring-2","focus-visible:ds-outline-none","focus-visible:ds-ring-offset-2"],{variants:{isNested:{true:["ds-rounded-xl","ds-my-2","ds-mx-1","ds-border","ds-border-neutrals-lighter","hover:ds-bg-neutrals-light","active:ds-bg-neutrals-dark","focus-visible:ds-ring-neutrals-black","focus-visible:ds-ring-2","focus-visible:ds-outline-none","focus-visible:ds-ring-offset-2","focus-visible:ds-bg-neutrals-white"],false:["ds-rounded","ds-rounded-b-none","ds-border-b-2","ds-border-b-neutrals-white","ds-my-1","ds-mr-2","hover:ds-bg-acuity-green-lighter","hover:ds-border-b-acuity-green-lighter","active:ds-bg-acuity-green-darkest","active:ds-border-b-acuity-green-darkest","focus-visible:ds-bg-acuity-green-lightest","focus-visible:ds-border-b-acuity-green-lightest"]}}}),Zi=({title:e,id:r,handleClick:n,isActive:t,isNested:s=!1,badgeText:o="",className:a="",...l})=>{const c=(p,f,h)=>I(Gi({isNested:p}),f&&!p&&"!ds-border-b-acuity-green",f&&p&&"ds-bg-neutrals-white !ds-border-neutrals",h);return i.jsxs("button",{className:c(s,t,a),role:"tab",id:`tab-${r}`,"aria-controls":`panel-${r}`,"aria-selected":t,onClick:n,...l,children:[e,o&&i.jsx(gn,{label:o,className:"ds-ml-2 ds-h-5 ds-bg-neutrals-white ds-text-neutrals-black"})]})},Yi=({id:e,children:r,hidden:n})=>i.jsx("div",{role:"tabpanel",id:`panel-${e}`,"aria-labelledby":`tab-${e}`,hidden:n,className:"preflight",children:r}),qi=({children:e,handleTabChange:r,activeTabIndex:n,isNested:t,className:s="",...o})=>{const a=u.Children.toArray(e).filter(l=>{var c,p;return u.isValidElement(l)&&!!((c=l.props)!=null&&c.id)&&!!((p=l.props)!=null&&p.title)});return a.length<u.Children.toArray(e).length&&console.error("You can only pass <Tab> components with defined id and title as children of the <Tabs> component."),i.jsxs("div",{className:`prelight ${s}`,...o,children:[i.jsx("div",{role:"tablist",className:`preflight ds-mb-5 ds-rounded ${t&&"!ds-mb-4 ds-bg-neutrals-lighter ds-px-2"}`,children:a.map((l,c)=>i.jsx(Zi,{handleClick:()=>r(c),isActive:n===c,badgeText:l.props.badgeText,isNested:t,...l.props},`tab-${c}`))}),a.map((l,c)=>i.jsx(Yi,{id:l.props.id,hidden:n!==c,children:l.props.children},`panel-${c}`))]})},Ki=qi,Ji=({children:e})=>e,Xi=Ji,Qi=A(["preflight","ds-form-label","!ds-font-sans","ds-text-base","ds-cursor-pointer","ds-w-[fit-content]"],{variants:{state:{default:["ds-text-neutrals-black"],error:["ds-text-danger-red-darkest"],success:["ds-text-success-green-darkest"]},disabled:{true:"!ds-text-neutrals-dark"}}}),el=e=>I(Qi(e)),rl=({id:e,state:r="default",disabled:n=!1,htmlFor:t,value:s="",optionalityLabel:o=""})=>i.jsxs("label",{id:e,htmlFor:t,className:el({state:r,disabled:n}),children:[s,o&&i.jsx("span",{className:"ds-text-sm ds-text-neutrals-darker",children:` (${o})`})]}),bn=rl,tl=A(["preflight","group","ds-flex","ds-flex-col","ds-container"],{variants:{state:{default:["[&>label]:focus-within:ds-text-acuity-blue"],error:["[&>label]:focus-within:ds-text-danger-red-darkest"],success:["[&>label]:focus-within:ds-text-success-green-darkest"]},hasMarginBottom:{true:""}},compoundVariants:[{state:"default",hasMarginBottom:!0,className:["ds-mb-6","ds-pb-2"]}]}),nl=e=>I(tl(e)),sl=A(["ds-form-label","!ds-font-sans","ds-text-base"],{variants:{state:{default:["ds-text-neutrals-black","ds-mt-2"],error:["ds-text-danger-red","ds-pb-6","ds-mt-2"],success:["ds-text-success-green-dark","ds-h-6","ds-truncate","ds-text-sm","ds-mt-1","ds-mb-1"]},disabled:{true:"!ds-text-neutrals-dark"}}}),ol=e=>I(sl(e)),al=({id:e,state:r="default",disabled:n=!1,label:t="",optionalityLabel:s="",helpText:o=[],message:a="",child:l,isTextarea:c=!1,className:p="",hasMarginBottom:f=!0})=>{let h=null;switch(r){case"error":h={name:"error",color:"ds-text-danger-red"};break;case"success":h={name:"checkCircle",color:"ds-text-success-green"};break}const g=t?"label_"+e:void 0,b=o&&o.length>0?"helptext_"+e:void 0;return i.jsxs("div",{className:I(nl({state:r,hasMarginBottom:f}),p),children:[t&&i.jsx(bn,{id:g,htmlFor:e,value:t,optionalityLabel:s,disabled:n}),o&&o.length>1&&i.jsx("ul",{id:b,className:"ds-mt-2 ds-pb-1 ds-pl-6",children:o==null?void 0:o.map((x,k)=>i.jsx("li",{className:"ds-list-disc ds-text-neutrals-dark",children:x},k))}),o&&o.length===1&&i.jsx("p",{id:b,className:"ds-mt-2 ds-pb-1 ds-text-neutrals-dark",children:o}),i.jsxs("div",{className:"ds-mt-2 ds-flex ds-gap-2",children:[i.jsx("div",{className:c?"":"ds-w-[calc(100%-2rem)]",children:l}),i.jsx("div",{className:"ds-pt-2",children:h&&i.jsx(me,{name:h.name,size:"medium",className:h.color,role:"graphics-symbol"})})]}),h&&i.jsx("p",{className:ol({state:r}),children:a})]})},nt=al,il=A(["preflight","ds-form-input","ds-rounded","ds-p-2","!ds-border","!ds-font-sans"],Zr),ll=e=>I(il(e)),dl=({state:e="default",rows:r=2,cols:n=50,isResizable:t=!0,disabled:s=!1,...o})=>i.jsx("textarea",{"aria-invalid":e=="error",rows:r,cols:n,readOnly:s,className:ll({disabled:s,state:e}),style:{resize:t?"both":"none"},...o}),vn=dl,cl=({id:e,state:r="default",label:n,rows:t=2,cols:s=50,isResizable:o=!0,optionalityLabel:a="",helpText:l=[],message:c="",disabled:p=!1,className:f="",hasMarginBottom:h=!0,onBlur:g,...b})=>i.jsx(nt,{id:e,state:r,disabled:p,label:n,optionalityLabel:a,helpText:l,message:c,isTextarea:!0,className:f,hasMarginBottom:h,child:i.jsx(vn,{id:e,"aria-labelledby":n?"label_"+e:void 0,"aria-describedby":l&&l.length>0?"helptext_"+e:void 0,state:r,rows:t,cols:s,isResizable:o,disabled:p,onBlur:g,...b})}),ul=cl,fl=A(["preflight","ds-form-input","ds-h-[40px]","ds-rounded","ds-p-2","!ds-border","!ds-font-sans","ds-container"],Zr),pl=e=>I(fl(e)),hl=u.forwardRef(({state:e="default",disabled:r=!1,type:n="text",...t},s)=>i.jsx("input",{"aria-disabled":r,readOnly:r,type:n,className:pl({disabled:r,state:e}),ref:s,...t})),xn=hl,ml=u.forwardRef(({id:e,state:r="default",disabled:n=!1,type:t="text",label:s,optionalityLabel:o="",helpText:a=[],message:l="",className:c="",hasMarginBottom:p=!0,onBlur:f,...h},g)=>i.jsx(nt,{id:e,state:r,disabled:n,label:s,optionalityLabel:o,helpText:a,message:l,className:c,hasMarginBottom:p,child:i.jsx(xn,{id:e,"aria-labelledby":s?"label_"+e:void 0,"aria-describedby":a&&a.length>0?"helptext_"+e:void 0,type:t,state:r,disabled:n,ref:g,onBlur:f,...h})})),gl=ml,bl=A(["preflight","ds-form-select","ds-h-[40px]","ds-rounded","ds-p-2","!ds-border","!ds-font-sans","ds-container","ds-bg-[center_right_0.25rem]"],Zr),vl=e=>bl(e),xl=`url('data:image/svg+xml,<svg width="16" height="16" viewBox="5 -5 15 35" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="%23949494" ><path d="M21.375 8.09253L12.4417 17.025C12.3837 17.0831 12.3148 17.1291 12.2391 17.1605C12.1632 17.192 12.082 17.2082 12 17.2082C11.918 17.2082 11.8368 17.192 11.7609 17.1605C11.6852 17.1291 11.6163 17.0831 11.5583 17.025L2.625 8.09253" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" stroke="%23000000" /></svg>')`,Cl=({state:e="default",disabled:r=!1,className:n="",...t})=>{let s=t.children;return r&&(s=(u.isValidElement(t.children)?u.Children.toArray(t.children.props.children):u.Children.toArray(t.children)).map(a=>u.isValidElement(a)?u.cloneElement(a,{disabled:!0}):a)),i.jsx("select",{"aria-disabled":r,style:{backgroundImage:xl},className:I(vl({disabled:r,state:e}),n),...t,children:s})},Cn=Cl,kl=({id:e,state:r="default",disabled:n=!1,label:t,optionalityLabel:s="",helpText:o=[],message:a="",className:l="",hasMarginBottom:c=!0,onBlur:p,...f})=>i.jsx(nt,{id:e,state:r,disabled:n,label:t,optionalityLabel:s,helpText:o,message:a,className:l,hasMarginBottom:c,child:i.jsx(Cn,{id:e,"aria-labelledby":t?"label_"+e:void 0,"aria-describedby":o&&o.length>0?"helptext_"+e:void 0,state:r,disabled:n,onBlur:p,...f})}),wl=kl,yl=A("ds-overflow-hidden ds-bg-neutrals-light",{variants:{size:{small:["ds-h-2","ds-rounded-sm"],large:["ds-h-4","ds-rounded"]}}}),jl=A("",{variants:{size:{small:["ds-h-2","ds-rounded-sm"],large:["ds-h-4","ds-rounded"]},state:{"in-progress":["ds-bg-acuity-blue"],error:["ds-bg-danger-red-dark"],success:["ds-bg-success-green"],indeterminate:["ds-bg-acuity-blue","ds-animate-progress"]}}}),El=A("ds-w-[3rem] ds-justify-end ds-flex ds-items-center ds-text-neutrals-dark",{variants:{size:{small:"ds-text-sm",large:""}}}),Ll=A("ds-text-sm",{variants:{state:{error:"ds-text-danger-red",success:"ds-text-neutrals-dark",indeterminate:"ds-text-neutrals-dark","in-progress":"ds-text-neutrals-dark"}}}),$l=({size:e="large",label:r="",helperMessage:n="",className:t="",state:s="indeterminate",maxValue:o=100,value:a=0,hideIcon:l=!1,...c})=>{const p=()=>{let g=Math.round(a/o*100);return g<0?g=0:g>100&&(g=100),s!=="in-progress"?"100%":`${g}%`},f=()=>{if(l)return null;switch(s){case"in-progress":return p();case"error":return i.jsx(me,{name:"error",size:e==="small"?"small":"medium",className:"ds-float-right ds-text-danger-red-dark",role:"graphics-symbol",filled:!0});case"success":return i.jsx(me,{name:"checkCircle",size:e==="small"?"small":"medium",className:"ds-float-right ds-text-success-green-dark",role:"graphics-symbol",filled:!0});case"indeterminate":default:return null}},h=()=>s==="in-progress"||s==="indeterminate"?i.jsxs("div",{className:"ds-ml-1 ds-mt-2 ds-flex ds-w-[15px] ds-items-center ds-space-x-[2px]",children:[i.jsx("div",{className:"ds-h-[3px] ds-w-[3px] ds-animate-blink ds-rounded-full ds-bg-neutrals-black [animation-delay:-0.2s]"}),i.jsx("div",{className:"ds-h-[3px] ds-w-[3px] ds-animate-blink ds-rounded-full ds-bg-neutrals-black [animation-delay:-0.15s]"}),i.jsx("div",{className:"ds-h-[3px] ds-w-[3px] ds-animate-blink ds-rounded-full ds-bg-neutrals-black"})]}):null;return i.jsxs("div",{className:I("preflight ds-min-w-[4.875rem]",t),...c,children:[i.jsxs("div",{className:"ds-flex ds-h-5 ds-items-center ds-justify-between",children:[i.jsxs("div",{className:"progress-bar-label ds-flex ds-max-w-[calc(100%-3rem)] ds-overflow-hidden",children:[i.jsx("p",{className:"ds-overflow-hidden ds-text-nowrap",children:r}),h()]}),i.jsx("div",{"aria-hidden":!0,className:El({size:e}),children:f()})]}),i.jsx("div",{role:"progressbar",className:"ds-mb-1 ds-mt-1","aria-label":r,"aria-valuemin":0,"aria-valuenow":a,"aria-valuemax":o,"aria-valuetext":p(),children:i.jsx("div",{className:yl({size:e}),children:i.jsx("div",{style:{width:p()},className:jl({size:e,state:s})})})}),i.jsx("p",{className:Ll({state:s}),children:n})]})},Ml=$l;exports.Alert=Bt;exports.Badge=gn;exports.Button=zt;exports.Card=_o;exports.Checkbox=Bo;exports.Dropdown=wl;exports.DropdownAtom=Cn;exports.FormValidation=Uo;exports.Heading=Yr;exports.Icon=me;exports.IconButton=vr;exports.LabelAtom=bn;exports.Link=oa;exports.Modal=Hi;exports.ProgressBar=Ml;exports.Radio=ta;exports.Spinner=pr;exports.Tab=Xi;exports.Tabs=Ki;exports.TextInput=gl;exports.TextInputAtom=xn;exports.Textarea=ul;exports.TextareaAtom=vn;
30
+ `))}else{let g=f.props,b=g==null?void 0:g.className,x=typeof b=="function"?(...w)=>Qe(b(...w),c.className):Qe(b,c.className),k=x?{className:x}:{},C=Zt(f.props,_e(Sr(c,["ref"])));for(let w in h)w in C&&delete h[w];return u.cloneElement(f,Object.assign({},C,h,p,{ref:s(f.ref,p.ref)},k))}return u.createElement(o,Object.assign({},Sr(c,["ref"]),o!==u.Fragment&&p,o!==u.Fragment&&h),f)}function ua(...e){return e.every(r=>r==null)?void 0:r=>{for(let n of e)n!=null&&(typeof n=="function"?n(r):n.current=r)}}function Zt(...e){if(e.length===0)return{};if(e.length===1)return e[0];let r={},n={};for(let t of e)for(let s in t)s.startsWith("on")&&typeof t[s]=="function"?(n[s]!=null||(n[s]=[]),n[s].push(t[s])):r[s]=t[s];if(r.disabled||r["aria-disabled"])for(let t in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(t)&&(n[t]=[s=>{var o;return(o=s==null?void 0:s.preventDefault)==null?void 0:o.call(s)}]);for(let t in n)Object.assign(r,{[t](s,...o){let a=n[t];for(let l of a){if((s instanceof Event||(s==null?void 0:s.nativeEvent)instanceof Event)&&s.defaultPrevented)return;l(s,...o)}}});return r}function ae(e){var r;return Object.assign(u.forwardRef(e),{displayName:(r=e.displayName)!=null?r:e.name})}function _e(e){let r=Object.assign({},e);for(let n in r)r[n]===void 0&&delete r[n];return r}function Sr(e,r=[]){let n=Object.assign({},e);for(let t of r)t in n&&delete n[t];return n}let fa="div";var mr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(mr||{});function pa(e,r){var n;let{features:t=1,...s}=e,o={ref:r,"aria-hidden":(t&2)===2?!0:(n=s["aria-hidden"])!=null?n:void 0,hidden:(t&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(t&4)===4&&(t&2)!==2&&{display:"none"}}};return ue({ourProps:o,theirProps:s,slot:{},defaultTag:fa,name:"Hidden"})}let Pr=ae(pa),ha=u.createContext(null);function ma({children:e}){let r=u.useContext(ha);if(!r)return u.createElement(u.Fragment,null,e);let{target:n}=r;return n?St.createPortal(u.createElement(u.Fragment,null,e),n):null}let Yt=Symbol();function ga(e,r=!0){return Object.assign(e,{[Yt]:r})}function ge(...e){let r=u.useRef(e);u.useEffect(()=>{r.current=e},[e]);let n=F(t=>{for(let s of r.current)s!=null&&(typeof s=="function"?s(t):s.current=t)});return e.every(t=>t==null||(t==null?void 0:t[Yt]))?void 0:n}let Jr=u.createContext(null);Jr.displayName="DescriptionContext";function qt(){let e=u.useContext(Jr);if(e===null){let r=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(r,qt),r}return e}function ba(){let[e,r]=u.useState([]);return[e.length>0?e.join(" "):void 0,u.useMemo(()=>function(n){let t=F(o=>(r(a=>[...a,o]),()=>r(a=>{let l=a.slice(),c=l.indexOf(o);return c!==-1&&l.splice(c,1),l}))),s=u.useMemo(()=>({register:t,slot:n.slot,name:n.name,props:n.props,value:n.value}),[t,n.slot,n.name,n.props,n.value]);return u.createElement(Jr.Provider,{value:s},n.children)},[r])]}let va="p";function xa(e,r){let n=u.useId(),t=ca(),{id:s=`headlessui-description-${n}`,...o}=e,a=qt(),l=ge(r);Q(()=>a.register(s),[s,a.register]);let c=t||!1,p=u.useMemo(()=>({...a.slot,disabled:c}),[a.slot,c]),f={ref:l,...a.props,id:s};return ue({ourProps:f,theirProps:o,slot:p,defaultTag:va,name:a.name||"Description"})}let Ca=ae(xa),ka=Object.assign(Ca,{});var Kt=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Kt||{});let wa=u.createContext(()=>{});function ya({value:e,children:r}){return u.createElement(wa.Provider,{value:e},r)}let Fr=new Map,er=new Map;function Et(e){var r;let n=(r=er.get(e))!=null?r:0;return er.set(e,n+1),n!==0?()=>Lt(e):(Fr.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>Lt(e))}function Lt(e){var r;let n=(r=er.get(e))!=null?r:1;if(n===1?er.delete(e):er.set(e,n-1),n!==1)return;let t=Fr.get(e);t&&(t["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",t["aria-hidden"]),e.inert=t.inert,Fr.delete(e))}function ja({allowed:e,disallowed:r}={},n=!0){Q(()=>{var t,s;if(!n)return;let o=Ne();for(let l of(t=r==null?void 0:r())!=null?t:[])l&&o.add(Et(l));let a=(s=e==null?void 0:e())!=null?s:[];for(let l of a){if(!l)continue;let c=qr(l);if(!c)continue;let p=l.parentElement;for(;p&&p!==c.body;){for(let f of p.children)a.some(h=>f.contains(h))||o.add(Et(f));p=p.parentElement}}return o.dispose},[n,e,r])}function Jt(e,r,n=!0){let t=he(s=>{let o=s.getBoundingClientRect();o.x===0&&o.y===0&&o.width===0&&o.height===0&&r()});u.useEffect(()=>{if(!n)return;let s=e===null?null:e instanceof HTMLElement?e:e.current;if(!s)return;let o=Ne();if(typeof ResizeObserver!="undefined"){let a=new ResizeObserver(()=>t.current(s));a.observe(s),o.add(()=>a.disconnect())}if(typeof IntersectionObserver!="undefined"){let a=new IntersectionObserver(()=>t.current(s));a.observe(s),o.add(()=>a.disconnect())}return()=>o.dispose()},[e,t,n])}let Or=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),Ea=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var we=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(we||{}),Wr=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Wr||{}),La=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(La||{});function $a(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Or)).sort((r,n)=>Math.sign((r.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function Ma(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Ea)).sort((r,n)=>Math.sign((r.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Xt=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Xt||{});function Sa(e,r=0){var n;return e===((n=qr(e))==null?void 0:n.body)?!1:G(r,{0(){return e.matches(Or)},1(){let t=e;for(;t!==null;){if(t.matches(Or))return!0;t=t.parentElement}return!1}})}var Na=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Na||{});typeof window!="undefined"&&typeof document!="undefined"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function ye(e){e==null||e.focus({preventScroll:!0})}let Ta=["textarea","input"].join(",");function Ra(e){var r,n;return(n=(r=e==null?void 0:e.matches)==null?void 0:r.call(e,Ta))!=null?n:!1}function Aa(e,r=n=>n){return e.slice().sort((n,t)=>{let s=r(n),o=r(t);if(s===null||o===null)return 0;let a=s.compareDocumentPosition(o);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function rr(e,r,{sorted:n=!0,relativeTo:t=null,skipElements:s=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,a=Array.isArray(e)?n?Aa(e):e:r&64?Ma(e):$a(e);s.length>0&&a.length>1&&(a=a.filter(b=>!s.some(x=>x!=null&&"current"in x?(x==null?void 0:x.current)===b:x===b))),t=t!=null?t:o.activeElement;let l=(()=>{if(r&5)return 1;if(r&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(r&1)return 0;if(r&2)return Math.max(0,a.indexOf(t))-1;if(r&4)return Math.max(0,a.indexOf(t))+1;if(r&8)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),p=r&32?{preventScroll:!0}:{},f=0,h=a.length,g;do{if(f>=h||f+h<=0)return 0;let b=c+f;if(r&16)b=(b+h)%h;else{if(b<0)return 3;if(b>=h)return 1}g=a[b],g==null||g.focus(p),f+=l}while(g!==o.activeElement);return r&6&&Ra(g)&&g.select(),2}function Qt(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Pa(){return/Android/gi.test(window.navigator.userAgent)}function Fa(){return Qt()||Pa()}function fr(e,r,n){let t=he(r);u.useEffect(()=>{function s(o){t.current(o)}return document.addEventListener(e,s,n),()=>document.removeEventListener(e,s,n)},[e,n])}function en(e,r,n){let t=he(r);u.useEffect(()=>{function s(o){t.current(o)}return window.addEventListener(e,s,n),()=>window.removeEventListener(e,s,n)},[e,n])}function Oa(e,r,n=!0){let t=u.useRef(!1);u.useEffect(()=>{requestAnimationFrame(()=>{t.current=n})},[n]);function s(a,l){if(!t.current||a.defaultPrevented)return;let c=l(a);if(c===null||!c.getRootNode().contains(c)||!c.isConnected)return;let p=function f(h){return typeof h=="function"?f(h()):Array.isArray(h)||h instanceof Set?h:[h]}(e);for(let f of p){if(f===null)continue;let h=f instanceof HTMLElement?f:f.current;if(h!=null&&h.contains(c)||a.composed&&a.composedPath().includes(h))return}return!Sa(c,Xt.Loose)&&c.tabIndex!==-1&&a.preventDefault(),r(a,c)}let o=u.useRef(null);fr("pointerdown",a=>{var l,c;t.current&&(o.current=((c=(l=a.composedPath)==null?void 0:l.call(a))==null?void 0:c[0])||a.target)},!0),fr("mousedown",a=>{var l,c;t.current&&(o.current=((c=(l=a.composedPath)==null?void 0:l.call(a))==null?void 0:c[0])||a.target)},!0),fr("click",a=>{Fa()||o.current&&(s(a,()=>o.current),o.current=null)},!0),fr("touchend",a=>s(a,()=>a.target instanceof HTMLElement?a.target:null),!0),en("blur",a=>s(a,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function nr(...e){return u.useMemo(()=>qr(...e),[...e])}function rn(e,r,n,t){let s=he(n);u.useEffect(()=>{e=e!=null?e:window;function o(a){s.current(a)}return e.addEventListener(r,o,t),()=>e.removeEventListener(r,o,t)},[e,r,t])}function Wa(e){return u.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}function _a(e,r){let n=e(),t=new Set;return{getSnapshot(){return n},subscribe(s){return t.add(s),()=>t.delete(s)},dispatch(s,...o){let a=r[s].call(n,...o);a&&(n=a,t.forEach(l=>l()))}}}function Va(){let e;return{before({doc:r}){var n;let t=r.documentElement,s=(n=r.defaultView)!=null?n:window;e=Math.max(0,s.innerWidth-t.clientWidth)},after({doc:r,d:n}){let t=r.documentElement,s=Math.max(0,t.clientWidth-t.offsetWidth),o=Math.max(0,e-s);n.style(t,"paddingRight",`${o}px`)}}}function Ia(){return Qt()?{before({doc:e,d:r,meta:n}){function t(s){return n.containers.flatMap(o=>o()).some(o=>o.contains(s))}r.microTask(()=>{var s;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let l=Ne();l.style(e.documentElement,"scrollBehavior","auto"),r.add(()=>r.microTask(()=>l.dispose()))}let o=(s=window.scrollY)!=null?s:window.pageYOffset,a=null;r.addEventListener(e,"click",l=>{if(l.target instanceof HTMLElement)try{let c=l.target.closest("a");if(!c)return;let{hash:p}=new URL(c.href),f=e.querySelector(p);f&&!t(f)&&(a=f)}catch(c){}},!0),r.addEventListener(e,"touchstart",l=>{if(l.target instanceof HTMLElement)if(t(l.target)){let c=l.target;for(;c.parentElement&&t(c.parentElement);)c=c.parentElement;r.style(c,"overscrollBehavior","contain")}else r.style(l.target,"touchAction","none")}),r.addEventListener(e,"touchmove",l=>{if(l.target instanceof HTMLElement){if(l.target.tagName==="INPUT")return;if(t(l.target)){let c=l.target;for(;c.parentElement&&c.dataset.headlessuiPortal!==""&&!(c.scrollHeight>c.clientHeight||c.scrollWidth>c.clientWidth);)c=c.parentElement;c.dataset.headlessuiPortal===""&&l.preventDefault()}else l.preventDefault()}},{passive:!1}),r.add(()=>{var l;let c=(l=window.scrollY)!=null?l:window.pageYOffset;o!==c&&window.scrollTo(0,o),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}:{}}function Da(){return{before({doc:e,d:r}){r.style(e.documentElement,"overflow","hidden")}}}function Ba(e){let r={};for(let n of e)Object.assign(r,n(r));return r}let Re=_a(()=>new Map,{PUSH(e,r){var n;let t=(n=this.get(e))!=null?n:{doc:e,count:0,d:Ne(),meta:new Set};return t.count++,t.meta.add(r),this.set(e,t),this},POP(e,r){let n=this.get(e);return n&&(n.count--,n.meta.delete(r)),this},SCROLL_PREVENT({doc:e,d:r,meta:n}){let t={doc:e,d:r,meta:Ba(n)},s=[Ia(),Va(),Da()];s.forEach(({before:o})=>o==null?void 0:o(t)),s.forEach(({after:o})=>o==null?void 0:o(t))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});Re.subscribe(()=>{let e=Re.getSnapshot(),r=new Map;for(let[n]of e)r.set(n,n.documentElement.style.overflow);for(let n of e.values()){let t=r.get(n.doc)==="hidden",s=n.count!==0;(s&&!t||!s&&t)&&Re.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&Re.dispatch("TEARDOWN",n)}});function Ha(e,r,n=()=>({containers:[]})){let t=Wa(Re),s=e?t.get(e):void 0,o=s?s.count>0:!1;return Q(()=>{if(!(!e||!r))return Re.dispatch("PUSH",e,n),()=>Re.dispatch("POP",e,n)},[r,e]),o}function za(e,r,n=()=>[document.body]){Ha(e,r,t=>{var s;return{containers:[...(s=t.containers)!=null?s:[],n]}})}function Xr(e,r){let n=u.useRef([]),t=F(e);u.useEffect(()=>{let s=[...n.current];for(let[o,a]of r.entries())if(n.current[o]!==a){let l=t(r,s);return n.current=r,l}},[t,...r])}let Qr=u.createContext(null);Qr.displayName="OpenClosedContext";var se=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(se||{});function et(){return u.useContext(Qr)}function Ua({value:e,children:r}){return u.createElement(Qr.Provider,{value:e},r)}function Ga(e){function r(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",r))}typeof window!="undefined"&&typeof document!="undefined"&&(document.addEventListener("DOMContentLoaded",r),r())}let Me=[];Ga(()=>{function e(r){r.target instanceof HTMLElement&&r.target!==document.body&&Me[0]!==r.target&&(Me.unshift(r.target),Me=Me.filter(n=>n!=null&&n.isConnected),Me.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function tn(e){let r=F(e),n=u.useRef(!1);u.useEffect(()=>(n.current=!1,()=>{n.current=!0,xr(()=>{n.current&&r()})}),[r])}function Za(){let e=typeof document=="undefined";return"useSyncExternalStore"in Xe?(r=>r.useSyncExternalStore)(Xe)(()=>()=>{},()=>!1,()=>!e):!1}function sr(){let e=Za(),[r,n]=Xe.useState(Ae.isHandoffComplete);return r&&Ae.isHandoffComplete===!1&&n(!1),Xe.useEffect(()=>{r!==!0&&n(!0)},[r]),Xe.useEffect(()=>Ae.handoff(),[]),e?!1:r}let nn=u.createContext(!1);function Ya(){return u.useContext(nn)}function $t(e){return u.createElement(nn.Provider,{value:e.force},e.children)}function qa(e){let r=Ya(),n=u.useContext(on),t=nr(e),[s,o]=u.useState(()=>{var a;if(!r&&n!==null)return(a=n.current)!=null?a:null;if(Ae.isServer)return null;let l=t==null?void 0:t.getElementById("headlessui-portal-root");if(l)return l;if(t===null)return null;let c=t.createElement("div");return c.setAttribute("id","headlessui-portal-root"),t.body.appendChild(c)});return u.useEffect(()=>{s!==null&&(t!=null&&t.body.contains(s)||t==null||t.body.appendChild(s))},[s,t]),u.useEffect(()=>{r||n!==null&&o(n.current)},[n,o,r]),s}let sn=u.Fragment,Ka=ae(function(e,r){let n=e,t=u.useRef(null),s=ge(ga(f=>{t.current=f}),r),o=nr(t),a=qa(t),[l]=u.useState(()=>{var f;return Ae.isServer?null:(f=o==null?void 0:o.createElement("div"))!=null?f:null}),c=u.useContext(_r),p=sr();return Q(()=>{!a||!l||a.contains(l)||(l.setAttribute("data-headlessui-portal",""),a.appendChild(l))},[a,l]),Q(()=>{if(l&&c)return c.register(l)},[c,l]),tn(()=>{var f;!a||!l||(l instanceof Node&&a.contains(l)&&a.removeChild(l),a.childNodes.length<=0&&((f=a.parentElement)==null||f.removeChild(a)))}),p?!a||!l?null:St.createPortal(ue({ourProps:{ref:s},theirProps:n,slot:{},defaultTag:sn,name:"Portal"}),l):null});function Ja(e,r){let n=ge(r),{enabled:t=!0,...s}=e;return t?u.createElement(Ka,{...s,ref:n}):ue({ourProps:{ref:n},theirProps:s,slot:{},defaultTag:sn,name:"Portal"})}let Xa=u.Fragment,on=u.createContext(null);function Qa(e,r){let{target:n,...t}=e,s={ref:ge(r)};return u.createElement(on.Provider,{value:n},ue({ourProps:s,theirProps:t,defaultTag:Xa,name:"Popover.Group"}))}let _r=u.createContext(null);function ei(){let e=u.useContext(_r),r=u.useRef([]),n=F(o=>(r.current.push(o),e&&e.register(o),()=>t(o))),t=F(o=>{let a=r.current.indexOf(o);a!==-1&&r.current.splice(a,1),e&&e.unregister(o)}),s=u.useMemo(()=>({register:n,unregister:t,portals:r}),[n,t,r]);return[r,u.useMemo(()=>function({children:o}){return u.createElement(_r.Provider,{value:s},o)},[s])]}let ri=ae(Ja),ti=ae(Qa),Mt=Object.assign(ri,{Group:ti});function ni(){var e;let[r]=u.useState(()=>typeof window!="undefined"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[n,t]=u.useState((e=r==null?void 0:r.matches)!=null?e:!1);return Q(()=>{if(!r)return;function s(o){t(o.matches)}return r.addEventListener("change",s),()=>r.removeEventListener("change",s)},[r]),n}function si({defaultContainers:e=[],portals:r,mainTreeNodeRef:n}={}){var t;let s=u.useRef((t=n==null?void 0:n.current)!=null?t:null),o=nr(s),a=F(()=>{var l,c,p;let f=[];for(let h of e)h!==null&&(h instanceof HTMLElement?f.push(h):"current"in h&&h.current instanceof HTMLElement&&f.push(h.current));if(r!=null&&r.current)for(let h of r.current)f.push(h);for(let h of(l=o==null?void 0:o.querySelectorAll("html > *, body > *"))!=null?l:[])h!==document.body&&h!==document.head&&h instanceof HTMLElement&&h.id!=="headlessui-portal-root"&&(h.contains(s.current)||h.contains((p=(c=s.current)==null?void 0:c.getRootNode())==null?void 0:p.host)||f.some(g=>h.contains(g))||f.push(h));return f});return{resolveContainers:a,contains:F(l=>a().some(c=>c.contains(l))),mainTreeNodeRef:s,MainTreeNode:u.useMemo(()=>function(){return n!=null?null:u.createElement(Pr,{features:mr.Hidden,ref:s})},[s,n])}}let rt=u.createContext(()=>{});rt.displayName="StackContext";var Vr=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Vr||{});function oi(){return u.useContext(rt)}function ai({children:e,onUpdate:r,type:n,element:t,enabled:s}){let o=oi(),a=F((...l)=>{r==null||r(...l),o(...l)});return Q(()=>{let l=s===void 0||s===!0;return l&&a(0,n,t),()=>{l&&a(1,n,t)}},[a,n,t,s]),u.createElement(rt.Provider,{value:a},e)}function or(){let e=u.useRef(!1);return Q(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var Je=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Je||{});function ii(){let e=u.useRef(0);return en("keydown",r=>{r.key==="Tab"&&(e.current=r.shiftKey?1:0)},!0),e}function an(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let r=new Set;for(let n of e.current)n.current instanceof HTMLElement&&r.add(n.current);return r}let li="div";var ke=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.AutoFocus=32]="AutoFocus",e[e.All=30]="All",e))(ke||{});function di(e,r){let n=u.useRef(null),t=ge(n,r),{initialFocus:s,initialFocusFallback:o,containers:a,features:l=30,...c}=e;sr()||(l=1);let p=nr(n);pi({ownerDocument:p},!!(l&16));let f=hi({ownerDocument:p,container:n,initialFocus:s,initialFocusFallback:o},l);mi({ownerDocument:p,container:n,containers:a,previousActiveElement:f},!!(l&8));let h=ii(),g=F(C=>{let w=n.current;w&&(j=>j())(()=>{G(h.current,{[Je.Forwards]:()=>{rr(w,we.First,{skipElements:[C.relatedTarget,o]})},[Je.Backwards]:()=>{rr(w,we.Last,{skipElements:[C.relatedTarget,o]})}})})}),b=Kr(),x=u.useRef(!1),k={ref:t,onKeyDown(C){C.key=="Tab"&&(x.current=!0,b.requestAnimationFrame(()=>{x.current=!1}))},onBlur(C){if(!(l&8))return;let w=an(a);n.current instanceof HTMLElement&&w.add(n.current);let j=C.relatedTarget;j instanceof HTMLElement&&j.dataset.headlessuiFocusGuard!=="true"&&(ln(w,j)||(x.current?rr(n.current,G(h.current,{[Je.Forwards]:()=>we.Next,[Je.Backwards]:()=>we.Previous})|we.WrapAround,{relativeTo:C.target}):C.target instanceof HTMLElement&&ye(C.target)))}};return u.createElement(u.Fragment,null,!!(l&4)&&u.createElement(Pr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:g,features:mr.Focusable}),ue({ourProps:k,theirProps:c,defaultTag:li,name:"FocusTrap"}),!!(l&4)&&u.createElement(Pr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:g,features:mr.Focusable}))}let ci=ae(di),ui=Object.assign(ci,{features:ke});function fi(e=!0){let r=u.useRef(Me.slice());return Xr(([n],[t])=>{t===!0&&n===!1&&xr(()=>{r.current.splice(0)}),t===!1&&n===!0&&(r.current=Me.slice())},[e,Me,r]),F(()=>{var n;return(n=r.current.find(t=>t!=null&&t.isConnected))!=null?n:null})}function pi({ownerDocument:e},r){let n=fi(r);Xr(()=>{r||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&ye(n())},[r]),tn(()=>{r&&ye(n())})}function hi({ownerDocument:e,container:r,initialFocus:n,initialFocusFallback:t},s){let o=!!(s&2),a=u.useRef(null),l=or();return Xr(()=>{if(!o){t!=null&&t.current&&ye(t.current);return}let c=r.current;c&&xr(()=>{if(!l.current)return;let p=e==null?void 0:e.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===p){a.current=p;return}}else if(c.contains(p)){a.current=p;return}if(n!=null&&n.current)ye(n.current);else{if(s&32){if(rr(c,we.First|we.AutoFocus)!==Wr.Error)return}else if(rr(c,we.First)!==Wr.Error)return;if(t!=null&&t.current&&(ye(t.current),(e==null?void 0:e.activeElement)===t.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}a.current=e==null?void 0:e.activeElement})},[t,o,s]),a}function mi({ownerDocument:e,container:r,containers:n,previousActiveElement:t},s){let o=or();rn(e==null?void 0:e.defaultView,"focus",a=>{if(!s||!o.current)return;let l=an(n);r.current instanceof HTMLElement&&l.add(r.current);let c=t.current;if(!c)return;let p=a.target;p&&p instanceof HTMLElement?ln(l,p)?(t.current=p,ye(p)):(a.preventDefault(),a.stopPropagation(),ye(c)):ye(t.current)},!0)}function ln(e,r){for(let n of e)if(n.contains(r))return!0;return!1}var gi=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(gi||{}),bi=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(bi||{});let vi={0(e,r){return e.titleId===r.id?e:{...e,titleId:r.id}}},gr=u.createContext(null);gr.displayName="DialogContext";function tt(e){let r=u.useContext(gr);if(r===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,tt),n}return r}function xi(e,r){return G(r.type,vi,e,r)}let Ci="div",ki=hr.RenderStrategy|hr.Static;function wi(e,r){let n=u.useId(),{id:t=`headlessui-dialog-${n}`,open:s,onClose:o,initialFocus:a,role:l="dialog",autoFocus:c=!0,__demoMode:p=!1,...f}=e,[h,g]=u.useState(0),b=u.useRef(!1);l=function(){return l==="dialog"||l==="alertdialog"?l:(b.current||(b.current=!0,console.warn(`Invalid role [${l}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let x=et();s===void 0&&x!==null&&(s=(x&se.Open)===se.Open);let k=u.useRef(null),C=ge(k,r),w=nr(k),j=e.hasOwnProperty("open")||x!==null,Z=e.hasOwnProperty("onClose");if(!j&&!Z)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!j)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!Z)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(typeof s!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${s}`);if(typeof o!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${o}`);let T=s?0:1,[H,ie]=u.useReducer(xi,{titleId:null,descriptionId:null,panelRef:u.createRef()}),Y=F(()=>o(!1)),z=F(W=>ie({type:0,id:W})),q=sr()?T===0:!1,K=h>1,ee=u.useContext(gr)!==null,[y,M]=ei(),O={get current(){var W;return(W=H.panelRef.current)!=null?W:k.current}},{resolveContainers:J,mainTreeNodeRef:le,MainTreeNode:fe}=si({portals:y,defaultContainers:[O]}),de=K?"parent":"leaf",U=x!==null?(x&se.Closing)===se.Closing:!1,be=K||U?!1:q;ja({allowed:F(()=>{var W,pe;return[(pe=(W=k.current)==null?void 0:W.closest("[data-headlessui-portal]"))!=null?pe:null]}),disallowed:F(()=>{var W,pe;return[(pe=(W=le.current)==null?void 0:W.closest("body > *:not(#headlessui-portal-root)"))!=null?pe:null]})},p?!1:be),Oa(J,W=>{W.preventDefault(),Y()},!(!q||K));let re=!(K||T!==0);rn(w==null?void 0:w.defaultView,"keydown",W=>{re&&(W.defaultPrevented||W.key===Kt.Escape&&(W.preventDefault(),W.stopPropagation(),Y()))}),za(w,p?!1:!(U||T!==0||ee),J),Jt(k,Y,T===0);let[ne,He]=ba(),te=u.useMemo(()=>[{dialogState:T,close:Y,setTitleId:z},H],[T,H,Y,z]),D=u.useMemo(()=>({open:T===0}),[T]),B={ref:C,id:t,role:l,tabIndex:-1,"aria-modal":T===0?!0:void 0,"aria-labelledby":H.titleId,"aria-describedby":ne},ze=!ni(),ve=q?G(de,{parent:ke.RestoreFocus,leaf:ke.All&~ke.FocusLock}):ke.None;return c&&(ve|=ke.AutoFocus),ze||(ve&=~ke.InitialFocus),p&&(ve=ke.None),u.createElement(ai,{type:"Dialog",enabled:T===0,element:k,onUpdate:F((W,pe)=>{pe==="Dialog"&&G(W,{[Vr.Add]:()=>g(Ue=>Ue+1),[Vr.Remove]:()=>g(Ue=>Ue-1)})})},u.createElement($t,{force:!0},u.createElement(Mt,null,u.createElement(gr.Provider,{value:te},u.createElement(Mt.Group,{target:k},u.createElement($t,{force:!1},u.createElement(He,{slot:D,name:"Dialog.Description"},u.createElement(M,null,u.createElement(ui,{initialFocus:a,initialFocusFallback:k,containers:J,features:ve},u.createElement(ya,{value:Y},ue({ourProps:B,theirProps:f,slot:D,defaultTag:Ci,features:ki,visible:T===0,name:"Dialog"})))))))))),u.createElement(ma,null,u.createElement(fe,null)))}let yi="div";function ji(e,r){let n=u.useId(),{id:t=`headlessui-dialog-panel-${n}`,...s}=e,[{dialogState:o},a]=tt("Dialog.Panel"),l=ge(r,a.panelRef),c=u.useMemo(()=>({open:o===0}),[o]),p=F(f=>{f.stopPropagation()});return ue({ourProps:{ref:l,id:t,onClick:p},theirProps:s,slot:c,defaultTag:yi,name:"Dialog.Panel"})}let Ei="h2";function Li(e,r){let n=u.useId(),{id:t=`headlessui-dialog-title-${n}`,...s}=e,[{dialogState:o,setTitleId:a}]=tt("Dialog.Title"),l=ge(r);u.useEffect(()=>(a(t),()=>a(null)),[t,a]);let c=u.useMemo(()=>({open:o===0}),[o]);return ue({ourProps:{ref:l,id:t},theirProps:s,slot:c,defaultTag:Ei,name:"Dialog.Title"})}let $i=ae(wi),dn=ae(ji),Mi=ae(Li),Si=Object.assign($i,{Panel:dn,Title:Mi,Description:ka});function Ni(e=0){let[r,n]=u.useState(e),t=or(),s=u.useCallback(c=>{t.current&&n(p=>p|c)},[r,t]),o=u.useCallback(c=>!!(r&c),[r]),a=u.useCallback(c=>{t.current&&n(p=>p&~c)},[n,t]),l=u.useCallback(c=>{t.current&&n(p=>p^c)},[n]);return{flags:r,addFlag:s,hasFlag:o,removeFlag:a,toggleFlag:l}}function cn(e){let r={called:!1};return(...n)=>{if(!r.called)return r.called=!0,e(...n)}}function Nr(e,...r){e&&r.length>0&&e.classList.add(...r)}function Tr(e,...r){e&&r.length>0&&e.classList.remove(...r)}function Ti(e,r){let n=cn(r),t=Ne();if(!e)return t.dispose;let{transitionDuration:s,transitionDelay:o}=getComputedStyle(e),[a,l]=[s,o].map(p=>{let[f=0]=p.split(",").filter(Boolean).map(h=>h.includes("ms")?parseFloat(h):parseFloat(h)*1e3).sort((h,g)=>g-h);return f}),c=a+l;if(c!==0){let p=t.group(f=>{let h=f.setTimeout(()=>{n(),f.dispose()},c);f.addEventListener(e,"transitionrun",g=>{g.target===g.currentTarget&&(h(),f.addEventListener(e,"transitioncancel",b=>{b.target===b.currentTarget&&(n(),p())}))})});t.addEventListener(e,"transitionend",f=>{f.target===f.currentTarget&&(n(),t.dispose())})}else n();return t.dispose}function Ri(e,{direction:r,done:n,classes:t,inFlight:s}){let o=Ne(),a=n!==void 0?cn(n):()=>{};r==="enter"&&(e.removeAttribute("hidden"),e.style.display="");let l=G(r,{enter:()=>t.enter,leave:()=>t.leave}),c=G(r,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),p=G(r,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return Ai(e,{prepare(){Tr(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),Nr(e,...t.base,...l,...p)},inFlight:s}),s&&(s.current=!0),o.nextFrame(()=>{o.add(Ti(e,()=>(Tr(e,...t.base,...l),Nr(e,...t.base,...t.entered,...c),s&&(s.current=!1),a()))),Tr(e,...t.base,...l,...p),Nr(e,...t.base,...l,...c)}),o.dispose}function Ai(e,{inFlight:r,prepare:n}){if(r!=null&&r.current){n();return}let t=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=t}function Pi({container:e,direction:r,classes:n,onStart:t,onStop:s}){let o=or(),a=Kr(),l=u.useRef(!1);Q(()=>{if(r==="idle"||!o.current)return;t.current(r);let c=e.current;return c?a.add(Ri(c,{direction:r,classes:n.current,inFlight:l,done(){s.current(r)}})):s.current(r),a.dispose},[r])}function $e(e=""){return e.split(/\s+/).filter(r=>r.length>1)}function un(e){var r;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((r=e.as)!=null?r:pn)!==u.Fragment||u.Children.count(e.children)===1}let Cr=u.createContext(null);Cr.displayName="TransitionContext";var Fi=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Fi||{});function Oi(){let e=u.useContext(Cr);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function Wi(){let e=u.useContext(kr);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let kr=u.createContext(null);kr.displayName="NestingContext";function wr(e){return"children"in e?wr(e.children):e.current.filter(({el:r})=>r.current!==null).filter(({state:r})=>r==="visible").length>0}function fn(e,r){let n=he(e),t=u.useRef([]),s=or(),o=Kr(),a=F((b,x=Se.Hidden)=>{let k=t.current.findIndex(({el:C})=>C===b);k!==-1&&(G(x,{[Se.Unmount](){t.current.splice(k,1)},[Se.Hidden](){t.current[k].state="hidden"}}),o.microTask(()=>{var C;!wr(t)&&s.current&&((C=n.current)==null||C.call(n))}))}),l=F(b=>{let x=t.current.find(({el:k})=>k===b);return x?x.state!=="visible"&&(x.state="visible"):t.current.push({el:b,state:"visible"}),()=>a(b,Se.Unmount)}),c=u.useRef([]),p=u.useRef(Promise.resolve()),f=u.useRef({enter:[],leave:[],idle:[]}),h=F((b,x,k)=>{c.current.splice(0),r&&(r.chains.current[x]=r.chains.current[x].filter(([C])=>C!==b)),r==null||r.chains.current[x].push([b,new Promise(C=>{c.current.push(C)})]),r==null||r.chains.current[x].push([b,new Promise(C=>{Promise.all(f.current[x].map(([w,j])=>j)).then(()=>C())})]),x==="enter"?p.current=p.current.then(()=>r==null?void 0:r.wait.current).then(()=>k(x)):k(x)}),g=F((b,x,k)=>{Promise.all(f.current[x].splice(0).map(([C,w])=>w)).then(()=>{var C;(C=c.current.shift())==null||C()}).then(()=>k(x))});return u.useMemo(()=>({children:t,register:l,unregister:a,onStart:h,onStop:g,wait:p,chains:f}),[l,a,t,h,g,f,p])}let pn=u.Fragment,hn=hr.RenderStrategy;function _i(e,r){var n,t,s;let{beforeEnter:o,afterEnter:a,beforeLeave:l,afterLeave:c,enter:p,enterFrom:f,enterTo:h,entered:g,leave:b,leaveFrom:x,leaveTo:k,...C}=e,w=u.useRef(null),j=un(e),Z=ge(...j?[w,r]:r===null?[]:[r]),T=(n=C.unmount)==null||n?Se.Unmount:Se.Hidden,{show:H,appear:ie,initial:Y}=Oi(),[z,q]=u.useState(H?"visible":"hidden"),K=Wi(),{register:ee,unregister:y}=K;Q(()=>ee(w),[ee,w]),Q(()=>{if(T===Se.Hidden&&w.current){if(H&&z!=="visible"){q("visible");return}return G(z,{hidden:()=>y(w),visible:()=>ee(w)})}},[z,w,ee,y,H,T]);let M=he({base:$e(C.className),enter:$e(p),enterFrom:$e(f),enterTo:$e(h),entered:$e(g),leave:$e(b),leaveFrom:$e(x),leaveTo:$e(k)}),O=he({beforeEnter:o,afterEnter:a,beforeLeave:l,afterLeave:c}),J=sr();Q(()=>{if(j&&J&&z==="visible"&&w.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[w,z,J,j]);let le=Y&&!ie,fe=ie&&H&&Y,de=fe?"enter":!J||le?"idle":H?"enter":"leave",U=Ni(0),be=F(te=>G(te,{enter:()=>{var D,B;U.addFlag(se.Opening),(B=(D=O.current).beforeEnter)==null||B.call(D)},leave:()=>{var D,B;U.addFlag(se.Closing),(B=(D=O.current).beforeLeave)==null||B.call(D)},idle:()=>{}})),ce=F(te=>G(te,{enter:()=>{var D,B;U.removeFlag(se.Opening),(B=(D=O.current).afterEnter)==null||B.call(D)},leave:()=>{var D,B;U.removeFlag(se.Closing),(B=(D=O.current).afterLeave)==null||B.call(D)},idle:()=>{}})),re=u.useRef(!1),je=fn(()=>{re.current||(q("hidden"),y(w))},K);Pi({container:w,classes:M,direction:de,onStart:he(te=>{re.current=!0,je.onStart(w,te,be)}),onStop:he(te=>{re.current=!1,je.onStop(w,te,ce),te==="leave"&&!wr(je)&&(q("hidden"),y(w))})});let ne=C,He={ref:Z};return fe?ne={...ne,className:Qe(C.className,...M.current.enter,...M.current.enterFrom)}:re.current?(ne.className=Qe(C.className,(t=w.current)==null?void 0:t.className),ne.className===""&&delete ne.className):(ne.className=Qe(C.className,(s=w.current)==null?void 0:s.className,...G(de,{enter:[...M.current.enterTo,...M.current.entered],leave:M.current.leaveTo,idle:[]})),ne.className===""&&delete ne.className),u.createElement(kr.Provider,{value:je},u.createElement(Ua,{value:G(z,{visible:se.Open,hidden:se.Closed})|U.flags},ue({ourProps:He,theirProps:ne,defaultTag:pn,features:hn,visible:z==="visible",name:"Transition.Child"})))}function Vi(e,r){let{show:n,appear:t=!1,unmount:s=!0,...o}=e,a=u.useRef(null),l=un(e),c=ge(...l?[a,r]:r===null?[]:[r]);sr();let p=et();if(n===void 0&&p!==null&&(n=(p&se.Open)===se.Open),n===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[f,h]=u.useState(n?"visible":"hidden"),g=fn(()=>{n||h("hidden")}),[b,x]=u.useState(!0),k=u.useRef([n]);Q(()=>{b!==!1&&k.current[k.current.length-1]!==n&&(k.current.push(n),x(!1))},[k,n]);let C=u.useMemo(()=>({show:n,appear:t,initial:b}),[n,t,b]);Jt(a,()=>h("hidden")),Q(()=>{n?h("visible"):!wr(g)&&a.current!==null&&h("hidden")},[n,g]);let w={unmount:s},j=F(()=>{var T;b&&x(!1),(T=e.beforeEnter)==null||T.call(e)}),Z=F(()=>{var T;b&&x(!1),(T=e.beforeLeave)==null||T.call(e)});return u.createElement(kr.Provider,{value:g},u.createElement(Cr.Provider,{value:C},ue({ourProps:{...w,as:u.Fragment,children:u.createElement(mn,{ref:c,...w,...o,beforeEnter:j,beforeLeave:Z})},theirProps:{},defaultTag:u.Fragment,features:hn,visible:f==="visible",name:"Transition"})))}function Ii(e,r){let n=u.useContext(Cr)!==null,t=et()!==null;return u.createElement(u.Fragment,null,!n&&t?u.createElement(Ir,{ref:r,...e}):u.createElement(mn,{ref:r,...e}))}let Ir=ae(Vi),mn=ae(_i),Dr=ae(Ii),Di=Object.assign(Ir,{Child:Dr,Root:Ir});const Bi=({open:e=!1,onClose:r,title:n="",backdrop:t="static",content:s,footer:o,icon:a=!1,iconComponent:l,iconName:c=void 0,dismissible:p=!0,horizontalRule:f=!0})=>{const h=()=>l?i.jsx(i.Fragment,{children:l}):a&&c?i.jsx(me,{name:c,size:"medium"}):null,g=()=>t==="dismissible"?r():!0;return i.jsx(Di,{appear:!0,show:e,as:u.Fragment,children:i.jsxs(Si,{as:"div",onClose:g,static:!0,className:"preflight ds-relative ds-z-20 focus:ds-outline-none","aria-labelledby":"modal-title",children:[t!=="none"&&i.jsx(Dr,{as:u.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:i.jsx("div",{className:"ds-fixed ds-inset-0 ds-bg-neutrals-transparent-medium ds-transition-opacity","aria-hidden":"true"})}),i.jsx("div",{className:"ds-fixed ds-inset-0 ds-z-20 ds-w-screen ds-overflow-y-auto",children:i.jsx("div",{className:"ds-flex ds-min-h-full ds-items-center ds-justify-center ds-p-4",children:i.jsx(Dr,{as:u.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:i.jsxs(dn,{className:"ds-flex ds-max-h-[90vh] ds-min-w-full ds-max-w-full ds-transform ds-flex-col ds-overflow-y-scroll ds-rounded-lg ds-bg-neutrals-white ds-text-left ds-shadow-modal sm:ds-min-w-[15rem] sm:ds-max-w-[55%]",children:[i.jsxs("div",{className:`ds-flex ds-items-center ds-py-4 ${p?"ds-pl-5 ds-pr-3":"ds-px-5"}`,children:[a&&i.jsx("div",{className:"ds-mr-3",children:h()}),i.jsx("div",{className:"ds-flex-grow",children:i.jsx(Yr,{text:n,headingTag:"h2",size:"medium",hasMarginBottom:!1,id:"modal-title"})}),p&&i.jsx(vr,{variant:"default",iconSize:"small",iconName:"close",hasTooltip:!1,label:"Close",disabled:!1,onClick:()=>r()})]}),f&&i.jsx("hr",{className:"ds-border-neutrals-light"}),s&&i.jsx("div",{className:`ds-h-auto ds-max-h-[48.6rem] ds-grow ds-overflow-y-scroll ds-px-5 ${o?"ds-py-4":"ds-pb-5 ds-pt-4"}`,children:s}),o&&i.jsx("div",{className:"ds-flex ds-justify-end ds-gap-x-4 ds-px-5 ds-py-4",children:o})]})})})})]})})},Hi=Bi,zi=A(["preflight","ds-rounded-xl","ds-border","ds-px-2","ds-py-1","ds-inline-flex","ds-items-center"],{variants:{color:{default:["ds-border-neutrals-light"],gray:["ds-bg-neutrals-lighter","ds-border-neutrals-lighter"],blue:["ds-bg-information-blue-lightest","ds-text-information-blue-darkest","ds-border-information-blue-lightest"],green:["ds-bg-success-green-lightest","ds-text-success-green-darkest","ds-border-success-green-lightest"],yellow:["ds-bg-warning-yellow-lightest","ds-text-warning-yellow-darkest","ds-border-warning-yellow-lightest"],red:["ds-bg-danger-red-lightest","ds-text-danger-red-darkest","ds-border-danger-red-lightest"]},type:{regular:["ds-text-base"],small:["ds-text-sm"]}}}),Ui=({label:e,type:r="regular",color:n="default",dismissible:t=!1,dismissLabel:s="",className:o="",onDismiss:a,...l})=>{const c=l["aria-label"]||e;return i.jsxs("div",{className:I(zi({color:n,type:r}),o),"aria-label":c,...l,children:[i.jsx("div",{className:"ds-max-w-[200px] ds-truncate ds-leading-6",children:e}),t&&i.jsx(vr,{variant:"small",iconName:"close",label:s||"dismiss",disabled:!1,onClick:()=>a&&a(),className:"ds-ms-1",isTransparent:!0})]})},gn=Ui,Gi=A(["preflight","ds-transition","ds-duration-100","ds-text-nowrap","!ds-font-sans","ds-text-base","ds-p-2","active:ds-text-neutrals-white","focus-visible:ds-ring-neutrals-black","focus-visible:ds-ring-2","focus-visible:ds-outline-none","focus-visible:ds-ring-offset-2"],{variants:{isNested:{true:["ds-rounded-xl","ds-my-2","ds-mx-1","ds-border","ds-border-neutrals-lighter","hover:ds-bg-neutrals-light","active:ds-bg-neutrals-dark","focus-visible:ds-ring-neutrals-black","focus-visible:ds-ring-2","focus-visible:ds-outline-none","focus-visible:ds-ring-offset-2","focus-visible:ds-bg-neutrals-white"],false:["ds-rounded","ds-rounded-b-none","ds-border-b-2","ds-border-b-neutrals-white","ds-my-1","ds-mr-2","hover:ds-bg-acuity-green-lighter","hover:ds-border-b-acuity-green-lighter","active:ds-bg-acuity-green-darkest","active:ds-border-b-acuity-green-darkest","focus-visible:ds-bg-acuity-green-lightest","focus-visible:ds-border-b-acuity-green-lightest"]}}}),Zi=({title:e,id:r,handleClick:n,isActive:t,isNested:s=!1,badgeText:o="",className:a="",...l})=>{const c=(p,f,h)=>I(Gi({isNested:p}),f&&!p&&"!ds-border-b-acuity-green",f&&p&&"ds-bg-neutrals-white !ds-border-neutrals",h);return i.jsxs("button",{className:c(s,t,a),role:"tab",id:`tab-${r}`,"aria-controls":`panel-${r}`,"aria-selected":t,onClick:n,...l,children:[e,o&&i.jsx(gn,{label:o,className:"ds-ml-2 ds-h-5 ds-bg-neutrals-white ds-text-neutrals-black"})]})},Yi=({id:e,children:r,hidden:n})=>i.jsx("div",{role:"tabpanel",id:`panel-${e}`,"aria-labelledby":`tab-${e}`,hidden:n,className:"preflight",children:r}),qi=({children:e,handleTabChange:r,activeTabIndex:n,isNested:t,className:s="",...o})=>{const a=u.Children.toArray(e).filter(l=>{var c,p;return u.isValidElement(l)&&!!((c=l.props)!=null&&c.id)&&!!((p=l.props)!=null&&p.title)});return a.length<u.Children.toArray(e).length&&console.error("You can only pass <Tab> components with defined id and title as children of the <Tabs> component."),i.jsxs("div",{className:`prelight ${s}`,...o,children:[i.jsx("div",{role:"tablist",className:`preflight ds-mb-5 ds-rounded ${t&&"!ds-mb-4 ds-bg-neutrals-lighter ds-px-2"}`,children:a.map((l,c)=>i.jsx(Zi,{handleClick:()=>r(c),isActive:n===c,badgeText:l.props.badgeText,isNested:t,...l.props},`tab-${c}`))}),a.map((l,c)=>i.jsx(Yi,{id:l.props.id,hidden:n!==c,children:l.props.children},`panel-${c}`))]})},Ki=qi,Ji=({children:e})=>e,Xi=Ji,Qi=A(["preflight","ds-form-label","!ds-font-sans","ds-text-base","ds-cursor-pointer","ds-w-[fit-content]"],{variants:{state:{default:["ds-text-neutrals-black"],error:["ds-text-danger-red-darkest"],success:["ds-text-success-green-darkest"]},disabled:{true:"!ds-text-neutrals-dark"}}}),el=e=>I(Qi(e)),rl=({id:e,state:r="default",disabled:n=!1,htmlFor:t,value:s="",optionalityLabel:o=""})=>i.jsxs("label",{id:e,htmlFor:t,className:el({state:r,disabled:n}),children:[s,o&&i.jsx("span",{className:"ds-text-sm ds-text-neutrals-darker",children:` (${o})`})]}),bn=rl,tl=A(["preflight","group","ds-flex","ds-flex-col","ds-container"],{variants:{state:{default:["[&>label]:focus-within:ds-text-acuity-blue"],error:["[&>label]:focus-within:ds-text-danger-red-darkest"],success:["[&>label]:focus-within:ds-text-success-green-darkest"]},hasMarginBottom:{true:""}},compoundVariants:[{state:"default",hasMarginBottom:!0,className:["ds-mb-6"]}]}),nl=e=>I(tl(e)),sl=A(["ds-form-label","!ds-font-sans","ds-text-base"],{variants:{state:{default:["ds-text-neutrals-black","ds-mt-2"],error:["ds-text-danger-red","ds-mt-2"],success:["ds-text-success-green-dark","ds-truncate","ds-text-sm","ds-mt-1"]},hasMarginBottom:{true:["ds-mb-6"],false:["ds-mb-0"]},disabled:{true:"!ds-text-neutrals-dark"}}}),ol=e=>I(sl(e)),al=({id:e,state:r="default",disabled:n=!1,label:t="",optionalityLabel:s="",helpText:o=[],message:a="",child:l,isTextarea:c=!1,className:p="",hasMarginBottom:f=!0})=>{let h=null;switch(r){case"error":h={name:"error",color:"ds-text-danger-red"};break;case"success":h={name:"checkCircle",color:"ds-text-success-green"};break}const g=t?"label_"+e:void 0,b=o&&o.length>0?"helptext_"+e:void 0;return i.jsxs("div",{className:I(nl({state:r,hasMarginBottom:f}),p),children:[t&&i.jsx(bn,{id:g,htmlFor:e,value:t,optionalityLabel:s,disabled:n}),o&&o.length>1&&i.jsx("ul",{id:b,className:"ds-mt-2 ds-pb-1 ds-pl-6",children:o==null?void 0:o.map((x,k)=>i.jsx("li",{className:"ds-list-disc ds-text-neutrals-dark",children:x},k))}),o&&o.length===1&&i.jsx("p",{id:b,className:"ds-mt-2 ds-pb-1 ds-text-neutrals-dark",children:o}),i.jsxs("div",{className:"ds-mt-2 ds-flex ds-gap-2",children:[i.jsx("div",{className:c?"":"ds-w-[calc(100%-2rem)]",children:l}),i.jsx("div",{className:"ds-pt-2",children:h&&i.jsx(me,{name:h.name,size:"medium",className:h.color,role:"graphics-symbol"})})]}),h&&i.jsx("p",{className:ol({state:r,hasMarginBottom:f}),children:a})]})},nt=al,il=A(["preflight","ds-form-input","ds-rounded","ds-p-2","!ds-border","!ds-font-sans"],Zr),ll=e=>I(il(e)),dl=({state:e="default",rows:r=2,cols:n=50,isResizable:t=!0,disabled:s=!1,...o})=>i.jsx("textarea",{"aria-invalid":e=="error",rows:r,cols:n,readOnly:s,className:ll({disabled:s,state:e}),style:{resize:t?"both":"none"},...o}),vn=dl,cl=({id:e,state:r="default",label:n,rows:t=2,cols:s=50,isResizable:o=!0,optionalityLabel:a="",helpText:l=[],message:c="",disabled:p=!1,className:f="",hasMarginBottom:h=!0,onBlur:g,...b})=>i.jsx(nt,{id:e,state:r,disabled:p,label:n,optionalityLabel:a,helpText:l,message:c,isTextarea:!0,className:f,hasMarginBottom:h,child:i.jsx(vn,{id:e,"aria-labelledby":n?"label_"+e:void 0,"aria-describedby":l&&l.length>0?"helptext_"+e:void 0,state:r,rows:t,cols:s,isResizable:o,disabled:p,onBlur:g,...b})}),ul=cl,fl=A(["preflight","ds-form-input","ds-h-[40px]","ds-rounded","ds-p-2","!ds-border","!ds-font-sans","ds-container"],Zr),pl=e=>I(fl(e)),hl=u.forwardRef(({state:e="default",disabled:r=!1,type:n="text",...t},s)=>i.jsx("input",{"aria-disabled":r,readOnly:r,type:n,className:pl({disabled:r,state:e}),ref:s,...t})),xn=hl,ml=u.forwardRef(({id:e,state:r="default",disabled:n=!1,type:t="text",label:s,optionalityLabel:o="",helpText:a=[],message:l="",className:c="",hasMarginBottom:p=!0,onBlur:f,...h},g)=>i.jsx(nt,{id:e,state:r,disabled:n,label:s,optionalityLabel:o,helpText:a,message:l,className:c,hasMarginBottom:p,child:i.jsx(xn,{id:e,"aria-labelledby":s?"label_"+e:void 0,"aria-describedby":a&&a.length>0?"helptext_"+e:void 0,type:t,state:r,disabled:n,ref:g,onBlur:f,...h})})),gl=ml,bl=A(["preflight","ds-form-select","ds-h-[40px]","ds-rounded","ds-p-2","!ds-border","!ds-font-sans","ds-container","ds-bg-[center_right_0.25rem]"],Zr),vl=e=>bl(e),xl=`url('data:image/svg+xml,<svg width="16" height="16" viewBox="5 -5 15 35" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="%23949494" ><path d="M21.375 8.09253L12.4417 17.025C12.3837 17.0831 12.3148 17.1291 12.2391 17.1605C12.1632 17.192 12.082 17.2082 12 17.2082C11.918 17.2082 11.8368 17.192 11.7609 17.1605C11.6852 17.1291 11.6163 17.0831 11.5583 17.025L2.625 8.09253" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" stroke="%23000000" /></svg>')`,Cl=({state:e="default",disabled:r=!1,className:n="",...t})=>{let s=t.children;return r&&(s=(u.isValidElement(t.children)?u.Children.toArray(t.children.props.children):u.Children.toArray(t.children)).map(a=>u.isValidElement(a)?u.cloneElement(a,{disabled:!0}):a)),i.jsx("select",{"aria-disabled":r,style:{backgroundImage:xl},className:I(vl({disabled:r,state:e}),n),...t,children:s})},Cn=Cl,kl=({id:e,state:r="default",disabled:n=!1,label:t,optionalityLabel:s="",helpText:o=[],message:a="",className:l="",hasMarginBottom:c=!0,onBlur:p,...f})=>i.jsx(nt,{id:e,state:r,disabled:n,label:t,optionalityLabel:s,helpText:o,message:a,className:l,hasMarginBottom:c,child:i.jsx(Cn,{id:e,"aria-labelledby":t?"label_"+e:void 0,"aria-describedby":o&&o.length>0?"helptext_"+e:void 0,state:r,disabled:n,onBlur:p,...f})}),wl=kl,yl=A("ds-overflow-hidden ds-bg-neutrals-light",{variants:{size:{small:["ds-h-2","ds-rounded-sm"],large:["ds-h-4","ds-rounded"]}}}),jl=A("",{variants:{size:{small:["ds-h-2","ds-rounded-sm"],large:["ds-h-4","ds-rounded"]},state:{"in-progress":["ds-bg-acuity-blue"],error:["ds-bg-danger-red-dark"],success:["ds-bg-success-green"],indeterminate:["ds-bg-acuity-blue","ds-animate-progress"]}}}),El=A("ds-w-[3rem] ds-justify-end ds-flex ds-items-center ds-text-neutrals-dark",{variants:{size:{small:"ds-text-sm",large:""}}}),Ll=A("ds-text-sm",{variants:{state:{error:"ds-text-danger-red",success:"ds-text-neutrals-dark",indeterminate:"ds-text-neutrals-dark","in-progress":"ds-text-neutrals-dark"}}}),$l=({size:e="large",label:r="",helperMessage:n="",className:t="",state:s="indeterminate",maxValue:o=100,value:a=0,hideIcon:l=!1,...c})=>{const p=()=>{let g=Math.round(a/o*100);return g<0?g=0:g>100&&(g=100),s!=="in-progress"?"100%":`${g}%`},f=()=>{if(l)return null;switch(s){case"in-progress":return p();case"error":return i.jsx(me,{name:"error",size:e==="small"?"small":"medium",className:"ds-float-right ds-text-danger-red-dark",role:"graphics-symbol",filled:!0});case"success":return i.jsx(me,{name:"checkCircle",size:e==="small"?"small":"medium",className:"ds-float-right ds-text-success-green-dark",role:"graphics-symbol",filled:!0});case"indeterminate":default:return null}},h=()=>s==="in-progress"||s==="indeterminate"?i.jsxs("div",{className:"ds-ml-1 ds-mt-2 ds-flex ds-w-[15px] ds-items-center ds-space-x-[2px]",children:[i.jsx("div",{className:"ds-h-[3px] ds-w-[3px] ds-animate-blink ds-rounded-full ds-bg-neutrals-black [animation-delay:-0.2s]"}),i.jsx("div",{className:"ds-h-[3px] ds-w-[3px] ds-animate-blink ds-rounded-full ds-bg-neutrals-black [animation-delay:-0.15s]"}),i.jsx("div",{className:"ds-h-[3px] ds-w-[3px] ds-animate-blink ds-rounded-full ds-bg-neutrals-black"})]}):null;return i.jsxs("div",{className:I("preflight ds-min-w-[4.875rem]",t),...c,children:[i.jsxs("div",{className:"ds-flex ds-h-5 ds-items-center ds-justify-between",children:[i.jsxs("div",{className:"progress-bar-label ds-flex ds-max-w-[calc(100%-3rem)] ds-overflow-hidden",children:[i.jsx("p",{className:"ds-overflow-hidden ds-text-nowrap",children:r}),h()]}),i.jsx("div",{"aria-hidden":!0,className:El({size:e}),children:f()})]}),i.jsx("div",{role:"progressbar",className:"ds-mb-1 ds-mt-1","aria-label":r,"aria-valuemin":0,"aria-valuenow":a,"aria-valuemax":o,"aria-valuetext":p(),children:i.jsx("div",{className:yl({size:e}),children:i.jsx("div",{style:{width:p()},className:jl({size:e,state:s})})})}),i.jsx("p",{className:Ll({state:s}),children:n})]})},Ml=$l;exports.Alert=Bt;exports.Badge=gn;exports.Button=zt;exports.Card=_o;exports.Checkbox=Bo;exports.Dropdown=wl;exports.DropdownAtom=Cn;exports.FormValidation=Uo;exports.Heading=Yr;exports.Icon=me;exports.IconButton=vr;exports.LabelAtom=bn;exports.Link=oa;exports.Modal=Hi;exports.ProgressBar=Ml;exports.Radio=ta;exports.Spinner=pr;exports.Tab=Xi;exports.Tabs=Ki;exports.TextInput=gl;exports.TextInputAtom=xn;exports.Textarea=ul;exports.TextareaAtom=vn;
31
31
  //# sourceMappingURL=index.cjs.js.map