@okam/stack-ui 1.25.4 → 1.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (576) hide show
  1. package/components/DirectusImg/interface.d.ts +3 -0
  2. package/index.js +1 -110
  3. package/index.mjs +165 -12753
  4. package/index10.js +2 -0
  5. package/index10.mjs +92 -0
  6. package/index100.js +1 -0
  7. package/index100.mjs +67 -0
  8. package/index101.js +1 -0
  9. package/index101.mjs +144 -0
  10. package/index102.js +1 -0
  11. package/index102.mjs +122 -0
  12. package/index103.js +1 -0
  13. package/index103.mjs +220 -0
  14. package/index104.js +1 -0
  15. package/index104.mjs +177 -0
  16. package/index105.js +1 -0
  17. package/index105.mjs +129 -0
  18. package/index106.js +1 -0
  19. package/index106.mjs +243 -0
  20. package/index107.js +1 -0
  21. package/index107.mjs +6 -0
  22. package/index108.js +1 -0
  23. package/index108.mjs +13 -0
  24. package/index109.js +1 -0
  25. package/index109.mjs +16 -0
  26. package/index11.js +2 -0
  27. package/index11.mjs +75 -0
  28. package/index110.js +1 -0
  29. package/index110.mjs +25 -0
  30. package/index111.js +1 -0
  31. package/index111.mjs +25 -0
  32. package/index112.js +1 -0
  33. package/index112.mjs +41 -0
  34. package/index113.js +2 -0
  35. package/index113.mjs +15 -0
  36. package/index114.js +1 -0
  37. package/index114.mjs +10 -0
  38. package/index115.js +1 -0
  39. package/index115.mjs +24 -0
  40. package/index116.js +1 -0
  41. package/index116.mjs +41 -0
  42. package/index117.js +1 -0
  43. package/index117.mjs +52 -0
  44. package/index118.js +1 -0
  45. package/index118.mjs +43 -0
  46. package/index119.js +1 -0
  47. package/index119.mjs +16 -0
  48. package/index12.js +1 -0
  49. package/index12.mjs +19 -0
  50. package/index120.js +1 -0
  51. package/index120.mjs +28 -0
  52. package/index121.js +1 -0
  53. package/index121.mjs +22 -0
  54. package/index122.js +1 -0
  55. package/index122.mjs +11 -0
  56. package/index123.js +1 -0
  57. package/index123.mjs +32 -0
  58. package/index124.js +1 -0
  59. package/index124.mjs +17 -0
  60. package/index125.js +1 -0
  61. package/index125.mjs +19 -0
  62. package/index126.js +1 -0
  63. package/index126.mjs +7 -0
  64. package/index127.js +1 -0
  65. package/index127.mjs +23 -0
  66. package/index128.js +1 -0
  67. package/index128.mjs +13 -0
  68. package/index129.js +1 -0
  69. package/index129.mjs +106 -0
  70. package/index13.js +2 -0
  71. package/index13.mjs +22 -0
  72. package/index130.js +1 -0
  73. package/index130.mjs +44 -0
  74. package/index131.js +2 -0
  75. package/index131.mjs +24 -0
  76. package/index132.js +1 -0
  77. package/index132.mjs +14 -0
  78. package/index133.js +1 -0
  79. package/index133.mjs +23 -0
  80. package/index134.js +1 -0
  81. package/index134.mjs +53 -0
  82. package/index135.js +1 -0
  83. package/index135.mjs +29 -0
  84. package/index136.js +1 -0
  85. package/index136.mjs +27 -0
  86. package/index137.js +1 -0
  87. package/index137.mjs +48 -0
  88. package/index138.js +2 -0
  89. package/index138.mjs +14 -0
  90. package/index14.js +2 -0
  91. package/index14.mjs +21 -0
  92. package/index141.js +1 -0
  93. package/index141.mjs +44 -0
  94. package/index142.js +1 -0
  95. package/index142.mjs +31 -0
  96. package/index143.js +1 -0
  97. package/index143.mjs +202 -0
  98. package/index144.js +1 -0
  99. package/index144.mjs +193 -0
  100. package/index145.js +1 -0
  101. package/index145.mjs +72 -0
  102. package/index146.js +1 -0
  103. package/index146.mjs +261 -0
  104. package/index147.js +1 -0
  105. package/index147.mjs +100 -0
  106. package/index148.js +1 -0
  107. package/index148.mjs +87 -0
  108. package/index149.js +1 -0
  109. package/index149.mjs +61 -0
  110. package/index15.js +2 -0
  111. package/index15.mjs +88 -0
  112. package/index150.js +1 -0
  113. package/index150.mjs +119 -0
  114. package/index151.js +1 -0
  115. package/index151.mjs +125 -0
  116. package/index152.js +1 -0
  117. package/index152.mjs +75 -0
  118. package/index153.js +1 -0
  119. package/index153.mjs +113 -0
  120. package/index154.js +1 -0
  121. package/index154.mjs +55 -0
  122. package/index155.js +1 -0
  123. package/index155.mjs +96 -0
  124. package/index156.js +1 -0
  125. package/index156.mjs +73 -0
  126. package/index157.js +1 -0
  127. package/index157.mjs +59 -0
  128. package/index158.js +1 -0
  129. package/index158.mjs +102 -0
  130. package/index159.js +5 -0
  131. package/index159.mjs +83 -0
  132. package/index16.js +2 -0
  133. package/index16.mjs +35 -0
  134. package/index160.js +1 -0
  135. package/index160.mjs +2014 -0
  136. package/index161.js +1 -0
  137. package/index161.mjs +62 -0
  138. package/index162.js +1 -0
  139. package/index162.mjs +191 -0
  140. package/index163.js +1 -0
  141. package/index163.mjs +8 -0
  142. package/index164.js +4 -0
  143. package/index164.mjs +249 -0
  144. package/index165.js +1 -0
  145. package/index165.mjs +33 -0
  146. package/index166.js +1 -0
  147. package/index166.mjs +64 -0
  148. package/index167.js +1 -0
  149. package/index167.mjs +97 -0
  150. package/index168.js +1 -0
  151. package/index168.mjs +34 -0
  152. package/index169.js +1 -0
  153. package/index169.mjs +133 -0
  154. package/index17.js +2 -0
  155. package/index17.mjs +37 -0
  156. package/index170.js +1 -0
  157. package/index170.mjs +182 -0
  158. package/index171.js +1 -0
  159. package/index171.mjs +12 -0
  160. package/index172.js +1 -0
  161. package/index172.mjs +6 -0
  162. package/index173.js +1 -0
  163. package/index173.mjs +39 -0
  164. package/index174.js +1 -0
  165. package/index174.mjs +8 -0
  166. package/index175.js +1 -0
  167. package/index175.mjs +32 -0
  168. package/index176.js +1 -0
  169. package/index176.mjs +9 -0
  170. package/index177.js +1 -0
  171. package/index177.mjs +124 -0
  172. package/index178.js +1 -0
  173. package/index178.mjs +30 -0
  174. package/index179.js +1 -0
  175. package/index179.mjs +127 -0
  176. package/index18.js +2 -0
  177. package/index18.mjs +35 -0
  178. package/index180.js +1 -0
  179. package/index180.mjs +137 -0
  180. package/index181.js +1 -0
  181. package/index181.mjs +17 -0
  182. package/index182.js +1 -0
  183. package/index182.mjs +98 -0
  184. package/index183.js +1 -0
  185. package/index183.mjs +109 -0
  186. package/index184.js +1 -0
  187. package/index184.mjs +8 -0
  188. package/index185.js +1 -0
  189. package/index185.mjs +6 -0
  190. package/index186.js +1 -0
  191. package/index186.mjs +128 -0
  192. package/index187.js +1 -0
  193. package/index187.mjs +32 -0
  194. package/index188.js +1 -0
  195. package/index188.mjs +54 -0
  196. package/index189.js +1 -0
  197. package/index189.mjs +47 -0
  198. package/index19.js +2 -0
  199. package/index19.mjs +38 -0
  200. package/index190.js +1 -0
  201. package/index190.mjs +40 -0
  202. package/index191.js +1 -0
  203. package/index191.mjs +116 -0
  204. package/index192.js +1 -0
  205. package/index192.mjs +80 -0
  206. package/index193.js +1 -0
  207. package/index193.mjs +104 -0
  208. package/index194.js +1 -0
  209. package/index194.mjs +100 -0
  210. package/index195.js +1 -0
  211. package/index195.mjs +4 -0
  212. package/index196.js +1 -0
  213. package/index196.mjs +8 -0
  214. package/index197.js +1 -0
  215. package/index197.mjs +67 -0
  216. package/index198.js +1 -0
  217. package/index198.mjs +29 -0
  218. package/index199.js +1 -0
  219. package/index199.mjs +57 -0
  220. package/index2.js +2 -0
  221. package/index2.mjs +149 -0
  222. package/index20.js +2 -0
  223. package/index20.mjs +73 -0
  224. package/index200.js +1 -0
  225. package/index200.mjs +158 -0
  226. package/index201.js +1 -0
  227. package/index201.mjs +25 -0
  228. package/index202.js +1 -0
  229. package/index202.mjs +22 -0
  230. package/index203.js +1 -0
  231. package/index203.mjs +42 -0
  232. package/index204.js +1 -0
  233. package/index204.mjs +85 -0
  234. package/index205.js +1 -0
  235. package/index205.mjs +33 -0
  236. package/index206.js +1 -0
  237. package/index206.mjs +24 -0
  238. package/index207.js +1 -0
  239. package/index207.mjs +63 -0
  240. package/index208.js +1 -0
  241. package/index208.mjs +4 -0
  242. package/index209.js +11 -0
  243. package/index209.mjs +118 -0
  244. package/index21.js +2 -0
  245. package/index21.mjs +70 -0
  246. package/index210.js +1 -0
  247. package/index210.mjs +4 -0
  248. package/index211.js +1 -0
  249. package/index211.mjs +8 -0
  250. package/index212.js +1 -0
  251. package/index212.mjs +4 -0
  252. package/index213.js +1 -0
  253. package/index213.mjs +55 -0
  254. package/index214.js +1 -0
  255. package/index214.mjs +23 -0
  256. package/index215.js +1 -0
  257. package/index215.mjs +26 -0
  258. package/index216.js +1 -0
  259. package/index216.mjs +29 -0
  260. package/index217.js +1 -0
  261. package/index217.mjs +49 -0
  262. package/index218.js +1 -0
  263. package/index218.mjs +4 -0
  264. package/index219.js +1 -0
  265. package/index219.mjs +23 -0
  266. package/index22.js +2 -0
  267. package/index22.mjs +56 -0
  268. package/index220.js +1 -0
  269. package/index220.mjs +4 -0
  270. package/index221.js +1 -0
  271. package/index221.mjs +31 -0
  272. package/index222.js +1 -0
  273. package/index222.mjs +4 -0
  274. package/index223.js +1 -0
  275. package/index223.mjs +4 -0
  276. package/index224.js +1 -0
  277. package/index224.mjs +25 -0
  278. package/index225.js +1 -0
  279. package/index225.mjs +4 -0
  280. package/index226.js +1 -0
  281. package/index226.mjs +4 -0
  282. package/index227.js +1 -0
  283. package/index227.mjs +4 -0
  284. package/index228.js +1 -0
  285. package/index228.mjs +40 -0
  286. package/index229.js +1 -0
  287. package/index229.mjs +4 -0
  288. package/index23.js +2 -0
  289. package/index23.mjs +60 -0
  290. package/index230.js +1 -0
  291. package/index230.mjs +23 -0
  292. package/index231.js +1 -0
  293. package/index231.mjs +25 -0
  294. package/index232.js +1 -0
  295. package/index232.mjs +4 -0
  296. package/index233.js +1 -0
  297. package/index233.mjs +25 -0
  298. package/index234.js +1 -0
  299. package/index234.mjs +4 -0
  300. package/index235.js +1 -0
  301. package/index235.mjs +316 -0
  302. package/index236.js +1 -0
  303. package/index236.mjs +195 -0
  304. package/index237.js +1 -0
  305. package/index237.mjs +11 -0
  306. package/index238.js +1 -0
  307. package/index238.mjs +29 -0
  308. package/index239.js +1 -0
  309. package/index239.mjs +58 -0
  310. package/index24.js +2 -0
  311. package/index24.mjs +23 -0
  312. package/index240.js +1 -0
  313. package/index240.mjs +49 -0
  314. package/index241.js +1 -0
  315. package/index241.mjs +127 -0
  316. package/index242.js +1 -0
  317. package/index242.mjs +8 -0
  318. package/index243.js +1 -0
  319. package/index243.mjs +4 -0
  320. package/index244.js +1 -0
  321. package/index244.mjs +4 -0
  322. package/index245.js +1 -0
  323. package/index245.mjs +4 -0
  324. package/index246.js +1 -0
  325. package/index246.mjs +20 -0
  326. package/index247.js +1 -0
  327. package/index247.mjs +29 -0
  328. package/index248.js +1 -0
  329. package/index248.mjs +4 -0
  330. package/index249.js +1 -0
  331. package/index249.mjs +91 -0
  332. package/index25.js +2 -0
  333. package/index25.mjs +53 -0
  334. package/index250.js +1 -0
  335. package/index250.mjs +22 -0
  336. package/index251.js +1 -0
  337. package/index251.mjs +4 -0
  338. package/index252.js +1 -0
  339. package/index252.mjs +40 -0
  340. package/index253.js +1 -0
  341. package/index253.mjs +139 -0
  342. package/index254.js +1 -0
  343. package/index254.mjs +4 -0
  344. package/index255.js +1 -0
  345. package/index255.mjs +25 -0
  346. package/index256.js +1 -0
  347. package/index256.mjs +4 -0
  348. package/index257.js +1 -0
  349. package/index257.mjs +4 -0
  350. package/index258.js +1 -0
  351. package/index258.mjs +4 -0
  352. package/index259.js +1 -0
  353. package/index259.mjs +4 -0
  354. package/index26.js +2 -0
  355. package/index26.mjs +20 -0
  356. package/index260.js +1 -0
  357. package/index260.mjs +25 -0
  358. package/index261.js +1 -0
  359. package/index261.mjs +4 -0
  360. package/index262.js +1 -0
  361. package/index262.mjs +28 -0
  362. package/index263.js +1 -0
  363. package/index263.mjs +4 -0
  364. package/index264.js +1 -0
  365. package/index264.mjs +4 -0
  366. package/index265.js +1 -0
  367. package/index265.mjs +4 -0
  368. package/index266.js +1 -0
  369. package/index266.mjs +4 -0
  370. package/index267.js +1 -0
  371. package/index267.mjs +4 -0
  372. package/index268.js +1 -0
  373. package/index268.mjs +74 -0
  374. package/index269.js +1 -0
  375. package/index269.mjs +4 -0
  376. package/index27.js +2 -0
  377. package/index27.mjs +36 -0
  378. package/index270.js +1 -0
  379. package/index270.mjs +4 -0
  380. package/index271.js +1 -0
  381. package/index271.mjs +21 -0
  382. package/index272.js +1 -0
  383. package/index272.mjs +4 -0
  384. package/index273.js +1 -0
  385. package/index273.mjs +4 -0
  386. package/index274.js +1 -0
  387. package/index274.mjs +4 -0
  388. package/index275.js +1 -0
  389. package/index275.mjs +31 -0
  390. package/index276.js +1 -0
  391. package/index276.mjs +9 -0
  392. package/index277.js +1 -0
  393. package/index277.mjs +10 -0
  394. package/index278.js +1 -0
  395. package/index278.mjs +10 -0
  396. package/index279.js +1 -0
  397. package/index279.mjs +4 -0
  398. package/index28.js +2 -0
  399. package/index28.mjs +27 -0
  400. package/index280.js +1 -0
  401. package/index280.mjs +39 -0
  402. package/index281.js +1 -0
  403. package/index281.mjs +4 -0
  404. package/index282.js +1 -0
  405. package/index282.mjs +7 -0
  406. package/index283.js +1 -0
  407. package/index283.mjs +8 -0
  408. package/index284.js +1 -0
  409. package/index284.mjs +12 -0
  410. package/index285.js +1 -0
  411. package/index285.mjs +4 -0
  412. package/index286.js +1 -0
  413. package/index286.mjs +20 -0
  414. package/index287.js +1 -0
  415. package/index287.mjs +33 -0
  416. package/index288.js +1 -0
  417. package/index288.mjs +4 -0
  418. package/index289.js +1 -0
  419. package/index289.mjs +4 -0
  420. package/index29.js +2 -0
  421. package/index29.mjs +11 -0
  422. package/index3.js +2 -0
  423. package/index3.mjs +22 -0
  424. package/index30.js +2 -0
  425. package/index30.mjs +35 -0
  426. package/index31.js +2 -0
  427. package/index31.mjs +36 -0
  428. package/index32.js +2 -0
  429. package/index32.mjs +106 -0
  430. package/index33.js +2 -0
  431. package/index33.mjs +12 -0
  432. package/index34.js +2 -0
  433. package/index34.mjs +49 -0
  434. package/index35.js +2 -0
  435. package/index35.mjs +21 -0
  436. package/index36.js +1 -0
  437. package/index36.mjs +9 -0
  438. package/index37.js +1 -0
  439. package/index37.mjs +49 -0
  440. package/index38.js +1 -0
  441. package/index38.mjs +27 -0
  442. package/index39.js +1 -0
  443. package/index39.mjs +7 -0
  444. package/index4.js +2 -0
  445. package/index4.mjs +25 -0
  446. package/index40.js +1 -0
  447. package/index40.mjs +10 -0
  448. package/index41.js +1 -0
  449. package/index41.mjs +10 -0
  450. package/index42.js +1 -0
  451. package/index42.mjs +7 -0
  452. package/index43.js +1 -0
  453. package/index43.mjs +7 -0
  454. package/index44.js +1 -0
  455. package/index44.mjs +7 -0
  456. package/index45.js +1 -0
  457. package/index45.mjs +7 -0
  458. package/index46.js +1 -0
  459. package/index46.mjs +13 -0
  460. package/index47.js +1 -0
  461. package/index47.mjs +15 -0
  462. package/index48.js +1 -0
  463. package/index48.mjs +15 -0
  464. package/index49.js +1 -0
  465. package/index49.mjs +48 -0
  466. package/index5.js +1 -0
  467. package/index5.mjs +34 -0
  468. package/index50.js +1 -0
  469. package/index50.mjs +10 -0
  470. package/index51.js +1 -0
  471. package/index51.mjs +73 -0
  472. package/index52.js +1 -0
  473. package/index52.mjs +10 -0
  474. package/index53.js +1 -0
  475. package/index53.mjs +15 -0
  476. package/index54.js +1 -0
  477. package/index54.mjs +12 -0
  478. package/index55.js +1 -0
  479. package/index55.mjs +19 -0
  480. package/index56.js +1 -0
  481. package/index56.mjs +15 -0
  482. package/index57.js +1 -0
  483. package/index57.mjs +15 -0
  484. package/index58.js +1 -0
  485. package/index58.mjs +15 -0
  486. package/index59.js +1 -0
  487. package/index59.mjs +13 -0
  488. package/index6.js +2 -0
  489. package/index6.mjs +60 -0
  490. package/index60.js +1 -0
  491. package/index60.mjs +13 -0
  492. package/index61.js +1 -0
  493. package/index61.mjs +15 -0
  494. package/index62.js +1 -0
  495. package/index62.mjs +16 -0
  496. package/index63.js +2 -0
  497. package/index63.mjs +25 -0
  498. package/index64.js +2 -0
  499. package/index64.mjs +19 -0
  500. package/index65.js +2 -0
  501. package/index65.mjs +17 -0
  502. package/index66.js +2 -0
  503. package/index66.mjs +44 -0
  504. package/index67.js +2 -0
  505. package/index67.mjs +41 -0
  506. package/index68.js +2 -0
  507. package/index68.mjs +15 -0
  508. package/index69.js +2 -0
  509. package/index69.mjs +14 -0
  510. package/index7.js +2 -0
  511. package/index7.mjs +86 -0
  512. package/index70.js +2 -0
  513. package/index70.mjs +17 -0
  514. package/index71.js +1 -0
  515. package/index71.mjs +4 -0
  516. package/index72.js +2 -0
  517. package/index72.mjs +11 -0
  518. package/index73.js +2 -0
  519. package/index73.mjs +10 -0
  520. package/index74.js +2 -0
  521. package/index74.mjs +10 -0
  522. package/index75.js +2 -0
  523. package/index75.mjs +10 -0
  524. package/index76.js +1 -0
  525. package/index76.mjs +27 -0
  526. package/index77.js +1 -0
  527. package/index77.mjs +4 -0
  528. package/index78.js +6 -0
  529. package/index78.mjs +96 -0
  530. package/index79.js +1 -0
  531. package/index79.mjs +71 -0
  532. package/index8.js +2 -0
  533. package/index8.mjs +27 -0
  534. package/index80.js +1 -0
  535. package/index80.mjs +43 -0
  536. package/index81.js +42 -0
  537. package/index81.mjs +72 -0
  538. package/index82.js +1 -0
  539. package/index82.mjs +161 -0
  540. package/index83.js +1 -0
  541. package/index83.mjs +24 -0
  542. package/index84.js +1 -0
  543. package/index84.mjs +47 -0
  544. package/index85.js +1 -0
  545. package/index85.mjs +15 -0
  546. package/index86.js +1 -0
  547. package/index86.mjs +37 -0
  548. package/index87.js +1 -0
  549. package/index87.mjs +8 -0
  550. package/index88.js +12 -0
  551. package/index88.mjs +42 -0
  552. package/index89.js +1 -0
  553. package/index89.mjs +31 -0
  554. package/index9.js +2 -0
  555. package/index9.mjs +64 -0
  556. package/index90.js +1 -0
  557. package/index90.mjs +15 -0
  558. package/index91.js +7 -0
  559. package/index91.mjs +21 -0
  560. package/index92.js +15 -0
  561. package/index92.mjs +73 -0
  562. package/index93.js +1 -0
  563. package/index93.mjs +9 -0
  564. package/index94.js +16 -0
  565. package/index94.mjs +27 -0
  566. package/index95.js +1 -0
  567. package/index95.mjs +44 -0
  568. package/index96.js +1 -0
  569. package/index96.mjs +47 -0
  570. package/index97.js +1 -0
  571. package/index97.mjs +50 -0
  572. package/index98.js +1 -0
  573. package/index98.mjs +19 -0
  574. package/index99.js +2 -0
  575. package/index99.mjs +24 -0
  576. package/package.json +1 -1
