@dropins/tools 0.21.2-alpha2 → 0.21.2-alpha389

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 (478) hide show
  1. package/event-bus.js +1 -49
  2. package/fetch-graphql.js +1 -62
  3. package/initializer.js +1 -61
  4. package/package.json +1 -1
  5. package/preact-compat.js +1 -93
  6. package/preact-hooks.js +1 -40
  7. package/preact-jsx-runtime.js +1 -35
  8. package/preact.js +1 -21
  9. package/runtime.js +1 -69
  10. package/components/Accordion/Accordion.d.ts +0 -25
  11. package/components/Accordion/Accordion.d.ts.map +0 -1
  12. package/components/Accordion/Accordion.jsx +0 -59
  13. package/components/Accordion/Accordion.stories.d.ts +0 -22
  14. package/components/Accordion/Accordion.stories.d.ts.map +0 -1
  15. package/components/Accordion/Accordion.stories.jsx +0 -320
  16. package/components/Accordion/Accordion.test.d.ts +0 -3
  17. package/components/Accordion/Accordion.test.d.ts.map +0 -1
  18. package/components/Accordion/Accordion.test.jsx +0 -79
  19. package/components/Accordion/index.d.ts +0 -3
  20. package/components/Accordion/index.d.ts.map +0 -1
  21. package/components/Accordion/index.js +0 -2
  22. package/components/ActionButton/ActionButton.d.ts +0 -11
  23. package/components/ActionButton/ActionButton.d.ts.map +0 -1
  24. package/components/ActionButton/ActionButton.jsx +0 -14
  25. package/components/ActionButton/ActionButton.stories.d.ts +0 -16
  26. package/components/ActionButton/ActionButton.stories.d.ts.map +0 -1
  27. package/components/ActionButton/ActionButton.stories.jsx +0 -119
  28. package/components/ActionButton/ActionButton.test.d.ts +0 -3
  29. package/components/ActionButton/ActionButton.test.d.ts.map +0 -1
  30. package/components/ActionButton/ActionButton.test.jsx +0 -47
  31. package/components/ActionButton/index.d.ts +0 -2
  32. package/components/ActionButton/index.d.ts.map +0 -1
  33. package/components/ActionButton/index.js +0 -1
  34. package/components/ActionButtonGroup/ActionButtonGroup.d.ts +0 -20
  35. package/components/ActionButtonGroup/ActionButtonGroup.d.ts.map +0 -1
  36. package/components/ActionButtonGroup/ActionButtonGroup.jsx +0 -39
  37. package/components/ActionButtonGroup/ActionButtonGroup.stories.d.ts +0 -16
  38. package/components/ActionButtonGroup/ActionButtonGroup.stories.d.ts.map +0 -1
  39. package/components/ActionButtonGroup/ActionButtonGroup.stories.jsx +0 -72
  40. package/components/ActionButtonGroup/ActionButtonGroup.test.d.ts +0 -3
  41. package/components/ActionButtonGroup/ActionButtonGroup.test.d.ts.map +0 -1
  42. package/components/ActionButtonGroup/ActionButtonGroup.test.jsx +0 -78
  43. package/components/ActionButtonGroup/index.d.ts +0 -2
  44. package/components/ActionButtonGroup/index.d.ts.map +0 -1
  45. package/components/ActionButtonGroup/index.js +0 -1
  46. package/components/AlertBanner/AlertBanner.d.ts +0 -15
  47. package/components/AlertBanner/AlertBanner.d.ts.map +0 -1
  48. package/components/AlertBanner/AlertBanner.jsx +0 -30
  49. package/components/AlertBanner/AlertBanner.stories.d.ts +0 -17
  50. package/components/AlertBanner/AlertBanner.stories.d.ts.map +0 -1
  51. package/components/AlertBanner/AlertBanner.stories.jsx +0 -128
  52. package/components/AlertBanner/AlertBanner.test.d.ts +0 -3
  53. package/components/AlertBanner/AlertBanner.test.d.ts.map +0 -1
  54. package/components/AlertBanner/AlertBanner.test.jsx +0 -40
  55. package/components/AlertBanner/index.d.ts +0 -3
  56. package/components/AlertBanner/index.d.ts.map +0 -1
  57. package/components/AlertBanner/index.js +0 -2
  58. package/components/Breadcrumbs/Breadcrumbs.d.ts +0 -9
  59. package/components/Breadcrumbs/Breadcrumbs.d.ts.map +0 -1
  60. package/components/Breadcrumbs/Breadcrumbs.jsx +0 -26
  61. package/components/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -15
  62. package/components/Breadcrumbs/Breadcrumbs.stories.d.ts.map +0 -1
  63. package/components/Breadcrumbs/Breadcrumbs.stories.jsx +0 -110
  64. package/components/Breadcrumbs/Breadcrumbs.test.d.ts +0 -3
  65. package/components/Breadcrumbs/Breadcrumbs.test.d.ts.map +0 -1
  66. package/components/Breadcrumbs/Breadcrumbs.test.jsx +0 -67
  67. package/components/Breadcrumbs/index.d.ts +0 -3
  68. package/components/Breadcrumbs/index.d.ts.map +0 -1
  69. package/components/Breadcrumbs/index.js +0 -2
  70. package/components/Button/Button.d.ts +0 -15
  71. package/components/Button/Button.d.ts.map +0 -1
  72. package/components/Button/Button.jsx +0 -59
  73. package/components/Button/Button.stories.d.ts +0 -135
  74. package/components/Button/Button.stories.d.ts.map +0 -1
  75. package/components/Button/Button.stories.jsx +0 -354
  76. package/components/Button/Button.test.d.ts +0 -2
  77. package/components/Button/Button.test.d.ts.map +0 -1
  78. package/components/Button/Button.test.jsx +0 -134
  79. package/components/Button/index.d.ts +0 -3
  80. package/components/Button/index.d.ts.map +0 -1
  81. package/components/Button/index.js +0 -2
  82. package/components/Card/Card.d.ts +0 -9
  83. package/components/Card/Card.d.ts.map +0 -1
  84. package/components/Card/Card.jsx +0 -7
  85. package/components/Card/Card.stories.d.ts +0 -16
  86. package/components/Card/Card.stories.d.ts.map +0 -1
  87. package/components/Card/Card.stories.jsx +0 -47
  88. package/components/Card/Card.test.d.ts +0 -3
  89. package/components/Card/Card.test.d.ts.map +0 -1
  90. package/components/Card/Card.test.jsx +0 -26
  91. package/components/Card/index.d.ts +0 -2
  92. package/components/Card/index.d.ts.map +0 -1
  93. package/components/Card/index.js +0 -1
  94. package/components/CartItem/CartItem.d.ts +0 -25
  95. package/components/CartItem/CartItem.d.ts.map +0 -1
  96. package/components/CartItem/CartItem.jsx +0 -124
  97. package/components/CartItem/CartItem.stories.d.ts +0 -54
  98. package/components/CartItem/CartItem.stories.d.ts.map +0 -1
  99. package/components/CartItem/CartItem.stories.jsx +0 -309
  100. package/components/CartItem/CartItem.test.d.ts +0 -3
  101. package/components/CartItem/CartItem.test.d.ts.map +0 -1
  102. package/components/CartItem/CartItem.test.jsx +0 -71
  103. package/components/CartItem/CartItemSkeleton.d.ts +0 -3
  104. package/components/CartItem/CartItemSkeleton.d.ts.map +0 -1
  105. package/components/CartItem/CartItemSkeleton.jsx +0 -25
  106. package/components/CartItem/CartItemSkeleton.test.d.ts +0 -3
  107. package/components/CartItem/CartItemSkeleton.test.d.ts.map +0 -1
  108. package/components/CartItem/CartItemSkeleton.test.jsx +0 -11
  109. package/components/CartItem/index.d.ts +0 -4
  110. package/components/CartItem/index.d.ts.map +0 -1
  111. package/components/CartItem/index.js +0 -3
  112. package/components/CartList/CartList.d.ts +0 -7
  113. package/components/CartList/CartList.d.ts.map +0 -1
  114. package/components/CartList/CartList.jsx +0 -14
  115. package/components/CartList/CartList.stories.d.ts +0 -17
  116. package/components/CartList/CartList.stories.d.ts.map +0 -1
  117. package/components/CartList/CartList.stories.jsx +0 -54
  118. package/components/CartList/CartList.test.d.ts +0 -3
  119. package/components/CartList/CartList.test.d.ts.map +0 -1
  120. package/components/CartList/CartList.test.jsx +0 -12
  121. package/components/CartList/index.d.ts +0 -3
  122. package/components/CartList/index.d.ts.map +0 -1
  123. package/components/CartList/index.js +0 -2
  124. package/components/Checkbox/Checkbox.d.ts +0 -13
  125. package/components/Checkbox/Checkbox.d.ts.map +0 -1
  126. package/components/Checkbox/Checkbox.jsx +0 -51
  127. package/components/Checkbox/Checkbox.stories.d.ts +0 -22
  128. package/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
  129. package/components/Checkbox/Checkbox.stories.jsx +0 -157
  130. package/components/Checkbox/Checkbox.test.d.ts +0 -3
  131. package/components/Checkbox/Checkbox.test.d.ts.map +0 -1
  132. package/components/Checkbox/Checkbox.test.jsx +0 -136
  133. package/components/Checkbox/index.d.ts +0 -2
  134. package/components/Checkbox/index.d.ts.map +0 -1
  135. package/components/Checkbox/index.js +0 -1
  136. package/components/ColorSwatch/ColorSwatch.d.ts +0 -20
  137. package/components/ColorSwatch/ColorSwatch.d.ts.map +0 -1
  138. package/components/ColorSwatch/ColorSwatch.jsx +0 -57
  139. package/components/ColorSwatch/ColorSwatch.stories.d.ts +0 -20
  140. package/components/ColorSwatch/ColorSwatch.stories.d.ts.map +0 -1
  141. package/components/ColorSwatch/ColorSwatch.stories.jsx +0 -206
  142. package/components/ColorSwatch/ColorSwatch.test.d.ts +0 -3
  143. package/components/ColorSwatch/ColorSwatch.test.d.ts.map +0 -1
  144. package/components/ColorSwatch/ColorSwatch.test.jsx +0 -87
  145. package/components/ColorSwatch/index.d.ts +0 -3
  146. package/components/ColorSwatch/index.d.ts.map +0 -1
  147. package/components/ColorSwatch/index.js +0 -2
  148. package/components/Divider/Divider.d.ts +0 -8
  149. package/components/Divider/Divider.d.ts.map +0 -1
  150. package/components/Divider/Divider.jsx +0 -9
  151. package/components/Divider/Divider.stories.d.ts +0 -11
  152. package/components/Divider/Divider.stories.d.ts.map +0 -1
  153. package/components/Divider/Divider.stories.jsx +0 -43
  154. package/components/Divider/Divider.test.d.ts +0 -2
  155. package/components/Divider/Divider.test.d.ts.map +0 -1
  156. package/components/Divider/Divider.test.jsx +0 -19
  157. package/components/Divider/index.d.ts +0 -3
  158. package/components/Divider/index.d.ts.map +0 -1
  159. package/components/Divider/index.js +0 -2
  160. package/components/Field/Field.d.ts +0 -14
  161. package/components/Field/Field.d.ts.map +0 -1
  162. package/components/Field/Field.jsx +0 -29
  163. package/components/Field/Field.stories.d.ts +0 -37
  164. package/components/Field/Field.stories.d.ts.map +0 -1
  165. package/components/Field/Field.stories.jsx +0 -174
  166. package/components/Field/Field.test.d.ts +0 -3
  167. package/components/Field/Field.test.d.ts.map +0 -1
  168. package/components/Field/Field.test.jsx +0 -91
  169. package/components/Field/index.d.ts +0 -2
  170. package/components/Field/index.d.ts.map +0 -1
  171. package/components/Field/index.js +0 -1
  172. package/components/Icon/Icon.d.ts +0 -11
  173. package/components/Icon/Icon.d.ts.map +0 -1
  174. package/components/Icon/Icon.jsx +0 -57
  175. package/components/Icon/Icon.stories.d.ts +0 -16
  176. package/components/Icon/Icon.stories.d.ts.map +0 -1
  177. package/components/Icon/Icon.stories.helpers.d.ts +0 -4
  178. package/components/Icon/Icon.stories.helpers.d.ts.map +0 -1
  179. package/components/Icon/Icon.stories.helpers.jsx +0 -7
  180. package/components/Icon/Icon.stories.jsx +0 -48
  181. package/components/Icon/Icon.test.d.ts +0 -3
  182. package/components/Icon/Icon.test.d.ts.map +0 -1
  183. package/components/Icon/Icon.test.jsx +0 -67
  184. package/components/Icon/index.d.ts +0 -2
  185. package/components/Icon/index.d.ts.map +0 -1
  186. package/components/Icon/index.js +0 -1
  187. package/components/IllustratedMessage/IllustratedMessage.d.ts +0 -13
  188. package/components/IllustratedMessage/IllustratedMessage.d.ts.map +0 -1
  189. package/components/IllustratedMessage/IllustratedMessage.jsx +0 -21
  190. package/components/IllustratedMessage/IllustratedMessage.stories.d.ts +0 -10
  191. package/components/IllustratedMessage/IllustratedMessage.stories.d.ts.map +0 -1
  192. package/components/IllustratedMessage/IllustratedMessage.stories.jsx +0 -90
  193. package/components/IllustratedMessage/IllustratedMessage.test.d.ts +0 -3
  194. package/components/IllustratedMessage/IllustratedMessage.test.d.ts.map +0 -1
  195. package/components/IllustratedMessage/IllustratedMessage.test.jsx +0 -42
  196. package/components/IllustratedMessage/index.d.ts +0 -3
  197. package/components/IllustratedMessage/index.d.ts.map +0 -1
  198. package/components/IllustratedMessage/index.js +0 -2
  199. package/components/Image/Image.d.ts +0 -11
  200. package/components/Image/Image.d.ts.map +0 -1
  201. package/components/Image/Image.jsx +0 -26
  202. package/components/Image/Image.stories.d.ts +0 -11
  203. package/components/Image/Image.stories.d.ts.map +0 -1
  204. package/components/Image/Image.stories.jsx +0 -66
  205. package/components/Image/Image.test.d.ts +0 -3
  206. package/components/Image/Image.test.d.ts.map +0 -1
  207. package/components/Image/Image.test.jsx +0 -82
  208. package/components/Image/index.d.ts +0 -2
  209. package/components/Image/index.d.ts.map +0 -1
  210. package/components/Image/index.js +0 -1
  211. package/components/ImageSwatch/ImageSwatch.d.ts +0 -20
  212. package/components/ImageSwatch/ImageSwatch.d.ts.map +0 -1
  213. package/components/ImageSwatch/ImageSwatch.jsx +0 -49
  214. package/components/ImageSwatch/ImageSwatch.stories.d.ts +0 -20
  215. package/components/ImageSwatch/ImageSwatch.stories.d.ts.map +0 -1
  216. package/components/ImageSwatch/ImageSwatch.stories.jsx +0 -206
  217. package/components/ImageSwatch/ImageSwatch.test.d.ts +0 -3
  218. package/components/ImageSwatch/ImageSwatch.test.d.ts.map +0 -1
  219. package/components/ImageSwatch/ImageSwatch.test.jsx +0 -64
  220. package/components/ImageSwatch/index.d.ts +0 -3
  221. package/components/ImageSwatch/index.d.ts.map +0 -1
  222. package/components/ImageSwatch/index.js +0 -2
  223. package/components/InLineAlert/InLineAlert.d.ts +0 -16
  224. package/components/InLineAlert/InLineAlert.d.ts.map +0 -1
  225. package/components/InLineAlert/InLineAlert.jsx +0 -38
  226. package/components/InLineAlert/InLineAlert.stories.d.ts +0 -86
  227. package/components/InLineAlert/InLineAlert.stories.d.ts.map +0 -1
  228. package/components/InLineAlert/InLineAlert.stories.jsx +0 -193
  229. package/components/InLineAlert/InLineAlert.test.d.ts +0 -3
  230. package/components/InLineAlert/InLineAlert.test.d.ts.map +0 -1
  231. package/components/InLineAlert/InLineAlert.test.jsx +0 -77
  232. package/components/InLineAlert/index.d.ts +0 -3
  233. package/components/InLineAlert/index.d.ts.map +0 -1
  234. package/components/InLineAlert/index.js +0 -2
  235. package/components/Incrementer/Incrementer.d.ts +0 -17
  236. package/components/Incrementer/Incrementer.d.ts.map +0 -1
  237. package/components/Incrementer/Incrementer.jsx +0 -87
  238. package/components/Incrementer/Incrementer.stories.d.ts +0 -10
  239. package/components/Incrementer/Incrementer.stories.d.ts.map +0 -1
  240. package/components/Incrementer/Incrementer.stories.jsx +0 -68
  241. package/components/Incrementer/Incrementer.test.d.ts +0 -3
  242. package/components/Incrementer/Incrementer.test.d.ts.map +0 -1
  243. package/components/Incrementer/Incrementer.test.jsx +0 -112
  244. package/components/Incrementer/index.d.ts +0 -2
  245. package/components/Incrementer/index.d.ts.map +0 -1
  246. package/components/Incrementer/index.js +0 -1
  247. package/components/Input/Input.d.ts +0 -19
  248. package/components/Input/Input.d.ts.map +0 -1
  249. package/components/Input/Input.jsx +0 -73
  250. package/components/Input/Input.stories.d.ts +0 -11
  251. package/components/Input/Input.stories.d.ts.map +0 -1
  252. package/components/Input/Input.stories.jsx +0 -115
  253. package/components/Input/Input.test.d.ts +0 -3
  254. package/components/Input/Input.test.d.ts.map +0 -1
  255. package/components/Input/Input.test.jsx +0 -111
  256. package/components/Input/index.d.ts +0 -3
  257. package/components/Input/index.d.ts.map +0 -1
  258. package/components/Input/index.js +0 -2
  259. package/components/Modal/Modal.d.ts +0 -15
  260. package/components/Modal/Modal.d.ts.map +0 -1
  261. package/components/Modal/Modal.jsx +0 -93
  262. package/components/Modal/Modal.stories.d.ts +0 -56
  263. package/components/Modal/Modal.stories.d.ts.map +0 -1
  264. package/components/Modal/Modal.stories.jsx +0 -189
  265. package/components/Modal/Modal.test.d.ts +0 -3
  266. package/components/Modal/Modal.test.d.ts.map +0 -1
  267. package/components/Modal/Modal.test.jsx +0 -85
  268. package/components/Modal/index.d.ts +0 -2
  269. package/components/Modal/index.d.ts.map +0 -1
  270. package/components/Modal/index.js +0 -14
  271. package/components/Picker/Picker.d.ts +0 -26
  272. package/components/Picker/Picker.d.ts.map +0 -1
  273. package/components/Picker/Picker.jsx +0 -81
  274. package/components/Picker/Picker.stories.d.ts +0 -22
  275. package/components/Picker/Picker.stories.d.ts.map +0 -1
  276. package/components/Picker/Picker.stories.jsx +0 -236
  277. package/components/Picker/Picker.test.d.ts +0 -2
  278. package/components/Picker/Picker.test.d.ts.map +0 -1
  279. package/components/Picker/Picker.test.jsx +0 -190
  280. package/components/Picker/index.d.ts +0 -2
  281. package/components/Picker/index.d.ts.map +0 -1
  282. package/components/Picker/index.js +0 -1
  283. package/components/Price/Price.d.ts +0 -17
  284. package/components/Price/Price.d.ts.map +0 -1
  285. package/components/Price/Price.jsx +0 -24
  286. package/components/Price/Price.stories.d.ts +0 -17
  287. package/components/Price/Price.stories.d.ts.map +0 -1
  288. package/components/Price/Price.stories.jsx +0 -78
  289. package/components/Price/Price.test.d.ts +0 -3
  290. package/components/Price/Price.test.d.ts.map +0 -1
  291. package/components/Price/Price.test.jsx +0 -68
  292. package/components/Price/index.d.ts +0 -2
  293. package/components/Price/index.d.ts.map +0 -1
  294. package/components/Price/index.js +0 -1
  295. package/components/PriceRange/PriceRange.d.ts +0 -17
  296. package/components/PriceRange/PriceRange.d.ts.map +0 -1
  297. package/components/PriceRange/PriceRange.jsx +0 -75
  298. package/components/PriceRange/PriceRange.stories.d.ts +0 -107
  299. package/components/PriceRange/PriceRange.stories.d.ts.map +0 -1
  300. package/components/PriceRange/PriceRange.stories.jsx +0 -210
  301. package/components/PriceRange/PriceRange.test.d.ts +0 -3
  302. package/components/PriceRange/PriceRange.test.d.ts.map +0 -1
  303. package/components/PriceRange/PriceRange.test.jsx +0 -188
  304. package/components/PriceRange/index.d.ts +0 -3
  305. package/components/PriceRange/index.d.ts.map +0 -1
  306. package/components/PriceRange/index.js +0 -2
  307. package/components/PriceSummary/PriceSummary.d.ts +0 -43
  308. package/components/PriceSummary/PriceSummary.d.ts.map +0 -1
  309. package/components/PriceSummary/PriceSummary.jsx +0 -228
  310. package/components/PriceSummary/PriceSummary.stories.d.ts +0 -127
  311. package/components/PriceSummary/PriceSummary.stories.d.ts.map +0 -1
  312. package/components/PriceSummary/PriceSummary.stories.jsx +0 -456
  313. package/components/PriceSummary/PriceSummary.test.d.ts +0 -3
  314. package/components/PriceSummary/PriceSummary.test.d.ts.map +0 -1
  315. package/components/PriceSummary/PriceSummary.test.jsx +0 -275
  316. package/components/PriceSummary/index.d.ts +0 -3
  317. package/components/PriceSummary/index.d.ts.map +0 -1
  318. package/components/PriceSummary/index.js +0 -2
  319. package/components/ProgressSpinner/ProgressSpinner.d.ts +0 -14
  320. package/components/ProgressSpinner/ProgressSpinner.d.ts.map +0 -1
  321. package/components/ProgressSpinner/ProgressSpinner.jsx +0 -31
  322. package/components/ProgressSpinner/ProgressSpinner.stories.d.ts +0 -19
  323. package/components/ProgressSpinner/ProgressSpinner.stories.d.ts.map +0 -1
  324. package/components/ProgressSpinner/ProgressSpinner.stories.jsx +0 -195
  325. package/components/ProgressSpinner/ProgressSpinner.test.d.ts +0 -3
  326. package/components/ProgressSpinner/ProgressSpinner.test.d.ts.map +0 -1
  327. package/components/ProgressSpinner/ProgressSpinner.test.jsx +0 -40
  328. package/components/ProgressSpinner/index.d.ts +0 -3
  329. package/components/ProgressSpinner/index.d.ts.map +0 -1
  330. package/components/ProgressSpinner/index.js +0 -2
  331. package/components/RadioButton/RadioButton.d.ts +0 -15
  332. package/components/RadioButton/RadioButton.d.ts.map +0 -1
  333. package/components/RadioButton/RadioButton.jsx +0 -31
  334. package/components/RadioButton/RadioButton.stories.d.ts +0 -15
  335. package/components/RadioButton/RadioButton.stories.d.ts.map +0 -1
  336. package/components/RadioButton/RadioButton.stories.jsx +0 -92
  337. package/components/RadioButton/RadioButton.test.d.ts +0 -3
  338. package/components/RadioButton/RadioButton.test.d.ts.map +0 -1
  339. package/components/RadioButton/RadioButton.test.jsx +0 -62
  340. package/components/RadioButton/index.d.ts +0 -3
  341. package/components/RadioButton/index.d.ts.map +0 -1
  342. package/components/RadioButton/index.js +0 -2
  343. package/components/Skeleton/Skeleton.d.ts +0 -17
  344. package/components/Skeleton/Skeleton.d.ts.map +0 -1
  345. package/components/Skeleton/Skeleton.jsx +0 -52
  346. package/components/Skeleton/Skeleton.stories.d.ts +0 -67
  347. package/components/Skeleton/Skeleton.stories.d.ts.map +0 -1
  348. package/components/Skeleton/Skeleton.stories.jsx +0 -184
  349. package/components/Skeleton/Skeleton.test.d.ts +0 -3
  350. package/components/Skeleton/Skeleton.test.d.ts.map +0 -1
  351. package/components/Skeleton/Skeleton.test.jsx +0 -62
  352. package/components/Skeleton/index.d.ts +0 -2
  353. package/components/Skeleton/index.d.ts.map +0 -1
  354. package/components/Skeleton/index.js +0 -1
  355. package/components/TextSwatch/TextSwatch.d.ts +0 -18
  356. package/components/TextSwatch/TextSwatch.d.ts.map +0 -1
  357. package/components/TextSwatch/TextSwatch.jsx +0 -56
  358. package/components/TextSwatch/TextSwatch.stories.d.ts +0 -21
  359. package/components/TextSwatch/TextSwatch.stories.d.ts.map +0 -1
  360. package/components/TextSwatch/TextSwatch.stories.jsx +0 -211
  361. package/components/TextSwatch/TextSwatch.test.d.ts +0 -3
  362. package/components/TextSwatch/TextSwatch.test.d.ts.map +0 -1
  363. package/components/TextSwatch/TextSwatch.test.jsx +0 -85
  364. package/components/TextSwatch/index.d.ts +0 -3
  365. package/components/TextSwatch/index.d.ts.map +0 -1
  366. package/components/TextSwatch/index.js +0 -2
  367. package/components/UIProvider/UIProvider.d.ts +0 -18
  368. package/components/UIProvider/UIProvider.d.ts.map +0 -1
  369. package/components/UIProvider/UIProvider.jsx +0 -26
  370. package/components/UIProvider/UIProvider.test.d.ts +0 -2
  371. package/components/UIProvider/UIProvider.test.d.ts.map +0 -1
  372. package/components/UIProvider/UIProvider.test.jsx +0 -9
  373. package/components/UIProvider/index.d.ts +0 -2
  374. package/components/UIProvider/index.d.ts.map +0 -1
  375. package/components/UIProvider/index.js +0 -1
  376. package/components/index.d.ts +0 -34
  377. package/components/index.d.ts.map +0 -1
  378. package/components/index.js +0 -33
  379. package/docs/Design/designBlocks.d.ts +0 -21
  380. package/docs/Design/designBlocks.d.ts.map +0 -1
  381. package/docs/Design/designBlocks.jsx +0 -59
  382. package/docs/Design/getTokenData.d.ts +0 -7
  383. package/docs/Design/getTokenData.d.ts.map +0 -1
  384. package/docs/Design/getTokenData.js +0 -18
  385. package/docs/Design/getTokenData.test.d.ts +0 -2
  386. package/docs/Design/getTokenData.test.d.ts.map +0 -1
  387. package/docs/Design/getTokenData.test.js +0 -92
  388. package/i18n/en_US.json +0 -112
  389. package/i18n/index.d.ts +0 -341
  390. package/i18n/index.d.ts.map +0 -1
  391. package/i18n/index.js +0 -12
  392. package/i18n/index.test.d.ts +0 -2
  393. package/i18n/index.test.d.ts.map +0 -1
  394. package/i18n/index.test.js +0 -11
  395. package/icons/index.d.ts +0 -35
  396. package/icons/index.d.ts.map +0 -1
  397. package/icons/index.js +0 -34
  398. package/lib/classes.d.ts +0 -5
  399. package/lib/classes.d.ts.map +0 -1
  400. package/lib/classes.js +0 -16
  401. package/lib/classes.test.d.ts +0 -2
  402. package/lib/classes.test.d.ts.map +0 -1
  403. package/lib/classes.test.js +0 -18
  404. package/lib/config.d.ts +0 -7
  405. package/lib/config.d.ts.map +0 -1
  406. package/lib/config.js +0 -12
  407. package/lib/config.test.d.ts +0 -2
  408. package/lib/config.test.d.ts.map +0 -1
  409. package/lib/config.test.js +0 -12
  410. package/lib/debounce.d.ts +0 -2
  411. package/lib/debounce.d.ts.map +0 -1
  412. package/lib/debounce.js +0 -7
  413. package/lib/debounce.test.d.ts +0 -2
  414. package/lib/debounce.test.d.ts.map +0 -1
  415. package/lib/debounce.test.js +0 -40
  416. package/lib/deepmerge.d.ts +0 -2
  417. package/lib/deepmerge.d.ts.map +0 -1
  418. package/lib/deepmerge.js +0 -1
  419. package/lib/form-values.d.ts +0 -5
  420. package/lib/form-values.d.ts.map +0 -1
  421. package/lib/form-values.js +0 -17
  422. package/lib/form-values.test.d.ts +0 -2
  423. package/lib/form-values.test.d.ts.map +0 -1
  424. package/lib/form-values.test.jsx +0 -29
  425. package/lib/i18n.d.ts +0 -8
  426. package/lib/i18n.d.ts.map +0 -1
  427. package/lib/i18n.js +0 -9
  428. package/lib/i18n.test.d.ts +0 -2
  429. package/lib/i18n.test.d.ts.map +0 -1
  430. package/lib/i18n.test.jsx +0 -8
  431. package/lib/image-params-keymap.d.ts +0 -4
  432. package/lib/image-params-keymap.d.ts.map +0 -1
  433. package/lib/image-params-keymap.js +0 -19
  434. package/lib/image-params-keymap.test.d.ts +0 -2
  435. package/lib/image-params-keymap.test.d.ts.map +0 -1
  436. package/lib/image-params-keymap.test.js +0 -7
  437. package/lib/index.d.ts +0 -14
  438. package/lib/index.d.ts.map +0 -1
  439. package/lib/index.js +0 -13
  440. package/lib/initializer.d.ts +0 -78
  441. package/lib/initializer.d.ts.map +0 -1
  442. package/lib/initializer.js +0 -93
  443. package/lib/initializer.test.d.ts +0 -2
  444. package/lib/initializer.test.d.ts.map +0 -1
  445. package/lib/initializer.test.js +0 -64
  446. package/lib/render.d.ts +0 -10
  447. package/lib/render.d.ts.map +0 -1
  448. package/lib/render.jsx +0 -34
  449. package/lib/render.test.d.ts +0 -2
  450. package/lib/render.test.d.ts.map +0 -1
  451. package/lib/render.test.jsx +0 -70
  452. package/lib/resolve-image.d.ts +0 -10
  453. package/lib/resolve-image.d.ts.map +0 -1
  454. package/lib/resolve-image.js +0 -57
  455. package/lib/resolve-image.test.d.ts +0 -2
  456. package/lib/resolve-image.test.d.ts.map +0 -1
  457. package/lib/resolve-image.test.jsx +0 -146
  458. package/lib/slot.d.ts +0 -43
  459. package/lib/slot.d.ts.map +0 -1
  460. package/lib/slot.jsx +0 -184
  461. package/lib/slot.test.d.ts +0 -2
  462. package/lib/slot.test.d.ts.map +0 -1
  463. package/lib/slot.test.jsx +0 -325
  464. package/lib/tests.d.ts +0 -4
  465. package/lib/tests.d.ts.map +0 -1
  466. package/lib/tests.jsx +0 -19
  467. package/lib/tests.test.d.ts +0 -2
  468. package/lib/tests.test.d.ts.map +0 -1
  469. package/lib/tests.test.jsx +0 -13
  470. package/lib/types.d.ts +0 -9
  471. package/lib/types.d.ts.map +0 -1
  472. package/lib/types.js +0 -1
  473. package/lib/vcomponent.d.ts +0 -8
  474. package/lib/vcomponent.d.ts.map +0 -1
  475. package/lib/vcomponent.jsx +0 -27
  476. package/lib/vcomponent.test.d.ts +0 -2
  477. package/lib/vcomponent.test.d.ts.map +0 -1
  478. package/lib/vcomponent.test.jsx +0 -51
