@kong/kongponents 9.54.1 → 9.54.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (693) hide show
  1. package/dist/kongponents.css +1 -1
  2. package/dist/kongponents.es100.js +2 -2
  3. package/dist/kongponents.es106.js +5 -5
  4. package/dist/kongponents.es108.js +3 -3
  5. package/dist/kongponents.es110.js +4 -4
  6. package/dist/kongponents.es114.js +2 -2
  7. package/dist/kongponents.es116.js +5 -5
  8. package/dist/kongponents.es118.js +2 -2
  9. package/dist/kongponents.es120.js +10 -10
  10. package/dist/kongponents.es123.js +5 -5
  11. package/dist/kongponents.es125.js +7 -7
  12. package/dist/kongponents.es129.js +2 -2
  13. package/dist/kongponents.es131.js +1 -1
  14. package/dist/kongponents.es133.js +8 -8
  15. package/dist/kongponents.es140.js +4 -4
  16. package/dist/kongponents.es142.js +1 -1
  17. package/dist/kongponents.es144.js +6 -6
  18. package/dist/kongponents.es148.js +2 -2
  19. package/dist/kongponents.es150.js +7 -7
  20. package/dist/kongponents.es156.js +3 -3
  21. package/dist/kongponents.es158.js +5 -5
  22. package/dist/kongponents.es160.js +3 -3
  23. package/dist/kongponents.es162.js +76 -75
  24. package/dist/kongponents.es167.js +3 -3
  25. package/dist/kongponents.es174.js +1 -1
  26. package/dist/kongponents.es175.js +119 -5
  27. package/dist/kongponents.es176.js +17 -17
  28. package/dist/kongponents.es177.js +19 -19
  29. package/dist/kongponents.es178.js +119 -20
  30. package/dist/kongponents.es179.js +109 -514
  31. package/dist/kongponents.es180.js +118 -35
  32. package/dist/kongponents.es181.js +20 -98
  33. package/dist/kongponents.es182.js +5 -119
  34. package/dist/kongponents.es183.js +93 -113
  35. package/dist/kongponents.es184.js +162 -115
  36. package/dist/kongponents.es185.js +21 -21
  37. package/dist/kongponents.es186.js +5 -119
  38. package/dist/kongponents.es187.js +23 -24
  39. package/dist/kongponents.es188.js +21 -21
  40. package/dist/kongponents.es189.js +17 -17
  41. package/dist/kongponents.es190.js +20 -16
  42. package/dist/kongponents.es191.js +5 -52
  43. package/dist/kongponents.es192.js +513 -88
  44. package/dist/kongponents.es193.js +36 -5
  45. package/dist/kongponents.es194.js +98 -5
  46. package/dist/kongponents.es195.js +17 -17
  47. package/dist/kongponents.es196.js +118 -20
  48. package/dist/kongponents.es197.js +115 -162
  49. package/dist/kongponents.es198.js +119 -5
  50. package/dist/kongponents.es199.js +24 -23
  51. package/dist/kongponents.es20.js +8 -8
  52. package/dist/kongponents.es200.js +18 -18
  53. package/dist/kongponents.es201.js +116 -111
  54. package/dist/kongponents.es202.js +17 -17
  55. package/dist/kongponents.es203.js +49 -394
  56. package/dist/kongponents.es204.js +1 -1
  57. package/dist/kongponents.es205.js +1 -1
  58. package/dist/kongponents.es206.js +91 -113
  59. package/dist/kongponents.es207.js +5 -119
  60. package/dist/kongponents.es208.js +31 -31
  61. package/dist/kongponents.es209.js +6 -4
  62. package/dist/kongponents.es210.js +5 -119
  63. package/dist/kongponents.es211.js +181 -5
  64. package/dist/kongponents.es212.js +113 -91
  65. package/dist/kongponents.es213.js +112 -41
  66. package/dist/kongponents.es214.js +119 -5
  67. package/dist/kongponents.es215.js +29 -29
  68. package/dist/kongponents.es216.js +5 -119
  69. package/dist/kongponents.es217.js +10 -119
  70. package/dist/kongponents.es218.js +114 -5
  71. package/dist/kongponents.es219.js +13 -115
  72. package/dist/kongponents.es22.js +3 -2
  73. package/dist/kongponents.es220.js +394 -116
  74. package/dist/kongponents.es221.js +20 -20
  75. package/dist/kongponents.es222.js +15 -5
  76. package/dist/kongponents.es223.js +5 -10
  77. package/dist/kongponents.es224.js +5 -119
  78. package/dist/kongponents.es225.js +5 -119
  79. package/dist/kongponents.es226.js +3 -3
  80. package/dist/kongponents.es227.js +4 -4
  81. package/dist/kongponents.es228.js +4 -4
  82. package/dist/kongponents.es230.js +119 -5
  83. package/dist/kongponents.es231.js +4 -4
  84. package/dist/kongponents.es232.js +8 -119
  85. package/dist/kongponents.es233.js +59 -118
  86. package/dist/kongponents.es234.js +38 -38
  87. package/dist/{kongponents.es284.js → kongponents.es235.js} +28 -28
  88. package/dist/kongponents.es236.js +41 -112
  89. package/dist/kongponents.es237.js +4 -4
  90. package/dist/kongponents.es238.js +119 -8
  91. package/dist/kongponents.es239.js +5 -60
  92. package/dist/kongponents.es24.js +1 -1
  93. package/dist/kongponents.es240.js +5 -15
  94. package/dist/kongponents.es241.js +119 -7
  95. package/dist/kongponents.es242.js +115 -177
  96. package/dist/kongponents.es243.js +2 -119
  97. package/dist/kongponents.es244.js +20 -20
  98. package/dist/kongponents.es245.js +119 -2
  99. package/dist/kongponents.es246.js +39 -22
  100. package/dist/kongponents.es247.js +319 -125
  101. package/dist/kongponents.es248.js +57 -2
  102. package/dist/kongponents.es250.js +25 -0
  103. package/dist/kongponents.es251.js +586 -38
  104. package/dist/kongponents.es253.js +6 -87
  105. package/dist/kongponents.es254.js +89 -0
  106. package/dist/kongponents.es258.js +133 -82
  107. package/dist/kongponents.es259.js +4 -0
  108. package/dist/kongponents.es26.js +4 -4
  109. package/dist/kongponents.es260.js +52 -37
  110. package/dist/kongponents.es262.js +180 -2
  111. package/dist/{kongponents.es280.js → kongponents.es264.js} +1 -1
  112. package/dist/kongponents.es265.js +2 -57
  113. package/dist/{kongponents.es282.js → kongponents.es266.js} +1 -1
  114. package/dist/kongponents.es267.js +109 -578
  115. package/dist/kongponents.es268.js +117 -22
  116. package/dist/kongponents.es270.js +60 -44
  117. package/dist/kongponents.es272.js +2 -34
  118. package/dist/{kongponents.es263.js → kongponents.es273.js} +2 -2
  119. package/dist/kongponents.es275.js +26 -0
  120. package/dist/kongponents.es277.js +50 -0
  121. package/dist/kongponents.es279.js +36 -0
  122. package/dist/kongponents.es281.js +23 -2
  123. package/dist/kongponents.es283.js +40 -114
  124. package/dist/kongponents.es285.js +40 -374
  125. package/dist/kongponents.es287.js +5 -180
  126. package/dist/kongponents.es288.js +7 -0
  127. package/dist/kongponents.es289.js +19 -4
  128. package/dist/kongponents.es290.js +3 -4
  129. package/dist/kongponents.es291.js +4 -19
  130. package/dist/kongponents.es292.js +5 -3
  131. package/dist/kongponents.es293.js +8 -4
  132. package/dist/kongponents.es294.js +4 -4
  133. package/dist/kongponents.es295.js +3 -8
  134. package/dist/kongponents.es296.js +16 -5
  135. package/dist/kongponents.es297.js +2 -2
  136. package/dist/kongponents.es298.js +8 -17
  137. package/dist/kongponents.es299.js +6 -3
  138. package/dist/kongponents.es300.js +4 -8
  139. package/dist/kongponents.es301.js +2 -7
  140. package/dist/kongponents.es302.js +4 -2
  141. package/dist/kongponents.es303.js +10 -2
  142. package/dist/kongponents.es304.js +4 -5
  143. package/dist/kongponents.es305.js +4 -10
  144. package/dist/kongponents.es306.js +2 -4
  145. package/dist/kongponents.es307.js +4 -4
  146. package/dist/kongponents.es308.js +8 -3
  147. package/dist/kongponents.es309.js +6 -3
  148. package/dist/kongponents.es310.js +5 -8
  149. package/dist/kongponents.es311.js +9 -6
  150. package/dist/kongponents.es312.js +6 -5
  151. package/dist/kongponents.es313.js +9 -10
  152. package/dist/kongponents.es314.js +6 -5
  153. package/dist/kongponents.es315.js +17 -8
  154. package/dist/kongponents.es316.js +9 -4
  155. package/dist/kongponents.es317.js +6 -17
  156. package/dist/kongponents.es318.js +10 -9
  157. package/dist/kongponents.es319.js +9 -6
  158. package/dist/kongponents.es320.js +5 -12
  159. package/dist/kongponents.es321.js +8 -9
  160. package/dist/kongponents.es322.js +15 -5
  161. package/dist/kongponents.es323.js +17 -8
  162. package/dist/kongponents.es324.js +5 -15
  163. package/dist/kongponents.es325.js +9 -16
  164. package/dist/kongponents.es326.js +6 -5
  165. package/dist/kongponents.es327.js +7 -10
  166. package/dist/kongponents.es328.js +5 -6
  167. package/dist/kongponents.es329.js +6 -7
  168. package/dist/kongponents.es330.js +9 -5
  169. package/dist/kongponents.es331.js +6 -5
  170. package/dist/kongponents.es332.js +3 -9
  171. package/dist/kongponents.es333.js +5 -7
  172. package/dist/kongponents.es334.js +15 -3
  173. package/dist/kongponents.es335.js +374 -5
  174. package/dist/kongponents.es336.js +127 -15
  175. package/dist/kongponents.es337.js +168 -57
  176. package/dist/kongponents.es339.js +85 -0
  177. package/dist/kongponents.es341.js +38 -172
  178. package/dist/kongponents.es343.js +1540 -5
  179. package/dist/kongponents.es344.js +5 -2
  180. package/dist/kongponents.es345.js +3 -3
  181. package/dist/kongponents.es346.js +88 -113
  182. package/dist/kongponents.es348.js +5 -8
  183. package/dist/kongponents.es349.js +2 -6
  184. package/dist/kongponents.es350.js +8 -9
  185. package/dist/kongponents.es351.js +5 -9
  186. package/dist/kongponents.es352.js +9 -15
  187. package/dist/kongponents.es354.js +10 -3
  188. package/dist/kongponents.es355.js +14 -7
  189. package/dist/kongponents.es356.js +3 -3
  190. package/dist/kongponents.es357.js +7 -10
  191. package/dist/kongponents.es358.js +3 -8
  192. package/dist/kongponents.es359.js +10 -5
  193. package/dist/kongponents.es360.js +8 -2
  194. package/dist/kongponents.es361.js +5 -12
  195. package/dist/kongponents.es362.js +2 -5
  196. package/dist/kongponents.es363.js +12 -5
  197. package/dist/kongponents.es364.js +4 -29
  198. package/dist/kongponents.es365.js +1 -1
  199. package/dist/kongponents.es366.js +1 -1
  200. package/dist/kongponents.es367.js +2 -2
  201. package/dist/kongponents.es368.js +2 -2
  202. package/dist/kongponents.es369.js +2 -2
  203. package/dist/kongponents.es370.js +2 -2
  204. package/dist/kongponents.es371.js +2 -2
  205. package/dist/kongponents.es373.js +5 -26
  206. package/dist/kongponents.es374.js +29 -15
  207. package/dist/kongponents.es375.js +25 -8
  208. package/dist/kongponents.es376.js +15 -4
  209. package/dist/kongponents.es377.js +9 -13
  210. package/dist/kongponents.es378.js +4 -8
  211. package/dist/kongponents.es379.js +14 -3
  212. package/dist/kongponents.es380.js +8 -5
  213. package/dist/kongponents.es381.js +3 -6
  214. package/dist/kongponents.es382.js +5 -7
  215. package/dist/kongponents.es383.js +5 -5
  216. package/dist/kongponents.es384.js +7 -10
  217. package/dist/kongponents.es385.js +5 -5
  218. package/dist/kongponents.es386.js +9 -3
  219. package/dist/kongponents.es387.js +5 -4
  220. package/dist/kongponents.es388.js +4 -5
  221. package/dist/kongponents.es389.js +5 -8
  222. package/dist/kongponents.es390.js +5 -6
  223. package/dist/kongponents.es391.js +8 -10
  224. package/dist/kongponents.es392.js +6 -6
  225. package/dist/kongponents.es393.js +10 -22
  226. package/dist/kongponents.es394.js +6 -6
  227. package/dist/kongponents.es395.js +21 -6
  228. package/dist/kongponents.es396.js +6 -6
  229. package/dist/kongponents.es397.js +6 -8
  230. package/dist/kongponents.es398.js +6 -1539
  231. package/dist/kongponents.es399.js +9 -5
  232. package/dist/kongponents.es428.js +119 -10
  233. package/dist/kongponents.es430.js +1 -1
  234. package/dist/kongponents.es431.js +10 -94
  235. package/dist/kongponents.es433.js +25 -7
  236. package/dist/kongponents.es434.js +6 -17
  237. package/dist/kongponents.es435.js +17 -4
  238. package/dist/kongponents.es436.js +4 -4
  239. package/dist/kongponents.es437.js +4 -3
  240. package/dist/kongponents.es438.js +3 -3
  241. package/dist/kongponents.es439.js +3 -14
  242. package/dist/kongponents.es440.js +14 -6
  243. package/dist/kongponents.es441.js +7 -8
  244. package/dist/kongponents.es442.js +8 -11
  245. package/dist/kongponents.es443.js +10 -4
  246. package/dist/kongponents.es444.js +4 -3
  247. package/dist/kongponents.es445.js +2 -2
  248. package/dist/kongponents.es446.js +3 -37
  249. package/dist/kongponents.es447.js +36 -41
  250. package/dist/kongponents.es448.js +41 -32
  251. package/dist/kongponents.es449.js +34 -3
  252. package/dist/kongponents.es450.js +3 -18
  253. package/dist/kongponents.es451.js +17 -5
  254. package/dist/kongponents.es452.js +6 -25
  255. package/dist/kongponents.es485.js +1 -1
  256. package/dist/kongponents.es486.js +1 -1
  257. package/dist/kongponents.es487.js +1 -1
  258. package/dist/kongponents.es488.js +1 -1
  259. package/dist/kongponents.es489.js +1 -1
  260. package/dist/kongponents.es490.js +1 -1
  261. package/dist/kongponents.es492.js +1 -1
  262. package/dist/kongponents.es493.js +1 -1
  263. package/dist/kongponents.es494.js +1 -1
  264. package/dist/kongponents.es509.js +1 -1
  265. package/dist/kongponents.es511.js +1 -1
  266. package/dist/kongponents.es528.js +29 -8
  267. package/dist/kongponents.es529.js +120 -3
  268. package/dist/kongponents.es530.js +30 -29
  269. package/dist/kongponents.es531.js +9 -118
  270. package/dist/kongponents.es532.js +13 -29
  271. package/dist/kongponents.es533.js +32 -10
  272. package/dist/kongponents.es534.js +28 -13
  273. package/dist/kongponents.es535.js +10 -32
  274. package/dist/kongponents.es536.js +10 -26
  275. package/dist/kongponents.es537.js +17 -10
  276. package/dist/kongponents.es538.js +23 -12
  277. package/dist/kongponents.es539.js +16 -17
  278. package/dist/kongponents.es540.js +91 -18
  279. package/dist/kongponents.es541.js +41 -13
  280. package/dist/kongponents.es542.js +23 -91
  281. package/dist/kongponents.es543.js +68 -41
  282. package/dist/kongponents.es544.js +47 -24
  283. package/dist/kongponents.es545.js +30 -67
  284. package/dist/kongponents.es546.js +35 -45
  285. package/dist/kongponents.es547.js +7 -34
  286. package/dist/kongponents.es548.js +3 -42
  287. package/dist/kongponents.es554.js +2 -2
  288. package/dist/kongponents.es555.js +2 -2
  289. package/dist/kongponents.es573.js +20 -3
  290. package/dist/kongponents.es574.js +7 -3
  291. package/dist/kongponents.es575.js +3 -15
  292. package/dist/kongponents.es576.js +6 -3
  293. package/dist/kongponents.es577.js +7 -9
  294. package/dist/kongponents.es578.js +5 -4
  295. package/dist/kongponents.es579.js +4 -6
  296. package/dist/kongponents.es580.js +7 -9
  297. package/dist/kongponents.es581.js +14 -6
  298. package/dist/kongponents.es582.js +9 -4
  299. package/dist/kongponents.es583.js +4 -3
  300. package/dist/kongponents.es584.js +5 -4
  301. package/dist/kongponents.es585.js +6 -11
  302. package/dist/kongponents.es586.js +30 -9
  303. package/dist/kongponents.es587.js +34 -30
  304. package/dist/kongponents.es588.js +51 -24
  305. package/dist/kongponents.es589.js +8 -51
  306. package/dist/kongponents.es590.js +4 -3
  307. package/dist/kongponents.es591.js +5 -8
  308. package/dist/kongponents.es592.js +3 -20
  309. package/dist/kongponents.es593.js +3 -7
  310. package/dist/kongponents.es594.js +11 -6
  311. package/dist/kongponents.es595.js +9 -5
  312. package/dist/kongponents.es596.js +24 -7
  313. package/dist/kongponents.es597.js +3 -15
  314. package/dist/kongponents.es598.js +3 -4
  315. package/dist/kongponents.es599.js +9 -6
  316. package/dist/kongponents.es600.js +8 -34
  317. package/dist/kongponents.es601.js +15 -8
  318. package/dist/kongponents.es611.js +1 -1
  319. package/dist/kongponents.es613.js +1 -1
  320. package/dist/kongponents.es614.js +1 -1
  321. package/dist/kongponents.es615.js +1 -1
  322. package/dist/kongponents.es616.js +1 -1
  323. package/dist/kongponents.es618.js +3 -3
  324. package/dist/kongponents.es619.js +4 -4
  325. package/dist/kongponents.es621.js +2 -2
  326. package/dist/kongponents.es622.js +2 -2
  327. package/dist/kongponents.es623.js +2 -2
  328. package/dist/kongponents.es66.js +3 -3
  329. package/dist/kongponents.es73.js +7 -7
  330. package/dist/kongponents.es76.js +1 -1
  331. package/dist/kongponents.es78.js +1 -1
  332. package/dist/kongponents.es84.js +1 -1
  333. package/dist/kongponents.es88.js +3 -3
  334. package/dist/kongponents.es90.js +15 -15
  335. package/dist/kongponents.es95.js +2 -2
  336. package/dist/kongponents.es97.js +6 -6
  337. package/dist/kongponents.umd.js +2 -2
  338. package/dist/kongponents100.cjs +1 -1
  339. package/dist/kongponents106.cjs +1 -1
  340. package/dist/kongponents108.cjs +1 -1
  341. package/dist/kongponents110.cjs +1 -1
  342. package/dist/kongponents114.cjs +1 -1
  343. package/dist/kongponents116.cjs +1 -1
  344. package/dist/kongponents118.cjs +1 -1
  345. package/dist/kongponents120.cjs +1 -1
  346. package/dist/kongponents123.cjs +1 -1
  347. package/dist/kongponents125.cjs +1 -1
  348. package/dist/kongponents129.cjs +1 -1
  349. package/dist/kongponents131.cjs +1 -1
  350. package/dist/kongponents133.cjs +1 -1
  351. package/dist/kongponents140.cjs +1 -1
  352. package/dist/kongponents142.cjs +1 -1
  353. package/dist/kongponents144.cjs +1 -1
  354. package/dist/kongponents148.cjs +1 -1
  355. package/dist/kongponents150.cjs +1 -1
  356. package/dist/kongponents156.cjs +1 -1
  357. package/dist/kongponents158.cjs +1 -1
  358. package/dist/kongponents160.cjs +1 -1
  359. package/dist/kongponents162.cjs +1 -1
  360. package/dist/kongponents167.cjs +1 -1
  361. package/dist/kongponents174.cjs +1 -1
  362. package/dist/kongponents175.cjs +1 -1
  363. package/dist/kongponents176.cjs +1 -1
  364. package/dist/kongponents177.cjs +1 -1
  365. package/dist/kongponents178.cjs +1 -1
  366. package/dist/kongponents179.cjs +1 -1
  367. package/dist/kongponents180.cjs +1 -1
  368. package/dist/kongponents181.cjs +1 -2
  369. package/dist/kongponents182.cjs +1 -1
  370. package/dist/kongponents183.cjs +1 -1
  371. package/dist/kongponents184.cjs +1 -1
  372. package/dist/kongponents185.cjs +1 -1
  373. package/dist/kongponents186.cjs +1 -1
  374. package/dist/kongponents187.cjs +1 -2
  375. package/dist/kongponents188.cjs +1 -1
  376. package/dist/kongponents189.cjs +1 -1
  377. package/dist/kongponents190.cjs +1 -1
  378. package/dist/kongponents191.cjs +1 -1
  379. package/dist/kongponents192.cjs +1 -1
  380. package/dist/kongponents193.cjs +1 -1
  381. package/dist/kongponents194.cjs +2 -1
  382. package/dist/kongponents195.cjs +1 -1
  383. package/dist/kongponents196.cjs +1 -1
  384. package/dist/kongponents197.cjs +1 -1
  385. package/dist/kongponents198.cjs +1 -1
  386. package/dist/kongponents199.cjs +2 -1
  387. package/dist/kongponents20.cjs +1 -1
  388. package/dist/kongponents200.cjs +1 -1
  389. package/dist/kongponents201.cjs +1 -1
  390. package/dist/kongponents202.cjs +1 -1
  391. package/dist/kongponents203.cjs +1 -1
  392. package/dist/kongponents204.cjs +1 -1
  393. package/dist/kongponents205.cjs +1 -1
  394. package/dist/kongponents206.cjs +1 -1
  395. package/dist/kongponents207.cjs +1 -1
  396. package/dist/kongponents208.cjs +1 -1
  397. package/dist/kongponents209.cjs +1 -1
  398. package/dist/kongponents210.cjs +1 -1
  399. package/dist/kongponents211.cjs +1 -1
  400. package/dist/kongponents212.cjs +1 -1
  401. package/dist/kongponents213.cjs +1 -1
  402. package/dist/kongponents214.cjs +1 -1
  403. package/dist/kongponents215.cjs +1 -1
  404. package/dist/kongponents216.cjs +1 -1
  405. package/dist/kongponents217.cjs +1 -1
  406. package/dist/kongponents218.cjs +1 -1
  407. package/dist/kongponents219.cjs +1 -1
  408. package/dist/kongponents22.cjs +1 -1
  409. package/dist/kongponents220.cjs +1 -1
  410. package/dist/kongponents221.cjs +1 -1
  411. package/dist/kongponents222.cjs +1 -1
  412. package/dist/kongponents223.cjs +1 -1
  413. package/dist/kongponents224.cjs +1 -1
  414. package/dist/kongponents225.cjs +1 -1
  415. package/dist/kongponents226.cjs +1 -1
  416. package/dist/kongponents227.cjs +1 -1
  417. package/dist/kongponents228.cjs +1 -1
  418. package/dist/kongponents230.cjs +1 -1
  419. package/dist/kongponents231.cjs +1 -1
  420. package/dist/kongponents232.cjs +1 -1
  421. package/dist/kongponents233.cjs +1 -1
  422. package/dist/kongponents234.cjs +1 -1
  423. package/dist/kongponents235.cjs +1 -0
  424. package/dist/kongponents236.cjs +1 -1
  425. package/dist/kongponents237.cjs +1 -1
  426. package/dist/kongponents238.cjs +1 -1
  427. package/dist/kongponents239.cjs +1 -1
  428. package/dist/kongponents24.cjs +1 -1
  429. package/dist/kongponents240.cjs +1 -1
  430. package/dist/kongponents241.cjs +1 -1
  431. package/dist/kongponents242.cjs +1 -1
  432. package/dist/kongponents243.cjs +1 -1
  433. package/dist/kongponents244.cjs +1 -1
  434. package/dist/kongponents245.cjs +1 -1
  435. package/dist/kongponents246.cjs +1 -1
  436. package/dist/kongponents247.cjs +1 -1
  437. package/dist/kongponents248.cjs +1 -1
  438. package/dist/kongponents250.cjs +1 -0
  439. package/dist/kongponents251.cjs +3 -1
  440. package/dist/kongponents253.cjs +1 -1
  441. package/dist/kongponents254.cjs +1 -0
  442. package/dist/kongponents258.cjs +1 -1
  443. package/dist/kongponents259.cjs +1 -0
  444. package/dist/kongponents26.cjs +1 -1
  445. package/dist/kongponents260.cjs +1 -1
  446. package/dist/kongponents262.cjs +1 -1
  447. package/dist/{kongponents280.cjs → kongponents264.cjs} +1 -1
  448. package/dist/kongponents265.cjs +1 -1
  449. package/dist/{kongponents282.cjs → kongponents266.cjs} +1 -1
  450. package/dist/kongponents267.cjs +1 -3
  451. package/dist/kongponents268.cjs +1 -1
  452. package/dist/kongponents270.cjs +1 -1
  453. package/dist/kongponents272.cjs +1 -1
  454. package/dist/{kongponents263.cjs → kongponents273.cjs} +1 -1
  455. package/dist/kongponents275.cjs +1 -0
  456. package/dist/kongponents277.cjs +1 -0
  457. package/dist/kongponents279.cjs +1 -0
  458. package/dist/kongponents281.cjs +1 -1
  459. package/dist/kongponents283.cjs +1 -1
  460. package/dist/kongponents285.cjs +1 -1
  461. package/dist/kongponents287.cjs +1 -1
  462. package/dist/kongponents288.cjs +1 -0
  463. package/dist/kongponents289.cjs +1 -1
  464. package/dist/kongponents290.cjs +1 -1
  465. package/dist/kongponents291.cjs +1 -1
  466. package/dist/kongponents292.cjs +1 -1
  467. package/dist/kongponents293.cjs +1 -1
  468. package/dist/kongponents294.cjs +1 -1
  469. package/dist/kongponents295.cjs +1 -1
  470. package/dist/kongponents296.cjs +1 -1
  471. package/dist/kongponents297.cjs +1 -1
  472. package/dist/kongponents298.cjs +1 -1
  473. package/dist/kongponents299.cjs +1 -1
  474. package/dist/kongponents300.cjs +1 -1
  475. package/dist/kongponents301.cjs +1 -1
  476. package/dist/kongponents302.cjs +1 -1
  477. package/dist/kongponents303.cjs +1 -1
  478. package/dist/kongponents304.cjs +1 -1
  479. package/dist/kongponents305.cjs +1 -1
  480. package/dist/kongponents306.cjs +1 -1
  481. package/dist/kongponents307.cjs +1 -1
  482. package/dist/kongponents308.cjs +1 -1
  483. package/dist/kongponents309.cjs +1 -1
  484. package/dist/kongponents310.cjs +1 -1
  485. package/dist/kongponents311.cjs +1 -1
  486. package/dist/kongponents312.cjs +1 -1
  487. package/dist/kongponents313.cjs +1 -1
  488. package/dist/kongponents314.cjs +1 -1
  489. package/dist/kongponents315.cjs +1 -1
  490. package/dist/kongponents316.cjs +1 -1
  491. package/dist/kongponents317.cjs +1 -1
  492. package/dist/kongponents318.cjs +1 -1
  493. package/dist/kongponents319.cjs +1 -1
  494. package/dist/kongponents320.cjs +1 -1
  495. package/dist/kongponents321.cjs +1 -1
  496. package/dist/kongponents322.cjs +1 -1
  497. package/dist/kongponents323.cjs +1 -1
  498. package/dist/kongponents324.cjs +1 -1
  499. package/dist/kongponents325.cjs +1 -1
  500. package/dist/kongponents326.cjs +1 -1
  501. package/dist/kongponents327.cjs +1 -1
  502. package/dist/kongponents328.cjs +1 -1
  503. package/dist/kongponents329.cjs +1 -1
  504. package/dist/kongponents330.cjs +1 -1
  505. package/dist/kongponents331.cjs +1 -1
  506. package/dist/kongponents332.cjs +1 -1
  507. package/dist/kongponents333.cjs +1 -1
  508. package/dist/kongponents334.cjs +1 -1
  509. package/dist/kongponents335.cjs +1 -1
  510. package/dist/kongponents336.cjs +1 -1
  511. package/dist/kongponents337.cjs +1 -1
  512. package/dist/kongponents339.cjs +1 -0
  513. package/dist/kongponents341.cjs +1 -1
  514. package/dist/kongponents343.cjs +1 -1
  515. package/dist/kongponents344.cjs +1 -1
  516. package/dist/kongponents345.cjs +1 -1
  517. package/dist/kongponents346.cjs +1 -1
  518. package/dist/kongponents348.cjs +1 -1
  519. package/dist/kongponents349.cjs +1 -1
  520. package/dist/kongponents350.cjs +1 -1
  521. package/dist/kongponents351.cjs +1 -1
  522. package/dist/kongponents352.cjs +1 -1
  523. package/dist/kongponents354.cjs +1 -1
  524. package/dist/kongponents355.cjs +1 -1
  525. package/dist/kongponents356.cjs +1 -1
  526. package/dist/kongponents357.cjs +1 -1
  527. package/dist/kongponents358.cjs +1 -1
  528. package/dist/kongponents359.cjs +1 -1
  529. package/dist/kongponents360.cjs +1 -1
  530. package/dist/kongponents361.cjs +1 -1
  531. package/dist/kongponents362.cjs +1 -1
  532. package/dist/kongponents363.cjs +1 -1
  533. package/dist/kongponents364.cjs +1 -1
  534. package/dist/kongponents365.cjs +1 -1
  535. package/dist/kongponents366.cjs +1 -1
  536. package/dist/kongponents367.cjs +1 -1
  537. package/dist/kongponents368.cjs +1 -1
  538. package/dist/kongponents369.cjs +1 -1
  539. package/dist/kongponents370.cjs +1 -1
  540. package/dist/kongponents371.cjs +1 -1
  541. package/dist/kongponents373.cjs +1 -1
  542. package/dist/kongponents374.cjs +1 -1
  543. package/dist/kongponents375.cjs +1 -1
  544. package/dist/kongponents376.cjs +1 -1
  545. package/dist/kongponents377.cjs +1 -1
  546. package/dist/kongponents378.cjs +1 -1
  547. package/dist/kongponents379.cjs +1 -1
  548. package/dist/kongponents380.cjs +1 -1
  549. package/dist/kongponents381.cjs +1 -1
  550. package/dist/kongponents382.cjs +1 -1
  551. package/dist/kongponents383.cjs +1 -1
  552. package/dist/kongponents384.cjs +1 -1
  553. package/dist/kongponents385.cjs +1 -1
  554. package/dist/kongponents386.cjs +1 -1
  555. package/dist/kongponents387.cjs +1 -1
  556. package/dist/kongponents388.cjs +1 -1
  557. package/dist/kongponents389.cjs +1 -1
  558. package/dist/kongponents390.cjs +1 -1
  559. package/dist/kongponents391.cjs +1 -1
  560. package/dist/kongponents392.cjs +1 -1
  561. package/dist/kongponents393.cjs +1 -1
  562. package/dist/kongponents394.cjs +1 -1
  563. package/dist/kongponents395.cjs +1 -1
  564. package/dist/kongponents396.cjs +1 -1
  565. package/dist/kongponents397.cjs +1 -1
  566. package/dist/kongponents398.cjs +1 -1
  567. package/dist/kongponents399.cjs +1 -1
  568. package/dist/kongponents428.cjs +1 -1
  569. package/dist/kongponents430.cjs +1 -1
  570. package/dist/kongponents431.cjs +1 -1
  571. package/dist/kongponents433.cjs +1 -1
  572. package/dist/kongponents434.cjs +1 -1
  573. package/dist/kongponents435.cjs +1 -1
  574. package/dist/kongponents436.cjs +1 -1
  575. package/dist/kongponents437.cjs +1 -1
  576. package/dist/kongponents438.cjs +1 -1
  577. package/dist/kongponents439.cjs +1 -1
  578. package/dist/kongponents440.cjs +1 -1
  579. package/dist/kongponents441.cjs +1 -1
  580. package/dist/kongponents442.cjs +1 -1
  581. package/dist/kongponents443.cjs +1 -1
  582. package/dist/kongponents444.cjs +1 -1
  583. package/dist/kongponents445.cjs +1 -1
  584. package/dist/kongponents446.cjs +1 -1
  585. package/dist/kongponents447.cjs +1 -1
  586. package/dist/kongponents448.cjs +1 -1
  587. package/dist/kongponents449.cjs +1 -1
  588. package/dist/kongponents450.cjs +1 -1
  589. package/dist/kongponents451.cjs +1 -1
  590. package/dist/kongponents452.cjs +1 -1
  591. package/dist/kongponents485.cjs +1 -1
  592. package/dist/kongponents486.cjs +1 -1
  593. package/dist/kongponents487.cjs +1 -1
  594. package/dist/kongponents488.cjs +1 -1
  595. package/dist/kongponents489.cjs +1 -1
  596. package/dist/kongponents490.cjs +1 -1
  597. package/dist/kongponents492.cjs +1 -1
  598. package/dist/kongponents493.cjs +1 -1
  599. package/dist/kongponents494.cjs +1 -1
  600. package/dist/kongponents509.cjs +1 -1
  601. package/dist/kongponents511.cjs +1 -1
  602. package/dist/kongponents528.cjs +1 -1
  603. package/dist/kongponents529.cjs +1 -1
  604. package/dist/kongponents530.cjs +1 -1
  605. package/dist/kongponents531.cjs +1 -1
  606. package/dist/kongponents532.cjs +1 -1
  607. package/dist/kongponents533.cjs +1 -1
  608. package/dist/kongponents534.cjs +1 -1
  609. package/dist/kongponents535.cjs +1 -1
  610. package/dist/kongponents536.cjs +1 -1
  611. package/dist/kongponents537.cjs +1 -1
  612. package/dist/kongponents538.cjs +1 -1
  613. package/dist/kongponents539.cjs +1 -1
  614. package/dist/kongponents540.cjs +1 -1
  615. package/dist/kongponents541.cjs +1 -1
  616. package/dist/kongponents542.cjs +1 -1
  617. package/dist/kongponents543.cjs +1 -1
  618. package/dist/kongponents544.cjs +1 -1
  619. package/dist/kongponents545.cjs +1 -1
  620. package/dist/kongponents546.cjs +1 -1
  621. package/dist/kongponents547.cjs +1 -1
  622. package/dist/kongponents548.cjs +1 -1
  623. package/dist/kongponents573.cjs +1 -1
  624. package/dist/kongponents574.cjs +1 -1
  625. package/dist/kongponents575.cjs +1 -1
  626. package/dist/kongponents576.cjs +1 -1
  627. package/dist/kongponents577.cjs +1 -1
  628. package/dist/kongponents578.cjs +1 -1
  629. package/dist/kongponents579.cjs +1 -1
  630. package/dist/kongponents580.cjs +1 -1
  631. package/dist/kongponents581.cjs +1 -1
  632. package/dist/kongponents582.cjs +1 -1
  633. package/dist/kongponents583.cjs +1 -1
  634. package/dist/kongponents584.cjs +1 -1
  635. package/dist/kongponents585.cjs +1 -1
  636. package/dist/kongponents586.cjs +1 -1
  637. package/dist/kongponents587.cjs +1 -1
  638. package/dist/kongponents588.cjs +1 -1
  639. package/dist/kongponents589.cjs +1 -1
  640. package/dist/kongponents590.cjs +1 -1
  641. package/dist/kongponents591.cjs +1 -1
  642. package/dist/kongponents592.cjs +1 -1
  643. package/dist/kongponents593.cjs +1 -1
  644. package/dist/kongponents594.cjs +1 -1
  645. package/dist/kongponents595.cjs +1 -1
  646. package/dist/kongponents596.cjs +1 -1
  647. package/dist/kongponents597.cjs +1 -1
  648. package/dist/kongponents598.cjs +1 -1
  649. package/dist/kongponents599.cjs +1 -1
  650. package/dist/kongponents600.cjs +1 -1
  651. package/dist/kongponents601.cjs +1 -1
  652. package/dist/kongponents611.cjs +1 -1
  653. package/dist/kongponents613.cjs +1 -1
  654. package/dist/kongponents614.cjs +1 -1
  655. package/dist/kongponents615.cjs +1 -1
  656. package/dist/kongponents616.cjs +1 -1
  657. package/dist/kongponents618.cjs +1 -1
  658. package/dist/kongponents619.cjs +1 -1
  659. package/dist/kongponents66.cjs +1 -1
  660. package/dist/kongponents73.cjs +1 -1
  661. package/dist/kongponents76.cjs +1 -1
  662. package/dist/kongponents78.cjs +1 -1
  663. package/dist/kongponents84.cjs +1 -1
  664. package/dist/kongponents88.cjs +1 -1
  665. package/dist/kongponents90.cjs +1 -1
  666. package/dist/kongponents95.cjs +1 -1
  667. package/dist/kongponents97.cjs +1 -1
  668. package/dist/types/types/popover.d.ts +1 -1
  669. package/dist/types/types/table.d.ts +6 -1
  670. package/package.json +1 -1
  671. package/dist/kongponents.es229.js +0 -7
  672. package/dist/kongponents.es249.js +0 -58
  673. package/dist/kongponents.es252.js +0 -330
  674. package/dist/kongponents.es257.js +0 -8
  675. package/dist/kongponents.es274.js +0 -25
  676. package/dist/kongponents.es276.js +0 -47
  677. package/dist/kongponents.es278.js +0 -43
  678. package/dist/kongponents.es286.js +0 -130
  679. package/dist/kongponents229.cjs +0 -1
  680. package/dist/kongponents249.cjs +0 -1
  681. package/dist/kongponents252.cjs +0 -1
  682. package/dist/kongponents257.cjs +0 -1
  683. package/dist/kongponents274.cjs +0 -1
  684. package/dist/kongponents276.cjs +0 -1
  685. package/dist/kongponents278.cjs +0 -1
  686. package/dist/kongponents284.cjs +0 -1
  687. package/dist/kongponents286.cjs +0 -1
  688. /package/dist/{kongponents.es255.js → kongponents.es256.js} +0 -0
  689. /package/dist/{kongponents.es340.js → kongponents.es269.js} +0 -0
  690. /package/dist/{kongponents.es429.js → kongponents.es432.js} +0 -0
  691. /package/dist/{kongponents255.cjs → kongponents256.cjs} +0 -0
  692. /package/dist/{kongponents340.cjs → kongponents269.cjs} +0 -0
  693. /package/dist/{kongponents429.cjs → kongponents432.cjs} +0 -0
