@performant-software/core-data 2.2.2-beta.0 → 2.2.2-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (831) hide show
  1. package/dist/index.cjs107.js +1 -1
  2. package/dist/index.cjs117.js +1 -1
  3. package/dist/index.cjs131.js +1 -1
  4. package/dist/index.cjs134.js +1 -1
  5. package/dist/index.cjs137.js +1 -1
  6. package/dist/index.cjs139.js +1 -1
  7. package/dist/index.cjs141.js +1 -1
  8. package/dist/index.cjs141.js.map +1 -1
  9. package/dist/index.cjs142.js +1 -1
  10. package/dist/index.cjs142.js.map +1 -1
  11. package/dist/index.cjs143.js +1 -1
  12. package/dist/index.cjs143.js.map +1 -1
  13. package/dist/index.cjs144.js +1 -1
  14. package/dist/index.cjs144.js.map +1 -1
  15. package/dist/index.cjs149.js +1 -1
  16. package/dist/index.cjs150.js +1 -1
  17. package/dist/index.cjs176.js +1 -1
  18. package/dist/index.cjs180.js +1 -1
  19. package/dist/index.cjs187.js +1 -1
  20. package/dist/index.cjs188.js +1 -1
  21. package/dist/index.cjs189.js +1 -1
  22. package/dist/index.cjs190.js +1 -1
  23. package/dist/index.cjs191.js +1 -1
  24. package/dist/index.cjs192.js +1 -1
  25. package/dist/index.cjs193.js +1 -1
  26. package/dist/index.cjs194.js +1 -1
  27. package/dist/index.cjs195.js +1 -1
  28. package/dist/index.cjs198.js +1 -1
  29. package/dist/index.cjs199.js +1 -1
  30. package/dist/index.cjs201.js +1 -1
  31. package/dist/index.cjs202.js +1 -1
  32. package/dist/index.cjs203.js +1 -1
  33. package/dist/index.cjs204.js +1 -1
  34. package/dist/index.cjs209.js +1 -1
  35. package/dist/index.cjs210.js +1 -1
  36. package/dist/index.cjs211.js +1 -1
  37. package/dist/index.cjs212.js +1 -1
  38. package/dist/index.cjs215.js +1 -1
  39. package/dist/index.cjs216.js +1 -1
  40. package/dist/index.cjs217.js +1 -1
  41. package/dist/index.cjs221.js +1 -1
  42. package/dist/index.cjs224.js +1 -1
  43. package/dist/index.cjs228.js +1 -1
  44. package/dist/index.cjs231.js +1 -1
  45. package/dist/index.cjs239.js +1 -1
  46. package/dist/index.cjs240.js +1 -1
  47. package/dist/index.cjs241.js +1 -1
  48. package/dist/index.cjs242.js +1 -1
  49. package/dist/index.cjs243.js +1 -1
  50. package/dist/index.cjs244.js +1 -1
  51. package/dist/index.cjs245.js +1 -1
  52. package/dist/index.cjs247.js +1 -1
  53. package/dist/index.cjs248.js +1 -1
  54. package/dist/index.cjs249.js +1 -1
  55. package/dist/index.cjs250.js +1 -1
  56. package/dist/index.cjs251.js +1 -1
  57. package/dist/index.cjs252.js +1 -1
  58. package/dist/index.cjs253.js +1 -1
  59. package/dist/index.cjs254.js +1 -1
  60. package/dist/index.cjs255.js +1 -1
  61. package/dist/index.cjs258.js +1 -1
  62. package/dist/index.cjs259.js +1 -1
  63. package/dist/index.cjs261.js +1 -1
  64. package/dist/index.cjs262.js +1 -1
  65. package/dist/index.cjs263.js +1 -1
  66. package/dist/index.cjs264.js +1 -1
  67. package/dist/index.cjs265.js +1 -1
  68. package/dist/index.cjs266.js +1 -1
  69. package/dist/index.cjs267.js +1 -1
  70. package/dist/index.cjs268.js +1 -1
  71. package/dist/index.cjs274.js +1 -1
  72. package/dist/index.cjs275.js +1 -1
  73. package/dist/index.cjs276.js +1 -1
  74. package/dist/index.cjs277.js +1 -1
  75. package/dist/index.cjs278.js +1 -1
  76. package/dist/index.cjs282.js +1 -1
  77. package/dist/index.cjs283.js +1 -1
  78. package/dist/index.cjs284.js +1 -1
  79. package/dist/index.cjs285.js +1 -1
  80. package/dist/index.cjs286.js +1 -1
  81. package/dist/index.cjs287.js +1 -1
  82. package/dist/index.cjs288.js +1 -1
  83. package/dist/index.cjs289.js +1 -1
  84. package/dist/index.cjs290.js +1 -1
  85. package/dist/index.cjs291.js +1 -1
  86. package/dist/index.cjs332.js +1 -1
  87. package/dist/index.cjs332.js.map +1 -1
  88. package/dist/index.cjs333.js +1 -1
  89. package/dist/index.cjs333.js.map +1 -1
  90. package/dist/index.cjs334.js +1 -1
  91. package/dist/index.cjs334.js.map +1 -1
  92. package/dist/index.cjs335.js +1 -1
  93. package/dist/index.cjs335.js.map +1 -1
  94. package/dist/index.cjs336.js +1 -1
  95. package/dist/index.cjs336.js.map +1 -1
  96. package/dist/index.cjs337.js +1 -1
  97. package/dist/index.cjs337.js.map +1 -1
  98. package/dist/index.cjs338.js +1 -1
  99. package/dist/index.cjs338.js.map +1 -1
  100. package/dist/index.cjs339.js +1 -1
  101. package/dist/index.cjs339.js.map +1 -1
  102. package/dist/index.cjs340.js +1 -1
  103. package/dist/index.cjs340.js.map +1 -1
  104. package/dist/index.cjs341.js +1 -1
  105. package/dist/index.cjs341.js.map +1 -1
  106. package/dist/index.cjs342.js +1 -1
  107. package/dist/index.cjs342.js.map +1 -1
  108. package/dist/index.cjs343.js +1 -1
  109. package/dist/index.cjs343.js.map +1 -1
  110. package/dist/index.cjs344.js +1 -1
  111. package/dist/index.cjs344.js.map +1 -1
  112. package/dist/index.cjs345.js +1 -1
  113. package/dist/index.cjs345.js.map +1 -1
  114. package/dist/index.cjs346.js +1 -1
  115. package/dist/index.cjs346.js.map +1 -1
  116. package/dist/index.cjs347.js +1 -1
  117. package/dist/index.cjs347.js.map +1 -1
  118. package/dist/index.cjs348.js +1 -1
  119. package/dist/index.cjs348.js.map +1 -1
  120. package/dist/index.cjs349.js +1 -1
  121. package/dist/index.cjs349.js.map +1 -1
  122. package/dist/index.cjs350.js +1 -1
  123. package/dist/index.cjs350.js.map +1 -1
  124. package/dist/index.cjs351.js +1 -1
  125. package/dist/index.cjs351.js.map +1 -1
  126. package/dist/index.cjs352.js +1 -1
  127. package/dist/index.cjs352.js.map +1 -1
  128. package/dist/index.cjs353.js +1 -1
  129. package/dist/index.cjs353.js.map +1 -1
  130. package/dist/index.cjs354.js +1 -1
  131. package/dist/index.cjs354.js.map +1 -1
  132. package/dist/index.cjs355.js +1 -1
  133. package/dist/index.cjs355.js.map +1 -1
  134. package/dist/index.cjs356.js +1 -1
  135. package/dist/index.cjs356.js.map +1 -1
  136. package/dist/index.cjs357.js +1 -1
  137. package/dist/index.cjs357.js.map +1 -1
  138. package/dist/index.cjs358.js +1 -1
  139. package/dist/index.cjs358.js.map +1 -1
  140. package/dist/index.cjs359.js +1 -1
  141. package/dist/index.cjs359.js.map +1 -1
  142. package/dist/index.cjs360.js +1 -1
  143. package/dist/index.cjs360.js.map +1 -1
  144. package/dist/index.cjs361.js +1 -1
  145. package/dist/index.cjs361.js.map +1 -1
  146. package/dist/index.cjs362.js +1 -1
  147. package/dist/index.cjs362.js.map +1 -1
  148. package/dist/index.cjs363.js +1 -1
  149. package/dist/index.cjs363.js.map +1 -1
  150. package/dist/index.cjs364.js +1 -1
  151. package/dist/index.cjs364.js.map +1 -1
  152. package/dist/index.cjs365.js +1 -1
  153. package/dist/index.cjs365.js.map +1 -1
  154. package/dist/index.cjs366.js +1 -1
  155. package/dist/index.cjs366.js.map +1 -1
  156. package/dist/index.cjs367.js +1 -1
  157. package/dist/index.cjs367.js.map +1 -1
  158. package/dist/index.cjs368.js +1 -1
  159. package/dist/index.cjs368.js.map +1 -1
  160. package/dist/index.cjs369.js +1 -1
  161. package/dist/index.cjs369.js.map +1 -1
  162. package/dist/index.cjs370.js +1 -1
  163. package/dist/index.cjs370.js.map +1 -1
  164. package/dist/index.cjs371.js +1 -1
  165. package/dist/index.cjs371.js.map +1 -1
  166. package/dist/index.cjs372.js +1 -1
  167. package/dist/index.cjs372.js.map +1 -1
  168. package/dist/index.cjs373.js +1 -1
  169. package/dist/index.cjs373.js.map +1 -1
  170. package/dist/index.cjs374.js +1 -1
  171. package/dist/index.cjs374.js.map +1 -1
  172. package/dist/index.cjs375.js +1 -1
  173. package/dist/index.cjs375.js.map +1 -1
  174. package/dist/index.cjs376.js +1 -1
  175. package/dist/index.cjs376.js.map +1 -1
  176. package/dist/index.cjs377.js +1 -1
  177. package/dist/index.cjs377.js.map +1 -1
  178. package/dist/index.cjs378.js +1 -1
  179. package/dist/index.cjs378.js.map +1 -1
  180. package/dist/index.cjs379.js +1 -1
  181. package/dist/index.cjs379.js.map +1 -1
  182. package/dist/index.cjs380.js +1 -1
  183. package/dist/index.cjs380.js.map +1 -1
  184. package/dist/index.cjs381.js +1 -1
  185. package/dist/index.cjs381.js.map +1 -1
  186. package/dist/index.cjs382.js +1 -1
  187. package/dist/index.cjs382.js.map +1 -1
  188. package/dist/index.cjs388.js +1 -1
  189. package/dist/index.cjs392.js +1 -1
  190. package/dist/index.cjs416.js +1 -1
  191. package/dist/index.cjs417.js +1 -1
  192. package/dist/index.cjs417.js.map +1 -1
  193. package/dist/index.cjs418.js +1 -1
  194. package/dist/index.cjs419.js +1 -1
  195. package/dist/index.cjs421.js +1 -1
  196. package/dist/index.cjs421.js.map +1 -1
  197. package/dist/index.cjs422.js +1 -1
  198. package/dist/index.cjs422.js.map +1 -1
  199. package/dist/index.cjs423.js +1 -1
  200. package/dist/index.cjs423.js.map +1 -1
  201. package/dist/index.cjs424.js +1 -1
  202. package/dist/index.cjs424.js.map +1 -1
  203. package/dist/index.cjs425.js +1 -1
  204. package/dist/index.cjs425.js.map +1 -1
  205. package/dist/index.cjs426.js +1 -1
  206. package/dist/index.cjs426.js.map +1 -1
  207. package/dist/index.cjs427.js +1 -1
  208. package/dist/index.cjs427.js.map +1 -1
  209. package/dist/index.cjs428.js +1 -1
  210. package/dist/index.cjs428.js.map +1 -1
  211. package/dist/index.cjs429.js +1 -1
  212. package/dist/index.cjs429.js.map +1 -1
  213. package/dist/index.cjs430.js +1 -1
  214. package/dist/index.cjs430.js.map +1 -1
  215. package/dist/index.cjs431.js +1 -1
  216. package/dist/index.cjs431.js.map +1 -1
  217. package/dist/index.cjs432.js +1 -1
  218. package/dist/index.cjs432.js.map +1 -1
  219. package/dist/index.cjs433.js +1 -1
  220. package/dist/index.cjs433.js.map +1 -1
  221. package/dist/index.cjs434.js +1 -1
  222. package/dist/index.cjs434.js.map +1 -1
  223. package/dist/index.cjs435.js +1 -1
  224. package/dist/index.cjs435.js.map +1 -1
  225. package/dist/index.cjs436.js +1 -1
  226. package/dist/index.cjs436.js.map +1 -1
  227. package/dist/index.cjs437.js +1 -1
  228. package/dist/index.cjs437.js.map +1 -1
  229. package/dist/index.cjs438.js +1 -1
  230. package/dist/index.cjs438.js.map +1 -1
  231. package/dist/index.cjs439.js +1 -1
  232. package/dist/index.cjs439.js.map +1 -1
  233. package/dist/index.cjs440.js +1 -1
  234. package/dist/index.cjs440.js.map +1 -1
  235. package/dist/index.cjs441.js +1 -1
  236. package/dist/index.cjs441.js.map +1 -1
  237. package/dist/index.cjs442.js +1 -1
  238. package/dist/index.cjs442.js.map +1 -1
  239. package/dist/index.cjs443.js +1 -1
  240. package/dist/index.cjs443.js.map +1 -1
  241. package/dist/index.cjs444.js +1 -1
  242. package/dist/index.cjs444.js.map +1 -1
  243. package/dist/index.cjs445.js +1 -1
  244. package/dist/index.cjs445.js.map +1 -1
  245. package/dist/index.cjs446.js +1 -1
  246. package/dist/index.cjs446.js.map +1 -1
  247. package/dist/index.cjs447.js +1 -1
  248. package/dist/index.cjs447.js.map +1 -1
  249. package/dist/index.cjs448.js +1 -1
  250. package/dist/index.cjs448.js.map +1 -1
  251. package/dist/index.cjs449.js +1 -1
  252. package/dist/index.cjs449.js.map +1 -1
  253. package/dist/index.cjs450.js +1 -1
  254. package/dist/index.cjs450.js.map +1 -1
  255. package/dist/index.cjs451.js +1 -1
  256. package/dist/index.cjs451.js.map +1 -1
  257. package/dist/index.cjs452.js +1 -1
  258. package/dist/index.cjs452.js.map +1 -1
  259. package/dist/index.cjs453.js +1 -1
  260. package/dist/index.cjs453.js.map +1 -1
  261. package/dist/index.cjs454.js +1 -1
  262. package/dist/index.cjs454.js.map +1 -1
  263. package/dist/index.cjs455.js +1 -1
  264. package/dist/index.cjs455.js.map +1 -1
  265. package/dist/index.cjs456.js +1 -1
  266. package/dist/index.cjs456.js.map +1 -1
  267. package/dist/index.cjs457.js +1 -1
  268. package/dist/index.cjs457.js.map +1 -1
  269. package/dist/index.cjs458.js +1 -2
  270. package/dist/index.cjs458.js.map +1 -1
  271. package/dist/index.cjs459.js +1 -1
  272. package/dist/index.cjs459.js.map +1 -1
  273. package/dist/index.cjs460.js +1 -1
  274. package/dist/index.cjs460.js.map +1 -1
  275. package/dist/index.cjs461.js +1 -1
  276. package/dist/index.cjs461.js.map +1 -1
  277. package/dist/index.cjs462.js +2 -2
  278. package/dist/index.cjs462.js.map +1 -1
  279. package/dist/index.cjs464.js +1 -1
  280. package/dist/index.cjs465.js +1 -1
  281. package/dist/index.cjs465.js.map +1 -1
  282. package/dist/index.cjs466.js +1 -1
  283. package/dist/index.cjs466.js.map +1 -1
  284. package/dist/index.cjs467.js +2 -1
  285. package/dist/index.cjs467.js.map +1 -1
  286. package/dist/index.cjs468.js +1 -1
  287. package/dist/index.cjs468.js.map +1 -1
  288. package/dist/index.cjs469.js +1 -1
  289. package/dist/index.cjs470.js +1 -1
  290. package/dist/index.cjs474.js +1 -1
  291. package/dist/index.cjs474.js.map +1 -1
  292. package/dist/index.cjs475.js +1 -1
  293. package/dist/index.cjs475.js.map +1 -1
  294. package/dist/index.cjs476.js +1 -1
  295. package/dist/index.cjs476.js.map +1 -1
  296. package/dist/index.cjs477.js +1 -1
  297. package/dist/index.cjs477.js.map +1 -1
  298. package/dist/index.cjs478.js +1 -1
  299. package/dist/index.cjs478.js.map +1 -1
  300. package/dist/index.cjs480.js +1 -1
  301. package/dist/index.cjs480.js.map +1 -1
  302. package/dist/index.cjs484.js +1 -1
  303. package/dist/index.cjs484.js.map +1 -1
  304. package/dist/index.cjs485.js +1 -1
  305. package/dist/index.cjs485.js.map +1 -1
  306. package/dist/index.cjs486.js +1 -1
  307. package/dist/index.cjs486.js.map +1 -1
  308. package/dist/index.cjs487.js +1 -1
  309. package/dist/index.cjs487.js.map +1 -1
  310. package/dist/index.cjs488.js +1 -1
  311. package/dist/index.cjs488.js.map +1 -1
  312. package/dist/index.cjs489.js +1 -1
  313. package/dist/index.cjs489.js.map +1 -1
  314. package/dist/index.cjs490.js +1 -1
  315. package/dist/index.cjs491.js +1 -1
  316. package/dist/index.cjs491.js.map +1 -1
  317. package/dist/index.cjs494.js +1 -7
  318. package/dist/index.cjs494.js.map +1 -1
  319. package/dist/index.cjs495.js +1 -1
  320. package/dist/index.cjs495.js.map +1 -1
  321. package/dist/index.cjs496.js +1 -1
  322. package/dist/index.cjs496.js.map +1 -1
  323. package/dist/index.cjs497.js +1 -1
  324. package/dist/index.cjs497.js.map +1 -1
  325. package/dist/index.cjs498.js +1 -1
  326. package/dist/index.cjs498.js.map +1 -1
  327. package/dist/index.cjs499.js +1 -1
  328. package/dist/index.cjs499.js.map +1 -1
  329. package/dist/index.cjs501.js +1 -1
  330. package/dist/index.cjs501.js.map +1 -1
  331. package/dist/index.cjs503.js +1 -1
  332. package/dist/index.cjs503.js.map +1 -1
  333. package/dist/index.cjs505.js +1 -1
  334. package/dist/index.cjs505.js.map +1 -1
  335. package/dist/index.cjs507.js +1 -1
  336. package/dist/index.cjs507.js.map +1 -1
  337. package/dist/index.cjs509.js +1 -1
  338. package/dist/index.cjs509.js.map +1 -1
  339. package/dist/index.cjs510.js +7 -1
  340. package/dist/index.cjs510.js.map +1 -1
  341. package/dist/index.cjs511.js +1 -1
  342. package/dist/index.cjs511.js.map +1 -1
  343. package/dist/index.cjs512.js +1 -1
  344. package/dist/index.cjs512.js.map +1 -1
  345. package/dist/index.cjs513.js +1 -1
  346. package/dist/index.cjs513.js.map +1 -1
  347. package/dist/index.cjs514.js +1 -1
  348. package/dist/index.cjs514.js.map +1 -1
  349. package/dist/index.cjs515.js +1 -1
  350. package/dist/index.cjs515.js.map +1 -1
  351. package/dist/index.cjs516.js +1 -1
  352. package/dist/index.cjs516.js.map +1 -1
  353. package/dist/index.cjs517.js +1 -1
  354. package/dist/index.cjs518.js +1 -1
  355. package/dist/index.cjs519.js +1 -1
  356. package/dist/index.cjs520.js +1 -1
  357. package/dist/index.cjs520.js.map +1 -1
  358. package/dist/index.cjs521.js +1 -1
  359. package/dist/index.cjs522.js +1 -1
  360. package/dist/index.cjs523.js +1 -1
  361. package/dist/index.cjs527.js +1 -1
  362. package/dist/index.cjs527.js.map +1 -1
  363. package/dist/index.cjs528.js +1 -1
  364. package/dist/index.cjs528.js.map +1 -1
  365. package/dist/index.cjs529.js +1 -1
  366. package/dist/index.cjs53.js +1 -1
  367. package/dist/index.cjs530.js +1 -1
  368. package/dist/index.cjs531.js +1 -1
  369. package/dist/index.cjs532.js +1 -1
  370. package/dist/index.cjs532.js.map +1 -1
  371. package/dist/index.cjs535.js +1 -1
  372. package/dist/index.cjs535.js.map +1 -1
  373. package/dist/index.cjs536.js +1 -1
  374. package/dist/index.cjs536.js.map +1 -1
  375. package/dist/index.cjs54.js +1 -1
  376. package/dist/index.cjs543.js +1 -1
  377. package/dist/index.cjs544.js +1 -1
  378. package/dist/index.cjs544.js.map +1 -1
  379. package/dist/index.cjs545.js +1 -1
  380. package/dist/index.cjs546.js +1 -1
  381. package/dist/index.cjs546.js.map +1 -1
  382. package/dist/index.cjs55.js +1 -1
  383. package/dist/index.cjs556.js +1 -1
  384. package/dist/index.cjs556.js.map +1 -1
  385. package/dist/index.cjs557.js +1 -1
  386. package/dist/index.cjs557.js.map +1 -1
  387. package/dist/index.cjs558.js +1 -1
  388. package/dist/index.cjs558.js.map +1 -1
  389. package/dist/index.cjs559.js +1 -1
  390. package/dist/index.cjs559.js.map +1 -1
  391. package/dist/index.cjs57.js +1 -1
  392. package/dist/index.cjs58.js +1 -1
  393. package/dist/index.cjs59.js +1 -1
  394. package/dist/index.cjs61.js +1 -1
  395. package/dist/index.cjs62.js +1 -1
  396. package/dist/index.cjs63.js +1 -1
  397. package/dist/index.cjs65.js +1 -1
  398. package/dist/index.cjs66.js +1 -1
  399. package/dist/index.cjs67.js +1 -1
  400. package/dist/index.cjs71.js +1 -1
  401. package/dist/index.cjs72.js +1 -1
  402. package/dist/index.cjs73.js +1 -1
  403. package/dist/index.cjs75.js +1 -1
  404. package/dist/index.cjs76.js +1 -1
  405. package/dist/index.cjs78.js +1 -1
  406. package/dist/index.cjs87.js +1 -1
  407. package/dist/index.cjs96.js +1 -1
  408. package/dist/index.es107.js +4 -4
  409. package/dist/index.es117.js +2 -2
  410. package/dist/index.es131.js +1 -1
  411. package/dist/index.es134.js +3 -3
  412. package/dist/index.es137.js +3 -3
  413. package/dist/index.es139.js +2 -2
  414. package/dist/index.es141.js +9 -56
  415. package/dist/index.es141.js.map +1 -1
  416. package/dist/index.es142.js +34 -6
  417. package/dist/index.es142.js.map +1 -1
  418. package/dist/index.es143.js +56 -9
  419. package/dist/index.es143.js.map +1 -1
  420. package/dist/index.es144.js +6 -34
  421. package/dist/index.es144.js.map +1 -1
  422. package/dist/index.es149.js +1 -1
  423. package/dist/index.es150.js +2 -2
  424. package/dist/index.es176.js +1 -1
  425. package/dist/index.es180.js +1 -1
  426. package/dist/index.es187.js +1 -1
  427. package/dist/index.es188.js +1 -1
  428. package/dist/index.es189.js +1 -1
  429. package/dist/index.es190.js +1 -1
  430. package/dist/index.es191.js +1 -1
  431. package/dist/index.es192.js +1 -1
  432. package/dist/index.es193.js +1 -1
  433. package/dist/index.es194.js +1 -1
  434. package/dist/index.es195.js +1 -1
  435. package/dist/index.es198.js +1 -1
  436. package/dist/index.es199.js +1 -1
  437. package/dist/index.es201.js +3 -3
  438. package/dist/index.es202.js +1 -1
  439. package/dist/index.es203.js +2 -2
  440. package/dist/index.es204.js +1 -1
  441. package/dist/index.es209.js +1 -1
  442. package/dist/index.es210.js +1 -1
  443. package/dist/index.es211.js +1 -1
  444. package/dist/index.es212.js +1 -1
  445. package/dist/index.es215.js +2 -2
  446. package/dist/index.es216.js +2 -2
  447. package/dist/index.es217.js +1 -1
  448. package/dist/index.es221.js +2 -2
  449. package/dist/index.es224.js +1 -1
  450. package/dist/index.es228.js +1 -1
  451. package/dist/index.es231.js +1 -1
  452. package/dist/index.es239.js +1 -1
  453. package/dist/index.es240.js +1 -1
  454. package/dist/index.es241.js +1 -1
  455. package/dist/index.es242.js +2 -2
  456. package/dist/index.es243.js +1 -1
  457. package/dist/index.es244.js +1 -1
  458. package/dist/index.es245.js +1 -1
  459. package/dist/index.es247.js +2 -2
  460. package/dist/index.es248.js +2 -2
  461. package/dist/index.es249.js +1 -1
  462. package/dist/index.es250.js +1 -1
  463. package/dist/index.es251.js +1 -1
  464. package/dist/index.es252.js +1 -1
  465. package/dist/index.es253.js +2 -2
  466. package/dist/index.es254.js +2 -2
  467. package/dist/index.es255.js +1 -1
  468. package/dist/index.es258.js +2 -2
  469. package/dist/index.es259.js +2 -2
  470. package/dist/index.es261.js +2 -2
  471. package/dist/index.es262.js +1 -1
  472. package/dist/index.es263.js +2 -2
  473. package/dist/index.es264.js +1 -1
  474. package/dist/index.es265.js +2 -2
  475. package/dist/index.es266.js +1 -1
  476. package/dist/index.es267.js +1 -1
  477. package/dist/index.es268.js +1 -1
  478. package/dist/index.es274.js +1 -1
  479. package/dist/index.es275.js +2 -2
  480. package/dist/index.es276.js +1 -1
  481. package/dist/index.es277.js +1 -1
  482. package/dist/index.es278.js +1 -1
  483. package/dist/index.es282.js +1 -1
  484. package/dist/index.es283.js +1 -1
  485. package/dist/index.es284.js +1 -1
  486. package/dist/index.es285.js +1 -1
  487. package/dist/index.es286.js +2 -2
  488. package/dist/index.es287.js +1 -1
  489. package/dist/index.es288.js +4 -4
  490. package/dist/index.es289.js +2 -2
  491. package/dist/index.es290.js +6 -6
  492. package/dist/index.es291.js +2 -2
  493. package/dist/index.es332.js +10 -11
  494. package/dist/index.es332.js.map +1 -1
  495. package/dist/index.es333.js +11 -10
  496. package/dist/index.es333.js.map +1 -1
  497. package/dist/index.es334.js +9 -4
  498. package/dist/index.es334.js.map +1 -1
  499. package/dist/index.es335.js +5 -12
  500. package/dist/index.es335.js.map +1 -1
  501. package/dist/index.es336.js +12 -2
  502. package/dist/index.es336.js.map +1 -1
  503. package/dist/index.es337.js +7 -321
  504. package/dist/index.es337.js.map +1 -1
  505. package/dist/index.es338.js +5 -2
  506. package/dist/index.es338.js.map +1 -1
  507. package/dist/index.es339.js +4 -2
  508. package/dist/index.es339.js.map +1 -1
  509. package/dist/index.es340.js +3 -2
  510. package/dist/index.es340.js.map +1 -1
  511. package/dist/index.es341.js +3 -15
  512. package/dist/index.es341.js.map +1 -1
  513. package/dist/index.es342.js +9 -2
  514. package/dist/index.es342.js.map +1 -1
  515. package/dist/index.es343.js +22 -2
  516. package/dist/index.es343.js.map +1 -1
  517. package/dist/index.es344.js +20 -46
  518. package/dist/index.es344.js.map +1 -1
  519. package/dist/index.es345.js +12 -36
  520. package/dist/index.es345.js.map +1 -1
  521. package/dist/index.es346.js +15 -41
  522. package/dist/index.es346.js.map +1 -1
  523. package/dist/index.es347.js +6 -2
  524. package/dist/index.es347.js.map +1 -1
  525. package/dist/index.es348.js +8 -15
  526. package/dist/index.es348.js.map +1 -1
  527. package/dist/index.es349.js +7 -2
  528. package/dist/index.es349.js.map +1 -1
  529. package/dist/index.es350.js +21 -15
  530. package/dist/index.es350.js.map +1 -1
  531. package/dist/index.es351.js +9 -15
  532. package/dist/index.es351.js.map +1 -1
  533. package/dist/index.es352.js +9 -18
  534. package/dist/index.es352.js.map +1 -1
  535. package/dist/index.es353.js +4 -20
  536. package/dist/index.es353.js.map +1 -1
  537. package/dist/index.es354.js +11 -2
  538. package/dist/index.es354.js.map +1 -1
  539. package/dist/index.es355.js +8 -7
  540. package/dist/index.es355.js.map +1 -1
  541. package/dist/index.es356.js +22 -4
  542. package/dist/index.es356.js.map +1 -1
  543. package/dist/index.es357.js +12 -4
  544. package/dist/index.es357.js.map +1 -1
  545. package/dist/index.es358.js +19 -3
  546. package/dist/index.es358.js.map +1 -1
  547. package/dist/index.es359.js +4 -3
  548. package/dist/index.es359.js.map +1 -1
  549. package/dist/index.es360.js +17 -8
  550. package/dist/index.es360.js.map +1 -1
  551. package/dist/index.es361.js +10 -20
  552. package/dist/index.es361.js.map +1 -1
  553. package/dist/index.es362.js +3 -21
  554. package/dist/index.es362.js.map +1 -1
  555. package/dist/index.es363.js +4 -13
  556. package/dist/index.es363.js.map +1 -1
  557. package/dist/index.es364.js +2 -17
  558. package/dist/index.es364.js.map +1 -1
  559. package/dist/index.es365.js +321 -5
  560. package/dist/index.es365.js.map +1 -1
  561. package/dist/index.es366.js +2 -9
  562. package/dist/index.es366.js.map +1 -1
  563. package/dist/index.es367.js +2 -7
  564. package/dist/index.es367.js.map +1 -1
  565. package/dist/index.es368.js +2 -22
  566. package/dist/index.es368.js.map +1 -1
  567. package/dist/index.es369.js +14 -9
  568. package/dist/index.es369.js.map +1 -1
  569. package/dist/index.es370.js +2 -9
  570. package/dist/index.es370.js.map +1 -1
  571. package/dist/index.es371.js +2 -4
  572. package/dist/index.es371.js.map +1 -1
  573. package/dist/index.es372.js +47 -10
  574. package/dist/index.es372.js.map +1 -1
  575. package/dist/index.es373.js +37 -8
  576. package/dist/index.es373.js.map +1 -1
  577. package/dist/index.es374.js +42 -22
  578. package/dist/index.es374.js.map +1 -1
  579. package/dist/index.es375.js +2 -12
  580. package/dist/index.es375.js.map +1 -1
  581. package/dist/index.es376.js +15 -18
  582. package/dist/index.es376.js.map +1 -1
  583. package/dist/index.es377.js +2 -4
  584. package/dist/index.es377.js.map +1 -1
  585. package/dist/index.es378.js +14 -16
  586. package/dist/index.es378.js.map +1 -1
  587. package/dist/index.es379.js +15 -11
  588. package/dist/index.es379.js.map +1 -1
  589. package/dist/index.es380.js +17 -3
  590. package/dist/index.es380.js.map +1 -1
  591. package/dist/index.es381.js +19 -4
  592. package/dist/index.es381.js.map +1 -1
  593. package/dist/index.es382.js +2 -10
  594. package/dist/index.es382.js.map +1 -1
  595. package/dist/index.es388.js +5 -5
  596. package/dist/index.es392.js +2 -2
  597. package/dist/index.es416.js +1 -1
  598. package/dist/index.es417.js +7 -2
  599. package/dist/index.es417.js.map +1 -1
  600. package/dist/index.es418.js +1 -1
  601. package/dist/index.es419.js +1 -1
  602. package/dist/index.es421.js +6 -2
  603. package/dist/index.es421.js.map +1 -1
  604. package/dist/index.es422.js +3 -22
  605. package/dist/index.es422.js.map +1 -1
  606. package/dist/index.es423.js +8 -2
  607. package/dist/index.es423.js.map +1 -1
  608. package/dist/index.es424.js +2 -96
  609. package/dist/index.es424.js.map +1 -1
  610. package/dist/index.es425.js +2 -275
  611. package/dist/index.es425.js.map +1 -1
  612. package/dist/index.es426.js +19 -126
  613. package/dist/index.es426.js.map +1 -1
  614. package/dist/index.es427.js +2 -168
  615. package/dist/index.es427.js.map +1 -1
  616. package/dist/index.es428.js +87 -122
  617. package/dist/index.es428.js.map +1 -1
  618. package/dist/index.es429.js +227 -80
  619. package/dist/index.es429.js.map +1 -1
  620. package/dist/index.es430.js +63 -67
  621. package/dist/index.es430.js.map +1 -1
  622. package/dist/index.es431.js +114 -74
  623. package/dist/index.es431.js.map +1 -1
  624. package/dist/index.es432.js +54 -40
  625. package/dist/index.es432.js.map +1 -1
  626. package/dist/index.es433.js +78 -67
  627. package/dist/index.es433.js.map +1 -1
  628. package/dist/index.es434.js +71 -55
  629. package/dist/index.es434.js.map +1 -1
  630. package/dist/index.es435.js +54 -43
  631. package/dist/index.es435.js.map +1 -1
  632. package/dist/index.es436.js +60 -68
  633. package/dist/index.es436.js.map +1 -1
  634. package/dist/index.es437.js +69 -83
  635. package/dist/index.es437.js.map +1 -1
  636. package/dist/index.es438.js +55 -66
  637. package/dist/index.es438.js.map +1 -1
  638. package/dist/index.es439.js +110 -26
  639. package/dist/index.es439.js.map +1 -1
  640. package/dist/index.es440.js +125 -2
  641. package/dist/index.es440.js.map +1 -1
  642. package/dist/index.es441.js +125 -15
  643. package/dist/index.es441.js.map +1 -1
  644. package/dist/index.es442.js +128 -2
  645. package/dist/index.es442.js.map +1 -1
  646. package/dist/index.es443.js +28 -38
  647. package/dist/index.es443.js.map +1 -1
  648. package/dist/index.es444.js +2 -43
  649. package/dist/index.es444.js.map +1 -1
  650. package/dist/index.es445.js +17 -39
  651. package/dist/index.es445.js.map +1 -1
  652. package/dist/index.es446.js +2 -43
  653. package/dist/index.es446.js.map +1 -1
  654. package/dist/index.es447.js +34 -34
  655. package/dist/index.es447.js.map +1 -1
  656. package/dist/index.es448.js +34 -34
  657. package/dist/index.es448.js.map +1 -1
  658. package/dist/index.es449.js +32 -32
  659. package/dist/index.es449.js.map +1 -1
  660. package/dist/index.es450.js +26 -26
  661. package/dist/index.es450.js.map +1 -1
  662. package/dist/index.es451.js +34 -35
  663. package/dist/index.es451.js.map +1 -1
  664. package/dist/index.es452.js +33 -31
  665. package/dist/index.es452.js.map +1 -1
  666. package/dist/index.es453.js +43 -2
  667. package/dist/index.es453.js.map +1 -1
  668. package/dist/index.es454.js +43 -2
  669. package/dist/index.es454.js.map +1 -1
  670. package/dist/index.es455.js +43 -11
  671. package/dist/index.es455.js.map +1 -1
  672. package/dist/index.es456.js +39 -32
  673. package/dist/index.es456.js.map +1 -1
  674. package/dist/index.es457.js +2 -21
  675. package/dist/index.es457.js.map +1 -1
  676. package/dist/index.es458.js +2 -12
  677. package/dist/index.es458.js.map +1 -1
  678. package/dist/index.es459.js +12 -2
  679. package/dist/index.es459.js.map +1 -1
  680. package/dist/index.es460.js +32 -12
  681. package/dist/index.es460.js.map +1 -1
  682. package/dist/index.es461.js +19 -10
  683. package/dist/index.es461.js.map +1 -1
  684. package/dist/index.es462.js +7 -7
  685. package/dist/index.es462.js.map +1 -1
  686. package/dist/index.es464.js +2 -2
  687. package/dist/index.es465.js +14 -3
  688. package/dist/index.es465.js.map +1 -1
  689. package/dist/index.es466.js +11 -5
  690. package/dist/index.es466.js.map +1 -1
  691. package/dist/index.es467.js +11 -7
  692. package/dist/index.es467.js.map +1 -1
  693. package/dist/index.es468.js +2 -7
  694. package/dist/index.es468.js.map +1 -1
  695. package/dist/index.es469.js +1 -1
  696. package/dist/index.es470.js +1 -1
  697. package/dist/index.es474.js +147 -8
  698. package/dist/index.es474.js.map +1 -1
  699. package/dist/index.es475.js +4 -8
  700. package/dist/index.es475.js.map +1 -1
  701. package/dist/index.es476.js +8 -50
  702. package/dist/index.es476.js.map +1 -1
  703. package/dist/index.es477.js +8 -4
  704. package/dist/index.es477.js.map +1 -1
  705. package/dist/index.es478.js +50 -4
  706. package/dist/index.es478.js.map +1 -1
  707. package/dist/index.es479.js +2 -2
  708. package/dist/index.es480.js +3 -146
  709. package/dist/index.es480.js.map +1 -1
  710. package/dist/index.es481.js +2 -2
  711. package/dist/index.es484.js +102 -111
  712. package/dist/index.es484.js.map +1 -1
  713. package/dist/index.es485.js +111 -102
  714. package/dist/index.es485.js.map +1 -1
  715. package/dist/index.es486.js +8 -2
  716. package/dist/index.es486.js.map +1 -1
  717. package/dist/index.es487.js +14 -2
  718. package/dist/index.es487.js.map +1 -1
  719. package/dist/index.es488.js +3 -2
  720. package/dist/index.es488.js.map +1 -1
  721. package/dist/index.es489.js +2 -151
  722. package/dist/index.es489.js.map +1 -1
  723. package/dist/index.es490.js +2 -2
  724. package/dist/index.es491.js +2 -6
  725. package/dist/index.es491.js.map +1 -1
  726. package/dist/index.es492.js +2 -2
  727. package/dist/index.es494.js +2 -225
  728. package/dist/index.es494.js.map +1 -1
  729. package/dist/index.es495.js +2 -134
  730. package/dist/index.es495.js.map +1 -1
  731. package/dist/index.es496.js +2 -129
  732. package/dist/index.es496.js.map +1 -1
  733. package/dist/index.es497.js +2 -134
  734. package/dist/index.es497.js.map +1 -1
  735. package/dist/index.es498.js +2 -129
  736. package/dist/index.es498.js.map +1 -1
  737. package/dist/index.es499.js +2 -135
  738. package/dist/index.es499.js.map +1 -1
  739. package/dist/index.es500.js +2 -2
  740. package/dist/index.es501.js +151 -2
  741. package/dist/index.es501.js.map +1 -1
  742. package/dist/index.es502.js +2 -2
  743. package/dist/index.es503.js +6 -2
  744. package/dist/index.es503.js.map +1 -1
  745. package/dist/index.es504.js +2 -2
  746. package/dist/index.es505.js +148 -2
  747. package/dist/index.es505.js.map +1 -1
  748. package/dist/index.es506.js +2 -2
  749. package/dist/index.es507.js +138 -2
  750. package/dist/index.es507.js.map +1 -1
  751. package/dist/index.es508.js +2 -2
  752. package/dist/index.es509.js +2 -148
  753. package/dist/index.es509.js.map +1 -1
  754. package/dist/index.es510.js +225 -2
  755. package/dist/index.es510.js.map +1 -1
  756. package/dist/index.es511.js +134 -2
  757. package/dist/index.es511.js.map +1 -1
  758. package/dist/index.es512.js +129 -2
  759. package/dist/index.es512.js.map +1 -1
  760. package/dist/index.es513.js +51 -48
  761. package/dist/index.es513.js.map +1 -1
  762. package/dist/index.es514.js +38 -37
  763. package/dist/index.es514.js.map +1 -1
  764. package/dist/index.es515.js +135 -2
  765. package/dist/index.es515.js.map +1 -1
  766. package/dist/index.es516.js +2 -138
  767. package/dist/index.es516.js.map +1 -1
  768. package/dist/index.es517.js +2 -2
  769. package/dist/index.es518.js +2 -2
  770. package/dist/index.es519.js +2 -2
  771. package/dist/index.es520.js +2 -14
  772. package/dist/index.es520.js.map +1 -1
  773. package/dist/index.es521.js +2 -2
  774. package/dist/index.es522.js +2 -2
  775. package/dist/index.es525.js +2 -2
  776. package/dist/index.es526.js +2 -2
  777. package/dist/index.es527.js +131 -2
  778. package/dist/index.es527.js.map +1 -1
  779. package/dist/index.es528.js +128 -2
  780. package/dist/index.es528.js.map +1 -1
  781. package/dist/index.es529.js +2 -2
  782. package/dist/index.es53.js +1 -1
  783. package/dist/index.es530.js +2 -2
  784. package/dist/index.es531.js +2 -2
  785. package/dist/index.es532.js +14 -2
  786. package/dist/index.es532.js.map +1 -1
  787. package/dist/index.es533.js +2 -2
  788. package/dist/index.es534.js +2 -2
  789. package/dist/index.es535.js +2 -9
  790. package/dist/index.es535.js.map +1 -1
  791. package/dist/index.es536.js +2 -14
  792. package/dist/index.es536.js.map +1 -1
  793. package/dist/index.es54.js +1 -1
  794. package/dist/index.es543.js +2 -2
  795. package/dist/index.es544.js +2 -30
  796. package/dist/index.es544.js.map +1 -1
  797. package/dist/index.es545.js +2 -2
  798. package/dist/index.es546.js +30 -2
  799. package/dist/index.es546.js.map +1 -1
  800. package/dist/index.es547.js +2 -2
  801. package/dist/index.es548.js +2 -2
  802. package/dist/index.es549.js +2 -2
  803. package/dist/index.es55.js +2 -2
  804. package/dist/index.es550.js +2 -2
  805. package/dist/index.es551.js +2 -2
  806. package/dist/index.es556.js +11 -21
  807. package/dist/index.es556.js.map +1 -1
  808. package/dist/index.es557.js +26 -11
  809. package/dist/index.es557.js.map +1 -1
  810. package/dist/index.es558.js +4 -27
  811. package/dist/index.es558.js.map +1 -1
  812. package/dist/index.es559.js +22 -4
  813. package/dist/index.es559.js.map +1 -1
  814. package/dist/index.es57.js +2 -2
  815. package/dist/index.es58.js +2 -2
  816. package/dist/index.es59.js +2 -2
  817. package/dist/index.es61.js +1 -1
  818. package/dist/index.es62.js +2 -2
  819. package/dist/index.es63.js +2 -2
  820. package/dist/index.es65.js +1 -1
  821. package/dist/index.es66.js +1 -1
  822. package/dist/index.es67.js +1 -1
  823. package/dist/index.es71.js +2 -2
  824. package/dist/index.es72.js +3 -3
  825. package/dist/index.es73.js +1 -1
  826. package/dist/index.es75.js +1 -1
  827. package/dist/index.es76.js +1 -1
  828. package/dist/index.es78.js +1 -1
  829. package/dist/index.es87.js +2 -2
  830. package/dist/index.es96.js +2 -2
  831. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs557.js","sources":["../../../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React"],"mappings":"kaAWO,IAAIA,EAAqB,UAAY,CACxC,IAAIC,EAAQC,EAAAA,sBACL,OAAA,SAAUC,EAAQC,EAAW,CAChCC,EAAM,UAAU,UAAY,CACxB,OAAAJ,EAAM,IAAIE,CAAM,EACT,UAAY,CACfF,EAAM,OAAO,CAAA,CACjB,EACD,CAACE,GAAUC,CAAS,CAAC,CAAA,CAEhC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs557.js","sources":["../../../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":"qHACA,SAASA,GAAe,CACpB,GAAI,CAAC,SACM,OAAA,KACP,IAAAC,EAAM,SAAS,cAAc,OAAO,EACxCA,EAAI,KAAO,WACX,IAAIC,EAAQC,EAAAA,WACZ,OAAID,GACID,EAAA,aAAa,QAASC,CAAK,EAE5BD,CACX,CACA,SAASG,EAAaH,EAAKI,EAAK,CAExBJ,EAAI,WAEJA,EAAI,WAAW,QAAUI,EAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC,CAEpD,CACA,SAASC,EAAeL,EAAK,CACzB,IAAIM,EAAO,SAAS,MAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC,EACnEA,EAAK,YAAYN,CAAG,CACxB,CACO,IAAIO,EAAsB,UAAY,CACzC,IAAIC,EAAU,EACVC,EAAa,KACV,MAAA,CACH,IAAK,SAAUC,EAAO,CACdF,GAAW,IACNC,EAAaV,OACdI,EAAaM,EAAYC,CAAK,EAC9BL,EAAeI,CAAU,GAGjCD,GACJ,EACA,OAAQ,UAAY,CAChBA,IACI,CAACA,GAAWC,IACZA,EAAW,YAAcA,EAAW,WAAW,YAAYA,CAAU,EACxDA,EAAA,KAErB,CAAA,CAER","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs559.js");function r(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=o.getNonce();return e&&t.setAttribute("nonce",e),t}function l(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function i(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var u=function(){var t=0,e=null;return{add:function(n){t==0&&(e=r())&&(l(e,n),i(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}};exports.stylesheetSingleton=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};exports.getNonce=e;
