azero_resources 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/README.md +1 -0
  2. package/dist/azero-resources.css +2 -0
  3. package/dist/azero-resources.js +4614 -0
  4. package/dist/azero-resources.umd.cjs +6 -0
  5. package/dist/jest.config.d.ts +14 -0
  6. package/dist/src/ToastServices.d.ts +9 -0
  7. package/dist/src/components/Badge/Badge.d.ts +14 -0
  8. package/dist/src/components/Badge/index.d.ts +1 -0
  9. package/dist/src/components/Badge/index.stories.d.ts +29 -0
  10. package/dist/src/components/Box/Box.d.ts +17 -0
  11. package/dist/src/components/Box/index.d.ts +2 -0
  12. package/dist/src/components/Box/index.stories.d.ts +25 -0
  13. package/dist/src/components/Button/ButtonIcon/icons.d.ts +2 -0
  14. package/dist/src/components/Button/ButtonIcon/index.d.ts +1 -0
  15. package/dist/src/components/Button/DefaultButton/DefaultButton.d.ts +22 -0
  16. package/dist/src/components/Button/DefaultButton/index.d.ts +1 -0
  17. package/dist/src/components/Button/DefaultButton/index.stories.d.ts +18 -0
  18. package/dist/src/components/Button/GroupIconButton/GroupIconButton.d.ts +14 -0
  19. package/dist/src/components/Button/GroupIconButton/index.d.ts +1 -0
  20. package/dist/src/components/Button/GroupIconButton/index.stories.d.ts +9 -0
  21. package/dist/src/components/Button/SingleIconButton/SingleIconButton.d.ts +17 -0
  22. package/dist/src/components/Button/SingleIconButton/index.d.ts +1 -0
  23. package/dist/src/components/Button/SingleIconButton/index.stories.d.ts +7 -0
  24. package/dist/src/components/Button/index.d.ts +4 -0
  25. package/dist/src/components/Calendar/Calendar.d.ts +18 -0
  26. package/dist/src/components/Calendar/index.d.ts +1 -0
  27. package/dist/src/components/Calendar/index.stories.d.ts +9 -0
  28. package/dist/src/components/Calendar/utils.d.ts +13 -0
  29. package/dist/src/components/Divider/Divider.d.ts +15 -0
  30. package/dist/src/components/Divider/index.d.ts +2 -0
  31. package/dist/src/components/Divider/index.stories.d.ts +29 -0
  32. package/dist/src/components/ImagePopOver/ImagePopOver.d.ts +18 -0
  33. package/dist/src/components/ImagePopOver/index.d.ts +2 -0
  34. package/dist/src/components/ImagePopOver/index.stories.d.ts +17 -0
  35. package/dist/src/components/Input/Input.d.ts +21 -0
  36. package/dist/src/components/Input/index.d.ts +1 -0
  37. package/dist/src/components/Input/index.stories.d.ts +29 -0
  38. package/dist/src/components/InputOTP/InputOTP.d.ts +23 -0
  39. package/dist/src/components/InputOTP/index.d.ts +1 -0
  40. package/dist/src/components/InputOTP/index.stories.d.ts +21 -0
  41. package/dist/src/components/Pagination/Pagination.d.ts +25 -0
  42. package/dist/src/components/Pagination/index.d.ts +1 -0
  43. package/dist/src/components/Pagination/index.stories.d.ts +24 -0
  44. package/dist/src/components/ProfileCard/ProfileCard.d.ts +17 -0
  45. package/dist/src/components/ProfileCard/index.d.ts +1 -0
  46. package/dist/src/components/ProfileCard/index.stories.d.ts +25 -0
  47. package/dist/src/components/Select/Select.d.ts +54 -0
  48. package/dist/src/components/Select/index.d.ts +1 -0
  49. package/dist/src/components/Select/index.stories.d.ts +24 -0
  50. package/dist/src/components/Slider/Slider.d.ts +13 -0
  51. package/dist/src/components/Slider/index.d.ts +1 -0
  52. package/dist/src/components/Slider/index.stories.d.ts +17 -0
  53. package/dist/src/components/Switch/Switch.d.ts +14 -0
  54. package/dist/src/components/Switch/index.d.ts +1 -0
  55. package/dist/src/components/Switch/index.stories.d.ts +25 -0
  56. package/dist/src/components/Table/Table.d.ts +56 -0
  57. package/dist/src/components/Table/index.d.ts +2 -0
  58. package/dist/src/components/Table/index.stories.d.ts +45 -0
  59. package/dist/src/components/Tabs/Tabs.d.ts +34 -0
  60. package/dist/src/components/Tabs/index.d.ts +1 -0
  61. package/dist/src/components/Tabs/index.stories.d.ts +29 -0
  62. package/dist/src/components/Textarea/Textarea.d.ts +12 -0
  63. package/dist/src/components/Textarea/index.d.ts +1 -0
  64. package/dist/src/components/Textarea/index.stories.d.ts +29 -0
  65. package/dist/src/components/Toast/Toast.d.ts +13 -0
  66. package/dist/src/components/Toast/index.d.ts +1 -0
  67. package/dist/src/components/Toast/index.stories.d.ts +25 -0
  68. package/dist/src/components/Tooltip/Tooltip.d.ts +30 -0
  69. package/dist/src/components/Tooltip/index.d.ts +1 -0
  70. package/dist/src/components/Tooltip/index.stories.d.ts +21 -0
  71. package/dist/src/components/Upload/FileIcons.d.ts +6 -0
  72. package/dist/src/components/Upload/Upload.d.ts +38 -0
  73. package/dist/src/components/Upload/index.d.ts +2 -0
  74. package/dist/src/components/Upload/index.stories.d.ts +48 -0
  75. package/dist/src/components/index.d.ts +20 -0
  76. package/dist/src/components/types.d.ts +106 -0
  77. package/dist/src/index.d.ts +5 -0
  78. package/dist/src/utils/Constant.d.ts +2 -0
  79. package/dist/src/utils/colorThemes.d.ts +43 -0
  80. package/dist/src/utils/index.d.ts +3 -0
  81. package/dist/src/utils/style.d.ts +21 -0
  82. package/dist/src/utils/types/index.d.ts +30 -0
  83. package/package.json +91 -0
