@uselets/ui 1.1.0 → 1.2.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 (84) hide show
  1. package/README.md +15 -6
  2. package/dist/components/badge.d.ts +1 -1
  3. package/dist/components/button-group.d.ts +1 -1
  4. package/dist/components/button.d.ts +1 -1
  5. package/dist/components/center.d.ts +1 -1
  6. package/dist/components/checkbox.js +1 -1
  7. package/dist/components/checkbox.js.map +1 -1
  8. package/dist/components/combobox.d.ts +4 -1
  9. package/dist/components/combobox.js +1 -1
  10. package/dist/components/combobox.js.map +1 -1
  11. package/dist/components/command.d.ts +1 -0
  12. package/dist/components/command.js +1 -1
  13. package/dist/components/command.js.map +1 -1
  14. package/dist/components/dialog.d.ts +6 -12
  15. package/dist/components/dialog.js +1 -1
  16. package/dist/components/dialog.js.map +1 -1
  17. package/dist/components/drawer.d.ts +4 -1
  18. package/dist/components/drawer.js +1 -1
  19. package/dist/components/drawer.js.map +1 -1
  20. package/dist/components/dropdown-menu.js +1 -1
  21. package/dist/components/dropdown-menu.js.map +1 -1
  22. package/dist/components/field.d.ts +4 -2
  23. package/dist/components/field.js +1 -1
  24. package/dist/components/field.js.map +1 -1
  25. package/dist/components/field.spec.d.ts +1 -0
  26. package/dist/components/field.spec.js +2 -0
  27. package/dist/components/field.spec.js.map +1 -0
  28. package/dist/components/input-otp.d.ts +1 -0
  29. package/dist/components/input-otp.js +1 -1
  30. package/dist/components/input-otp.js.map +1 -1
  31. package/dist/components/input.d.ts +1 -0
  32. package/dist/components/input.js +1 -1
  33. package/dist/components/input.js.map +1 -1
  34. package/dist/components/native-select.d.ts +1 -0
  35. package/dist/components/native-select.js +1 -1
  36. package/dist/components/native-select.js.map +1 -1
  37. package/dist/components/radio-group.js +1 -1
  38. package/dist/components/radio-group.js.map +1 -1
  39. package/dist/components/select.d.ts +1 -0
  40. package/dist/components/select.js +1 -1
  41. package/dist/components/select.js.map +1 -1
  42. package/dist/components/sidebar.js +1 -1
  43. package/dist/components/sidebar.js.map +1 -1
  44. package/dist/components/skeleton.d.ts +5 -1
  45. package/dist/components/skeleton.js +1 -1
  46. package/dist/components/skeleton.js.map +1 -1
  47. package/dist/components/skeleton.spec.d.ts +1 -0
  48. package/dist/components/skeleton.spec.js +2 -0
  49. package/dist/components/skeleton.spec.js.map +1 -0
  50. package/dist/components/slider.d.ts +1 -0
  51. package/dist/components/slider.js +1 -1
  52. package/dist/components/slider.js.map +1 -1
  53. package/dist/components/switch.js +1 -1
  54. package/dist/components/switch.js.map +1 -1
  55. package/dist/components/textarea.d.ts +1 -0
  56. package/dist/components/textarea.js +1 -1
  57. package/dist/components/textarea.js.map +1 -1
  58. package/dist/components/timeline.d.ts +2 -2
  59. package/dist/components/tooltip.d.ts +20 -4
  60. package/dist/components/tooltip.js +1 -1
  61. package/dist/components/tooltip.js.map +1 -1
  62. package/dist/components/unstyled-button.d.ts +17 -0
  63. package/dist/components/unstyled-button.js +2 -0
  64. package/dist/components/unstyled-button.js.map +1 -0
  65. package/dist/hooks/use-breakpoint-value.spec.js +1 -1
  66. package/dist/hooks/use-breakpoint.spec.js +1 -1
  67. package/dist/hooks/use-disclosure.spec.js +1 -1
  68. package/dist/hooks/use-document-visibility.spec.js +1 -1
  69. package/dist/hooks/use-idle.spec.js +1 -1
  70. package/dist/hooks/use-interval.spec.js +1 -1
  71. package/dist/hooks/use-local-storage.spec.js +1 -1
  72. package/dist/hooks/use-mobile.spec.js +1 -1
  73. package/dist/index.d.ts +4 -3
  74. package/dist/index.js +1 -1
  75. package/dist/{react.esm-BuxkFT_p.js → react.esm-B3a5z6DL.js} +2 -2
  76. package/dist/{react.esm-BuxkFT_p.js.map → react.esm-B3a5z6DL.js.map} +1 -1
  77. package/dist/skills/uselets-ui/SKILL.md +4 -2
  78. package/dist/skills/uselets-ui/references/component-catalog.md +11 -4
  79. package/dist/skills/uselets-ui/references/package-guide.md +20 -2
  80. package/dist/styles/base.css +1 -1
  81. package/package.json +1 -1
  82. package/skills/uselets-ui/SKILL.md +4 -2
  83. package/skills/uselets-ui/references/component-catalog.md +11 -4
  84. package/skills/uselets-ui/references/package-guide.md +20 -2
