@okam/stack-ui 1.28.0 → 1.29.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (569) hide show
  1. package/components/Button/interface.d.ts +2 -2
  2. package/components/Menu/interface.d.ts +5 -2
  3. package/components/Video/index.d.ts +3 -0
  4. package/components/Video/interface.d.ts +6 -0
  5. package/components/WysiwygBlock/attributes.d.ts +2 -0
  6. package/index.d.ts +1 -2
  7. package/index.js +1 -1
  8. package/index.mjs +101 -103
  9. package/index10.js +1 -1
  10. package/index10.mjs +1 -1
  11. package/index100.js +2 -1
  12. package/index100.mjs +22 -17
  13. package/index101.js +1 -2
  14. package/index101.mjs +63 -22
  15. package/index102.js +1 -1
  16. package/index102.mjs +24 -58
  17. package/index103.js +1 -1
  18. package/index103.mjs +52 -29
  19. package/index104.js +1 -1
  20. package/index107.js +1 -1
  21. package/index107.mjs +1 -1
  22. package/index108.js +1 -1
  23. package/index109.js +1 -1
  24. package/index109.mjs +2 -2
  25. package/index11.js +1 -1
  26. package/index11.mjs +3 -3
  27. package/index110.js +1 -1
  28. package/index111.js +1 -1
  29. package/index112.js +1 -1
  30. package/index112.mjs +1 -1
  31. package/index113.js +1 -1
  32. package/index113.mjs +1 -1
  33. package/index114.js +1 -1
  34. package/index114.mjs +1 -1
  35. package/index115.js +1 -1
  36. package/index115.mjs +9 -9
  37. package/index116.js +1 -1
  38. package/index116.mjs +3 -3
  39. package/index117.js +1 -1
  40. package/index118.js +1 -1
  41. package/index119.js +1 -1
  42. package/index12.js +1 -1
  43. package/index12.mjs +1 -1
  44. package/index120.js +1 -1
  45. package/index120.mjs +2 -2
  46. package/index121.js +1 -1
  47. package/index121.mjs +1 -1
  48. package/index122.js +1 -1
  49. package/index122.mjs +1 -1
  50. package/index123.js +1 -1
  51. package/index123.mjs +21 -5
  52. package/index124.js +1 -1
  53. package/index124.mjs +11 -21
  54. package/index125.js +2 -1
  55. package/index125.mjs +22 -11
  56. package/index126.js +1 -1
  57. package/index126.mjs +12 -42
  58. package/index127.js +1 -2
  59. package/index127.mjs +46 -22
  60. package/index128.js +1 -1
  61. package/index128.mjs +241 -12
  62. package/index129.js +2 -1
  63. package/index129.mjs +13 -46
  64. package/index13.js +1 -1
  65. package/index13.mjs +8 -5
  66. package/index130.js +1 -1
  67. package/index130.mjs +28 -239
  68. package/index131.js +1 -2
  69. package/index131.mjs +51 -13
  70. package/index132.js +1 -1
  71. package/index132.mjs +27 -30
  72. package/index133.js +1 -1
  73. package/index133.mjs +19 -49
  74. package/index134.js +1 -1
  75. package/index134.mjs +61 -26
  76. package/index135.js +1 -1
  77. package/index135.mjs +91 -17
  78. package/index136.js +1 -1
  79. package/index136.mjs +31 -3
  80. package/index137.js +1 -4
  81. package/index137.mjs +119 -244
  82. package/index138.js +1 -1
  83. package/index138.mjs +27 -61
  84. package/index139.js +1 -1
  85. package/index139.mjs +122 -92
  86. package/index14.js +1 -1
  87. package/index14.mjs +2 -2
  88. package/index140.js +1 -1
  89. package/index140.mjs +134 -31
  90. package/index141.js +1 -1
  91. package/index141.mjs +12 -119
  92. package/index142.js +1 -1
  93. package/index142.mjs +93 -25
  94. package/index143.js +1 -1
  95. package/index143.mjs +103 -121
  96. package/index144.js +1 -1
  97. package/index144.mjs +5 -134
  98. package/index145.js +1 -1
  99. package/index145.mjs +3 -14
  100. package/index146.js +1 -1
  101. package/index146.mjs +113 -83
  102. package/index147.js +1 -1
  103. package/index147.mjs +25 -102
  104. package/index148.js +1 -1
  105. package/index148.mjs +51 -5
  106. package/index149.js +1 -1
  107. package/index149.mjs +44 -3
  108. package/index15.js +1 -1
  109. package/index15.mjs +1 -1
  110. package/index150.js +1 -1
  111. package/index150.mjs +29 -117
  112. package/index151.js +1 -1
  113. package/index151.mjs +100 -16
  114. package/index152.js +1 -1
  115. package/index152.mjs +70 -44
  116. package/index153.js +1 -1
  117. package/index153.mjs +90 -33
  118. package/index154.js +1 -1
  119. package/index154.mjs +98 -38
  120. package/index155.js +1 -1
  121. package/index155.mjs +195 -109
  122. package/index156.js +1 -1
  123. package/index156.mjs +61 -74
  124. package/index157.js +1 -1
  125. package/index157.mjs +141 -101
  126. package/index158.js +1 -1
  127. package/index158.mjs +120 -98
  128. package/index159.js +1 -1
  129. package/index159.mjs +218 -2
  130. package/index16.js +1 -1
  131. package/index160.js +1 -1
  132. package/index160.mjs +190 -5
  133. package/index161.js +1 -1
  134. package/index161.mjs +68 -63
  135. package/index162.js +1 -1
  136. package/index162.mjs +255 -23
  137. package/index163.js +1 -1
  138. package/index163.mjs +94 -51
  139. package/index164.js +1 -1
  140. package/index164.mjs +171 -152
  141. package/index165.js +1 -1
  142. package/index165.mjs +83 -21
  143. package/index166.js +1 -1
  144. package/index166.mjs +57 -18
  145. package/index167.js +1 -1
  146. package/index167.mjs +123 -36
  147. package/index168.js +1 -1
  148. package/index168.mjs +113 -79
  149. package/index169.js +1 -1
  150. package/index169.mjs +119 -27
  151. package/index17.js +1 -1
  152. package/index17.mjs +1 -1
  153. package/index170.js +1 -1
  154. package/index170.mjs +70 -19
  155. package/index171.js +1 -1
  156. package/index171.mjs +110 -53
  157. package/index172.js +1 -1
  158. package/index172.mjs +53 -2
  159. package/index173.js +1 -11
  160. package/index173.mjs +92 -114
  161. package/index174.js +1 -1
  162. package/index174.mjs +63 -192
  163. package/index175.js +1 -1
  164. package/index175.mjs +51 -59
  165. package/index176.js +1 -1
  166. package/index176.mjs +93 -135
  167. package/index177.js +5 -1
  168. package/index177.mjs +75 -114
  169. package/index178.js +1 -1
  170. package/index178.mjs +1994 -200
  171. package/index179.js +1 -1
  172. package/index179.mjs +57 -188
  173. package/index18.js +1 -1
  174. package/index18.mjs +3 -3
  175. package/index180.js +1 -1
  176. package/index180.mjs +186 -67
  177. package/index181.js +1 -1
  178. package/index181.mjs +5 -258
  179. package/index182.js +1 -1
  180. package/index182.mjs +127 -94
  181. package/index183.js +1 -1
  182. package/index183.mjs +171 -166
  183. package/index184.js +1 -1
  184. package/index184.mjs +8 -83
  185. package/index185.js +1 -1
  186. package/index185.mjs +3 -58
  187. package/index186.js +1 -1
  188. package/index186.mjs +32 -122
  189. package/index187.js +1 -1
  190. package/index187.mjs +5 -116
  191. package/index188.js +1 -1
  192. package/index188.mjs +25 -118
  193. package/index189.js +1 -1
  194. package/index189.mjs +6 -72
  195. package/index19.js +1 -1
  196. package/index190.js +1 -1
  197. package/index190.mjs +306 -103
  198. package/index191.js +1 -1
  199. package/index191.mjs +189 -49
  200. package/index192.js +1 -1
  201. package/index192.mjs +8 -93
  202. package/index193.js +1 -1
  203. package/index193.mjs +24 -68
  204. package/index194.js +1 -1
  205. package/index194.mjs +54 -55
  206. package/index195.js +1 -1
  207. package/index195.mjs +42 -95
  208. package/index196.js +1 -5
  209. package/index196.mjs +123 -79
  210. package/index197.js +1 -1
  211. package/index197.mjs +5 -2011
  212. package/index198.js +1 -1
  213. package/index198.mjs +26 -57
  214. package/index199.js +1 -1
  215. package/index199.mjs +7 -189
  216. package/index2.js +1 -1
  217. package/index2.mjs +20 -20
  218. package/index20.js +1 -1
  219. package/index20.mjs +1 -1
  220. package/index200.js +1 -1
  221. package/index200.mjs +6 -4
  222. package/index201.js +1 -1
  223. package/index201.mjs +8 -2
  224. package/index202.js +1 -1
  225. package/index202.mjs +4 -52
  226. package/index203.js +1 -1
  227. package/index203.mjs +5 -20
  228. package/index204.js +1 -1
  229. package/index204.mjs +9 -23
  230. package/index21.js +1 -1
  231. package/index21.mjs +1 -1
  232. package/index22.js +1 -1
  233. package/index22.mjs +1 -1
  234. package/index23.js +1 -1
  235. package/index23.mjs +1 -1
  236. package/index24.js +1 -1
  237. package/index24.mjs +1 -1
  238. package/index25.js +1 -1
  239. package/index25.mjs +1 -1
  240. package/index26.js +1 -1
  241. package/index26.mjs +1 -1
  242. package/index27.js +1 -1
  243. package/index28.js +1 -1
  244. package/index28.mjs +2 -2
  245. package/index29.js +1 -1
  246. package/index29.mjs +1 -1
  247. package/index3.js +1 -1
  248. package/index3.mjs +1 -1
  249. package/index30.js +1 -1
  250. package/index31.js +1 -1
  251. package/index31.mjs +2 -2
  252. package/index32.js +1 -1
  253. package/index32.mjs +1 -1
  254. package/index33.js +1 -1
  255. package/index33.mjs +88 -65
  256. package/index34.js +1 -1
  257. package/index34.mjs +2 -2
  258. package/index35.js +1 -1
  259. package/index35.mjs +2 -2
  260. package/index36.js +1 -1
  261. package/index36.mjs +1 -1
  262. package/index37.js +1 -1
  263. package/index38.js +2 -1
  264. package/index38.mjs +20 -45
  265. package/index39.js +1 -2
  266. package/index39.mjs +5 -26
  267. package/index4.js +1 -1
  268. package/index4.mjs +4 -4
  269. package/index40.js +1 -1
  270. package/index40.mjs +7 -4
  271. package/index41.js +1 -1
  272. package/index41.mjs +5 -5
  273. package/index42.js +1 -1
  274. package/index42.mjs +5 -8
  275. package/index43.js +1 -1
  276. package/index43.mjs +2 -2
  277. package/index44.js +1 -1
  278. package/index44.mjs +1 -1
  279. package/index45.js +1 -1
  280. package/index45.mjs +4 -4
  281. package/index46.js +1 -1
  282. package/index46.mjs +9 -3
  283. package/index47.js +1 -1
  284. package/index47.mjs +9 -7
  285. package/index48.js +1 -1
  286. package/index48.mjs +9 -9
  287. package/index49.js +1 -1
  288. package/index49.mjs +46 -13
  289. package/index50.js +1 -1
  290. package/index50.mjs +8 -46
  291. package/index51.js +1 -1
  292. package/index51.mjs +69 -6
  293. package/index52.js +1 -1
  294. package/index52.mjs +8 -71
  295. package/index53.js +1 -1
  296. package/index53.mjs +12 -7
  297. package/index54.js +1 -1
  298. package/index54.mjs +9 -12
  299. package/index55.js +1 -1
  300. package/index55.mjs +17 -10
  301. package/index56.js +1 -1
  302. package/index56.mjs +13 -17
  303. package/index57.js +1 -1
  304. package/index57.mjs +5 -5
  305. package/index58.js +1 -1
  306. package/index58.mjs +6 -6
  307. package/index59.js +1 -1
  308. package/index59.mjs +8 -10
  309. package/index6.js +1 -1
  310. package/index6.mjs +1 -1
  311. package/index60.js +1 -1
  312. package/index60.mjs +5 -5
  313. package/index61.js +1 -1
  314. package/index61.mjs +8 -6
  315. package/index62.js +1 -1
  316. package/index62.mjs +14 -13
  317. package/index63.js +2 -1
  318. package/index63.mjs +23 -14
  319. package/index64.js +1 -1
  320. package/index64.mjs +15 -21
  321. package/index65.js +1 -1
  322. package/index65.mjs +14 -16
  323. package/index66.js +1 -1
  324. package/index66.mjs +40 -13
  325. package/index67.js +1 -1
  326. package/index67.mjs +36 -39
  327. package/index68.js +1 -1
  328. package/index68.mjs +11 -37
  329. package/index69.js +1 -1
  330. package/index69.mjs +10 -11
  331. package/index7.js +1 -1
  332. package/index7.mjs +1 -1
  333. package/index70.js +1 -1
  334. package/index70.mjs +13 -10
  335. package/index71.js +1 -1
  336. package/index71.mjs +10 -13
  337. package/index72.js +1 -2
  338. package/index72.mjs +2 -12
  339. package/index73.js +2 -1
  340. package/index73.mjs +9 -2
  341. package/index74.js +1 -1
  342. package/index74.mjs +6 -7
  343. package/index75.js +1 -1
  344. package/index75.mjs +6 -6
  345. package/index76.js +1 -1
  346. package/index76.mjs +6 -6
  347. package/index77.js +1 -2
  348. package/index77.mjs +25 -8
  349. package/index78.js +1 -1
  350. package/index78.mjs +2 -25
  351. package/index79.js +6 -1
  352. package/index79.mjs +94 -2
  353. package/index8.js +1 -1
  354. package/index8.mjs +3 -3
  355. package/index80.js +1 -6
  356. package/index80.mjs +54 -79
  357. package/index81.js +1 -1
  358. package/index81.mjs +33 -61
  359. package/index82.js +42 -1
  360. package/index82.mjs +67 -34
  361. package/index83.js +1 -42
  362. package/index83.mjs +154 -65
  363. package/index84.js +9 -1
  364. package/index84.mjs +47 -149
  365. package/index85.js +1 -9
  366. package/index85.mjs +36 -48
  367. package/index86.js +1 -1
  368. package/index86.mjs +8 -40
  369. package/index87.js +1 -1
  370. package/index87.mjs +31 -9
  371. package/index88.js +1 -1
  372. package/index88.mjs +6 -35
  373. package/index89.js +12 -1
  374. package/index89.mjs +40 -6
  375. package/index9.js +1 -1
  376. package/index9.mjs +38 -43
  377. package/index90.js +1 -12
  378. package/index90.mjs +25 -36
  379. package/index91.js +1 -1
  380. package/index91.mjs +8 -24
  381. package/index92.js +7 -1
  382. package/index92.mjs +13 -7
  383. package/index93.js +14 -6
  384. package/index93.mjs +65 -13
  385. package/index94.js +1 -15
  386. package/index94.mjs +7 -71
  387. package/index95.js +16 -1
  388. package/index95.mjs +25 -7
  389. package/index96.js +1 -16
  390. package/index96.mjs +37 -20
  391. package/index97.js +1 -1
  392. package/index97.mjs +43 -40
  393. package/index98.js +1 -1
  394. package/index98.mjs +47 -44
  395. package/index99.js +1 -1
  396. package/index99.mjs +17 -48
  397. package/package.json +1 -1
  398. package/theme/Alerts/index.d.ts +88 -0
  399. package/theme/Button/index.d.ts +28 -0
  400. package/theme/Carousel/index.d.ts +36 -0
  401. package/types/next-link.d.ts +16 -0
  402. package/components/DirectusImg/index.d.ts +0 -3
  403. package/components/DirectusImg/interface.d.ts +0 -20
  404. package/components/Img/index.d.ts +0 -3
  405. package/components/Img/interface.d.ts +0 -6
  406. package/index205.js +0 -1
  407. package/index205.mjs +0 -29
  408. package/index206.js +0 -1
  409. package/index206.mjs +0 -49
  410. package/index207.js +0 -1
  411. package/index207.mjs +0 -4
  412. package/index208.js +0 -1
  413. package/index208.mjs +0 -23
  414. package/index209.js +0 -1
  415. package/index209.mjs +0 -4
  416. package/index210.js +0 -1
  417. package/index210.mjs +0 -31
  418. package/index211.js +0 -1
  419. package/index211.mjs +0 -4
  420. package/index212.js +0 -1
  421. package/index212.mjs +0 -4
  422. package/index213.js +0 -1
  423. package/index213.mjs +0 -25
  424. package/index214.js +0 -1
  425. package/index214.mjs +0 -4
  426. package/index215.js +0 -1
  427. package/index215.mjs +0 -4
  428. package/index216.js +0 -1
  429. package/index216.mjs +0 -4
  430. package/index217.js +0 -1
  431. package/index217.mjs +0 -40
  432. package/index218.js +0 -1
  433. package/index218.mjs +0 -4
  434. package/index219.js +0 -1
  435. package/index219.mjs +0 -23
  436. package/index220.js +0 -1
  437. package/index220.mjs +0 -25
  438. package/index221.js +0 -1
  439. package/index221.mjs +0 -4
  440. package/index222.js +0 -1
  441. package/index222.mjs +0 -25
  442. package/index223.js +0 -1
  443. package/index223.mjs +0 -4
  444. package/index224.js +0 -1
  445. package/index224.mjs +0 -133
  446. package/index225.js +0 -1
  447. package/index225.mjs +0 -182
  448. package/index226.js +0 -1
  449. package/index226.mjs +0 -12
  450. package/index227.js +0 -1
  451. package/index227.mjs +0 -6
  452. package/index228.js +0 -1
  453. package/index228.mjs +0 -39
  454. package/index229.js +0 -1
  455. package/index229.mjs +0 -8
  456. package/index230.js +0 -1
  457. package/index230.mjs +0 -32
  458. package/index231.js +0 -1
  459. package/index231.mjs +0 -9
  460. package/index232.js +0 -1
  461. package/index232.mjs +0 -316
  462. package/index233.js +0 -1
  463. package/index233.mjs +0 -195
  464. package/index234.js +0 -1
  465. package/index234.mjs +0 -11
  466. package/index235.js +0 -1
  467. package/index235.mjs +0 -29
  468. package/index236.js +0 -1
  469. package/index236.mjs +0 -58
  470. package/index237.js +0 -1
  471. package/index237.mjs +0 -49
  472. package/index238.js +0 -1
  473. package/index238.mjs +0 -127
  474. package/index239.js +0 -1
  475. package/index239.mjs +0 -4
  476. package/index240.js +0 -1
  477. package/index240.mjs +0 -4
  478. package/index241.js +0 -1
  479. package/index241.mjs +0 -4
  480. package/index242.js +0 -1
  481. package/index242.mjs +0 -20
  482. package/index243.js +0 -1
  483. package/index243.mjs +0 -29
  484. package/index244.js +0 -1
  485. package/index244.mjs +0 -4
  486. package/index245.js +0 -1
  487. package/index245.mjs +0 -91
  488. package/index246.js +0 -1
  489. package/index246.mjs +0 -22
  490. package/index247.js +0 -1
  491. package/index247.mjs +0 -4
  492. package/index248.js +0 -1
  493. package/index248.mjs +0 -40
  494. package/index249.js +0 -1
  495. package/index249.mjs +0 -139
  496. package/index250.js +0 -1
  497. package/index250.mjs +0 -4
  498. package/index251.js +0 -1
  499. package/index251.mjs +0 -25
  500. package/index252.js +0 -1
  501. package/index252.mjs +0 -4
  502. package/index253.js +0 -1
  503. package/index253.mjs +0 -4
  504. package/index254.js +0 -1
  505. package/index254.mjs +0 -4
  506. package/index255.js +0 -1
  507. package/index255.mjs +0 -4
  508. package/index256.js +0 -1
  509. package/index256.mjs +0 -25
  510. package/index257.js +0 -1
  511. package/index257.mjs +0 -4
  512. package/index258.js +0 -1
  513. package/index258.mjs +0 -28
  514. package/index259.js +0 -1
  515. package/index259.mjs +0 -4
  516. package/index260.js +0 -1
  517. package/index260.mjs +0 -8
  518. package/index261.js +0 -1
  519. package/index261.mjs +0 -4
  520. package/index262.js +0 -1
  521. package/index262.mjs +0 -4
  522. package/index263.js +0 -1
  523. package/index263.mjs +0 -4
  524. package/index264.js +0 -1
  525. package/index264.mjs +0 -4
  526. package/index265.js +0 -1
  527. package/index265.mjs +0 -74
  528. package/index266.js +0 -1
  529. package/index266.mjs +0 -4
  530. package/index267.js +0 -1
  531. package/index267.mjs +0 -4
  532. package/index268.js +0 -1
  533. package/index268.mjs +0 -21
  534. package/index269.js +0 -1
  535. package/index269.mjs +0 -4
  536. package/index270.js +0 -1
  537. package/index270.mjs +0 -4
  538. package/index271.js +0 -1
  539. package/index271.mjs +0 -4
  540. package/index272.js +0 -1
  541. package/index272.mjs +0 -31
  542. package/index273.js +0 -1
  543. package/index273.mjs +0 -9
  544. package/index274.js +0 -1
  545. package/index274.mjs +0 -10
  546. package/index275.js +0 -1
  547. package/index275.mjs +0 -10
  548. package/index276.js +0 -1
  549. package/index276.mjs +0 -4
  550. package/index277.js +0 -1
  551. package/index277.mjs +0 -39
  552. package/index278.js +0 -1
  553. package/index278.mjs +0 -4
  554. package/index279.js +0 -1
  555. package/index279.mjs +0 -7
  556. package/index280.js +0 -1
  557. package/index280.mjs +0 -8
  558. package/index281.js +0 -1
  559. package/index281.mjs +0 -12
  560. package/index282.js +0 -1
  561. package/index282.mjs +0 -4
  562. package/index283.js +0 -1
  563. package/index283.mjs +0 -20
  564. package/index284.js +0 -1
  565. package/index284.mjs +0 -33
  566. package/index285.js +0 -1
  567. package/index285.mjs +0 -4
  568. package/index286.js +0 -1
  569. package/index286.mjs +0 -4
