@anoki/fse-ui 1.10.1-RC2 → 1.10.1-RC2.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 (312) hide show
  1. package/dist/components/ui/EditorialWidget/EditorialWidget.css +1 -1
  2. package/dist/components/ui/Section/Description/description.css +1 -1
  3. package/dist/index.cjs149.js +1 -1
  4. package/dist/index.cjs149.js.map +1 -1
  5. package/dist/index.cjs179.js +1 -1
  6. package/dist/index.cjs179.js.map +1 -1
  7. package/dist/index.cjs207.js +1 -1
  8. package/dist/index.cjs207.js.map +1 -1
  9. package/dist/index.cjs229.js +1 -1
  10. package/dist/index.cjs236.js +1 -1
  11. package/dist/index.cjs275.js +1 -1
  12. package/dist/index.cjs288.js +1 -1
  13. package/dist/index.cjs29.js +1 -1
  14. package/dist/index.cjs29.js.map +1 -1
  15. package/dist/index.cjs299.js +1 -1
  16. package/dist/index.cjs306.js +1 -1
  17. package/dist/index.cjs313.js +1 -1
  18. package/dist/index.cjs314.js +1 -1
  19. package/dist/index.cjs318.js +1 -1
  20. package/dist/index.cjs327.js +1 -1
  21. package/dist/index.cjs329.js +1 -1
  22. package/dist/index.cjs337.js +1 -1
  23. package/dist/index.cjs378.js +1 -1
  24. package/dist/index.cjs384.js +1 -1
  25. package/dist/index.cjs419.js +1 -1
  26. package/dist/index.cjs437.js +1 -1
  27. package/dist/index.cjs438.js +1 -1
  28. package/dist/index.cjs439.js +27 -1
  29. package/dist/index.cjs439.js.map +1 -1
  30. package/dist/index.cjs440.js +1 -2
  31. package/dist/index.cjs440.js.map +1 -1
  32. package/dist/index.cjs441.js +1 -27
  33. package/dist/index.cjs441.js.map +1 -1
  34. package/dist/index.cjs442.js +1 -1
  35. package/dist/index.cjs443.js +1 -1
  36. package/dist/index.cjs444.js +1 -1
  37. package/dist/index.cjs444.js.map +1 -1
  38. package/dist/index.cjs445.js +2 -1
  39. package/dist/index.cjs445.js.map +1 -1
  40. package/dist/index.cjs453.js +1 -1
  41. package/dist/index.cjs453.js.map +1 -1
  42. package/dist/index.cjs454.js +1 -1
  43. package/dist/index.cjs454.js.map +1 -1
  44. package/dist/index.cjs455.js +1 -1
  45. package/dist/index.cjs455.js.map +1 -1
  46. package/dist/index.cjs457.js +1 -1
  47. package/dist/index.cjs457.js.map +1 -1
  48. package/dist/index.cjs458.js +1 -1
  49. package/dist/index.cjs458.js.map +1 -1
  50. package/dist/index.cjs459.js +1 -1
  51. package/dist/index.cjs459.js.map +1 -1
  52. package/dist/index.cjs460.js +1 -1
  53. package/dist/index.cjs460.js.map +1 -1
  54. package/dist/index.cjs461.js +1 -1
  55. package/dist/index.cjs461.js.map +1 -1
  56. package/dist/index.cjs462.js +1 -1
  57. package/dist/index.cjs462.js.map +1 -1
  58. package/dist/index.cjs464.js +1 -1
  59. package/dist/index.cjs465.js +1 -1
  60. package/dist/index.cjs465.js.map +1 -1
  61. package/dist/index.cjs466.js +1 -1
  62. package/dist/index.cjs466.js.map +1 -1
  63. package/dist/index.cjs467.js +1 -1
  64. package/dist/index.cjs467.js.map +1 -1
  65. package/dist/index.cjs468.js +1 -1
  66. package/dist/index.cjs468.js.map +1 -1
  67. package/dist/index.cjs469.js +1 -1
  68. package/dist/index.cjs469.js.map +1 -1
  69. package/dist/index.cjs470.js +1 -1
  70. package/dist/index.cjs470.js.map +1 -1
  71. package/dist/index.cjs471.js +1 -1
  72. package/dist/index.cjs471.js.map +1 -1
  73. package/dist/index.cjs472.js +1 -1
  74. package/dist/index.cjs472.js.map +1 -1
  75. package/dist/index.cjs473.js +1 -1
  76. package/dist/index.cjs473.js.map +1 -1
  77. package/dist/index.cjs474.js +1 -1
  78. package/dist/index.cjs474.js.map +1 -1
  79. package/dist/index.cjs475.js +1 -1
  80. package/dist/index.cjs475.js.map +1 -1
  81. package/dist/index.cjs476.js +2 -0
  82. package/dist/index.cjs476.js.map +1 -0
  83. package/dist/{index.cjs479.js → index.cjs483.js} +2 -2
  84. package/dist/{index.cjs479.js.map → index.cjs483.js.map} +1 -1
  85. package/dist/{index.cjs480.js → index.cjs484.js} +2 -2
  86. package/dist/{index.cjs480.js.map → index.cjs484.js.map} +1 -1
  87. package/dist/{index.cjs481.js → index.cjs485.js} +2 -2
  88. package/dist/{index.cjs481.js.map → index.cjs485.js.map} +1 -1
  89. package/dist/{index.cjs482.js → index.cjs486.js} +2 -2
  90. package/dist/{index.cjs482.js.map → index.cjs486.js.map} +1 -1
  91. package/dist/{index.cjs488.js → index.cjs493.js} +1 -1
  92. package/dist/{index.cjs488.js.map → index.cjs493.js.map} +1 -1
  93. package/dist/index.cjs494.js +1 -1
  94. package/dist/index.cjs494.js.map +1 -1
  95. package/dist/index.cjs495.js +1 -1
  96. package/dist/index.cjs495.js.map +1 -1
  97. package/dist/index.cjs502.js +1 -1
  98. package/dist/index.cjs502.js.map +1 -1
  99. package/dist/index.cjs503.js +1 -1
  100. package/dist/index.cjs503.js.map +1 -1
  101. package/dist/index.cjs504.js +1 -1
  102. package/dist/index.cjs504.js.map +1 -1
  103. package/dist/{index.cjs498.js → index.cjs505.js} +2 -2
  104. package/dist/{index.cjs498.js.map → index.cjs505.js.map} +1 -1
  105. package/dist/{index.cjs499.js → index.cjs506.js} +2 -2
  106. package/dist/{index.cjs499.js.map → index.cjs506.js.map} +1 -1
  107. package/dist/index.cjs507.js +2 -0
  108. package/dist/index.cjs507.js.map +1 -0
  109. package/dist/index.cjs508.js +2 -0
  110. package/dist/index.cjs508.js.map +1 -0
  111. package/dist/index.cjs509.js +1 -1
  112. package/dist/index.cjs509.js.map +1 -1
  113. package/dist/index.cjs510.js +1 -1
  114. package/dist/index.cjs514.js +2 -0
  115. package/dist/index.cjs514.js.map +1 -0
  116. package/dist/index.cjs521.js +1 -1
  117. package/dist/index.cjs522.js +1 -1
  118. package/dist/index.cjs525.js +1 -1
  119. package/dist/index.cjs530.js +1 -1
  120. package/dist/index.cjs531.js +1 -1
  121. package/dist/index.cjs532.js +1 -1
  122. package/dist/index.cjs539.js +1 -1
  123. package/dist/index.cjs544.js +1 -1
  124. package/dist/index.cjs546.js +1 -1
  125. package/dist/index.cjs550.js +1 -1
  126. package/dist/index.cjs550.js.map +1 -1
  127. package/dist/index.cjs551.js +1 -1
  128. package/dist/index.cjs551.js.map +1 -1
  129. package/dist/index.cjs552.js +1 -1
  130. package/dist/index.cjs552.js.map +1 -1
  131. package/dist/index.cjs553.js +1 -1
  132. package/dist/index.cjs553.js.map +1 -1
  133. package/dist/index.cjs554.js +1 -1
  134. package/dist/index.cjs554.js.map +1 -1
  135. package/dist/index.cjs560.js +1 -1
  136. package/dist/index.cjs560.js.map +1 -1
  137. package/dist/index.cjs561.js +1 -1
  138. package/dist/index.cjs561.js.map +1 -1
  139. package/dist/index.cjs562.js +1 -1
  140. package/dist/index.cjs562.js.map +1 -1
  141. package/dist/{index.cjs568.js → index.cjs564.js} +2 -2
  142. package/dist/{index.cjs568.js.map → index.cjs564.js.map} +1 -1
  143. package/dist/{index.cjs569.js → index.cjs565.js} +1 -1
  144. package/dist/index.cjs565.js.map +1 -0
  145. package/dist/index.cjs655.js +1 -1
  146. package/dist/index.d.ts +2 -1
  147. package/dist/index.es149.js +38 -38
  148. package/dist/index.es149.js.map +1 -1
  149. package/dist/index.es179.js +6 -6
  150. package/dist/index.es179.js.map +1 -1
  151. package/dist/index.es207.js +6 -6
  152. package/dist/index.es207.js.map +1 -1
  153. package/dist/index.es229.js +1 -1
  154. package/dist/index.es236.js +2 -2
  155. package/dist/index.es275.js +6 -6
  156. package/dist/index.es288.js +7 -7
  157. package/dist/index.es29.js +12 -11
  158. package/dist/index.es29.js.map +1 -1
  159. package/dist/index.es299.js +1 -1
  160. package/dist/index.es306.js +12 -12
  161. package/dist/index.es313.js +1 -1
  162. package/dist/index.es314.js +1 -1
  163. package/dist/index.es318.js +1 -1
  164. package/dist/index.es327.js +1 -1
  165. package/dist/index.es329.js +1 -1
  166. package/dist/index.es337.js +6 -6
  167. package/dist/index.es378.js +3 -3
  168. package/dist/index.es384.js +1 -1
  169. package/dist/index.es419.js +1 -1
  170. package/dist/index.es437.js +1 -1
  171. package/dist/index.es438.js +1 -1
  172. package/dist/index.es439.js +3674 -5
  173. package/dist/index.es439.js.map +1 -1
  174. package/dist/index.es440.js +5 -528
  175. package/dist/index.es440.js.map +1 -1
  176. package/dist/index.es441.js +2 -3675
  177. package/dist/index.es441.js.map +1 -1
  178. package/dist/index.es442.js +2 -6
  179. package/dist/index.es442.js.map +1 -1
  180. package/dist/index.es443.js +2 -2
  181. package/dist/index.es444.js +6 -2
  182. package/dist/index.es444.js.map +1 -1
  183. package/dist/index.es445.js +529 -2
  184. package/dist/index.es445.js.map +1 -1
  185. package/dist/index.es453.js +25 -5
  186. package/dist/index.es453.js.map +1 -1
  187. package/dist/index.es454.js +64 -23
  188. package/dist/index.es454.js.map +1 -1
  189. package/dist/index.es455.js +5 -66
  190. package/dist/index.es455.js.map +1 -1
  191. package/dist/index.es457.js +5 -33
  192. package/dist/index.es457.js.map +1 -1
  193. package/dist/index.es458.js +24 -621
  194. package/dist/index.es458.js.map +1 -1
  195. package/dist/index.es459.js +68 -10
  196. package/dist/index.es459.js.map +1 -1
  197. package/dist/index.es460.js +33 -5
  198. package/dist/index.es460.js.map +1 -1
  199. package/dist/index.es461.js +621 -24
  200. package/dist/index.es461.js.map +1 -1
  201. package/dist/index.es462.js +10 -68
  202. package/dist/index.es462.js.map +1 -1
  203. package/dist/index.es464.js +1 -1
  204. package/dist/index.es465.js +13 -44
  205. package/dist/index.es465.js.map +1 -1
  206. package/dist/index.es466.js +45 -13
  207. package/dist/index.es466.js.map +1 -1
  208. package/dist/index.es467.js +13 -124
  209. package/dist/index.es467.js.map +1 -1
  210. package/dist/index.es468.js +122 -12
  211. package/dist/index.es468.js.map +1 -1
  212. package/dist/index.es469.js +14 -134
  213. package/dist/index.es469.js.map +1 -1
  214. package/dist/index.es470.js +127 -211
  215. package/dist/index.es470.js.map +1 -1
  216. package/dist/index.es471.js +218 -13
  217. package/dist/index.es471.js.map +1 -1
  218. package/dist/index.es472.js +14 -181
  219. package/dist/index.es472.js.map +1 -1
  220. package/dist/index.es473.js +180 -10
  221. package/dist/index.es473.js.map +1 -1
  222. package/dist/index.es474.js +11 -50
  223. package/dist/index.es474.js.map +1 -1
  224. package/dist/index.es475.js +50 -9
  225. package/dist/index.es475.js.map +1 -1
  226. package/dist/index.es476.js +12 -0
  227. package/dist/index.es476.js.map +1 -0
  228. package/dist/{index.es479.js → index.es483.js} +2 -2
  229. package/dist/{index.es479.js.map → index.es483.js.map} +1 -1
  230. package/dist/{index.es480.js → index.es484.js} +3 -3
  231. package/dist/{index.es480.js.map → index.es484.js.map} +1 -1
  232. package/dist/{index.es481.js → index.es485.js} +2 -2
  233. package/dist/{index.es481.js.map → index.es485.js.map} +1 -1
  234. package/dist/{index.es482.js → index.es486.js} +4 -4
  235. package/dist/{index.es482.js.map → index.es486.js.map} +1 -1
  236. package/dist/{index.es488.js → index.es493.js} +1 -1
  237. package/dist/{index.es488.js.map → index.es493.js.map} +1 -1
  238. package/dist/index.es494.js +29 -15
  239. package/dist/index.es494.js.map +1 -1
  240. package/dist/index.es495.js +5 -5
  241. package/dist/index.es495.js.map +1 -1
  242. package/dist/index.es502.js +5 -525
  243. package/dist/index.es502.js.map +1 -1
  244. package/dist/index.es503.js +3 -128
  245. package/dist/index.es503.js.map +1 -1
  246. package/dist/index.es504.js +22 -132
  247. package/dist/index.es504.js.map +1 -1
  248. package/dist/{index.es498.js → index.es505.js} +2 -2
  249. package/dist/{index.es498.js.map → index.es505.js.map} +1 -1
  250. package/dist/{index.es499.js → index.es506.js} +2 -2
  251. package/dist/{index.es499.js.map → index.es506.js.map} +1 -1
  252. package/dist/index.es507.js +528 -0
  253. package/dist/index.es507.js.map +1 -0
  254. package/dist/index.es508.js +131 -0
  255. package/dist/index.es508.js.map +1 -0
  256. package/dist/index.es509.js +130 -61
  257. package/dist/index.es509.js.map +1 -1
  258. package/dist/index.es510.js +1 -1
  259. package/dist/index.es514.js +68 -0
  260. package/dist/index.es514.js.map +1 -0
  261. package/dist/index.es521.js +1 -1
  262. package/dist/index.es522.js +2 -2
  263. package/dist/index.es525.js +3 -3
  264. package/dist/index.es530.js +2 -2
  265. package/dist/index.es531.js +1 -1
  266. package/dist/index.es532.js +13 -13
  267. package/dist/index.es539.js +8 -8
  268. package/dist/index.es544.js +7 -7
  269. package/dist/index.es546.js +1 -1
  270. package/dist/index.es550.js +6 -2
  271. package/dist/index.es550.js.map +1 -1
  272. package/dist/index.es551.js +16 -2
  273. package/dist/index.es551.js.map +1 -1
  274. package/dist/index.es552.js +2 -2
  275. package/dist/index.es552.js.map +1 -1
  276. package/dist/index.es553.js +2 -6
  277. package/dist/index.es553.js.map +1 -1
  278. package/dist/index.es554.js +2 -16
  279. package/dist/index.es554.js.map +1 -1
  280. package/dist/index.es560.js +4 -3
  281. package/dist/index.es560.js.map +1 -1
  282. package/dist/index.es561.js +3 -2
  283. package/dist/index.es561.js.map +1 -1
  284. package/dist/index.es562.js +2 -4
  285. package/dist/index.es562.js.map +1 -1
  286. package/dist/{index.es568.js → index.es564.js} +3 -3
  287. package/dist/{index.es568.js.map → index.es564.js.map} +1 -1
  288. package/dist/{index.es569.js → index.es565.js} +1 -1
  289. package/dist/index.es565.js.map +1 -0
  290. package/dist/index.es655.js +1 -1
  291. package/dist/sections/Slider/Slider.css +1 -1
  292. package/package.json +1 -1
  293. package/dist/index.cjs489.js +0 -2
  294. package/dist/index.cjs489.js.map +0 -1
  295. package/dist/index.cjs490.js +0 -2
  296. package/dist/index.cjs490.js.map +0 -1
  297. package/dist/index.cjs496.js +0 -2
  298. package/dist/index.cjs496.js.map +0 -1
  299. package/dist/index.cjs497.js +0 -2
  300. package/dist/index.cjs497.js.map +0 -1
  301. package/dist/index.cjs569.js.map +0 -1
  302. package/dist/index.es489.js +0 -32
  303. package/dist/index.es489.js.map +0 -1
  304. package/dist/index.es490.js +0 -8
  305. package/dist/index.es490.js.map +0 -1
  306. package/dist/index.es496.js +0 -6
  307. package/dist/index.es496.js.map +0 -1
  308. package/dist/index.es497.js +0 -27
  309. package/dist/index.es497.js.map +0 -1
  310. package/dist/index.es569.js.map +0 -1
  311. /package/dist/components/ui/{DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css → ConsentModal/ConsentModalContent/ConsentModalContent.css} +0 -0
  312. /package/dist/components/ui/{DoctorConfirmModal/DoctorConfirmModalFooter/DoctorConfirmModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
@@ -0,0 +1,131 @@
1
+ const j = ["top", "right", "bottom", "left"], m = Math.min, p = Math.max, C = Math.round, L = Math.floor, E = (t) => ({
2
+ x: t,
3
+ y: t
4
+ }), h = {
5
+ left: "right",
6
+ right: "left",
7
+ bottom: "top",
8
+ top: "bottom"
9
+ }, x = {
10
+ start: "end",
11
+ end: "start"
12
+ };
13
+ function R(t, e, n) {
14
+ return p(t, m(e, n));
15
+ }
16
+ function T(t, e) {
17
+ return typeof t == "function" ? t(e) : t;
18
+ }
19
+ function g(t) {
20
+ return t.split("-")[0];
21
+ }
22
+ function a(t) {
23
+ return t.split("-")[1];
24
+ }
25
+ function b(t) {
26
+ return t === "x" ? "y" : "x";
27
+ }
28
+ function d(t) {
29
+ return t === "y" ? "height" : "width";
30
+ }
31
+ const A = /* @__PURE__ */ new Set(["top", "bottom"]);
32
+ function P(t) {
33
+ return A.has(g(t)) ? "y" : "x";
34
+ }
35
+ function y(t) {
36
+ return b(P(t));
37
+ }
38
+ function k(t, e, n) {
39
+ n === void 0 && (n = !1);
40
+ const r = a(t), i = y(t), o = d(i);
41
+ let c = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
42
+ return e.reference[o] > e.floating[o] && (c = f(c)), [c, f(c)];
43
+ }
44
+ function q(t) {
45
+ const e = f(t);
46
+ return [s(t), e, s(e)];
47
+ }
48
+ function s(t) {
49
+ return t.replace(/start|end/g, (e) => x[e]);
50
+ }
51
+ const u = ["left", "right"], l = ["right", "left"], M = ["top", "bottom"], O = ["bottom", "top"];
52
+ function S(t, e, n) {
53
+ switch (t) {
54
+ case "top":
55
+ case "bottom":
56
+ return n ? e ? l : u : e ? u : l;
57
+ case "left":
58
+ case "right":
59
+ return e ? M : O;
60
+ default:
61
+ return [];
62
+ }
63
+ }
64
+ function z(t, e, n, r) {
65
+ const i = a(t);
66
+ let o = S(g(t), n === "start", r);
67
+ return i && (o = o.map((c) => c + "-" + i), e && (o = o.concat(o.map(s)))), o;
68
+ }
69
+ function f(t) {
70
+ return t.replace(/left|right|bottom|top/g, (e) => h[e]);
71
+ }
72
+ function w(t) {
73
+ return {
74
+ top: 0,
75
+ right: 0,
76
+ bottom: 0,
77
+ left: 0,
78
+ ...t
79
+ };
80
+ }
81
+ function B(t) {
82
+ return typeof t != "number" ? w(t) : {
83
+ top: t,
84
+ right: t,
85
+ bottom: t,
86
+ left: t
87
+ };
88
+ }
89
+ function D(t) {
90
+ const {
91
+ x: e,
92
+ y: n,
93
+ width: r,
94
+ height: i
95
+ } = t;
96
+ return {
97
+ width: r,
98
+ height: i,
99
+ top: n,
100
+ left: e,
101
+ right: e + r,
102
+ bottom: n + i,
103
+ x: e,
104
+ y: n
105
+ };
106
+ }
107
+ export {
108
+ R as clamp,
109
+ E as createCoords,
110
+ T as evaluate,
111
+ w as expandPaddingObject,
112
+ L as floor,
113
+ a as getAlignment,
114
+ y as getAlignmentAxis,
115
+ k as getAlignmentSides,
116
+ d as getAxisLength,
117
+ q as getExpandedPlacements,
118
+ s as getOppositeAlignmentPlacement,
119
+ b as getOppositeAxis,
120
+ z as getOppositeAxisPlacements,
121
+ f as getOppositePlacement,
122
+ B as getPaddingObject,
123
+ g as getSide,
124
+ P as getSideAxis,
125
+ p as max,
126
+ m as min,
127
+ D as rectToClientRect,
128
+ C as round,
129
+ j as sides
130
+ };
131
+ //# sourceMappingURL=index.es508.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es508.js","sources":["../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs"],"sourcesContent":["/**\n * Custom positioning reference element.\n * @see https://floating-ui.com/docs/virtual-elements\n */\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst alignments = ['start', 'end'];\nconst placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-\" + alignments[0], side + \"-\" + alignments[1]), []);\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n x: v,\n y: v\n});\nconst oppositeSideMap = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nconst oppositeAlignmentMap = {\n start: 'end',\n end: 'start'\n};\nfunction clamp(start, value, end) {\n return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\nconst yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);\nfunction getSideAxis(placement) {\n return yAxisSides.has(getSide(placement)) ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n const alignment = getAlignment(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const length = getAxisLength(alignmentAxis);\n let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);\n}\nconst lrPlacement = ['left', 'right'];\nconst rlPlacement = ['right', 'left'];\nconst tbPlacement = ['top', 'bottom'];\nconst btPlacement = ['bottom', 'top'];\nfunction getSideList(side, isStart, rtl) {\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rlPlacement : lrPlacement;\n return isStart ? lrPlacement : rlPlacement;\n case 'left':\n case 'right':\n return isStart ? tbPlacement : btPlacement;\n default:\n return [];\n }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n const alignment = getAlignment(placement);\n let list = getSideList(getSide(placement), direction === 'start', rtl);\n if (alignment) {\n list = list.map(side => side + \"-\" + alignment);\n if (flipAlignment) {\n list = list.concat(list.map(getOppositeAlignmentPlacement));\n }\n }\n return list;\n}\nfunction getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);\n}\nfunction expandPaddingObject(padding) {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...padding\n };\n}\nfunction getPaddingObject(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\nfunction rectToClientRect(rect) {\n const {\n x,\n y,\n width,\n height\n } = rect;\n return {\n width,\n height,\n top: y,\n left: x,\n right: x + width,\n bottom: y + height,\n x,\n y\n };\n}\n\nexport { alignments, clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, placements, rectToClientRect, round, sides };\n"],"names":["sides","min","max","round","floor","createCoords","v","oppositeSideMap","oppositeAlignmentMap","clamp","start","value","end","evaluate","param","getSide","placement","getAlignment","getOppositeAxis","axis","getAxisLength","yAxisSides","getSideAxis","getAlignmentAxis","getAlignmentSides","rects","rtl","alignment","alignmentAxis","length","mainAlignmentSide","getOppositePlacement","getExpandedPlacements","oppositePlacement","getOppositeAlignmentPlacement","lrPlacement","rlPlacement","tbPlacement","btPlacement","getSideList","side","isStart","getOppositeAxisPlacements","flipAlignment","direction","list","expandPaddingObject","padding","getPaddingObject","rectToClientRect","rect","x","y","width","height"],"mappings":"AAKK,MAACA,IAAQ,CAAC,OAAO,SAAS,UAAU,MAAM,GAGzCC,IAAM,KAAK,KACXC,IAAM,KAAK,KACXC,IAAQ,KAAK,OACbC,IAAQ,KAAK,OACbC,IAAe,CAAAC,OAAM;AAAA,EACzB,GAAGA;AAAA,EACH,GAAGA;AACL,IACMC,IAAkB;AAAA,EACtB,MAAM;AAAA,EACN,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,KAAK;AACP,GACMC,IAAuB;AAAA,EAC3B,OAAO;AAAA,EACP,KAAK;AACP;AACA,SAASC,EAAMC,GAAOC,GAAOC,GAAK;AAChC,SAAOV,EAAIQ,GAAOT,EAAIU,GAAOC,CAAG,CAAC;AACnC;AACA,SAASC,EAASF,GAAOG,GAAO;AAC9B,SAAO,OAAOH,KAAU,aAAaA,EAAMG,CAAK,IAAIH;AACtD;AACA,SAASI,EAAQC,GAAW;AAC1B,SAAOA,EAAU,MAAM,GAAG,EAAE,CAAC;AAC/B;AACA,SAASC,EAAaD,GAAW;AAC/B,SAAOA,EAAU,MAAM,GAAG,EAAE,CAAC;AAC/B;AACA,SAASE,EAAgBC,GAAM;AAC7B,SAAOA,MAAS,MAAM,MAAM;AAC9B;AACA,SAASC,EAAcD,GAAM;AAC3B,SAAOA,MAAS,MAAM,WAAW;AACnC;AACA,MAAME,IAA0B,oBAAI,IAAI,CAAC,OAAO,QAAQ,CAAC;AACzD,SAASC,EAAYN,GAAW;AAC9B,SAAOK,EAA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,CAAS;AACxC,MAAI6B,IAAON,EAAYxB,EAAQC,CAAS,GAAG4B,MAAc,SAASlB,CAAG;AACrE,SAAIC,MACFkB,IAAOA,EAAK,IAAI,CAAAL,MAAQA,IAAO,MAAMb,CAAS,GAC1CgB,MACFE,IAAOA,EAAK,OAAOA,EAAK,IAAIX,CAA6B,CAAC,KAGvDW;AACT;AACA,SAASd,EAAqBf,GAAW;AACvC,SAAOA,EAAU,QAAQ,0BAA0B,CAAAwB,MAAQjC,EAAgBiC,CAAI,CAAC;AAClF;AACA,SAASM,EAAoBC,GAAS;AACpC,SAAO;AAAA,IACL,KAAK;AAAA,IACL,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,GAAGA;AAAA,EACP;AACA;AACA,SAASC,EAAiBD,GAAS;AACjC,SAAO,OAAOA,KAAY,WAAWD,EAAoBC,CAAO,IAAI;AAAA,IAClE,KAAKA;AAAA,IACL,OAAOA;AAAA,IACP,QAAQA;AAAA,IACR,MAAMA;AAAA,EACV;AACA;AACA,SAASE,EAAiBC,GAAM;AAC9B,QAAM;AAAA,IACJ,GAAAC;AAAA,IACA,GAAAC;AAAA,IACA,OAAAC;AAAA,IACA,QAAAC;AAAA,EACJ,IAAMJ;AACJ,SAAO;AAAA,IACL,OAAAG;AAAA,IACA,QAAAC;AAAA,IACA,KAAKF;AAAA,IACL,MAAMD;AAAA,IACN,OAAOA,IAAIE;AAAA,IACX,QAAQD,IAAIE;AAAA,IACZ,GAAAH;AAAA,IACA,GAAAC;AAAA,EACJ;AACA;","x_google_ignoreList":[0]}
@@ -1,68 +1,137 @@
1
- import { __assign as d } from "./index.es488.js";
2
- function l(r) {
3
- return r;
4
- }
5
- function h(r, t) {
6
- t === void 0 && (t = l);
7
- var e = [], o = !1, c = {
8
- read: function() {
9
- if (o)
10
- throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
11
- return e.length ? e[e.length - 1] : r;
12
- },
13
- useMedium: function(u) {
14
- var n = t(u, o);
15
- return e.push(n), function() {
16
- e = e.filter(function(i) {
17
- return i !== n;
18
- });
19
- };
20
- },
21
- assignSyncMedium: function(u) {
22
- for (o = !0; e.length; ) {
23
- var n = e;
24
- e = [], n.forEach(u);
25
- }
26
- e = {
27
- push: function(i) {
28
- return u(i);
29
- },
30
- filter: function() {
31
- return e;
32
- }
33
- };
34
- },
35
- assignMedium: function(u) {
36
- o = !0;
37
- var n = [];
38
- if (e.length) {
39
- var i = e;
40
- e = [], i.forEach(u), n = e;
41
- }
42
- var s = function() {
43
- var f = n;
44
- n = [], f.forEach(u);
45
- }, a = function() {
46
- return Promise.resolve().then(s);
47
- };
48
- a(), e = {
49
- push: function(f) {
50
- n.push(f), a();
51
- },
52
- filter: function(f) {
53
- return n = n.filter(f), e;
54
- }
55
- };
1
+ function c() {
2
+ return typeof window < "u";
3
+ }
4
+ function u(t) {
5
+ return p(t) ? (t.nodeName || "").toLowerCase() : "#document";
6
+ }
7
+ function i(t) {
8
+ var e;
9
+ return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
10
+ }
11
+ function N(t) {
12
+ var e;
13
+ return (e = (p(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
14
+ }
15
+ function p(t) {
16
+ return c() ? t instanceof Node || t instanceof i(t).Node : !1;
17
+ }
18
+ function m(t) {
19
+ return c() ? t instanceof Element || t instanceof i(t).Element : !1;
20
+ }
21
+ function w(t) {
22
+ return c() ? t instanceof HTMLElement || t instanceof i(t).HTMLElement : !1;
23
+ }
24
+ function f(t) {
25
+ return !c() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof i(t).ShadowRoot;
26
+ }
27
+ const E = /* @__PURE__ */ new Set(["inline", "contents"]);
28
+ function y(t) {
29
+ const {
30
+ overflow: e,
31
+ overflowX: n,
32
+ overflowY: o,
33
+ display: r
34
+ } = S(t);
35
+ return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !E.has(r);
36
+ }
37
+ const T = /* @__PURE__ */ new Set(["table", "td", "th"]);
38
+ function A(t) {
39
+ return T.has(u(t));
40
+ }
41
+ const v = [":popover-open", ":modal"];
42
+ function L(t) {
43
+ return v.some((e) => {
44
+ try {
45
+ return t.matches(e);
46
+ } catch {
47
+ return !1;
56
48
  }
49
+ });
50
+ }
51
+ const D = ["transform", "translate", "scale", "rotate", "perspective"], C = ["transform", "translate", "scale", "rotate", "perspective", "filter"], k = ["paint", "layout", "strict", "content"];
52
+ function V(t) {
53
+ const e = O(), n = m(t) ? S(t) : t;
54
+ return D.some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || C.some((o) => (n.willChange || "").includes(o)) || k.some((o) => (n.contain || "").includes(o));
55
+ }
56
+ function B(t) {
57
+ let e = s(t);
58
+ for (; w(e) && !h(e); ) {
59
+ if (V(e))
60
+ return e;
61
+ if (L(e))
62
+ return null;
63
+ e = s(e);
64
+ }
65
+ return null;
66
+ }
67
+ function O() {
68
+ return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
69
+ }
70
+ const R = /* @__PURE__ */ new Set(["html", "body", "#document"]);
71
+ function h(t) {
72
+ return R.has(u(t));
73
+ }
74
+ function S(t) {
75
+ return i(t).getComputedStyle(t);
76
+ }
77
+ function F(t) {
78
+ return m(t) ? {
79
+ scrollLeft: t.scrollLeft,
80
+ scrollTop: t.scrollTop
81
+ } : {
82
+ scrollLeft: t.scrollX,
83
+ scrollTop: t.scrollY
57
84
  };
58
- return c;
59
85
  }
60
- function v(r) {
61
- r === void 0 && (r = {});
62
- var t = h(null);
63
- return t.options = d({ async: !0, ssr: !1 }, r), t;
86
+ function s(t) {
87
+ if (u(t) === "html")
88
+ return t;
89
+ const e = (
90
+ // Step into the shadow DOM of the parent of a slotted node.
91
+ t.assignedSlot || // DOM Element detected.
92
+ t.parentNode || // ShadowRoot detected.
93
+ f(t) && t.host || // Fallback.
94
+ N(t)
95
+ );
96
+ return f(e) ? e.host : e;
97
+ }
98
+ function b(t) {
99
+ const e = s(t);
100
+ return h(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : w(e) && y(e) ? e : b(e);
101
+ }
102
+ function d(t, e, n) {
103
+ var o;
104
+ e === void 0 && (e = []), n === void 0 && (n = !0);
105
+ const r = b(t), g = r === ((o = t.ownerDocument) == null ? void 0 : o.body), l = i(r);
106
+ if (g) {
107
+ const a = _(l);
108
+ return e.concat(l, l.visualViewport || [], y(r) ? r : [], a && n ? d(a) : []);
109
+ }
110
+ return e.concat(r, d(r, [], n));
111
+ }
112
+ function _(t) {
113
+ return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
64
114
  }
65
115
  export {
66
- v as createSidecarMedium
116
+ S as getComputedStyle,
117
+ B as getContainingBlock,
118
+ N as getDocumentElement,
119
+ _ as getFrameElement,
120
+ b as getNearestOverflowAncestor,
121
+ u as getNodeName,
122
+ F as getNodeScroll,
123
+ d as getOverflowAncestors,
124
+ s as getParentNode,
125
+ i as getWindow,
126
+ V as isContainingBlock,
127
+ m as isElement,
128
+ w as isHTMLElement,
129
+ h as isLastTraversableNode,
130
+ p as isNode,
131
+ y as isOverflowElement,
132
+ f as isShadowRoot,
133
+ A as isTableElement,
134
+ L as isTopLayer,
135
+ O as isWebKit
67
136
  };
68
137
  //# sourceMappingURL=index.es509.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es509.js","sources":["../node_modules/use-sidecar/dist/es2015/medium.js"],"sourcesContent":["import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n"],"names":["ItoI","a","innerCreateMedium","defaults","middleware","buffer","assigned","medium","data","item","x","cb","cbs","pendingQueue","executeQueue","cycle","filter","createSidecarMedium","options","__assign"],"mappings":";AACA,SAASA,EAAKC,GAAG;AACb,SAAOA;AACX;AACA,SAASC,EAAkBC,GAAUC,GAAY;AAC7C,EAAIA,MAAe,WAAUA,IAAaJ;AAC1C,MAAIK,IAAS,CAAA,GACTC,IAAW,IACXC,IAAS;AAAA,IACT,MAAM,WAAY;AACd,UAAID;AACA,cAAM,IAAI,MAAM,kGAAkG;AAEtH,aAAID,EAAO,SACAA,EAAOA,EAAO,SAAS,CAAC,IAE5BF;AAAA,IACX;AAAA,IACA,WAAW,S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AAIX,IAASL,EAAkB,IAAI;AACnC,SAAAK,EAAO,UAAUY,EAAS,EAAE,OAAO,IAAM,KAAK,GAAK,GAAID,CAAO,GACvDX;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es509.js","sources":["../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nconst invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);\n}\nconst tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);\nfunction isTableElement(element) {\n return tableElements.has(getNodeName(element));\n}\nconst topLayerSelectors = [':popover-open', ':modal'];\nfunction isTopLayer(element) {\n return topLayerSelectors.some(selector => {\n try {\n return element.matches(selector);\n } catch (_e) {\n return false;\n }\n });\n}\nconst transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];\nconst willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];\nconst containValues = ['paint', 'layout', 'strict', 'content'];\nfunction isContainingBlock(elementOrCss) {\n const webkit = isWebKit();\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return transformProperties.some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || willChangeValues.some(value => (css.willChange || '').includes(value)) || containValues.some(value => (css.contain || '').includes(value));\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (typeof CSS === 'undefined' || !CSS.supports) return false;\n return CSS.supports('-webkit-backdrop-filter', 'none');\n}\nconst lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);\nfunction isLastTraversableNode(node) {\n return lastTraversableNodeNames.has(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n }\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n"],"names":["hasWindow","getNodeName","node","isNode","getWindow","_node$ownerDocument","getDocumentElement","_ref","value","isElement","isHTMLElement","isShadowRoot","invalidOverflowDisplayValues","isOverflowElement","element","overflow","overflowX","overflowY","display","getComputedStyle","tableElements","isTableElement","topLayerSelectors","isTopLayer","selector","transformProperties","willChangeValues","containValues","isContainingBlock","elementOrCss","webkit","isWebKit","css","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","lastTraversableNodeNames","getNodeScroll","result","getNearestOverflowAncestor","parentNode","getOverflowAncestors","list","traverseIframes","_node$ownerDocument2","scrollableAncestor","isBody","win","frameElement","getFrameElement"],"mappings":"AAAA,SAASA,IAAY;AACnB,SAAO,OAAO,SAAW;AAC3B;AACA,SAASC,EAAYC,GAAM;AACzB,SAAIC,EAAOD,CAAI,KACLA,EAAK,YAAY,IAAI,YAAW,IAKnC;AACT;AACA,SAASE,EAAUF,GAAM;AACvB,MAAIG;AACJ,UAAQH,KAAQ,SAASG,IAAsBH,EAAK,kBAAkB,OAAO,SAASG,EAAoB,gBAAgB;AAC5H;AACA,SAASC,EAAmBJ,GAAM;AAChC,MAAIK;AACJ,UAAQA,KAAQJ,EAAOD,CAAI,IAAIA,EAAK,gBAAgBA,EAAK,aAAa,OAAO,aAAa,OAAO,SAASK,EAAK;AACjH;AACA,SAASJ,EAAOK,GAAO;AACrB,SAAKR,EAAS,IAGPQ,aAAiB,QAAQA,aAAiBJ,EAAUI,CAAK,EAAE,OAFzD;AAGX;AACA,SAASC,EAAUD,GAAO;AACxB,SAAKR,EAAS,IAGPQ,aAAiB,WAAWA,aAAiBJ,EAAUI,CAAK,EAAE,UAF5D;AAGX;AACA,SAASE,EAAcF,GAAO;AAC5B,SAAKR,EAAS,IAGPQ,aAAiB,eAAeA,aAAiBJ,EAAUI,CAAK,EAAE,cAFhE;AAGX;AACA,SAASG,EAAaH,GAAO;AAC3B,SAAI,CAACR,EAAS,KAAM,OAAO,aAAe,MACjC,KAEFQ,aAAiB,cAAcA,aAAiBJ,EAAUI,CAAK,EAAE;AAC1E;AACA,MAAMI,IAA4C,oBAAI,IAAI,CAAC,UAAU,UAAU,CAAC;AAChF,SAASC,EAAkBC,GAAS;AAClC,QAAM;AAAA,IACJ,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,SA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AAMyC,GAAMC,GAAiB;AACzD,MAAIC;AACJ,EAAIF,MAAS,WACXA,IAAO,CAAA,IAELC,MAAoB,WACtBA,IAAkB;AAEpB,QAAME,IAAqBN,EAA2BtC,CAAI,GACpD6C,IAASD,QAAyBD,IAAuB3C,EAAK,kBAAkB,OAAO,SAAS2C,EAAqB,OACrHG,IAAM5C,EAAU0C,CAAkB;AACxC,MAAIC,GAAQ;AACV,UAAME,IAAeC,EAAgBF,CAAG;AACxC,WAAOL,EAAK,OAAOK,GAAKA,EAAI,kBAAkB,CAAA,GAAInC,EAAkBiC,CAAkB,IAAIA,IAAqB,CAAA,GAAIG,KAAgBL,IAAkBF,EAAqBO,CAAY,IAAI,EAAE;AAAA,EAC9L;AACA,SAAON,EAAK,OAAOG,GAAoBJ,EAAqBI,GAAoB,CAAA,GAAIF,CAAe,CAAC;AACtG;AACA,SAASM,EAAgBF,GAAK;AAC5B,SAAOA,EAAI,UAAU,OAAO,eAAeA,EAAI,MAAM,IAAIA,EAAI,eAAe;AAC9E;","x_google_ignoreList":[0]}
@@ -1,6 +1,6 @@
1
1
  import * as d from "react";
2
2
  import { styleSingleton as f } from "./index.es511.js";
3
- import { noScrollbarsClassName as p, zeroRightClassName as g, fullWidthClassName as l, removedBarSizeVariable as v } from "./index.es495.js";
3
+ import { noScrollbarsClassName as p, zeroRightClassName as g, fullWidthClassName as l, removedBarSizeVariable as v } from "./index.es502.js";
4
4
  import { getGapWidth as m } from "./index.es520.js";
5
5
  var b = f(), e = "data-scroll-locked", h = function(n, a, o, t) {
6
6
  var r = n.left, i = n.top, s = n.right, c = n.gap;
@@ -0,0 +1,68 @@
1
+ import { __assign as d } from "./index.es493.js";
2
+ function l(r) {
3
+ return r;
4
+ }
5
+ function h(r, t) {
6
+ t === void 0 && (t = l);
7
+ var e = [], o = !1, c = {
8
+ read: function() {
9
+ if (o)
10
+ throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
11
+ return e.length ? e[e.length - 1] : r;
12
+ },
13
+ useMedium: function(u) {
14
+ var n = t(u, o);
15
+ return e.push(n), function() {
16
+ e = e.filter(function(i) {
17
+ return i !== n;
18
+ });
19
+ };
20
+ },
21
+ assignSyncMedium: function(u) {
22
+ for (o = !0; e.length; ) {
23
+ var n = e;
24
+ e = [], n.forEach(u);
25
+ }
26
+ e = {
27
+ push: function(i) {
28
+ return u(i);
29
+ },
30
+ filter: function() {
31
+ return e;
32
+ }
33
+ };
34
+ },
35
+ assignMedium: function(u) {
36
+ o = !0;
37
+ var n = [];
38
+ if (e.length) {
39
+ var i = e;
40
+ e = [], i.forEach(u), n = e;
41
+ }
42
+ var s = function() {
43
+ var f = n;
44
+ n = [], f.forEach(u);
45
+ }, a = function() {
46
+ return Promise.resolve().then(s);
47
+ };
48
+ a(), e = {
49
+ push: function(f) {
50
+ n.push(f), a();
51
+ },
52
+ filter: function(f) {
53
+ return n = n.filter(f), e;
54
+ }
55
+ };
56
+ }
57
+ };
58
+ return c;
59
+ }
60
+ function v(r) {
61
+ r === void 0 && (r = {});
62
+ var t = h(null);
63
+ return t.options = d({ async: !0, ssr: !1 }, r), t;
64
+ }
65
+ export {
66
+ v as createSidecarMedium
67
+ };
68
+ //# sourceMappingURL=index.es514.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es514.js","sources":["../node_modules/use-sidecar/dist/es2015/medium.js"],"sourcesContent":["import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n"],"names":["ItoI","a","innerCreateMedium","defaults","middleware","buffer","assigned","medium","data","item","x","cb","cbs","pendingQueue","executeQueue","cycle","filter","createSidecarMedium","options","__assign"],"mappings":";AACA,SAASA,EAAKC,GAAG;AACb,SAAOA;AACX;AACA,SAASC,EAAkBC,GAAUC,GAAY;AAC7C,EAAIA,MAAe,WAAUA,IAAaJ;AAC1C,MAAIK,IAAS,CAAA,GACTC,IAAW,IACXC,IAAS;AAAA,IACT,MAAM,WAAY;AACd,UAAID;AACA,cAAM,IAAI,MAAM,kGAAkG;AAEtH,aAAID,EAAO,SACAA,EAAOA,EAAO,SAAS,CAAC,IAE5BF;AAAA,IACX;AAAA,IACA,WAAW,SAAUK,GAAM;AACvB,UAAIC,IAAOL,EAAWI,GAAMF,CAAQ;AACpC,aAAAD,EAAO,KAAKI,CAAI,GACT,WAAY;AACf,QAAAJ,IAASA,EAAO,OAAO,SAAUK,GAAG;AA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4 @@
1
- import { getDefaultExportFromCjs as r } from "./index.es442.js";
1
+ import { getDefaultExportFromCjs as r } from "./index.es440.js";
2
2
  import { __require as s } from "./index.es547.js";
3
3
  var e = s();
4
4
  const t = /* @__PURE__ */ r(e);
@@ -1,11 +1,11 @@
1
1
  import * as e from "react";
2
2
  import u from "./index.es521.js";
3
- import { baseButtonPropDefs as s } from "./index.es553.js";
3
+ import { baseButtonPropDefs as s } from "./index.es550.js";
4
4
  import { Flex as f } from "./index.es523.js";
5
5
  import { Spinner as B } from "./index.es540.js";
6
6
  import { VisuallyHidden as b } from "./index.es545.js";
7
7
  import { extractProps as y } from "./index.es524.js";
8
- import { mapResponsiveProp as E, mapButtonSizeToSpinnerSize as g } from "./index.es554.js";
8
+ import { mapResponsiveProp as E, mapButtonSizeToSpinnerSize as g } from "./index.es551.js";
9
9
  import { marginPropDefs as h } from "./index.es526.js";
10
10
  import { Root as z } from "./index.es464.js";
11
11
  const S = e.forwardRef((t, o) => {
@@ -1,6 +1,6 @@
1
- import { paddingPropDefs as s } from "./index.es550.js";
2
- import { heightPropDefs as t } from "./index.es551.js";
3
- import { widthPropDefs as o } from "./index.es552.js";
1
+ import { paddingPropDefs as s } from "./index.es553.js";
2
+ import { heightPropDefs as t } from "./index.es552.js";
3
+ import { widthPropDefs as o } from "./index.es554.js";
4
4
  const r = ["visible", "hidden", "clip", "scroll", "auto"], i = ["static", "relative", "absolute", "fixed", "sticky"], e = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-1", "-2", "-3", "-4", "-5", "-6", "-7", "-8", "-9"], p = ["0", "1"], a = ["0", "1"], l = { ...s, ...o, ...t, position: { type: "enum", className: "rt-r-position", values: i, responsive: !0 }, inset: { type: "enum | string", className: "rt-r-inset", customProperties: ["--inset"], values: e, responsive: !0 }, top: { type: "enum | string", className: "rt-r-top", customProperties: ["--top"], values: e, responsive: !0 }, right: { type: "enum | string", className: "rt-r-right", customProperties: ["--right"], values: e, responsive: !0 }, bottom: { type: "enum | string", className: "rt-r-bottom", customProperties: ["--bottom"], values: e, responsive: !0 }, left: { type: "enum | string", className: "rt-r-left", customProperties: ["--left"], values: e, responsive: !0 }, overflow: { type: "enum", className: "rt-r-overflow", values: r, responsive: !0 }, overflowX: { type: "enum", className: "rt-r-ox", values: r, responsive: !0 }, overflowY: { type: "enum", className: "rt-r-oy", values: r, responsive: !0 }, flexBasis: { type: "string", className: "rt-r-fb", customProperties: ["--flex-basis"], responsive: !0 }, flexShrink: { type: "enum | string", className: "rt-r-fs", customProperties: ["--flex-shrink"], values: p, responsive: !0 }, flexGrow: { type: "enum | string", className: "rt-r-fg", customProperties: ["--flex-grow"], values: a, responsive: !0 }, gridArea: { type: "string", className: "rt-r-ga", customProperties: ["--grid-area"], responsive: !0 }, gridColumn: { type: "string", className: "rt-r-gc", customProperties: ["--grid-column"], responsive: !0 }, gridColumnStart: { type: "string", className: "rt-r-gcs", customProperties: ["--grid-column-start"], responsive: !0 }, gridColumnEnd: { type: "string", className: "rt-r-gce", customProperties: ["--grid-column-end"], responsive: !0 }, gridRow: { type: "string", className: "rt-r-gr", customProperties: ["--grid-row"], responsive: !0 }, gridRowStart: { type: "string", className: "rt-r-grs", customProperties: ["--grid-row-start"], responsive: !0 }, gridRowEnd: { type: "string", className: "rt-r-gre", customProperties: ["--grid-row-end"], responsive: !0 } };
5
5
  export {
6
6
  l as layoutPropDefs
@@ -1,6 +1,6 @@
1
1
  import { asChildPropDef as e } from "./index.es555.js";
2
- import { heightPropDefs as i } from "./index.es551.js";
3
- import { widthPropDefs as t } from "./index.es552.js";
2
+ import { heightPropDefs as i } from "./index.es552.js";
3
+ import { widthPropDefs as t } from "./index.es554.js";
4
4
  const o = ["1", "2", "3", "4"], a = { ...e, size: { type: "enum", className: "rt-r-size", values: o, default: "2", responsive: !0 }, width: t.width, minWidth: t.minWidth, maxWidth: { ...t.maxWidth, default: "480px" }, ...i };
5
5
  export {
6
6
  a as popoverContentPropDefs
@@ -3,7 +3,7 @@ import G from "./index.es521.js";
3
3
  import { getMatchingGrayColor as N } from "./index.es542.js";
4
4
  import { themePropDefs as o } from "./index.es543.js";
5
5
  import { Provider as b } from "./index.es544.js";
6
- import { Provider as w } from "./index.es466.js";
6
+ import { Provider as w } from "./index.es467.js";
7
7
  import { Root as D } from "./index.es464.js";
8
8
  const g = () => {
9
9
  }, P = a.createContext(void 0), I = a.forwardRef((n, c) => a.useContext(P) === void 0 ? a.createElement(b, { delayDuration: 200 }, a.createElement(w, { dir: "ltr" }, a.createElement(A, { ...n, ref: c }))) : a.createElement(x, { ...n, ref: c }));
@@ -1,19 +1,19 @@
1
1
  import * as i from "react";
2
- import { composeEventHandlers as P } from "./index.es453.js";
3
- import { useComposedRefs as A } from "./index.es454.js";
4
- import { createContextScope as G } from "./index.es455.js";
5
- import { DismissableLayer as H } from "./index.es467.js";
6
- import { useFocusGuards as K } from "./index.es468.js";
7
- import { FocusScope as $ } from "./index.es469.js";
8
- import { useId as U } from "./index.es459.js";
9
- import { createPopperScope as O, Root as V, Anchor as _, Content as W, Arrow as Z } from "./index.es470.js";
10
- import { Portal as q } from "./index.es471.js";
11
- import { Presence as E } from "./index.es462.js";
12
- import { Primitive as w } from "./index.es457.js";
2
+ import { composeEventHandlers as P } from "./index.es455.js";
3
+ import { useComposedRefs as A } from "./index.es453.js";
4
+ import { createContextScope as G } from "./index.es454.js";
5
+ import { DismissableLayer as H } from "./index.es468.js";
6
+ import { useFocusGuards as K } from "./index.es469.js";
7
+ import { FocusScope as $ } from "./index.es470.js";
8
+ import { useId as U } from "./index.es462.js";
9
+ import { createPopperScope as O, Root as V, Anchor as _, Content as W, Arrow as Z } from "./index.es471.js";
10
+ import { Portal as q } from "./index.es472.js";
11
+ import { Presence as E } from "./index.es459.js";
12
+ import { Primitive as w } from "./index.es460.js";
13
13
  import { createSlot as z } from "./index.es464.js";
14
14
  import { useControllableState as B } from "./index.es456.js";
15
- import { hideOthers as J } from "./index.es474.js";
16
- import Q from "./index.es475.js";
15
+ import { hideOthers as J } from "./index.es475.js";
16
+ import Q from "./index.es476.js";
17
17
  import { j as p } from "./index.es225.js";
18
18
  var C = "Popover", [j, Oo] = G(C, [
19
19
  O
@@ -1,13 +1,13 @@
1
1
  import * as c from "react";
2
- import { Primitive as L } from "./index.es457.js";
3
- import { Presence as O } from "./index.es462.js";
4
- import { createContextScope as le } from "./index.es455.js";
5
- import { useComposedRefs as T } from "./index.es454.js";
6
- import { useCallbackRef as x } from "./index.es473.js";
7
- import { useDirection as ce } from "./index.es466.js";
2
+ import { Primitive as L } from "./index.es460.js";
3
+ import { Presence as O } from "./index.es459.js";
4
+ import { createContextScope as le } from "./index.es454.js";
5
+ import { useComposedRefs as T } from "./index.es453.js";
6
+ import { useCallbackRef as x } from "./index.es474.js";
7
+ import { useDirection as ce } from "./index.es467.js";
8
8
  import { useLayoutEffect as se } from "./index.es463.js";
9
- import { clamp as ie } from "./index.es562.js";
10
- import { composeEventHandlers as C } from "./index.es453.js";
9
+ import { clamp as ie } from "./index.es560.js";
10
+ import { composeEventHandlers as C } from "./index.es455.js";
11
11
  import { j as b } from "./index.es225.js";
12
12
  function ae(e, t) {
13
13
  return c.useReducer((r, l) => t[r][l] ?? r, e);
@@ -1,11 +1,11 @@
1
1
  import * as a from "react";
2
- import { composeEventHandlers as T } from "./index.es453.js";
3
- import { useComposedRefs as A } from "./index.es454.js";
4
- import { createContextScope as G } from "./index.es455.js";
5
- import { DismissableLayer as F } from "./index.es467.js";
6
- import { createPopperScope as j, Anchor as B, Content as U, Arrow as V } from "./index.es470.js";
7
- import { Presence as Y } from "./index.es462.js";
8
- import { Primitive as q } from "./index.es457.js";
2
+ import { composeEventHandlers as T } from "./index.es455.js";
3
+ import { useComposedRefs as A } from "./index.es453.js";
4
+ import { createContextScope as G } from "./index.es454.js";
5
+ import { DismissableLayer as F } from "./index.es468.js";
6
+ import { createPopperScope as j, Anchor as B, Content as U, Arrow as V } from "./index.es471.js";
7
+ import { Presence as Y } from "./index.es459.js";
8
+ import { Primitive as q } from "./index.es460.js";
9
9
  import { createSlottable as X } from "./index.es464.js";
10
10
  import { Root as K } from "./index.es546.js";
11
11
  import { j as v } from "./index.es225.js";
@@ -1,5 +1,5 @@
1
1
  import * as a from "react";
2
- import { Primitive as o } from "./index.es457.js";
2
+ import { Primitive as o } from "./index.es460.js";
3
3
  import { j as t } from "./index.es225.js";
4
4
  var d = Object.freeze({
5
5
  // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
@@ -1,5 +1,9 @@
1
- const e = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], s = { p: { type: "enum | string", className: "rt-r-p", customProperties: ["--p"], values: e, responsive: !0 }, px: { type: "enum | string", className: "rt-r-px", customProperties: ["--pl", "--pr"], values: e, responsive: !0 }, py: { type: "enum | string", className: "rt-r-py", customProperties: ["--pt", "--pb"], values: e, responsive: !0 }, pt: { type: "enum | string", className: "rt-r-pt", customProperties: ["--pt"], values: e, responsive: !0 }, pr: { type: "enum | string", className: "rt-r-pr", customProperties: ["--pr"], values: e, responsive: !0 }, pb: { type: "enum | string", className: "rt-r-pb", customProperties: ["--pb"], values: e, responsive: !0 }, pl: { type: "enum | string", className: "rt-r-pl", customProperties: ["--pl"], values: e, responsive: !0 } };
1
+ import { asChildPropDef as a } from "./index.es555.js";
2
+ import { accentColorPropDef as s } from "./index.es561.js";
3
+ import { highContrastPropDef as o } from "./index.es562.js";
4
+ import { radiusPropDef as e } from "./index.es557.js";
5
+ const r = ["1", "2", "3", "4"], t = ["classic", "solid", "soft", "surface", "outline", "ghost"], m = { ...a, size: { type: "enum", className: "rt-r-size", values: r, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: t, default: "solid" }, ...s, ...o, ...e, loading: { type: "boolean", className: "rt-loading", default: !1 } };
2
6
  export {
3
- s as paddingPropDefs
7
+ m as baseButtonPropDefs
4
8
  };
5
9
  //# sourceMappingURL=index.es550.js.map