2
2
  //# sourceMappingURL=index.cjs558.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs558.js","sources":["../../../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":"qHACA,SAASA,GAAe,CACpB,GAAI,CAAC,SACM,OAAA,KACP,IAAAC,EAAM,SAAS,cAAc,OAAO,EACxCA,EAAI,KAAO,WACX,IAAIC,EAAQC,EAAAA,WACZ,OAAID,GACID,EAAA,aAAa,QAASC,CAAK,EAE5BD,CACX,CACA,SAASG,EAAaH,EAAKI,EAAK,CAExBJ,EAAI,WAEJA,EAAI,WAAW,QAAUI,EAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC,CAEpD,CACA,SAASC,EAAeL,EAAK,CACzB,IAAIM,EAAO,SAAS,MAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC,EACnEA,EAAK,YAAYN,CAAG,CACxB,CACO,IAAIO,EAAsB,UAAY,CACzC,IAAIC,EAAU,EACVC,EAAa,KACV,MAAA,CACH,IAAK,SAAUC,EAAO,CACdF,GAAW,IACNC,EAAaV,OACdI,EAAaM,EAAYC,CAAK,EAC9BL,EAAeI,CAAU,GAGjCD,GACJ,EACA,OAAQ,UAAY,CAChBA,IACI,CAACA,GAAWC,IACZA,EAAW,YAAcA,EAAW,WAAW,YAAYA,CAAU,EACxDA,EAAA,KAErB,CAAA,CAER","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs558.js","sources":["../../../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"gFAIO,IAAIA,EAAW,UAAY,CAI1B,GAAA,OAAO,kBAAsB,IACtB,OAAA,iBAGf","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};exports.getNonce=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var a={left:0,top:0,right:0,gap:0},r=function(t){return parseInt(t||"",10)||0},o=function(t){var i=window.getComputedStyle(document.body),n=i[t==="padding"?"paddingLeft":"marginLeft"],e=i[t==="padding"?"paddingTop":"marginTop"],d=i[t==="padding"?"paddingRight":"marginRight"];return[r(n),r(e),r(d)]},g=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return a;var i=o(t),n=document.documentElement.clientWidth,e=window.innerWidth;return{left:i[0],top:i[1],right:i[2],gap:Math.max(0,e-n+i[2]-i[0])}};exports.getGapWidth=g;exports.zeroGap=a;
