snice 5.2.2 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (653) hide show
  1. package/README.md +5 -8
  2. package/adapters/react/SniceProvider.js +1 -1
  3. package/adapters/react/SniceRouter.js +1 -1
  4. package/adapters/react/audio-recorder.d.ts +0 -4
  5. package/adapters/react/audio-recorder.d.ts.map +1 -1
  6. package/adapters/react/audio-recorder.js +1 -1
  7. package/adapters/react/audio-recorder.js.map +1 -1
  8. package/adapters/react/audio-recorder.tsx +1 -5
  9. package/adapters/react/avatar.d.ts +0 -1
  10. package/adapters/react/avatar.d.ts.map +1 -1
  11. package/adapters/react/avatar.js +1 -1
  12. package/adapters/react/avatar.js.map +1 -1
  13. package/adapters/react/avatar.tsx +1 -2
  14. package/adapters/react/breadcrumbs.d.ts +0 -1
  15. package/adapters/react/breadcrumbs.d.ts.map +1 -1
  16. package/adapters/react/breadcrumbs.js +1 -1
  17. package/adapters/react/breadcrumbs.js.map +1 -1
  18. package/adapters/react/breadcrumbs.tsx +1 -2
  19. package/adapters/react/camera-annotate.d.ts +0 -5
  20. package/adapters/react/camera-annotate.d.ts.map +1 -1
  21. package/adapters/react/camera-annotate.js +1 -1
  22. package/adapters/react/camera-annotate.js.map +1 -1
  23. package/adapters/react/camera-annotate.tsx +1 -6
  24. package/adapters/react/card.d.ts +0 -2
  25. package/adapters/react/card.d.ts.map +1 -1
  26. package/adapters/react/card.js +1 -1
  27. package/adapters/react/card.js.map +1 -1
  28. package/adapters/react/card.tsx +1 -3
  29. package/adapters/react/carousel.d.ts +0 -1
  30. package/adapters/react/carousel.d.ts.map +1 -1
  31. package/adapters/react/carousel.js +1 -1
  32. package/adapters/react/carousel.js.map +1 -1
  33. package/adapters/react/carousel.tsx +1 -2
  34. package/adapters/react/cart.d.ts +0 -1
  35. package/adapters/react/cart.d.ts.map +1 -1
  36. package/adapters/react/cart.js +1 -1
  37. package/adapters/react/cart.js.map +1 -1
  38. package/adapters/react/cart.tsx +1 -2
  39. package/adapters/react/chart.d.ts +0 -5
  40. package/adapters/react/chart.d.ts.map +1 -1
  41. package/adapters/react/chart.js +1 -1
  42. package/adapters/react/chart.js.map +1 -1
  43. package/adapters/react/chart.tsx +1 -6
  44. package/adapters/react/chat.d.ts +4 -1
  45. package/adapters/react/chat.d.ts.map +1 -1
  46. package/adapters/react/chat.js +2 -2
  47. package/adapters/react/chat.js.map +1 -1
  48. package/adapters/react/chat.tsx +6 -3
  49. package/adapters/react/chip.d.ts +0 -1
  50. package/adapters/react/chip.d.ts.map +1 -1
  51. package/adapters/react/chip.js +1 -1
  52. package/adapters/react/chip.js.map +1 -1
  53. package/adapters/react/chip.tsx +1 -2
  54. package/adapters/react/command-palette.d.ts +0 -4
  55. package/adapters/react/command-palette.d.ts.map +1 -1
  56. package/adapters/react/command-palette.js +1 -1
  57. package/adapters/react/command-palette.js.map +1 -1
  58. package/adapters/react/command-palette.tsx +1 -5
  59. package/adapters/react/comments.d.ts +0 -1
  60. package/adapters/react/comments.d.ts.map +1 -1
  61. package/adapters/react/comments.js +1 -1
  62. package/adapters/react/comments.js.map +1 -1
  63. package/adapters/react/comments.tsx +1 -2
  64. package/adapters/react/countdown.d.ts +0 -4
  65. package/adapters/react/countdown.d.ts.map +1 -1
  66. package/adapters/react/countdown.js +1 -1
  67. package/adapters/react/countdown.js.map +1 -1
  68. package/adapters/react/countdown.tsx +1 -5
  69. package/adapters/react/date-time-picker.d.ts +0 -1
  70. package/adapters/react/date-time-picker.d.ts.map +1 -1
  71. package/adapters/react/date-time-picker.js +1 -1
  72. package/adapters/react/date-time-picker.js.map +1 -1
  73. package/adapters/react/date-time-picker.tsx +1 -2
  74. package/adapters/react/file-upload.d.ts +0 -2
  75. package/adapters/react/file-upload.d.ts.map +1 -1
  76. package/adapters/react/file-upload.js +1 -1
  77. package/adapters/react/file-upload.js.map +1 -1
  78. package/adapters/react/file-upload.tsx +1 -3
  79. package/adapters/react/heatmap.d.ts +0 -4
  80. package/adapters/react/heatmap.d.ts.map +1 -1
  81. package/adapters/react/heatmap.js +1 -1
  82. package/adapters/react/heatmap.js.map +1 -1
  83. package/adapters/react/heatmap.tsx +1 -5
  84. package/adapters/react/image.d.ts +0 -2
  85. package/adapters/react/image.d.ts.map +1 -1
  86. package/adapters/react/image.js +1 -1
  87. package/adapters/react/image.js.map +1 -1
  88. package/adapters/react/image.tsx +1 -3
  89. package/adapters/react/kanban.d.ts +0 -4
  90. package/adapters/react/kanban.d.ts.map +1 -1
  91. package/adapters/react/kanban.js +1 -1
  92. package/adapters/react/kanban.js.map +1 -1
  93. package/adapters/react/kanban.tsx +1 -5
  94. package/adapters/react/key-value.d.ts +0 -2
  95. package/adapters/react/key-value.d.ts.map +1 -1
  96. package/adapters/react/key-value.js +1 -1
  97. package/adapters/react/key-value.js.map +1 -1
  98. package/adapters/react/key-value.tsx +1 -3
  99. package/adapters/react/leaderboard.d.ts +0 -1
  100. package/adapters/react/leaderboard.d.ts.map +1 -1
  101. package/adapters/react/leaderboard.js +1 -1
  102. package/adapters/react/leaderboard.js.map +1 -1
  103. package/adapters/react/leaderboard.tsx +1 -2
  104. package/adapters/react/map.d.ts +0 -3
  105. package/adapters/react/map.d.ts.map +1 -1
  106. package/adapters/react/map.js +1 -1
  107. package/adapters/react/map.js.map +1 -1
  108. package/adapters/react/map.tsx +1 -4
  109. package/adapters/react/markdown.d.ts +1 -1
  110. package/adapters/react/markdown.d.ts.map +1 -1
  111. package/adapters/react/markdown.js +1 -1
  112. package/adapters/react/markdown.js.map +1 -1
  113. package/adapters/react/markdown.tsx +2 -2
  114. package/adapters/react/matchRoute.d.ts +1 -1
  115. package/adapters/react/matchRoute.js +38 -4
  116. package/adapters/react/matchRoute.js.map +1 -1
  117. package/adapters/react/message-strip.d.ts +1 -1
  118. package/adapters/react/message-strip.js +1 -1
  119. package/adapters/react/message-strip.tsx +2 -2
  120. package/adapters/react/music-player.d.ts +0 -1
  121. package/adapters/react/music-player.d.ts.map +1 -1
  122. package/adapters/react/music-player.js +1 -1
  123. package/adapters/react/music-player.js.map +1 -1
  124. package/adapters/react/music-player.tsx +1 -2
  125. package/adapters/react/org-chart.d.ts +0 -1
  126. package/adapters/react/org-chart.d.ts.map +1 -1
  127. package/adapters/react/org-chart.js +1 -1
  128. package/adapters/react/org-chart.js.map +1 -1
  129. package/adapters/react/org-chart.tsx +1 -2
  130. package/adapters/react/paint.d.ts +0 -1
  131. package/adapters/react/paint.d.ts.map +1 -1
  132. package/adapters/react/paint.js +1 -1
  133. package/adapters/react/paint.js.map +1 -1
  134. package/adapters/react/paint.tsx +1 -2
  135. package/adapters/react/podcast-player.d.ts +0 -2
  136. package/adapters/react/podcast-player.d.ts.map +1 -1
  137. package/adapters/react/podcast-player.js +1 -1
  138. package/adapters/react/podcast-player.js.map +1 -1
  139. package/adapters/react/podcast-player.tsx +1 -3
  140. package/adapters/react/product-card.d.ts +0 -3
  141. package/adapters/react/product-card.d.ts.map +1 -1
  142. package/adapters/react/product-card.js +1 -1
  143. package/adapters/react/product-card.js.map +1 -1
  144. package/adapters/react/product-card.tsx +1 -4
  145. package/adapters/react/qr-reader.d.ts +0 -4
  146. package/adapters/react/qr-reader.d.ts.map +1 -1
  147. package/adapters/react/qr-reader.js +1 -1
  148. package/adapters/react/qr-reader.js.map +1 -1
  149. package/adapters/react/qr-reader.tsx +1 -5
  150. package/adapters/react/recipe.d.ts +0 -5
  151. package/adapters/react/recipe.d.ts.map +1 -1
  152. package/adapters/react/recipe.js +1 -1
  153. package/adapters/react/recipe.js.map +1 -1
  154. package/adapters/react/recipe.tsx +1 -6
  155. package/adapters/react/route-specificity.d.ts +1 -0
  156. package/adapters/react/spotlight.d.ts +0 -2
  157. package/adapters/react/spotlight.d.ts.map +1 -1
  158. package/adapters/react/spotlight.js +1 -1
  159. package/adapters/react/spotlight.js.map +1 -1
  160. package/adapters/react/spotlight.tsx +1 -3
  161. package/adapters/react/tag-input.d.ts +0 -4
  162. package/adapters/react/tag-input.d.ts.map +1 -1
  163. package/adapters/react/tag-input.js +1 -1
  164. package/adapters/react/tag-input.js.map +1 -1
  165. package/adapters/react/tag-input.tsx +1 -5
  166. package/adapters/react/terminal.d.ts +0 -1
  167. package/adapters/react/terminal.d.ts.map +1 -1
  168. package/adapters/react/terminal.js +1 -1
  169. package/adapters/react/terminal.js.map +1 -1
  170. package/adapters/react/terminal.tsx +1 -2
  171. package/adapters/react/time-picker.d.ts +0 -1
  172. package/adapters/react/time-picker.d.ts.map +1 -1
  173. package/adapters/react/time-picker.js +1 -1
  174. package/adapters/react/time-picker.js.map +1 -1
  175. package/adapters/react/time-picker.tsx +1 -2
  176. package/adapters/react/timer.d.ts +0 -1
  177. package/adapters/react/timer.d.ts.map +1 -1
  178. package/adapters/react/timer.js +1 -1
  179. package/adapters/react/timer.js.map +1 -1
  180. package/adapters/react/timer.tsx +1 -2
  181. package/adapters/react/useRequestHandler.js +1 -1
  182. package/adapters/react/video-player.d.ts +0 -6
  183. package/adapters/react/video-player.d.ts.map +1 -1
  184. package/adapters/react/video-player.js +1 -1
  185. package/adapters/react/video-player.js.map +1 -1
  186. package/adapters/react/video-player.tsx +1 -7
  187. package/adapters/react/virtual-scroller.d.ts +0 -1
  188. package/adapters/react/virtual-scroller.d.ts.map +1 -1
  189. package/adapters/react/virtual-scroller.js +1 -1
  190. package/adapters/react/virtual-scroller.js.map +1 -1
  191. package/adapters/react/virtual-scroller.tsx +1 -2
  192. package/bin/templates/default/tests/services/jwt.test.ts +8 -1
  193. package/bin/templates/react/tests/services/jwt.test.ts +10 -3
  194. package/dist/cdn/accordion/snice-accordion.js +1 -1
  195. package/dist/cdn/accordion/snice-accordion.min.js +1 -1
  196. package/dist/cdn/action-bar/README.md +2 -2
  197. package/dist/cdn/action-bar/snice-action-bar.js +2 -2
  198. package/dist/cdn/action-bar/snice-action-bar.js.map +1 -1
  199. package/dist/cdn/action-bar/snice-action-bar.min.js +2 -2
  200. package/dist/cdn/action-bar/snice-action-bar.min.js.map +1 -1
  201. package/dist/cdn/activity-feed/snice-activity-feed.js +1 -1
  202. package/dist/cdn/activity-feed/snice-activity-feed.min.js +1 -1
  203. package/dist/cdn/alert/snice-alert.js +1 -1
  204. package/dist/cdn/alert/snice-alert.js.map +1 -1
  205. package/dist/cdn/alert/snice-alert.min.js +1 -1
  206. package/dist/cdn/alert/snice-alert.min.js.map +1 -1
  207. package/dist/cdn/app-tiles/snice-app-tiles.js +1 -1
  208. package/dist/cdn/app-tiles/snice-app-tiles.min.js +1 -1
  209. package/dist/cdn/approval-flow/snice-approval-flow.js +1 -1
  210. package/dist/cdn/approval-flow/snice-approval-flow.js.map +1 -1
  211. package/dist/cdn/approval-flow/snice-approval-flow.min.js +1 -1
  212. package/dist/cdn/approval-flow/snice-approval-flow.min.js.map +1 -1
  213. package/dist/cdn/audio-recorder/snice-audio-recorder.js +1 -1
  214. package/dist/cdn/audio-recorder/snice-audio-recorder.min.js +1 -1
  215. package/dist/cdn/availability/snice-availability.js +1 -1
  216. package/dist/cdn/availability/snice-availability.min.js +1 -1
  217. package/dist/cdn/avatar/snice-avatar.js +1 -1
  218. package/dist/cdn/avatar/snice-avatar.min.js +1 -1
  219. package/dist/cdn/avatar-group/snice-avatar-group.js +1 -1
  220. package/dist/cdn/avatar-group/snice-avatar-group.min.js +1 -1
  221. package/dist/cdn/badge/snice-badge.js +1 -1
  222. package/dist/cdn/badge/snice-badge.js.map +1 -1
  223. package/dist/cdn/badge/snice-badge.min.js +1 -1
  224. package/dist/cdn/badge/snice-badge.min.js.map +1 -1
  225. package/dist/cdn/banner/README.md +1 -1
  226. package/dist/cdn/banner/snice-banner.js +2 -2
  227. package/dist/cdn/banner/snice-banner.js.map +1 -1
  228. package/dist/cdn/banner/snice-banner.min.js +2 -2
  229. package/dist/cdn/banner/snice-banner.min.js.map +1 -1
  230. package/dist/cdn/binpack/snice-binpack.js +1 -1
  231. package/dist/cdn/binpack/snice-binpack.min.js +1 -1
  232. package/dist/cdn/book/snice-book.js +1 -1
  233. package/dist/cdn/book/snice-book.min.js +1 -1
  234. package/dist/cdn/booking/snice-booking.js +1 -1
  235. package/dist/cdn/booking/snice-booking.min.js +1 -1
  236. package/dist/cdn/breadcrumbs/snice-breadcrumbs.js +1 -1
  237. package/dist/cdn/breadcrumbs/snice-breadcrumbs.js.map +1 -1
  238. package/dist/cdn/breadcrumbs/snice-breadcrumbs.min.js +1 -1
  239. package/dist/cdn/breadcrumbs/snice-breadcrumbs.min.js.map +1 -1
  240. package/dist/cdn/button/snice-button.js +1 -1
  241. package/dist/cdn/button/snice-button.js.map +1 -1
  242. package/dist/cdn/button/snice-button.min.js +1 -1
  243. package/dist/cdn/button/snice-button.min.js.map +1 -1
  244. package/dist/cdn/calendar/snice-calendar.js +1 -1
  245. package/dist/cdn/calendar/snice-calendar.min.js +1 -1
  246. package/dist/cdn/camera/snice-camera.js +1 -1
  247. package/dist/cdn/camera/snice-camera.min.js +1 -1
  248. package/dist/cdn/camera-annotate/snice-camera-annotate.js +1 -1
  249. package/dist/cdn/camera-annotate/snice-camera-annotate.min.js +1 -1
  250. package/dist/cdn/candlestick/snice-candlestick.js +1 -1
  251. package/dist/cdn/candlestick/snice-candlestick.min.js +1 -1
  252. package/dist/cdn/card/snice-card.js +1 -1
  253. package/dist/cdn/card/snice-card.min.js +1 -1
  254. package/dist/cdn/carousel/snice-carousel.js +1 -1
  255. package/dist/cdn/carousel/snice-carousel.min.js +1 -1
  256. package/dist/cdn/cart/snice-cart.js +1 -1
  257. package/dist/cdn/cart/snice-cart.min.js +1 -1
  258. package/dist/cdn/chart/snice-chart.js +1 -1
  259. package/dist/cdn/chart/snice-chart.js.map +1 -1
  260. package/dist/cdn/chart/snice-chart.min.js +1 -1
  261. package/dist/cdn/chart/snice-chart.min.js.map +1 -1
  262. package/dist/cdn/chat/README.md +2 -2
  263. package/dist/cdn/chat/snice-chat.js +785 -89
  264. package/dist/cdn/chat/snice-chat.js.map +1 -1
  265. package/dist/cdn/chat/snice-chat.min.js +71 -75
  266. package/dist/cdn/chat/snice-chat.min.js.map +1 -1
  267. package/dist/cdn/checkbox/snice-checkbox.js +1 -1
  268. package/dist/cdn/checkbox/snice-checkbox.min.js +1 -1
  269. package/dist/cdn/chip/snice-chip.js +1 -1
  270. package/dist/cdn/chip/snice-chip.js.map +1 -1
  271. package/dist/cdn/chip/snice-chip.min.js +1 -1
  272. package/dist/cdn/chip/snice-chip.min.js.map +1 -1
  273. package/dist/cdn/code-block/snice-code-block.js +1 -1
  274. package/dist/cdn/code-block/snice-code-block.min.js +1 -1
  275. package/dist/cdn/color-display/snice-color-display.js +1 -1
  276. package/dist/cdn/color-display/snice-color-display.min.js +1 -1
  277. package/dist/cdn/color-picker/snice-color-picker.js +1 -1
  278. package/dist/cdn/color-picker/snice-color-picker.min.js +1 -1
  279. package/dist/cdn/command-palette/README.md +1 -1
  280. package/dist/cdn/command-palette/snice-command-palette.js +2 -2
  281. package/dist/cdn/command-palette/snice-command-palette.js.map +1 -1
  282. package/dist/cdn/command-palette/snice-command-palette.min.js +2 -2
  283. package/dist/cdn/command-palette/snice-command-palette.min.js.map +1 -1
  284. package/dist/cdn/comments/snice-comments.js +1 -1
  285. package/dist/cdn/comments/snice-comments.min.js +1 -1
  286. package/dist/cdn/countdown/snice-countdown.js +1 -1
  287. package/dist/cdn/countdown/snice-countdown.min.js +1 -1
  288. package/dist/cdn/cropper/snice-cropper.js +1 -1
  289. package/dist/cdn/cropper/snice-cropper.min.js +1 -1
  290. package/dist/cdn/data-card/snice-data-card.js +1 -1
  291. package/dist/cdn/data-card/snice-data-card.js.map +1 -1
  292. package/dist/cdn/data-card/snice-data-card.min.js +1 -1
  293. package/dist/cdn/data-card/snice-data-card.min.js.map +1 -1
  294. package/dist/cdn/date-picker/snice-date-picker.js +1 -1
  295. package/dist/cdn/date-picker/snice-date-picker.min.js +1 -1
  296. package/dist/cdn/date-range-picker/snice-date-range-picker.js +1 -1
  297. package/dist/cdn/date-range-picker/snice-date-range-picker.min.js +1 -1
  298. package/dist/cdn/date-time-picker/snice-date-time-picker.js +1 -1
  299. package/dist/cdn/date-time-picker/snice-date-time-picker.min.js +1 -1
  300. package/dist/cdn/diff/snice-diff.js +1 -1
  301. package/dist/cdn/diff/snice-diff.min.js +1 -1
  302. package/dist/cdn/divider/snice-divider.js +1 -1
  303. package/dist/cdn/divider/snice-divider.min.js +1 -1
  304. package/dist/cdn/doc/snice-doc.js +1 -1
  305. package/dist/cdn/doc/snice-doc.min.js +1 -1
  306. package/dist/cdn/draw/snice-draw.js +1 -1
  307. package/dist/cdn/draw/snice-draw.min.js +1 -1
  308. package/dist/cdn/drawer/snice-drawer.js +1 -1
  309. package/dist/cdn/drawer/snice-drawer.js.map +1 -1
  310. package/dist/cdn/drawer/snice-drawer.min.js +1 -1
  311. package/dist/cdn/drawer/snice-drawer.min.js.map +1 -1
  312. package/dist/cdn/empty-state/snice-empty-state.js +1 -1
  313. package/dist/cdn/empty-state/snice-empty-state.js.map +1 -1
  314. package/dist/cdn/empty-state/snice-empty-state.min.js +1 -1
  315. package/dist/cdn/empty-state/snice-empty-state.min.js.map +1 -1
  316. package/dist/cdn/estimate/snice-estimate.js +1 -1
  317. package/dist/cdn/estimate/snice-estimate.min.js +1 -1
  318. package/dist/cdn/file-gallery/snice-file-gallery.js +1 -1
  319. package/dist/cdn/file-gallery/snice-file-gallery.min.js +1 -1
  320. package/dist/cdn/file-upload/snice-file-upload.js +1 -1
  321. package/dist/cdn/file-upload/snice-file-upload.min.js +1 -1
  322. package/dist/cdn/flip-card/snice-flip-card.js +1 -1
  323. package/dist/cdn/flip-card/snice-flip-card.min.js +1 -1
  324. package/dist/cdn/flow/snice-flow.js +1 -1
  325. package/dist/cdn/flow/snice-flow.min.js +1 -1
  326. package/dist/cdn/form-layout/snice-form-layout.js +1 -1
  327. package/dist/cdn/form-layout/snice-form-layout.min.js +1 -1
  328. package/dist/cdn/funnel/snice-funnel.js +1 -1
  329. package/dist/cdn/funnel/snice-funnel.js.map +1 -1
  330. package/dist/cdn/funnel/snice-funnel.min.js +1 -1
  331. package/dist/cdn/funnel/snice-funnel.min.js.map +1 -1
  332. package/dist/cdn/gantt/snice-gantt.js +1 -1
  333. package/dist/cdn/gantt/snice-gantt.min.js +1 -1
  334. package/dist/cdn/gauge/snice-gauge.js +1 -1
  335. package/dist/cdn/gauge/snice-gauge.min.js +1 -1
  336. package/dist/cdn/grid/snice-grid.js +1 -1
  337. package/dist/cdn/grid/snice-grid.min.js +1 -1
  338. package/dist/cdn/heatmap/snice-heatmap.js +1 -1
  339. package/dist/cdn/heatmap/snice-heatmap.min.js +1 -1
  340. package/dist/cdn/image/snice-image.js +1 -1
  341. package/dist/cdn/image/snice-image.js.map +1 -1
  342. package/dist/cdn/image/snice-image.min.js +1 -1
  343. package/dist/cdn/image/snice-image.min.js.map +1 -1
  344. package/dist/cdn/input/snice-input.js +1 -1
  345. package/dist/cdn/input/snice-input.js.map +1 -1
  346. package/dist/cdn/input/snice-input.min.js +1 -1
  347. package/dist/cdn/input/snice-input.min.js.map +1 -1
  348. package/dist/cdn/invoice/README.md +1 -1
  349. package/dist/cdn/invoice/snice-invoice.js +2 -2
  350. package/dist/cdn/invoice/snice-invoice.js.map +1 -1
  351. package/dist/cdn/invoice/snice-invoice.min.js +2 -2
  352. package/dist/cdn/invoice/snice-invoice.min.js.map +1 -1
  353. package/dist/cdn/kanban/snice-kanban.js +1 -1
  354. package/dist/cdn/kanban/snice-kanban.min.js +1 -1
  355. package/dist/cdn/key-value/snice-key-value.js +1 -1
  356. package/dist/cdn/key-value/snice-key-value.min.js +1 -1
  357. package/dist/cdn/kpi/snice-kpi.js +1 -1
  358. package/dist/cdn/kpi/snice-kpi.js.map +1 -1
  359. package/dist/cdn/kpi/snice-kpi.min.js +1 -1
  360. package/dist/cdn/kpi/snice-kpi.min.js.map +1 -1
  361. package/dist/cdn/layout/snice-layout.js +1 -1
  362. package/dist/cdn/layout/snice-layout.min.js +1 -1
  363. package/dist/cdn/leaderboard/snice-leaderboard.js +1 -1
  364. package/dist/cdn/leaderboard/snice-leaderboard.min.js +1 -1
  365. package/dist/cdn/link/snice-link.js +1 -1
  366. package/dist/cdn/link/snice-link.min.js +1 -1
  367. package/dist/cdn/link-preview/snice-link-preview.js +1 -1
  368. package/dist/cdn/link-preview/snice-link-preview.min.js +1 -1
  369. package/dist/cdn/list/snice-list.js +1 -1
  370. package/dist/cdn/list/snice-list.js.map +1 -1
  371. package/dist/cdn/list/snice-list.min.js +1 -1
  372. package/dist/cdn/list/snice-list.min.js.map +1 -1
  373. package/dist/cdn/location/snice-location.js +1 -1
  374. package/dist/cdn/location/snice-location.js.map +1 -1
  375. package/dist/cdn/location/snice-location.min.js +1 -1
  376. package/dist/cdn/location/snice-location.min.js.map +1 -1
  377. package/dist/cdn/login/snice-login.js +3 -1
  378. package/dist/cdn/login/snice-login.js.map +1 -1
  379. package/dist/cdn/login/snice-login.min.js +1 -1
  380. package/dist/cdn/login/snice-login.min.js.map +1 -1
  381. package/dist/cdn/map/snice-map.js +1 -1
  382. package/dist/cdn/map/snice-map.min.js +1 -1
  383. package/dist/cdn/markdown/README.md +2 -2
  384. package/dist/cdn/markdown/snice-markdown.js +16 -3
  385. package/dist/cdn/markdown/snice-markdown.js.map +1 -1
  386. package/dist/cdn/markdown/snice-markdown.min.js +3 -3
  387. package/dist/cdn/markdown/snice-markdown.min.js.map +1 -1
  388. package/dist/cdn/masonry/snice-masonry.js +1 -1
  389. package/dist/cdn/masonry/snice-masonry.min.js +1 -1
  390. package/dist/cdn/menu/snice-menu.js +2 -2
  391. package/dist/cdn/menu/snice-menu.js.map +1 -1
  392. package/dist/cdn/menu/snice-menu.min.js +2 -2
  393. package/dist/cdn/menu/snice-menu.min.js.map +1 -1
  394. package/dist/cdn/message-strip/snice-message-strip.js +9 -9
  395. package/dist/cdn/message-strip/snice-message-strip.js.map +1 -1
  396. package/dist/cdn/message-strip/snice-message-strip.min.js +3 -3
  397. package/dist/cdn/message-strip/snice-message-strip.min.js.map +1 -1
  398. package/dist/cdn/metric-table/snice-metric-table.js +1 -1
  399. package/dist/cdn/metric-table/snice-metric-table.min.js +1 -1
  400. package/dist/cdn/modal/snice-modal.js +1 -1
  401. package/dist/cdn/modal/snice-modal.js.map +1 -1
  402. package/dist/cdn/modal/snice-modal.min.js +1 -1
  403. package/dist/cdn/modal/snice-modal.min.js.map +1 -1
  404. package/dist/cdn/music-player/snice-music-player.js +1 -1
  405. package/dist/cdn/music-player/snice-music-player.min.js +1 -1
  406. package/dist/cdn/nav/snice-nav.js +1 -1
  407. package/dist/cdn/nav/snice-nav.min.js +1 -1
  408. package/dist/cdn/network-graph/snice-network-graph.js +1 -1
  409. package/dist/cdn/network-graph/snice-network-graph.js.map +1 -1
  410. package/dist/cdn/network-graph/snice-network-graph.min.js +1 -1
  411. package/dist/cdn/network-graph/snice-network-graph.min.js.map +1 -1
  412. package/dist/cdn/notification-center/snice-notification-center.js +1 -1
  413. package/dist/cdn/notification-center/snice-notification-center.js.map +1 -1
  414. package/dist/cdn/notification-center/snice-notification-center.min.js +1 -1
  415. package/dist/cdn/notification-center/snice-notification-center.min.js.map +1 -1
  416. package/dist/cdn/order-tracker/snice-order-tracker.js +1 -1
  417. package/dist/cdn/order-tracker/snice-order-tracker.min.js +1 -1
  418. package/dist/cdn/org-chart/snice-org-chart.js +1 -1
  419. package/dist/cdn/org-chart/snice-org-chart.min.js +1 -1
  420. package/dist/cdn/pagination/snice-pagination.js +1 -1
  421. package/dist/cdn/pagination/snice-pagination.min.js +1 -1
  422. package/dist/cdn/paint/snice-paint.js +1 -1
  423. package/dist/cdn/paint/snice-paint.min.js +1 -1
  424. package/dist/cdn/pdf-viewer/snice-pdf-viewer.js +1 -1
  425. package/dist/cdn/pdf-viewer/snice-pdf-viewer.min.js +1 -1
  426. package/dist/cdn/permission-matrix/snice-permission-matrix.js +1 -1
  427. package/dist/cdn/permission-matrix/snice-permission-matrix.min.js +1 -1
  428. package/dist/cdn/podcast-player/snice-podcast-player.js +1 -1
  429. package/dist/cdn/podcast-player/snice-podcast-player.min.js +1 -1
  430. package/dist/cdn/popover/snice-popover.js +1 -1
  431. package/dist/cdn/popover/snice-popover.min.js +1 -1
  432. package/dist/cdn/pricing-table/snice-pricing-table.js +1 -1
  433. package/dist/cdn/pricing-table/snice-pricing-table.min.js +1 -1
  434. package/dist/cdn/product-card/snice-product-card.js +3 -3
  435. package/dist/cdn/product-card/snice-product-card.js.map +1 -1
  436. package/dist/cdn/product-card/snice-product-card.min.js +3 -3
  437. package/dist/cdn/product-card/snice-product-card.min.js.map +1 -1
  438. package/dist/cdn/progress/README.md +1 -1
  439. package/dist/cdn/progress/snice-progress.js +2 -2
  440. package/dist/cdn/progress/snice-progress.js.map +1 -1
  441. package/dist/cdn/progress/snice-progress.min.js +2 -2
  442. package/dist/cdn/progress/snice-progress.min.js.map +1 -1
  443. package/dist/cdn/progress-ring/snice-progress-ring.js +2 -2
  444. package/dist/cdn/progress-ring/snice-progress-ring.js.map +1 -1
  445. package/dist/cdn/progress-ring/snice-progress-ring.min.js +2 -2
  446. package/dist/cdn/progress-ring/snice-progress-ring.min.js.map +1 -1
  447. package/dist/cdn/qr-code/snice-qr-code.js +1 -1
  448. package/dist/cdn/qr-code/snice-qr-code.min.js +1 -1
  449. package/dist/cdn/qr-reader/snice-qr-reader.js +1 -1
  450. package/dist/cdn/qr-reader/snice-qr-reader.min.js +1 -1
  451. package/dist/cdn/radio/snice-radio.js +1 -1
  452. package/dist/cdn/radio/snice-radio.min.js +1 -1
  453. package/dist/cdn/range-slider/snice-range-slider.js +1 -1
  454. package/dist/cdn/range-slider/snice-range-slider.min.js +1 -1
  455. package/dist/cdn/rating/snice-rating.js +1 -1
  456. package/dist/cdn/rating/snice-rating.min.js +1 -1
  457. package/dist/cdn/receipt/snice-receipt.js +1 -1
  458. package/dist/cdn/receipt/snice-receipt.min.js +1 -1
  459. package/dist/cdn/recipe/snice-recipe.js +1 -1
  460. package/dist/cdn/recipe/snice-recipe.min.js +1 -1
  461. package/dist/cdn/runtime/README.md +2 -2
  462. package/dist/cdn/runtime/snice-runtime.esm.js +644 -172
  463. package/dist/cdn/runtime/snice-runtime.esm.js.map +1 -1
  464. package/dist/cdn/runtime/snice-runtime.esm.min.js +8 -8
  465. package/dist/cdn/runtime/snice-runtime.esm.min.js.map +1 -1
  466. package/dist/cdn/runtime/snice-runtime.js +644 -172
  467. package/dist/cdn/runtime/snice-runtime.js.map +1 -1
  468. package/dist/cdn/runtime/snice-runtime.min.js +8 -8
  469. package/dist/cdn/runtime/snice-runtime.min.js.map +1 -1
  470. package/dist/cdn/sankey/snice-sankey.js +1 -1
  471. package/dist/cdn/sankey/snice-sankey.js.map +1 -1
  472. package/dist/cdn/sankey/snice-sankey.min.js +1 -1
  473. package/dist/cdn/sankey/snice-sankey.min.js.map +1 -1
  474. package/dist/cdn/segmented-control/snice-segmented-control.js +1 -1
  475. package/dist/cdn/segmented-control/snice-segmented-control.min.js +1 -1
  476. package/dist/cdn/select/snice-select.js +1 -1
  477. package/dist/cdn/select/snice-select.min.js +1 -1
  478. package/dist/cdn/skeleton/snice-skeleton.js +1 -1
  479. package/dist/cdn/skeleton/snice-skeleton.min.js +1 -1
  480. package/dist/cdn/slider/snice-slider.js +1 -1
  481. package/dist/cdn/slider/snice-slider.min.js +1 -1
  482. package/dist/cdn/sortable/snice-sortable.js +1 -1
  483. package/dist/cdn/sortable/snice-sortable.min.js +1 -1
  484. package/dist/cdn/sparkline/snice-sparkline.js +1 -1
  485. package/dist/cdn/sparkline/snice-sparkline.min.js +1 -1
  486. package/dist/cdn/spinner/snice-spinner.js +1 -1
  487. package/dist/cdn/spinner/snice-spinner.min.js +1 -1
  488. package/dist/cdn/split-button/snice-split-button.js +1 -1
  489. package/dist/cdn/split-button/snice-split-button.js.map +1 -1
  490. package/dist/cdn/split-button/snice-split-button.min.js +1 -1
  491. package/dist/cdn/split-button/snice-split-button.min.js.map +1 -1
  492. package/dist/cdn/split-pane/snice-split-pane.js +1 -1
  493. package/dist/cdn/split-pane/snice-split-pane.min.js +1 -1
  494. package/dist/cdn/spotlight/snice-spotlight.js +1 -1
  495. package/dist/cdn/spotlight/snice-spotlight.min.js +1 -1
  496. package/dist/cdn/stat-group/snice-stat-group.js +1 -1
  497. package/dist/cdn/stat-group/snice-stat-group.min.js +1 -1
  498. package/dist/cdn/step-input/snice-step-input.js +1 -1
  499. package/dist/cdn/step-input/snice-step-input.min.js +1 -1
  500. package/dist/cdn/stepper/snice-stepper.js +1 -1
  501. package/dist/cdn/stepper/snice-stepper.min.js +1 -1
  502. package/dist/cdn/switch/snice-switch.js +1 -1
  503. package/dist/cdn/switch/snice-switch.min.js +1 -1
  504. package/dist/cdn/table/README.md +1 -1
  505. package/dist/cdn/table/snice-table.js +14 -4
  506. package/dist/cdn/table/snice-table.js.map +1 -1
  507. package/dist/cdn/table/snice-table.min.js +14 -4
  508. package/dist/cdn/table/snice-table.min.js.map +1 -1
  509. package/dist/cdn/tabs/snice-tabs.js +1 -1
  510. package/dist/cdn/tabs/snice-tabs.min.js +1 -1
  511. package/dist/cdn/tag/snice-tag.js +1 -1
  512. package/dist/cdn/tag/snice-tag.min.js +1 -1
  513. package/dist/cdn/tag-input/snice-tag-input.js +2 -2
  514. package/dist/cdn/tag-input/snice-tag-input.js.map +1 -1
  515. package/dist/cdn/tag-input/snice-tag-input.min.js +2 -2
  516. package/dist/cdn/tag-input/snice-tag-input.min.js.map +1 -1
  517. package/dist/cdn/terminal/snice-terminal.js +1 -1
  518. package/dist/cdn/terminal/snice-terminal.min.js +1 -1
  519. package/dist/cdn/testimonial/snice-testimonial.js +1 -1
  520. package/dist/cdn/testimonial/snice-testimonial.min.js +1 -1
  521. package/dist/cdn/textarea/snice-textarea.js +1 -1
  522. package/dist/cdn/textarea/snice-textarea.min.js +1 -1
  523. package/dist/cdn/time-picker/README.md +1 -1
  524. package/dist/cdn/time-picker/snice-time-picker.js +18 -13
  525. package/dist/cdn/time-picker/snice-time-picker.js.map +1 -1
  526. package/dist/cdn/time-picker/snice-time-picker.min.js +3 -3
  527. package/dist/cdn/time-picker/snice-time-picker.min.js.map +1 -1
  528. package/dist/cdn/time-range-picker/snice-time-range-picker.js +1 -1
  529. package/dist/cdn/time-range-picker/snice-time-range-picker.min.js +1 -1
  530. package/dist/cdn/timeline/snice-timeline.js +1 -1
  531. package/dist/cdn/timeline/snice-timeline.js.map +1 -1
  532. package/dist/cdn/timeline/snice-timeline.min.js +1 -1
  533. package/dist/cdn/timeline/snice-timeline.min.js.map +1 -1
  534. package/dist/cdn/timer/snice-timer.js +1 -1
  535. package/dist/cdn/timer/snice-timer.min.js +1 -1
  536. package/dist/cdn/toast/snice-toast.js +1 -1
  537. package/dist/cdn/toast/snice-toast.js.map +1 -1
  538. package/dist/cdn/toast/snice-toast.min.js +1 -1
  539. package/dist/cdn/toast/snice-toast.min.js.map +1 -1
  540. package/dist/cdn/tooltip/snice-tooltip.js +1 -1
  541. package/dist/cdn/tooltip/snice-tooltip.min.js +1 -1
  542. package/dist/cdn/tree/snice-tree.js +1 -1
  543. package/dist/cdn/tree/snice-tree.min.js +1 -1
  544. package/dist/cdn/treemap/snice-treemap.js +1 -1
  545. package/dist/cdn/treemap/snice-treemap.js.map +1 -1
  546. package/dist/cdn/treemap/snice-treemap.min.js +1 -1
  547. package/dist/cdn/treemap/snice-treemap.min.js.map +1 -1
  548. package/dist/cdn/user-card/snice-user-card.js +1 -1
  549. package/dist/cdn/user-card/snice-user-card.min.js +1 -1
  550. package/dist/cdn/video-player/snice-video-player.js +1 -1
  551. package/dist/cdn/video-player/snice-video-player.min.js +1 -1
  552. package/dist/cdn/virtual-scroller/snice-virtual-scroller.js +1 -1
  553. package/dist/cdn/virtual-scroller/snice-virtual-scroller.min.js +1 -1
  554. package/dist/cdn/waterfall/snice-waterfall.js +1 -1
  555. package/dist/cdn/waterfall/snice-waterfall.min.js +1 -1
  556. package/dist/cdn/weather/snice-weather.js +1 -1
  557. package/dist/cdn/weather/snice-weather.min.js +1 -1
  558. package/dist/cdn/work-order/snice-work-order.js +1 -1
  559. package/dist/cdn/work-order/snice-work-order.min.js +1 -1
  560. package/dist/components/action-bar/snice-action-bar.js +1 -1
  561. package/dist/components/action-bar/snice-action-bar.js.map +1 -1
  562. package/dist/components/banner/snice-banner.js +1 -1
  563. package/dist/components/banner/snice-banner.js.map +1 -1
  564. package/dist/components/chat/snice-chat-message.d.ts +32 -0
  565. package/dist/components/chat/snice-chat-message.js +127 -0
  566. package/dist/components/chat/snice-chat-message.js.map +1 -0
  567. package/dist/components/chat/snice-chat-message.types.d.ts +30 -0
  568. package/dist/components/chat/snice-chat.d.ts +31 -4
  569. package/dist/components/chat/snice-chat.js +363 -90
  570. package/dist/components/chat/snice-chat.js.map +1 -1
  571. package/dist/components/chat/snice-chat.types.d.ts +34 -3
  572. package/dist/components/command-palette/snice-command-palette.js +1 -1
  573. package/dist/components/command-palette/snice-command-palette.js.map +1 -1
  574. package/dist/components/icons/index.d.ts +4 -0
  575. package/dist/components/icons/index.js +5 -1
  576. package/dist/components/icons/index.js.map +1 -1
  577. package/dist/components/invoice/snice-invoice.js +1 -1
  578. package/dist/components/invoice/snice-invoice.js.map +1 -1
  579. package/dist/components/login/snice-login.d.ts +2 -2
  580. package/dist/components/login/snice-login.js +2 -0
  581. package/dist/components/login/snice-login.js.map +1 -1
  582. package/dist/components/login/snice-login.types.d.ts +4 -0
  583. package/dist/components/markdown/snice-markdown.d.ts +1 -0
  584. package/dist/components/markdown/snice-markdown.js +15 -2
  585. package/dist/components/markdown/snice-markdown.js.map +1 -1
  586. package/dist/components/menu/snice-menu.js +1 -1
  587. package/dist/components/menu/snice-menu.js.map +1 -1
  588. package/dist/components/message-strip/snice-message-strip.d.ts +1 -1
  589. package/dist/components/message-strip/snice-message-strip.js +8 -8
  590. package/dist/components/message-strip/snice-message-strip.types.d.ts +1 -1
  591. package/dist/components/product-card/snice-product-card.js +2 -2
  592. package/dist/components/product-card/snice-product-card.js.map +1 -1
  593. package/dist/components/progress/snice-progress.js +1 -1
  594. package/dist/components/progress/snice-progress.js.map +1 -1
  595. package/dist/components/progress-ring/snice-progress-ring.js +1 -1
  596. package/dist/components/progress-ring/snice-progress-ring.js.map +1 -1
  597. package/dist/components/table/snice-table.js +13 -3
  598. package/dist/components/table/snice-table.js.map +1 -1
  599. package/dist/components/tag-input/snice-tag-input.js +1 -1
  600. package/dist/components/tag-input/snice-tag-input.js.map +1 -1
  601. package/dist/components/time-picker/snice-time-picker.js +17 -12
  602. package/dist/components/time-picker/snice-time-picker.js.map +1 -1
  603. package/dist/components/utils.d.ts +6 -0
  604. package/dist/components/utils.js +1 -1
  605. package/dist/components/utils.js.map +1 -1
  606. package/dist/element.d.ts +2 -1
  607. package/dist/events.d.ts +6 -0
  608. package/dist/index.cjs +641 -169
  609. package/dist/index.cjs.map +1 -1
  610. package/dist/index.esm.js +641 -169
  611. package/dist/index.esm.js.map +1 -1
  612. package/dist/index.iife.js +641 -169
  613. package/dist/index.iife.js.map +1 -1
  614. package/dist/parts.d.ts +1 -8
  615. package/dist/react/SniceProvider.js +1 -1
  616. package/dist/react/SniceRouter.js +1 -1
  617. package/dist/react/index.js +1 -1
  618. package/dist/react/matchRoute.d.ts +1 -1
  619. package/dist/react/matchRoute.js +38 -4
  620. package/dist/react/matchRoute.js.map +1 -1
  621. package/dist/react/route-specificity.d.ts +1 -0
  622. package/dist/react/useRequestHandler.js +1 -1
  623. package/dist/render.d.ts +7 -0
  624. package/dist/route-specificity.d.ts +1 -0
  625. package/dist/symbols.cjs +14 -1
  626. package/dist/symbols.cjs.map +1 -1
  627. package/dist/symbols.d.ts +3 -0
  628. package/dist/symbols.esm.js +12 -2
  629. package/dist/symbols.esm.js.map +1 -1
  630. package/dist/transitions.cjs +1 -1
  631. package/dist/transitions.esm.js +1 -1
  632. package/dist/types/context.d.ts +5 -2
  633. package/dist/types/dispatch-options.d.ts +7 -0
  634. package/dist/types/index.d.ts +1 -0
  635. package/dist/types/on-options.d.ts +14 -0
  636. package/dist/types/watch-options.d.ts +9 -0
  637. package/dist/utils.d.ts +26 -0
  638. package/docs/ai/DEVELOPMENT.md +1 -1
  639. package/docs/ai/README.md +11 -0
  640. package/docs/ai/api.md +24 -5
  641. package/docs/ai/cdn.md +31 -0
  642. package/docs/ai/components/chat.md +57 -1
  643. package/docs/ai/components/message-strip.md +3 -3
  644. package/docs/ai/decorators.md +44 -5
  645. package/docs/cdn.md +56 -0
  646. package/docs/components/chat.md +108 -2
  647. package/docs/components/message-strip.md +8 -8
  648. package/docs/elements.md +21 -0
  649. package/docs/events.md +88 -0
  650. package/docs/superpowers/specs/2026-05-26-chat-styling-design.md +155 -0
  651. package/docs/superpowers/specs/2026-05-27-chat-theming-REMAINING.md +83 -0
  652. package/docs/superpowers/specs/2026-06-09-chat-custom-content-design.md +233 -0
  653. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v5.2.2