@@ -1,4 +1,4 @@
1
- import{n as e,t}from"../chunk-CHh1Zzun.js";import{useBreakpointValue as r}from"./use-breakpoint-value.js";import{n as o,t as s}from"../react.esm-BuxkFT_p.js";var c={reset:[0,0],bold:[1,22,`\x1B[22m\x1B[1m`],dim:[2,22,`\x1B[22m\x1B[2m`],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]};function i(e){return String(e)}i.open=``,i.close=``;function B(){let e=typeof process<`u`?process:void 0,t=e?.env||{},r=t.FORCE_TTY!==`false`,o=e?.argv||[];return!(`NO_COLOR`in t||o.includes(`--no-color`))&&(`FORCE_COLOR`in t||o.includes(`--color`)||e?.platform===`win32`||r&&t.TERM!==`dumb`||`CI`in t)||typeof window<`u`&&!!window.chrome}function C({force:e}={}){let t=e||B(),a=(e,t,r,o)=>{let s=``,c=0;do s+=e.substring(c,o)+r,c=o+t.length,o=e.indexOf(t,c);while(~o);return s+e.substring(c)},l=(e,t,r=e)=>{let n=o=>{let s=String(o),c=s.indexOf(t,e.length);return~c?e+a(s,t,r,c)+t:e+s+t};return n.open=e,n.close=t,n},r={isColorSupported:t},f=e=>`\x1B[${e}m`;for(let e in c){let o=c[e];r[e]=t?l(f(o[0]),f(o[1]),o[2]):i}return r}var u=C();function _mergeNamespaces(e,t){return t.forEach(function(t){t&&typeof t!=`string`&&!Array.isArray(t)&&Object.keys(t).forEach(function(r){if(r!==`default`&&!(r in e)){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:function(){return t[r]}})}})}),Object.freeze(e)}function getKeysOfEnumerableProperties(e,t){let r=Object.keys(e),o=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let t of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,t).enumerable&&o.push(t);return o}function printIteratorEntries(e,t,r,o,s,c,u=`: `){let d=``,p=0,m=e.next();if(!m.done){d+=t.spacingOuter;let h=r+t.indent;for(;!m.done;){if(d+=h,p++===t.maxWidth){d+=`…`;break}let r=c(m.value[0],t,h,o,s),g=c(m.value[1],t,h,o,s);d+=r+u+g,m=e.next(),m.done?t.min||(d+=`,`):d+=`,${t.spacingInner}`}d+=t.spacingOuter+r}return d}function printIteratorValues(e,t,r,o,s,c){let u=``,d=0,p=e.next();if(!p.done){u+=t.spacingOuter;let m=r+t.indent;for(;!p.done;){if(u+=m,d++===t.maxWidth){u+=`…`;break}u+=c(p.value,t,m,o,s),p=e.next(),p.done?t.min||(u+=`,`):u+=`,${t.spacingInner}`}u+=t.spacingOuter+r}return u}function printListItems(e,t,r,o,s,c){let u=``;e=e instanceof ArrayBuffer?new DataView(e):e;let isDataView=e=>e instanceof DataView,d=isDataView(e)?e.byteLength:e.length;if(d>0){u+=t.spacingOuter;let p=r+t.indent;for(let r=0;r<d;r++){if(u+=p,r===t.maxWidth){u+=`…`;break}(isDataView(e)||r in e)&&(u+=c(isDataView(e)?e.getInt8(r):e[r],t,p,o,s)),r<d-1?u+=`,${t.spacingInner}`:t.min||(u+=`,`)}u+=t.spacingOuter+r}return u}function printObjectProperties(e,t,r,o,s,c){let u=``,d=getKeysOfEnumerableProperties(e,t.compareKeys);if(d.length>0){u+=t.spacingOuter;let p=r+t.indent;for(let r=0;r<d.length;r++){let m=d[r],h=c(m,t,p,o,s),g=c(e[m],t,p,o,s);u+=`${p+h}: ${g}`,r<d.length-1?u+=`,${t.spacingInner}`:t.min||(u+=`,`)}u+=t.spacingOuter+r}return u}const d=typeof Symbol==`function`&&Symbol.for?Symbol.for(`jest.asymmetricMatcher`):1267621,serialize$5=(e,t,r,o,s,c)=>{let u=e.toString();if(u===`ArrayContaining`||u===`ArrayNotContaining`)return++o>t.maxDepth?`[${u}]`:`${u+` `}[${printListItems(e.sample,t,r,o,s,c)}]`;if(u===`ObjectContaining`||u===`ObjectNotContaining`)return++o>t.maxDepth?`[${u}]`:`${u+` `}{${printObjectProperties(e.sample,t,r,o,s,c)}}`;if(u===`StringMatching`||u===`StringNotMatching`||u===`StringContaining`||u===`StringNotContaining`)return u+` `+c(e.sample,t,r,o,s);if(typeof e.toAsymmetricMatcher!=`function`)throw TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},test$5=e=>e&&e.$$typeof===d,p={serialize:serialize$5,test:test$5},m=new Set([`DOMStringMap`,`NamedNodeMap`]),h=/^(?:HTML\w*Collection|NodeList)$/;function testName(e){return m.has(e)||h.test(e)}const test$4=e=>e&&e.constructor&&!!e.constructor.name&&testName(e.constructor.name);function isNamedNodeMap(e){return e.constructor.name===`NamedNodeMap`}const serialize$4=(e,t,r,o,s,c)=>{let u=e.constructor.name;return++o>t.maxDepth?`[${u}]`:(t.min?``:u+` `)+(m.has(u)?`{${printObjectProperties(isNamedNodeMap(e)?[...e].reduce((e,t)=>(e[t.name]=t.value,e),{}):{...e},t,r,o,s,c)}}`:`[${printListItems([...e],t,r,o,s,c)}]`)},g={serialize:serialize$4,test:test$4};function escapeHTML(e){return e.replaceAll(`<`,`&lt;`).replaceAll(`>`,`&gt;`)}function printProps(e,t,r,o,s,c,u){let d=o+r.indent,p=r.colors;return e.map(e=>{let m=t[e];if(typeof m==`string`&&m[0]===`_`&&m.startsWith(`__vitest_`)&&m.match(/__vitest_\d+__/))return``;let h=u(m,r,d,s,c);return typeof m!=`string`&&(h.includes(`
1
+ import{n as e,t}from"../chunk-CHh1Zzun.js";import{useBreakpointValue as r}from"./use-breakpoint-value.js";import{r as o,t as s}from"../react.esm-B3a5z6DL.js";var c={reset:[0,0],bold:[1,22,`\x1B[22m\x1B[1m`],dim:[2,22,`\x1B[22m\x1B[2m`],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]};function i(e){return String(e)}i.open=``,i.close=``;function B(){let e=typeof process<`u`?process:void 0,t=e?.env||{},r=t.FORCE_TTY!==`false`,o=e?.argv||[];return!(`NO_COLOR`in t||o.includes(`--no-color`))&&(`FORCE_COLOR`in t||o.includes(`--color`)||e?.platform===`win32`||r&&t.TERM!==`dumb`||`CI`in t)||typeof window<`u`&&!!window.chrome}function C({force:e}={}){let t=e||B(),a=(e,t,r,o)=>{let s=``,c=0;do s+=e.substring(c,o)+r,c=o+t.length,o=e.indexOf(t,c);while(~o);return s+e.substring(c)},l=(e,t,r=e)=>{let n=o=>{let s=String(o),c=s.indexOf(t,e.length);return~c?e+a(s,t,r,c)+t:e+s+t};return n.open=e,n.close=t,n},r={isColorSupported:t},f=e=>`\x1B[${e}m`;for(let e in c){let o=c[e];r[e]=t?l(f(o[0]),f(o[1]),o[2]):i}return r}var u=C();function _mergeNamespaces(e,t){return t.forEach(function(t){t&&typeof t!=`string`&&!Array.isArray(t)&&Object.keys(t).forEach(function(r){if(r!==`default`&&!(r in e)){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:function(){return t[r]}})}})}),Object.freeze(e)}function getKeysOfEnumerableProperties(e,t){let r=Object.keys(e),o=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let t of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,t).enumerable&&o.push(t);return o}function printIteratorEntries(e,t,r,o,s,c,u=`: `){let d=``,p=0,m=e.next();if(!m.done){d+=t.spacingOuter;let h=r+t.indent;for(;!m.done;){if(d+=h,p++===t.maxWidth){d+=`…`;break}let r=c(m.value[0],t,h,o,s),g=c(m.value[1],t,h,o,s);d+=r+u+g,m=e.next(),m.done?t.min||(d+=`,`):d+=`,${t.spacingInner}`}d+=t.spacingOuter+r}return d}function printIteratorValues(e,t,r,o,s,c){let u=``,d=0,p=e.next();if(!p.done){u+=t.spacingOuter;let m=r+t.indent;for(;!p.done;){if(u+=m,d++===t.maxWidth){u+=`…`;break}u+=c(p.value,t,m,o,s),p=e.next(),p.done?t.min||(u+=`,`):u+=`,${t.spacingInner}`}u+=t.spacingOuter+r}return u}function printListItems(e,t,r,o,s,c){let u=``;e=e instanceof ArrayBuffer?new DataView(e):e;let isDataView=e=>e instanceof DataView,d=isDataView(e)?e.byteLength:e.length;if(d>0){u+=t.spacingOuter;let p=r+t.indent;for(let r=0;r<d;r++){if(u+=p,r===t.maxWidth){u+=`…`;break}(isDataView(e)||r in e)&&(u+=c(isDataView(e)?e.getInt8(r):e[r],t,p,o,s)),r<d-1?u+=`,${t.spacingInner}`:t.min||(u+=`,`)}u+=t.spacingOuter+r}return u}function printObjectProperties(e,t,r,o,s,c){let u=``,d=getKeysOfEnumerableProperties(e,t.compareKeys);if(d.length>0){u+=t.spacingOuter;let p=r+t.indent;for(let r=0;r<d.length;r++){let m=d[r],h=c(m,t,p,o,s),g=c(e[m],t,p,o,s);u+=`${p+h}: ${g}`,r<d.length-1?u+=`,${t.spacingInner}`:t.min||(u+=`,`)}u+=t.spacingOuter+r}return u}const d=typeof Symbol==`function`&&Symbol.for?Symbol.for(`jest.asymmetricMatcher`):1267621,serialize$5=(e,t,r,o,s,c)=>{let u=e.toString();if(u===`ArrayContaining`||u===`ArrayNotContaining`)return++o>t.maxDepth?`[${u}]`:`${u+` `}[${printListItems(e.sample,t,r,o,s,c)}]`;if(u===`ObjectContaining`||u===`ObjectNotContaining`)return++o>t.maxDepth?`[${u}]`:`${u+` `}{${printObjectProperties(e.sample,t,r,o,s,c)}}`;if(u===`StringMatching`||u===`StringNotMatching`||u===`StringContaining`||u===`StringNotContaining`)return u+` `+c(e.sample,t,r,o,s);if(typeof e.toAsymmetricMatcher!=`function`)throw TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},test$5=e=>e&&e.$$typeof===d,p={serialize:serialize$5,test:test$5},m=new Set([`DOMStringMap`,`NamedNodeMap`]),h=/^(?:HTML\w*Collection|NodeList)$/;function testName(e){return m.has(e)||h.test(e)}const test$4=e=>e&&e.constructor&&!!e.constructor.name&&testName(e.constructor.name);function isNamedNodeMap(e){return e.constructor.name===`NamedNodeMap`}const serialize$4=(e,t,r,o,s,c)=>{let u=e.constructor.name;return++o>t.maxDepth?`[${u}]`:(t.min?``:u+` `)+(m.has(u)?`{${printObjectProperties(isNamedNodeMap(e)?[...e].reduce((e,t)=>(e[t.name]=t.value,e),{}):{...e},t,r,o,s,c)}}`:`[${printListItems([...e],t,r,o,s,c)}]`)},g={serialize:serialize$4,test:test$4};function escapeHTML(e){return e.replaceAll(`<`,`&lt;`).replaceAll(`>`,`&gt;`)}function printProps(e,t,r,o,s,c,u){let d=o+r.indent,p=r.colors;return e.map(e=>{let m=t[e];if(typeof m==`string`&&m[0]===`_`&&m.startsWith(`__vitest_`)&&m.match(/__vitest_\d+__/))return``;let h=u(m,r,d,s,c);return typeof m!=`string`&&(h.includes(`
2
2
  `)&&(h=r.spacingOuter+d+h+r.spacingOuter+o),h=`{${h}}`),`${r.spacingInner+o+p.prop.open+e+p.prop.close}=${p.value.open}${h}${p.value.close}`}).join(``)}function printChildren(e,t,r,o,s,c){return e.map(e=>t.spacingOuter+r+(typeof e==`string`?printText(e,t):c(e,t,r,o,s))).join(``)}function printShadowRoot(e,t,r,o,s,c){return t.printShadowRoot===!1?``:[`${t.spacingOuter+r}#shadow-root`,printChildren(e,t,r+t.indent,o,s,c)].join(``)}function printText(e,t){let r=t.colors.content;return r.open+escapeHTML(e)+r.close}function printComment(e,t){let r=t.colors.comment;return`${r.open}<!--${escapeHTML(e)}-->${r.close}`}function printElement(e,t,r,o,s){let c=o.colors.tag;return`${c.open}<${e}${t&&c.close+t+o.spacingOuter+s+c.open}${r?`>${c.close}${r}${o.spacingOuter}${s}${c.open}</${e}`:`${t&&!o.min?``:` `}/`}>${c.close}`}function printElementAsLeaf(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}const _=/^(?:(?:HTML|SVG)\w*)?Element$/;function testHasAttribute(e){try{return typeof e.hasAttribute==`function`&&e.hasAttribute(`is`)}catch{return!1}}function testNode(e){let t=e.constructor.name,{nodeType:r,tagName:o}=e,s=typeof o==`string`&&o.includes(`-`)||testHasAttribute(e);return r===1&&(_.test(t)||s)||r===3&&t===`Text`||r===8&&t===`Comment`||r===11&&t===`DocumentFragment`}const test$3=e=>e?.constructor?.name&&testNode(e);function nodeIsText(e){return e.nodeType===3}function nodeIsComment(e){return e.nodeType===8}function nodeIsFragment(e){return e.nodeType===11}function filterChildren(e,t){let r=e.filter(e=>e.nodeType===3?(e.data||``).trim().length>0:!0);return t&&(r=r.filter(t)),r}function serializeDOM(e,t,r,o,s,c,u){if(nodeIsText(e))return printText(e.data,t);if(nodeIsComment(e))return printComment(e.data,t);let d=nodeIsFragment(e)?`DocumentFragment`:e.tagName.toLowerCase();if(++o>t.maxDepth)return printElementAsLeaf(d,t);let p=Array.prototype.slice.call(e.childNodes||e.children),m=nodeIsFragment(e)||!e.shadowRoot?[]:Array.prototype.slice.call(e.shadowRoot.children),h=u?filterChildren(p,u):p,g=u?filterChildren(m,u):m;return printElement(d,printProps(nodeIsFragment(e)?[]:Array.from(e.attributes,e=>e.name).sort(),nodeIsFragment(e)?{}:[...e.attributes].reduce((e,t)=>(e[t.name]=t.value,e),{}),t,r+t.indent,o,s,c),(g.length>0?printShadowRoot(g,t,r+t.indent,o,s,c):``)+printChildren(h,t,r+t.indent,o,s,c),t,r)}const serialize$3=(e,t,r,o,s,c)=>serializeDOM(e,t,r,o,s,c);function createDOMElementFilter(e){return{test:test$3,serialize:(t,r,o,s,c,u)=>serializeDOM(t,r,o,s,c,u,e)}}const y={serialize:serialize$3,test:test$3},b=`@@__IMMUTABLE_ORDERED__@@`,getImmutableName=e=>`Immutable.${e}`,printAsLeaf=e=>`[${e}]`;function printImmutableEntries(e,t,r,o,s,c,u){return++o>t.maxDepth?printAsLeaf(getImmutableName(u)):`${getImmutableName(u)+` `}{${printIteratorEntries(e.entries(),t,r,o,s,c)}}`}function getRecordEntries(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function printImmutableRecord(e,t,r,o,s,c){let u=getImmutableName(e._name||`Record`);return++o>t.maxDepth?printAsLeaf(u):`${u+` `}{${printIteratorEntries(getRecordEntries(e),t,r,o,s,c)}}`}function printImmutableSeq(e,t,r,o,s,c){let u=getImmutableName(`Seq`);return++o>t.maxDepth?printAsLeaf(u):e[`@@__IMMUTABLE_KEYED__@@`]?`${u+` `}{${e._iter||e._object?printIteratorEntries(e.entries(),t,r,o,s,c):`…`}}`:`${u+` `}[${e._iter||e._array||e._collection||e._iterable?printIteratorValues(e.values(),t,r,o,s,c):`…`}]`}function printImmutableValues(e,t,r,o,s,c,u){return++o>t.maxDepth?printAsLeaf(getImmutableName(u)):`${getImmutableName(u)+` `}[${printIteratorValues(e.values(),t,r,o,s,c)}]`}const serialize$2=(e,t,r,o,s,c)=>e[`@@__IMMUTABLE_MAP__@@`]?printImmutableEntries(e,t,r,o,s,c,e[b]?`OrderedMap`:`Map`):e[`@@__IMMUTABLE_LIST__@@`]?printImmutableValues(e,t,r,o,s,c,`List`):e[`@@__IMMUTABLE_SET__@@`]?printImmutableValues(e,t,r,o,s,c,e[b]?`OrderedSet`:`Set`):e[`@@__IMMUTABLE_STACK__@@`]?printImmutableValues(e,t,r,o,s,c,`Stack`):e[`@@__IMMUTABLE_SEQ__@@`]?printImmutableSeq(e,t,r,o,s,c):printImmutableRecord(e,t,r,o,s,c),test$2=e=>e&&(e[`@@__IMMUTABLE_ITERABLE__@@`]===!0||e[`@@__IMMUTABLE_RECORD__@@`]===!0),x={serialize:serialize$2,test:test$2};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}var S={exports:{}},w={},T;function requireReactIs_production(){if(T)return w;T=1;var e=Symbol.for(`react.transitional.element`),t=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),o=Symbol.for(`react.strict_mode`),s=Symbol.for(`react.profiler`),c=Symbol.for(`react.consumer`),u=Symbol.for(`react.context`),d=Symbol.for(`react.forward_ref`),p=Symbol.for(`react.suspense`),m=Symbol.for(`react.suspense_list`),h=Symbol.for(`react.memo`),g=Symbol.for(`react.lazy`),_=Symbol.for(`react.view_transition`),y=Symbol.for(`react.client.reference`);function typeOf(y){if(typeof y==`object`&&y){var b=y.$$typeof;switch(b){case e:switch(y=y.type,y){case r:case s:case o:case p:case m:case _:return y;default:switch(y&&=y.$$typeof,y){case u:case d:case g:case h:return y;case c:return y;default:return b}}case t:return b}}}return w.ContextConsumer=c,w.ContextProvider=u,w.Element=e,w.ForwardRef=d,w.Fragment=r,w.Lazy=g,w.Memo=h,w.Portal=t,w.Profiler=s,w.StrictMode=o,w.Suspense=p,w.SuspenseList=m,w.isContextConsumer=function(e){return typeOf(e)===c},w.isContextProvider=function(e){return typeOf(e)===u},w.isElement=function(t){return typeof t==`object`&&!!t&&t.$$typeof===e},w.isForwardRef=function(e){return typeOf(e)===d},w.isFragment=function(e){return typeOf(e)===r},w.isLazy=function(e){return typeOf(e)===g},w.isMemo=function(e){return typeOf(e)===h},w.isPortal=function(e){return typeOf(e)===t},w.isProfiler=function(e){return typeOf(e)===s},w.isStrictMode=function(e){return typeOf(e)===o},w.isSuspense=function(e){return typeOf(e)===p},w.isSuspenseList=function(e){return typeOf(e)===m},w.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===r||e===s||e===o||e===p||e===m||typeof e==`object`&&e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===u||e.$$typeof===c||e.$$typeof===d||e.$$typeof===y||e.getModuleId!==void 0))},w.typeOf=typeOf,w}var ee;function requireReactIs$1(){return ee?S.exports:(ee=1,S.exports=requireReactIs_production(),S.exports)}var te=requireReactIs$1(),ne=_mergeNamespaces({__proto__:null,default:getDefaultExportFromCjs(te)},[te]),E={exports:{}},D={},re;function requireReactIs_production_min(){if(re)return D;re=1;var e=Symbol.for(`react.element`),t=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),o=Symbol.for(`react.strict_mode`),s=Symbol.for(`react.profiler`),c=Symbol.for(`react.provider`),u=Symbol.for(`react.context`),d=Symbol.for(`react.server_context`),p=Symbol.for(`react.forward_ref`),m=Symbol.for(`react.suspense`),h=Symbol.for(`react.suspense_list`),g=Symbol.for(`react.memo`),_=Symbol.for(`react.lazy`),y=Symbol.for(`react.offscreen`),b=Symbol.for(`react.module.reference`);function v(y){if(typeof y==`object`&&y){var b=y.$$typeof;switch(b){case e:switch(y=y.type,y){case r:case s:case o:case m:case h:return y;default:switch(y&&=y.$$typeof,y){case d:case u:case p:case _:case g:case c:return y;default:return b}}case t:return b}}}return D.ContextConsumer=u,D.ContextProvider=c,D.Element=e,D.ForwardRef=p,D.Fragment=r,D.Lazy=_,D.Memo=g,D.Portal=t,D.Profiler=s,D.StrictMode=o,D.Suspense=m,D.SuspenseList=h,D.isAsyncMode=function(){return!1},D.isConcurrentMode=function(){return!1},D.isContextConsumer=function(e){return v(e)===u},D.isContextProvider=function(e){return v(e)===c},D.isElement=function(t){return typeof t==`object`&&!!t&&t.$$typeof===e},D.isForwardRef=function(e){return v(e)===p},D.isFragment=function(e){return v(e)===r},D.isLazy=function(e){return v(e)===_},D.isMemo=function(e){return v(e)===g},D.isPortal=function(e){return v(e)===t},D.isProfiler=function(e){return v(e)===s},D.isStrictMode=function(e){return v(e)===o},D.isSuspense=function(e){return v(e)===m},D.isSuspenseList=function(e){return v(e)===h},D.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===r||e===s||e===o||e===m||e===h||e===y||typeof e==`object`&&e&&(e.$$typeof===_||e.$$typeof===g||e.$$typeof===c||e.$$typeof===u||e.$$typeof===p||e.$$typeof===b||e.getModuleId!==void 0))},D.typeOf=v,D}var ie;function requireReactIs(){return ie?E.exports:(ie=1,E.exports=requireReactIs_production_min(),E.exports)}var ae=requireReactIs(),oe=_mergeNamespaces({__proto__:null,default:getDefaultExportFromCjs(ae)},[ae]);const O=Object.fromEntries([`isAsyncMode`,`isConcurrentMode`,`isContextConsumer`,`isContextProvider`,`isElement`,`isForwardRef`,`isFragment`,`isLazy`,`isMemo`,`isPortal`,`isProfiler`,`isStrictMode`,`isSuspense`,`isSuspenseList`,`isValidElementType`].map(e=>[e,t=>oe[e](t)||ne[e](t)]));function getChildren(e,t=[]){if(Array.isArray(e))for(let r of e)getChildren(r,t);else e!=null&&e!==!1&&e!==``&&t.push(e);return t}function getType(e){let t=e.type;if(typeof t==`string`)return t;if(typeof t==`function`)return t.displayName||t.name||`Unknown`;if(O.isFragment(e))return`React.Fragment`;if(O.isSuspense(e))return`React.Suspense`;if(typeof t==`object`&&t){if(O.isContextProvider(e))return`Context.Provider`;if(O.isContextConsumer(e))return`Context.Consumer`;if(O.isForwardRef(e)){if(t.displayName)return t.displayName;let e=t.render.displayName||t.render.name||``;return e===``?`ForwardRef`:`ForwardRef(${e})`}if(O.isMemo(e)){let e=t.displayName||t.type.displayName||t.type.name||``;return e===``?`Memo`:`Memo(${e})`}}return`UNDEFINED`}function getPropKeys$1(e){let{props:t}=e;return Object.keys(t).filter(e=>e!==`children`&&t[e]!==void 0).sort()}const serialize$1=(e,t,r,o,s,c)=>++o>t.maxDepth?printElementAsLeaf(getType(e),t):printElement(getType(e),printProps(getPropKeys$1(e),e.props,t,r+t.indent,o,s,c),printChildren(getChildren(e.props.children),t,r+t.indent,o,s,c),t,r),test$1=e=>e!=null&&O.isElement(e),se={serialize:serialize$1,test:test$1},ce=typeof Symbol==`function`&&Symbol.for?Symbol.for(`react.test.json`):245830487;function getPropKeys(e){let{props:t}=e;return t?Object.keys(t).filter(e=>t[e]!==void 0).sort():[]}const serialize=(e,t,r,o,s,c)=>++o>t.maxDepth?printElementAsLeaf(e.type,t):printElement(e.type,e.props?printProps(getPropKeys(e),e.props,t,r+t.indent,o,s,c):``,e.children?printChildren(e.children,t,r+t.indent,o,s,c):``,t,r),le={serialize,test:e(e=>e&&e.$$typeof===ce,`test`)},ue=Object.prototype.toString,de=Date.prototype.toISOString,fe=Error.prototype.toString,pe=RegExp.prototype.toString;function getConstructorName(e){return typeof e.constructor==`function`&&e.constructor.name||`Object`}function isWindow(e){return typeof window<`u`&&e===window}const me=/^Symbol\((.*)\)(.*)$/,he=/\n/g;var PrettyFormatPluginError=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function isToStringedArrayType(e){return e===`[object Array]`||e===`[object ArrayBuffer]`||e===`[object DataView]`||e===`[object Float32Array]`||e===`[object Float64Array]`||e===`[object Int8Array]`||e===`[object Int16Array]`||e===`[object Int32Array]`||e===`[object Uint8Array]`||e===`[object Uint8ClampedArray]`||e===`[object Uint16Array]`||e===`[object Uint32Array]`}function printNumber(e){return Object.is(e,-0)?`-0`:String(e)}function printBigInt(e){return String(`${e}n`)}function printFunction(e,t){return t?`[Function ${e.name||`anonymous`}]`:`[Function]`}function printSymbol(e){return String(e).replace(me,`Symbol($1)`)}function printError(e){return`[${fe.call(e)}]`}function printBasicValue(e,t,r,o){if(e===!0||e===!1)return`${e}`;if(e===void 0)return`undefined`;if(e===null)return`null`;let s=typeof e;if(s===`number`)return printNumber(e);if(s===`bigint`)return printBigInt(e);if(s===`string`)return o?`"${e.replaceAll(/"|\\/g,`\\$&`)}"`:`"${e}"`;if(s===`function`)return printFunction(e,t);if(s===`symbol`)return printSymbol(e);let c=ue.call(e);return c===`[object WeakMap]`?`WeakMap {}`:c===`[object WeakSet]`?`WeakSet {}`:c===`[object Function]`||c===`[object GeneratorFunction]`?printFunction(e,t):c===`[object Symbol]`?printSymbol(e):c===`[object Date]`?Number.isNaN(+e)?`Date { NaN }`:de.call(e):c===`[object Error]`?printError(e):c===`[object RegExp]`?r?pe.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,`\\$&`):pe.call(e):e instanceof Error?printError(e):null}function printComplexValue(e,t,r,o,s,c){if(s.includes(e))return`[Circular]`;s=[...s],s.push(e);let u=++o>t.maxDepth,d=t.min;if(t.callToJSON&&!u&&e.toJSON&&typeof e.toJSON==`function`&&!c)return printer(e.toJSON(),t,r,o,s,!0);let p=ue.call(e);return p===`[object Arguments]`?u?`[Arguments]`:`${d?``:`Arguments `}[${printListItems(e,t,r,o,s,printer)}]`:isToStringedArrayType(p)?u?`[${e.constructor.name}]`:`${d||!t.printBasicPrototype&&e.constructor.name===`Array`?``:`${e.constructor.name} `}[${printListItems(e,t,r,o,s,printer)}]`:p===`[object Map]`?u?`[Map]`:`Map {${printIteratorEntries(e.entries(),t,r,o,s,printer,` => `)}}`:p===`[object Set]`?u?`[Set]`:`Set {${printIteratorValues(e.values(),t,r,o,s,printer)}}`:u||isWindow(e)?`[${getConstructorName(e)}]`:`${d||!t.printBasicPrototype&&getConstructorName(e)===`Object`?``:`${getConstructorName(e)} `}{${printObjectProperties(e,t,r,o,s,printer)}}`}const ge={test:e=>e&&e instanceof Error,serialize(e,t,r,o,s,c){if(s.includes(e))return`[Circular]`;s=[...s,e];let u=++o>t.maxDepth,{message:d,cause:p,...m}=e,h={message:d,...p===void 0?{}:{cause:p},...e instanceof AggregateError?{errors:e.errors}:{},...m},g=e.name===`Error`?getConstructorName(e):e.name;return u?`[${g}]`:`${g} {${printIteratorEntries(Object.entries(h).values(),t,r,o,s,c)}}`}};function isNewPlugin(e){return e.serialize!=null}function printPlugin(e,t,r,o,s,c){let u;try{u=isNewPlugin(e)?e.serialize(t,r,o,s,c,printer):e.print(t,e=>printer(e,r,o,s,c),e=>{let t=o+r.indent;return t+e.replaceAll(he,`\n${t}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(e){throw new PrettyFormatPluginError(e.message,e.stack)}if(typeof u!=`string`)throw TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof u}".`);return u}function findPlugin(e,t){for(let r of e)try{if(r.test(t))return r}catch(e){throw new PrettyFormatPluginError(e.message,e.stack)}return null}function printer(e,t,r,o,s,c){let u,d=findPlugin(t.plugins,e);if(d!==null)u=printPlugin(d,e,t,r,o,s);else{let d=printBasicValue(e,t.printFunctionName,t.escapeRegex,t.escapeString);u=d===null?printComplexValue(e,t,r,o,s,c):d}return t._outputLengthPerDepth[o]??=0,t._outputLengthPerDepth[o]+=u.length,t._outputLengthPerDepth[o]>t.maxOutputLength&&(t.maxDepth=0),u}const k={comment:`gray`,content:`reset`,prop:`yellow`,tag:`cyan`,value:`green`},A=Object.keys(k),j={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,maxOutputLength:1e6,maxWidth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,printShadowRoot:!0,theme:k};function validateOptions(e){for(let t of Object.keys(e))if(!Object.hasOwn(j,t))throw Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw Error(`pretty-format: Options "min" and "indent" cannot be used together.`)}function getColorsHighlight(){return A.reduce((e,t)=>{let r=k[t],o=r&&u[r];if(o&&typeof o.close==`string`&&typeof o.open==`string`)e[t]=o;else throw Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function getColorsEmpty(){return A.reduce((e,t)=>(e[t]={close:``,open:``},e),Object.create(null))}function getPrintFunctionName(e){return e?.printFunctionName??j.printFunctionName}function getEscapeRegex(e){return e?.escapeRegex??j.escapeRegex}function getEscapeString(e){return e?.escapeString??j.escapeString}function getConfig(e){return{callToJSON:e?.callToJSON??j.callToJSON,colors:e?.highlight?getColorsHighlight():getColorsEmpty(),compareKeys:typeof e?.compareKeys==`function`||e?.compareKeys===null?e.compareKeys:j.compareKeys,escapeRegex:getEscapeRegex(e),escapeString:getEscapeString(e),indent:e?.min?``:createIndent(e?.indent??j.indent),maxDepth:e?.maxDepth??j.maxDepth,maxWidth:e?.maxWidth??j.maxWidth,min:e?.min??j.min,plugins:e?.plugins??j.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:getPrintFunctionName(e),printShadowRoot:e?.printShadowRoot??!0,spacingInner:e?.min?` `:`
3
3
  `,spacingOuter:e?.min?``:`
4
4
  `,maxOutputLength:e?.maxOutputLength??j.maxOutputLength,_outputLengthPerDepth:[]}}function createIndent(e){return Array.from({length:e+1}).join(` `)}function format$1(e,t){if(t&&(validateOptions(t),t.plugins)){let r=findPlugin(t.plugins,e);if(r!==null)return printPlugin(r,e,getConfig(t),``,0,[])}let r=printBasicValue(e,getPrintFunctionName(t),getEscapeRegex(t),getEscapeString(t));return r===null?printComplexValue(e,getConfig(t),``,0,[]):r}e(format$1,`format`);const _e={AsymmetricMatcher:p,DOMCollection:g,DOMElement:y,Immutable:x,ReactElement:se,ReactTestComponent:le,Error:ge},M={bold:[`1`,`22`],dim:[`2`,`22`],italic:[`3`,`23`],underline:[`4`,`24`],inverse:[`7`,`27`],hidden:[`8`,`28`],strike:[`9`,`29`],black:[`30`,`39`],red:[`31`,`39`],green:[`32`,`39`],yellow:[`33`,`39`],blue:[`34`,`39`],magenta:[`35`,`39`],cyan:[`36`,`39`],white:[`37`,`39`],brightblack:[`30;1`,`39`],brightred:[`31;1`,`39`],brightgreen:[`32;1`,`39`],brightyellow:[`33;1`,`39`],brightblue:[`34;1`,`39`],brightmagenta:[`35;1`,`39`],brightcyan:[`36;1`,`39`],brightwhite:[`37;1`,`39`],grey:[`90`,`39`]},ve={special:`cyan`,number:`yellow`,bigint:`yellow`,boolean:`yellow`,undefined:`grey`,null:`bold`,string:`green`,symbol:`green`,date:`magenta`,regexp:`red`};function colorise(e,t){let r=M[ve[t]]||M[t]||``;return r?`\u001b[${r[0]}m${String(e)}\u001b[${r[1]}m`:String(e)}function normaliseOptions({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:o=!0,showProxy:s=!1,maxArrayLength:c=1/0,breakLength:u=1/0,seen:d=[],truncate:p=1/0,stylize:m=String}={},h){let g={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!o,showProxy:!!s,maxArrayLength:Number(c),breakLength:Number(u),truncate:Number(p),seen:d,inspect:h,stylize:m};return g.colors&&(g.stylize=colorise),g}function isHighSurrogate(e){return e>=`\ud800`&&e<=`\udbff`}function truncate(e,t,r=`…`){e=String(e);let o=r.length,s=e.length;if(o>t&&s>o)return r;if(s>t&&s>o){let s=t-o;return s>0&&isHighSurrogate(e[s-1])&&--s,`${e.slice(0,s)}${r}`}return e}function inspectList(e,t,r,o=`, `){r||=t.inspect;let s=e.length;if(s===0)return``;let c=t.truncate,u=``,d=``,p=``;for(let m=0;m<s;m+=1){let s=m+1===e.length,h=m+2===e.length;p=`…(${e.length-m})`;let g=e[m];t.truncate=c-u.length-(s?0:o.length);let _=d||r(g,t)+(s?``:o),y=u.length+_.length,b=y+p.length;if(s&&y>c&&u.length+p.length<=c||!s&&!h&&b>c||(d=s?``:r(e[m+1],t)+(h?``:o),!s&&h&&b>c&&y+d.length>c))break;if(u+=_,!s&&!h&&y+d.length>=c){p=`…(${e.length-m-1})`;break}p=``}return`${u}${p}`}function quoteComplexKey(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,`\\'`).replace(/\\"/g,`"`).replace(/(^"|"$)/g,`'`)}function inspectProperty([e,t],r){return r.truncate-=2,typeof e==`string`?e=quoteComplexKey(e):typeof e!=`number`&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function inspectArray(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return`[]`;t.truncate-=4;let o=inspectList(e,t);t.truncate-=o.length;let s=``;return r.length&&(s=inspectList(r.map(t=>[t,e[t]]),t,inspectProperty)),`[ ${o}${s?`, ${s}`:``} ]`}const getArrayName=e=>typeof Buffer==`function`&&e instanceof Buffer?`Buffer`:e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function inspectTypedArray(e,t){let r=getArrayName(e);t.truncate-=r.length+4;let o=Object.keys(e).slice(e.length);if(!e.length&&!o.length)return`${r}[]`;let s=``;for(let r=0;r<e.length;r++){let o=`${t.stylize(truncate(e[r],t.truncate),`number`)}${r===e.length-1?``:`, `}`;if(t.truncate-=o.length,e[r]!==e.length&&t.truncate<=3){s+=`…(${e.length-e[r]+1})`;break}s+=o}let c=``;return o.length&&(c=inspectList(o.map(t=>[t,e[t]]),t,inspectProperty)),`${r}[ ${s}${c?`, ${c}`:``} ]`}function inspectDate(e,t){let r=e.toJSON();if(r===null)return`Invalid Date`;let o=r.split(`T`),s=o[0];return t.stylize(`${s}T${truncate(o[1],t.truncate-s.length-1)}`,`date`)}function inspectFunction(e,t){let r=e[Symbol.toStringTag]||`Function`,o=e.name;return o?t.stylize(`[${r} ${truncate(o,t.truncate-11)}]`,`special`):t.stylize(`[${r}]`,`special`)}function inspectMapEntry([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function mapToEntries(e){let t=[];return e.forEach((e,r)=>{t.push([r,e])}),t}function inspectMap(e,t){return e.size===0?`Map{}`:(t.truncate-=7,`Map{ ${inspectList(mapToEntries(e),t,inspectMapEntry)} }`)}const ye=Number.isNaN||(e=>e!==e);function inspectNumber(e,t){return ye(e)?t.stylize(`NaN`,`number`):e===1/0?t.stylize(`Infinity`,`number`):e===-1/0?t.stylize(`-Infinity`,`number`):e===0?t.stylize(1/e==1/0?`+0`:`-0`,`number`):t.stylize(truncate(String(e),t.truncate),`number`)}function inspectBigInt(e,t){let r=truncate(e.toString(),t.truncate-1);return r!==`…`&&(r+=`n`),t.stylize(r,`bigint`)}function inspectRegExp(e,t){let r=e.toString().split(`/`)[2],o=t.truncate-(2+r.length),s=e.source;return t.stylize(`/${truncate(s,o)}/${r}`,`regexp`)}function arrayFromSet(e){let t=[];return e.forEach(e=>{t.push(e)}),t}function inspectSet(e,t){return e.size===0?`Set{}`:(t.truncate-=7,`Set{ ${inspectList(arrayFromSet(e),t)} }`)}const N=RegExp(`['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]`,`g`),be={"\b":`\\b`," ":`\\t`,"\n":`\\n`,"\f":`\\f`,"\r":`\\r`,"'":`\\'`,"\\":`\\\\`};function escape(e){return be[e]||`\\u${`0000${e.charCodeAt(0).toString(16)}`.slice(-4)}`}function inspectString(e,t){return N.test(e)&&(e=e.replace(N,escape)),t.stylize(`'${truncate(e,t.truncate-2)}'`,`string`)}function inspectSymbol(e){return`description`in Symbol.prototype?e.description?`Symbol(${e.description})`:`Symbol()`:e.toString()}const getPromiseValue=()=>`Promise{…}`;function inspectObject$1(e,t){let r=Object.getOwnPropertyNames(e),o=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&o.length===0)return`{}`;if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return`[Circular]`;t.seen.push(e);let s=inspectList(r.map(t=>[t,e[t]]),t,inspectProperty),c=inspectList(o.map(t=>[t,e[t]]),t,inspectProperty);t.seen.pop();let u=``;return s&&c&&(u=`, `),`{ ${s}${u}${c} }`}const P=typeof Symbol<`u`&&Symbol.toStringTag?Symbol.toStringTag:!1;function inspectClass(e,t){let r=``;return P&&P in e&&(r=e[P]),r||=e.constructor.name,(!r||r===`_class`)&&(r=`<Anonymous Class>`),t.truncate-=r.length,`${r}${inspectObject$1(e,t)}`}function inspectArguments(e,t){return e.length===0?`Arguments[]`:(t.truncate-=13,`Arguments[ ${inspectList(e,t)} ]`)}const xe=[`stack`,`line`,`column`,`name`,`message`,`fileName`,`lineNumber`,`columnNumber`,`number`,`description`,`cause`];function inspectObject(e,t){let r=Object.getOwnPropertyNames(e).filter(e=>xe.indexOf(e)===-1),o=e.name;t.truncate-=o.length;let s=``;if(typeof e.message==`string`?s=truncate(e.message,t.truncate):r.unshift(`message`),s=s?`: ${s}`:``,t.truncate-=s.length+5,t.seen=t.seen||[],t.seen.includes(e))return`[Circular]`;t.seen.push(e);let c=inspectList(r.map(t=>[t,e[t]]),t,inspectProperty);return`${o}${s}${c?` { ${c} }`:``}`}function inspectAttribute([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),`yellow`)}=${r.stylize(`"${t}"`,`string`)}`:`${r.stylize(String(e),`yellow`)}`}function inspectNodeCollection(e,t){return inspectList(e,t,inspectNode,`
@@ -1,2 +1,2 @@
1
- import"../chunk-CHh1Zzun.js";import{useBreakpoint as e}from"./use-breakpoint.js";import{n as t,t as n}from"../react.esm-BuxkFT_p.js";describe(`useBreakpoint`,()=>{it(`returns true for the base breakpoint`,()=>{globalThis.setTestViewportWidth(320);let{result:n}=t(()=>e(`base`));expect(n.current).toBe(!0)}),it(`returns false below the requested breakpoint`,()=>{globalThis.setTestViewportWidth(767);let{result:n}=t(()=>e(`md`));expect(n.current).toBe(!1)}),it(`returns true at the requested breakpoint`,()=>{globalThis.setTestViewportWidth(768);let{result:n}=t(()=>e(`md`));expect(n.current).toBe(!0)}),it(`returns true above the requested breakpoint`,()=>{globalThis.setTestViewportWidth(900);let{result:n}=t(()=>e(`md`));expect(n.current).toBe(!0)}),it(`updates when the media query changes`,()=>{globalThis.setTestViewportWidth(1024);let{result:r}=t(()=>e(`lg`));expect(r.current).toBe(!0),n(()=>{globalThis.setTestViewportWidth(900)}),expect(r.current).toBe(!1),n(()=>{globalThis.setTestViewportWidth(1200)}),expect(r.current).toBe(!0)}),it(`removes the media query listener on unmount`,()=>{let n=vi.fn();vi.spyOn(window,`matchMedia`).mockReturnValue({matches:!1,media:`(min-width: 768px)`,onchange:null,addEventListener:vi.fn(),removeEventListener:n,dispatchEvent:vi.fn(),addListener:vi.fn(),removeListener:vi.fn()});let{unmount:r}=t(()=>e(`md`));r(),expect(n).toHaveBeenCalledWith(`change`,expect.any(Function))})});
1
+ import"../chunk-CHh1Zzun.js";import{useBreakpoint as e}from"./use-breakpoint.js";import{r as t,t as n}from"../react.esm-B3a5z6DL.js";describe(`useBreakpoint`,()=>{it(`returns true for the base breakpoint`,()=>{globalThis.setTestViewportWidth(320);let{result:n}=t(()=>e(`base`));expect(n.current).toBe(!0)}),it(`returns false below the requested breakpoint`,()=>{globalThis.setTestViewportWidth(767);let{result:n}=t(()=>e(`md`));expect(n.current).toBe(!1)}),it(`returns true at the requested breakpoint`,()=>{globalThis.setTestViewportWidth(768);let{result:n}=t(()=>e(`md`));expect(n.current).toBe(!0)}),it(`returns true above the requested breakpoint`,()=>{globalThis.setTestViewportWidth(900);let{result:n}=t(()=>e(`md`));expect(n.current).toBe(!0)}),it(`updates when the media query changes`,()=>{globalThis.setTestViewportWidth(1024);let{result:r}=t(()=>e(`lg`));expect(r.current).toBe(!0),n(()=>{globalThis.setTestViewportWidth(900)}),expect(r.current).toBe(!1),n(()=>{globalThis.setTestViewportWidth(1200)}),expect(r.current).toBe(!0)}),it(`removes the media query listener on unmount`,()=>{let n=vi.fn();vi.spyOn(window,`matchMedia`).mockReturnValue({matches:!1,media:`(min-width: 768px)`,onchange:null,addEventListener:vi.fn(),removeEventListener:n,dispatchEvent:vi.fn(),addListener:vi.fn(),removeListener:vi.fn()});let{unmount:r}=t(()=>e(`md`));r(),expect(n).toHaveBeenCalledWith(`change`,expect.any(Function))})});
2
2
  //# sourceMappingURL=use-breakpoint.spec.js.map
@@ -1,2 +1,2 @@
1
- import"../chunk-CHh1Zzun.js";import{useDisclosure as e}from"./use-disclosure.js";import{n as t,t as n}from"../react.esm-BuxkFT_p.js";describe(`useDisclosure`,()=>{it(`uses false as the default initial state`,()=>{let{result:n}=t(()=>e());expect(n.current[0]).toBe(!1)}),it(`uses the provided initial state`,()=>{let{result:n}=t(()=>e(!0));expect(n.current[0]).toBe(!0)}),it(`opens, closes, toggles, and sets the state`,()=>{let{result:r}=t(()=>e());n(()=>r.current[1].open()),expect(r.current[0]).toBe(!0),n(()=>r.current[1].close()),expect(r.current[0]).toBe(!1),n(()=>r.current[1].toggle()),expect(r.current[0]).toBe(!0),n(()=>r.current[1].set(!1)),expect(r.current[0]).toBe(!1)}),it(`calls callbacks only when state transitions happen`,()=>{let r=vi.fn(),i=vi.fn(),{result:a}=t(()=>e(!1,{onOpen:r,onClose:i}));n(()=>a.current[1].close()),expect(i).not.toHaveBeenCalled(),n(()=>a.current[1].open()),n(()=>a.current[1].open()),expect(r).toHaveBeenCalledTimes(1),n(()=>a.current[1].close()),n(()=>a.current[1].close()),expect(i).toHaveBeenCalledTimes(1)})});
1
+ import"../chunk-CHh1Zzun.js";import{useDisclosure as e}from"./use-disclosure.js";import{r as t,t as n}from"../react.esm-B3a5z6DL.js";describe(`useDisclosure`,()=>{it(`uses false as the default initial state`,()=>{let{result:n}=t(()=>e());expect(n.current[0]).toBe(!1)}),it(`uses the provided initial state`,()=>{let{result:n}=t(()=>e(!0));expect(n.current[0]).toBe(!0)}),it(`opens, closes, toggles, and sets the state`,()=>{let{result:r}=t(()=>e());n(()=>r.current[1].open()),expect(r.current[0]).toBe(!0),n(()=>r.current[1].close()),expect(r.current[0]).toBe(!1),n(()=>r.current[1].toggle()),expect(r.current[0]).toBe(!0),n(()=>r.current[1].set(!1)),expect(r.current[0]).toBe(!1)}),it(`calls callbacks only when state transitions happen`,()=>{let r=vi.fn(),i=vi.fn(),{result:a}=t(()=>e(!1,{onOpen:r,onClose:i}));n(()=>a.current[1].close()),expect(i).not.toHaveBeenCalled(),n(()=>a.current[1].open()),n(()=>a.current[1].open()),expect(r).toHaveBeenCalledTimes(1),n(()=>a.current[1].close()),n(()=>a.current[1].close()),expect(i).toHaveBeenCalledTimes(1)})});
2
2
  //# sourceMappingURL=use-disclosure.spec.js.map
@@ -1,2 +1,2 @@
1
- import"../chunk-CHh1Zzun.js";import{useDocumentVisibility as e}from"./use-document-visibility.js";import{n as t,t as n}from"../react.esm-BuxkFT_p.js";function setDocumentVisibility(e){Object.defineProperty(document,`visibilityState`,{configurable:!0,get:()=>e})}describe(`useDocumentVisibility`,()=>{it(`uses the current document visibility on mount`,()=>{setDocumentVisibility(`hidden`);let{result:n}=t(()=>e());expect(n.current).toBe(`hidden`)}),it(`updates when the document visibility changes`,()=>{setDocumentVisibility(`visible`);let{result:r}=t(()=>e());n(()=>{setDocumentVisibility(`hidden`),document.dispatchEvent(new Event(`visibilitychange`))}),expect(r.current).toBe(`hidden`)}),it(`removes the visibility listener on unmount`,()=>{let n=vi.spyOn(document,`removeEventListener`),{unmount:r}=t(()=>e());r(),expect(n).toHaveBeenCalledWith(`visibilitychange`,expect.any(Function))})});
1
+ import"../chunk-CHh1Zzun.js";import{useDocumentVisibility as e}from"./use-document-visibility.js";import{r as t,t as n}from"../react.esm-B3a5z6DL.js";function setDocumentVisibility(e){Object.defineProperty(document,`visibilityState`,{configurable:!0,get:()=>e})}describe(`useDocumentVisibility`,()=>{it(`uses the current document visibility on mount`,()=>{setDocumentVisibility(`hidden`);let{result:n}=t(()=>e());expect(n.current).toBe(`hidden`)}),it(`updates when the document visibility changes`,()=>{setDocumentVisibility(`visible`);let{result:r}=t(()=>e());n(()=>{setDocumentVisibility(`hidden`),document.dispatchEvent(new Event(`visibilitychange`))}),expect(r.current).toBe(`hidden`)}),it(`removes the visibility listener on unmount`,()=>{let n=vi.spyOn(document,`removeEventListener`),{unmount:r}=t(()=>e());r(),expect(n).toHaveBeenCalledWith(`visibilitychange`,expect.any(Function))})});
2
2
  //# sourceMappingURL=use-document-visibility.spec.js.map
@@ -1,2 +1,2 @@
1
- import"../chunk-CHh1Zzun.js";import{useIdle as e}from"./use-idle.js";import{n as t,t as n}from"../react.esm-BuxkFT_p.js";describe(`useIdle`,()=>{it(`starts idle by default`,()=>{vi.useFakeTimers();let{result:n}=t(()=>e(1e3));expect(n.current).toBe(!0)}),it(`supports a custom initial state and becomes idle after the timeout`,()=>{vi.useFakeTimers();let{result:r}=t(()=>e(1e3,{initialState:!1}));expect(r.current).toBe(!1),n(()=>{vi.advanceTimersByTime(1e3)}),expect(r.current).toBe(!0)}),it(`becomes active on configured events and returns to idle after the timeout`,()=>{vi.useFakeTimers();let{result:r}=t(()=>e(1e3,{events:[`click`]}));n(()=>{document.dispatchEvent(new Event(`click`))}),expect(r.current).toBe(!1),n(()=>{vi.advanceTimersByTime(999)}),expect(r.current).toBe(!1),n(()=>{vi.advanceTimersByTime(1)}),expect(r.current).toBe(!0)}),it(`registers and removes only the configured event listeners`,()=>{vi.useFakeTimers();let n=vi.spyOn(document,`addEventListener`),r=vi.spyOn(document,`removeEventListener`),{unmount:i}=t(()=>e(1e3,{events:[`click`,`keydown`]}));expect(n).toHaveBeenCalledWith(`click`,expect.any(Function)),expect(n).toHaveBeenCalledWith(`keydown`,expect.any(Function)),expect(n).not.toHaveBeenCalledWith(`mousemove`,expect.any(Function)),i(),expect(r).toHaveBeenCalledWith(`click`,expect.any(Function)),expect(r).toHaveBeenCalledWith(`keydown`,expect.any(Function))}),it(`clears pending timers on unmount`,()=>{vi.useFakeTimers();let n=vi.spyOn(window,`clearTimeout`),{unmount:r}=t(()=>e(1e3));r(),expect(n).toHaveBeenCalled()})});
1
+ import"../chunk-CHh1Zzun.js";import{useIdle as e}from"./use-idle.js";import{r as t,t as n}from"../react.esm-B3a5z6DL.js";describe(`useIdle`,()=>{it(`starts idle by default`,()=>{vi.useFakeTimers();let{result:n}=t(()=>e(1e3));expect(n.current).toBe(!0)}),it(`supports a custom initial state and becomes idle after the timeout`,()=>{vi.useFakeTimers();let{result:r}=t(()=>e(1e3,{initialState:!1}));expect(r.current).toBe(!1),n(()=>{vi.advanceTimersByTime(1e3)}),expect(r.current).toBe(!0)}),it(`becomes active on configured events and returns to idle after the timeout`,()=>{vi.useFakeTimers();let{result:r}=t(()=>e(1e3,{events:[`click`]}));n(()=>{document.dispatchEvent(new Event(`click`))}),expect(r.current).toBe(!1),n(()=>{vi.advanceTimersByTime(999)}),expect(r.current).toBe(!1),n(()=>{vi.advanceTimersByTime(1)}),expect(r.current).toBe(!0)}),it(`registers and removes only the configured event listeners`,()=>{vi.useFakeTimers();let n=vi.spyOn(document,`addEventListener`),r=vi.spyOn(document,`removeEventListener`),{unmount:i}=t(()=>e(1e3,{events:[`click`,`keydown`]}));expect(n).toHaveBeenCalledWith(`click`,expect.any(Function)),expect(n).toHaveBeenCalledWith(`keydown`,expect.any(Function)),expect(n).not.toHaveBeenCalledWith(`mousemove`,expect.any(Function)),i(),expect(r).toHaveBeenCalledWith(`click`,expect.any(Function)),expect(r).toHaveBeenCalledWith(`keydown`,expect.any(Function))}),it(`clears pending timers on unmount`,()=>{vi.useFakeTimers();let n=vi.spyOn(window,`clearTimeout`),{unmount:r}=t(()=>e(1e3));r(),expect(n).toHaveBeenCalled()})});
2
2
  //# sourceMappingURL=use-idle.spec.js.map
@@ -1,2 +1,2 @@
1
- import"../chunk-CHh1Zzun.js";import{useInterval as e}from"./use-interval.js";import{n as t,t as n}from"../react.esm-BuxkFT_p.js";describe(`useInterval`,()=>{it(`does not start by default`,()=>{vi.useFakeTimers();let r=vi.fn(),{result:i}=t(()=>e(r,1e3));expect(i.current.active).toBe(!1),n(()=>{vi.advanceTimersByTime(1e3)}),expect(r).not.toHaveBeenCalled()}),it(`starts and stops the interval`,()=>{vi.useFakeTimers();let r=vi.fn(),{result:i}=t(()=>e(r,1e3));n(()=>i.current.start()),expect(i.current.active).toBe(!0),n(()=>{vi.advanceTimersByTime(3e3)}),expect(r).toHaveBeenCalledTimes(3),n(()=>i.current.stop()),expect(i.current.active).toBe(!1),n(()=>{vi.advanceTimersByTime(1e3)}),expect(r).toHaveBeenCalledTimes(3)}),it(`toggles the interval`,()=>{vi.useFakeTimers();let r=vi.fn(),{result:i}=t(()=>e(r,1e3));n(()=>i.current.toggle()),expect(i.current.active).toBe(!0),n(()=>{vi.advanceTimersByTime(1e3)}),expect(r).toHaveBeenCalledTimes(1),n(()=>i.current.toggle()),expect(i.current.active).toBe(!1),n(()=>{vi.advanceTimersByTime(1e3)}),expect(r).toHaveBeenCalledTimes(1)}),it(`starts automatically when autoInvoke is enabled`,()=>{vi.useFakeTimers();let r=vi.fn(),{result:i}=t(()=>e(r,1e3,{autoInvoke:!0}));expect(i.current.active).toBe(!0),n(()=>{vi.advanceTimersByTime(1e3)}),expect(r).toHaveBeenCalledTimes(1)}),it(`uses the latest callback after rerendering`,()=>{vi.useFakeTimers();let r=vi.fn(),i=vi.fn(),{result:a,rerender:o}=t(({callback:t})=>e(t,1e3),{initialProps:{callback:r}});n(()=>a.current.start()),n(()=>{vi.advanceTimersByTime(1e3)}),o({callback:i}),n(()=>{vi.advanceTimersByTime(1e3)}),expect(r).toHaveBeenCalledTimes(1),expect(i).toHaveBeenCalledTimes(1)}),it(`cleans the interval on unmount`,()=>{vi.useFakeTimers();let r=vi.fn(),{result:i,unmount:a}=t(()=>e(r,1e3));n(()=>i.current.start()),a(),n(()=>{vi.advanceTimersByTime(1e3)}),expect(r).not.toHaveBeenCalled()})});
1
+ import"../chunk-CHh1Zzun.js";import{useInterval as e}from"./use-interval.js";import{r as t,t as n}from"../react.esm-B3a5z6DL.js";describe(`useInterval`,()=>{it(`does not start by default`,()=>{vi.useFakeTimers();let r=vi.fn(),{result:i}=t(()=>e(r,1e3));expect(i.current.active).toBe(!1),n(()=>{vi.advanceTimersByTime(1e3)}),expect(r).not.toHaveBeenCalled()}),it(`starts and stops the interval`,()=>{vi.useFakeTimers();let r=vi.fn(),{result:i}=t(()=>e(r,1e3));n(()=>i.current.start()),expect(i.current.active).toBe(!0),n(()=>{vi.advanceTimersByTime(3e3)}),expect(r).toHaveBeenCalledTimes(3),n(()=>i.current.stop()),expect(i.current.active).toBe(!1),n(()=>{vi.advanceTimersByTime(1e3)}),expect(r).toHaveBeenCalledTimes(3)}),it(`toggles the interval`,()=>{vi.useFakeTimers();let r=vi.fn(),{result:i}=t(()=>e(r,1e3));n(()=>i.current.toggle()),expect(i.current.active).toBe(!0),n(()=>{vi.advanceTimersByTime(1e3)}),expect(r).toHaveBeenCalledTimes(1),n(()=>i.current.toggle()),expect(i.current.active).toBe(!1),n(()=>{vi.advanceTimersByTime(1e3)}),expect(r).toHaveBeenCalledTimes(1)}),it(`starts automatically when autoInvoke is enabled`,()=>{vi.useFakeTimers();let r=vi.fn(),{result:i}=t(()=>e(r,1e3,{autoInvoke:!0}));expect(i.current.active).toBe(!0),n(()=>{vi.advanceTimersByTime(1e3)}),expect(r).toHaveBeenCalledTimes(1)}),it(`uses the latest callback after rerendering`,()=>{vi.useFakeTimers();let r=vi.fn(),i=vi.fn(),{result:a,rerender:o}=t(({callback:t})=>e(t,1e3),{initialProps:{callback:r}});n(()=>a.current.start()),n(()=>{vi.advanceTimersByTime(1e3)}),o({callback:i}),n(()=>{vi.advanceTimersByTime(1e3)}),expect(r).toHaveBeenCalledTimes(1),expect(i).toHaveBeenCalledTimes(1)}),it(`cleans the interval on unmount`,()=>{vi.useFakeTimers();let r=vi.fn(),{result:i,unmount:a}=t(()=>e(r,1e3));n(()=>i.current.start()),a(),n(()=>{vi.advanceTimersByTime(1e3)}),expect(r).not.toHaveBeenCalled()})});
2
2
  //# sourceMappingURL=use-interval.spec.js.map
@@ -1,2 +1,2 @@
1
- import"../chunk-CHh1Zzun.js";import{useLocalStorage as e}from"./use-local-storage.js";import{n as t,t as n}from"../react.esm-BuxkFT_p.js";describe(`useLocalStorage`,()=>{it(`returns the default value when storage is empty`,()=>{let{result:n}=t(()=>e(`settings`,{defaultValue:{compact:!1}}));expect(n.current[0]).toEqual({compact:!1})}),it(`reads an existing JSON value from localStorage`,()=>{window.localStorage.setItem(`settings`,JSON.stringify({compact:!0}));let{result:n}=t(()=>e(`settings`,{defaultValue:{compact:!1}}));expect(n.current[0]).toEqual({compact:!0})}),it(`writes serialized values to localStorage`,()=>{let{result:r}=t(()=>e(`settings`,{defaultValue:{compact:!1}}));n(()=>r.current[1]({compact:!0})),expect(r.current[0]).toEqual({compact:!0}),expect(window.localStorage.getItem(`settings`)).toBe(JSON.stringify({compact:!0}))}),it(`supports functional updates`,()=>{let{result:r}=t(()=>e(`count`,{defaultValue:1}));n(()=>r.current[1](e=>e+1)),expect(r.current[0]).toBe(2),expect(window.localStorage.getItem(`count`)).toBe(`2`)}),it(`syncs updates from storage events for the same key`,()=>{let{result:r}=t(()=>e(`settings`,{defaultValue:{compact:!1}}));n(()=>{window.dispatchEvent(new StorageEvent(`storage`,{key:`settings`,newValue:JSON.stringify({compact:!0}),storageArea:window.localStorage}))}),expect(r.current[0]).toEqual({compact:!0})}),it(`ignores storage events for other keys`,()=>{let{result:r}=t(()=>e(`settings`,{defaultValue:{compact:!1}}));n(()=>{window.dispatchEvent(new StorageEvent(`storage`,{key:`profile`,newValue:JSON.stringify({compact:!0}),storageArea:window.localStorage}))}),expect(r.current[0]).toEqual({compact:!1})}),it(`does not subscribe to storage events when sync is disabled`,()=>{let{result:r}=t(()=>e(`settings`,{defaultValue:{compact:!1},sync:!1}));n(()=>{window.dispatchEvent(new StorageEvent(`storage`,{key:`settings`,newValue:JSON.stringify({compact:!0}),storageArea:window.localStorage}))}),expect(r.current[0]).toEqual({compact:!1})})});
1
+ import"../chunk-CHh1Zzun.js";import{useLocalStorage as e}from"./use-local-storage.js";import{r as t,t as n}from"../react.esm-B3a5z6DL.js";describe(`useLocalStorage`,()=>{it(`returns the default value when storage is empty`,()=>{let{result:n}=t(()=>e(`settings`,{defaultValue:{compact:!1}}));expect(n.current[0]).toEqual({compact:!1})}),it(`reads an existing JSON value from localStorage`,()=>{window.localStorage.setItem(`settings`,JSON.stringify({compact:!0}));let{result:n}=t(()=>e(`settings`,{defaultValue:{compact:!1}}));expect(n.current[0]).toEqual({compact:!0})}),it(`writes serialized values to localStorage`,()=>{let{result:r}=t(()=>e(`settings`,{defaultValue:{compact:!1}}));n(()=>r.current[1]({compact:!0})),expect(r.current[0]).toEqual({compact:!0}),expect(window.localStorage.getItem(`settings`)).toBe(JSON.stringify({compact:!0}))}),it(`supports functional updates`,()=>{let{result:r}=t(()=>e(`count`,{defaultValue:1}));n(()=>r.current[1](e=>e+1)),expect(r.current[0]).toBe(2),expect(window.localStorage.getItem(`count`)).toBe(`2`)}),it(`syncs updates from storage events for the same key`,()=>{let{result:r}=t(()=>e(`settings`,{defaultValue:{compact:!1}}));n(()=>{window.dispatchEvent(new StorageEvent(`storage`,{key:`settings`,newValue:JSON.stringify({compact:!0}),storageArea:window.localStorage}))}),expect(r.current[0]).toEqual({compact:!0})}),it(`ignores storage events for other keys`,()=>{let{result:r}=t(()=>e(`settings`,{defaultValue:{compact:!1}}));n(()=>{window.dispatchEvent(new StorageEvent(`storage`,{key:`profile`,newValue:JSON.stringify({compact:!0}),storageArea:window.localStorage}))}),expect(r.current[0]).toEqual({compact:!1})}),it(`does not subscribe to storage events when sync is disabled`,()=>{let{result:r}=t(()=>e(`settings`,{defaultValue:{compact:!1},sync:!1}));n(()=>{window.dispatchEvent(new StorageEvent(`storage`,{key:`settings`,newValue:JSON.stringify({compact:!0}),storageArea:window.localStorage}))}),expect(r.current[0]).toEqual({compact:!1})})});
2
2
  //# sourceMappingURL=use-local-storage.spec.js.map
@@ -1,2 +1,2 @@
1
- import"../chunk-CHh1Zzun.js";import{useIsMobile as e}from"./use-mobile.js";import{n as t,t as n}from"../react.esm-BuxkFT_p.js";describe(`useIsMobile`,()=>{it(`returns true below the mobile breakpoint`,()=>{globalThis.setTestViewportWidth(767);let{result:n}=t(()=>e());expect(n.current).toBe(!0)}),it(`returns false at the mobile breakpoint`,()=>{globalThis.setTestViewportWidth(768);let{result:n}=t(()=>e());expect(n.current).toBe(!1)}),it(`updates when the media query changes`,()=>{globalThis.setTestViewportWidth(1024);let{result:r}=t(()=>e());expect(r.current).toBe(!1),n(()=>{globalThis.setTestViewportWidth(500)}),expect(r.current).toBe(!0),n(()=>{globalThis.setTestViewportWidth(900)}),expect(r.current).toBe(!1)}),it(`removes the media query listener on unmount`,()=>{let n=vi.fn();vi.spyOn(window,`matchMedia`).mockReturnValue({matches:!1,media:`(max-width: 767px)`,onchange:null,addEventListener:vi.fn(),removeEventListener:n,dispatchEvent:vi.fn(),addListener:vi.fn(),removeListener:vi.fn()});let{unmount:r}=t(()=>e());r(),expect(n).toHaveBeenCalledWith(`change`,expect.any(Function))})});
1
+ import"../chunk-CHh1Zzun.js";import{useIsMobile as e}from"./use-mobile.js";import{r as t,t as n}from"../react.esm-B3a5z6DL.js";describe(`useIsMobile`,()=>{it(`returns true below the mobile breakpoint`,()=>{globalThis.setTestViewportWidth(767);let{result:n}=t(()=>e());expect(n.current).toBe(!0)}),it(`returns false at the mobile breakpoint`,()=>{globalThis.setTestViewportWidth(768);let{result:n}=t(()=>e());expect(n.current).toBe(!1)}),it(`updates when the media query changes`,()=>{globalThis.setTestViewportWidth(1024);let{result:r}=t(()=>e());expect(r.current).toBe(!1),n(()=>{globalThis.setTestViewportWidth(500)}),expect(r.current).toBe(!0),n(()=>{globalThis.setTestViewportWidth(900)}),expect(r.current).toBe(!1)}),it(`removes the media query listener on unmount`,()=>{let n=vi.fn();vi.spyOn(window,`matchMedia`).mockReturnValue({matches:!1,media:`(max-width: 767px)`,onchange:null,addEventListener:vi.fn(),removeEventListener:n,dispatchEvent:vi.fn(),addListener:vi.fn(),removeListener:vi.fn()});let{unmount:r}=t(()=>e());r(),expect(n).toHaveBeenCalledWith(`change`,expect.any(Function))})});
2
2
  //# sourceMappingURL=use-mobile.spec.js.map
package/dist/index.d.ts CHANGED
@@ -28,7 +28,7 @@ import { Drawer, DrawerClose, DrawerCloseProps, DrawerContent, DrawerContentProp
28
28
  import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuGroupProps, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuPortalProps, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuShortcut, DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTrigger, DropdownMenuSubTriggerProps, DropdownMenuTrigger, DropdownMenuTriggerProps } from "./components/dropdown-menu.js";
29
29
  import { Dropzone, DropzoneArea, DropzoneAreaProps, DropzoneDescription, DropzoneDescriptionProps, DropzoneFileList, DropzoneFileListItem, DropzoneFileListItemProps, DropzoneFileListProps, DropzoneFileMessage, DropzoneFileMessageProps, DropzoneFileStatus, DropzoneMessage, DropzoneMessageProps, DropzoneProps, DropzoneRemoveFile, DropzoneRemoveFileProps, DropzoneRetryFile, DropzoneRetryFileProps, DropzoneTrigger, DropzoneTriggerProps, DropzoneUploadResult, DropzoneValidation, ErrorCode, FileError, FileStatus, InfiniteProgress, InfiniteProgressProps, UseDropzoneProps, UseDropzoneReturn, useDropzone } from "./components/dropzone.js";
30
30
  import { Empty, EmptyContent, EmptyContentProps, EmptyDescription, EmptyDescriptionProps, EmptyHeader, EmptyHeaderProps, EmptyMedia, EmptyMediaProps, EmptyProps, EmptyTitle, EmptyTitleProps } from "./components/empty.js";
31
- import { Field, FieldContent, FieldContentProps, FieldDescription, FieldDescriptionProps, FieldError, FieldErrorProps, FieldGroup, FieldGroupProps, FieldLabel, FieldLabelProps, FieldLegend, FieldLegendProps, FieldProps, FieldSeparator, FieldSeparatorProps, FieldSet, FieldSetProps, FieldTitle, FieldTitleProps } from "./components/field.js";
31
+ import { Field, FieldContent, FieldContentProps, FieldDescription, FieldDescriptionProps, FieldError, FieldErrorProps, FieldGroup, FieldGroupProps, FieldLabel, FieldLabelProps, FieldLegend, FieldLegendProps, FieldProps, FieldSeparator, FieldSeparatorProps, FieldSet, FieldSetProps, FieldTitle, FieldTitleProps, useFieldControlId } from "./components/field.js";
32
32
  import { Grid, GridItem, GridItemProps, GridProps } from "./components/grid.js";
33
33
  import { Group, GroupProps, groupVariants } from "./components/group.js";
34
34
  import { Heading, HeadingProps, headingVariants } from "./components/heading.js";
@@ -46,7 +46,7 @@ import { RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupProps } from
46
46
  import { ResizableHandle, ResizableHandleProps, ResizablePanel, ResizablePanelGroup, ResizablePanelGroupProps, ResizablePanelProps } from "./components/resizable.js";
47
47
  import { ScrollArea, ScrollAreaProps, ScrollBar, ScrollBarProps } from "./components/scroll-area.js";
48
48
  import { Select, SelectContent, SelectContentProps, SelectGroup, SelectGroupProps, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectProps, SelectScrollDownButton, SelectScrollDownButtonProps, SelectScrollUpButton, SelectScrollUpButtonProps, SelectSeparator, SelectSeparatorProps, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps } from "./components/select.js";
49
- import { Tooltip, TooltipContent, TooltipContentProps, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipTrigger, TooltipTriggerProps } from "./components/tooltip.js";
49
+ import { Tooltip, TooltipContent, TooltipContentProps, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipRoot, TooltipRootProps, TooltipTrigger, TooltipTriggerProps } from "./components/tooltip.js";
50
50
  import { Sidebar, SidebarContent, SidebarContentProps, SidebarFooter, SidebarFooterProps, SidebarGroup, SidebarGroupAction, SidebarGroupActionProps, SidebarGroupContent, SidebarGroupContentProps, SidebarGroupLabel, SidebarGroupLabelProps, SidebarGroupProps, SidebarHeader, SidebarHeaderProps, SidebarInput, SidebarInputProps, SidebarInset, SidebarInsetProps, SidebarMenu, SidebarMenuAction, SidebarMenuActionProps, SidebarMenuBadge, SidebarMenuBadgeProps, SidebarMenuButton, SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuItemProps, SidebarMenuProps, SidebarMenuSkeleton, SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubButtonProps, SidebarMenuSubItem, SidebarMenuSubItemProps, SidebarMenuSubProps, SidebarProps, SidebarProvider, SidebarProviderProps, SidebarRail, SidebarRailProps, SidebarSeparator, SidebarSeparatorProps, SidebarTrigger, SidebarTriggerProps, useSidebar } from "./components/sidebar.js";
51
51
  import { SimpleGrid, SimpleGridProps } from "./components/simple-grid.js";
52
52
  import { Skeleton, SkeletonProps } from "./components/skeleton.js";
@@ -63,6 +63,7 @@ import { ModeToggle, ModeToggleProps, Theme, ThemeProvider, ThemeProviderProps,
63
63
  import { Timeline, TimelineConnector, TimelineConnectorColor, TimelineConnectorProps, TimelineContent, TimelineContentProps, TimelineDescription, TimelineDescriptionProps, TimelineEmpty, TimelineEmptyProps, TimelineHeader, TimelineHeaderProps, TimelineIcon, TimelineIconColor, TimelineIconProps, TimelineIconSize, TimelineItem, TimelineItemProps, TimelineProps, TimelineStatus, TimelineTime, TimelineTimeProps, TimelineTitle, TimelineTitleProps, timelineVariants } from "./components/timeline.js";
64
64
  import { Toggle, ToggleProps, toggleVariants } from "./components/toggle.js";
65
65
  import { ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps } from "./components/toggle-group.js";
66
+ import { UnstyledButton, UnstyledButtonProps } from "./components/unstyled-button.js";
66
67
  import { Breakpoint, breakpointValues, useBreakpoint } from "./hooks/use-breakpoint.js";
67
68
  import { HiddenFrom, HiddenFromProps, VisibleFrom, VisibleFromProps } from "./components/visibility.js";
68
69
  import { ResponsiveValueMap, useBreakpointValue } from "./hooks/use-breakpoint-value.js";
@@ -74,4 +75,4 @@ import { UseLocalStorageOptions, useLocalStorage } from "./hooks/use-local-stora
74
75
  import { useIsMobile } from "./hooks/use-mobile.js";
75
76
  import { ButtonColor, buttonColorVariants } from "./lib/button.js";
76
77
  import { cn, randomId } from "./lib/utils.js";
77
- export { Accordion, AccordionContent, AccordionContentProps, AccordionItem, AccordionItemProps, AccordionProps, AccordionTrigger, AccordionTriggerProps, Alert, AlertAction, AlertActionProps, AlertDescription, AlertDescriptionProps, AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogCancel, AlertDialogCancelProps, AlertDialogContent, AlertDialogContentProps, AlertDialogDescription, AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogFooterProps, AlertDialogHeader, AlertDialogHeaderProps, AlertDialogMedia, AlertDialogMediaProps, AlertDialogOverlay, AlertDialogOverlayProps, AlertDialogPortal, AlertDialogPortalProps, AlertDialogProps, AlertDialogTitle, AlertDialogTitleProps, AlertDialogTrigger, AlertDialogTriggerProps, AlertProps, AlertTitle, AlertTitleProps, Anchor, AnchorProps, Avatar, AvatarBadge, AvatarBadgeProps, AvatarFallback, AvatarFallbackProps, AvatarGroup, AvatarGroupCount, AvatarGroupCountProps, AvatarGroupProps, AvatarImage, AvatarImageProps, AvatarProps, Badge, BadgeProps, Bar, BarChart, Breadcrumb, BreadcrumbEllipsis, BreadcrumbEllipsisProps, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbLink, BreadcrumbLinkProps, BreadcrumbList, BreadcrumbListProps, BreadcrumbPage, BreadcrumbPageProps, BreadcrumbProps, BreadcrumbSeparator, BreadcrumbSeparatorProps, Breakpoint, Button, ButtonColor, ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupSeparatorProps, ButtonGroupText, ButtonGroupTextProps, ButtonProps, Calendar, CalendarDayButton, CalendarDayButtonProps, CalendarProps, Card, CardAction, CardActionProps, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps, Carousel, CarouselApi, CarouselContent, CarouselContentProps, CarouselItem, CarouselItemProps, CarouselNext, CarouselNextProps, CarouselPrevious, CarouselPreviousProps, CarouselProps, CartesianGrid, Center, CenterProps, ChartConfig, ChartContainer, ChartContainerProps, ChartLegend, ChartLegendContent, ChartLegendContentProps, ChartLegendProps, ChartStyle, ChartStyleProps, ChartTooltip, ChartTooltipContent, ChartTooltipContentProps, ChartTooltipProps, Checkbox, CheckboxProps, Code, CodeProps, Collapsible, CollapsibleContent, CollapsibleContentProps, CollapsibleProps, CollapsibleTrigger, CollapsibleTriggerProps, Combobox, ComboboxChip, ComboboxChipProps, ComboboxChips, ComboboxChipsInput, ComboboxChipsInputProps, ComboboxChipsProps, ComboboxClear, ComboboxClearProps, ComboboxCollection, ComboboxCollectionProps, ComboboxContent, ComboboxContentProps, ComboboxEmpty, ComboboxEmptyProps, ComboboxGroup, ComboboxGroupProps, ComboboxInput, ComboboxInputProps, ComboboxItem, ComboboxItemProps, ComboboxLabel, ComboboxLabelProps, ComboboxList, ComboboxListProps, ComboboxProps, ComboboxSeparator, ComboboxSeparatorProps, ComboboxTrigger, ComboboxTriggerProps, ComboboxValue, ComboboxValueProps, Command, CommandDialog, CommandDialogProps, CommandEmpty, CommandEmptyProps, CommandGroup, CommandGroupProps, CommandInput, CommandInputProps, CommandItem, CommandItemProps, CommandList, CommandListProps, CommandProps, CommandSeparator, CommandSeparatorProps, CommandShortcut, CommandShortcutProps, Container, ContainerProps, DateRange, DateRangePicker, DateRangePickerActions, DateRangePickerActionsProps, DateRangePickerApply, DateRangePickerApplyProps, DateRangePickerCalendar, DateRangePickerCalendarProps, DateRangePickerContent, DateRangePickerContentProps, DateRangePickerDateFields, DateRangePickerDateFieldsProps, DateRangePickerPreset, DateRangePickerPresetOption, DateRangePickerPresetProps, DateRangePickerPresets, DateRangePickerPresetsProps, DateRangePickerProps, DateRangePickerReset, DateRangePickerResetProps, DateRangePickerTrigger, DateRangePickerTriggerProps, DateRangePickerValue, DateRangePickerValueProps, Dialog, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogDescription, DialogDescriptionProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogOverlay, DialogOverlayProps, DialogPortal, DialogPortalProps, DialogProps, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps, Drawer, DrawerClose, DrawerCloseProps, DrawerContent, DrawerContentProps, DrawerDescription, DrawerDescriptionProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerOverlay, DrawerOverlayProps, DrawerPortal, DrawerPortalProps, DrawerProps, DrawerTitle, DrawerTitleProps, DrawerTrigger, DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuGroupProps, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuPortalProps, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuShortcut, DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTrigger, DropdownMenuSubTriggerProps, DropdownMenuTrigger, DropdownMenuTriggerProps, Dropzone, DropzoneArea, DropzoneAreaProps, DropzoneDescription, DropzoneDescriptionProps, DropzoneFileList, DropzoneFileListItem, DropzoneFileListItemProps, DropzoneFileListProps, DropzoneFileMessage, DropzoneFileMessageProps, DropzoneFileStatus, DropzoneMessage, DropzoneMessageProps, DropzoneProps, DropzoneRemoveFile, DropzoneRemoveFileProps, DropzoneRetryFile, DropzoneRetryFileProps, DropzoneTrigger, DropzoneTriggerProps, DropzoneUploadResult, DropzoneValidation, Empty, EmptyContent, EmptyContentProps, EmptyDescription, EmptyDescriptionProps, EmptyHeader, EmptyHeaderProps, EmptyMedia, EmptyMediaProps, EmptyProps, EmptyTitle, EmptyTitleProps, ErrorCode, Field, FieldContent, FieldContentProps, FieldDescription, FieldDescriptionProps, FieldError, FieldErrorProps, FieldGroup, FieldGroupProps, FieldLabel, FieldLabelProps, FieldLegend, FieldLegendProps, FieldProps, FieldSeparator, FieldSeparatorProps, FieldSet, FieldSetProps, FieldTitle, FieldTitleProps, FileError, FileStatus, Grid, GridItem, GridItemProps, GridProps, Group, GroupProps, Heading, HeadingProps, HiddenFrom, HiddenFromProps, HoverCard, HoverCardContent, HoverCardContentProps, HoverCardProps, HoverCardTrigger, HoverCardTriggerProps, InfiniteProgress, InfiniteProgressProps, Input, InputGroup, InputGroupAddon, InputGroupAddonProps, InputGroupButton, InputGroupButtonProps, InputGroupInput, InputGroupInputProps, InputGroupProps, InputGroupText, InputGroupTextProps, InputGroupTextarea, InputGroupTextareaProps, InputOTP, InputOTPGroup, InputOTPGroupProps, InputOTPProps, InputOTPSeparator, InputOTPSeparatorProps, InputOTPSlot, InputOTPSlotProps, InputProps, Kbd, KbdGroup, KbdGroupProps, KbdProps, Label, LabelProps, List, ListIcon, ListIconProps, ListItem, ListItemProps, ListProps, ModeToggle, ModeToggleProps, NativeSelect, NativeSelectOptGroup, NativeSelectOptGroupProps, NativeSelectOption, NativeSelectOptionProps, NativeSelectProps, NavigationMenu, NavigationMenuContent, NavigationMenuContentProps, NavigationMenuIndicator, NavigationMenuIndicatorProps, NavigationMenuItem, NavigationMenuItemProps, NavigationMenuLink, NavigationMenuLinkProps, NavigationMenuList, NavigationMenuListProps, NavigationMenuProps, NavigationMenuTrigger, NavigationMenuTriggerProps, NavigationMenuViewport, NavigationMenuViewportProps, Pagination, PaginationContent, PaginationContentProps, PaginationEllipsis, PaginationEllipsisProps, PaginationItem, PaginationItemProps, PaginationLink, PaginationLinkProps, PaginationNext, PaginationNextProps, PaginationPrevious, PaginationPreviousProps, PaginationProps, Popover, PopoverAnchor, PopoverAnchorProps, PopoverContent, PopoverContentProps, PopoverDescription, PopoverDescriptionProps, PopoverHeader, PopoverHeaderProps, PopoverProps, PopoverTitle, PopoverTitleProps, PopoverTrigger, PopoverTriggerProps, Progress, ProgressProps, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupProps, ResizableHandle, ResizableHandleProps, ResizablePanel, ResizablePanelGroup, ResizablePanelGroupProps, ResizablePanelProps, ResponsiveValueMap, ScrollArea, ScrollAreaProps, ScrollBar, ScrollBarProps, Select, SelectContent, SelectContentProps, SelectGroup, SelectGroupProps, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectProps, SelectScrollDownButton, SelectScrollDownButtonProps, SelectScrollUpButton, SelectScrollUpButtonProps, SelectSeparator, SelectSeparatorProps, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps, Separator, SeparatorProps, Sidebar, SidebarContent, SidebarContentProps, SidebarFooter, SidebarFooterProps, SidebarGroup, SidebarGroupAction, SidebarGroupActionProps, SidebarGroupContent, SidebarGroupContentProps, SidebarGroupLabel, SidebarGroupLabelProps, SidebarGroupProps, SidebarHeader, SidebarHeaderProps, SidebarInput, SidebarInputProps, SidebarInset, SidebarInsetProps, SidebarMenu, SidebarMenuAction, SidebarMenuActionProps, SidebarMenuBadge, SidebarMenuBadgeProps, SidebarMenuButton, SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuItemProps, SidebarMenuProps, SidebarMenuSkeleton, SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubButtonProps, SidebarMenuSubItem, SidebarMenuSubItemProps, SidebarMenuSubProps, SidebarProps, SidebarProvider, SidebarProviderProps, SidebarRail, SidebarRailProps, SidebarSeparator, SidebarSeparatorProps, SidebarTrigger, SidebarTriggerProps, SimpleGrid, SimpleGridProps, Skeleton, SkeletonProps, Slider, SliderProps, Spinner, SpinnerProps, Stack, StackProps, Switch, SwitchProps, Table, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableFooter, TableFooterProps, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps, Tabs, TabsContent, TabsContentProps, TabsList, TabsListProps, TabsProps, TabsTrigger, TabsTriggerProps, Text, TextProps, Textarea, TextareaProps, Theme, ThemeProvider, ThemeProviderProps, ThemeProviderState, Timeline, TimelineConnector, TimelineConnectorColor, TimelineConnectorProps, TimelineContent, TimelineContentProps, TimelineDescription, TimelineDescriptionProps, TimelineEmpty, TimelineEmptyProps, TimelineHeader, TimelineHeaderProps, TimelineIcon, TimelineIconColor, TimelineIconProps, TimelineIconSize, TimelineItem, TimelineItemProps, TimelineProps, TimelineStatus, TimelineTime, TimelineTimeProps, TimelineTitle, TimelineTitleProps, Toaster, ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleProps, Tooltip, TooltipContent, TooltipContentProps, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipTrigger, TooltipTriggerProps, UIColor, UseDisclosureHandlers, UseDisclosureOptions, UseDisclosureReturnValue, UseDropzoneProps, UseDropzoneReturn, UseIdleOptions, UseIntervalOptions, UseIntervalReturnValue, UseLocalStorageOptions, VisibleFrom, VisibleFromProps, XAxis, anchorVariants, badgeVariants, breakpointValues, buttonColorVariants, buttonGroupVariants, buttonVariants, centerVariants, cn, containerVariants, groupVariants, headingVariants, listVariants, locale, navigationMenuTriggerStyle, randomId, selectionControlColorVariants, spinnerVariants, stackVariants, tabsListVariants, textVariants, timelineVariants, toast, toggleVariants, uiColors, useBreakpoint, useBreakpointValue, useCarousel, useComboboxAnchor, useDisclosure, useDocumentVisibility, useDropzone, useIdle, useInterval, useIsMobile, useLocalStorage, useSidebar, useTheme };
78
+ export { Accordion, AccordionContent, AccordionContentProps, AccordionItem, AccordionItemProps, AccordionProps, AccordionTrigger, AccordionTriggerProps, Alert, AlertAction, AlertActionProps, AlertDescription, AlertDescriptionProps, AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogCancel, AlertDialogCancelProps, AlertDialogContent, AlertDialogContentProps, AlertDialogDescription, AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogFooterProps, AlertDialogHeader, AlertDialogHeaderProps, AlertDialogMedia, AlertDialogMediaProps, AlertDialogOverlay, AlertDialogOverlayProps, AlertDialogPortal, AlertDialogPortalProps, AlertDialogProps, AlertDialogTitle, AlertDialogTitleProps, AlertDialogTrigger, AlertDialogTriggerProps, AlertProps, AlertTitle, AlertTitleProps, Anchor, AnchorProps, Avatar, AvatarBadge, AvatarBadgeProps, AvatarFallback, AvatarFallbackProps, AvatarGroup, AvatarGroupCount, AvatarGroupCountProps, AvatarGroupProps, AvatarImage, AvatarImageProps, AvatarProps, Badge, BadgeProps, Bar, BarChart, Breadcrumb, BreadcrumbEllipsis, BreadcrumbEllipsisProps, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbLink, BreadcrumbLinkProps, BreadcrumbList, BreadcrumbListProps, BreadcrumbPage, BreadcrumbPageProps, BreadcrumbProps, BreadcrumbSeparator, BreadcrumbSeparatorProps, Breakpoint, Button, ButtonColor, ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupSeparatorProps, ButtonGroupText, ButtonGroupTextProps, ButtonProps, Calendar, CalendarDayButton, CalendarDayButtonProps, CalendarProps, Card, CardAction, CardActionProps, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps, Carousel, CarouselApi, CarouselContent, CarouselContentProps, CarouselItem, CarouselItemProps, CarouselNext, CarouselNextProps, CarouselPrevious, CarouselPreviousProps, CarouselProps, CartesianGrid, Center, CenterProps, ChartConfig, ChartContainer, ChartContainerProps, ChartLegend, ChartLegendContent, ChartLegendContentProps, ChartLegendProps, ChartStyle, ChartStyleProps, ChartTooltip, ChartTooltipContent, ChartTooltipContentProps, ChartTooltipProps, Checkbox, CheckboxProps, Code, CodeProps, Collapsible, CollapsibleContent, CollapsibleContentProps, CollapsibleProps, CollapsibleTrigger, CollapsibleTriggerProps, Combobox, ComboboxChip, ComboboxChipProps, ComboboxChips, ComboboxChipsInput, ComboboxChipsInputProps, ComboboxChipsProps, ComboboxClear, ComboboxClearProps, ComboboxCollection, ComboboxCollectionProps, ComboboxContent, ComboboxContentProps, ComboboxEmpty, ComboboxEmptyProps, ComboboxGroup, ComboboxGroupProps, ComboboxInput, ComboboxInputProps, ComboboxItem, ComboboxItemProps, ComboboxLabel, ComboboxLabelProps, ComboboxList, ComboboxListProps, ComboboxProps, ComboboxSeparator, ComboboxSeparatorProps, ComboboxTrigger, ComboboxTriggerProps, ComboboxValue, ComboboxValueProps, Command, CommandDialog, CommandDialogProps, CommandEmpty, CommandEmptyProps, CommandGroup, CommandGroupProps, CommandInput, CommandInputProps, CommandItem, CommandItemProps, CommandList, CommandListProps, CommandProps, CommandSeparator, CommandSeparatorProps, CommandShortcut, CommandShortcutProps, Container, ContainerProps, DateRange, DateRangePicker, DateRangePickerActions, DateRangePickerActionsProps, DateRangePickerApply, DateRangePickerApplyProps, DateRangePickerCalendar, DateRangePickerCalendarProps, DateRangePickerContent, DateRangePickerContentProps, DateRangePickerDateFields, DateRangePickerDateFieldsProps, DateRangePickerPreset, DateRangePickerPresetOption, DateRangePickerPresetProps, DateRangePickerPresets, DateRangePickerPresetsProps, DateRangePickerProps, DateRangePickerReset, DateRangePickerResetProps, DateRangePickerTrigger, DateRangePickerTriggerProps, DateRangePickerValue, DateRangePickerValueProps, Dialog, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogDescription, DialogDescriptionProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogOverlay, DialogOverlayProps, DialogPortal, DialogPortalProps, DialogProps, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps, Drawer, DrawerClose, DrawerCloseProps, DrawerContent, DrawerContentProps, DrawerDescription, DrawerDescriptionProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerOverlay, DrawerOverlayProps, DrawerPortal, DrawerPortalProps, DrawerProps, DrawerTitle, DrawerTitleProps, DrawerTrigger, DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuGroupProps, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuPortalProps, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuShortcut, DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTrigger, DropdownMenuSubTriggerProps, DropdownMenuTrigger, DropdownMenuTriggerProps, Dropzone, DropzoneArea, DropzoneAreaProps, DropzoneDescription, DropzoneDescriptionProps, DropzoneFileList, DropzoneFileListItem, DropzoneFileListItemProps, DropzoneFileListProps, DropzoneFileMessage, DropzoneFileMessageProps, DropzoneFileStatus, DropzoneMessage, DropzoneMessageProps, DropzoneProps, DropzoneRemoveFile, DropzoneRemoveFileProps, DropzoneRetryFile, DropzoneRetryFileProps, DropzoneTrigger, DropzoneTriggerProps, DropzoneUploadResult, DropzoneValidation, Empty, EmptyContent, EmptyContentProps, EmptyDescription, EmptyDescriptionProps, EmptyHeader, EmptyHeaderProps, EmptyMedia, EmptyMediaProps, EmptyProps, EmptyTitle, EmptyTitleProps, ErrorCode, Field, FieldContent, FieldContentProps, FieldDescription, FieldDescriptionProps, FieldError, FieldErrorProps, FieldGroup, FieldGroupProps, FieldLabel, FieldLabelProps, FieldLegend, FieldLegendProps, FieldProps, FieldSeparator, FieldSeparatorProps, FieldSet, FieldSetProps, FieldTitle, FieldTitleProps, FileError, FileStatus, Grid, GridItem, GridItemProps, GridProps, Group, GroupProps, Heading, HeadingProps, HiddenFrom, HiddenFromProps, HoverCard, HoverCardContent, HoverCardContentProps, HoverCardProps, HoverCardTrigger, HoverCardTriggerProps, InfiniteProgress, InfiniteProgressProps, Input, InputGroup, InputGroupAddon, InputGroupAddonProps, InputGroupButton, InputGroupButtonProps, InputGroupInput, InputGroupInputProps, InputGroupProps, InputGroupText, InputGroupTextProps, InputGroupTextarea, InputGroupTextareaProps, InputOTP, InputOTPGroup, InputOTPGroupProps, InputOTPProps, InputOTPSeparator, InputOTPSeparatorProps, InputOTPSlot, InputOTPSlotProps, InputProps, Kbd, KbdGroup, KbdGroupProps, KbdProps, Label, LabelProps, List, ListIcon, ListIconProps, ListItem, ListItemProps, ListProps, ModeToggle, ModeToggleProps, NativeSelect, NativeSelectOptGroup, NativeSelectOptGroupProps, NativeSelectOption, NativeSelectOptionProps, NativeSelectProps, NavigationMenu, NavigationMenuContent, NavigationMenuContentProps, NavigationMenuIndicator, NavigationMenuIndicatorProps, NavigationMenuItem, NavigationMenuItemProps, NavigationMenuLink, NavigationMenuLinkProps, NavigationMenuList, NavigationMenuListProps, NavigationMenuProps, NavigationMenuTrigger, NavigationMenuTriggerProps, NavigationMenuViewport, NavigationMenuViewportProps, Pagination, PaginationContent, PaginationContentProps, PaginationEllipsis, PaginationEllipsisProps, PaginationItem, PaginationItemProps, PaginationLink, PaginationLinkProps, PaginationNext, PaginationNextProps, PaginationPrevious, PaginationPreviousProps, PaginationProps, Popover, PopoverAnchor, PopoverAnchorProps, PopoverContent, PopoverContentProps, PopoverDescription, PopoverDescriptionProps, PopoverHeader, PopoverHeaderProps, PopoverProps, PopoverTitle, PopoverTitleProps, PopoverTrigger, PopoverTriggerProps, Progress, ProgressProps, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupProps, ResizableHandle, ResizableHandleProps, ResizablePanel, ResizablePanelGroup, ResizablePanelGroupProps, ResizablePanelProps, ResponsiveValueMap, ScrollArea, ScrollAreaProps, ScrollBar, ScrollBarProps, Select, SelectContent, SelectContentProps, SelectGroup, SelectGroupProps, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectProps, SelectScrollDownButton, SelectScrollDownButtonProps, SelectScrollUpButton, SelectScrollUpButtonProps, SelectSeparator, SelectSeparatorProps, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps, Separator, SeparatorProps, Sidebar, SidebarContent, SidebarContentProps, SidebarFooter, SidebarFooterProps, SidebarGroup, SidebarGroupAction, SidebarGroupActionProps, SidebarGroupContent, SidebarGroupContentProps, SidebarGroupLabel, SidebarGroupLabelProps, SidebarGroupProps, SidebarHeader, SidebarHeaderProps, SidebarInput, SidebarInputProps, SidebarInset, SidebarInsetProps, SidebarMenu, SidebarMenuAction, SidebarMenuActionProps, SidebarMenuBadge, SidebarMenuBadgeProps, SidebarMenuButton, SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuItemProps, SidebarMenuProps, SidebarMenuSkeleton, SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubButtonProps, SidebarMenuSubItem, SidebarMenuSubItemProps, SidebarMenuSubProps, SidebarProps, SidebarProvider, SidebarProviderProps, SidebarRail, SidebarRailProps, SidebarSeparator, SidebarSeparatorProps, SidebarTrigger, SidebarTriggerProps, SimpleGrid, SimpleGridProps, Skeleton, SkeletonProps, Slider, SliderProps, Spinner, SpinnerProps, Stack, StackProps, Switch, SwitchProps, Table, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableFooter, TableFooterProps, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps, Tabs, TabsContent, TabsContentProps, TabsList, TabsListProps, TabsProps, TabsTrigger, TabsTriggerProps, Text, TextProps, Textarea, TextareaProps, Theme, ThemeProvider, ThemeProviderProps, ThemeProviderState, Timeline, TimelineConnector, TimelineConnectorColor, TimelineConnectorProps, TimelineContent, TimelineContentProps, TimelineDescription, TimelineDescriptionProps, TimelineEmpty, TimelineEmptyProps, TimelineHeader, TimelineHeaderProps, TimelineIcon, TimelineIconColor, TimelineIconProps, TimelineIconSize, TimelineItem, TimelineItemProps, TimelineProps, TimelineStatus, TimelineTime, TimelineTimeProps, TimelineTitle, TimelineTitleProps, Toaster, ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleProps, Tooltip, TooltipContent, TooltipContentProps, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipRoot, TooltipRootProps, TooltipTrigger, TooltipTriggerProps, UIColor, UnstyledButton, UnstyledButtonProps, UseDisclosureHandlers, UseDisclosureOptions, UseDisclosureReturnValue, UseDropzoneProps, UseDropzoneReturn, UseIdleOptions, UseIntervalOptions, UseIntervalReturnValue, UseLocalStorageOptions, VisibleFrom, VisibleFromProps, XAxis, anchorVariants, badgeVariants, breakpointValues, buttonColorVariants, buttonGroupVariants, buttonVariants, centerVariants, cn, containerVariants, groupVariants, headingVariants, listVariants, locale, navigationMenuTriggerStyle, randomId, selectionControlColorVariants, spinnerVariants, stackVariants, tabsListVariants, textVariants, timelineVariants, toast, toggleVariants, uiColors, useBreakpoint, useBreakpointValue, useCarousel, useComboboxAnchor, useDisclosure, useDocumentVisibility, useDropzone, useFieldControlId, useIdle, useInterval, useIsMobile, useLocalStorage, useSidebar, useTheme };
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{cn as e,randomId as t}from"./lib/utils.js";import{Accordion as n,AccordionContent as r,AccordionItem as i,AccordionTrigger as a}from"./components/accordion.js";import{Alert as o,AlertAction as s,AlertDescription as c,AlertTitle as l}from"./components/alert.js";import{buttonColorVariants as u}from"./lib/button.js";import{Spinner as d,spinnerVariants as f}from"./components/spinner.js";import{Button as p,buttonVariants as m}from"./components/button.js";import{AlertDialog as h,AlertDialogAction as g,AlertDialogCancel as _,AlertDialogContent as v,AlertDialogDescription as y,AlertDialogFooter as b,AlertDialogHeader as x,AlertDialogMedia as S,AlertDialogOverlay as C,AlertDialogPortal as w,AlertDialogTitle as T,AlertDialogTrigger as E}from"./components/alert-dialog.js";import{Anchor as D,anchorVariants as O}from"./components/anchor.js";import{Avatar as k,AvatarBadge as A,AvatarFallback as j,AvatarGroup as M,AvatarGroupCount as N,AvatarImage as P}from"./components/avatar.js";import{Badge as F,badgeVariants as I}from"./components/badge.js";import{Breadcrumb as L,BreadcrumbEllipsis as R,BreadcrumbItem as z,BreadcrumbLink as B,BreadcrumbList as V,BreadcrumbPage as H,BreadcrumbSeparator as U}from"./components/breadcrumb.js";import{Separator as W}from"./components/separator.js";import{ButtonGroup as G,ButtonGroupSeparator as K,ButtonGroupText as q,buttonGroupVariants as J}from"./components/button-group.js";import{Calendar as Y,CalendarDayButton as X,locale as Z}from"./components/calendar.js";import{Card as Q,CardAction as $,CardContent as ee,CardDescription as te,CardFooter as ne,CardHeader as re,CardTitle as ie}from"./components/card.js";import{Carousel as ae,CarouselContent as oe,CarouselItem as se,CarouselNext as ce,CarouselPrevious as le,useCarousel as ue}from"./components/carousel.js";import{Center as de,centerVariants as fe}from"./components/center.js";import{Bar as pe,BarChart as me,CartesianGrid as he,ChartContainer as ge,ChartLegend as _e,ChartLegendContent as ve,ChartStyle as ye,ChartTooltip as be,ChartTooltipContent as xe,XAxis as Se}from"./components/chart.js";import{selectionControlColorVariants as Ce,uiColors as we}from"./lib/color.js";import{Label as Te}from"./components/label.js";import{Checkbox as Ee}from"./components/checkbox.js";import{Code as De}from"./components/code.js";import{Collapsible as Oe,CollapsibleContent as ke,CollapsibleTrigger as Ae}from"./components/collapsible.js";import{Input as je}from"./components/input.js";import{Textarea as Me}from"./components/textarea.js";import{InputGroup as Ne,InputGroupAddon as Pe,InputGroupButton as Fe,InputGroupInput as Ie,InputGroupText as Le,InputGroupTextarea as Re}from"./components/input-group.js";import{Combobox as ze,ComboboxChip as Be,ComboboxChips as Ve,ComboboxChipsInput as He,ComboboxClear as Ue,ComboboxCollection as We,ComboboxContent as Ge,ComboboxEmpty as Ke,ComboboxGroup as qe,ComboboxInput as Je,ComboboxItem as Ye,ComboboxLabel as Xe,ComboboxList as Ze,ComboboxSeparator as Qe,ComboboxTrigger as $e,ComboboxValue as et,useComboboxAnchor as tt}from"./components/combobox.js";import{Dialog as nt,DialogClose as rt,DialogContent as it,DialogDescription as at,DialogFooter as ot,DialogHeader as st,DialogOverlay as ct,DialogPortal as lt,DialogTitle as ut,DialogTrigger as dt}from"./components/dialog.js";import{Command as ft,CommandDialog as pt,CommandEmpty as mt,CommandGroup as ht,CommandInput as gt,CommandItem as _t,CommandList as vt,CommandSeparator as yt,CommandShortcut as bt}from"./components/command.js";import{Container as xt,containerVariants as St}from"./components/container.js";import{Popover as Ct,PopoverAnchor as wt,PopoverContent as Tt,PopoverDescription as Et,PopoverHeader as Dt,PopoverTitle as Ot,PopoverTrigger as kt}from"./components/popover.js";import{DateRangePicker as At,DateRangePickerActions as jt,DateRangePickerApply as Mt,DateRangePickerCalendar as Nt,DateRangePickerContent as Pt,DateRangePickerDateFields as Ft,DateRangePickerPreset as It,DateRangePickerPresets as Lt,DateRangePickerReset as Rt,DateRangePickerTrigger as zt,DateRangePickerValue as Bt}from"./components/date-range-picker.js";import{Drawer as Vt,DrawerClose as Ht,DrawerContent as Ut,DrawerDescription as Wt,DrawerFooter as Gt,DrawerHeader as Kt,DrawerOverlay as qt,DrawerPortal as Jt,DrawerTitle as Yt,DrawerTrigger as Xt}from"./components/drawer.js";import{DropdownMenu as Zt,DropdownMenuCheckboxItem as Qt,DropdownMenuContent as $t,DropdownMenuGroup as en,DropdownMenuItem as tn,DropdownMenuLabel as nn,DropdownMenuPortal as rn,DropdownMenuRadioGroup as an,DropdownMenuRadioItem as on,DropdownMenuSeparator as sn,DropdownMenuShortcut as cn,DropdownMenuSub as ln,DropdownMenuSubContent as un,DropdownMenuSubTrigger as dn,DropdownMenuTrigger as fn}from"./components/dropdown-menu.js";import{Dropzone as pn,DropzoneArea as mn,DropzoneDescription as hn,DropzoneFileList as gn,DropzoneFileListItem as _n,DropzoneFileMessage as vn,DropzoneMessage as yn,DropzoneRemoveFile as bn,DropzoneRetryFile as xn,DropzoneTrigger as Sn,ErrorCode as Cn,InfiniteProgress as wn,useDropzone as Tn}from"./components/dropzone.js";import{Empty as En,EmptyContent as Dn,EmptyDescription as On,EmptyHeader as kn,EmptyMedia as An,EmptyTitle as jn}from"./components/empty.js";import{Field as Mn,FieldContent as Nn,FieldDescription as Pn,FieldError as Fn,FieldGroup as In,FieldLabel as Ln,FieldLegend as Rn,FieldSeparator as zn,FieldSet as Bn,FieldTitle as Vn}from"./components/field.js";import{Grid as Hn,GridItem as Un}from"./components/grid.js";import{Group as Wn,groupVariants as Gn}from"./components/group.js";import{Heading as Kn,headingVariants as qn}from"./components/heading.js";import{HoverCard as Jn,HoverCardContent as Yn,HoverCardTrigger as Xn}from"./components/hover-card.js";import{InputOTP as Zn,InputOTPGroup as Qn,InputOTPSeparator as $n,InputOTPSlot as er,REGEXP_ONLY_CHARS as tr,REGEXP_ONLY_DIGITS as nr,REGEXP_ONLY_DIGITS_AND_CHARS as rr}from"./components/input-otp.js";import{Kbd as ir,KbdGroup as ar}from"./components/kbd.js";import{List as or,ListIcon as sr,ListItem as cr,listVariants as lr}from"./components/list.js";import{NativeSelect as ur,NativeSelectOptGroup as dr,NativeSelectOption as fr}from"./components/native-select.js";import{NavigationMenu as pr,NavigationMenuContent as mr,NavigationMenuIndicator as hr,NavigationMenuItem as gr,NavigationMenuLink as _r,NavigationMenuList as vr,NavigationMenuTrigger as yr,NavigationMenuViewport as br,navigationMenuTriggerStyle as xr}from"./components/navigation-menu.js";import{Pagination as Sr,PaginationContent as Cr,PaginationEllipsis as wr,PaginationItem as Tr,PaginationLink as Er,PaginationNext as Dr,PaginationPrevious as Or}from"./components/pagination.js";import{Progress as kr}from"./components/progress.js";import{RadioGroup as Ar,RadioGroupItem as jr}from"./components/radio-group.js";import{ResizableHandle as Mr,ResizablePanel as Nr,ResizablePanelGroup as Pr}from"./components/resizable.js";import{ScrollArea as Fr,ScrollBar as Ir}from"./components/scroll-area.js";import{Select as Lr,SelectContent as Rr,SelectGroup as zr,SelectItem as Br,SelectLabel as Vr,SelectScrollDownButton as Hr,SelectScrollUpButton as Ur,SelectSeparator as Wr,SelectTrigger as Gr,SelectValue as Kr}from"./components/select.js";import{useIsMobile as qr}from"./hooks/use-mobile.js";import{Skeleton as Jr}from"./components/skeleton.js";import{Tooltip as Yr,TooltipContent as Xr,TooltipProvider as Zr,TooltipTrigger as Qr}from"./components/tooltip.js";import{Sidebar as $r,SidebarContent as ei,SidebarFooter as ti,SidebarGroup as ni,SidebarGroupAction as ri,SidebarGroupContent as ii,SidebarGroupLabel as ai,SidebarHeader as oi,SidebarInput as si,SidebarInset as ci,SidebarMenu as li,SidebarMenuAction as ui,SidebarMenuBadge as di,SidebarMenuButton as fi,SidebarMenuItem as pi,SidebarMenuSkeleton as mi,SidebarMenuSub as hi,SidebarMenuSubButton as gi,SidebarMenuSubItem as _i,SidebarProvider as vi,SidebarRail as yi,SidebarSeparator as bi,SidebarTrigger as xi,useSidebar as Si}from"./components/sidebar.js";import{SimpleGrid as Ci}from"./components/simple-grid.js";import{Slider as wi}from"./components/slider.js";import{Toaster as Ti,toast as Ei}from"./components/sonner.js";import{Stack as Di,stackVariants as Oi}from"./components/stack.js";import{Switch as ki}from"./components/switch.js";import{Table as Ai,TableBody as ji,TableCaption as Mi,TableCell as Ni,TableFooter as Pi,TableHead as Fi,TableHeader as Ii,TableRow as Li}from"./components/table.js";import{Tabs as Ri,TabsContent as zi,TabsList as Bi,TabsTrigger as Vi,tabsListVariants as Hi}from"./components/tabs.js";import{Text as Ui,textVariants as Wi}from"./components/text.js";import{ModeToggle as Gi,ThemeProvider as Ki,useTheme as qi}from"./components/theme.js";import{Timeline as Ji,TimelineConnector as Yi,TimelineContent as Xi,TimelineDescription as Zi,TimelineEmpty as Qi,TimelineHeader as $i,TimelineIcon as ea,TimelineItem as ta,TimelineTime as na,TimelineTitle as ra,timelineVariants as ia}from"./components/timeline.js";import{Toggle as aa,toggleVariants as oa}from"./components/toggle.js";import{ToggleGroup as sa,ToggleGroupItem as ca}from"./components/toggle-group.js";import{breakpointValues as la,useBreakpoint as ua}from"./hooks/use-breakpoint.js";import{HiddenFrom as da,VisibleFrom as fa}from"./components/visibility.js";import{useBreakpointValue as pa}from"./hooks/use-breakpoint-value.js";import{useDisclosure as ma}from"./hooks/use-disclosure.js";import{useDocumentVisibility as ha}from"./hooks/use-document-visibility.js";import{useIdle as ga}from"./hooks/use-idle.js";import{useInterval as _a}from"./hooks/use-interval.js";import{useLocalStorage as va}from"./hooks/use-local-storage.js";export{n as Accordion,r as AccordionContent,i as AccordionItem,a as AccordionTrigger,o as Alert,s as AlertAction,c as AlertDescription,h as AlertDialog,g as AlertDialogAction,_ as AlertDialogCancel,v as AlertDialogContent,y as AlertDialogDescription,b as AlertDialogFooter,x as AlertDialogHeader,S as AlertDialogMedia,C as AlertDialogOverlay,w as AlertDialogPortal,T as AlertDialogTitle,E as AlertDialogTrigger,l as AlertTitle,D as Anchor,k as Avatar,A as AvatarBadge,j as AvatarFallback,M as AvatarGroup,N as AvatarGroupCount,P as AvatarImage,F as Badge,pe as Bar,me as BarChart,L as Breadcrumb,R as BreadcrumbEllipsis,z as BreadcrumbItem,B as BreadcrumbLink,V as BreadcrumbList,H as BreadcrumbPage,U as BreadcrumbSeparator,p as Button,G as ButtonGroup,K as ButtonGroupSeparator,q as ButtonGroupText,Y as Calendar,X as CalendarDayButton,Q as Card,$ as CardAction,ee as CardContent,te as CardDescription,ne as CardFooter,re as CardHeader,ie as CardTitle,ae as Carousel,oe as CarouselContent,se as CarouselItem,ce as CarouselNext,le as CarouselPrevious,he as CartesianGrid,de as Center,ge as ChartContainer,_e as ChartLegend,ve as ChartLegendContent,ye as ChartStyle,be as ChartTooltip,xe as ChartTooltipContent,Ee as Checkbox,De as Code,Oe as Collapsible,ke as CollapsibleContent,Ae as CollapsibleTrigger,ze as Combobox,Be as ComboboxChip,Ve as ComboboxChips,He as ComboboxChipsInput,Ue as ComboboxClear,We as ComboboxCollection,Ge as ComboboxContent,Ke as ComboboxEmpty,qe as ComboboxGroup,Je as ComboboxInput,Ye as ComboboxItem,Xe as ComboboxLabel,Ze as ComboboxList,Qe as ComboboxSeparator,$e as ComboboxTrigger,et as ComboboxValue,ft as Command,pt as CommandDialog,mt as CommandEmpty,ht as CommandGroup,gt as CommandInput,_t as CommandItem,vt as CommandList,yt as CommandSeparator,bt as CommandShortcut,xt as Container,At as DateRangePicker,jt as DateRangePickerActions,Mt as DateRangePickerApply,Nt as DateRangePickerCalendar,Pt as DateRangePickerContent,Ft as DateRangePickerDateFields,It as DateRangePickerPreset,Lt as DateRangePickerPresets,Rt as DateRangePickerReset,zt as DateRangePickerTrigger,Bt as DateRangePickerValue,nt as Dialog,rt as DialogClose,it as DialogContent,at as DialogDescription,ot as DialogFooter,st as DialogHeader,ct as DialogOverlay,lt as DialogPortal,ut as DialogTitle,dt as DialogTrigger,Vt as Drawer,Ht as DrawerClose,Ut as DrawerContent,Wt as DrawerDescription,Gt as DrawerFooter,Kt as DrawerHeader,qt as DrawerOverlay,Jt as DrawerPortal,Yt as DrawerTitle,Xt as DrawerTrigger,Zt as DropdownMenu,Qt as DropdownMenuCheckboxItem,$t as DropdownMenuContent,en as DropdownMenuGroup,tn as DropdownMenuItem,nn as DropdownMenuLabel,rn as DropdownMenuPortal,an as DropdownMenuRadioGroup,on as DropdownMenuRadioItem,sn as DropdownMenuSeparator,cn as DropdownMenuShortcut,ln as DropdownMenuSub,un as DropdownMenuSubContent,dn as DropdownMenuSubTrigger,fn as DropdownMenuTrigger,pn as Dropzone,mn as DropzoneArea,hn as DropzoneDescription,gn as DropzoneFileList,_n as DropzoneFileListItem,vn as DropzoneFileMessage,yn as DropzoneMessage,bn as DropzoneRemoveFile,xn as DropzoneRetryFile,Sn as DropzoneTrigger,En as Empty,Dn as EmptyContent,On as EmptyDescription,kn as EmptyHeader,An as EmptyMedia,jn as EmptyTitle,Cn as ErrorCode,Mn as Field,Nn as FieldContent,Pn as FieldDescription,Fn as FieldError,In as FieldGroup,Ln as FieldLabel,Rn as FieldLegend,zn as FieldSeparator,Bn as FieldSet,Vn as FieldTitle,Hn as Grid,Un as GridItem,Wn as Group,Kn as Heading,da as HiddenFrom,Jn as HoverCard,Yn as HoverCardContent,Xn as HoverCardTrigger,wn as InfiniteProgress,je as Input,Ne as InputGroup,Pe as InputGroupAddon,Fe as InputGroupButton,Ie as InputGroupInput,Le as InputGroupText,Re as InputGroupTextarea,Zn as InputOTP,Qn as InputOTPGroup,$n as InputOTPSeparator,er as InputOTPSlot,ir as Kbd,ar as KbdGroup,Te as Label,or as List,sr as ListIcon,cr as ListItem,Gi as ModeToggle,ur as NativeSelect,dr as NativeSelectOptGroup,fr as NativeSelectOption,pr as NavigationMenu,mr as NavigationMenuContent,hr as NavigationMenuIndicator,gr as NavigationMenuItem,_r as NavigationMenuLink,vr as NavigationMenuList,yr as NavigationMenuTrigger,br as NavigationMenuViewport,Sr as Pagination,Cr as PaginationContent,wr as PaginationEllipsis,Tr as PaginationItem,Er as PaginationLink,Dr as PaginationNext,Or as PaginationPrevious,Ct as Popover,wt as PopoverAnchor,Tt as PopoverContent,Et as PopoverDescription,Dt as PopoverHeader,Ot as PopoverTitle,kt as PopoverTrigger,kr as Progress,tr as REGEXP_ONLY_CHARS,nr as REGEXP_ONLY_DIGITS,rr as REGEXP_ONLY_DIGITS_AND_CHARS,Ar as RadioGroup,jr as RadioGroupItem,Mr as ResizableHandle,Nr as ResizablePanel,Pr as ResizablePanelGroup,Fr as ScrollArea,Ir as ScrollBar,Lr as Select,Rr as SelectContent,zr as SelectGroup,Br as SelectItem,Vr as SelectLabel,Hr as SelectScrollDownButton,Ur as SelectScrollUpButton,Wr as SelectSeparator,Gr as SelectTrigger,Kr as SelectValue,W as Separator,$r as Sidebar,ei as SidebarContent,ti as SidebarFooter,ni as SidebarGroup,ri as SidebarGroupAction,ii as SidebarGroupContent,ai as SidebarGroupLabel,oi as SidebarHeader,si as SidebarInput,ci as SidebarInset,li as SidebarMenu,ui as SidebarMenuAction,di as SidebarMenuBadge,fi as SidebarMenuButton,pi as SidebarMenuItem,mi as SidebarMenuSkeleton,hi as SidebarMenuSub,gi as SidebarMenuSubButton,_i as SidebarMenuSubItem,vi as SidebarProvider,yi as SidebarRail,bi as SidebarSeparator,xi as SidebarTrigger,Ci as SimpleGrid,Jr as Skeleton,wi as Slider,d as Spinner,Di as Stack,ki as Switch,Ai as Table,ji as TableBody,Mi as TableCaption,Ni as TableCell,Pi as TableFooter,Fi as TableHead,Ii as TableHeader,Li as TableRow,Ri as Tabs,zi as TabsContent,Bi as TabsList,Vi as TabsTrigger,Ui as Text,Me as Textarea,Ki as ThemeProvider,Ji as Timeline,Yi as TimelineConnector,Xi as TimelineContent,Zi as TimelineDescription,Qi as TimelineEmpty,$i as TimelineHeader,ea as TimelineIcon,ta as TimelineItem,na as TimelineTime,ra as TimelineTitle,Ti as Toaster,aa as Toggle,sa as ToggleGroup,ca as ToggleGroupItem,Yr as Tooltip,Xr as TooltipContent,Zr as TooltipProvider,Qr as TooltipTrigger,fa as VisibleFrom,Se as XAxis,O as anchorVariants,I as badgeVariants,la as breakpointValues,u as buttonColorVariants,J as buttonGroupVariants,m as buttonVariants,fe as centerVariants,e as cn,St as containerVariants,Gn as groupVariants,qn as headingVariants,lr as listVariants,Z as locale,xr as navigationMenuTriggerStyle,t as randomId,Ce as selectionControlColorVariants,f as spinnerVariants,Oi as stackVariants,Hi as tabsListVariants,Wi as textVariants,ia as timelineVariants,Ei as toast,oa as toggleVariants,we as uiColors,ua as useBreakpoint,pa as useBreakpointValue,ue as useCarousel,tt as useComboboxAnchor,ma as useDisclosure,ha as useDocumentVisibility,Tn as useDropzone,ga as useIdle,_a as useInterval,qr as useIsMobile,va as useLocalStorage,Si as useSidebar,qi as useTheme};
1
+ import{cn as e,randomId as t}from"./lib/utils.js";import{Accordion as n,AccordionContent as r,AccordionItem as i,AccordionTrigger as a}from"./components/accordion.js";import{Alert as o,AlertAction as s,AlertDescription as c,AlertTitle as l}from"./components/alert.js";import{buttonColorVariants as u}from"./lib/button.js";import{Spinner as d,spinnerVariants as f}from"./components/spinner.js";import{Button as p,buttonVariants as m}from"./components/button.js";import{AlertDialog as h,AlertDialogAction as g,AlertDialogCancel as _,AlertDialogContent as v,AlertDialogDescription as y,AlertDialogFooter as b,AlertDialogHeader as x,AlertDialogMedia as S,AlertDialogOverlay as C,AlertDialogPortal as w,AlertDialogTitle as T,AlertDialogTrigger as E}from"./components/alert-dialog.js";import{Anchor as D,anchorVariants as O}from"./components/anchor.js";import{Avatar as k,AvatarBadge as A,AvatarFallback as j,AvatarGroup as M,AvatarGroupCount as N,AvatarImage as P}from"./components/avatar.js";import{Badge as F,badgeVariants as I}from"./components/badge.js";import{Breadcrumb as L,BreadcrumbEllipsis as R,BreadcrumbItem as z,BreadcrumbLink as B,BreadcrumbList as V,BreadcrumbPage as H,BreadcrumbSeparator as U}from"./components/breadcrumb.js";import{Separator as W}from"./components/separator.js";import{ButtonGroup as G,ButtonGroupSeparator as K,ButtonGroupText as q,buttonGroupVariants as J}from"./components/button-group.js";import{Calendar as Y,CalendarDayButton as X,locale as Z}from"./components/calendar.js";import{Card as Q,CardAction as $,CardContent as ee,CardDescription as te,CardFooter as ne,CardHeader as re,CardTitle as ie}from"./components/card.js";import{Carousel as ae,CarouselContent as oe,CarouselItem as se,CarouselNext as ce,CarouselPrevious as le,useCarousel as ue}from"./components/carousel.js";import{Center as de,centerVariants as fe}from"./components/center.js";import{Bar as pe,BarChart as me,CartesianGrid as he,ChartContainer as ge,ChartLegend as _e,ChartLegendContent as ve,ChartStyle as ye,ChartTooltip as be,ChartTooltipContent as xe,XAxis as Se}from"./components/chart.js";import{selectionControlColorVariants as Ce,uiColors as we}from"./lib/color.js";import{Label as Te}from"./components/label.js";import{Field as Ee,FieldContent as De,FieldDescription as Oe,FieldError as ke,FieldGroup as Ae,FieldLabel as je,FieldLegend as Me,FieldSeparator as Ne,FieldSet as Pe,FieldTitle as Fe,useFieldControlId as Ie}from"./components/field.js";import{Checkbox as Le}from"./components/checkbox.js";import{Code as Re}from"./components/code.js";import{Collapsible as ze,CollapsibleContent as Be,CollapsibleTrigger as Ve}from"./components/collapsible.js";import{Input as He}from"./components/input.js";import{Textarea as Ue}from"./components/textarea.js";import{InputGroup as We,InputGroupAddon as Ge,InputGroupButton as Ke,InputGroupInput as qe,InputGroupText as Je,InputGroupTextarea as Ye}from"./components/input-group.js";import{Combobox as Xe,ComboboxChip as Ze,ComboboxChips as Qe,ComboboxChipsInput as $e,ComboboxClear as et,ComboboxCollection as tt,ComboboxContent as nt,ComboboxEmpty as rt,ComboboxGroup as it,ComboboxInput as at,ComboboxItem as ot,ComboboxLabel as st,ComboboxList as ct,ComboboxSeparator as lt,ComboboxTrigger as ut,ComboboxValue as dt,useComboboxAnchor as ft}from"./components/combobox.js";import{Dialog as pt,DialogClose as mt,DialogContent as ht,DialogDescription as gt,DialogFooter as _t,DialogHeader as vt,DialogOverlay as yt,DialogPortal as bt,DialogTitle as xt,DialogTrigger as St}from"./components/dialog.js";import{Command as Ct,CommandDialog as wt,CommandEmpty as Tt,CommandGroup as Et,CommandInput as Dt,CommandItem as Ot,CommandList as kt,CommandSeparator as At,CommandShortcut as jt}from"./components/command.js";import{Container as Mt,containerVariants as Nt}from"./components/container.js";import{Popover as Pt,PopoverAnchor as Ft,PopoverContent as It,PopoverDescription as Lt,PopoverHeader as Rt,PopoverTitle as zt,PopoverTrigger as Bt}from"./components/popover.js";import{DateRangePicker as Vt,DateRangePickerActions as Ht,DateRangePickerApply as Ut,DateRangePickerCalendar as Wt,DateRangePickerContent as Gt,DateRangePickerDateFields as Kt,DateRangePickerPreset as qt,DateRangePickerPresets as Jt,DateRangePickerReset as Yt,DateRangePickerTrigger as Xt,DateRangePickerValue as Zt}from"./components/date-range-picker.js";import{Drawer as Qt,DrawerClose as $t,DrawerContent as en,DrawerDescription as tn,DrawerFooter as nn,DrawerHeader as rn,DrawerOverlay as an,DrawerPortal as on,DrawerTitle as sn,DrawerTrigger as cn}from"./components/drawer.js";import{DropdownMenu as ln,DropdownMenuCheckboxItem as un,DropdownMenuContent as dn,DropdownMenuGroup as fn,DropdownMenuItem as pn,DropdownMenuLabel as mn,DropdownMenuPortal as hn,DropdownMenuRadioGroup as gn,DropdownMenuRadioItem as _n,DropdownMenuSeparator as vn,DropdownMenuShortcut as yn,DropdownMenuSub as bn,DropdownMenuSubContent as xn,DropdownMenuSubTrigger as Sn,DropdownMenuTrigger as Cn}from"./components/dropdown-menu.js";import{Dropzone as wn,DropzoneArea as Tn,DropzoneDescription as En,DropzoneFileList as Dn,DropzoneFileListItem as On,DropzoneFileMessage as kn,DropzoneMessage as An,DropzoneRemoveFile as jn,DropzoneRetryFile as Mn,DropzoneTrigger as Nn,ErrorCode as Pn,InfiniteProgress as Fn,useDropzone as In}from"./components/dropzone.js";import{Empty as Ln,EmptyContent as Rn,EmptyDescription as zn,EmptyHeader as Bn,EmptyMedia as Vn,EmptyTitle as Hn}from"./components/empty.js";import{Grid as Un,GridItem as Wn}from"./components/grid.js";import{Group as Gn,groupVariants as Kn}from"./components/group.js";import{Heading as qn,headingVariants as Jn}from"./components/heading.js";import{HoverCard as Yn,HoverCardContent as Xn,HoverCardTrigger as Zn}from"./components/hover-card.js";import{InputOTP as Qn,InputOTPGroup as $n,InputOTPSeparator as er,InputOTPSlot as tr,REGEXP_ONLY_CHARS as nr,REGEXP_ONLY_DIGITS as rr,REGEXP_ONLY_DIGITS_AND_CHARS as ir}from"./components/input-otp.js";import{Kbd as ar,KbdGroup as or}from"./components/kbd.js";import{List as sr,ListIcon as cr,ListItem as lr,listVariants as ur}from"./components/list.js";import{NativeSelect as dr,NativeSelectOptGroup as fr,NativeSelectOption as pr}from"./components/native-select.js";import{NavigationMenu as mr,NavigationMenuContent as hr,NavigationMenuIndicator as gr,NavigationMenuItem as _r,NavigationMenuLink as vr,NavigationMenuList as yr,NavigationMenuTrigger as br,NavigationMenuViewport as xr,navigationMenuTriggerStyle as Sr}from"./components/navigation-menu.js";import{Pagination as Cr,PaginationContent as wr,PaginationEllipsis as Tr,PaginationItem as Er,PaginationLink as Dr,PaginationNext as Or,PaginationPrevious as kr}from"./components/pagination.js";import{Progress as Ar}from"./components/progress.js";import{RadioGroup as jr,RadioGroupItem as Mr}from"./components/radio-group.js";import{ResizableHandle as Nr,ResizablePanel as Pr,ResizablePanelGroup as Fr}from"./components/resizable.js";import{ScrollArea as Ir,ScrollBar as Lr}from"./components/scroll-area.js";import{Select as Rr,SelectContent as zr,SelectGroup as Br,SelectItem as Vr,SelectLabel as Hr,SelectScrollDownButton as Ur,SelectScrollUpButton as Wr,SelectSeparator as Gr,SelectTrigger as Kr,SelectValue as qr}from"./components/select.js";import{useIsMobile as Jr}from"./hooks/use-mobile.js";import{Skeleton as Yr}from"./components/skeleton.js";import{Tooltip as Xr,TooltipContent as Zr,TooltipProvider as Qr,TooltipRoot as $r,TooltipTrigger as ei}from"./components/tooltip.js";import{Sidebar as ti,SidebarContent as ni,SidebarFooter as ri,SidebarGroup as ii,SidebarGroupAction as ai,SidebarGroupContent as oi,SidebarGroupLabel as si,SidebarHeader as ci,SidebarInput as li,SidebarInset as ui,SidebarMenu as di,SidebarMenuAction as fi,SidebarMenuBadge as pi,SidebarMenuButton as mi,SidebarMenuItem as hi,SidebarMenuSkeleton as gi,SidebarMenuSub as _i,SidebarMenuSubButton as vi,SidebarMenuSubItem as yi,SidebarProvider as bi,SidebarRail as xi,SidebarSeparator as Si,SidebarTrigger as Ci,useSidebar as wi}from"./components/sidebar.js";import{SimpleGrid as Ti}from"./components/simple-grid.js";import{Slider as Ei}from"./components/slider.js";import{Toaster as Di,toast as Oi}from"./components/sonner.js";import{Stack as ki,stackVariants as Ai}from"./components/stack.js";import{Switch as ji}from"./components/switch.js";import{Table as Mi,TableBody as Ni,TableCaption as Pi,TableCell as Fi,TableFooter as Ii,TableHead as Li,TableHeader as Ri,TableRow as zi}from"./components/table.js";import{Tabs as Bi,TabsContent as Vi,TabsList as Hi,TabsTrigger as Ui,tabsListVariants as Wi}from"./components/tabs.js";import{Text as Gi,textVariants as Ki}from"./components/text.js";import{ModeToggle as qi,ThemeProvider as Ji,useTheme as Yi}from"./components/theme.js";import{Timeline as Xi,TimelineConnector as Zi,TimelineContent as Qi,TimelineDescription as $i,TimelineEmpty as ea,TimelineHeader as ta,TimelineIcon as na,TimelineItem as ra,TimelineTime as ia,TimelineTitle as aa,timelineVariants as oa}from"./components/timeline.js";import{Toggle as sa,toggleVariants as ca}from"./components/toggle.js";import{ToggleGroup as la,ToggleGroupItem as ua}from"./components/toggle-group.js";import{UnstyledButton as da}from"./components/unstyled-button.js";import{breakpointValues as fa,useBreakpoint as pa}from"./hooks/use-breakpoint.js";import{HiddenFrom as ma,VisibleFrom as ha}from"./components/visibility.js";import{useBreakpointValue as ga}from"./hooks/use-breakpoint-value.js";import{useDisclosure as _a}from"./hooks/use-disclosure.js";import{useDocumentVisibility as va}from"./hooks/use-document-visibility.js";import{useIdle as ya}from"./hooks/use-idle.js";import{useInterval as ba}from"./hooks/use-interval.js";import{useLocalStorage as xa}from"./hooks/use-local-storage.js";export{n as Accordion,r as AccordionContent,i as AccordionItem,a as AccordionTrigger,o as Alert,s as AlertAction,c as AlertDescription,h as AlertDialog,g as AlertDialogAction,_ as AlertDialogCancel,v as AlertDialogContent,y as AlertDialogDescription,b as AlertDialogFooter,x as AlertDialogHeader,S as AlertDialogMedia,C as AlertDialogOverlay,w as AlertDialogPortal,T as AlertDialogTitle,E as AlertDialogTrigger,l as AlertTitle,D as Anchor,k as Avatar,A as AvatarBadge,j as AvatarFallback,M as AvatarGroup,N as AvatarGroupCount,P as AvatarImage,F as Badge,pe as Bar,me as BarChart,L as Breadcrumb,R as BreadcrumbEllipsis,z as BreadcrumbItem,B as BreadcrumbLink,V as BreadcrumbList,H as BreadcrumbPage,U as BreadcrumbSeparator,p as Button,G as ButtonGroup,K as ButtonGroupSeparator,q as ButtonGroupText,Y as Calendar,X as CalendarDayButton,Q as Card,$ as CardAction,ee as CardContent,te as CardDescription,ne as CardFooter,re as CardHeader,ie as CardTitle,ae as Carousel,oe as CarouselContent,se as CarouselItem,ce as CarouselNext,le as CarouselPrevious,he as CartesianGrid,de as Center,ge as ChartContainer,_e as ChartLegend,ve as ChartLegendContent,ye as ChartStyle,be as ChartTooltip,xe as ChartTooltipContent,Le as Checkbox,Re as Code,ze as Collapsible,Be as CollapsibleContent,Ve as CollapsibleTrigger,Xe as Combobox,Ze as ComboboxChip,Qe as ComboboxChips,$e as ComboboxChipsInput,et as ComboboxClear,tt as ComboboxCollection,nt as ComboboxContent,rt as ComboboxEmpty,it as ComboboxGroup,at as ComboboxInput,ot as ComboboxItem,st as ComboboxLabel,ct as ComboboxList,lt as ComboboxSeparator,ut as ComboboxTrigger,dt as ComboboxValue,Ct as Command,wt as CommandDialog,Tt as CommandEmpty,Et as CommandGroup,Dt as CommandInput,Ot as CommandItem,kt as CommandList,At as CommandSeparator,jt as CommandShortcut,Mt as Container,Vt as DateRangePicker,Ht as DateRangePickerActions,Ut as DateRangePickerApply,Wt as DateRangePickerCalendar,Gt as DateRangePickerContent,Kt as DateRangePickerDateFields,qt as DateRangePickerPreset,Jt as DateRangePickerPresets,Yt as DateRangePickerReset,Xt as DateRangePickerTrigger,Zt as DateRangePickerValue,pt as Dialog,mt as DialogClose,ht as DialogContent,gt as DialogDescription,_t as DialogFooter,vt as DialogHeader,yt as DialogOverlay,bt as DialogPortal,xt as DialogTitle,St as DialogTrigger,Qt as Drawer,$t as DrawerClose,en as DrawerContent,tn as DrawerDescription,nn as DrawerFooter,rn as DrawerHeader,an as DrawerOverlay,on as DrawerPortal,sn as DrawerTitle,cn as DrawerTrigger,ln as DropdownMenu,un as DropdownMenuCheckboxItem,dn as DropdownMenuContent,fn as DropdownMenuGroup,pn as DropdownMenuItem,mn as DropdownMenuLabel,hn as DropdownMenuPortal,gn as DropdownMenuRadioGroup,_n as DropdownMenuRadioItem,vn as DropdownMenuSeparator,yn as DropdownMenuShortcut,bn as DropdownMenuSub,xn as DropdownMenuSubContent,Sn as DropdownMenuSubTrigger,Cn as DropdownMenuTrigger,wn as Dropzone,Tn as DropzoneArea,En as DropzoneDescription,Dn as DropzoneFileList,On as DropzoneFileListItem,kn as DropzoneFileMessage,An as DropzoneMessage,jn as DropzoneRemoveFile,Mn as DropzoneRetryFile,Nn as DropzoneTrigger,Ln as Empty,Rn as EmptyContent,zn as EmptyDescription,Bn as EmptyHeader,Vn as EmptyMedia,Hn as EmptyTitle,Pn as ErrorCode,Ee as Field,De as FieldContent,Oe as FieldDescription,ke as FieldError,Ae as FieldGroup,je as FieldLabel,Me as FieldLegend,Ne as FieldSeparator,Pe as FieldSet,Fe as FieldTitle,Un as Grid,Wn as GridItem,Gn as Group,qn as Heading,ma as HiddenFrom,Yn as HoverCard,Xn as HoverCardContent,Zn as HoverCardTrigger,Fn as InfiniteProgress,He as Input,We as InputGroup,Ge as InputGroupAddon,Ke as InputGroupButton,qe as InputGroupInput,Je as InputGroupText,Ye as InputGroupTextarea,Qn as InputOTP,$n as InputOTPGroup,er as InputOTPSeparator,tr as InputOTPSlot,ar as Kbd,or as KbdGroup,Te as Label,sr as List,cr as ListIcon,lr as ListItem,qi as ModeToggle,dr as NativeSelect,fr as NativeSelectOptGroup,pr as NativeSelectOption,mr as NavigationMenu,hr as NavigationMenuContent,gr as NavigationMenuIndicator,_r as NavigationMenuItem,vr as NavigationMenuLink,yr as NavigationMenuList,br as NavigationMenuTrigger,xr as NavigationMenuViewport,Cr as Pagination,wr as PaginationContent,Tr as PaginationEllipsis,Er as PaginationItem,Dr as PaginationLink,Or as PaginationNext,kr as PaginationPrevious,Pt as Popover,Ft as PopoverAnchor,It as PopoverContent,Lt as PopoverDescription,Rt as PopoverHeader,zt as PopoverTitle,Bt as PopoverTrigger,Ar as Progress,nr as REGEXP_ONLY_CHARS,rr as REGEXP_ONLY_DIGITS,ir as REGEXP_ONLY_DIGITS_AND_CHARS,jr as RadioGroup,Mr as RadioGroupItem,Nr as ResizableHandle,Pr as ResizablePanel,Fr as ResizablePanelGroup,Ir as ScrollArea,Lr as ScrollBar,Rr as Select,zr as SelectContent,Br as SelectGroup,Vr as SelectItem,Hr as SelectLabel,Ur as SelectScrollDownButton,Wr as SelectScrollUpButton,Gr as SelectSeparator,Kr as SelectTrigger,qr as SelectValue,W as Separator,ti as Sidebar,ni as SidebarContent,ri as SidebarFooter,ii as SidebarGroup,ai as SidebarGroupAction,oi as SidebarGroupContent,si as SidebarGroupLabel,ci as SidebarHeader,li as SidebarInput,ui as SidebarInset,di as SidebarMenu,fi as SidebarMenuAction,pi as SidebarMenuBadge,mi as SidebarMenuButton,hi as SidebarMenuItem,gi as SidebarMenuSkeleton,_i as SidebarMenuSub,vi as SidebarMenuSubButton,yi as SidebarMenuSubItem,bi as SidebarProvider,xi as SidebarRail,Si as SidebarSeparator,Ci as SidebarTrigger,Ti as SimpleGrid,Yr as Skeleton,Ei as Slider,d as Spinner,ki as Stack,ji as Switch,Mi as Table,Ni as TableBody,Pi as TableCaption,Fi as TableCell,Ii as TableFooter,Li as TableHead,Ri as TableHeader,zi as TableRow,Bi as Tabs,Vi as TabsContent,Hi as TabsList,Ui as TabsTrigger,Gi as Text,Ue as Textarea,Ji as ThemeProvider,Xi as Timeline,Zi as TimelineConnector,Qi as TimelineContent,$i as TimelineDescription,ea as TimelineEmpty,ta as TimelineHeader,na as TimelineIcon,ra as TimelineItem,ia as TimelineTime,aa as TimelineTitle,Di as Toaster,sa as Toggle,la as ToggleGroup,ua as ToggleGroupItem,Xr as Tooltip,Zr as TooltipContent,Qr as TooltipProvider,$r as TooltipRoot,ei as TooltipTrigger,da as UnstyledButton,ha as VisibleFrom,Se as XAxis,O as anchorVariants,I as badgeVariants,fa as breakpointValues,u as buttonColorVariants,J as buttonGroupVariants,m as buttonVariants,fe as centerVariants,e as cn,Nt as containerVariants,Kn as groupVariants,Jn as headingVariants,ur as listVariants,Z as locale,Sr as navigationMenuTriggerStyle,t as randomId,Ce as selectionControlColorVariants,f as spinnerVariants,Ai as stackVariants,Wi as tabsListVariants,Ki as textVariants,oa as timelineVariants,Oi as toast,ca as toggleVariants,we as uiColors,pa as useBreakpoint,ga as useBreakpointValue,ue as useCarousel,ft as useComboboxAnchor,_a as useDisclosure,va as useDocumentVisibility,In as useDropzone,Ie as useFieldControlId,ya as useIdle,ba as useInterval,Jr as useIsMobile,xa as useLocalStorage,wi as useSidebar,Yi as useTheme};
@@ -55,5 +55,5 @@ Unable to find an `+(a===!1?`accessible `:``)+`element with the role "`+r+`"`+d+
55
55
  `+u).trim()},xr=wrapAllByQueryWithSuggestion(queryAllByRole,queryAllByRole.name,`queryAll`),[Sr,Cr,wr,Tr,Er]=buildQueries(queryAllByRole,getMultipleError$1,getMissingError$1),getTestIdAttribute=()=>getConfig$1().testIdAttribute,queryAllByTestId=function(){var t=[...arguments];return checkContainerType(t[0]),queryAllByAttribute(getTestIdAttribute(),...t)},getMultipleError=(t,r)=>`Found multiple elements by: [`+getTestIdAttribute()+`="`+r+`"]`,getMissingError=(t,r)=>`Unable to find an element by: [`+getTestIdAttribute()+`="`+r+`"]`,Dr=wrapAllByQueryWithSuggestion(queryAllByTestId,queryAllByTestId.name,`queryAll`),[Or,kr,Ar,jr,Mr]=buildQueries(queryAllByTestId,getMultipleError,getMissingError);var Z=Object.freeze({__proto__:null,queryAllByLabelText:Un,queryByLabelText:Ln,getAllByLabelText:Vn,getByLabelText:Hn,findAllByLabelText:zn,findByLabelText:Bn,queryByPlaceholderText:Gn,queryAllByPlaceholderText:Wn,getByPlaceholderText:qn,getAllByPlaceholderText:Kn,findAllByPlaceholderText:Jn,findByPlaceholderText:Yn,queryByText:Zn,queryAllByText:Xn,getByText:$n,getAllByText:Qn,findAllByText:er,findByText:tr,queryByDisplayValue:rr,queryAllByDisplayValue:nr,getByDisplayValue:ar,getAllByDisplayValue:ir,findAllByDisplayValue:or,findByDisplayValue:sr,queryByAltText:ur,queryAllByAltText:lr,getByAltText:fr,getAllByAltText:dr,findAllByAltText:pr,findByAltText:mr,queryByTitle:gr,queryAllByTitle:hr,getByTitle:vr,getAllByTitle:_r,findAllByTitle:yr,findByTitle:br,queryByRole:Sr,queryAllByRole:xr,getAllByRole:Cr,getByRole:wr,findAllByRole:Tr,findByRole:Er,queryByTestId:Or,queryAllByTestId:Dr,getByTestId:Ar,getAllByTestId:kr,findAllByTestId:jr,findByTestId:Mr});function getQueriesForElement(t,r,i){return r===void 0&&(r=Z),i===void 0&&(i={}),Object.keys(r).reduce((i,a)=>(i[a]=r[a].bind(null,t),i),i)}const Nr={copy:{EventType:`ClipboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:`ClipboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:`ClipboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:`CompositionEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:`CompositionEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:`CompositionEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:`KeyboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:`KeyboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:`KeyboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:`FocusEvent`,defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:`FocusEvent`,defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:`FocusEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:`FocusEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:`Event`,defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:`InputEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:`Event`,defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:`Event`,defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:`MouseEvent`,defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:`MouseEvent`,defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:`Event`,defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:`TouchEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:`TouchEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:`TouchEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:`TouchEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:`UIEvent`,defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:`UIEvent`,defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:`WheelEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:`ProgressEvent`,defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:`ProgressEvent`,defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:`AnimationEvent`,defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:`AnimationEvent`,defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:`AnimationEvent`,defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:`TransitionEvent`,defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:`TransitionEvent`,defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:`TransitionEvent`,defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:`TransitionEvent`,defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:`PointerEvent`,defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:`PointerEvent`,defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:`PopStateEvent`,defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:`PageTransitionEvent`,defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:`PageTransitionEvent`,defaultInit:{bubbles:!0,cancelable:!0}}},Pr={doubleClick:`dblClick`};function fireEvent$1(t,r){return getConfig$1().eventWrapper(()=>{if(!r)throw Error(`Unable to fire an event - please provide an event object.`);if(!t)throw Error(`Unable to fire a "`+r.type+`" event - please provide a DOM element.`);return t.dispatchEvent(r)})}t(fireEvent$1,`fireEvent`);function createEvent(t,r,i,a){let{EventType:o=`Event`,defaultInit:c={}}=a===void 0?{}:a;if(!r)throw Error(`Unable to fire a "`+t+`" event - please provide a DOM element.`);let l={...c,...i},{target:{value:u,files:d,...p}={}}=l;u!==void 0&&setNativeValue(r,u),d!==void 0&&Object.defineProperty(r,`files`,{configurable:!0,enumerable:!0,writable:!0,value:d}),Object.assign(r,p);let m=getWindowFromNode(r),h=m[o]||m.Event,g;if(typeof h==`function`)g=new h(t,l);else{g=m.document.createEvent(o);let{bubbles:r,cancelable:i,detail:a,...c}=l;g.initEvent(t,r,i,a),Object.keys(c).forEach(t=>{g[t]=c[t]})}return[`dataTransfer`,`clipboardData`].forEach(t=>{let r=l[t];typeof r==`object`&&(typeof m.DataTransfer==`function`?Object.defineProperty(g,t,{value:Object.getOwnPropertyNames(r).reduce((t,i)=>(Object.defineProperty(t,i,{value:r[i]}),t),new m.DataTransfer)}):Object.defineProperty(g,t,{value:r}))}),g}Object.keys(Nr).forEach(t=>{let{EventType:r,defaultInit:i}=Nr[t],a=t.toLowerCase();createEvent[t]=(t,o)=>createEvent(a,t,o,{EventType:r,defaultInit:i}),fireEvent$1[t]=(r,i)=>fireEvent$1(r,createEvent[t](r,i))});function setNativeValue(t,r){let{set:i}=Object.getOwnPropertyDescriptor(t,`value`)||{},{set:a}=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),`value`)||{};if(a&&i!==a)a.call(t,r);else if(i)i.call(t,r);else throw Error(`The given element does not have a value setter`)}Object.keys(Pr).forEach(t=>{let r=Pr[t];fireEvent$1[t]=function(){return fireEvent$1[r](...arguments)}});function unindent(t){return t.replace(/[ \t]*[\n][ \t]*/g,`
56
56
  `)}function encode(t){return An.default.compressToEncodedURIComponent(unindent(t))}function getPlaygroundUrl(t){return`https://testing-playground.com/#markup=`+encode(t)}const debug=(t,r,i)=>Array.isArray(t)?t.forEach(t=>logDOM(t,r,i)):logDOM(t,r,i),logTestingPlaygroundURL=function(t){if(t===void 0&&(t=getDocument().body),!t||!(`innerHTML`in t)){console.log(`The element you're providing isn't a valid DOM element.`);return}if(!t.innerHTML){console.log(`The provided element doesn't have any children.`);return}let r=getPlaygroundUrl(t.innerHTML);return console.log(`Open this URL in your browser
57
57
 
58
- `+r),r},Fr={debug,logTestingPlaygroundURL};typeof document<`u`&&document.body?getQueriesForElement(document.body,Z,Fr):Object.keys(Z).reduce((t,r)=>(t[r]=()=>{throw TypeError(`For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error`)},t),Fr);const Ir=typeof a.act==`function`?a.act:o.act;function getGlobalThis(){if(typeof globalThis<`u`)return globalThis;if(typeof self<`u`)return self;if(typeof window<`u`)return window;if(typeof global<`u`)return global;throw Error(`unable to locate global object`)}function setIsReactActEnvironment(t){getGlobalThis().IS_REACT_ACT_ENVIRONMENT=t}function getIsReactActEnvironment(){return getGlobalThis().IS_REACT_ACT_ENVIRONMENT}function withGlobalActEnvironment(t){return r=>{let i=getIsReactActEnvironment();setIsReactActEnvironment(!0);try{let a=!1,o=t(()=>{let t=r();return typeof t==`object`&&t&&typeof t.then==`function`&&(a=!0),t});if(a){let t=o;return{then:(r,a)=>{t.then(t=>{setIsReactActEnvironment(i),r(t)},t=>{setIsReactActEnvironment(i),a(t)})}}}else return setIsReactActEnvironment(i),o}catch(t){throw setIsReactActEnvironment(i),t}}}const Q=withGlobalActEnvironment(Ir),fireEvent=(...t)=>fireEvent$1(...t);Object.keys(fireEvent$1).forEach(t=>{fireEvent[t]=(...r)=>fireEvent$1[t](...r)});const Lr=fireEvent.mouseEnter,Rr=fireEvent.mouseLeave;fireEvent.mouseEnter=(...t)=>(Lr(...t),fireEvent.mouseOver(...t)),fireEvent.mouseLeave=(...t)=>(Rr(...t),fireEvent.mouseOut(...t));const zr=fireEvent.pointerEnter,Br=fireEvent.pointerLeave;fireEvent.pointerEnter=(...t)=>(zr(...t),fireEvent.pointerOver(...t)),fireEvent.pointerLeave=(...t)=>(Br(...t),fireEvent.pointerOut(...t));const Vr=fireEvent.select;fireEvent.select=(t,r)=>{Vr(t,r),t.focus(),fireEvent.keyUp(t,r)};const Hr=fireEvent.blur,Ur=fireEvent.focus;fireEvent.blur=(...t)=>(fireEvent.focusOut(...t),Hr(...t)),fireEvent.focus=(...t)=>(fireEvent.focusIn(...t),Ur(...t));let Wr={reactStrictMode:!1};function getConfig(){return{...getConfig$1(),...Wr}}function jestFakeTimersAreEnabled(){return typeof jest<`u`&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,`clock`):!1}configure({unstable_advanceTimersWrapper:t=>Q(t),asyncWrapper:async t=>{let r=getIsReactActEnvironment();setIsReactActEnvironment(!1);try{let r=await t();return await new Promise(t=>{setTimeout(()=>{t()},0),jestFakeTimersAreEnabled()&&jest.advanceTimersByTime(0)}),r}finally{setIsReactActEnvironment(r)}},eventWrapper:t=>{let r;return Q(()=>{r=t()}),r}});const Gr=new Set,$=[];function strictModeIfNeeded(t,r){return r??getConfig().reactStrictMode?a.createElement(a.StrictMode,null,t):t}function wrapUiIfNeeded(t,r){return r?a.createElement(r,null,t):t}function createConcurrentRoot(t,{hydrate:r,onCaughtError:i,onRecoverableError:a,ui:o,wrapper:c,reactStrictMode:u}){let d;return r?Q(()=>{d=l.hydrateRoot(t,strictModeIfNeeded(wrapUiIfNeeded(o,c),u),{onCaughtError:i,onRecoverableError:a})}):d=l.createRoot(t,{onCaughtError:i,onRecoverableError:a}),{hydrate(){if(!r)throw Error("Attempted to hydrate a non-hydrateable root. This is a bug in `@testing-library/react`.")},render(t){d.render(t)},unmount(){d.unmount()}}}function createLegacyRoot(t){return{hydrate(r){c.hydrate(r,t)},render(r){c.render(r,t)},unmount(){c.unmountComponentAtNode(t)}}}function renderRoot(t,{baseElement:r,container:i,hydrate:a,queries:o,root:c,wrapper:l,reactStrictMode:u}){return Q(()=>{a?c.hydrate(strictModeIfNeeded(wrapUiIfNeeded(t,l),u),i):c.render(strictModeIfNeeded(wrapUiIfNeeded(t,l),u),i)}),{container:i,baseElement:r,debug:(t=r,i,a)=>Array.isArray(t)?t.forEach(t=>console.log(prettyDOM(t,i,a))):console.log(prettyDOM(t,i,a)),unmount:()=>{Q(()=>{c.unmount()})},rerender:t=>{renderRoot(t,{container:i,baseElement:r,root:c,wrapper:l,reactStrictMode:u})},asFragment:()=>{if(typeof document.createRange==`function`)return document.createRange().createContextualFragment(i.innerHTML);{let t=document.createElement(`template`);return t.innerHTML=i.innerHTML,t.content}},...getQueriesForElement(r,o)}}function render(t,{container:r,baseElement:i=r,legacyRoot:a=!1,onCaughtError:o,onUncaughtError:l,onRecoverableError:u,queries:d,hydrate:p=!1,wrapper:m,reactStrictMode:h}={}){if(l!==void 0)throw Error("onUncaughtError is not supported. The `render` call will already throw on uncaught errors.");if(a&&typeof c.render!=`function`){let t=Error("`legacyRoot: true` is not supported in this version of React. If your app runs React 19 or later, you should remove this flag. If your app runs React 18 or earlier, visit https://react.dev/blog/2022/03/08/react-18-upgrade-guide for upgrade instructions.");throw Error.captureStackTrace(t,render),t}i||=document.body,r||=i.appendChild(document.createElement(`div`));let g;return Gr.has(r)?$.forEach(t=>{t.container===r&&(g=t.root)}):(g=(a?createLegacyRoot:createConcurrentRoot)(r,{hydrate:p,onCaughtError:o,onRecoverableError:u,ui:t,wrapper:m,reactStrictMode:h}),$.push({container:r,root:g}),Gr.add(r)),renderRoot(t,{container:r,baseElement:i,queries:d,hydrate:p,wrapper:m,root:g,reactStrictMode:h})}function cleanup(){$.forEach(({root:t,container:r})=>{Q(()=>{t.unmount()}),r.parentNode===document.body&&document.body.removeChild(r)}),$.length=0,Gr.clear()}function renderHook(t,r={}){let{initialProps:i,...o}=r;if(o.legacyRoot&&typeof c.render!=`function`){let t=Error("`legacyRoot: true` is not supported in this version of React. If your app runs React 19 or later, you should remove this flag. If your app runs React 18 or earlier, visit https://react.dev/blog/2022/03/08/react-18-upgrade-guide for upgrade instructions.");throw Error.captureStackTrace(t,renderHook),t}let l=a.createRef();function TestComponent({renderCallbackProps:r}){let i=t(r);return a.useEffect(()=>{l.current=i}),null}let{rerender:u,unmount:d}=render(a.createElement(TestComponent,{renderCallbackProps:i}),o);function rerender(t){return u(a.createElement(TestComponent,{renderCallbackProps:t}))}return{result:l,rerender,unmount:d}}if((typeof process>`u`||!process.env?.RTL_SKIP_AUTO_CLEANUP)&&(typeof afterEach==`function`?afterEach(()=>{cleanup()}):typeof teardown==`function`&&teardown(()=>{cleanup()}),typeof beforeAll==`function`&&typeof afterAll==`function`)){let t=getIsReactActEnvironment();beforeAll(()=>{t=getIsReactActEnvironment(),setIsReactActEnvironment(!0)}),afterAll(()=>{setIsReactActEnvironment(t)})}export{renderHook as n,Q as t};
59
- //# sourceMappingURL=react.esm-BuxkFT_p.js.map
58
+ `+r),r},Fr={debug,logTestingPlaygroundURL},Ir=typeof document<`u`&&document.body?getQueriesForElement(document.body,Z,Fr):Object.keys(Z).reduce((t,r)=>(t[r]=()=>{throw TypeError(`For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error`)},t),Fr),Lr=typeof a.act==`function`?a.act:o.act;function getGlobalThis(){if(typeof globalThis<`u`)return globalThis;if(typeof self<`u`)return self;if(typeof window<`u`)return window;if(typeof global<`u`)return global;throw Error(`unable to locate global object`)}function setIsReactActEnvironment(t){getGlobalThis().IS_REACT_ACT_ENVIRONMENT=t}function getIsReactActEnvironment(){return getGlobalThis().IS_REACT_ACT_ENVIRONMENT}function withGlobalActEnvironment(t){return r=>{let i=getIsReactActEnvironment();setIsReactActEnvironment(!0);try{let a=!1,o=t(()=>{let t=r();return typeof t==`object`&&t&&typeof t.then==`function`&&(a=!0),t});if(a){let t=o;return{then:(r,a)=>{t.then(t=>{setIsReactActEnvironment(i),r(t)},t=>{setIsReactActEnvironment(i),a(t)})}}}else return setIsReactActEnvironment(i),o}catch(t){throw setIsReactActEnvironment(i),t}}}const Q=withGlobalActEnvironment(Lr),fireEvent=(...t)=>fireEvent$1(...t);Object.keys(fireEvent$1).forEach(t=>{fireEvent[t]=(...r)=>fireEvent$1[t](...r)});const Rr=fireEvent.mouseEnter,zr=fireEvent.mouseLeave;fireEvent.mouseEnter=(...t)=>(Rr(...t),fireEvent.mouseOver(...t)),fireEvent.mouseLeave=(...t)=>(zr(...t),fireEvent.mouseOut(...t));const Br=fireEvent.pointerEnter,Vr=fireEvent.pointerLeave;fireEvent.pointerEnter=(...t)=>(Br(...t),fireEvent.pointerOver(...t)),fireEvent.pointerLeave=(...t)=>(Vr(...t),fireEvent.pointerOut(...t));const Hr=fireEvent.select;fireEvent.select=(t,r)=>{Hr(t,r),t.focus(),fireEvent.keyUp(t,r)};const Ur=fireEvent.blur,Wr=fireEvent.focus;fireEvent.blur=(...t)=>(fireEvent.focusOut(...t),Ur(...t)),fireEvent.focus=(...t)=>(fireEvent.focusIn(...t),Wr(...t));let Gr={reactStrictMode:!1};function getConfig(){return{...getConfig$1(),...Gr}}function jestFakeTimersAreEnabled(){return typeof jest<`u`&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,`clock`):!1}configure({unstable_advanceTimersWrapper:t=>Q(t),asyncWrapper:async t=>{let r=getIsReactActEnvironment();setIsReactActEnvironment(!1);try{let r=await t();return await new Promise(t=>{setTimeout(()=>{t()},0),jestFakeTimersAreEnabled()&&jest.advanceTimersByTime(0)}),r}finally{setIsReactActEnvironment(r)}},eventWrapper:t=>{let r;return Q(()=>{r=t()}),r}});const Kr=new Set,$=[];function strictModeIfNeeded(t,r){return r??getConfig().reactStrictMode?a.createElement(a.StrictMode,null,t):t}function wrapUiIfNeeded(t,r){return r?a.createElement(r,null,t):t}function createConcurrentRoot(t,{hydrate:r,onCaughtError:i,onRecoverableError:a,ui:o,wrapper:c,reactStrictMode:u}){let d;return r?Q(()=>{d=l.hydrateRoot(t,strictModeIfNeeded(wrapUiIfNeeded(o,c),u),{onCaughtError:i,onRecoverableError:a})}):d=l.createRoot(t,{onCaughtError:i,onRecoverableError:a}),{hydrate(){if(!r)throw Error("Attempted to hydrate a non-hydrateable root. This is a bug in `@testing-library/react`.")},render(t){d.render(t)},unmount(){d.unmount()}}}function createLegacyRoot(t){return{hydrate(r){c.hydrate(r,t)},render(r){c.render(r,t)},unmount(){c.unmountComponentAtNode(t)}}}function renderRoot(t,{baseElement:r,container:i,hydrate:a,queries:o,root:c,wrapper:l,reactStrictMode:u}){return Q(()=>{a?c.hydrate(strictModeIfNeeded(wrapUiIfNeeded(t,l),u),i):c.render(strictModeIfNeeded(wrapUiIfNeeded(t,l),u),i)}),{container:i,baseElement:r,debug:(t=r,i,a)=>Array.isArray(t)?t.forEach(t=>console.log(prettyDOM(t,i,a))):console.log(prettyDOM(t,i,a)),unmount:()=>{Q(()=>{c.unmount()})},rerender:t=>{renderRoot(t,{container:i,baseElement:r,root:c,wrapper:l,reactStrictMode:u})},asFragment:()=>{if(typeof document.createRange==`function`)return document.createRange().createContextualFragment(i.innerHTML);{let t=document.createElement(`template`);return t.innerHTML=i.innerHTML,t.content}},...getQueriesForElement(r,o)}}function render(t,{container:r,baseElement:i=r,legacyRoot:a=!1,onCaughtError:o,onUncaughtError:l,onRecoverableError:u,queries:d,hydrate:p=!1,wrapper:m,reactStrictMode:h}={}){if(l!==void 0)throw Error("onUncaughtError is not supported. The `render` call will already throw on uncaught errors.");if(a&&typeof c.render!=`function`){let t=Error("`legacyRoot: true` is not supported in this version of React. If your app runs React 19 or later, you should remove this flag. If your app runs React 18 or earlier, visit https://react.dev/blog/2022/03/08/react-18-upgrade-guide for upgrade instructions.");throw Error.captureStackTrace(t,render),t}i||=document.body,r||=i.appendChild(document.createElement(`div`));let g;return Kr.has(r)?$.forEach(t=>{t.container===r&&(g=t.root)}):(g=(a?createLegacyRoot:createConcurrentRoot)(r,{hydrate:p,onCaughtError:o,onRecoverableError:u,ui:t,wrapper:m,reactStrictMode:h}),$.push({container:r,root:g}),Kr.add(r)),renderRoot(t,{container:r,baseElement:i,queries:d,hydrate:p,wrapper:m,root:g,reactStrictMode:h})}function cleanup(){$.forEach(({root:t,container:r})=>{Q(()=>{t.unmount()}),r.parentNode===document.body&&document.body.removeChild(r)}),$.length=0,Kr.clear()}function renderHook(t,r={}){let{initialProps:i,...o}=r;if(o.legacyRoot&&typeof c.render!=`function`){let t=Error("`legacyRoot: true` is not supported in this version of React. If your app runs React 19 or later, you should remove this flag. If your app runs React 18 or earlier, visit https://react.dev/blog/2022/03/08/react-18-upgrade-guide for upgrade instructions.");throw Error.captureStackTrace(t,renderHook),t}let l=a.createRef();function TestComponent({renderCallbackProps:r}){let i=t(r);return a.useEffect(()=>{l.current=i}),null}let{rerender:u,unmount:d}=render(a.createElement(TestComponent,{renderCallbackProps:i}),o);function rerender(t){return u(a.createElement(TestComponent,{renderCallbackProps:t}))}return{result:l,rerender,unmount:d}}if((typeof process>`u`||!process.env?.RTL_SKIP_AUTO_CLEANUP)&&(typeof afterEach==`function`?afterEach(()=>{cleanup()}):typeof teardown==`function`&&teardown(()=>{cleanup()}),typeof beforeAll==`function`&&typeof afterAll==`function`)){let t=getIsReactActEnvironment();beforeAll(()=>{t=getIsReactActEnvironment(),setIsReactActEnvironment(!0)}),afterAll(()=>{setIsReactActEnvironment(t)})}export{Ir as i,render as n,renderHook as r,Q as t};
59
+ //# sourceMappingURL=react.esm-B3a5z6DL.js.map