2
2
  //# sourceMappingURL=index.cjs559.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs559.js","sources":["../../../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"gFAIO,IAAIA,EAAW,UAAY,CAI1B,GAAA,OAAO,kBAAsB,IACtB,OAAA,iBAGf","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs559.js","sources":["../../../node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"names":["zeroGap","parse","x","getOffset","gapMode","cs","left","top","right","getGapWidth","offsets","documentWidth","windowWidth"],"mappings":"gFAAO,IAAIA,EAAU,CACjB,KAAM,EACN,IAAK,EACL,MAAO,EACP,IAAK,CACT,EACIC,EAAQ,SAAUC,EAAG,CAAE,OAAO,SAASA,GAAK,GAAI,EAAE,GAAK,CAAG,EAC1DC,EAAY,SAAUC,EAAS,CAC/B,IAAIC,EAAK,OAAO,iBAAiB,SAAS,IAAI,EAC1CC,EAAOD,EAAGD,IAAY,UAAY,cAAgB,YAAY,EAC9DG,EAAMF,EAAGD,IAAY,UAAY,aAAe,WAAW,EAC3DI,EAAQH,EAAGD,IAAY,UAAY,eAAiB,aAAa,EAC9D,MAAA,CAACH,EAAMK,CAAI,EAAGL,EAAMM,CAAG,EAAGN,EAAMO,CAAK,CAAC,CACjD,EACWC,EAAc,SAAUL,EAAS,CAEpC,GADAA,IAAY,SAAoBA,EAAA,UAChC,OAAO,OAAW,IACX,OAAAJ,EAEP,IAAAU,EAAUP,EAAUC,CAAO,EAC3BO,EAAgB,SAAS,gBAAgB,YACzCC,EAAc,OAAO,WAClB,MAAA,CACH,KAAMF,EAAQ,CAAC,EACf,IAAKA,EAAQ,CAAC,EACd,MAAOA,EAAQ,CAAC,EAChB,IAAK,KAAK,IAAI,EAAGE,EAAcD,EAAgBD,EAAQ,CAAC,EAAIA,EAAQ,CAAC,CAAC,CAAA,CAE9E","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs355.js"),t=require("./index.cjs54.js"),e=require("./index.cjs361.js"),i=t.isIE11?e.ie11fingerprint(e.mapMethods):r("Map");module.exports=i;
