@rpcbase/ui 0.247.0 → 0.248.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 (534) hide show
  1. package/dist/components/Notifications/NotificationsDrawer.d.ts.map +1 -1
  2. package/dist/index105.js +36 -36
  3. package/dist/index117.js +6 -6
  4. package/dist/index120.js +10 -10
  5. package/dist/index122.js +2 -2
  6. package/dist/index123.js +3 -3
  7. package/dist/index124.js +1 -1
  8. package/dist/index126.js +2 -2
  9. package/dist/index128.js +2 -2
  10. package/dist/index150.js +3 -3
  11. package/dist/index156.js +1 -1
  12. package/dist/index16.js +157 -157
  13. package/dist/index16.js.map +1 -1
  14. package/dist/index163.js +2 -2
  15. package/dist/index164.js +7 -7
  16. package/dist/index167.js +4 -4
  17. package/dist/index169.js +1 -1
  18. package/dist/index171.js +14 -58
  19. package/dist/index171.js.map +1 -1
  20. package/dist/index172.js +68 -8
  21. package/dist/index172.js.map +1 -1
  22. package/dist/index173.js +37 -87
  23. package/dist/index173.js.map +1 -1
  24. package/dist/index174.js +13 -19
  25. package/dist/index174.js.map +1 -1
  26. package/dist/index175.js +23 -16
  27. package/dist/index175.js.map +1 -1
  28. package/dist/index176.js +111 -5
  29. package/dist/index176.js.map +1 -1
  30. package/dist/index177.js +13 -6
  31. package/dist/index177.js.map +1 -1
  32. package/dist/index178.js +4 -6
  33. package/dist/index178.js.map +1 -1
  34. package/dist/index179.js +4 -5
  35. package/dist/index179.js.map +1 -1
  36. package/dist/index180.js +5 -7
  37. package/dist/index180.js.map +1 -1
  38. package/dist/index181.js +11 -16
  39. package/dist/index181.js.map +1 -1
  40. package/dist/index182.js +19 -4
  41. package/dist/index182.js.map +1 -1
  42. package/dist/index183.js +11 -5
  43. package/dist/index183.js.map +1 -1
  44. package/dist/index184.js +176 -12
  45. package/dist/index184.js.map +1 -1
  46. package/dist/index185.js +279 -9
  47. package/dist/index185.js.map +1 -1
  48. package/dist/index186.js +4 -13
  49. package/dist/index186.js.map +1 -1
  50. package/dist/index187.js +28 -14
  51. package/dist/index187.js.map +1 -1
  52. package/dist/index188.js +126 -4
  53. package/dist/index188.js.map +1 -1
  54. package/dist/index189.js +63 -5
  55. package/dist/index189.js.map +1 -1
  56. package/dist/index190.js +8 -6
  57. package/dist/index190.js.map +1 -1
  58. package/dist/index191.js +16 -6
  59. package/dist/index191.js.map +1 -1
  60. package/dist/index192.js +29 -53
  61. package/dist/index192.js.map +1 -1
  62. package/dist/index193.js +69 -8
  63. package/dist/index193.js.map +1 -1
  64. package/dist/index194.js +58 -4
  65. package/dist/index194.js.map +1 -1
  66. package/dist/index195.js +8 -4
  67. package/dist/index195.js.map +1 -1
  68. package/dist/index196.js +87 -8
  69. package/dist/index196.js.map +1 -1
  70. package/dist/index197.js +19 -4
  71. package/dist/index197.js.map +1 -1
  72. package/dist/index198.js +16 -4
  73. package/dist/index198.js.map +1 -1
  74. package/dist/index199.js +5 -3
  75. package/dist/index199.js.map +1 -1
  76. package/dist/index200.js +5 -10
  77. package/dist/index200.js.map +1 -1
  78. package/dist/index201.js +6 -9
  79. package/dist/index201.js.map +1 -1
  80. package/dist/index202.js +4 -9
  81. package/dist/index202.js.map +1 -1
  82. package/dist/index203.js +6 -10
  83. package/dist/index203.js.map +1 -1
  84. package/dist/index204.js +16 -10
  85. package/dist/index204.js.map +1 -1
  86. package/dist/index205.js +4 -9
  87. package/dist/index205.js.map +1 -1
  88. package/dist/index206.js +4 -6
  89. package/dist/index206.js.map +1 -1
  90. package/dist/index207.js +12 -5
  91. package/dist/index207.js.map +1 -1
  92. package/dist/index208.js +9 -4
  93. package/dist/index208.js.map +1 -1
  94. package/dist/index209.js +13 -5
  95. package/dist/index209.js.map +1 -1
  96. package/dist/index210.js +13 -6
  97. package/dist/index210.js.map +1 -1
  98. package/dist/index211.js +4 -5
  99. package/dist/index211.js.map +1 -1
  100. package/dist/index212.js +5 -16
  101. package/dist/index212.js.map +1 -1
  102. package/dist/index213.js +6 -7
  103. package/dist/index213.js.map +1 -1
  104. package/dist/index214.js +5 -10
  105. package/dist/index214.js.map +1 -1
  106. package/dist/index215.js +54 -10
  107. package/dist/index215.js.map +1 -1
  108. package/dist/index216.js +8 -21
  109. package/dist/index216.js.map +1 -1
  110. package/dist/index217.js +4 -8
  111. package/dist/index217.js.map +1 -1
  112. package/dist/index218.js +4 -9
  113. package/dist/index218.js.map +1 -1
  114. package/dist/index219.js +8 -9
  115. package/dist/index219.js.map +1 -1
  116. package/dist/index220.js +4 -4
  117. package/dist/index220.js.map +1 -1
  118. package/dist/index221.js +4 -5
  119. package/dist/index221.js.map +1 -1
  120. package/dist/index222.js +3 -16
  121. package/dist/index222.js.map +1 -1
  122. package/dist/index223.js +10 -9
  123. package/dist/index223.js.map +1 -1
  124. package/dist/index224.js +9 -18
  125. package/dist/index224.js.map +1 -1
  126. package/dist/index225.js +9 -20
  127. package/dist/index225.js.map +1 -1
  128. package/dist/index226.js +10 -12
  129. package/dist/index226.js.map +1 -1
  130. package/dist/index227.js +10 -29
  131. package/dist/index227.js.map +1 -1
  132. package/dist/index228.js +9 -12
  133. package/dist/index228.js.map +1 -1
  134. package/dist/index229.js +6 -25
  135. package/dist/index229.js.map +1 -1
  136. package/dist/index230.js +5 -5
  137. package/dist/index230.js.map +1 -1
  138. package/dist/index231.js +4 -14
  139. package/dist/index231.js.map +1 -1
  140. package/dist/index232.js +5 -68
  141. package/dist/index232.js.map +1 -1
  142. package/dist/index233.js +7 -38
  143. package/dist/index233.js.map +1 -1
  144. package/dist/index234.js +6 -14
  145. package/dist/index234.js.map +1 -1
  146. package/dist/index235.js +16 -23
  147. package/dist/index235.js.map +1 -1
  148. package/dist/index236.js +7 -111
  149. package/dist/index236.js.map +1 -1
  150. package/dist/index237.js +11 -13
  151. package/dist/index237.js.map +1 -1
  152. package/dist/index238.js +10 -4
  153. package/dist/index238.js.map +1 -1
  154. package/dist/index239.js +22 -4
  155. package/dist/index239.js.map +1 -1
  156. package/dist/index240.js +9 -5
  157. package/dist/index240.js.map +1 -1
  158. package/dist/index241.js +9 -11
  159. package/dist/index241.js.map +1 -1
  160. package/dist/index242.js +9 -19
  161. package/dist/index242.js.map +1 -1
  162. package/dist/index243.js +5 -11
  163. package/dist/index243.js.map +1 -1
  164. package/dist/index244.js +5 -176
  165. package/dist/index244.js.map +1 -1
  166. package/dist/index245.js +15 -278
  167. package/dist/index245.js.map +1 -1
  168. package/dist/index246.js +9 -4
  169. package/dist/index246.js.map +1 -1
  170. package/dist/index247.js +19 -28
  171. package/dist/index247.js.map +1 -1
  172. package/dist/index248.js +18 -124
  173. package/dist/index248.js.map +1 -1
  174. package/dist/index249.js +12 -63
  175. package/dist/index249.js.map +1 -1
  176. package/dist/index250.js +29 -8
  177. package/dist/index250.js.map +1 -1
  178. package/dist/index251.js +12 -15
  179. package/dist/index251.js.map +1 -1
  180. package/dist/index252.js +25 -30
  181. package/dist/index252.js.map +1 -1
  182. package/dist/index253.js +5 -69
  183. package/dist/index253.js.map +1 -1
  184. package/dist/index254.js +20 -155
  185. package/dist/index254.js.map +1 -1
  186. package/dist/index255.js +65 -31
  187. package/dist/index255.js.map +1 -1
  188. package/dist/index256.js +6 -11
  189. package/dist/index256.js.map +1 -1
  190. package/dist/index257.js +5 -49
  191. package/dist/index257.js.map +1 -1
  192. package/dist/index258.js +11 -9
  193. package/dist/index258.js.map +1 -1
  194. package/dist/index259.js +3 -11
  195. package/dist/index259.js.map +1 -1
  196. package/dist/index260.js +48 -41
  197. package/dist/index260.js.map +1 -1
  198. package/dist/index261.js +4 -98
  199. package/dist/index261.js.map +1 -1
  200. package/dist/index262.js +27 -84
  201. package/dist/index262.js.map +1 -1
  202. package/dist/index263.js +14 -103
  203. package/dist/index263.js.map +1 -1
  204. package/dist/index264.js +5 -52
  205. package/dist/index264.js.map +1 -1
  206. package/dist/index265.js +21 -11
  207. package/dist/index265.js.map +1 -1
  208. package/dist/index266.js +53 -4
  209. package/dist/index266.js.map +1 -1
  210. package/dist/index267.js +20 -37
  211. package/dist/index267.js.map +1 -1
  212. package/dist/index268.js +41 -8
  213. package/dist/index268.js.map +1 -1
  214. package/dist/index269.js +39 -3
  215. package/dist/index269.js.map +1 -1
  216. package/dist/index270.js +46 -10
  217. package/dist/index270.js.map +1 -1
  218. package/dist/index271.js +18 -133
  219. package/dist/index271.js.map +1 -1
  220. package/dist/index272.js +69 -16
  221. package/dist/index272.js.map +1 -1
  222. package/dist/index273.js +17 -15
  223. package/dist/index273.js.map +1 -1
  224. package/dist/index274.js +3 -36
  225. package/dist/index274.js.map +1 -1
  226. package/dist/index275.js +11 -20
  227. package/dist/index275.js.map +1 -1
  228. package/dist/index276.js +13 -8
  229. package/dist/index276.js.map +1 -1
  230. package/dist/index277.js +18 -24
  231. package/dist/index277.js.map +1 -1
  232. package/dist/index278.js +35 -27
  233. package/dist/index278.js.map +1 -1
  234. package/dist/index279.js +239 -16
  235. package/dist/index279.js.map +1 -1
  236. package/dist/index280.js +253 -20
  237. package/dist/index280.js.map +1 -1
  238. package/dist/index281.js +66 -64
  239. package/dist/index281.js.map +1 -1
  240. package/dist/index282.js +99 -6
  241. package/dist/index282.js.map +1 -1
  242. package/dist/index283.js +83 -5
  243. package/dist/index283.js.map +1 -1
  244. package/dist/index284.js +3 -11
  245. package/dist/index284.js.map +1 -1
  246. package/dist/index285.js +29 -3
  247. package/dist/index285.js.map +1 -1
  248. package/dist/index286.js +16 -50
  249. package/dist/index286.js.map +1 -1
  250. package/dist/index287.js +35 -4
  251. package/dist/index287.js.map +1 -1
  252. package/dist/index288.js +16 -28
  253. package/dist/index288.js.map +1 -1
  254. package/dist/index289.js +3 -16
  255. package/dist/index289.js.map +1 -1
  256. package/dist/index290.js +26 -5
  257. package/dist/index290.js.map +1 -1
  258. package/dist/index291.js +27 -20
  259. package/dist/index291.js.map +1 -1
  260. package/dist/index292.js +4 -54
  261. package/dist/index292.js.map +1 -1
  262. package/dist/index293.js +76 -18
  263. package/dist/index293.js.map +1 -1
  264. package/dist/index294.js +268 -37
  265. package/dist/index294.js.map +1 -1
  266. package/dist/index295.js +11 -39
  267. package/dist/index295.js.map +1 -1
  268. package/dist/index296.js +10 -45
  269. package/dist/index296.js.map +1 -1
  270. package/dist/index297.js +25 -20
  271. package/dist/index297.js.map +1 -1
  272. package/dist/index298.js +15 -69
  273. package/dist/index298.js.map +1 -1
  274. package/dist/index299.js +122 -14
  275. package/dist/index299.js.map +1 -1
  276. package/dist/index300.js +5 -3
  277. package/dist/index300.js.map +1 -1
  278. package/dist/index301.js +65 -11
  279. package/dist/index301.js.map +1 -1
  280. package/dist/index302.js +14 -14
  281. package/dist/index302.js.map +1 -1
  282. package/dist/index303.js +7 -18
  283. package/dist/index303.js.map +1 -1
  284. package/dist/index304.js +5 -36
  285. package/dist/index304.js.map +1 -1
  286. package/dist/index305.js +3 -239
  287. package/dist/index305.js.map +1 -1
  288. package/dist/index306.js +10 -252
  289. package/dist/index306.js.map +1 -1
  290. package/dist/index307.js +7 -68
  291. package/dist/index307.js.map +1 -1
  292. package/dist/index308.js +128 -94
  293. package/dist/index308.js.map +1 -1
  294. package/dist/index309.js +391 -75
  295. package/dist/index309.js.map +1 -1
  296. package/dist/index310.js +5 -4
  297. package/dist/index310.js.map +1 -1
  298. package/dist/index311.js +51 -28
  299. package/dist/index311.js.map +1 -1
  300. package/dist/index312.js +10 -15
  301. package/dist/index312.js.map +1 -1
  302. package/dist/index313.js +28 -35
  303. package/dist/index313.js.map +1 -1
  304. package/dist/index314.js +11 -17
  305. package/dist/index314.js.map +1 -1
  306. package/dist/index315.js +154 -3
  307. package/dist/index315.js.map +1 -1
  308. package/dist/index316.js +31 -25
  309. package/dist/index316.js.map +1 -1
  310. package/dist/index317.js +11 -28
  311. package/dist/index317.js.map +1 -1
  312. package/dist/index318.js +50 -4
  313. package/dist/index318.js.map +1 -1
  314. package/dist/index319.js +9 -78
  315. package/dist/index319.js.map +1 -1
  316. package/dist/index320.js +10 -271
  317. package/dist/index320.js.map +1 -1
  318. package/dist/index321.js +43 -11
  319. package/dist/index321.js.map +1 -1
  320. package/dist/index322.js +97 -10
  321. package/dist/index322.js.map +1 -1
  322. package/dist/index323.js +86 -25
  323. package/dist/index323.js.map +1 -1
  324. package/dist/index324.js +104 -15
  325. package/dist/index324.js.map +1 -1
  326. package/dist/index325.js +50 -123
  327. package/dist/index325.js.map +1 -1
  328. package/dist/index326.js +11 -5
  329. package/dist/index326.js.map +1 -1
  330. package/dist/index327.js +4 -65
  331. package/dist/index327.js.map +1 -1
  332. package/dist/index328.js +37 -13
  333. package/dist/index328.js.map +1 -1
  334. package/dist/index329.js +8 -7
  335. package/dist/index329.js.map +1 -1
  336. package/dist/index330.js +135 -5
  337. package/dist/index330.js.map +1 -1
  338. package/dist/index331.js +17 -3
  339. package/dist/index331.js.map +1 -1
  340. package/dist/index332.js +15 -10
  341. package/dist/index332.js.map +1 -1
  342. package/dist/index333.js +3 -7
  343. package/dist/index333.js.map +1 -1
  344. package/dist/index334.js +32 -129
  345. package/dist/index334.js.map +1 -1
  346. package/dist/index335.js +18 -397
  347. package/dist/index335.js.map +1 -1
  348. package/dist/index336.js +10 -5
  349. package/dist/index336.js.map +1 -1
  350. package/dist/index337.js +8 -52
  351. package/dist/index337.js.map +1 -1
  352. package/dist/index338.js +8 -11
  353. package/dist/index338.js.map +1 -1
  354. package/dist/index339.js +11 -27
  355. package/dist/index339.js.map +1 -1
  356. package/dist/index34.js +2 -2
  357. package/dist/index340.js +8 -11
  358. package/dist/index340.js.map +1 -1
  359. package/dist/index341.js +13 -4
  360. package/dist/index341.js.map +1 -1
  361. package/dist/index342.js +4 -18
  362. package/dist/index342.js.map +1 -1
  363. package/dist/index343.js +3 -12
  364. package/dist/index343.js.map +1 -1
  365. package/dist/index344.js +16 -7
  366. package/dist/index344.js.map +1 -1
  367. package/dist/index345.js +22 -9
  368. package/dist/index345.js.map +1 -1
  369. package/dist/index346.js +27 -7
  370. package/dist/index346.js.map +1 -1
  371. package/dist/index347.js +14 -11
  372. package/dist/index347.js.map +1 -1
  373. package/dist/index348.js +51 -3
  374. package/dist/index348.js.map +1 -1
  375. package/dist/index349.js +61 -3
  376. package/dist/index349.js.map +1 -1
  377. package/dist/index35.js +5 -5
  378. package/dist/index350.js +65 -16
  379. package/dist/index350.js.map +1 -1
  380. package/dist/index352.js +8 -51
  381. package/dist/index352.js.map +1 -1
  382. package/dist/index353.js +5 -62
  383. package/dist/index353.js.map +1 -1
  384. package/dist/index354.js +11 -66
  385. package/dist/index354.js.map +1 -1
  386. package/dist/index355.js +21 -8
  387. package/dist/index355.js.map +1 -1
  388. package/dist/index356.js +17 -5
  389. package/dist/index356.js.map +1 -1
  390. package/dist/index357.js +8 -12
  391. package/dist/index357.js.map +1 -1
  392. package/dist/index358.js +144 -21
  393. package/dist/index358.js.map +1 -1
  394. package/dist/index359.js +77 -14
  395. package/dist/index359.js.map +1 -1
  396. package/dist/index36.js +11 -11
  397. package/dist/index360.js +62 -8
  398. package/dist/index360.js.map +1 -1
  399. package/dist/index361.js +15 -145
  400. package/dist/index361.js.map +1 -1
  401. package/dist/index362.js +4 -79
  402. package/dist/index362.js.map +1 -1
  403. package/dist/index363.js +17 -61
  404. package/dist/index363.js.map +1 -1
  405. package/dist/index364.js +13 -15
  406. package/dist/index364.js.map +1 -1
  407. package/dist/index365.js +4 -5
  408. package/dist/index365.js.map +1 -1
  409. package/dist/index366.js +10 -19
  410. package/dist/index366.js.map +1 -1
  411. package/dist/index367.js +6 -4
  412. package/dist/index367.js.map +1 -1
  413. package/dist/index368.js +3 -6
  414. package/dist/index368.js.map +1 -1
  415. package/dist/index369.js +21 -3
  416. package/dist/index369.js.map +1 -1
  417. package/dist/index37.js +3 -3
  418. package/dist/index370.js +44 -11
  419. package/dist/index370.js.map +1 -1
  420. package/dist/index371.js +17 -20
  421. package/dist/index371.js.map +1 -1
  422. package/dist/index372.js +5 -45
  423. package/dist/index372.js.map +1 -1
  424. package/dist/index373.js +198 -15
  425. package/dist/index373.js.map +1 -1
  426. package/dist/index374.js +74 -5
  427. package/dist/index374.js.map +1 -1
  428. package/dist/index375.js +115 -192
  429. package/dist/index375.js.map +1 -1
  430. package/dist/index376.js +4 -73
  431. package/dist/index376.js.map +1 -1
  432. package/dist/index377.js +19 -122
  433. package/dist/index377.js.map +1 -1
  434. package/dist/index378.js +8 -4
  435. package/dist/index378.js.map +1 -1
  436. package/dist/index379.js +27 -5
  437. package/dist/index379.js.map +1 -1
  438. package/dist/index38.js +4 -4
  439. package/dist/index380.js +138 -4
  440. package/dist/index380.js.map +1 -1
  441. package/dist/index381.js +12 -15
  442. package/dist/index381.js.map +1 -1
  443. package/dist/index382.js +46 -8
  444. package/dist/index382.js.map +1 -1
  445. package/dist/index383.js +3 -5
  446. package/dist/index383.js.map +1 -1
  447. package/dist/index384.js +21 -4
  448. package/dist/index384.js.map +1 -1
  449. package/dist/index385.js +72 -542
  450. package/dist/index385.js.map +1 -1
  451. package/dist/index386.js +11 -46
  452. package/dist/index386.js.map +1 -1
  453. package/dist/index387.js +3 -17
  454. package/dist/index387.js.map +1 -1
  455. package/dist/index388.js +71 -5
  456. package/dist/index388.js.map +1 -1
  457. package/dist/index389.js +35 -7
  458. package/dist/index389.js.map +1 -1
  459. package/dist/index39.js +5 -5
  460. package/dist/index390.js +7 -7
  461. package/dist/index390.js.map +1 -1
  462. package/dist/index391.js +15 -7
  463. package/dist/index391.js.map +1 -1
  464. package/dist/index392.js +4 -11
  465. package/dist/index392.js.map +1 -1
  466. package/dist/index393.js +4 -8
  467. package/dist/index393.js.map +1 -1
  468. package/dist/index394.js +4 -13
  469. package/dist/index394.js.map +1 -1
  470. package/dist/index395.js +15 -8
  471. package/dist/index395.js.map +1 -1
  472. package/dist/index396.js +9 -27
  473. package/dist/index396.js.map +1 -1
  474. package/dist/index397.js +5 -137
  475. package/dist/index397.js.map +1 -1
  476. package/dist/index398.js +4 -12
  477. package/dist/index398.js.map +1 -1
  478. package/dist/index399.js +543 -44
  479. package/dist/index399.js.map +1 -1
  480. package/dist/index40.js +3 -3
  481. package/dist/index400.js +47 -4
  482. package/dist/index400.js.map +1 -1
  483. package/dist/index401.js +17 -21
  484. package/dist/index401.js.map +1 -1
  485. package/dist/index402.js +5 -75
  486. package/dist/index402.js.map +1 -1
  487. package/dist/index403.js +8 -12
  488. package/dist/index403.js.map +1 -1
  489. package/dist/index404.js +6 -3
  490. package/dist/index404.js.map +1 -1
  491. package/dist/index405.js +7 -71
  492. package/dist/index405.js.map +1 -1
  493. package/dist/index406.js +11 -35
  494. package/dist/index406.js.map +1 -1
  495. package/dist/index407.js +9 -7
  496. package/dist/index407.js.map +1 -1
  497. package/dist/index408.js +12 -15
  498. package/dist/index408.js.map +1 -1
  499. package/dist/index41.js +10 -10
  500. package/dist/index411.js +14 -4
  501. package/dist/index411.js.map +1 -1
  502. package/dist/index412.js +3 -56
  503. package/dist/index412.js.map +1 -1
  504. package/dist/index413.js +490 -66
  505. package/dist/index413.js.map +1 -1
  506. package/dist/index414.js +5 -31
  507. package/dist/index414.js.map +1 -1
  508. package/dist/index415.js +56 -9
  509. package/dist/index415.js.map +1 -1
  510. package/dist/index416.js +61 -146
  511. package/dist/index416.js.map +1 -1
  512. package/dist/index417.js +26 -103
  513. package/dist/index417.js.map +1 -1
  514. package/dist/index418.js +9 -15
  515. package/dist/index418.js.map +1 -1
  516. package/dist/index419.js +153 -3
  517. package/dist/index419.js.map +1 -1
  518. package/dist/index420.js +106 -490
  519. package/dist/index420.js.map +1 -1
  520. package/dist/index49.js +36 -36
  521. package/dist/index50.js +29 -29
  522. package/dist/index51.js +2 -2
  523. package/dist/index52.js +12 -12
  524. package/dist/index53.js +4 -4
  525. package/dist/index54.js +1 -1
  526. package/dist/index55.js +21 -21
  527. package/dist/index56.js +5 -5
  528. package/dist/index57.js +5 -5
  529. package/dist/index58.js +8 -8
  530. package/dist/index59.js +5 -5
  531. package/dist/index60.js +17 -17
  532. package/dist/index61.js +5 -5
  533. package/dist/index62.js +3 -3
  534. package/package.json +1 -1