@@ -0,0 +1,6 @@
1
+ (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require("react")):typeof define==`function`&&define.amd?define([`exports`,`react`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.AzeroResources={},e.React))})(this,function(e,t){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var n=Object.create,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,c=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),l=(e,t,n,o)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=a(t),l=0,u=c.length,d;l<u;l++)d=c[l],!s.call(e,d)&&d!==n&&r(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(o=i(t,d))||o.enumerable});return e};t=((e,t,i)=>(i=e==null?{}:n(o(e)),l(t||!e||!e.__esModule||!s.call(e,`default`)?r(i,`default`,{value:e,enumerable:!0}):i,e)))(t,1);function u(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=u(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function d(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=u(e))&&(r&&(r+=` `),r+=t);return r}var f=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,p=d,m=(e,t)=>n=>{if(t?.variants==null)return p(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e];if(t===null)return null;let o=f(t)||f(a);return r[e][o]}),o=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return p(e,a,t?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...o}[t]):{...i,...o}[t]===n})?[...e,n,r]:e},[]),n?.class,n?.className)},h=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},g=(e,t)=>({classGroupId:e,validator:t}),_=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),v=`-`,y=[],b=`arbitrary..`,x=e=>{let t=w(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return C(e);let n=e.split(v);return S(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?h(i,t):t:i||y}return n[e]||y}}},S=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=S(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(v):e.slice(t).join(v),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},C=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?b+r:void 0})(),w=e=>{let{theme:t,classGroups:n}=e;return T(n,t)},T=(e,t)=>{let n=_();for(let r in e){let i=e[r];E(i,n,r,t)}return n},E=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];D(i,t,n,r)}},D=(e,t,n,r)=>{if(typeof e==`string`){O(e,t,n);return}if(typeof e==`function`){ee(e,t,n,r);return}k(e,t,n,r)},O=(e,t,n)=>{let r=e===``?t:A(t,e);r.classGroupId=n},ee=(e,t,n,r)=>{if(j(e)){E(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(g(n,e))},k=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];E(o,A(t,a),n,r)}},A=(e,t)=>{let n=e,r=t.split(v),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=_(),n.nextPart.set(t,i)),n=i}return n},j=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,M=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},N=`!`,P=`:`,F=[],te=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),ne=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===P){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(N)?(c=s.slice(0,-1),l=!0):s.startsWith(N)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return te(t,l,c,u)};if(t){let e=t+P,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):te(F,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},re=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},ie=e=>({cache:M(e.cacheSize),parseClassName:ne(e),sortModifiers:re(e),postfixLookupClassGroupIds:I(e),...x(e)}),I=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},L=/\s+/,ae=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],c=e.trim().split(L),l=``;for(let e=c.length-1;e>=0;--e){let t=c[e],{isExternal:u,modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(u){l=t+(l.length>0?` `+l:l);continue}let h=!!m,g;if(h){g=r(p.substring(0,m));let e=g&&o[g]?r(p):void 0;e&&e!==g&&(g=e,h=!1)}else g=r(p);if(!g){if(!h){l=t+(l.length>0?` `+l:l);continue}if(g=r(p),!g){l=t+(l.length>0?` `+l:l);continue}h=!1}let _=d.length===0?``:d.length===1?d[0]:a(d).join(`:`),v=f?_+N:_,y=v+g;if(s.indexOf(y)>-1)continue;s.push(y);let b=i(g,h);for(let e=0;e<b.length;++e){let t=b[e];s.push(v+t)}l=t+(l.length>0?` `+l:l)}return l},oe=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=R(n))&&(i&&(i+=` `),i+=r);return i},R=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=R(e[r]))&&(n&&(n+=` `),n+=t);return n},se=(e,...t)=>{let n,r,i,a,o=o=>(n=ie(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=ae(e,n);return i(e,a),a};return a=o,(...e)=>a(oe(...e))},ce=[],z=e=>{let t=t=>t[e]||ce;return t.isThemeGetter=!0,t.themeKey=e,t},le=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ue=/^\((?:(\w[\w-]*):)?(.+)\)$/i,de=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,fe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,pe=/\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$/,me=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/,he=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ge=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>de.test(e),V=e=>!!e&&!Number.isNaN(Number(e)),H=e=>!!e&&Number.isInteger(Number(e)),_e=e=>e.endsWith(`%`)&&V(e.slice(0,-1)),U=e=>fe.test(e),ve=()=>!0,ye=e=>pe.test(e)&&!me.test(e),be=()=>!1,xe=e=>he.test(e),Se=e=>ge.test(e),Ce=e=>!W(e)&&!K(e),we=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),Te=e=>q(e,He,be),W=e=>le.test(e),G=e=>q(e,Ue,ye),Ee=e=>q(e,We,V),De=e=>q(e,Ke,ve),Oe=e=>q(e,Ge,be),ke=e=>q(e,Be,be),Ae=e=>q(e,Ve,Se),je=e=>q(e,qe,xe),K=e=>ue.test(e),Me=e=>ze(e,Ue),Ne=e=>ze(e,Ge),Pe=e=>ze(e,Be),Fe=e=>ze(e,He),Ie=e=>ze(e,Ve),Le=e=>ze(e,qe,!0),Re=e=>ze(e,Ke,!0),q=(e,t,n)=>{let r=le.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},ze=(e,t,n=!1)=>{let r=ue.exec(e);return r?r[1]?t(r[1]):n:!1},Be=e=>e===`position`||e===`percentage`,Ve=e=>e===`image`||e===`url`,He=e=>e===`length`||e===`size`||e===`bg-size`,Ue=e=>e===`length`,We=e=>e===`number`,Ge=e=>e===`family-name`,Ke=e=>e===`number`||e===`weight`,qe=e=>e===`shadow`,Je=se(()=>{let e=z(`color`),t=z(`font`),n=z(`text`),r=z(`font-weight`),i=z(`tracking`),a=z(`leading`),o=z(`breakpoint`),s=z(`container`),c=z(`spacing`),l=z(`radius`),u=z(`shadow`),d=z(`inset-shadow`),f=z(`text-shadow`),p=z(`drop-shadow`),m=z(`blur`),h=z(`perspective`),g=z(`aspect`),_=z(`ease`),v=z(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),K,W],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[K,W,c],T=()=>[B,`full`,`auto`,...w()],E=()=>[H,`none`,`subgrid`,K,W],D=()=>[`auto`,{span:[`full`,H,K,W]},H,K,W],O=()=>[H,`auto`,K,W],ee=()=>[`auto`,`min`,`max`,`fr`,K,W],k=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],A=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],j=()=>[`auto`,...w()],M=()=>[B,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],N=()=>[s,B,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],P=()=>[B,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],F=()=>[e,K,W],te=()=>[...b(),Pe,ke,{position:[K,W]}],ne=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],re=()=>[`auto`,`cover`,`contain`,Fe,Te,{size:[K,W]}],ie=()=>[_e,Me,G],I=()=>[``,`none`,`full`,l,K,W],L=()=>[``,V,Me,G],ae=()=>[`solid`,`dashed`,`dotted`,`double`],oe=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],R=()=>[V,_e,Pe,ke],se=()=>[``,`none`,m,K,W],ce=()=>[`none`,V,K,W],le=()=>[`none`,V,K,W],ue=()=>[V,K,W],de=()=>[B,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[U],breakpoint:[U],color:[ve],container:[U],"drop-shadow":[U],ease:[`in`,`out`,`in-out`],font:[Ce],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[U],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[U],shadow:[U],spacing:[`px`,V],text:[U],"text-shadow":[U],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,B,W,K,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,K,W]}],"container-named":[we],columns:[{columns:[V,`auto`,W,K,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[H,`auto`,K,W]}],basis:[{basis:[B,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[V,B,`auto`,`initial`,`none`,W]}],grow:[{grow:[``,V,K,W]}],shrink:[{shrink:[``,V,K,W]}],order:[{order:[H,`first`,`last`,`none`,K,W]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:D()}],"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":ee()}],"auto-rows":[{"auto-rows":ee()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...k(),`normal`]}],"justify-items":[{"justify-items":[...A(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...A()]}],"align-content":[{content:[`normal`,...k()]}],"align-items":[{items:[...A(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...A(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":k()}],"place-items":[{"place-items":[...A(),`baseline`]}],"place-self":[{"place-self":[`auto`,...A()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:j()}],mx:[{mx:j()}],my:[{my:j()}],ms:[{ms:j()}],me:[{me:j()}],mbs:[{mbs:j()}],mbe:[{mbe:j()}],mt:[{mt:j()}],mr:[{mr:j()}],mb:[{mb:j()}],ml:[{ml:j()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:M()}],"inline-size":[{inline:[`auto`,...N()]}],"min-inline-size":[{"min-inline":[`auto`,...N()]}],"max-inline-size":[{"max-inline":[`none`,...N()]}],"block-size":[{block:[`auto`,...P()]}],"min-block-size":[{"min-block":[`auto`,...P()]}],"max-block-size":[{"max-block":[`none`,...P()]}],w:[{w:[s,`screen`,...M()]}],"min-w":[{"min-w":[s,`screen`,`none`,...M()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...M()]}],h:[{h:[`screen`,`lh`,...M()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...M()]}],"max-h":[{"max-h":[`screen`,`lh`,`none`,...M()]}],"font-size":[{text:[`base`,n,Me,G]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Re,De]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,_e,W]}],"font-family":[{font:[Ne,Oe,t]}],"font-features":[{"font-features":[W]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,K,W]}],"line-clamp":[{"line-clamp":[V,`none`,K,Ee]}],leading:[{leading:[`none`,a,...w()]}],"list-image":[{"list-image":[`none`,K,W]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,K,W]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:F()}],"text-color":[{text:F()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...ae(),`wavy`]}],"text-decoration-thickness":[{decoration:[V,`from-font`,`auto`,K,G]}],"text-decoration-color":[{decoration:F()}],"underline-offset":[{"underline-offset":[V,`auto`,K,W]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"tab-size":[{tab:[H,K,W]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,K,W]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,K,W]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:te()}],"bg-repeat":[{bg:ne()}],"bg-size":[{bg:re()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},H,K,W],radial:[``,K,W],conic:[``,H,K,W]},Ie,Ae]}],"bg-color":[{bg:F()}],"gradient-from-pos":[{from:ie()}],"gradient-via-pos":[{via:ie()}],"gradient-to-pos":[{to:ie()}],"gradient-from":[{from:F()}],"gradient-via":[{via:F()}],"gradient-to":[{to:F()}],rounded:[{rounded:I()}],"rounded-s":[{"rounded-s":I()}],"rounded-e":[{"rounded-e":I()}],"rounded-t":[{"rounded-t":I()}],"rounded-r":[{"rounded-r":I()}],"rounded-b":[{"rounded-b":I()}],"rounded-l":[{"rounded-l":I()}],"rounded-ss":[{"rounded-ss":I()}],"rounded-se":[{"rounded-se":I()}],"rounded-ee":[{"rounded-ee":I()}],"rounded-es":[{"rounded-es":I()}],"rounded-tl":[{"rounded-tl":I()}],"rounded-tr":[{"rounded-tr":I()}],"rounded-br":[{"rounded-br":I()}],"rounded-bl":[{"rounded-bl":I()}],"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-bs":[{"border-bs":L()}],"border-w-be":[{"border-be":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()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":L()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...ae(),`hidden`,`none`]}],"divide-style":[{divide:[...ae(),`hidden`,`none`]}],"border-color":[{border:F()}],"border-color-x":[{"border-x":F()}],"border-color-y":[{"border-y":F()}],"border-color-s":[{"border-s":F()}],"border-color-e":[{"border-e":F()}],"border-color-bs":[{"border-bs":F()}],"border-color-be":[{"border-be":F()}],"border-color-t":[{"border-t":F()}],"border-color-r":[{"border-r":F()}],"border-color-b":[{"border-b":F()}],"border-color-l":[{"border-l":F()}],"divide-color":[{divide:F()}],"outline-style":[{outline:[...ae(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[V,K,W]}],"outline-w":[{outline:[``,V,Me,G]}],"outline-color":[{outline:F()}],shadow:[{shadow:[``,`inner`,`none`,u,Le,je]}],"shadow-color":[{shadow:F()}],"inset-shadow":[{"inset-shadow":[`none`,d,Le,je]}],"inset-shadow-color":[{"inset-shadow":F()}],"ring-w":[{ring:L()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:F()}],"ring-offset-w":[{"ring-offset":[V,G]}],"ring-offset-color":[{"ring-offset":F()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":F()}],"text-shadow":[{"text-shadow":[`none`,f,Le,je]}],"text-shadow-color":[{"text-shadow":F()}],opacity:[{opacity:[V,K,W]}],"mix-blend":[{"mix-blend":[...oe(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":oe()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[V]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":F()}],"mask-image-linear-to-color":[{"mask-linear-to":F()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":F()}],"mask-image-t-to-color":[{"mask-t-to":F()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":F()}],"mask-image-r-to-color":[{"mask-r-to":F()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":F()}],"mask-image-b-to-color":[{"mask-b-to":F()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":F()}],"mask-image-l-to-color":[{"mask-l-to":F()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":F()}],"mask-image-x-to-color":[{"mask-x-to":F()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":F()}],"mask-image-y-to-color":[{"mask-y-to":F()}],"mask-image-radial":[{"mask-radial":[K,W]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":F()}],"mask-image-radial-to-color":[{"mask-radial-to":F()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[V]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":F()}],"mask-image-conic-to-color":[{"mask-conic-to":F()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:te()}],"mask-repeat":[{mask:ne()}],"mask-size":[{mask:re()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,K,W]}],filter:[{filter:[``,`none`,K,W]}],blur:[{blur:se()}],brightness:[{brightness:[V,K,W]}],contrast:[{contrast:[V,K,W]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Le,je]}],"drop-shadow-color":[{"drop-shadow":F()}],grayscale:[{grayscale:[``,V,K,W]}],"hue-rotate":[{"hue-rotate":[V,K,W]}],invert:[{invert:[``,V,K,W]}],saturate:[{saturate:[V,K,W]}],sepia:[{sepia:[``,V,K,W]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,K,W]}],"backdrop-blur":[{"backdrop-blur":se()}],"backdrop-brightness":[{"backdrop-brightness":[V,K,W]}],"backdrop-contrast":[{"backdrop-contrast":[V,K,W]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,V,K,W]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[V,K,W]}],"backdrop-invert":[{"backdrop-invert":[``,V,K,W]}],"backdrop-opacity":[{"backdrop-opacity":[V,K,W]}],"backdrop-saturate":[{"backdrop-saturate":[V,K,W]}],"backdrop-sepia":[{"backdrop-sepia":[``,V,K,W]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,K,W]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[V,`initial`,K,W]}],ease:[{ease:[`linear`,`initial`,_,K,W]}],delay:[{delay:[V,K,W]}],animate:[{animate:[`none`,v,K,W]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,K,W]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ce()}],"rotate-x":[{"rotate-x":ce()}],"rotate-y":[{"rotate-y":ce()}],"rotate-z":[{"rotate-z":ce()}],scale:[{scale:le()}],"scale-x":[{"scale-x":le()}],"scale-y":[{"scale-y":le()}],"scale-z":[{"scale-z":le()}],"scale-3d":[`scale-3d`],skew:[{skew:ue()}],"skew-x":[{"skew-x":ue()}],"skew-y":[{"skew-y":ue()}],transform:[{transform:[K,W,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:de()}],"translate-x":[{"translate-x":de()}],"translate-y":[{"translate-y":de()}],"translate-z":[{"translate-z":de()}],"translate-none":[`translate-none`],zoom:[{zoom:[H,K,W]}],accent:[{accent:F()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:F()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,K,W]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":F()}],"scrollbar-track-color":[{"scrollbar-track":F()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"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`,K,W]}],fill:[{fill:[`none`,...F()]}],"stroke-w":[{stroke:[V,Me,G,Ee]}],stroke:[{stroke:[`none`,...F()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`start`,`end`,`right`,`left`],"inset-y":[`inset-bs`,`inset-be`,`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`ps`,`pe`,`pr`,`pl`],py:[`pbs`,`pbe`,`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`ms`,`me`,`mr`,`ml`],my:[`mbs`,`mbe`,`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-s`,`border-w-e`,`border-w-r`,`border-w-l`],"border-w-y":[`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-s`,`border-color-e`,`border-color-r`,`border-color-l`],"border-color-y":[`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-ms`,`scroll-me`,`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-ps`,`scroll-pe`,`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}}),Ye={lightBrown:`#BFA59A`,brown:`#7D5D4F`,lightGray:`#72787F`,gray:`#9EA4AA`,lightBlack:`#26282B`,lightWhite:`#EBE3E0`,darkBrown:`#3F271E`,lighterGray:`#C9CDD2`,lightBlue:`#334155`,chocolate:`#3E2E28`,blue:`#334EAC`,white:`#E8EBED`,whiteGray:`#9EA4AA`,grayBlue:`#334155`,cream:`#F5F1EF`,blueGray:`#334155`,lightCream:`#F5F1EF`,lightGreen:`#34D399`,darkBlue:`#111827`,light:`#E2E8F0`,perpleWhite:`#F0E5FF`,green500:`green-500`,red500:`red-500`,black:`#000`,plainWhite:`#fff`,gray700:`gray-700`,gray200:`gray-200`,gray300:`gray-300`,gray800:`gray-800`,gray500:`gray-500`,gray100:`gray-100`,gray400:`gray-400`,perple60:`purple-500/60`,perple75:`purple-500/75`,blue500:`blue-500`,indigo500:`indigo-500`,red700:`red-700`,gray600:`gray-600`,yellow500:`yellow-500`,pink800:`pink-800`,blue400:`blue-400`},J=(...e)=>Je(d(...e)),Xe=c((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),Ze=c((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===ee?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case _:return`Fragment`;case y:return`Profiler`;case v:return`StrictMode`;case C:return`Suspense`;case w:return`SuspenseList`;case D:return`Activity`;case O:return`ViewTransition`}if(typeof e==`object`)switch(typeof e.tag==`number`&&console.error(`Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`),e.$$typeof){case g:return`Portal`;case x:return e.displayName||`Context`;case b:return(e._context.displayName||`Context`)+`.Consumer`;case S:var n=e.render;return e=e.displayName,e||=(e=n.displayName||n.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case T:return n=e.displayName||null,n===null?t(e.type)||`Memo`:n;case E:n=e._payload,e=e._init;try{return t(e(n))}catch{}}return null}function n(e){return``+e}function r(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var r=t.error,i=typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`;return r.call(t,`The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,i),n(e)}}function i(e){if(e===_)return`<>`;if(typeof e==`object`&&e&&e.$$typeof===E)return`<...>`;try{var n=t(e);return n?`<`+n+`>`:`<...>`}catch{return`<...>`}}function a(){var e=k.A;return e===null?null:e.getOwner()}function o(){return Error(`react-stack-top-frame`)}function s(e){if(A.call(e,`key`)){var t=Object.getOwnPropertyDescriptor(e,`key`).get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function c(e,t){function n(){N||(N=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}function l(){var e=t(this.type);return P[e]||(P[e]=!0,console.error(`Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.`)),e=this.props.ref,e===void 0?null:e}function u(e,t,n,r,i,a){var o=n.ref;return e={$$typeof:h,type:e,key:t,props:n,_owner:r},(o===void 0?null:o)===null?Object.defineProperty(e,"ref",{enumerable:!1,value:null}):Object.defineProperty(e,"ref",{enumerable:!1,get:l}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function d(e,n,i,o,l,d){var p=n.children;if(p!==void 0){if(o){if(j(p)){for(o=0;o<p.length;o++)f(p[o]);Object.freeze&&Object.freeze(p)}else console.error(`React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.`)}else f(p)}if(A.call(n,`key`)){p=t(e);var m=Object.keys(n).filter(function(e){return e!==`key`});o=0<m.length?`{key: someKey, `+m.join(`: ..., `)+`: ...}`:`{key: someKey}`,ne[p+o]||(m=0<m.length?`{`+m.join(`: ..., `)+`: ...}`:`{}`,console.error(`A props object containing a "key" prop is being spread into JSX:
2
+ let props = %s;
3
+ <%s {...props} />
4
+ React keys must be passed directly to JSX without using spread:
5
+ let props = %s;
6
+ <%s key={someKey} {...props} />`,o,p,m,p),ne[p+o]=!0)}if(p=null,i!==void 0&&(r(i),p=``+i),s(n)&&(r(n.key),p=``+n.key),`key`in n)for(var h in i={},n)h!==`key`&&(i[h]=n[h]);else i=n;return p&&c(i,typeof e==`function`?e.displayName||e.name||`Unknown`:e),u(e,p,i,a(),l,d)}function f(e){p(e)?e._store&&(e._store.validated=1):typeof e==`object`&&e&&e.$$typeof===E&&(e._payload.status===`fulfilled`?p(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function p(e){return typeof e==`object`&&!!e&&e.$$typeof===h}var m=require("react"),h=Symbol.for(`react.transitional.element`),g=Symbol.for(`react.portal`),_=Symbol.for(`react.fragment`),v=Symbol.for(`react.strict_mode`),y=Symbol.for(`react.profiler`),b=Symbol.for(`react.consumer`),x=Symbol.for(`react.context`),S=Symbol.for(`react.forward_ref`),C=Symbol.for(`react.suspense`),w=Symbol.for(`react.suspense_list`),T=Symbol.for(`react.memo`),E=Symbol.for(`react.lazy`),D=Symbol.for(`react.activity`),O=Symbol.for(`react.view_transition`),ee=Symbol.for(`react.client.reference`),k=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A=Object.prototype.hasOwnProperty,j=Array.isArray,M=console.createTask?console.createTask:function(){return null};m={react_stack_bottom_frame:function(e){return e()}};var N,P={},F=m.react_stack_bottom_frame.bind(m,o)(),te=M(i(o)),ne={};e.Fragment=_,e.jsx=function(e,t,n){var r=1e4>k.recentlyCreatedOwnerStacks++;if(r){var a=Error.stackTraceLimit;Error.stackTraceLimit=10;var o=Error(`react-stack-top-frame`);Error.stackTraceLimit=a}else o=F;return d(e,t,n,!1,o,r?M(i(e)):te)},e.jsxs=function(e,t,n){var r=1e4>k.recentlyCreatedOwnerStacks++;if(r){var a=Error.stackTraceLimit;Error.stackTraceLimit=10;var o=Error(`react-stack-top-frame`);Error.stackTraceLimit=a}else o=F;return d(e,t,n,!0,o,r?M(i(e)):te)}})()})),Y=c(((e,t)=>{t.exports=process.env.NODE_ENV===`production`?Xe():Ze()}))(),Qe=m(`inline-flex items-center justify-center font-[500] transition-colors select-none`,{variants:{variant:{default:`bg-slate-100 text-slate-700 hover:bg-slate-200`,solid:`bg-[#FB713B] text-white hover:bg-[#EA580C]`,primary:`bg-[#0F172A] text-white hover:bg-[#1E293B]`,secondary:`bg-slate-100 text-[#0F172A] hover:bg-slate-200`,destructive:`bg-red-500 text-white hover:bg-red-600`,outline:`border border-cyan-500 text-cyan-600 bg-white hover:bg-cyan-50/50`,success:`bg-emerald-100 text-emerald-700 hover:bg-emerald-200/80`,warning:`bg-amber-100 text-amber-800 hover:bg-amber-200/80`,info:`bg-blue-100 text-blue-700 hover:bg-blue-200/80`},shape:{rounded:`rounded-md`,pill:`rounded-full`,square:`rounded`},size:{sm:`text-[11px] px-2 py-0.5 gap-1`,default:`text-xs px-2.5 py-0.5 gap-1.5`,lg:`text-sm px-3.5 py-1 gap-2`}},defaultVariants:{variant:`default`,shape:`rounded`,size:`default`}}),$e=(0,t.forwardRef)(({className:e,variant:t=`default`,shape:n=`rounded`,size:r=`default`,icon:i,cornerCheck:a=!1,onRemove:o,children:s,...c},l)=>(0,Y.jsxs)(`div`,{ref:l,className:J(Qe({variant:t,shape:n,size:r}),a&&`relative overflow-hidden pr-4.5 border border-cyan-500 text-cyan-600 bg-white`,e),...c,children:[i&&(0,Y.jsx)(`span`,{className:`flex-shrink-0 flex items-center justify-center`,children:i}),(0,Y.jsx)(`span`,{children:s}),o&&(0,Y.jsx)(`button`,{type:`button`,onClick:o,className:`ml-1 -mr-1 flex h-3.5 w-3.5 items-center justify-center rounded-full hover:bg-black/10 focus:outline-none`,"aria-label":`Remove tag`,children:(0,Y.jsx)(`svg`,{className:`h-2.5 w-2.5`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M6 18L18 6M6 6l12 12`})})}),a&&(0,Y.jsx)(`div`,{className:`absolute bottom-0 right-0 w-0 h-0 border-b-[14px] border-b-cyan-500 border-l-[14px] border-l-transparent pointer-events-none`,children:(0,Y.jsx)(`svg`,{className:`absolute -bottom-[-2px] -right-[0px] w-2 h-2 text-white transform -translate-x-[1px] translate-y-[1px]`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:4,d:`M5 13l4 4L19 7`})})})]}));$e.displayName=`Badge`;var et=m(`box-border transition-colors`,{variants:{variant:{default:``,surface:`bg-white border border-slate-200`,card:`bg-white border border-slate-200 shadow-sm`,muted:`bg-slate-50 border border-slate-100 text-slate-700`,subtle:`bg-slate-100 text-slate-800`,dark:`bg-[#0F172A] text-white border border-slate-800`,outline:`border border-slate-200 bg-transparent`},padding:{none:`p-0`,xs:`p-2`,sm:`p-3`,default:`p-4`,md:`p-5`,lg:`p-6`,xl:`p-8`},rounded:{none:`rounded-none`,xs:`rounded`,sm:`rounded-md`,default:`rounded-lg`,lg:`rounded-xl`,xl:`rounded-2xl`,"2xl":`rounded-3xl`,full:`rounded-full`},shadow:{none:`shadow-none`,sm:`shadow-sm`,default:`shadow`,md:`shadow-md`,lg:`shadow-lg`}},defaultVariants:{variant:`default`,padding:`none`,rounded:`none`,shadow:`none`}}),tt=(0,t.forwardRef)(({as:e,variant:t=`default`,padding:n=`none`,rounded:r=`none`,shadow:i=`none`,className:a,children:o,...s},c)=>(0,Y.jsx)(e||`div`,{ref:c,className:J(et({variant:t,padding:n,rounded:r,shadow:i}),a),...s,children:o}));tt.displayName=`Box`;var X=function(e){return e.Default=`default`,e.Destructive=`destructive`,e.Cancel=`cancel`,e.Subtle=`subtle`,e.Ghost=`ghost`,e.Link=`link`,e}({}),Z=function(e){return e.Row=`row`,e.Column=`column`,e}({}),nt=function(e){return e.Small=`sm`,e.Default=`default`,e.Large=`lg`,e.Icon=`icon`,e}({}),rt=function(e){return e.Left=`left`,e.Right=`right`,e}({}),it=function(e){return e.Default=`default`,e.Primary=`primary`,e.Secondary=`secondary`,e.Success=`success`,e.Warning=`warning`,e.Destructive=`destructive`,e.Info=`info`,e.Muted=`muted`,e}({}),at=function(e){return e.ExtraSmall=`xs`,e.Small=`sm`,e.Default=`default`,e.Large=`lg`,e.ExtraLarge=`xl`,e}({}),ot=function(e){return e.Square=`square`,e.Rounded=`rounded`,e.Pill=`pill`,e.Circle=`circle`,e}({}),st=function(e){return e.Horizontal=`horizontal`,e.Vertical=`vertical`,e}({}),ct=function(e){return e.Top=`top`,e.Right=`right`,e.Bottom=`bottom`,e.Left=`left`,e}({}),lt=function(e){return e.Left=`left`,e.Center=`center`,e.Right=`right`,e}({}),ut=function(e){return e.H1=`h1`,e.H2=`h2`,e.H3=`h3`,e.H4=`h4`,e.H5=`h5`,e.H6=`h6`,e.Subtitle1=`subtitle1`,e.Subtitle2=`subtitle2`,e.Body1=`body1`,e.Body2=`body2`,e.Caption=`caption`,e.Overline=`overline`,e}({}),dt=function(e){return e.Success=`success`,e.Warning=`warning`,e.Error=`error`,e.Info=`info`,e}({}),ft=m(`inline-flex items-center justify-center font-[500] rounded-md focus:outline-none transition-colors duration-200 disabled:opacity-50 disabled:cursor-not-allowed gap-2`,{variants:{variant:{[X.Default]:`bg-[#0F172A] text-white hover:bg-[#1E293B]`,[X.Destructive]:`bg-[#EF4444] text-white hover:bg-[#DC2626]`,[X.Cancel]:`bg-white text-[#0F172A] border border-gray-200 hover:bg-slate-100 shadow-sm`,[X.Subtle]:`bg-slate-100 text-[#0F172A] hover:bg-slate-200`,[X.Ghost]:`bg-transparent text-[#0F172A] hover:bg-slate-100`,[X.Link]:`bg-transparent text-[#0F172A] hover:underline underline-offset-4`},size:{[nt.Small]:`h-9 px-3 text-xs leading-4`,[nt.Default]:`h-10 px-4 text-sm leading-5`,[nt.Large]:`h-11 px-6 text-base leading-6`,[nt.Icon]:`h-10 w-10 p-0 flex items-center justify-center`}},defaultVariants:{variant:X.Default,size:nt.Default}}),pt=(0,t.forwardRef)(({variant:e=X.Default,size:t=nt.Default,iconUrl:n,iconPosition:r=rt.Left,isLoading:i=!1,disabled:a,className:o,children:s,...c},l)=>{let u=s!=null&&s!==``,d=()=>n?typeof n==`string`?(0,Y.jsx)(`img`,{src:n,alt:`Icon`,className:`w-5 h-5 object-contain`}):(0,Y.jsx)(n,{className:`w-5 h-5`}):null,f=()=>(0,Y.jsxs)(`svg`,{className:`animate-spin -ml-1 mr-2 h-4 w-4 text-current`,xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,children:[(0,Y.jsx)(`circle`,{className:`opacity-25`,cx:`12`,cy:`12`,r:`10`,stroke:`currentColor`,strokeWidth:`4`}),(0,Y.jsx)(`path`,{className:`opacity-75`,fill:`currentColor`,d:`M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z`})]});return(0,Y.jsxs)(`button`,{ref:l,className:J(ft({variant:e,size:t,className:o})),disabled:i||a,...c,children:[i&&f(),!i&&n&&r===rt.Left&&d(),u&&(0,Y.jsx)(`span`,{children:s}),!i&&n&&r===rt.Right&&d()]})});pt.displayName=`DefaultButton`;var mt=m([`flex`,`items-center`,`justify-center`,`bg-transparent`],{variants:{direction:{[Z.Row]:`flex-row gap-2`,[Z.Column]:`flex-col gap-2`}},defaultVariants:{direction:Z.Row}}),ht=(0,t.forwardRef)(({iconUrl:e,className:t,children:n,direction:r=Z.Row,...i},a)=>(0,Y.jsx)(`div`,{ref:a,className:J(mt({direction:r}),t),...i,"data-testid":`groupicon`,children:n})),gt=m([`flex`,`items-center`,`justify-start`,`bg-transparent`,`p-2`],{variants:{direction:{[Z.Row]:`flex-row gap-2`,[Z.Column]:`flex-col`}},defaultVariants:{direction:Z.Row}}),_t=(0,t.forwardRef)(({iconUrl:e,text:t,backgroundColor:n,className:r,children:i,iconStyle:a,direction:o=Z.Row,...s},c)=>(0,Y.jsx)(Y.Fragment,{children:e&&(0,Y.jsxs)(`button`,{ref:c,className:J(gt({direction:o}),n,r),...s,"data-testid":`click-me`,children:[typeof e==`string`?(0,Y.jsx)(`img`,{className:`icon-group`,src:e}):e,t,i]})})),vt=()=>(0,Y.jsx)(`div`,{children:(0,Y.jsx)(`svg`,{width:`8`,height:`12`,viewBox:`0 0 8 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,Y.jsx)(`path`,{d:`M7.705 1.41L6.295 0L0.294998 6L6.295 12L7.705 10.59L3.125 6L7.705 1.41Z`,fill:`#9EA4AA`})})}),yt=()=>(0,Y.jsx)(`div`,{children:(0,Y.jsx)(`svg`,{width:`8`,height:`12`,viewBox:`0 0 8 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,Y.jsx)(`path`,{d:`M1.705 0L0.294998 1.41L4.875 6L0.294998 10.59L1.705 12L7.705 6L1.705 0Z`,fill:`#9EA4AA`})})});function bt(e,t){return new Date(e,t+1,0).getDate()}function xt(e,t){return new Date(e,t,1).getDay()}function St(e,t){let n=new Date(e);return n.setMonth(n.getMonth()+t),n}function Ct(e,t){let n=new Date(e);return n.setMonth(n.getMonth()-t),n}function wt(e,t){return!e||!t?!1:e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function Tt(e,t){let n=e.getTime(),r=t.start.getTime(),i=t.end.getTime();return n>=Math.min(r,i)&&n<=Math.max(r,i)}function Et(e,t){return e.getTime()<t.getTime()}function Dt(e){return e.toLocaleString(`en-US`,{month:`long`,year:`numeric`})}var Ot=[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],kt=({className:e})=>(0,Y.jsx)(`svg`,{className:J(`w-4 h-4`,e),fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M15 19l-7-7 7-7`})}),At=({className:e})=>(0,Y.jsx)(`svg`,{className:J(`w-4 h-4`,e),fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M9 5l7 7-7 7`})}),jt=({mode:e=`single`,selected:n,onSelect:r,numberOfMonths:i=1,className:a,presets:o,isDark:s=!1})=>{let[c,l]=(0,t.useState)(e===`single`&&n instanceof Date?n:e===`range`&&n?.from?n.from:new Date);(0,t.useEffect)(()=>{e===`single`&&n instanceof Date?l(new Date(n.getFullYear(),n.getMonth(),1)):e===`range`&&n?.from&&l(new Date(n.from.getFullYear(),n.from.getMonth(),1))},[n,e]);let u=()=>l(Ct(c,1)),d=()=>l(St(c,1)),f=t=>{if(e===`single`)r?.(t);else if(e===`range`){let e=n||{from:void 0,to:void 0};!e.from||e.from&&e.to?r?.({from:t,to:void 0}):e.from&&!e.to&&(Et(t,e.from)?r?.({from:t,to:void 0}):r?.({from:e.from,to:t}))}},p=t=>{let n=o?.find(e=>e.label===t.target.value);n&&e===`range`&&(r?.(n.value),l(new Date(n.value.from.getFullYear(),n.value.from.getMonth(),1)))},m=(t,r)=>{let a=t.getFullYear(),o=t.getMonth(),c=bt(a,o),l=xt(a,o),p=bt(a,o-1),m=Array.from({length:l},(e,t)=>new Date(a,o-1,p-l+t+1)),h=Array.from({length:c},(e,t)=>new Date(a,o,t+1)),g=m.length+h.length,_=g%7==0?0:7-g%7,v=Array.from({length:_},(e,t)=>new Date(a,o+1,t+1)),y=[...m,...h,...v];return(0,Y.jsxs)(`div`,{className:`flex flex-col items-center gap-1 w-[260px]`,children:[(0,Y.jsxs)(`div`,{className:`flex flex-row justify-between items-center px-2 py-1 w-[260px] min-h-[36px]`,children:[r===0?(0,Y.jsx)(`button`,{onClick:u,className:J(`flex-none flex items-center justify-center w-7 h-7 rounded-md border focus:outline-none transition-colors`,s?`bg-slate-800 border-slate-700 text-white hover:bg-slate-700`:`bg-white border-slate-200 text-slate-800 hover:bg-slate-50`),children:(0,Y.jsx)(kt,{})}):(0,Y.jsx)(`div`,{className:`w-7 h-7`}),(0,Y.jsx)(`div`,{className:J(`flex flex-row justify-center items-center`,s?`text-white`:`text-slate-950`),children:(0,Y.jsx)(`span`,{className:`font-[600] text-sm leading-6`,children:Dt(t)})}),r===i-1?(0,Y.jsx)(`button`,{onClick:d,className:J(`flex-none flex items-center justify-center w-7 h-7 rounded-md border focus:outline-none transition-colors`,s?`bg-slate-800 border-slate-700 text-white hover:bg-slate-700`:`bg-white border-slate-200 text-slate-800 hover:bg-slate-50`),children:(0,Y.jsx)(At,{})}):(0,Y.jsx)(`div`,{className:`w-7 h-7`})]}),(0,Y.jsxs)(`div`,{className:`flex flex-col items-start px-1 pb-1.5 w-[260px]`,children:[(0,Y.jsx)(`div`,{className:`grid grid-cols-7 w-[252px]`,children:Ot.map(e=>(0,Y.jsx)(`div`,{className:`flex justify-center items-center w-9 h-5`,children:(0,Y.jsx)(`span`,{className:`font-[500] text-xs leading-5 text-slate-500`,children:e})},e))}),(0,Y.jsx)(`div`,{className:`grid grid-cols-7 gap-y-2 mt-2 w-[252px]`,children:y.map((t,r)=>{let i=t.getMonth()===o,a=!1,c=!1,l=!1,u=!1;if(e===`single`&&n instanceof Date)a=wt(t,n);else if(e===`range`){let e=n;e?.from&&e?.to?(c=wt(t,e.from),l=wt(t,e.to),a=c||l,u=Tt(t,{start:e.from,end:e.to})):e?.from&&(a=wt(t,e.from),c=a)}let d=u&&!c&&!l,p=e===`range`&&n?.to&&!wt(n.from,n.to);return(0,Y.jsxs)(`div`,{className:J(`relative flex items-center justify-center w-9 h-9`,d&&(s?`bg-slate-800`:`bg-slate-100`)),children:[c&&p&&(0,Y.jsx)(`div`,{className:J(`absolute right-0 top-0 bottom-0 w-1/2`,s?`bg-slate-800`:`bg-slate-100`)}),l&&p&&(0,Y.jsx)(`div`,{className:J(`absolute left-0 top-0 bottom-0 w-1/2`,s?`bg-slate-800`:`bg-slate-100`)}),(0,Y.jsx)(`button`,{onClick:()=>f(t),className:J(`relative z-10 flex-none flex items-center justify-center w-9 h-9 rounded-md focus:outline-none transition-colors`,`font-[500] text-sm leading-6`,i?`opacity-100`:`opacity-50`,a?s?`bg-slate-700 text-white`:`bg-[#0F172A] text-white`:s?`text-white hover:bg-slate-800`:`text-slate-950 hover:bg-slate-100`),children:t.getDate()})]},r)})})]})]},r)},h=Array.from({length:i},(e,t)=>St(c,t));return(0,Y.jsxs)(`div`,{className:J(`flex flex-col gap-2`,a),children:[o&&o.length>0&&e===`range`&&(0,Y.jsxs)(`select`,{onChange:p,className:J(`p-2 w-full text-sm rounded-md border appearance-none focus:outline-none`,s?`bg-slate-900 border-slate-700 text-white`:`bg-white border-[#E2E8F0] text-slate-800`),defaultValue:``,children:[(0,Y.jsx)(`option`,{value:``,disabled:!0,children:`Select Preset`}),o.map(e=>(0,Y.jsx)(`option`,{value:e.label,children:e.label},e.label))]}),(0,Y.jsx)(`div`,{className:J(`box-border flex flex-row items-start p-3 gap-1 rounded-md border w-max`,s?`bg-[#0B1120] border-slate-800`:`bg-[#FFFFFF] border-slate-200`),children:h.map((e,t)=>m(e,t))})]})},Mt=m(`border-slate-200`,{variants:{variant:{solid:`border-solid`,dashed:`border-dashed`,dotted:`border-dotted`},color:{default:`border-slate-200 text-slate-500`,muted:`border-slate-100 text-slate-400`,dark:`border-slate-700 text-slate-300`,primary:`border-slate-900 text-slate-900`}},defaultVariants:{variant:`solid`,color:`default`}}),Nt=(0,t.forwardRef)(({label:e,children:t,orientation:n=`horizontal`,labelPosition:r=`center`,variant:i=`solid`,color:a=`default`,className:o,...s},c)=>{let l=e||t;if(n===`vertical`)return(0,Y.jsx)(`div`,{ref:c,role:`separator`,"aria-orientation":`vertical`,className:J(`inline-block min-h-[1em] w-px self-stretch border-l border-slate-200 mx-2`,Mt({variant:i,color:a}),o),...s});if(!l)return(0,Y.jsx)(`div`,{ref:c,role:`separator`,"aria-orientation":`horizontal`,className:J(`w-full border-t border-slate-200 my-4`,Mt({variant:i,color:a}),o),...s});let u=r===`left`,d=r===`right`;return(0,Y.jsxs)(`div`,{ref:c,role:`separator`,"aria-orientation":`horizontal`,className:J(`flex items-center w-full my-4 select-none`,o),...s,children:[(0,Y.jsx)(`div`,{className:J(`border-t border-slate-200`,Mt({variant:i,color:a}),u?`w-8 flex-none`:`flex-grow`)}),(0,Y.jsx)(`span`,{className:J(`px-3 text-xs font-[500] text-slate-500 whitespace-nowrap`,a===`dark`&&`text-slate-300`,a===`primary`&&`text-slate-900 font-semibold`),children:l}),(0,Y.jsx)(`div`,{className:J(`border-t border-slate-200`,Mt({variant:i,color:a}),d?`w-8 flex-none`:`flex-grow`)})]})});Nt.displayName=`Divider`;var Pt=m(`relative bg-white shadow-2xl overflow-hidden transition-all duration-200 flex flex-col`,{variants:{size:{sm:`max-w-md max-h-[60vh]`,default:`max-w-2xl max-h-[75vh]`,lg:`max-w-4xl max-h-[85vh]`,full:`max-w-6xl max-h-[90vh]`},rounded:{none:`rounded-none`,md:`rounded-md`,lg:`rounded-lg`,xl:`rounded-xl`,"2xl":`rounded-2xl`}},defaultVariants:{size:`default`,rounded:`xl`}}),Ft=(0,t.forwardRef)(({url:e,alt:n=`Preview image`,title:r,caption:i,open:a=!0,onClose:o,size:s=`default`,rounded:c=`xl`,closeOnBackdropClick:l=!0,closeOnEsc:u=!0,className:d,...f},p)=>{let m=(0,t.useCallback)(()=>{o(!1)},[o]);return(0,t.useEffect)(()=>{if(!a||!u)return;let e=e=>{e.key===`Escape`&&m()};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[a,u,m]),a?(0,Y.jsx)(`div`,{role:`dialog`,"aria-modal":`true`,"aria-label":typeof r==`string`?r:`Image Preview`,className:`fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/60 backdrop-blur-xs transition-opacity duration-200 animate-in fade-in`,onClick:l?m:void 0,children:(0,Y.jsxs)(`div`,{ref:p,className:J(Pt({size:s,rounded:c}),`w-full p-2 border border-slate-100`,d),onClick:e=>e.stopPropagation(),...f,children:[r&&(0,Y.jsx)(`div`,{className:`px-3 py-2 border-b border-slate-100 flex items-center justify-between`,children:(0,Y.jsx)(`h3`,{className:`text-sm font-semibold text-[#0F172A] truncate`,children:r})}),(0,Y.jsx)(`div`,{className:`relative flex items-center justify-center overflow-hidden bg-slate-50 rounded-lg min-h-[240px]`,children:(0,Y.jsx)(`img`,{src:e,alt:n,className:`w-full h-full max-h-[70vh] object-contain transition-transform select-none`})}),i&&(0,Y.jsx)(`div`,{className:`px-3 py-2 border-t border-slate-100 text-xs text-slate-500`,children:i}),(0,Y.jsx)(`button`,{type:`button`,className:`absolute top-3 right-3 z-10 flex h-8 w-8 items-center justify-center rounded-full bg-white/90 text-slate-600 shadow-md backdrop-blur-sm transition-all hover:bg-white hover:text-red-600 hover:scale-110 focus:outline-none focus-visible:ring-2 focus-visible:ring-[#0F172A] cursor-pointer`,onClick:m,"aria-label":`Close image preview`,children:(0,Y.jsx)(`svg`,{className:`h-4 w-4`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M6 18L18 6M6 6l12 12`})})})]})}):null});Ft.displayName=`ImagePopOver`;var It=m(`flex w-full rounded-md border border-gray-200 bg-white px-3 py-2 text-sm font-[500] text-[#0F172A] placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-[#0F172A] focus:border-transparent transition-colors duration-200 disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-slate-50 file:border-0 file:bg-transparent file:text-sm file:font-[500] file:text-[#0F172A] file:cursor-pointer`,{variants:{inputSize:{sm:`h-9 text-xs px-2.5`,default:`h-10 text-sm px-3`,lg:`h-11 text-base px-4`},hasError:{true:`border-red-500 focus:ring-red-500 text-red-900 placeholder:text-red-300`}},defaultVariants:{inputSize:`default`}}),Lt=(0,t.forwardRef)(({className:e,inputSize:n=`default`,hasError:r=!1,label:i,helperText:a,errorMessage:o,id:s,disabled:c,type:l=`text`,...u},d)=>{let f=(0,t.useId)(),p=s||f,m=`${p}-desc`,h=!!(o||r),g=(0,Y.jsx)(`input`,{id:p,ref:d,type:l,disabled:c,"aria-invalid":h,"aria-describedby":a||o?m:void 0,className:J(It({inputSize:n,hasError:h,className:e})),...u});return!i&&!a&&!o?g:(0,Y.jsxs)(`div`,{className:`w-full flex flex-col gap-2`,children:[i&&(0,Y.jsx)(`label`,{htmlFor:p,className:J(`text-sm font-[600] text-[#0F172A]`,c&&`opacity-50 cursor-not-allowed`),children:i}),g,o?(0,Y.jsx)(`p`,{id:m,className:`text-xs font-[400] text-red-500`,children:o}):a?(0,Y.jsx)(`p`,{id:m,className:`text-xs font-[400] text-gray-500`,children:a}):null]})});Lt.displayName=`Input`;var Rt=(0,t.createContext)(null),zt=(0,t.forwardRef)(({maxLength:e=6,value:n,defaultValue:r=``,onChange:i,disabled:a=!1,readOnly:o=!1,pattern:s=`^[0-9]*$`,autoFocus:c=!1,className:l,children:u,...d},f)=>{let p=n!==void 0,[m,h]=(0,t.useState)(r),g=p?n:m,[_,v]=(0,t.useState)(!1),[y,b]=(0,t.useState)(0),x=(0,t.useRef)(null);(0,t.useImperativeHandle)(f,()=>({focus:()=>x.current?.focus(),blur:()=>x.current?.blur(),clear:()=>{p||h(``),i?.(``)}})),(0,t.useEffect)(()=>{c&&x.current?.focus()},[c]);let S=t=>{let n=t.target.value.slice(0,e);s&&n.length>0&&!new RegExp(s).test(n)||(p||h(n),i?.(n),b(n.length))},C=e=>{(e.key===`ArrowLeft`||e.key===`ArrowRight`)&&setTimeout(()=>{x.current&&b(x.current.selectionStart||0)},0)},w=_?Math.min(y,g.length):-1;return(0,Y.jsx)(Rt.Provider,{value:{value:g,maxLength:e,activeIndex:w,setActiveIndex:e=>{b(e),x.current&&(x.current.focus(),x.current.setSelectionRange(e,e))},disabled:a,readOnly:o,hasFakeCaret:_,onChange:e=>{p||h(e),i?.(e)},inputRef:x},children:(0,Y.jsxs)(`div`,{className:J(`relative inline-flex items-center gap-2 select-none`,l),onClick:()=>{!a&&!o&&x.current?.focus()},...d,children:[(0,Y.jsx)(`input`,{ref:x,type:`text`,inputMode:`numeric`,autoComplete:`one-time-code`,maxLength:e,value:g,disabled:a,readOnly:o,onChange:S,onKeyDown:C,onFocus:()=>{v(!0),b(g.length)},onBlur:()=>v(!1),onSelect:e=>{b(e.currentTarget.selectionStart||0)},className:`absolute inset-0 w-full h-full opacity-0 pointer-events-none cursor-default`,tabIndex:a?-1:0,"aria-label":`OTP Input`}),u]})})});zt.displayName=`InputOTP`;var Bt=(0,t.forwardRef)(({className:e,children:t,...n},r)=>(0,Y.jsx)(`div`,{ref:r,className:J(`flex items-center rounded-md border border-gray-200 shadow-sm bg-white overflow-hidden`,e),...n,children:t}));Bt.displayName=`InputOTPGroup`;var Vt=(0,t.forwardRef)(({index:e,className:n,...r},i)=>{let a=(0,t.useContext)(Rt);if(!a)throw Error(`InputOTPSlot must be used within an InputOTP component`);let{value:o,activeIndex:s,disabled:c,hasFakeCaret:l}=a,u=o[e]||``,d=s===e;return(0,Y.jsxs)(`div`,{ref:i,className:J(`relative flex h-10 w-10 items-center justify-center border-r border-gray-200 text-sm font-[500] text-[#0F172A] transition-all first:rounded-l-md last:border-r-0 last:rounded-r-md`,d&&`z-10 ring-2 ring-[#0F172A] ring-offset-0 border-transparent`,c&&`bg-slate-50 opacity-50 cursor-not-allowed`,n),...r,children:[u,d&&!u&&l&&!c&&(0,Y.jsx)(`div`,{className:`pointer-events-none absolute inset-0 flex items-center justify-center`,children:(0,Y.jsx)(`div`,{className:`h-4 w-px animate-pulse bg-[#0F172A] duration-1000`})})]})});Vt.displayName=`InputOTPSlot`;var Ht=(0,t.forwardRef)(({className:e,children:t,...n},r)=>(0,Y.jsx)(`div`,{ref:r,role:`separator`,className:J(`flex items-center justify-center px-1 text-gray-400 font-bold text-lg select-none`,e),...n,children:t||`•`}));Ht.displayName=`InputOTPSeparator`;var Ut=(0,t.forwardRef)(({className:e,...t},n)=>(0,Y.jsx)(`nav`,{ref:n,role:`navigation`,"aria-label":`pagination`,className:J(`mx-auto flex w-full justify-center select-none`,e),...t}));Ut.displayName=`Pagination`;var Wt=(0,t.forwardRef)(({className:e,...t},n)=>(0,Y.jsx)(`ul`,{ref:n,className:J(`flex flex-row items-center gap-1`,e),...t}));Wt.displayName=`PaginationContent`;var Gt=(0,t.forwardRef)(({className:e,...t},n)=>(0,Y.jsx)(`li`,{ref:n,className:J(``,e),...t}));Gt.displayName=`PaginationItem`;var Kt=(0,t.forwardRef)(({className:e,isActive:t,disabled:n,children:r,...i},a)=>(0,Y.jsx)(`button`,{ref:a,type:`button`,"aria-current":t?`page`:void 0,disabled:n,className:J(`inline-flex h-10 min-w-10 items-center justify-center rounded-lg px-3.5 text-sm font-[500] transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-[#0F172A]`,t?`border border-gray-200 bg-white font-[600] text-[#0F172A] shadow-sm`:`bg-transparent text-[#0F172A] hover:bg-slate-100`,n&&`pointer-events-none opacity-40 cursor-not-allowed`,e),...i,children:r}));Kt.displayName=`PaginationLink`;var qt=(0,t.forwardRef)(({className:e,disabled:t,...n},r)=>(0,Y.jsxs)(`button`,{ref:r,type:`button`,"aria-label":`Go to previous page`,disabled:t,className:J(`inline-flex h-10 items-center gap-1.5 rounded-md px-3 text-sm font-[500] transition-colors hover:bg-slate-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-[#0F172A]`,t?`pointer-events-none text-slate-400 cursor-not-allowed`:`text-[#0F172A] hover:text-[#0F172A]`,e),...n,children:[(0,Y.jsx)(`svg`,{className:`h-4 w-4`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M15 19l-7-7 7-7`})}),(0,Y.jsx)(`span`,{children:`Previous`})]}));qt.displayName=`PaginationPrevious`;var Jt=(0,t.forwardRef)(({className:e,disabled:t,...n},r)=>(0,Y.jsxs)(`button`,{ref:r,type:`button`,"aria-label":`Go to next page`,disabled:t,className:J(`inline-flex h-10 items-center gap-1.5 rounded-md px-3 text-sm font-[500] transition-colors hover:bg-slate-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-[#0F172A]`,t?`pointer-events-none text-slate-400 cursor-not-allowed`:`text-[#0F172A] hover:text-[#0F172A]`,e),...n,children:[(0,Y.jsx)(`span`,{children:`Next`}),(0,Y.jsx)(`svg`,{className:`h-4 w-4`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M9 5l7 7-7 7`})})]}));Jt.displayName=`PaginationNext`;var Yt=({className:e,...t})=>(0,Y.jsx)(`span`,{"aria-hidden":!0,className:J(`flex h-10 w-8 items-center justify-center text-sm font-bold text-slate-700 select-none`,e),...t,children:`…`});Yt.displayName=`PaginationEllipsis`;var Xt=({totalPages:e,currentPage:t,onPageChange:n,className:r})=>(0,Y.jsx)(Ut,{className:r,children:(0,Y.jsxs)(Wt,{children:[(0,Y.jsx)(Gt,{children:(0,Y.jsx)(qt,{disabled:t===1,onClick:()=>n(t-1)})}),(()=>{let n=[];if(e<=7)for(let t=1;t<=e;t++)n.push(t);else if(t<=4){for(let e=1;e<=5;e++)n.push(e);n.push(`ellipsis-end`),n.push(e)}else if(t>=e-3){n.push(1),n.push(`ellipsis-start`);for(let t=e-4;t<=e;t++)n.push(t)}else n.push(1),n.push(`ellipsis-start`),n.push(t-1),n.push(t),n.push(t+1),n.push(`ellipsis-end`),n.push(e);return n})().map((e,r)=>(0,Y.jsx)(Gt,{children:typeof e==`number`?(0,Y.jsx)(Kt,{isActive:t===e,onClick:()=>n(e),children:e}):(0,Y.jsx)(Yt,{})},r)),(0,Y.jsx)(Gt,{children:(0,Y.jsx)(Jt,{disabled:t===e,onClick:()=>n(t+1)})})]})}),Zt=m(`relative flex items-center transition-all duration-200 select-none`,{variants:{layout:{default:`flex-row items-center gap-3`,horizontal:`flex-row items-center justify-between w-full gap-4`,"space-between":`flex-row-reverse items-center justify-between w-full gap-4`,vertical:`flex-col items-center justify-center text-center gap-2`},bordered:{true:`rounded-xl border border-gray-200 bg-white p-4 shadow-sm`,false:`bg-transparent`}},defaultVariants:{layout:`default`,bordered:!1}}),Qt=(0,t.forwardRef)(({className:e,layout:t=`default`,bordered:n=!1,avatarUrl:r,name:i,subtitle:a,isVerified:o=!1,avatarShape:s=`circle`,avatarSize:c=`default`,trailing:l,children:u,...d},f)=>{let p={sm:`h-8 w-8 text-xs`,default:`h-10 w-10 text-sm`,lg:`h-12 w-12 text-base`}[c],m=()=>(0,Y.jsx)(`div`,{className:J(`relative flex-shrink-0 flex items-center justify-center overflow-hidden bg-slate-100 text-[#0F172A] font-semibold`,s===`circle`?`rounded-full`:`rounded-2xl`,p),children:r?(0,Y.jsx)(`img`,{src:r,alt:i,className:`h-full w-full object-cover`}):(0,Y.jsx)(`span`,{children:i.charAt(0).toUpperCase()})}),h=()=>(0,Y.jsxs)(`div`,{className:J(`flex flex-col min-w-0`,t===`vertical`?`items-center`:`items-start`),children:[(0,Y.jsxs)(`div`,{className:`inline-flex items-center gap-1.5`,children:[(0,Y.jsx)(`span`,{className:`text-sm font-[600] text-[#0F172A] leading-tight truncate`,children:i}),o&&(0,Y.jsx)(`span`,{className:`inline-flex items-center justify-center text-blue-500 flex-shrink-0`,title:`Verified`,children:(0,Y.jsx)(`svg`,{className:`h-4 w-4 fill-current`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{d:`M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z`})})})]}),a&&(0,Y.jsx)(`span`,{className:`text-xs font-[400] text-slate-500 mt-0.5 leading-tight`,children:a}),u]});return t===`horizontal`?(0,Y.jsxs)(`div`,{ref:f,"data-slot":`profile-card`,className:J(Zt({layout:t,bordered:n,className:e})),...d,children:[(0,Y.jsxs)(`div`,{className:`flex items-center gap-3`,children:[m(),(0,Y.jsxs)(`div`,{className:`inline-flex items-center gap-1.5`,children:[(0,Y.jsx)(`span`,{className:`text-sm font-[600] text-[#0F172A] leading-tight truncate`,children:i}),o&&(0,Y.jsx)(`span`,{className:`inline-flex items-center justify-center text-blue-500 flex-shrink-0`,title:`Verified`,children:(0,Y.jsx)(`svg`,{className:`h-4 w-4 fill-current`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{d:`M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z`})})})]})]}),a&&(0,Y.jsx)(`span`,{className:`text-xs font-[400] text-slate-500 flex-shrink-0`,children:a}),l]}):(0,Y.jsxs)(`div`,{ref:f,"data-slot":`profile-card`,className:J(Zt({layout:t,bordered:n,className:e})),...d,children:[m(),h(),l]})});Qt.displayName=`ProfileCard`;var $t=(0,t.createContext)(null);function en(){let e=(0,t.useContext)($t);if(!e)throw Error(`Select compound components must be used within <Select />.`);return e}var tn=({value:e,defaultValue:n=``,onValueChange:r,disabled:i=!1,children:a})=>{let o=e!==void 0,[s,c]=(0,t.useState)(n),l=o?e:s,[u,d]=(0,t.useState)(!1),[f,p]=(0,t.useState)(``),[m,h]=(0,t.useState)(``),g=(0,t.useId)();return(0,Y.jsx)($t.Provider,{value:{value:l,onValueChange:e=>{o||c(e),r?.(e),d(!1),h(``)},open:u,setOpen:d,selectedLabel:f,setSelectedLabel:p,disabled:i,baseId:g,searchQuery:m,setSearchQuery:h},children:(0,Y.jsx)(`div`,{className:`relative inline-block w-full`,children:a})})},nn=(0,t.forwardRef)(({className:e,children:n,...r},i)=>{let{open:a,setOpen:o,disabled:s,baseId:c}=en(),l=(0,t.useRef)(null);return(0,t.useEffect)(()=>{let e=e=>{l.current&&!l.current.closest(`.relative`)?.contains(e.target)&&o(!1)};return a&&document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[a,o]),(0,Y.jsxs)(`button`,{ref:e=>{l.current=e,typeof i==`function`?i(e):i&&(i.current=e)},id:`${c}-trigger`,type:`button`,role:`combobox`,"aria-expanded":a,"aria-haspopup":`listbox`,disabled:s,onClick:()=>!s&&o(!a),className:J(`flex h-10 w-full items-center justify-between rounded-md border border-gray-200 bg-white px-3 py-2 text-sm font-[500] text-[#0F172A] placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-[#0F172A] disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-slate-50 transition-colors select-none`,e),...r,children:[(0,Y.jsx)(`span`,{className:`truncate`,children:n}),(0,Y.jsx)(`svg`,{className:J(`h-4 w-4 text-gray-500 transition-transform duration-200 flex-shrink-0 ml-2`,a&&`rotate-180`),fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M19 9l-7 7-7-7`})})]})});nn.displayName=`SelectTrigger`;var rn=({placeholder:e,className:t})=>{let{selectedLabel:n,value:r}=en(),i=n||r||e;return(0,Y.jsx)(`span`,{className:J(!n&&!r?`text-gray-400`:`text-[#0F172A]`,t),children:i})},an=({placeholder:e=`Search...`,className:t,...n})=>{let{searchQuery:r,setSearchQuery:i}=en();return(0,Y.jsxs)(`div`,{className:`flex items-center border-b border-gray-100 px-3 py-2`,children:[(0,Y.jsx)(`svg`,{className:`mr-2 h-4 w-4 text-gray-400`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z`})}),(0,Y.jsx)(`input`,{type:`text`,value:r,onChange:e=>i(e.target.value),placeholder:e,className:J(`w-full bg-transparent text-sm font-[500] text-[#0F172A] placeholder:text-gray-400 focus:outline-none`,t),autoFocus:!0,onClick:e=>e.stopPropagation(),...n}),r&&(0,Y.jsx)(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),i(``)},className:`text-gray-400 hover:text-gray-600`,children:(0,Y.jsx)(`svg`,{className:`h-3.5 w-3.5`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M6 18L18 6M6 6l12 12`})})})]})},on=(0,t.forwardRef)(({className:e,children:t,maxHeight:n=`max-h-60`,...r},i)=>{let{open:a,baseId:o}=en();return a?(0,Y.jsx)(`div`,{ref:i,id:`${o}-listbox`,role:`listbox`,className:J(`absolute left-0 top-full z-50 mt-1 min-w-[8rem] w-full overflow-y-auto rounded-lg border border-gray-200 bg-white p-1 shadow-lg animate-in fade-in-80 zoom-in-95`,n,e),...r,children:t}):null});on.displayName=`SelectContent`;var sn=({className:e,children:t,...n})=>(0,Y.jsx)(`div`,{className:J(`p-1`,e),...n,children:t}),cn=({className:e,children:t,...n})=>(0,Y.jsx)(`div`,{className:J(`px-2 py-1.5 text-xs font-[600] text-[#0F172A]`,e),...n,children:t}),ln=(0,t.forwardRef)(({value:e,disabled:n=!1,className:r,children:i,...a},o)=>{let{value:s,onValueChange:c,setSelectedLabel:l,searchQuery:u}=en(),d=s===e,f=!u||(typeof i==`string`?i:e).toLowerCase().includes(u.toLowerCase());return(0,t.useEffect)(()=>{d&&typeof i==`string`&&l(i)},[d,i,l]),f?(0,Y.jsxs)(`div`,{ref:o,role:`option`,"aria-selected":d,"data-disabled":n,onClick:()=>{n||(typeof i==`string`&&l(i),c(e))},className:J(`relative flex w-full cursor-pointer select-none items-center rounded-md px-2.5 py-1.5 text-sm font-[500] text-[#0F172A] outline-none transition-colors hover:bg-slate-100 hover:text-[#0F172A]`,d&&`bg-slate-100 font-[600]`,n&&`pointer-events-none opacity-50`,r),...a,children:[(0,Y.jsx)(`span`,{className:`flex-1 truncate`,children:i}),d&&(0,Y.jsx)(`svg`,{className:`h-4 w-4 ml-2 text-[#0F172A]`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M5 13l4 4L19 7`})})]}):null});ln.displayName=`SelectItem`;var un=({className:e,...t})=>(0,Y.jsx)(`div`,{className:J(`-mx-1 my-1 h-px bg-gray-100`,e),...t}),dn=({options:e,value:n,defaultValue:r=[],onChange:i,placeholder:a=`Select options...`,searchPlaceholder:o=`Search options...`,searchable:s=!0,disabled:c=!1,label:l,className:u,maxCount:d=3})=>{let f=n!==void 0,[p,m]=(0,t.useState)(r),h=f?n:p,[g,_]=(0,t.useState)(!1),[v,y]=(0,t.useState)(``),b=(0,t.useRef)(null),x=(0,t.useId)();(0,t.useEffect)(()=>{let e=e=>{b.current&&!b.current.contains(e.target)&&_(!1)};return g&&document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[g]);let S=e=>{let t;t=h.includes(e)?h.filter(t=>t!==e):[...h,e],f||m(t),i?.(t)},C=(e,t)=>{e.stopPropagation();let n=h.filter(e=>e!==t);f||m(n),i?.(n)},w=e=>{e.stopPropagation(),f||m([]),i?.([])},T=e.filter(e=>e.label.toLowerCase().includes(v.toLowerCase()));return(0,Y.jsxs)(`div`,{ref:b,className:J(`relative flex flex-col gap-2 w-full`,u),children:[l&&(0,Y.jsx)(`label`,{htmlFor:x,className:`text-sm font-[600] text-[#0F172A]`,children:l}),(0,Y.jsxs)(`div`,{id:x,role:`combobox`,"aria-expanded":g,"aria-haspopup":`listbox`,onClick:()=>!c&&_(!g),className:J(`flex min-h-[40px] w-full items-center justify-between rounded-md border border-gray-200 bg-white px-3 py-1.5 text-sm font-[500] text-[#0F172A] cursor-pointer transition-colors focus-within:ring-2 focus-within:ring-[#0F172A]`,c&&`cursor-not-allowed opacity-50 bg-slate-50`),children:[(0,Y.jsx)(`div`,{className:`flex flex-wrap items-center gap-1.5 flex-1 pr-2`,children:h.length===0?(0,Y.jsx)(`span`,{className:`text-gray-400`,children:a}):(0,Y.jsxs)(Y.Fragment,{children:[h.slice(0,d).map(t=>{let n=e.find(e=>e.value===t);return(0,Y.jsxs)(`span`,{className:`inline-flex items-center gap-1 rounded bg-slate-100 px-2 py-0.5 text-xs font-[500] text-[#0F172A] border border-gray-200`,children:[(0,Y.jsx)(`span`,{children:n?n.label:t}),!c&&(0,Y.jsx)(`button`,{type:`button`,onClick:e=>C(e,t),className:`text-gray-400 hover:text-[#0F172A]`,children:(0,Y.jsx)(`svg`,{className:`h-3 w-3`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M6 18L18 6M6 6l12 12`})})})]},t)}),h.length>d&&(0,Y.jsxs)(`span`,{className:`rounded bg-slate-100 px-1.5 py-0.5 text-xs font-[500] text-slate-600 border border-gray-200`,children:[`+`,h.length-d,` more`]})]})}),(0,Y.jsxs)(`div`,{className:`flex items-center gap-1.5 flex-shrink-0`,children:[h.length>0&&!c&&(0,Y.jsx)(`button`,{type:`button`,onClick:w,className:`text-gray-400 hover:text-gray-600 p-0.5 rounded`,children:(0,Y.jsx)(`svg`,{className:`h-3.5 w-3.5`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M6 18L18 6M6 6l12 12`})})}),(0,Y.jsx)(`svg`,{className:J(`h-4 w-4 text-gray-500 transition-transform duration-200`,g&&`rotate-180`),fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M19 9l-7 7-7-7`})})]})]}),g&&(0,Y.jsxs)(`div`,{className:`absolute left-0 top-full z-50 mt-1 w-full rounded-lg border border-gray-200 bg-white p-1 shadow-lg animate-in fade-in-80 zoom-in-95`,children:[s&&(0,Y.jsxs)(`div`,{className:`flex items-center border-b border-gray-100 px-3 py-2`,children:[(0,Y.jsx)(`svg`,{className:`mr-2 h-4 w-4 text-gray-400`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z`})}),(0,Y.jsx)(`input`,{type:`text`,value:v,onChange:e=>y(e.target.value),placeholder:o,className:`w-full bg-transparent text-sm font-[500] text-[#0F172A] placeholder:text-gray-400 focus:outline-none`,autoFocus:!0,onClick:e=>e.stopPropagation()}),v&&(0,Y.jsx)(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),y(``)},className:`text-gray-400 hover:text-gray-600`,children:(0,Y.jsx)(`svg`,{className:`h-3.5 w-3.5`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M6 18L18 6M6 6l12 12`})})})]}),(0,Y.jsx)(`div`,{className:`max-h-60 overflow-y-auto p-1 space-y-0.5`,children:T.length===0?(0,Y.jsx)(`div`,{className:`px-3 py-2 text-center text-xs text-gray-400`,children:`No options found.`}):T.map(e=>{let t=h.includes(e.value);return(0,Y.jsxs)(`div`,{role:`option`,"aria-selected":t,onClick:()=>!e.disabled&&S(e.value),className:J(`flex w-full cursor-pointer select-none items-center rounded-md px-2.5 py-1.5 text-sm font-[500] transition-colors hover:bg-slate-100`,t?`bg-slate-100 text-[#0F172A] font-[600]`:`text-[#0F172A]`,e.disabled&&`pointer-events-none opacity-50`),children:[(0,Y.jsx)(`div`,{className:J(`mr-2.5 flex h-4 w-4 items-center justify-center rounded border transition-colors`,t?`border-[#0F172A] bg-[#0F172A] text-white`:`border-gray-300 bg-white`),children:t&&(0,Y.jsx)(`svg`,{className:`h-3 w-3`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:3,d:`M5 13l4 4L19 7`})})}),(0,Y.jsx)(`span`,{className:`flex-1 truncate`,children:e.label})]},e.value)})})]})]})},fn=(0,t.forwardRef)(({className:e,value:n,defaultValue:r=0,min:i=0,max:a=100,step:o=1,disabled:s=!1,onChange:c,showValue:l=!1,label:u,...d},f)=>{let p=n!==void 0,[m,h]=(0,t.useState)(r),g=Math.min(Math.max(p?n:m,i),a),_=(0,t.useRef)(null),[v,y]=(0,t.useState)(!1),b=(g-i)/(a-i)*100,x=(0,t.useCallback)(e=>{if(!_.current||s)return;let t=_.current.getBoundingClientRect(),n=(e-t.left)/t.width,r=i+Math.max(0,Math.min(1,n))*(a-i),l=Math.round(r/o)*o,u=Math.min(Math.max(Number(l.toFixed(4)),i),a);p||h(u),c?.(u)},[s,i,a,o,p,c]),S=e=>{s||(y(!0),e.target.setPointerCapture?.(e.pointerId),x(e.clientX))},C=e=>{v&&!s&&x(e.clientX)},w=e=>{v&&(y(!1),e.target.releasePointerCapture?.(e.pointerId))},T=e=>{if(s)return;let t=g;if(e.key===`ArrowRight`||e.key===`ArrowUp`)t=Math.min(g+o,a);else if(e.key===`ArrowLeft`||e.key===`ArrowDown`)t=Math.max(g-o,i);else if(e.key===`Home`)t=i;else if(e.key===`End`)t=a;else return;e.preventDefault(),p||h(t),c?.(t)};return(0,Y.jsxs)(`div`,{className:J(`w-full flex flex-col gap-2 select-none`,e),children:[(u||l)&&(0,Y.jsxs)(`div`,{className:`flex justify-between items-center text-sm font-[500] text-[#0F172A]`,children:[u&&(0,Y.jsx)(`span`,{children:u}),l&&(0,Y.jsxs)(`span`,{className:`text-slate-500 font-mono text-xs`,children:[g,`%`]})]}),(0,Y.jsxs)(`div`,{ref:f,className:J(`relative flex items-center w-full h-6 touch-none cursor-pointer`,s&&`opacity-50 cursor-not-allowed`),onPointerDown:S,onPointerMove:C,onPointerUp:w,onPointerCancel:w,...d,children:[(0,Y.jsx)(`div`,{ref:_,className:`relative w-full h-2 rounded-full bg-slate-100 overflow-hidden`,children:(0,Y.jsx)(`div`,{className:`h-full bg-[#0F172A] rounded-full transition-all duration-75`,style:{width:`${b}%`}})}),(0,Y.jsx)(`div`,{role:`slider`,tabIndex:s?-1:0,"aria-valuemin":i,"aria-valuemax":a,"aria-valuenow":g,"aria-disabled":s,onKeyDown:T,className:J(`absolute top-1/2 -translate-y-1/2 -translate-x-1/2 h-5 w-5 rounded-full bg-white border-2 border-[#0F172A] shadow-md transition-transform focus:outline-none focus-visible:ring-2 focus-visible:ring-[#0F172A] focus-visible:ring-offset-2`,v&&`scale-110`,!s&&`hover:scale-105`),style:{left:`${b}%`}})]})]})});fn.displayName=`Slider`;var pn=m(`relative inline-flex flex-shrink-0 cursor-pointer rounded-full transition-colors duration-200 ease-in-out focus:outline-none focus-visible:ring-2 focus-visible:ring-[#0F172A] focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50`,{variants:{switchSize:{sm:`h-4 w-7`,default:`h-6 w-11`},checked:{true:`bg-[#0F172A]`,false:`bg-slate-200`}},defaultVariants:{switchSize:`default`,checked:!1}}),mn=m(`pointer-events-none inline-block rounded-full bg-white shadow-md transform ring-0 transition duration-200 ease-in-out`,{variants:{switchSize:{sm:`h-3 w-3`,default:`h-5 w-5`},checked:{true:``,false:`translate-x-0.5`}},compoundVariants:[{switchSize:`default`,checked:!0,className:`translate-x-5.5`},{switchSize:`default`,checked:!1,className:`translate-x-0.5`},{switchSize:`sm`,checked:!0,className:`translate-x-3.5`},{switchSize:`sm`,checked:!1,className:`translate-x-0.5`}],defaultVariants:{switchSize:`default`,checked:!1}}),hn=(0,t.forwardRef)(({className:e,switchSize:n=`default`,checked:r,defaultChecked:i=!1,onCheckedChange:a,disabled:o,label:s,id:c,...l},u)=>{let d=r!==void 0,[f,p]=(0,t.useState)(i),m=d?r:f,h=(0,t.useId)(),g=c||h,_=(0,Y.jsx)(`button`,{id:g,ref:u,type:`button`,role:`switch`,"aria-checked":m,disabled:o,onClick:()=>{if(o)return;let e=!m;d||p(e),a?.(e)},className:J(pn({switchSize:n,checked:m,className:e}),`items-center`),...l,children:(0,Y.jsx)(`span`,{className:J(mn({switchSize:n,checked:m}))})});return s?(0,Y.jsxs)(`div`,{className:`inline-flex items-center gap-3 select-none`,children:[_,(0,Y.jsx)(`label`,{htmlFor:g,className:J(`text-sm font-[500] text-[#0F172A] cursor-pointer`,o&&`opacity-50 cursor-not-allowed`),children:s})]}):_});hn.displayName=`Switch`;var gn=m(`w-full overflow-x-auto border border-slate-200 transition-all`,{variants:{rounded:{none:`rounded-none`,md:`rounded-md`,lg:`rounded-lg`,xl:`rounded-xl`},shadow:{none:`shadow-none`,sm:`shadow-sm`,default:`shadow`}},defaultVariants:{rounded:`lg`,shadow:`sm`}}),_n=m(`w-full caption-bottom text-left border-collapse`,{variants:{size:{sm:`[&_th]:px-3 [&_th]:py-2.5 [&_td]:px-3 [&_td]:py-2.5 text-xs`,default:`[&_th]:px-4 [&_th]:py-3.5 [&_td]:px-4 [&_td]:py-3.5 text-sm`,lg:`[&_th]:px-6 [&_th]:py-4.5 [&_td]:px-6 [&_td]:py-4.5 text-base`},variant:{default:`[&_tbody_tr]:border-b [&_tbody_tr]:border-slate-100 [&_tbody_tr:last-child]:border-0`,striped:`[&_tbody_tr:nth-child(even)]:bg-slate-50/60 [&_tbody_tr]:border-b [&_tbody_tr]:border-slate-100 [&_tbody_tr:last-child]:border-0`,bordered:`[&_th]:border-r [&_th]:border-slate-200 [&_td]:border-r [&_td]:border-slate-100 [&_th:last-child]:border-0 [&_td:last-child]:border-0 [&_tbody_tr]:border-b [&_tbody_tr]:border-slate-100`}},defaultVariants:{size:`default`,variant:`default`}}),vn=(0,t.forwardRef)(({className:e,...t},n)=>(0,Y.jsx)(`thead`,{ref:n,className:J(`bg-slate-50 text-slate-700 border-b border-slate-200 select-none`,e),...t}));vn.displayName=`TableHeader`;var yn=(0,t.forwardRef)(({className:e,...t},n)=>(0,Y.jsx)(`tbody`,{ref:n,className:J(`bg-white divide-y divide-slate-100`,e),...t}));yn.displayName=`TableBody`;var bn=(0,t.forwardRef)(({className:e,...t},n)=>(0,Y.jsx)(`tfoot`,{ref:n,className:J(`bg-slate-50/80 font-medium text-slate-700 border-t border-slate-200`,e),...t}));bn.displayName=`TableFooter`;var xn=(0,t.forwardRef)(({className:e,...t},n)=>(0,Y.jsx)(`tr`,{ref:n,className:J(`transition-colors hover:bg-slate-50/80 data-[state=selected]:bg-slate-100`,e),...t}));xn.displayName=`TableRow`;var Sn=(0,t.forwardRef)(({className:e,...t},n)=>(0,Y.jsx)(`th`,{ref:n,className:J(`font-[600] text-slate-800 text-left align-middle whitespace-nowrap bg-slate-50`,e),...t}));Sn.displayName=`TableHead`;var Cn=(0,t.forwardRef)(({className:e,...t},n)=>(0,Y.jsx)(`td`,{ref:n,className:J(`align-middle font-[500] text-[#0F172A] whitespace-nowrap bg-inherit`,e),...t}));Cn.displayName=`TableCell`;var wn=(0,t.forwardRef)(({className:e,...t},n)=>(0,Y.jsx)(`caption`,{ref:n,className:J(`mt-3 text-xs text-slate-500`,e),...t}));wn.displayName=`TableCaption`;var Tn={left:`text-left`,center:`text-center`,right:`text-right`};function En({columns:e,data:n,rowKey:r,showSerialNumber:i=!0,serialNumberHeader:a=`S.No`,stickyHeader:o=!1,maxHeight:s,size:c=`default`,variant:l=`default`,rounded:u=`lg`,shadow:d=`sm`,loading:f=!1,emptyText:p=`No Data Found`,emptyState:m,onRowClick:h,containerClassName:g,className:_,expandable:v,defaultExpandedRowKeys:y,expandedRowKeys:b,...x}){let S=(e,t)=>r?r(e,t):e.id===void 0?e.key===void 0?t:e.key:e.id,C=y||v?.defaultExpandedRowKeys||[],[w,T]=(0,t.useState)(C),E=b??v?.expandedRowKeys,D=E!==void 0,O=D?E:w,ee=(e,t,n)=>{n?.stopPropagation();let r=S(e,t),i=O.includes(r),a=i?O.filter(e=>e!==r):[...O,r];D||T(a),v?.onExpand?.(!i,e,t)},k=e.some(e=>e.fixed),A=+!!i+ +!!v+e.length,j=(e,t,n)=>{if(!e.fixed)return{className:``};let r=e.fixed===`left`||e.fixed===!0,i=e.fixed===`right`;return r?{className:J(`sticky left-0 z-10 shadow-[2px_0_5px_-2px_rgba(0,0,0,0.06)]`,n?`bg-slate-50 z-20`:`bg-white`)}:i?{className:J(`sticky right-0 z-10 shadow-[-2px_0_5px_-2px_rgba(0,0,0,0.06)]`,n?`bg-slate-50 z-20`:`bg-white`)}:{className:``}};return(0,Y.jsx)(`div`,{style:s?{maxHeight:s,overflowY:`auto`}:void 0,className:J(gn({rounded:u,shadow:d}),o&&`relative`,g),children:(0,Y.jsxs)(`table`,{className:J(_n({size:c,variant:l}),k&&`min-w-full`,_),...x,children:[(0,Y.jsx)(vn,{className:J(o&&`sticky top-0 z-20 shadow-sm`),children:(0,Y.jsxs)(xn,{children:[v&&(0,Y.jsx)(Sn,{className:`w-10 px-2 text-center`}),i&&(0,Y.jsx)(Sn,{className:`w-16 text-center`,children:a}),e.map((e,t)=>{let n=j(e,t,!0);return(0,Y.jsx)(Sn,{style:{...e.width?{width:e.width}:{},...e.minWidth?{minWidth:e.minWidth}:{},...n.style},className:J(e.align?Tn[e.align]:`text-left`,n.className,e.className),children:e.header},t)})]})}),(0,Y.jsx)(yn,{children:f?(0,Y.jsx)(xn,{children:(0,Y.jsx)(Cn,{colSpan:A,className:`text-center py-8 text-slate-500`,children:(0,Y.jsxs)(`div`,{className:`flex items-center justify-center gap-2`,children:[(0,Y.jsx)(`div`,{className:`h-4 w-4 animate-spin rounded-full border-2 border-slate-300 border-t-[#0F172A]`}),(0,Y.jsx)(`span`,{children:`Loading records...`})]})})}):n.length?n.map((n,r)=>{let a=S(n,r),o=O.includes(a),s=v?!v.rowExpandable||v.rowExpandable(n,r):!1;return(0,Y.jsxs)(t.default.Fragment,{children:[(0,Y.jsxs)(xn,{onClick:e=>{v?.expandRowByClick&&s&&ee(n,r,e),h?.(n,r)},className:J((h||v?.expandRowByClick&&s)&&`cursor-pointer`,o&&`bg-slate-50/50`),children:[v&&(0,Y.jsx)(Cn,{className:`w-10 px-2 text-center`,children:s?(0,Y.jsx)(`button`,{type:`button`,onClick:e=>ee(n,r,e),"aria-expanded":o,"aria-label":o?`Collapse row details`:`Expand row details`,className:`inline-flex h-6 w-6 items-center justify-center rounded-md text-slate-500 hover:bg-slate-200/70 hover:text-slate-800 transition-transform duration-200 focus:outline-none`,children:(0,Y.jsx)(`svg`,{className:J(`h-4 w-4 transform transition-transform duration-200`,o&&`rotate-90`),fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M9 5l7 7-7 7`})})}):null}),i&&(0,Y.jsx)(Cn,{className:`text-center text-slate-500 font-mono text-xs`,children:r+1}),e.map((e,t)=>{let i=j(e,t,!1),a=null;return e.cell?a=e.cell(n,r):e.accessor&&(a=n[e.accessor]),(0,Y.jsx)(Cn,{style:{...e.width?{width:e.width}:{},...e.minWidth?{minWidth:e.minWidth}:{},...i.style},className:J(e.align?Tn[e.align]:`text-left`,i.className,e.className),children:a},t)})]}),v&&o&&s&&(0,Y.jsx)(`tr`,{className:`bg-slate-50/70 border-b border-slate-100`,children:(0,Y.jsx)(`td`,{colSpan:A,className:`p-4`,children:(0,Y.jsx)(`div`,{className:`animate-in fade-in duration-200`,children:v.expandedRowRender(n,r)})})})]},a)}):(0,Y.jsx)(xn,{children:(0,Y.jsx)(Cn,{colSpan:A,className:`text-center py-8 text-slate-400`,children:m||p})})})]})})}var Dn=(0,t.createContext)(null);function On(){let e=(0,t.useContext)(Dn);if(!e)throw Error(`Tabs compound components must be used within a <Tabs /> provider.`);return e}var kn=(0,t.forwardRef)(({value:e,defaultValue:n=``,onChange:r,variant:i=`default`,stretch:a=!1,size:o=`default`,className:s,children:c,...l},u)=>{let d=e!==void 0,[f,p]=(0,t.useState)(n),m=d?e:f,h=(0,t.useId)();return(0,Y.jsx)(Dn.Provider,{value:{value:m,onChange:e=>{d||p(e),r?.(e)},variant:i,stretch:a,size:o,baseId:h},children:(0,Y.jsx)(`div`,{ref:u,className:J(`flex flex-col gap-4`,a&&`w-full`,s),...l,children:c})})});kn.displayName=`Tabs`;var An=m(`inline-flex items-center text-[#64748B]`,{variants:{variant:{default:`bg-slate-100 p-1 rounded-md gap-1`,line:`border-b border-gray-200 gap-6`},stretch:{true:`flex w-full`,false:`inline-flex`}},defaultVariants:{variant:`default`,stretch:!1}}),jn=(0,t.forwardRef)(({className:e,children:t,...n},r)=>{let{variant:i,stretch:a}=On();return(0,Y.jsx)(`div`,{ref:r,role:`tablist`,className:J(An({variant:i,stretch:a,className:e})),...n,children:t})});jn.displayName=`TabsList`;var Mn=m(`inline-flex items-center justify-center font-[500] whitespace-nowrap transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#0F172A] disabled:pointer-events-none disabled:opacity-50 cursor-pointer select-none`,{variants:{variant:{default:`rounded-md text-[#64748B] hover:text-[#0F172A] data-[state=active]:bg-white data-[state=active]:text-[#0F172A] data-[state=active]:font-[600] data-[state=active]:shadow-sm`,line:`relative pb-2.5 -mb-[1px] border-b-2 border-transparent text-[#64748B] hover:text-[#0F172A] data-[state=active]:border-[#0F172A] data-[state=active]:text-[#0F172A] data-[state=active]:font-[600]`},size:{sm:`text-xs px-2.5 py-1`,default:`text-sm px-3.5 py-1.5`,lg:`text-base px-4 py-2`},stretch:{true:`flex-1 text-center`,false:``}},defaultVariants:{variant:`default`,size:`default`,stretch:!1}}),Nn=(0,t.forwardRef)(({value:e,disabled:t,className:n,children:r,...i},a)=>{let{value:o,onChange:s,variant:c,stretch:l,size:u,baseId:d}=On(),f=o===e,p=`${d}-tab-${e}`,m=`${d}-panel-${e}`;return(0,Y.jsx)(`button`,{ref:a,id:p,role:`tab`,type:`button`,"aria-selected":f,"aria-controls":m,"data-state":f?`active`:`inactive`,disabled:t,onClick:()=>s(e),className:J(Mn({variant:c,stretch:l,size:u,className:n})),...i,children:r})});Nn.displayName=`TabsTrigger`;var Pn=(0,t.forwardRef)(({value:e,className:t,children:n,...r},i)=>{let{value:a,baseId:o}=On(),s=a===e,c=`${o}-tab-${e}`,l=`${o}-panel-${e}`;return s?(0,Y.jsx)(`div`,{ref:i,id:l,role:`tabpanel`,"aria-labelledby":c,tabIndex:0,className:J(`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#0F172A] focus-visible:ring-offset-2 animate-in fade-in-50 duration-150`,t),...r,children:n}):null});Pn.displayName=`TabsContent`;var Fn=m(`flex min-h-[80px] w-full rounded-md border border-gray-200 bg-white px-3 py-2 text-sm font-[500] text-[#0F172A] placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-[#0F172A] focus:border-transparent transition-colors duration-200 disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-slate-50 resize-y`,{variants:{hasError:{true:`border-red-500 focus:ring-red-500 text-red-900 placeholder:text-red-300`}},defaultVariants:{hasError:!1}}),In=(0,t.forwardRef)(({className:e,hasError:n=!1,label:r,helperText:i,errorMessage:a,id:o,disabled:s,...c},l)=>{let u=(0,t.useId)(),d=o||u,f=`${d}-desc`,p=!!(a||n),m=(0,Y.jsx)(`textarea`,{id:d,ref:l,disabled:s,"aria-invalid":p,"aria-describedby":i||a?f:void 0,className:J(Fn({hasError:p,className:e})),...c});return!r&&!i&&!a?m:(0,Y.jsxs)(`div`,{className:`w-full flex flex-col gap-2`,children:[r&&(0,Y.jsx)(`label`,{htmlFor:d,className:J(`text-sm font-[600] text-[#0F172A]`,s&&`opacity-50 cursor-not-allowed`),children:r}),m,a?(0,Y.jsx)(`p`,{id:f,className:`text-xs font-[400] text-red-500`,children:a}):i?(0,Y.jsx)(`p`,{id:f,className:`text-xs font-[400] text-gray-500`,children:i}):null]})});In.displayName=`Textarea`;var Ln=m(`relative flex w-full max-w-md items-center justify-between space-x-4 overflow-hidden rounded-lg p-4 shadow-lg border transition-all duration-200`,{variants:{variant:{default:`bg-white border-gray-200 text-[#0F172A]`,destructive:`bg-[#EF4444] border-[#EF4444] text-white`}},defaultVariants:{variant:`default`}}),Rn=(0,t.forwardRef)(({className:e,variant:t=`default`,title:n,description:r,action:i,onClose:a,children:o,...s},c)=>{let l=t===`destructive`;return(0,Y.jsxs)(`div`,{ref:c,role:`status`,"aria-live":`polite`,className:J(Ln({variant:t,className:e})),...s,children:[(0,Y.jsxs)(`div`,{className:`flex-1 space-y-1`,children:[n&&(0,Y.jsx)(`h5`,{className:J(`text-sm font-[600] leading-tight`,l?`text-white`:`text-[#0F172A]`),children:n}),r&&(0,Y.jsx)(`p`,{className:J(`text-xs font-[400] leading-normal`,l?`text-white/90`:`text-slate-500`),children:r}),o]}),i&&(0,Y.jsx)(`div`,{className:`flex-shrink-0`,children:typeof i==`string`?(0,Y.jsx)(`button`,{type:`button`,className:J(`inline-flex h-8 items-center justify-center rounded-md px-3 text-xs font-[500] transition-colors focus:outline-none focus:ring-2 select-none`,l?`bg-transparent border border-white/40 text-white hover:bg-white/10 focus:ring-white`:`bg-transparent border border-gray-200 text-[#0F172A] hover:bg-slate-100 focus:ring-[#0F172A]`),children:i}):i})]})});Rn.displayName=`Toast`;var zn=(0,t.createContext)(null);function Bn(){let e=(0,t.useContext)(zn);if(!e)throw Error(`Tooltip compound components must be used within <Tooltip />.`);return e}var Vn=(0,t.createContext)({delayDuration:150}),Hn=({delayDuration:e=150,children:t})=>(0,Y.jsx)(Vn.Provider,{value:{delayDuration:e},children:t}),Un=({open:e,defaultOpen:n=!1,onOpenChange:r,delayDuration:i,side:a=`top`,align:o=`center`,sideOffset:s=6,children:c,content:l})=>{let u=(0,t.useContext)(Vn),d=i===void 0?u.delayDuration:i,f=e!==void 0,[p,m]=(0,t.useState)(n),h=f?e:p,[g,_]=(0,t.useState)(null),v=(0,t.useRef)(null);return(0,t.useEffect)(()=>()=>{v.current&&clearTimeout(v.current)},[]),l===void 0?(0,Y.jsx)(zn.Provider,{value:{open:h,setOpen:e=>{v.current&&clearTimeout(v.current),e?v.current=window.setTimeout(()=>{f||m(!0),r?.(!0)},d):(f||m(!1),r?.(!1))},side:a,align:o,sideOffset:s,triggerRect:g,setTriggerRect:_},children:(0,Y.jsx)(`div`,{className:`relative inline-flex`,children:c})}):(0,Y.jsxs)(Un,{side:a,align:o,sideOffset:s,delayDuration:d,open:e,onOpenChange:r,children:[(0,Y.jsx)(Wn,{asChild:!0,children:c}),(0,Y.jsx)(Gn,{side:a,align:o,sideOffset:s,children:l})]})},Wn=(0,t.forwardRef)(({className:e,children:n,asChild:r=!1,...i},a)=>{let{setOpen:o,setTriggerRect:s}=Bn(),c=(0,t.useRef)(null),l=()=>{c.current&&s(c.current.getBoundingClientRect())};return(0,Y.jsx)(`div`,{ref:e=>{c.current=e,typeof a==`function`?a(e):a&&(a.current=e)},onMouseEnter:()=>{l(),o(!0)},onMouseLeave:()=>{o(!1)},onFocus:()=>{l(),o(!0)},onBlur:()=>{o(!1)},className:J(`inline-flex`,e),...i,children:n})});Wn.displayName=`TooltipTrigger`;var Gn=(0,t.forwardRef)(({className:e,side:t,align:n,sideOffset:r,children:i,...a},o)=>{let s=Bn(),c=t||s.side;return n||s.align,r!==void 0||s.sideOffset,s.open?(0,Y.jsx)(`div`,{ref:o,role:`tooltip`,className:J(`absolute z-50 whitespace-nowrap rounded-md border border-gray-200 bg-white px-3 py-1.5 text-xs font-[500] text-[#0F172A] shadow-md animate-in fade-in-0 zoom-in-95 select-none pointer-events-none`,(()=>{switch(c){case`top`:return`bottom-full left-1/2 -translate-x-1/2 mb-2`;case`bottom`:return`top-full left-1/2 -translate-x-1/2 mt-2`;case`left`:return`right-full top-1/2 -translate-y-1/2 mr-2`;case`right`:return`left-full top-1/2 -translate-y-1/2 ml-2`}})(),e),...a,children:i}):null});Gn.displayName=`TooltipContent`;var Kn=({type:e=`file`,className:t})=>{switch(e.toLowerCase().replace(`.`,``)){case`pdf`:return(0,Y.jsx)(`div`,{className:J(`flex h-10 w-10 items-center justify-center rounded-lg bg-red-100 text-red-600 font-bold text-xs select-none`,t),children:(0,Y.jsx)(`svg`,{className:`w-5 h-5`,fill:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{d:`M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 15h-2v-6h2v6zm0-8h-2V7h2v2zm4 8h-2v-3h2v3zm0-5h-2v-4h2v4z`})})});case`xls`:case`xlsx`:case`excel`:case`csv`:return(0,Y.jsx)(`div`,{className:J(`flex h-10 w-10 items-center justify-center rounded-lg bg-emerald-100 text-emerald-600 font-bold text-xs select-none`,t),children:(0,Y.jsx)(`svg`,{className:`w-5 h-5`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M9 17v-2m3 2v-4m3 4v-6m2 10H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z`})})});case`doc`:case`docx`:case`word`:return(0,Y.jsx)(`div`,{className:J(`flex h-10 w-10 items-center justify-center rounded-lg bg-blue-100 text-blue-600 font-bold text-xs select-none`,t),children:(0,Y.jsx)(`svg`,{className:`w-5 h-5`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z`})})});case`zip`:case`rar`:case`tar`:case`7z`:return(0,Y.jsx)(`div`,{className:J(`flex h-10 w-10 items-center justify-center rounded-lg bg-amber-100 text-amber-600 font-bold text-xs select-none`,t),children:(0,Y.jsx)(`svg`,{className:`w-5 h-5`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M5 8h14M5 8a2 2 0 110-4h14a2 2 0 110 4M5 8v10a2 2 0 002 2h10a2 2 0 002-2V8m-9 4h4`})})});case`png`:case`jpg`:case`jpeg`:case`webp`:case`gif`:case`image`:return(0,Y.jsx)(`div`,{className:J(`flex h-10 w-10 items-center justify-center rounded-lg bg-purple-100 text-purple-600 font-bold text-xs select-none`,t),children:(0,Y.jsx)(`svg`,{className:`w-5 h-5`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z`})})});default:return(0,Y.jsx)(`div`,{className:J(`flex h-10 w-10 items-center justify-center rounded-lg bg-slate-100 text-slate-600 font-bold text-xs select-none`,t),children:(0,Y.jsx)(`svg`,{className:`w-5 h-5`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M7 21h10a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v14a2 2 0 002 2z`})})})}},qn=(0,t.forwardRef)(({className:e,value:n,defaultValue:r,onChange:i,disabled:a=!1,shape:o=`square`,size:s=`default`,progress:c,errorMessage:l,label:u,onCancel:d,...f},p)=>{let m=n!==void 0,[h,g]=(0,t.useState)(r),_=m?n:h,[v,y]=(0,t.useState)(!1),[b,x]=(0,t.useState)(!1),S=(0,t.useRef)(null),C=(0,t.useId)(),w=c!==void 0&&c>=0&&c<100,T=!!l,E=e=>{let t=e.target.files?.[0];if(t){let e=URL.createObjectURL(t);m||g(e),i?.(t,e)}},D=e=>{if(e.preventDefault(),x(!1),a)return;let t=e.dataTransfer.files?.[0];if(t){let e=URL.createObjectURL(t);m||g(e),i?.(t,e)}},O=e=>{e.stopPropagation(),m||g(void 0),S.current&&(S.current.value=``),i?.(null,void 0)},ee={sm:`h-20 w-20 text-xs`,default:`h-28 w-28 text-sm`,lg:`h-36 w-36 text-base`}[s];return(0,Y.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[u&&(0,Y.jsx)(`span`,{className:`text-sm font-[600] text-[#0F172A]`,children:u}),(0,Y.jsxs)(`div`,{ref:p,onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),onDragOver:e=>{e.preventDefault(),x(!0)},onDragLeave:()=>x(!1),onDrop:D,onClick:()=>!a&&!w&&S.current?.click(),className:J(`relative flex flex-col items-center justify-center cursor-pointer transition-all duration-200 border-2 overflow-hidden select-none bg-white`,o===`circle`?`rounded-full`:`rounded-xl`,ee,!_&&!w&&!T&&`border-dashed border-gray-300 hover:border-[#0F172A] hover:bg-slate-50`,b&&`border-solid border-[#0F172A] bg-slate-50`,T&&`border-dashed border-red-400 bg-red-50/30`,a&&`pointer-events-none opacity-50 bg-slate-100 cursor-not-allowed`,e),...f,children:[(0,Y.jsx)(`input`,{id:C,ref:S,type:`file`,accept:`image/*`,disabled:a,onChange:E,className:`hidden`}),w&&(0,Y.jsxs)(`div`,{className:`absolute inset-0 flex flex-col items-center justify-center p-3 bg-white/90 z-10`,children:[(0,Y.jsxs)(`span`,{className:`text-xs font-semibold text-[#0F172A]`,children:[c,`%`]}),(0,Y.jsx)(`div`,{className:`w-full bg-gray-200 h-1.5 rounded-full mt-1.5 overflow-hidden`,children:(0,Y.jsx)(`div`,{className:`bg-[#0F172A] h-full rounded-full transition-all duration-150`,style:{width:`${c}%`}})}),d&&(0,Y.jsx)(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),d()},className:`mt-1 text-[11px] font-medium text-slate-500 hover:text-red-600`,children:`Cancel`})]}),_&&!w&&(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(`img`,{src:_,alt:`Upload preview`,className:`h-full w-full object-cover`}),v&&!a&&(0,Y.jsx)(`div`,{className:`absolute inset-0 flex items-center justify-center bg-black/40 gap-2 transition-opacity z-10`,children:(0,Y.jsx)(`button`,{type:`button`,onClick:O,className:`p-1.5 bg-white/90 rounded-full text-red-600 hover:bg-white shadow`,title:`Remove`,children:(0,Y.jsx)(`svg`,{className:`w-4 h-4`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16`})})})})]}),!_&&!w&&(0,Y.jsxs)(`div`,{className:`flex flex-col items-center justify-center text-center p-2 text-slate-400`,children:[(0,Y.jsx)(`svg`,{className:`w-6 h-6 mb-1 text-slate-400`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M12 4v16m8-8H4`})}),(0,Y.jsx)(`span`,{className:`text-xs font-[500] text-slate-600`,children:`Upload`})]})]}),l&&(0,Y.jsx)(`span`,{className:`text-xs text-red-500 font-medium`,children:l})]})});qn.displayName=`UploadPicture`;var Jn=({file:e,onRemove:t,onRetry:n,onCancel:r,className:i,...a})=>{if(!e)return null;let o=e.progress!==void 0&&e.progress>=0&&e.progress<100,s=!!e.error;return(0,Y.jsxs)(`div`,{className:J(`flex w-full items-center justify-between rounded-xl border border-gray-200 bg-white p-3.5 shadow-sm transition-all`,s&&`border-red-300 bg-red-50/20`,i),...a,children:[(0,Y.jsxs)(`div`,{className:`flex items-center gap-3.5 flex-1 min-w-0 pr-3`,children:[(0,Y.jsx)(Kn,{type:e.type||e.name.split(`.`).pop()||`file`}),(0,Y.jsxs)(`div`,{className:`flex-1 min-w-0`,children:[(0,Y.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[(0,Y.jsx)(`p`,{className:`text-sm font-[600] text-[#0F172A] truncate`,children:e.name}),o&&(0,Y.jsxs)(`span`,{className:`text-xs font-mono font-semibold text-slate-600 flex-shrink-0`,children:[e.progress,`%`]})]}),e.size&&!s&&(0,Y.jsx)(`p`,{className:`text-xs text-slate-500 mt-0.5`,children:e.size}),o&&(0,Y.jsx)(`div`,{className:`w-full bg-gray-100 h-1.5 rounded-full mt-2 overflow-hidden`,children:(0,Y.jsx)(`div`,{className:`bg-[#0F172A] h-full rounded-full transition-all duration-150`,style:{width:`${e.progress}%`}})}),s&&(0,Y.jsx)(`p`,{className:`text-xs text-red-500 font-medium mt-1`,children:e.error})]})]}),(0,Y.jsxs)(`div`,{className:`flex items-center gap-2 flex-shrink-0`,children:[o&&r&&(0,Y.jsx)(`button`,{type:`button`,onClick:r,className:`text-xs font-medium text-slate-500 hover:text-red-600`,children:`Cancel`}),s&&n&&(0,Y.jsx)(`button`,{type:`button`,onClick:n,className:`text-xs font-semibold text-[#0F172A] hover:underline`,children:`Retry`}),t&&(0,Y.jsx)(`button`,{type:`button`,onClick:t,className:`text-slate-400 hover:text-slate-700 p-1 rounded-md`,title:`Remove`,children:(0,Y.jsx)(`svg`,{className:`w-4 h-4`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M6 18L18 6M6 6l12 12`})})})]})]})},Yn=({onFilesSelected:e,accept:n,multiple:r=!1,disabled:i=!1,className:a,children:o,...s})=>{let[c,l]=(0,t.useState)(!1),u=(0,t.useRef)(null);return(0,Y.jsxs)(`div`,{onDragOver:e=>{e.preventDefault(),l(!0)},onDragLeave:()=>l(!1),onDrop:t=>{t.preventDefault(),l(!1),!i&&t.dataTransfer.files?.length&&e?.(t.dataTransfer.files)},onClick:()=>!i&&u.current?.click(),className:J(`flex flex-col items-center justify-center p-8 rounded-2xl border-2 border-dashed border-gray-300 bg-white hover:border-[#0F172A] hover:bg-slate-50 transition-all cursor-pointer text-center select-none`,c&&`border-[#0F172A] bg-slate-50`,i&&`opacity-50 pointer-events-none cursor-not-allowed`,a),...s,children:[(0,Y.jsx)(`input`,{ref:u,type:`file`,accept:n,multiple:r,disabled:i,onChange:t=>t.target.files&&e?.(t.target.files),className:`hidden`}),(0,Y.jsx)(`div`,{className:`flex h-12 w-12 items-center justify-center rounded-full bg-slate-100 text-[#0F172A] mb-3`,children:(0,Y.jsx)(`svg`,{className:`w-6 h-6`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,Y.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12`})})}),o||(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsxs)(`p`,{className:`text-sm font-[600] text-[#0F172A]`,children:[`Click to upload `,(0,Y.jsx)(`span`,{className:`font-normal text-slate-500`,children:`or drag and drop`})]}),(0,Y.jsx)(`p`,{className:`text-xs text-slate-400 mt-1`,children:`SVG, PNG, JPG, PDF or DOCX (max 10MB)`})]})]})},Xn=e=>typeof e==`number`&&!isNaN(e),Zn=e=>typeof e==`string`,Qn=e=>typeof e==`function`,$n=e=>Zn(e)||Xn(e),er=e=>(0,t.isValidElement)(e)||Zn(e)||Qn(e)||Xn(e);function tr(e,t,n=300){let{scrollHeight:r,style:i}=e;requestAnimationFrame(()=>{i.minHeight=`initial`,i.height=r+`px`,i.transition=`all ${n}ms`,requestAnimationFrame(()=>{i.height=`0`,i.padding=`0`,i.margin=`0`,setTimeout(t,n)})})}function nr({enter:e,exit:n,appendPosition:r=!1,collapse:i=!0,collapseDuration:a=300}){return function({children:o,position:s,preventExitTransition:c,done:l,nodeRef:u,isIn:d,playToast:f}){let p=r?`${e}--${s}`:e,m=r?`${n}--${s}`:n,h=(0,t.useRef)(0);return(0,t.useLayoutEffect)(()=>{let e=u.current,t=p.split(` `),n=r=>{r.target===u.current&&(f(),e.removeEventListener(`animationend`,n),e.removeEventListener(`animationcancel`,n),h.current===0&&r.type!==`animationcancel`&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener(`animationend`,n),e.addEventListener(`animationcancel`,n)},[]),(0,t.useEffect)(()=>{let e=u.current,t=()=>{e.removeEventListener(`animationend`,t),i?tr(e,l,a):l()};d||(c?t():(h.current=1,e.className+=` ${m}`,e.addEventListener(`animationend`,t)))},[d]),t.default.createElement(t.default.Fragment,null,o)}}var rr=1,ir=()=>`${rr++}`,Q=new Map,ar=[],or=new Set,sr=()=>Q.size>0,cr=(e,{containerId:t})=>Q.get(t||1)?.toasts.get(e);function lr(e,t){var n;if(t)return!!((n=Q.get(t))!=null&&n.isToastActive(e));let r=!1;return Q.forEach(t=>{t.isToastActive(e)&&(r=!0)}),r}function ur(e){if(!sr()){ar=ar.filter(t=>e!=null&&t.options.toastId!==e);return}if(e==null||$n(e))Q.forEach(t=>{t.removeToast(e)});else if(e&&(`containerId`in e||`id`in e)){let t=Q.get(e.containerId);t?t.removeToast(e.id):Q.forEach(t=>{t.removeToast(e.id)})}}var dr=(e={})=>{Q.forEach(t=>{t.props.limit&&(!e.containerId||t.id===e.containerId)&&t.clearQueue()})};function fr(e,t){er(e)&&(sr()||ar.push({content:e,options:t}),Q.forEach(n=>{n.buildToast(e,t)}))}function pr(e,t){Q.forEach(n=>{(t==null||!(t!=null&&t.containerId)||t?.containerId===n.id)&&n.toggle(e,t?.id)})}function mr(e){return or.add(e),()=>{or.delete(e)}}function hr(e){return e&&(Zn(e.toastId)||Xn(e.toastId))?e.toastId:ir()}function gr(e,t){return fr(e,t),t.toastId}function _r(e,t){return{...t,type:t&&t.type||e,toastId:hr(t)}}function vr(e){return(t,n)=>gr(t,_r(e,n))}function $(e,t){return gr(e,_r(`default`,t))}$.loading=(e,t)=>gr(e,_r(`default`,{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t}));function yr(e,{pending:t,error:n,success:r},i){let a;t&&(a=Zn(t)?$.loading(t,i):$.loading(t.render,{...i,...t}));let o={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},s=(e,t,n)=>{if(t==null){$.dismiss(a);return}let r={type:e,...o,...i,data:n},s=Zn(t)?{render:t}:t;return a?$.update(a,{...r,...s}):$(s.render,{...r,...s}),n},c=Qn(e)?e():e;return c.then(e=>s(`success`,r,e)).catch(e=>s(`error`,n,e)),c}$.promise=yr,$.success=vr(`success`),$.info=vr(`info`),$.error=vr(`error`),$.warning=vr(`warning`),$.warn=$.warning,$.dark=(e,t)=>gr(e,_r(`default`,{theme:`dark`,...t}));function br(e){ur(e)}$.dismiss=br,$.clearWaitingQueue=dr,$.isActive=lr,$.update=(e,t={})=>{let n=cr(e,t);if(n){let{props:r,content:i}=n,a={delay:100,...r,...t,toastId:t.toastId||e,updateId:ir()};a.toastId!==e&&(a.staleId=e);let o=a.render||i;delete a.render,gr(o,a)}},$.done=e=>{$.update(e,{progress:1})},$.onChange=mr,$.play=e=>pr(!0,e),$.pause=e=>pr(!1,e);var xr=(e,t=!1)=>({enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t});nr(xr(`bounce`,!0)),nr(xr(`slide`,!0)),nr(xr(`zoom`)),nr(xr(`flip`)),e.Alignment=lt,e.Badge=$e,e.Box=tt,e.ButtonDirection=Z,e.ButtonIconPosition=rt,e.ButtonSize=nt,e.ButtonVariant=X,e.Calendar=jt,e.ColorVariant=it,e.ComponentSize=at,e.DefaultButton=pt,e.Divider=Nt,e.DynamicPagination=Xt,e.FileIcon=Kn,e.GroupIconButton=ht,e.ImagePopOver=Ft,e.Input=Lt,e.InputOTP=zt,e.InputOTPGroup=Bt,e.InputOTPSeparator=Ht,e.InputOTPSlot=Vt,e.Left=vt,e.MultiSelect=dn,e.Orientation=st,e.Pagination=Ut,e.PaginationContent=Wt,e.PaginationEllipsis=Yt,e.PaginationItem=Gt,e.PaginationLink=Kt,e.PaginationNext=Jt,e.PaginationPrevious=qt,e.Position=ct,e.ProfileCard=Qt,e.Right=yt,e.Select=tn,e.SelectContent=on,e.SelectGroup=sn,e.SelectItem=ln,e.SelectLabel=cn,e.SelectSearch=an,e.SelectSeparator=un,e.SelectTrigger=nn,e.SelectValue=rn,e.ShapeVariant=ot,e.SingleIconButton=_t,e.Slider=fn,e.StatusType=dt,e.Switch=hn,e.Table=En,e.TableBody=yn,e.TableCaption=wn,e.TableCell=Cn,e.TableFooter=bn,e.TableHead=Sn,e.TableHeader=vn,e.TableRow=xn,e.Tabs=kn,e.TabsContent=Pn,e.TabsList=jn,e.TabsTrigger=Nn,e.Textarea=In,e.Toast=Rn,e.ToastServices={showToast:({message:e,type:t=`info`,autoClose:n=1e3})=>{switch(t){case`success`:$.success(e,{autoClose:n});break;case`error`:$.error(e,{autoClose:n});break;case`warning`:$.warning(e,{autoClose:n});break;default:$.info(e,{autoClose:n})}}},e.Tooltip=Un,e.TooltipContent=Gn,e.TooltipProvider=Hn,e.TooltipTrigger=Wn,e.TypographyVariant=ut,e.UploadDropzone=Yn,e.UploadFile=Jn,e.UploadPicture=qn,e.boxVariants=et,e.cn=J,e.color=Ye,e.useTabsContext=On});
@@ -0,0 +1,14 @@
1
+ declare const _default: {
2
+ preset: string;
3
+ testEnvironment: string;
4
+ transform: {
5
+ "^.+\\.tsx?$": string;
6
+ };
7
+ moduleNameMapper: {
8
+ "^.+.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$": string;
9
+ "\\.(gif|ttf|eot|svg|png)$": string;
10
+ "^@/(.*)$": string;
11
+ "\\.(css|scss|sass)$": string;
12
+ };
13
+ };
14
+ export default _default;
@@ -0,0 +1,9 @@
1
+ interface ShowToastProps {
2
+ message: string;
3
+ type?: string;
4
+ autoClose?: number;
5
+ }
6
+ declare const ToastServices: {
7
+ showToast: ({ message, type, autoClose }: ShowToastProps) => void;
8
+ };
9
+ export default ToastServices;
@@ -0,0 +1,14 @@
1
+ import { default as React, ComponentProps } from 'react';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ declare const badgeStyles: (props?: ({
4
+ variant?: "default" | "solid" | "primary" | "secondary" | "destructive" | "outline" | "success" | "warning" | "info" | null | undefined;
5
+ shape?: "rounded" | "pill" | "square" | null | undefined;
6
+ size?: "default" | "sm" | "lg" | null | undefined;
7
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
+ export interface BadgeProps extends ComponentProps<"div">, VariantProps<typeof badgeStyles> {
9
+ icon?: React.ReactNode;
10
+ cornerCheck?: boolean;
11
+ onRemove?: (e: React.MouseEvent) => void;
12
+ }
13
+ export declare const Badge: React.ForwardRefExoticComponent<Omit<BadgeProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
+ export {};
@@ -0,0 +1 @@
1
+ export * from './Badge';
@@ -0,0 +1,29 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Badge } from './Badge';
3
+ declare const meta: Meta<typeof Badge>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ /**
7
+ * Default subtle gray badge.
8
+ */
9
+ export declare const Default: Story;
10
+ /**
11
+ * Solid amber/orange badge.
12
+ */
13
+ export declare const Amber: Story;
14
+ /**
15
+ * Outlined tag with corner check ribbon.
16
+ */
17
+ export declare const CornerCheckedTag: Story;
18
+ /**
19
+ * Approved status pill with checkmark icon.
20
+ */
21
+ export declare const ApprovedStatus: Story;
22
+ /**
23
+ * Removable tag with (✕) action.
24
+ */
25
+ export declare const RemovableTag: Story;
26
+ /**
27
+ * Complete side-by-side overview matching the user's reference diagram.
28
+ */
29
+ export declare const DesignSystemOverview: Story;
@@ -0,0 +1,17 @@
1
+ import { default as React, ElementType, ComponentPropsWithRef } from 'react';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ export declare const boxVariants: (props?: ({
4
+ variant?: "default" | "outline" | "surface" | "card" | "muted" | "subtle" | "dark" | null | undefined;
5
+ padding?: "default" | "sm" | "lg" | "none" | "xs" | "md" | "xl" | null | undefined;
6
+ rounded?: "default" | "sm" | "lg" | "none" | "xs" | "xl" | "2xl" | "full" | null | undefined;
7
+ shadow?: "default" | "sm" | "lg" | "none" | "md" | null | undefined;
8
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
9
+ export type BoxVariantsProps = VariantProps<typeof boxVariants>;
10
+ export interface BoxOwnProps<E extends ElementType = "div"> extends BoxVariantsProps {
11
+ as?: E;
12
+ className?: string;
13
+ children?: React.ReactNode;
14
+ }
15
+ export type BoxProps<E extends ElementType = "div"> = BoxOwnProps<E> & Omit<ComponentPropsWithRef<E>, keyof BoxOwnProps<E>>;
16
+ export declare const Box: React.ForwardRefExoticComponent<Omit<BoxProps<React.ElementType>, "ref"> & React.RefAttributes<any>>;
17
+ export default Box;
@@ -0,0 +1,2 @@
1
+ export * from './Box';
2
+ export { default } from './Box';
@@ -0,0 +1,25 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Box } from './Box';
3
+ declare const meta: Meta<typeof Box>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ /**
7
+ * Default Box container.
8
+ */
9
+ export declare const Default: Story;
10
+ /**
11
+ * Surface variant with subtle border.
12
+ */
13
+ export declare const Surface: Story;
14
+ /**
15
+ * Dark theme Box container.
16
+ */
17
+ export declare const DarkTheme: Story;
18
+ /**
19
+ * Polymorphic element rendering (renders semantic `<section>` element).
20
+ */
21
+ export declare const SemanticSection: Story;
22
+ /**
23
+ * Design system overview showing variants and styles side-by-side.
24
+ */
25
+ export declare const DesignSystemOverview: Story;
@@ -0,0 +1,2 @@
1
+ export declare const Left: () => import('react').JSX.Element;
2
+ export declare const Right: () => import('react').JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './icons';
@@ -0,0 +1,22 @@
1
+ import { default as React, ComponentProps } from 'react';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ import { ButtonVariant, ButtonSize, ButtonIconPosition } from '../../types';
4
+ /**
5
+ * Button styles — strictly following AzeroResources design_system.md:
6
+ *
7
+ * Radius → rounded-md (6px) for buttons — design_system.md §Component Mapping
8
+ * Gap → gap-2 (8px) for icon + text — design_system.md §Component Spacing Rules
9
+ * Font → font-weight 500 (Regular) — design_system.md §Button Typography
10
+ * Sizes → lg: 16px | md: 14px | sm: 12px
11
+ */
12
+ declare const buttonStyles: (props?: ({
13
+ variant?: ButtonVariant | null | undefined;
14
+ size?: ButtonSize | null | undefined;
15
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
16
+ type ButtonProps = ComponentProps<"button"> & VariantProps<typeof buttonStyles> & {
17
+ iconUrl?: string | React.ElementType;
18
+ iconPosition?: ButtonIconPosition;
19
+ isLoading?: boolean;
20
+ };
21
+ export declare const DefaultButton: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
22
+ export {};
@@ -0,0 +1 @@
1
+ export * from './DefaultButton';
@@ -0,0 +1,18 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { DefaultButton } from './DefaultButton';
3
+ declare const meta: Meta<typeof DefaultButton>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ export declare const Destructive: Story;
8
+ export declare const Cancel: Story;
9
+ export declare const Subtle: Story;
10
+ export declare const Ghost: Story;
11
+ export declare const Link: Story;
12
+ export declare const SmallSize: Story;
13
+ export declare const MediumSize: Story;
14
+ export declare const Disabled: Story;
15
+ export declare const WithIconLeft: Story;
16
+ export declare const WithIconRight: Story;
17
+ export declare const IconOnly: Story;
18
+ export declare const Loading: Story;
@@ -0,0 +1,14 @@
1
+ import { default as React, ComponentProps } from 'react';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ import { ButtonDirection } from '../../types';
4
+ declare const GroupButtonStyles: (props?: ({
5
+ direction?: ButtonDirection | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ type GroupButtonProps = ComponentProps<"div"> & VariantProps<typeof GroupButtonStyles> & {
8
+ iconUrl?: string;
9
+ className?: string;
10
+ direction?: ButtonDirection;
11
+ children?: React.ReactNode;
12
+ };
13
+ export declare const GroupIconButton: React.ForwardRefExoticComponent<Omit<GroupButtonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
+ export {};
@@ -0,0 +1 @@
1
+ export * from './GroupIconButton';
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { GroupIconButton } from '.';
3
+ declare const meta: Meta<typeof GroupIconButton>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ export declare const GroupButtonWithIcon: Story;
8
+ export declare const GroupButtonWithText: Story;
9
+ export declare const GroupButtonWithIconText: Story;
@@ -0,0 +1,17 @@
1
+ import { default as React, ComponentProps } from 'react';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ import { ButtonDirection } from '../../types';
4
+ declare const IconButtonStyles: (props?: ({
5
+ direction?: ButtonDirection | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ type IconButtonProps = ComponentProps<"button"> & VariantProps<typeof IconButtonStyles> & {
8
+ iconUrl?: string | React.ReactNode;
9
+ text?: string;
10
+ backgroundColor?: string;
11
+ className?: string;
12
+ direction?: ButtonDirection;
13
+ children?: React.ReactNode;
14
+ iconStyle?: string;
15
+ };
16
+ export declare const SingleIconButton: React.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
17
+ export {};
@@ -0,0 +1 @@
1
+ export * from './SingleIconButton';
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { SingleIconButton } from '.';
3
+ declare const meta: Meta<typeof SingleIconButton>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ export declare const SingleButtonForExample: Story;
@@ -0,0 +1,4 @@
1
+ export * from './DefaultButton';
2
+ export * from './GroupIconButton';
3
+ export * from './SingleIconButton';
4
+ export * from './ButtonIcon';
@@ -0,0 +1,18 @@
1
+ import { default as React } from 'react';
2
+ export type DateRange = {
3
+ from: Date | undefined;
4
+ to?: Date | undefined;
5
+ };
6
+ export interface CalendarProps {
7
+ mode?: "single" | "range";
8
+ selected?: Date | DateRange;
9
+ onSelect?: (date: Date | DateRange | undefined) => void;
10
+ numberOfMonths?: number;
11
+ className?: string;
12
+ presets?: {
13
+ label: string;
14
+ value: DateRange;
15
+ }[];
16
+ isDark?: boolean;
17
+ }
18
+ export declare const Calendar: ({ mode, selected, onSelect, numberOfMonths, className, presets, isDark, }: CalendarProps) => React.JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './Calendar';
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Calendar } from './Calendar';
3
+ declare const meta: Meta<typeof Calendar>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ export declare const DateRangeView: Story;
8
+ export declare const WithPresets: Story;
9
+ export declare const DarkMode: Story;
@@ -0,0 +1,13 @@
1
+ export declare function getDaysInMonth(year: number, month: number): number;
2
+ export declare function getFirstDayOfMonth(year: number, month: number): number;
3
+ export declare function addMonths(date: Date, amount: number): Date;
4
+ export declare function subMonths(date: Date, amount: number): Date;
5
+ export declare function isSameDay(date1: Date | null | undefined, date2: Date | null | undefined): boolean;
6
+ export declare function isWithinInterval(date: Date, interval: {
7
+ start: Date;
8
+ end: Date;
9
+ }): boolean;
10
+ export declare function isBefore(date1: Date, date2: Date): boolean;
11
+ export declare function isAfter(date1: Date, date2: Date): boolean;
12
+ export declare function formatMonthYear(date: Date): string;
13
+ export declare const DAYS_OF_WEEK: string[];
@@ -0,0 +1,15 @@
1
+ import { default as React, ComponentProps } from 'react';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ declare const dividerVariants: (props?: ({
4
+ variant?: "solid" | "dashed" | "dotted" | null | undefined;
5
+ color?: "default" | "primary" | "muted" | "dark" | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ export type DividerOrientation = "horizontal" | "vertical";
8
+ export type DividerLabelPosition = "left" | "center" | "right";
9
+ export interface DividerProps extends Omit<ComponentProps<"div">, "color">, VariantProps<typeof dividerVariants> {
10
+ label?: React.ReactNode;
11
+ orientation?: DividerOrientation;
12
+ labelPosition?: DividerLabelPosition;
13
+ }
14
+ export declare const Divider: React.ForwardRefExoticComponent<Omit<DividerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
+ export default Divider;
@@ -0,0 +1,2 @@
1
+ export * from './Divider';
2
+ export { default } from './Divider';
@@ -0,0 +1,29 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Divider } from './Divider';
3
+ declare const meta: Meta<typeof Divider>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ /**
7
+ * Standard horizontal separator line.
8
+ */
9
+ export declare const Default: Story;
10
+ /**
11
+ * Horizontal divider with center label.
12
+ */
13
+ export declare const WithCenterLabel: Story;
14
+ /**
15
+ * Divider with left and right label positioning.
16
+ */
17
+ export declare const LabelPositions: Story;
18
+ /**
19
+ * Line pattern variants (solid, dashed, dotted).
20
+ */
21
+ export declare const BorderPatterns: Story;
22
+ /**
23
+ * Vertical divider for inline layouts and toolbars.
24
+ */
25
+ export declare const Vertical: Story;
26
+ /**
27
+ * Design system overview showing all divider variants.
28
+ */
29
+ export declare const DesignSystemOverview: Story;