@@ -1,42 +1,590 @@
1
- import p from "./kongponents.es428.js";
2
- function f(t) {
3
- if (typeof t == "function")
4
- try {
5
- t = t();
6
- } catch {
7
- t = "";
8
- }
9
- return Array.isArray(t) ? t = p(t) : t = String(t || ""), t;
10
- }
11
- var c = (
12
- /** @class */
13
- (function() {
14
- function t(e) {
15
- e === void 0 && (e = 0), this.items = /* @__PURE__ */ new Map(), this.ttl = e;
16
- }
17
- return t.prototype.serializeKey = function(e) {
18
- return f(e);
19
- }, t.prototype.get = function(e) {
20
- var i = this.serializeKey(e);
21
- return this.items.get(i);
22
- }, t.prototype.set = function(e, i, s) {
23
- var n = this.serializeKey(e), r = s || this.ttl, a = Date.now(), o = {
24
- data: i,
25
- createdAt: a,
26
- expiresAt: r ? a + r : 1 / 0
1
+ import { tabbable as ie, focusable as oe, isTabbable as P, getTabIndex as I, isFocusable as H } from "./kongponents.es269.js";
2
+ function M(n, a) {
3
+ (a == null || a > n.length) && (a = n.length);
4
+ for (var i = 0, u = Array(a); i < a; i++) u[i] = n[i];
5
+ return u;
6
+ }
7
+ function ue(n) {
8
+ if (Array.isArray(n)) return M(n);
9
+ }
10
+ function X(n, a) {
11
+ var i = typeof Symbol < "u" && n[Symbol.iterator] || n["@@iterator"];
12
+ if (!i) {
13
+ if (Array.isArray(n) || (i = te(n)) || a) {
14
+ i && (n = i);
15
+ var u = 0, y = function() {
16
+ };
17
+ return {
18
+ s: y,
19
+ n: function() {
20
+ return u >= n.length ? {
21
+ done: !0
22
+ } : {
23
+ done: !1,
24
+ value: n[u++]
25
+ };
26
+ },
27
+ e: function(h) {
28
+ throw h;
29
+ },
30
+ f: y
31
+ };
32
+ }
33
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
34
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
35
+ }
36
+ var d, r = !0, m = !1;
37
+ return {
38
+ s: function() {
39
+ i = i.call(n);
40
+ },
41
+ n: function() {
42
+ var h = i.next();
43
+ return r = h.done, h;
44
+ },
45
+ e: function(h) {
46
+ m = !0, d = h;
47
+ },
48
+ f: function() {
49
+ try {
50
+ r || i.return == null || i.return();
51
+ } finally {
52
+ if (m) throw d;
53
+ }
54
+ }
55
+ };
56
+ }
57
+ function se(n, a, i) {
58
+ return (a = ve(a)) in n ? Object.defineProperty(n, a, {
59
+ value: i,
60
+ enumerable: !0,
61
+ configurable: !0,
62
+ writable: !0
63
+ }) : n[a] = i, n;
64
+ }
65
+ function ce(n) {
66
+ if (typeof Symbol < "u" && n[Symbol.iterator] != null || n["@@iterator"] != null) return Array.from(n);
67
+ }
68
+ function le() {
69
+ throw new TypeError(`Invalid attempt to spread non-iterable instance.
70
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
71
+ }
72
+ function Z(n, a) {
73
+ var i = Object.keys(n);
74
+ if (Object.getOwnPropertySymbols) {
75
+ var u = Object.getOwnPropertySymbols(n);
76
+ a && (u = u.filter(function(y) {
77
+ return Object.getOwnPropertyDescriptor(n, y).enumerable;
78
+ })), i.push.apply(i, u);
79
+ }
80
+ return i;
81
+ }
82
+ function U(n) {
83
+ for (var a = 1; a < arguments.length; a++) {
84
+ var i = arguments[a] != null ? arguments[a] : {};
85
+ a % 2 ? Z(Object(i), !0).forEach(function(u) {
86
+ se(n, u, i[u]);
87
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(i)) : Z(Object(i)).forEach(function(u) {
88
+ Object.defineProperty(n, u, Object.getOwnPropertyDescriptor(i, u));
89
+ });
90
+ }
91
+ return n;
92
+ }
93
+ function de(n) {
94
+ return ue(n) || ce(n) || te(n) || le();
95
+ }
96
+ function fe(n, a) {
97
+ if (typeof n != "object" || !n) return n;
98
+ var i = n[Symbol.toPrimitive];
99
+ if (i !== void 0) {
100
+ var u = i.call(n, a);
101
+ if (typeof u != "object") return u;
102
+ throw new TypeError("@@toPrimitive must return a primitive value.");
103
+ }
104
+ return (a === "string" ? String : Number)(n);
105
+ }
106
+ function ve(n) {
107
+ var a = fe(n, "string");
108
+ return typeof a == "symbol" ? a : a + "";
109
+ }
110
+ function te(n, a) {
111
+ if (n) {
112
+ if (typeof n == "string") return M(n, a);
113
+ var i = {}.toString.call(n).slice(8, -1);
114
+ return i === "Object" && n.constructor && (i = n.constructor.name), i === "Map" || i === "Set" ? Array.from(n) : i === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i) ? M(n, a) : void 0;
115
+ }
116
+ }
117
+ var N = {
118
+ // Returns the trap from the top of the stack.
119
+ getActiveTrap: function(a) {
120
+ return a?.length > 0 ? a[a.length - 1] : null;
121
+ },
122
+ // Pauses the currently active trap, then adds a new trap to the stack.
123
+ activateTrap: function(a, i) {
124
+ var u = N.getActiveTrap(a);
125
+ i !== u && N.pauseTrap(a);
126
+ var y = a.indexOf(i);
127
+ y === -1 || a.splice(y, 1), a.push(i);
128
+ },
129
+ // Removes the trap from the top of the stack, then unpauses the next trap down.
130
+ deactivateTrap: function(a, i) {
131
+ var u = a.indexOf(i);
132
+ u !== -1 && a.splice(u, 1), N.unpauseTrap(a);
133
+ },
134
+ // Pauses the trap at the top of the stack.
135
+ pauseTrap: function(a) {
136
+ var i = N.getActiveTrap(a);
137
+ i?._setPausedState(!0);
138
+ },
139
+ // Unpauses the trap at the top of the stack.
140
+ unpauseTrap: function(a) {
141
+ var i = N.getActiveTrap(a);
142
+ i && !i._isManuallyPaused() && i._setPausedState(!1);
143
+ }
144
+ }, be = function(a) {
145
+ return a.tagName && a.tagName.toLowerCase() === "input" && typeof a.select == "function";
146
+ }, pe = function(a) {
147
+ return a?.key === "Escape" || a?.key === "Esc" || a?.keyCode === 27;
148
+ }, K = function(a) {
149
+ return a?.key === "Tab" || a?.keyCode === 9;
150
+ }, ye = function(a) {
151
+ return K(a) && !a.shiftKey;
152
+ }, me = function(a) {
153
+ return K(a) && a.shiftKey;
154
+ }, ee = function(a) {
155
+ return setTimeout(a, 0);
156
+ }, j = function(a) {
157
+ for (var i = arguments.length, u = new Array(i > 1 ? i - 1 : 0), y = 1; y < i; y++)
158
+ u[y - 1] = arguments[y];
159
+ return typeof a == "function" ? a.apply(void 0, u) : a;
160
+ }, C = function(a) {
161
+ return a.target.shadowRoot && typeof a.composedPath == "function" ? a.composedPath()[0] : a.target;
162
+ }, he = [], we = function(a, i) {
163
+ var u = i?.document || document, y = i?.trapStack || he, d = U({
164
+ returnFocusOnDeactivate: !0,
165
+ escapeDeactivates: !0,
166
+ delayInitialFocus: !0,
167
+ isolateSubtrees: !1,
168
+ isKeyForward: ye,
169
+ isKeyBackward: me
170
+ }, i), r = {
171
+ // containers given to createFocusTrap()
172
+ /** @type {Array<HTMLElement>} */
173
+ containers: [],
174
+ // list of objects identifying tabbable nodes in `containers` in the trap
175
+ // NOTE: it's possible that a group has no tabbable nodes if nodes get removed while the trap
176
+ // is active, but the trap should never get to a state where there isn't at least one group
177
+ // with at least one tabbable node in it (that would lead to an error condition that would
178
+ // result in an error being thrown)
179
+ /** @type {Array<{
180
+ * container: HTMLElement,
181
+ * tabbableNodes: Array<HTMLElement>, // empty if none
182
+ * focusableNodes: Array<HTMLElement>, // empty if none
183
+ * posTabIndexesFound: boolean,
184
+ * firstTabbableNode: HTMLElement|undefined,
185
+ * lastTabbableNode: HTMLElement|undefined,
186
+ * firstDomTabbableNode: HTMLElement|undefined,
187
+ * lastDomTabbableNode: HTMLElement|undefined,
188
+ * nextTabbableNode: (node: HTMLElement, forward: boolean) => HTMLElement|undefined
189
+ * }>}
190
+ */
191
+ containerGroups: [],
192
+ // same order/length as `containers` list
193
+ // references to objects in `containerGroups`, but only those that actually have
194
+ // tabbable nodes in them
195
+ // NOTE: same order as `containers` and `containerGroups`, but __not necessarily__
196
+ // the same length
197
+ tabbableGroups: [],
198
+ // references to nodes that are siblings to the ancestors of this trap's containers.
199
+ /** @type {Set<HTMLElement>} */
200
+ adjacentElements: /* @__PURE__ */ new Set(),
201
+ // references to nodes that were inert or aria-hidden before the trap was activated.
202
+ /** @type {Set<HTMLElement>} */
203
+ alreadySilent: /* @__PURE__ */ new Set(),
204
+ nodeFocusedBeforeActivation: null,
205
+ mostRecentlyFocusedNode: null,
206
+ active: !1,
207
+ paused: !1,
208
+ manuallyPaused: !1,
209
+ // timer ID for when delayInitialFocus is true and initial focus in this trap
210
+ // has been delayed during activation
211
+ delayInitialFocusTimer: void 0,
212
+ // the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
213
+ recentNavEvent: void 0
214
+ }, m, h = function(e, t, o) {
215
+ return e && e[t] !== void 0 ? e[t] : d[o || t];
216
+ }, S = function(e, t) {
217
+ var o = typeof t?.composedPath == "function" ? t.composedPath() : void 0;
218
+ return r.containerGroups.findIndex(function(l) {
219
+ var c = l.container, f = l.tabbableNodes;
220
+ return c.contains(e) || o?.includes(c) || f.find(function(s) {
221
+ return s === e;
222
+ });
223
+ });
224
+ }, A = function(e) {
225
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = t.hasFallback, l = o === void 0 ? !1 : o, c = t.params, f = c === void 0 ? [] : c, s = d[e];
226
+ if (typeof s == "function" && (s = s.apply(void 0, de(f))), s === !0 && (s = void 0), !s) {
227
+ if (s === void 0 || s === !1)
228
+ return s;
229
+ throw new Error("`".concat(e, "` was specified but was not a node, or did not return a node"));
230
+ }
231
+ var v = s;
232
+ if (typeof s == "string") {
233
+ try {
234
+ v = u.querySelector(s);
235
+ } catch (b) {
236
+ throw new Error("`".concat(e, '` appears to be an invalid selector; error="').concat(b.message, '"'));
237
+ }
238
+ if (!v && !l)
239
+ throw new Error("`".concat(e, "` as selector refers to no known node"));
240
+ }
241
+ return v;
242
+ }, D = function() {
243
+ var e = A("initialFocus", {
244
+ hasFallback: !0
245
+ });
246
+ if (e === !1)
247
+ return !1;
248
+ if (e === void 0 || e && !H(e, d.tabbableOptions))
249
+ if (S(u.activeElement) >= 0)
250
+ e = u.activeElement;
251
+ else {
252
+ var t = r.tabbableGroups[0], o = t && t.firstTabbableNode;
253
+ e = o || A("fallbackFocus");
254
+ }
255
+ else e === null && (e = A("fallbackFocus"));
256
+ if (!e)
257
+ throw new Error("Your focus-trap needs to have at least one focusable element");
258
+ return e;
259
+ }, O = function() {
260
+ if (r.containerGroups = r.containers.map(function(e) {
261
+ var t = ie(e, d.tabbableOptions), o = oe(e, d.tabbableOptions), l = t.length > 0 ? t[0] : void 0, c = t.length > 0 ? t[t.length - 1] : void 0, f = o.find(function(b) {
262
+ return P(b);
263
+ }), s = o.slice().reverse().find(function(b) {
264
+ return P(b);
265
+ }), v = !!t.find(function(b) {
266
+ return I(b) > 0;
267
+ });
268
+ return {
269
+ container: e,
270
+ tabbableNodes: t,
271
+ focusableNodes: o,
272
+ /** True if at least one node with positive `tabindex` was found in this container. */
273
+ posTabIndexesFound: v,
274
+ /** First tabbable node in container, __tabindex__ order; `undefined` if none. */
275
+ firstTabbableNode: l,
276
+ /** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
277
+ lastTabbableNode: c,
278
+ // NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
279
+ // would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
280
+ // because that API doesn't work with Shadow DOM as well as it should (@see
281
+ // https://github.com/whatwg/dom/issues/320) and since this first/last is only needed, so far,
282
+ // to address an edge case related to positive tabindex support, this seems like a much easier,
283
+ // "close enough most of the time" alternative for positive tabindexes which should generally
284
+ // be avoided anyway...
285
+ /** First tabbable node in container, __DOM__ order; `undefined` if none. */
286
+ firstDomTabbableNode: f,
287
+ /** Last tabbable node in container, __DOM__ order; `undefined` if none. */
288
+ lastDomTabbableNode: s,
289
+ /**
290
+ * Finds the __tabbable__ node that follows the given node in the specified direction,
291
+ * in this container, if any.
292
+ * @param {HTMLElement} node
293
+ * @param {boolean} [forward] True if going in forward tab order; false if going
294
+ * in reverse.
295
+ * @returns {HTMLElement|undefined} The next tabbable node, if any.
296
+ */
297
+ nextTabbableNode: function(g) {
298
+ var T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, w = t.indexOf(g);
299
+ return w < 0 ? T ? o.slice(o.indexOf(g) + 1).find(function(k) {
300
+ return P(k);
301
+ }) : o.slice(0, o.indexOf(g)).reverse().find(function(k) {
302
+ return P(k);
303
+ }) : t[w + (T ? 1 : -1)];
304
+ }
27
305
  };
28
- this.dispatchExpire(r, o, n), this.items.set(n, o);
29
- }, t.prototype.dispatchExpire = function(e, i, s) {
30
- var n = this;
31
- e && setTimeout(function() {
32
- var r = Date.now(), a = r >= i.expiresAt;
33
- a && n.delete(s);
306
+ }), r.tabbableGroups = r.containerGroups.filter(function(e) {
307
+ return e.tabbableNodes.length > 0;
308
+ }), r.tabbableGroups.length <= 0 && !A("fallbackFocus"))
309
+ throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
310
+ if (r.containerGroups.find(function(e) {
311
+ return e.posTabIndexesFound;
312
+ }) && r.containerGroups.length > 1)
313
+ throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
314
+ }, B = function(e) {
315
+ var t = e.activeElement;
316
+ if (t)
317
+ return t.shadowRoot && t.shadowRoot.activeElement !== null ? B(t.shadowRoot) : t;
318
+ }, F = function(e) {
319
+ if (e !== !1 && e !== B(document)) {
320
+ if (!e || !e.focus) {
321
+ F(D());
322
+ return;
323
+ }
324
+ e.focus({
325
+ preventScroll: !!d.preventScroll
326
+ }), r.mostRecentlyFocusedNode = e, be(e) && e.select();
327
+ }
328
+ }, q = function(e) {
329
+ var t = A("setReturnFocus", {
330
+ params: [e]
331
+ });
332
+ return t || (t === !1 ? !1 : e);
333
+ }, Y = function(e) {
334
+ var t = e.target, o = e.event, l = e.isBackward, c = l === void 0 ? !1 : l;
335
+ t = t || C(o), O();
336
+ var f = null;
337
+ if (r.tabbableGroups.length > 0) {
338
+ var s = S(t, o), v = s >= 0 ? r.containerGroups[s] : void 0;
339
+ if (s < 0)
340
+ c ? f = r.tabbableGroups[r.tabbableGroups.length - 1].lastTabbableNode : f = r.tabbableGroups[0].firstTabbableNode;
341
+ else if (c) {
342
+ var b = r.tabbableGroups.findIndex(function(x) {
343
+ var G = x.firstTabbableNode;
344
+ return t === G;
345
+ });
346
+ if (b < 0 && (v.container === t || H(t, d.tabbableOptions) && !P(t, d.tabbableOptions) && !v.nextTabbableNode(t, !1)) && (b = s), b >= 0) {
347
+ var g = b === 0 ? r.tabbableGroups.length - 1 : b - 1, T = r.tabbableGroups[g];
348
+ f = I(t) >= 0 ? T.lastTabbableNode : T.lastDomTabbableNode;
349
+ } else K(o) || (f = v.nextTabbableNode(t, !1));
350
+ } else {
351
+ var w = r.tabbableGroups.findIndex(function(x) {
352
+ var G = x.lastTabbableNode;
353
+ return t === G;
354
+ });
355
+ if (w < 0 && (v.container === t || H(t, d.tabbableOptions) && !P(t, d.tabbableOptions) && !v.nextTabbableNode(t)) && (w = s), w >= 0) {
356
+ var k = w === r.tabbableGroups.length - 1 ? 0 : w + 1, E = r.tabbableGroups[k];
357
+ f = I(t) >= 0 ? E.firstTabbableNode : E.firstDomTabbableNode;
358
+ } else K(o) || (f = v.nextTabbableNode(t));
359
+ }
360
+ } else
361
+ f = A("fallbackFocus");
362
+ return f;
363
+ }, L = function(e) {
364
+ var t = C(e);
365
+ if (!(S(t, e) >= 0)) {
366
+ if (j(d.clickOutsideDeactivates, e)) {
367
+ m.deactivate({
368
+ // NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
369
+ // which will result in the outside click setting focus to the node
370
+ // that was clicked (and if not focusable, to "nothing"); by setting
371
+ // `returnFocus: true`, we'll attempt to re-focus the node originally-focused
372
+ // on activation (or the configured `setReturnFocus` node), whether the
373
+ // outside click was on a focusable node or not
374
+ returnFocus: d.returnFocusOnDeactivate
375
+ });
376
+ return;
377
+ }
378
+ j(d.allowOutsideClick, e) || e.preventDefault();
379
+ }
380
+ }, V = function(e) {
381
+ var t = C(e), o = S(t, e) >= 0;
382
+ if (o || t instanceof Document)
383
+ o && (r.mostRecentlyFocusedNode = t);
384
+ else {
385
+ e.stopImmediatePropagation();
386
+ var l, c = !0;
387
+ if (r.mostRecentlyFocusedNode)
388
+ if (I(r.mostRecentlyFocusedNode) > 0) {
389
+ var f = S(r.mostRecentlyFocusedNode), s = r.containerGroups[f].tabbableNodes;
390
+ if (s.length > 0) {
391
+ var v = s.findIndex(function(b) {
392
+ return b === r.mostRecentlyFocusedNode;
393
+ });
394
+ v >= 0 && (d.isKeyForward(r.recentNavEvent) ? v + 1 < s.length && (l = s[v + 1], c = !1) : v - 1 >= 0 && (l = s[v - 1], c = !1));
395
+ }
396
+ } else
397
+ r.containerGroups.some(function(b) {
398
+ return b.tabbableNodes.some(function(g) {
399
+ return I(g) > 0;
400
+ });
401
+ }) || (c = !1);
402
+ else
403
+ c = !1;
404
+ c && (l = Y({
405
+ // move FROM the MRU node, not event-related node (which will be the node that is
406
+ // outside the trap causing the focus escape we're trying to fix)
407
+ target: r.mostRecentlyFocusedNode,
408
+ isBackward: d.isKeyBackward(r.recentNavEvent)
409
+ })), F(l || r.mostRecentlyFocusedNode || D());
410
+ }
411
+ r.recentNavEvent = void 0;
412
+ }, ae = function(e) {
413
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
414
+ r.recentNavEvent = e;
415
+ var o = Y({
416
+ event: e,
417
+ isBackward: t
418
+ });
419
+ o && (K(e) && e.preventDefault(), F(o));
420
+ }, W = function(e) {
421
+ (d.isKeyForward(e) || d.isKeyBackward(e)) && ae(e, d.isKeyBackward(e));
422
+ }, $ = function(e) {
423
+ pe(e) && j(d.escapeDeactivates, e) !== !1 && (e.preventDefault(), m.deactivate());
424
+ }, z = function(e) {
425
+ var t = C(e);
426
+ S(t, e) >= 0 || j(d.clickOutsideDeactivates, e) || j(d.allowOutsideClick, e) || (e.preventDefault(), e.stopImmediatePropagation());
427
+ }, J = function() {
428
+ if (r.active)
429
+ return N.activateTrap(y, m), r.delayInitialFocusTimer = d.delayInitialFocus ? ee(function() {
430
+ F(D());
431
+ }) : F(D()), u.addEventListener("focusin", V, !0), u.addEventListener("mousedown", L, {
432
+ capture: !0,
433
+ passive: !1
434
+ }), u.addEventListener("touchstart", L, {
435
+ capture: !0,
436
+ passive: !1
437
+ }), u.addEventListener("click", z, {
438
+ capture: !0,
439
+ passive: !1
440
+ }), u.addEventListener("keydown", W, {
441
+ capture: !0,
442
+ passive: !1
443
+ }), u.addEventListener("keydown", $), m;
444
+ }, re = function(e) {
445
+ r.active && !r.paused && m._setSubtreeIsolation(!1), r.adjacentElements.clear(), r.alreadySilent.clear();
446
+ var t = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ new Set(), l = X(e), c;
447
+ try {
448
+ for (l.s(); !(c = l.n()).done; ) {
449
+ var f = c.value;
450
+ t.add(f);
451
+ for (var s = typeof ShadowRoot < "u" && f.getRootNode() instanceof ShadowRoot, v = f; v; ) {
452
+ t.add(v);
453
+ var b = v.parentElement, g = [];
454
+ b ? g = b.children : !b && s && (g = v.getRootNode().children, b = v.getRootNode().host, s = typeof ShadowRoot < "u" && b.getRootNode() instanceof ShadowRoot);
455
+ var T = X(g), w;
456
+ try {
457
+ for (T.s(); !(w = T.n()).done; ) {
458
+ var k = w.value;
459
+ o.add(k);
460
+ }
461
+ } catch (E) {
462
+ T.e(E);
463
+ } finally {
464
+ T.f();
465
+ }
466
+ v = b;
467
+ }
468
+ }
469
+ } catch (E) {
470
+ l.e(E);
471
+ } finally {
472
+ l.f();
473
+ }
474
+ t.forEach(function(E) {
475
+ o.delete(E);
476
+ }), r.adjacentElements = o;
477
+ }, Q = function() {
478
+ if (r.active)
479
+ return u.removeEventListener("focusin", V, !0), u.removeEventListener("mousedown", L, !0), u.removeEventListener("touchstart", L, !0), u.removeEventListener("click", z, !0), u.removeEventListener("keydown", W, !0), u.removeEventListener("keydown", $), m;
480
+ }, ne = function(e) {
481
+ var t = e.some(function(o) {
482
+ var l = Array.from(o.removedNodes);
483
+ return l.some(function(c) {
484
+ return c === r.mostRecentlyFocusedNode;
485
+ });
486
+ });
487
+ t && F(D());
488
+ }, _ = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(ne) : void 0, R = function() {
489
+ _ && (_.disconnect(), r.active && !r.paused && r.containers.map(function(e) {
490
+ _.observe(e, {
491
+ subtree: !0,
492
+ childList: !0
493
+ });
494
+ }));
495
+ };
496
+ return m = {
497
+ get active() {
498
+ return r.active;
499
+ },
500
+ get paused() {
501
+ return r.paused;
502
+ },
503
+ activate: function(e) {
504
+ if (r.active)
505
+ return this;
506
+ var t = h(e, "onActivate"), o = h(e, "onPostActivate"), l = h(e, "checkCanFocusTrap"), c = N.getActiveTrap(y), f = !1;
507
+ if (c && !c.paused) {
508
+ var s;
509
+ (s = c._setSubtreeIsolation) === null || s === void 0 || s.call(c, !1), f = !0;
510
+ }
511
+ try {
512
+ l || O(), r.active = !0, r.paused = !1, r.nodeFocusedBeforeActivation = B(u), t?.();
513
+ var v = function() {
514
+ l && O(), J(), R(), d.isolateSubtrees && m._setSubtreeIsolation(!0), o?.();
515
+ };
516
+ if (l)
517
+ return l(r.containers.concat()).then(v, v), this;
518
+ v();
519
+ } catch (g) {
520
+ if (c === N.getActiveTrap(y) && f) {
521
+ var b;
522
+ (b = c._setSubtreeIsolation) === null || b === void 0 || b.call(c, !0);
523
+ }
524
+ throw g;
525
+ }
526
+ return this;
527
+ },
528
+ deactivate: function(e) {
529
+ if (!r.active)
530
+ return this;
531
+ var t = U({
532
+ onDeactivate: d.onDeactivate,
533
+ onPostDeactivate: d.onPostDeactivate,
534
+ checkCanReturnFocus: d.checkCanReturnFocus
34
535
  }, e);
35
- }, t.prototype.delete = function(e) {
36
- this.items.delete(e);
37
- }, t;
38
- })()
39
- );
536
+ clearTimeout(r.delayInitialFocusTimer), r.delayInitialFocusTimer = void 0, r.paused || m._setSubtreeIsolation(!1), r.alreadySilent.clear(), Q(), r.active = !1, r.paused = !1, R(), N.deactivateTrap(y, m);
537
+ var o = h(t, "onDeactivate"), l = h(t, "onPostDeactivate"), c = h(t, "checkCanReturnFocus"), f = h(t, "returnFocus", "returnFocusOnDeactivate");
538
+ o?.();
539
+ var s = function() {
540
+ ee(function() {
541
+ f && F(q(r.nodeFocusedBeforeActivation)), l?.();
542
+ });
543
+ };
544
+ return f && c ? (c(q(r.nodeFocusedBeforeActivation)).then(s, s), this) : (s(), this);
545
+ },
546
+ pause: function(e) {
547
+ return r.active ? (r.manuallyPaused = !0, this._setPausedState(!0, e)) : this;
548
+ },
549
+ unpause: function(e) {
550
+ return r.active ? (r.manuallyPaused = !1, y[y.length - 1] !== this ? this : this._setPausedState(!1, e)) : this;
551
+ },
552
+ updateContainerElements: function(e) {
553
+ var t = [].concat(e).filter(Boolean);
554
+ return r.containers = t.map(function(o) {
555
+ return typeof o == "string" ? u.querySelector(o) : o;
556
+ }), d.isolateSubtrees && re(r.containers), r.active && (O(), d.isolateSubtrees && !r.paused && m._setSubtreeIsolation(!0)), R(), this;
557
+ }
558
+ }, Object.defineProperties(m, {
559
+ _isManuallyPaused: {
560
+ value: function() {
561
+ return r.manuallyPaused;
562
+ }
563
+ },
564
+ _setPausedState: {
565
+ value: function(e, t) {
566
+ if (r.paused === e)
567
+ return this;
568
+ if (r.paused = e, e) {
569
+ var o = h(t, "onPause"), l = h(t, "onPostPause");
570
+ o?.(), Q(), R(), m._setSubtreeIsolation(!1), l?.();
571
+ } else {
572
+ var c = h(t, "onUnpause"), f = h(t, "onPostUnpause");
573
+ c?.(), m._setSubtreeIsolation(!0), O(), J(), R(), f?.();
574
+ }
575
+ return this;
576
+ }
577
+ },
578
+ _setSubtreeIsolation: {
579
+ value: function(e) {
580
+ d.isolateSubtrees && r.adjacentElements.forEach(function(t) {
581
+ var o;
582
+ e ? d.isolateSubtrees === "aria-hidden" ? ((t.ariaHidden === "true" || ((o = t.getAttribute("aria-hidden")) === null || o === void 0 ? void 0 : o.toLowerCase()) === "true") && r.alreadySilent.add(t), t.setAttribute("aria-hidden", "true")) : ((t.inert || t.hasAttribute("inert")) && r.alreadySilent.add(t), t.setAttribute("inert", !0)) : r.alreadySilent.has(t) || (d.isolateSubtrees === "aria-hidden" ? t.removeAttribute("aria-hidden") : t.removeAttribute("inert"));
583
+ });
584
+ }
585
+ }
586
+ }), m.updateContainerElements(a), m;
587
+ };
40
588
  export {
41
- c as default
589
+ we as createFocusTrap
42
590
  };