2
+ * snice v6.0.0
3
3
  * A decorator-driven web component library with differential rendering, routing, controllers, and 130+ ready-made UI components. Use as much or as little as you want. Zero dependencies, works anywhere.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1 +1 @@
1
- {"version":3,"file":"snice-drawer.min.js","sources":["../../../node_modules/tslib/tslib.es6.mjs","../../components/drawer/snice-drawer.js","../../components/icons/index.js","../../components/drawer/snice-drawer-target.js"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n","import { __runInitializers, __esDecorate } from 'tslib';\nimport { element, property, query, render, styles, ready, watch, on, dispose, unsafeHTML, html, css, lockBodyScroll, unlockBodyScroll } from 'snice';\nimport { X_MARK } from '../icons/index.js';\n\nvar cssContent = \":host{--drawer-width-small:var(--snice-size-drawer-small, 15rem);--drawer-width-medium:var(--snice-size-drawer-medium, 20rem);--drawer-width-large:var(--snice-size-drawer-large, 30rem);--drawer-width-xl:var(--snice-size-drawer-xl, 40rem);--drawer-width-xxl:var(--snice-size-drawer-xxl, 50rem);--drawer-width-xxxl:var(--snice-size-drawer-xxxl, 60rem);--drawer-height-small:var(--snice-size-drawer-height-small, 12.5rem);--drawer-height-medium:var(--snice-size-drawer-height-medium, 25rem);--drawer-height-large:var(--snice-size-drawer-height-large, 37.5rem);--drawer-height-xl:var(--snice-size-drawer-height-xl, 70vh);--drawer-height-xxl:var(--snice-size-drawer-height-xxl, 80vh);--drawer-height-xxxl:var(--snice-size-drawer-height-xxxl, 90vh);--drawer-bg:var(--snice-color-surface-container-highest, var(--snice-color-surface, white));--drawer-shadow:var(--snice-shadow-2xl, 0 25px 50px -12px rgb(0 0 0 / 0.25));--drawer-backdrop:var(--snice-color-backdrop, rgb(0 0 0 / 0.6));--drawer-backdrop-blur:6px;--drawer-transition:transform 320ms var(--snice-ease-out, cubic-bezier(0.22, 1, 0.36, 1));--drawer-z-index:var(--snice-z-overlay, 1050);display:block;position:fixed;top:0;left:0;width:100vw;height:100vh;pointer-events:none;z-index:var(--drawer-z-index);isolation:isolate;font-family:var(--snice-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif)}:host([contained]){position:absolute;width:100%;height:100%;overflow:clip}:host([contained][inline]){overflow:visible}.drawer-backdrop{position:absolute;inset:0;background:var(--drawer-backdrop);backdrop-filter:blur(var(--drawer-backdrop-blur));-webkit-backdrop-filter:blur(var(--drawer-backdrop-blur));opacity:0;transition:opacity var(--snice-transition-medium, 250ms) var(--snice-ease-in-out, cubic-bezier(.76, 0, .24, 1));z-index:var(--drawer-z-index);pointer-events:none;visibility:hidden}:host([open]){pointer-events:auto}:host([open]) .drawer-backdrop{opacity:1;pointer-events:auto;visibility:visible}:host([no-backdrop]) .drawer-backdrop{display:none}.drawer{position:absolute;background:var(--drawer-bg);box-shadow:var(--drawer-shadow);transition:var(--drawer-transition);z-index:calc(var(--drawer-z-index) + 1);display:flex;flex-direction:column;outline:0;overflow:hidden;pointer-events:auto}:host(:not([position])) .drawer{top:0;left:0;height:100%;width:var(--drawer-width-medium);transform:translateX(-100%)}:host(:not([position])[open]) .drawer{transform:translateX(0)}:host([position=left]) .drawer{top:0;left:0;height:100%;width:var(--drawer-width-medium);transform:translateX(-100%)}:host([position=left][size=small]) .drawer{width:var(--drawer-width-small)}:host([position=left][size=medium]) .drawer{width:var(--drawer-width-medium)}:host([position=left][size=large]) .drawer{width:var(--drawer-width-large)}:host([position=left][size=xl]) .drawer{width:var(--drawer-width-xl)}:host([position=left][size=xxl]) .drawer{width:var(--drawer-width-xxl)}:host([position=left][size=xxxl]) .drawer{width:var(--drawer-width-xxxl)}:host([position=left][size=full]) .drawer{width:100%}:host([position=left][open]) .drawer{transform:translateX(0)}:host([position=right]) .drawer{top:0;right:0;height:100%;width:var(--drawer-width-medium);transform:translateX(100%)}:host([position=right][size=small]) .drawer{width:var(--drawer-width-small)}:host([position=right][size=medium]) .drawer{width:var(--drawer-width-medium)}:host([position=right][size=large]) .drawer{width:var(--drawer-width-large)}:host([position=right][size=xl]) .drawer{width:var(--drawer-width-xl)}:host([position=right][size=xxl]) .drawer{width:var(--drawer-width-xxl)}:host([position=right][size=xxxl]) .drawer{width:var(--drawer-width-xxxl)}:host([position=right][size=full]) .drawer{width:100%}:host([position=right][open]) .drawer{transform:translateX(0)}:host([position=top]) .drawer{top:0;left:0;width:100%;height:var(--drawer-height-medium);transform:translateY(-100%);border-bottom:1px solid var(--snice-color-border,rgb(229 231 235));box-shadow:var(--snice-shadow-lg,0 10px 24px -3px hsl(0 0% 0% / .05),0 4px 12px -4px hsl(0 0% 0% / .06))}:host([position=top][size=small]) .drawer{height:var(--drawer-height-small)}:host([position=top][size=medium]) .drawer{height:var(--drawer-height-medium)}:host([position=top][size=large]) .drawer{height:var(--drawer-height-large)}:host([position=top][size=xl]) .drawer{height:var(--drawer-height-xl)}:host([position=top][size=xxl]) .drawer{height:var(--drawer-height-xxl)}:host([position=top][size=xxxl]) .drawer{height:var(--drawer-height-xxxl)}:host([position=top][size=full]) .drawer{height:100%}:host([position=top][open]) .drawer{transform:translateY(0)}:host([position=bottom]) .drawer{bottom:0;left:0;width:100%;height:var(--drawer-height-medium);transform:translateY(100%);border-top:1px solid var(--snice-color-border,rgb(229 231 235));box-shadow:var(--snice-shadow-lg,0 10px 24px -3px hsl(0 0% 0% / .05),0 4px 12px -4px hsl(0 0% 0% / .06))}:host([position=bottom][size=small]) .drawer{height:var(--drawer-height-small)}:host([position=bottom][size=medium]) .drawer{height:var(--drawer-height-medium)}:host([position=bottom][size=large]) .drawer{height:var(--drawer-height-large)}:host([position=bottom][size=xl]) .drawer{height:var(--drawer-height-xl)}:host([position=bottom][size=xxl]) .drawer{height:var(--drawer-height-xxl)}:host([position=bottom][size=xxxl]) .drawer{height:var(--drawer-height-xxxl)}:host([position=bottom][size=full]) .drawer{height:100%}:host([position=bottom][open]) .drawer{transform:translateY(0)}.drawer-header{font-family:var(--snice-font-family-display);display:flex;align-items:center;justify-content:space-between;padding:var(--snice-spacing-md,1rem) var(--snice-spacing-lg,1.25rem);padding-bottom:var(--snice-spacing-sm,.5rem);background:0 0;flex-shrink:0}.drawer-header:has(.drawer-title:empty):not(:has(.drawer-close)){font-family:var(--snice-font-family-display);display:none}.drawer-title{font-family:var(--snice-font-family-display);font-size:var(--snice-heading-md, 1.125rem);font-weight:var(--snice-font-weight-semibold,600);margin:0;color:var(--snice-color-text,rgb(17 24 39));line-height:var(--snice-line-height-tight, 1.25)}.drawer-close{display:flex;align-items:center;justify-content:center;width:var(--snice-size-control-md,2rem);height:var(--snice-size-control-md,2rem);border:none;background:0 0;border-radius:var(--snice-border-radius-md,6px);cursor:pointer;color:var(--snice-color-text-secondary,rgb(107 114 128));transition:all var(--snice-transition-fast, 150ms) ease}.drawer-close:hover{background:var(--snice-color-surface-hover,rgb(243 244 246));color:var(--snice-color-text,rgb(17 24 39))}.drawer-close:focus-visible{outline:var(--snice-focus-ring-width,2px) solid var(--snice-focus-ring-color,rgb(59 130 246));outline-offset:var(--snice-focus-ring-offset,2px)}.drawer-close svg{width:1.125rem;height:1.125rem}.drawer-body{flex:1;padding:var(--snice-spacing-lg,1.25rem);overflow-y:auto;overflow-x:hidden;color:var(--snice-color-text,rgb(17 24 39))}.drawer-footer{padding:var(--snice-spacing-md,1rem) var(--snice-spacing-lg,1.25rem);padding-top:var(--snice-spacing-sm,.5rem);background:0 0;flex-shrink:0}.drawer-footer:empty{display:none}@media (prefers-reduced-motion:reduce){.drawer,.drawer-backdrop{transition:none}}@media (max-width:640px){:host([position=left][size=large]) .drawer,:host([position=left][size=medium]) .drawer,:host([position=left][size=xl]) .drawer,:host([position=left][size=xxl]) .drawer,:host([position=left][size=xxxl]) .drawer,:host([position=right][size=large]) .drawer,:host([position=right][size=medium]) .drawer,:host([position=right][size=xl]) .drawer,:host([position=right][size=xxl]) .drawer,:host([position=right][size=xxxl]) .drawer{width:calc(100% - 2.5rem)}}.focus-trap-end,.focus-trap-start{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:host([push-content]){--drawer-push-amount:0px}:host([push-content][position=left][open][size=small]){--drawer-push-amount:var(--drawer-width-small)}:host([push-content][position=left][open][size=medium]){--drawer-push-amount:var(--drawer-width-medium)}:host([push-content][position=left][open][size=large]){--drawer-push-amount:var(--drawer-width-large)}:host([push-content][position=left][open][size=xl]){--drawer-push-amount:var(--drawer-width-xl)}:host([push-content][position=left][open][size=xxl]){--drawer-push-amount:var(--drawer-width-xxl)}:host([push-content][position=left][open][size=xxxl]){--drawer-push-amount:var(--drawer-width-xxxl)}:host([push-content][position=left][open][size=full]){--drawer-push-amount:100vw}:host([push-content][position=left][open]:not([size])){--drawer-push-amount:var(--drawer-width-medium)}:host([push-content][position=right][open][size=small]){--drawer-push-amount:calc(-1 * var(--drawer-width-small))}:host([push-content][position=right][open][size=medium]){--drawer-push-amount:calc(-1 * var(--drawer-width-medium))}:host([push-content][position=right][open][size=large]){--drawer-push-amount:calc(-1 * var(--drawer-width-large))}:host([push-content][position=right][open][size=xl]){--drawer-push-amount:calc(-1 * var(--drawer-width-xl))}:host([push-content][position=right][open][size=xxl]){--drawer-push-amount:calc(-1 * var(--drawer-width-xxl))}:host([push-content][position=right][open][size=xxxl]){--drawer-push-amount:calc(-1 * var(--drawer-width-xxxl))}:host([push-content][position=right][open][size=full]){--drawer-push-amount:-100vw}:host([push-content][position=right][open]:not([size])){--drawer-push-amount:calc(-1 * var(--drawer-width-medium))}:host([push-content][position=top][open][size=small]){--drawer-push-amount:var(--drawer-height-small)}:host([push-content][position=top][open][size=medium]){--drawer-push-amount:var(--drawer-height-medium)}:host([push-content][position=top][open][size=large]){--drawer-push-amount:var(--drawer-height-large)}:host([push-content][position=top][open][size=xl]){--drawer-push-amount:var(--drawer-height-xl)}:host([push-content][position=top][open][size=xxl]){--drawer-push-amount:var(--drawer-height-xxl)}:host([push-content][position=top][open][size=xxxl]){--drawer-push-amount:var(--drawer-height-xxxl)}:host([push-content][position=top][open][size=full]){--drawer-push-amount:100vh}:host([push-content][position=top][open]:not([size])){--drawer-push-amount:var(--drawer-height-medium)}:host([push-content][position=bottom][open][size=small]){--drawer-push-amount:calc(-1 * var(--drawer-height-small))}:host([push-content][position=bottom][open][size=medium]){--drawer-push-amount:calc(-1 * var(--drawer-height-medium))}:host([push-content][position=bottom][open][size=large]){--drawer-push-amount:calc(-1 * var(--drawer-height-large))}:host([push-content][position=bottom][open][size=xl]){--drawer-push-amount:calc(-1 * var(--drawer-height-xl))}:host([push-content][position=bottom][open][size=xxl]){--drawer-push-amount:calc(-1 * var(--drawer-height-xxl))}:host([push-content][position=bottom][open][size=xxxl]){--drawer-push-amount:calc(-1 * var(--drawer-height-xxxl))}:host([push-content][position=bottom][open][size=full]){--drawer-push-amount:-100vh}:host([push-content][position=bottom][open]:not([size])){--drawer-push-amount:calc(-1 * var(--drawer-height-medium))}:host([inline]){position:static;width:auto;height:auto;pointer-events:auto}:host([inline]) .drawer-backdrop{display:none}:host([inline]) .drawer{position:static;transform:none;box-shadow:none;z-index:auto;transition:none;border-right:1px solid var(--snice-color-border,rgb(229 231 235))}:host([inline]) .drawer,:host([inline][position=left]) .drawer{width:var(--drawer-width-medium);height:100%}:host([inline]:not([position])[size=small]) .drawer,:host([inline][position=left][size=small]) .drawer{width:var(--drawer-width-small)}:host([inline]:not([position])[size=large]) .drawer,:host([inline][position=left][size=large]) .drawer{width:var(--drawer-width-large)}:host([inline]:not([position])[size=xl]) .drawer,:host([inline][position=left][size=xl]) .drawer{width:var(--drawer-width-xl)}:host([inline]:not([position])[size=xxl]) .drawer,:host([inline][position=left][size=xxl]) .drawer{width:var(--drawer-width-xxl)}:host([inline]:not([position])[size=xxxl]) .drawer,:host([inline][position=left][size=xxxl]) .drawer{width:var(--drawer-width-xxxl)}:host([inline]:not([position])[size=full]) .drawer,:host([inline][position=left][size=full]) .drawer{width:100%}:host([inline][position=right]) .drawer{border-right:none;border-left:1px solid var(--snice-color-border,rgb(229 231 235));width:var(--drawer-width-medium);height:100%}:host([inline][position=right][size=small]) .drawer{width:var(--drawer-width-small)}:host([inline][position=right][size=large]) .drawer{width:var(--drawer-width-large)}:host([inline][position=right][size=xl]) .drawer{width:var(--drawer-width-xl)}:host([inline][position=right][size=xxl]) .drawer{width:var(--drawer-width-xxl)}:host([inline][position=right][size=xxxl]) .drawer{width:var(--drawer-width-xxxl)}:host([inline][position=right][size=full]) .drawer{width:100%}:host([inline][position=top]) .drawer{border-right:none;border-bottom:1px solid var(--snice-color-border,rgb(229 231 235));width:100%;height:var(--drawer-height-medium)}:host([inline][position=top][size=small]) .drawer{height:var(--drawer-height-small)}:host([inline][position=top][size=large]) .drawer{height:var(--drawer-height-large)}:host([inline][position=top][size=xl]) .drawer{height:var(--drawer-height-xl)}:host([inline][position=top][size=xxl]) .drawer{height:var(--drawer-height-xxl)}:host([inline][position=top][size=xxxl]) .drawer{height:var(--drawer-height-xxxl)}:host([inline][position=top][size=full]) .drawer{height:100%}:host([inline][position=bottom]) .drawer{border-right:none;border-top:1px solid var(--snice-color-border,rgb(229 231 235));width:100%;height:var(--drawer-height-medium)}:host([inline][position=bottom][size=small]) .drawer{height:var(--drawer-height-small)}:host([inline][position=bottom][size=large]) .drawer{height:var(--drawer-height-large)}:host([inline][position=bottom][size=xl]) .drawer{height:var(--drawer-height-xl)}:host([inline][position=bottom][size=xxl]) .drawer{height:var(--drawer-height-xxl)}:host([inline][position=bottom][size=xxxl]) .drawer{height:var(--drawer-height-xxxl)}:host([inline][position=bottom][size=full]) .drawer{height:100%}:host([inline]) .focus-trap-end,:host([inline]) .focus-trap-start{display:none}\";\n\nlet SniceDrawer = (() => {\n let _classDecorators = [element('snice-drawer')];\n let _classDescriptor;\n let _classExtraInitializers = [];\n let _classThis;\n let _classSuper = HTMLElement;\n let _instanceExtraInitializers = [];\n let _open_decorators;\n let _open_initializers = [];\n let _open_extraInitializers = [];\n let _position_decorators;\n let _position_initializers = [];\n let _position_extraInitializers = [];\n let _size_decorators;\n let _size_initializers = [];\n let _size_extraInitializers = [];\n let _inline_decorators;\n let _inline_initializers = [];\n let _inline_extraInitializers = [];\n let _breakpoint_decorators;\n let _breakpoint_initializers = [];\n let _breakpoint_extraInitializers = [];\n let _noBackdrop_decorators;\n let _noBackdrop_initializers = [];\n let _noBackdrop_extraInitializers = [];\n let _noBackdropDismiss_decorators;\n let _noBackdropDismiss_initializers = [];\n let _noBackdropDismiss_extraInitializers = [];\n let _noEscapeDismiss_decorators;\n let _noEscapeDismiss_initializers = [];\n let _noEscapeDismiss_extraInitializers = [];\n let _noFocusTrap_decorators;\n let _noFocusTrap_initializers = [];\n let _noFocusTrap_extraInitializers = [];\n let _persistent_decorators;\n let _persistent_initializers = [];\n let _persistent_extraInitializers = [];\n let _pushContent_decorators;\n let _pushContent_initializers = [];\n let _pushContent_extraInitializers = [];\n let _contained_decorators;\n let _contained_initializers = [];\n let _contained_extraInitializers = [];\n let _noHeader_decorators;\n let _noHeader_initializers = [];\n let _noHeader_extraInitializers = [];\n let _noFooter_decorators;\n let _noFooter_initializers = [];\n let _noFooter_extraInitializers = [];\n let _drawerElement_decorators;\n let _drawerElement_initializers = [];\n let _drawerElement_extraInitializers = [];\n let _backdropElement_decorators;\n let _backdropElement_initializers = [];\n let _backdropElement_extraInitializers = [];\n let _closeButton_decorators;\n let _closeButton_initializers = [];\n let _closeButton_extraInitializers = [];\n let _focusTrapStart_decorators;\n let _focusTrapStart_initializers = [];\n let _focusTrapStart_extraInitializers = [];\n let _focusTrapEnd_decorators;\n let _focusTrapEnd_initializers = [];\n let _focusTrapEnd_extraInitializers = [];\n let _render_decorators;\n let _styles_decorators;\n let _init_decorators;\n let _handleBreakpointPropChange_decorators;\n let _handleOpenChange_decorators;\n let _handleBackdropClick_decorators;\n let _handleCloseClick_decorators;\n let _handleFocusTrapStart_decorators;\n let _handleFocusTrapEnd_decorators;\n let _cleanup_decorators;\n (class extends _classSuper {\n static { _classThis = this; }\n constructor() {\n super(...arguments);\n this.open = (__runInitializers(this, _instanceExtraInitializers), __runInitializers(this, _open_initializers, false));\n this.position = (__runInitializers(this, _open_extraInitializers), __runInitializers(this, _position_initializers, 'left'));\n this.size = (__runInitializers(this, _position_extraInitializers), __runInitializers(this, _size_initializers, 'medium'));\n this.inline = (__runInitializers(this, _size_extraInitializers), __runInitializers(this, _inline_initializers, false));\n this.breakpoint = (__runInitializers(this, _inline_extraInitializers), __runInitializers(this, _breakpoint_initializers, 0));\n this.noBackdrop = (__runInitializers(this, _breakpoint_extraInitializers), __runInitializers(this, _noBackdrop_initializers, false));\n this.noBackdropDismiss = (__runInitializers(this, _noBackdrop_extraInitializers), __runInitializers(this, _noBackdropDismiss_initializers, false));\n this.noEscapeDismiss = (__runInitializers(this, _noBackdropDismiss_extraInitializers), __runInitializers(this, _noEscapeDismiss_initializers, false));\n this.noFocusTrap = (__runInitializers(this, _noEscapeDismiss_extraInitializers), __runInitializers(this, _noFocusTrap_initializers, false));\n this.persistent = (__runInitializers(this, _noFocusTrap_extraInitializers), __runInitializers(this, _persistent_initializers, false));\n this.pushContent = (__runInitializers(this, _persistent_extraInitializers), __runInitializers(this, _pushContent_initializers, false));\n this.contained = (__runInitializers(this, _pushContent_extraInitializers), __runInitializers(this, _contained_initializers, false));\n this.noHeader = (__runInitializers(this, _contained_extraInitializers), __runInitializers(this, _noHeader_initializers, false));\n this.noFooter = (__runInitializers(this, _noHeader_extraInitializers), __runInitializers(this, _noFooter_initializers, false));\n this.drawerElement = (__runInitializers(this, _noFooter_extraInitializers), __runInitializers(this, _drawerElement_initializers, void 0));\n this.backdropElement = (__runInitializers(this, _drawerElement_extraInitializers), __runInitializers(this, _backdropElement_initializers, void 0));\n this.closeButton = (__runInitializers(this, _backdropElement_extraInitializers), __runInitializers(this, _closeButton_initializers, void 0));\n this.focusTrapStart = (__runInitializers(this, _closeButton_extraInitializers), __runInitializers(this, _focusTrapStart_initializers, void 0));\n this.focusTrapEnd = (__runInitializers(this, _focusTrapStart_extraInitializers), __runInitializers(this, _focusTrapEnd_initializers, void 0));\n this.previousFocus = __runInitializers(this, _focusTrapEnd_extraInitializers);\n /** Track whether THIS drawer holds a body-scroll lock — keeps the\n * per-instance state in sync with the shared refcount so we never\n * unlock more times than we locked. */\n this.scrollLocked = false;\n this.isHandlingOpenChange = false;\n this.titleId = `snice-drawer-title-${Math.random().toString(36).slice(2, 10)}`;\n this.lastEventType = null;\n this.lastEventTime = 0;\n }\n static {\n const _metadata = typeof Symbol === \"function\" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;\n _open_decorators = [property({ type: Boolean, })];\n _position_decorators = [property({})];\n _size_decorators = [property({})];\n _inline_decorators = [property({ type: Boolean, })];\n _breakpoint_decorators = [property({ type: Number })];\n _noBackdrop_decorators = [property({ type: Boolean, attribute: 'no-backdrop', })];\n _noBackdropDismiss_decorators = [property({ type: Boolean, attribute: 'no-backdrop-dismiss', })];\n _noEscapeDismiss_decorators = [property({ type: Boolean, attribute: 'no-escape-dismiss', })];\n _noFocusTrap_decorators = [property({ type: Boolean, attribute: 'no-focus-trap', })];\n _persistent_decorators = [property({ type: Boolean, })];\n _pushContent_decorators = [property({ type: Boolean, attribute: 'push-content', })];\n _contained_decorators = [property({ type: Boolean, })];\n _noHeader_decorators = [property({ type: Boolean, attribute: 'no-header' })];\n _noFooter_decorators = [property({ type: Boolean, attribute: 'no-footer' })];\n _drawerElement_decorators = [query('.drawer')];\n _backdropElement_decorators = [query('.drawer-backdrop')];\n _closeButton_decorators = [query('.drawer-close')];\n _focusTrapStart_decorators = [query('.focus-trap-start')];\n _focusTrapEnd_decorators = [query('.focus-trap-end')];\n _render_decorators = [render()];\n _styles_decorators = [styles()];\n _init_decorators = [ready()];\n _handleBreakpointPropChange_decorators = [watch('breakpoint')];\n _handleOpenChange_decorators = [watch('open')];\n _handleBackdropClick_decorators = [on('click', '.drawer-backdrop')];\n _handleCloseClick_decorators = [on('click', '.drawer-close')];\n _handleFocusTrapStart_decorators = [on('focus', { target: '.focus-trap-start' })];\n _handleFocusTrapEnd_decorators = [on('focus', { target: '.focus-trap-end' })];\n _cleanup_decorators = [dispose()];\n __esDecorate(this, null, _render_decorators, { kind: \"method\", name: \"render\", static: false, private: false, access: { has: obj => \"render\" in obj, get: obj => obj.render }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _styles_decorators, { kind: \"method\", name: \"styles\", static: false, private: false, access: { has: obj => \"styles\" in obj, get: obj => obj.styles }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _init_decorators, { kind: \"method\", name: \"init\", static: false, private: false, access: { has: obj => \"init\" in obj, get: obj => obj.init }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _handleBreakpointPropChange_decorators, { kind: \"method\", name: \"handleBreakpointPropChange\", static: false, private: false, access: { has: obj => \"handleBreakpointPropChange\" in obj, get: obj => obj.handleBreakpointPropChange }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _handleOpenChange_decorators, { kind: \"method\", name: \"handleOpenChange\", static: false, private: false, access: { has: obj => \"handleOpenChange\" in obj, get: obj => obj.handleOpenChange }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _handleBackdropClick_decorators, { kind: \"method\", name: \"handleBackdropClick\", static: false, private: false, access: { has: obj => \"handleBackdropClick\" in obj, get: obj => obj.handleBackdropClick }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _handleCloseClick_decorators, { kind: \"method\", name: \"handleCloseClick\", static: false, private: false, access: { has: obj => \"handleCloseClick\" in obj, get: obj => obj.handleCloseClick }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _handleFocusTrapStart_decorators, { kind: \"method\", name: \"handleFocusTrapStart\", static: false, private: false, access: { has: obj => \"handleFocusTrapStart\" in obj, get: obj => obj.handleFocusTrapStart }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _handleFocusTrapEnd_decorators, { kind: \"method\", name: \"handleFocusTrapEnd\", static: false, private: false, access: { has: obj => \"handleFocusTrapEnd\" in obj, get: obj => obj.handleFocusTrapEnd }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _cleanup_decorators, { kind: \"method\", name: \"cleanup\", static: false, private: false, access: { has: obj => \"cleanup\" in obj, get: obj => obj.cleanup }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(null, null, _open_decorators, { kind: \"field\", name: \"open\", static: false, private: false, access: { has: obj => \"open\" in obj, get: obj => obj.open, set: (obj, value) => { obj.open = value; } }, metadata: _metadata }, _open_initializers, _open_extraInitializers);\n __esDecorate(null, null, _position_decorators, { kind: \"field\", name: \"position\", static: false, private: false, access: { has: obj => \"position\" in obj, get: obj => obj.position, set: (obj, value) => { obj.position = value; } }, metadata: _metadata }, _position_initializers, _position_extraInitializers);\n __esDecorate(null, null, _size_decorators, { kind: \"field\", name: \"size\", static: false, private: false, access: { has: obj => \"size\" in obj, get: obj => obj.size, set: (obj, value) => { obj.size = value; } }, metadata: _metadata }, _size_initializers, _size_extraInitializers);\n __esDecorate(null, null, _inline_decorators, { kind: \"field\", name: \"inline\", static: false, private: false, access: { has: obj => \"inline\" in obj, get: obj => obj.inline, set: (obj, value) => { obj.inline = value; } }, metadata: _metadata }, _inline_initializers, _inline_extraInitializers);\n __esDecorate(null, null, _breakpoint_decorators, { kind: \"field\", name: \"breakpoint\", static: false, private: false, access: { has: obj => \"breakpoint\" in obj, get: obj => obj.breakpoint, set: (obj, value) => { obj.breakpoint = value; } }, metadata: _metadata }, _breakpoint_initializers, _breakpoint_extraInitializers);\n __esDecorate(null, null, _noBackdrop_decorators, { kind: \"field\", name: \"noBackdrop\", static: false, private: false, access: { has: obj => \"noBackdrop\" in obj, get: obj => obj.noBackdrop, set: (obj, value) => { obj.noBackdrop = value; } }, metadata: _metadata }, _noBackdrop_initializers, _noBackdrop_extraInitializers);\n __esDecorate(null, null, _noBackdropDismiss_decorators, { kind: \"field\", name: \"noBackdropDismiss\", static: false, private: false, access: { has: obj => \"noBackdropDismiss\" in obj, get: obj => obj.noBackdropDismiss, set: (obj, value) => { obj.noBackdropDismiss = value; } }, metadata: _metadata }, _noBackdropDismiss_initializers, _noBackdropDismiss_extraInitializers);\n __esDecorate(null, null, _noEscapeDismiss_decorators, { kind: \"field\", name: \"noEscapeDismiss\", static: false, private: false, access: { has: obj => \"noEscapeDismiss\" in obj, get: obj => obj.noEscapeDismiss, set: (obj, value) => { obj.noEscapeDismiss = value; } }, metadata: _metadata }, _noEscapeDismiss_initializers, _noEscapeDismiss_extraInitializers);\n __esDecorate(null, null, _noFocusTrap_decorators, { kind: \"field\", name: \"noFocusTrap\", static: false, private: false, access: { has: obj => \"noFocusTrap\" in obj, get: obj => obj.noFocusTrap, set: (obj, value) => { obj.noFocusTrap = value; } }, metadata: _metadata }, _noFocusTrap_initializers, _noFocusTrap_extraInitializers);\n __esDecorate(null, null, _persistent_decorators, { kind: \"field\", name: \"persistent\", static: false, private: false, access: { has: obj => \"persistent\" in obj, get: obj => obj.persistent, set: (obj, value) => { obj.persistent = value; } }, metadata: _metadata }, _persistent_initializers, _persistent_extraInitializers);\n __esDecorate(null, null, _pushContent_decorators, { kind: \"field\", name: \"pushContent\", static: false, private: false, access: { has: obj => \"pushContent\" in obj, get: obj => obj.pushContent, set: (obj, value) => { obj.pushContent = value; } }, metadata: _metadata }, _pushContent_initializers, _pushContent_extraInitializers);\n __esDecorate(null, null, _contained_decorators, { kind: \"field\", name: \"contained\", static: false, private: false, access: { has: obj => \"contained\" in obj, get: obj => obj.contained, set: (obj, value) => { obj.contained = value; } }, metadata: _metadata }, _contained_initializers, _contained_extraInitializers);\n __esDecorate(null, null, _noHeader_decorators, { kind: \"field\", name: \"noHeader\", static: false, private: false, access: { has: obj => \"noHeader\" in obj, get: obj => obj.noHeader, set: (obj, value) => { obj.noHeader = value; } }, metadata: _metadata }, _noHeader_initializers, _noHeader_extraInitializers);\n __esDecorate(null, null, _noFooter_decorators, { kind: \"field\", name: \"noFooter\", static: false, private: false, access: { has: obj => \"noFooter\" in obj, get: obj => obj.noFooter, set: (obj, value) => { obj.noFooter = value; } }, metadata: _metadata }, _noFooter_initializers, _noFooter_extraInitializers);\n __esDecorate(null, null, _drawerElement_decorators, { kind: \"field\", name: \"drawerElement\", static: false, private: false, access: { has: obj => \"drawerElement\" in obj, get: obj => obj.drawerElement, set: (obj, value) => { obj.drawerElement = value; } }, metadata: _metadata }, _drawerElement_initializers, _drawerElement_extraInitializers);\n __esDecorate(null, null, _backdropElement_decorators, { kind: \"field\", name: \"backdropElement\", static: false, private: false, access: { has: obj => \"backdropElement\" in obj, get: obj => obj.backdropElement, set: (obj, value) => { obj.backdropElement = value; } }, metadata: _metadata }, _backdropElement_initializers, _backdropElement_extraInitializers);\n __esDecorate(null, null, _closeButton_decorators, { kind: \"field\", name: \"closeButton\", static: false, private: false, access: { has: obj => \"closeButton\" in obj, get: obj => obj.closeButton, set: (obj, value) => { obj.closeButton = value; } }, metadata: _metadata }, _closeButton_initializers, _closeButton_extraInitializers);\n __esDecorate(null, null, _focusTrapStart_decorators, { kind: \"field\", name: \"focusTrapStart\", static: false, private: false, access: { has: obj => \"focusTrapStart\" in obj, get: obj => obj.focusTrapStart, set: (obj, value) => { obj.focusTrapStart = value; } }, metadata: _metadata }, _focusTrapStart_initializers, _focusTrapStart_extraInitializers);\n __esDecorate(null, null, _focusTrapEnd_decorators, { kind: \"field\", name: \"focusTrapEnd\", static: false, private: false, access: { has: obj => \"focusTrapEnd\" in obj, get: obj => obj.focusTrapEnd, set: (obj, value) => { obj.focusTrapEnd = value; } }, metadata: _metadata }, _focusTrapEnd_initializers, _focusTrapEnd_extraInitializers);\n __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: \"class\", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);\n _classThis = _classDescriptor.value;\n if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });\n __runInitializers(_classThis, _classExtraInitializers);\n }\n render() {\n const titleId = this.titleId;\n // If there's a slotted title, reference it; otherwise fall back to a\n // static label so the dialog is never announced without a name.\n return html /*html*/ `\n <div class=\"drawer-backdrop\" part=\"backdrop\"></div>\n\n <div class=\"drawer\" role=\"dialog\" aria-modal=\"true\"\n aria-labelledby=\"${this.noHeader ? '' : titleId}\"\n aria-label=\"${this.noHeader ? 'Drawer' : ''}\"\n tabindex=\"-1\" part=\"base\">\n <span class=\"focus-trap-start\" tabindex=\"0\"></span>\n\n <if ${!this.noHeader}>\n <div class=\"drawer-header\" part=\"header\">\n <h2 class=\"drawer-title\" part=\"title\" id=\"${titleId}\">\n <slot name=\"title\"></slot>\n </h2>\n <if ${!this.persistent}>\n <button class=\"drawer-close\" type=\"button\" aria-label=\"Close\" part=\"close\">${unsafeHTML(X_MARK)}</button>\n </if>\n </div>\n </if>\n\n <div class=\"drawer-body\" part=\"body\">\n <slot></slot>\n </div>\n\n <if ${!this.noFooter}>\n <div class=\"drawer-footer\" part=\"footer\">\n <slot name=\"footer\"></slot>\n </div>\n </if>\n\n <span class=\"focus-trap-end\" tabindex=\"0\"></span>\n </div>\n `;\n }\n styles() {\n return css `${cssContent}`;\n }\n init() {\n // Ensure default attributes are set\n if (!this.hasAttribute('position')) {\n this.setAttribute('position', this.position);\n }\n if (!this.hasAttribute('size')) {\n this.setAttribute('size', this.size);\n }\n this.setAttribute('role', 'complementary');\n this.setAttribute('aria-hidden', String(!this.open));\n // Set up breakpoint listener if specified\n if (this.breakpoint > 0) {\n this.setupBreakpointListener();\n }\n if (this.open && !this.isInlineActive()) {\n this.handleOpen();\n }\n }\n /** Returns true if the drawer is currently in inline mode (either via `inline` prop or active breakpoint). */\n isInlineActive() {\n return this.inline || this.hasAttribute('inline');\n }\n setupBreakpointListener() {\n // Tear down existing listener\n this.teardownBreakpointListener();\n if (this.breakpoint <= 0)\n return;\n this.breakpointQuery = window.matchMedia(`(min-width: ${this.breakpoint}px)`);\n this.boundBreakpointHandler = (e) => this.handleBreakpointChange(e.matches);\n // Apply initial state\n this.handleBreakpointChange(this.breakpointQuery.matches);\n this.breakpointQuery.addEventListener('change', this.boundBreakpointHandler);\n }\n teardownBreakpointListener() {\n if (this.breakpointQuery && this.boundBreakpointHandler) {\n this.breakpointQuery.removeEventListener('change', this.boundBreakpointHandler);\n this.breakpointQuery = undefined;\n this.boundBreakpointHandler = undefined;\n }\n }\n handleBreakpointChange(matches) {\n const wasInline = this.isInlineActive();\n if (matches) {\n // Above breakpoint → inline mode\n this.setAttribute('inline', '');\n // If was overlay and open, tear down overlay behaviors\n if (!wasInline && this.open) {\n this.teardownOverlayBehaviors();\n }\n }\n else {\n // Below breakpoint → overlay mode\n this.removeAttribute('inline');\n // If was inline and now overlay, re-apply overlay behaviors if open\n if (wasInline && this.open) {\n this.handleOpen();\n }\n }\n }\n teardownOverlayBehaviors() {\n // Remove escape handler\n if (this.boundHandleEscape) {\n document.removeEventListener('keydown', this.boundHandleEscape);\n this.boundHandleEscape = undefined;\n }\n }\n handleBreakpointPropChange() {\n if (this.breakpoint > 0) {\n this.setupBreakpointListener();\n }\n else {\n this.teardownBreakpointListener();\n // If breakpoint removed, also remove inline if it was set by breakpoint\n // (user's explicit `inline` prop is separate)\n if (!this.inline) {\n this.removeAttribute('inline');\n }\n }\n }\n handleOpenChange() {\n // Prevent duplicate handling\n if (this.isHandlingOpenChange)\n return;\n this.isHandlingOpenChange = true;\n try {\n this.setAttribute('aria-hidden', String(!this.open));\n // In inline mode, skip overlay behaviors entirely\n if (this.isInlineActive())\n return;\n if (this.open) {\n this.handleOpen();\n }\n else {\n this.handleClose();\n }\n }\n finally {\n this.isHandlingOpenChange = false;\n }\n }\n handleBackdropClick(e) {\n if (!this.noBackdropDismiss && !this.persistent) {\n e.stopPropagation();\n this.hide();\n }\n }\n handleCloseClick(e) {\n if (this.persistent)\n return;\n e.stopPropagation();\n this.hide();\n }\n handleFocusTrapStart(e) {\n if (!this.noFocusTrap) {\n // Focus the last focusable element in the drawer\n const focusableElements = this.getFocusableElements();\n if (focusableElements.length > 0) {\n focusableElements[focusableElements.length - 1].focus();\n }\n }\n }\n handleFocusTrapEnd(e) {\n if (!this.noFocusTrap) {\n // Focus the first focusable element in the drawer\n const focusableElements = this.getFocusableElements();\n if (focusableElements.length > 0) {\n focusableElements[0].focus();\n }\n }\n }\n handleOpen() {\n // Store current focus\n this.previousFocus = document.activeElement;\n // Add escape key handler\n if (!this.noEscapeDismiss && !this.persistent) {\n this.boundHandleEscape = (e) => {\n if (e.key === 'Escape') {\n e.preventDefault();\n this.hide();\n }\n };\n document.addEventListener('keydown', this.boundHandleEscape);\n }\n // Lock body scroll for full-page (non-contained) drawers.\n // Refcounted: stays locked while any other overlay is also locked.\n if (!this.contained && !this.scrollLocked) {\n lockBodyScroll();\n this.scrollLocked = true;\n }\n // Focus management (skip for contained drawers — they're in-page, not modal)\n if (!this.noFocusTrap && !this.contained && this.drawerElement) {\n this.drawerElement.focus({ preventScroll: true });\n }\n this.dispatchOpenEvent();\n }\n handleClose() {\n // Remove escape key handler\n if (this.boundHandleEscape) {\n document.removeEventListener('keydown', this.boundHandleEscape);\n this.boundHandleEscape = undefined;\n }\n // Unlock body scroll for full-page (non-contained) drawers\n if (this.scrollLocked) {\n unlockBodyScroll();\n this.scrollLocked = false;\n }\n // Restore focus\n if (this.previousFocus && this.previousFocus.focus) {\n this.previousFocus.focus();\n this.previousFocus = undefined;\n }\n this.dispatchCloseEvent();\n }\n getFocusableElements() {\n if (!this.drawerElement)\n return [];\n const selector = 'a[href], button:not([disabled]), textarea:not([disabled]), ' +\n 'input:not([disabled]), select:not([disabled]), ' +\n '[tabindex]:not([tabindex=\"-1\"])';\n // Include slotted (light DOM) focusables, same fix as modal.\n const shadow = Array.from(this.drawerElement.querySelectorAll(selector));\n const light = Array.from(this.querySelectorAll(selector));\n return [...shadow, ...light];\n }\n dispatchOpenEvent() {\n // Prevent duplicate events within 100ms\n const now = Date.now();\n if (this.lastEventType === 'open' && (now - this.lastEventTime) < 100) {\n return;\n }\n this.lastEventType = 'open';\n this.lastEventTime = now;\n // Manually dispatch event\n this.dispatchEvent(new CustomEvent('drawer-open', {\n bubbles: true,\n composed: true,\n detail: { drawer: this }\n }));\n }\n dispatchCloseEvent() {\n // Prevent duplicate events within 100ms\n const now = Date.now();\n if (this.lastEventType === 'close' && (now - this.lastEventTime) < 100) {\n return;\n }\n this.lastEventType = 'close';\n this.lastEventTime = now;\n // Manually dispatch event\n this.dispatchEvent(new CustomEvent('drawer-close', {\n bubbles: true,\n composed: true,\n detail: { drawer: this }\n }));\n }\n cleanup() {\n if (this.boundHandleEscape) {\n document.removeEventListener('keydown', this.boundHandleEscape);\n }\n this.teardownBreakpointListener();\n // Release body scroll lock if the drawer was open when disconnected\n if (this.scrollLocked) {\n unlockBodyScroll();\n this.scrollLocked = false;\n }\n }\n // Public API\n show() {\n this.open = true;\n }\n hide() {\n this.open = false;\n }\n toggle() {\n this.open = !this.open;\n }\n });\n return _classThis;\n})();\n\nexport { SniceDrawer };\n//# sourceMappingURL=snice-drawer.js.map\n","/**\n * Built-in snice icon set — a small curated subset of Heroicons, used by\n * components as their default glyph when no consumer slot or `icon` prop is\n * provided. Consumers can always override by slotting their own icon library\n * (Font Awesome, Material Symbols, Lucide, custom SVG, etc.).\n *\n * Copied from Heroicons v2 — MIT License, © Tailwind Labs.\n * https://github.com/tailwindlabs/heroicons\n *\n * Why embed instead of depending on a package:\n * - Snice ships zero runtime dependencies beyond the framework itself.\n * - We only need ~15 glyphs; the full Heroicons package is 600+ icons.\n * - Embedding sidesteps shadow DOM / module-resolution concerns and keeps\n * default icons available even in sandboxed environments.\n *\n * All SVGs:\n * - viewBox=\"0 0 24 24\"\n * - solid variants use `fill=\"currentColor\"`\n * - outline variants use `stroke=\"currentColor\"` + no fill\n *\n * Components pass `currentColor` through by setting `color:` on the wrapper.\n */\n// ─── SOLID (filled) — used for status / selected / active contexts ────────\nconst INFO_CIRCLE_SOLID = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm8.706-1.442c1.146-.573 2.437.463 2.126 1.706l-.709 2.836.042-.02a.75.75 0 0 1 .67 1.34l-.04.022c-1.147.573-2.438-.463-2.127-1.706l.71-2.836-.042.02a.75.75 0 1 1-.671-1.34l.041-.022ZM12 9a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z\" clip-rule=\"evenodd\"/></svg>`;\nconst CHECK_CIRCLE_SOLID = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z\" clip-rule=\"evenodd\"/></svg>`;\nconst EXCLAMATION_TRIANGLE_SOLID = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z\" clip-rule=\"evenodd\"/></svg>`;\nconst X_CIRCLE_SOLID = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-1.72 6.97a.75.75 0 1 0-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06L12 13.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L13.06 12l1.72-1.72a.75.75 0 1 0-1.06-1.06L12 10.94l-1.72-1.72Z\" clip-rule=\"evenodd\"/></svg>`;\n// ─── OUTLINE — used for neutral UI chrome ──────────────────────────────────\nconst X_MARK = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M6 18 18 6M6 6l12 12\"/></svg>`;\nconst CHEVRON_DOWN = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m19.5 8.25-7.5 7.5-7.5-7.5\"/></svg>`;\nconst CHEVRON_UP = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m4.5 15.75 7.5-7.5 7.5 7.5\"/></svg>`;\nconst CHEVRON_RIGHT = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m8.25 4.5 7.5 7.5-7.5 7.5\"/></svg>`;\nconst CHEVRON_LEFT = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M15.75 19.5 8.25 12l7.5-7.5\"/></svg>`;\nconst CHECK = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m4.5 12.75 6 6 9-13.5\"/></svg>`;\nconst MAGNIFYING_GLASS = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z\"/></svg>`;\nconst BARS_3 = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5\"/></svg>`;\nconst PHOTO = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z\"/></svg>`;\nconst ELLIPSIS_HORIZONTAL = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z\"/></svg>`;\nconst TRASH = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0\"/></svg>`;\nconst PLUS = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M12 4.5v15m7.5-7.5h-15\"/></svg>`;\nconst CAMERA = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M6.827 6.175A2.31 2.31 0 0 1 5.186 7.23c-.38.054-.757.112-1.134.175C2.999 7.58 2.25 8.507 2.25 9.574V18a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9.574c0-1.067-.75-1.994-1.802-2.169a47.865 47.865 0 0 0-1.134-.175 2.31 2.31 0 0 1-1.64-1.055l-.822-1.316a2.192 2.192 0 0 0-1.736-1.039 48.774 48.774 0 0 0-5.232 0 2.192 2.192 0 0 0-1.736 1.039l-.822 1.316Z\"/><path d=\"M16.5 12.75a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM18.75 10.5h.008v.008h-.008V10.5Z\"/></svg>`;\nconst PENCIL = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125\"/></svg>`;\nconst ARROW_UP = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M12 19.5v-15m0 0-6.75 6.75M12 4.5l6.75 6.75\"/></svg>`;\nconst ARROW_DOWN = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M12 4.5v15m0 0 6.75-6.75M12 19.5l-6.75-6.75\"/></svg>`;\nconst ARROW_RIGHT = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M4.5 12h15m0 0-6.75-6.75M19.5 12l-6.75 6.75\"/></svg>`;\nconst ARROW_TRENDING_UP = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M2.25 18 9 11.25l4.306 4.306a11.95 11.95 0 0 1 5.814-5.518l2.74-1.22m0 0-5.94-2.281m5.94 2.28-2.28 5.941\"/></svg>`;\nconst ARROW_TRENDING_DOWN = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M2.25 6 9 12.75l4.286-4.286a11.948 11.948 0 0 1 4.306 6.43l.776 2.898m0 0 3.182-5.511m-3.182 5.511-5.511-3.181\"/></svg>`;\nconst STAR_SOLID = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.007 5.404.433c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.433 2.082-5.006Z\" clip-rule=\"evenodd\"/></svg>`;\nconst STAR_OUTLINE = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M11.48 3.499a.562.562 0 0 1 1.04 0l2.125 5.111a.563.563 0 0 0 .475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 0 0-.182.557l1.285 5.385a.562.562 0 0 1-.84.61l-4.725-2.885a.562.562 0 0 0-.586 0L6.982 20.54a.562.562 0 0 1-.84-.61l1.285-5.386a.562.562 0 0 0-.182-.557l-4.204-3.602a.562.562 0 0 1 .321-.988l5.518-.442a.563.563 0 0 0 .475-.345L11.48 3.5Z\"/></svg>`;\nconst CIRCLE_SOLID = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"8\"/></svg>`;\nconst FUNNEL = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z\"/></svg>`;\nconst ARROW_DOWN_TRAY = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3\"/></svg>`;\nconst ARROWS_POINTING_OUT = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15\"/></svg>`;\nconst EYE_SLASH = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88\"/></svg>`;\nconst MAP_PIN = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/><path d=\"M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z\"/></svg>`;\nconst ARROWS_RIGHT_LEFT = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M7.5 21 3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5\"/></svg>`;\n/** Small lookup for named access from template-string paths. */\nconst ICONS = {\n 'info-circle': INFO_CIRCLE_SOLID,\n 'check-circle': CHECK_CIRCLE_SOLID,\n 'exclamation-triangle': EXCLAMATION_TRIANGLE_SOLID,\n 'x-circle': X_CIRCLE_SOLID,\n 'x-mark': X_MARK,\n 'chevron-down': CHEVRON_DOWN,\n 'chevron-up': CHEVRON_UP,\n 'chevron-right': CHEVRON_RIGHT,\n 'chevron-left': CHEVRON_LEFT,\n 'check': CHECK,\n 'magnifying-glass': MAGNIFYING_GLASS,\n 'bars-3': BARS_3,\n 'photo': PHOTO,\n 'ellipsis-horizontal': ELLIPSIS_HORIZONTAL,\n 'trash': TRASH,\n 'plus': PLUS,\n 'camera': CAMERA,\n 'pencil': PENCIL,\n 'arrow-up': ARROW_UP,\n 'arrow-down': ARROW_DOWN,\n 'arrow-right': ARROW_RIGHT,\n 'arrow-trending-up': ARROW_TRENDING_UP,\n 'arrow-trending-down': ARROW_TRENDING_DOWN,\n 'star': STAR_SOLID,\n 'star-outline': STAR_OUTLINE,\n 'circle': CIRCLE_SOLID,\n};\n\nexport { ARROWS_POINTING_OUT, ARROWS_RIGHT_LEFT, ARROW_DOWN, ARROW_DOWN_TRAY, ARROW_RIGHT, ARROW_TRENDING_DOWN, ARROW_TRENDING_UP, ARROW_UP, BARS_3, CAMERA, CHECK, CHECK_CIRCLE_SOLID, CHEVRON_DOWN, CHEVRON_LEFT, CHEVRON_RIGHT, CHEVRON_UP, CIRCLE_SOLID, ELLIPSIS_HORIZONTAL, EXCLAMATION_TRIANGLE_SOLID, EYE_SLASH, FUNNEL, ICONS, INFO_CIRCLE_SOLID, MAGNIFYING_GLASS, MAP_PIN, PENCIL, PHOTO, PLUS, STAR_OUTLINE, STAR_SOLID, TRASH, X_CIRCLE_SOLID, X_MARK };\n//# sourceMappingURL=index.js.map\n","import { __runInitializers, __esDecorate } from 'tslib';\nimport { element, property, render, styles, ready, watch, dispose, html, css } from 'snice';\n\nvar cssContent = \":host{display:block;transition:transform var(--snice-transition-medium, 250ms) var(--snice-ease-in-out, cubic-bezier(.76, 0, .24, 1))}\";\n\nlet SniceDrawerTarget = (() => {\n let _classDecorators = [element('snice-drawer-target')];\n let _classDescriptor;\n let _classExtraInitializers = [];\n let _classThis;\n let _classSuper = HTMLElement;\n let _instanceExtraInitializers = [];\n let _for_decorators;\n let _for_initializers = [];\n let _for_extraInitializers = [];\n let _push_decorators;\n let _push_initializers = [];\n let _push_extraInitializers = [];\n let _renderContent_decorators;\n let _componentStyles_decorators;\n let _init_decorators;\n let _handleForChange_decorators;\n let _handlePushChange_decorators;\n let _cleanup_decorators;\n (class extends _classSuper {\n static { _classThis = this; }\n constructor() {\n super(...arguments);\n this.for = (__runInitializers(this, _instanceExtraInitializers), __runInitializers(this, _for_initializers, ''));\n this.push = (__runInitializers(this, _for_extraInitializers), __runInitializers(this, _push_initializers, ''));\n this.drawerEl = (__runInitializers(this, _push_extraInitializers), null);\n this.observer = null;\n }\n static {\n const _metadata = typeof Symbol === \"function\" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;\n _for_decorators = [property({ attribute: 'for' })];\n _push_decorators = [property()];\n _renderContent_decorators = [render()];\n _componentStyles_decorators = [styles()];\n _init_decorators = [ready()];\n _handleForChange_decorators = [watch('for')];\n _handlePushChange_decorators = [watch('push')];\n _cleanup_decorators = [dispose()];\n __esDecorate(this, null, _renderContent_decorators, { kind: \"method\", name: \"renderContent\", static: false, private: false, access: { has: obj => \"renderContent\" in obj, get: obj => obj.renderContent }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _componentStyles_decorators, { kind: \"method\", name: \"componentStyles\", static: false, private: false, access: { has: obj => \"componentStyles\" in obj, get: obj => obj.componentStyles }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _init_decorators, { kind: \"method\", name: \"init\", static: false, private: false, access: { has: obj => \"init\" in obj, get: obj => obj.init }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _handleForChange_decorators, { kind: \"method\", name: \"handleForChange\", static: false, private: false, access: { has: obj => \"handleForChange\" in obj, get: obj => obj.handleForChange }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _handlePushChange_decorators, { kind: \"method\", name: \"handlePushChange\", static: false, private: false, access: { has: obj => \"handlePushChange\" in obj, get: obj => obj.handlePushChange }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _cleanup_decorators, { kind: \"method\", name: \"cleanup\", static: false, private: false, access: { has: obj => \"cleanup\" in obj, get: obj => obj.cleanup }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(null, null, _for_decorators, { kind: \"field\", name: \"for\", static: false, private: false, access: { has: obj => \"for\" in obj, get: obj => obj.for, set: (obj, value) => { obj.for = value; } }, metadata: _metadata }, _for_initializers, _for_extraInitializers);\n __esDecorate(null, null, _push_decorators, { kind: \"field\", name: \"push\", static: false, private: false, access: { has: obj => \"push\" in obj, get: obj => obj.push, set: (obj, value) => { obj.push = value; } }, metadata: _metadata }, _push_initializers, _push_extraInitializers);\n __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: \"class\", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);\n _classThis = _classDescriptor.value;\n if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });\n __runInitializers(_classThis, _classExtraInitializers);\n }\n renderContent() {\n return html `<slot></slot>`;\n }\n componentStyles() {\n return css `${cssContent}`;\n }\n init() {\n this.connectDrawer();\n }\n handleForChange() {\n this.disconnectDrawer();\n this.connectDrawer();\n }\n handlePushChange() {\n if (this.push) {\n this.style.transform = `translateX(${this.push})`;\n }\n else {\n this.style.transform = '';\n }\n // overflow:hidden containers scroll when transforms change — reset it\n const parent = this.parentElement;\n if (parent) {\n parent.scrollLeft = 0;\n parent.scrollTop = 0;\n }\n }\n connectDrawer() {\n if (!this.for)\n return;\n this.drawerEl = document.getElementById(this.for);\n if (!this.drawerEl)\n return;\n this.sync();\n this.observer = new MutationObserver(() => this.sync());\n this.observer.observe(this.drawerEl, { attributes: true, attributeFilter: ['open'] });\n }\n disconnectDrawer() {\n if (this.observer) {\n this.observer.disconnect();\n this.observer = null;\n }\n this.drawerEl = null;\n this.push = '';\n }\n sync() {\n if (!this.drawerEl)\n return;\n const isOpen = this.drawerEl.hasAttribute('open');\n const hasPush = this.drawerEl.hasAttribute('push-content');\n if (!hasPush || !isOpen) {\n this.push = '';\n return;\n }\n // Measure the drawer panel directly\n const panel = this.drawerEl.shadowRoot?.querySelector('.drawer');\n if (!panel)\n return;\n const position = this.drawerEl.getAttribute('position') || 'left';\n if (position === 'top' || position === 'bottom') {\n this.push = panel.offsetHeight + 'px';\n }\n else {\n this.push = panel.offsetWidth + 'px';\n }\n }\n cleanup() {\n this.disconnectDrawer();\n }\n });\n return _classThis;\n})();\n\nexport { SniceDrawerTarget };\n//# sourceMappingURL=snice-drawer-target.js.map\n"],"names":["__esDecorate","ctor","descriptorIn","decorators","contextIn","initializers","extraInitializers","accept","f","TypeError","_","kind","key","target","prototype","descriptor","Object","getOwnPropertyDescriptor","name","done","i","length","context","p","access","addInitializer","push","result","get","set","init","unshift","defineProperty","__runInitializers","thisArg","value","useValue","arguments","call","SuppressedError","_classDescriptor","_classThis","_open_decorators","_position_decorators","_size_decorators","_inline_decorators","_breakpoint_decorators","_noBackdrop_decorators","_noBackdropDismiss_decorators","_noEscapeDismiss_decorators","_noFocusTrap_decorators","_persistent_decorators","_pushContent_decorators","_contained_decorators","_noHeader_decorators","_noFooter_decorators","_drawerElement_decorators","_backdropElement_decorators","_closeButton_decorators","_focusTrapStart_decorators","_focusTrapEnd_decorators","_render_decorators","_styles_decorators","_init_decorators","_handleBreakpointPropChange_decorators","_handleOpenChange_decorators","_handleBackdropClick_decorators","_handleCloseClick_decorators","_handleFocusTrapStart_decorators","_handleFocusTrapEnd_decorators","_cleanup_decorators","_classDecorators","element","_classExtraInitializers","_classSuper","HTMLElement","_instanceExtraInitializers","_open_initializers","_open_extraInitializers","_position_initializers","_position_extraInitializers","_size_initializers","_size_extraInitializers","_inline_initializers","_inline_extraInitializers","_breakpoint_initializers","_breakpoint_extraInitializers","_noBackdrop_initializers","_noBackdrop_extraInitializers","_noBackdropDismiss_initializers","_noBackdropDismiss_extraInitializers","_noEscapeDismiss_initializers","_noEscapeDismiss_extraInitializers","_noFocusTrap_initializers","_noFocusTrap_extraInitializers","_persistent_initializers","_persistent_extraInitializers","_pushContent_initializers","_pushContent_extraInitializers","_contained_initializers","_contained_extraInitializers","_noHeader_initializers","_noHeader_extraInitializers","_noFooter_initializers","_noFooter_extraInitializers","_drawerElement_initializers","_drawerElement_extraInitializers","_backdropElement_initializers","_backdropElement_extraInitializers","_closeButton_initializers","_closeButton_extraInitializers","_focusTrapStart_initializers","_focusTrapStart_extraInitializers","_focusTrapEnd_initializers","_focusTrapEnd_extraInitializers","this","constructor","super","open","position","size","inline","breakpoint","noBackdrop","noBackdropDismiss","noEscapeDismiss","noFocusTrap","persistent","pushContent","contained","noHeader","noFooter","drawerElement","backdropElement","closeButton","focusTrapStart","focusTrapEnd","previousFocus","scrollLocked","isHandlingOpenChange","titleId","Math","random","toString","slice","lastEventType","lastEventTime","_metadata","Symbol","metadata","create","property","type","Boolean","Number","attribute","query","render","styles","ready","watch","on","dispose","static","private","has","obj","handleBreakpointPropChange","handleOpenChange","handleBackdropClick","handleCloseClick","handleFocusTrapStart","handleFocusTrapEnd","cleanup","enumerable","configurable","writable","html","unsafeHTML","css","hasAttribute","setAttribute","String","setupBreakpointListener","isInlineActive","handleOpen","teardownBreakpointListener","breakpointQuery","window","matchMedia","boundBreakpointHandler","e","handleBreakpointChange","matches","addEventListener","removeEventListener","undefined","wasInline","teardownOverlayBehaviors","removeAttribute","boundHandleEscape","document","handleClose","stopPropagation","hide","focusableElements","getFocusableElements","focus","activeElement","preventDefault","lockBodyScroll","preventScroll","dispatchOpenEvent","unlockBodyScroll","dispatchCloseEvent","selector","Array","from","querySelectorAll","now","Date","dispatchEvent","CustomEvent","bubbles","composed","detail","drawer","show","toggle","_for_decorators","_push_decorators","_renderContent_decorators","_componentStyles_decorators","_handleForChange_decorators","_handlePushChange_decorators","_for_initializers","_for_extraInitializers","_push_initializers","_push_extraInitializers","for","drawerEl","observer","renderContent","componentStyles","handleForChange","handlePushChange","connectDrawer","disconnectDrawer","style","transform","parent","parentElement","scrollLeft","scrollTop","getElementById","sync","MutationObserver","observe","attributes","attributeFilter","disconnect","isOpen","panel","shadowRoot","querySelector","getAttribute","offsetHeight","offsetWidth"],"mappings":";;;;;;2IAiEO,SAASA,EAAaC,EAAMC,EAAcC,EAAYC,EAAWC,EAAcC,GACpF,SAASC,EAAOC,GAAK,QAAU,IAANA,GAA6B,mBAANA,EAAkB,MAAM,IAAIC,UAAU,qBAAsB,OAAOD,CAAG,CAKtH,IAJA,IAGIE,EAHAC,EAAOP,EAAUO,KAAMC,EAAe,WAATD,EAAoB,MAAiB,WAATA,EAAoB,MAAQ,QACrFE,GAAUX,GAAgBD,EAAOG,EAAkB,OAAIH,EAAOA,EAAKa,UAAY,KAC/EC,EAAab,IAAiBW,EAASG,OAAOC,yBAAyBJ,EAAQT,EAAUc,MAAQ,IAC9FC,GAAO,EACLC,EAAIjB,EAAWkB,OAAS,EAAGD,GAAK,EAAGA,IAAK,CAC7C,IAAIE,EAAU,CAAA,EACd,IAAK,IAAIC,KAAKnB,EAAWkB,EAAQC,GAAW,WAANA,EAAiB,CAAA,EAAKnB,EAAUmB,GACtE,IAAK,IAAIA,KAAKnB,EAAUoB,OAAQF,EAAQE,OAAOD,GAAKnB,EAAUoB,OAAOD,GACrED,EAAQG,eAAiB,SAAUjB,GAAK,GAAIW,EAAM,MAAM,IAAIV,UAAU,0DAA2DH,EAAkBoB,KAAKnB,EAAOC,GAAK,MAAQ,EAC5K,IAAImB,GAAS,EAAIxB,EAAWiB,IAAa,aAATT,EAAsB,CAAEiB,IAAKb,EAAWa,IAAKC,IAAKd,EAAWc,KAAQd,EAAWH,GAAMU,GACtH,GAAa,aAATX,EAAqB,CACrB,QAAe,IAAXgB,EAAmB,SACvB,GAAe,OAAXA,GAAqC,iBAAXA,EAAq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,SAASuB,YAAYC,cAAc,WACtD,IAAKF,EACD,OACJ,MAAM/I,EAAWJ,KAAK6H,SAASyB,aAAa,aAAe,OAEvDtJ,KAAKzF,KADQ,QAAb6F,GAAmC,WAAbA,EACV+I,EAAMI,aAAe,KAGrBJ,EAAMK,YAAc,IAExC,CACA,OAAA9F,GACI1D,KAAKoI,kBACT,GAGP,EA1HuB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"snice-drawer.min.js","sources":["../../../node_modules/tslib/tslib.es6.mjs","../../components/drawer/snice-drawer.js","../../components/icons/index.js","../../components/drawer/snice-drawer-target.js"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n","import { __runInitializers, __esDecorate } from 'tslib';\nimport { element, property, query, render, styles, ready, watch, on, dispose, unsafeHTML, html, css, lockBodyScroll, unlockBodyScroll } from 'snice';\nimport { X_MARK } from '../icons/index.js';\n\nvar cssContent = \":host{--drawer-width-small:var(--snice-size-drawer-small, 15rem);--drawer-width-medium:var(--snice-size-drawer-medium, 20rem);--drawer-width-large:var(--snice-size-drawer-large, 30rem);--drawer-width-xl:var(--snice-size-drawer-xl, 40rem);--drawer-width-xxl:var(--snice-size-drawer-xxl, 50rem);--drawer-width-xxxl:var(--snice-size-drawer-xxxl, 60rem);--drawer-height-small:var(--snice-size-drawer-height-small, 12.5rem);--drawer-height-medium:var(--snice-size-drawer-height-medium, 25rem);--drawer-height-large:var(--snice-size-drawer-height-large, 37.5rem);--drawer-height-xl:var(--snice-size-drawer-height-xl, 70vh);--drawer-height-xxl:var(--snice-size-drawer-height-xxl, 80vh);--drawer-height-xxxl:var(--snice-size-drawer-height-xxxl, 90vh);--drawer-bg:var(--snice-color-surface-container-highest, var(--snice-color-surface, white));--drawer-shadow:var(--snice-shadow-2xl, 0 25px 50px -12px rgb(0 0 0 / 0.25));--drawer-backdrop:var(--snice-color-backdrop, rgb(0 0 0 / 0.6));--drawer-backdrop-blur:6px;--drawer-transition:transform 320ms var(--snice-ease-out, cubic-bezier(0.22, 1, 0.36, 1));--drawer-z-index:var(--snice-z-overlay, 1050);display:block;position:fixed;top:0;left:0;width:100vw;height:100vh;pointer-events:none;z-index:var(--drawer-z-index);isolation:isolate;font-family:var(--snice-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif)}:host([contained]){position:absolute;width:100%;height:100%;overflow:clip}:host([contained][inline]){overflow:visible}.drawer-backdrop{position:absolute;inset:0;background:var(--drawer-backdrop);backdrop-filter:blur(var(--drawer-backdrop-blur));-webkit-backdrop-filter:blur(var(--drawer-backdrop-blur));opacity:0;transition:opacity var(--snice-transition-medium, 250ms) var(--snice-ease-in-out, cubic-bezier(.76, 0, .24, 1));z-index:var(--drawer-z-index);pointer-events:none;visibility:hidden}:host([open]){pointer-events:auto}:host([open]) .drawer-backdrop{opacity:1;pointer-events:auto;visibility:visible}:host([no-backdrop]) .drawer-backdrop{display:none}.drawer{position:absolute;background:var(--drawer-bg);box-shadow:var(--drawer-shadow);transition:var(--drawer-transition);z-index:calc(var(--drawer-z-index) + 1);display:flex;flex-direction:column;outline:0;overflow:hidden;pointer-events:auto}:host(:not([position])) .drawer{top:0;left:0;height:100%;width:var(--drawer-width-medium);transform:translateX(-100%)}:host(:not([position])[open]) .drawer{transform:translateX(0)}:host([position=left]) .drawer{top:0;left:0;height:100%;width:var(--drawer-width-medium);transform:translateX(-100%)}:host([position=left][size=small]) .drawer{width:var(--drawer-width-small)}:host([position=left][size=medium]) .drawer{width:var(--drawer-width-medium)}:host([position=left][size=large]) .drawer{width:var(--drawer-width-large)}:host([position=left][size=xl]) .drawer{width:var(--drawer-width-xl)}:host([position=left][size=xxl]) .drawer{width:var(--drawer-width-xxl)}:host([position=left][size=xxxl]) .drawer{width:var(--drawer-width-xxxl)}:host([position=left][size=full]) .drawer{width:100%}:host([position=left][open]) .drawer{transform:translateX(0)}:host([position=right]) .drawer{top:0;right:0;height:100%;width:var(--drawer-width-medium);transform:translateX(100%)}:host([position=right][size=small]) .drawer{width:var(--drawer-width-small)}:host([position=right][size=medium]) .drawer{width:var(--drawer-width-medium)}:host([position=right][size=large]) .drawer{width:var(--drawer-width-large)}:host([position=right][size=xl]) .drawer{width:var(--drawer-width-xl)}:host([position=right][size=xxl]) .drawer{width:var(--drawer-width-xxl)}:host([position=right][size=xxxl]) .drawer{width:var(--drawer-width-xxxl)}:host([position=right][size=full]) .drawer{width:100%}:host([position=right][open]) .drawer{transform:translateX(0)}:host([position=top]) .drawer{top:0;left:0;width:100%;height:var(--drawer-height-medium);transform:translateY(-100%);border-bottom:1px solid var(--snice-color-border,rgb(229 231 235));box-shadow:var(--snice-shadow-lg,0 10px 24px -3px hsl(0 0% 0% / .05),0 4px 12px -4px hsl(0 0% 0% / .06))}:host([position=top][size=small]) .drawer{height:var(--drawer-height-small)}:host([position=top][size=medium]) .drawer{height:var(--drawer-height-medium)}:host([position=top][size=large]) .drawer{height:var(--drawer-height-large)}:host([position=top][size=xl]) .drawer{height:var(--drawer-height-xl)}:host([position=top][size=xxl]) .drawer{height:var(--drawer-height-xxl)}:host([position=top][size=xxxl]) .drawer{height:var(--drawer-height-xxxl)}:host([position=top][size=full]) .drawer{height:100%}:host([position=top][open]) .drawer{transform:translateY(0)}:host([position=bottom]) .drawer{bottom:0;left:0;width:100%;height:var(--drawer-height-medium);transform:translateY(100%);border-top:1px solid var(--snice-color-border,rgb(229 231 235));box-shadow:var(--snice-shadow-lg,0 10px 24px -3px hsl(0 0% 0% / .05),0 4px 12px -4px hsl(0 0% 0% / .06))}:host([position=bottom][size=small]) .drawer{height:var(--drawer-height-small)}:host([position=bottom][size=medium]) .drawer{height:var(--drawer-height-medium)}:host([position=bottom][size=large]) .drawer{height:var(--drawer-height-large)}:host([position=bottom][size=xl]) .drawer{height:var(--drawer-height-xl)}:host([position=bottom][size=xxl]) .drawer{height:var(--drawer-height-xxl)}:host([position=bottom][size=xxxl]) .drawer{height:var(--drawer-height-xxxl)}:host([position=bottom][size=full]) .drawer{height:100%}:host([position=bottom][open]) .drawer{transform:translateY(0)}.drawer-header{font-family:var(--snice-font-family-display);display:flex;align-items:center;justify-content:space-between;padding:var(--snice-spacing-md,1rem) var(--snice-spacing-lg,1.25rem);padding-bottom:var(--snice-spacing-sm,.5rem);background:0 0;flex-shrink:0}.drawer-header:has(.drawer-title:empty):not(:has(.drawer-close)){font-family:var(--snice-font-family-display);display:none}.drawer-title{font-family:var(--snice-font-family-display);font-size:var(--snice-heading-md, 1.125rem);font-weight:var(--snice-font-weight-semibold,600);margin:0;color:var(--snice-color-text,rgb(17 24 39));line-height:var(--snice-line-height-tight, 1.25)}.drawer-close{display:flex;align-items:center;justify-content:center;width:var(--snice-size-control-md,2rem);height:var(--snice-size-control-md,2rem);border:none;background:0 0;border-radius:var(--snice-border-radius-md,6px);cursor:pointer;color:var(--snice-color-text-secondary,rgb(107 114 128));transition:all var(--snice-transition-fast, 150ms) ease}.drawer-close:hover{background:var(--snice-color-surface-hover,rgb(243 244 246));color:var(--snice-color-text,rgb(17 24 39))}.drawer-close:focus-visible{outline:var(--snice-focus-ring-width,2px) solid var(--snice-focus-ring-color,rgb(59 130 246));outline-offset:var(--snice-focus-ring-offset,2px)}.drawer-close svg{width:1.125rem;height:1.125rem}.drawer-body{flex:1;padding:var(--snice-spacing-lg,1.25rem);overflow-y:auto;overflow-x:hidden;color:var(--snice-color-text,rgb(17 24 39))}.drawer-footer{padding:var(--snice-spacing-md,1rem) var(--snice-spacing-lg,1.25rem);padding-top:var(--snice-spacing-sm,.5rem);background:0 0;flex-shrink:0}.drawer-footer:empty{display:none}@media (prefers-reduced-motion:reduce){.drawer,.drawer-backdrop{transition:none}}@media (max-width:640px){:host([position=left][size=large]) .drawer,:host([position=left][size=medium]) .drawer,:host([position=left][size=xl]) .drawer,:host([position=left][size=xxl]) .drawer,:host([position=left][size=xxxl]) .drawer,:host([position=right][size=large]) .drawer,:host([position=right][size=medium]) .drawer,:host([position=right][size=xl]) .drawer,:host([position=right][size=xxl]) .drawer,:host([position=right][size=xxxl]) .drawer{width:calc(100% - 2.5rem)}}.focus-trap-end,.focus-trap-start{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:host([push-content]){--drawer-push-amount:0px}:host([push-content][position=left][open][size=small]){--drawer-push-amount:var(--drawer-width-small)}:host([push-content][position=left][open][size=medium]){--drawer-push-amount:var(--drawer-width-medium)}:host([push-content][position=left][open][size=large]){--drawer-push-amount:var(--drawer-width-large)}:host([push-content][position=left][open][size=xl]){--drawer-push-amount:var(--drawer-width-xl)}:host([push-content][position=left][open][size=xxl]){--drawer-push-amount:var(--drawer-width-xxl)}:host([push-content][position=left][open][size=xxxl]){--drawer-push-amount:var(--drawer-width-xxxl)}:host([push-content][position=left][open][size=full]){--drawer-push-amount:100vw}:host([push-content][position=left][open]:not([size])){--drawer-push-amount:var(--drawer-width-medium)}:host([push-content][position=right][open][size=small]){--drawer-push-amount:calc(-1 * var(--drawer-width-small))}:host([push-content][position=right][open][size=medium]){--drawer-push-amount:calc(-1 * var(--drawer-width-medium))}:host([push-content][position=right][open][size=large]){--drawer-push-amount:calc(-1 * var(--drawer-width-large))}:host([push-content][position=right][open][size=xl]){--drawer-push-amount:calc(-1 * var(--drawer-width-xl))}:host([push-content][position=right][open][size=xxl]){--drawer-push-amount:calc(-1 * var(--drawer-width-xxl))}:host([push-content][position=right][open][size=xxxl]){--drawer-push-amount:calc(-1 * var(--drawer-width-xxxl))}:host([push-content][position=right][open][size=full]){--drawer-push-amount:-100vw}:host([push-content][position=right][open]:not([size])){--drawer-push-amount:calc(-1 * var(--drawer-width-medium))}:host([push-content][position=top][open][size=small]){--drawer-push-amount:var(--drawer-height-small)}:host([push-content][position=top][open][size=medium]){--drawer-push-amount:var(--drawer-height-medium)}:host([push-content][position=top][open][size=large]){--drawer-push-amount:var(--drawer-height-large)}:host([push-content][position=top][open][size=xl]){--drawer-push-amount:var(--drawer-height-xl)}:host([push-content][position=top][open][size=xxl]){--drawer-push-amount:var(--drawer-height-xxl)}:host([push-content][position=top][open][size=xxxl]){--drawer-push-amount:var(--drawer-height-xxxl)}:host([push-content][position=top][open][size=full]){--drawer-push-amount:100vh}:host([push-content][position=top][open]:not([size])){--drawer-push-amount:var(--drawer-height-medium)}:host([push-content][position=bottom][open][size=small]){--drawer-push-amount:calc(-1 * var(--drawer-height-small))}:host([push-content][position=bottom][open][size=medium]){--drawer-push-amount:calc(-1 * var(--drawer-height-medium))}:host([push-content][position=bottom][open][size=large]){--drawer-push-amount:calc(-1 * var(--drawer-height-large))}:host([push-content][position=bottom][open][size=xl]){--drawer-push-amount:calc(-1 * var(--drawer-height-xl))}:host([push-content][position=bottom][open][size=xxl]){--drawer-push-amount:calc(-1 * var(--drawer-height-xxl))}:host([push-content][position=bottom][open][size=xxxl]){--drawer-push-amount:calc(-1 * var(--drawer-height-xxxl))}:host([push-content][position=bottom][open][size=full]){--drawer-push-amount:-100vh}:host([push-content][position=bottom][open]:not([size])){--drawer-push-amount:calc(-1 * var(--drawer-height-medium))}:host([inline]){position:static;width:auto;height:auto;pointer-events:auto}:host([inline]) .drawer-backdrop{display:none}:host([inline]) .drawer{position:static;transform:none;box-shadow:none;z-index:auto;transition:none;border-right:1px solid var(--snice-color-border,rgb(229 231 235))}:host([inline]) .drawer,:host([inline][position=left]) .drawer{width:var(--drawer-width-medium);height:100%}:host([inline]:not([position])[size=small]) .drawer,:host([inline][position=left][size=small]) .drawer{width:var(--drawer-width-small)}:host([inline]:not([position])[size=large]) .drawer,:host([inline][position=left][size=large]) .drawer{width:var(--drawer-width-large)}:host([inline]:not([position])[size=xl]) .drawer,:host([inline][position=left][size=xl]) .drawer{width:var(--drawer-width-xl)}:host([inline]:not([position])[size=xxl]) .drawer,:host([inline][position=left][size=xxl]) .drawer{width:var(--drawer-width-xxl)}:host([inline]:not([position])[size=xxxl]) .drawer,:host([inline][position=left][size=xxxl]) .drawer{width:var(--drawer-width-xxxl)}:host([inline]:not([position])[size=full]) .drawer,:host([inline][position=left][size=full]) .drawer{width:100%}:host([inline][position=right]) .drawer{border-right:none;border-left:1px solid var(--snice-color-border,rgb(229 231 235));width:var(--drawer-width-medium);height:100%}:host([inline][position=right][size=small]) .drawer{width:var(--drawer-width-small)}:host([inline][position=right][size=large]) .drawer{width:var(--drawer-width-large)}:host([inline][position=right][size=xl]) .drawer{width:var(--drawer-width-xl)}:host([inline][position=right][size=xxl]) .drawer{width:var(--drawer-width-xxl)}:host([inline][position=right][size=xxxl]) .drawer{width:var(--drawer-width-xxxl)}:host([inline][position=right][size=full]) .drawer{width:100%}:host([inline][position=top]) .drawer{border-right:none;border-bottom:1px solid var(--snice-color-border,rgb(229 231 235));width:100%;height:var(--drawer-height-medium)}:host([inline][position=top][size=small]) .drawer{height:var(--drawer-height-small)}:host([inline][position=top][size=large]) .drawer{height:var(--drawer-height-large)}:host([inline][position=top][size=xl]) .drawer{height:var(--drawer-height-xl)}:host([inline][position=top][size=xxl]) .drawer{height:var(--drawer-height-xxl)}:host([inline][position=top][size=xxxl]) .drawer{height:var(--drawer-height-xxxl)}:host([inline][position=top][size=full]) .drawer{height:100%}:host([inline][position=bottom]) .drawer{border-right:none;border-top:1px solid var(--snice-color-border,rgb(229 231 235));width:100%;height:var(--drawer-height-medium)}:host([inline][position=bottom][size=small]) .drawer{height:var(--drawer-height-small)}:host([inline][position=bottom][size=large]) .drawer{height:var(--drawer-height-large)}:host([inline][position=bottom][size=xl]) .drawer{height:var(--drawer-height-xl)}:host([inline][position=bottom][size=xxl]) .drawer{height:var(--drawer-height-xxl)}:host([inline][position=bottom][size=xxxl]) .drawer{height:var(--drawer-height-xxxl)}:host([inline][position=bottom][size=full]) .drawer{height:100%}:host([inline]) .focus-trap-end,:host([inline]) .focus-trap-start{display:none}\";\n\nlet SniceDrawer = (() => {\n let _classDecorators = [element('snice-drawer')];\n let _classDescriptor;\n let _classExtraInitializers = [];\n let _classThis;\n let _classSuper = HTMLElement;\n let _instanceExtraInitializers = [];\n let _open_decorators;\n let _open_initializers = [];\n let _open_extraInitializers = [];\n let _position_decorators;\n let _position_initializers = [];\n let _position_extraInitializers = [];\n let _size_decorators;\n let _size_initializers = [];\n let _size_extraInitializers = [];\n let _inline_decorators;\n let _inline_initializers = [];\n let _inline_extraInitializers = [];\n let _breakpoint_decorators;\n let _breakpoint_initializers = [];\n let _breakpoint_extraInitializers = [];\n let _noBackdrop_decorators;\n let _noBackdrop_initializers = [];\n let _noBackdrop_extraInitializers = [];\n let _noBackdropDismiss_decorators;\n let _noBackdropDismiss_initializers = [];\n let _noBackdropDismiss_extraInitializers = [];\n let _noEscapeDismiss_decorators;\n let _noEscapeDismiss_initializers = [];\n let _noEscapeDismiss_extraInitializers = [];\n let _noFocusTrap_decorators;\n let _noFocusTrap_initializers = [];\n let _noFocusTrap_extraInitializers = [];\n let _persistent_decorators;\n let _persistent_initializers = [];\n let _persistent_extraInitializers = [];\n let _pushContent_decorators;\n let _pushContent_initializers = [];\n let _pushContent_extraInitializers = [];\n let _contained_decorators;\n let _contained_initializers = [];\n let _contained_extraInitializers = [];\n let _noHeader_decorators;\n let _noHeader_initializers = [];\n let _noHeader_extraInitializers = [];\n let _noFooter_decorators;\n let _noFooter_initializers = [];\n let _noFooter_extraInitializers = [];\n let _drawerElement_decorators;\n let _drawerElement_initializers = [];\n let _drawerElement_extraInitializers = [];\n let _backdropElement_decorators;\n let _backdropElement_initializers = [];\n let _backdropElement_extraInitializers = [];\n let _closeButton_decorators;\n let _closeButton_initializers = [];\n let _closeButton_extraInitializers = [];\n let _focusTrapStart_decorators;\n let _focusTrapStart_initializers = [];\n let _focusTrapStart_extraInitializers = [];\n let _focusTrapEnd_decorators;\n let _focusTrapEnd_initializers = [];\n let _focusTrapEnd_extraInitializers = [];\n let _render_decorators;\n let _styles_decorators;\n let _init_decorators;\n let _handleBreakpointPropChange_decorators;\n let _handleOpenChange_decorators;\n let _handleBackdropClick_decorators;\n let _handleCloseClick_decorators;\n let _handleFocusTrapStart_decorators;\n let _handleFocusTrapEnd_decorators;\n let _cleanup_decorators;\n (class extends _classSuper {\n static { _classThis = this; }\n constructor() {\n super(...arguments);\n this.open = (__runInitializers(this, _instanceExtraInitializers), __runInitializers(this, _open_initializers, false));\n this.position = (__runInitializers(this, _open_extraInitializers), __runInitializers(this, _position_initializers, 'left'));\n this.size = (__runInitializers(this, _position_extraInitializers), __runInitializers(this, _size_initializers, 'medium'));\n this.inline = (__runInitializers(this, _size_extraInitializers), __runInitializers(this, _inline_initializers, false));\n this.breakpoint = (__runInitializers(this, _inline_extraInitializers), __runInitializers(this, _breakpoint_initializers, 0));\n this.noBackdrop = (__runInitializers(this, _breakpoint_extraInitializers), __runInitializers(this, _noBackdrop_initializers, false));\n this.noBackdropDismiss = (__runInitializers(this, _noBackdrop_extraInitializers), __runInitializers(this, _noBackdropDismiss_initializers, false));\n this.noEscapeDismiss = (__runInitializers(this, _noBackdropDismiss_extraInitializers), __runInitializers(this, _noEscapeDismiss_initializers, false));\n this.noFocusTrap = (__runInitializers(this, _noEscapeDismiss_extraInitializers), __runInitializers(this, _noFocusTrap_initializers, false));\n this.persistent = (__runInitializers(this, _noFocusTrap_extraInitializers), __runInitializers(this, _persistent_initializers, false));\n this.pushContent = (__runInitializers(this, _persistent_extraInitializers), __runInitializers(this, _pushContent_initializers, false));\n this.contained = (__runInitializers(this, _pushContent_extraInitializers), __runInitializers(this, _contained_initializers, false));\n this.noHeader = (__runInitializers(this, _contained_extraInitializers), __runInitializers(this, _noHeader_initializers, false));\n this.noFooter = (__runInitializers(this, _noHeader_extraInitializers), __runInitializers(this, _noFooter_initializers, false));\n this.drawerElement = (__runInitializers(this, _noFooter_extraInitializers), __runInitializers(this, _drawerElement_initializers, void 0));\n this.backdropElement = (__runInitializers(this, _drawerElement_extraInitializers), __runInitializers(this, _backdropElement_initializers, void 0));\n this.closeButton = (__runInitializers(this, _backdropElement_extraInitializers), __runInitializers(this, _closeButton_initializers, void 0));\n this.focusTrapStart = (__runInitializers(this, _closeButton_extraInitializers), __runInitializers(this, _focusTrapStart_initializers, void 0));\n this.focusTrapEnd = (__runInitializers(this, _focusTrapStart_extraInitializers), __runInitializers(this, _focusTrapEnd_initializers, void 0));\n this.previousFocus = __runInitializers(this, _focusTrapEnd_extraInitializers);\n /** Track whether THIS drawer holds a body-scroll lock — keeps the\n * per-instance state in sync with the shared refcount so we never\n * unlock more times than we locked. */\n this.scrollLocked = false;\n this.isHandlingOpenChange = false;\n this.titleId = `snice-drawer-title-${Math.random().toString(36).slice(2, 10)}`;\n this.lastEventType = null;\n this.lastEventTime = 0;\n }\n static {\n const _metadata = typeof Symbol === \"function\" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;\n _open_decorators = [property({ type: Boolean, })];\n _position_decorators = [property({})];\n _size_decorators = [property({})];\n _inline_decorators = [property({ type: Boolean, })];\n _breakpoint_decorators = [property({ type: Number })];\n _noBackdrop_decorators = [property({ type: Boolean, attribute: 'no-backdrop', })];\n _noBackdropDismiss_decorators = [property({ type: Boolean, attribute: 'no-backdrop-dismiss', })];\n _noEscapeDismiss_decorators = [property({ type: Boolean, attribute: 'no-escape-dismiss', })];\n _noFocusTrap_decorators = [property({ type: Boolean, attribute: 'no-focus-trap', })];\n _persistent_decorators = [property({ type: Boolean, })];\n _pushContent_decorators = [property({ type: Boolean, attribute: 'push-content', })];\n _contained_decorators = [property({ type: Boolean, })];\n _noHeader_decorators = [property({ type: Boolean, attribute: 'no-header' })];\n _noFooter_decorators = [property({ type: Boolean, attribute: 'no-footer' })];\n _drawerElement_decorators = [query('.drawer')];\n _backdropElement_decorators = [query('.drawer-backdrop')];\n _closeButton_decorators = [query('.drawer-close')];\n _focusTrapStart_decorators = [query('.focus-trap-start')];\n _focusTrapEnd_decorators = [query('.focus-trap-end')];\n _render_decorators = [render()];\n _styles_decorators = [styles()];\n _init_decorators = [ready()];\n _handleBreakpointPropChange_decorators = [watch('breakpoint')];\n _handleOpenChange_decorators = [watch('open')];\n _handleBackdropClick_decorators = [on('click', '.drawer-backdrop')];\n _handleCloseClick_decorators = [on('click', '.drawer-close')];\n _handleFocusTrapStart_decorators = [on('focus', { target: '.focus-trap-start' })];\n _handleFocusTrapEnd_decorators = [on('focus', { target: '.focus-trap-end' })];\n _cleanup_decorators = [dispose()];\n __esDecorate(this, null, _render_decorators, { kind: \"method\", name: \"render\", static: false, private: false, access: { has: obj => \"render\" in obj, get: obj => obj.render }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _styles_decorators, { kind: \"method\", name: \"styles\", static: false, private: false, access: { has: obj => \"styles\" in obj, get: obj => obj.styles }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _init_decorators, { kind: \"method\", name: \"init\", static: false, private: false, access: { has: obj => \"init\" in obj, get: obj => obj.init }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _handleBreakpointPropChange_decorators, { kind: \"method\", name: \"handleBreakpointPropChange\", static: false, private: false, access: { has: obj => \"handleBreakpointPropChange\" in obj, get: obj => obj.handleBreakpointPropChange }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _handleOpenChange_decorators, { kind: \"method\", name: \"handleOpenChange\", static: false, private: false, access: { has: obj => \"handleOpenChange\" in obj, get: obj => obj.handleOpenChange }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _handleBackdropClick_decorators, { kind: \"method\", name: \"handleBackdropClick\", static: false, private: false, access: { has: obj => \"handleBackdropClick\" in obj, get: obj => obj.handleBackdropClick }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _handleCloseClick_decorators, { kind: \"method\", name: \"handleCloseClick\", static: false, private: false, access: { has: obj => \"handleCloseClick\" in obj, get: obj => obj.handleCloseClick }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _handleFocusTrapStart_decorators, { kind: \"method\", name: \"handleFocusTrapStart\", static: false, private: false, access: { has: obj => \"handleFocusTrapStart\" in obj, get: obj => obj.handleFocusTrapStart }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _handleFocusTrapEnd_decorators, { kind: \"method\", name: \"handleFocusTrapEnd\", static: false, private: false, access: { has: obj => \"handleFocusTrapEnd\" in obj, get: obj => obj.handleFocusTrapEnd }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _cleanup_decorators, { kind: \"method\", name: \"cleanup\", static: false, private: false, access: { has: obj => \"cleanup\" in obj, get: obj => obj.cleanup }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(null, null, _open_decorators, { kind: \"field\", name: \"open\", static: false, private: false, access: { has: obj => \"open\" in obj, get: obj => obj.open, set: (obj, value) => { obj.open = value; } }, metadata: _metadata }, _open_initializers, _open_extraInitializers);\n __esDecorate(null, null, _position_decorators, { kind: \"field\", name: \"position\", static: false, private: false, access: { has: obj => \"position\" in obj, get: obj => obj.position, set: (obj, value) => { obj.position = value; } }, metadata: _metadata }, _position_initializers, _position_extraInitializers);\n __esDecorate(null, null, _size_decorators, { kind: \"field\", name: \"size\", static: false, private: false, access: { has: obj => \"size\" in obj, get: obj => obj.size, set: (obj, value) => { obj.size = value; } }, metadata: _metadata }, _size_initializers, _size_extraInitializers);\n __esDecorate(null, null, _inline_decorators, { kind: \"field\", name: \"inline\", static: false, private: false, access: { has: obj => \"inline\" in obj, get: obj => obj.inline, set: (obj, value) => { obj.inline = value; } }, metadata: _metadata }, _inline_initializers, _inline_extraInitializers);\n __esDecorate(null, null, _breakpoint_decorators, { kind: \"field\", name: \"breakpoint\", static: false, private: false, access: { has: obj => \"breakpoint\" in obj, get: obj => obj.breakpoint, set: (obj, value) => { obj.breakpoint = value; } }, metadata: _metadata }, _breakpoint_initializers, _breakpoint_extraInitializers);\n __esDecorate(null, null, _noBackdrop_decorators, { kind: \"field\", name: \"noBackdrop\", static: false, private: false, access: { has: obj => \"noBackdrop\" in obj, get: obj => obj.noBackdrop, set: (obj, value) => { obj.noBackdrop = value; } }, metadata: _metadata }, _noBackdrop_initializers, _noBackdrop_extraInitializers);\n __esDecorate(null, null, _noBackdropDismiss_decorators, { kind: \"field\", name: \"noBackdropDismiss\", static: false, private: false, access: { has: obj => \"noBackdropDismiss\" in obj, get: obj => obj.noBackdropDismiss, set: (obj, value) => { obj.noBackdropDismiss = value; } }, metadata: _metadata }, _noBackdropDismiss_initializers, _noBackdropDismiss_extraInitializers);\n __esDecorate(null, null, _noEscapeDismiss_decorators, { kind: \"field\", name: \"noEscapeDismiss\", static: false, private: false, access: { has: obj => \"noEscapeDismiss\" in obj, get: obj => obj.noEscapeDismiss, set: (obj, value) => { obj.noEscapeDismiss = value; } }, metadata: _metadata }, _noEscapeDismiss_initializers, _noEscapeDismiss_extraInitializers);\n __esDecorate(null, null, _noFocusTrap_decorators, { kind: \"field\", name: \"noFocusTrap\", static: false, private: false, access: { has: obj => \"noFocusTrap\" in obj, get: obj => obj.noFocusTrap, set: (obj, value) => { obj.noFocusTrap = value; } }, metadata: _metadata }, _noFocusTrap_initializers, _noFocusTrap_extraInitializers);\n __esDecorate(null, null, _persistent_decorators, { kind: \"field\", name: \"persistent\", static: false, private: false, access: { has: obj => \"persistent\" in obj, get: obj => obj.persistent, set: (obj, value) => { obj.persistent = value; } }, metadata: _metadata }, _persistent_initializers, _persistent_extraInitializers);\n __esDecorate(null, null, _pushContent_decorators, { kind: \"field\", name: \"pushContent\", static: false, private: false, access: { has: obj => \"pushContent\" in obj, get: obj => obj.pushContent, set: (obj, value) => { obj.pushContent = value; } }, metadata: _metadata }, _pushContent_initializers, _pushContent_extraInitializers);\n __esDecorate(null, null, _contained_decorators, { kind: \"field\", name: \"contained\", static: false, private: false, access: { has: obj => \"contained\" in obj, get: obj => obj.contained, set: (obj, value) => { obj.contained = value; } }, metadata: _metadata }, _contained_initializers, _contained_extraInitializers);\n __esDecorate(null, null, _noHeader_decorators, { kind: \"field\", name: \"noHeader\", static: false, private: false, access: { has: obj => \"noHeader\" in obj, get: obj => obj.noHeader, set: (obj, value) => { obj.noHeader = value; } }, metadata: _metadata }, _noHeader_initializers, _noHeader_extraInitializers);\n __esDecorate(null, null, _noFooter_decorators, { kind: \"field\", name: \"noFooter\", static: false, private: false, access: { has: obj => \"noFooter\" in obj, get: obj => obj.noFooter, set: (obj, value) => { obj.noFooter = value; } }, metadata: _metadata }, _noFooter_initializers, _noFooter_extraInitializers);\n __esDecorate(null, null, _drawerElement_decorators, { kind: \"field\", name: \"drawerElement\", static: false, private: false, access: { has: obj => \"drawerElement\" in obj, get: obj => obj.drawerElement, set: (obj, value) => { obj.drawerElement = value; } }, metadata: _metadata }, _drawerElement_initializers, _drawerElement_extraInitializers);\n __esDecorate(null, null, _backdropElement_decorators, { kind: \"field\", name: \"backdropElement\", static: false, private: false, access: { has: obj => \"backdropElement\" in obj, get: obj => obj.backdropElement, set: (obj, value) => { obj.backdropElement = value; } }, metadata: _metadata }, _backdropElement_initializers, _backdropElement_extraInitializers);\n __esDecorate(null, null, _closeButton_decorators, { kind: \"field\", name: \"closeButton\", static: false, private: false, access: { has: obj => \"closeButton\" in obj, get: obj => obj.closeButton, set: (obj, value) => { obj.closeButton = value; } }, metadata: _metadata }, _closeButton_initializers, _closeButton_extraInitializers);\n __esDecorate(null, null, _focusTrapStart_decorators, { kind: \"field\", name: \"focusTrapStart\", static: false, private: false, access: { has: obj => \"focusTrapStart\" in obj, get: obj => obj.focusTrapStart, set: (obj, value) => { obj.focusTrapStart = value; } }, metadata: _metadata }, _focusTrapStart_initializers, _focusTrapStart_extraInitializers);\n __esDecorate(null, null, _focusTrapEnd_decorators, { kind: \"field\", name: \"focusTrapEnd\", static: false, private: false, access: { has: obj => \"focusTrapEnd\" in obj, get: obj => obj.focusTrapEnd, set: (obj, value) => { obj.focusTrapEnd = value; } }, metadata: _metadata }, _focusTrapEnd_initializers, _focusTrapEnd_extraInitializers);\n __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: \"class\", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);\n _classThis = _classDescriptor.value;\n if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });\n __runInitializers(_classThis, _classExtraInitializers);\n }\n render() {\n const titleId = this.titleId;\n // If there's a slotted title, reference it; otherwise fall back to a\n // static label so the dialog is never announced without a name.\n return html /*html*/ `\n <div class=\"drawer-backdrop\" part=\"backdrop\"></div>\n\n <div class=\"drawer\" role=\"dialog\" aria-modal=\"true\"\n aria-labelledby=\"${this.noHeader ? '' : titleId}\"\n aria-label=\"${this.noHeader ? 'Drawer' : ''}\"\n tabindex=\"-1\" part=\"base\">\n <span class=\"focus-trap-start\" tabindex=\"0\"></span>\n\n <if ${!this.noHeader}>\n <div class=\"drawer-header\" part=\"header\">\n <h2 class=\"drawer-title\" part=\"title\" id=\"${titleId}\">\n <slot name=\"title\"></slot>\n </h2>\n <if ${!this.persistent}>\n <button class=\"drawer-close\" type=\"button\" aria-label=\"Close\" part=\"close\">${unsafeHTML(X_MARK)}</button>\n </if>\n </div>\n </if>\n\n <div class=\"drawer-body\" part=\"body\">\n <slot></slot>\n </div>\n\n <if ${!this.noFooter}>\n <div class=\"drawer-footer\" part=\"footer\">\n <slot name=\"footer\"></slot>\n </div>\n </if>\n\n <span class=\"focus-trap-end\" tabindex=\"0\"></span>\n </div>\n `;\n }\n styles() {\n return css `${cssContent}`;\n }\n init() {\n // Ensure default attributes are set\n if (!this.hasAttribute('position')) {\n this.setAttribute('position', this.position);\n }\n if (!this.hasAttribute('size')) {\n this.setAttribute('size', this.size);\n }\n this.setAttribute('role', 'complementary');\n this.setAttribute('aria-hidden', String(!this.open));\n // Set up breakpoint listener if specified\n if (this.breakpoint > 0) {\n this.setupBreakpointListener();\n }\n if (this.open && !this.isInlineActive()) {\n this.handleOpen();\n }\n }\n /** Returns true if the drawer is currently in inline mode (either via `inline` prop or active breakpoint). */\n isInlineActive() {\n return this.inline || this.hasAttribute('inline');\n }\n setupBreakpointListener() {\n // Tear down existing listener\n this.teardownBreakpointListener();\n if (this.breakpoint <= 0)\n return;\n this.breakpointQuery = window.matchMedia(`(min-width: ${this.breakpoint}px)`);\n this.boundBreakpointHandler = (e) => this.handleBreakpointChange(e.matches);\n // Apply initial state\n this.handleBreakpointChange(this.breakpointQuery.matches);\n this.breakpointQuery.addEventListener('change', this.boundBreakpointHandler);\n }\n teardownBreakpointListener() {\n if (this.breakpointQuery && this.boundBreakpointHandler) {\n this.breakpointQuery.removeEventListener('change', this.boundBreakpointHandler);\n this.breakpointQuery = undefined;\n this.boundBreakpointHandler = undefined;\n }\n }\n handleBreakpointChange(matches) {\n const wasInline = this.isInlineActive();\n if (matches) {\n // Above breakpoint → inline mode\n this.setAttribute('inline', '');\n // If was overlay and open, tear down overlay behaviors\n if (!wasInline && this.open) {\n this.teardownOverlayBehaviors();\n }\n }\n else {\n // Below breakpoint → overlay mode\n this.removeAttribute('inline');\n // If was inline and now overlay, re-apply overlay behaviors if open\n if (wasInline && this.open) {\n this.handleOpen();\n }\n }\n }\n teardownOverlayBehaviors() {\n // Remove escape handler\n if (this.boundHandleEscape) {\n document.removeEventListener('keydown', this.boundHandleEscape);\n this.boundHandleEscape = undefined;\n }\n }\n handleBreakpointPropChange() {\n if (this.breakpoint > 0) {\n this.setupBreakpointListener();\n }\n else {\n this.teardownBreakpointListener();\n // If breakpoint removed, also remove inline if it was set by breakpoint\n // (user's explicit `inline` prop is separate)\n if (!this.inline) {\n this.removeAttribute('inline');\n }\n }\n }\n handleOpenChange() {\n // Prevent duplicate handling\n if (this.isHandlingOpenChange)\n return;\n this.isHandlingOpenChange = true;\n try {\n this.setAttribute('aria-hidden', String(!this.open));\n // In inline mode, skip overlay behaviors entirely\n if (this.isInlineActive())\n return;\n if (this.open) {\n this.handleOpen();\n }\n else {\n this.handleClose();\n }\n }\n finally {\n this.isHandlingOpenChange = false;\n }\n }\n handleBackdropClick(e) {\n if (!this.noBackdropDismiss && !this.persistent) {\n e.stopPropagation();\n this.hide();\n }\n }\n handleCloseClick(e) {\n if (this.persistent)\n return;\n e.stopPropagation();\n this.hide();\n }\n handleFocusTrapStart(e) {\n if (!this.noFocusTrap) {\n // Focus the last focusable element in the drawer\n const focusableElements = this.getFocusableElements();\n if (focusableElements.length > 0) {\n focusableElements[focusableElements.length - 1].focus();\n }\n }\n }\n handleFocusTrapEnd(e) {\n if (!this.noFocusTrap) {\n // Focus the first focusable element in the drawer\n const focusableElements = this.getFocusableElements();\n if (focusableElements.length > 0) {\n focusableElements[0].focus();\n }\n }\n }\n handleOpen() {\n // Store current focus\n this.previousFocus = document.activeElement;\n // Add escape key handler\n if (!this.noEscapeDismiss && !this.persistent) {\n this.boundHandleEscape = (e) => {\n if (e.key === 'Escape') {\n e.preventDefault();\n this.hide();\n }\n };\n document.addEventListener('keydown', this.boundHandleEscape);\n }\n // Lock body scroll for full-page (non-contained) drawers.\n // Refcounted: stays locked while any other overlay is also locked.\n if (!this.contained && !this.scrollLocked) {\n lockBodyScroll();\n this.scrollLocked = true;\n }\n // Focus management (skip for contained drawers — they're in-page, not modal)\n if (!this.noFocusTrap && !this.contained && this.drawerElement) {\n this.drawerElement.focus({ preventScroll: true });\n }\n this.dispatchOpenEvent();\n }\n handleClose() {\n // Remove escape key handler\n if (this.boundHandleEscape) {\n document.removeEventListener('keydown', this.boundHandleEscape);\n this.boundHandleEscape = undefined;\n }\n // Unlock body scroll for full-page (non-contained) drawers\n if (this.scrollLocked) {\n unlockBodyScroll();\n this.scrollLocked = false;\n }\n // Restore focus\n if (this.previousFocus && this.previousFocus.focus) {\n this.previousFocus.focus();\n this.previousFocus = undefined;\n }\n this.dispatchCloseEvent();\n }\n getFocusableElements() {\n if (!this.drawerElement)\n return [];\n const selector = 'a[href], button:not([disabled]), textarea:not([disabled]), ' +\n 'input:not([disabled]), select:not([disabled]), ' +\n '[tabindex]:not([tabindex=\"-1\"])';\n // Include slotted (light DOM) focusables, same fix as modal.\n const shadow = Array.from(this.drawerElement.querySelectorAll(selector));\n const light = Array.from(this.querySelectorAll(selector));\n return [...shadow, ...light];\n }\n dispatchOpenEvent() {\n // Prevent duplicate events within 100ms\n const now = Date.now();\n if (this.lastEventType === 'open' && (now - this.lastEventTime) < 100) {\n return;\n }\n this.lastEventType = 'open';\n this.lastEventTime = now;\n // Manually dispatch event\n this.dispatchEvent(new CustomEvent('drawer-open', {\n bubbles: true,\n composed: true,\n detail: { drawer: this }\n }));\n }\n dispatchCloseEvent() {\n // Prevent duplicate events within 100ms\n const now = Date.now();\n if (this.lastEventType === 'close' && (now - this.lastEventTime) < 100) {\n return;\n }\n this.lastEventType = 'close';\n this.lastEventTime = now;\n // Manually dispatch event\n this.dispatchEvent(new CustomEvent('drawer-close', {\n bubbles: true,\n composed: true,\n detail: { drawer: this }\n }));\n }\n cleanup() {\n if (this.boundHandleEscape) {\n document.removeEventListener('keydown', this.boundHandleEscape);\n }\n this.teardownBreakpointListener();\n // Release body scroll lock if the drawer was open when disconnected\n if (this.scrollLocked) {\n unlockBodyScroll();\n this.scrollLocked = false;\n }\n }\n // Public API\n show() {\n this.open = true;\n }\n hide() {\n this.open = false;\n }\n toggle() {\n this.open = !this.open;\n }\n });\n return _classThis;\n})();\n\nexport { SniceDrawer };\n//# sourceMappingURL=snice-drawer.js.map\n","/**\n * Built-in snice icon set — a small curated subset of Heroicons, used by\n * components as their default glyph when no consumer slot or `icon` prop is\n * provided. Consumers can always override by slotting their own icon library\n * (Font Awesome, Material Symbols, Lucide, custom SVG, etc.).\n *\n * Copied from Heroicons v2 — MIT License, © Tailwind Labs.\n * https://github.com/tailwindlabs/heroicons\n *\n * Why embed instead of depending on a package:\n * - Snice ships zero runtime dependencies beyond the framework itself.\n * - We only need ~15 glyphs; the full Heroicons package is 600+ icons.\n * - Embedding sidesteps shadow DOM / module-resolution concerns and keeps\n * default icons available even in sandboxed environments.\n *\n * All SVGs:\n * - viewBox=\"0 0 24 24\"\n * - solid variants use `fill=\"currentColor\"`\n * - outline variants use `stroke=\"currentColor\"` + no fill\n *\n * Components pass `currentColor` through by setting `color:` on the wrapper.\n */\n// ─── SOLID (filled) — used for status / selected / active contexts ────────\nconst INFO_CIRCLE_SOLID = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm8.706-1.442c1.146-.573 2.437.463 2.126 1.706l-.709 2.836.042-.02a.75.75 0 0 1 .67 1.34l-.04.022c-1.147.573-2.438-.463-2.127-1.706l.71-2.836-.042.02a.75.75 0 1 1-.671-1.34l.041-.022ZM12 9a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z\" clip-rule=\"evenodd\"/></svg>`;\nconst CHECK_CIRCLE_SOLID = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z\" clip-rule=\"evenodd\"/></svg>`;\nconst EXCLAMATION_TRIANGLE_SOLID = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z\" clip-rule=\"evenodd\"/></svg>`;\nconst X_CIRCLE_SOLID = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-1.72 6.97a.75.75 0 1 0-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06L12 13.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L13.06 12l1.72-1.72a.75.75 0 1 0-1.06-1.06L12 10.94l-1.72-1.72Z\" clip-rule=\"evenodd\"/></svg>`;\nconst PAPER_AIRPLANE_SOLID = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M3.478 2.404a.75.75 0 0 0-.926.941l2.432 7.905H13.5a.75.75 0 0 1 0 1.5H4.984l-2.432 7.905a.75.75 0 0 0 .926.94 60.519 60.519 0 0 0 18.445-8.986.75.75 0 0 0 0-1.218A60.517 60.517 0 0 0 3.478 2.404Z\"/></svg>`;\n// ─── OUTLINE — used for neutral UI chrome ──────────────────────────────────\nconst X_MARK = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M6 18 18 6M6 6l12 12\"/></svg>`;\nconst CHEVRON_DOWN = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m19.5 8.25-7.5 7.5-7.5-7.5\"/></svg>`;\nconst CHEVRON_UP = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m4.5 15.75 7.5-7.5 7.5 7.5\"/></svg>`;\nconst CHEVRON_RIGHT = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m8.25 4.5 7.5 7.5-7.5 7.5\"/></svg>`;\nconst CHEVRON_LEFT = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M15.75 19.5 8.25 12l7.5-7.5\"/></svg>`;\nconst CHECK = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m4.5 12.75 6 6 9-13.5\"/></svg>`;\nconst MAGNIFYING_GLASS = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z\"/></svg>`;\nconst BARS_3 = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5\"/></svg>`;\nconst PHOTO = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z\"/></svg>`;\nconst ELLIPSIS_HORIZONTAL = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z\"/></svg>`;\nconst TRASH = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0\"/></svg>`;\nconst PLUS = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M12 4.5v15m7.5-7.5h-15\"/></svg>`;\nconst CAMERA = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M6.827 6.175A2.31 2.31 0 0 1 5.186 7.23c-.38.054-.757.112-1.134.175C2.999 7.58 2.25 8.507 2.25 9.574V18a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9.574c0-1.067-.75-1.994-1.802-2.169a47.865 47.865 0 0 0-1.134-.175 2.31 2.31 0 0 1-1.64-1.055l-.822-1.316a2.192 2.192 0 0 0-1.736-1.039 48.774 48.774 0 0 0-5.232 0 2.192 2.192 0 0 0-1.736 1.039l-.822 1.316Z\"/><path d=\"M16.5 12.75a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM18.75 10.5h.008v.008h-.008V10.5Z\"/></svg>`;\nconst PENCIL = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125\"/></svg>`;\nconst ARROW_UP = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M12 19.5v-15m0 0-6.75 6.75M12 4.5l6.75 6.75\"/></svg>`;\nconst ARROW_DOWN = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M12 4.5v15m0 0 6.75-6.75M12 19.5l-6.75-6.75\"/></svg>`;\nconst ARROW_RIGHT = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M4.5 12h15m0 0-6.75-6.75M19.5 12l-6.75 6.75\"/></svg>`;\nconst ARROW_TRENDING_UP = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M2.25 18 9 11.25l4.306 4.306a11.95 11.95 0 0 1 5.814-5.518l2.74-1.22m0 0-5.94-2.281m5.94 2.28-2.28 5.941\"/></svg>`;\nconst ARROW_TRENDING_DOWN = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M2.25 6 9 12.75l4.286-4.286a11.948 11.948 0 0 1 4.306 6.43l.776 2.898m0 0 3.182-5.511m-3.182 5.511-5.511-3.181\"/></svg>`;\nconst STAR_SOLID = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.007 5.404.433c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.433 2.082-5.006Z\" clip-rule=\"evenodd\"/></svg>`;\nconst STAR_OUTLINE = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M11.48 3.499a.562.562 0 0 1 1.04 0l2.125 5.111a.563.563 0 0 0 .475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 0 0-.182.557l1.285 5.385a.562.562 0 0 1-.84.61l-4.725-2.885a.562.562 0 0 0-.586 0L6.982 20.54a.562.562 0 0 1-.84-.61l1.285-5.386a.562.562 0 0 0-.182-.557l-4.204-3.602a.562.562 0 0 1 .321-.988l5.518-.442a.563.563 0 0 0 .475-.345L11.48 3.5Z\"/></svg>`;\nconst CIRCLE_SOLID = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"8\"/></svg>`;\nconst FUNNEL = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z\"/></svg>`;\nconst ARROW_DOWN_TRAY = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3\"/></svg>`;\nconst ARROWS_POINTING_OUT = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15\"/></svg>`;\nconst EYE_SLASH = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88\"/></svg>`;\nconst MAP_PIN = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/><path d=\"M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z\"/></svg>`;\nconst ARROWS_RIGHT_LEFT = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M7.5 21 3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5\"/></svg>`;\nconst PAPER_CLIP = /*html*/ `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m18.375 12.739-7.693 7.693a4.5 4.5 0 0 1-6.364-6.364l10.94-10.94A3 3 0 1 1 19.5 7.372L8.552 18.32m.009-.01-.01.01m5.699-9.941-7.81 7.81a1.5 1.5 0 0 0 2.112 2.13\"/></svg>`;\n/** Small lookup for named access from template-string paths. */\nconst ICONS = {\n 'info-circle': INFO_CIRCLE_SOLID,\n 'check-circle': CHECK_CIRCLE_SOLID,\n 'exclamation-triangle': EXCLAMATION_TRIANGLE_SOLID,\n 'x-circle': X_CIRCLE_SOLID,\n 'x-mark': X_MARK,\n 'chevron-down': CHEVRON_DOWN,\n 'chevron-up': CHEVRON_UP,\n 'chevron-right': CHEVRON_RIGHT,\n 'chevron-left': CHEVRON_LEFT,\n 'check': CHECK,\n 'magnifying-glass': MAGNIFYING_GLASS,\n 'bars-3': BARS_3,\n 'photo': PHOTO,\n 'ellipsis-horizontal': ELLIPSIS_HORIZONTAL,\n 'trash': TRASH,\n 'plus': PLUS,\n 'camera': CAMERA,\n 'pencil': PENCIL,\n 'arrow-up': ARROW_UP,\n 'arrow-down': ARROW_DOWN,\n 'arrow-right': ARROW_RIGHT,\n 'arrow-trending-up': ARROW_TRENDING_UP,\n 'arrow-trending-down': ARROW_TRENDING_DOWN,\n 'star': STAR_SOLID,\n 'star-outline': STAR_OUTLINE,\n 'circle': CIRCLE_SOLID,\n 'paper-clip': PAPER_CLIP,\n 'paper-airplane': PAPER_AIRPLANE_SOLID,\n};\n\nexport { ARROWS_POINTING_OUT, ARROWS_RIGHT_LEFT, ARROW_DOWN, ARROW_DOWN_TRAY, ARROW_RIGHT, ARROW_TRENDING_DOWN, ARROW_TRENDING_UP, ARROW_UP, BARS_3, CAMERA, CHECK, CHECK_CIRCLE_SOLID, CHEVRON_DOWN, CHEVRON_LEFT, CHEVRON_RIGHT, CHEVRON_UP, CIRCLE_SOLID, ELLIPSIS_HORIZONTAL, EXCLAMATION_TRIANGLE_SOLID, EYE_SLASH, FUNNEL, ICONS, INFO_CIRCLE_SOLID, MAGNIFYING_GLASS, MAP_PIN, PAPER_AIRPLANE_SOLID, PAPER_CLIP, PENCIL, PHOTO, PLUS, STAR_OUTLINE, STAR_SOLID, TRASH, X_CIRCLE_SOLID, X_MARK };\n//# sourceMappingURL=index.js.map\n","import { __runInitializers, __esDecorate } from 'tslib';\nimport { element, property, render, styles, ready, watch, dispose, html, css } from 'snice';\n\nvar cssContent = \":host{display:block;transition:transform var(--snice-transition-medium, 250ms) var(--snice-ease-in-out, cubic-bezier(.76, 0, .24, 1))}\";\n\nlet SniceDrawerTarget = (() => {\n let _classDecorators = [element('snice-drawer-target')];\n let _classDescriptor;\n let _classExtraInitializers = [];\n let _classThis;\n let _classSuper = HTMLElement;\n let _instanceExtraInitializers = [];\n let _for_decorators;\n let _for_initializers = [];\n let _for_extraInitializers = [];\n let _push_decorators;\n let _push_initializers = [];\n let _push_extraInitializers = [];\n let _renderContent_decorators;\n let _componentStyles_decorators;\n let _init_decorators;\n let _handleForChange_decorators;\n let _handlePushChange_decorators;\n let _cleanup_decorators;\n (class extends _classSuper {\n static { _classThis = this; }\n constructor() {\n super(...arguments);\n this.for = (__runInitializers(this, _instanceExtraInitializers), __runInitializers(this, _for_initializers, ''));\n this.push = (__runInitializers(this, _for_extraInitializers), __runInitializers(this, _push_initializers, ''));\n this.drawerEl = (__runInitializers(this, _push_extraInitializers), null);\n this.observer = null;\n }\n static {\n const _metadata = typeof Symbol === \"function\" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;\n _for_decorators = [property({ attribute: 'for' })];\n _push_decorators = [property()];\n _renderContent_decorators = [render()];\n _componentStyles_decorators = [styles()];\n _init_decorators = [ready()];\n _handleForChange_decorators = [watch('for')];\n _handlePushChange_decorators = [watch('push')];\n _cleanup_decorators = [dispose()];\n __esDecorate(this, null, _renderContent_decorators, { kind: \"method\", name: \"renderContent\", static: false, private: false, access: { has: obj => \"renderContent\" in obj, get: obj => obj.renderContent }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _componentStyles_decorators, { kind: \"method\", name: \"componentStyles\", static: false, private: false, access: { has: obj => \"componentStyles\" in obj, get: obj => obj.componentStyles }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _init_decorators, { kind: \"method\", name: \"init\", static: false, private: false, access: { has: obj => \"init\" in obj, get: obj => obj.init }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _handleForChange_decorators, { kind: \"method\", name: \"handleForChange\", static: false, private: false, access: { has: obj => \"handleForChange\" in obj, get: obj => obj.handleForChange }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _handlePushChange_decorators, { kind: \"method\", name: \"handlePushChange\", static: false, private: false, access: { has: obj => \"handlePushChange\" in obj, get: obj => obj.handlePushChange }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _cleanup_decorators, { kind: \"method\", name: \"cleanup\", static: false, private: false, access: { has: obj => \"cleanup\" in obj, get: obj => obj.cleanup }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(null, null, _for_decorators, { kind: \"field\", name: \"for\", static: false, private: false, access: { has: obj => \"for\" in obj, get: obj => obj.for, set: (obj, value) => { obj.for = value; } }, metadata: _metadata }, _for_initializers, _for_extraInitializers);\n __esDecorate(null, null, _push_decorators, { kind: \"field\", name: \"push\", static: false, private: false, access: { has: obj => \"push\" in obj, get: obj => obj.push, set: (obj, value) => { obj.push = value; } }, metadata: _metadata }, _push_initializers, _push_extraInitializers);\n __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: \"class\", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);\n _classThis = _classDescriptor.value;\n if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });\n __runInitializers(_classThis, _classExtraInitializers);\n }\n renderContent() {\n return html `<slot></slot>`;\n }\n componentStyles() {\n return css `${cssContent}`;\n }\n init() {\n this.connectDrawer();\n }\n handleForChange() {\n this.disconnectDrawer();\n this.connectDrawer();\n }\n handlePushChange() {\n if (this.push) {\n this.style.transform = `translateX(${this.push})`;\n }\n else {\n this.style.transform = '';\n }\n // overflow:hidden containers scroll when transforms change — reset it\n const parent = this.parentElement;\n if (parent) {\n parent.scrollLeft = 0;\n parent.scrollTop = 0;\n }\n }\n connectDrawer() {\n if (!this.for)\n return;\n this.drawerEl = document.getElementById(this.for);\n if (!this.drawerEl)\n return;\n this.sync();\n this.observer = new MutationObserver(() => this.sync());\n this.observer.observe(this.drawerEl, { attributes: true, attributeFilter: ['open'] });\n }\n disconnectDrawer() {\n if (this.observer) {\n this.observer.disconnect();\n this.observer = null;\n }\n this.drawerEl = null;\n this.push = '';\n }\n sync() {\n if (!this.drawerEl)\n return;\n const isOpen = this.drawerEl.hasAttribute('open');\n const hasPush = this.drawerEl.hasAttribute('push-content');\n if (!hasPush || !isOpen) {\n this.push = '';\n return;\n }\n // Measure the drawer panel directly\n const panel = this.drawerEl.shadowRoot?.querySelector('.drawer');\n if (!panel)\n return;\n const position = this.drawerEl.getAttribute('position') || 'left';\n if (position === 'top' || position === 'bottom') {\n this.push = panel.offsetHeight + 'px';\n }\n else {\n this.push = panel.offsetWidth + 'px';\n }\n }\n cleanup() {\n this.disconnectDrawer();\n }\n });\n return _classThis;\n})();\n\nexport { SniceDrawerTarget };\n//# sourceMappingURL=snice-drawer-target.js.map\n"],"names":["__esDecorate","ctor","descriptorIn","decorators","contextIn","initializers","extraInitializers","accept","f","TypeError","_","kind","key","target","prototype","descriptor","Object","getOwnPropertyDescriptor","name","done","i","length","context","p","access","addInitializer","push","result","get","set","init","unshift","defineProperty","__runInitializers","thisArg","value","useValue","arguments","call","SuppressedError","_classDescriptor","_classThis","_open_decorators","_position_decorators","_size_decorators","_inline_decorators","_breakpoint_decorators","_noBackdrop_decorators","_noBackdropDismiss_decorators","_noEscapeDismiss_decorators","_noFocusTrap_decorators","_persistent_decorators","_pushContent_decorators","_contained_decorators","_noHeader_decorators","_noFooter_decorators","_drawerElement_decorators","_backdropElement_decorators","_closeButton_decorators","_focusTrapStart_decorators","_focusTrapEnd_decorators","_render_decorators","_styles_decorators","_init_decorators","_handleBreakpointPropChange_decorators","_handleOpenChange_decorators","_handleBackdropClick_decorators","_handleCloseClick_decorators","_handleFocusTrapStart_decorators","_handleFocusTrapEnd_decorators","_cleanup_decorators","_classDecorators","element","_classExtraInitializers","_classSuper","HTMLElement","_instanceExtraInitializers","_open_initializers","_open_extraInitializers","_position_initializers","_position_extraInitializers","_size_initializers","_size_extraInitializers","_inline_initializers","_inline_extraInitializers","_breakpoint_initializers","_breakpoint_extraInitializers","_noBackdrop_initializers","_noBackdrop_extraInitializers","_noBackdropDismiss_initializers","_noBackdropDismiss_extraInitializers","_noEscapeDismiss_initializers","_noEscapeDismiss_extraInitializers","_noFocusTrap_initializers","_noFocusTrap_extraInitializers","_persistent_initializers","_persistent_extraInitializers","_pushContent_initializers","_pushContent_extraInitializers","_contained_initializers","_contained_extraInitializers","_noHeader_initializers","_noHeader_extraInitializers","_noFooter_initializers","_noFooter_extraInitializers","_drawerElement_initializers","_drawerElement_extraInitializers","_backdropElement_initializers","_backdropElement_extraInitializers","_closeButton_initializers","_closeButton_extraInitializers","_focusTrapStart_initializers","_focusTrapStart_extraInitializers","_focusTrapEnd_initializers","_focusTrapEnd_extraInitializers","this","constructor","super","open","position","size","inline","breakpoint","noBackdrop","noBackdropDismiss","noEscapeDismiss","noFocusTrap","persistent","pushContent","contained","noHeader","noFooter","drawerElement","backdropElement","closeButton","focusTrapStart","focusTrapEnd","previousFocus","scrollLocked","isHandlingOpenChange","titleId","Math","random","toString","slice","lastEventType","lastEventTime","_metadata","Symbol","metadata","create","property","type","Boolean","Number","attribute","query","render","styles","ready","watch","on","dispose","static","private","has","obj","handleBreakpointPropChange","handleOpenChange","handleBackdropClick","handleCloseClick","handleFocusTrapStart","handleFocusTrapEnd","cleanup","enumerable","configurable","writable","html","unsafeHTML","css","hasAttribute","setAttribute","String","setupBreakpointListener","isInlineActive","handleOpen","teardownBreakpointListener","breakpointQuery","window","matchMedia","boundBreakpointHandler","e","handleBreakpointChange","matches","addEventListener","removeEventListener","undefined","wasInline","teardownOverlayBehaviors","removeAttribute","boundHandleEscape","document","handleClose","stopPropagation","hide","focusableElements","getFocusableElements","focus","activeElement","preventDefault","lockBodyScroll","preventScroll","dispatchOpenEvent","unlockBodyScroll","dispatchCloseEvent","selector","Array","from","querySelectorAll","now","Date","dispatchEvent","CustomEvent","bubbles","composed","detail","drawer","show","toggle","_for_decorators","_push_decorators","_renderContent_decorators","_componentStyles_decorators","_handleForChange_decorators","_handlePushChange_decorators","_for_initializers","_for_extraInitializers","_push_initializers","_push_extraInitializers","for","drawerEl","observer","renderContent","componentStyles","handleForChange","handlePushChange","connectDrawer","disconnectDrawer","style","transform","parent","parentElement","scrollLeft","scrollTop","getElementById","sync","MutationObserver","observe","attributes","attributeFilter","disconnect","isOpen","panel","shadowRoot","querySelector","getAttribute","offsetHeight","offsetWidth"],"mappings":";;;;;;2IAiEO,SAASA,EAAaC,EAAMC,EAAcC,EAAYC,EAAWC,EAAcC,GACpF,SAASC,EAAOC,GAAK,QAAU,IAANA,GAA6B,mBAANA,EAAkB,MAAM,IAAIC,UAAU,qBAAsB,OAAOD,CAAG,CAKtH,IAJA,IAGIE,EAHAC,EAAOP,EAAUO,KAAMC,EAAe,WAATD,EAAoB,MAAiB,WAATA,EAAoB,MAAQ,QACrFE,GAAUX,GAAgBD,EAAOG,EAAkB,OAAIH,EAAOA,EAAKa,UAAY,KAC/EC,EAAab,IAAiBW,EAASG,OAAOC,yBAAyBJ,EAAQT,EAAUc,MAAQ,IAC9FC,GAAO,EACLC,EAAIjB,EAAWkB,OAAS,EAAGD,GAAK,EAAGA,IAAK,CAC7C,IAAIE,EAAU,CAAA,EACd,IAAK,IAAIC,KAAKnB,EAAWkB,EAAQC,GAAW,WAANA,EAAiB,CAAA,EAAKnB,EAAUmB,GACtE,IAAK,IAAIA,KAAKnB,EAAUoB,OAAQF,EAAQE,OAAOD,GAAKnB,EAAUoB,OAAOD,GACrED,EAAQG,eAAiB,SAAUjB,GAAK,GAAIW,EAAM,MAAM,IAAIV,UAAU,0DAA2DH,EAAkBoB,KAAKnB,EAAOC,GAAK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AChB7H,KAAKzF,KAAO,EAChB,CACA,IAAAqO,GACI,IAAK5I,KAAK6H,SACN,OACJ,MAAMqB,EAASlJ,KAAK6H,SAAS5D,aAAa,QAE1C,IADgBjE,KAAK6H,SAAS5D,aAAa,kBAC1BiF,EAEb,YADAlJ,KAAKzF,KAAO,IAIhB,MAAM4O,EAAQnJ,KAAK6H,SAASuB,YAAYC,cAAc,WACtD,IAAKF,EACD,OACJ,MAAM/I,EAAWJ,KAAK6H,SAASyB,aAAa,aAAe,OAEvDtJ,KAAKzF,KADQ,QAAb6F,GAAmC,WAAbA,EACV+I,EAAMI,aAAe,KAGrBJ,EAAMK,YAAc,IAExC,CACA,OAAA9F,GACI1D,KAAKoI,kBACT,GAGP,EA1HuB","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v5.2.2
2
+ * snice v6.0.0
3
3
  * A decorator-driven web component library with differential rendering, routing, controllers, and 130+ ready-made UI components. Use as much or as little as you want. Zero dependencies, works anywhere.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.