1
+ "use strict";const r=require("./index.cjs337.js"),t=require("./index.cjs54.js"),e=require("./index.cjs343.js"),i=t.isIE11?e.ie11fingerprint(e.mapMethods):r("Map");module.exports=i;
2
2
  //# sourceMappingURL=index.cjs57.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs355.js"),t=require("./index.cjs54.js"),e=require("./index.cjs361.js"),i=t.isIE11?e.ie11fingerprint(e.weakMapMethods):r("WeakMap");module.exports=i;
1
+ "use strict";const r=require("./index.cjs337.js"),t=require("./index.cjs54.js"),e=require("./index.cjs343.js"),i=t.isIE11?e.ie11fingerprint(e.weakMapMethods):r("WeakMap");module.exports=i;
2
2
  //# sourceMappingURL=index.cjs58.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs355.js"),r=require("./index.cjs54.js"),e=require("./index.cjs361.js"),s=r.isIE11?e.ie11fingerprint(e.setMethods):t("Set");module.exports=s;
1
+ "use strict";const t=require("./index.cjs337.js"),r=require("./index.cjs54.js"),e=require("./index.cjs343.js"),s=r.isIE11?e.ie11fingerprint(e.setMethods):t("Set");module.exports=s;
2
2
  //# sourceMappingURL=index.cjs59.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const i=require("./index.cjs56.js"),n=require("./index.cjs372.js");function e(t,r){return n(t,r,1/0)}i.iteratee=e;module.exports=e;
1
+ "use strict";const i=require("./index.cjs56.js"),n=require("./index.cjs354.js");function e(t,r){return n(t,r,1/0)}i.iteratee=e;module.exports=e;
2
2
  //# sourceMappingURL=index.cjs61.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs369.js"),s=require("./index.cjs370.js"),c=e(s);module.exports=c;
1
+ "use strict";const e=require("./index.cjs351.js"),s=require("./index.cjs352.js"),c=e(s);module.exports=c;
2
2
  //# sourceMappingURL=index.cjs62.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs369.js"),s=require("./index.cjs371.js"),c=e(s);module.exports=c;
1
+ "use strict";const e=require("./index.cjs351.js"),s=require("./index.cjs353.js"),c=e(s);module.exports=c;
2
2
  //# sourceMappingURL=index.cjs63.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const l=require("./index.cjs181.js"),h=require("./index.cjs373.js"),i=require("./index.cjs56.js");var a=l(function(o,e){var c=a.placeholder,s=function(){for(var t=0,u=e.length,n=Array(u),r=0;r<u;r++)n[r]=e[r]===c?arguments[t++]:e[r];for(;t<arguments.length;)n.push(arguments[t++]);return h(o,s,this,this,n)};return s});a.placeholder=i;module.exports=a;
1
+ "use strict";const l=require("./index.cjs181.js"),h=require("./index.cjs355.js"),i=require("./index.cjs56.js");var a=l(function(o,e){var c=a.placeholder,s=function(){for(var t=0,u=e.length,n=Array(u),r=0;r<u;r++)n[r]=e[r]===c?arguments[t++]:e[r];for(;t<arguments.length;)n.push(arguments[t++]);return h(o,s,this,this,n)};return s});a.placeholder=i;module.exports=a;
2
2
  //# sourceMappingURL=index.cjs65.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs181.js"),i=require("./index.cjs53.js"),c=require("./index.cjs373.js"),s=e(function(n,r,o){if(!i(n))throw new TypeError("Bind must be called on a function");var t=e(function(u){return c(n,t,r,this,o.concat(u))});return t});module.exports=s;
1
+ "use strict";const e=require("./index.cjs181.js"),i=require("./index.cjs53.js"),c=require("./index.cjs355.js"),s=e(function(n,r,o){if(!i(n))throw new TypeError("Bind must be called on a function");var t=e(function(u){return c(n,t,r,this,o.concat(u))});return t});module.exports=s;
2
2
  //# sourceMappingURL=index.cjs66.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const i=require("./index.cjs181.js"),s=require("./index.cjs374.js"),l=require("./index.cjs66.js"),u=i(function(n,r){r=s(r,!1,!1);var e=r.length;if(e<1)throw new Error("bindAll must be passed function names");for(;e--;){var t=r[e];n[t]=l(n[t],n)}return n});module.exports=u;
1
+ "use strict";const i=require("./index.cjs181.js"),s=require("./index.cjs356.js"),l=require("./index.cjs66.js"),u=i(function(n,r){r=s(r,!1,!1);var e=r.length;if(e<1)throw new Error("bindAll must be passed function names");for(;e--;){var t=r[e];n[t]=l(n[t],n)}return n});module.exports=u;
2
2
  //# sourceMappingURL=index.cjs67.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs181.js"),c=require("./index.cjs53.js"),l=require("./index.cjs248.js"),f=require("./index.cjs366.js"),q=require("./index.cjs365.js"),v=t(function(s,e,o){var i,u;return c(e)?u=e:(e=q(e),i=e.slice(0,-1),e=e[e.length-1]),l(s,function(r){var n=u;if(!n){if(i&&i.length&&(r=f(r,i)),r==null)return;n=r[e]}return n==null?n:n.apply(r,o)})});module.exports=v;
1
+ "use strict";const t=require("./index.cjs181.js"),c=require("./index.cjs53.js"),l=require("./index.cjs248.js"),f=require("./index.cjs348.js"),q=require("./index.cjs347.js"),v=t(function(s,e,o){var i,u;return c(e)?u=e:(e=q(e),i=e.slice(0,-1),e=e[e.length-1]),l(s,function(r){var n=u;if(!n){if(i&&i.length&&(r=f(r,i)),r==null)return;n=r[e]}return n==null?n:n.apply(r,o)})});module.exports=v;
2
2
  //# sourceMappingURL=index.cjs71.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const l=require("./index.cjs181.js"),f=require("./index.cjs53.js"),a=require("./index.cjs368.js"),o=require("./index.cjs204.js"),q=require("./index.cjs380.js"),g=require("./index.cjs374.js"),p=l(function(t,r){var n={},e=r[0];if(t==null)return n;f(e)?(r.length>1&&(e=a(e,r[1])),r=o(t)):(e=q,r=g(r,!1,!1),t=Object(t));for(var i=0,s=r.length;i<s;i++){var u=r[i],c=t[u];e(c,u,t)&&(n[u]=c)}return n});module.exports=p;
1
+ "use strict";const l=require("./index.cjs181.js"),f=require("./index.cjs53.js"),a=require("./index.cjs350.js"),o=require("./index.cjs204.js"),q=require("./index.cjs362.js"),g=require("./index.cjs356.js"),p=l(function(t,r){var n={},e=r[0];if(t==null)return n;f(e)?(r.length>1&&(e=a(e,r[1])),r=o(t)):(e=q,r=g(r,!1,!1),t=Object(t));for(var i=0,s=r.length;i<s;i++){var u=r[i],c=t[u];e(c,u,t)&&(n[u]=c)}return n});module.exports=p;
2
2
  //# sourceMappingURL=index.cjs72.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("./index.cjs181.js"),o=require("./index.cjs53.js"),u=require("./index.cjs235.js"),s=require("./index.cjs248.js"),a=require("./index.cjs374.js"),f=require("./index.cjs255.js"),q=require("./index.cjs72.js"),l=c(function(n,t){var e=t[0],r;return o(e)?(e=u(e),t.length>1&&(r=t[1])):(t=s(a(t,!1,!1),String),e=function(g,i){return!f(t,i)}),q(n,e,r)});module.exports=l;
1
+ "use strict";const c=require("./index.cjs181.js"),o=require("./index.cjs53.js"),u=require("./index.cjs235.js"),s=require("./index.cjs248.js"),a=require("./index.cjs356.js"),f=require("./index.cjs255.js"),q=require("./index.cjs72.js"),l=c(function(n,t){var e=t[0],r;return o(e)?(e=u(e),t.length>1&&(r=t[1])):(t=s(a(t,!1,!1),String),e=function(g,i){return!f(t,i)}),q(n,e,r)});module.exports=l;
2
2
  //# sourceMappingURL=index.cjs73.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs181.js"),r=require("./index.cjs275.js"),n=require("./index.cjs374.js"),u=e(function(t){return r(n(t,!0,!0))});module.exports=u;
1
+ "use strict";const e=require("./index.cjs181.js"),r=require("./index.cjs275.js"),n=require("./index.cjs356.js"),u=e(function(t){return r(n(t,!0,!0))});module.exports=u;
2
2
  //# sourceMappingURL=index.cjs75.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./index.cjs181.js"),u=require("./index.cjs374.js"),c=require("./index.cjs251.js"),i=require("./index.cjs255.js"),o=n(function(r,e){return e=u(e,!0,!0),c(r,function(t){return!i(e,t)})});module.exports=o;