package/dist/index181.js CHANGED
@@ -1,20 +1,15 @@
1
- import { constructFrom as s } from "./index378.js";
2
- import { toDate as a } from "./index379.js";
3
- function M(n, o, i) {
4
- const t = a(n, i?.in);
5
- if (isNaN(o)) return s(n, NaN);
6
- if (!o)
7
- return t;
8
- const r = t.getDate(), e = s(n, t.getTime());
9
- e.setMonth(t.getMonth() + o + 1, 0);
10
- const f = e.getDate();
11
- return r >= f ? e : (t.setFullYear(
12
- e.getFullYear(),
13
- e.getMonth(),
14
- r
15
- ), t);
1
+ import r from "./index190.js";
2
+ import * as t from "react";
3
+ const e = /* @__PURE__ */ t.createContext(void 0);
4
+ process.env.NODE_ENV !== "production" && (e.displayName = "DialogPortalContext");
5
+ function a() {
6
+ const o = t.useContext(e);
7
+ if (o === void 0)
8
+ throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: <Dialog.Portal> is missing." : r(26));
9
+ return o;
16
10
  }
17
11
  export {
18
- M as addMonths
12
+ e as DialogPortalContext,
13
+ a as useDialogPortalContext
19
14
  };
20
15
  //# sourceMappingURL=index181.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index181.js","sources":["../../../node_modules/date-fns/addMonths.js"],"sourcesContent":["import { constructFrom } from \"./constructFrom.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * The {@link addMonths} function options.\n */\n\n/**\n * @name addMonths\n * @category Month Helpers\n * @summary Add the specified number of months to the given date.\n *\n * @description\n * Add the specified number of months to the given date.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param date - The date to be changed\n * @param amount - The amount of months to be added.\n * @param options - The options object\n *\n * @returns The new date with the months added\n *\n * @example\n * // Add 5 months to 1 September 2014:\n * const result = addMonths(new Date(2014, 8, 1), 5)\n * //=> Sun Feb 01 2015 00:00:00\n *\n * // Add one month to 30 January 2023:\n * const result = addMonths(new Date(2023, 0, 30), 1)\n * //=> Tue Feb 28 2023 00:00:00\n */\nexport function addMonths(date, amount, options) {\n const _date = toDate(date, options?.in);\n if (isNaN(amount)) return constructFrom(options?.in || date, NaN);\n if (!amount) {\n // If 0 months, no-op to avoid changing times in the hour before end of DST\n return _date;\n }\n const dayOfMonth = _date.getDate();\n\n // The JS Date object supports date math by accepting out-of-bounds values for\n // month, day, etc. For example, new Date(2020, 0, 0) returns 31 Dec 2019 and\n // new Date(2020, 13, 1) returns 1 Feb 2021. This is *almost* the behavior we\n // want except that dates will wrap around the end of a month, meaning that\n // new Date(2020, 13, 31) will return 3 Mar 2021 not 28 Feb 2021 as desired. So\n // we'll default to the end of the desired month by adding 1 to the desired\n // month and using a date of 0 to back up one day to the end of the desired\n // month.\n const endOfDesiredMonth = constructFrom(options?.in || date, _date.getTime());\n endOfDesiredMonth.setMonth(_date.getMonth() + amount + 1, 0);\n const daysInMonth = endOfDesiredMonth.getDate();\n if (dayOfMonth >= daysInMonth) {\n // If we're already at the end of the month, then this is the correct date\n // and we're done.\n return endOfDesiredMonth;\n } else {\n // Otherwise, we now know that setting the original day-of-month value won't\n // cause an overflow, so set the desired day-of-month. Note that we can't\n // just set the date of `endOfDesiredMonth` because that object may have had\n // its time changed in the unusual case where where a DST transition was on\n // the last day of the month and its local time was in the hour skipped or\n // repeated next to a DST transition. So we use `date` instead which is\n // guaranteed to still have the original time.\n _date.setFullYear(\n endOfDesiredMonth.getFullYear(),\n endOfDesiredMonth.getMonth(),\n dayOfMonth,\n );\n return _date;\n }\n}\n\n// Fallback for modularized imports:\nexport default addMonths;\n"],"names":["addMonths","date","amount","options","_date","toDate","constructFrom","dayOfMonth","endOfDesiredMonth","daysInMonth"],"mappings":";;AAiCO,SAASA,EAAUC,GAAMC,GAAQC,GAAS;AAC/C,QAAMC,IAAQC,EAAOJ,GAAME,GAAS,EAAE;AACtC,MAAI,MAAMD,CAAM,EAAG,QAAOI,EAA6BL,GAAM,GAAG;AAChE,MAAI,CAACC;AAEH,WAAOE;AAET,QAAMG,IAAaH,EAAM,QAAO,GAU1BI,IAAoBF,EAA6BL,GAAMG,EAAM,QAAO,CAAE;AAC5E,EAAAI,EAAkB,SAASJ,EAAM,SAAQ,IAAKF,IAAS,GAAG,CAAC;AAC3D,QAAMO,IAAcD,EAAkB,QAAO;AAC7C,SAAID,KAAcE,IAGTD,KASPJ,EAAM;AAAA,IACJI,EAAkB,YAAW;AAAA,IAC7BA,EAAkB,SAAQ;AAAA,IAC1BD;AAAA,EACN,GACWH;AAEX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index181.js","sources":["../../../node_modules/@base-ui/react/dialog/portal/DialogPortalContext.mjs"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const DialogPortalContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") DialogPortalContext.displayName = \"DialogPortalContext\";\nexport function useDialogPortalContext() {\n const value = React.useContext(DialogPortalContext);\n if (value === undefined) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: <Dialog.Portal> is missing.' : _formatErrorMessage(26));\n }\n return value;\n}"],"names":["DialogPortalContext","React","useDialogPortalContext","value","_formatErrorMessage"],"mappings":";;AAIY,MAACA,IAAmC,gBAAAC,EAAM,cAAc,MAAS;AACzE,QAAQ,IAAI,aAAa,iBAAcD,EAAoB,cAAc;AACtE,SAASE,IAAyB;AACvC,QAAMC,IAAQF,EAAM,WAAWD,CAAmB;AAClD,MAAIG,MAAU;AACZ,UAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe,yCAAyCC,EAAoB,EAAE,CAAC;AAE1H,SAAOD;AACT;","x_google_ignoreList":[0]}
package/dist/index182.js CHANGED
@@ -1,8 +1,23 @@
1
- import { addDays as o } from "./index180.js";
2
- function a(r, d, e) {
3
- return o(r, d * 7, e);
1
+ import * as l from "react";
2
+ import { useStableCallback as m } from "./index262.js";
3
+ import { useAnimationsFinished as f } from "./index348.js";
4
+ function c(a) {
5
+ const {
6
+ enabled: e = !0,
7
+ open: n,
8
+ ref: i,
9
+ onComplete: s
10
+ } = a, o = m(s), t = f(i, n, !1);
11
+ l.useEffect(() => {
12
+ if (!e)
13
+ return;
14
+ const r = new AbortController();
15
+ return t(o, r.signal), () => {
16
+ r.abort();
17
+ };
18
+ }, [e, n, o, t]);
4
19
  }
5
20
  export {
6
- a as addWeeks
21
+ c as useOpenChangeComplete
7
22
  };
8
23
  //# sourceMappingURL=index182.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index182.js","sources":["../../../node_modules/date-fns/addWeeks.js"],"sourcesContent":["import { addDays } from \"./addDays.js\";\n\n/**\n * The {@link addWeeks} function options.\n */\n\n/**\n * @name addWeeks\n * @category Week Helpers\n * @summary Add the specified number of weeks to the given date.\n *\n * @description\n * Add the specified number of weeks to the given date.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param date - The date to be changed\n * @param amount - The amount of weeks to be added.\n * @param options - An object with options\n *\n * @returns The new date with the weeks added\n *\n * @example\n * // Add 4 weeks to 1 September 2014:\n * const result = addWeeks(new Date(2014, 8, 1), 4)\n * //=> Mon Sep 29 2014 00:00:00\n */\nexport function addWeeks(date, amount, options) {\n return addDays(date, amount * 7, options);\n}\n\n// Fallback for modularized imports:\nexport default addWeeks;\n"],"names":["addWeeks","date","amount","options","addDays"],"mappings":";AA4BO,SAASA,EAASC,GAAMC,GAAQC,GAAS;AAC9C,SAAOC,EAAQH,GAAMC,IAAS,GAAGC,CAAO;AAC1C;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index182.js","sources":["../../../node_modules/@base-ui/react/internals/useOpenChangeComplete.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { useAnimationsFinished } from \"./useAnimationsFinished.mjs\";\n\n/**\n * Calls the provided function when the CSS open/close animation or transition completes.\n */\nexport function useOpenChangeComplete(parameters) {\n const {\n enabled = true,\n open,\n ref,\n onComplete: onCompleteParam\n } = parameters;\n const onComplete = useStableCallback(onCompleteParam);\n const runOnceAnimationsFinish = useAnimationsFinished(ref, open, false);\n React.useEffect(() => {\n if (!enabled) {\n return undefined;\n }\n const abortController = new AbortController();\n runOnceAnimationsFinish(onComplete, abortController.signal);\n return () => {\n abortController.abort();\n };\n }, [enabled, open, onComplete, runOnceAnimationsFinish]);\n}"],"names":["useOpenChangeComplete","parameters","enabled","open","ref","onCompleteParam","onComplete","useStableCallback","runOnceAnimationsFinish","useAnimationsFinished","React","abortController"],"mappings":";;;AASO,SAASA,EAAsBC,GAAY;AAChD,QAAM;AAAA,IACJ,SAAAC,IAAU;AAAA,IACV,MAAAC;AAAA,IACA,KAAAC;AAAA,IACA,YAAYC;AAAA,EAChB,IAAMJ,GACEK,IAAaC,EAAkBF,CAAe,GAC9CG,IAA0BC,EAAsBL,GAAKD,GAAM,EAAK;AACtE,EAAAO,EAAM,UAAU,MAAM;AACpB,QAAI,CAACR;AACH;AAEF,UAAMS,IAAkB,IAAI,gBAAe;AAC3C,WAAAH,EAAwBF,GAAYK,EAAgB,MAAM,GACnD,MAAM;AACX,MAAAA,EAAgB,MAAK;AAAA,IACvB;AAAA,EACF,GAAG,CAACT,GAASC,GAAMG,GAAYE,CAAuB,CAAC;AACzD;","x_google_ignoreList":[0]}
package/dist/index183.js CHANGED
@@ -1,8 +1,14 @@
1
- import { addMonths as d } from "./index181.js";
2
- function a(r, o, t) {
3
- return d(r, o * 12, t);
4
- }
1
+ const o = "ArrowUp", t = "ArrowDown", n = "ArrowLeft", R = "ArrowRight", e = "Home", c = "End", A = /* @__PURE__ */ new Set([n, R]), E = /* @__PURE__ */ new Set([o, t]), O = /* @__PURE__ */ new Set([...A, ...E]), s = /* @__PURE__ */ new Set([...O, e, "End"]);
5
2
  export {
6
- a as addYears
3
+ t as ARROW_DOWN,
4
+ O as ARROW_KEYS,
5
+ n as ARROW_LEFT,
6
+ R as ARROW_RIGHT,
7
+ o as ARROW_UP,
8
+ s as COMPOSITE_KEYS,
9
+ c as END,
10
+ e as HOME,
11
+ A as HORIZONTAL_KEYS,
12
+ E as VERTICAL_KEYS
7
13
  };
8
14
  //# sourceMappingURL=index183.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index183.js","sources":["../../../node_modules/date-fns/addYears.js"],"sourcesContent":["import { addMonths } from \"./addMonths.js\";\n\n/**\n * The {@link addYears} function options.\n */\n\n/**\n * @name addYears\n * @category Year Helpers\n * @summary Add the specified number of years to the given date.\n *\n * @description\n * Add the specified number of years to the given date.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type.\n *\n * @param date - The date to be changed\n * @param amount - The amount of years to be added.\n * @param options - The options\n *\n * @returns The new date with the years added\n *\n * @example\n * // Add 5 years to 1 September 2014:\n * const result = addYears(new Date(2014, 8, 1), 5)\n * //=> Sun Sep 01 2019 00:00:00\n */\nexport function addYears(date, amount, options) {\n return addMonths(date, amount * 12, options);\n}\n\n// Fallback for modularized imports:\nexport default addYears;\n"],"names":["addYears","date","amount","options","addMonths"],"mappings":";AA4BO,SAASA,EAASC,GAAMC,GAAQC,GAAS;AAC9C,SAAOC,EAAUH,GAAMC,IAAS,IAAIC,CAAO;AAC7C;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index183.js","sources":["../../../node_modules/@base-ui/react/internals/composite/composite.mjs"],"sourcesContent":["import { isHTMLElement } from '@floating-ui/utils/dom';\nexport { stopEvent, isIndexOutOfListBounds, isListIndexDisabled, findNonDisabledListIndex, getMaxListIndex, getMinListIndex } from \"../../floating-ui-react/utils.mjs\";\nexport const ARROW_UP = 'ArrowUp';\nexport const ARROW_DOWN = 'ArrowDown';\nexport const ARROW_LEFT = 'ArrowLeft';\nexport const ARROW_RIGHT = 'ArrowRight';\nexport const HOME = 'Home';\nexport const END = 'End';\nexport const PAGE_UP = 'PageUp';\nexport const PAGE_DOWN = 'PageDown';\nexport const HORIZONTAL_KEYS = new Set([ARROW_LEFT, ARROW_RIGHT]);\nexport const HORIZONTAL_KEYS_WITH_EXTRA_KEYS = new Set([ARROW_LEFT, ARROW_RIGHT, HOME, END]);\nexport const VERTICAL_KEYS = new Set([ARROW_UP, ARROW_DOWN]);\nexport const VERTICAL_KEYS_WITH_EXTRA_KEYS = new Set([ARROW_UP, ARROW_DOWN, HOME, END]);\nexport const ARROW_KEYS = new Set([...HORIZONTAL_KEYS, ...VERTICAL_KEYS]);\nexport const COMPOSITE_KEYS = new Set([...ARROW_KEYS, HOME, END]);\nexport const SHIFT = 'Shift';\nexport const CONTROL = 'Control';\nexport const ALT = 'Alt';\nexport const META = 'Meta';\nexport const MODIFIER_KEYS = new Set([SHIFT, CONTROL, ALT, META]);\nfunction isInputElement(element) {\n return isHTMLElement(element) && element.tagName === 'INPUT';\n}\nexport function isNativeInput(element) {\n if (isInputElement(element) && element.selectionStart != null) {\n return true;\n }\n if (isHTMLElement(element) && element.tagName === 'TEXTAREA') {\n return true;\n }\n return false;\n}\nexport function scrollIntoViewIfNeeded(scrollContainer, element, direction, orientation) {\n if (!scrollContainer || !element || !element.scrollTo) {\n return;\n }\n let targetX = scrollContainer.scrollLeft;\n let targetY = scrollContainer.scrollTop;\n const isOverflowingX = scrollContainer.clientWidth < scrollContainer.scrollWidth;\n const isOverflowingY = scrollContainer.clientHeight < scrollContainer.scrollHeight;\n if (isOverflowingX && orientation !== 'vertical') {\n const elementOffsetLeft = getOffset(scrollContainer, element, 'left');\n const containerStyles = getStyles(scrollContainer);\n const elementStyles = getStyles(element);\n if (direction === 'ltr') {\n if (elementOffsetLeft + element.offsetWidth + elementStyles.scrollMarginRight > scrollContainer.scrollLeft + scrollContainer.clientWidth - containerStyles.scrollPaddingRight) {\n // overflow to the right, scroll to align right edges\n targetX = elementOffsetLeft + element.offsetWidth + elementStyles.scrollMarginRight - scrollContainer.clientWidth + containerStyles.scrollPaddingRight;\n } else if (elementOffsetLeft - elementStyles.scrollMarginLeft < scrollContainer.scrollLeft + containerStyles.scrollPaddingLeft) {\n // overflow to the left, scroll to align left edges\n targetX = elementOffsetLeft - elementStyles.scrollMarginLeft - containerStyles.scrollPaddingLeft;\n }\n }\n if (direction === 'rtl') {\n if (elementOffsetLeft - elementStyles.scrollMarginRight < scrollContainer.scrollLeft + containerStyles.scrollPaddingLeft) {\n // overflow to the left, scroll to align left edges\n targetX = elementOffsetLeft - elementStyles.scrollMarginLeft - containerStyles.scrollPaddingLeft;\n } else if (elementOffsetLeft + element.offsetWidth + elementStyles.scrollMarginRight > scrollContainer.scrollLeft + scrollContainer.clientWidth - containerStyles.scrollPaddingRight) {\n // overflow to the right, scroll to align right edges\n targetX = elementOffsetLeft + element.offsetWidth + elementStyles.scrollMarginRight - scrollContainer.clientWidth + containerStyles.scrollPaddingRight;\n }\n }\n }\n if (isOverflowingY && orientation !== 'horizontal') {\n const elementOffsetTop = getOffset(scrollContainer, element, 'top');\n const containerStyles = getStyles(scrollContainer);\n const elementStyles = getStyles(element);\n if (elementOffsetTop - elementStyles.scrollMarginTop < scrollContainer.scrollTop + containerStyles.scrollPaddingTop) {\n // overflow upwards, align top edges\n targetY = elementOffsetTop - elementStyles.scrollMarginTop - containerStyles.scrollPaddingTop;\n } else if (elementOffsetTop + element.offsetHeight + elementStyles.scrollMarginBottom > scrollContainer.scrollTop + scrollContainer.clientHeight - containerStyles.scrollPaddingBottom) {\n // overflow downwards, align bottom edges\n targetY = elementOffsetTop + element.offsetHeight + elementStyles.scrollMarginBottom - scrollContainer.clientHeight + containerStyles.scrollPaddingBottom;\n }\n }\n scrollContainer.scrollTo({\n left: targetX,\n top: targetY,\n behavior: 'auto'\n });\n}\nfunction getOffset(ancestor, element, side) {\n const propName = side === 'left' ? 'offsetLeft' : 'offsetTop';\n let result = 0;\n while (element.offsetParent) {\n result += element[propName];\n if (element.offsetParent === ancestor) {\n break;\n }\n element = element.offsetParent;\n }\n return result;\n}\nfunction getStyles(element) {\n const styles = getComputedStyle(element);\n return {\n scrollMarginTop: parseFloat(styles.scrollMarginTop) || 0,\n scrollMarginRight: parseFloat(styles.scrollMarginRight) || 0,\n scrollMarginBottom: parseFloat(styles.scrollMarginBottom) || 0,\n scrollMarginLeft: parseFloat(styles.scrollMarginLeft) || 0,\n scrollPaddingTop: parseFloat(styles.scrollPaddingTop) || 0,\n scrollPaddingRight: parseFloat(styles.scrollPaddingRight) || 0,\n scrollPaddingBottom: parseFloat(styles.scrollPaddingBottom) || 0,\n scrollPaddingLeft: parseFloat(styles.scrollPaddingLeft) || 0\n };\n}"],"names":["ARROW_UP","ARROW_DOWN","ARROW_LEFT","ARROW_RIGHT","HOME","END","HORIZONTAL_KEYS","VERTICAL_KEYS","ARROW_KEYS","COMPOSITE_KEYS"],"mappings":"AAEY,MAACA,IAAW,WACXC,IAAa,aACbC,IAAa,aACbC,IAAc,cACdC,IAAO,QACPC,IAAM,OAGNC,IAAkB,oBAAI,IAAI,CAACJ,GAAYC,CAAW,CAAC,GAEnDI,IAAgB,oBAAI,IAAI,CAACP,GAAUC,CAAU,CAAC,GAE9CO,IAAa,oBAAI,IAAI,CAAC,GAAGF,GAAiB,GAAGC,CAAa,CAAC,GAC3DE,IAAiB,oBAAI,IAAI,CAAC,GAAGD,GAAYJ,GAAM,KAAG,CAAC;","x_google_ignoreList":[0]}
package/dist/index184.js CHANGED
@@ -1,16 +1,180 @@
1
- import { getTimezoneOffsetInMilliseconds as r } from "./index381.js";
2
- import { normalizeDates as c } from "./index382.js";
3
- import { millisecondsInDay as D } from "./index380.js";
4
- import { startOfDay as a } from "./index207.js";
5
- function u(o, n, i) {
6
- const [m, s] = c(
7
- i?.in,
8
- o,
9
- n
10
- ), t = a(m), e = a(s), f = +t - r(t), l = +e - r(e);
11
- return Math.round((f - l) / D);
1
+ import * as a from "react";
2
+ import "react-dom";
3
+ import { EMPTY_OBJECT as f } from "./index264.js";
4
+ import { useId as T } from "./index344.js";
5
+ import { useStableCallback as p } from "./index262.js";
6
+ import { useIsoLayoutEffect as s } from "./index261.js";
7
+ import { FOCUSABLE_ATTRIBUTE as v } from "./index390.js";
8
+ import { useFloatingParentNodeId as C } from "./index386.js";
9
+ import { useSyncedFloatingRootContext as E } from "./index389.js";
10
+ import { useTransitionStatus as I } from "./index269.js";
11
+ import { useOpenChangeComplete as O } from "./index182.js";
12
+ import { createChangeEventDetails as S } from "./index175.js";
13
+ import { none as P } from "./index177.js";
14
+ const L = {
15
+ tabIndex: -1,
16
+ [v]: ""
17
+ };
18
+ function z(e) {
19
+ return (t) => t === "touch" ? e.current : !0;
20
+ }
21
+ function V(e, t, i = !1) {
22
+ const r = T(), u = C() != null, o = a.useRef(null);
23
+ e === void 0 && o.current === null && (o.current = t(r, u));
24
+ const n = e ?? o.current;
25
+ return E({
26
+ popupStore: n,
27
+ treatPopupAsFloatingElement: i,
28
+ floatingRootContext: n.state.floatingRootContext,
29
+ floatingId: r,
30
+ nested: u,
31
+ onOpenChange: n.setOpen
32
+ }), {
33
+ store: n,
34
+ internalStore: o.current
35
+ };
36
+ }
37
+ function R(e, t) {
38
+ const i = a.useRef(null), r = a.useRef(null);
39
+ return a.useCallback((u) => {
40
+ if (e === void 0)
41
+ return;
42
+ let o = !1;
43
+ if (i.current !== null) {
44
+ const n = i.current, g = r.current, l = t.context.triggerElements.getById(n);
45
+ g && l === g && (t.context.triggerElements.delete(n), o = !0), i.current = null, r.current = null;
46
+ }
47
+ if (u !== null && (i.current = e, r.current = u, t.context.triggerElements.add(e, u), o = !0), o) {
48
+ const n = t.context.triggerElements.size;
49
+ t.select("open") && t.state.triggerCount !== n && t.set("triggerCount", n);
50
+ }
51
+ }, [t, e]);
52
+ }
53
+ function j(e, t, i, r = !1) {
54
+ t ? e.preventUnmountingOnClose = !1 : r && (e.preventUnmountingOnClose = !0);
55
+ const u = i?.id ?? null;
56
+ (u || t) && (e.activeTriggerId = u, e.activeTriggerElement = i ?? null);
57
+ }
58
+ function q(e, t, i, r) {
59
+ const u = i.useState("isMountedByTrigger", e), o = R(e, i), n = p((g) => {
60
+ if (o(g), !g)
61
+ return;
62
+ const l = i.select("open"), c = i.select("activeTriggerId");
63
+ if (c === e) {
64
+ i.update({
65
+ activeTriggerElement: g,
66
+ ...l ? r : null
67
+ });
68
+ return;
69
+ }
70
+ c == null && l && i.update({
71
+ activeTriggerId: e,
72
+ activeTriggerElement: g,
73
+ ...r
74
+ });
75
+ });
76
+ return s(() => {
77
+ u && i.update({
78
+ activeTriggerElement: t.current,
79
+ ...r
80
+ });
81
+ }, [u, i, t, ...Object.values(r)]), {
82
+ registerTrigger: n,
83
+ isMountedByThisTrigger: u
84
+ };
85
+ }
86
+ function w(e, t = {}) {
87
+ const {
88
+ closeOnActiveTriggerUnmount: i = !1
89
+ } = t, r = e.useState("open"), u = e.useState("triggerCount");
90
+ s(() => {
91
+ if (!r) {
92
+ e.state.triggerCount !== 0 && e.set("triggerCount", 0);
93
+ return;
94
+ }
95
+ const o = e.context.triggerElements.size, n = {};
96
+ e.state.triggerCount !== o && (n.triggerCount = o);
97
+ const g = e.select("activeTriggerId");
98
+ let l = null;
99
+ if (g) {
100
+ const c = e.context.triggerElements.getById(g);
101
+ c ? c !== e.state.activeTriggerElement && (n.activeTriggerElement = c) : l = g;
102
+ }
103
+ if (!l && !g && o === 1) {
104
+ const c = e.context.triggerElements.entries().next();
105
+ if (!c.done) {
106
+ const [m, d] = c.value;
107
+ n.activeTriggerId = m, n.activeTriggerElement = d;
108
+ }
109
+ }
110
+ (n.triggerCount !== void 0 || n.activeTriggerId !== void 0 || n.activeTriggerElement !== void 0) && e.update(n), l && i && queueMicrotask(() => {
111
+ if (e.select("open") && e.select("activeTriggerId") === l && !e.context.triggerElements.getById(l)) {
112
+ const c = S(P);
113
+ e.setOpen(!1, c), c.isCanceled || e.update({
114
+ activeTriggerId: null,
115
+ activeTriggerElement: null
116
+ });
117
+ }
118
+ });
119
+ }, [r, e, u, i]);
120
+ }
121
+ function J(e, t, i) {
122
+ const {
123
+ mounted: r,
124
+ setMounted: u,
125
+ transitionStatus: o
126
+ } = I(e), n = t.useState("preventUnmountingOnClose"), g = e ? !1 : n;
127
+ t.useSyncedValues({
128
+ mounted: r,
129
+ transitionStatus: o,
130
+ preventUnmountingOnClose: g
131
+ });
132
+ const l = p(() => {
133
+ u(!1), t.update({
134
+ activeTriggerId: null,
135
+ activeTriggerElement: null,
136
+ mounted: !1,
137
+ preventUnmountingOnClose: !1
138
+ }), t.context.onOpenChangeComplete?.(!1);
139
+ });
140
+ return O({
141
+ enabled: r && !e && !g,
142
+ open: e,
143
+ ref: t.context.popupRef,
144
+ onComplete() {
145
+ e || l();
146
+ }
147
+ }), {
148
+ forceUnmount: l,
149
+ transitionStatus: o
150
+ };
151
+ }
152
+ function N(e, t) {
153
+ e.useSyncedValues(t), s(() => () => {
154
+ e.update({
155
+ activeTriggerProps: f,
156
+ inactiveTriggerProps: f,
157
+ popupProps: f
158
+ });
159
+ }, [e]);
160
+ }
161
+ function Y(e, t) {
162
+ s(() => {
163
+ !t && e.state.openMethod !== null && e.set("openMethod", null);
164
+ }, [t, e]), s(() => () => {
165
+ e.state.openMethod !== null && e.set("openMethod", null);
166
+ }, [e]);
12
167
  }
13
168
  export {
14
- u as differenceInCalendarDays
169
+ L as FOCUSABLE_POPUP_PROPS,
170
+ z as createDefaultInitialFocus,
171
+ j as setPopupOpenState,
172
+ w as useImplicitActiveTrigger,
173
+ J as useOpenStateTransitions,
174
+ N as usePopupInteractionProps,
175
+ Y as usePopupRootSync,
176
+ V as usePopupStore,
177
+ q as useTriggerDataForwarding,
178
+ R as useTriggerRegistration
15
179
  };
16
180
  //# sourceMappingURL=index184.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index184.js","sources":["../../../node_modules/date-fns/differenceInCalendarDays.js"],"sourcesContent":["import { getTimezoneOffsetInMilliseconds } from \"./_lib/getTimezoneOffsetInMilliseconds.js\";\nimport { normalizeDates } from \"./_lib/normalizeDates.js\";\nimport { millisecondsInDay } from \"./constants.js\";\nimport { startOfDay } from \"./startOfDay.js\";\n\n/**\n * The {@link differenceInCalendarDays} function options.\n */\n\n/**\n * @name differenceInCalendarDays\n * @category Day Helpers\n * @summary Get the number of calendar days between the given dates.\n *\n * @description\n * Get the number of calendar days between the given dates. This means that the times are removed\n * from the dates and then the difference in days is calculated.\n *\n * @param laterDate - The later date\n * @param earlierDate - The earlier date\n * @param options - The options object\n *\n * @returns The number of calendar days\n *\n * @example\n * // How many calendar days are between\n * // 2 July 2011 23:00:00 and 2 July 2012 00:00:00?\n * const result = differenceInCalendarDays(\n * new Date(2012, 6, 2, 0, 0),\n * new Date(2011, 6, 2, 23, 0)\n * )\n * //=> 366\n * // How many calendar days are between\n * // 2 July 2011 23:59:00 and 3 July 2011 00:01:00?\n * const result = differenceInCalendarDays(\n * new Date(2011, 6, 3, 0, 1),\n * new Date(2011, 6, 2, 23, 59)\n * )\n * //=> 1\n */\nexport function differenceInCalendarDays(laterDate, earlierDate, options) {\n const [laterDate_, earlierDate_] = normalizeDates(\n options?.in,\n laterDate,\n earlierDate,\n );\n\n const laterStartOfDay = startOfDay(laterDate_);\n const earlierStartOfDay = startOfDay(earlierDate_);\n\n const laterTimestamp =\n +laterStartOfDay - getTimezoneOffsetInMilliseconds(laterStartOfDay);\n const earlierTimestamp =\n +earlierStartOfDay - getTimezoneOffsetInMilliseconds(earlierStartOfDay);\n\n // Round the number of days to the nearest integer because the number of\n // milliseconds in a day is not constant (e.g. it's different in the week of\n // the daylight saving time clock shift).\n return Math.round((laterTimestamp - earlierTimestamp) / millisecondsInDay);\n}\n\n// Fallback for modularized imports:\nexport default differenceInCalendarDays;\n"],"names":["differenceInCalendarDays","laterDate","earlierDate","options","laterDate_","earlierDate_","normalizeDates","laterStartOfDay","startOfDay","earlierStartOfDay","laterTimestamp","getTimezoneOffsetInMilliseconds","earlierTimestamp","millisecondsInDay"],"mappings":";;;;AAwCO,SAASA,EAAyBC,GAAWC,GAAaC,GAAS;AACxE,QAAM,CAACC,GAAYC,CAAY,IAAIC;AAAA,IACjCH,GAAS;AAAA,IACTF;AAAA,IACAC;AAAA,EACJ,GAEQK,IAAkBC,EAAWJ,CAAU,GACvCK,IAAoBD,EAAWH,CAAY,GAE3CK,IACJ,CAACH,IAAkBI,EAAgCJ,CAAe,GAC9DK,IACJ,CAACH,IAAoBE,EAAgCF,CAAiB;AAKxE,SAAO,KAAK,OAAOC,IAAiBE,KAAoBC,CAAiB;AAC3E;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index184.js","sources":["../../../node_modules/@base-ui/react/utils/popups/popupStoreUtils.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { EMPTY_OBJECT } from '@base-ui/utils/empty';\nimport { useId } from '@base-ui/utils/useId';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { useOnFirstRender } from '@base-ui/utils/useOnFirstRender';\nimport { FOCUSABLE_ATTRIBUTE } from \"../../floating-ui-react/utils/constants.mjs\";\nimport { useFloatingParentNodeId } from \"../../floating-ui-react/components/FloatingTree.mjs\";\nimport { useSyncedFloatingRootContext } from \"../../floating-ui-react/hooks/useSyncedFloatingRootContext.mjs\";\nimport { useTransitionStatus } from \"../../internals/useTransitionStatus.mjs\";\nimport { useOpenChangeComplete } from \"../../internals/useOpenChangeComplete.mjs\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\nexport const FOCUSABLE_POPUP_PROPS = {\n tabIndex: -1,\n [FOCUSABLE_ATTRIBUTE]: ''\n};\n\n/**\n * Returns the default `initialFocus` resolver for a popup. When opened by touch it focuses the\n * popup element itself to prevent the virtual keyboard from opening (required for Android\n * specifically; iOS handles this automatically). Otherwise it falls back to the default behavior.\n */\nexport function createDefaultInitialFocus(popupRef) {\n return interactionType => interactionType === 'touch' ? popupRef.current : true;\n}\nexport function usePopupStore(externalStore, createStore, treatPopupAsFloatingElement = false) {\n const floatingId = useId();\n const nested = useFloatingParentNodeId() != null;\n const internalStoreRef = React.useRef(null);\n if (externalStore === undefined && internalStoreRef.current === null) {\n internalStoreRef.current = createStore(floatingId, nested);\n }\n const store = externalStore ?? internalStoreRef.current;\n useSyncedFloatingRootContext({\n popupStore: store,\n treatPopupAsFloatingElement,\n floatingRootContext: store.state.floatingRootContext,\n floatingId,\n nested,\n onOpenChange: store.setOpen\n });\n return {\n store,\n internalStore: internalStoreRef.current\n };\n}\n\n/**\n * Returns a callback ref that registers/unregisters the trigger element in the store.\n *\n * @param store The Store instance where the trigger should be registered.\n */\nexport function useTriggerRegistration(id, store) {\n // Keep track of the currently registered element to unregister it on unmount or id change.\n const registeredElementIdRef = React.useRef(null);\n const registeredElementRef = React.useRef(null);\n return React.useCallback(element => {\n if (id === undefined) {\n return;\n }\n let shouldSyncTriggerCount = false;\n if (registeredElementIdRef.current !== null) {\n const registeredId = registeredElementIdRef.current;\n const registeredElement = registeredElementRef.current;\n const currentElement = store.context.triggerElements.getById(registeredId);\n if (registeredElement && currentElement === registeredElement) {\n store.context.triggerElements.delete(registeredId);\n shouldSyncTriggerCount = true;\n }\n registeredElementIdRef.current = null;\n registeredElementRef.current = null;\n }\n if (element !== null) {\n registeredElementIdRef.current = id;\n registeredElementRef.current = element;\n store.context.triggerElements.add(id, element);\n shouldSyncTriggerCount = true;\n }\n if (shouldSyncTriggerCount) {\n const triggerCount = store.context.triggerElements.size;\n if (store.select('open') && store.state.triggerCount !== triggerCount) {\n store.set('triggerCount', triggerCount);\n }\n }\n }, [store, id]);\n}\nexport function setPopupOpenState(state, open, trigger, preventUnmountOnClose = false) {\n if (open) {\n // Opening starts a new close cycle, so clear any previous request to keep the popup mounted.\n state.preventUnmountingOnClose = false;\n } else if (preventUnmountOnClose) {\n state.preventUnmountingOnClose = true;\n }\n const triggerId = trigger?.id ?? null;\n\n // If a popup is closing, the `trigger` may be undefined.\n // We want to keep the previous value so that exit animations are played and focus is returned correctly.\n if (triggerId || open) {\n state.activeTriggerId = triggerId;\n state.activeTriggerElement = trigger ?? null;\n }\n}\nexport function attachPreventUnmountOnClose(eventDetails) {\n let preventUnmountOnClose = false;\n eventDetails.preventUnmountOnClose = () => {\n preventUnmountOnClose = true;\n };\n return () => preventUnmountOnClose;\n}\n\n/**\n * Runs the shared open-change sequence for a popup store: notifies `onOpenChange`,\n * honors cancellation, dispatches the floating root change, maps the reason to an\n * `instantType`, and commits the state update (synchronously for hover so\n * `getAnimations()` observes it). Stores supply their own differences via\n * `extraState` (e.g. the last change reason) and `onBeforeDispatch` (e.g. updating\n * inline-rect coordinates).\n */\nexport function applyPopupOpenChange(store, nextOpen, eventDetails, options = {}) {\n const reason = eventDetails.reason;\n const isHover = reason === REASONS.triggerHover;\n const isFocusOpen = nextOpen && reason === REASONS.triggerFocus;\n const isDismissClose = !nextOpen && (reason === REASONS.triggerPress || reason === REASONS.escapeKey);\n const shouldPreventUnmountOnClose = attachPreventUnmountOnClose(eventDetails);\n store.context.onOpenChange?.(nextOpen, eventDetails);\n if (eventDetails.isCanceled) {\n return;\n }\n options.onBeforeDispatch?.();\n store.state.floatingRootContext.dispatchOpenChange(nextOpen, eventDetails);\n const changeState = () => {\n // Spread `extraState` first so `open` always reflects `nextOpen`, keeping it in\n // sync with the value already passed to `dispatchOpenChange`/`setPopupOpenState`.\n const updatedState = {\n ...options.extraState,\n open: nextOpen\n };\n if (isFocusOpen) {\n updatedState.instantType = 'focus';\n } else if (isDismissClose) {\n updatedState.instantType = 'dismiss';\n } else if (isHover) {\n updatedState.instantType = undefined;\n }\n setPopupOpenState(updatedState, nextOpen, eventDetails.trigger, shouldPreventUnmountOnClose());\n store.update(updatedState);\n };\n if (isHover) {\n // Flush synchronously for hover so `node.getAnimations()` sees the new state.\n ReactDOM.flushSync(changeState);\n } else {\n changeState();\n }\n}\nexport function useInitialOpenSync(store, openProp, defaultOpen, defaultTriggerId) {\n useOnFirstRender(() => {\n if (openProp === undefined && store.state.open === false && defaultOpen) {\n // Avoid notifying detached trigger subscribers while the Root is rendering.\n store.state = {\n ...store.state,\n open: true,\n activeTriggerId: defaultTriggerId,\n preventUnmountingOnClose: false\n };\n }\n });\n}\n\n/**\n * Sets up trigger data forwarding to the store.\n *\n * @param triggerId Id of the trigger.\n * @param triggerElementRef Ref for the trigger DOM element.\n * @param store The Store instance managing the popup state.\n * @param stateUpdates An object with state updates to apply when the trigger is active.\n */\nexport function useTriggerDataForwarding(triggerId, triggerElementRef, store, stateUpdates) {\n const isMountedByThisTrigger = store.useState('isMountedByTrigger', triggerId);\n const baseRegisterTrigger = useTriggerRegistration(triggerId, store);\n const registerTrigger = useStableCallback(element => {\n baseRegisterTrigger(element);\n if (!element) {\n return;\n }\n const open = store.select('open');\n const activeTriggerId = store.select('activeTriggerId');\n if (activeTriggerId === triggerId) {\n store.update({\n activeTriggerElement: element,\n ...(open ? stateUpdates : null)\n });\n return;\n }\n if (activeTriggerId == null && open) {\n // If a popup is already open, a detached trigger can mount before any active trigger\n // has been established. Claim the first registered trigger so trigger-owned focus\n // management and ARIA relationships work.\n store.update({\n activeTriggerId: triggerId,\n activeTriggerElement: element,\n ...stateUpdates\n });\n }\n });\n useIsoLayoutEffect(() => {\n if (isMountedByThisTrigger) {\n store.update({\n activeTriggerElement: triggerElementRef.current,\n ...stateUpdates\n });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMountedByThisTrigger, store, triggerElementRef, ...Object.values(stateUpdates)]);\n return {\n registerTrigger,\n isMountedByThisTrigger\n };\n}\n/**\n * Keeps trigger registration state synchronized while the popup is open.\n *\n * When a popup opens without an explicit trigger id and exactly one trigger is registered, that\n * trigger is claimed as the active trigger. When the active trigger id is still registered but its\n * element changed, the active element is refreshed. When the active trigger unregisters, the\n * default path preserves existing ownership so non-closing popup families do not silently claim a\n * different trigger while staying open.\n *\n * If `closeOnActiveTriggerUnmount` is enabled, unregistering the active trigger requests a close\n * after a microtask so a same-tick replacement trigger with the same id can register first.\n *\n * This should be called on the Root part.\n *\n * @param store The Store instance managing the popup state.\n * @param options Options for active trigger unmount behavior.\n */\nexport function useImplicitActiveTrigger(store, options = {}) {\n const {\n closeOnActiveTriggerUnmount = false\n } = options;\n const open = store.useState('open');\n const reactiveTriggerCount = store.useState('triggerCount');\n useIsoLayoutEffect(() => {\n if (!open) {\n if (store.state.triggerCount !== 0) {\n store.set('triggerCount', 0);\n }\n return;\n }\n const triggerCount = store.context.triggerElements.size;\n const stateUpdates = {};\n if (store.state.triggerCount !== triggerCount) {\n stateUpdates.triggerCount = triggerCount;\n }\n const activeTriggerId = store.select('activeTriggerId');\n let lostActiveTriggerId = null;\n if (activeTriggerId) {\n const activeTriggerElement = store.context.triggerElements.getById(activeTriggerId);\n if (!activeTriggerElement) {\n lostActiveTriggerId = activeTriggerId;\n } else if (activeTriggerElement !== store.state.activeTriggerElement) {\n stateUpdates.activeTriggerElement = activeTriggerElement;\n }\n }\n if (!lostActiveTriggerId && !activeTriggerId && triggerCount === 1) {\n const iteratorResult = store.context.triggerElements.entries().next();\n if (!iteratorResult.done) {\n const [implicitTriggerId, implicitTriggerElement] = iteratorResult.value;\n stateUpdates.activeTriggerId = implicitTriggerId;\n stateUpdates.activeTriggerElement = implicitTriggerElement;\n }\n }\n if (stateUpdates.triggerCount !== undefined || stateUpdates.activeTriggerId !== undefined || stateUpdates.activeTriggerElement !== undefined) {\n store.update(stateUpdates);\n }\n if (lostActiveTriggerId) {\n if (closeOnActiveTriggerUnmount) {\n // Defer so a same-tick replacement trigger with the same id can register first.\n queueMicrotask(() => {\n if (store.select('open') && store.select('activeTriggerId') === lostActiveTriggerId && !store.context.triggerElements.getById(lostActiveTriggerId)) {\n const eventDetails = createChangeEventDetails(REASONS.none);\n store.setOpen(false, eventDetails);\n // If closing is canceled, keep the previous active trigger ownership for the\n // still-open popup instead of claiming another trigger implicitly.\n if (!eventDetails.isCanceled) {\n store.update({\n activeTriggerId: null,\n activeTriggerElement: null\n });\n }\n }\n });\n }\n }\n }, [open, store, reactiveTriggerCount, closeOnActiveTriggerUnmount]);\n}\n\n/**\n * Manages the mounted state of the popup.\n * Sets up the transition status listeners and handles unmounting when needed.\n * Updates the `mounted`, `transitionStatus`, and `preventUnmountingOnClose` states in the store.\n *\n * @param open Whether the popup is open.\n * @param store The Store instance managing the popup state.\n * @param onUnmount Optional callback to be called when the popup is unmounted.\n *\n * @returns A function to forcibly unmount the popup.\n */\nexport function useOpenStateTransitions(open, store, onUnmount) {\n const {\n mounted,\n setMounted,\n transitionStatus\n } = useTransitionStatus(open);\n const preventUnmountingOnClose = store.useState('preventUnmountingOnClose');\n // Opening starts a new close cycle. Clear during render so the close-completion hook below\n // reads the synchronized value on the same pass.\n const syncedPreventUnmountingOnClose = open ? false : preventUnmountingOnClose;\n store.useSyncedValues({\n mounted,\n transitionStatus,\n preventUnmountingOnClose: syncedPreventUnmountingOnClose\n });\n const forceUnmount = useStableCallback(() => {\n setMounted(false);\n store.update({\n activeTriggerId: null,\n activeTriggerElement: null,\n mounted: false,\n preventUnmountingOnClose: false\n });\n onUnmount?.();\n store.context.onOpenChangeComplete?.(false);\n });\n useOpenChangeComplete({\n enabled: mounted && !open && !syncedPreventUnmountingOnClose,\n open,\n ref: store.context.popupRef,\n onComplete() {\n if (!open) {\n forceUnmount();\n }\n }\n });\n return {\n forceUnmount,\n transitionStatus\n };\n}\nexport function usePopupInteractionProps(store, statePart) {\n store.useSyncedValues(statePart);\n useIsoLayoutEffect(() => () => {\n store.update({\n activeTriggerProps: EMPTY_OBJECT,\n inactiveTriggerProps: EMPTY_OBJECT,\n popupProps: EMPTY_OBJECT\n });\n }, [store]);\n}\nexport function usePopupRootSync(store, open) {\n useIsoLayoutEffect(() => {\n if (!open && store.state.openMethod !== null) {\n store.set('openMethod', null);\n }\n }, [open, store]);\n useIsoLayoutEffect(() => () => {\n if (store.state.openMethod !== null) {\n store.set('openMethod', null);\n }\n }, [store]);\n}"],"names":["FOCUSABLE_POPUP_PROPS","FOCUSABLE_ATTRIBUTE","createDefaultInitialFocus","popupRef","interactionType","usePopupStore","externalStore","createStore","treatPopupAsFloatingElement","floatingId","useId","nested","useFloatingParentNodeId","internalStoreRef","React","store","useSyncedFloatingRootContext","useTriggerRegistration","id","registeredElementIdRef","registeredElementRef","element","shouldSyncTriggerCount","registeredId","registeredElement","currentElement","triggerCount","setPopupOpenState","state","open","trigger","preventUnmountOnClose","triggerId","useTriggerDataForwarding","triggerElementRef","stateUpdates","isMountedByThisTrigger","baseRegisterTrigger","registerTrigger","useStableCallback","activeTriggerId","useIsoLayoutEffect","useImplicitActiveTrigger","options","closeOnActiveTriggerUnmount","reactiveTriggerCount","lostActiveTriggerId","activeTriggerElement","iteratorResult","implicitTriggerId","implicitTriggerElement","eventDetails","createChangeEventDetails","REASONS.none","useOpenStateTransitions","onUnmount","mounted","setMounted","transitionStatus","useTransitionStatus","preventUnmountingOnClose","syncedPreventUnmountingOnClose","forceUnmount","useOpenChangeComplete","usePopupInteractionProps","statePart","EMPTY_OBJECT","usePopupRootSync"],"mappings":";;;;;;;;;;;;;AAgBY,MAACA,IAAwB;AAAA,EACnC,UAAU;AAAA,EACV,CAACC,CAAmB,GAAG;AACzB;AAOO,SAASC,EAA0BC,GAAU;AAClD,SAAO,CAAAC,MAAmBA,MAAoB,UAAUD,EAAS,UAAU;AAC7E;AACO,SAASE,EAAcC,GAAeC,GAAaC,IAA8B,IAAO;AAC7F,QAAMC,IAAaC,EAAK,GAClBC,IAASC,EAAuB,KAAM,MACtCC,IAAmBC,EAAM,OAAO,IAAI;AAC1C,EAAIR,MAAkB,UAAaO,EAAiB,YAAY,SAC9DA,EAAiB,UAAUN,EAAYE,GAAYE,CA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