package/index223.mjs DELETED
@@ -1,4 +0,0 @@
1
- var e = { exports: {} };
2
- export {
3
- e as __module
4
- };
package/index224.js DELETED
@@ -1 +0,0 @@
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/index224.mjs DELETED
@@ -1,133 +0,0 @@
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/index225.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index224.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/index225.mjs DELETED
@@ -1,182 +0,0 @@
1
- import { a as c, g as h } from "./index224.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/index226.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index225.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/index226.mjs DELETED
@@ -1,12 +0,0 @@
1
- import { e as i, c as m } from "./index225.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/index227.js DELETED
@@ -1 +0,0 @@
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/index227.mjs DELETED
@@ -1,6 +0,0 @@
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/index228.js DELETED
@@ -1 +0,0 @@
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/index228.mjs DELETED
@@ -1,39 +0,0 @@
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/index229.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index225.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/index229.mjs DELETED
@@ -1,8 +0,0 @@
1
- import { l as i } from "./index225.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
- };
package/index230.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index225.js");function f(a){let{swiper:e,duration:l,transformElements:s,allSlides:o}=a;const{activeIndex:d}=e,u=n=>n.parentElement?n.parentElement:e.slides.filter(t=>t.shadowRoot&&t.shadowRoot===n.parentNode)[0];if(e.params.virtualTranslate&&l!==0){let n=!1,r;o?r=s:r=s.filter(t=>{const i=t.classList.contains("swiper-slide-transform")?u(t):t;return e.getSlideIndex(i)===d}),r.forEach(t=>{c.j(t,()=>{if(n||!e||e.destroyed)return;n=!0,e.animating=!1;const i=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(i)})})}}exports.e=f;
package/index230.mjs DELETED
@@ -1,32 +0,0 @@
1
- import { j as f } from "./index225.mjs";
2
- function p(a) {
3
- let {
4
- swiper: e,
5
- duration: o,
6
- transformElements: s,
7
- allSlides: l
8
- } = a;
9
- const {
10
- activeIndex: d
11
- } = e, c = (n) => n.parentElement ? n.parentElement : e.slides.filter((t) => t.shadowRoot && t.shadowRoot === n.parentNode)[0];
12
- if (e.params.virtualTranslate && o !== 0) {
13
- let n = !1, r;
14
- l ? r = s : r = s.filter((t) => {
15
- const i = t.classList.contains("swiper-slide-transform") ? c(t) : t;
16
- return e.getSlideIndex(i) === d;
17
- }), r.forEach((t) => {
18
- f(t, () => {
19
- if (n || !e || e.destroyed) return;
20
- n = !0, e.animating = !1;
21
- const i = new window.CustomEvent("transitionend", {
22
- bubbles: !0,
23
- cancelable: !0
24
- });
25
- e.wrapperEl.dispatchEvent(i);
26
- });
27
- });
28
- }
29
- }
30
- export {
31
- p as e
32
- };
package/index231.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index225.js");function a(t,l,o){const s=`swiper-slide-shadow${o?`-${o}`:""}${t?` swiper-slide-shadow-${t}`:""}`,i=r.l(l);let e=i.querySelector(`.${s.split(" ").join(".")}`);return e||(e=r.c("div",s.split(" ")),i.append(e)),e}exports.c=a;
package/index231.mjs DELETED
@@ -1,9 +0,0 @@
1
- import { l, c as i } from "./index225.mjs";
2
- function d(s, r, o) {
3
- const a = `swiper-slide-shadow${o ? `-${o}` : ""}${s ? ` swiper-slide-shadow-${s}` : ""}`, t = l(r);
4
- let e = t.querySelector(`.${a.split(" ").join(".")}`);
5
- return e || (e = i("div", a.split(" ")), t.append(e)), e;
6
- }
7
- export {
8
- d as c
9
- };
package/index232.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./index272.js"),B=require("./index273.js"),N=require("./index274.js"),j=require("./index148.js"),U=require("./index275.js"),o=require("@react-aria/utils"),w=require("react");function z(i){let s=w.useContext(B.PressResponderContext);if(s){let{register:u,...c}=s;i=o.mergeProps(c,i),u()}return o.useSyncRef(s,i.ref),i}var x=new WeakMap;class C{continuePropagation(){U._class_private_field_set(this,x,!1)}get shouldStopPropagation(){return N._class_private_field_get(this,x)}constructor(s,u,c){j._class_private_field_init(this,x,{writable:!0,value:void 0}),U._class_private_field_set(this,x,!0),this.type=s,this.pointerType=u,this.target=c.currentTarget,this.shiftKey=c.shiftKey,this.metaKey=c.metaKey,this.ctrlKey=c.ctrlKey,this.altKey=c.altKey}}const R=Symbol("linkClicked");function J(i){let{onPress:s,onPressChange:u,onPressStart:c,onPressEnd:g,onPressUp:M,isDisabled:v,isPressed:H,preventFocusOnPress:k,shouldCancelOnPointerExit:G,allowTextSelectionOnPress:y,ref:re,...V}=z(i),[X,A]=w.useState(!1),S=w.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:h,removeAllGlobalListeners:$}=o.useGlobalListeners(),T=o.useEffectEvent((e,a)=>{let d=S.current;if(v||d.didFirePressStart)return!1;let n=!0;if(d.isTriggeringEvent=!0,c){let l=new C("pressstart",a,e);c(l),n=l.shouldStopPropagation}return u&&u(!0),d.isTriggeringEvent=!1,d.didFirePressStart=!0,A(!0),n}),p=o.useEffectEvent((e,a,d=!0)=>{let n=S.current;if(!n.didFirePressStart)return!1;n.ignoreClickAfterPress=!0,n.didFirePressStart=!1,n.isTriggeringEvent=!0;let l=!0;if(g){let t=new C("pressend",a,e);g(t),l=t.shouldStopPropagation}if(u&&u(!1),A(!1),s&&d&&!v){let t=new C("press",a,e);s(t),l&&(l=t.shouldStopPropagation)}return n.isTriggeringEvent=!1,l}),m=o.useEffectEvent((e,a)=>{let d=S.current;if(v)return!1;if(M){d.isTriggeringEvent=!0;let n=new C("pressup",a,e);return M(n),d.isTriggeringEvent=!1,n.shouldStopPropagation}return!0}),E=o.useEffectEvent(e=>{let a=S.current;a.isPressed&&a.target&&(a.isOverTarget&&a.pointerType!=null&&p(P(a.target,e),a.pointerType,!1),a.isPressed=!1,a.isOverTarget=!1,a.activePointerId=null,a.pointerType=null,$(),y||b.restoreTextSelection(a.target))}),_=o.useEffectEvent(e=>{G&&E(e)}),Y=w.useMemo(()=>{let e=S.current,a={onKeyDown(n){if(D(n.nativeEvent,n.currentTarget)&&n.currentTarget.contains(n.target)){var l;W(n.target,n.key)&&n.preventDefault();let t=!0;if(!e.isPressed&&!n.repeat){e.target=n.currentTarget,e.isPressed=!0,t=T(n,"keyboard");let r=n.currentTarget,f=O=>{D(O,r)&&!O.repeat&&r.contains(O.target)&&e.target&&m(P(e.target,O),"keyboard")};h(o.getOwnerDocument(n.currentTarget),"keyup",o.chain(f,d),!0)}t&&n.stopPropagation(),n.metaKey&&o.isMac()&&((l=e.metaKeyEvents)===null||l===void 0||l.set(n.key,n.nativeEvent))}else n.key==="Meta"&&(e.metaKeyEvents=new Map)},onClick(n){if(!(n&&!n.currentTarget.contains(n.target))&&n&&n.button===0&&!e.isTriggeringEvent&&!o.openLink.isOpening){let l=!0;if(v&&n.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&(e.pointerType==="virtual"||o.isVirtualClick(n.nativeEvent))){!v&&!k&&o.focusWithoutScrolling(n.currentTarget);let t=T(n,"virtual"),r=m(n,"virtual"),f=p(n,"virtual");l=t&&r&&f}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,l&&n.stopPropagation()}}},d=n=>{var l;if(e.isPressed&&e.target&&D(n,e.target)){var t;W(n.target,n.key)&&n.preventDefault();let f=n.target;p(P(e.target,n),"keyboard",e.target.contains(f)),$(),n.key!=="Enter"&&L(e.target)&&e.target.contains(f)&&!n[R]&&(n[R]=!0,o.openLink(e.target,n,!1)),e.isPressed=!1,(t=e.metaKeyEvents)===null||t===void 0||t.delete(n.key)}else if(n.key==="Meta"&&(!((l=e.metaKeyEvents)===null||l===void 0)&&l.size)){var r;let f=e.metaKeyEvents;e.metaKeyEvents=void 0;for(let O of f.values())(r=e.target)===null||r===void 0||r.dispatchEvent(new KeyboardEvent("keyup",O))}};if(typeof PointerEvent<"u"){a.onPointerDown=r=>{if(r.button!==0||!r.currentTarget.contains(r.target))return;if(o.isVirtualPointerEvent(r.nativeEvent)){e.pointerType="virtual";return}I(r.currentTarget)&&r.preventDefault(),e.pointerType=r.pointerType;let f=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=r.pointerId,e.target=r.currentTarget,!v&&!k&&o.focusWithoutScrolling(r.currentTarget),y||b.disableTextSelection(e.target),f=T(r,e.pointerType),h(o.getOwnerDocument(r.currentTarget),"pointermove",n,!1),h(o.getOwnerDocument(r.currentTarget),"pointerup",l,!1),h(o.getOwnerDocument(r.currentTarget),"pointercancel",t,!1)),f&&r.stopPropagation()},a.onMouseDown=r=>{r.currentTarget.contains(r.target)&&r.button===0&&(I(r.currentTarget)&&r.preventDefault(),r.stopPropagation())},a.onPointerUp=r=>{!r.currentTarget.contains(r.target)||e.pointerType==="virtual"||r.button===0&&K(r,r.currentTarget)&&m(r,e.pointerType||r.pointerType)};let n=r=>{r.pointerId===e.activePointerId&&(e.target&&K(r,e.target)?!e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!0,T(P(e.target,r),e.pointerType)):e.target&&e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!1,p(P(e.target,r),e.pointerType,!1),_(r)))},l=r=>{r.pointerId===e.activePointerId&&e.isPressed&&r.button===0&&e.target&&(K(r,e.target)&&e.pointerType!=null?p(P(e.target,r),e.pointerType):e.isOverTarget&&e.pointerType!=null&&p(P(e.target,r),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,$(),y||b.restoreTextSelection(e.target))},t=r=>{E(r)};a.onDragStart=r=>{r.currentTarget.contains(r.target)&&E(r)}}else{a.onMouseDown=t=>{if(t.button!==0||!t.currentTarget.contains(t.target))return;if(I(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=o.isVirtualClick(t.nativeEvent)?"virtual":"mouse",!v&&!k&&o.focusWithoutScrolling(t.currentTarget),T(t,e.pointerType)&&t.stopPropagation(),h(o.getOwnerDocument(t.currentTarget),"mouseup",n,!1)},a.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&e.pointerType!=null&&(e.isOverTarget=!0,r=T(t,e.pointerType)),r&&t.stopPropagation()},a.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&e.pointerType!=null&&(e.isOverTarget=!1,r=p(t,e.pointerType,!1),_(t)),r&&t.stopPropagation()},a.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&t.button===0&&m(t,e.pointerType||"mouse")};let n=t=>{if(t.button===0){if(e.isPressed=!1,$(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&K(t,e.target)&&e.pointerType!=null?p(P(e.target,t),e.pointerType):e.target&&e.isOverTarget&&e.pointerType!=null&&p(P(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};a.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let r=Q(t.nativeEvent);if(!r)return;e.activePointerId=r.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",!v&&!k&&o.focusWithoutScrolling(t.currentTarget),y||b.disableTextSelection(e.target),T(t,e.pointerType)&&t.stopPropagation(),h(o.getOwnerWindow(t.currentTarget),"scroll",l,!0)},a.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=F(t.nativeEvent,e.activePointerId),f=!0;r&&K(r,t.currentTarget)?!e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!0,f=T(t,e.pointerType)):e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!1,f=p(t,e.pointerType,!1),_(t)),f&&t.stopPropagation()},a.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=F(t.nativeEvent,e.activePointerId),f=!0;r&&K(r,t.currentTarget)&&e.pointerType!=null?(m(t,e.pointerType),f=p(t,e.pointerType)):e.isOverTarget&&e.pointerType!=null&&(f=p(t,e.pointerType,!1)),f&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!y&&b.restoreTextSelection(e.target),$()},a.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&E(t))};let l=t=>{e.isPressed&&t.target.contains(e.target)&&E({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};a.onDragStart=t=>{t.currentTarget.contains(t.target)&&E(t)}}return a},[h,v,k,$,y,E,_,p,T,m]);return w.useEffect(()=>()=>{var e;y||b.restoreTextSelection((e=S.current.target)!==null&&e!==void 0?e:void 0)},[y]),{isPressed:H||X,pressProps:o.mergeProps(V,Y)}}function L(i){return i.tagName==="A"&&i.hasAttribute("href")}function D(i,s){const{key:u,code:c}=i,g=s,M=g.getAttribute("role");return(u==="Enter"||u===" "||u==="Spacebar"||c==="Space")&&!(g instanceof o.getOwnerWindow(g).HTMLInputElement&&!q(g,u)||g instanceof o.getOwnerWindow(g).HTMLTextAreaElement||g.isContentEditable)&&!((M==="link"||!M&&L(g))&&u!=="Enter")}function Q(i){const{targetTouches:s}=i;return s.length>0?s[0]:null}function F(i,s){const u=i.changedTouches;for(let c=0;c<u.length;c++){const g=u[c];if(g.identifier===s)return g}return null}function P(i,s){return{currentTarget:i,shiftKey:s.shiftKey,ctrlKey:s.ctrlKey,metaKey:s.metaKey,altKey:s.altKey}}function Z(i){let s=0,u=0;return i.width!==void 0?s=i.width/2:i.radiusX!==void 0&&(s=i.radiusX),i.height!==void 0?u=i.height/2:i.radiusY!==void 0&&(u=i.radiusY),{top:i.clientY-u,right:i.clientX+s,bottom:i.clientY+u,left:i.clientX-s}}function ee(i,s){return!(i.left>s.right||s.left>i.right||i.top>s.bottom||s.top>i.bottom)}function K(i,s){let u=s.getBoundingClientRect(),c=Z(i);return ee(u,c)}function I(i){return!(i instanceof HTMLElement)||!i.hasAttribute("draggable")}function W(i,s){return i instanceof HTMLInputElement?!q(i,s):i instanceof HTMLButtonElement?i.type!=="submit"&&i.type!=="reset":!L(i)}const te=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function q(i,s){return i.type==="checkbox"||i.type==="radio"?s===" ":te.has(i.type)}exports.usePress=J;