1
+ "use strict";const n=require("./index.cjs181.js"),u=require("./index.cjs356.js"),c=require("./index.cjs251.js"),i=require("./index.cjs255.js"),o=n(function(r,e){return e=u(e,!0,!0),c(r,function(t){return!i(e,t)})});module.exports=o;
2
2
  //# sourceMappingURL=index.cjs76.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const o=require("./index.cjs56.js"),s=require("./index.cjs247.js"),i=require("./index.cjs52.js"),n=require("./index.cjs381.js");s(["pop","push","reverse","shift","sort","splice","unshift"],function(r){var e=i.ArrayProto[r];o.prototype[r]=function(){var t=this._wrapped;return t!=null&&(e.apply(t,arguments),(r==="shift"||r==="splice")&&t.length===0&&delete t[0]),n(this,t)}});s(["concat","join","slice"],function(r){var e=i.ArrayProto[r];o.prototype[r]=function(){var t=this._wrapped;return t!=null&&(t=e.apply(t,arguments)),n(this,t)}});module.exports=o;
1
+ "use strict";const o=require("./index.cjs56.js"),s=require("./index.cjs247.js"),i=require("./index.cjs52.js"),n=require("./index.cjs363.js");s(["pop","push","reverse","shift","sort","splice","unshift"],function(r){var e=i.ArrayProto[r];o.prototype[r]=function(){var t=this._wrapped;return t!=null&&(e.apply(t,arguments),(r==="shift"||r==="splice")&&t.length===0&&delete t[0]),n(this,t)}});s(["concat","join","slice"],function(r){var e=i.ArrayProto[r];o.prototype[r]=function(){var t=this._wrapped;return t!=null&&(t=e.apply(t,arguments)),n(this,t)}});module.exports=o;
2
2
  //# sourceMappingURL=index.cjs78.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./index.cjs111.js"),n=require("react"),g=require("./index.cjs113.js"),R=require("./index.cjs114.js"),v=require("./index.cjs112.js"),w=require("./index.cjs115.js"),_=require("./index.cjs143.js"),B=require("./index.cjs144.js"),D=require("./index.cjs116.js"),q="Checkbox",[H,I]=R.createContextScope(q),[O,j]=H(q),y=n.forwardRef((e,b)=>{const{__scopeCheckbox:o,name:l,checked:p,defaultChecked:f,required:d,disabled:c,value:s="on",onCheckedChange:$,...m}=e,[r,h]=n.useState(null),P=g.useComposedRefs(b,t=>h(t)),k=n.useRef(!1),x=r?!!r.closest("form"):!0,[a=!1,C]=w.useControllableState({prop:p,defaultProp:f,onChange:$}),S=n.useRef(a);return n.useEffect(()=>{const t=r==null?void 0:r.form;if(t){const u=()=>C(S.current);return t.addEventListener("reset",u),()=>t.removeEventListener("reset",u)}},[r,C]),n.createElement(O,{scope:o,state:a,disabled:c},n.createElement(D.Primitive.button,E({type:"button",role:"checkbox","aria-checked":i(a)?"mixed":a,"aria-required":d,"data-state":L(a),"data-disabled":c?"":void 0,disabled:c,value:s},m,{ref:P,onKeyDown:v.composeEventHandlers(e.onKeyDown,t=>{t.key==="Enter"&&t.preventDefault()}),onClick:v.composeEventHandlers(e.onClick,t=>{C(u=>i(u)?!0:!u),x&&(k.current=t.isPropagationStopped(),k.current||t.stopPropagation())})})),x&&n.createElement(K,{control:r,bubbles:!k.current,name:l,value:s,checked:a,required:d,disabled:c,style:{transform:"translateX(-100%)"}}))}),K=e=>{const{control:b,checked:o,bubbles:l=!0,...p}=e,f=n.useRef(null),d=_.usePrevious(o),c=B.useSize(b);return n.useEffect(()=>{const s=f.current,$=window.HTMLInputElement.prototype,r=Object.getOwnPropertyDescriptor($,"checked").set;if(d!==o&&r){const h=new Event("click",{bubbles:l});s.indeterminate=i(o),r.call(s,i(o)?!1:o),s.dispatchEvent(h)}},[d,o,l]),n.createElement("input",E({type:"checkbox","aria-hidden":!0,defaultChecked:i(o)?!1:o},p,{tabIndex:-1,ref:f,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function i(e){return e==="indeterminate"}function L(e){return i(e)?"indeterminate":e?"checked":"unchecked"}const M=y;exports.Checkbox=y;exports.Root=M;exports.createCheckboxScope=I;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./index.cjs111.js"),n=require("react"),g=require("./index.cjs113.js"),R=require("./index.cjs114.js"),v=require("./index.cjs112.js"),w=require("./index.cjs115.js"),_=require("./index.cjs141.js"),B=require("./index.cjs142.js"),D=require("./index.cjs116.js"),q="Checkbox",[H,I]=R.createContextScope(q),[O,j]=H(q),y=n.forwardRef((e,b)=>{const{__scopeCheckbox:o,name:l,checked:p,defaultChecked:f,required:d,disabled:c,value:s="on",onCheckedChange:$,...m}=e,[r,h]=n.useState(null),P=g.useComposedRefs(b,t=>h(t)),k=n.useRef(!1),x=r?!!r.closest("form"):!0,[a=!1,C]=w.useControllableState({prop:p,defaultProp:f,onChange:$}),S=n.useRef(a);return n.useEffect(()=>{const t=r==null?void 0:r.form;if(t){const u=()=>C(S.current);return t.addEventListener("reset",u),()=>t.removeEventListener("reset",u)}},[r,C]),n.createElement(O,{scope:o,state:a,disabled:c},n.createElement(D.Primitive.button,E({type:"button",role:"checkbox","aria-checked":i(a)?"mixed":a,"aria-required":d,"data-state":L(a),"data-disabled":c?"":void 0,disabled:c,value:s},m,{ref:P,onKeyDown:v.composeEventHandlers(e.onKeyDown,t=>{t.key==="Enter"&&t.preventDefault()}),onClick:v.composeEventHandlers(e.onClick,t=>{C(u=>i(u)?!0:!u),x&&(k.current=t.isPropagationStopped(),k.current||t.stopPropagation())})})),x&&n.createElement(K,{control:r,bubbles:!k.current,name:l,value:s,checked:a,required:d,disabled:c,style:{transform:"translateX(-100%)"}}))}),K=e=>{const{control:b,checked:o,bubbles:l=!0,...p}=e,f=n.useRef(null),d=_.usePrevious(o),c=B.useSize(b);return n.useEffect(()=>{const s=f.current,$=window.HTMLInputElement.prototype,r=Object.getOwnPropertyDescriptor($,"checked").set;if(d!==o&&r){const h=new Event("click",{bubbles:l});s.indeterminate=i(o),r.call(s,i(o)?!1:o),s.dispatchEvent(h)}},[d,o,l]),n.createElement("input",E({type:"checkbox","aria-hidden":!0,defaultChecked:i(o)?!1:o},p,{tabIndex:-1,ref:f,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function i(e){return e==="indeterminate"}function L(e){return i(e)?"indeterminate":e?"checked":"unchecked"}const M=y;exports.Checkbox=y;exports.Root=M;exports.createCheckboxScope=I;
2
2
  //# sourceMappingURL=index.cjs87.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./index.cjs111.js"),o=require("react"),J=require("./index.cjs114.js"),Q=require("./index.cjs141.js"),W=require("./index.cjs113.js"),X=require("./index.cjs112.js"),N=require("./index.cjs115.js"),M=require("./index.cjs116.js"),v=require("./index.cjs128.js"),Z=require("./index.cjs118.js"),ee=require("./index.cjs142.js"),p="Accordion",oe=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[V,te,ne]=Q.createCollection(p),[g,re]=J.createContextScope(p,[ne,v.createCollapsibleScope]),k=v.createCollapsibleScope(),q=o.forwardRef((e,c)=>{const{type:t,...r}=e,i=r,n=r;return o.createElement(V.Provider,{scope:e.__scopeAccordion},t==="multiple"?o.createElement(le,b({},n,{ref:c})):o.createElement(ae,b({},i,{ref:c})))});q.propTypes={type(e){const c=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?new Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):e.type==="multiple"&&typeof c=="string"?new Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):e.type==="single"&&Array.isArray(c)?new Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};const[H,ce]=g(p),[K,ie]=g(p,{collapsible:!1}),ae=o.forwardRef((e,c)=>{const{value:t,defaultValue:r,onValueChange:i=()=>{},collapsible:n=!1,...a}=e,[l,s]=N.useControllableState({prop:t,defaultProp:r,onChange:i});return o.createElement(H,{scope:e.__scopeAccordion,value:l?[l]:[],onItemOpen:s,onItemClose:o.useCallback(()=>n&&s(""),[n,s])},o.createElement(K,{scope:e.__scopeAccordion,collapsible:n},o.createElement(L,b({},a,{ref:c}))))}),le=o.forwardRef((e,c)=>{const{value:t,defaultValue:r,onValueChange:i=()=>{},...n}=e,[a=[],l]=N.useControllableState({prop:t,defaultProp:r,onChange:i}),s=o.useCallback($=>l((f=[])=>[...f,$]),[l]),u=o.useCallback($=>l((f=[])=>f.filter(x=>x!==$)),[l]);return o.createElement(H,{scope:e.__scopeAccordion,value:a,onItemOpen:s,onItemClose:u},o.createElement(K,{scope:e.__scopeAccordion,collapsible:!0},o.createElement(L,b({},n,{ref:c}))))}),[se,C]=g(p),L=o.forwardRef((e,c)=>{const{__scopeAccordion:t,disabled:r,dir:i,orientation:n="vertical",...a}=e,l=o.useRef(null),s=W.useComposedRefs(l,c),u=te(t),f=ee.useDirection(i)==="ltr",x=X.composeEventHandlers(e.onKeyDown,m=>{var _;if(!oe.includes(m.key))return;const B=m.target,E=u().filter(P=>{var R;return!((R=P.ref.current)!==null&&R!==void 0&&R.disabled)}),A=E.findIndex(P=>P.ref.current===B),O=E.length;if(A===-1)return;m.preventDefault();let d=A;const I=0,w=O-1,h=()=>{d=A+1,d>w&&(d=I)},y=()=>{d=A-1,d<I&&(d=w)};switch(m.key){case"Home":d=I;break;case"End":d=w;break;case"ArrowRight":n==="horizontal"&&(f?h():y());break;case"ArrowDown":n==="vertical"&&h();break;case"ArrowLeft":n==="horizontal"&&(f?y():h());break;case"ArrowUp":n==="vertical"&&y();break}const F=d%O;(_=E[F].ref.current)===null||_===void 0||_.focus()});return o.createElement(se,{scope:t,disabled:r,direction:i,orientation:n},o.createElement(V.Slot,{scope:t},o.createElement(M.Primitive.div,b({},a,{"data-orientation":n,ref:s,onKeyDown:r?void 0:x}))))}),S="AccordionItem",[de,D]=g(S),z=o.forwardRef((e,c)=>{const{__scopeAccordion:t,value:r,...i}=e,n=C(S,t),a=ce(S,t),l=k(t),s=Z.useId(),u=r&&a.value.includes(r)||!1,$=n.disabled||e.disabled;return o.createElement(de,{scope:t,open:u,disabled:$,triggerId:s},o.createElement(v.Root,b({"data-orientation":n.orientation,"data-state":Y(u)},l,i,{ref:c,disabled:$,open:u,onOpenChange:f=>{f?a.onItemOpen(r):a.onItemClose(r)}})))}),be="AccordionHeader",G=o.forwardRef((e,c)=>{const{__scopeAccordion:t,...r}=e,i=C(p,t),n=D(be,t);return o.createElement(M.Primitive.h3,b({"data-orientation":i.orientation,"data-state":Y(n.open),"data-disabled":n.disabled?"":void 0},r,{ref:c}))}),T="AccordionTrigger",U=o.forwardRef((e,c)=>{const{__scopeAccordion:t,...r}=e,i=C(p,t),n=D(T,t),a=ie(T,t),l=k(t);return o.createElement(V.ItemSlot,{scope:t},o.createElement(v.Trigger,b({"aria-disabled":n.open&&!a.collapsible||void 0,"data-orientation":i.orientation,id:n.triggerId},l,r,{ref:c})))}),fe="AccordionContent",j=o.forwardRef((e,c)=>{const{__scopeAccordion:t,...r}=e,i=C(p,t),n=D(fe,t),a=k(t);return o.createElement(v.Content,b({role:"region","aria-labelledby":n.triggerId,"data-orientation":i.orientation},a,r,{ref:c,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}}))});function Y(e){return e?"open":"closed"}const pe=q,ue=z,$e=G,ve=U,me=j;exports.Accordion=q;exports.AccordionContent=j;exports.AccordionHeader=G;exports.AccordionItem=z;exports.AccordionTrigger=U;exports.Content=me;exports.Header=$e;exports.Item=ue;exports.Root=pe;exports.Trigger=ve;exports.createAccordionScope=re;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./index.cjs111.js"),o=require("react"),J=require("./index.cjs114.js"),Q=require("./index.cjs143.js"),W=require("./index.cjs113.js"),X=require("./index.cjs112.js"),N=require("./index.cjs115.js"),M=require("./index.cjs116.js"),v=require("./index.cjs128.js"),Z=require("./index.cjs118.js"),ee=require("./index.cjs144.js"),p="Accordion",oe=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[V,te,ne]=Q.createCollection(p),[g,re]=J.createContextScope(p,[ne,v.createCollapsibleScope]),k=v.createCollapsibleScope(),q=o.forwardRef((e,c)=>{const{type:t,...r}=e,i=r,n=r;return o.createElement(V.Provider,{scope:e.__scopeAccordion},t==="multiple"?o.createElement(le,b({},n,{ref:c})):o.createElement(ae,b({},i,{ref:c})))});q.propTypes={type(e){const c=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?new Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):e.type==="multiple"&&typeof c=="string"?new Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):e.type==="single"&&Array.isArray(c)?new Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};const[H,ce]=g(p),[K,ie]=g(p,{collapsible:!1}),ae=o.forwardRef((e,c)=>{const{value:t,defaultValue:r,onValueChange:i=()=>{},collapsible:n=!1,...a}=e,[l,s]=N.useControllableState({prop:t,defaultProp:r,onChange:i});return o.createElement(H,{scope:e.__scopeAccordion,value:l?[l]:[],onItemOpen:s,onItemClose:o.useCallback(()=>n&&s(""),[n,s])},o.createElement(K,{scope:e.__scopeAccordion,collapsible:n},o.createElement(L,b({},a,{ref:c}))))}),le=o.forwardRef((e,c)=>{const{value:t,defaultValue:r,onValueChange:i=()=>{},...n}=e,[a=[],l]=N.useControllableState({prop:t,defaultProp:r,onChange:i}),s=o.useCallback($=>l((f=[])=>[...f,$]),[l]),u=o.useCallback($=>l((f=[])=>f.filter(x=>x!==$)),[l]);return o.createElement(H,{scope:e.__scopeAccordion,value:a,onItemOpen:s,onItemClose:u},o.createElement(K,{scope:e.__scopeAccordion,collapsible:!0},o.createElement(L,b({},n,{ref:c}))))}),[se,C]=g(p),L=o.forwardRef((e,c)=>{const{__scopeAccordion:t,disabled:r,dir:i,orientation:n="vertical",...a}=e,l=o.useRef(null),s=W.useComposedRefs(l,c),u=te(t),f=ee.useDirection(i)==="ltr",x=X.composeEventHandlers(e.onKeyDown,m=>{var _;if(!oe.includes(m.key))return;const B=m.target,E=u().filter(P=>{var R;return!((R=P.ref.current)!==null&&R!==void 0&&R.disabled)}),A=E.findIndex(P=>P.ref.current===B),O=E.length;if(A===-1)return;m.preventDefault();let d=A;const I=0,w=O-1,h=()=>{d=A+1,d>w&&(d=I)},y=()=>{d=A-1,d<I&&(d=w)};switch(m.key){case"Home":d=I;break;case"End":d=w;break;case"ArrowRight":n==="horizontal"&&(f?h():y());break;case"ArrowDown":n==="vertical"&&h();break;case"ArrowLeft":n==="horizontal"&&(f?y():h());break;case"ArrowUp":n==="vertical"&&y();break}const F=d%O;(_=E[F].ref.current)===null||_===void 0||_.focus()});return o.createElement(se,{scope:t,disabled:r,direction:i,orientation:n},o.createElement(V.Slot,{scope:t},o.createElement(M.Primitive.div,b({},a,{"data-orientation":n,ref:s,onKeyDown:r?void 0:x}))))}),S="AccordionItem",[de,D]=g(S),z=o.forwardRef((e,c)=>{const{__scopeAccordion:t,value:r,...i}=e,n=C(S,t),a=ce(S,t),l=k(t),s=Z.useId(),u=r&&a.value.includes(r)||!1,$=n.disabled||e.disabled;return o.createElement(de,{scope:t,open:u,disabled:$,triggerId:s},o.createElement(v.Root,b({"data-orientation":n.orientation,"data-state":Y(u)},l,i,{ref:c,disabled:$,open:u,onOpenChange:f=>{f?a.onItemOpen(r):a.onItemClose(r)}})))}),be="AccordionHeader",G=o.forwardRef((e,c)=>{const{__scopeAccordion:t,...r}=e,i=C(p,t),n=D(be,t);return o.createElement(M.Primitive.h3,b({"data-orientation":i.orientation,"data-state":Y(n.open),"data-disabled":n.disabled?"":void 0},r,{ref:c}))}),T="AccordionTrigger",U=o.forwardRef((e,c)=>{const{__scopeAccordion:t,...r}=e,i=C(p,t),n=D(T,t),a=ie(T,t),l=k(t);return o.createElement(V.ItemSlot,{scope:t},o.createElement(v.Trigger,b({"aria-disabled":n.open&&!a.collapsible||void 0,"data-orientation":i.orientation,id:n.triggerId},l,r,{ref:c})))}),fe="AccordionContent",j=o.forwardRef((e,c)=>{const{__scopeAccordion:t,...r}=e,i=C(p,t),n=D(fe,t),a=k(t);return o.createElement(v.Content,b({role:"region","aria-labelledby":n.triggerId,"data-orientation":i.orientation},a,r,{ref:c,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}}))});function Y(e){return e?"open":"closed"}const pe=q,ue=z,$e=G,ve=U,me=j;exports.Accordion=q;exports.AccordionContent=j;exports.AccordionHeader=G;exports.AccordionItem=z;exports.AccordionTrigger=U;exports.Content=me;exports.Header=$e;exports.Item=ue;exports.Root=pe;exports.Trigger=ve;exports.createAccordionScope=re;
