@fluidattacks/design 8.1.0 → 8.2.0

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 (1372) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +8 -0
  2. package/dist/_virtual/_nodeUtil.js +4 -0
  3. package/dist/_virtual/capitalize.js +7 -0
  4. package/dist/_virtual/dayjs.min.js +8 -0
  5. package/dist/_virtual/dayjs.min2.js +4 -0
  6. package/dist/_virtual/index.js +5 -0
  7. package/dist/_virtual/index.umd.js +7 -0
  8. package/dist/_virtual/index.umd2.js +4 -0
  9. package/dist/_virtual/index2.js +7 -0
  10. package/dist/_virtual/index3.js +7 -0
  11. package/dist/_virtual/index4.js +7 -0
  12. package/dist/_virtual/index5.js +4 -0
  13. package/dist/_virtual/index6.js +4 -0
  14. package/dist/_virtual/index7.js +5 -0
  15. package/dist/_virtual/index8.js +4 -0
  16. package/dist/_virtual/index9.js +4 -0
  17. package/dist/_virtual/isBuffer.js +4 -0
  18. package/dist/_virtual/isEmpty.js +7 -0
  19. package/dist/_virtual/isEqual.js +7 -0
  20. package/dist/_virtual/isNaN.js +7 -0
  21. package/dist/_virtual/isNil.js +7 -0
  22. package/dist/_virtual/isNumber.js +7 -0
  23. package/dist/_virtual/isUndefined.js +7 -0
  24. package/dist/_virtual/localizedFormat.js +7 -0
  25. package/dist/_virtual/localizedFormat2.js +4 -0
  26. package/dist/_virtual/lodash.js +8 -0
  27. package/dist/_virtual/lodash2.js +4 -0
  28. package/dist/_virtual/lowerFirst.js +7 -0
  29. package/dist/_virtual/react-is.development.js +4 -0
  30. package/dist/_virtual/react-is.production.min.js +4 -0
  31. package/dist/_virtual/scrollparent.js +7 -0
  32. package/dist/_virtual/scrollparent2.js +4 -0
  33. package/dist/_virtual/snakeCase.js +7 -0
  34. package/dist/_virtual/some.js +7 -0
  35. package/dist/_virtual/transform.js +7 -0
  36. package/dist/_virtual/use-sync-external-store-shim.development.js +4 -0
  37. package/dist/_virtual/use-sync-external-store-shim.production.js +4 -0
  38. package/dist/components/@core/constants.js +78 -0
  39. package/dist/components/@core/index.js +18 -15
  40. package/dist/components/@core/styles.js +43 -0
  41. package/dist/components/@core/utils.js +115 -0
  42. package/dist/components/@core/variants/utils.js +6 -0
  43. package/dist/components/accordion/accordion-content/index.js +23 -3
  44. package/dist/components/accordion/index.js +93 -5
  45. package/dist/components/advanced-badge/index.js +75 -4
  46. package/dist/components/advisories-card/index.js +149 -5
  47. package/dist/components/alert/index.js +91 -4
  48. package/dist/components/alert/styles.js +116 -0
  49. package/dist/components/avatar/index.js +80 -5
  50. package/dist/components/avatar/styles.js +86 -0
  51. package/dist/components/button/index.js +104 -4
  52. package/dist/components/button/styles.js +117 -0
  53. package/dist/components/card/card-header/index.js +92 -4
  54. package/dist/components/card/card-with-image/index.js +93 -5
  55. package/dist/components/card/card-with-input/index.js +142 -5
  56. package/dist/components/card/card-with-input/styles.js +29 -0
  57. package/dist/components/card/card-with-options/index.js +83 -5
  58. package/dist/components/card/card-with-selector/index.js +134 -4
  59. package/dist/components/card/card-with-selector/styles.js +34 -0
  60. package/dist/components/card/card-with-switch/index.js +46 -4
  61. package/dist/components/card/index.js +13 -7
  62. package/dist/components/card/indicator-card/index.js +73 -5
  63. package/dist/components/card-container/index.js +30 -4
  64. package/dist/components/carousel/index.js +43 -6
  65. package/dist/components/carousel/styles.js +39 -0
  66. package/dist/components/checkbox/index.js +68 -4
  67. package/dist/components/checkbox/styles.js +82 -0
  68. package/dist/components/circular-progress/index.js +94 -4
  69. package/dist/components/cloud-image/index.js +25 -6
  70. package/dist/components/code-snippet/constants.js +72 -0
  71. package/dist/components/code-snippet/index.js +176 -6
  72. package/dist/components/colors/index.js +210 -6
  73. package/dist/components/conditions-dialog/index.js +88 -6
  74. package/dist/components/confirm-dialog/index.js +40 -6
  75. package/dist/components/container/index.js +31 -4
  76. package/dist/components/container/styles.js +23 -0
  77. package/dist/components/copy-button/index.js +41 -4
  78. package/dist/components/divider/index.js +25 -4
  79. package/dist/components/drawer/index.js +229 -6
  80. package/dist/components/drawer/styles.js +64 -0
  81. package/dist/components/dropdown/index.js +77 -6
  82. package/dist/components/dropdown/styles.js +45 -0
  83. package/dist/components/empty-state/empty-button/index.js +13 -3
  84. package/dist/components/empty-state/index.js +60 -3
  85. package/dist/components/empty-state/styles.js +41 -0
  86. package/dist/components/fa-tag/index.js +30 -3
  87. package/dist/components/fa-tag/styles.js +53 -0
  88. package/dist/components/file-preview/index.js +16 -3
  89. package/dist/components/file-preview/styles.js +27 -0
  90. package/dist/components/file-preview/utils.js +10 -0
  91. package/dist/components/filters/active-filters/active-filter/index.js +59 -3
  92. package/dist/components/filters/active-filters/index.js +49 -3
  93. package/dist/components/filters/active-filters/utils.js +64 -0
  94. package/dist/components/filters/context/index.js +17 -3
  95. package/dist/components/filters/filters-menu/index.js +199 -6
  96. package/dist/components/filters/hooks.js +25 -0
  97. package/dist/components/filters/index.js +219 -7
  98. package/dist/components/filters/options-menu/include-exclude/index.js +135 -5
  99. package/dist/components/filters/options-menu/include-exclude/multi-select.js +151 -0
  100. package/dist/components/filters/options-menu/include-exclude/styles.js +119 -0
  101. package/dist/components/filters/options-menu/index.js +289 -6
  102. package/dist/components/filters/options-menu/options/index.js +360 -6
  103. package/dist/components/filters/options-menu/single-select/index.js +236 -6
  104. package/dist/components/filters/options-menu/single-select/styles.js +33 -0
  105. package/dist/components/filters/options-menu/utils.js +4 -0
  106. package/dist/components/filters/search/no-matches/index.js +51 -4
  107. package/dist/components/filters/styles.js +121 -0
  108. package/dist/components/filters/utils.js +36 -0
  109. package/dist/components/form/index.js +103 -11
  110. package/dist/components/form/inner-form/index.js +8 -3
  111. package/dist/components/form/styles.js +15 -0
  112. package/dist/components/grid-container/index.js +33 -4
  113. package/dist/components/grid-container/styles.js +26 -0
  114. package/dist/components/group-selector/index.js +143 -6
  115. package/dist/components/group-selector/option-container/index.js +30 -6
  116. package/dist/components/group-selector/styles.js +42 -0
  117. package/dist/components/icon/index.js +54 -4
  118. package/dist/components/icon/styles.js +60 -0
  119. package/dist/components/icon-button/index.js +58 -4
  120. package/dist/components/icon-button/styles.js +29 -0
  121. package/dist/components/indicator-card-db/index.js +71 -5
  122. package/dist/components/indicator-card-db/styles.js +22 -0
  123. package/dist/components/inputs/fields/combobox/field/index.js +431 -6
  124. package/dist/components/inputs/fields/combobox/index.js +94 -4
  125. package/dist/components/inputs/fields/combobox/option/index.js +121 -6
  126. package/dist/components/inputs/fields/combobox/styles.js +132 -0
  127. package/dist/components/inputs/fields/date/calendar/cell/index.js +25 -5
  128. package/dist/components/inputs/fields/date/calendar/grid/index.js +23 -4
  129. package/dist/components/inputs/fields/date/calendar/header/index.js +42 -5
  130. package/dist/components/inputs/fields/date/calendar/index.js +29 -4
  131. package/dist/components/inputs/fields/date/calendar/styles.js +144 -0
  132. package/dist/components/inputs/fields/date/index.js +87 -5
  133. package/dist/components/inputs/fields/date-range/calendar/index.js +34 -5
  134. package/dist/components/inputs/fields/date-range/index.js +137 -5
  135. package/dist/components/inputs/fields/date-range/styles.js +16 -0
  136. package/dist/components/inputs/fields/date-time/calendar/index.js +49 -5
  137. package/dist/components/inputs/fields/date-time/calendar/styles.js +21 -0
  138. package/dist/components/inputs/fields/date-time/index.js +107 -5
  139. package/dist/components/inputs/fields/editable/index.js +26 -4
  140. package/dist/components/inputs/fields/input-array/field/index.js +69 -4
  141. package/dist/components/inputs/fields/input-array/index.js +65 -5
  142. package/dist/components/inputs/fields/input-file/default/index.js +65 -4
  143. package/dist/components/inputs/fields/input-file/dropzone/index.js +218 -5
  144. package/dist/components/inputs/fields/input-file/index.js +124 -5
  145. package/dist/components/inputs/fields/input-file/styles.js +137 -0
  146. package/dist/components/inputs/fields/input-section/index.js +29 -3
  147. package/dist/components/inputs/fields/input-tags/field/index.js +117 -5
  148. package/dist/components/inputs/fields/input-tags/index.js +64 -4
  149. package/dist/components/inputs/fields/input-tags/styles.js +11 -0
  150. package/dist/components/inputs/fields/number/compact/index.js +38 -4
  151. package/dist/components/inputs/fields/number/index.js +83 -3
  152. package/dist/components/inputs/fields/number-range/index.js +57 -3
  153. package/dist/components/inputs/fields/phone/index.js +181 -7
  154. package/dist/components/inputs/fields/phone/styles.js +110 -0
  155. package/dist/components/inputs/fields/text-area/index.js +94 -4
  156. package/dist/components/inputs/fields/text-input/index.js +133 -5
  157. package/dist/components/inputs/index.js +31 -16
  158. package/dist/components/inputs/label/index.js +51 -5
  159. package/dist/components/inputs/outline-container/index.js +106 -4
  160. package/dist/components/inputs/styles.js +264 -0
  161. package/dist/components/inputs/utils/action-button/index.js +29 -4
  162. package/dist/components/inputs/utils/calendar-button/index.js +35 -5
  163. package/dist/components/inputs/utils/date-selector/index.js +85 -4
  164. package/dist/components/inputs/utils/date-time-field/index.js +133 -7
  165. package/dist/components/inputs/utils/dialog/index.js +12 -5
  166. package/dist/components/inputs/utils/number-field/index.js +190 -6
  167. package/dist/components/inputs/utils/popover/index.js +61 -6
  168. package/dist/components/inputs/utils/styles.js +113 -0
  169. package/dist/components/inputs/utils.js +44 -0
  170. package/dist/components/item-card-db/index.js +70 -4
  171. package/dist/components/item-card-db/styles.js +47 -0
  172. package/dist/components/language-switcher/index.js +92 -7
  173. package/dist/components/language-switcher/language-option/index.js +35 -5
  174. package/dist/components/language-switcher/spinner/index.js +15 -3
  175. package/dist/components/language-switcher/styles.js +121 -0
  176. package/dist/components/layout/categories/buttons/index.js +14 -4
  177. package/dist/components/layout/categories/column/index.js +23 -3
  178. package/dist/components/layout/categories/column/styles.js +32 -0
  179. package/dist/components/layout/categories/gap/index.js +3 -2
  180. package/dist/components/layout/categories/gap/styles.js +17 -0
  181. package/dist/components/layout/categories/row/index.js +19 -3
  182. package/dist/components/layout/categories/row/styles.js +30 -0
  183. package/dist/components/layout/index.js +9 -6
  184. package/dist/components/link/index.js +61 -3
  185. package/dist/components/link/styles.js +57 -0
  186. package/dist/components/list-item/index.js +69 -6
  187. package/dist/components/list-item/styles.js +64 -0
  188. package/dist/components/little-flag/index.js +17 -3
  189. package/dist/components/little-flag/styles.js +18 -0
  190. package/dist/components/loading/index.js +22 -4
  191. package/dist/components/loading/styles.js +71 -0
  192. package/dist/components/loading/types.js +4 -0
  193. package/dist/components/logo/index.js +11 -3
  194. package/dist/components/lottie/index.js +7 -3
  195. package/dist/components/lottie/styles.js +16 -0
  196. package/dist/components/menu/index.js +57 -5
  197. package/dist/components/message-banner/index.js +76 -5
  198. package/dist/components/message-banner/styles.js +23 -0
  199. package/dist/components/modal/columns-modal/index.js +146 -6
  200. package/dist/components/modal/columns-modal/preview-panel/index.js +100 -5
  201. package/dist/components/modal/columns-modal/preview-panel/styles.js +29 -0
  202. package/dist/components/modal/columns-modal/search-panel/index.js +127 -4
  203. package/dist/components/modal/columns-modal/search-panel/styles.js +22 -0
  204. package/dist/components/modal/footer/index.js +57 -5
  205. package/dist/components/modal/header/index.js +65 -6
  206. package/dist/components/modal/index.js +112 -10
  207. package/dist/components/modal/modal-confirm/index.js +50 -3
  208. package/dist/components/modal/styles.js +156 -0
  209. package/dist/components/modal/utils.js +13 -0
  210. package/dist/components/notification/index.js +63 -5
  211. package/dist/components/notification/styles.js +62 -0
  212. package/dist/components/notification/utils.js +4 -0
  213. package/dist/components/notification-sign/index.js +23 -4
  214. package/dist/components/notification-sign/styles.js +34 -0
  215. package/dist/components/oauth-selector/index.js +93 -6
  216. package/dist/components/oauth-selector/option-container/index.js +74 -4
  217. package/dist/components/option-card/index.js +83 -5
  218. package/dist/components/package-card/index.js +105 -6
  219. package/dist/components/paginator-db/btn/index.js +19 -3
  220. package/dist/components/paginator-db/btn/styles.js +39 -0
  221. package/dist/components/paginator-db/dropdown/index.js +112 -6
  222. package/dist/components/paginator-db/index.js +123 -5
  223. package/dist/components/paginator-db/styles.js +31 -0
  224. package/dist/components/paginator-db/utils.js +21 -0
  225. package/dist/components/pop-up/description/index.js +58 -5
  226. package/dist/components/pop-up/index.js +164 -7
  227. package/dist/components/premium-feature/index.js +53 -4
  228. package/dist/components/premium-feature/styles.js +36 -0
  229. package/dist/components/priority-cards/card/index.js +81 -5
  230. package/dist/components/priority-cards/card/styles.js +18 -0
  231. package/dist/components/priority-cards/index.js +50 -6
  232. package/dist/components/priority-score/index.js +28 -4
  233. package/dist/components/progress-bar/index.js +61 -3
  234. package/dist/components/progress-bar/styles.js +95 -0
  235. package/dist/components/progress-indicator/in-progress-icon/index.js +51 -3
  236. package/dist/components/progress-indicator/index.js +29 -5
  237. package/dist/components/progress-indicator/step/index.js +81 -4
  238. package/dist/components/progress-indicator/styles.js +36 -0
  239. package/dist/components/radio-button/index.js +44 -4
  240. package/dist/components/radio-button/styles.js +85 -0
  241. package/dist/components/rank-position/icon/index.js +51 -3
  242. package/dist/components/rank-position/index.js +40 -4
  243. package/dist/components/rules-card/index.js +166 -6
  244. package/dist/components/scroll-button/index.js +49 -5
  245. package/dist/components/scroll-button/styles.js +13 -0
  246. package/dist/components/search/index.js +113 -6
  247. package/dist/components/search-dropdown/index.js +102 -6
  248. package/dist/components/search-dropdown/styles.js +79 -0
  249. package/dist/components/segmented-control/index.js +35 -4
  250. package/dist/components/segmented-control/styles.js +51 -0
  251. package/dist/components/segmented-progress-bar/index.js +47 -4
  252. package/dist/components/segmented-progress-bar/styles.js +35 -0
  253. package/dist/components/severity-badge/index.js +46 -4
  254. package/dist/components/severity-badge/utils.js +31 -0
  255. package/dist/components/severity-indicator/index.js +47 -4
  256. package/dist/components/severity-indicator/styles.js +23 -0
  257. package/dist/components/severity-indicator/utils.js +12 -0
  258. package/dist/components/severity-overview/badge/index.js +44 -4
  259. package/dist/components/severity-overview/index.js +15 -3
  260. package/dist/components/severity-overview/utils.js +29 -0
  261. package/dist/components/show-on-hover/index.js +11 -3
  262. package/dist/components/show-on-hover/styles.js +23 -0
  263. package/dist/components/slide-out-menu/index.js +142 -6
  264. package/dist/components/slide-out-menu/menu-item/index.js +65 -4
  265. package/dist/components/slide-out-menu/styles.js +29 -0
  266. package/dist/components/slider/index.js +79 -7
  267. package/dist/components/slider/styles.js +83 -0
  268. package/dist/components/slider/thumb/index.js +17 -5
  269. package/dist/components/slider/utils.js +4 -0
  270. package/dist/components/step-lapse/index.js +71 -4
  271. package/dist/components/step-lapse/styles.js +93 -0
  272. package/dist/components/summary-card/index.js +69 -4
  273. package/dist/components/table/context/index.js +13 -3
  274. package/dist/components/table/export-csv/index.js +40 -5
  275. package/dist/components/table/export-csv/utils.js +32 -0
  276. package/dist/components/table/index.js +22 -2
  277. package/dist/components/table/pagination/pagination-control/index.js +41 -4
  278. package/dist/components/table/pagination/pagination-control/styles.js +32 -0
  279. package/dist/components/table/pagination/pagination-dropdown/index.js +124 -6
  280. package/dist/components/table/pagination/pagination-size/index.js +29 -4
  281. package/dist/components/table/sort-icon/index.js +28 -4
  282. package/dist/components/table/sort-icon/styles.js +30 -0
  283. package/dist/components/table/styles.js +260 -0
  284. package/dist/components/table/table-body/index.js +108 -6
  285. package/dist/components/table/table-body/styles.js +10 -0
  286. package/dist/components/table/table-column-toggle/index.js +57 -5
  287. package/dist/components/table/table-content/head/index.js +149 -7
  288. package/dist/components/table/table-content/index.js +55 -4
  289. package/dist/components/table/table-footer/footer-content/index.js +4 -2
  290. package/dist/components/table/table-footer/index.js +16 -3
  291. package/dist/components/table/table-options/caption-content/index.js +6 -3
  292. package/dist/components/table/table-options/controls-content/index.js +6 -3
  293. package/dist/components/table/table-options/highlighted-content/index.js +5 -3
  294. package/dist/components/table/table-options/index.js +45 -4
  295. package/dist/components/table/table-options/styles.js +89 -0
  296. package/dist/components/table/wrapper/index.js +61 -6
  297. package/dist/components/table-button/index.js +47 -4
  298. package/dist/components/table-button/styles.js +59 -0
  299. package/dist/components/table-content/index.js +64 -5
  300. package/dist/components/table-content/item-content/index.js +60 -4
  301. package/dist/components/table-content/styles.js +17 -0
  302. package/dist/components/table-of-contents/index.js +42 -4
  303. package/dist/components/table-of-contents/styles.js +77 -0
  304. package/dist/components/tabs/index.js +61 -4
  305. package/dist/components/tabs/styles.js +64 -0
  306. package/dist/components/tabs/tab/index.js +42 -4
  307. package/dist/components/tag/index.js +102 -4
  308. package/dist/components/tag/styles.js +172 -0
  309. package/dist/components/timeline/card/index.js +50 -4
  310. package/dist/components/timeline/index.js +14 -4
  311. package/dist/components/timeline/styles.js +101 -0
  312. package/dist/components/toggle/index.js +96 -4
  313. package/dist/components/toggle/styles.js +186 -0
  314. package/dist/components/tooltip/index.js +133 -7
  315. package/dist/components/tooltip/styles.js +58 -0
  316. package/dist/components/tour/index.js +75 -7
  317. package/dist/components/tree/index.js +156 -5
  318. package/dist/components/truncated-list/index.js +51 -4
  319. package/dist/components/typography/heading/index.js +51 -4
  320. package/dist/components/typography/index.js +6 -4
  321. package/dist/components/typography/span/index.js +45 -4
  322. package/dist/components/typography/styles.js +141 -0
  323. package/dist/components/typography/text/index.js +53 -4
  324. package/dist/components/weaknesses-card/index.js +167 -6
  325. package/dist/components/weaknesses-card/styles.js +33 -0
  326. package/dist/globals/design-tokens-css/index.js +1 -1
  327. package/dist/globals/designs-provider/index.js +3 -3
  328. package/dist/hooks/index.js +18 -9
  329. package/dist/hooks/use-active-section.js +52 -0
  330. package/dist/hooks/use-carousel.js +19 -0
  331. package/dist/hooks/use-click-outside.js +20 -0
  332. package/dist/hooks/use-cloudinary-image.js +16 -0
  333. package/dist/hooks/use-columns-modal.js +54 -0
  334. package/dist/hooks/use-debounced-callback.js +9 -0
  335. package/dist/hooks/use-filters.js +188 -0
  336. package/dist/hooks/use-local-storage.js +36 -0
  337. package/dist/hooks/use-modal.js +14 -0
  338. package/dist/hooks/use-mount-effect.js +8 -0
  339. package/dist/hooks/use-query-states.js +55 -0
  340. package/dist/hooks/use-search.js +11 -0
  341. package/dist/index.js +334 -190
  342. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +8 -0
  343. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +7 -0
  344. package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +12 -0
  345. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +12 -0
  346. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +6 -0
  347. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +7 -0
  348. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +13 -0
  349. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +12 -0
  350. package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +10 -0
  351. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +14 -0
  352. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +9 -0
  353. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
  354. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +11 -0
  355. package/dist/node_modules/@cloudinary/react/dist/index.js +2385 -0
  356. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/background/actions/BackgroundColor.js +16 -0
  357. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryAction.js +20 -0
  358. package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryFormatAction.js +36 -0
  359. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/Action.js +59 -0
  360. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/RawAction.js +15 -0
  361. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/internalConstants.js +63 -0
  362. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/ActionModel.js +12 -0
  363. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IErrorObject.js +7 -0
  364. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/QualifierModel.js +12 -0
  365. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/actionToJson.js +9 -0
  366. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/qualifierToJson.js +7 -0
  367. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/qualifier/Qualifier.js +17 -0
  368. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/qualifier/QualifierValue.js +42 -0
  369. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/utils/dataStructureUtils.js +9 -0
  370. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/utils/objectFlip.js +9 -0
  371. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/utils/prepareColor.js +6 -0
  372. package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/utils/unsupportedError.js +12 -0
  373. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/flag/FlagQualifier.js +17 -0
  374. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/flag.js +15 -0
  375. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/format/FormatQualifier.js +12 -0
  376. package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/progressive.js +9 -0
  377. package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/ImageTransformation.js +6 -0
  378. package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/Transformation.js +244 -0
  379. package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/VideoTransformation.js +6 -0
  380. package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryFile.js +166 -0
  381. package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryImage.js +10 -0
  382. package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryTransformable.js +201 -0
  383. package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryVideo.js +26 -0
  384. package/dist/node_modules/@cloudinary/url-gen/config/BaseConfig.js +14 -0
  385. package/dist/node_modules/@cloudinary/url-gen/config/URLConfig.js +81 -0
  386. package/dist/node_modules/@cloudinary/url-gen/instance/Cloudinary.js +24 -0
  387. package/dist/node_modules/@cloudinary/url-gen/internal/internalConstants.js +16 -0
  388. package/dist/node_modules/@cloudinary/url-gen/internal/url/cloudinaryURL.js +23 -0
  389. package/dist/node_modules/@cloudinary/url-gen/internal/url/urlUtils/isFileName.js +6 -0
  390. package/dist/node_modules/@cloudinary/url-gen/internal/url/urlUtils/isUrl.js +6 -0
  391. package/dist/node_modules/@cloudinary/url-gen/internal/url/urlUtils/publicIDContainsVersion.js +6 -0
  392. package/dist/node_modules/@cloudinary/url-gen/internal/utils/packageVersion.js +4 -0
  393. package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/base64Map.js +10 -0
  394. package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/encodeOSVersion.js +8 -0
  395. package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/encodeVersion.js +17 -0
  396. package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/getAnalyticsOptions.js +15 -0
  397. package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/getSDKAnalyticsSignature.js +45 -0
  398. package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/padVersion.js +14 -0
  399. package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/reverseVersion.js +8 -0
  400. package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/stringPad.js +13 -0
  401. package/dist/node_modules/@fastify/deepmerge/index.js +102 -0
  402. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +507 -0
  403. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +402 -0
  404. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +686 -0
  405. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +161 -0
  406. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +228 -0
  407. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
  408. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +130 -0
  409. package/dist/node_modules/@gilbarbara/deep-equal/dist/index.js +78 -0
  410. package/dist/node_modules/@gilbarbara/hooks/dist/index.js +81 -0
  411. package/dist/node_modules/@hookform/resolvers/dist/resolvers.js +33 -0
  412. package/dist/node_modules/@hookform/resolvers/yup/dist/yup.js +33 -0
  413. package/dist/node_modules/@internationalized/date/dist/private/CalendarDate.js +243 -0
  414. package/dist/node_modules/@internationalized/date/dist/private/DateFormatter.js +102 -0
  415. package/dist/node_modules/@internationalized/date/dist/private/calendars/BuddhistCalendar.js +32 -0
  416. package/dist/node_modules/@internationalized/date/dist/private/calendars/EthiopicCalendar.js +114 -0
  417. package/dist/node_modules/@internationalized/date/dist/private/calendars/GregorianCalendar.js +104 -0
  418. package/dist/node_modules/@internationalized/date/dist/private/calendars/HebrewCalendar.js +88 -0
  419. package/dist/node_modules/@internationalized/date/dist/private/calendars/IndianCalendar.js +40 -0
  420. package/dist/node_modules/@internationalized/date/dist/private/calendars/IslamicCalendar.js +122 -0
  421. package/dist/node_modules/@internationalized/date/dist/private/calendars/JapaneseCalendar.js +128 -0
  422. package/dist/node_modules/@internationalized/date/dist/private/calendars/PersianCalendar.js +53 -0
  423. package/dist/node_modules/@internationalized/date/dist/private/calendars/TaiwanCalendar.js +54 -0
  424. package/dist/node_modules/@internationalized/date/dist/private/conversion.js +141 -0
  425. package/dist/node_modules/@internationalized/date/dist/private/createCalendar.js +42 -0
  426. package/dist/node_modules/@internationalized/date/dist/private/manipulation.js +211 -0
  427. package/dist/node_modules/@internationalized/date/dist/private/queries.js +150 -0
  428. package/dist/node_modules/@internationalized/date/dist/private/string.js +50 -0
  429. package/dist/node_modules/@internationalized/date/dist/private/utils.js +6 -0
  430. package/dist/node_modules/@internationalized/date/dist/private/weekStartData.js +100 -0
  431. package/dist/node_modules/@internationalized/number/dist/private/NumberFormatter.js +121 -0
  432. package/dist/node_modules/@internationalized/number/dist/private/NumberParser.js +163 -0
  433. package/dist/node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.js +47 -0
  434. package/dist/node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.js +32 -0
  435. package/dist/node_modules/@tanstack/react-table/build/lib/index.js +29 -0
  436. package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +38 -0
  437. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +696 -0
  438. package/dist/node_modules/@tanstack/virtual-core/dist/esm/lazy-measurements.js +33 -0
  439. package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +53 -0
  440. package/dist/node_modules/character-entities-legacy/index.js +111 -0
  441. package/dist/node_modules/character-reference-invalid/index.js +33 -0
  442. package/dist/node_modules/clsx/dist/clsx.js +17 -0
  443. package/dist/node_modules/comma-separated-tokens/index.js +13 -0
  444. package/dist/node_modules/dayjs/dayjs.min.js +282 -0
  445. package/dist/node_modules/dayjs/plugin/localizedFormat.js +29 -0
  446. package/dist/node_modules/decode-named-character-reference/index.dom.js +10 -0
  447. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +17 -0
  448. package/dist/node_modules/framer-motion/dist/es/components/LazyMotion/index.js +22 -0
  449. package/dist/node_modules/framer-motion/dist/es/components/Reorder/Group.js +53 -0
  450. package/dist/node_modules/framer-motion/dist/es/components/Reorder/Item.js +34 -0
  451. package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/auto-scroll.js +65 -0
  452. package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/check-reorder.js +17 -0
  453. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +5 -0
  454. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +5 -0
  455. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +9 -0
  456. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +13 -0
  457. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +5 -0
  458. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +15 -0
  459. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +5 -0
  460. package/dist/node_modules/framer-motion/dist/es/context/ReorderContext.js +5 -0
  461. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +5 -0
  462. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +8 -0
  463. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +14 -0
  464. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +285 -0
  465. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +22 -0
  466. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +67 -0
  467. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +28 -0
  468. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +21 -0
  469. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +130 -0
  470. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +43 -0
  471. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +29 -0
  472. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +45 -0
  473. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +33 -0
  474. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +13 -0
  475. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +39 -0
  476. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +17 -0
  477. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +21 -0
  478. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +60 -0
  479. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +11 -0
  480. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +14 -0
  481. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +45 -0
  482. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +21 -0
  483. package/dist/node_modules/framer-motion/dist/es/motion/index.js +62 -0
  484. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +4 -0
  485. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +21 -0
  486. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +65 -0
  487. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +52 -0
  488. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +39 -0
  489. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +18 -0
  490. package/dist/node_modules/framer-motion/dist/es/render/components/m/proxy.js +5 -0
  491. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +13 -0
  492. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +7 -0
  493. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
  494. package/dist/node_modules/framer-motion/dist/es/render/dom/features-animation.js +11 -0
  495. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +16 -0
  496. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +21 -0
  497. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +24 -0
  498. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +10 -0
  499. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +27 -0
  500. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +9 -0
  501. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +30 -0
  502. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +22 -0
  503. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +10 -0
  504. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +8 -0
  505. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +9 -0
  506. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +4 -0
  507. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +4 -0
  508. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +6 -0
  509. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +8 -0
  510. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +6 -0
  511. package/dist/node_modules/framer-motion/dist/es/value/use-combine-values.js +15 -0
  512. package/dist/node_modules/framer-motion/dist/es/value/use-computed.js +10 -0
  513. package/dist/node_modules/framer-motion/dist/es/value/use-motion-value.js +15 -0
  514. package/dist/node_modules/framer-motion/dist/es/value/use-transform.js +28 -0
  515. package/dist/node_modules/hast-util-parse-selector/lib/index.js +20 -0
  516. package/dist/node_modules/hastscript/lib/create-h.js +112 -0
  517. package/dist/node_modules/hastscript/lib/index.js +8 -0
  518. package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +44 -0
  519. package/dist/node_modules/is-alphabetical/index.js +7 -0
  520. package/dist/node_modules/is-alphanumerical/index.js +8 -0
  521. package/dist/node_modules/is-decimal/index.js +7 -0
  522. package/dist/node_modules/is-hexadecimal/index.js +7 -0
  523. package/dist/node_modules/is-lite/dist/index.js +139 -0
  524. package/dist/node_modules/lodash/_DataView.js +12 -0
  525. package/dist/node_modules/lodash/_Hash.js +22 -0
  526. package/dist/node_modules/lodash/_ListCache.js +22 -0
  527. package/dist/node_modules/lodash/_Map.js +12 -0
  528. package/dist/node_modules/lodash/_MapCache.js +22 -0
  529. package/dist/node_modules/lodash/_Promise.js +12 -0
  530. package/dist/node_modules/lodash/_Set.js +12 -0
  531. package/dist/node_modules/lodash/_SetCache.js +18 -0
  532. package/dist/node_modules/lodash/_Stack.js +20 -0
  533. package/dist/node_modules/lodash/_Symbol.js +11 -0
  534. package/dist/node_modules/lodash/_Uint8Array.js +11 -0
  535. package/dist/node_modules/lodash/_WeakMap.js +12 -0
  536. package/dist/node_modules/lodash/_arrayEach.js +14 -0
  537. package/dist/node_modules/lodash/_arrayFilter.js +16 -0
  538. package/dist/node_modules/lodash/_arrayLikeKeys.js +26 -0
  539. package/dist/node_modules/lodash/_arrayMap.js +14 -0
  540. package/dist/node_modules/lodash/_arrayPush.js +14 -0
  541. package/dist/node_modules/lodash/_arrayReduce.js +15 -0
  542. package/dist/node_modules/lodash/_arraySome.js +15 -0
  543. package/dist/node_modules/lodash/_asciiToArray.js +12 -0
  544. package/dist/node_modules/lodash/_asciiWords.js +13 -0
  545. package/dist/node_modules/lodash/_assocIndexOf.js +17 -0
  546. package/dist/node_modules/lodash/_baseCreate.js +23 -0
  547. package/dist/node_modules/lodash/_baseEach.js +12 -0
  548. package/dist/node_modules/lodash/_baseFor.js +11 -0
  549. package/dist/node_modules/lodash/_baseForOwn.js +15 -0
  550. package/dist/node_modules/lodash/_baseGet.js +18 -0
  551. package/dist/node_modules/lodash/_baseGetAllKeys.js +16 -0
  552. package/dist/node_modules/lodash/_baseGetTag.js +16 -0
  553. package/dist/node_modules/lodash/_baseHasIn.js +12 -0
  554. package/dist/node_modules/lodash/_baseIsArguments.js +15 -0
  555. package/dist/node_modules/lodash/_baseIsEqual.js +15 -0
  556. package/dist/node_modules/lodash/_baseIsEqualDeep.js +38 -0
  557. package/dist/node_modules/lodash/_baseIsMatch.js +37 -0
  558. package/dist/node_modules/lodash/_baseIsNative.js +22 -0
  559. package/dist/node_modules/lodash/_baseIsTypedArray.js +17 -0
  560. package/dist/node_modules/lodash/_baseIteratee.js +18 -0
  561. package/dist/node_modules/lodash/_baseKeys.js +20 -0
  562. package/dist/node_modules/lodash/_baseMatches.js +19 -0
  563. package/dist/node_modules/lodash/_baseMatchesProperty.js +23 -0
  564. package/dist/node_modules/lodash/_baseProperty.js +14 -0
  565. package/dist/node_modules/lodash/_basePropertyDeep.js +16 -0
  566. package/dist/node_modules/lodash/_basePropertyOf.js +14 -0
  567. package/dist/node_modules/lodash/_baseSlice.js +16 -0
  568. package/dist/node_modules/lodash/_baseSome.js +17 -0
  569. package/dist/node_modules/lodash/_baseTimes.js +14 -0
  570. package/dist/node_modules/lodash/_baseToString.js +24 -0
  571. package/dist/node_modules/lodash/_baseUnary.js +14 -0
  572. package/dist/node_modules/lodash/_cacheHas.js +12 -0
  573. package/dist/node_modules/lodash/_castPath.js +17 -0
  574. package/dist/node_modules/lodash/_castSlice.js +15 -0
  575. package/dist/node_modules/lodash/_coreJsData.js +11 -0
  576. package/dist/node_modules/lodash/_createBaseEach.js +22 -0
  577. package/dist/node_modules/lodash/_createBaseFor.js +19 -0
  578. package/dist/node_modules/lodash/_createCaseFirst.js +21 -0
  579. package/dist/node_modules/lodash/_createCompounder.js +18 -0
  580. package/dist/node_modules/lodash/_deburrLetter.js +204 -0
  581. package/dist/node_modules/lodash/_equalArrays.js +46 -0
  582. package/dist/node_modules/lodash/_equalByTag.js +51 -0
  583. package/dist/node_modules/lodash/_equalObjects.js +42 -0
  584. package/dist/node_modules/lodash/_freeGlobal.js +11 -0
  585. package/dist/node_modules/lodash/_getAllKeys.js +16 -0
  586. package/dist/node_modules/lodash/_getMapData.js +15 -0
  587. package/dist/node_modules/lodash/_getMatchData.js +19 -0
  588. package/dist/node_modules/lodash/_getNative.js +16 -0
  589. package/dist/node_modules/lodash/_getPrototype.js +11 -0
  590. package/dist/node_modules/lodash/_getRawTag.js +21 -0
  591. package/dist/node_modules/lodash/_getSymbols.js +16 -0
  592. package/dist/node_modules/lodash/_getTag.js +33 -0
  593. package/dist/node_modules/lodash/_getValue.js +12 -0
  594. package/dist/node_modules/lodash/_hasPath.js +26 -0
  595. package/dist/node_modules/lodash/_hasUnicode.js +13 -0
  596. package/dist/node_modules/lodash/_hasUnicodeWord.js +13 -0
  597. package/dist/node_modules/lodash/_hashClear.js +14 -0
  598. package/dist/node_modules/lodash/_hashDelete.js +13 -0
  599. package/dist/node_modules/lodash/_hashGet.js +19 -0
  600. package/dist/node_modules/lodash/_hashHas.js +15 -0
  601. package/dist/node_modules/lodash/_hashSet.js +15 -0
  602. package/dist/node_modules/lodash/_isIndex.js +14 -0
  603. package/dist/node_modules/lodash/_isIterateeCall.js +20 -0
  604. package/dist/node_modules/lodash/_isKey.js +18 -0
  605. package/dist/node_modules/lodash/_isKeyable.js +13 -0
  606. package/dist/node_modules/lodash/_isMasked.js +17 -0
  607. package/dist/node_modules/lodash/_isPrototype.js +14 -0
  608. package/dist/node_modules/lodash/_isStrictComparable.js +14 -0
  609. package/dist/node_modules/lodash/_listCacheClear.js +12 -0
  610. package/dist/node_modules/lodash/_listCacheDelete.js +18 -0
  611. package/dist/node_modules/lodash/_listCacheGet.js +15 -0
  612. package/dist/node_modules/lodash/_listCacheHas.js +14 -0
  613. package/dist/node_modules/lodash/_listCacheSet.js +15 -0
  614. package/dist/node_modules/lodash/_mapCacheClear.js +20 -0
  615. package/dist/node_modules/lodash/_mapCacheDelete.js +15 -0
  616. package/dist/node_modules/lodash/_mapCacheGet.js +14 -0
  617. package/dist/node_modules/lodash/_mapCacheHas.js +14 -0
  618. package/dist/node_modules/lodash/_mapCacheSet.js +15 -0
  619. package/dist/node_modules/lodash/_mapToArray.js +15 -0
  620. package/dist/node_modules/lodash/_matchesStrictComparable.js +14 -0
  621. package/dist/node_modules/lodash/_memoizeCapped.js +17 -0
  622. package/dist/node_modules/lodash/_nativeCreate.js +11 -0
  623. package/dist/node_modules/lodash/_nativeKeys.js +11 -0
  624. package/dist/node_modules/lodash/_nodeUtil.js +19 -0
  625. package/dist/node_modules/lodash/_objectToString.js +13 -0
  626. package/dist/node_modules/lodash/_overArg.js +14 -0
  627. package/dist/node_modules/lodash/_root.js +11 -0
  628. package/dist/node_modules/lodash/_setCacheAdd.js +13 -0
  629. package/dist/node_modules/lodash/_setCacheHas.js +12 -0
  630. package/dist/node_modules/lodash/_setToArray.js +15 -0
  631. package/dist/node_modules/lodash/_stackClear.js +14 -0
  632. package/dist/node_modules/lodash/_stackDelete.js +13 -0
  633. package/dist/node_modules/lodash/_stackGet.js +12 -0
  634. package/dist/node_modules/lodash/_stackHas.js +12 -0
  635. package/dist/node_modules/lodash/_stackSet.js +23 -0
  636. package/dist/node_modules/lodash/_stringToArray.js +16 -0
  637. package/dist/node_modules/lodash/_stringToPath.js +16 -0
  638. package/dist/node_modules/lodash/_toKey.js +17 -0
  639. package/dist/node_modules/lodash/_toSource.js +23 -0
  640. package/dist/node_modules/lodash/_unicodeToArray.js +13 -0
  641. package/dist/node_modules/lodash/_unicodeWords.js +22 -0
  642. package/dist/node_modules/lodash/capitalize.js +15 -0
  643. package/dist/node_modules/lodash/deburr.js +15 -0
  644. package/dist/node_modules/lodash/eq.js +12 -0
  645. package/dist/node_modules/lodash/get.js +15 -0
  646. package/dist/node_modules/lodash/hasIn.js +15 -0
  647. package/dist/node_modules/lodash/identity.js +12 -0
  648. package/dist/node_modules/lodash/isArguments.js +16 -0
  649. package/dist/node_modules/lodash/isArray.js +10 -0
  650. package/dist/node_modules/lodash/isArrayLike.js +15 -0
  651. package/dist/node_modules/lodash/isBuffer.js +14 -0
  652. package/dist/node_modules/lodash/isEmpty.js +33 -0
  653. package/dist/node_modules/lodash/isEqual.js +14 -0
  654. package/dist/node_modules/lodash/isFunction.js +18 -0
  655. package/dist/node_modules/lodash/isLength.js +13 -0
  656. package/dist/node_modules/lodash/isNaN.js +14 -0
  657. package/dist/node_modules/lodash/isNil.js +12 -0
  658. package/dist/node_modules/lodash/isNumber.js +15 -0
  659. package/dist/node_modules/lodash/isObject.js +13 -0
  660. package/dist/node_modules/lodash/isObjectLike.js +12 -0
  661. package/dist/node_modules/lodash/isSymbol.js +15 -0
  662. package/dist/node_modules/lodash/isTypedArray.js +13 -0
  663. package/dist/node_modules/lodash/isUndefined.js +12 -0
  664. package/dist/node_modules/lodash/keys.js +16 -0
  665. package/dist/node_modules/lodash/lodash.js +3692 -0
  666. package/dist/node_modules/lodash/lowerFirst.js +11 -0
  667. package/dist/node_modules/lodash/memoize.js +23 -0
  668. package/dist/node_modules/lodash/property.js +17 -0
  669. package/dist/node_modules/lodash/snakeCase.js +13 -0
  670. package/dist/node_modules/lodash/some.js +19 -0
  671. package/dist/node_modules/lodash/stubArray.js +12 -0
  672. package/dist/node_modules/lodash/stubFalse.js +12 -0
  673. package/dist/node_modules/lodash/toString.js +14 -0
  674. package/dist/node_modules/lodash/transform.js +30 -0
  675. package/dist/node_modules/lodash/upperFirst.js +11 -0
  676. package/dist/node_modules/lodash/words.js +17 -0
  677. package/dist/node_modules/lottie-light-react/build/index.umd.js +5068 -0
  678. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +112 -0
  679. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +144 -0
  680. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +106 -0
  681. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +38 -0
  682. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +10 -0
  683. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +17 -0
  684. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +37 -0
  685. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +30 -0
  686. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +178 -0
  687. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +13 -0
  688. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +13 -0
  689. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +6 -0
  690. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +9 -0
  691. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +46 -0
  692. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +59 -0
  693. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +29 -0
  694. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +22 -0
  695. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +68 -0
  696. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +74 -0
  697. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +8 -0
  698. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +8 -0
  699. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +12 -0
  700. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +6 -0
  701. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +7 -0
  702. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +7 -0
  703. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +16 -0
  704. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +37 -0
  705. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +6 -0
  706. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +7 -0
  707. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +27 -0
  708. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +7 -0
  709. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +23 -0
  710. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +31 -0
  711. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +22 -0
  712. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +8 -0
  713. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +7 -0
  714. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +9 -0
  715. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +21 -0
  716. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +6 -0
  717. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +16 -0
  718. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +10 -0
  719. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +4 -0
  720. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +12 -0
  721. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +15 -0
  722. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +21 -0
  723. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +33 -0
  724. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +12 -0
  725. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +8 -0
  726. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +10 -0
  727. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +10 -0
  728. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +17 -0
  729. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +6 -0
  730. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +27 -0
  731. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +9 -0
  732. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +5 -0
  733. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +21 -0
  734. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +43 -0
  735. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +15 -0
  736. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +11 -0
  737. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +11 -0
  738. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +38 -0
  739. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +34 -0
  740. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +18 -0
  741. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +27 -0
  742. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +4 -0
  743. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +4 -0
  744. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +4 -0
  745. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +12 -0
  746. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +32 -0
  747. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +25 -0
  748. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +14 -0
  749. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +53 -0
  750. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +38 -0
  751. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +25 -0
  752. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +18 -0
  753. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +34 -0
  754. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +13 -0
  755. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +25 -0
  756. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +618 -0
  757. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +15 -0
  758. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +53 -0
  759. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +21 -0
  760. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +16 -0
  761. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +21 -0
  762. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +13 -0
  763. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +4 -0
  764. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +6 -0
  765. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +19 -0
  766. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +20 -0
  767. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +13 -0
  768. package/dist/node_modules/motion-dom/dist/es/render/Feature.js +10 -0
  769. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +263 -0
  770. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +28 -0
  771. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +4 -0
  772. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +65 -0
  773. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +7 -0
  774. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +6 -0
  775. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +37 -0
  776. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +29 -0
  777. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +38 -0
  778. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +12 -0
  779. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +13 -0
  780. package/dist/node_modules/motion-dom/dist/es/render/store.js +4 -0
  781. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +40 -0
  782. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +32 -0
  783. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +28 -0
  784. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +4 -0
  785. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +15 -0
  786. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +11 -0
  787. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +15 -0
  788. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +143 -0
  789. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +20 -0
  790. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +6 -0
  791. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +13 -0
  792. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +9 -0
  793. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +4 -0
  794. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +6 -0
  795. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +13 -0
  796. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +23 -0
  797. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +25 -0
  798. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +15 -0
  799. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +5 -0
  800. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +8 -0
  801. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +20 -0
  802. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +21 -0
  803. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +14 -0
  804. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +13 -0
  805. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +39 -0
  806. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +23 -0
  807. package/dist/node_modules/motion-dom/dist/es/resize/index.js +8 -0
  808. package/dist/node_modules/motion-dom/dist/es/utils/delay.js +12 -0
  809. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +42 -0
  810. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +7 -0
  811. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +7 -0
  812. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +7 -0
  813. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +29 -0
  814. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +51 -0
  815. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +6 -0
  816. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +8 -0
  817. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +4 -0
  818. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +8 -0
  819. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +15 -0
  820. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +4 -0
  821. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +12 -0
  822. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +9 -0
  823. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +5 -0
  824. package/dist/node_modules/motion-dom/dist/es/utils/transform.js +8 -0
  825. package/dist/node_modules/motion-dom/dist/es/value/index.js +215 -0
  826. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +7 -0
  827. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +19 -0
  828. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +22 -0
  829. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +12 -0
  830. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +15 -0
  831. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +16 -0
  832. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +18 -0
  833. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +24 -0
  834. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +51 -0
  835. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +11 -0
  836. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +9 -0
  837. package/dist/node_modules/motion-dom/dist/es/value/types/int.js +8 -0
  838. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +27 -0
  839. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +70 -0
  840. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +37 -0
  841. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +17 -0
  842. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +17 -0
  843. package/dist/node_modules/motion-dom/dist/es/value/types/test.js +4 -0
  844. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +12 -0
  845. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +4 -0
  846. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +8 -0
  847. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +4 -0
  848. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +4 -0
  849. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +6 -0
  850. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +4 -0
  851. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +4 -0
  852. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +4 -0
  853. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +7 -0
  854. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +14 -0
  855. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +7 -0
  856. package/dist/node_modules/motion-utils/dist/es/array.js +20 -0
  857. package/dist/node_modules/motion-utils/dist/es/clamp.js +4 -0
  858. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +5 -0
  859. package/dist/node_modules/motion-utils/dist/es/easing/back.js +9 -0
  860. package/dist/node_modules/motion-utils/dist/es/easing/circ.js +8 -0
  861. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +19 -0
  862. package/dist/node_modules/motion-utils/dist/es/easing/ease.js +7 -0
  863. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +4 -0
  864. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +4 -0
  865. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +4 -0
  866. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +4 -0
  867. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +32 -0
  868. package/dist/node_modules/motion-utils/dist/es/errors.js +14 -0
  869. package/dist/node_modules/motion-utils/dist/es/format-error-message.js +6 -0
  870. package/dist/node_modules/motion-utils/dist/es/global-config.js +4 -0
  871. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +4 -0
  872. package/dist/node_modules/motion-utils/dist/es/is-object.js +4 -0
  873. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +4 -0
  874. package/dist/node_modules/motion-utils/dist/es/memo.js +8 -0
  875. package/dist/node_modules/motion-utils/dist/es/noop.js +4 -0
  876. package/dist/node_modules/motion-utils/dist/es/pipe.js +4 -0
  877. package/dist/node_modules/motion-utils/dist/es/progress.js +7 -0
  878. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +29 -0
  879. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +5 -0
  880. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +4 -0
  881. package/dist/node_modules/motion-utils/dist/es/warn-once.js +8 -0
  882. package/dist/node_modules/object-assign/index.js +54 -0
  883. package/dist/node_modules/parse-entities/lib/index.js +135 -0
  884. package/dist/node_modules/prop-types/checkPropTypes.js +54 -0
  885. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +52 -0
  886. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +329 -0
  887. package/dist/node_modules/prop-types/index.js +17 -0
  888. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
  889. package/dist/node_modules/prop-types/lib/has.js +7 -0
  890. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +95 -0
  891. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +78 -0
  892. package/dist/node_modules/prop-types/node_modules/react-is/index.js +10 -0
  893. package/dist/node_modules/property-information/index.js +12 -0
  894. package/dist/node_modules/property-information/lib/aria.js +61 -0
  895. package/dist/node_modules/property-information/lib/find.js +33 -0
  896. package/dist/node_modules/property-information/lib/html.js +368 -0
  897. package/dist/node_modules/property-information/lib/normalize.js +6 -0
  898. package/dist/node_modules/property-information/lib/svg.js +566 -0
  899. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
  900. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
  901. package/dist/node_modules/property-information/lib/util/create.js +19 -0
  902. package/dist/node_modules/property-information/lib/util/defined-info.js +36 -0
  903. package/dist/node_modules/property-information/lib/util/info.js +28 -0
  904. package/dist/node_modules/property-information/lib/util/merge.js +10 -0
  905. package/dist/node_modules/property-information/lib/util/schema.js +21 -0
  906. package/dist/node_modules/property-information/lib/util/types.js +14 -0
  907. package/dist/node_modules/property-information/lib/xlink.js +19 -0
  908. package/dist/node_modules/property-information/lib/xml.js +11 -0
  909. package/dist/node_modules/property-information/lib/xmlns.js +11 -0
  910. package/dist/node_modules/react-aria/dist/private/button/useButton.js +56 -0
  911. package/dist/node_modules/react-aria/dist/private/calendar/intlStrings.js +74 -0
  912. package/dist/node_modules/react-aria/dist/private/calendar/useCalendar.js +7 -0
  913. package/dist/node_modules/react-aria/dist/private/calendar/useCalendarBase.js +76 -0
  914. package/dist/node_modules/react-aria/dist/private/calendar/useCalendarCell.js +148 -0
  915. package/dist/node_modules/react-aria/dist/private/calendar/useCalendarGrid.js +91 -0
  916. package/dist/node_modules/react-aria/dist/private/calendar/useRangeCalendar.js +34 -0
  917. package/dist/node_modules/react-aria/dist/private/calendar/utils.js +109 -0
  918. package/dist/node_modules/react-aria/dist/private/combobox/intlStrings.js +74 -0
  919. package/dist/node_modules/react-aria/dist/private/combobox/useComboBox.js +243 -0
  920. package/dist/node_modules/react-aria/dist/private/datepicker/intlStrings.js +74 -0
  921. package/dist/node_modules/react-aria/dist/private/datepicker/useDateField.js +115 -0
  922. package/dist/node_modules/react-aria/dist/private/datepicker/useDatePicker.js +126 -0
  923. package/dist/node_modules/react-aria/dist/private/datepicker/useDatePickerGroup.js +73 -0
  924. package/dist/node_modules/react-aria/dist/private/datepicker/useDateRangePicker.js +164 -0
  925. package/dist/node_modules/react-aria/dist/private/datepicker/useDateSegment.js +249 -0
  926. package/dist/node_modules/react-aria/dist/private/datepicker/useDisplayNames.js +33 -0
  927. package/dist/node_modules/react-aria/dist/private/dialog/useDialog.js +52 -0
  928. package/dist/node_modules/react-aria/dist/private/dnd/DragManager.js +20 -0
  929. package/dist/node_modules/react-aria/dist/private/dnd/constants.js +33 -0
  930. package/dist/node_modules/react-aria/dist/private/dnd/intlStrings.js +74 -0
  931. package/dist/node_modules/react-aria/dist/private/dnd/useDrop.js +173 -0
  932. package/dist/node_modules/react-aria/dist/private/dnd/useVirtualDrop.js +31 -0
  933. package/dist/node_modules/react-aria/dist/private/dnd/utils.js +114 -0
  934. package/dist/node_modules/react-aria/dist/private/focus/FocusScope.js +490 -0
  935. package/dist/node_modules/react-aria/dist/private/focus/virtualFocus.js +32 -0
  936. package/dist/node_modules/react-aria/dist/private/form/useFormValidation.js +71 -0
  937. package/dist/node_modules/react-aria/dist/private/i18n/I18nProvider.js +10 -0
  938. package/dist/node_modules/react-aria/dist/private/i18n/useCollator.js +11 -0
  939. package/dist/node_modules/react-aria/dist/private/i18n/useDateFormatter.js +23 -0
  940. package/dist/node_modules/react-aria/dist/private/i18n/useDefaultLocale.js +37 -0
  941. package/dist/node_modules/react-aria/dist/private/i18n/useFilter.js +35 -0
  942. package/dist/node_modules/react-aria/dist/private/i18n/useLocalizedStringFormatter.js +23 -0
  943. package/dist/node_modules/react-aria/dist/private/i18n/useNumberFormatter.js +13 -0
  944. package/dist/node_modules/react-aria/dist/private/i18n/utils.js +47 -0
  945. package/dist/node_modules/react-aria/dist/private/interactions/PressResponder.js +14 -0
  946. package/dist/node_modules/react-aria/dist/private/interactions/context.js +9 -0
  947. package/dist/node_modules/react-aria/dist/private/interactions/createEventHandler.js +28 -0
  948. package/dist/node_modules/react-aria/dist/private/interactions/focusSafely.js +19 -0
  949. package/dist/node_modules/react-aria/dist/private/interactions/textSelection.js +36 -0
  950. package/dist/node_modules/react-aria/dist/private/interactions/useFocus.js +31 -0
  951. package/dist/node_modules/react-aria/dist/private/interactions/useFocusVisible.js +90 -0
  952. package/dist/node_modules/react-aria/dist/private/interactions/useFocusWithin.js +59 -0
  953. package/dist/node_modules/react-aria/dist/private/interactions/useFocusable.js +32 -0
  954. package/dist/node_modules/react-aria/dist/private/interactions/useHover.js +87 -0
  955. package/dist/node_modules/react-aria/dist/private/interactions/useInteractOutside.js +51 -0
  956. package/dist/node_modules/react-aria/dist/private/interactions/useKeyboard.js +12 -0
  957. package/dist/node_modules/react-aria/dist/private/interactions/useLongPress.js +53 -0
  958. package/dist/node_modules/react-aria/dist/private/interactions/useMove.js +165 -0
  959. package/dist/node_modules/react-aria/dist/private/interactions/usePress.js +418 -0
  960. package/dist/node_modules/react-aria/dist/private/interactions/utils.js +93 -0
  961. package/dist/node_modules/react-aria/dist/private/intl/calendar/ar-AE.js +18 -0
  962. package/dist/node_modules/react-aria/dist/private/intl/calendar/bg-BG.js +18 -0
  963. package/dist/node_modules/react-aria/dist/private/intl/calendar/cs-CZ.js +18 -0
  964. package/dist/node_modules/react-aria/dist/private/intl/calendar/da-DK.js +18 -0
  965. package/dist/node_modules/react-aria/dist/private/intl/calendar/de-DE.js +18 -0
  966. package/dist/node_modules/react-aria/dist/private/intl/calendar/el-GR.js +18 -0
  967. package/dist/node_modules/react-aria/dist/private/intl/calendar/en-US.js +18 -0
  968. package/dist/node_modules/react-aria/dist/private/intl/calendar/es-ES.js +18 -0
  969. package/dist/node_modules/react-aria/dist/private/intl/calendar/et-EE.js +18 -0
  970. package/dist/node_modules/react-aria/dist/private/intl/calendar/fi-FI.js +18 -0
  971. package/dist/node_modules/react-aria/dist/private/intl/calendar/fr-FR.js +18 -0
  972. package/dist/node_modules/react-aria/dist/private/intl/calendar/he-IL.js +18 -0
  973. package/dist/node_modules/react-aria/dist/private/intl/calendar/hr-HR.js +18 -0
  974. package/dist/node_modules/react-aria/dist/private/intl/calendar/hu-HU.js +18 -0
  975. package/dist/node_modules/react-aria/dist/private/intl/calendar/it-IT.js +18 -0
  976. package/dist/node_modules/react-aria/dist/private/intl/calendar/ja-JP.js +18 -0
  977. package/dist/node_modules/react-aria/dist/private/intl/calendar/ko-KR.js +18 -0
  978. package/dist/node_modules/react-aria/dist/private/intl/calendar/lt-LT.js +18 -0
  979. package/dist/node_modules/react-aria/dist/private/intl/calendar/lv-LV.js +18 -0
  980. package/dist/node_modules/react-aria/dist/private/intl/calendar/nb-NO.js +18 -0
  981. package/dist/node_modules/react-aria/dist/private/intl/calendar/nl-NL.js +18 -0
  982. package/dist/node_modules/react-aria/dist/private/intl/calendar/pl-PL.js +18 -0
  983. package/dist/node_modules/react-aria/dist/private/intl/calendar/pt-BR.js +18 -0
  984. package/dist/node_modules/react-aria/dist/private/intl/calendar/pt-PT.js +18 -0
  985. package/dist/node_modules/react-aria/dist/private/intl/calendar/ro-RO.js +18 -0
  986. package/dist/node_modules/react-aria/dist/private/intl/calendar/ru-RU.js +18 -0
  987. package/dist/node_modules/react-aria/dist/private/intl/calendar/sk-SK.js +18 -0
  988. package/dist/node_modules/react-aria/dist/private/intl/calendar/sl-SI.js +18 -0
  989. package/dist/node_modules/react-aria/dist/private/intl/calendar/sr-SP.js +18 -0
  990. package/dist/node_modules/react-aria/dist/private/intl/calendar/sv-SE.js +18 -0
  991. package/dist/node_modules/react-aria/dist/private/intl/calendar/tr-TR.js +18 -0
  992. package/dist/node_modules/react-aria/dist/private/intl/calendar/uk-UA.js +18 -0
  993. package/dist/node_modules/react-aria/dist/private/intl/calendar/zh-CN.js +18 -0
  994. package/dist/node_modules/react-aria/dist/private/intl/calendar/zh-TW.js +18 -0
  995. package/dist/node_modules/react-aria/dist/private/intl/combobox/ar-AE.js +23 -0
  996. package/dist/node_modules/react-aria/dist/private/intl/combobox/bg-BG.js +23 -0
  997. package/dist/node_modules/react-aria/dist/private/intl/combobox/cs-CZ.js +23 -0
  998. package/dist/node_modules/react-aria/dist/private/intl/combobox/da-DK.js +23 -0
  999. package/dist/node_modules/react-aria/dist/private/intl/combobox/de-DE.js +23 -0
  1000. package/dist/node_modules/react-aria/dist/private/intl/combobox/el-GR.js +23 -0
  1001. package/dist/node_modules/react-aria/dist/private/intl/combobox/en-US.js +23 -0
  1002. package/dist/node_modules/react-aria/dist/private/intl/combobox/es-ES.js +23 -0
  1003. package/dist/node_modules/react-aria/dist/private/intl/combobox/et-EE.js +23 -0
  1004. package/dist/node_modules/react-aria/dist/private/intl/combobox/fi-FI.js +23 -0
  1005. package/dist/node_modules/react-aria/dist/private/intl/combobox/fr-FR.js +23 -0
  1006. package/dist/node_modules/react-aria/dist/private/intl/combobox/he-IL.js +23 -0
  1007. package/dist/node_modules/react-aria/dist/private/intl/combobox/hr-HR.js +23 -0
  1008. package/dist/node_modules/react-aria/dist/private/intl/combobox/hu-HU.js +23 -0
  1009. package/dist/node_modules/react-aria/dist/private/intl/combobox/it-IT.js +23 -0
  1010. package/dist/node_modules/react-aria/dist/private/intl/combobox/ja-JP.js +23 -0
  1011. package/dist/node_modules/react-aria/dist/private/intl/combobox/ko-KR.js +23 -0
  1012. package/dist/node_modules/react-aria/dist/private/intl/combobox/lt-LT.js +23 -0
  1013. package/dist/node_modules/react-aria/dist/private/intl/combobox/lv-LV.js +23 -0
  1014. package/dist/node_modules/react-aria/dist/private/intl/combobox/nb-NO.js +23 -0
  1015. package/dist/node_modules/react-aria/dist/private/intl/combobox/nl-NL.js +23 -0
  1016. package/dist/node_modules/react-aria/dist/private/intl/combobox/pl-PL.js +23 -0
  1017. package/dist/node_modules/react-aria/dist/private/intl/combobox/pt-BR.js +23 -0
  1018. package/dist/node_modules/react-aria/dist/private/intl/combobox/pt-PT.js +23 -0
  1019. package/dist/node_modules/react-aria/dist/private/intl/combobox/ro-RO.js +23 -0
  1020. package/dist/node_modules/react-aria/dist/private/intl/combobox/ru-RU.js +23 -0
  1021. package/dist/node_modules/react-aria/dist/private/intl/combobox/sk-SK.js +23 -0
  1022. package/dist/node_modules/react-aria/dist/private/intl/combobox/sl-SI.js +23 -0
  1023. package/dist/node_modules/react-aria/dist/private/intl/combobox/sr-SP.js +23 -0
  1024. package/dist/node_modules/react-aria/dist/private/intl/combobox/sv-SE.js +23 -0
  1025. package/dist/node_modules/react-aria/dist/private/intl/combobox/tr-TR.js +23 -0
  1026. package/dist/node_modules/react-aria/dist/private/intl/combobox/uk-UA.js +23 -0
  1027. package/dist/node_modules/react-aria/dist/private/intl/combobox/zh-CN.js +23 -0
  1028. package/dist/node_modules/react-aria/dist/private/intl/combobox/zh-TW.js +23 -0
  1029. package/dist/node_modules/react-aria/dist/private/intl/datepicker/ar-AE.js +22 -0
  1030. package/dist/node_modules/react-aria/dist/private/intl/datepicker/bg-BG.js +22 -0
  1031. package/dist/node_modules/react-aria/dist/private/intl/datepicker/cs-CZ.js +22 -0
  1032. package/dist/node_modules/react-aria/dist/private/intl/datepicker/da-DK.js +22 -0
  1033. package/dist/node_modules/react-aria/dist/private/intl/datepicker/de-DE.js +22 -0
  1034. package/dist/node_modules/react-aria/dist/private/intl/datepicker/el-GR.js +22 -0
  1035. package/dist/node_modules/react-aria/dist/private/intl/datepicker/en-US.js +22 -0
  1036. package/dist/node_modules/react-aria/dist/private/intl/datepicker/es-ES.js +22 -0
  1037. package/dist/node_modules/react-aria/dist/private/intl/datepicker/et-EE.js +22 -0
  1038. package/dist/node_modules/react-aria/dist/private/intl/datepicker/fi-FI.js +22 -0
  1039. package/dist/node_modules/react-aria/dist/private/intl/datepicker/fr-FR.js +22 -0
  1040. package/dist/node_modules/react-aria/dist/private/intl/datepicker/he-IL.js +22 -0
  1041. package/dist/node_modules/react-aria/dist/private/intl/datepicker/hr-HR.js +22 -0
  1042. package/dist/node_modules/react-aria/dist/private/intl/datepicker/hu-HU.js +22 -0
  1043. package/dist/node_modules/react-aria/dist/private/intl/datepicker/it-IT.js +22 -0
  1044. package/dist/node_modules/react-aria/dist/private/intl/datepicker/ja-JP.js +22 -0
  1045. package/dist/node_modules/react-aria/dist/private/intl/datepicker/ko-KR.js +22 -0
  1046. package/dist/node_modules/react-aria/dist/private/intl/datepicker/lt-LT.js +22 -0
  1047. package/dist/node_modules/react-aria/dist/private/intl/datepicker/lv-LV.js +22 -0
  1048. package/dist/node_modules/react-aria/dist/private/intl/datepicker/nb-NO.js +22 -0
  1049. package/dist/node_modules/react-aria/dist/private/intl/datepicker/nl-NL.js +22 -0
  1050. package/dist/node_modules/react-aria/dist/private/intl/datepicker/pl-PL.js +22 -0
  1051. package/dist/node_modules/react-aria/dist/private/intl/datepicker/pt-BR.js +22 -0
  1052. package/dist/node_modules/react-aria/dist/private/intl/datepicker/pt-PT.js +22 -0
  1053. package/dist/node_modules/react-aria/dist/private/intl/datepicker/ro-RO.js +22 -0
  1054. package/dist/node_modules/react-aria/dist/private/intl/datepicker/ru-RU.js +22 -0
  1055. package/dist/node_modules/react-aria/dist/private/intl/datepicker/sk-SK.js +22 -0
  1056. package/dist/node_modules/react-aria/dist/private/intl/datepicker/sl-SI.js +22 -0
  1057. package/dist/node_modules/react-aria/dist/private/intl/datepicker/sr-SP.js +22 -0
  1058. package/dist/node_modules/react-aria/dist/private/intl/datepicker/sv-SE.js +22 -0
  1059. package/dist/node_modules/react-aria/dist/private/intl/datepicker/tr-TR.js +22 -0
  1060. package/dist/node_modules/react-aria/dist/private/intl/datepicker/uk-UA.js +22 -0
  1061. package/dist/node_modules/react-aria/dist/private/intl/datepicker/zh-CN.js +22 -0
  1062. package/dist/node_modules/react-aria/dist/private/intl/datepicker/zh-TW.js +22 -0
  1063. package/dist/node_modules/react-aria/dist/private/intl/dnd/ar-AE.js +45 -0
  1064. package/dist/node_modules/react-aria/dist/private/intl/dnd/bg-BG.js +45 -0
  1065. package/dist/node_modules/react-aria/dist/private/intl/dnd/cs-CZ.js +46 -0
  1066. package/dist/node_modules/react-aria/dist/private/intl/dnd/da-DK.js +45 -0
  1067. package/dist/node_modules/react-aria/dist/private/intl/dnd/de-DE.js +45 -0
  1068. package/dist/node_modules/react-aria/dist/private/intl/dnd/el-GR.js +45 -0
  1069. package/dist/node_modules/react-aria/dist/private/intl/dnd/en-US.js +45 -0
  1070. package/dist/node_modules/react-aria/dist/private/intl/dnd/es-ES.js +45 -0
  1071. package/dist/node_modules/react-aria/dist/private/intl/dnd/et-EE.js +45 -0
  1072. package/dist/node_modules/react-aria/dist/private/intl/dnd/fi-FI.js +45 -0
  1073. package/dist/node_modules/react-aria/dist/private/intl/dnd/fr-FR.js +45 -0
  1074. package/dist/node_modules/react-aria/dist/private/intl/dnd/he-IL.js +45 -0
  1075. package/dist/node_modules/react-aria/dist/private/intl/dnd/hr-HR.js +45 -0
  1076. package/dist/node_modules/react-aria/dist/private/intl/dnd/hu-HU.js +45 -0
  1077. package/dist/node_modules/react-aria/dist/private/intl/dnd/it-IT.js +45 -0
  1078. package/dist/node_modules/react-aria/dist/private/intl/dnd/ja-JP.js +45 -0
  1079. package/dist/node_modules/react-aria/dist/private/intl/dnd/ko-KR.js +45 -0
  1080. package/dist/node_modules/react-aria/dist/private/intl/dnd/lt-LT.js +45 -0
  1081. package/dist/node_modules/react-aria/dist/private/intl/dnd/lv-LV.js +45 -0
  1082. package/dist/node_modules/react-aria/dist/private/intl/dnd/nb-NO.js +45 -0
  1083. package/dist/node_modules/react-aria/dist/private/intl/dnd/nl-NL.js +45 -0
  1084. package/dist/node_modules/react-aria/dist/private/intl/dnd/pl-PL.js +45 -0
  1085. package/dist/node_modules/react-aria/dist/private/intl/dnd/pt-BR.js +45 -0
  1086. package/dist/node_modules/react-aria/dist/private/intl/dnd/pt-PT.js +45 -0
  1087. package/dist/node_modules/react-aria/dist/private/intl/dnd/ro-RO.js +45 -0
  1088. package/dist/node_modules/react-aria/dist/private/intl/dnd/ru-RU.js +45 -0
  1089. package/dist/node_modules/react-aria/dist/private/intl/dnd/sk-SK.js +45 -0
  1090. package/dist/node_modules/react-aria/dist/private/intl/dnd/sl-SI.js +45 -0
  1091. package/dist/node_modules/react-aria/dist/private/intl/dnd/sr-SP.js +45 -0
  1092. package/dist/node_modules/react-aria/dist/private/intl/dnd/sv-SE.js +45 -0
  1093. package/dist/node_modules/react-aria/dist/private/intl/dnd/tr-TR.js +45 -0
  1094. package/dist/node_modules/react-aria/dist/private/intl/dnd/uk-UA.js +45 -0
  1095. package/dist/node_modules/react-aria/dist/private/intl/dnd/zh-CN.js +45 -0
  1096. package/dist/node_modules/react-aria/dist/private/intl/dnd/zh-TW.js +45 -0
  1097. package/dist/node_modules/react-aria/dist/private/intl/menu/ar-AE.js +7 -0
  1098. package/dist/node_modules/react-aria/dist/private/intl/menu/bg-BG.js +7 -0
  1099. package/dist/node_modules/react-aria/dist/private/intl/menu/cs-CZ.js +7 -0
  1100. package/dist/node_modules/react-aria/dist/private/intl/menu/da-DK.js +7 -0
  1101. package/dist/node_modules/react-aria/dist/private/intl/menu/de-DE.js +7 -0
  1102. package/dist/node_modules/react-aria/dist/private/intl/menu/el-GR.js +7 -0
  1103. package/dist/node_modules/react-aria/dist/private/intl/menu/en-US.js +7 -0
  1104. package/dist/node_modules/react-aria/dist/private/intl/menu/es-ES.js +7 -0
  1105. package/dist/node_modules/react-aria/dist/private/intl/menu/et-EE.js +7 -0
  1106. package/dist/node_modules/react-aria/dist/private/intl/menu/fi-FI.js +7 -0
  1107. package/dist/node_modules/react-aria/dist/private/intl/menu/fr-FR.js +7 -0
  1108. package/dist/node_modules/react-aria/dist/private/intl/menu/he-IL.js +7 -0
  1109. package/dist/node_modules/react-aria/dist/private/intl/menu/hr-HR.js +7 -0
  1110. package/dist/node_modules/react-aria/dist/private/intl/menu/hu-HU.js +7 -0
  1111. package/dist/node_modules/react-aria/dist/private/intl/menu/it-IT.js +7 -0
  1112. package/dist/node_modules/react-aria/dist/private/intl/menu/ja-JP.js +7 -0
  1113. package/dist/node_modules/react-aria/dist/private/intl/menu/ko-KR.js +7 -0
  1114. package/dist/node_modules/react-aria/dist/private/intl/menu/lt-LT.js +7 -0
  1115. package/dist/node_modules/react-aria/dist/private/intl/menu/lv-LV.js +7 -0
  1116. package/dist/node_modules/react-aria/dist/private/intl/menu/nb-NO.js +7 -0
  1117. package/dist/node_modules/react-aria/dist/private/intl/menu/nl-NL.js +7 -0
  1118. package/dist/node_modules/react-aria/dist/private/intl/menu/pl-PL.js +7 -0
  1119. package/dist/node_modules/react-aria/dist/private/intl/menu/pt-BR.js +7 -0
  1120. package/dist/node_modules/react-aria/dist/private/intl/menu/pt-PT.js +7 -0
  1121. package/dist/node_modules/react-aria/dist/private/intl/menu/ro-RO.js +7 -0
  1122. package/dist/node_modules/react-aria/dist/private/intl/menu/ru-RU.js +7 -0
  1123. package/dist/node_modules/react-aria/dist/private/intl/menu/sk-SK.js +7 -0
  1124. package/dist/node_modules/react-aria/dist/private/intl/menu/sl-SI.js +7 -0
  1125. package/dist/node_modules/react-aria/dist/private/intl/menu/sr-SP.js +7 -0
  1126. package/dist/node_modules/react-aria/dist/private/intl/menu/sv-SE.js +7 -0
  1127. package/dist/node_modules/react-aria/dist/private/intl/menu/tr-TR.js +7 -0
  1128. package/dist/node_modules/react-aria/dist/private/intl/menu/uk-UA.js +7 -0
  1129. package/dist/node_modules/react-aria/dist/private/intl/menu/zh-CN.js +7 -0
  1130. package/dist/node_modules/react-aria/dist/private/intl/menu/zh-TW.js +7 -0
  1131. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/ar-AE.js +7 -0
  1132. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/bg-BG.js +7 -0
  1133. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/cs-CZ.js +7 -0
  1134. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/da-DK.js +7 -0
  1135. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/de-DE.js +7 -0
  1136. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/el-GR.js +7 -0
  1137. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/en-US.js +7 -0
  1138. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/es-ES.js +7 -0
  1139. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/et-EE.js +7 -0
  1140. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/fi-FI.js +7 -0
  1141. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/fr-FR.js +7 -0
  1142. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/he-IL.js +7 -0
  1143. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/hr-HR.js +7 -0
  1144. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/hu-HU.js +7 -0
  1145. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/it-IT.js +7 -0
  1146. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/ja-JP.js +7 -0
  1147. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/ko-KR.js +7 -0
  1148. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/lt-LT.js +7 -0
  1149. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/lv-LV.js +7 -0
  1150. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/nb-NO.js +7 -0
  1151. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/nl-NL.js +7 -0
  1152. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/pl-PL.js +7 -0
  1153. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/pt-BR.js +7 -0
  1154. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/pt-PT.js +7 -0
  1155. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/ro-RO.js +7 -0
  1156. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/ru-RU.js +7 -0
  1157. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/sk-SK.js +7 -0
  1158. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/sl-SI.js +7 -0
  1159. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/sr-SP.js +7 -0
  1160. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/sv-SE.js +7 -0
  1161. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/tr-TR.js +7 -0
  1162. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/uk-UA.js +7 -0
  1163. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/zh-CN.js +7 -0
  1164. package/dist/node_modules/react-aria/dist/private/intl/spinbutton/zh-TW.js +7 -0
  1165. package/dist/node_modules/react-aria/dist/private/label/useField.js +36 -0
  1166. package/dist/node_modules/react-aria/dist/private/label/useLabel.js +23 -0
  1167. package/dist/node_modules/react-aria/dist/private/listbox/useListBox.js +56 -0
  1168. package/dist/node_modules/react-aria/dist/private/listbox/useOption.js +69 -0
  1169. package/dist/node_modules/react-aria/dist/private/listbox/utils.js +13 -0
  1170. package/dist/node_modules/react-aria/dist/private/live-announcer/LiveAnnouncer.js +49 -0
  1171. package/dist/node_modules/react-aria/dist/private/menu/intlStrings.js +74 -0
  1172. package/dist/node_modules/react-aria/dist/private/menu/useMenuTrigger.js +65 -0
  1173. package/dist/node_modules/react-aria/dist/private/overlays/Overlay.js +38 -0
  1174. package/dist/node_modules/react-aria/dist/private/overlays/PortalProvider.js +9 -0
  1175. package/dist/node_modules/react-aria/dist/private/overlays/ariaHideOutside.js +119 -0
  1176. package/dist/node_modules/react-aria/dist/private/overlays/calculatePosition.js +208 -0
  1177. package/dist/node_modules/react-aria/dist/private/overlays/useCloseOnScroll.js +26 -0
  1178. package/dist/node_modules/react-aria/dist/private/overlays/useOverlay.js +50 -0
  1179. package/dist/node_modules/react-aria/dist/private/overlays/useOverlayPosition.js +136 -0
  1180. package/dist/node_modules/react-aria/dist/private/overlays/useOverlayTrigger.js +26 -0
  1181. package/dist/node_modules/react-aria/dist/private/overlays/usePopover.js +46 -0
  1182. package/dist/node_modules/react-aria/dist/private/overlays/usePreventScroll.js +112 -0
  1183. package/dist/node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.js +38 -0
  1184. package/dist/node_modules/react-aria/dist/private/selection/ListKeyboardDelegate.js +120 -0
  1185. package/dist/node_modules/react-aria/dist/private/selection/useSelectableCollection.js +222 -0
  1186. package/dist/node_modules/react-aria/dist/private/selection/useSelectableItem.js +137 -0
  1187. package/dist/node_modules/react-aria/dist/private/selection/useSelectableList.js +38 -0
  1188. package/dist/node_modules/react-aria/dist/private/selection/useTypeSelect.js +33 -0
  1189. package/dist/node_modules/react-aria/dist/private/selection/utils.js +23 -0
  1190. package/dist/node_modules/react-aria/dist/private/slider/useSlider.js +88 -0
  1191. package/dist/node_modules/react-aria/dist/private/slider/useSliderThumb.js +142 -0
  1192. package/dist/node_modules/react-aria/dist/private/slider/utils.js +10 -0
  1193. package/dist/node_modules/react-aria/dist/private/spinbutton/intlStrings.js +74 -0
  1194. package/dist/node_modules/react-aria/dist/private/spinbutton/useSpinButton.js +138 -0
  1195. package/dist/node_modules/react-aria/dist/private/ssr/SSRProvider.js +52 -0
  1196. package/dist/node_modules/react-aria/dist/private/textfield/useTextField.js +78 -0
  1197. package/dist/node_modules/react-aria/dist/private/utils/chain.js +8 -0
  1198. package/dist/node_modules/react-aria/dist/private/utils/constants.js +5 -0
  1199. package/dist/node_modules/react-aria/dist/private/utils/domHelpers.js +12 -0
  1200. package/dist/node_modules/react-aria/dist/private/utils/filterDOMProps.js +65 -0
  1201. package/dist/node_modules/react-aria/dist/private/utils/focusWithoutScrolling.js +45 -0
  1202. package/dist/node_modules/react-aria/dist/private/utils/getNonce.js +15 -0
  1203. package/dist/node_modules/react-aria/dist/private/utils/getScrollParent.js +9 -0
  1204. package/dist/node_modules/react-aria/dist/private/utils/getScrollParents.js +10 -0
  1205. package/dist/node_modules/react-aria/dist/private/utils/isElementVisible.js +25 -0
  1206. package/dist/node_modules/react-aria/dist/private/utils/isFocusable.js +37 -0
  1207. package/dist/node_modules/react-aria/dist/private/utils/isScrollable.js +8 -0
  1208. package/dist/node_modules/react-aria/dist/private/utils/isVirtualEvent.js +11 -0
  1209. package/dist/node_modules/react-aria/dist/private/utils/keyboard.js +22 -0
  1210. package/dist/node_modules/react-aria/dist/private/utils/mergeProps.js +23 -0
  1211. package/dist/node_modules/react-aria/dist/private/utils/mergeRefs.js +21 -0
  1212. package/dist/node_modules/react-aria/dist/private/utils/openLink.js +61 -0
  1213. package/dist/node_modules/react-aria/dist/private/utils/platform.js +44 -0
  1214. package/dist/node_modules/react-aria/dist/private/utils/runAfterTransition.js +38 -0
  1215. package/dist/node_modules/react-aria/dist/private/utils/scrollIntoView.js +66 -0
  1216. package/dist/node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.js +38 -0
  1217. package/dist/node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.js +127 -0
  1218. package/dist/node_modules/react-aria/dist/private/utils/useDeepMemo.js +8 -0
  1219. package/dist/node_modules/react-aria/dist/private/utils/useDescription.js +32 -0
  1220. package/dist/node_modules/react-aria/dist/private/utils/useEffectEvent.js +17 -0
  1221. package/dist/node_modules/react-aria/dist/private/utils/useEvent.js +20 -0
  1222. package/dist/node_modules/react-aria/dist/private/utils/useFormReset.js +18 -0
  1223. package/dist/node_modules/react-aria/dist/private/utils/useGlobalListeners.js +33 -0
  1224. package/dist/node_modules/react-aria/dist/private/utils/useId.js +59 -0
  1225. package/dist/node_modules/react-aria/dist/private/utils/useLabels.js +17 -0
  1226. package/dist/node_modules/react-aria/dist/private/utils/useLayoutEffect.js +6 -0
  1227. package/dist/node_modules/react-aria/dist/private/utils/useResizeObserver.js +32 -0
  1228. package/dist/node_modules/react-aria/dist/private/utils/useSyncRef.js +12 -0
  1229. package/dist/node_modules/react-aria/dist/private/utils/useUpdateEffect.js +15 -0
  1230. package/dist/node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.js +13 -0
  1231. package/dist/node_modules/react-aria/dist/private/utils/useValueEffect.js +28 -0
  1232. package/dist/node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.js +40 -0
  1233. package/dist/node_modules/react-csv/src/components/Download.js +34 -0
  1234. package/dist/node_modules/react-csv/src/components/Link.js +85 -0
  1235. package/dist/node_modules/react-csv/src/core.js +49 -0
  1236. package/dist/node_modules/react-csv/src/index.js +6 -0
  1237. package/dist/node_modules/react-csv/src/metaProps.js +23 -0
  1238. package/dist/node_modules/react-hook-form/dist/index.esm.js +1501 -0
  1239. package/dist/node_modules/react-innertext/index.js +16 -0
  1240. package/dist/node_modules/react-international-phone/dist/index.js +333 -0
  1241. package/dist/node_modules/react-joyride/dist/index.js +2044 -0
  1242. package/dist/node_modules/react-stately/dist/private/calendar/useCalendarState.js +254 -0
  1243. package/dist/node_modules/react-stately/dist/private/calendar/useRangeCalendarState.js +140 -0
  1244. package/dist/node_modules/react-stately/dist/private/calendar/utils.js +66 -0
  1245. package/dist/node_modules/react-stately/dist/private/collections/CollectionBuilder.js +160 -0
  1246. package/dist/node_modules/react-stately/dist/private/collections/Item.js +37 -0
  1247. package/dist/node_modules/react-stately/dist/private/collections/getChildNodes.js +33 -0
  1248. package/dist/node_modules/react-stately/dist/private/collections/getItemCount.js +14 -0
  1249. package/dist/node_modules/react-stately/dist/private/collections/useCollection.js +23 -0
  1250. package/dist/node_modules/react-stately/dist/private/combobox/useComboBoxState.js +206 -0
  1251. package/dist/node_modules/react-stately/dist/private/datepicker/IncompleteDate.js +235 -0
  1252. package/dist/node_modules/react-stately/dist/private/datepicker/intlStrings.js +74 -0
  1253. package/dist/node_modules/react-stately/dist/private/datepicker/placeholders.js +399 -0
  1254. package/dist/node_modules/react-stately/dist/private/datepicker/useDateFieldState.js +263 -0
  1255. package/dist/node_modules/react-stately/dist/private/datepicker/useDatePickerState.js +76 -0
  1256. package/dist/node_modules/react-stately/dist/private/datepicker/useDateRangePickerState.js +171 -0
  1257. package/dist/node_modules/react-stately/dist/private/datepicker/useTimeFieldState.js +57 -0
  1258. package/dist/node_modules/react-stately/dist/private/datepicker/utils.js +145 -0
  1259. package/dist/node_modules/react-stately/dist/private/flags/flags.js +7 -0
  1260. package/dist/node_modules/react-stately/dist/private/form/useFormValidationState.js +127 -0
  1261. package/dist/node_modules/react-stately/dist/private/intl/datepicker/ar-AE.js +10 -0
  1262. package/dist/node_modules/react-stately/dist/private/intl/datepicker/bg-BG.js +10 -0
  1263. package/dist/node_modules/react-stately/dist/private/intl/datepicker/cs-CZ.js +10 -0
  1264. package/dist/node_modules/react-stately/dist/private/intl/datepicker/da-DK.js +10 -0
  1265. package/dist/node_modules/react-stately/dist/private/intl/datepicker/de-DE.js +10 -0
  1266. package/dist/node_modules/react-stately/dist/private/intl/datepicker/el-GR.js +10 -0
  1267. package/dist/node_modules/react-stately/dist/private/intl/datepicker/en-US.js +10 -0
  1268. package/dist/node_modules/react-stately/dist/private/intl/datepicker/es-ES.js +10 -0
  1269. package/dist/node_modules/react-stately/dist/private/intl/datepicker/et-EE.js +10 -0
  1270. package/dist/node_modules/react-stately/dist/private/intl/datepicker/fi-FI.js +10 -0
  1271. package/dist/node_modules/react-stately/dist/private/intl/datepicker/fr-FR.js +10 -0
  1272. package/dist/node_modules/react-stately/dist/private/intl/datepicker/he-IL.js +10 -0
  1273. package/dist/node_modules/react-stately/dist/private/intl/datepicker/hr-HR.js +10 -0
  1274. package/dist/node_modules/react-stately/dist/private/intl/datepicker/hu-HU.js +10 -0
  1275. package/dist/node_modules/react-stately/dist/private/intl/datepicker/it-IT.js +10 -0
  1276. package/dist/node_modules/react-stately/dist/private/intl/datepicker/ja-JP.js +10 -0
  1277. package/dist/node_modules/react-stately/dist/private/intl/datepicker/ko-KR.js +10 -0
  1278. package/dist/node_modules/react-stately/dist/private/intl/datepicker/lt-LT.js +10 -0
  1279. package/dist/node_modules/react-stately/dist/private/intl/datepicker/lv-LV.js +10 -0
  1280. package/dist/node_modules/react-stately/dist/private/intl/datepicker/nb-NO.js +10 -0
  1281. package/dist/node_modules/react-stately/dist/private/intl/datepicker/nl-NL.js +10 -0
  1282. package/dist/node_modules/react-stately/dist/private/intl/datepicker/pl-PL.js +10 -0
  1283. package/dist/node_modules/react-stately/dist/private/intl/datepicker/pt-BR.js +10 -0
  1284. package/dist/node_modules/react-stately/dist/private/intl/datepicker/pt-PT.js +10 -0
  1285. package/dist/node_modules/react-stately/dist/private/intl/datepicker/ro-RO.js +10 -0
  1286. package/dist/node_modules/react-stately/dist/private/intl/datepicker/ru-RU.js +10 -0
  1287. package/dist/node_modules/react-stately/dist/private/intl/datepicker/sk-SK.js +10 -0
  1288. package/dist/node_modules/react-stately/dist/private/intl/datepicker/sl-SI.js +10 -0
  1289. package/dist/node_modules/react-stately/dist/private/intl/datepicker/sr-SP.js +10 -0
  1290. package/dist/node_modules/react-stately/dist/private/intl/datepicker/sv-SE.js +10 -0
  1291. package/dist/node_modules/react-stately/dist/private/intl/datepicker/tr-TR.js +10 -0
  1292. package/dist/node_modules/react-stately/dist/private/intl/datepicker/uk-UA.js +10 -0
  1293. package/dist/node_modules/react-stately/dist/private/intl/datepicker/zh-CN.js +10 -0
  1294. package/dist/node_modules/react-stately/dist/private/intl/datepicker/zh-TW.js +10 -0
  1295. package/dist/node_modules/react-stately/dist/private/list/ListCollection.js +51 -0
  1296. package/dist/node_modules/react-stately/dist/private/list/useListState.js +60 -0
  1297. package/dist/node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.js +29 -0
  1298. package/dist/node_modules/react-stately/dist/private/selection/Selection.js +8 -0
  1299. package/dist/node_modules/react-stately/dist/private/selection/SelectionManager.js +274 -0
  1300. package/dist/node_modules/react-stately/dist/private/selection/useMultipleSelectionState.js +57 -0
  1301. package/dist/node_modules/react-stately/dist/private/slider/useSliderState.js +151 -0
  1302. package/dist/node_modules/react-stately/dist/private/utils/number.js +26 -0
  1303. package/dist/node_modules/react-stately/dist/private/utils/useControlledState.js +29 -0
  1304. package/dist/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js +7 -0
  1305. package/dist/node_modules/react-syntax-highlighter/dist/esm/create-element.js +99 -0
  1306. package/dist/node_modules/react-syntax-highlighter/dist/esm/highlight.js +282 -0
  1307. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/bash.js +4 -0
  1308. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/csharp.js +4 -0
  1309. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/dart.js +4 -0
  1310. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/docker.js +4 -0
  1311. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/elixir.js +4 -0
  1312. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/go.js +4 -0
  1313. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/hcl.js +4 -0
  1314. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/java.js +4 -0
  1315. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/javascript.js +4 -0
  1316. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/json.js +4 -0
  1317. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/kotlin.js +4 -0
  1318. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/markup.js +4 -0
  1319. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/php.js +4 -0
  1320. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/powershell.js +4 -0
  1321. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/python.js +4 -0
  1322. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/ruby.js +4 -0
  1323. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/scala.js +4 -0
  1324. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/swift.js +4 -0
  1325. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/toml.js +4 -0
  1326. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/typescript.js +4 -0
  1327. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/yaml.js +4 -0
  1328. package/dist/node_modules/react-syntax-highlighter/dist/esm/prism-light.js +12 -0
  1329. package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/prism/prism.js +195 -0
  1330. package/dist/node_modules/refractor/lang/bash.js +226 -0
  1331. package/dist/node_modules/refractor/lang/clike.js +38 -0
  1332. package/dist/node_modules/refractor/lang/csharp.js +385 -0
  1333. package/dist/node_modules/refractor/lang/dart.js +76 -0
  1334. package/dist/node_modules/refractor/lang/docker.js +101 -0
  1335. package/dist/node_modules/refractor/lang/elixir.js +103 -0
  1336. package/dist/node_modules/refractor/lang/go.js +32 -0
  1337. package/dist/node_modules/refractor/lang/hcl.js +67 -0
  1338. package/dist/node_modules/refractor/lang/java.js +135 -0
  1339. package/dist/node_modules/refractor/lang/javascript.js +139 -0
  1340. package/dist/node_modules/refractor/lang/json.js +31 -0
  1341. package/dist/node_modules/refractor/lang/kotlin.js +83 -0
  1342. package/dist/node_modules/refractor/lang/markup-templating.js +74 -0
  1343. package/dist/node_modules/refractor/lang/markup.js +174 -0
  1344. package/dist/node_modules/refractor/lang/php.js +328 -0
  1345. package/dist/node_modules/refractor/lang/powershell.js +62 -0
  1346. package/dist/node_modules/refractor/lang/python.js +68 -0
  1347. package/dist/node_modules/refractor/lang/ruby.js +179 -0
  1348. package/dist/node_modules/refractor/lang/scala.js +52 -0
  1349. package/dist/node_modules/refractor/lang/swift.js +126 -0
  1350. package/dist/node_modules/refractor/lang/toml.js +60 -0
  1351. package/dist/node_modules/refractor/lang/typescript.js +53 -0
  1352. package/dist/node_modules/refractor/lang/yaml.js +88 -0
  1353. package/dist/node_modules/refractor/lib/core.js +107 -0
  1354. package/dist/node_modules/refractor/lib/prism-core.js +430 -0
  1355. package/dist/node_modules/scroll/index.js +36 -0
  1356. package/dist/node_modules/scrollparent/scrollparent.js +28 -0
  1357. package/dist/node_modules/space-separated-tokens/index.js +7 -0
  1358. package/dist/node_modules/tabbable/dist/index.esm.js +200 -0
  1359. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +67 -0
  1360. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +55 -0
  1361. package/dist/node_modules/use-sync-external-store/shim/index.js +10 -0
  1362. package/dist/utils/date.js +7 -0
  1363. package/dist/utils/filters.js +60 -0
  1364. package/dist/utils/index.js +26 -21
  1365. package/dist/utils/normalizers.js +16 -0
  1366. package/dist/utils/open-url.js +12 -0
  1367. package/dist/utils/storage.js +16 -0
  1368. package/dist/utils/url.js +13 -0
  1369. package/package.json +5 -1
  1370. package/dist/components-LCJjFofC.mjs +0 -18033
  1371. package/dist/vendor-i-lggy4V.mjs +0 -48982
  1372. /package/dist/assets/{index.css → styles/global.css} +0 -0