@@ -1,35 +1 @@
1
- export const id=221;export const ids=[221,174];export const modules={
2
- /***/754:
3
- /***/(e,t,n)=>{
4
- /* harmony export */n.d(t,{
5
- /* harmony export */FK:()=>/* binding */k
6
- /* harmony export */,Ob:()=>/* binding */I
7
- /* harmony export */,Qv:()=>/* binding */B
8
- /* harmony export */,XX:()=>/* binding */O
9
- /* harmony export */,_3:()=>/* binding */b
10
- /* harmony export */,fF:()=>/* binding */r
11
- /* harmony export */,h:()=>/* binding */m
12
- /* harmony export */,n:()=>/* binding */m
13
- /* harmony export */,q6:()=>/* binding */V
14
- /* harmony export */,uA:()=>/* binding */x
15
- /* harmony export */,v2:()=>/* binding */U
16
- /* harmony export */,zO:()=>/* binding */l
17
- /* harmony export */});var _,r,o,l,u,i,s,f,c,p={},a=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function v(e,t){for(var n in t)e[n]=t[n];return e}function y(e){var t=e.parentNode;t&&t.removeChild(e)}function m(e,t,n){var r,o,l,u={};for(l in t)"key"==l?r=t[l]:"ref"==l?o=t[l]:u[l]=t[l];if(arguments.length>2&&(u.children=arguments.length>3?_.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(l in e.defaultProps)void 0===u[l]&&(u[l]=e.defaultProps[l]);return g(e,u,r,o,null)}function g(e,t,n,_,l){var u={type:e,props:t,key:n,ref:_,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==l?++o:l,__i:-1,__u:0};return null==l&&null!=r.vnode&&r.vnode(u),u}function b(){return{current:null}}function k(e){return e.children}function x(e,t){this.props=e,this.context=t}function C(e,t){if(null==t)return e.__?C(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?C(e):null}function w(e,t,n){var _,o=e.__v,l=o.__e,u=e.__P;if(u)return(_=v({},o)).__v=o.__v+1,r.vnode&&r.vnode(_),K(u,_,o,e.__n,void 0!==u.ownerSVGElement,32&o.__u?[l]:null,t,null==l?C(o):l,!!(32&o.__u),n),_.__v=o.__v,_.__.__k[_.__i]=_,_.__d=void 0,_.__e!=l&&P(_),_}function P(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return P(e)}}function S(e){(!e.__d&&(e.__d=!0)&&u.push(e)&&!F.__r++||i!==r.debounceRendering)&&((i=r.debounceRendering)||s)(F)}function F(){var e,t,n,_=[],o=[];for(u.sort(f);e=u.shift();)e.__d&&(n=u.length,t=w(e,_,o)||t,0===n||u.length>n?(N(_,t,o),o.length=_.length=0,t=void 0,u.sort(f)):t&&r.__c&&r.__c(t,a));t&&N(_,t,o),F.__r=0}function D(e,t,n,_,r,o,l,u,i,s,f){var c,d,h,v,y,m=_&&_.__k||a,g=t.length;for(n.__d=i,E(n,t,m),i=n.__d,c=0;c<g;c++)null!=(h=n.__k[c])&&"boolean"!=typeof h&&"function"!=typeof h&&(d=-1===h.__i?p:m[h.__i]||p,h.__i=c,K(e,h,d,r,o,l,u,i,s,f),v=h.__e,h.ref&&d.ref!=h.ref&&(d.ref&&H(d.ref,null,h),f.push(h.ref,h.__c||v,h)),null==y&&null!=v&&(y=v),65536&h.__u||d.__k===h.__k?i=T(h,i,e):"function"==typeof h.type&&void 0!==h.__d?i=h.__d:v&&(i=v.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=i,n.__e=y}function E(e,t,n){var _,r,o,l,u,i=t.length,s=n.length,f=s,c=0;for(e.__k=[],_=0;_<i;_++)l=_+c,null!=(r=e.__k[_]=null==(r=t[_])||"boolean"==typeof r||"function"==typeof r?null:"string"==typeof r||"number"==typeof r||"bigint"==typeof r||r.constructor==String?g(null,r,null,null,null):h(r)?g(k,{children:r},null,null,null):void 0===r.constructor&&r.__b>0?g(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)?(r.__=e,r.__b=e.__b+1,u=j(r,n,l,f),r.__i=u,o=null,-1!==u&&(f--,(o=n[u])&&(o.__u|=131072)),null==o||null===o.__v?(-1==u&&c--,"function"!=typeof r.type&&(r.__u|=65536)):u!==l&&(u===l+1?c++:u>l?f>i-l?c+=u-l:c--:u<l?u==l-1&&(c=u-l):c=0,u!==_+c&&(r.__u|=65536))):(o=n[l])&&null==o.key&&o.__e&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=C(o)),R(o,o,!1),n[l]=null,f--);if(f)for(_=0;_<s;_++)null!=(o=n[_])&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=C(o)),R(o,o))}function T(e,t,n){var _,r;if("function"==typeof e.type){for(_=e.__k,r=0;_&&r<_.length;r++)_[r]&&(_[r].__=e,t=T(_[r],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function U(e,t){return t=t||[],null==e||"boolean"==typeof e||(h(e)?e.some((function(e){U(e,t)})):t.push(e)),t}function j(e,t,n,_){var r=e.key,o=e.type,l=n-1,u=n+1,i=t[n];if(null===i||i&&r==i.key&&o===i.type&&!(131072&i.__u))return n;if(_>(null==i||131072&i.__u?0:1))for(;l>=0||u<t.length;){if(l>=0){if((i=t[l])&&!(131072&i.__u)&&r==i.key&&o===i.type)return l;l--}if(u<t.length){if((i=t[u])&&!(131072&i.__u)&&r==i.key&&o===i.type)return u;u++}}return-1}function A(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||d.test(t)?n:n+"px"}function W(e,t,n,_,r){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof _&&(e.style.cssText=_=""),_)for(t in _)n&&t in n||A(e.style,t,"");if(n)for(t in n)_&&n[t]===_[t]||A(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?_?n.u=_.u:(n.u=Date.now(),e.addEventListener(t,o?M:L,o)):e.removeEventListener(t,o?M:L,o);else{if(r)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&"role"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function L(e){if(this.l){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(r.event?r.event(e):e)}}function M(e){if(this.l)return this.l[e.type+!0](r.event?r.event(e):e)}function K(e,t,n,_,o,l,u,i,s,f){var c,p,a,d,y,m,g,b,C,w,P,S,F,E,T,U=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(s=!!(32&n.__u),l=[i=t.__e=n.__e]),(c=r.__b)&&c(t);e:if("function"==typeof U)try{if(b=t.props,C=(c=U.contextType)&&_[c.__c],w=c?C?C.props.value:c.__:_,n.__c?g=(p=t.__c=n.__c).__=p.__E:("prototype"in U&&U.prototype.render?t.__c=p=new U(b,w):(t.__c=p=new x(b,w),p.constructor=U,p.render=z),C&&C.sub(p),p.props=b,p.state||(p.state={}),p.context=w,p.__n=_,a=p.__d=!0,p.__h=[],p._sb=[]),null==p.__s&&(p.__s=p.state),null!=U.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=v({},p.__s)),v(p.__s,U.getDerivedStateFromProps(b,p.__s))),d=p.props,y=p.state,p.__v=t,a)null==U.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==U.getDerivedStateFromProps&&b!==d&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(b,w),!p.__e&&(null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(b,p.__s,w)||t.__v===n.__v)){for(t.__v!==n.__v&&(p.props=b,p.state=p.__s,p.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),P=0;P<p._sb.length;P++)p.__h.push(p._sb[P]);p._sb=[],p.__h.length&&u.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(b,p.__s,w),null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(d,y,m)}))}if(p.context=w,p.props=b,p.__P=e,p.__e=!1,S=r.__r,F=0,"prototype"in U&&U.prototype.render){for(p.state=p.__s,p.__d=!1,S&&S(t),c=p.render(p.props,p.state,p.context),E=0;E<p._sb.length;E++)p.__h.push(p._sb[E]);p._sb=[]}else do{p.__d=!1,S&&S(t),c=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++F<25);p.state=p.__s,null!=p.getChildContext&&(_=v(v({},_),p.getChildContext())),a||null==p.getSnapshotBeforeUpdate||(m=p.getSnapshotBeforeUpdate(d,y)),D(e,h(T=null!=c&&c.type===k&&null==c.key?c.props.children:c)?T:[T],t,n,_,o,l,u,i,s,f),p.base=t.__e,t.__u&=-161,p.__h.length&&u.push(p),g&&(p.__E=p.__=null)}catch(e){t.__v=null,s||null!=l?(t.__e=i,t.__u|=s?160:32,l[l.indexOf(i)]=null):(t.__e=n.__e,t.__k=n.__k),r.__e(e,t,n)}else null==l&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=$(n.__e,t,n,_,o,l,u,s,f);(c=r.diffed)&&c(t)}function N(e,t,n){for(var _=0;_<n.length;_++)H(n[_],n[++_],n[++_]);r.__c&&r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){r.__e(e,t.__v)}}))}function $(e,t,n,r,o,l,u,i,s){var f,c,a,d,v,m,g,b=n.props,k=t.props,x=t.type;if("svg"===x&&(o=!0),null!=l)for(f=0;f<l.length;f++)if((v=l[f])&&"setAttribute"in v==!!x&&(x?v.localName===x:3===v.nodeType)){e=v,l[f]=null;break}if(null==e){if(null===x)return document.createTextNode(k);e=o?document.createElementNS("http://www.w3.org/2000/svg",x):document.createElement(x,k.is&&k),l=null,i=!1}if(null===x)b===k||i&&e.data===k||(e.data=k);else{if(l=l&&_.call(e.childNodes),b=n.props||p,!i&&null!=l)for(b={},f=0;f<e.attributes.length;f++)b[(v=e.attributes[f]).name]=v.value;for(f in b)v=b[f],"children"==f||("dangerouslySetInnerHTML"==f?a=v:"key"===f||f in k||W(e,f,null,v,o));for(f in k)v=k[f],"children"==f?d=v:"dangerouslySetInnerHTML"==f?c=v:"value"==f?m=v:"checked"==f?g=v:"key"===f||i&&"function"!=typeof v||b[f]===v||W(e,f,v,b[f],o);if(c)i||a&&(c.__html===a.__html||c.__html===e.innerHTML)||(e.innerHTML=c.__html),t.__k=[];else if(a&&(e.innerHTML=""),D(e,h(d)?d:[d],t,n,r,o&&"foreignObject"!==x,l,u,l?l[0]:n.__k&&C(n,0),i,s),null!=l)for(f=l.length;f--;)null!=l[f]&&y(l[f]);i||(f="value",void 0!==m&&(m!==e[f]||"progress"===x&&!m||"option"===x&&m!==b[f])&&W(e,f,m,b[f],!1),f="checked",void 0!==g&&g!==e[f]&&W(e,f,g,b[f],!1))}return e}function H(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function R(e,t,n){var _,o;if(r.unmount&&r.unmount(e),(_=e.ref)&&(_.current&&_.current!==e.__e||H(_,null,t)),null!=(_=e.__c)){if(_.componentWillUnmount)try{_.componentWillUnmount()}catch(e){r.__e(e,t)}_.base=_.__P=null,e.__c=void 0}if(_=e.__k)for(o=0;o<_.length;o++)_[o]&&R(_[o],t,n||"function"!=typeof e.type);n||null==e.__e||y(e.__e),e.__=e.__e=e.__d=void 0}function z(e,t,n){return this.constructor(e,n)}function O(e,t,n){var o,l,u,i;r.__&&r.__(e,t),l=(o="function"==typeof n)?null:n&&n.__k||t.__k,u=[],i=[],K(t,e=(!o&&n||t).__k=m(k,null,[e]),l||p,p,void 0!==t.ownerSVGElement,!o&&n?[n]:l?null:t.firstChild?_.call(t.childNodes):null,u,!o&&n?n:l?l.__e:t.firstChild,o,i),e.__d=void 0,N(u,e,i)}function B(e,t){O(e,t,B)}function I(e,t,n){var r,o,l,u,i=v({},e.props);for(l in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)"key"==l?r=t[l]:"ref"==l?o=t[l]:i[l]=void 0===t[l]&&void 0!==u?u[l]:t[l];return arguments.length>2&&(i.children=arguments.length>3?_.call(arguments,2):n),g(e.type,i,r||e.key,o||e.ref,null)}function V(e,t){var n={__c:t="__cC"+c++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,_;return this.getChildContext||(n=[],(_={})[t]=this,this.getChildContext=function(){return _},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,S(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}_=a.slice,r={__e:function(e,t,n,_){for(var r,o,l;t=t.__;)if((r=t.__c)&&!r.__)try{if((o=r.constructor)&&null!=o.getDerivedStateFromError&&(r.setState(o.getDerivedStateFromError(e)),l=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,_||{}),l=r.__d),l)return r.__E=r}catch(t){e=t}throw e}},o=0,l=function(e){return null!=e&&null==e.constructor},x.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),"function"==typeof e&&(e=e(v({},n),this.props)),e&&v(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),S(this))},x.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),S(this))},x.prototype.render=k,u=[],s="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(e,t){return e.__v.__b-t.__v.__b},F.__r=0,c=0}
18
- //# sourceMappingURL=preact.module.js.map
19
- /***/,
20
- /***/755:
21
- /***/(e,t,n)=>{
22
- /* harmony export */n.d(t,{
23
- /* harmony export */FD:()=>/* binding */s
24
- /* harmony export */,FK:()=>/* reexport safe */_.FK
25
- /* harmony export */,Kg:()=>/* binding */f
26
- /* harmony export */,P9:()=>/* binding */s
27
- /* harmony export */,R_:()=>/* binding */a
28
- /* harmony export */,Y:()=>/* binding */s
29
- /* harmony export */,zt:()=>/* binding */d
30
- /* harmony export */});
31
- /* harmony import */var _=n(754),r=/["&<]/;function o(e){if(0===e.length||!1===r.test(e))return e;for(var t=0,n=0,_="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 60:o="&lt;";break;default:continue}n!==t&&(_+=e.slice(t,n)),_+=o,t=n+1}return n!==t&&(_+=e.slice(t,n)),_}var l=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,u=0,i=Array.isArray;function s(e,t,n,r,o,l){var i,s,f={};for(s in t)"ref"==s?i=t[s]:f[s]=t[s];var c={type:e,props:f,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--u,__i:-1,__u:0,__source:o,__self:l};if("function"==typeof e&&(i=e.defaultProps))for(s in i)void 0===f[s]&&(f[s]=i[s]);return _/* .options */.fF.vnode&&_/* .options */.fF.vnode(c),c}function f(e){var t=s(_/* .Fragment */.FK,{tpl:e,exprs:[].slice.call(arguments,1)});return t.key=t.__v,t}var c={},p=/[A-Z]/g;function a(e,t){if(_/* .options */.fF.attr){var n=_/* .options */.fF.attr(e,t);if("string"==typeof n)return n}if("ref"===e||"key"===e)return"";if("style"===e&&"object"==typeof t){var r="";for(var u in t){var i=t[u];if(null!=i&&""!==i){var s="-"==u[0]?u:c[u]||(c[u]=u.replace(p,"-$&").toLowerCase()),f=";";"number"!=typeof i||s.startsWith("--")||l.test(s)||(f="px;"),r=r+s+":"+i+f}}return e+'="'+r+'"'}return null==t||!1===t||"function"==typeof t||"object"==typeof t?"":!0===t?e:e+'="'+o(t)+'"'}function d(e){if(null==e||"boolean"==typeof e||"function"==typeof e)return null;if("object"==typeof e){if(void 0===e.constructor)return e;if(i(e)){for(var t=0;t<e.length;t++)e[t]=d(e[t]);return e}}return o(""+e)}
32
- //# sourceMappingURL=jsxRuntime.module.js.map
33
- /***/}};
34
- // load runtime
35
- import e from"./runtime.js";import*as t from"./preact-jsx-runtime.js";e.C(t);var n,_=(n=755,e(e.s=n)),r=_.FK,o=_.Y,l=_.R_,u=_.P9,i=_.zt,s=_.Kg,f=_.FD;export{r as Fragment,o as jsx,l as jsxAttr,u as jsxDEV,i as jsxEscape,s as jsxTemplate,f as jsxs};
1
+ export const id=221;export const ids=[221,174];export const modules={754:(e,t,n)=>{n.d(t,{FK:()=>k,Ob:()=>I,Qv:()=>B,XX:()=>O,_3:()=>b,fF:()=>r,h:()=>m,n:()=>m,q6:()=>V,uA:()=>x,v2:()=>U,zO:()=>l});var _,r,o,l,u,i,s,f,c,p={},a=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function v(e,t){for(var n in t)e[n]=t[n];return e}function y(e){var t=e.parentNode;t&&t.removeChild(e)}function m(e,t,n){var r,o,l,u={};for(l in t)"key"==l?r=t[l]:"ref"==l?o=t[l]:u[l]=t[l];if(arguments.length>2&&(u.children=arguments.length>3?_.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(l in e.defaultProps)void 0===u[l]&&(u[l]=e.defaultProps[l]);return g(e,u,r,o,null)}function g(e,t,n,_,l){var u={type:e,props:t,key:n,ref:_,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==l?++o:l,__i:-1,__u:0};return null==l&&null!=r.vnode&&r.vnode(u),u}function b(){return{current:null}}function k(e){return e.children}function x(e,t){this.props=e,this.context=t}function C(e,t){if(null==t)return e.__?C(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?C(e):null}function w(e,t,n){var _,o=e.__v,l=o.__e,u=e.__P;if(u)return(_=v({},o)).__v=o.__v+1,r.vnode&&r.vnode(_),K(u,_,o,e.__n,void 0!==u.ownerSVGElement,32&o.__u?[l]:null,t,null==l?C(o):l,!!(32&o.__u),n),_.__v=o.__v,_.__.__k[_.__i]=_,_.__d=void 0,_.__e!=l&&P(_),_}function P(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return P(e)}}function S(e){(!e.__d&&(e.__d=!0)&&u.push(e)&&!F.__r++||i!==r.debounceRendering)&&((i=r.debounceRendering)||s)(F)}function F(){var e,t,n,_=[],o=[];for(u.sort(f);e=u.shift();)e.__d&&(n=u.length,t=w(e,_,o)||t,0===n||u.length>n?(N(_,t,o),o.length=_.length=0,t=void 0,u.sort(f)):t&&r.__c&&r.__c(t,a));t&&N(_,t,o),F.__r=0}function D(e,t,n,_,r,o,l,u,i,s,f){var c,d,h,v,y,m=_&&_.__k||a,g=t.length;for(n.__d=i,E(n,t,m),i=n.__d,c=0;c<g;c++)null!=(h=n.__k[c])&&"boolean"!=typeof h&&"function"!=typeof h&&(d=-1===h.__i?p:m[h.__i]||p,h.__i=c,K(e,h,d,r,o,l,u,i,s,f),v=h.__e,h.ref&&d.ref!=h.ref&&(d.ref&&H(d.ref,null,h),f.push(h.ref,h.__c||v,h)),null==y&&null!=v&&(y=v),65536&h.__u||d.__k===h.__k?i=T(h,i,e):"function"==typeof h.type&&void 0!==h.__d?i=h.__d:v&&(i=v.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=i,n.__e=y}function E(e,t,n){var _,r,o,l,u,i=t.length,s=n.length,f=s,c=0;for(e.__k=[],_=0;_<i;_++)l=_+c,null!=(r=e.__k[_]=null==(r=t[_])||"boolean"==typeof r||"function"==typeof r?null:"string"==typeof r||"number"==typeof r||"bigint"==typeof r||r.constructor==String?g(null,r,null,null,null):h(r)?g(k,{children:r},null,null,null):void 0===r.constructor&&r.__b>0?g(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)?(r.__=e,r.__b=e.__b+1,u=j(r,n,l,f),r.__i=u,o=null,-1!==u&&(f--,(o=n[u])&&(o.__u|=131072)),null==o||null===o.__v?(-1==u&&c--,"function"!=typeof r.type&&(r.__u|=65536)):u!==l&&(u===l+1?c++:u>l?f>i-l?c+=u-l:c--:u<l?u==l-1&&(c=u-l):c=0,u!==_+c&&(r.__u|=65536))):(o=n[l])&&null==o.key&&o.__e&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=C(o)),R(o,o,!1),n[l]=null,f--);if(f)for(_=0;_<s;_++)null!=(o=n[_])&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=C(o)),R(o,o))}function T(e,t,n){var _,r;if("function"==typeof e.type){for(_=e.__k,r=0;_&&r<_.length;r++)_[r]&&(_[r].__=e,t=T(_[r],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function U(e,t){return t=t||[],null==e||"boolean"==typeof e||(h(e)?e.some((function(e){U(e,t)})):t.push(e)),t}function j(e,t,n,_){var r=e.key,o=e.type,l=n-1,u=n+1,i=t[n];if(null===i||i&&r==i.key&&o===i.type&&!(131072&i.__u))return n;if(_>(null==i||131072&i.__u?0:1))for(;l>=0||u<t.length;){if(l>=0){if((i=t[l])&&!(131072&i.__u)&&r==i.key&&o===i.type)return l;l--}if(u<t.length){if((i=t[u])&&!(131072&i.__u)&&r==i.key&&o===i.type)return u;u++}}return-1}function A(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||d.test(t)?n:n+"px"}function W(e,t,n,_,r){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof _&&(e.style.cssText=_=""),_)for(t in _)n&&t in n||A(e.style,t,"");if(n)for(t in n)_&&n[t]===_[t]||A(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?_?n.u=_.u:(n.u=Date.now(),e.addEventListener(t,o?M:L,o)):e.removeEventListener(t,o?M:L,o);else{if(r)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&"role"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function L(e){if(this.l){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(r.event?r.event(e):e)}}function M(e){if(this.l)return this.l[e.type+!0](r.event?r.event(e):e)}function K(e,t,n,_,o,l,u,i,s,f){var c,p,a,d,y,m,g,b,C,w,P,S,F,E,T,U=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(s=!!(32&n.__u),l=[i=t.__e=n.__e]),(c=r.__b)&&c(t);e:if("function"==typeof U)try{if(b=t.props,C=(c=U.contextType)&&_[c.__c],w=c?C?C.props.value:c.__:_,n.__c?g=(p=t.__c=n.__c).__=p.__E:("prototype"in U&&U.prototype.render?t.__c=p=new U(b,w):(t.__c=p=new x(b,w),p.constructor=U,p.render=z),C&&C.sub(p),p.props=b,p.state||(p.state={}),p.context=w,p.__n=_,a=p.__d=!0,p.__h=[],p._sb=[]),null==p.__s&&(p.__s=p.state),null!=U.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=v({},p.__s)),v(p.__s,U.getDerivedStateFromProps(b,p.__s))),d=p.props,y=p.state,p.__v=t,a)null==U.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==U.getDerivedStateFromProps&&b!==d&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(b,w),!p.__e&&(null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(b,p.__s,w)||t.__v===n.__v)){for(t.__v!==n.__v&&(p.props=b,p.state=p.__s,p.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),P=0;P<p._sb.length;P++)p.__h.push(p._sb[P]);p._sb=[],p.__h.length&&u.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(b,p.__s,w),null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(d,y,m)}))}if(p.context=w,p.props=b,p.__P=e,p.__e=!1,S=r.__r,F=0,"prototype"in U&&U.prototype.render){for(p.state=p.__s,p.__d=!1,S&&S(t),c=p.render(p.props,p.state,p.context),E=0;E<p._sb.length;E++)p.__h.push(p._sb[E]);p._sb=[]}else do{p.__d=!1,S&&S(t),c=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++F<25);p.state=p.__s,null!=p.getChildContext&&(_=v(v({},_),p.getChildContext())),a||null==p.getSnapshotBeforeUpdate||(m=p.getSnapshotBeforeUpdate(d,y)),D(e,h(T=null!=c&&c.type===k&&null==c.key?c.props.children:c)?T:[T],t,n,_,o,l,u,i,s,f),p.base=t.__e,t.__u&=-161,p.__h.length&&u.push(p),g&&(p.__E=p.__=null)}catch(e){t.__v=null,s||null!=l?(t.__e=i,t.__u|=s?160:32,l[l.indexOf(i)]=null):(t.__e=n.__e,t.__k=n.__k),r.__e(e,t,n)}else null==l&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=$(n.__e,t,n,_,o,l,u,s,f);(c=r.diffed)&&c(t)}function N(e,t,n){for(var _=0;_<n.length;_++)H(n[_],n[++_],n[++_]);r.__c&&r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){r.__e(e,t.__v)}}))}function $(e,t,n,r,o,l,u,i,s){var f,c,a,d,v,m,g,b=n.props,k=t.props,x=t.type;if("svg"===x&&(o=!0),null!=l)for(f=0;f<l.length;f++)if((v=l[f])&&"setAttribute"in v==!!x&&(x?v.localName===x:3===v.nodeType)){e=v,l[f]=null;break}if(null==e){if(null===x)return document.createTextNode(k);e=o?document.createElementNS("http://www.w3.org/2000/svg",x):document.createElement(x,k.is&&k),l=null,i=!1}if(null===x)b===k||i&&e.data===k||(e.data=k);else{if(l=l&&_.call(e.childNodes),b=n.props||p,!i&&null!=l)for(b={},f=0;f<e.attributes.length;f++)b[(v=e.attributes[f]).name]=v.value;for(f in b)v=b[f],"children"==f||("dangerouslySetInnerHTML"==f?a=v:"key"===f||f in k||W(e,f,null,v,o));for(f in k)v=k[f],"children"==f?d=v:"dangerouslySetInnerHTML"==f?c=v:"value"==f?m=v:"checked"==f?g=v:"key"===f||i&&"function"!=typeof v||b[f]===v||W(e,f,v,b[f],o);if(c)i||a&&(c.__html===a.__html||c.__html===e.innerHTML)||(e.innerHTML=c.__html),t.__k=[];else if(a&&(e.innerHTML=""),D(e,h(d)?d:[d],t,n,r,o&&"foreignObject"!==x,l,u,l?l[0]:n.__k&&C(n,0),i,s),null!=l)for(f=l.length;f--;)null!=l[f]&&y(l[f]);i||(f="value",void 0!==m&&(m!==e[f]||"progress"===x&&!m||"option"===x&&m!==b[f])&&W(e,f,m,b[f],!1),f="checked",void 0!==g&&g!==e[f]&&W(e,f,g,b[f],!1))}return e}function H(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function R(e,t,n){var _,o;if(r.unmount&&r.unmount(e),(_=e.ref)&&(_.current&&_.current!==e.__e||H(_,null,t)),null!=(_=e.__c)){if(_.componentWillUnmount)try{_.componentWillUnmount()}catch(e){r.__e(e,t)}_.base=_.__P=null,e.__c=void 0}if(_=e.__k)for(o=0;o<_.length;o++)_[o]&&R(_[o],t,n||"function"!=typeof e.type);n||null==e.__e||y(e.__e),e.__=e.__e=e.__d=void 0}function z(e,t,n){return this.constructor(e,n)}function O(e,t,n){var o,l,u,i;r.__&&r.__(e,t),l=(o="function"==typeof n)?null:n&&n.__k||t.__k,u=[],i=[],K(t,e=(!o&&n||t).__k=m(k,null,[e]),l||p,p,void 0!==t.ownerSVGElement,!o&&n?[n]:l?null:t.firstChild?_.call(t.childNodes):null,u,!o&&n?n:l?l.__e:t.firstChild,o,i),e.__d=void 0,N(u,e,i)}function B(e,t){O(e,t,B)}function I(e,t,n){var r,o,l,u,i=v({},e.props);for(l in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)"key"==l?r=t[l]:"ref"==l?o=t[l]:i[l]=void 0===t[l]&&void 0!==u?u[l]:t[l];return arguments.length>2&&(i.children=arguments.length>3?_.call(arguments,2):n),g(e.type,i,r||e.key,o||e.ref,null)}function V(e,t){var n={__c:t="__cC"+c++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,_;return this.getChildContext||(n=[],(_={})[t]=this,this.getChildContext=function(){return _},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,S(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}_=a.slice,r={__e:function(e,t,n,_){for(var r,o,l;t=t.__;)if((r=t.__c)&&!r.__)try{if((o=r.constructor)&&null!=o.getDerivedStateFromError&&(r.setState(o.getDerivedStateFromError(e)),l=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,_||{}),l=r.__d),l)return r.__E=r}catch(t){e=t}throw e}},o=0,l=function(e){return null!=e&&null==e.constructor},x.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),"function"==typeof e&&(e=e(v({},n),this.props)),e&&v(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),S(this))},x.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),S(this))},x.prototype.render=k,u=[],s="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(e,t){return e.__v.__b-t.__v.__b},F.__r=0,c=0},755:(e,t,n)=>{n.d(t,{FD:()=>s,FK:()=>_.FK,Kg:()=>f,P9:()=>s,R_:()=>a,Y:()=>s,zt:()=>d});var _=n(754),r=/["&<]/;function o(e){if(0===e.length||!1===r.test(e))return e;for(var t=0,n=0,_="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 60:o="&lt;";break;default:continue}n!==t&&(_+=e.slice(t,n)),_+=o,t=n+1}return n!==t&&(_+=e.slice(t,n)),_}var l=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,u=0,i=Array.isArray;function s(e,t,n,r,o,l){var i,s,f={};for(s in t)"ref"==s?i=t[s]:f[s]=t[s];var c={type:e,props:f,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--u,__i:-1,__u:0,__source:o,__self:l};if("function"==typeof e&&(i=e.defaultProps))for(s in i)void 0===f[s]&&(f[s]=i[s]);return _.fF.vnode&&_.fF.vnode(c),c}function f(e){var t=s(_.FK,{tpl:e,exprs:[].slice.call(arguments,1)});return t.key=t.__v,t}var c={},p=/[A-Z]/g;function a(e,t){if(_.fF.attr){var n=_.fF.attr(e,t);if("string"==typeof n)return n}if("ref"===e||"key"===e)return"";if("style"===e&&"object"==typeof t){var r="";for(var u in t){var i=t[u];if(null!=i&&""!==i){var s="-"==u[0]?u:c[u]||(c[u]=u.replace(p,"-$&").toLowerCase()),f=";";"number"!=typeof i||s.startsWith("--")||l.test(s)||(f="px;"),r=r+s+":"+i+f}}return e+'="'+r+'"'}return null==t||!1===t||"function"==typeof t||"object"==typeof t?"":!0===t?e:e+'="'+o(t)+'"'}function d(e){if(null==e||"boolean"==typeof e||"function"==typeof e)return null;if("object"==typeof e){if(void 0===e.constructor)return e;if(i(e)){for(var t=0;t<e.length;t++)e[t]=d(e[t]);return e}}return o(""+e)}}};import e from"./runtime.js";import*as t from"./preact-jsx-runtime.js";e.C(t);var n=(755,e(e.s=755)),_=n.FK,r=n.Y,o=n.R_,l=n.P9,u=n.zt,i=n.Kg,s=n.FD;export{_ as Fragment,r as jsx,o as jsxAttr,l as jsxDEV,u as jsxEscape,i as jsxTemplate,s as jsxs};
package/preact.js CHANGED
@@ -1,21 +1 @@
1
- export const id=174;export const ids=[174];export const modules={
2
- /***/754:
3
- /***/(e,n,t)=>{
4
- /* harmony export */t.d(n,{
5
- /* harmony export */FK:()=>/* binding */b
6
- /* harmony export */,Ob:()=>/* binding */I
7
- /* harmony export */,Qv:()=>/* binding */B
8
- /* harmony export */,XX:()=>/* binding */z
9
- /* harmony export */,_3:()=>/* binding */k
10
- /* harmony export */,fF:()=>/* binding */o
11
- /* harmony export */,h:()=>/* binding */m
12
- /* harmony export */,n:()=>/* binding */m
13
- /* harmony export */,q6:()=>/* binding */V
14
- /* harmony export */,uA:()=>/* binding */x
15
- /* harmony export */,v2:()=>/* binding */F
16
- /* harmony export */,zO:()=>/* binding */r
17
- /* harmony export */});var _,o,l,r,u,i,s,c,f,p={},a=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function v(e,n){for(var t in n)e[t]=n[t];return e}function y(e){var n=e.parentNode;n&&n.removeChild(e)}function m(e,n,t){var o,l,r,u={};for(r in n)"key"==r?o=n[r]:"ref"==r?l=n[r]:u[r]=n[r];if(arguments.length>2&&(u.children=arguments.length>3?_.call(arguments,2):t),"function"==typeof e&&null!=e.defaultProps)for(r in e.defaultProps)void 0===u[r]&&(u[r]=e.defaultProps[r]);return g(e,u,o,l,null)}function g(e,n,t,_,r){var u={type:e,props:n,key:t,ref:_,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++l:r,__i:-1,__u:0};return null==r&&null!=o.vnode&&o.vnode(u),u}function k(){return{current:null}}function b(e){return e.children}function x(e,n){this.props=e,this.context=n}function C(e,n){if(null==n)return e.__?C(e.__,e.__i+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?C(e):null}function P(e,n,t){var _,l=e.__v,r=l.__e,u=e.__P;if(u)return(_=v({},l)).__v=l.__v+1,o.vnode&&o.vnode(_),O(u,_,l,e.__n,void 0!==u.ownerSVGElement,32&l.__u?[r]:null,n,null==r?C(l):r,!!(32&l.__u),t),_.__v=l.__v,_.__.__k[_.__i]=_,_.__d=void 0,_.__e!=r&&w(_),_}function w(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return w(e)}}function S(e){(!e.__d&&(e.__d=!0)&&u.push(e)&&!E.__r++||i!==o.debounceRendering)&&((i=o.debounceRendering)||s)(E)}function E(){var e,n,t,_=[],l=[];for(u.sort(c);e=u.shift();)e.__d&&(t=u.length,n=P(e,_,l)||n,0===t||u.length>t?(H(_,n,l),l.length=_.length=0,n=void 0,u.sort(c)):n&&o.__c&&o.__c(n,a));n&&H(_,n,l),E.__r=0}function D(e,n,t,_,o,l,r,u,i,s,c){var f,d,h,v,y,m=_&&_.__k||a,g=n.length;for(t.__d=i,U(t,n,m),i=t.__d,f=0;f<g;f++)null!=(h=t.__k[f])&&"boolean"!=typeof h&&"function"!=typeof h&&(d=-1===h.__i?p:m[h.__i]||p,h.__i=f,O(e,h,d,o,l,r,u,i,s,c),v=h.__e,h.ref&&d.ref!=h.ref&&(d.ref&&$(d.ref,null,h),c.push(h.ref,h.__c||v,h)),null==y&&null!=v&&(y=v),65536&h.__u||d.__k===h.__k?i=T(h,i,e):"function"==typeof h.type&&void 0!==h.__d?i=h.__d:v&&(i=v.nextSibling),h.__d=void 0,h.__u&=-196609);t.__d=i,t.__e=y}function U(e,n,t){var _,o,l,r,u,i=n.length,s=t.length,c=s,f=0;for(e.__k=[],_=0;_<i;_++)r=_+f,null!=(o=e.__k[_]=null==(o=n[_])||"boolean"==typeof o||"function"==typeof o?null:"string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?g(null,o,null,null,null):h(o)?g(b,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?g(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,u=W(o,t,r,c),o.__i=u,l=null,-1!==u&&(c--,(l=t[u])&&(l.__u|=131072)),null==l||null===l.__v?(-1==u&&f--,"function"!=typeof o.type&&(o.__u|=65536)):u!==r&&(u===r+1?f++:u>r?c>i-r?f+=u-r:f--:u<r?u==r-1&&(f=u-r):f=0,u!==_+f&&(o.__u|=65536))):(l=t[r])&&null==l.key&&l.__e&&!(131072&l.__u)&&(l.__e==e.__d&&(e.__d=C(l)),X(l,l,!1),t[r]=null,c--);if(c)for(_=0;_<s;_++)null!=(l=t[_])&&!(131072&l.__u)&&(l.__e==e.__d&&(e.__d=C(l)),X(l,l))}function T(e,n,t){var _,o;if("function"==typeof e.type){for(_=e.__k,o=0;_&&o<_.length;o++)_[o]&&(_[o].__=e,n=T(_[o],n,t));return n}e.__e!=n&&(t.insertBefore(e.__e,n||null),n=e.__e);do{n=n&&n.nextSibling}while(null!=n&&8===n.nodeType);return n}function F(e,n){return n=n||[],null==e||"boolean"==typeof e||(h(e)?e.some((function(e){F(e,n)})):n.push(e)),n}function W(e,n,t,_){var o=e.key,l=e.type,r=t-1,u=t+1,i=n[t];if(null===i||i&&o==i.key&&l===i.type&&!(131072&i.__u))return t;if(_>(null==i||131072&i.__u?0:1))for(;r>=0||u<n.length;){if(r>=0){if((i=n[r])&&!(131072&i.__u)&&o==i.key&&l===i.type)return r;r--}if(u<n.length){if((i=n[u])&&!(131072&i.__u)&&o==i.key&&l===i.type)return u;u++}}return-1}function L(e,n,t){"-"===n[0]?e.setProperty(n,null==t?"":t):e[n]=null==t?"":"number"!=typeof t||d.test(n)?t:t+"px"}function M(e,n,t,_,o){var l;e:if("style"===n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof _&&(e.style.cssText=_=""),_)for(n in _)t&&n in t||L(e.style,n,"");if(t)for(n in t)_&&t[n]===_[n]||L(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])l=n!==(n=n.replace(/(PointerCapture)$|Capture$/i,"$1")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+l]=t,t?_?t.u=_.u:(t.u=Date.now(),e.addEventListener(n,l?N:A,l)):e.removeEventListener(n,l?N:A,l);else{if(o)n=n.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==n&&"height"!==n&&"href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&"rowSpan"!==n&&"colSpan"!==n&&"role"!==n&&n in e)try{e[n]=null==t?"":t;break e}catch(e){}"function"==typeof t||(null==t||!1===t&&"-"!==n[4]?e.removeAttribute(n):e.setAttribute(n,t))}}function A(e){if(this.l){var n=this.l[e.type+!1];if(e.t){if(e.t<=n.u)return}else e.t=Date.now();return n(o.event?o.event(e):e)}}function N(e){if(this.l)return this.l[e.type+!0](o.event?o.event(e):e)}function O(e,n,t,_,l,r,u,i,s,c){var f,p,a,d,y,m,g,k,C,P,w,S,E,U,T,F=n.type;if(void 0!==n.constructor)return null;128&t.__u&&(s=!!(32&t.__u),r=[i=n.__e=t.__e]),(f=o.__b)&&f(n);e:if("function"==typeof F)try{if(k=n.props,C=(f=F.contextType)&&_[f.__c],P=f?C?C.props.value:f.__:_,t.__c?g=(p=n.__c=t.__c).__=p.__E:("prototype"in F&&F.prototype.render?n.__c=p=new F(k,P):(n.__c=p=new x(k,P),p.constructor=F,p.render=j),C&&C.sub(p),p.props=k,p.state||(p.state={}),p.context=P,p.__n=_,a=p.__d=!0,p.__h=[],p._sb=[]),null==p.__s&&(p.__s=p.state),null!=F.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=v({},p.__s)),v(p.__s,F.getDerivedStateFromProps(k,p.__s))),d=p.props,y=p.state,p.__v=n,a)null==F.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==F.getDerivedStateFromProps&&k!==d&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(k,P),!p.__e&&(null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(k,p.__s,P)||n.__v===t.__v)){for(n.__v!==t.__v&&(p.props=k,p.state=p.__s,p.__d=!1),n.__e=t.__e,n.__k=t.__k,n.__k.forEach((function(e){e&&(e.__=n)})),w=0;w<p._sb.length;w++)p.__h.push(p._sb[w]);p._sb=[],p.__h.length&&u.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(k,p.__s,P),null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(d,y,m)}))}if(p.context=P,p.props=k,p.__P=e,p.__e=!1,S=o.__r,E=0,"prototype"in F&&F.prototype.render){for(p.state=p.__s,p.__d=!1,S&&S(n),f=p.render(p.props,p.state,p.context),U=0;U<p._sb.length;U++)p.__h.push(p._sb[U]);p._sb=[]}else do{p.__d=!1,S&&S(n),f=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++E<25);p.state=p.__s,null!=p.getChildContext&&(_=v(v({},_),p.getChildContext())),a||null==p.getSnapshotBeforeUpdate||(m=p.getSnapshotBeforeUpdate(d,y)),D(e,h(T=null!=f&&f.type===b&&null==f.key?f.props.children:f)?T:[T],n,t,_,l,r,u,i,s,c),p.base=n.__e,n.__u&=-161,p.__h.length&&u.push(p),g&&(p.__E=p.__=null)}catch(e){n.__v=null,s||null!=r?(n.__e=i,n.__u|=s?160:32,r[r.indexOf(i)]=null):(n.__e=t.__e,n.__k=t.__k),o.__e(e,n,t)}else null==r&&n.__v===t.__v?(n.__k=t.__k,n.__e=t.__e):n.__e=R(t.__e,n,t,_,l,r,u,s,c);(f=o.diffed)&&f(n)}function H(e,n,t){for(var _=0;_<t.length;_++)$(t[_],t[++_],t[++_]);o.__c&&o.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){o.__e(e,n.__v)}}))}function R(e,n,t,o,l,r,u,i,s){var c,f,a,d,v,m,g,k=t.props,b=n.props,x=n.type;if("svg"===x&&(l=!0),null!=r)for(c=0;c<r.length;c++)if((v=r[c])&&"setAttribute"in v==!!x&&(x?v.localName===x:3===v.nodeType)){e=v,r[c]=null;break}if(null==e){if(null===x)return document.createTextNode(b);e=l?document.createElementNS("http://www.w3.org/2000/svg",x):document.createElement(x,b.is&&b),r=null,i=!1}if(null===x)k===b||i&&e.data===b||(e.data=b);else{if(r=r&&_.call(e.childNodes),k=t.props||p,!i&&null!=r)for(k={},c=0;c<e.attributes.length;c++)k[(v=e.attributes[c]).name]=v.value;for(c in k)v=k[c],"children"==c||("dangerouslySetInnerHTML"==c?a=v:"key"===c||c in b||M(e,c,null,v,l));for(c in b)v=b[c],"children"==c?d=v:"dangerouslySetInnerHTML"==c?f=v:"value"==c?m=v:"checked"==c?g=v:"key"===c||i&&"function"!=typeof v||k[c]===v||M(e,c,v,k[c],l);if(f)i||a&&(f.__html===a.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),n.__k=[];else if(a&&(e.innerHTML=""),D(e,h(d)?d:[d],n,t,o,l&&"foreignObject"!==x,r,u,r?r[0]:t.__k&&C(t,0),i,s),null!=r)for(c=r.length;c--;)null!=r[c]&&y(r[c]);i||(c="value",void 0!==m&&(m!==e[c]||"progress"===x&&!m||"option"===x&&m!==k[c])&&M(e,c,m,k[c],!1),c="checked",void 0!==g&&g!==e[c]&&M(e,c,g,k[c],!1))}return e}function $(e,n,t){try{"function"==typeof e?e(n):e.current=n}catch(e){o.__e(e,t)}}function X(e,n,t){var _,l;if(o.unmount&&o.unmount(e),(_=e.ref)&&(_.current&&_.current!==e.__e||$(_,null,n)),null!=(_=e.__c)){if(_.componentWillUnmount)try{_.componentWillUnmount()}catch(e){o.__e(e,n)}_.base=_.__P=null,e.__c=void 0}if(_=e.__k)for(l=0;l<_.length;l++)_[l]&&X(_[l],n,t||"function"!=typeof e.type);t||null==e.__e||y(e.__e),e.__=e.__e=e.__d=void 0}function j(e,n,t){return this.constructor(e,t)}function z(e,n,t){var l,r,u,i;o.__&&o.__(e,n),r=(l="function"==typeof t)?null:t&&t.__k||n.__k,u=[],i=[],O(n,e=(!l&&t||n).__k=m(b,null,[e]),r||p,p,void 0!==n.ownerSVGElement,!l&&t?[t]:r?null:n.firstChild?_.call(n.childNodes):null,u,!l&&t?t:r?r.__e:n.firstChild,l,i),e.__d=void 0,H(u,e,i)}function B(e,n){z(e,n,B)}function I(e,n,t){var o,l,r,u,i=v({},e.props);for(r in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),n)"key"==r?o=n[r]:"ref"==r?l=n[r]:i[r]=void 0===n[r]&&void 0!==u?u[r]:n[r];return arguments.length>2&&(i.children=arguments.length>3?_.call(arguments,2):t),g(e.type,i,o||e.key,l||e.ref,null)}function V(e,n){var t={__c:n="__cC"+f++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var t,_;return this.getChildContext||(t=[],(_={})[n]=this,this.getChildContext=function(){return _},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some((function(e){e.__e=!0,S(e)}))},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Provider.__=t.Consumer.contextType=t}_=a.slice,o={__e:function(e,n,t,_){for(var o,l,r;n=n.__;)if((o=n.__c)&&!o.__)try{if((l=o.constructor)&&null!=l.getDerivedStateFromError&&(o.setState(l.getDerivedStateFromError(e)),r=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,_||{}),r=o.__d),r)return o.__E=o}catch(n){e=n}throw e}},l=0,r=function(e){return null!=e&&null==e.constructor},x.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),"function"==typeof e&&(e=e(v({},t),this.props)),e&&v(t,e),null!=e&&this.__v&&(n&&this._sb.push(n),S(this))},x.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),S(this))},x.prototype.render=b,u=[],s="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,c=function(e,n){return e.__v.__b-n.__v.__b},E.__r=0,f=0}
18
- //# sourceMappingURL=preact.module.js.map
19
- /***/};
20
- // load runtime
21
- import e from"./runtime.js";import*as n from"./preact.js";e.C(n);var t,_=(t=754,e(e.s=t)),o=_.uA,l=_.FK,r=_.Ob,u=_.q6,i=_.n,s=_._3,c=_.h,f=_.Qv,p=_.zO,a=_.fF,d=_.XX,h=_.v2;export{o as Component,l as Fragment,r as cloneElement,u as createContext,i as createElement,s as createRef,c as h,f as hydrate,p as isValidElement,a as options,d as render,h as toChildArray};
1
+ export const id=174;export const ids=[174];export const modules={754:(e,n,t)=>{t.d(n,{FK:()=>b,Ob:()=>I,Qv:()=>B,XX:()=>z,_3:()=>k,fF:()=>o,h:()=>m,n:()=>m,q6:()=>V,uA:()=>x,v2:()=>F,zO:()=>r});var _,o,l,r,u,i,s,c,f,p={},a=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function v(e,n){for(var t in n)e[t]=n[t];return e}function y(e){var n=e.parentNode;n&&n.removeChild(e)}function m(e,n,t){var o,l,r,u={};for(r in n)"key"==r?o=n[r]:"ref"==r?l=n[r]:u[r]=n[r];if(arguments.length>2&&(u.children=arguments.length>3?_.call(arguments,2):t),"function"==typeof e&&null!=e.defaultProps)for(r in e.defaultProps)void 0===u[r]&&(u[r]=e.defaultProps[r]);return g(e,u,o,l,null)}function g(e,n,t,_,r){var u={type:e,props:n,key:t,ref:_,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++l:r,__i:-1,__u:0};return null==r&&null!=o.vnode&&o.vnode(u),u}function k(){return{current:null}}function b(e){return e.children}function x(e,n){this.props=e,this.context=n}function C(e,n){if(null==n)return e.__?C(e.__,e.__i+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?C(e):null}function P(e,n,t){var _,l=e.__v,r=l.__e,u=e.__P;if(u)return(_=v({},l)).__v=l.__v+1,o.vnode&&o.vnode(_),O(u,_,l,e.__n,void 0!==u.ownerSVGElement,32&l.__u?[r]:null,n,null==r?C(l):r,!!(32&l.__u),t),_.__v=l.__v,_.__.__k[_.__i]=_,_.__d=void 0,_.__e!=r&&w(_),_}function w(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return w(e)}}function S(e){(!e.__d&&(e.__d=!0)&&u.push(e)&&!E.__r++||i!==o.debounceRendering)&&((i=o.debounceRendering)||s)(E)}function E(){var e,n,t,_=[],l=[];for(u.sort(c);e=u.shift();)e.__d&&(t=u.length,n=P(e,_,l)||n,0===t||u.length>t?(H(_,n,l),l.length=_.length=0,n=void 0,u.sort(c)):n&&o.__c&&o.__c(n,a));n&&H(_,n,l),E.__r=0}function D(e,n,t,_,o,l,r,u,i,s,c){var f,d,h,v,y,m=_&&_.__k||a,g=n.length;for(t.__d=i,U(t,n,m),i=t.__d,f=0;f<g;f++)null!=(h=t.__k[f])&&"boolean"!=typeof h&&"function"!=typeof h&&(d=-1===h.__i?p:m[h.__i]||p,h.__i=f,O(e,h,d,o,l,r,u,i,s,c),v=h.__e,h.ref&&d.ref!=h.ref&&(d.ref&&$(d.ref,null,h),c.push(h.ref,h.__c||v,h)),null==y&&null!=v&&(y=v),65536&h.__u||d.__k===h.__k?i=T(h,i,e):"function"==typeof h.type&&void 0!==h.__d?i=h.__d:v&&(i=v.nextSibling),h.__d=void 0,h.__u&=-196609);t.__d=i,t.__e=y}function U(e,n,t){var _,o,l,r,u,i=n.length,s=t.length,c=s,f=0;for(e.__k=[],_=0;_<i;_++)r=_+f,null!=(o=e.__k[_]=null==(o=n[_])||"boolean"==typeof o||"function"==typeof o?null:"string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?g(null,o,null,null,null):h(o)?g(b,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?g(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,u=W(o,t,r,c),o.__i=u,l=null,-1!==u&&(c--,(l=t[u])&&(l.__u|=131072)),null==l||null===l.__v?(-1==u&&f--,"function"!=typeof o.type&&(o.__u|=65536)):u!==r&&(u===r+1?f++:u>r?c>i-r?f+=u-r:f--:u<r?u==r-1&&(f=u-r):f=0,u!==_+f&&(o.__u|=65536))):(l=t[r])&&null==l.key&&l.__e&&!(131072&l.__u)&&(l.__e==e.__d&&(e.__d=C(l)),X(l,l,!1),t[r]=null,c--);if(c)for(_=0;_<s;_++)null!=(l=t[_])&&!(131072&l.__u)&&(l.__e==e.__d&&(e.__d=C(l)),X(l,l))}function T(e,n,t){var _,o;if("function"==typeof e.type){for(_=e.__k,o=0;_&&o<_.length;o++)_[o]&&(_[o].__=e,n=T(_[o],n,t));return n}e.__e!=n&&(t.insertBefore(e.__e,n||null),n=e.__e);do{n=n&&n.nextSibling}while(null!=n&&8===n.nodeType);return n}function F(e,n){return n=n||[],null==e||"boolean"==typeof e||(h(e)?e.some((function(e){F(e,n)})):n.push(e)),n}function W(e,n,t,_){var o=e.key,l=e.type,r=t-1,u=t+1,i=n[t];if(null===i||i&&o==i.key&&l===i.type&&!(131072&i.__u))return t;if(_>(null==i||131072&i.__u?0:1))for(;r>=0||u<n.length;){if(r>=0){if((i=n[r])&&!(131072&i.__u)&&o==i.key&&l===i.type)return r;r--}if(u<n.length){if((i=n[u])&&!(131072&i.__u)&&o==i.key&&l===i.type)return u;u++}}return-1}function L(e,n,t){"-"===n[0]?e.setProperty(n,null==t?"":t):e[n]=null==t?"":"number"!=typeof t||d.test(n)?t:t+"px"}function M(e,n,t,_,o){var l;e:if("style"===n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof _&&(e.style.cssText=_=""),_)for(n in _)t&&n in t||L(e.style,n,"");if(t)for(n in t)_&&t[n]===_[n]||L(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])l=n!==(n=n.replace(/(PointerCapture)$|Capture$/i,"$1")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+l]=t,t?_?t.u=_.u:(t.u=Date.now(),e.addEventListener(n,l?N:A,l)):e.removeEventListener(n,l?N:A,l);else{if(o)n=n.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==n&&"height"!==n&&"href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&"rowSpan"!==n&&"colSpan"!==n&&"role"!==n&&n in e)try{e[n]=null==t?"":t;break e}catch(e){}"function"==typeof t||(null==t||!1===t&&"-"!==n[4]?e.removeAttribute(n):e.setAttribute(n,t))}}function A(e){if(this.l){var n=this.l[e.type+!1];if(e.t){if(e.t<=n.u)return}else e.t=Date.now();return n(o.event?o.event(e):e)}}function N(e){if(this.l)return this.l[e.type+!0](o.event?o.event(e):e)}function O(e,n,t,_,l,r,u,i,s,c){var f,p,a,d,y,m,g,k,C,P,w,S,E,U,T,F=n.type;if(void 0!==n.constructor)return null;128&t.__u&&(s=!!(32&t.__u),r=[i=n.__e=t.__e]),(f=o.__b)&&f(n);e:if("function"==typeof F)try{if(k=n.props,C=(f=F.contextType)&&_[f.__c],P=f?C?C.props.value:f.__:_,t.__c?g=(p=n.__c=t.__c).__=p.__E:("prototype"in F&&F.prototype.render?n.__c=p=new F(k,P):(n.__c=p=new x(k,P),p.constructor=F,p.render=j),C&&C.sub(p),p.props=k,p.state||(p.state={}),p.context=P,p.__n=_,a=p.__d=!0,p.__h=[],p._sb=[]),null==p.__s&&(p.__s=p.state),null!=F.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=v({},p.__s)),v(p.__s,F.getDerivedStateFromProps(k,p.__s))),d=p.props,y=p.state,p.__v=n,a)null==F.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==F.getDerivedStateFromProps&&k!==d&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(k,P),!p.__e&&(null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(k,p.__s,P)||n.__v===t.__v)){for(n.__v!==t.__v&&(p.props=k,p.state=p.__s,p.__d=!1),n.__e=t.__e,n.__k=t.__k,n.__k.forEach((function(e){e&&(e.__=n)})),w=0;w<p._sb.length;w++)p.__h.push(p._sb[w]);p._sb=[],p.__h.length&&u.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(k,p.__s,P),null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(d,y,m)}))}if(p.context=P,p.props=k,p.__P=e,p.__e=!1,S=o.__r,E=0,"prototype"in F&&F.prototype.render){for(p.state=p.__s,p.__d=!1,S&&S(n),f=p.render(p.props,p.state,p.context),U=0;U<p._sb.length;U++)p.__h.push(p._sb[U]);p._sb=[]}else do{p.__d=!1,S&&S(n),f=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++E<25);p.state=p.__s,null!=p.getChildContext&&(_=v(v({},_),p.getChildContext())),a||null==p.getSnapshotBeforeUpdate||(m=p.getSnapshotBeforeUpdate(d,y)),D(e,h(T=null!=f&&f.type===b&&null==f.key?f.props.children:f)?T:[T],n,t,_,l,r,u,i,s,c),p.base=n.__e,n.__u&=-161,p.__h.length&&u.push(p),g&&(p.__E=p.__=null)}catch(e){n.__v=null,s||null!=r?(n.__e=i,n.__u|=s?160:32,r[r.indexOf(i)]=null):(n.__e=t.__e,n.__k=t.__k),o.__e(e,n,t)}else null==r&&n.__v===t.__v?(n.__k=t.__k,n.__e=t.__e):n.__e=R(t.__e,n,t,_,l,r,u,s,c);(f=o.diffed)&&f(n)}function H(e,n,t){for(var _=0;_<t.length;_++)$(t[_],t[++_],t[++_]);o.__c&&o.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){o.__e(e,n.__v)}}))}function R(e,n,t,o,l,r,u,i,s){var c,f,a,d,v,m,g,k=t.props,b=n.props,x=n.type;if("svg"===x&&(l=!0),null!=r)for(c=0;c<r.length;c++)if((v=r[c])&&"setAttribute"in v==!!x&&(x?v.localName===x:3===v.nodeType)){e=v,r[c]=null;break}if(null==e){if(null===x)return document.createTextNode(b);e=l?document.createElementNS("http://www.w3.org/2000/svg",x):document.createElement(x,b.is&&b),r=null,i=!1}if(null===x)k===b||i&&e.data===b||(e.data=b);else{if(r=r&&_.call(e.childNodes),k=t.props||p,!i&&null!=r)for(k={},c=0;c<e.attributes.length;c++)k[(v=e.attributes[c]).name]=v.value;for(c in k)v=k[c],"children"==c||("dangerouslySetInnerHTML"==c?a=v:"key"===c||c in b||M(e,c,null,v,l));for(c in b)v=b[c],"children"==c?d=v:"dangerouslySetInnerHTML"==c?f=v:"value"==c?m=v:"checked"==c?g=v:"key"===c||i&&"function"!=typeof v||k[c]===v||M(e,c,v,k[c],l);if(f)i||a&&(f.__html===a.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),n.__k=[];else if(a&&(e.innerHTML=""),D(e,h(d)?d:[d],n,t,o,l&&"foreignObject"!==x,r,u,r?r[0]:t.__k&&C(t,0),i,s),null!=r)for(c=r.length;c--;)null!=r[c]&&y(r[c]);i||(c="value",void 0!==m&&(m!==e[c]||"progress"===x&&!m||"option"===x&&m!==k[c])&&M(e,c,m,k[c],!1),c="checked",void 0!==g&&g!==e[c]&&M(e,c,g,k[c],!1))}return e}function $(e,n,t){try{"function"==typeof e?e(n):e.current=n}catch(e){o.__e(e,t)}}function X(e,n,t){var _,l;if(o.unmount&&o.unmount(e),(_=e.ref)&&(_.current&&_.current!==e.__e||$(_,null,n)),null!=(_=e.__c)){if(_.componentWillUnmount)try{_.componentWillUnmount()}catch(e){o.__e(e,n)}_.base=_.__P=null,e.__c=void 0}if(_=e.__k)for(l=0;l<_.length;l++)_[l]&&X(_[l],n,t||"function"!=typeof e.type);t||null==e.__e||y(e.__e),e.__=e.__e=e.__d=void 0}function j(e,n,t){return this.constructor(e,t)}function z(e,n,t){var l,r,u,i;o.__&&o.__(e,n),r=(l="function"==typeof t)?null:t&&t.__k||n.__k,u=[],i=[],O(n,e=(!l&&t||n).__k=m(b,null,[e]),r||p,p,void 0!==n.ownerSVGElement,!l&&t?[t]:r?null:n.firstChild?_.call(n.childNodes):null,u,!l&&t?t:r?r.__e:n.firstChild,l,i),e.__d=void 0,H(u,e,i)}function B(e,n){z(e,n,B)}function I(e,n,t){var o,l,r,u,i=v({},e.props);for(r in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),n)"key"==r?o=n[r]:"ref"==r?l=n[r]:i[r]=void 0===n[r]&&void 0!==u?u[r]:n[r];return arguments.length>2&&(i.children=arguments.length>3?_.call(arguments,2):t),g(e.type,i,o||e.key,l||e.ref,null)}function V(e,n){var t={__c:n="__cC"+f++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var t,_;return this.getChildContext||(t=[],(_={})[n]=this,this.getChildContext=function(){return _},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some((function(e){e.__e=!0,S(e)}))},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Provider.__=t.Consumer.contextType=t}_=a.slice,o={__e:function(e,n,t,_){for(var o,l,r;n=n.__;)if((o=n.__c)&&!o.__)try{if((l=o.constructor)&&null!=l.getDerivedStateFromError&&(o.setState(l.getDerivedStateFromError(e)),r=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,_||{}),r=o.__d),r)return o.__E=o}catch(n){e=n}throw e}},l=0,r=function(e){return null!=e&&null==e.constructor},x.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),"function"==typeof e&&(e=e(v({},t),this.props)),e&&v(t,e),null!=e&&this.__v&&(n&&this._sb.push(n),S(this))},x.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),S(this))},x.prototype.render=b,u=[],s="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,c=function(e,n){return e.__v.__b-n.__v.__b},E.__r=0,f=0}};import e from"./runtime.js";import*as n from"./preact.js";e.C(n);var t=(754,e(e.s=754)),_=t.uA,o=t.FK,l=t.Ob,r=t.q6,u=t.n,i=t._3,s=t.h,c=t.Qv,f=t.zO,p=t.fF,a=t.XX,d=t.v2;export{_ as Component,o as Fragment,l as cloneElement,r as createContext,u as createElement,i as createRef,s as h,c as hydrate,f as isValidElement,p as options,a as render,d as toChildArray};
package/runtime.js CHANGED
@@ -1,69 +1 @@
1
- /******/var r,e={},o={};
2
- /************************************************************************/
3
- /******/ // The module cache
4
- /******/
5
- /******/
6
- /******/ // The require function
7
- /******/function t(r){
8
- /******/ // Check if module is in cache
9
- /******/var n=o[r];
10
- /******/if(void 0!==n)
11
- /******/return n.exports;
12
- /******/
13
- /******/ // Create a new module (and put it into the cache)
14
- /******/var a=o[r]={
15
- /******/ // no module.id needed
16
- /******/ // no module.loaded needed
17
- /******/exports:{}
18
- /******/};
19
- /******/
20
- /******/ // Execute the module function
21
- /******/
22
- /******/
23
- /******/ // Return the exports of the module
24
- /******/return e[r](a,a.exports,t),a.exports;
25
- /******/}
26
- /******/
27
- /******/ // expose the modules object (__webpack_modules__)
28
- /******/t.m=e,
29
- /******/ // define getter functions for harmony exports
30
- /******/t.d=(r,e)=>{
31
- /******/for(var o in e)
32
- /******/t.o(e,o)&&!t.o(r,o)&&
33
- /******/Object.defineProperty(r,o,{enumerable:!0,get:e[o]})
34
- /******/;
35
- /******/},
36
- /******/t.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e)
37
- /******/;
38
- /******/
39
- /******/ /* webpack/runtime/export webpack runtime */
40
- /******/export default t;
41
- /******/
42
- /******/ /* webpack/runtime/import chunk loading */
43
- /******/r={
44
- /******/121:0
45
- /******/},
46
- /******/
47
- /******/ // no chunk on demand loading
48
- /******/
49
- /******/t.C=e=>{
50
- /******/var o,n,{ids:a,modules:p,runtime:i}=e,f=0;
51
- /******/ // add "modules" to the modules object,
52
- /******/ // then flag all "ids" as loaded and fire callback
53
- /******/
54
- /******/for(o in p)
55
- /******/t.o(p,o)&&(
56
- /******/t.m[o]=p[o])
57
- /******/;
58
- /******/
59
- /******/for(i&&i(t);f<a.length;f++)
60
- /******/n=a[f],
61
- /******/t.o(r,n)&&r[n]&&
62
- /******/r[n][0]()
63
- /******/,r[a[f]]=0;
64
- /******/
65
- /******/};
66
- /******/
67
- /************************************************************************/
68
- /******/
69
- /******/
1
+ var r,e={},o={};function t(r){var n=o[r];if(void 0!==n)return n.exports;var a=o[r]={exports:{}};return e[r](a,a.exports,t),a.exports}t.m=e,t.d=(r,e)=>{for(var o in e)t.o(e,o)&&!t.o(r,o)&&Object.defineProperty(r,o,{enumerable:!0,get:e[o]})},t.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e);export default t;r={121:0},t.C=e=>{var o,n,{ids:a,modules:p,runtime:i}=e,f=0;for(o in p)t.o(p,o)&&(t.m[o]=p[o]);for(i&&i(t);f<a.length;f++)n=a[f],t.o(r,n)&&r[n]&&r[n][0](),r[a[f]]=0};
@@ -1,25 +0,0 @@
1
- import { FunctionComponent, VNode } from 'preact';
2
- import { HTMLAttributes } from 'preact/compat';
3
- import '@adobe/elsie/components/Accordion/Accordion.css';
4
- export interface AccordionSectionProps extends Omit<HTMLAttributes<HTMLDivElement>, 'icon'> {
5
- actionIconPosition?: 'left' | 'right';
6
- iconOpen?: VNode<HTMLAttributes<SVGSVGElement>>;
7
- iconClose?: VNode<HTMLAttributes<SVGSVGElement>>;
8
- iconLeft?: VNode<HTMLAttributes<SVGSVGElement>>;
9
- showIconLeft?: boolean;
10
- secondaryText?: string | VNode<HTMLAttributes<HTMLSpanElement>>;
11
- renderContentWhenClosed?: boolean;
12
- onStateChange?: (open: boolean) => void;
13
- }
14
- export declare const AccordionSection: FunctionComponent<AccordionSectionProps>;
15
- export interface AccordionProps extends Omit<HTMLAttributes<HTMLDivElement>, 'icon'> {
16
- actionIconPosition?: 'left' | 'right';
17
- iconOpen?: VNode<HTMLAttributes<SVGSVGElement>>;
18
- iconClose?: VNode<HTMLAttributes<SVGSVGElement>>;
19
- iconLeft?: VNode<HTMLAttributes<SVGSVGElement>>;
20
- showIconLeft?: boolean;
21
- secondaryText?: string | VNode<HTMLAttributes<HTMLSpanElement>>;
22
- children: VNode<AccordionSectionProps>[] | VNode<AccordionSectionProps>;
23
- }
24
- export declare const Accordion: FunctionComponent<AccordionProps>;
25
- //# sourceMappingURL=Accordion.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,cAAc,EAAY,MAAM,eAAe,CAAC;AAKzD,OAAO,iDAAiD,CAAC;AACzD,MAAM,WAAW,qBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACpD,kBAAkB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACtC,QAAQ,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC,CAAC;IAChD,SAAS,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC,CAAC;IACjD,QAAQ,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC,CAAC;IAChD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC;IAChE,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACzC;AAED,eAAO,MAAM,gBAAgB,EAAE,iBAAiB,CAAC,qBAAqB,CA2FrE,CAAC;AAEF,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACpD,kBAAkB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACtC,QAAQ,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC,CAAC;IAChD,SAAS,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC,CAAC;IACjD,QAAQ,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC,CAAC;IAChD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC;IAChE,QAAQ,EAAE,KAAK,CAAC,qBAAqB,CAAC,EAAE,GAAG,KAAK,CAAC,qBAAqB,CAAC,CAAC;CACzE;AAED,eAAO,MAAM,SAAS,EAAE,iBAAiB,CAAC,cAAc,CAkCvD,CAAC"}
@@ -1,59 +0,0 @@
1
- import { useState } from 'preact/compat';
2
- import { classes } from '@adobe/elsie/lib';
3
- import { Divider, Icon } from '@adobe/elsie/components';
4
- import { Add, Minus } from '@adobe/elsie/icons';
5
- import { useText } from '@adobe/elsie/i18n';
6
- import '@adobe/elsie/components/Accordion/Accordion.css';
7
- export const AccordionSection = ({ className, children, title, secondaryText, actionIconPosition = 'left', iconOpen = Add, iconClose = Minus, iconLeft = Add, showIconLeft = false, renderContentWhenClosed = true, onStateChange, ...props }) => {
8
- const [open, setOpen] = useState(false);
9
- const onClickHandler = (e) => {
10
- e.stopImmediatePropagation();
11
- const next = !open;
12
- setOpen(next);
13
- onStateChange?.(next);
14
- };
15
- const buttonLabel = useText(`Dropin.Accordion.${open ? 'close' : 'open'}.label`).label;
16
- const openIcon = (<Icon source={iconOpen} size="24" onClick={onClickHandler} onKeyPress={onClickHandler} className={'dropin-accordion-section__open-icon'}/>);
17
- const closeIcon = (<Icon source={iconClose} size="24" onClick={onClickHandler} onKeyPress={onClickHandler} className={'dropin-accordion-section__close-icon'}/>);
18
- const leftIcon = <Icon source={iconLeft} size="24"/>;
19
- return (<div {...props} className={classes(['dropin-accordion-section', className])}>
20
- <div className={'dropin-accordion-section__heading'}>
21
- <div className={'dropin-accordion-section__flex'} onClick={onClickHandler} onKeyPress={onClickHandler} role="button" aria-label={`${buttonLabel} ${title}`} tabIndex={0}>
22
- <div className={'dropin-accordion-section__title-container'}>
23
- {actionIconPosition === 'left' && (open ? closeIcon : openIcon)}
24
-
25
- {showIconLeft && leftIcon}
26
-
27
- <h3 className={'dropin-accordion-section__title'}>{title}</h3>
28
- </div>
29
- </div>
30
-
31
- <div className={'dropin-accordion-section__secondary-text-container'}>
32
- {secondaryText && (<h4 className={'dropin-accordion-section__secondary-text'}>
33
- {secondaryText}
34
- </h4>)}
35
-
36
- {actionIconPosition === 'right' && (open ? closeIcon : openIcon)}
37
- </div>
38
- </div>
39
-
40
- <div className={'dropin-accordion-section__content-container'} style={{ display: open ? 'grid' : 'none' }}>
41
- {(open || (renderContentWhenClosed && !open)) && children}
42
- </div>
43
- </div>);
44
- };
45
- export const Accordion = ({ className, children, actionIconPosition = 'left', iconOpen = Add, iconClose = Minus, ...props }) => {
46
- const divider = <Divider variant="secondary"/>;
47
- const renderAccordionSection = (child) => (<>
48
- <AccordionSection {...child.props} actionIconPosition={actionIconPosition} iconOpen={iconOpen} iconClose={iconClose}/>
49
- {divider}
50
- </>);
51
- return (<div {...props} className={classes(['dropin-accordion', className])}>
52
- {[
53
- divider,
54
- ...(Array.isArray(children)
55
- ? children
56
- : [children]).map(renderAccordionSection),
57
- ]}
58
- </div>);
59
- };
@@ -1,22 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/preact';
2
- import { AccordionProps, AccordionSectionProps } from '@adobe/elsie/components/Accordion';
3
- declare const meta: Meta<AccordionProps & AccordionSectionProps>;
4
- export default meta;
5
- type Story = StoryObj<AccordionProps>;
6
- /**
7
- * ```ts
8
- * import { Accordion, AccordionSection } from '@adobe/elsie/components/Accordion';
9
- *
10
- * <Accordion>
11
- * <AccordionSection title={"Title"}><p>Short product details should be kept to 6 lines maximum.</p></AccordionSection>
12
- * </Accordion>
13
- *
14
- * ```
15
- */
16
- export declare const SingleSection: Story;
17
- export declare const SingleSectionWithLeftIcon: Story;
18
- export declare const SingleSectionWithOptionalText: Story;
19
- export declare const SingleSectionWithPrice: Story;
20
- export declare const SingleSectionWithLinkAndCartItem: Story;
21
- export declare const MultipleSection: Story;
22
- //# sourceMappingURL=Accordion.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Accordion.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAEL,cAAc,EAEd,qBAAqB,EACtB,MAAM,mCAAmC,CAAC;AAM3C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,cAAc,GAAG,qBAAqB,CAmDtD,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,cAAc,CAAC,CAAC;AAEtC;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,EAAE,KAmD3B,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,KAsDvC,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,KA8D3C,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,KA8CpC,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,KA+E9C,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KA8G7B,CAAC"}