@a-ui/react 7.13.0-beta.1 → 7.13.0-beta.2

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 (465) hide show
  1. package/package.json +3 -3
  2. package/index.js +0 -1
  3. package/index.mjs +0 -100
  4. package/index10.js +0 -1
  5. package/index10.mjs +0 -60
  6. package/index100.js +0 -1
  7. package/index100.mjs +0 -4
  8. package/index101.js +0 -1
  9. package/index101.mjs +0 -400
  10. package/index102.js +0 -5
  11. package/index102.mjs +0 -42
  12. package/index103.js +0 -1
  13. package/index103.mjs +0 -4
  14. package/index104.js +0 -1
  15. package/index104.mjs +0 -10
  16. package/index105.js +0 -2
  17. package/index105.mjs +0 -329
  18. package/index106.js +0 -1
  19. package/index106.mjs +0 -52
  20. package/index107.js +0 -1
  21. package/index107.mjs +0 -4
  22. package/index108.js +0 -1
  23. package/index108.mjs +0 -67
  24. package/index109.js +0 -1
  25. package/index109.mjs +0 -45
  26. package/index11.js +0 -1
  27. package/index11.mjs +0 -12
  28. package/index110.js +0 -10
  29. package/index110.mjs +0 -62
  30. package/index111.js +0 -1
  31. package/index111.mjs +0 -46
  32. package/index112.js +0 -1
  33. package/index112.mjs +0 -42
  34. package/index113.js +0 -1
  35. package/index113.mjs +0 -4
  36. package/index114.js +0 -1
  37. package/index114.mjs +0 -4
  38. package/index115.js +0 -1
  39. package/index115.mjs +0 -4
  40. package/index116.js +0 -1
  41. package/index116.mjs +0 -33
  42. package/index117.js +0 -5
  43. package/index117.mjs +0 -21
  44. package/index118.js +0 -9
  45. package/index118.mjs +0 -63
  46. package/index119.js +0 -1
  47. package/index119.mjs +0 -65
  48. package/index12.js +0 -1
  49. package/index12.mjs +0 -215
  50. package/index120.js +0 -1
  51. package/index120.mjs +0 -16
  52. package/index121.js +0 -1
  53. package/index121.mjs +0 -9
  54. package/index122.js +0 -1
  55. package/index122.mjs +0 -9
  56. package/index123.js +0 -1
  57. package/index123.mjs +0 -8
  58. package/index124.js +0 -1
  59. package/index124.mjs +0 -8
  60. package/index125.js +0 -1
  61. package/index125.mjs +0 -7
  62. package/index126.js +0 -1
  63. package/index126.mjs +0 -7
  64. package/index127.js +0 -1
  65. package/index127.mjs +0 -9
  66. package/index128.js +0 -1
  67. package/index128.mjs +0 -7
  68. package/index129.js +0 -1
  69. package/index129.mjs +0 -69
  70. package/index13.js +0 -1
  71. package/index13.mjs +0 -29
  72. package/index130.js +0 -1
  73. package/index130.mjs +0 -5
  74. package/index131.js +0 -1
  75. package/index131.mjs +0 -7
  76. package/index132.js +0 -1
  77. package/index132.mjs +0 -13
  78. package/index133.js +0 -1
  79. package/index133.mjs +0 -4
  80. package/index134.js +0 -1
  81. package/index134.mjs +0 -393
  82. package/index135.js +0 -1
  83. package/index135.mjs +0 -127
  84. package/index136.js +0 -1
  85. package/index136.mjs +0 -136
  86. package/index137.js +0 -1
  87. package/index137.mjs +0 -4
  88. package/index138.js +0 -1
  89. package/index138.mjs +0 -4
  90. package/index139.js +0 -8
  91. package/index139.mjs +0 -78
  92. package/index14.js +0 -1
  93. package/index14.mjs +0 -44
  94. package/index140.js +0 -8
  95. package/index140.mjs +0 -95
  96. package/index141.js +0 -5
  97. package/index141.mjs +0 -54
  98. package/index142.js +0 -1
  99. package/index142.mjs +0 -10
  100. package/index143.js +0 -1
  101. package/index143.mjs +0 -7
  102. package/index144.js +0 -1
  103. package/index144.mjs +0 -54
  104. package/index145.js +0 -11
  105. package/index145.mjs +0 -60
  106. package/index146.js +0 -1
  107. package/index146.mjs +0 -4
  108. package/index147.js +0 -1
  109. package/index147.mjs +0 -4
  110. package/index148.js +0 -1
  111. package/index148.mjs +0 -7
  112. package/index149.js +0 -1
  113. package/index149.mjs +0 -7
  114. package/index15.js +0 -1
  115. package/index15.mjs +0 -8
  116. package/index150.js +0 -1
  117. package/index150.mjs +0 -9
  118. package/index151.js +0 -1
  119. package/index151.mjs +0 -15
  120. package/index152.js +0 -1
  121. package/index152.mjs +0 -18
  122. package/index153.js +0 -1
  123. package/index153.mjs +0 -11
  124. package/index154.js +0 -1
  125. package/index154.mjs +0 -8
  126. package/index155.js +0 -1
  127. package/index155.mjs +0 -8
  128. package/index156.js +0 -1
  129. package/index156.mjs +0 -7
  130. package/index157.js +0 -1
  131. package/index157.mjs +0 -515
  132. package/index158.js +0 -1
  133. package/index158.mjs +0 -52
  134. package/index159.js +0 -1
  135. package/index159.mjs +0 -20
  136. package/index16.js +0 -1
  137. package/index16.mjs +0 -15
  138. package/index160.js +0 -1
  139. package/index160.mjs +0 -20
  140. package/index161.js +0 -1
  141. package/index161.mjs +0 -7
  142. package/index162.js +0 -1
  143. package/index162.mjs +0 -10
  144. package/index163.js +0 -1
  145. package/index163.mjs +0 -8
  146. package/index164.js +0 -1
  147. package/index164.mjs +0 -7
  148. package/index165.js +0 -1
  149. package/index165.mjs +0 -8
  150. package/index166.js +0 -1
  151. package/index166.mjs +0 -11
  152. package/index167.js +0 -1
  153. package/index167.mjs +0 -7
  154. package/index168.js +0 -1
  155. package/index168.mjs +0 -10
  156. package/index169.js +0 -1
  157. package/index169.mjs +0 -14
  158. package/index17.js +0 -1
  159. package/index17.mjs +0 -108
  160. package/index170.js +0 -1
  161. package/index170.mjs +0 -11
  162. package/index171.js +0 -1
  163. package/index171.mjs +0 -11
  164. package/index172.js +0 -1
  165. package/index172.mjs +0 -15
  166. package/index173.js +0 -1
  167. package/index173.mjs +0 -6
  168. package/index174.js +0 -1
  169. package/index174.mjs +0 -35
  170. package/index175.js +0 -1
  171. package/index175.mjs +0 -67
  172. package/index176.js +0 -1
  173. package/index176.mjs +0 -10
  174. package/index177.js +0 -1
  175. package/index177.mjs +0 -10
  176. package/index178.js +0 -1
  177. package/index178.mjs +0 -9
  178. package/index179.js +0 -1
  179. package/index179.mjs +0 -9
  180. package/index18.js +0 -1
  181. package/index18.mjs +0 -136
  182. package/index180.js +0 -1
  183. package/index180.mjs +0 -16
  184. package/index181.js +0 -1
  185. package/index181.mjs +0 -4
  186. package/index182.js +0 -1
  187. package/index182.mjs +0 -4
  188. package/index183.js +0 -1
  189. package/index183.mjs +0 -4
  190. package/index184.js +0 -1
  191. package/index184.mjs +0 -59
  192. package/index185.js +0 -1
  193. package/index185.mjs +0 -24
  194. package/index186.js +0 -1
  195. package/index186.mjs +0 -43
  196. package/index187.js +0 -1
  197. package/index187.mjs +0 -63
  198. package/index188.js +0 -1
  199. package/index188.mjs +0 -34
  200. package/index189.js +0 -1
  201. package/index189.mjs +0 -15
  202. package/index19.js +0 -1
  203. package/index19.mjs +0 -11
  204. package/index190.js +0 -1
  205. package/index190.mjs +0 -64
  206. package/index191.js +0 -1
  207. package/index191.mjs +0 -64
  208. package/index192.js +0 -1
  209. package/index192.mjs +0 -65
  210. package/index193.js +0 -1
  211. package/index193.mjs +0 -65
  212. package/index194.js +0 -1
  213. package/index194.mjs +0 -42
  214. package/index195.js +0 -1
  215. package/index195.mjs +0 -43
  216. package/index196.js +0 -1
  217. package/index196.mjs +0 -55
  218. package/index197.js +0 -1
  219. package/index197.mjs +0 -45
  220. package/index198.js +0 -1
  221. package/index198.mjs +0 -39
  222. package/index199.js +0 -1
  223. package/index199.mjs +0 -68
  224. package/index2.js +0 -1
  225. package/index2.mjs +0 -12
  226. package/index20.js +0 -1
  227. package/index20.mjs +0 -54
  228. package/index200.js +0 -1
  229. package/index200.mjs +0 -68
  230. package/index201.js +0 -1
  231. package/index201.mjs +0 -93
  232. package/index202.js +0 -1
  233. package/index202.mjs +0 -43
  234. package/index203.js +0 -1
  235. package/index203.mjs +0 -43
  236. package/index204.js +0 -1
  237. package/index204.mjs +0 -43
  238. package/index205.js +0 -1
  239. package/index205.mjs +0 -27
  240. package/index206.js +0 -1
  241. package/index206.mjs +0 -26
  242. package/index207.js +0 -1
  243. package/index207.mjs +0 -26
  244. package/index208.js +0 -1
  245. package/index208.mjs +0 -27
  246. package/index209.js +0 -1
  247. package/index209.mjs +0 -26
  248. package/index21.js +0 -1
  249. package/index21.mjs +0 -33
  250. package/index210.js +0 -1
  251. package/index210.mjs +0 -26
  252. package/index211.js +0 -1
  253. package/index211.mjs +0 -16
  254. package/index212.js +0 -1
  255. package/index212.mjs +0 -42
  256. package/index213.js +0 -1
  257. package/index213.mjs +0 -42
  258. package/index214.js +0 -1
  259. package/index214.mjs +0 -16
  260. package/index215.js +0 -1
  261. package/index215.mjs +0 -16
  262. package/index216.js +0 -1
  263. package/index216.mjs +0 -70
  264. package/index217.js +0 -1
  265. package/index217.mjs +0 -33
  266. package/index218.js +0 -1
  267. package/index218.mjs +0 -11
  268. package/index219.js +0 -1
  269. package/index219.mjs +0 -155
  270. package/index22.js +0 -1
  271. package/index22.mjs +0 -22
  272. package/index220.js +0 -1
  273. package/index220.mjs +0 -110
  274. package/index221.js +0 -1
  275. package/index221.mjs +0 -22
  276. package/index222.js +0 -1
  277. package/index222.mjs +0 -103
  278. package/index223.js +0 -1
  279. package/index223.mjs +0 -49
  280. package/index224.js +0 -1
  281. package/index224.mjs +0 -70
  282. package/index225.js +0 -1
  283. package/index225.mjs +0 -33
  284. package/index226.js +0 -1
  285. package/index226.mjs +0 -11
  286. package/index227.js +0 -1
  287. package/index227.mjs +0 -110
  288. package/index228.js +0 -1
  289. package/index228.mjs +0 -109
  290. package/index229.js +0 -1
  291. package/index229.mjs +0 -9
  292. package/index23.js +0 -1
  293. package/index23.mjs +0 -32
  294. package/index230.js +0 -1
  295. package/index230.mjs +0 -18
  296. package/index231.js +0 -1
  297. package/index231.mjs +0 -31
  298. package/index232.js +0 -1
  299. package/index232.mjs +0 -15
  300. package/index233.js +0 -1
  301. package/index233.mjs +0 -61
  302. package/index234.js +0 -1
  303. package/index234.mjs +0 -11
  304. package/index235.js +0 -1
  305. package/index235.mjs +0 -22
  306. package/index24.js +0 -2
  307. package/index24.mjs +0 -62
  308. package/index25.js +0 -1
  309. package/index25.mjs +0 -15
  310. package/index26.js +0 -1
  311. package/index26.mjs +0 -12
  312. package/index27.js +0 -1
  313. package/index27.mjs +0 -43
  314. package/index28.js +0 -1
  315. package/index28.mjs +0 -34
  316. package/index29.js +0 -1
  317. package/index29.mjs +0 -10
  318. package/index3.js +0 -1
  319. package/index3.mjs +0 -15
  320. package/index30.js +0 -1
  321. package/index30.mjs +0 -72
  322. package/index31.js +0 -1
  323. package/index31.mjs +0 -40
  324. package/index32.js +0 -1
  325. package/index32.mjs +0 -48
  326. package/index33.js +0 -1
  327. package/index33.mjs +0 -90
  328. package/index34.js +0 -1
  329. package/index34.mjs +0 -36
  330. package/index35.js +0 -1
  331. package/index35.mjs +0 -25
  332. package/index36.js +0 -1
  333. package/index36.mjs +0 -27
  334. package/index37.js +0 -1
  335. package/index37.mjs +0 -110
  336. package/index38.js +0 -1
  337. package/index38.mjs +0 -57
  338. package/index39.js +0 -1
  339. package/index39.mjs +0 -21
  340. package/index4.js +0 -1
  341. package/index4.mjs +0 -58
  342. package/index40.js +0 -1
  343. package/index40.mjs +0 -40
  344. package/index41.js +0 -1
  345. package/index41.mjs +0 -54
  346. package/index42.js +0 -1
  347. package/index42.mjs +0 -73
  348. package/index43.js +0 -1
  349. package/index43.mjs +0 -49
  350. package/index44.js +0 -1
  351. package/index44.mjs +0 -13
  352. package/index45.js +0 -1
  353. package/index45.mjs +0 -73
  354. package/index46.js +0 -1
  355. package/index46.mjs +0 -99
  356. package/index47.js +0 -1
  357. package/index47.mjs +0 -45
  358. package/index48.js +0 -1
  359. package/index48.mjs +0 -26
  360. package/index49.js +0 -1
  361. package/index49.mjs +0 -83
  362. package/index5.js +0 -1
  363. package/index5.mjs +0 -136
  364. package/index50.js +0 -1
  365. package/index50.mjs +0 -35
  366. package/index51.js +0 -1
  367. package/index51.mjs +0 -10
  368. package/index52.js +0 -1
  369. package/index52.mjs +0 -13
  370. package/index53.js +0 -1
  371. package/index53.mjs +0 -30
  372. package/index54.js +0 -1
  373. package/index54.mjs +0 -51
  374. package/index55.js +0 -1
  375. package/index55.mjs +0 -10
  376. package/index56.js +0 -1
  377. package/index56.mjs +0 -49
  378. package/index58.js +0 -1
  379. package/index58.mjs +0 -64
  380. package/index59.js +0 -1
  381. package/index59.mjs +0 -62
  382. package/index6.js +0 -1
  383. package/index6.mjs +0 -29
  384. package/index60.js +0 -1
  385. package/index60.mjs +0 -31
  386. package/index61.js +0 -1
  387. package/index61.mjs +0 -23
  388. package/index62.js +0 -1
  389. package/index62.mjs +0 -32
  390. package/index63.js +0 -1
  391. package/index63.mjs +0 -16
  392. package/index64.js +0 -1
  393. package/index64.mjs +0 -61
  394. package/index65.js +0 -1
  395. package/index65.mjs +0 -19
  396. package/index66.js +0 -7
  397. package/index66.mjs +0 -411
  398. package/index7.js +0 -1
  399. package/index7.mjs +0 -8
  400. package/index70.js +0 -1
  401. package/index70.mjs +0 -4
  402. package/index71.js +0 -1
  403. package/index71.mjs +0 -76
  404. package/index72.js +0 -1
  405. package/index72.mjs +0 -31
  406. package/index73.js +0 -1
  407. package/index73.mjs +0 -38
  408. package/index74.js +0 -1
  409. package/index74.mjs +0 -6
  410. package/index75.js +0 -1
  411. package/index75.mjs +0 -37
  412. package/index76.js +0 -1
  413. package/index76.mjs +0 -7
  414. package/index77.js +0 -1
  415. package/index77.mjs +0 -7
  416. package/index78.js +0 -1
  417. package/index78.mjs +0 -7
  418. package/index79.js +0 -1
  419. package/index79.mjs +0 -7
  420. package/index8.js +0 -1
  421. package/index8.mjs +0 -18
  422. package/index80.js +0 -1
  423. package/index80.mjs +0 -7
  424. package/index81.js +0 -1
  425. package/index81.mjs +0 -19
  426. package/index82.js +0 -1
  427. package/index82.mjs +0 -87
  428. package/index83.js +0 -1
  429. package/index83.mjs +0 -8
  430. package/index84.js +0 -1
  431. package/index84.mjs +0 -27
  432. package/index85.js +0 -1
  433. package/index85.mjs +0 -57
  434. package/index87.js +0 -1
  435. package/index87.mjs +0 -7
  436. package/index88.js +0 -1
  437. package/index88.mjs +0 -121
  438. package/index89.js +0 -1
  439. package/index89.mjs +0 -20
  440. package/index9.js +0 -1
  441. package/index9.mjs +0 -18
  442. package/index90.js +0 -1
  443. package/index90.mjs +0 -26
  444. package/index91.js +0 -1
  445. package/index91.mjs +0 -4
  446. package/index92.js +0 -1
  447. package/index92.mjs +0 -237
  448. package/index93.js +0 -1
  449. package/index93.mjs +0 -4
  450. package/index94.js +0 -1
  451. package/index94.mjs +0 -13
  452. package/index95.js +0 -1
  453. package/index95.mjs +0 -249
  454. package/index96.js +0 -1
  455. package/index96.mjs +0 -91
  456. package/index97.js +0 -1
  457. package/index97.mjs +0 -15
  458. package/index98.js +0 -1
  459. package/index98.mjs +0 -6
  460. package/index99.js +0 -1
  461. package/index99.mjs +0 -4
  462. package/packages/antwerp-ui/react-components/src/lib/atoms/input/text-field/TextField.css +0 -1
  463. package/packages/antwerp-ui/react-components/src/lib/atoms/tooltip/Tooltip.css +0 -1
  464. package/packages/antwerp-ui/react-components/src/lib/molecules/autocomplete/Autocomplete.css +0 -1
  465. package/packages/antwerp-ui/react-components/src/lib/molecules/datepicker/DateRangePicker.css +0 -1