package/index166.mjs ADDED
@@ -0,0 +1,64 @@
1
+ import { mergeProps as i, filterDOMProps as F } from "@react-aria/utils";
2
+ import { useFocusable as $ } from "@react-aria/focus";
3
+ import { usePress as O } from "./index235.mjs";
4
+ function E(s, t) {
5
+ let {
6
+ elementType: r = "button",
7
+ isDisabled: e,
8
+ onPress: l,
9
+ onPressStart: u,
10
+ onPressEnd: p,
11
+ onPressUp: P,
12
+ onPressChange: c,
13
+ preventFocusOnPress: f,
14
+ allowFocusWhenDisabled: b,
15
+ // @ts-ignore
16
+ onClick: o,
17
+ href: h,
18
+ target: m,
19
+ rel: x,
20
+ type: d = "button"
21
+ } = s, n;
22
+ r === "button" ? n = {
23
+ type: d,
24
+ disabled: e
25
+ } : n = {
26
+ role: "button",
27
+ tabIndex: e ? void 0 : 0,
28
+ href: r === "a" && e ? void 0 : h,
29
+ target: r === "a" ? m : void 0,
30
+ type: r === "input" ? d : void 0,
31
+ disabled: r === "input" ? e : void 0,
32
+ "aria-disabled": !e || r === "input" ? void 0 : e,
33
+ rel: r === "a" ? x : void 0
34
+ };
35
+ let { pressProps: g, isPressed: C } = O({
36
+ onPressStart: u,
37
+ onPressEnd: p,
38
+ onPressChange: c,
39
+ onPress: l,
40
+ onPressUp: P,
41
+ isDisabled: e,
42
+ preventFocusOnPress: f,
43
+ ref: t
44
+ }), { focusableProps: a } = $(s, t);
45
+ b && (a.tabIndex = e ? -1 : a.tabIndex);
46
+ let y = i(a, g, F(s, {
47
+ labelable: !0
48
+ }));
49
+ return {
50
+ isPressed: C,
51
+ buttonProps: i(n, y, {
52
+ "aria-haspopup": s["aria-haspopup"],
53
+ "aria-expanded": s["aria-expanded"],
54
+ "aria-controls": s["aria-controls"],
55
+ "aria-pressed": s["aria-pressed"],
56
+ onClick: (D) => {
57
+ o && (o(D), console.warn("onClick is deprecated, please use onPress"));
58
+ }
59
+ })
60
+ };
61
+ }
62
+ export {
63
+ E as useButton
64
+ };
package/index167.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("./index237.js"),x=require("@react-aria/focus"),T=require("@react-aria/utils"),V=require("./index235.js"),j=require("./index240.js"),v=require("react");function N(o){let{selectionManager:t,key:s,ref:c,shouldSelectOnPressUp:L,shouldUseVirtualFocus:d,focus:D,isDisabled:n,onAction:b,allowsDifferentPressOrigin:C,linkBehavior:u="action"}=o,F=T.useRouter(),a=e=>{if(e.pointerType==="keyboard"&&A.isNonContiguousSelectionModifier(e))t.toggleSelection(s);else{if(t.selectionMode==="none")return;if(t.isLink(s)){if(u==="selection"){let f=t.getItemProps(s);F.open(c.current,e,f.href,f.routerOptions),t.setSelectedKeys(t.selectedKeys);return}else if(u==="override"||u==="none")return}t.selectionMode==="single"?t.isSelected(s)&&!t.disallowEmptySelection?t.toggleSelection(s):t.replaceSelection(s):e&&e.shiftKey?t.extendSelection(s):t.selectionBehavior==="toggle"||e&&(A.isCtrlKeyPressed(e)||e.pointerType==="touch"||e.pointerType==="virtual")?t.toggleSelection(s):t.replaceSelection(s)}};v.useEffect(()=>{s===t.focusedKey&&t.isFocused&&!d&&(D?D():document.activeElement!==c.current&&x.focusSafely(c.current))},[c,s,t.focusedKey,t.childFocusStrategy,t.isFocused,d]),n=n||t.isDisabled(s);let y={};!d&&!n?y={tabIndex:s===t.focusedKey?0:-1,onFocus(e){e.target===c.current&&t.setFocusedKey(s)}}:n&&(y.onMouseDown=e=>{e.preventDefault()});let E=t.isLink(s)&&u==="override",O=t.isLink(s)&&u!=="selection"&&u!=="none",r=!n&&t.canSelectItem(s)&&!E,k=(b||O)&&!n,l=k&&(t.selectionBehavior==="replace"?!r:!r||t.isEmpty),h=k&&r&&t.selectionBehavior==="replace",p=l||h,P=v.useRef(null),g=p&&r,m=v.useRef(!1),w=v.useRef(!1),S=e=>{if(b&&b(),O){let f=t.getItemProps(s);F.open(c.current,e,f.href,f.routerOptions)}},i={};L?(i.onPressStart=e=>{P.current=e.pointerType,m.current=g,e.pointerType==="keyboard"&&(!p||$())&&a(e)},C?(i.onPressUp=l?null:e=>{e.pointerType!=="keyboard"&&r&&a(e)},i.onPress=l?S:null):i.onPress=e=>{if(l||h&&e.pointerType!=="mouse"){if(e.pointerType==="keyboard"&&!K())return;S(e)}else e.pointerType!=="keyboard"&&r&&a(e)}):(i.onPressStart=e=>{P.current=e.pointerType,m.current=g,w.current=l,r&&(e.pointerType==="mouse"&&!l||e.pointerType==="keyboard"&&(!k||$()))&&a(e)},i.onPress=e=>{(e.pointerType==="touch"||e.pointerType==="pen"||e.pointerType==="virtual"||e.pointerType==="keyboard"&&p&&K()||e.pointerType==="mouse"&&w.current)&&(p?S(e):r&&a(e))}),y["data-key"]=s,i.preventFocusOnPress=d;let{pressProps:q,isPressed:B}=V.usePress(i),M=h?e=>{P.current==="mouse"&&(e.stopPropagation(),e.preventDefault(),S(e))}:void 0,{longPressProps:I}=j.useLongPress({isDisabled:!g,onLongPress(e){e.pointerType==="touch"&&(a(e),t.setSelectionBehavior("toggle"))}}),R=e=>{P.current==="touch"&&m.current&&e.preventDefault()},U=t.isLink(s)?e=>{T.openLink.isOpening||e.preventDefault()}:void 0;return{itemProps:T.mergeProps(y,r||l?q:{},g?I:{},{onDoubleClick:M,onDragStartCapture:R,onClick:U}),isPressed:B,isSelected:t.isSelected(s),isFocused:t.isFocused&&t.focusedKey===s,isDisabled:n,allowsSelection:r,hasAction:p}}function K(){let o=window.event;return(o==null?void 0:o.key)==="Enter"}function $(){let o=window.event;return(o==null?void 0:o.key)===" "||(o==null?void 0:o.code)==="Space"}exports.useSelectableItem=N;
package/index167.mjs ADDED
@@ -0,0 +1,97 @@
1
+ import { isNonContiguousSelectionModifier as U, isCtrlKeyPressed as R } from "./index237.mjs";
2
+ import { focusSafely as V } from "@react-aria/focus";
3
+ import { useRouter as N, openLink as j, mergeProps as q } from "@react-aria/utils";
4
+ import { usePress as z } from "./index235.mjs";
5
+ import { useLongPress as G } from "./index240.mjs";
6
+ import { useEffect as H, useRef as h } from "react";
7
+ function _(r) {
8
+ let { selectionManager: t, key: o, ref: c, shouldSelectOnPressUp: K, shouldUseVirtualFocus: d, focus: $, isDisabled: n, onAction: g, allowsDifferentPressOrigin: O, linkBehavior: a = "action" } = r, T = N(), p = (e) => {
9
+ if (e.pointerType === "keyboard" && U(e)) t.toggleSelection(o);
10
+ else {
11
+ if (t.selectionMode === "none") return;
12
+ if (t.isLink(o)) {
13
+ if (a === "selection") {
14
+ let f = t.getItemProps(o);
15
+ T.open(c.current, e, f.href, f.routerOptions), t.setSelectedKeys(t.selectedKeys);
16
+ return;
17
+ } else if (a === "override" || a === "none") return;
18
+ }
19
+ t.selectionMode === "single" ? t.isSelected(o) && !t.disallowEmptySelection ? t.toggleSelection(o) : t.replaceSelection(o) : e && e.shiftKey ? t.extendSelection(o) : t.selectionBehavior === "toggle" || e && (R(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? t.toggleSelection(o) : t.replaceSelection(o);
20
+ }
21
+ };
22
+ H(() => {
23
+ o === t.focusedKey && t.isFocused && !d && ($ ? $() : document.activeElement !== c.current && V(c.current));
24
+ }, [
25
+ c,
26
+ o,
27
+ t.focusedKey,
28
+ t.childFocusStrategy,
29
+ t.isFocused,
30
+ d
31
+ ]), n = n || t.isDisabled(o);
32
+ let y = {};
33
+ !d && !n ? y = {
34
+ tabIndex: o === t.focusedKey ? 0 : -1,
35
+ onFocus(e) {
36
+ e.target === c.current && t.setFocusedKey(o);
37
+ }
38
+ } : n && (y.onMouseDown = (e) => {
39
+ e.preventDefault();
40
+ });
41
+ let L = t.isLink(o) && a === "override", D = t.isLink(o) && a !== "selection" && a !== "none", i = !n && t.canSelectItem(o) && !L, S = (g || D) && !n, l = S && (t.selectionBehavior === "replace" ? !i : !i || t.isEmpty), v = S && i && t.selectionBehavior === "replace", u = l || v, P = h(null), m = u && i, k = h(!1), F = h(!1), b = (e) => {
42
+ if (g && g(), D) {
43
+ let f = t.getItemProps(o);
44
+ T.open(c.current, e, f.href, f.routerOptions);
45
+ }
46
+ }, s = {};
47
+ K ? (s.onPressStart = (e) => {
48
+ P.current = e.pointerType, k.current = m, e.pointerType === "keyboard" && (!u || A()) && p(e);
49
+ }, O ? (s.onPressUp = l ? null : (e) => {
50
+ e.pointerType !== "keyboard" && i && p(e);
51
+ }, s.onPress = l ? b : null) : s.onPress = (e) => {
52
+ if (l || v && e.pointerType !== "mouse") {
53
+ if (e.pointerType === "keyboard" && !w()) return;
54
+ b(e);
55
+ } else e.pointerType !== "keyboard" && i && p(e);
56
+ }) : (s.onPressStart = (e) => {
57
+ P.current = e.pointerType, k.current = m, F.current = l, i && (e.pointerType === "mouse" && !l || e.pointerType === "keyboard" && (!S || A())) && p(e);
58
+ }, s.onPress = (e) => {
59
+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && u && w() || e.pointerType === "mouse" && F.current) && (u ? b(e) : i && p(e));
60
+ }), y["data-key"] = o, s.preventFocusOnPress = d;
61
+ let { pressProps: x, isPressed: C } = z(s), E = v ? (e) => {
62
+ P.current === "mouse" && (e.stopPropagation(), e.preventDefault(), b(e));
63
+ } : void 0, { longPressProps: B } = G({
64
+ isDisabled: !m,
65
+ onLongPress(e) {
66
+ e.pointerType === "touch" && (p(e), t.setSelectionBehavior("toggle"));
67
+ }
68
+ }), I = (e) => {
69
+ P.current === "touch" && k.current && e.preventDefault();
70
+ }, M = t.isLink(o) ? (e) => {
71
+ j.isOpening || e.preventDefault();
72
+ } : void 0;
73
+ return {
74
+ itemProps: q(y, i || l ? x : {}, m ? B : {}, {
75
+ onDoubleClick: E,
76
+ onDragStartCapture: I,
77
+ onClick: M
78
+ }),
79
+ isPressed: C,
80
+ isSelected: t.isSelected(o),
81
+ isFocused: t.isFocused && t.focusedKey === o,
82
+ isDisabled: n,
83
+ allowsSelection: i,
84
+ hasAction: u
85
+ };
86
+ }
87
+ function w() {
88
+ let r = window.event;
89
+ return (r == null ? void 0 : r.key) === "Enter";
90
+ }
91
+ function A() {
92
+ let r = window.event;
93
+ return (r == null ? void 0 : r.key) === " " || (r == null ? void 0 : r.code) === "Space";
94
+ }
95
+ export {
96
+ _ as useSelectableItem
97
+ };
package/index168.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index236.js"),b=require("./index241.js"),u=require("@react-aria/i18n"),g=require("react");function y(l){let{selectionManager:t,collection:o,disabledKeys:a,ref:e,keyboardDelegate:r}=l,i=u.useCollator({usage:"search",sensitivity:"base"}),s=t.disabledBehavior,c=g.useMemo(()=>r||new b.ListKeyboardDelegate({collection:o,disabledKeys:a,disabledBehavior:s,ref:e,collator:i}),[r,o,a,e,i,s]),{collectionProps:n}=d.useSelectableCollection({...l,ref:e,selectionManager:t,keyboardDelegate:c});return{listProps:n}}exports.useSelectableList=y;
package/index168.mjs ADDED
@@ -0,0 +1,34 @@
1
+ import { useSelectableCollection as b } from "./index236.mjs";
2
+ import { ListKeyboardDelegate as n } from "./index241.mjs";
3
+ import { useCollator as f } from "@react-aria/i18n";
4
+ import { useMemo as g } from "react";
5
+ function u(a) {
6
+ let { selectionManager: o, collection: l, disabledKeys: t, ref: e, keyboardDelegate: r } = a, i = f({
7
+ usage: "search",
8
+ sensitivity: "base"
9
+ }), s = o.disabledBehavior, d = g(() => r || new n({
10
+ collection: l,
11
+ disabledKeys: t,
12
+ disabledBehavior: s,
13
+ ref: e,
14
+ collator: i
15
+ }), [
16
+ r,
17
+ l,
18
+ t,
19
+ e,
20
+ i,
21
+ s
22
+ ]), { collectionProps: c } = b({
23
+ ...a,
24
+ ref: e,
25
+ selectionManager: o,
26
+ keyboardDelegate: d
27
+ });
28
+ return {
29
+ listProps: c
30
+ };
31
+ }
32
+ export {
33
+ u as useSelectableList
34
+ };
package/index169.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function r(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function o(e,n){e===void 0&&(e={}),n===void 0&&(n={}),Object.keys(n).forEach(t=>{typeof e[t]>"u"?e[t]=n[t]:r(n[t])&&r(e[t])&&Object.keys(n[t]).length>0&&o(e[t],n[t])})}const u={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function i(){const e=typeof document<"u"?document:{};return o(e,u),e}const c={document:u,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function s(){const e=typeof window<"u"?window:{};return o(e,c),e}exports.a=s;exports.g=i;
package/index169.mjs ADDED
@@ -0,0 +1,133 @@
1
+ function r(e) {
2
+ return e !== null && typeof e == "object" && "constructor" in e && e.constructor === Object;
3
+ }
4
+ function o(e, n) {
5
+ e === void 0 && (e = {}), n === void 0 && (n = {}), Object.keys(n).forEach((t) => {
6
+ typeof e[t] > "u" ? e[t] = n[t] : r(n[t]) && r(e[t]) && Object.keys(n[t]).length > 0 && o(e[t], n[t]);
7
+ });
8
+ }
9
+ const u = {
10
+ body: {},
11
+ addEventListener() {
12
+ },
13
+ removeEventListener() {
14
+ },
15
+ activeElement: {
16
+ blur() {
17
+ },
18
+ nodeName: ""
19
+ },
20
+ querySelector() {
21
+ return null;
22
+ },
23
+ querySelectorAll() {
24
+ return [];
25
+ },
26
+ getElementById() {
27
+ return null;
28
+ },
29
+ createEvent() {
30
+ return {
31
+ initEvent() {
32
+ }
33
+ };
34
+ },
35
+ createElement() {
36
+ return {
37
+ children: [],
38
+ childNodes: [],
39
+ style: {},
40
+ setAttribute() {
41
+ },
42
+ getElementsByTagName() {
43
+ return [];
44
+ }
45
+ };
46
+ },
47
+ createElementNS() {
48
+ return {};
49
+ },
50
+ importNode() {
51
+ return null;
52
+ },
53
+ location: {
54
+ hash: "",
55
+ host: "",
56
+ hostname: "",
57
+ href: "",
58
+ origin: "",
59
+ pathname: "",
60
+ protocol: "",
61
+ search: ""
62
+ }
63
+ };
64
+ function c() {
65
+ const e = typeof document < "u" ? document : {};
66
+ return o(e, u), e;
67
+ }
68
+ const i = {
69
+ document: u,
70
+ navigator: {
71
+ userAgent: ""
72
+ },
73
+ location: {
74
+ hash: "",
75
+ host: "",
76
+ hostname: "",
77
+ href: "",
78
+ origin: "",
79
+ pathname: "",
80
+ protocol: "",
81
+ search: ""
82
+ },
83
+ history: {
84
+ replaceState() {
85
+ },
86
+ pushState() {
87
+ },
88
+ go() {
89
+ },
90
+ back() {
91
+ }
92
+ },
93
+ CustomEvent: function() {
94
+ return this;
95
+ },
96
+ addEventListener() {
97
+ },
98
+ removeEventListener() {
99
+ },
100
+ getComputedStyle() {
101
+ return {
102
+ getPropertyValue() {
103
+ return "";
104
+ }
105
+ };
106
+ },
107
+ Image() {
108
+ },
109
+ Date() {
110
+ },
111
+ screen: {},
112
+ setTimeout() {
113
+ },
114
+ clearTimeout() {
115
+ },
116
+ matchMedia() {
117
+ return {};
118
+ },
119
+ requestAnimationFrame(e) {
120
+ return typeof setTimeout > "u" ? (e(), null) : setTimeout(e, 0);
121
+ },
122
+ cancelAnimationFrame(e) {
123
+ typeof setTimeout > "u" || clearTimeout(e);
124
+ }
125
+ };
126
+ function s() {
127
+ const e = typeof window < "u" ? window : {};
128
+ return o(e, i), e;
129
+ }
130
+ export {
131
+ s as a,
132
+ c as g
133
+ };
package/index17.js ADDED
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ "use strict";const e=require("react/jsx-runtime"),f=require("react"),h=require("react-aria"),k=require("react-stately"),n=require("./index64.js"),P=require("./index70.js"),T=require("./index6.js"),w=require("./index45.js"),y=require("./index108.js"),v=require("./index3.js"),F=a=>{const{setUserSearchQuery:d}=P.useUserQueryValHook(),{label:l,themeName:s="search",tokens:m,customTheme:t,disabled:i,errorMessage:c,placeholder:x}=a,o=k.useSearchFieldState(a);d(o.value);const u=f.useRef(null),{labelProps:q,inputProps:p,errorMessageProps:$,clearButtonProps:b}=h.useSearchField(a,o,u),r={...m,isError:c!=null},j=n(`${s}.wrapper`,r,t),g=n(`${s}.input`,r,t),S=n(`${s}.label`,r,t),N=n(`${s}.container`,r,t);return e.jsxs("div",{className:j,"aria-disabled":i,children:[l&&e.jsx("label",{...q,className:S,children:l}),e.jsxs("div",{className:N,children:[e.jsx("input",{ref:u,...p,placeholder:x,className:g,disabled:i}),e.jsx(h.FocusRing,{focusRingClass:"has-focus-ring",children:e.jsx(T.default,{handlePress:b.onPress,tokens:{isIconOnly:!0,buttonStyle:"hollow"},themeName:`${s}.icon`,"aria-label":"clear",children:o.value===""?e.jsx(y,{width:"16",height:"16"}):e.jsx(w,{width:"16",height:"16"})})})]}),c&&e.jsx(v.default,{themeName:`${s}.errorMessage`,tokens:r,...$,children:c})]})};module.exports=F;
package/index17.mjs ADDED
@@ -0,0 +1,37 @@
1
+ "use client";
2
+ import { jsxs as h, jsx as e } from "react/jsx-runtime";
3
+ import $ from "react";
4
+ import { useSearchField as k, FocusRing as w } from "react-aria";
5
+ import { useSearchFieldState as v } from "react-stately";
6
+ import t from "./index64.mjs";
7
+ import { useUserQueryValHook as x } from "./index70.mjs";
8
+ import F from "./index6.mjs";
9
+ import R from "./index45.mjs";
10
+ import B from "./index108.mjs";
11
+ import C from "./index3.mjs";
12
+ const q = (a) => {
13
+ const { setUserSearchQuery: u } = x(), { label: i, themeName: r = "search", tokens: p, customTheme: s, disabled: c, errorMessage: l, placeholder: d } = a, n = v(a);
14
+ u(n.value);
15
+ const m = $.useRef(null), { labelProps: f, inputProps: b, errorMessageProps: g, clearButtonProps: T } = k(a, n, m), o = { ...p, isError: l != null }, N = t(`${r}.wrapper`, o, s), S = t(`${r}.input`, o, s), y = t(`${r}.label`, o, s), P = t(`${r}.container`, o, s);
16
+ return /* @__PURE__ */ h("div", { className: N, "aria-disabled": c, children: [
17
+ i && // eslint-disable-next-line jsx-a11y/label-has-associated-control
18
+ /* @__PURE__ */ e("label", { ...f, className: y, children: i }),
19
+ /* @__PURE__ */ h("div", { className: P, children: [
20
+ /* @__PURE__ */ e("input", { ref: m, ...b, placeholder: d, className: S, disabled: c }),
21
+ /* @__PURE__ */ e(w, { focusRingClass: "has-focus-ring", children: /* @__PURE__ */ e(
22
+ F,
23
+ {
24
+ handlePress: T.onPress,
25
+ tokens: { isIconOnly: !0, buttonStyle: "hollow" },
26
+ themeName: `${r}.icon`,
27
+ "aria-label": "clear",
28
+ children: n.value === "" ? /* @__PURE__ */ e(B, { width: "16", height: "16" }) : /* @__PURE__ */ e(R, { width: "16", height: "16" })
29
+ }
30
+ ) })
31
+ ] }),
32
+ l && /* @__PURE__ */ e(C, { themeName: `${r}.errorMessage`, tokens: o, ...g, children: l })
33
+ ] });
34
+ };
35
+ export {
36
+ q as default
37
+ };
package/index170.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index169.js");function h(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function S(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function T(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function b(){return Date.now()}function x(e){const t=c.a();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}function E(e,t){t===void 0&&(t="x");const n=c.a();let r,i,l;const s=x(e);return n.WebKitCSSMatrix?(i=s.transform||s.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(o=>o.replace(",",".")).join(", ")),l=new n.WebKitCSSMatrix(i==="none"?"":i)):(l=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=l.toString().split(",")),t==="x"&&(n.WebKitCSSMatrix?i=l.m41:r.length===16?i=parseFloat(r[12]):i=parseFloat(r[4])),t==="y"&&(n.WebKitCSSMatrix?i=l.m42:r.length===16?i=parseFloat(r[13]):i=parseFloat(r[5])),i||0}function f(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function v(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function d(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const r=n<0||arguments.length<=n?void 0:arguments[n];if(r!=null&&!v(r)){const i=Object.keys(Object(r)).filter(l=>t.indexOf(l)<0);for(let l=0,s=i.length;l<s;l+=1){const o=i[l],a=Object.getOwnPropertyDescriptor(r,o);a!==void 0&&a.enumerable&&(f(e[o])&&f(r[o])?r[o].__swiper__?e[o]=r[o]:d(e[o],r[o]):!f(e[o])&&f(r[o])?(e[o]={},r[o].__swiper__?e[o]=r[o]:d(e[o],r[o])):e[o]=r[o])}}}return e}function M(e,t,n){e.style.setProperty(t,n)}function O(e){let{swiper:t,targetPosition:n,side:r}=e;const i=c.a(),l=-t.translate;let s=null,o;const a=t.params.speed;t.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(t.cssModeFrameID);const y=n>l?"next":"prev",g=(p,m)=>y==="next"&&p>=m||y==="prev"&&p<=m,w=()=>{o=new Date().getTime(),s===null&&(s=o);const p=Math.max(Math.min((o-s)/a,1),0),m=.5-Math.cos(p*Math.PI)/2;let u=l+m*(n-l);if(g(u,n)&&(u=n),t.wrapperEl.scrollTo({[r]:u}),g(u,n)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[r]:u})}),i.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=i.requestAnimationFrame(w)};w()}function P(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function C(e,t){return t===void 0&&(t=""),[...e.children].filter(n=>n.matches(t))}function j(e){try{console.warn(e);return}catch{}}function _(e,t){t===void 0&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:h(t)),n}function F(e){const t=c.a(),n=c.g(),r=e.getBoundingClientRect(),i=n.body,l=e.clientTop||i.clientTop||0,s=e.clientLeft||i.clientLeft||0,o=e===t?t.scrollY:e.scrollTop,a=e===t?t.scrollX:e.scrollLeft;return{top:r.top+o-l,left:r.left+a-s}}function A(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function L(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function k(e,t){return c.a().getComputedStyle(e,null).getPropertyValue(t)}function W(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function D(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function I(e,t){function n(r){r.target===e&&(t.call(e,r),e.removeEventListener("transitionend",n))}t&&e.addEventListener("transitionend",n)}function q(e,t,n){const r=c.a();return e[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom"))}function K(e){return(Array.isArray(e)?e:[e]).filter(t=>!!t)}exports.a=D;exports.b=F;exports.c=_;exports.d=b;exports.e=C;exports.f=q;exports.g=W;exports.h=h;exports.i=E;exports.j=I;exports.k=f;exports.l=P;exports.m=K;exports.n=T;exports.o=k;exports.p=L;exports.q=A;exports.r=O;exports.s=M;exports.t=j;exports.u=d;exports.v=S;
package/index170.mjs ADDED
@@ -0,0 +1,182 @@
1
+ import { a as c, g as h } from "./index169.mjs";
2
+ function S(e) {
3
+ return e === void 0 && (e = ""), e.trim().split(" ").filter((t) => !!t.trim());
4
+ }
5
+ function E(e) {
6
+ const t = e;
7
+ Object.keys(t).forEach((n) => {
8
+ try {
9
+ t[n] = null;
10
+ } catch {
11
+ }
12
+ try {
13
+ delete t[n];
14
+ } catch {
15
+ }
16
+ });
17
+ }
18
+ function v(e, t) {
19
+ return t === void 0 && (t = 0), setTimeout(e, t);
20
+ }
21
+ function M() {
22
+ return Date.now();
23
+ }
24
+ function T(e) {
25
+ const t = c();
26
+ let n;
27
+ return t.getComputedStyle && (n = t.getComputedStyle(e, null)), !n && e.currentStyle && (n = e.currentStyle), n || (n = e.style), n;
28
+ }
29
+ function C(e, t) {
30
+ t === void 0 && (t = "x");
31
+ const n = c();
32
+ let r, i, s;
33
+ const l = T(e);
34
+ return n.WebKitCSSMatrix ? (i = l.transform || l.webkitTransform, i.split(",").length > 6 && (i = i.split(", ").map((o) => o.replace(",", ".")).join(", ")), s = new n.WebKitCSSMatrix(i === "none" ? "" : i)) : (s = l.MozTransform || l.OTransform || l.MsTransform || l.msTransform || l.transform || l.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), r = s.toString().split(",")), t === "x" && (n.WebKitCSSMatrix ? i = s.m41 : r.length === 16 ? i = parseFloat(r[12]) : i = parseFloat(r[4])), t === "y" && (n.WebKitCSSMatrix ? i = s.m42 : r.length === 16 ? i = parseFloat(r[13]) : i = parseFloat(r[5])), i || 0;
35
+ }
36
+ function m(e) {
37
+ return typeof e == "object" && e !== null && e.constructor && Object.prototype.toString.call(e).slice(8, -1) === "Object";
38
+ }
39
+ function b(e) {
40
+ return typeof window < "u" && typeof window.HTMLElement < "u" ? e instanceof HTMLElement : e && (e.nodeType === 1 || e.nodeType === 11);
41
+ }
42
+ function y() {
43
+ const e = Object(arguments.length <= 0 ? void 0 : arguments[0]), t = ["__proto__", "constructor", "prototype"];
44
+ for (let n = 1; n < arguments.length; n += 1) {
45
+ const r = n < 0 || arguments.length <= n ? void 0 : arguments[n];
46
+ if (r != null && !b(r)) {
47
+ const i = Object.keys(Object(r)).filter((s) => t.indexOf(s) < 0);
48
+ for (let s = 0, l = i.length; s < l; s += 1) {
49
+ const o = i[s], a = Object.getOwnPropertyDescriptor(r, o);
50
+ a !== void 0 && a.enumerable && (m(e[o]) && m(r[o]) ? r[o].__swiper__ ? e[o] = r[o] : y(e[o], r[o]) : !m(e[o]) && m(r[o]) ? (e[o] = {}, r[o].__swiper__ ? e[o] = r[o] : y(e[o], r[o])) : e[o] = r[o]);
51
+ }
52
+ }
53
+ }
54
+ return e;
55
+ }
56
+ function O(e, t, n) {
57
+ e.style.setProperty(t, n);
58
+ }
59
+ function P(e) {
60
+ let {
61
+ swiper: t,
62
+ targetPosition: n,
63
+ side: r
64
+ } = e;
65
+ const i = c(), s = -t.translate;
66
+ let l = null, o;
67
+ const a = t.params.speed;
68
+ t.wrapperEl.style.scrollSnapType = "none", i.cancelAnimationFrame(t.cssModeFrameID);
69
+ const d = n > s ? "next" : "prev", g = (f, p) => d === "next" && f >= p || d === "prev" && f <= p, w = () => {
70
+ o = (/* @__PURE__ */ new Date()).getTime(), l === null && (l = o);
71
+ const f = Math.max(Math.min((o - l) / a, 1), 0), p = 0.5 - Math.cos(f * Math.PI) / 2;
72
+ let u = s + p * (n - s);
73
+ if (g(u, n) && (u = n), t.wrapperEl.scrollTo({
74
+ [r]: u
75
+ }), g(u, n)) {
76
+ t.wrapperEl.style.overflow = "hidden", t.wrapperEl.style.scrollSnapType = "", setTimeout(() => {
77
+ t.wrapperEl.style.overflow = "", t.wrapperEl.scrollTo({
78
+ [r]: u
79
+ });
80
+ }), i.cancelAnimationFrame(t.cssModeFrameID);
81
+ return;
82
+ }
83
+ t.cssModeFrameID = i.requestAnimationFrame(w);
84
+ };
85
+ w();
86
+ }
87
+ function j(e) {
88
+ return e.querySelector(".swiper-slide-transform") || e.shadowRoot && e.shadowRoot.querySelector(".swiper-slide-transform") || e;
89
+ }
90
+ function F(e, t) {
91
+ return t === void 0 && (t = ""), [...e.children].filter((n) => n.matches(t));
92
+ }
93
+ function _(e) {
94
+ try {
95
+ console.warn(e);
96
+ return;
97
+ } catch {
98
+ }
99
+ }
100
+ function A(e, t) {
101
+ t === void 0 && (t = []);
102
+ const n = document.createElement(e);
103
+ return n.classList.add(...Array.isArray(t) ? t : S(t)), n;
104
+ }
105
+ function L(e) {
106
+ const t = c(), n = h(), r = e.getBoundingClientRect(), i = n.body, s = e.clientTop || i.clientTop || 0, l = e.clientLeft || i.clientLeft || 0, o = e === t ? t.scrollY : e.scrollTop, a = e === t ? t.scrollX : e.scrollLeft;
107
+ return {
108
+ top: r.top + o - s,
109
+ left: r.left + a - l
110
+ };
111
+ }
112
+ function k(e, t) {
113
+ const n = [];
114
+ for (; e.previousElementSibling; ) {
115
+ const r = e.previousElementSibling;
116
+ t ? r.matches(t) && n.push(r) : n.push(r), e = r;
117
+ }
118
+ return n;
119
+ }
120
+ function D(e, t) {
121
+ const n = [];
122
+ for (; e.nextElementSibling; ) {
123
+ const r = e.nextElementSibling;
124
+ t ? r.matches(t) && n.push(r) : n.push(r), e = r;
125
+ }
126
+ return n;
127
+ }
128
+ function W(e, t) {
129
+ return c().getComputedStyle(e, null).getPropertyValue(t);
130
+ }
131
+ function I(e) {
132
+ let t = e, n;
133
+ if (t) {
134
+ for (n = 0; (t = t.previousSibling) !== null; )
135
+ t.nodeType === 1 && (n += 1);
136
+ return n;
137
+ }
138
+ }
139
+ function K(e, t) {
140
+ const n = [];
141
+ let r = e.parentElement;
142
+ for (; r; )
143
+ t ? r.matches(t) && n.push(r) : n.push(r), r = r.parentElement;
144
+ return n;
145
+ }
146
+ function q(e, t) {
147
+ function n(r) {
148
+ r.target === e && (t.call(e, r), e.removeEventListener("transitionend", n));
149
+ }
150
+ t && e.addEventListener("transitionend", n);
151
+ }
152
+ function V(e, t, n) {
153
+ const r = c();
154
+ return e[t === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(r.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-right" : "margin-top")) + parseFloat(r.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-left" : "margin-bottom"));
155
+ }
156
+ function B(e) {
157
+ return (Array.isArray(e) ? e : [e]).filter((t) => !!t);
158
+ }
159
+ export {
160
+ K as a,
161
+ L as b,
162
+ A as c,
163
+ M as d,
164
+ F as e,
165
+ V as f,
166
+ I as g,
167
+ S as h,
168
+ C as i,
169
+ q as j,
170
+ m as k,
171
+ j as l,
172
+ B as m,
173
+ v as n,
174
+ W as o,
175
+ D as p,
176
+ k as q,
177
+ P as r,
178
+ O as s,
179
+ _ as t,
180
+ y as u,
181
+ E as v
182
+ };
package/index171.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index170.js");function o(i,f,l,n){return i.params.createElements&&Object.keys(n).forEach(e=>{if(!l[e]&&l.auto===!0){let t=u.e(i.el,`.${n[e]}`)[0];t||(t=u.c("div",n[e]),t.className=n[e],i.el.append(t)),l[e]=t,f[e]=t}}),l}exports.c=o;
package/index171.mjs ADDED
@@ -0,0 +1,12 @@
1
+ import { e as i, c as m } from "./index170.mjs";
2
+ function o(f, a, n, l) {
3
+ return f.params.createElements && Object.keys(l).forEach((e) => {
4
+ if (!n[e] && n.auto === !0) {
5
+ let t = i(f.el, `.${l[e]}`)[0];
6
+ t || (t = m("div", l[e]), t.className = l[e], f.el.append(t)), n[e] = t, a[e] = t;
7
+ }
8
+ }), n;
9
+ }
10
+ export {
11
+ o as c
12
+ };
package/index172.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function r(e){return e===void 0&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}exports.c=r;
package/index172.mjs ADDED
@@ -0,0 +1,6 @@
1
+ function r(e) {
2
+ return e === void 0 && (e = ""), `.${e.trim().replace(/([\.:!+\/])/g, "\\$1").replace(/ /g, ".")}`;
3
+ }
4
+ export {
5
+ r as c
6
+ };
package/index173.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function m(d){const{effect:s,swiper:e,on:r,setTranslate:n,setTransition:p,overwriteParams:f,perspective:o,recreateShadows:l,getEffectParams:c}=d;r("beforeInit",()=>{if(e.params.effect!==s)return;e.classNames.push(`${e.params.containerModifierClass}${s}`),o&&o()&&e.classNames.push(`${e.params.containerModifierClass}3d`);const t=f?f():{};Object.assign(e.params,t),Object.assign(e.originalParams,t)}),r("setTranslate",()=>{e.params.effect===s&&n()}),r("setTransition",(t,i)=>{e.params.effect===s&&p(i)}),r("transitionEnd",()=>{if(e.params.effect===s&&l){if(!c||!c().slideShadows)return;e.slides.forEach(t=>{t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(i=>i.remove())}),l()}});let a;r("virtualUpdate",()=>{e.params.effect===s&&(e.slides.length||(a=!0),requestAnimationFrame(()=>{a&&e.slides&&e.slides.length&&(n(),a=!1)}))})}exports.e=m;
package/index173.mjs ADDED
@@ -0,0 +1,39 @@
1
+ function m(d) {
2
+ const {
3
+ effect: s,
4
+ swiper: e,
5
+ on: r,
6
+ setTranslate: f,
7
+ setTransition: p,
8
+ overwriteParams: n,
9
+ perspective: o,
10
+ recreateShadows: l,
11
+ getEffectParams: c
12
+ } = d;
13
+ r("beforeInit", () => {
14
+ if (e.params.effect !== s) return;
15
+ e.classNames.push(`${e.params.containerModifierClass}${s}`), o && o() && e.classNames.push(`${e.params.containerModifierClass}3d`);
16
+ const a = n ? n() : {};
17
+ Object.assign(e.params, a), Object.assign(e.originalParams, a);
18
+ }), r("setTranslate", () => {
19
+ e.params.effect === s && f();
20
+ }), r("setTransition", (a, i) => {
21
+ e.params.effect === s && p(i);
22
+ }), r("transitionEnd", () => {
23
+ if (e.params.effect === s && l) {
24
+ if (!c || !c().slideShadows) return;
25
+ e.slides.forEach((a) => {
26
+ a.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((i) => i.remove());
27
+ }), l();
28
+ }
29
+ });
30
+ let t;
31
+ r("virtualUpdate", () => {
32
+ e.params.effect === s && (e.slides.length || (t = !0), requestAnimationFrame(() => {
33
+ t && e.slides && e.slides.length && (f(), t = !1);
34
+ }));
35
+ });
36
+ }
37
+ export {
38
+ m as e
39
+ };
package/index174.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index170.js");function r(c,t){const e=i.l(t);return e!==t&&(e.style.backfaceVisibility="hidden",e.style["-webkit-backface-visibility"]="hidden"),e}exports.e=r;
package/index174.mjs ADDED
@@ -0,0 +1,8 @@
1
+ import { l as i } from "./index170.mjs";
2
+ function r(a, t) {
3
+ const e = i(t);
4
+ return e !== t && (e.style.backfaceVisibility = "hidden", e.style["-webkit-backface-visibility"] = "hidden"), e;
5
+ }
6
+ export {
7
+ r as e
8
+ };