@okam/stack-ui 1.39.1 → 1.39.3

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 (360) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/index123.js +2 -1
  3. package/index123.mjs +2 -1
  4. package/index125.js +1 -1
  5. package/index125.mjs +2 -2
  6. package/index126.js +2 -1
  7. package/index126.mjs +2 -1
  8. package/index131.js +1 -0
  9. package/index131.mjs +1 -0
  10. package/index132.js +1 -0
  11. package/index132.mjs +1 -0
  12. package/index133.js +1 -1
  13. package/index133.mjs +4 -4
  14. package/index134.js +1 -1
  15. package/index134.mjs +2 -2
  16. package/index135.js +1 -1
  17. package/index135.mjs +1 -1
  18. package/index136.js +1 -1
  19. package/index136.mjs +1 -1
  20. package/index137.js +1 -1
  21. package/index137.mjs +3 -3
  22. package/index141.js +1 -1
  23. package/index141.mjs +2 -2
  24. package/index142.js +1 -0
  25. package/index142.mjs +1 -0
  26. package/index143.js +1 -1
  27. package/index143.mjs +2 -2
  28. package/index144.js +1 -1
  29. package/index144.mjs +5 -5
  30. package/index145.js +1 -1
  31. package/index145.mjs +3 -3
  32. package/index146.js +1 -1
  33. package/index146.mjs +9 -9
  34. package/index150.js +1 -0
  35. package/index150.mjs +1 -0
  36. package/index151.js +1 -0
  37. package/index151.mjs +1 -0
  38. package/index152.js +1 -1
  39. package/index152.mjs +2 -2
  40. package/index156.js +1 -1
  41. package/index156.mjs +1 -1
  42. package/index158.js +1 -1
  43. package/index158.mjs +1 -1
  44. package/index159.js +1 -1
  45. package/index159.mjs +1 -1
  46. package/index161.js +1 -1
  47. package/index161.mjs +3 -3
  48. package/index162.js +1 -1
  49. package/index162.mjs +46 -12
  50. package/index163.js +2 -1
  51. package/index163.mjs +13 -46
  52. package/index164.js +1 -1
  53. package/index164.mjs +29 -11
  54. package/index165.js +1 -1
  55. package/index165.mjs +11 -29
  56. package/index168.js +1 -1
  57. package/index168.mjs +1 -1
  58. package/index169.js +1 -1
  59. package/index169.mjs +198 -120
  60. package/index170.js +1 -1
  61. package/index170.mjs +64 -27
  62. package/index171.js +1 -1
  63. package/index171.mjs +140 -70
  64. package/index172.js +1 -1
  65. package/index172.mjs +116 -373
  66. package/index173.js +1 -1
  67. package/index173.mjs +222 -44
  68. package/index174.js +1 -1
  69. package/index174.mjs +191 -4
  70. package/index175.js +1 -1
  71. package/index175.mjs +66 -21
  72. package/index176.js +1 -1
  73. package/index176.mjs +278 -46
  74. package/index177.js +1 -1
  75. package/index177.mjs +97 -4
  76. package/index178.js +1 -1
  77. package/index178.mjs +188 -24
  78. package/index179.js +1 -1
  79. package/index179.mjs +84 -12
  80. package/index180.js +1 -1
  81. package/index180.mjs +58 -4
  82. package/index181.js +1 -1
  83. package/index181.mjs +126 -14
  84. package/index182.js +1 -1
  85. package/index182.mjs +112 -38
  86. package/index183.js +1 -1
  87. package/index183.mjs +120 -55
  88. package/index184.js +1 -1
  89. package/index184.mjs +72 -41
  90. package/index185.js +1 -1
  91. package/index185.mjs +107 -25
  92. package/index186.js +1 -1
  93. package/index186.mjs +52 -31
  94. package/index187.js +1 -1
  95. package/index187.mjs +92 -13
  96. package/index188.js +1 -1
  97. package/index188.mjs +70 -10
  98. package/index189.js +1 -1
  99. package/index189.mjs +55 -27
  100. package/index190.js +1 -1
  101. package/index190.mjs +98 -8
  102. package/index191.js +5 -1
  103. package/index191.mjs +80 -6
  104. package/index192.js +1 -1
  105. package/index192.mjs +2025 -5
  106. package/index193.js +1 -1
  107. package/index193.mjs +59 -7
  108. package/index194.js +1 -1
  109. package/index194.mjs +186 -27
  110. package/index195.js +1 -1
  111. package/index195.mjs +122 -15
  112. package/index196.js +1 -1
  113. package/index196.mjs +26 -12
  114. package/index197.js +1 -1
  115. package/index197.mjs +70 -40
  116. package/index198.js +1 -1
  117. package/index198.mjs +380 -7
  118. package/index199.js +1 -1
  119. package/index199.mjs +45 -16
  120. package/index200.js +1 -1
  121. package/index200.mjs +4 -3
  122. package/index201.js +1 -1
  123. package/index201.mjs +24 -4
  124. package/index202.js +1 -1
  125. package/index202.mjs +47 -19
  126. package/index203.js +1 -1
  127. package/index203.mjs +4 -53
  128. package/index204.js +1 -1
  129. package/index204.mjs +23 -123
  130. package/index205.js +1 -1
  131. package/index205.mjs +11 -133
  132. package/index206.js +1 -1
  133. package/index206.mjs +4 -44
  134. package/index207.js +1 -1
  135. package/index207.mjs +13 -13
  136. package/index208.js +1 -1
  137. package/index208.mjs +39 -92
  138. package/index209.js +1 -1
  139. package/index209.mjs +53 -102
  140. package/index210.js +1 -1
  141. package/index210.mjs +41 -4
  142. package/index211.js +1 -1
  143. package/index211.mjs +28 -3
  144. package/index212.js +1 -1
  145. package/index212.mjs +31 -125
  146. package/index213.js +1 -1
  147. package/index213.mjs +14 -29
  148. package/index214.js +1 -1
  149. package/index214.mjs +10 -51
  150. package/index215.js +1 -1
  151. package/index215.mjs +28 -44
  152. package/index216.js +1 -1
  153. package/index216.mjs +9 -37
  154. package/index217.js +1 -1
  155. package/index217.mjs +6 -113
  156. package/index218.js +1 -1
  157. package/index218.mjs +5 -77
  158. package/index219.js +1 -1
  159. package/index219.mjs +7 -101
  160. package/index220.js +1 -1
  161. package/index220.mjs +30 -98
  162. package/index221.js +1 -1
  163. package/index221.mjs +15 -137
  164. package/index222.js +1 -1
  165. package/index222.mjs +13 -197
  166. package/index223.js +1 -1
  167. package/index223.mjs +43 -22
  168. package/index224.js +1 -1
  169. package/index224.mjs +8 -49
  170. package/index225.js +1 -1
  171. package/index225.mjs +14 -45
  172. package/index226.js +1 -1
  173. package/index226.mjs +3 -98
  174. package/index227.js +1 -1
  175. package/index227.mjs +5 -72
  176. package/index228.js +1 -1
  177. package/index228.mjs +19 -68
  178. package/index229.js +1 -1
  179. package/index229.mjs +54 -7
  180. package/index230.js +1 -1
  181. package/index230.mjs +123 -10
  182. package/index231.js +1 -1
  183. package/index231.mjs +129 -198
  184. package/index232.js +1 -1
  185. package/index232.mjs +43 -63
  186. package/index233.js +1 -1
  187. package/index233.mjs +14 -143
  188. package/index234.js +1 -1
  189. package/index234.mjs +88 -117
  190. package/index235.js +1 -1
  191. package/index235.mjs +102 -220
  192. package/index236.js +1 -1
  193. package/index236.mjs +4 -190
  194. package/index237.js +1 -1
  195. package/index237.mjs +3 -69
  196. package/index238.js +1 -1
  197. package/index238.mjs +115 -269
  198. package/index239.js +1 -1
  199. package/index239.mjs +24 -93
  200. package/index240.js +1 -1
  201. package/index240.mjs +43 -180
  202. package/index241.js +1 -1
  203. package/index241.mjs +44 -84
  204. package/index242.js +1 -1
  205. package/index242.mjs +36 -57
  206. package/index243.js +1 -1
  207. package/index243.mjs +109 -122
  208. package/index244.js +1 -1
  209. package/index244.mjs +74 -113
  210. package/index245.js +1 -1
  211. package/index245.mjs +101 -122
  212. package/index246.js +1 -1
  213. package/index246.mjs +98 -73
  214. package/index247.js +1 -1
  215. package/index247.mjs +137 -107
  216. package/index248.js +1 -1
  217. package/index248.mjs +197 -52
  218. package/index249.js +1 -1
  219. package/index249.mjs +22 -93
  220. package/index250.js +1 -1
  221. package/index250.mjs +46 -67
  222. package/index251.js +1 -1
  223. package/index251.mjs +47 -55
  224. package/index252.js +1 -1
  225. package/index252.mjs +96 -98
  226. package/index253.js +1 -5
  227. package/index253.mjs +72 -81
  228. package/index254.js +1 -1
  229. package/index254.mjs +58 -2015
  230. package/index255.js +1 -1
  231. package/index255.mjs +7 -59
  232. package/index256.js +1 -1
  233. package/index256.mjs +10 -187
  234. package/index258.js +1 -1
  235. package/index258.mjs +4 -4
  236. package/index260.js +1 -1
  237. package/index260.mjs +8 -8
  238. package/index261.js +1 -1
  239. package/index261.mjs +1 -1
  240. package/index262.js +1 -1
  241. package/index262.mjs +130 -3
  242. package/index263.js +1 -1
  243. package/index263.mjs +190 -4
  244. package/index264.js +1 -1
  245. package/index264.mjs +10 -5
  246. package/index265.js +1 -1
  247. package/index265.mjs +4 -5
  248. package/index266.js +1 -1
  249. package/index266.mjs +37 -5
  250. package/index267.js +1 -1
  251. package/index267.mjs +6 -5
  252. package/index268.js +1 -1
  253. package/index268.mjs +30 -5
  254. package/index269.js +1 -1
  255. package/index269.mjs +7 -5
  256. package/index270.js +1 -1
  257. package/index270.mjs +4 -5
  258. package/index271.js +1 -1
  259. package/index271.mjs +5 -5
  260. package/index272.js +1 -1
  261. package/index272.mjs +4 -4
  262. package/index273.js +1 -1
  263. package/index273.mjs +4 -4
  264. package/index274.js +1 -1
  265. package/index274.mjs +1 -1
  266. package/index275.js +1 -1
  267. package/index275.mjs +4 -4
  268. package/index276.js +1 -1
  269. package/index276.mjs +4 -4
  270. package/index277.js +1 -1
  271. package/index277.mjs +4 -4
  272. package/index278.js +1 -1
  273. package/index278.mjs +1 -1
  274. package/index279.js +1 -1
  275. package/index279.mjs +4 -4
  276. package/index280.js +1 -1
  277. package/index280.mjs +4 -4
  278. package/index281.js +1 -1
  279. package/index281.mjs +4 -4
  280. package/index282.js +1 -1
  281. package/index282.mjs +1 -1
  282. package/index283.js +1 -1
  283. package/index283.mjs +4 -4
  284. package/index284.js +1 -1
  285. package/index284.mjs +4 -4
  286. package/index285.js +1 -1
  287. package/index285.mjs +4 -4
  288. package/index286.js +1 -1
  289. package/index286.mjs +4 -4
  290. package/index287.js +1 -1
  291. package/index287.mjs +4 -4
  292. package/index288.js +1 -1
  293. package/index288.mjs +4 -4
  294. package/index289.js +1 -1
  295. package/index289.mjs +4 -4
  296. package/index290.js +1 -1
  297. package/index290.mjs +4 -4
  298. package/index291.js +1 -1
  299. package/index291.mjs +1 -1
  300. package/index292.js +1 -1
  301. package/index292.mjs +4 -4
  302. package/index293.js +1 -1
  303. package/index293.mjs +4 -4
  304. package/index294.js +1 -1
  305. package/index294.mjs +1 -1
  306. package/index295.js +1 -1
  307. package/index295.mjs +4 -4
  308. package/index296.js +1 -1
  309. package/index296.mjs +4 -4
  310. package/index297.js +1 -1
  311. package/index297.mjs +4 -4
  312. package/index298.js +1 -1
  313. package/index298.mjs +4 -130
  314. package/index299.js +1 -1
  315. package/index299.mjs +5 -191
  316. package/index300.js +1 -1
  317. package/index300.mjs +5 -10
  318. package/index301.js +1 -1
  319. package/index301.mjs +5 -4
  320. package/index302.js +1 -1
  321. package/index302.mjs +5 -37
  322. package/index303.js +1 -1
  323. package/index303.mjs +5 -6
  324. package/index304.js +1 -1
  325. package/index304.mjs +5 -30
  326. package/index305.js +1 -1
  327. package/index305.mjs +5 -7
  328. package/index306.js +1 -1
  329. package/index306.mjs +4 -4
  330. package/index307.js +1 -1
  331. package/index307.mjs +7 -30
  332. package/index308.js +1 -1
  333. package/index308.mjs +28 -7
  334. package/index309.js +1 -1
  335. package/index309.mjs +89 -24
  336. package/index310.js +1 -1
  337. package/index310.mjs +7 -90
  338. package/index311.js +1 -1
  339. package/index311.mjs +24 -8
  340. package/index312.js +1 -1
  341. package/index312.mjs +33 -25
  342. package/index313.js +1 -1
  343. package/index313.mjs +6 -33
  344. package/index314.js +1 -1
  345. package/index314.mjs +6 -6
  346. package/index315.js +1 -1
  347. package/index315.mjs +50 -6
  348. package/index316.js +1 -1
  349. package/index316.mjs +28 -49
  350. package/index317.js +1 -1
  351. package/index317.mjs +4 -4
  352. package/index318.js +1 -1
  353. package/index318.mjs +1 -1
  354. package/index322.js +1 -1
  355. package/index322.mjs +1 -1
  356. package/index41.js +1 -0
  357. package/index41.mjs +1 -0
  358. package/index94.js +1 -0
  359. package/index94.mjs +1 -0
  360. package/package.json +2 -2