@@ -0,0 +1,1501 @@
1
+ import v from "react";
2
+ var ve = (t) => t.type === "checkbox", de = (t) => t instanceof Date, j = (t) => t == null;
3
+ const Dt = (t) => typeof t == "object";
4
+ var N = (t) => !j(t) && !Array.isArray(t) && Dt(t) && !de(t), kt = (t) => N(t) && t.target ? ve(t.target) ? t.target.checked : t.target.value : t, St = (t, s) => s.split(".").some((e, i, u) => !isNaN(Number(e)) && t.has(u.slice(0, i).join("."))), Kt = (t) => {
5
+ const s = t.constructor && t.constructor.prototype;
6
+ return N(s) && s.hasOwnProperty("isPrototypeOf");
7
+ }, Ze = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
8
+ function M(t) {
9
+ if (t instanceof Date)
10
+ return new Date(t);
11
+ const s = typeof FileList < "u" && t instanceof FileList;
12
+ if (Ze && (t instanceof Blob || s))
13
+ return t;
14
+ const e = Array.isArray(t);
15
+ if (!e && !(N(t) && Kt(t)))
16
+ return t;
17
+ const i = e ? [] : Object.create(Object.getPrototypeOf(t));
18
+ for (const u in t)
19
+ Object.prototype.hasOwnProperty.call(t, u) && (i[u] = M(t[u]));
20
+ return i;
21
+ }
22
+ var be = (t) => /^\w*$/.test(t), R = (t) => t === void 0, De = (t) => Array.isArray(t) ? t.filter(Boolean) : [], ke = (t) => De(t.replace(/["|']|\]/g, "").split(/\.|\[/)), f = (t, s, e) => {
23
+ if (!s || !N(t))
24
+ return e;
25
+ const u = (be(s) ? [s] : ke(s)).reduce((l, o) => j(l) ? void 0 : l[o], t);
26
+ return R(u) || u === t ? R(t[s]) ? e : t[s] : u;
27
+ }, Q = (t) => typeof t == "boolean", K = (t) => typeof t == "function", T = (t, s, e) => {
28
+ let i = -1;
29
+ const u = be(s) ? [s] : ke(s), l = u.length, o = l - 1;
30
+ for (; ++i < l; ) {
31
+ const d = u[i];
32
+ let w = e;
33
+ if (i !== o) {
34
+ const p = t[d];
35
+ w = N(p) || Array.isArray(p) ? p : isNaN(+u[i + 1]) ? {} : [];
36
+ }
37
+ if (d === "__proto__" || d === "constructor" || d === "prototype")
38
+ return;
39
+ t[d] = w, t = t[d];
40
+ }
41
+ };
42
+ const ue = {
43
+ BLUR: "blur",
44
+ FOCUS_OUT: "focusout",
45
+ CHANGE: "change",
46
+ SUBMIT: "submit",
47
+ TRIGGER: "trigger",
48
+ VALID: "valid"
49
+ }, te = {
50
+ onBlur: "onBlur",
51
+ onChange: "onChange",
52
+ onSubmit: "onSubmit",
53
+ onTouched: "onTouched",
54
+ all: "all"
55
+ }, ie = {
56
+ max: "max",
57
+ min: "min",
58
+ maxLength: "maxLength",
59
+ minLength: "minLength",
60
+ pattern: "pattern",
61
+ required: "required",
62
+ validate: "validate"
63
+ }, Ie = "form", Et = "root", et = v.createContext(null);
64
+ et.displayName = "HookFormControlContext";
65
+ const Se = () => v.useContext(et);
66
+ var Ct = (t, s, e, i = !0) => {
67
+ const u = {};
68
+ for (const l in t)
69
+ Object.defineProperty(u, l, {
70
+ get: () => {
71
+ const o = l;
72
+ return s._proxyFormState[o] !== te.all && (s._proxyFormState[o] = !i || te.all), e && (e[o] = !0), t[o];
73
+ }
74
+ });
75
+ return u;
76
+ };
77
+ const Ee = typeof window < "u" ? v.useLayoutEffect : v.useEffect;
78
+ function Yt(t) {
79
+ const s = Se(), { control: e = s, disabled: i, name: u, exact: l } = t || {}, [o, d] = v.useState(() => ({
80
+ ...e._formState,
81
+ defaultValues: e._defaultValues
82
+ })), w = v.useRef({
83
+ isDirty: !1,
84
+ isLoading: !1,
85
+ dirtyFields: !1,
86
+ touchedFields: !1,
87
+ validatingFields: !1,
88
+ isValidating: !1,
89
+ isValid: !1,
90
+ errors: !1
91
+ });
92
+ return Ee(() => e._subscribe({
93
+ name: u,
94
+ formState: w.current,
95
+ exact: l,
96
+ callback: (p) => {
97
+ !i && d({
98
+ ...e._formState,
99
+ ...p,
100
+ defaultValues: e._defaultValues
101
+ });
102
+ }
103
+ }), [u, i, l]), v.useEffect(() => {
104
+ w.current.isValid && e._setValid(!0);
105
+ }, [e]), v.useMemo(() => Ct(o, e, w.current, !1), [o, e]);
106
+ }
107
+ var Y = (t) => typeof t == "string", je = (t, s, e, i, u) => Y(t) ? (i && s.watch.add(t), f(e, t, u)) : Array.isArray(t) ? t.map((l) => (i && s.watch.add(l), f(e, l))) : (i && (s.watchAll = !0), e), Ke = (t) => j(t) || !Dt(t);
108
+ function X(t, s, e = /* @__PURE__ */ new WeakSet()) {
109
+ if (t === s)
110
+ return !0;
111
+ if (Ke(t) || Ke(s))
112
+ return Object.is(t, s);
113
+ if (de(t) && de(s))
114
+ return Object.is(t.getTime(), s.getTime());
115
+ const i = Object.keys(t), u = Object.keys(s);
116
+ if (i.length !== u.length)
117
+ return !1;
118
+ if (e.has(t) || e.has(s))
119
+ return !0;
120
+ e.add(t), e.add(s);
121
+ for (const l of i) {
122
+ const o = t[l];
123
+ if (!(l in s))
124
+ return !1;
125
+ if (l !== "ref") {
126
+ const d = s[l];
127
+ if (de(o) && de(d) || (N(o) || Array.isArray(o)) && (N(d) || Array.isArray(d)) ? !X(o, d, e) : !Object.is(o, d))
128
+ return !1;
129
+ }
130
+ }
131
+ return !0;
132
+ }
133
+ function zt(t) {
134
+ const s = Se(), { control: e = s, name: i, defaultValue: u, disabled: l, exact: o, compute: d } = t || {}, w = v.useRef(u), p = v.useRef(d), W = v.useRef(void 0), V = v.useRef(e), D = v.useRef(i);
135
+ p.current = d;
136
+ const [A, q] = v.useState(() => {
137
+ const h = e._getWatch(i, w.current);
138
+ return p.current ? p.current(h) : h;
139
+ }), U = v.useCallback((h) => {
140
+ const g = je(i, e._names, h || e._formValues, !1, w.current);
141
+ return p.current ? p.current(g) : g;
142
+ }, [e._formValues, e._names, i]), L = v.useCallback((h) => {
143
+ if (!l) {
144
+ const g = je(i, e._names, h || e._formValues, !1, w.current);
145
+ if (p.current) {
146
+ const F = p.current(g);
147
+ X(F, W.current) || (q(F), W.current = F);
148
+ } else
149
+ q(g);
150
+ }
151
+ }, [e._formValues, e._names, l, i]);
152
+ Ee(() => ((V.current !== e || !X(D.current, i)) && (V.current = e, D.current = i, L()), e._subscribe({
153
+ name: i,
154
+ formState: {
155
+ values: !0
156
+ },
157
+ exact: o,
158
+ callback: (h) => {
159
+ L(h.values);
160
+ }
161
+ })), [e, o, i, L]), v.useEffect(() => e._removeUnmounted());
162
+ const I = V.current !== e, x = D.current, S = v.useMemo(() => {
163
+ if (l)
164
+ return null;
165
+ const h = !I && !X(x, i);
166
+ return I || h ? U() : null;
167
+ }, [l, I, i, x, U]);
168
+ return S !== null ? S : A;
169
+ }
170
+ function Jt(t) {
171
+ const s = Se(), { name: e, disabled: i, control: u = s, shouldUnregister: l, defaultValue: o, exact: d = !0 } = t, w = St(u._names.array, e), p = v.useMemo(() => f(u._formValues, e, f(u._defaultValues, e, o)), [u, e, o]), W = zt({
172
+ control: u,
173
+ name: e,
174
+ defaultValue: p,
175
+ exact: d
176
+ }), V = Yt({
177
+ control: u,
178
+ name: e,
179
+ exact: d
180
+ }), D = v.useRef(t), A = v.useRef(u.register(e, {
181
+ ...t.rules,
182
+ value: W,
183
+ ...Q(t.disabled) ? { disabled: t.disabled } : {}
184
+ }));
185
+ D.current = t;
186
+ const q = v.useMemo(() => Object.defineProperties({}, {
187
+ invalid: {
188
+ enumerable: !0,
189
+ get: () => !!f(V.errors, e)
190
+ },
191
+ isDirty: {
192
+ enumerable: !0,
193
+ get: () => !!f(V.dirtyFields, e)
194
+ },
195
+ isTouched: {
196
+ enumerable: !0,
197
+ get: () => !!f(V.touchedFields, e)
198
+ },
199
+ isValidating: {
200
+ enumerable: !0,
201
+ get: () => !!f(V.validatingFields, e)
202
+ },
203
+ error: {
204
+ enumerable: !0,
205
+ get: () => f(V.errors, e)
206
+ }
207
+ }), [V, e]), U = v.useCallback((S) => A.current.onChange({
208
+ target: {
209
+ value: kt(S),
210
+ name: e
211
+ },
212
+ type: ue.CHANGE
213
+ }), [e]), L = v.useCallback(() => A.current.onBlur({
214
+ target: {
215
+ value: f(u._formValues, e),
216
+ name: e
217
+ },
218
+ type: ue.BLUR
219
+ }), [e, u._formValues]), I = v.useCallback((S) => {
220
+ const h = f(u._fields, e);
221
+ h && h._f && S && (h._f.ref = {
222
+ focus: () => K(S.focus) && S.focus(),
223
+ select: () => K(S.select) && S.select(),
224
+ setCustomValidity: (g) => K(S.setCustomValidity) && S.setCustomValidity(g),
225
+ reportValidity: () => K(S.reportValidity) && S.reportValidity()
226
+ });
227
+ }, [u._fields, e]), x = v.useMemo(() => ({
228
+ name: e,
229
+ value: W,
230
+ ...Q(i) || V.disabled ? { disabled: V.disabled || i } : {},
231
+ onChange: U,
232
+ onBlur: L,
233
+ ref: I
234
+ }), [e, i, V.disabled, U, L, I, W]);
235
+ return v.useEffect(() => {
236
+ const S = u._options.shouldUnregister || l;
237
+ u.register(e, {
238
+ ...D.current.rules,
239
+ ...Q(D.current.disabled) ? { disabled: D.current.disabled } : {}
240
+ });
241
+ const h = (g, F) => {
242
+ const E = f(u._fields, g);
243
+ E && E._f && (E._f.mount = F);
244
+ };
245
+ if (h(e, !0), S) {
246
+ const g = M(f(u._defaultValues, e, f(u._options.defaultValues, e, D.current.defaultValue)));
247
+ T(u._defaultValues, e, g), R(f(u._formValues, e)) && T(u._formValues, e, g);
248
+ }
249
+ return !w && u.register(e), () => {
250
+ (w ? S && !u._state.action : S) ? u.unregister(e) : h(e, !1);
251
+ };
252
+ }, [e, u, w, l]), v.useEffect(() => {
253
+ u._setDisabledField({
254
+ disabled: i,
255
+ name: e
256
+ });
257
+ }, [i, e, u]), v.useMemo(() => ({
258
+ field: x,
259
+ formState: V,
260
+ fieldState: q
261
+ }), [x, V, q]);
262
+ }
263
+ const _r = (t) => t.render(Jt(t)), tt = v.createContext(null);
264
+ tt.displayName = "HookFormContext";
265
+ const gr = () => v.useContext(tt), mr = (t) => {
266
+ const { children: s, watch: e, getValues: i, getFieldState: u, setError: l, clearErrors: o, setValue: d, setValues: w, trigger: p, formState: W, resetField: V, reset: D, handleSubmit: A, unregister: q, control: U, register: L, setFocus: I, subscribe: x } = t, S = v.useMemo(() => ({
267
+ watch: e,
268
+ getValues: i,
269
+ getFieldState: u,
270
+ setError: l,
271
+ clearErrors: o,
272
+ setValue: d,
273
+ setValues: w,
274
+ trigger: p,
275
+ formState: W,
276
+ resetField: V,
277
+ reset: D,
278
+ handleSubmit: A,
279
+ unregister: q,
280
+ control: U,
281
+ register: L,
282
+ setFocus: I,
283
+ subscribe: x
284
+ }), [
285
+ o,
286
+ U,
287
+ W,
288
+ u,
289
+ i,
290
+ A,
291
+ L,
292
+ D,
293
+ V,
294
+ l,
295
+ I,
296
+ d,
297
+ w,
298
+ x,
299
+ p,
300
+ q,
301
+ e
302
+ ]);
303
+ return v.createElement(
304
+ tt.Provider,
305
+ { value: S },
306
+ v.createElement(et.Provider, { value: S.control }, s)
307
+ );
308
+ };
309
+ var Qt = (t, s, e, i, u) => s ? {
310
+ ...e[t],
311
+ types: {
312
+ ...e[t] && e[t].types ? e[t].types : {},
313
+ [i]: u || !0
314
+ }
315
+ } : {}, J = (t) => Array.isArray(t) ? t : [t], ht = () => {
316
+ let t = [];
317
+ return {
318
+ get observers() {
319
+ return t;
320
+ },
321
+ next: (u) => {
322
+ for (const l of t)
323
+ l.next && l.next(u);
324
+ },
325
+ subscribe: (u) => (t.push(u), {
326
+ unsubscribe: () => {
327
+ t = t.filter((l) => l !== u);
328
+ }
329
+ }),
330
+ unsubscribe: () => {
331
+ t = [];
332
+ }
333
+ };
334
+ };
335
+ function Ot(t, s) {
336
+ const e = {};
337
+ for (const i in t)
338
+ if (t.hasOwnProperty(i)) {
339
+ const u = t[i], l = s[i];
340
+ if (u && N(u) && l) {
341
+ const o = Ot(u, l);
342
+ N(o) && (e[i] = o);
343
+ } else t[i] && (e[i] = l);
344
+ }
345
+ return e;
346
+ }
347
+ var $ = (t) => N(t) && !Object.keys(t).length, rt = (t) => t.type === "file", pe = (t) => {
348
+ if (!Ze)
349
+ return !1;
350
+ const s = t ? t.ownerDocument : 0;
351
+ return t instanceof (s && s.defaultView ? s.defaultView.HTMLElement : HTMLElement);
352
+ }, Rt = (t) => t.type === "select-multiple", st = (t) => t.type === "radio", Xt = (t) => st(t) || ve(t), Le = (t) => pe(t) && t.isConnected;
353
+ function Zt(t, s) {
354
+ const e = s.slice(0, -1).length;
355
+ let i = 0;
356
+ for (; i < e; ) {
357
+ if (j(t)) {
358
+ t = void 0;
359
+ break;
360
+ }
361
+ t = t[s[i]], i++;
362
+ }
363
+ return t;
364
+ }
365
+ function er(t) {
366
+ for (const s in t)
367
+ if (t.hasOwnProperty(s) && !R(t[s]))
368
+ return !1;
369
+ return !0;
370
+ }
371
+ function P(t, s) {
372
+ if (Y(s) && Object.prototype.hasOwnProperty.call(t, s))
373
+ return delete t[s], t;
374
+ const e = Array.isArray(s) ? s : be(s) ? [s] : ke(s), i = e.length === 1 ? t : Zt(t, e), u = e.length - 1, l = e[u];
375
+ return i && delete i[l], u !== 0 && (N(i) && $(i) || Array.isArray(i) && er(i)) && P(t, e.slice(0, -1)), t;
376
+ }
377
+ var tr = (t) => {
378
+ for (const s in t)
379
+ if (K(t[s]))
380
+ return !0;
381
+ return !1;
382
+ };
383
+ function Tt(t) {
384
+ return Array.isArray(t) || N(t) && !tr(t);
385
+ }
386
+ function Ye(t, s = {}) {
387
+ for (const e in t) {
388
+ const i = t[e];
389
+ Tt(i) ? (s[e] = Array.isArray(i) ? [] : {}, Ye(i, s[e])) : R(i) || (s[e] = !0);
390
+ }
391
+ return s;
392
+ }
393
+ function ze(t) {
394
+ if (t !== !1) {
395
+ if (t === !0)
396
+ return !0;
397
+ if (Array.isArray(t)) {
398
+ const s = t.map((e) => ze(e));
399
+ return s.some((e) => e !== void 0) ? s : void 0;
400
+ }
401
+ if (N(t)) {
402
+ const s = {};
403
+ for (const e in t) {
404
+ const i = ze(t[e]);
405
+ R(i) || (s[e] = i);
406
+ }
407
+ return Object.keys(s).length ? s : void 0;
408
+ }
409
+ }
410
+ }
411
+ function ye(t, s, e) {
412
+ e || (e = Ye(s));
413
+ for (const i in t) {
414
+ const u = t[i];
415
+ if (Tt(u))
416
+ R(s) || Ke(e[i]) ? e[i] = Ye(u, Array.isArray(u) ? [] : {}) : ye(u, j(s) ? {} : s[i], e[i]);
417
+ else {
418
+ const l = s[i];
419
+ e[i] = !X(u, l);
420
+ }
421
+ }
422
+ return ze(e) || {};
423
+ }
424
+ const Vt = {
425
+ value: !1,
426
+ isValid: !1
427
+ }, vt = { value: !0, isValid: !0 };
428
+ var Mt = (t) => {
429
+ if (Array.isArray(t)) {
430
+ if (t.length > 1) {
431
+ const s = t.filter((e) => e && e.checked && !e.disabled).map((e) => e.value);
432
+ return { value: s, isValid: !!s.length };
433
+ }
434
+ return t[0].checked && !t[0].disabled ? (
435
+ // @ts-expect-error expected to work in the browser
436
+ t[0].attributes && !R(t[0].attributes.value) ? R(t[0].value) || t[0].value === "" ? vt : { value: t[0].value, isValid: !0 } : vt
437
+ ) : Vt;
438
+ }
439
+ return Vt;
440
+ }, Ut = (t, { valueAsNumber: s, valueAsDate: e, setValueAs: i }) => R(t) ? t : s ? t === "" ? NaN : t && +t : e && Y(t) ? new Date(t) : i ? i(t) : t;
441
+ const bt = {
442
+ isValid: !1,
443
+ value: null
444
+ };
445
+ var It = (t) => Array.isArray(t) ? t.reduce((s, e) => e && e.checked && !e.disabled ? {
446
+ isValid: !0,
447
+ value: e.value
448
+ } : s, bt) : bt;
449
+ function Ft(t) {
450
+ const s = t.ref;
451
+ return rt(s) ? s.files : st(s) ? It(t.refs).value : Rt(s) ? [...s.selectedOptions].map(({ value: e }) => e) : ve(s) ? Mt(t.refs).value : Ut(R(s.value) ? t.ref.value : s.value, t);
452
+ }
453
+ var rr = (t, s, e, i) => {
454
+ const u = {};
455
+ for (const l of t) {
456
+ const o = f(s, l);
457
+ o && T(u, l, o._f);
458
+ }
459
+ return {
460
+ criteriaMode: e,
461
+ names: [...t],
462
+ fields: u,
463
+ shouldUseNativeValidation: i
464
+ };
465
+ }, we = (t) => t instanceof RegExp, Ve = (t) => R(t) ? t : we(t) ? t.source : N(t) ? we(t.value) ? t.value.source : t.value : t, _e = (t) => ({
466
+ isOnSubmit: !t || t === te.onSubmit,
467
+ isOnBlur: t === te.onBlur,
468
+ isOnChange: t === te.onChange,
469
+ isOnAll: t === te.all,
470
+ isOnTouch: t === te.onTouched
471
+ });
472
+ const At = "AsyncFunction";
473
+ var sr = (t) => !!t && !!t.validate && !!(K(t.validate) && t.validate.constructor.name === At || N(t.validate) && Object.values(t.validate).find((s) => s.constructor.name === At)), ir = (t) => t.mount && (t.required || t.min || t.max || t.maxLength || t.minLength || t.pattern || t.validate), Je = (t, s, e) => !e && (s.watchAll || s.watch.has(t) || [...s.watch].some((i) => t.startsWith(i) && /^\.\w+/.test(t.slice(i.length))));
474
+ const ge = (t, s, e, i) => {
475
+ for (const u of e || Object.keys(t)) {
476
+ const l = f(t, u);
477
+ if (l) {
478
+ const { _f: o, ...d } = l;
479
+ if (o) {
480
+ if (o.refs && o.refs[0] && s(o.refs[0], u) && !i)
481
+ return !0;
482
+ if (o.ref && s(o.ref, o.name) && !i)
483
+ return !0;
484
+ if (ge(d, s))
485
+ break;
486
+ } else if (N(d) && ge(d, s))
487
+ break;
488
+ }
489
+ }
490
+ };
491
+ function xt(t, s, e) {
492
+ const i = f(t, e);
493
+ if (i || be(e))
494
+ return {
495
+ error: i,
496
+ name: e
497
+ };
498
+ const u = e.split(".");
499
+ for (; u.length; ) {
500
+ const l = u.join("."), o = f(s, l), d = f(t, l);
501
+ if (o && !Array.isArray(o) && e !== l)
502
+ return { name: e };
503
+ if (d && d.type)
504
+ return {
505
+ name: l,
506
+ error: d
507
+ };
508
+ if (d && d.root && d.root.type)
509
+ return {
510
+ name: `${l}.root`,
511
+ error: d.root
512
+ };
513
+ u.pop();
514
+ }
515
+ return {
516
+ name: e
517
+ };
518
+ }
519
+ var ar = (t, s, e, i) => {
520
+ e(t);
521
+ const { name: u, ...l } = t;
522
+ return $(l) || i && Object.keys(l).length >= Object.keys(s).length || Object.keys(l).find((o) => s[o] === (!i || te.all));
523
+ }, nr = (t, s, e) => !t || !s || t === s || J(t).some((i) => i && (e ? i === s : i.startsWith(s) || s.startsWith(i))), lr = (t, s, e, i, u) => u.isOnAll ? !1 : !e && u.isOnTouch ? !(s || t) : (e ? i.isOnBlur : u.isOnBlur) ? !t : (e ? i.isOnChange : u.isOnChange) ? t : !0, ur = (t, s) => !De(f(t, s)).length && P(t, s), Qe = (t, s, e) => {
524
+ const i = J(f(t, e));
525
+ return T(i, Et, s[e]), T(t, e, i), t;
526
+ };
527
+ function pt(t, s, e = "validate") {
528
+ if (Y(t) || Array.isArray(t) && t.every(Y) || Q(t) && !t)
529
+ return {
530
+ type: e,
531
+ message: Y(t) ? t : "",
532
+ ref: s
533
+ };
534
+ }
535
+ var fe = (t) => N(t) && !we(t) ? t : {
536
+ value: t,
537
+ message: ""
538
+ }, Xe = async (t, s, e, i, u, l) => {
539
+ const { ref: o, refs: d, required: w, maxLength: p, minLength: W, min: V, max: D, pattern: A, validate: q, name: U, valueAsNumber: L, mount: I } = t._f, x = f(e, U);
540
+ if (!I || s.has(U))
541
+ return {};
542
+ const S = d ? d[0] : o, h = (O) => {
543
+ u && S.reportValidity && (S.setCustomValidity(Q(O) ? "" : O || ""), S.reportValidity());
544
+ }, g = {}, F = st(o), E = ve(o), z = F || E, ae = (L || rt(o)) && R(o.value) && R(x) || pe(o) && o.value === "" || x === "" || Array.isArray(x) && !x.length, re = Qt.bind(null, U, i, g), Fe = (O, C, G, B = ie.maxLength, Z = ie.minLength) => {
545
+ const ne = O ? C : G;
546
+ g[U] = {
547
+ type: O ? B : Z,
548
+ message: ne,
549
+ ref: o,
550
+ ...re(O ? B : Z, ne)
551
+ };
552
+ };
553
+ if (l ? !Array.isArray(x) || !x.length : w && (!z && (ae || j(x)) || Q(x) && !x || E && !Mt(d).isValid || F && !It(d).isValid)) {
554
+ const { value: O, message: C } = Y(w) ? { value: !!w, message: w } : fe(w);
555
+ if (O && (g[U] = {
556
+ type: ie.required,
557
+ message: C,
558
+ ref: S,
559
+ ...re(ie.required, C)
560
+ }, !i))
561
+ return h(C), g;
562
+ }
563
+ if (!ae && (!j(V) || !j(D))) {
564
+ let O, C;
565
+ const G = fe(D), B = fe(V);
566
+ if (!j(x) && !isNaN(x)) {
567
+ const Z = o.valueAsNumber || x && +x;
568
+ j(G.value) || (O = Z > G.value), j(B.value) || (C = Z < B.value);
569
+ } else {
570
+ const Z = o.valueAsDate || new Date(x), ne = (Ae) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + Ae), ce = o.type == "time", me = o.type == "week";
571
+ Y(G.value) && x && (O = ce ? ne(x) > ne(G.value) : me ? x > G.value : Z > new Date(G.value)), Y(B.value) && x && (C = ce ? ne(x) < ne(B.value) : me ? x < B.value : Z < new Date(B.value));
572
+ }
573
+ if ((O || C) && (Fe(!!O, G.message, B.message, ie.max, ie.min), !i))
574
+ return h(g[U].message), g;
575
+ }
576
+ if ((p || W) && !ae && (Y(x) || l && Array.isArray(x))) {
577
+ const O = fe(p), C = fe(W), G = !j(O.value) && x.length > +O.value, B = !j(C.value) && x.length < +C.value;
578
+ if ((G || B) && (Fe(G, O.message, C.message), !i))
579
+ return h(g[U].message), g;
580
+ }
581
+ if (A && !ae && Y(x)) {
582
+ const { value: O, message: C } = fe(A);
583
+ if (we(O) && !x.match(O) && (g[U] = {
584
+ type: ie.pattern,
585
+ message: C,
586
+ ref: o,
587
+ ...re(ie.pattern, C)
588
+ }, !i))
589
+ return h(C), g;
590
+ }
591
+ if (q) {
592
+ if (K(q)) {
593
+ const O = await q(x, e), C = pt(O, S);
594
+ if (C && (g[U] = {
595
+ ...C,
596
+ ...re(ie.validate, C.message)
597
+ }, !i))
598
+ return h(C.message), g;
599
+ } else if (N(q)) {
600
+ let O = {};
601
+ for (const C in q) {
602
+ if (!$(O) && !i)
603
+ break;
604
+ const G = pt(await q[C](x, e), S, C);
605
+ G && (O = {
606
+ ...G,
607
+ ...re(C, G.message)
608
+ }, h(G.message), i && (g[U] = O));
609
+ }
610
+ if (!$(O) && (g[U] = {
611
+ ref: S,
612
+ ...O
613
+ }, !i))
614
+ return g;
615
+ }
616
+ }
617
+ return h(!0), g;
618
+ };
619
+ const or = {
620
+ mode: te.onSubmit,
621
+ reValidateMode: te.onChange,
622
+ shouldFocusError: !0
623
+ }, Lt = {
624
+ submitCount: 0,
625
+ isDirty: !1,
626
+ isReady: !1,
627
+ isValidating: !1,
628
+ isSubmitted: !1,
629
+ isSubmitting: !1,
630
+ isSubmitSuccessful: !1,
631
+ isValid: !1,
632
+ touchedFields: {},
633
+ dirtyFields: {},
634
+ validatingFields: {}
635
+ };
636
+ function dr(t = {}) {
637
+ let s = {
638
+ ...or,
639
+ ...t
640
+ }, e = {
641
+ ...M(Lt),
642
+ isLoading: K(s.defaultValues),
643
+ errors: s.errors || {},
644
+ disabled: s.disabled || !1
645
+ }, i = {}, u = N(s.defaultValues) || N(s.values) ? M(s.defaultValues || s.values) || {} : {}, l = s.shouldUnregister ? {} : M(u), o = {
646
+ action: !1,
647
+ mount: !1,
648
+ watch: !1,
649
+ keepIsValid: !1
650
+ }, d = {
651
+ mount: /* @__PURE__ */ new Set(),
652
+ disabled: /* @__PURE__ */ new Set(),
653
+ unMount: /* @__PURE__ */ new Set(),
654
+ array: /* @__PURE__ */ new Set(),
655
+ watch: /* @__PURE__ */ new Set(),
656
+ registerName: /* @__PURE__ */ new Set()
657
+ }, w, p = 0;
658
+ const W = {
659
+ isDirty: !1,
660
+ dirtyFields: !1,
661
+ validatingFields: !1,
662
+ touchedFields: !1,
663
+ isValidating: !1,
664
+ isValid: !1,
665
+ errors: !1
666
+ }, V = {
667
+ ...W
668
+ };
669
+ let D = {
670
+ ...V
671
+ };
672
+ const A = {
673
+ array: ht(),
674
+ state: ht()
675
+ }, q = s.criteriaMode === te.all, U = (r) => (a) => {
676
+ clearTimeout(p), p = setTimeout(r, a);
677
+ }, L = async (r) => {
678
+ if (!o.keepIsValid && !s.disabled && (V.isValid || D.isValid || r)) {
679
+ let a;
680
+ s.resolver ? (a = $((await re()).errors), I()) : a = await C({
681
+ fields: i,
682
+ onlyCheckValid: !0,
683
+ eventType: ue.VALID
684
+ }), a !== e.isValid && A.state.next({
685
+ isValid: a
686
+ });
687
+ }
688
+ }, I = (r, a) => {
689
+ !s.disabled && (V.isValidating || V.validatingFields || D.isValidating || D.validatingFields) && ((r || Array.from(d.mount)).forEach((n) => {
690
+ n && (a ? T(e.validatingFields, n, a) : P(e.validatingFields, n));
691
+ }), A.state.next({
692
+ validatingFields: e.validatingFields,
693
+ isValidating: !$(e.validatingFields)
694
+ }));
695
+ }, x = () => {
696
+ e.dirtyFields = ye(u, l);
697
+ }, S = (r, a = [], n, c, _ = !0, m = !0) => {
698
+ if (c && n && !s.disabled) {
699
+ if (o.action = !0, m && Array.isArray(f(i, r))) {
700
+ const y = n(f(i, r), c.argA, c.argB);
701
+ _ && T(i, r, y);
702
+ }
703
+ if (m && Array.isArray(f(e.errors, r))) {
704
+ const y = n(f(e.errors, r), c.argA, c.argB);
705
+ _ && T(e.errors, r, y), ur(e.errors, r);
706
+ }
707
+ if ((V.touchedFields || D.touchedFields) && m && Array.isArray(f(e.touchedFields, r))) {
708
+ const y = n(f(e.touchedFields, r), c.argA, c.argB);
709
+ _ && T(e.touchedFields, r, y);
710
+ }
711
+ (V.dirtyFields || D.dirtyFields) && x(), A.state.next({
712
+ name: r,
713
+ isDirty: B(r, a),
714
+ dirtyFields: e.dirtyFields,
715
+ errors: e.errors,
716
+ isValid: e.isValid
717
+ });
718
+ } else
719
+ T(l, r, a);
720
+ }, h = (r, a) => {
721
+ T(e.errors, r, a), A.state.next({
722
+ errors: e.errors
723
+ });
724
+ }, g = (r) => {
725
+ e.errors = r, A.state.next({
726
+ errors: e.errors,
727
+ isValid: !1
728
+ });
729
+ }, F = (r) => {
730
+ const a = be(r) ? [r] : ke(r);
731
+ let n = l, c = u;
732
+ for (let _ = 0; _ < a.length - 1; _++) {
733
+ const m = a[_];
734
+ if (n = j(n) ? n : n[m], c = j(c) ? c : c[m], n === null && c !== null)
735
+ return !0;
736
+ }
737
+ return !1;
738
+ }, E = (r, a, n, c) => {
739
+ const _ = f(i, r);
740
+ if (_) {
741
+ if (F(r))
742
+ return;
743
+ const m = R(f(l, r)), y = f(l, r, R(n) ? f(u, r) : n);
744
+ R(y) || c && c.defaultChecked || a ? T(l, r, a ? y : Ft(_._f)) : ce(r, y), o.mount && !o.action && (L(), m && e.isDirty && (V.isDirty || D.isDirty) && (B() || (e.isDirty = !1, A.state.next({ ...e }))));
745
+ }
746
+ }, z = (r, a, n, c, _) => {
747
+ let m = !1, y = !1;
748
+ const b = {
749
+ name: r
750
+ };
751
+ if (!s.disabled) {
752
+ if (!n || c) {
753
+ (V.isDirty || D.isDirty) && (y = e.isDirty, e.isDirty = b.isDirty = B(), m = y !== b.isDirty);
754
+ const k = X(f(u, r), a);
755
+ y = !!f(e.dirtyFields, r), k !== e.isDirty ? e.dirtyFields = ye(u, l) : k ? P(e.dirtyFields, r) : T(e.dirtyFields, r, !0), b.dirtyFields = e.dirtyFields, m = m || (V.dirtyFields || D.dirtyFields) && y !== !k;
756
+ }
757
+ if (n) {
758
+ const k = f(e.touchedFields, r);
759
+ k || (T(e.touchedFields, r, n), b.touchedFields = e.touchedFields, m = m || (V.touchedFields || D.touchedFields) && k !== n);
760
+ }
761
+ m && _ && A.state.next(b);
762
+ }
763
+ return m ? b : {};
764
+ }, ae = (r, a, n, c) => {
765
+ const _ = f(e.errors, r), m = (V.isValid || D.isValid) && Q(a) && e.isValid !== a;
766
+ if (s.delayError && n ? (w = U(() => h(r, n)), w(s.delayError)) : (clearTimeout(p), w = null, n ? T(e.errors, r, n) : P(e.errors, r)), (n ? !X(_, n) : _) || !$(c) || m) {
767
+ const y = {
768
+ ...c,
769
+ ...m && Q(a) ? { isValid: a } : {},
770
+ errors: e.errors,
771
+ name: r
772
+ };
773
+ e = {
774
+ ...e,
775
+ ...y
776
+ }, A.state.next(y);
777
+ }
778
+ }, re = async (r) => (I(r, !0), await s.resolver(l, s.context, rr(r || d.mount, i, s.criteriaMode, s.shouldUseNativeValidation))), Fe = async (r) => {
779
+ const { errors: a } = await re(r);
780
+ if (I(r), r)
781
+ for (const n of r) {
782
+ const c = f(a, n);
783
+ c ? d.array.has(n) && N(c) ? Qe(e.errors, { [n]: c }, n) : T(e.errors, n, c) : P(e.errors, n);
784
+ }
785
+ else
786
+ e.errors = a;
787
+ return a;
788
+ }, O = async ({ name: r, eventType: a }) => {
789
+ if (t.validate) {
790
+ const n = await t.validate({
791
+ formValues: l,
792
+ formState: e,
793
+ name: r,
794
+ eventType: a
795
+ });
796
+ if (N(n))
797
+ for (const c in n) {
798
+ const _ = n[c];
799
+ _ && xe(`${Ie}.${c}`, {
800
+ message: Y(_.message) ? _.message : "",
801
+ type: _.type || ie.validate
802
+ });
803
+ }
804
+ else Y(n) || !n ? xe(Ie, {
805
+ message: n || "",
806
+ type: ie.validate
807
+ }) : ut(Ie);
808
+ return n;
809
+ }
810
+ return !0;
811
+ }, C = async ({ fields: r, onlyCheckValid: a, name: n, eventType: c, context: _ = {
812
+ valid: !0,
813
+ runRootValidation: !1
814
+ } }) => {
815
+ if (t.validate && (_.runRootValidation = !0, !await O({
816
+ name: n,
817
+ eventType: c
818
+ }) && (_.valid = !1, a)))
819
+ return _.valid;
820
+ for (const m in r) {
821
+ const y = r[m];
822
+ if (y) {
823
+ const { _f: b, ...k } = y;
824
+ if (b) {
825
+ const H = d.array.has(b.name), ee = y._f && sr(y._f), se = V.validatingFields || V.isValidating || D.validatingFields || D.isValidating;
826
+ ee && se && I([b.name], !0);
827
+ const oe = await Xe(y, d.disabled, l, q, s.shouldUseNativeValidation && !a, H);
828
+ if (ee && se && I([b.name]), oe[b.name] && (_.valid = !1, a) || (!a && (f(oe, b.name) ? H ? Qe(e.errors, oe, b.name) : T(e.errors, b.name, oe[b.name]) : P(e.errors, b.name)), t.shouldUseNativeValidation && oe[b.name]))
829
+ break;
830
+ }
831
+ !$(k) && await C({
832
+ context: _,
833
+ onlyCheckValid: a,
834
+ fields: k,
835
+ name: m,
836
+ eventType: c
837
+ });
838
+ }
839
+ }
840
+ return _.valid;
841
+ }, G = () => {
842
+ for (const r of d.unMount) {
843
+ const a = f(i, r);
844
+ a && (a._f.refs ? a._f.refs.every((n) => !Le(n)) : !Le(a._f.ref)) && Oe(r);
845
+ }
846
+ d.unMount = /* @__PURE__ */ new Set();
847
+ }, B = (r, a) => !s.disabled && (r && a && T(l, r, a), !X(nt(), u)), Z = (r, a, n) => je(r, d, {
848
+ ...o.mount ? l : R(a) ? u : Y(r) ? { [r]: a } : a
849
+ }, n, a), ne = (r) => De(f(o.mount ? l : u, r, s.shouldUnregister ? f(u, r, []) : [])), ce = (r, a, n = {}, c = !1) => {
850
+ const _ = f(i, r);
851
+ let m = a;
852
+ if (_) {
853
+ const y = _._f;
854
+ y && (!y.disabled && T(l, r, Ut(a, y)), m = pe(y.ref) && j(a) ? "" : a, Rt(y.ref) ? [...y.ref.options].forEach((b) => b.selected = m.includes(b.value)) : y.refs ? ve(y.ref) ? y.refs.forEach((b) => {
855
+ (!b.defaultChecked || !b.disabled) && (Array.isArray(m) ? b.checked = !!m.find((k) => k === b.value) : b.checked = m === b.value || !!m);
856
+ }) : y.refs.forEach((b) => b.checked = b.value === m) : rt(y.ref) ? y.ref.value = "" : (y.ref.value = m, y.ref.type || A.state.next({
857
+ name: r,
858
+ values: c ? l : M(l)
859
+ })));
860
+ }
861
+ (n.shouldDirty || n.shouldTouch) && z(r, m, n.shouldTouch, n.shouldDirty, !0), n.shouldValidate && Ce(r);
862
+ }, me = (r, a, n, c = !1) => {
863
+ for (const _ in a) {
864
+ if (!a.hasOwnProperty(_))
865
+ return;
866
+ const m = a[_], y = r + "." + _, b = f(i, y);
867
+ (d.array.has(r) || N(m) || b && !b._f) && !de(m) ? me(y, m, n, c) : ce(y, m, n, c);
868
+ }
869
+ }, Ae = (r, a, n, c) => {
870
+ const _ = f(i, r), m = d.array.has(r), y = c ? a : M(a), b = f(l, r), k = X(b, y);
871
+ if (k || T(l, r, y), m)
872
+ A.array.next({
873
+ name: r,
874
+ values: c ? l : M(l)
875
+ }), (V.isDirty || V.dirtyFields || D.isDirty || D.dirtyFields) && n.shouldDirty && (x(), A.state.next({
876
+ name: r,
877
+ dirtyFields: e.dirtyFields,
878
+ isDirty: B(r, y)
879
+ }));
880
+ else {
881
+ const H = Array.isArray(y) && !y.length || $(y);
882
+ !_ || _._f || j(y) || H ? ce(r, y, n, c) : me(r, y, n, c);
883
+ }
884
+ if (!k) {
885
+ const H = Je(r, d), ee = c ? l : M(l);
886
+ A.state.next({
887
+ ...H && e,
888
+ name: o.mount || H ? r : void 0,
889
+ values: ee
890
+ });
891
+ }
892
+ }, he = (r, a, n = {}) => Ae(r, a, n, !1), Nt = (r, a = {}) => {
893
+ const n = K(r) ? r(l) : r;
894
+ if (!X(l, n)) {
895
+ l = {
896
+ ...l,
897
+ ...n
898
+ };
899
+ for (const c of d.mount)
900
+ Ae(c, f(n, c), a, !0);
901
+ A.state.next({
902
+ ...e,
903
+ name: void 0,
904
+ type: void 0,
905
+ values: l
906
+ }), a.shouldValidate && L();
907
+ }
908
+ }, it = async (r) => {
909
+ o.mount = !0;
910
+ const a = r.target;
911
+ let n = a.name, c = !0;
912
+ const _ = f(i, n), m = (k) => {
913
+ c = Number.isNaN(k) || de(k) && isNaN(k.getTime()) || X(k, f(l, n, k));
914
+ }, y = _e(s.mode), b = _e(s.reValidateMode);
915
+ if (_) {
916
+ let k, H;
917
+ const ee = a.type ? Ft(_._f) : kt(r), se = r.type === ue.BLUR || r.type === ue.FOCUS_OUT, oe = !ir(_._f) && !t.validate && !s.resolver && !f(e.errors, n) && !_._f.deps || lr(se, f(e.touchedFields, n), e.isSubmitted, b, y), Me = Je(n, d, se);
918
+ T(l, n, ee), se ? (!a || !a.readOnly) && (_._f.onBlur && _._f.onBlur(r), w && w(0)) : _._f.onChange && _._f.onChange(r);
919
+ const Ue = z(n, ee, se), $t = !$(Ue) || Me;
920
+ if (!se && A.state.next({
921
+ name: n,
922
+ type: r.type,
923
+ values: M(l)
924
+ }), oe)
925
+ return (V.isValid || D.isValid) && (s.mode === "onBlur" ? se && L() : se || L()), $t && A.state.next({ name: n, ...Me ? {} : Ue });
926
+ if (!s.resolver && t.validate && await O({
927
+ name: n,
928
+ eventType: r.type
929
+ }), !se && Me && A.state.next({ ...e }), s.resolver) {
930
+ const { errors: gt } = await re([n]);
931
+ if (I([n]), m(ee), c) {
932
+ const jt = xt(e.errors, i, n), mt = xt(gt, i, jt.name || n);
933
+ k = mt.error, n = mt.name, H = $(gt);
934
+ }
935
+ } else
936
+ I([n], !0), k = (await Xe(_, d.disabled, l, q, s.shouldUseNativeValidation))[n], I([n]), m(ee), c && (k ? H = !1 : (V.isValid || D.isValid) && (H = await C({
937
+ fields: i,
938
+ onlyCheckValid: !0,
939
+ name: n,
940
+ eventType: r.type
941
+ })));
942
+ c && (_._f.deps && (!Array.isArray(_._f.deps) || _._f.deps.length > 0) && Ce(_._f.deps), ae(n, H, k, Ue));
943
+ }
944
+ }, at = (r, a) => {
945
+ if (f(e.errors, a) && r.focus)
946
+ return r.focus(), 1;
947
+ }, Ce = async (r, a = {}) => {
948
+ let n, c;
949
+ const _ = J(r);
950
+ if (s.resolver) {
951
+ const m = await Fe(R(r) ? r : _);
952
+ n = $(m), c = r ? !_.some((y) => f(m, y)) : n;
953
+ } else r ? (c = (await Promise.all(_.map(async (m) => {
954
+ const y = f(i, m);
955
+ return await C({
956
+ fields: y && y._f ? { [m]: y } : y,
957
+ eventType: ue.TRIGGER
958
+ });
959
+ }))).every(Boolean), !(!c && !e.isValid) && L()) : c = n = await C({
960
+ fields: i,
961
+ name: r,
962
+ eventType: ue.TRIGGER
963
+ });
964
+ return A.state.next({
965
+ ...!Y(r) || (V.isValid || D.isValid) && n !== e.isValid ? {} : { name: r },
966
+ ...s.resolver || !r ? { isValid: n } : {},
967
+ errors: e.errors
968
+ }), a.shouldFocus && !c && ge(i, at, r ? _ : d.mount), c;
969
+ }, nt = (r, a) => {
970
+ let n = {
971
+ ...o.mount ? l : u
972
+ };
973
+ return a && (n = Ot(a.dirtyFields ? e.dirtyFields : e.touchedFields, n)), R(r) ? n : Y(r) ? f(n, r) : r.map((c) => f(n, c));
974
+ }, lt = (r, a) => ({
975
+ invalid: !!f((a || e).errors, r),
976
+ isDirty: !!f((a || e).dirtyFields, r),
977
+ error: f((a || e).errors, r),
978
+ isValidating: !!f(e.validatingFields, r),
979
+ isTouched: !!f((a || e).touchedFields, r)
980
+ }), ut = (r) => {
981
+ const a = r ? J(r) : void 0;
982
+ a?.forEach((n) => P(e.errors, n)), a ? a.forEach((n) => {
983
+ A.state.next({
984
+ name: n,
985
+ errors: e.errors
986
+ });
987
+ }) : A.state.next({
988
+ errors: {}
989
+ });
990
+ }, xe = (r, a, n) => {
991
+ const c = (f(i, r, { _f: {} })._f || {}).ref, _ = f(e.errors, r) || {}, { ref: m, message: y, type: b, ...k } = _;
992
+ T(e.errors, r, {
993
+ ...k,
994
+ ...a,
995
+ ref: c
996
+ }), A.state.next({
997
+ name: r,
998
+ errors: e.errors,
999
+ isValid: !1
1000
+ }), n && n.shouldFocus && c && c.focus && c.focus();
1001
+ }, Bt = (r, a) => K(r) ? A.state.subscribe({
1002
+ next: (n) => "values" in n && r(n.values || Z(void 0, a), n)
1003
+ }) : Z(r, a, !0), ot = (r) => A.state.subscribe({
1004
+ next: (a) => {
1005
+ if (nr(r.name, a.name, r.exact) && ar(a, r.formState || V, Gt, r.reRenderRoot)) {
1006
+ const n = { ...l };
1007
+ r.callback({
1008
+ values: n,
1009
+ ...e,
1010
+ ...a,
1011
+ defaultValues: u
1012
+ });
1013
+ }
1014
+ }
1015
+ }).unsubscribe, Pt = (r) => (o.mount = !0, D = {
1016
+ ...D,
1017
+ ...r.formState
1018
+ }, ot({
1019
+ ...r,
1020
+ formState: {
1021
+ ...W,
1022
+ ...r.formState
1023
+ }
1024
+ })), Oe = (r, a = {}) => {
1025
+ for (const n of r ? J(r) : d.mount)
1026
+ d.mount.delete(n), d.array.delete(n), a.keepValue || (P(i, n), P(l, n)), !a.keepError && P(e.errors, n), !a.keepDirty && P(e.dirtyFields, n), !a.keepTouched && P(e.touchedFields, n), !a.keepIsValidating && P(e.validatingFields, n), !s.shouldUnregister && !a.keepDefaultValue && P(u, n);
1027
+ A.state.next({
1028
+ values: M(l)
1029
+ }), A.state.next({
1030
+ ...e,
1031
+ ...a.keepDirty ? { isDirty: B() } : {}
1032
+ }), !a.keepIsValid && L();
1033
+ }, dt = ({ disabled: r, name: a }) => {
1034
+ if (Q(r) && o.mount || r || d.disabled.has(a)) {
1035
+ const _ = d.disabled.has(a) !== !!r;
1036
+ r ? d.disabled.add(a) : d.disabled.delete(a), _ && o.mount && !o.action && L();
1037
+ }
1038
+ }, Re = (r, a = {}) => {
1039
+ let n = f(i, r);
1040
+ const c = Q(a.disabled) || Q(s.disabled), _ = !d.registerName.has(r) && n && n._f && !n._f.mount;
1041
+ return T(i, r, {
1042
+ ...n || {},
1043
+ _f: {
1044
+ ...n && n._f ? n._f : { ref: { name: r } },
1045
+ name: r,
1046
+ mount: !0,
1047
+ ...a
1048
+ }
1049
+ }), d.mount.add(r), n && !_ ? dt({
1050
+ disabled: Q(a.disabled) ? a.disabled : s.disabled,
1051
+ name: r
1052
+ }) : E(r, !0, a.value), {
1053
+ ...c ? { disabled: a.disabled || s.disabled } : {},
1054
+ ...s.progressive ? {
1055
+ required: !!a.required,
1056
+ min: Ve(a.min),
1057
+ max: Ve(a.max),
1058
+ minLength: Ve(a.minLength),
1059
+ maxLength: Ve(a.maxLength),
1060
+ pattern: Ve(a.pattern)
1061
+ } : {},
1062
+ name: r,
1063
+ onChange: it,
1064
+ onBlur: it,
1065
+ ref: (m) => {
1066
+ if (m) {
1067
+ d.registerName.add(r), Re(r, a), d.registerName.delete(r), n = f(i, r);
1068
+ const y = R(m.value) && m.querySelectorAll && m.querySelectorAll("input,select,textarea")[0] || m, b = Xt(y), k = n._f.refs || [];
1069
+ if (b ? k.find((H) => H === y) : y === n._f.ref)
1070
+ return;
1071
+ T(i, r, {
1072
+ _f: {
1073
+ ...n._f,
1074
+ ...b ? {
1075
+ refs: [
1076
+ ...k.filter(Le),
1077
+ y,
1078
+ ...Array.isArray(f(u, r)) ? [{}] : []
1079
+ ],
1080
+ ref: { type: y.type, name: r }
1081
+ } : { ref: y }
1082
+ }
1083
+ }), E(r, !1, void 0, y);
1084
+ } else
1085
+ n = f(i, r, {}), n._f && (n._f.mount = !1), (s.shouldUnregister || a.shouldUnregister) && !(St(d.array, r) && o.action) && d.unMount.add(r);
1086
+ }
1087
+ };
1088
+ }, Te = () => s.shouldFocusError && !s.shouldUseNativeValidation && ge(i, at, d.mount), Wt = (r) => {
1089
+ Q(r) && (A.state.next({ disabled: r }), ge(i, (a, n) => {
1090
+ const c = f(i, n);
1091
+ c && (a.disabled = c._f.disabled || r, Array.isArray(c._f.refs) && c._f.refs.forEach((_) => {
1092
+ _.disabled = c._f.disabled || r;
1093
+ }));
1094
+ }, 0, !1));
1095
+ }, ct = (r, a) => async (n) => {
1096
+ let c;
1097
+ n && (n.preventDefault && n.preventDefault(), n.persist && n.persist());
1098
+ let _ = M(l);
1099
+ if (A.state.next({
1100
+ isSubmitting: !0
1101
+ }), s.resolver) {
1102
+ const { errors: m, values: y } = await re();
1103
+ I(), e.errors = m, _ = M(y);
1104
+ } else
1105
+ await C({
1106
+ fields: i,
1107
+ eventType: ue.SUBMIT
1108
+ });
1109
+ if (d.disabled.size)
1110
+ for (const m of d.disabled)
1111
+ P(_, m);
1112
+ if (P(e.errors, Et), $(e.errors)) {
1113
+ A.state.next({
1114
+ errors: {}
1115
+ });
1116
+ try {
1117
+ await r(_, n);
1118
+ } catch (m) {
1119
+ c = m;
1120
+ }
1121
+ } else
1122
+ a && await a({ ...e.errors }, n), Te(), setTimeout(Te);
1123
+ if (A.state.next({
1124
+ isSubmitted: !0,
1125
+ isSubmitting: !1,
1126
+ isSubmitSuccessful: $(e.errors) && !c,
1127
+ submitCount: e.submitCount + 1,
1128
+ errors: e.errors
1129
+ }), c)
1130
+ throw c;
1131
+ }, qt = (r, a = {}) => {
1132
+ f(i, r) && (R(a.defaultValue) ? he(r, M(f(u, r))) : (he(r, a.defaultValue), T(u, r, M(a.defaultValue))), a.keepTouched || P(e.touchedFields, r), a.keepDirty || (P(e.dirtyFields, r), e.isDirty = a.defaultValue ? B(r, M(f(u, r))) : B()), a.keepError || (P(e.errors, r), V.isValid && L()), A.state.next({ ...e }));
1133
+ }, ft = (r, a = {}) => {
1134
+ const n = r ? M(r) : u, c = M(n), _ = $(r), m = _ ? u : c;
1135
+ if (a.keepDefaultValues || (u = n), !a.keepValues) {
1136
+ if (a.keepDirtyValues) {
1137
+ const y = /* @__PURE__ */ new Set([
1138
+ ...d.mount,
1139
+ ...Object.keys(ye(u, l))
1140
+ ]);
1141
+ for (const b of Array.from(y)) {
1142
+ const k = f(e.dirtyFields, b), H = f(l, b), ee = f(m, b);
1143
+ k && !R(H) ? T(m, b, H) : !k && !R(ee) && he(b, ee);
1144
+ }
1145
+ } else {
1146
+ if (Ze && R(r))
1147
+ for (const y of d.mount) {
1148
+ const b = f(i, y);
1149
+ if (b && b._f) {
1150
+ const k = Array.isArray(b._f.refs) ? b._f.refs[0] : b._f.ref;
1151
+ if (pe(k)) {
1152
+ const H = k.closest("form");
1153
+ if (H) {
1154
+ H.reset();
1155
+ break;
1156
+ }
1157
+ }
1158
+ }
1159
+ }
1160
+ if (a.keepFieldsRef)
1161
+ for (const y of d.mount)
1162
+ he(y, f(m, y));
1163
+ else
1164
+ i = {};
1165
+ }
1166
+ l = s.shouldUnregister ? a.keepDefaultValues ? M(u) : {} : M(m), A.array.next({
1167
+ values: { ...m }
1168
+ }), A.state.next({
1169
+ values: { ...m }
1170
+ });
1171
+ }
1172
+ d = {
1173
+ mount: a.keepDirtyValues ? d.mount : /* @__PURE__ */ new Set(),
1174
+ unMount: /* @__PURE__ */ new Set(),
1175
+ array: /* @__PURE__ */ new Set(),
1176
+ registerName: /* @__PURE__ */ new Set(),
1177
+ disabled: /* @__PURE__ */ new Set(),
1178
+ watch: /* @__PURE__ */ new Set(),
1179
+ watchAll: !1,
1180
+ focus: ""
1181
+ }, o.mount = !V.isValid || !!a.keepIsValid || !!a.keepDirtyValues || !s.shouldUnregister && !$(m), o.watch = !!s.shouldUnregister, o.keepIsValid = !!a.keepIsValid, o.action = !1, a.keepErrors || (e.errors = {}), A.state.next({
1182
+ submitCount: a.keepSubmitCount ? e.submitCount : 0,
1183
+ isDirty: _ ? !1 : a.keepDirty ? e.isDirty : !!(a.keepDefaultValues && !X(r, u)),
1184
+ isSubmitted: a.keepIsSubmitted ? e.isSubmitted : !1,
1185
+ dirtyFields: _ ? {} : a.keepDirtyValues ? a.keepDefaultValues && l ? ye(u, l) : e.dirtyFields : a.keepDefaultValues && r ? ye(u, r) : a.keepDirty ? e.dirtyFields : {},
1186
+ touchedFields: a.keepTouched ? e.touchedFields : {},
1187
+ errors: a.keepErrors ? e.errors : {},
1188
+ isSubmitSuccessful: a.keepIsSubmitSuccessful ? e.isSubmitSuccessful : !1,
1189
+ isSubmitting: !1,
1190
+ defaultValues: u
1191
+ });
1192
+ }, yt = (r, a) => ft(K(r) ? r(l) : r, { ...s.resetOptions, ...a }), Ht = (r, a = {}) => {
1193
+ const n = f(i, r), c = n && n._f;
1194
+ if (c) {
1195
+ const _ = c.refs ? c.refs[0] : c.ref;
1196
+ _.focus && setTimeout(() => {
1197
+ _.focus(), a.shouldSelect && K(_.select) && _.select();
1198
+ });
1199
+ }
1200
+ }, Gt = (r) => {
1201
+ e = {
1202
+ ...e,
1203
+ ...r
1204
+ };
1205
+ }, _t = {
1206
+ control: {
1207
+ register: Re,
1208
+ unregister: Oe,
1209
+ getFieldState: lt,
1210
+ handleSubmit: ct,
1211
+ setError: xe,
1212
+ _subscribe: ot,
1213
+ _runSchema: re,
1214
+ _updateIsValidating: I,
1215
+ _focusError: Te,
1216
+ _getWatch: Z,
1217
+ _getDirty: B,
1218
+ _setValid: L,
1219
+ _setFieldArray: S,
1220
+ _setDisabledField: dt,
1221
+ _setErrors: g,
1222
+ _getFieldArray: ne,
1223
+ _reset: ft,
1224
+ _resetDefaultValues: () => K(s.defaultValues) && s.defaultValues().then((r) => {
1225
+ yt(r, s.resetOptions), A.state.next({
1226
+ isLoading: !1
1227
+ });
1228
+ }),
1229
+ _removeUnmounted: G,
1230
+ _disableForm: Wt,
1231
+ _subjects: A,
1232
+ _proxyFormState: V,
1233
+ get _fields() {
1234
+ return i;
1235
+ },
1236
+ get _formValues() {
1237
+ return l;
1238
+ },
1239
+ get _state() {
1240
+ return o;
1241
+ },
1242
+ set _state(r) {
1243
+ o = r;
1244
+ },
1245
+ get _defaultValues() {
1246
+ return u;
1247
+ },
1248
+ get _names() {
1249
+ return d;
1250
+ },
1251
+ set _names(r) {
1252
+ d = r;
1253
+ },
1254
+ get _formState() {
1255
+ return e;
1256
+ },
1257
+ get _options() {
1258
+ return s;
1259
+ },
1260
+ set _options(r) {
1261
+ s = {
1262
+ ...s,
1263
+ ...r
1264
+ };
1265
+ }
1266
+ },
1267
+ subscribe: Pt,
1268
+ trigger: Ce,
1269
+ register: Re,
1270
+ handleSubmit: ct,
1271
+ watch: Bt,
1272
+ setValue: he,
1273
+ setValues: Nt,
1274
+ getValues: nt,
1275
+ reset: yt,
1276
+ resetField: qt,
1277
+ clearErrors: ut,
1278
+ unregister: Oe,
1279
+ setError: xe,
1280
+ setFocus: Ht,
1281
+ getFieldState: lt
1282
+ };
1283
+ return {
1284
+ ..._t,
1285
+ formControl: _t
1286
+ };
1287
+ }
1288
+ var le = () => {
1289
+ if (typeof crypto < "u" && crypto.randomUUID)
1290
+ return crypto.randomUUID();
1291
+ const t = typeof performance > "u" ? Date.now() : performance.now() * 1e3;
1292
+ return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (s) => {
1293
+ const e = (Math.random() * 16 + t) % 16 | 0;
1294
+ return (s == "x" ? e : e & 3 | 8).toString(16);
1295
+ });
1296
+ }, Ne = (t, s, e = {}) => e.shouldFocus || R(e.shouldFocus) ? e.focusName || `${t}.${R(e.focusIndex) ? s : e.focusIndex}.` : "", Be = (t, s) => [
1297
+ ...t,
1298
+ ...J(s)
1299
+ ], Pe = (t) => Array.isArray(t) ? t.map(() => {
1300
+ }) : void 0;
1301
+ function We(t, s, e) {
1302
+ return [
1303
+ ...t.slice(0, s),
1304
+ ...J(e),
1305
+ ...t.slice(s)
1306
+ ];
1307
+ }
1308
+ var qe = (t, s, e) => Array.isArray(t) ? (R(t[e]) && (t[e] = void 0), t.splice(e, 0, t.splice(s, 1)[0]), t) : [], He = (t, s) => [
1309
+ ...J(s),
1310
+ ...J(t)
1311
+ ];
1312
+ function cr(t, s) {
1313
+ let e = 0;
1314
+ const i = [...t];
1315
+ for (const u of s)
1316
+ i.splice(u - e, 1), e++;
1317
+ return De(i).length ? i : [];
1318
+ }
1319
+ var Ge = (t, s) => R(s) ? [] : cr(t, J(s).sort((e, i) => e - i)), $e = (t, s, e) => {
1320
+ [t[s], t[e]] = [t[e], t[s]];
1321
+ }, wt = (t, s, e) => (t[s] = e, t);
1322
+ function hr(t) {
1323
+ const s = Se(), { control: e = s, name: i, keyName: u = "id", shouldUnregister: l, rules: o } = t, [d, w] = v.useState(e._getFieldArray(i)), p = v.useRef(e._getFieldArray(i).map(le)), W = v.useRef(!1);
1324
+ e._names.array.add(i), v.useMemo(() => o && d.length >= 0 && e.register(i, o), [e, i, d.length, o]), Ee(() => e._subjects.array.subscribe({
1325
+ next: ({ values: h, name: g }) => {
1326
+ if (g === i || !g) {
1327
+ const F = f(h, i);
1328
+ Array.isArray(F) && (w(F), p.current = F.map(le));
1329
+ }
1330
+ }
1331
+ }).unsubscribe, [e, i]);
1332
+ const V = v.useCallback((h) => {
1333
+ W.current = !0, e._setFieldArray(i, h);
1334
+ }, [e, i]), D = (h, g) => {
1335
+ const F = J(M(h)), E = Be(e._getFieldArray(i), F);
1336
+ e._names.focus = Ne(i, E.length - 1, g), p.current = Be(p.current, F.map(le)), V(E), w(E), e._setFieldArray(i, E, Be, {
1337
+ argA: Pe(h)
1338
+ });
1339
+ }, A = (h, g) => {
1340
+ const F = J(M(h)), E = He(e._getFieldArray(i), F);
1341
+ e._names.focus = Ne(i, 0, g), p.current = He(p.current, F.map(le)), V(E), w(E), e._setFieldArray(i, E, He, {
1342
+ argA: Pe(h)
1343
+ });
1344
+ }, q = (h) => {
1345
+ const g = Ge(e._getFieldArray(i), h);
1346
+ p.current = Ge(p.current, h), V(g), w(g), !Array.isArray(f(e._fields, i)) && T(e._fields, i, void 0), e._setFieldArray(i, g, Ge, {
1347
+ argA: h
1348
+ });
1349
+ }, U = (h, g, F) => {
1350
+ const E = J(M(g)), z = We(e._getFieldArray(i), h, E);
1351
+ e._names.focus = Ne(i, h, F), p.current = We(p.current, h, E.map(le)), V(z), w(z), e._setFieldArray(i, z, We, {
1352
+ argA: h,
1353
+ argB: Pe(g)
1354
+ });
1355
+ }, L = (h, g) => {
1356
+ const F = e._getFieldArray(i);
1357
+ $e(F, h, g), $e(p.current, h, g), V(F), w(F), e._setFieldArray(i, F, $e, {
1358
+ argA: h,
1359
+ argB: g
1360
+ }, !1);
1361
+ }, I = (h, g) => {
1362
+ const F = e._getFieldArray(i);
1363
+ qe(F, h, g), qe(p.current, h, g), V(F), w(F), e._setFieldArray(i, F, qe, {
1364
+ argA: h,
1365
+ argB: g
1366
+ }, !1);
1367
+ }, x = (h, g) => {
1368
+ const F = M(g), E = wt(e._getFieldArray(i), h, F);
1369
+ p.current = [...E].map((z, ae) => !z || ae === h ? le() : p.current[ae]), V(E), w([...E]), e._setFieldArray(i, E, wt, {
1370
+ argA: h,
1371
+ argB: F
1372
+ }, !0, !1);
1373
+ }, S = (h) => {
1374
+ const g = J(M(h));
1375
+ p.current = g.map(le), V([...g]), w([...g]), e._setFieldArray(i, [...g], (F) => F, {}, !0, !1);
1376
+ };
1377
+ return v.useEffect(() => {
1378
+ e._state.action = !1, Je(i, e._names) && e._subjects.state.next({
1379
+ ...e._formState
1380
+ });
1381
+ const h = _e(e._options.mode);
1382
+ if (W.current && (!h.isOnSubmit || e._formState.isSubmitted) && !_e(e._options.reValidateMode).isOnSubmit && !h.isOnBlur)
1383
+ if (e._options.resolver)
1384
+ e._runSchema([i]).then((g) => {
1385
+ e._updateIsValidating([i]);
1386
+ const F = f(g.errors, i), E = f(e._formState.errors, i);
1387
+ (E ? !F && E.type || F && (E.type !== F.type || E.message !== F.message) : F && F.type) && (F ? T(e._formState.errors, i, F) : P(e._formState.errors, i), e._subjects.state.next({
1388
+ errors: e._formState.errors
1389
+ }));
1390
+ });
1391
+ else {
1392
+ const g = f(e._fields, i);
1393
+ g && g._f && !(_e(e._options.reValidateMode).isOnSubmit && _e(e._options.mode).isOnSubmit) && Xe(g, e._names.disabled, e._formValues, e._options.criteriaMode === te.all, e._options.shouldUseNativeValidation, !0).then((F) => !$(F) && e._subjects.state.next({
1394
+ errors: Qe(e._formState.errors, F, i)
1395
+ }));
1396
+ }
1397
+ e._subjects.state.next({
1398
+ name: i,
1399
+ values: M(e._formValues)
1400
+ }), e._names.focus && ge(e._fields, (g, F) => {
1401
+ if (e._names.focus && F.startsWith(e._names.focus) && g.focus)
1402
+ return g.focus(), 1;
1403
+ }), e._names.focus = "", e._setValid(), W.current = !1;
1404
+ }, [d, i, e]), v.useEffect(() => (!f(e._formValues, i) && e._setFieldArray(i), () => {
1405
+ const h = !(e._options.shouldUnregister || l), g = (F, E) => {
1406
+ const z = f(e._fields, F);
1407
+ z && z._f && (z._f.mount = E);
1408
+ };
1409
+ W.current && h && e._subjects.state.next({
1410
+ name: i,
1411
+ values: M(e._formValues)
1412
+ }), h ? g(i, !1) : e.unregister(i);
1413
+ }), [i, e, u, l]), {
1414
+ swap: v.useCallback(L, [V, i, e]),
1415
+ move: v.useCallback(I, [V, i, e]),
1416
+ prepend: v.useCallback(A, [V, i, e]),
1417
+ append: v.useCallback(D, [V, i, e]),
1418
+ remove: v.useCallback(q, [V, i, e]),
1419
+ insert: v.useCallback(U, [V, i, e]),
1420
+ update: v.useCallback(x, [V, i, e]),
1421
+ replace: v.useCallback(S, [V, i, e]),
1422
+ fields: v.useMemo(() => d.map((h, g) => ({
1423
+ ...h,
1424
+ [u]: p.current[g] || le()
1425
+ })), [d, u])
1426
+ };
1427
+ }
1428
+ function Vr(t = {}) {
1429
+ const s = v.useRef(void 0), e = v.useRef(void 0), [i, u] = v.useState(() => ({
1430
+ ...M(Lt),
1431
+ isLoading: K(t.defaultValues),
1432
+ errors: t.errors || {},
1433
+ disabled: t.disabled || !1,
1434
+ defaultValues: K(t.defaultValues) ? void 0 : t.defaultValues
1435
+ }));
1436
+ if (!s.current)
1437
+ if (t.formControl)
1438
+ s.current = {
1439
+ ...t.formControl,
1440
+ formState: i
1441
+ }, t.defaultValues && !K(t.defaultValues) && t.formControl.reset(t.defaultValues, t.resetOptions);
1442
+ else {
1443
+ const { formControl: o, ...d } = dr(t);
1444
+ s.current = {
1445
+ ...d,
1446
+ formState: i
1447
+ };
1448
+ }
1449
+ const l = s.current.control;
1450
+ return l._options = t, Ee(() => {
1451
+ const o = l._subscribe({
1452
+ formState: l._proxyFormState,
1453
+ callback: () => u({
1454
+ ...l._formState,
1455
+ defaultValues: l._defaultValues
1456
+ }),
1457
+ reRenderRoot: !0
1458
+ });
1459
+ return u((d) => ({
1460
+ ...d,
1461
+ isReady: !0
1462
+ })), l._formState.isReady = !0, o;
1463
+ }, [l]), v.useEffect(() => l._disableForm(t.disabled), [l, t.disabled]), v.useEffect(() => {
1464
+ t.mode && (l._options.mode = t.mode), t.reValidateMode && (l._options.reValidateMode = t.reValidateMode);
1465
+ }, [l, t.mode, t.reValidateMode]), v.useEffect(() => {
1466
+ t.errors && (l._setErrors(t.errors), l._focusError());
1467
+ }, [l, t.errors]), v.useEffect(() => {
1468
+ t.shouldUnregister && l._subjects.state.next({
1469
+ values: l._getWatch()
1470
+ });
1471
+ }, [l, t.shouldUnregister]), v.useEffect(() => {
1472
+ if (l._proxyFormState.isDirty) {
1473
+ const o = l._getDirty();
1474
+ o !== i.isDirty && l._subjects.state.next({
1475
+ isDirty: o
1476
+ });
1477
+ }
1478
+ }, [l, i.isDirty]), v.useEffect(() => {
1479
+ var o;
1480
+ t.values && !X(t.values, e.current) ? (l._reset(t.values, {
1481
+ keepFieldsRef: !0,
1482
+ ...l._options.resetOptions
1483
+ }), !((o = l._options.resetOptions) === null || o === void 0) && o.keepIsValid || l._setValid(), e.current = t.values, u((d) => ({ ...d }))) : l._resetDefaultValues();
1484
+ }, [l, t.values]), v.useEffect(() => {
1485
+ l._state.mount || (l._setValid(), l._state.mount = !0), l._state.watch && (l._state.watch = !1, l._subjects.state.next({ ...l._formState })), l._removeUnmounted();
1486
+ }), s.current.formState = v.useMemo(() => Ct(i, l), [l, i]), s.current;
1487
+ }
1488
+ export {
1489
+ _r as Controller,
1490
+ mr as FormProvider,
1491
+ Qt as appendErrors,
1492
+ dr as createFormControl,
1493
+ f as get,
1494
+ T as set,
1495
+ Jt as useController,
1496
+ hr as useFieldArray,
1497
+ Vr as useForm,
1498
+ gr as useFormContext,
1499
+ Yt as useFormState,
1500
+ zt as useWatch
1501
+ };