2
2
  //# sourceMappingURL=index.cjs96.js.map
@@ -1,7 +1,7 @@
1
- import O from "./index.es332.js";
2
- import { safelyRunOnBrowser as d } from "./index.es333.js";
3
- import { createDocumentationLink as W } from "./index.es334.js";
4
- import { warning as $ } from "./index.es335.js";
1
+ import O from "./index.es333.js";
2
+ import { safelyRunOnBrowser as d } from "./index.es334.js";
3
+ import { createDocumentationLink as W } from "./index.es335.js";
4
+ import { warning as $ } from "./index.es336.js";
5
5
  function f(i) {
6
6
  "@babel/helpers - typeof";
7
7
  return f = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -1,10 +1,10 @@
1
1
  import p from "./index.es111.js";
2
2
  import { useState as K, useRef as x, useEffect as N, createElement as s, useCallback as w, forwardRef as b, Fragment as Se } from "react";
3
3
  import { composeEventHandlers as v } from "./index.es112.js";
4
- import { createCollection as Re } from "./index.es141.js";
4
+ import { createCollection as Re } from "./index.es143.js";
5
5
  import { useComposedRefs as V } from "./index.es113.js";
6
6
  import { createContextScope as we } from "./index.es114.js";
7
- import { useDirection as De } from "./index.es142.js";
7
+ import { useDirection as De } from "./index.es144.js";
8
8
  import { DismissableLayer as Oe } from "./index.es119.js";
9
9
  import { useFocusGuards as Te } from "./index.es123.js";
10
10
  import { FocusScope as ke } from "./index.es120.js";
@@ -5,7 +5,7 @@ import { createContextScope as A } from "./index.es114.js";
5
5
  import { createRovingFocusGroupScope as x, Root as S, Item as E } from "./index.es150.js";
6
6
  import { Presence as P } from "./index.es122.js";
7
7
  import { Primitive as v } from "./index.es116.js";
8
- import { useDirection as F } from "./index.es142.js";
8
+ import { useDirection as F } from "./index.es144.js";
9
9
  import { useControllableState as R } from "./index.es115.js";
10
10
  import { useId as V } from "./index.es118.js";
11
11
  const g = "Tabs", [y, Y] = A(g, [
@@ -6,9 +6,9 @@ import { createContextScope as _ } from "./index.es114.js";
6
6
  import { Primitive as g } from "./index.es116.js";
7
7
  import { createRovingFocusGroupScope as y, Root as I, Item as q } from "./index.es150.js";
8
8
  import { useControllableState as D } from "./index.es115.js";
9
- import { useDirection as F } from "./index.es142.js";
10
- import { useSize as V } from "./index.es144.js";
11
- import { usePrevious as L } from "./index.es143.js";
9
+ import { useDirection as F } from "./index.es144.js";
10
+ import { useSize as V } from "./index.es142.js";
11
+ import { usePrevious as L } from "./index.es141.js";
12
12
  const E = "Radio", [O, G] = _(E), [K, se] = O(E), M = /* @__PURE__ */ k((c, m) => {
13
13
  const { __scopeRadio: o, name: f, checked: t = !1, required: a, disabled: r, value: d = "on", onCheck: n, ...p } = c, [$, s] = A(null), i = C(
14
14
  m,
@@ -3,10 +3,10 @@ import { useState as P, useRef as U, createElement as p, useCallback as N, forwa
3
3
  import { createPortal as Oe } from "react-dom";
4
4
  import { clamp as Ie } from "./index.es170.js";
5
5
  import { composeEventHandlers as R } from "./index.es112.js";
6
- import { createCollection as We } from "./index.es141.js";
6
+ import { createCollection as We } from "./index.es143.js";
7
7
  import { useComposedRefs as W } from "./index.es113.js";
8
8
  import { createContextScope as Fe } from "./index.es114.js";
9
- import { useDirection as Ke } from "./index.es142.js";
9
+ import { useDirection as Ke } from "./index.es144.js";
10
10
  import { DismissableLayer as Ue } from "./index.es119.js";
11
11
  import { useFocusGuards as Ge } from "./index.es123.js";
12
12
  import { FocusScope as qe } from "./index.es120.js";
@@ -18,7 +18,7 @@ import { Slot as Ze } from "./index.es126.js";
18
18
  import { useCallbackRef as Je } from "./index.es148.js";
19
19
  import { useControllableState as Pe } from "./index.es115.js";
20
20
  import { useLayoutEffect as Y } from "./index.es151.js";
21
- import { usePrevious as Qe } from "./index.es143.js";
21
+ import { usePrevious as Qe } from "./index.es141.js";
22
22
  import { VisuallyHidden as et } from "./index.es171.js";
23
23
  import { hideOthers as tt } from "./index.es125.js";
24
24
  import ot from "./index.es124.js";
@@ -4,8 +4,8 @@ import { composeEventHandlers as R } from "./index.es112.js";
4
4
  import { useComposedRefs as T } from "./index.es113.js";
5
5
  import { createContextScope as q } from "./index.es114.js";
6
6
  import { useControllableState as B } from "./index.es115.js";
7
- import { usePrevious as H } from "./index.es143.js";
8
- import { useSize as I } from "./index.es144.js";
7
+ import { usePrevious as H } from "./index.es141.js";
8
+ import { useSize as I } from "./index.es142.js";
9
9
  import { Primitive as x } from "./index.es116.js";
10
10
  const v = "Switch", [M, V] = q(v), [z, A] = M(v), N = /* @__PURE__ */ S((e, n) => {
11
11
  const { __scopeSwitch: t, name: c, checked: o, defaultChecked: i, required: a, disabled: r, value: d = "on", onCheckedChange: u, ...m } = e, [s, $] = E(null), P = T(
@@ -1,61 +1,14 @@
1
- import t from "react";
2
- import { createContextScope as b } from "./index.es114.js";
3
- import { useComposedRefs as p } from "./index.es113.js";
4
- import { Slot as u } from "./index.es126.js";
5
- function N(s) {
6
- const a = s + "CollectionProvider", [C, R] = b(a), [x, f] = C(a, {
7
- collectionRef: {
8
- current: null
9
- },
10
- itemMap: /* @__PURE__ */ new Map()
11
- }), M = (r) => {
12
- const { scope: e, children: l } = r, o = t.useRef(null), c = t.useRef(/* @__PURE__ */ new Map()).current;
13
- return /* @__PURE__ */ t.createElement(x, {
14
- scope: e,
15
- itemMap: c,
16
- collectionRef: o
17
- }, l);
18
- }, $ = s + "CollectionSlot", I = /* @__PURE__ */ t.forwardRef((r, e) => {
19
- const { scope: l, children: o } = r, c = f($, l), n = p(e, c.collectionRef);
20
- return /* @__PURE__ */ t.createElement(u, {
21
- ref: n
22
- }, o);
23
- }), S = s + "CollectionItemSlot", d = "data-radix-collection-item", E = /* @__PURE__ */ t.forwardRef((r, e) => {
24
- const { scope: l, children: o, ...c } = r, n = t.useRef(null), m = p(e, n), i = f(S, l);
25
- return t.useEffect(() => (i.itemMap.set(n, {
26
- ref: n,
27
- ...c
28
- }), () => void i.itemMap.delete(n))), /* @__PURE__ */ t.createElement(u, {
29
- [d]: "",
30
- ref: m
31
- }, o);
1
+ import { useRef as u, useMemo as t } from "react";
2
+ function c(r) {
3
+ const e = u({
4
+ value: r,
5
+ previous: r
32
6
  });
33
- function A(r) {
34
- const e = f(s + "CollectionConsumer", r);
35
- return t.useCallback(() => {
36
- const o = e.collectionRef.current;
37
- if (!o)
38
- return [];
39
- const c = Array.from(o.querySelectorAll(`[${d}]`));
40
- return Array.from(e.itemMap.values()).sort(
41
- (i, _) => c.indexOf(i.ref.current) - c.indexOf(_.ref.current)
42
- );
43
- }, [
44
- e.collectionRef,
45
- e.itemMap
46
- ]);
47
- }
48
- return [
49
- {
50
- Provider: M,
51
- Slot: I,
52
- ItemSlot: E
53
- },
54
- A,
55
- R
56
- ];
7
+ return t(() => (e.current.value !== r && (e.current.previous = e.current.value, e.current.value = r), e.current.previous), [
8
+ r
9
+ ]);
57
10
  }
58
11
  export {
59
- N as createCollection
12
+ c as usePrevious
60
13
  };
61
14
  //# sourceMappingURL=index.es141.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es141.js","sources":["../../../node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["import $6vYhU$react from \"react\";\nimport {createContextScope as $6vYhU$createContextScope} from \"@radix-ui/react-context\";\nimport {useComposedRefs as $6vYhU$useComposedRefs} from \"@radix-ui/react-compose-refs\";\nimport {Slot as $6vYhU$Slot} from \"@radix-ui/react-slot\";\n\n\n\n\n\n// We have resorted to returning slots directly rather than exposing primitives that can then\n// be slotted like `<CollectionItem as={Slot}>…</CollectionItem>`.\n// This is because we encountered issues with generic types that cannot be statically analysed\n// due to creating them dynamically via createCollection.\nfunction $e02a7d9cb1dc128c$export$c74125a8e3af6bb2(name) {\n /* -----------------------------------------------------------------------------------------------\n * CollectionProvider\n * ---------------------------------------------------------------------------------------------*/ const PROVIDER_NAME = name + 'CollectionProvider';\n const [createCollectionContext, createCollectionScope] = $6vYhU$createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(PROVIDER_NAME, {\n collectionRef: {\n current: null\n },\n itemMap: new Map()\n });\n const CollectionProvider = (props)=>{\n const { scope: scope , children: children } = props;\n const ref = $6vYhU$react.useRef(null);\n const itemMap = $6vYhU$react.useRef(new Map()).current;\n return /*#__PURE__*/ $6vYhU$react.createElement(CollectionProviderImpl, {\n scope: scope,\n itemMap: itemMap,\n collectionRef: ref\n }, children);\n };\n /*#__PURE__*/ Object.assign(CollectionProvider, {\n displayName: PROVIDER_NAME\n });\n /* -----------------------------------------------------------------------------------------------\n * CollectionSlot\n * ---------------------------------------------------------------------------------------------*/ const COLLECTION_SLOT_NAME = name + 'CollectionSlot';\n const CollectionSlot = /*#__PURE__*/ $6vYhU$react.forwardRef((props, forwardedRef)=>{\n const { scope: scope , children: children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = $6vYhU$useComposedRefs(forwardedRef, context.collectionRef);\n return /*#__PURE__*/ $6vYhU$react.createElement($6vYhU$Slot, {\n ref: composedRefs\n }, children);\n });\n /*#__PURE__*/ Object.assign(CollectionSlot, {\n displayName: COLLECTION_SLOT_NAME\n });\n /* -----------------------------------------------------------------------------------------------\n * CollectionItem\n * ---------------------------------------------------------------------------------------------*/ const ITEM_SLOT_NAME = name + 'CollectionItemSlot';\n const ITEM_DATA_ATTR = 'data-radix-collection-item';\n const CollectionItemSlot = /*#__PURE__*/ $6vYhU$react.forwardRef((props, forwardedRef)=>{\n const { scope: scope , children: children , ...itemData } = props;\n const ref = $6vYhU$react.useRef(null);\n const composedRefs = $6vYhU$useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n $6vYhU$react.useEffect(()=>{\n context.itemMap.set(ref, {\n ref: ref,\n ...itemData\n });\n return ()=>void context.itemMap.delete(ref)\n ;\n });\n return /*#__PURE__*/ $6vYhU$react.createElement($6vYhU$Slot, {\n [ITEM_DATA_ATTR]: '',\n ref: composedRefs\n }, children);\n });\n /*#__PURE__*/ Object.assign(CollectionItemSlot, {\n displayName: ITEM_SLOT_NAME\n });\n /* -----------------------------------------------------------------------------------------------\n * useCollection\n * ---------------------------------------------------------------------------------------------*/ function useCollection(scope) {\n const context = useCollectionContext(name + 'CollectionConsumer', scope);\n const getItems = $6vYhU$react.useCallback(()=>{\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort((a, b)=>orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [\n context.collectionRef,\n context.itemMap\n ]);\n return getItems;\n }\n return [\n {\n Provider: CollectionProvider,\n Slot: CollectionSlot,\n ItemSlot: CollectionItemSlot\n },\n useCollection,\n createCollectionScope\n ];\n}\n\n\n\n\nexport {$e02a7d9cb1dc128c$export$c74125a8e3af6bb2 as createCollection};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$e02a7d9cb1dc128c$export$c74125a8e3af6bb2","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","$6vYhU$createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","props","scope","children","ref","$6vYhU$react","itemMap","COLLECTION_SLOT_NAME","CollectionSlot","forwardedRef","context","composedRefs","$6vYhU$useComposedRefs","$6vYhU$Slot","ITEM_SLOT_NAME","ITEM_DATA_ATTR","CollectionItemSlot","itemData","useCollection","collectionNode","orderedNodes","a","b"],"mappings":";;;;AAaA,SAASA,EAA0CC,GAAM;AAG4C,QAAMC,IAAgBD,IAAO,sBACxH,CAACE,GAAyBC,CAAqB,IAAIC,EAA0BH,CAAa,GAC1F,CAACI,GAAwBC,CAAoB,IAAIJ,EAAwBD,GAAe;AAAA,IAC1F,eAAe;AAAA,MACX,SAAS;AAAA,IACZ;AAAA,IACD,SAAS,oBAAI,IAAK;AAAA,EAC1B,CAAK,GACKM,IAAqB,CAACC,MAAQ;AAChC,UAAM,EAAE,OAAOC,GAAQ,UAAUC,EAAQ,IAAMF,GACzCG,IAAMC,EAAa,OAAO,IAAI,GAC9BC,IAAUD,EAAa,OAAO,oBAAI,IAAG,CAAE,EAAE;AAC/C,WAAqBA,gBAAAA,EAAa,cAAcP,GAAwB;AAAA,MACpE,OAAOI;AAAA,MACP,SAASI;AAAA,MACT,eAAeF;AAAA,IAClB,GAAED,CAAQ;AAAA,EACnB,GAM2GI,IAAuBd,IAAO,kBAC/He,IAA+BH,gBAAAA,EAAa,WAAW,CAACJ,GAAOQ,MAAe;AAChF,UAAM,EAAE,OAAOP,GAAQ,UAAUC,EAAQ,IAAMF,GACzCS,IAAUX,EAAqBQ,GAAsBL,CAAK,GAC1DS,IAAeC,EAAuBH,GAAcC,EAAQ,aAAa;AAC/E,WAAqBL,gBAAAA,EAAa,cAAcQ,GAAa;AAAA,MACzD,KAAKF;AAAA,IACR,GAAER,CAAQ;AAAA,EACnB,CAAK,GAMsGW,IAAiBrB,IAAO,sBACzHsB,IAAiB,8BACjBC,IAAmCX,gBAAAA,EAAa,WAAW,CAACJ,GAAOQ,MAAe;AACpF,UAAM,EAAE,OAAOP,GAAQ,UAAUC,GAAW,GAAGc,EAAU,IAAGhB,GACtDG,IAAMC,EAAa,OAAO,IAAI,GAC9BM,IAAeC,EAAuBH,GAAcL,CAAG,GACvDM,IAAUX,EAAqBe,GAAgBZ,CAAK;AAC1DG,WAAAA,EAAa,UAAU,OACnBK,EAAQ,QAAQ,IAAIN,GAAK;AAAA,MACrB,KAAKA;AAAA,MACL,GAAGa;AAAA,IACnB,CAAa,GACM,MAAI,KAAKP,EAAQ,QAAQ,OAAON,CAAG,EAE7C,GACoBC,gBAAAA,EAAa,cAAcQ,GAAa;AAAA,MACzD,CAACE,CAAc,GAAG;AAAA,MAClB,KAAKJ;AAAA,IACR,GAAER,CAAQ;AAAA,EACnB,CAAK;AAMgG,WAASe,EAAchB,GAAO;AAC3H,UAAMQ,IAAUX,EAAqBN,IAAO,sBAAsBS,CAAK;AAavE,WAZiBG,EAAa,YAAY,MAAI;AAC1C,YAAMc,IAAiBT,EAAQ,cAAc;AAC7C,UAAI,CAACS;AAAgB,eAAO;AAC5B,YAAMC,IAAe,MAAM,KAAKD,EAAe,iBAAiB,IAAIJ,CAAc,GAAG,CAAC;AAItF,aAHc,MAAM,KAAKL,EAAQ,QAAQ,OAAM,CAAE,EACtB;AAAA,QAAK,CAACW,GAAGC,MAAIF,EAAa,QAAQC,EAAE,IAAI,OAAO,IAAID,EAAa,QAAQE,EAAE,IAAI,OAAO;AAAA,MAC5H;AAAA,IAEA,GAAW;AAAA,MACCZ,EAAQ;AAAA,MACRA,EAAQ;AAAA,IACpB,CAAS;AAAA,EAEJ;AACD,SAAO;AAAA,IACH;AAAA,MACI,UAAUV;AAAA,MACV,MAAMQ;AAAA,MACN,UAAUQ;AAAA,IACb;AAAA,IACDE;AAAA,IACAtB;AAAA,EACR;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es141.js","sources":["../../../node_modules/@radix-ui/react-use-previous/dist/index.mjs"],"sourcesContent":["import {useRef as $8LvvK$useRef, useMemo as $8LvvK$useMemo} from \"react\";\n\n\nfunction $010c2913dbd2fe3d$export$5cae361ad82dce8b(value) {\n const ref = $8LvvK$useRef({\n value: value,\n previous: value\n }); // We compare values before making an update to ensure that\n // a change has been made. This ensures the previous value is\n // persisted correctly between renders.\n return $8LvvK$useMemo(()=>{\n if (ref.current.value !== value) {\n ref.current.previous = ref.current.value;\n ref.current.value = value;\n }\n return ref.current.previous;\n }, [\n value\n ]);\n}\n\n\n\n\nexport {$010c2913dbd2fe3d$export$5cae361ad82dce8b as usePrevious};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$010c2913dbd2fe3d$export$5cae361ad82dce8b","value","ref","$8LvvK$useRef","$8LvvK$useMemo"],"mappings":";AAGA,SAASA,EAA0CC,GAAO;AACtD,QAAMC,IAAMC,EAAc;AAAA,IACtB,OAAOF;AAAA,IACP,UAAUA;AAAA,EAClB,CAAK;AAGD,SAAOG,EAAe,OACdF,EAAI,QAAQ,UAAUD,MACtBC,EAAI,QAAQ,WAAWA,EAAI,QAAQ,OACnCA,EAAI,QAAQ,QAAQD,IAEjBC,EAAI,QAAQ,WACpB;AAAA,IACCD;AAAA,EACR,CAAK;AACL;","x_google_ignoreList":[0]}
@@ -1,10 +1,38 @@
1
- import { useContext as o, createContext as n } from "react";
2
- const r = /* @__PURE__ */ n(void 0);
3
- function i(e) {
4
- const t = o(r);
5
- return e || t || "ltr";
1
+ import { useState as n } from "react";
2
+ import { useLayoutEffect as c } from "./index.es151.js";
3
+ function z(e) {
4
+ const [h, r] = n(void 0);
5
+ return c(() => {
6
+ if (e) {
7
+ r({
8
+ width: e.offsetWidth,
9
+ height: e.offsetHeight
10
+ });
11
+ const f = new ResizeObserver((i) => {
12
+ if (!Array.isArray(i) || !i.length)
13
+ return;
14
+ const b = i[0];
15
+ let o, t;
16
+ if ("borderBoxSize" in b) {
17
+ const s = b.borderBoxSize, d = Array.isArray(s) ? s[0] : s;
18
+ o = d.inlineSize, t = d.blockSize;
19
+ } else
20
+ o = e.offsetWidth, t = e.offsetHeight;
21
+ r({
22
+ width: o,
23
+ height: t
24
+ });
25
+ });
26
+ return f.observe(e, {
27
+ box: "border-box"
28
+ }), () => f.unobserve(e);
29
+ } else
30
+ r(void 0);
31
+ }, [
32
+ e
33
+ ]), h;
6
34
  }
7
35
  export {
8
- i as useDirection
36
+ z as useSize
9
37
  };
10
38
  //# sourceMappingURL=index.es142.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es142.js","sources":["../../../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["import {createContext as $7Gjcd$createContext, createElement as $7Gjcd$createElement, useContext as $7Gjcd$useContext} from \"react\";\n\n\nconst $f631663db3294ace$var$DirectionContext = /*#__PURE__*/ $7Gjcd$createContext(undefined);\n/* -------------------------------------------------------------------------------------------------\n * Direction\n * -----------------------------------------------------------------------------------------------*/ const $f631663db3294ace$export$c760c09fdd558351 = (props)=>{\n const { dir: dir , children: children } = props;\n return /*#__PURE__*/ $7Gjcd$createElement($f631663db3294ace$var$DirectionContext.Provider, {\n value: dir\n }, children);\n};\n/* -----------------------------------------------------------------------------------------------*/ function $f631663db3294ace$export$b39126d51d94e6f3(localDir) {\n const globalDir = $7Gjcd$useContext($f631663db3294ace$var$DirectionContext);\n return localDir || globalDir || 'ltr';\n}\nconst $f631663db3294ace$export$2881499e37b75b9a = $f631663db3294ace$export$c760c09fdd558351;\n\n\n\n\nexport {$f631663db3294ace$export$b39126d51d94e6f3 as useDirection, $f631663db3294ace$export$2881499e37b75b9a as Provider, $f631663db3294ace$export$c760c09fdd558351 as DirectionProvider};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$f631663db3294ace$var$DirectionContext","$7Gjcd$createContext","$f631663db3294ace$export$b39126d51d94e6f3","localDir","globalDir","$7Gjcd$useContext"],"mappings":";AAGA,MAAMA,IAAuDC,gBAAAA,EAAqB,MAAS;AASU,SAASC,EAA0CC,GAAU;AAC9J,QAAMC,IAAYC,EAAkBL,CAAsC;AAC1E,SAAOG,KAAYC,KAAa;AACpC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es142.js","sources":["../../../node_modules/@radix-ui/react-use-size/dist/index.mjs"],"sourcesContent":["import {useState as $9gyGR$useState} from \"react\";\nimport {useLayoutEffect as $9gyGR$useLayoutEffect} from \"@radix-ui/react-use-layout-effect\";\n\n\n\nfunction $db6c3485150b8e66$export$1ab7ae714698c4b8(element) {\n const [size, setSize] = $9gyGR$useState(undefined);\n $9gyGR$useLayoutEffect(()=>{\n if (element) {\n // provide size as early as possible\n setSize({\n width: element.offsetWidth,\n height: element.offsetHeight\n });\n const resizeObserver = new ResizeObserver((entries)=>{\n if (!Array.isArray(entries)) return;\n // Since we only observe the one element, we don't need to loop over the\n // array\n if (!entries.length) return;\n const entry = entries[0];\n let width;\n let height;\n if ('borderBoxSize' in entry) {\n const borderSizeEntry = entry['borderBoxSize']; // iron out differences between browsers\n const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;\n width = borderSize['inlineSize'];\n height = borderSize['blockSize'];\n } else {\n // for browsers that don't support `borderBoxSize`\n // we calculate it ourselves to get the correct border box.\n width = element.offsetWidth;\n height = element.offsetHeight;\n }\n setSize({\n width: width,\n height: height\n });\n });\n resizeObserver.observe(element, {\n box: 'border-box'\n });\n return ()=>resizeObserver.unobserve(element)\n ;\n } else // We only want to reset to `undefined` when the element becomes `null`,\n // not if it changes to another element.\n setSize(undefined);\n }, [\n element\n ]);\n return size;\n}\n\n\n\n\nexport {$db6c3485150b8e66$export$1ab7ae714698c4b8 as useSize};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$db6c3485150b8e66$export$1ab7ae714698c4b8","element","size","setSize","$9gyGR$useState","$9gyGR$useLayoutEffect","resizeObserver","entries","entry","width","height","borderSizeEntry","borderSize"],"mappings":";;AAKA,SAASA,EAA0CC,GAAS;AACxD,QAAM,CAACC,GAAMC,CAAO,IAAIC,EAAgB,MAAS;AACjDC,SAAAA,EAAuB,MAAI;AACvB,QAAIJ,GAAS;AAET,MAAAE,EAAQ;AAAA,QACJ,OAAOF,EAAQ;AAAA,QACf,QAAQA,EAAQ;AAAA,MAChC,CAAa;AACD,YAAMK,IAAiB,IAAI,eAAe,CAACC,MAAU;AAIjD,YAHI,CAAC,MAAM,QAAQA,CAAO,KAGtB,CAACA,EAAQ;AAAQ;AACrB,cAAMC,IAAQD,EAAQ,CAAC;AACvB,YAAIE,GACAC;AACJ,YAAI,mBAAmBF,GAAO;AAC1B,gBAAMG,IAAkBH,EAAM,eACxBI,IAAa,MAAM,QAAQD,CAAe,IAAIA,EAAgB,CAAC,IAAIA;AACzE,UAAAF,IAAQG,EAAW,YACnBF,IAASE,EAAW;AAAA,QACxC;AAGoB,UAAAH,IAAQR,EAAQ,aAChBS,IAAST,EAAQ;AAErB,QAAAE,EAAQ;AAAA,UACJ,OAAOM;AAAA,UACP,QAAQC;AAAA,QAC5B,CAAiB;AAAA,MACjB,CAAa;AACD,aAAAJ,EAAe,QAAQL,GAAS;AAAA,QAC5B,KAAK;AAAA,MACrB,CAAa,GACM,MAAIK,EAAe,UAAUL,CAAO;AAAA,IAE9C;AAED,MAAAE,EAAQ,MAAS;AAAA,EACzB,GAAO;AAAA,IACCF;AAAA,EACR,CAAK,GACMC;AACX;","x_google_ignoreList":[0]}
@@ -1,14 +1,61 @@
1
- import { useRef as u, useMemo as t } from "react";
2
- function c(r) {
3
- const e = u({
4
- value: r,
5
- previous: r
1
+ import t from "react";
2
+ import { createContextScope as b } from "./index.es114.js";
3
+ import { useComposedRefs as p } from "./index.es113.js";
4
+ import { Slot as u } from "./index.es126.js";
5
+ function N(s) {
6
+ const a = s + "CollectionProvider", [C, R] = b(a), [x, f] = C(a, {
7
+ collectionRef: {
8
+ current: null
9
+ },
10
+ itemMap: /* @__PURE__ */ new Map()
11
+ }), M = (r) => {
12
+ const { scope: e, children: l } = r, o = t.useRef(null), c = t.useRef(/* @__PURE__ */ new Map()).current;
13
+ return /* @__PURE__ */ t.createElement(x, {
14
+ scope: e,
15
+ itemMap: c,
16
+ collectionRef: o
17
+ }, l);
18
+ }, $ = s + "CollectionSlot", I = /* @__PURE__ */ t.forwardRef((r, e) => {
19
+ const { scope: l, children: o } = r, c = f($, l), n = p(e, c.collectionRef);
20
+ return /* @__PURE__ */ t.createElement(u, {
21
+ ref: n
22
+ }, o);
23
+ }), S = s + "CollectionItemSlot", d = "data-radix-collection-item", E = /* @__PURE__ */ t.forwardRef((r, e) => {
24
+ const { scope: l, children: o, ...c } = r, n = t.useRef(null), m = p(e, n), i = f(S, l);
25
+ return t.useEffect(() => (i.itemMap.set(n, {
26
+ ref: n,
27
+ ...c
28
+ }), () => void i.itemMap.delete(n))), /* @__PURE__ */ t.createElement(u, {
29
+ [d]: "",
30
+ ref: m
31
+ }, o);
6
32
  });
7
- return t(() => (e.current.value !== r && (e.current.previous = e.current.value, e.current.value = r), e.current.previous), [
8
- r
9
- ]);
33
+ function A(r) {
34
+ const e = f(s + "CollectionConsumer", r);
35
+ return t.useCallback(() => {
36
+ const o = e.collectionRef.current;
37
+ if (!o)
38
+ return [];
39
+ const c = Array.from(o.querySelectorAll(`[${d}]`));
40
+ return Array.from(e.itemMap.values()).sort(
41
+ (i, _) => c.indexOf(i.ref.current) - c.indexOf(_.ref.current)
42
+ );
43
+ }, [
44
+ e.collectionRef,
45
+ e.itemMap
46
+ ]);
47
+ }
48
+ return [
49
+ {
50
+ Provider: M,
51
+ Slot: I,
52
+ ItemSlot: E
53
+ },
54
+ A,
55
+ R
56
+ ];
10
57
  }
11
58
  export {
12
- c as usePrevious
59
+ N as createCollection
13
60
  };
14
61
  //# sourceMappingURL=index.es143.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es143.js","sources":["../../../node_modules/@radix-ui/react-use-previous/dist/index.mjs"],"sourcesContent":["import {useRef as $8LvvK$useRef, useMemo as $8LvvK$useMemo} from \"react\";\n\n\nfunction $010c2913dbd2fe3d$export$5cae361ad82dce8b(value) {\n const ref = $8LvvK$useRef({\n value: value,\n previous: value\n }); // We compare values before making an update to ensure that\n // a change has been made. This ensures the previous value is\n // persisted correctly between renders.\n return $8LvvK$useMemo(()=>{\n if (ref.current.value !== value) {\n ref.current.previous = ref.current.value;\n ref.current.value = value;\n }\n return ref.current.previous;\n }, [\n value\n ]);\n}\n\n\n\n\nexport {$010c2913dbd2fe3d$export$5cae361ad82dce8b as usePrevious};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$010c2913dbd2fe3d$export$5cae361ad82dce8b","value","ref","$8LvvK$useRef","$8LvvK$useMemo"],"mappings":";AAGA,SAASA,EAA0CC,GAAO;AACtD,QAAMC,IAAMC,EAAc;AAAA,IACtB,OAAOF;AAAA,IACP,UAAUA;AAAA,EAClB,CAAK;AAGD,SAAOG,EAAe,OACdF,EAAI,QAAQ,UAAUD,MACtBC,EAAI,QAAQ,WAAWA,EAAI,QAAQ,OACnCA,EAAI,QAAQ,QAAQD,IAEjBC,EAAI,QAAQ,WACpB;AAAA,IACCD;AAAA,EACR,CAAK;AACL;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es143.js","sources":["../../../node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["import $6vYhU$react from \"react\";\nimport {createContextScope as $6vYhU$createContextScope} from \"@radix-ui/react-context\";\nimport {useComposedRefs as $6vYhU$useComposedRefs} from \"@radix-ui/react-compose-refs\";\nimport {Slot as $6vYhU$Slot} from \"@radix-ui/react-slot\";\n\n\n\n\n\n// We have resorted to returning slots directly rather than exposing primitives that can then\n// be slotted like `<CollectionItem as={Slot}>…</CollectionItem>`.\n// This is because we encountered issues with generic types that cannot be statically analysed\n// due to creating them dynamically via createCollection.\nfunction $e02a7d9cb1dc128c$export$c74125a8e3af6bb2(name) {\n /* -----------------------------------------------------------------------------------------------\n * CollectionProvider\n * ---------------------------------------------------------------------------------------------*/ const PROVIDER_NAME = name + 'CollectionProvider';\n const [createCollectionContext, createCollectionScope] = $6vYhU$createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(PROVIDER_NAME, {\n collectionRef: {\n current: null\n },\n itemMap: new Map()\n });\n const CollectionProvider = (props)=>{\n const { scope: scope , children: children } = props;\n const ref = $6vYhU$react.useRef(null);\n const itemMap = $6vYhU$react.useRef(new Map()).current;\n return /*#__PURE__*/ $6vYhU$react.createElement(CollectionProviderImpl, {\n scope: scope,\n itemMap: itemMap,\n collectionRef: ref\n }, children);\n };\n /*#__PURE__*/ Object.assign(CollectionProvider, {\n displayName: PROVIDER_NAME\n });\n /* -----------------------------------------------------------------------------------------------\n * CollectionSlot\n * ---------------------------------------------------------------------------------------------*/ const COLLECTION_SLOT_NAME = name + 'CollectionSlot';\n const CollectionSlot = /*#__PURE__*/ $6vYhU$react.forwardRef((props, forwardedRef)=>{\n const { scope: scope , children: children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = $6vYhU$useComposedRefs(forwardedRef, context.collectionRef);\n return /*#__PURE__*/ $6vYhU$react.createElement($6vYhU$Slot, {\n ref: composedRefs\n }, children);\n });\n /*#__PURE__*/ Object.assign(CollectionSlot, {\n displayName: COLLECTION_SLOT_NAME\n });\n /* -----------------------------------------------------------------------------------------------\n * CollectionItem\n * ---------------------------------------------------------------------------------------------*/ const ITEM_SLOT_NAME = name + 'CollectionItemSlot';\n const ITEM_DATA_ATTR = 'data-radix-collection-item';\n const CollectionItemSlot = /*#__PURE__*/ $6vYhU$react.forwardRef((props, forwardedRef)=>{\n const { scope: scope , children: children , ...itemData } = props;\n const ref = $6vYhU$react.useRef(null);\n const composedRefs = $6vYhU$useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n $6vYhU$react.useEffect(()=>{\n context.itemMap.set(ref, {\n ref: ref,\n ...itemData\n });\n return ()=>void context.itemMap.delete(ref)\n ;\n });\n return /*#__PURE__*/ $6vYhU$react.createElement($6vYhU$Slot, {\n [ITEM_DATA_ATTR]: '',\n ref: composedRefs\n }, children);\n });\n /*#__PURE__*/ Object.assign(CollectionItemSlot, {\n displayName: ITEM_SLOT_NAME\n });\n /* -----------------------------------------------------------------------------------------------\n * useCollection\n * ---------------------------------------------------------------------------------------------*/ function useCollection(scope) {\n const context = useCollectionContext(name + 'CollectionConsumer', scope);\n const getItems = $6vYhU$react.useCallback(()=>{\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort((a, b)=>orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [\n context.collectionRef,\n context.itemMap\n ]);\n return getItems;\n }\n return [\n {\n Provider: CollectionProvider,\n Slot: CollectionSlot,\n ItemSlot: CollectionItemSlot\n },\n useCollection,\n createCollectionScope\n ];\n}\n\n\n\n\nexport {$e02a7d9cb1dc128c$export$c74125a8e3af6bb2 as createCollection};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$e02a7d9cb1dc128c$export$c74125a8e3af6bb2","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","$6vYhU$createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","props","scope","children","ref","$6vYhU$react","itemMap","COLLECTION_SLOT_NAME","CollectionSlot","forwardedRef","context","composedRefs","$6vYhU$useComposedRefs","$6vYhU$Slot","ITEM_SLOT_NAME","ITEM_DATA_ATTR","CollectionItemSlot","itemData","useCollection","collectionNode","orderedNodes","a","b"],"mappings":";;;;AAaA,SAASA,EAA0CC,GAAM;AAG4C,QAAMC,IAAgBD,IAAO,sBACxH,CAACE,GAAyBC,CAAqB,IAAIC,EAA0BH,CAAa,GAC1F,CAACI,GAAwBC,CAAoB,IAAIJ,EAAwBD,GAAe;AAAA,IAC1F,eAAe;AAAA,MACX,SAAS;AAAA,IACZ;AAAA,IACD,SAAS,oBAAI,IAAK;AAAA,EAC1B,CAAK,GACKM,IAAqB,CAACC,MAAQ;AAChC,UAAM,EAAE,OAAOC,GAAQ,UAAUC,EAAQ,IAAMF,GACzCG,IAAMC,EAAa,OAAO,IAAI,GAC9BC,IAAUD,EAAa,OAAO,oBAAI,IAAG,CAAE,EAAE;AAC/C,WAAqBA,gBAAAA,EAAa,cAAcP,GAAwB;AAAA,MACpE,OAAOI;AAAA,MACP,SAASI;AAAA,MACT,eAAeF;AAAA,IAClB,GAAED,CAAQ;AAAA,EACnB,GAM2GI,IAAuBd,IAAO,kBAC/He,IAA+BH,gBAAAA,EAAa,WAAW,CAACJ,GAAOQ,MAAe;AAChF,UAAM,EAAE,OAAOP,GAAQ,UAAUC,EAAQ,IAAMF,GACzCS,IAAUX,EAAqBQ,GAAsBL,CAAK,GAC1DS,IAAeC,EAAuBH,GAAcC,EAAQ,aAAa;AAC/E,WAAqBL,gBAAAA,EAAa,cAAcQ,GAAa;AAAA,MACzD,KAAKF;AAAA,IACR,GAAER,CAAQ;AAAA,EACnB,CAAK,GAMsGW,IAAiBrB,IAAO,sBACzHsB,IAAiB,8BACjBC,IAAmCX,gBAAAA,EAAa,WAAW,CAACJ,GAAOQ,MAAe;AACpF,UAAM,EAAE,OAAOP,GAAQ,UAAUC,GAAW,GAAGc,EAAU,IAAGhB,GACtDG,IAAMC,EAAa,OAAO,IAAI,GAC9BM,IAAeC,EAAuBH,GAAcL,CAAG,GACvDM,IAAUX,EAAqBe,GAAgBZ,CAAK;AAC1DG,WAAAA,EAAa,UAAU,OACnBK,EAAQ,QAAQ,IAAIN,GAAK;AAAA,MACrB,KAAKA;AAAA,MACL,GAAGa;AAAA,IACnB,CAAa,GACM,MAAI,KAAKP,EAAQ,QAAQ,OAAON,CAAG,EAE7C,GACoBC,gBAAAA,EAAa,cAAcQ,GAAa;AAAA,MACzD,CAACE,CAAc,GAAG;AAAA,MAClB,KAAKJ;AAAA,IACR,GAAER,CAAQ;AAAA,EACnB,CAAK;AAMgG,WAASe,EAAchB,GAAO;AAC3H,UAAMQ,IAAUX,EAAqBN,IAAO,sBAAsBS,CAAK;AAavE,WAZiBG,EAAa,YAAY,MAAI;AAC1C,YAAMc,IAAiBT,EAAQ,cAAc;AAC7C,UAAI,CAACS;AAAgB,eAAO;AAC5B,YAAMC,IAAe,MAAM,KAAKD,EAAe,iBAAiB,IAAIJ,CAAc,GAAG,CAAC;AAItF,aAHc,MAAM,KAAKL,EAAQ,QAAQ,OAAM,CAAE,EACtB;AAAA,QAAK,CAACW,GAAGC,MAAIF,EAAa,QAAQC,EAAE,IAAI,OAAO,IAAID,EAAa,QAAQE,EAAE,IAAI,OAAO;AAAA,MAC5H;AAAA,IAEA,GAAW;AAAA,MACCZ,EAAQ;AAAA,MACRA,EAAQ;AAAA,IACpB,CAAS;AAAA,EAEJ;AACD,SAAO;AAAA,IACH;AAAA,MACI,UAAUV;AAAA,MACV,MAAMQ;AAAA,MACN,UAAUQ;AAAA,IACb;AAAA,IACDE;AAAA,IACAtB;AAAA,EACR;AACA;","x_google_ignoreList":[0]}
@@ -1,38 +1,10 @@
1
- import { useState as n } from "react";
2
- import { useLayoutEffect as c } from "./index.es151.js";
3
- function z(e) {
4
- const [h, r] = n(void 0);
5
- return c(() => {
6
- if (e) {
7
- r({
8
- width: e.offsetWidth,
9
- height: e.offsetHeight
10
- });
11
- const f = new ResizeObserver((i) => {
12
- if (!Array.isArray(i) || !i.length)
13
- return;
14
- const b = i[0];
15
- let o, t;
16
- if ("borderBoxSize" in b) {
17
- const s = b.borderBoxSize, d = Array.isArray(s) ? s[0] : s;
18
- o = d.inlineSize, t = d.blockSize;
19
- } else
20
- o = e.offsetWidth, t = e.offsetHeight;
21
- r({
22
- width: o,
23
- height: t
24
- });
25
- });
26
- return f.observe(e, {
27
- box: "border-box"
28
- }), () => f.unobserve(e);
29
- } else
30
- r(void 0);
31
- }, [
32
- e
33
- ]), h;
1
+ import { useContext as o, createContext as n } from "react";
2
+ const r = /* @__PURE__ */ n(void 0);
3
+ function i(e) {
4
+ const t = o(r);
5
+ return e || t || "ltr";
34
6
  }
35
7
  export {
36
- z as useSize
8
+ i as useDirection
37
9
  };
38
10
  //# sourceMappingURL=index.es144.js.map