package/index214.mjs CHANGED
@@ -1,54 +1,13 @@
1
- import { CalendarDate as f } from "./index204.mjs";
2
- import { GregorianCalendar as c, getExtendedYear as s, fromExtendedYear as g } from "./index208.mjs";
3
- const n = 1911;
4
- function i(r) {
5
- return r.era === "minguo" ? r.year + n : 1 - r.year + n;
6
- }
7
- function o(r) {
8
- let e = r - n;
9
- return e > 0 ? [
10
- "minguo",
11
- e
12
- ] : [
13
- "before_minguo",
14
- 1 - e
15
- ];
16
- }
17
- class m extends c {
18
- fromJulianDay(e) {
19
- let a = super.fromJulianDay(e), t = s(a.era, a.year), [u, $] = o(t);
20
- return new f(this, u, $, a.month, a.day);
21
- }
22
- toJulianDay(e) {
23
- return super.toJulianDay(b(e));
24
- }
25
- getEras() {
26
- return [
27
- "before_minguo",
28
- "minguo"
29
- ];
30
- }
31
- balanceDate(e) {
32
- let [a, t] = o(i(e));
33
- e.era = a, e.year = t;
34
- }
35
- isInverseEra(e) {
36
- return e.era === "before_minguo";
37
- }
38
- getDaysInMonth(e) {
39
- return super.getDaysInMonth(b(e));
40
- }
41
- getYearsInEra(e) {
42
- return e.era === "before_minguo" ? 9999 : 9999 - n;
43
- }
44
- constructor(...e) {
45
- super(...e), this.identifier = "roc";
46
- }
47
- }
48
- function b(r) {
49
- let [e, a] = g(i(r));
50
- return new f(e, a, r.month, r.day);
1
+ import { useLayoutEffect as f } from "./index200.mjs";
2
+ import { useRef as u } from "react";
3
+ function i(c, r) {
4
+ const t = u(!0), e = u(null);
5
+ f(() => (t.current = !0, () => {
6
+ t.current = !1;
7
+ }), []), f(() => {
8
+ t.current ? t.current = !1 : (!e.current || r.some((a, o) => !Object.is(a, e[o]))) && c(), e.current = r;
9
+ }, r);
51
10
  }
52
11
  export {
53
- m as TaiwanCalendar
12
+ i as useUpdateLayoutEffect
54
13
  };
package/index215.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index204.js"),u=require("./index211.js"),o=1948320,l=[0,31,62,93,124,155,186,216,246,276,306,336];class c{fromJulianDay(e){let r=e-o,a=1+Math.floor((33*r+3)/12053),i=365*(a-1)+Math.floor((8*a+21)/33),t=r-i,n=t<216?Math.floor(t/31):Math.floor((t-6)/30),s=t-l[n]+1;return new f.CalendarDate(this,a,n+1,s)}toJulianDay(e){let r=o-1+365*(e.year-1)+Math.floor((8*e.year+21)/33);return r+=l[e.month-1],r+=e.day,r}getMonthsInYear(){return 12}getDaysInMonth(e){return e.month<=6?31:e.month<=11||u.mod(25*e.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}exports.PersianCalendar=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react");function u(){return typeof window.ResizeObserver<"u"}function b(i){const{ref:e,box:s,onResize:r}=i;d.useEffect(()=>{let n=e==null?void 0:e.current;if(n)if(u()){const t=new window.ResizeObserver(o=>{o.length&&r()});return t.observe(n,{box:s}),()=>{n&&t.unobserve(n)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,e,s])}exports.useResizeObserver=b;
package/index215.mjs CHANGED
@@ -1,47 +1,31 @@
1
- import { CalendarDate as i } from "./index204.mjs";
2
- import { mod as c } from "./index211.mjs";
3
- const n = 1948320, f = [
4
- 0,
5
- 31,
6
- 62,
7
- 93,
8
- 124,
9
- 155,
10
- 186,
11
- 216,
12
- 246,
13
- 276,
14
- 306,
15
- 336
16
- // Esfand
17
- ];
18
- class u {
19
- fromJulianDay(e) {
20
- let r = e - n, t = 1 + Math.floor((33 * r + 3) / 12053), s = 365 * (t - 1) + Math.floor((8 * t + 21) / 33), a = r - s, o = a < 216 ? Math.floor(a / 31) : Math.floor((a - 6) / 30), l = a - f[o] + 1;
21
- return new i(this, t, o + 1, l);
22
- }
23
- toJulianDay(e) {
24
- let r = n - 1 + 365 * (e.year - 1) + Math.floor((8 * e.year + 21) / 33);
25
- return r += f[e.month - 1], r += e.day, r;
26
- }
27
- getMonthsInYear() {
28
- return 12;
29
- }
30
- getDaysInMonth(e) {
31
- return e.month <= 6 ? 31 : e.month <= 11 || c(25 * e.year + 11, 33) < 8 ? 30 : 29;
32
- }
33
- getEras() {
34
- return [
35
- "AP"
36
- ];
37
- }
38
- getYearsInEra() {
39
- return 9377;
40
- }
41
- constructor() {
42
- this.identifier = "persian";
43
- }
1
+ import { useEffect as d } from "react";
2
+ function f() {
3
+ return typeof window.ResizeObserver < "u";
4
+ }
5
+ function u(o) {
6
+ const { ref: e, box: s, onResize: r } = o;
7
+ d(() => {
8
+ let n = e == null ? void 0 : e.current;
9
+ if (n)
10
+ if (f()) {
11
+ const i = new window.ResizeObserver((t) => {
12
+ t.length && r();
13
+ });
14
+ return i.observe(n, {
15
+ box: s
16
+ }), () => {
17
+ n && i.unobserve(n);
18
+ };
19
+ } else
20
+ return window.addEventListener("resize", r, !1), () => {
21
+ window.removeEventListener("resize", r, !1);
22
+ };
23
+ }, [
24
+ r,
25
+ e,
26
+ s
27
+ ]);
44
28
  }
45
29
  export {
46
- u as PersianCalendar
30
+ u as useResizeObserver
47
31
  };
package/index216.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index204.js"),t=require("./index208.js"),u=78,y=80;class f extends t.GregorianCalendar{fromJulianDay(e){let i=super.fromJulianDay(e),l=i.year-u,r=e-t.gregorianToJulianDay(i.era,i.year,1,1),n;r<y?(l--,n=t.isLeapYear(i.year-1)?31:30,r+=n+155+90+10):(n=t.isLeapYear(i.year)?31:30,r-=y);let a,s;if(r<n)a=1,s=r+1;else{let o=r-n;o<155?(a=Math.floor(o/31)+2,s=o%31+1):(o-=155,a=Math.floor(o/30)+7,s=o%30+1)}return new d.CalendarDate(this,l,a,s)}toJulianDay(e){let i=e.year+u,[l,r]=t.fromExtendedYear(i),n,a;return t.isLeapYear(r)?(n=31,a=t.gregorianToJulianDay(l,r,3,21)):(n=30,a=t.gregorianToJulianDay(l,r,3,22)),e.month===1?a+e.day-1:(a+=n+Math.min(e.month-2,5)*31,e.month>=8&&(a+=(e.month-7)*30),a+=e.day-1,a)}getDaysInMonth(e){return e.month===1&&t.isLeapYear(e.year+u)||e.month>=2&&e.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...e){super(...e),this.identifier="indian"}}exports.IndianCalendar=f;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index200.js");function f(e,r){u.useLayoutEffect(()=>{if(e&&e.ref&&r)return e.ref.current=r.current,()=>{e.ref&&(e.ref.current=null)}})}exports.useSyncRef=f;
package/index216.mjs CHANGED
@@ -1,40 +1,12 @@
1
- import { CalendarDate as c } from "./index204.mjs";
2
- import { GregorianCalendar as y, gregorianToJulianDay as f, isLeapYear as s, fromExtendedYear as d } from "./index208.mjs";
3
- const $ = 78, b = 80;
4
- class p extends y {
5
- fromJulianDay(e) {
6
- let t = super.fromJulianDay(e), i = t.year - $, r = e - f(t.era, t.year, 1, 1), n;
7
- r < b ? (i--, n = s(t.year - 1) ? 31 : 30, r += n + 155 + 90 + 10) : (n = s(t.year) ? 31 : 30, r -= b);
8
- let a, l;
9
- if (r < n)
10
- a = 1, l = r + 1;
11
- else {
12
- let o = r - n;
13
- o < 155 ? (a = Math.floor(o / 31) + 2, l = o % 31 + 1) : (o -= 155, a = Math.floor(o / 30) + 7, l = o % 30 + 1);
14
- }
15
- return new c(this, i, a, l);
16
- }
17
- toJulianDay(e) {
18
- let t = e.year + $, [i, r] = d(t), n, a;
19
- return s(r) ? (n = 31, a = f(i, r, 3, 21)) : (n = 30, a = f(i, r, 3, 22)), e.month === 1 ? a + e.day - 1 : (a += n + Math.min(e.month - 2, 5) * 31, e.month >= 8 && (a += (e.month - 7) * 30), a += e.day - 1, a);
20
- }
21
- getDaysInMonth(e) {
22
- return e.month === 1 && s(e.year + $) || e.month >= 2 && e.month <= 6 ? 31 : 30;
23
- }
24
- getYearsInEra() {
25
- return 9919;
26
- }
27
- getEras() {
28
- return [
29
- "saka"
30
- ];
31
- }
32
- balanceDate() {
33
- }
34
- constructor(...e) {
35
- super(...e), this.identifier = "indian";
36
- }
1
+ import { useLayoutEffect as f } from "./index200.mjs";
2
+ function u(r, e) {
3
+ f(() => {
4
+ if (r && r.ref && e)
5
+ return r.ref.current = e.current, () => {
6
+ r.ref && (r.ref.current = null);
7
+ };
8
+ });
37
9
  }
38
10
  export {
39
- p as IndianCalendar
11
+ u as useSyncRef
40
12
  };
package/index217.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("./index204.js"),d=1948440,U=1948439,n=1300,u=1600,h=460322;function $(a,e,r,t){return t+Math.ceil(29.5*(r-1))+(e-1)*354+Math.floor((3+11*e)/30)+a-1}function p(a,e,r){let t=Math.floor((30*(r-e)+10646)/10631),C=Math.min(12,Math.ceil((r-(29+$(e,t,1,1)))/29.5)+1),l=r-$(e,t,C,1)+1;return new B.CalendarDate(a,t,C,l)}function b(a){return(14+11*a)%30<11}class Q{fromJulianDay(e){return p(this,d,e)}toJulianDay(e){return $(d,e.year,e.month,e.day)}getDaysInMonth(e){let r=29+e.month%2;return e.month===12&&b(e.year)&&r++,r}getMonthsInYear(){return 12}getDaysInYear(e){return b(e.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class w extends Q{fromJulianDay(e){return p(this,U,e)}toJulianDay(e){return $(U,e.year,e.month,e.day)}constructor(...e){super(...e),this.identifier="islamic-tbla"}}const J="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let y,s;function g(a){return h+s[a-n]}function f(a,e){let r=a-n,t=1<<11-(e-1);return y[r]&t?30:29}function m(a,e){let r=g(a);for(let t=1;t<e;t++)r+=f(a,t);return r}function D(a){return s[a+1-n]-s[a-n]}class q extends Q{fromJulianDay(e){let r=e-d,t=g(n),C=g(u);if(r<t||r>C)return super.fromJulianDay(e);{let l=n-1,i=1,o=1;for(;o>0;){l++,o=r-g(l)+1;let c=D(l);if(o===c){i=12;break}else if(o<c){let A=f(l,i);for(i=1;o>A;)o-=A,i++,A=f(l,i);break}}return new B.CalendarDate(this,l,i,r-m(l,i)+1)}}toJulianDay(e){return e.year<n||e.year>u?super.toJulianDay(e):d+m(e.year,e.month)+(e.day-1)}getDaysInMonth(e){return e.year<n||e.year>u?super.getDaysInMonth(e):f(e.year,e.month)}getDaysInYear(e){return e.year<n||e.year>u?super.getDaysInYear(e):D(e.year)}constructor(){if(super(),this.identifier="islamic-umalqura",y||(y=new Uint16Array(Uint8Array.from(atob(J),e=>e.charCodeAt(0)).buffer)),!s){s=new Uint32Array(u-n+1);let e=0;for(let r=n;r<=u;r++){s[r-n]=e;for(let t=1;t<=12;t++)e+=f(r,t)}}}}exports.IslamicCivilCalendar=Q;exports.IslamicTabularCalendar=w;exports.IslamicUmalquraCalendar=q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index218.js");function r(n,l){let e=n;for(t.isScrollable(e,l)&&(e=e.parentElement);e&&!t.isScrollable(e,l);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}exports.getScrollParent=r;
package/index217.mjs CHANGED
@@ -1,116 +1,9 @@
1
- import { CalendarDate as D } from "./index204.mjs";
2
- const g = 1948440, y = 1948439, n = 1300, f = 1600, h = 460322;
3
- function d(a, e, r, t) {
4
- return t + Math.ceil(29.5 * (r - 1)) + (e - 1) * 354 + Math.floor((3 + 11 * e) / 30) + a - 1;
5
- }
6
- function p(a, e, r) {
7
- let t = Math.floor((30 * (r - e) + 10646) / 10631), C = Math.min(12, Math.ceil((r - (29 + d(e, t, 1, 1))) / 29.5) + 1), l = r - d(e, t, C, 1) + 1;
8
- return new D(a, t, C, l);
9
- }
10
- function U(a) {
11
- return (14 + 11 * a) % 30 < 11;
12
- }
13
- class B {
14
- fromJulianDay(e) {
15
- return p(this, g, e);
16
- }
17
- toJulianDay(e) {
18
- return d(g, e.year, e.month, e.day);
19
- }
20
- getDaysInMonth(e) {
21
- let r = 29 + e.month % 2;
22
- return e.month === 12 && U(e.year) && r++, r;
23
- }
24
- getMonthsInYear() {
25
- return 12;
26
- }
27
- getDaysInYear(e) {
28
- return U(e.year) ? 355 : 354;
29
- }
30
- getYearsInEra() {
31
- return 9665;
32
- }
33
- getEras() {
34
- return [
35
- "AH"
36
- ];
37
- }
38
- constructor() {
39
- this.identifier = "islamic-civil";
40
- }
41
- }
42
- class L extends B {
43
- fromJulianDay(e) {
44
- return p(this, y, e);
45
- }
46
- toJulianDay(e) {
47
- return d(y, e.year, e.month, e.day);
48
- }
49
- constructor(...e) {
50
- super(...e), this.identifier = "islamic-tbla";
51
- }
52
- }
53
- const w = "qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";
54
- let c, s;
55
- function $(a) {
56
- return h + s[a - n];
57
- }
58
- function u(a, e) {
59
- let r = a - n, t = 1 << 11 - (e - 1);
60
- return c[r] & t ? 30 : 29;
61
- }
62
- function b(a, e) {
63
- let r = $(a);
64
- for (let t = 1; t < e; t++) r += u(a, t);
65
- return r;
66
- }
67
- function m(a) {
68
- return s[a + 1 - n] - s[a - n];
69
- }
70
- class q extends B {
71
- fromJulianDay(e) {
72
- let r = e - g, t = $(n), C = $(f);
73
- if (r < t || r > C) return super.fromJulianDay(e);
74
- {
75
- let l = n - 1, i = 1, o = 1;
76
- for (; o > 0; ) {
77
- l++, o = r - $(l) + 1;
78
- let Q = m(l);
79
- if (o === Q) {
80
- i = 12;
81
- break;
82
- } else if (o < Q) {
83
- let A = u(l, i);
84
- for (i = 1; o > A; )
85
- o -= A, i++, A = u(l, i);
86
- break;
87
- }
88
- }
89
- return new D(this, l, i, r - b(l, i) + 1);
90
- }
91
- }
92
- toJulianDay(e) {
93
- return e.year < n || e.year > f ? super.toJulianDay(e) : g + b(e.year, e.month) + (e.day - 1);
94
- }
95
- getDaysInMonth(e) {
96
- return e.year < n || e.year > f ? super.getDaysInMonth(e) : u(e.year, e.month);
97
- }
98
- getDaysInYear(e) {
99
- return e.year < n || e.year > f ? super.getDaysInYear(e) : m(e.year);
100
- }
101
- constructor() {
102
- if (super(), this.identifier = "islamic-umalqura", c || (c = new Uint16Array(Uint8Array.from(atob(w), (e) => e.charCodeAt(0)).buffer)), !s) {
103
- s = new Uint32Array(f - n + 1);
104
- let e = 0;
105
- for (let r = n; r <= f; r++) {
106
- s[r - n] = e;
107
- for (let t = 1; t <= 12; t++) e += u(r, t);
108
- }
109
- }
110
- }
1
+ import { isScrollable as l } from "./index218.mjs";
2
+ function r(n, t) {
3
+ let e = n;
4
+ for (l(e, t) && (e = e.parentElement); e && !l(e, t); ) e = e.parentElement;
5
+ return e || document.scrollingElement || document.documentElement;
111
6
  }
112
7
  export {
113
- B as IslamicCivilCalendar,
114
- L as IslamicTabularCalendar,
115
- q as IslamicUmalquraCalendar
8
+ r as getScrollParent
116
9
  };
package/index218.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./index204.js"),b=require("./index211.js"),y=347997,h=1080,M=24*h,T=29,w=12*h+793,D=T*M+w;function n(e){return b.mod(e*7+1,19)<7}function i(e){let r=Math.floor((235*e-234)/19),t=12084+13753*r,f=r*29+Math.floor(t/25920);return b.mod(3*(f+1),7)<3&&(f+=1),f}function O(e){let r=i(e-1),t=i(e);return i(e+1)-t===356?2:t-r===382?1:0}function c(e){return i(e)+O(e)}function g(e){return c(e+1)-c(e)}function A(e){let r=g(e);switch(r>380&&(r-=30),r){case 353:return 0;case 354:return 1;case 355:return 2}}function u(e,r){if(r>=6&&!n(e)&&r++,r===4||r===7||r===9||r===11||r===13)return 29;let t=A(e);return r===2?t===2?30:29:r===3?t===0?29:30:r===6?n(e)?30:0:30}class H{fromJulianDay(r){let t=r-y,f=t*M/D,a=Math.floor((19*f+234)/235)+1,s=c(a),l=Math.floor(t-s);for(;l<1;)a--,s=c(a),l=Math.floor(t-s);let $=1,o=0;for(;o<l;)o+=u(a,$),$++;$--,o-=u(a,$);let Y=l-o;return new v.CalendarDate(this,a,$,Y)}toJulianDay(r){let t=c(r.year);for(let f=1;f<r.month;f++)t+=u(r.year,f);return t+r.day+y}getDaysInMonth(r){return u(r.year,r.month)}getMonthsInYear(r){return n(r.year)?13:12}getDaysInYear(r){return g(r.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(r,t){t.year!==r.year&&(n(t.year)&&!n(r.year)&&t.month>6?r.month--:!n(t.year)&&n(r.year)&&t.month>6&&r.month++)}constructor(){this.identifier="hebrew"}}exports.HebrewCalendar=H;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(e,r){if(!e)return!1;let l=window.getComputedStyle(e),t=/(auto|scroll)/.test(l.overflow+l.overflowX+l.overflowY);return t&&r&&(t=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),t}exports.isScrollable=i;
package/index218.mjs CHANGED
@@ -1,80 +1,8 @@
1
- import { CalendarDate as v } from "./index204.mjs";
2
- import { mod as y } from "./index211.mjs";
3
- const b = 347997, h = 1080, M = 24 * h, T = 29, m = 12 * h + 793, w = T * M + m;
4
- function a(e) {
5
- return y(e * 7 + 1, 19) < 7;
6
- }
7
- function i(e) {
8
- let r = Math.floor((235 * e - 234) / 19), t = 12084 + 13753 * r, f = r * 29 + Math.floor(t / 25920);
9
- return y(3 * (f + 1), 7) < 3 && (f += 1), f;
10
- }
11
- function p(e) {
12
- let r = i(e - 1), t = i(e);
13
- return i(e + 1) - t === 356 ? 2 : t - r === 382 ? 1 : 0;
14
- }
15
- function c(e) {
16
- return i(e) + p(e);
17
- }
18
- function Y(e) {
19
- return c(e + 1) - c(e);
20
- }
21
- function A(e) {
22
- let r = Y(e);
23
- switch (r > 380 && (r -= 30), r) {
24
- case 353:
25
- return 0;
26
- case 354:
27
- return 1;
28
- case 355:
29
- return 2;
30
- }
31
- }
32
- function s(e, r) {
33
- if (r >= 6 && !a(e) && r++, r === 4 || r === 7 || r === 9 || r === 11 || r === 13) return 29;
34
- let t = A(e);
35
- return r === 2 ? t === 2 ? 30 : 29 : r === 3 ? t === 0 ? 29 : 30 : r === 6 ? a(e) ? 30 : 0 : 30;
36
- }
37
- class O {
38
- fromJulianDay(r) {
39
- let t = r - b, f = t * M / w, n = Math.floor((19 * f + 234) / 235) + 1, u = c(n), o = Math.floor(t - u);
40
- for (; o < 1; )
41
- n--, u = c(n), o = Math.floor(t - u);
42
- let $ = 1, l = 0;
43
- for (; l < o; )
44
- l += s(n, $), $++;
45
- $--, l -= s(n, $);
46
- let g = o - l;
47
- return new v(this, n, $, g);
48
- }
49
- toJulianDay(r) {
50
- let t = c(r.year);
51
- for (let f = 1; f < r.month; f++) t += s(r.year, f);
52
- return t + r.day + b;
53
- }
54
- getDaysInMonth(r) {
55
- return s(r.year, r.month);
56
- }
57
- getMonthsInYear(r) {
58
- return a(r.year) ? 13 : 12;
59
- }
60
- getDaysInYear(r) {
61
- return Y(r.year);
62
- }
63
- getYearsInEra() {
64
- return 9999;
65
- }
66
- getEras() {
67
- return [
68
- "AM"
69
- ];
70
- }
71
- balanceYearMonth(r, t) {
72
- t.year !== r.year && (a(t.year) && !a(r.year) && t.month > 6 ? r.month-- : !a(t.year) && a(r.year) && t.month > 6 && r.month++);
73
- }
74
- constructor() {
75
- this.identifier = "hebrew";
76
- }
1
+ function c(l, r) {
2
+ if (!l) return !1;
3
+ let t = window.getComputedStyle(l), e = /(auto|scroll)/.test(t.overflow + t.overflowX + t.overflowY);
4
+ return e && r && (e = l.scrollHeight !== l.clientHeight || l.scrollWidth !== l.clientWidth), e;
77
5
  }
78
6
  export {
79
- O as HebrewCalendar
7
+ c as isScrollable
80
8
  };
package/index219.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index204.js"),f=1723856,y=1824665,u=5500;function i(a,r,e,t){return a+365*r+Math.floor(r/4)+30*(e-1)+t-1}function s(a,r){let e=Math.floor(4*(r-a)/1461),t=1+Math.floor((r-i(a,e,1,1))/30),n=r+1-i(a,e,t,1);return[e,t,n]}function $(a){return Math.floor(a%4/3)}function E(a,r){return r%13!==0?30:$(a)+5}class l{fromJulianDay(r){let[e,t,n]=s(f,r),o="AM";return e<=0&&(o="AA",e+=u),new c.CalendarDate(this,o,e,t,n)}toJulianDay(r){let e=r.year;return r.era==="AA"&&(e-=u),i(f,e,r.month,r.day)}getDaysInMonth(r){return E(r.year,r.month)}getMonthsInYear(){return 13}getDaysInYear(r){return 365+$(r.year)}getYearsInEra(r){return r.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class b extends l{fromJulianDay(r){let[e,t,n]=s(f,r);return e+=u,new c.CalendarDate(this,"AA",e,t,n)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...r){super(...r),this.identifier="ethioaa"}}class C extends l{fromJulianDay(r){let[e,t,n]=s(y,r),o="CE";return e<=0&&(o="BCE",e=1-e),new c.CalendarDate(this,o,e,t,n)}toJulianDay(r){let e=r.year;return r.era==="BCE"&&(e=1-e),i(y,e,r.month,r.day)}getDaysInMonth(r){let e=r.year;return r.era==="BCE"&&(e=1-e),E(e,r.month)}isInverseEra(r){return r.era==="BCE"}balanceDate(r){r.year<=0&&(r.era=r.era==="BCE"?"CE":"BCE",r.year=1-r.year)}getEras(){return["BCE","CE"]}getYearsInEra(r){return r.era==="BCE"?9999:9715}constructor(...r){super(...r),this.identifier="coptic"}}exports.CopticCalendar=C;exports.EthiopicAmeteAlemCalendar=b;exports.EthiopicCalendar=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index218.js");function r(e,c){const t=[];for(;e&&e!==document.documentElement;)l.isScrollable(e,c)&&t.push(e),e=e.parentElement;return t}exports.getScrollParents=r;
package/index219.mjs CHANGED
@@ -1,104 +1,10 @@
1
- import { CalendarDate as s } from "./index204.mjs";
2
- const i = 1723856, $ = 1824665, c = 5500;
3
- function f(a, r, e, t) {
4
- return a + 365 * r + Math.floor(r / 4) + 30 * (e - 1) + t - 1;
5
- }
6
- function u(a, r) {
7
- let e = Math.floor(4 * (r - a) / 1461), t = 1 + Math.floor((r - f(a, e, 1, 1)) / 30), n = r + 1 - f(a, e, t, 1);
8
- return [
9
- e,
10
- t,
11
- n
12
- ];
13
- }
14
- function l(a) {
15
- return Math.floor(a % 4 / 3);
16
- }
17
- function y(a, r) {
18
- return r % 13 !== 0 ? 30 : l(a) + 5;
19
- }
20
- class b {
21
- fromJulianDay(r) {
22
- let [e, t, n] = u(i, r), o = "AM";
23
- return e <= 0 && (o = "AA", e += c), new s(this, o, e, t, n);
24
- }
25
- toJulianDay(r) {
26
- let e = r.year;
27
- return r.era === "AA" && (e -= c), f(i, e, r.month, r.day);
28
- }
29
- getDaysInMonth(r) {
30
- return y(r.year, r.month);
31
- }
32
- getMonthsInYear() {
33
- return 13;
34
- }
35
- getDaysInYear(r) {
36
- return 365 + l(r.year);
37
- }
38
- getYearsInEra(r) {
39
- return r.era === "AA" ? 9999 : 9991;
40
- }
41
- getEras() {
42
- return [
43
- "AA",
44
- "AM"
45
- ];
46
- }
47
- constructor() {
48
- this.identifier = "ethiopic";
49
- }
50
- }
51
- class h extends b {
52
- fromJulianDay(r) {
53
- let [e, t, n] = u(i, r);
54
- return e += c, new s(this, "AA", e, t, n);
55
- }
56
- getEras() {
57
- return [
58
- "AA"
59
- ];
60
- }
61
- getYearsInEra() {
62
- return 9999;
63
- }
64
- constructor(...r) {
65
- super(...r), this.identifier = "ethioaa";
66
- }
67
- }
68
- class C extends b {
69
- fromJulianDay(r) {
70
- let [e, t, n] = u($, r), o = "CE";
71
- return e <= 0 && (o = "BCE", e = 1 - e), new s(this, o, e, t, n);
72
- }
73
- toJulianDay(r) {
74
- let e = r.year;
75
- return r.era === "BCE" && (e = 1 - e), f($, e, r.month, r.day);
76
- }
77
- getDaysInMonth(r) {
78
- let e = r.year;
79
- return r.era === "BCE" && (e = 1 - e), y(e, r.month);
80
- }
81
- isInverseEra(r) {
82
- return r.era === "BCE";
83
- }
84
- balanceDate(r) {
85
- r.year <= 0 && (r.era = r.era === "BCE" ? "CE" : "BCE", r.year = 1 - r.year);
86
- }
87
- getEras() {
88
- return [
89
- "BCE",
90
- "CE"
91
- ];
92
- }
93
- getYearsInEra(r) {
94
- return r.era === "BCE" ? 9999 : 9715;
95
- }
96
- constructor(...r) {
97
- super(...r), this.identifier = "coptic";
98
- }
1
+ import { isScrollable as r } from "./index218.mjs";
2
+ function s(e, t) {
3
+ const c = [];
4
+ for (; e && e !== document.documentElement; )
5
+ r(e, t) && c.push(e), e = e.parentElement;
6
+ return c;
99
7
  }
100
8
  export {
101
- C as CopticCalendar,
102
- h as EthiopicAmeteAlemCalendar,
103
- b as EthiopicCalendar
9
+ s as getScrollParents
104
10
  };
package/index220.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};exports.weekStartData=A;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index200.js"),f=require("react");let l=0;const r=new Map;function i(t){let[u,a]=f.useState();return o.useLayoutEffect(()=>{if(!t)return;let e=r.get(t);if(e)a(e.element.id);else{let d=`react-aria-description-${l++}`;a(d);let n=document.createElement("div");n.id=d,n.style.display="none",n.textContent=t,document.body.appendChild(n),e={refCount:0,element:n},r.set(t,e)}return e.refCount++,()=>{e&&--e.refCount===0&&(e.element.remove(),r.delete(t))}},[t]),{"aria-describedby":t?u:void 0}}exports.useDescription=i;