package/index88.mjs DELETED
@@ -1,121 +0,0 @@
1
- import { millisecondsInHour as p, millisecondsInMinute as N } from "./index150.mjs";
2
- import { constructFrom as T } from "./index148.mjs";
3
- import { toDate as D } from "./index149.mjs";
4
- function v(t, e) {
5
- const n = () => T(e?.in, NaN), i = I(t);
6
- let s;
7
- if (i.date) {
8
- const a = x(i.date, 2);
9
- s = Y(a.restDateString, a.year);
10
- }
11
- if (!s || isNaN(+s)) return n();
12
- const u = +s;
13
- let o = 0, c;
14
- if (i.time && (o = w(i.time), isNaN(o)))
15
- return n();
16
- if (i.timezone) {
17
- if (c = y(i.timezone), isNaN(c)) return n();
18
- } else {
19
- const a = new Date(u + o), d = D(0, e?.in);
20
- return d.setFullYear(
21
- a.getUTCFullYear(),
22
- a.getUTCMonth(),
23
- a.getUTCDate()
24
- ), d.setHours(
25
- a.getUTCHours(),
26
- a.getUTCMinutes(),
27
- a.getUTCSeconds(),
28
- a.getUTCMilliseconds()
29
- ), d;
30
- }
31
- return D(u + o + c, e?.in);
32
- }
33
- const f = {
34
- dateTimeDelimiter: /[T ]/,
35
- timeZoneDelimiter: /[Z ]/i,
36
- timezone: /([Z+-].*)$/
37
- }, U = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, h = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, C = /^([+-])(\d{2})(?::?(\d{2}))?$/;
38
- function I(t) {
39
- const e = {}, n = t.split(f.dateTimeDelimiter);
40
- let r;
41
- if (n.length > 2)
42
- return e;
43
- if (/:/.test(n[0]) ? r = n[0] : (e.date = n[0], r = n[1], f.timeZoneDelimiter.test(e.date) && (e.date = t.split(f.timeZoneDelimiter)[0], r = t.substr(
44
- e.date.length,
45
- t.length
46
- ))), r) {
47
- const i = f.timezone.exec(r);
48
- i ? (e.time = r.replace(i[1], ""), e.timezone = i[1]) : e.time = r;
49
- }
50
- return e;
51
- }
52
- function x(t, e) {
53
- const n = new RegExp(
54
- "^(?:(\\d{4}|[+-]\\d{" + (4 + e) + "})|(\\d{2}|[+-]\\d{" + (2 + e) + "})$)"
55
- ), r = t.match(n);
56
- if (!r) return { year: NaN, restDateString: "" };
57
- const i = r[1] ? parseInt(r[1]) : null, s = r[2] ? parseInt(r[2]) : null;
58
- return {
59
- year: s === null ? i : s * 100,
60
- restDateString: t.slice((r[1] || r[2]).length)
61
- };
62
- }
63
- function Y(t, e) {
64
- if (e === null) return /* @__PURE__ */ new Date(NaN);
65
- const n = t.match(U);
66
- if (!n) return /* @__PURE__ */ new Date(NaN);
67
- const r = !!n[4], i = l(n[1]), s = l(n[2]) - 1, u = l(n[3]), o = l(n[4]), c = l(n[5]) - 1;
68
- if (r)
69
- return Z(e, o, c) ? z(e, o, c) : /* @__PURE__ */ new Date(NaN);
70
- {
71
- const a = /* @__PURE__ */ new Date(0);
72
- return !M(e, s, u) || !O(e, i) ? /* @__PURE__ */ new Date(NaN) : (a.setUTCFullYear(e, s, Math.max(i, u)), a);
73
- }
74
- }
75
- function l(t) {
76
- return t ? parseInt(t) : 1;
77
- }
78
- function w(t) {
79
- const e = t.match(h);
80
- if (!e) return NaN;
81
- const n = m(e[1]), r = m(e[2]), i = m(e[3]);
82
- return k(n, r, i) ? n * p + r * N + i * 1e3 : NaN;
83
- }
84
- function m(t) {
85
- return t && parseFloat(t.replace(",", ".")) || 0;
86
- }
87
- function y(t) {
88
- if (t === "Z") return 0;
89
- const e = t.match(C);
90
- if (!e) return 0;
91
- const n = e[1] === "+" ? -1 : 1, r = parseInt(e[2]), i = e[3] && parseInt(e[3]) || 0;
92
- return R(r, i) ? n * (r * p + i * N) : NaN;
93
- }
94
- function z(t, e, n) {
95
- const r = /* @__PURE__ */ new Date(0);
96
- r.setUTCFullYear(t, 0, 4);
97
- const i = r.getUTCDay() || 7, s = (e - 1) * 7 + n + 1 - i;
98
- return r.setUTCDate(r.getUTCDate() + s), r;
99
- }
100
- const F = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
101
- function g(t) {
102
- return t % 400 === 0 || t % 4 === 0 && t % 100 !== 0;
103
- }
104
- function M(t, e, n) {
105
- return e >= 0 && e <= 11 && n >= 1 && n <= (F[e] || (g(t) ? 29 : 28));
106
- }
107
- function O(t, e) {
108
- return e >= 1 && e <= (g(t) ? 366 : 365);
109
- }
110
- function Z(t, e, n) {
111
- return e >= 1 && e <= 53 && n >= 0 && n <= 6;
112
- }
113
- function k(t, e, n) {
114
- return t === 24 ? e === 0 && n === 0 : n >= 0 && n < 60 && e >= 0 && e < 60 && t >= 0 && t < 25;
115
- }
116
- function R(t, e) {
117
- return e >= 0 && e <= 59;
118
- }
119
- export {
120
- v as parseISO
121
- };
package/index89.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index224.js"),e=require("./index225.js"),o=require("./index226.js"),a=require("./index227.js"),r=require("./index228.js"),n={code:"nl-BE",formatDistance:t.formatDistance,formatLong:e.formatLong,formatRelative:o.formatRelative,localize:a.localize,match:r.match,options:{weekStartsOn:1,firstWeekContainsDate:4}};exports.nlBE=n;
package/index89.mjs DELETED
@@ -1,20 +0,0 @@
1
- import { formatDistance as o } from "./index224.mjs";
2
- import { formatLong as t } from "./index225.mjs";
3
- import { formatRelative as r } from "./index226.mjs";
4
- import { localize as m } from "./index227.mjs";
5
- import { match as a } from "./index228.mjs";
6
- const l = {
7
- code: "nl-BE",
8
- formatDistance: o,
9
- formatLong: t,
10
- formatRelative: r,
11
- localize: m,
12
- match: a,
13
- options: {
14
- weekStartsOn: 1,
15
- firstWeekContainsDate: 4
16
- }
17
- };
18
- export {
19
- l as nlBE
20
- };
package/index9.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),d=require("./index54.js");function t({title:r,items:n=[],renderLinkFunction:s,qa:l}){const u=()=>Array.isArray(n)?n.map(e=>a.jsx("li",{children:s?s(e):d.renderHTMLLink(e)},`${e.id}`)):null,c=()=>{if(r&&r.label){const e=r.tag||"h1";return a.jsx(e,{className:`${r.className||""} u-margin-top-xxs`,children:r.label})}return null};return a.jsxs(a.Fragment,{children:[a.jsx("ul",{className:"a-breadcrumb","data-qa":l,children:u()}),c()]})}exports.Breadcrumb=t;
package/index9.mjs DELETED
@@ -1,18 +0,0 @@
1
- import { jsxs as m, Fragment as u, jsx as e } from "react/jsx-runtime";
2
- import { renderHTMLLink as o } from "./index54.mjs";
3
- function b({ title: r, items: n = [], renderLinkFunction: l, qa: s }) {
4
- const c = () => Array.isArray(n) ? n.map((a) => /* @__PURE__ */ e("li", { children: l ? l(a) : o(a) }, `${a.id}`)) : null, d = () => {
5
- if (r && r.label) {
6
- const a = r.tag || "h1";
7
- return /* @__PURE__ */ e(a, { className: `${r.className || ""} u-margin-top-xxs`, children: r.label });
8
- }
9
- return null;
10
- };
11
- return /* @__PURE__ */ m(u, { children: [
12
- /* @__PURE__ */ e("ul", { className: "a-breadcrumb", "data-qa": s, children: c() }),
13
- d()
14
- ] });
15
- }
16
- export {
17
- b as Breadcrumb
18
- };
package/index90.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function c(e){if(e.__esModule)return e;var o=e.default;if(typeof o=="function"){var t=function r(){return this instanceof r?Reflect.construct(o,arguments,this.constructor):o.apply(this,arguments)};t.prototype=o.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var u=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,u.get?u:{enumerable:!0,get:function(){return e[r]}})}),t}exports.getAugmentedNamespace=c;exports.getDefaultExportFromCjs=n;
package/index90.mjs DELETED
@@ -1,26 +0,0 @@
1
- function n(e) {
2
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
3
- }
4
- function c(e) {
5
- if (e.__esModule) return e;
6
- var o = e.default;
7
- if (typeof o == "function") {
8
- var t = function r() {
9
- return this instanceof r ? Reflect.construct(o, arguments, this.constructor) : o.apply(this, arguments);
10
- };
11
- t.prototype = o.prototype;
12
- } else t = {};
13
- return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(r) {
14
- var u = Object.getOwnPropertyDescriptor(e, r);
15
- Object.defineProperty(t, r, u.get ? u : {
16
- enumerable: !0,
17
- get: function() {
18
- return e[r];
19
- }
20
- });
21
- }), t;
22
- }
23
- export {
24
- c as getAugmentedNamespace,
25
- n as getDefaultExportFromCjs
26
- };
package/index91.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
package/index91.mjs DELETED
@@ -1,4 +0,0 @@
1
- var e = { exports: {} };
2
- export {
3
- e as __module
4
- };
package/index92.js DELETED
@@ -1 +0,0 @@
1
- "use strict";const d=require("./index93.js"),x=require("react"),N=require("react-dom"),T=require("./index94.js"),q=require("./index95.js");require("./index96.js");require("./index97.js");const A=require("./index98.js"),D=require("./index99.js"),w=require("./index100.js");Object.defineProperty(d.__exports,"__esModule",{value:!0});d.__exports.bodyOpenClassName=d.__exports.portalClassName=void 0;var g=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(r[a]=o[a])}return r},H=function(){function r(e,o){for(var a=0;a<o.length;a++){var n=o[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(e,o,a){return o&&r(e.prototype,o),a&&r(e,a),e}}(),R=x,_=m(R),L=N,O=m(L),U=T.propTypesExports,t=m(U),k=q.ModalPortalExports,C=m(k),W=w.__exports,F=B(W),i=D.__exports,M=m(i),$=A;function B(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e.default=r,e}function m(r){return r&&r.__esModule?r:{default:r}}function j(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function P(r,e){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:r}function I(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(r,e):r.__proto__=e)}var V=d.__exports.portalClassName="ReactModalPortal",z=d.__exports.bodyOpenClassName="ReactModal__Body--open",f=i.canUseDOM&&O.default.createPortal!==void 0,b=function(e){return document.createElement(e)},E=function(){return f?O.default.createPortal:O.default.unstable_renderSubtreeIntoContainer};function y(r){return r()}var p=function(r){I(e,r);function e(){var o,a,n,l;j(this,e);for(var c=arguments.length,v=Array(c),s=0;s<c;s++)v[s]=arguments[s];return l=(a=(n=P(this,(o=e.__proto__||Object.getPrototypeOf(e)).call.apply(o,[this].concat(v))),n),n.removePortal=function(){!f&&O.default.unmountComponentAtNode(n.node);var u=y(n.props.parentSelector);u&&u.contains(n.node)?u.removeChild(n.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},n.portalRef=function(u){n.portal=u},n.renderPortal=function(u){var h=E(),S=h(n,_.default.createElement(C.default,g({defaultStyles:e.defaultStyles},u)),n.node);n.portalRef(S)},a),P(n,l)}return H(e,[{key:"componentDidMount",value:function(){if(i.canUseDOM){f||(this.node=b("div")),this.node.className=this.props.portalClassName;var a=y(this.props.parentSelector);a.appendChild(this.node),!f&&this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(a){var n=y(a.parentSelector),l=y(this.props.parentSelector);return{prevParent:n,nextParent:l}}},{key:"componentDidUpdate",value:function(a,n,l){if(i.canUseDOM){var c=this.props,v=c.isOpen,s=c.portalClassName;a.portalClassName!==s&&(this.node.className=s);var u=l.prevParent,h=l.nextParent;h!==u&&(u.removeChild(this.node),h.appendChild(this.node)),!(!a.isOpen&&!v)&&!f&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(!(!i.canUseDOM||!this.node||!this.portal)){var a=this.portal.state,n=Date.now(),l=a.isOpen&&this.props.closeTimeoutMS&&(a.closesAt||n+this.props.closeTimeoutMS);l?(a.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,l-n)):this.removePortal()}}},{key:"render",value:function(){if(!i.canUseDOM||!f)return null;!this.node&&f&&(this.node=b("div"));var a=E();return a(_.default.createElement(C.default,g({ref:this.portalRef,defaultStyles:e.defaultStyles},this.props)),this.node)}}],[{key:"setAppElement",value:function(a){F.setElement(a)}}]),e}(R.Component);p.propTypes={isOpen:t.default.bool.isRequired,style:t.default.shape({content:t.default.object,overlay:t.default.object}),portalClassName:t.default.string,bodyOpenClassName:t.default.string,htmlOpenClassName:t.default.string,className:t.default.oneOfType([t.default.string,t.default.shape({base:t.default.string.isRequired,afterOpen:t.default.string.isRequired,beforeClose:t.default.string.isRequired})]),overlayClassName:t.default.oneOfType([t.default.string,t.default.shape({base:t.default.string.isRequired,afterOpen:t.default.string.isRequired,beforeClose:t.default.string.isRequired})]),appElement:t.default.oneOfType([t.default.instanceOf(M.default),t.default.instanceOf(i.SafeHTMLCollection),t.default.instanceOf(i.SafeNodeList),t.default.arrayOf(t.default.instanceOf(M.default))]),onAfterOpen:t.default.func,onRequestClose:t.default.func,closeTimeoutMS:t.default.number,ariaHideApp:t.default.bool,shouldFocusAfterRender:t.default.bool,shouldCloseOnOverlayClick:t.default.bool,shouldReturnFocusAfterClose:t.default.bool,preventScroll:t.default.bool,parentSelector:t.default.func,aria:t.default.object,data:t.default.object,role:t.default.string,contentLabel:t.default.string,shouldCloseOnEsc:t.default.bool,overlayRef:t.default.func,contentRef:t.default.func,id:t.default.string,overlayElement:t.default.func,contentElement:t.default.func};p.defaultProps={isOpen:!1,portalClassName:V,bodyOpenClassName:z,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,o){return _.default.createElement("div",e,o)},contentElement:function(e,o){return _.default.createElement("div",e,o)}};p.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}};(0,$.polyfill)(p);process.env.NODE_ENV!=="production"&&(p.setCreateHTMLElement=function(r){return b=r});d.__exports.default=p;
package/index92.mjs DELETED
@@ -1,237 +0,0 @@
1
- import { __exports as p } from "./index93.mjs";
2
- import N from "react";
3
- import T from "react-dom";
4
- import { p as x } from "./index94.mjs";
5
- import { M as A } from "./index95.mjs";
6
- import "./index96.mjs";
7
- import "./index97.mjs";
8
- import D from "./index98.mjs";
9
- import { __exports as w } from "./index99.mjs";
10
- import { __exports as q } from "./index100.mjs";
11
- Object.defineProperty(p, "__esModule", {
12
- value: !0
13
- });
14
- p.bodyOpenClassName = p.portalClassName = void 0;
15
- var g = Object.assign || function(r) {
16
- for (var e = 1; e < arguments.length; e++) {
17
- var o = arguments[e];
18
- for (var a in o)
19
- Object.prototype.hasOwnProperty.call(o, a) && (r[a] = o[a]);
20
- }
21
- return r;
22
- }, H = /* @__PURE__ */ function() {
23
- function r(e, o) {
24
- for (var a = 0; a < o.length; a++) {
25
- var n = o[a];
26
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
27
- }
28
- }
29
- return function(e, o, a) {
30
- return o && r(e.prototype, o), a && r(e, a), e;
31
- };
32
- }(), R = N, O = m(R), U = T, _ = m(U), L = x, t = m(L), k = A, C = m(k), $ = q, W = B($), u = w, M = m(u), F = D;
33
- function B(r) {
34
- if (r && r.__esModule)
35
- return r;
36
- var e = {};
37
- if (r != null)
38
- for (var o in r)
39
- Object.prototype.hasOwnProperty.call(r, o) && (e[o] = r[o]);
40
- return e.default = r, e;
41
- }
42
- function m(r) {
43
- return r && r.__esModule ? r : { default: r };
44
- }
45
- function j(r, e) {
46
- if (!(r instanceof e))
47
- throw new TypeError("Cannot call a class as a function");
48
- }
49
- function E(r, e) {
50
- if (!r)
51
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
52
- return e && (typeof e == "object" || typeof e == "function") ? e : r;
53
- }
54
- function I(r, e) {
55
- if (typeof e != "function" && e !== null)
56
- throw new TypeError("Super expression must either be null or a function, not " + typeof e);
57
- r.prototype = Object.create(e && e.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(r, e) : r.__proto__ = e);
58
- }
59
- var V = p.portalClassName = "ReactModalPortal", z = p.bodyOpenClassName = "ReactModal__Body--open", s = u.canUseDOM && _.default.createPortal !== void 0, b = function(e) {
60
- return document.createElement(e);
61
- }, P = function() {
62
- return s ? _.default.createPortal : _.default.unstable_renderSubtreeIntoContainer;
63
- };
64
- function y(r) {
65
- return r();
66
- }
67
- var d = function(r) {
68
- I(e, r);
69
- function e() {
70
- var o, a, n, l;
71
- j(this, e);
72
- for (var c = arguments.length, v = Array(c), f = 0; f < c; f++)
73
- v[f] = arguments[f];
74
- return l = (a = (n = E(this, (o = e.__proto__ || Object.getPrototypeOf(e)).call.apply(o, [this].concat(v))), n), n.removePortal = function() {
75
- !s && _.default.unmountComponentAtNode(n.node);
76
- var i = y(n.props.parentSelector);
77
- i && i.contains(n.node) ? i.removeChild(n.node) : console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.');
78
- }, n.portalRef = function(i) {
79
- n.portal = i;
80
- }, n.renderPortal = function(i) {
81
- var h = P(), S = h(n, O.default.createElement(C.default, g({ defaultStyles: e.defaultStyles }, i)), n.node);
82
- n.portalRef(S);
83
- }, a), E(n, l);
84
- }
85
- return H(e, [{
86
- key: "componentDidMount",
87
- value: function() {
88
- if (u.canUseDOM) {
89
- s || (this.node = b("div")), this.node.className = this.props.portalClassName;
90
- var a = y(this.props.parentSelector);
91
- a.appendChild(this.node), !s && this.renderPortal(this.props);
92
- }
93
- }
94
- }, {
95
- key: "getSnapshotBeforeUpdate",
96
- value: function(a) {
97
- var n = y(a.parentSelector), l = y(this.props.parentSelector);
98
- return { prevParent: n, nextParent: l };
99
- }
100
- }, {
101
- key: "componentDidUpdate",
102
- value: function(a, n, l) {
103
- if (u.canUseDOM) {
104
- var c = this.props, v = c.isOpen, f = c.portalClassName;
105
- a.portalClassName !== f && (this.node.className = f);
106
- var i = l.prevParent, h = l.nextParent;
107
- h !== i && (i.removeChild(this.node), h.appendChild(this.node)), !(!a.isOpen && !v) && !s && this.renderPortal(this.props);
108
- }
109
- }
110
- }, {
111
- key: "componentWillUnmount",
112
- value: function() {
113
- if (!(!u.canUseDOM || !this.node || !this.portal)) {
114
- var a = this.portal.state, n = Date.now(), l = a.isOpen && this.props.closeTimeoutMS && (a.closesAt || n + this.props.closeTimeoutMS);
115
- l ? (a.beforeClose || this.portal.closeWithTimeout(), setTimeout(this.removePortal, l - n)) : this.removePortal();
116
- }
117
- }
118
- }, {
119
- key: "render",
120
- value: function() {
121
- if (!u.canUseDOM || !s)
122
- return null;
123
- !this.node && s && (this.node = b("div"));
124
- var a = P();
125
- return a(O.default.createElement(C.default, g({
126
- ref: this.portalRef,
127
- defaultStyles: e.defaultStyles
128
- }, this.props)), this.node);
129
- }
130
- }], [{
131
- key: "setAppElement",
132
- value: function(a) {
133
- W.setElement(a);
134
- }
135
- /* eslint-disable react/no-unused-prop-types */
136
- /* eslint-enable react/no-unused-prop-types */
137
- }]), e;
138
- }(R.Component);
139
- d.propTypes = {
140
- isOpen: t.default.bool.isRequired,
141
- style: t.default.shape({
142
- content: t.default.object,
143
- overlay: t.default.object
144
- }),
145
- portalClassName: t.default.string,
146
- bodyOpenClassName: t.default.string,
147
- htmlOpenClassName: t.default.string,
148
- className: t.default.oneOfType([t.default.string, t.default.shape({
149
- base: t.default.string.isRequired,
150
- afterOpen: t.default.string.isRequired,
151
- beforeClose: t.default.string.isRequired
152
- })]),
153
- overlayClassName: t.default.oneOfType([t.default.string, t.default.shape({
154
- base: t.default.string.isRequired,
155
- afterOpen: t.default.string.isRequired,
156
- beforeClose: t.default.string.isRequired
157
- })]),
158
- appElement: t.default.oneOfType([t.default.instanceOf(M.default), t.default.instanceOf(u.SafeHTMLCollection), t.default.instanceOf(u.SafeNodeList), t.default.arrayOf(t.default.instanceOf(M.default))]),
159
- onAfterOpen: t.default.func,
160
- onRequestClose: t.default.func,
161
- closeTimeoutMS: t.default.number,
162
- ariaHideApp: t.default.bool,
163
- shouldFocusAfterRender: t.default.bool,
164
- shouldCloseOnOverlayClick: t.default.bool,
165
- shouldReturnFocusAfterClose: t.default.bool,
166
- preventScroll: t.default.bool,
167
- parentSelector: t.default.func,
168
- aria: t.default.object,
169
- data: t.default.object,
170
- role: t.default.string,
171
- contentLabel: t.default.string,
172
- shouldCloseOnEsc: t.default.bool,
173
- overlayRef: t.default.func,
174
- contentRef: t.default.func,
175
- id: t.default.string,
176
- overlayElement: t.default.func,
177
- contentElement: t.default.func
178
- };
179
- d.defaultProps = {
180
- isOpen: !1,
181
- portalClassName: V,
182
- bodyOpenClassName: z,
183
- role: "dialog",
184
- ariaHideApp: !0,
185
- closeTimeoutMS: 0,
186
- shouldFocusAfterRender: !0,
187
- shouldCloseOnEsc: !0,
188
- shouldCloseOnOverlayClick: !0,
189
- shouldReturnFocusAfterClose: !0,
190
- preventScroll: !1,
191
- parentSelector: function() {
192
- return document.body;
193
- },
194
- overlayElement: function(e, o) {
195
- return O.default.createElement(
196
- "div",
197
- e,
198
- o
199
- );
200
- },
201
- contentElement: function(e, o) {
202
- return O.default.createElement(
203
- "div",
204
- e,
205
- o
206
- );
207
- }
208
- };
209
- d.defaultStyles = {
210
- overlay: {
211
- position: "fixed",
212
- top: 0,
213
- left: 0,
214
- right: 0,
215
- bottom: 0,
216
- backgroundColor: "rgba(255, 255, 255, 0.75)"
217
- },
218
- content: {
219
- position: "absolute",
220
- top: "40px",
221
- left: "40px",
222
- right: "40px",
223
- bottom: "40px",
224
- border: "1px solid #ccc",
225
- background: "#fff",
226
- overflow: "auto",
227
- WebkitOverflowScrolling: "touch",
228
- borderRadius: "4px",
229
- outline: "none",
230
- padding: "20px"
231
- }
232
- };
233
- (0, F.polyfill)(d);
234
- process.env.NODE_ENV !== "production" && (d.setCreateHTMLElement = function(r) {
235
- return b = r;
236
- });
237
- p.default = d;
package/index93.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
package/index93.mjs DELETED
@@ -1,4 +0,0 @@
1
- var a = {};
2
- export {
3
- a as __exports
4
- };
package/index94.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index103.js"),r=require("./index104.js"),o=require("./index105.js"),t=require("./index106.js");if(process.env.NODE_ENV!=="production"){var i=r.__require(),s=!0;e.__module.exports=o.__require()(i.isElement,s)}else e.__module.exports=t.__require()();var p=e.__module.exports;exports.propTypesExports=p;
package/index94.mjs DELETED
@@ -1,13 +0,0 @@
1
- import { __module as r } from "./index103.mjs";
2
- import { __require as e } from "./index104.mjs";
3
- import { __require as o } from "./index105.mjs";
4
- import { __require as p } from "./index106.mjs";
5
- if (process.env.NODE_ENV !== "production") {
6
- var s = e(), i = !0;
7
- r.exports = o()(s.isElement, i);
8
- } else
9
- r.exports = p()();
10
- var _ = r.exports;
11
- export {
12
- _ as p
13
- };
package/index95.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("./index107.js"),$=require("react"),V=require("./index94.js");require("./index108.js");const z=require("./index109.js");require("./index96.js");require("./index110.js");require("./index97.js");require("./index111.js");require("./index112.js");const G=require("./index99.js"),J=require("./index113.js"),Q=require("./index100.js"),X=require("./index114.js"),Y=require("./index115.js");(function(E,O){Object.defineProperty(O,"__esModule",{value:!0});var c=Object.assign||function(s){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(s[e]=r[e])}return s},A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},g=function(){function s(n,r){for(var e=0;e<r.length;e++){var t=r[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}return function(n,r,e){return r&&s(n.prototype,r),e&&s(n,e),n}}(),R=$,w=V.propTypesExports,o=m(w),q=Y.__exports,p=C(q),D=z.scopeTabExports,F=m(D),H=Q.__exports,S=C(H),k=J.__exports,d=C(k),v=G.__exports,M=m(v),x=X.__exports,N=m(x);function C(s){if(s&&s.__esModule)return s;var n={};if(s!=null)for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(n[r]=s[r]);return n.default=s,n}function m(s){return s&&s.__esModule?s:{default:s}}function P(s,n){if(!(s instanceof n))throw new TypeError("Cannot call a class as a function")}function L(s,n){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:s}function j(s,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);s.prototype=Object.create(n&&n.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(s,n):s.__proto__=n)}var b={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},W=function(n){return n.code==="Tab"||n.keyCode===9},I=function(n){return n.code==="Escape"||n.keyCode===27},h=0,_=function(s){j(n,s);function n(r){P(this,n);var e=L(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,r));return e.setOverlayRef=function(t){e.overlay=t,e.props.overlayRef&&e.props.overlayRef(t)},e.setContentRef=function(t){e.content=t,e.props.contentRef&&e.props.contentRef(t)},e.afterClose=function(){var t=e.props,l=t.appElement,u=t.ariaHideApp,a=t.htmlOpenClassName,i=t.bodyOpenClassName,f=t.parentSelector,y=f&&f().ownerDocument||document;i&&d.remove(y.body,i),a&&d.remove(y.getElementsByTagName("html")[0],a),u&&h>0&&(h-=1,h===0&&S.show(l)),e.props.shouldFocusAfterRender&&(e.props.shouldReturnFocusAfterClose?(p.returnFocus(e.props.preventScroll),p.teardownScopedFocus()):p.popWithoutFocus()),e.props.onAfterClose&&e.props.onAfterClose(),N.default.deregister(e)},e.open=function(){e.beforeOpen(),e.state.afterOpen&&e.state.beforeClose?(clearTimeout(e.closeTimer),e.setState({beforeClose:!1})):(e.props.shouldFocusAfterRender&&(p.setupScopedFocus(e.node),p.markForFocusLater()),e.setState({isOpen:!0},function(){e.openAnimationFrame=requestAnimationFrame(function(){e.setState({afterOpen:!0}),e.props.isOpen&&e.props.onAfterOpen&&e.props.onAfterOpen({overlayEl:e.overlay,contentEl:e.content})})}))},e.close=function(){e.props.closeTimeoutMS>0?e.closeWithTimeout():e.closeWithoutTimeout()},e.focusContent=function(){return e.content&&!e.contentHasFocus()&&e.content.focus({preventScroll:!0})},e.closeWithTimeout=function(){var t=Date.now()+e.props.closeTimeoutMS;e.setState({beforeClose:!0,closesAt:t},function(){e.closeTimer=setTimeout(e.closeWithoutTimeout,e.state.closesAt-Date.now())})},e.closeWithoutTimeout=function(){e.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},e.afterClose)},e.handleKeyDown=function(t){W(t)&&(0,F.default)(e.content,t),e.props.shouldCloseOnEsc&&I(t)&&(t.stopPropagation(),e.requestClose(t))},e.handleOverlayOnClick=function(t){e.shouldClose===null&&(e.shouldClose=!0),e.shouldClose&&e.props.shouldCloseOnOverlayClick&&(e.ownerHandlesClose()?e.requestClose(t):e.focusContent()),e.shouldClose=null},e.handleContentOnMouseUp=function(){e.shouldClose=!1},e.handleOverlayOnMouseDown=function(t){!e.props.shouldCloseOnOverlayClick&&t.target==e.overlay&&t.preventDefault()},e.handleContentOnClick=function(){e.shouldClose=!1},e.handleContentOnMouseDown=function(){e.shouldClose=!1},e.requestClose=function(t){return e.ownerHandlesClose()&&e.props.onRequestClose(t)},e.ownerHandlesClose=function(){return e.props.onRequestClose},e.shouldBeClosed=function(){return!e.state.isOpen&&!e.state.beforeClose},e.contentHasFocus=function(){return document.activeElement===e.content||e.content.contains(document.activeElement)},e.buildClassName=function(t,l){var u=(typeof l>"u"?"undefined":A(l))==="object"?l:{base:b[t],afterOpen:b[t]+"--after-open",beforeClose:b[t]+"--before-close"},a=u.base;return e.state.afterOpen&&(a=a+" "+u.afterOpen),e.state.beforeClose&&(a=a+" "+u.beforeClose),typeof l=="string"&&l?a+" "+l:a},e.attributesFromObject=function(t,l){return Object.keys(l).reduce(function(u,a){return u[t+"-"+a]=l[a],u},{})},e.state={afterOpen:!1,beforeClose:!1},e.shouldClose=null,e.moveFromContentToOverlay=null,e}return g(n,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){process.env.NODE_ENV!=="production"&&(e.bodyOpenClassName!==this.props.bodyOpenClassName&&console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'),e.htmlOpenClassName!==this.props.htmlOpenClassName&&console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')),this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,l=e.ariaHideApp,u=e.htmlOpenClassName,a=e.bodyOpenClassName,i=e.parentSelector,f=i&&i().ownerDocument||document;a&&d.add(f.body,a),u&&d.add(f.getElementsByTagName("html")[0],u),l&&(h+=1,S.hide(t)),N.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,l=e.className,u=e.overlayClassName,a=e.defaultStyles,i=e.children,f=l?{}:a.content,y=u?{}:a.overlay;if(this.shouldBeClosed())return null;var K={ref:this.setOverlayRef,className:this.buildClassName("overlay",u),style:c({},y,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},U=c({id:t,ref:this.setContentRef,style:c({},f,this.props.style.content),className:this.buildClassName("content",l),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",c({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),B=this.props.contentElement(U,i);return this.props.overlayElement(K,B)}}]),n}(R.Component);_.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},_.propTypes={isOpen:o.default.bool.isRequired,defaultStyles:o.default.shape({content:o.default.object,overlay:o.default.object}),style:o.default.shape({content:o.default.object,overlay:o.default.object}),className:o.default.oneOfType([o.default.string,o.default.object]),overlayClassName:o.default.oneOfType([o.default.string,o.default.object]),parentSelector:o.default.func,bodyOpenClassName:o.default.string,htmlOpenClassName:o.default.string,ariaHideApp:o.default.bool,appElement:o.default.oneOfType([o.default.instanceOf(M.default),o.default.instanceOf(v.SafeHTMLCollection),o.default.instanceOf(v.SafeNodeList),o.default.arrayOf(o.default.instanceOf(M.default))]),onAfterOpen:o.default.func,onAfterClose:o.default.func,onRequestClose:o.default.func,closeTimeoutMS:o.default.number,shouldFocusAfterRender:o.default.bool,shouldCloseOnOverlayClick:o.default.bool,shouldReturnFocusAfterClose:o.default.bool,preventScroll:o.default.bool,role:o.default.string,contentLabel:o.default.string,aria:o.default.object,data:o.default.object,children:o.default.node,shouldCloseOnEsc:o.default.bool,overlayRef:o.default.func,contentRef:o.default.func,id:o.default.string,overlayElement:o.default.func,contentElement:o.default.func,testId:o.default.string},O.default=_,E.exports=O.default})(T.__module,T.__module.exports);var Z=T.__module.exports;exports.ModalPortalExports=Z;