snice 4.24.0 → 4.25.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 (512) hide show
  1. package/README.md +4 -39
  2. package/bin/mcp-server.js +32 -0
  3. package/dist/cdn/accordion/snice-accordion.js +2 -2
  4. package/dist/cdn/accordion/snice-accordion.min.js +2 -2
  5. package/dist/cdn/activity-feed/snice-activity-feed.js +3 -3
  6. package/dist/cdn/activity-feed/snice-activity-feed.js.map +1 -1
  7. package/dist/cdn/activity-feed/snice-activity-feed.min.js +3 -3
  8. package/dist/cdn/activity-feed/snice-activity-feed.min.js.map +1 -1
  9. package/dist/cdn/alert/snice-alert.js +8 -4
  10. package/dist/cdn/alert/snice-alert.js.map +1 -1
  11. package/dist/cdn/alert/snice-alert.min.js +2 -2
  12. package/dist/cdn/alert/snice-alert.min.js.map +1 -1
  13. package/dist/cdn/app-tiles/snice-app-tiles.js +2 -2
  14. package/dist/cdn/app-tiles/snice-app-tiles.min.js +2 -2
  15. package/dist/cdn/approval-flow/snice-approval-flow.js +3 -3
  16. package/dist/cdn/approval-flow/snice-approval-flow.js.map +1 -1
  17. package/dist/cdn/approval-flow/snice-approval-flow.min.js +3 -3
  18. package/dist/cdn/approval-flow/snice-approval-flow.min.js.map +1 -1
  19. package/dist/cdn/audio-recorder/README.md +1 -1
  20. package/dist/cdn/audio-recorder/snice-audio-recorder.js +2 -2
  21. package/dist/cdn/audio-recorder/snice-audio-recorder.min.js +2 -2
  22. package/dist/cdn/availability/snice-availability.js +2 -2
  23. package/dist/cdn/availability/snice-availability.min.js +2 -2
  24. package/dist/cdn/avatar/snice-avatar.js +2 -2
  25. package/dist/cdn/avatar/snice-avatar.min.js +2 -2
  26. package/dist/cdn/avatar-group/snice-avatar-group.js +3 -3
  27. package/dist/cdn/avatar-group/snice-avatar-group.js.map +1 -1
  28. package/dist/cdn/avatar-group/snice-avatar-group.min.js +16 -16
  29. package/dist/cdn/avatar-group/snice-avatar-group.min.js.map +1 -1
  30. package/dist/cdn/badge/snice-badge.js +2 -2
  31. package/dist/cdn/badge/snice-badge.min.js +2 -2
  32. package/dist/cdn/banner/snice-banner.js +9 -5
  33. package/dist/cdn/banner/snice-banner.js.map +1 -1
  34. package/dist/cdn/banner/snice-banner.min.js +3 -3
  35. package/dist/cdn/banner/snice-banner.min.js.map +1 -1
  36. package/dist/cdn/book/snice-book.js +2 -2
  37. package/dist/cdn/book/snice-book.min.js +2 -2
  38. package/dist/cdn/booking/snice-booking.js +2 -2
  39. package/dist/cdn/booking/snice-booking.min.js +2 -2
  40. package/dist/cdn/breadcrumbs/snice-breadcrumbs.js +8 -4
  41. package/dist/cdn/breadcrumbs/snice-breadcrumbs.js.map +1 -1
  42. package/dist/cdn/breadcrumbs/snice-breadcrumbs.min.js +2 -2
  43. package/dist/cdn/breadcrumbs/snice-breadcrumbs.min.js.map +1 -1
  44. package/dist/cdn/button/snice-button.js +8 -4
  45. package/dist/cdn/button/snice-button.js.map +1 -1
  46. package/dist/cdn/button/snice-button.min.js +2 -2
  47. package/dist/cdn/button/snice-button.min.js.map +1 -1
  48. package/dist/cdn/calendar/snice-calendar.js +2 -2
  49. package/dist/cdn/calendar/snice-calendar.min.js +2 -2
  50. package/dist/cdn/camera/snice-camera.js +2 -2
  51. package/dist/cdn/camera/snice-camera.min.js +2 -2
  52. package/dist/cdn/camera-annotate/snice-camera-annotate.js +2 -2
  53. package/dist/cdn/camera-annotate/snice-camera-annotate.min.js +2 -2
  54. package/dist/cdn/candlestick/snice-candlestick.js +2 -2
  55. package/dist/cdn/candlestick/snice-candlestick.min.js +2 -2
  56. package/dist/cdn/card/README.md +1 -1
  57. package/dist/cdn/card/snice-card.js +2 -2
  58. package/dist/cdn/card/snice-card.min.js +2 -2
  59. package/dist/cdn/carousel/snice-carousel.js +2 -2
  60. package/dist/cdn/carousel/snice-carousel.min.js +2 -2
  61. package/dist/cdn/cart/snice-cart.js +3 -3
  62. package/dist/cdn/cart/snice-cart.js.map +1 -1
  63. package/dist/cdn/cart/snice-cart.min.js +3 -3
  64. package/dist/cdn/cart/snice-cart.min.js.map +1 -1
  65. package/dist/cdn/chart/snice-chart.js +2 -2
  66. package/dist/cdn/chart/snice-chart.min.js +2 -2
  67. package/dist/cdn/chat/snice-chat.js +9 -5
  68. package/dist/cdn/chat/snice-chat.js.map +1 -1
  69. package/dist/cdn/chat/snice-chat.min.js +3 -3
  70. package/dist/cdn/chat/snice-chat.min.js.map +1 -1
  71. package/dist/cdn/checkbox/snice-checkbox.js +2 -2
  72. package/dist/cdn/checkbox/snice-checkbox.min.js +2 -2
  73. package/dist/cdn/chip/README.md +1 -1
  74. package/dist/cdn/chip/snice-chip.js +8 -4
  75. package/dist/cdn/chip/snice-chip.js.map +1 -1
  76. package/dist/cdn/chip/snice-chip.min.js +2 -2
  77. package/dist/cdn/chip/snice-chip.min.js.map +1 -1
  78. package/dist/cdn/code-block/snice-code-block.js +2 -2
  79. package/dist/cdn/code-block/snice-code-block.min.js +2 -2
  80. package/dist/cdn/color-display/snice-color-display.js +3 -3
  81. package/dist/cdn/color-display/snice-color-display.js.map +1 -1
  82. package/dist/cdn/color-display/snice-color-display.min.js +4 -4
  83. package/dist/cdn/color-display/snice-color-display.min.js.map +1 -1
  84. package/dist/cdn/color-picker/snice-color-picker.js +2 -2
  85. package/dist/cdn/color-picker/snice-color-picker.min.js +2 -2
  86. package/dist/cdn/command-palette/README.md +1 -1
  87. package/dist/cdn/command-palette/snice-command-palette.js +2 -2
  88. package/dist/cdn/command-palette/snice-command-palette.min.js +2 -2
  89. package/dist/cdn/comments/snice-comments.js +3 -3
  90. package/dist/cdn/comments/snice-comments.js.map +1 -1
  91. package/dist/cdn/comments/snice-comments.min.js +3 -3
  92. package/dist/cdn/comments/snice-comments.min.js.map +1 -1
  93. package/dist/cdn/countdown/README.md +1 -1
  94. package/dist/cdn/countdown/snice-countdown.js +2 -2
  95. package/dist/cdn/countdown/snice-countdown.min.js +2 -2
  96. package/dist/cdn/cropper/snice-cropper.js +2 -2
  97. package/dist/cdn/cropper/snice-cropper.min.js +2 -2
  98. package/dist/cdn/data-card/snice-data-card.js +3 -3
  99. package/dist/cdn/data-card/snice-data-card.js.map +1 -1
  100. package/dist/cdn/data-card/snice-data-card.min.js +3 -3
  101. package/dist/cdn/data-card/snice-data-card.min.js.map +1 -1
  102. package/dist/cdn/date-picker/snice-date-picker.js +2 -2
  103. package/dist/cdn/date-picker/snice-date-picker.min.js +2 -2
  104. package/dist/cdn/date-time-picker/README.md +2 -2
  105. package/dist/cdn/date-time-picker/snice-date-time-picker.js +2 -2
  106. package/dist/cdn/date-time-picker/snice-date-time-picker.min.js +2 -2
  107. package/dist/cdn/diff/snice-diff.js +2 -2
  108. package/dist/cdn/diff/snice-diff.min.js +2 -2
  109. package/dist/cdn/divider/snice-divider.js +2 -2
  110. package/dist/cdn/divider/snice-divider.min.js +2 -2
  111. package/dist/cdn/doc/snice-doc.js +2 -2
  112. package/dist/cdn/doc/snice-doc.min.js +2 -2
  113. package/dist/cdn/draw/snice-draw.js +2 -2
  114. package/dist/cdn/draw/snice-draw.min.js +2 -2
  115. package/dist/cdn/drawer/README.md +1 -1
  116. package/dist/cdn/drawer/snice-drawer.js +12 -6
  117. package/dist/cdn/drawer/snice-drawer.js.map +1 -1
  118. package/dist/cdn/drawer/snice-drawer.min.js +4 -4
  119. package/dist/cdn/drawer/snice-drawer.min.js.map +1 -1
  120. package/dist/cdn/empty-state/snice-empty-state.js +9 -5
  121. package/dist/cdn/empty-state/snice-empty-state.js.map +1 -1
  122. package/dist/cdn/empty-state/snice-empty-state.min.js +3 -3
  123. package/dist/cdn/empty-state/snice-empty-state.min.js.map +1 -1
  124. package/dist/cdn/estimate/snice-estimate.js +3 -3
  125. package/dist/cdn/estimate/snice-estimate.js.map +1 -1
  126. package/dist/cdn/estimate/snice-estimate.min.js +3 -3
  127. package/dist/cdn/estimate/snice-estimate.min.js.map +1 -1
  128. package/dist/cdn/file-gallery/snice-file-gallery.js +2 -2
  129. package/dist/cdn/file-gallery/snice-file-gallery.min.js +2 -2
  130. package/dist/cdn/file-upload/snice-file-upload.js +3 -3
  131. package/dist/cdn/file-upload/snice-file-upload.js.map +1 -1
  132. package/dist/cdn/file-upload/snice-file-upload.min.js +3 -3
  133. package/dist/cdn/file-upload/snice-file-upload.min.js.map +1 -1
  134. package/dist/cdn/flip-card/snice-flip-card.js +2 -2
  135. package/dist/cdn/flip-card/snice-flip-card.min.js +2 -2
  136. package/dist/cdn/flow/README.md +1 -1
  137. package/dist/cdn/flow/snice-flow.js +2 -2
  138. package/dist/cdn/flow/snice-flow.min.js +2 -2
  139. package/dist/cdn/form-layout/snice-form-layout.js +3 -3
  140. package/dist/cdn/form-layout/snice-form-layout.js.map +1 -1
  141. package/dist/cdn/form-layout/snice-form-layout.min.js +3 -3
  142. package/dist/cdn/form-layout/snice-form-layout.min.js.map +1 -1
  143. package/dist/cdn/funnel/README.md +2 -2
  144. package/dist/cdn/funnel/snice-funnel.js +2 -2
  145. package/dist/cdn/funnel/snice-funnel.min.js +2 -2
  146. package/dist/cdn/gantt/README.md +1 -1
  147. package/dist/cdn/gantt/snice-gantt.js +2 -2
  148. package/dist/cdn/gantt/snice-gantt.min.js +2 -2
  149. package/dist/cdn/gauge/snice-gauge.js +2 -2
  150. package/dist/cdn/gauge/snice-gauge.min.js +2 -2
  151. package/dist/cdn/heatmap/README.md +1 -1
  152. package/dist/cdn/heatmap/snice-heatmap.js +2 -2
  153. package/dist/cdn/heatmap/snice-heatmap.min.js +2 -2
  154. package/dist/cdn/image/snice-image.js +3 -3
  155. package/dist/cdn/image/snice-image.js.map +1 -1
  156. package/dist/cdn/image/snice-image.min.js +3 -3
  157. package/dist/cdn/image/snice-image.min.js.map +1 -1
  158. package/dist/cdn/input/README.md +1 -1
  159. package/dist/cdn/input/snice-input.js +9 -5
  160. package/dist/cdn/input/snice-input.js.map +1 -1
  161. package/dist/cdn/input/snice-input.min.js +3 -3
  162. package/dist/cdn/input/snice-input.min.js.map +1 -1
  163. package/dist/cdn/invoice/snice-invoice.js +3 -3
  164. package/dist/cdn/invoice/snice-invoice.js.map +1 -1
  165. package/dist/cdn/invoice/snice-invoice.min.js +4 -4
  166. package/dist/cdn/invoice/snice-invoice.min.js.map +1 -1
  167. package/dist/cdn/kanban/snice-kanban.js +2 -2
  168. package/dist/cdn/kanban/snice-kanban.min.js +2 -2
  169. package/dist/cdn/key-value/snice-key-value.js +3 -3
  170. package/dist/cdn/key-value/snice-key-value.js.map +1 -1
  171. package/dist/cdn/key-value/snice-key-value.min.js +3 -3
  172. package/dist/cdn/key-value/snice-key-value.min.js.map +1 -1
  173. package/dist/cdn/kpi/snice-kpi.js +3 -3
  174. package/dist/cdn/kpi/snice-kpi.js.map +1 -1
  175. package/dist/cdn/kpi/snice-kpi.min.js +3 -3
  176. package/dist/cdn/kpi/snice-kpi.min.js.map +1 -1
  177. package/dist/cdn/layout/snice-layout.js +3 -3
  178. package/dist/cdn/layout/snice-layout.js.map +1 -1
  179. package/dist/cdn/layout/snice-layout.min.js +3 -3
  180. package/dist/cdn/layout/snice-layout.min.js.map +1 -1
  181. package/dist/cdn/leaderboard/snice-leaderboard.js +3 -3
  182. package/dist/cdn/leaderboard/snice-leaderboard.js.map +1 -1
  183. package/dist/cdn/leaderboard/snice-leaderboard.min.js +3 -3
  184. package/dist/cdn/leaderboard/snice-leaderboard.min.js.map +1 -1
  185. package/dist/cdn/link/snice-link.js +3 -3
  186. package/dist/cdn/link/snice-link.js.map +1 -1
  187. package/dist/cdn/link/snice-link.min.js +3 -3
  188. package/dist/cdn/link/snice-link.min.js.map +1 -1
  189. package/dist/cdn/link-preview/snice-link-preview.js +3 -3
  190. package/dist/cdn/link-preview/snice-link-preview.js.map +1 -1
  191. package/dist/cdn/link-preview/snice-link-preview.min.js +3 -3
  192. package/dist/cdn/link-preview/snice-link-preview.min.js.map +1 -1
  193. package/dist/cdn/list/snice-list.js +10 -6
  194. package/dist/cdn/list/snice-list.js.map +1 -1
  195. package/dist/cdn/list/snice-list.min.js +4 -4
  196. package/dist/cdn/list/snice-list.min.js.map +1 -1
  197. package/dist/cdn/location/snice-location.js +8 -4
  198. package/dist/cdn/location/snice-location.js.map +1 -1
  199. package/dist/cdn/location/snice-location.min.js +2 -2
  200. package/dist/cdn/location/snice-location.min.js.map +1 -1
  201. package/dist/cdn/login/snice-login.js +8 -4
  202. package/dist/cdn/login/snice-login.js.map +1 -1
  203. package/dist/cdn/login/snice-login.min.js +2 -2
  204. package/dist/cdn/login/snice-login.min.js.map +1 -1
  205. package/dist/cdn/map/README.md +1 -1
  206. package/dist/cdn/map/snice-map.js +2 -2
  207. package/dist/cdn/map/snice-map.min.js +2 -2
  208. package/dist/cdn/markdown/snice-markdown.js +2 -2
  209. package/dist/cdn/markdown/snice-markdown.min.js +2 -2
  210. package/dist/cdn/masonry/snice-masonry.js +2 -2
  211. package/dist/cdn/masonry/snice-masonry.min.js +2 -2
  212. package/dist/cdn/menu/snice-menu.js +2 -2
  213. package/dist/cdn/menu/snice-menu.min.js +2 -2
  214. package/dist/cdn/message-strip/snice-message-strip.js +8 -4
  215. package/dist/cdn/message-strip/snice-message-strip.js.map +1 -1
  216. package/dist/cdn/message-strip/snice-message-strip.min.js +2 -2
  217. package/dist/cdn/message-strip/snice-message-strip.min.js.map +1 -1
  218. package/dist/cdn/metric-table/snice-metric-table.js +3 -3
  219. package/dist/cdn/metric-table/snice-metric-table.js.map +1 -1
  220. package/dist/cdn/metric-table/snice-metric-table.min.js +8 -8
  221. package/dist/cdn/metric-table/snice-metric-table.min.js.map +1 -1
  222. package/dist/cdn/modal/README.md +1 -1
  223. package/dist/cdn/modal/snice-modal.js +2 -2
  224. package/dist/cdn/modal/snice-modal.min.js +2 -2
  225. package/dist/cdn/music-player/snice-music-player.js +2 -2
  226. package/dist/cdn/music-player/snice-music-player.min.js +2 -2
  227. package/dist/cdn/nav/snice-nav.js +3 -3
  228. package/dist/cdn/nav/snice-nav.js.map +1 -1
  229. package/dist/cdn/nav/snice-nav.min.js +3 -3
  230. package/dist/cdn/nav/snice-nav.min.js.map +1 -1
  231. package/dist/cdn/network-graph/snice-network-graph.js +2 -2
  232. package/dist/cdn/network-graph/snice-network-graph.min.js +2 -2
  233. package/dist/cdn/notification-center/snice-notification-center.js +9 -5
  234. package/dist/cdn/notification-center/snice-notification-center.js.map +1 -1
  235. package/dist/cdn/notification-center/snice-notification-center.min.js +3 -3
  236. package/dist/cdn/notification-center/snice-notification-center.min.js.map +1 -1
  237. package/dist/cdn/order-tracker/snice-order-tracker.js +3 -3
  238. package/dist/cdn/order-tracker/snice-order-tracker.js.map +1 -1
  239. package/dist/cdn/order-tracker/snice-order-tracker.min.js +3 -3
  240. package/dist/cdn/order-tracker/snice-order-tracker.min.js.map +1 -1
  241. package/dist/cdn/org-chart/README.md +1 -1
  242. package/dist/cdn/org-chart/snice-org-chart.js +2 -2
  243. package/dist/cdn/org-chart/snice-org-chart.min.js +2 -2
  244. package/dist/cdn/pagination/snice-pagination.js +2 -2
  245. package/dist/cdn/pagination/snice-pagination.min.js +2 -2
  246. package/dist/cdn/paint/snice-paint.js +2 -2
  247. package/dist/cdn/paint/snice-paint.min.js +2 -2
  248. package/dist/cdn/pdf-viewer/snice-pdf-viewer.js +2 -2
  249. package/dist/cdn/pdf-viewer/snice-pdf-viewer.min.js +2 -2
  250. package/dist/cdn/permission-matrix/snice-permission-matrix.js +3 -3
  251. package/dist/cdn/permission-matrix/snice-permission-matrix.js.map +1 -1
  252. package/dist/cdn/permission-matrix/snice-permission-matrix.min.js +12 -12
  253. package/dist/cdn/permission-matrix/snice-permission-matrix.min.js.map +1 -1
  254. package/dist/cdn/podcast-player/snice-podcast-player.js +2 -2
  255. package/dist/cdn/podcast-player/snice-podcast-player.min.js +2 -2
  256. package/dist/cdn/pricing-table/README.md +1 -1
  257. package/dist/cdn/pricing-table/snice-pricing-table.js +3 -3
  258. package/dist/cdn/pricing-table/snice-pricing-table.js.map +1 -1
  259. package/dist/cdn/pricing-table/snice-pricing-table.min.js +3 -3
  260. package/dist/cdn/pricing-table/snice-pricing-table.min.js.map +1 -1
  261. package/dist/cdn/product-card/snice-product-card.js +3 -3
  262. package/dist/cdn/product-card/snice-product-card.js.map +1 -1
  263. package/dist/cdn/product-card/snice-product-card.min.js +3 -3
  264. package/dist/cdn/product-card/snice-product-card.min.js.map +1 -1
  265. package/dist/cdn/progress/README.md +1 -1
  266. package/dist/cdn/progress/snice-progress.js +2 -2
  267. package/dist/cdn/progress/snice-progress.min.js +2 -2
  268. package/dist/cdn/progress-ring/snice-progress-ring.js +2 -2
  269. package/dist/cdn/progress-ring/snice-progress-ring.min.js +2 -2
  270. package/dist/cdn/qr-code/snice-qr-code.js +2 -2
  271. package/dist/cdn/qr-code/snice-qr-code.min.js +2 -2
  272. package/dist/cdn/qr-reader/README.md +1 -1
  273. package/dist/cdn/qr-reader/snice-qr-reader.js +2 -2
  274. package/dist/cdn/qr-reader/snice-qr-reader.min.js +2 -2
  275. package/dist/cdn/radio/snice-radio.js +3 -3
  276. package/dist/cdn/radio/snice-radio.js.map +1 -1
  277. package/dist/cdn/radio/snice-radio.min.js +3 -3
  278. package/dist/cdn/radio/snice-radio.min.js.map +1 -1
  279. package/dist/cdn/range-slider/snice-range-slider.js +2 -2
  280. package/dist/cdn/range-slider/snice-range-slider.min.js +2 -2
  281. package/dist/cdn/rating/snice-rating.js +2 -2
  282. package/dist/cdn/rating/snice-rating.min.js +2 -2
  283. package/dist/cdn/receipt/snice-receipt.js +3 -3
  284. package/dist/cdn/receipt/snice-receipt.js.map +1 -1
  285. package/dist/cdn/receipt/snice-receipt.min.js +7 -7
  286. package/dist/cdn/receipt/snice-receipt.min.js.map +1 -1
  287. package/dist/cdn/recipe/snice-recipe.js +3 -3
  288. package/dist/cdn/recipe/snice-recipe.js.map +1 -1
  289. package/dist/cdn/recipe/snice-recipe.min.js +3 -3
  290. package/dist/cdn/recipe/snice-recipe.min.js.map +1 -1
  291. package/dist/cdn/runtime/README.md +1 -1
  292. package/dist/cdn/runtime/snice-runtime.esm.js +8 -8
  293. package/dist/cdn/runtime/snice-runtime.esm.js.map +1 -1
  294. package/dist/cdn/runtime/snice-runtime.esm.min.js +8 -8
  295. package/dist/cdn/runtime/snice-runtime.esm.min.js.map +1 -1
  296. package/dist/cdn/runtime/snice-runtime.js +8 -8
  297. package/dist/cdn/runtime/snice-runtime.js.map +1 -1
  298. package/dist/cdn/runtime/snice-runtime.min.js +8 -8
  299. package/dist/cdn/runtime/snice-runtime.min.js.map +1 -1
  300. package/dist/cdn/sankey/README.md +1 -1
  301. package/dist/cdn/sankey/snice-sankey.js +2 -2
  302. package/dist/cdn/sankey/snice-sankey.min.js +2 -2
  303. package/dist/cdn/segmented-control/snice-segmented-control.js +2 -2
  304. package/dist/cdn/segmented-control/snice-segmented-control.min.js +2 -2
  305. package/dist/cdn/select/snice-select.js +2 -2
  306. package/dist/cdn/select/snice-select.min.js +2 -2
  307. package/dist/cdn/skeleton/snice-skeleton.js +2 -2
  308. package/dist/cdn/skeleton/snice-skeleton.min.js +2 -2
  309. package/dist/cdn/slider/README.md +1 -1
  310. package/dist/cdn/slider/snice-slider.js +2 -2
  311. package/dist/cdn/slider/snice-slider.min.js +2 -2
  312. package/dist/cdn/sortable/README.md +1 -1
  313. package/dist/cdn/sortable/snice-sortable.js +2 -2
  314. package/dist/cdn/sortable/snice-sortable.min.js +2 -2
  315. package/dist/cdn/sparkline/README.md +1 -1
  316. package/dist/cdn/sparkline/snice-sparkline.js +2 -2
  317. package/dist/cdn/sparkline/snice-sparkline.min.js +2 -2
  318. package/dist/cdn/spinner/README.md +2 -2
  319. package/dist/cdn/spinner/snice-spinner.js +2 -2
  320. package/dist/cdn/spinner/snice-spinner.min.js +2 -2
  321. package/dist/cdn/split-button/snice-split-button.js +2 -2
  322. package/dist/cdn/split-button/snice-split-button.min.js +2 -2
  323. package/dist/cdn/split-pane/snice-split-pane.js +2 -2
  324. package/dist/cdn/split-pane/snice-split-pane.min.js +2 -2
  325. package/dist/cdn/spotlight/snice-spotlight.js +2 -2
  326. package/dist/cdn/spotlight/snice-spotlight.min.js +2 -2
  327. package/dist/cdn/spreadsheet/README.md +2 -2
  328. package/dist/cdn/spreadsheet/snice-spreadsheet.js +2 -2
  329. package/dist/cdn/spreadsheet/snice-spreadsheet.min.js +2 -2
  330. package/dist/cdn/stat-group/snice-stat-group.js +3 -3
  331. package/dist/cdn/stat-group/snice-stat-group.js.map +1 -1
  332. package/dist/cdn/stat-group/snice-stat-group.min.js +4 -4
  333. package/dist/cdn/stat-group/snice-stat-group.min.js.map +1 -1
  334. package/dist/cdn/step-input/snice-step-input.js +3 -3
  335. package/dist/cdn/step-input/snice-step-input.js.map +1 -1
  336. package/dist/cdn/step-input/snice-step-input.min.js +3 -3
  337. package/dist/cdn/step-input/snice-step-input.min.js.map +1 -1
  338. package/dist/cdn/stepper/README.md +1 -1
  339. package/dist/cdn/stepper/snice-stepper.js +3 -3
  340. package/dist/cdn/stepper/snice-stepper.js.map +1 -1
  341. package/dist/cdn/stepper/snice-stepper.min.js +4 -4
  342. package/dist/cdn/stepper/snice-stepper.min.js.map +1 -1
  343. package/dist/cdn/switch/snice-switch.js +2 -2
  344. package/dist/cdn/switch/snice-switch.min.js +2 -2
  345. package/dist/cdn/table/README.md +1 -1
  346. package/dist/cdn/table/snice-table.js +9 -5
  347. package/dist/cdn/table/snice-table.js.map +1 -1
  348. package/dist/cdn/table/snice-table.min.js +3 -3
  349. package/dist/cdn/table/snice-table.min.js.map +1 -1
  350. package/dist/cdn/tabs/README.md +1 -1
  351. package/dist/cdn/tabs/snice-tabs.js +2 -2
  352. package/dist/cdn/tabs/snice-tabs.min.js +2 -2
  353. package/dist/cdn/tag/snice-tag.js +2 -2
  354. package/dist/cdn/tag/snice-tag.min.js +2 -2
  355. package/dist/cdn/tag-input/snice-tag-input.js +3 -3
  356. package/dist/cdn/tag-input/snice-tag-input.js.map +1 -1
  357. package/dist/cdn/tag-input/snice-tag-input.min.js +11 -11
  358. package/dist/cdn/tag-input/snice-tag-input.min.js.map +1 -1
  359. package/dist/cdn/terminal/snice-terminal.js +2 -2
  360. package/dist/cdn/terminal/snice-terminal.min.js +2 -2
  361. package/dist/cdn/testimonial/snice-testimonial.js +2 -2
  362. package/dist/cdn/testimonial/snice-testimonial.min.js +2 -2
  363. package/dist/cdn/textarea/README.md +1 -1
  364. package/dist/cdn/textarea/snice-textarea.js +2 -2
  365. package/dist/cdn/textarea/snice-textarea.min.js +2 -2
  366. package/dist/cdn/time-picker/snice-time-picker.js +2 -2
  367. package/dist/cdn/time-picker/snice-time-picker.min.js +2 -2
  368. package/dist/cdn/time-range-picker/snice-time-range-picker.js +3 -3
  369. package/dist/cdn/time-range-picker/snice-time-range-picker.js.map +1 -1
  370. package/dist/cdn/time-range-picker/snice-time-range-picker.min.js +3 -3
  371. package/dist/cdn/time-range-picker/snice-time-range-picker.min.js.map +1 -1
  372. package/dist/cdn/timeline/snice-timeline.js +3 -3
  373. package/dist/cdn/timeline/snice-timeline.js.map +1 -1
  374. package/dist/cdn/timeline/snice-timeline.min.js +4 -4
  375. package/dist/cdn/timeline/snice-timeline.min.js.map +1 -1
  376. package/dist/cdn/timer/snice-timer.js +3 -3
  377. package/dist/cdn/timer/snice-timer.js.map +1 -1
  378. package/dist/cdn/timer/snice-timer.min.js +3 -3
  379. package/dist/cdn/timer/snice-timer.min.js.map +1 -1
  380. package/dist/cdn/toast/snice-toast.js +2 -2
  381. package/dist/cdn/toast/snice-toast.min.js +2 -2
  382. package/dist/cdn/tooltip/snice-tooltip.js +2 -2
  383. package/dist/cdn/tooltip/snice-tooltip.min.js +2 -2
  384. package/dist/cdn/tree/README.md +2 -2
  385. package/dist/cdn/tree/snice-tree.js +2 -2
  386. package/dist/cdn/tree/snice-tree.min.js +2 -2
  387. package/dist/cdn/treemap/snice-treemap.js +2 -2
  388. package/dist/cdn/treemap/snice-treemap.min.js +2 -2
  389. package/dist/cdn/user-card/snice-user-card.js +3 -3
  390. package/dist/cdn/user-card/snice-user-card.js.map +1 -1
  391. package/dist/cdn/user-card/snice-user-card.min.js +7 -7
  392. package/dist/cdn/user-card/snice-user-card.min.js.map +1 -1
  393. package/dist/cdn/video-player/snice-video-player.js +2 -2
  394. package/dist/cdn/video-player/snice-video-player.min.js +2 -2
  395. package/dist/cdn/virtual-scroller/README.md +1 -1
  396. package/dist/cdn/virtual-scroller/snice-virtual-scroller.js +2 -2
  397. package/dist/cdn/virtual-scroller/snice-virtual-scroller.min.js +2 -2
  398. package/dist/cdn/waterfall/README.md +1 -1
  399. package/dist/cdn/waterfall/snice-waterfall.js +2 -2
  400. package/dist/cdn/waterfall/snice-waterfall.min.js +2 -2
  401. package/dist/cdn/weather/snice-weather.js +2 -2
  402. package/dist/cdn/weather/snice-weather.min.js +2 -2
  403. package/dist/cdn/work-order/snice-work-order.js +3 -3
  404. package/dist/cdn/work-order/snice-work-order.js.map +1 -1
  405. package/dist/cdn/work-order/snice-work-order.min.js +3 -3
  406. package/dist/cdn/work-order/snice-work-order.min.js.map +1 -1
  407. package/dist/components/activity-feed/snice-activity-feed.js +1 -1
  408. package/dist/components/activity-feed/snice-activity-feed.js.map +1 -1
  409. package/dist/components/approval-flow/snice-approval-flow.js +1 -1
  410. package/dist/components/approval-flow/snice-approval-flow.js.map +1 -1
  411. package/dist/components/avatar-group/snice-avatar-group.js +1 -1
  412. package/dist/components/avatar-group/snice-avatar-group.js.map +1 -1
  413. package/dist/components/banner/snice-banner.js +1 -1
  414. package/dist/components/banner/snice-banner.js.map +1 -1
  415. package/dist/components/cart/snice-cart.js +1 -1
  416. package/dist/components/cart/snice-cart.js.map +1 -1
  417. package/dist/components/color-display/snice-color-display.js +1 -1
  418. package/dist/components/color-display/snice-color-display.js.map +1 -1
  419. package/dist/components/comments/snice-comments.js +1 -1
  420. package/dist/components/comments/snice-comments.js.map +1 -1
  421. package/dist/components/data-card/snice-data-card.js +1 -1
  422. package/dist/components/data-card/snice-data-card.js.map +1 -1
  423. package/dist/components/drawer/snice-drawer.js +10 -4
  424. package/dist/components/drawer/snice-drawer.js.map +1 -1
  425. package/dist/components/empty-state/snice-empty-state.js +1 -1
  426. package/dist/components/empty-state/snice-empty-state.js.map +1 -1
  427. package/dist/components/estimate/snice-estimate.js +1 -1
  428. package/dist/components/estimate/snice-estimate.js.map +1 -1
  429. package/dist/components/file-upload/snice-file-upload.js +1 -1
  430. package/dist/components/file-upload/snice-file-upload.js.map +1 -1
  431. package/dist/components/form-layout/snice-form-layout.js +1 -1
  432. package/dist/components/form-layout/snice-form-layout.js.map +1 -1
  433. package/dist/components/image/snice-image.js +1 -1
  434. package/dist/components/image/snice-image.js.map +1 -1
  435. package/dist/components/input/snice-input.js +1 -1
  436. package/dist/components/input/snice-input.js.map +1 -1
  437. package/dist/components/invoice/snice-invoice.js +1 -1
  438. package/dist/components/invoice/snice-invoice.js.map +1 -1
  439. package/dist/components/key-value/snice-key-value.js +1 -1
  440. package/dist/components/key-value/snice-key-value.js.map +1 -1
  441. package/dist/components/kpi/snice-kpi.js +1 -1
  442. package/dist/components/kpi/snice-kpi.js.map +1 -1
  443. package/dist/components/leaderboard/snice-leaderboard.js +1 -1
  444. package/dist/components/leaderboard/snice-leaderboard.js.map +1 -1
  445. package/dist/components/link/snice-link.js +1 -1
  446. package/dist/components/link/snice-link.js.map +1 -1
  447. package/dist/components/link-preview/snice-link-preview.js +1 -1
  448. package/dist/components/link-preview/snice-link-preview.js.map +1 -1
  449. package/dist/components/list/snice-list-item.js +1 -1
  450. package/dist/components/list/snice-list-item.js.map +1 -1
  451. package/dist/components/metric-table/snice-metric-table.js +1 -1
  452. package/dist/components/metric-table/snice-metric-table.js.map +1 -1
  453. package/dist/components/nav/snice-nav.js +1 -1
  454. package/dist/components/nav/snice-nav.js.map +1 -1
  455. package/dist/components/order-tracker/snice-order-tracker.js +1 -1
  456. package/dist/components/order-tracker/snice-order-tracker.js.map +1 -1
  457. package/dist/components/permission-matrix/snice-permission-matrix.js +1 -1
  458. package/dist/components/permission-matrix/snice-permission-matrix.js.map +1 -1
  459. package/dist/components/pricing-table/snice-pricing-table.js +1 -1
  460. package/dist/components/pricing-table/snice-pricing-table.js.map +1 -1
  461. package/dist/components/product-card/snice-product-card.js +1 -1
  462. package/dist/components/product-card/snice-product-card.js.map +1 -1
  463. package/dist/components/radio/snice-radio.js +1 -1
  464. package/dist/components/radio/snice-radio.js.map +1 -1
  465. package/dist/components/receipt/snice-receipt.js +1 -1
  466. package/dist/components/receipt/snice-receipt.js.map +1 -1
  467. package/dist/components/recipe/snice-recipe.js +1 -1
  468. package/dist/components/recipe/snice-recipe.js.map +1 -1
  469. package/dist/components/stat-group/snice-stat-group.js +1 -1
  470. package/dist/components/stat-group/snice-stat-group.js.map +1 -1
  471. package/dist/components/step-input/snice-step-input.js +1 -1
  472. package/dist/components/step-input/snice-step-input.js.map +1 -1
  473. package/dist/components/stepper/snice-stepper.js +1 -1
  474. package/dist/components/stepper/snice-stepper.js.map +1 -1
  475. package/dist/components/tag-input/snice-tag-input.js +1 -1
  476. package/dist/components/tag-input/snice-tag-input.js.map +1 -1
  477. package/dist/components/time-range-picker/snice-time-range-picker.js +1 -1
  478. package/dist/components/time-range-picker/snice-time-range-picker.js.map +1 -1
  479. package/dist/components/timeline/snice-timeline.js +1 -1
  480. package/dist/components/timeline/snice-timeline.js.map +1 -1
  481. package/dist/components/timer/snice-timer.js +1 -1
  482. package/dist/components/timer/snice-timer.js.map +1 -1
  483. package/dist/components/user-card/snice-user-card.js +1 -1
  484. package/dist/components/user-card/snice-user-card.js.map +1 -1
  485. package/dist/components/utils.d.ts +6 -2
  486. package/dist/components/utils.js +6 -2
  487. package/dist/components/utils.js.map +1 -1
  488. package/dist/components/work-order/snice-work-order.js +1 -1
  489. package/dist/components/work-order/snice-work-order.js.map +1 -1
  490. package/dist/index.cjs +2 -2
  491. package/dist/index.esm.js +2 -2
  492. package/dist/index.iife.js +2 -2
  493. package/dist/symbols.cjs +2 -2
  494. package/dist/symbols.esm.js +2 -2
  495. package/dist/transitions.cjs +2 -2
  496. package/dist/transitions.esm.js +2 -2
  497. package/docs/ai/components/alert.md +10 -9
  498. package/docs/ai/components/banner.md +8 -7
  499. package/docs/ai/components/breadcrumbs.md +4 -3
  500. package/docs/ai/components/button.md +20 -16
  501. package/docs/ai/components/chip.md +9 -8
  502. package/docs/ai/components/empty-state.md +9 -11
  503. package/docs/ai/components/input.md +16 -18
  504. package/docs/ai/components/location.md +1 -1
  505. package/docs/components/alert.md +8 -6
  506. package/docs/components/breadcrumbs.md +2 -2
  507. package/docs/components/button.md +58 -33
  508. package/docs/components/chip.md +8 -6
  509. package/docs/components/empty-state.md +1 -1
  510. package/docs/components/input.md +24 -10
  511. package/docs/components/location.md +1 -1
  512. package/package.json +4 -3
@@ -1 +1 @@
1
- {"version":3,"file":"snice-user-card.min.js","sources":["../../../node_modules/tslib/tslib.es6.mjs","../../components/user-card/snice-user-card.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, render, styles, dispatch, html, css } from 'snice';\n\nvar cssContent = \":host{display:block;font-family:var(--snice-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);contain:layout style paint}case,default,if,when{display:contents}.user-card{background:var(--snice-color-background-element,rgb(252 251 249));border:1px solid var(--snice-color-border,rgb(226 226 226));border-radius:var(--snice-border-radius-lg,.5rem);overflow:hidden;color:var(--snice-color-text,rgb(23 23 23));position:relative}:host(:not([variant])) .user-card,:host([variant=card]) .user-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:var(--snice-spacing-lg,1.5rem)}:host([variant=horizontal]) .user-card{display:flex;flex-direction:row;align-items:flex-start;gap:var(--snice-spacing-lg,1.5rem);padding:var(--snice-spacing-lg,1.5rem);text-align:left}:host([variant=horizontal]) .user-card-info{flex:1;min-width:0}:host([variant=compact]) .user-card{display:flex;flex-direction:row;align-items:center;gap:var(--snice-spacing-md,1rem);padding:var(--snice-spacing-sm,.75rem) var(--snice-spacing-md,1rem);text-align:left}:host([variant=compact]) .user-card-info{flex:1;min-width:0}:host([variant=compact]) .user-card-contact,:host([variant=compact]) .user-card-social{display:none}.user-card-avatar-wrapper{position:relative;flex-shrink:0}:host(:not([variant])) .user-card-avatar-wrapper,:host([variant=card]) .user-card-avatar-wrapper{margin-bottom:var(--snice-spacing-md,1rem)}.user-card-avatar{width:5rem;height:5rem;border-radius:50%;object-fit:cover;background:var(--snice-color-background-secondary,rgb(240 240 240));display:block}:host([variant=compact]) .user-card-avatar{width:2.5rem;height:2.5rem}.user-card-avatar-fallback{width:5rem;height:5rem;border-radius:50%;background:var(--snice-color-primary,rgb(37 99 235));color:var(--snice-color-text-inverse,rgb(250 250 250));display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:var(--snice-font-weight-semibold,600);user-select:none}:host([variant=compact]) .user-card-avatar-fallback{width:2.5rem;height:2.5rem;font-size:.875rem}.user-card-status{position:absolute;bottom:2px;right:2px;width:.875rem;height:.875rem;border-radius:50%;border:2px solid var(--snice-color-background-element,rgb(252 251 249))}:host([variant=compact]) .user-card-status{width:.625rem;height:.625rem;bottom:0;right:0}:host([status=online]) .user-card-status{background:var(--snice-color-success,rgb(22 163 74))}:host([status=away]) .user-card-status{background:rgb(234 179 8)}:host([status=offline]) .user-card-status{background:var(--snice-color-text-tertiary,rgb(115 115 115))}:host([status=busy]) .user-card-status{background:var(--snice-color-danger,rgb(220 38 38))}.user-card-name{font-size:var(--snice-font-size-lg, 1.125rem);font-weight:var(--snice-font-weight-semibold,600);color:var(--snice-color-text,rgb(23 23 23));margin:0;line-height:var(--snice-line-height-normal, 1.5)}:host([variant=compact]) .user-card-name{font-size:var(--snice-font-size-md, 1rem)}.user-card-role{font-size:var(--snice-font-size-sm, .875rem);color:var(--snice-color-text-secondary,rgb(82 82 82));margin:var(--snice-spacing-3xs,.125rem) 0 var(--snice-spacing-md,1rem) 0;line-height:var(--snice-line-height-normal, 1.5)}:host([variant=compact]) .user-card-role{font-size:var(--snice-font-size-xs, .75rem);margin:0}.user-card-contact{display:flex;flex-direction:column;gap:var(--snice-spacing-xs,.5rem);width:100%;margin-bottom:var(--snice-spacing-md,1rem)}.user-card-contact-item{display:flex;align-items:center;gap:var(--snice-spacing-xs,.5rem);font-size:var(--snice-font-size-sm, .875rem);color:var(--snice-color-text-secondary,rgb(82 82 82))}:host(:not([variant])) .user-card-contact-item,:host([variant=card]) .user-card-contact-item{justify-content:center}.user-card-contact-icon{width:1rem;height:1rem;flex-shrink:0;color:var(--snice-color-text-tertiary,rgb(115 115 115))}.user-card-contact-link{color:var(--snice-color-primary,rgb(37 99 235));text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-card-contact-link:hover{text-decoration:underline}.user-card-contact-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-card-social{display:flex;gap:var(--snice-spacing-xs,.5rem);flex-wrap:wrap}:host(:not([variant])) .user-card-social,:host([variant=card]) .user-card-social{justify-content:center}.user-card-social-link{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:50%;background:var(--snice-color-background-secondary,rgb(240 240 240));color:var(--snice-color-text-secondary,rgb(82 82 82));text-decoration:none;transition:background var(--snice-transition-fast, 150ms) ease,color var(--snice-transition-fast, 150ms) ease;cursor:pointer;border:none;padding:0;font-size:0}.user-card-social-link:hover{background:var(--snice-color-primary,rgb(37 99 235));color:var(--snice-color-text-inverse,rgb(250 250 250))}.user-card-social-link:focus-visible{outline:var(--snice-focus-ring-width,2px) solid var(--snice-focus-ring-color,rgb(59 130 246 / .5));outline-offset:var(--snice-focus-ring-offset,2px)}.user-card-social-icon{width:1rem;height:1rem}.user-card-actions{margin-top:var(--snice-spacing-md,1rem);width:100%}:host(:not([variant])) .user-card-actions,:host([variant=card]) .user-card-actions{display:flex;justify-content:center;gap:var(--snice-spacing-xs,.5rem)}:host([variant=horizontal]) .user-card-actions{display:flex;gap:var(--snice-spacing-xs,.5rem)}[hidden]{display:none!important}\";\n\nlet SniceUserCard = (() => {\n let _classDecorators = [element('snice-user-card')];\n let _classDescriptor;\n let _classExtraInitializers = [];\n let _classThis;\n let _classSuper = HTMLElement;\n let _instanceExtraInitializers = [];\n let _name_decorators;\n let _name_initializers = [];\n let _name_extraInitializers = [];\n let _avatar_decorators;\n let _avatar_initializers = [];\n let _avatar_extraInitializers = [];\n let _role_decorators;\n let _role_initializers = [];\n let _role_extraInitializers = [];\n let _company_decorators;\n let _company_initializers = [];\n let _company_extraInitializers = [];\n let _email_decorators;\n let _email_initializers = [];\n let _email_extraInitializers = [];\n let _phone_decorators;\n let _phone_initializers = [];\n let _phone_extraInitializers = [];\n let _location_decorators;\n let _location_initializers = [];\n let _location_extraInitializers = [];\n let _social_decorators;\n let _social_initializers = [];\n let _social_extraInitializers = [];\n let _status_decorators;\n let _status_initializers = [];\n let _status_extraInitializers = [];\n let _variant_decorators;\n let _variant_initializers = [];\n let _variant_extraInitializers = [];\n let _renderContent_decorators;\n let _componentStyles_decorators;\n let _handleSocialClick_decorators;\n let _emitActionClick_decorators;\n (class extends _classSuper {\n static { _classThis = this; }\n constructor() {\n super(...arguments);\n this.name = (__runInitializers(this, _instanceExtraInitializers), __runInitializers(this, _name_initializers, ''));\n this.avatar = (__runInitializers(this, _name_extraInitializers), __runInitializers(this, _avatar_initializers, ''));\n this.role = (__runInitializers(this, _avatar_extraInitializers), __runInitializers(this, _role_initializers, ''));\n this.company = (__runInitializers(this, _role_extraInitializers), __runInitializers(this, _company_initializers, ''));\n this.email = (__runInitializers(this, _company_extraInitializers), __runInitializers(this, _email_initializers, ''));\n this.phone = (__runInitializers(this, _email_extraInitializers), __runInitializers(this, _phone_initializers, ''));\n this.location = (__runInitializers(this, _phone_extraInitializers), __runInitializers(this, _location_initializers, ''));\n this.social = (__runInitializers(this, _location_extraInitializers), __runInitializers(this, _social_initializers, []));\n this.status = (__runInitializers(this, _social_extraInitializers), __runInitializers(this, _status_initializers, 'offline'));\n this.variant = (__runInitializers(this, _status_extraInitializers), __runInitializers(this, _variant_initializers, 'card'));\n this.handleAvatarError = (__runInitializers(this, _variant_extraInitializers), () => {\n // Hide the broken image and show fallback\n const img = this.shadowRoot?.querySelector('.user-card-avatar');\n if (img) {\n img.style.display = 'none';\n const fallback = document.createElement('div');\n fallback.className = 'user-card-avatar-fallback';\n fallback.textContent = this.getInitials(this.name);\n img.parentElement?.insertBefore(fallback, img);\n }\n });\n this.handleSlotChange = () => {\n const slot = this.shadowRoot?.querySelector('slot');\n const actions = this.shadowRoot?.querySelector('.user-card-actions');\n if (slot && actions) {\n const hasContent = slot.assignedNodes().length > 0;\n actions.hidden = !hasContent;\n }\n };\n }\n static {\n const _metadata = typeof Symbol === \"function\" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;\n _name_decorators = [property()];\n _avatar_decorators = [property()];\n _role_decorators = [property()];\n _company_decorators = [property()];\n _email_decorators = [property()];\n _phone_decorators = [property()];\n _location_decorators = [property()];\n _social_decorators = [property({ type: Array, attribute: false })];\n _status_decorators = [property()];\n _variant_decorators = [property()];\n _renderContent_decorators = [render()];\n _componentStyles_decorators = [styles()];\n _handleSocialClick_decorators = [dispatch('social-click', { bubbles: true, composed: true })];\n _emitActionClick_decorators = [dispatch('action-click', { bubbles: true, composed: true })];\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, _handleSocialClick_decorators, { kind: \"method\", name: \"handleSocialClick\", static: false, private: false, access: { has: obj => \"handleSocialClick\" in obj, get: obj => obj.handleSocialClick }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _emitActionClick_decorators, { kind: \"method\", name: \"emitActionClick\", static: false, private: false, access: { has: obj => \"emitActionClick\" in obj, get: obj => obj.emitActionClick }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(null, null, _name_decorators, { kind: \"field\", name: \"name\", static: false, private: false, access: { has: obj => \"name\" in obj, get: obj => obj.name, set: (obj, value) => { obj.name = value; } }, metadata: _metadata }, _name_initializers, _name_extraInitializers);\n __esDecorate(null, null, _avatar_decorators, { kind: \"field\", name: \"avatar\", static: false, private: false, access: { has: obj => \"avatar\" in obj, get: obj => obj.avatar, set: (obj, value) => { obj.avatar = value; } }, metadata: _metadata }, _avatar_initializers, _avatar_extraInitializers);\n __esDecorate(null, null, _role_decorators, { kind: \"field\", name: \"role\", static: false, private: false, access: { has: obj => \"role\" in obj, get: obj => obj.role, set: (obj, value) => { obj.role = value; } }, metadata: _metadata }, _role_initializers, _role_extraInitializers);\n __esDecorate(null, null, _company_decorators, { kind: \"field\", name: \"company\", static: false, private: false, access: { has: obj => \"company\" in obj, get: obj => obj.company, set: (obj, value) => { obj.company = value; } }, metadata: _metadata }, _company_initializers, _company_extraInitializers);\n __esDecorate(null, null, _email_decorators, { kind: \"field\", name: \"email\", static: false, private: false, access: { has: obj => \"email\" in obj, get: obj => obj.email, set: (obj, value) => { obj.email = value; } }, metadata: _metadata }, _email_initializers, _email_extraInitializers);\n __esDecorate(null, null, _phone_decorators, { kind: \"field\", name: \"phone\", static: false, private: false, access: { has: obj => \"phone\" in obj, get: obj => obj.phone, set: (obj, value) => { obj.phone = value; } }, metadata: _metadata }, _phone_initializers, _phone_extraInitializers);\n __esDecorate(null, null, _location_decorators, { kind: \"field\", name: \"location\", static: false, private: false, access: { has: obj => \"location\" in obj, get: obj => obj.location, set: (obj, value) => { obj.location = value; } }, metadata: _metadata }, _location_initializers, _location_extraInitializers);\n __esDecorate(null, null, _social_decorators, { kind: \"field\", name: \"social\", static: false, private: false, access: { has: obj => \"social\" in obj, get: obj => obj.social, set: (obj, value) => { obj.social = value; } }, metadata: _metadata }, _social_initializers, _social_extraInitializers);\n __esDecorate(null, null, _status_decorators, { kind: \"field\", name: \"status\", static: false, private: false, access: { has: obj => \"status\" in obj, get: obj => obj.status, set: (obj, value) => { obj.status = value; } }, metadata: _metadata }, _status_initializers, _status_extraInitializers);\n __esDecorate(null, null, _variant_decorators, { kind: \"field\", name: \"variant\", static: false, private: false, access: { has: obj => \"variant\" in obj, get: obj => obj.variant, set: (obj, value) => { obj.variant = value; } }, metadata: _metadata }, _variant_initializers, _variant_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 const initials = this.getInitials(this.name);\n const roleText = [this.role, this.company].filter(Boolean).join(' at ');\n const hasContact = this.email || this.phone || this.location;\n const hasSocial = this.social && this.social.length > 0;\n return html /*html*/ `\n <div part=\"base\" class=\"user-card\">\n <div class=\"user-card-avatar-wrapper\" part=\"avatar\">\n <if ${this.avatar}>\n <img class=\"user-card-avatar\"\n src=\"${this.avatar}\"\n alt=\"${this.name}\"\n loading=\"lazy\"\n @error=${this.handleAvatarError}>\n </if>\n <if ${!this.avatar}>\n <div class=\"user-card-avatar-fallback\">${initials}</div>\n </if>\n <if ${this.status}>\n <span class=\"user-card-status\" part=\"status\"\n role=\"img\"\n aria-label=\"${this.status}\"></span>\n </if>\n </div>\n\n <div class=\"user-card-info\">\n <if ${this.name}>\n <h3 class=\"user-card-name\" part=\"name\">${this.name}</h3>\n </if>\n <if ${roleText}>\n <p class=\"user-card-role\" part=\"role\">${roleText}</p>\n </if>\n\n <if ${hasContact}>\n <div class=\"user-card-contact\" part=\"contact\">\n <if ${this.email}>\n <div class=\"user-card-contact-item\">\n <svg class=\"user-card-contact-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"2\" y=\"4\" width=\"20\" height=\"16\" rx=\"2\"></rect>\n <path d=\"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7\"></path>\n </svg>\n <a class=\"user-card-contact-link\" href=\"mailto:${this.email}\">${this.email}</a>\n </div>\n </if>\n <if ${this.phone}>\n <div class=\"user-card-contact-item\">\n <svg class=\"user-card-contact-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z\"></path>\n </svg>\n <a class=\"user-card-contact-link\" href=\"tel:${this.phone}\">${this.phone}</a>\n </div>\n </if>\n <if ${this.location}>\n <div class=\"user-card-contact-item\">\n <svg class=\"user-card-contact-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z\"></path>\n <circle cx=\"12\" cy=\"10\" r=\"3\"></circle>\n </svg>\n <span class=\"user-card-contact-text\">${this.location}</span>\n </div>\n </if>\n </div>\n </if>\n\n <if ${hasSocial}>\n <div class=\"user-card-social\" part=\"social\">\n ${this.social.map(link => html /*html*/ `\n <button class=\"user-card-social-link\"\n title=\"${link.platform}\"\n aria-label=\"${link.platform}\"\n @click=${() => this.handleSocialClick(link)}>\n ${this.renderSocialIcon(link.platform)}\n </button>\n `)}\n </div>\n </if>\n\n <div class=\"user-card-actions\" part=\"actions\">\n <slot @slotchange=${this.handleSlotChange}></slot>\n </div>\n </div>\n </div>\n `;\n }\n componentStyles() {\n return css /*css*/ `${cssContent}`;\n }\n handleSocialClick(link) {\n return { platform: link.platform, url: link.url };\n }\n emitActionClick(action) {\n return { action };\n }\n getInitials(name) {\n if (!name)\n return '';\n const words = name.trim().split(/\\s+/).filter(w => w.length > 0);\n if (words.length === 0)\n return '';\n if (words.length === 1)\n return words[0][0].toUpperCase();\n return (words[0][0] + words[1][0]).toUpperCase();\n }\n renderSocialIcon(platform) {\n const p = platform.toLowerCase();\n // Common social platform icons as inline SVG\n switch (p) {\n case 'github':\n return html `<svg class=\"user-card-social-icon\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12z\"/></svg>`;\n case 'twitter':\n case 'x':\n return html `<svg class=\"user-card-social-icon\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z\"/></svg>`;\n case 'linkedin':\n return html `<svg class=\"user-card-social-icon\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z\"/></svg>`;\n case 'facebook':\n return html `<svg class=\"user-card-social-icon\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z\"/></svg>`;\n case 'instagram':\n return html `<svg class=\"user-card-social-icon\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 1 0 0-12.324zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405a1.441 1.441 0 1 1-2.882 0 1.441 1.441 0 0 1 2.882 0z\"/></svg>`;\n case 'youtube':\n return html `<svg class=\"user-card-social-icon\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z\"/></svg>`;\n case 'website':\n case 'web':\n return html `<svg class=\"user-card-social-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"></circle><line x1=\"2\" y1=\"12\" x2=\"22\" y2=\"12\"></line><path d=\"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z\"></path></svg>`;\n default:\n // Generic link icon\n return html `<svg class=\"user-card-social-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\"></path><path d=\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\"></path></svg>`;\n }\n }\n });\n return _classThis;\n})();\n\nexport { SniceUserCard };\n//# sourceMappingURL=snice-user-card.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","SniceUserCard","_classDescriptor","_classThis","_name_decorators","_avatar_decorators","_role_decorators","_company_decorators","_email_decorators","_phone_decorators","_location_decorators","_social_decorators","_status_decorators","_variant_decorators","_renderContent_decorators","_componentStyles_decorators","_handleSocialClick_decorators","_emitActionClick_decorators","_classDecorators","element","_classExtraInitializers","_classSuper","HTMLElement","_instanceExtraInitializers","_name_initializers","_name_extraInitializers","_avatar_initializers","_avatar_extraInitializers","_role_initializers","_role_extraInitializers","_company_initializers","_company_extraInitializers","_email_initializers","_email_extraInitializers","_phone_initializers","_phone_extraInitializers","_location_initializers","_location_extraInitializers","_social_initializers","_social_extraInitializers","_status_initializers","_status_extraInitializers","_variant_initializers","_variant_extraInitializers","this","constructor","super","avatar","role","company","email","phone","location","social","status","variant","handleAvatarError","img","shadowRoot","querySelector","style","display","fallback","document","createElement","className","textContent","getInitials","parentElement","insertBefore","handleSlotChange","slot","actions","hasContent","assignedNodes","hidden","_metadata","Symbol","metadata","create","property","type","Array","attribute","render","styles","dispatch","bubbles","composed","static","private","has","obj","renderContent","componentStyles","handleSocialClick","emitActionClick","enumerable","configurable","writable","initials","roleText","filter","Boolean","join","hasContact","hasSocial","html","map","link","platform","renderSocialIcon","css","url","action","words","trim","split","w","toUpperCase","toLowerCase"],"mappings":";;;;;;kKAiEO,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,IAA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+ {"version":3,"file":"snice-user-card.min.js","sources":["../../../node_modules/tslib/tslib.es6.mjs","../../components/user-card/snice-user-card.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, render, styles, dispatch, html, css } from 'snice';\n\nvar cssContent = \":host{display:block;font-family:var(--snice-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif)}case,default,if,when{display:contents}.user-card{background:var(--snice-color-background-element,rgb(252 251 249));border:1px solid var(--snice-color-border,rgb(226 226 226));border-radius:var(--snice-border-radius-lg,.5rem);overflow:hidden;color:var(--snice-color-text,rgb(23 23 23));position:relative}:host(:not([variant])) .user-card,:host([variant=card]) .user-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:var(--snice-spacing-lg,1.5rem)}:host([variant=horizontal]) .user-card{display:flex;flex-direction:row;align-items:flex-start;gap:var(--snice-spacing-lg,1.5rem);padding:var(--snice-spacing-lg,1.5rem);text-align:left}:host([variant=horizontal]) .user-card-info{flex:1;min-width:0}:host([variant=compact]) .user-card{display:flex;flex-direction:row;align-items:center;gap:var(--snice-spacing-md,1rem);padding:var(--snice-spacing-sm,.75rem) var(--snice-spacing-md,1rem);text-align:left}:host([variant=compact]) .user-card-info{flex:1;min-width:0}:host([variant=compact]) .user-card-contact,:host([variant=compact]) .user-card-social{display:none}.user-card-avatar-wrapper{position:relative;flex-shrink:0}:host(:not([variant])) .user-card-avatar-wrapper,:host([variant=card]) .user-card-avatar-wrapper{margin-bottom:var(--snice-spacing-md,1rem)}.user-card-avatar{width:5rem;height:5rem;border-radius:50%;object-fit:cover;background:var(--snice-color-background-secondary,rgb(240 240 240));display:block}:host([variant=compact]) .user-card-avatar{width:2.5rem;height:2.5rem}.user-card-avatar-fallback{width:5rem;height:5rem;border-radius:50%;background:var(--snice-color-primary,rgb(37 99 235));color:var(--snice-color-text-inverse,rgb(250 250 250));display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:var(--snice-font-weight-semibold,600);user-select:none}:host([variant=compact]) .user-card-avatar-fallback{width:2.5rem;height:2.5rem;font-size:.875rem}.user-card-status{position:absolute;bottom:2px;right:2px;width:.875rem;height:.875rem;border-radius:50%;border:2px solid var(--snice-color-background-element,rgb(252 251 249))}:host([variant=compact]) .user-card-status{width:.625rem;height:.625rem;bottom:0;right:0}:host([status=online]) .user-card-status{background:var(--snice-color-success,rgb(22 163 74))}:host([status=away]) .user-card-status{background:rgb(234 179 8)}:host([status=offline]) .user-card-status{background:var(--snice-color-text-tertiary,rgb(115 115 115))}:host([status=busy]) .user-card-status{background:var(--snice-color-danger,rgb(220 38 38))}.user-card-name{font-size:var(--snice-font-size-lg, 1.125rem);font-weight:var(--snice-font-weight-semibold,600);color:var(--snice-color-text,rgb(23 23 23));margin:0;line-height:var(--snice-line-height-normal, 1.5)}:host([variant=compact]) .user-card-name{font-size:var(--snice-font-size-md, 1rem)}.user-card-role{font-size:var(--snice-font-size-sm, .875rem);color:var(--snice-color-text-secondary,rgb(82 82 82));margin:var(--snice-spacing-3xs,.125rem) 0 var(--snice-spacing-md,1rem) 0;line-height:var(--snice-line-height-normal, 1.5)}:host([variant=compact]) .user-card-role{font-size:var(--snice-font-size-xs, .75rem);margin:0}.user-card-contact{display:flex;flex-direction:column;gap:var(--snice-spacing-xs,.5rem);width:100%;margin-bottom:var(--snice-spacing-md,1rem)}.user-card-contact-item{display:flex;align-items:center;gap:var(--snice-spacing-xs,.5rem);font-size:var(--snice-font-size-sm, .875rem);color:var(--snice-color-text-secondary,rgb(82 82 82))}:host(:not([variant])) .user-card-contact-item,:host([variant=card]) .user-card-contact-item{justify-content:center}.user-card-contact-icon{width:1rem;height:1rem;flex-shrink:0;color:var(--snice-color-text-tertiary,rgb(115 115 115))}.user-card-contact-link{color:var(--snice-color-primary,rgb(37 99 235));text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-card-contact-link:hover{text-decoration:underline}.user-card-contact-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-card-social{display:flex;gap:var(--snice-spacing-xs,.5rem);flex-wrap:wrap}:host(:not([variant])) .user-card-social,:host([variant=card]) .user-card-social{justify-content:center}.user-card-social-link{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:50%;background:var(--snice-color-background-secondary,rgb(240 240 240));color:var(--snice-color-text-secondary,rgb(82 82 82));text-decoration:none;transition:background var(--snice-transition-fast, 150ms) ease,color var(--snice-transition-fast, 150ms) ease;cursor:pointer;border:none;padding:0;font-size:0}.user-card-social-link:hover{background:var(--snice-color-primary,rgb(37 99 235));color:var(--snice-color-text-inverse,rgb(250 250 250))}.user-card-social-link:focus-visible{outline:var(--snice-focus-ring-width,2px) solid var(--snice-focus-ring-color,rgb(59 130 246 / .5));outline-offset:var(--snice-focus-ring-offset,2px)}.user-card-social-icon{width:1rem;height:1rem}.user-card-actions{margin-top:var(--snice-spacing-md,1rem);width:100%}:host(:not([variant])) .user-card-actions,:host([variant=card]) .user-card-actions{display:flex;justify-content:center;gap:var(--snice-spacing-xs,.5rem)}:host([variant=horizontal]) .user-card-actions{display:flex;gap:var(--snice-spacing-xs,.5rem)}[hidden]{display:none!important}\";\n\nlet SniceUserCard = (() => {\n let _classDecorators = [element('snice-user-card')];\n let _classDescriptor;\n let _classExtraInitializers = [];\n let _classThis;\n let _classSuper = HTMLElement;\n let _instanceExtraInitializers = [];\n let _name_decorators;\n let _name_initializers = [];\n let _name_extraInitializers = [];\n let _avatar_decorators;\n let _avatar_initializers = [];\n let _avatar_extraInitializers = [];\n let _role_decorators;\n let _role_initializers = [];\n let _role_extraInitializers = [];\n let _company_decorators;\n let _company_initializers = [];\n let _company_extraInitializers = [];\n let _email_decorators;\n let _email_initializers = [];\n let _email_extraInitializers = [];\n let _phone_decorators;\n let _phone_initializers = [];\n let _phone_extraInitializers = [];\n let _location_decorators;\n let _location_initializers = [];\n let _location_extraInitializers = [];\n let _social_decorators;\n let _social_initializers = [];\n let _social_extraInitializers = [];\n let _status_decorators;\n let _status_initializers = [];\n let _status_extraInitializers = [];\n let _variant_decorators;\n let _variant_initializers = [];\n let _variant_extraInitializers = [];\n let _renderContent_decorators;\n let _componentStyles_decorators;\n let _handleSocialClick_decorators;\n let _emitActionClick_decorators;\n (class extends _classSuper {\n static { _classThis = this; }\n constructor() {\n super(...arguments);\n this.name = (__runInitializers(this, _instanceExtraInitializers), __runInitializers(this, _name_initializers, ''));\n this.avatar = (__runInitializers(this, _name_extraInitializers), __runInitializers(this, _avatar_initializers, ''));\n this.role = (__runInitializers(this, _avatar_extraInitializers), __runInitializers(this, _role_initializers, ''));\n this.company = (__runInitializers(this, _role_extraInitializers), __runInitializers(this, _company_initializers, ''));\n this.email = (__runInitializers(this, _company_extraInitializers), __runInitializers(this, _email_initializers, ''));\n this.phone = (__runInitializers(this, _email_extraInitializers), __runInitializers(this, _phone_initializers, ''));\n this.location = (__runInitializers(this, _phone_extraInitializers), __runInitializers(this, _location_initializers, ''));\n this.social = (__runInitializers(this, _location_extraInitializers), __runInitializers(this, _social_initializers, []));\n this.status = (__runInitializers(this, _social_extraInitializers), __runInitializers(this, _status_initializers, 'offline'));\n this.variant = (__runInitializers(this, _status_extraInitializers), __runInitializers(this, _variant_initializers, 'card'));\n this.handleAvatarError = (__runInitializers(this, _variant_extraInitializers), () => {\n // Hide the broken image and show fallback\n const img = this.shadowRoot?.querySelector('.user-card-avatar');\n if (img) {\n img.style.display = 'none';\n const fallback = document.createElement('div');\n fallback.className = 'user-card-avatar-fallback';\n fallback.textContent = this.getInitials(this.name);\n img.parentElement?.insertBefore(fallback, img);\n }\n });\n this.handleSlotChange = () => {\n const slot = this.shadowRoot?.querySelector('slot');\n const actions = this.shadowRoot?.querySelector('.user-card-actions');\n if (slot && actions) {\n const hasContent = slot.assignedNodes().length > 0;\n actions.hidden = !hasContent;\n }\n };\n }\n static {\n const _metadata = typeof Symbol === \"function\" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;\n _name_decorators = [property()];\n _avatar_decorators = [property()];\n _role_decorators = [property()];\n _company_decorators = [property()];\n _email_decorators = [property()];\n _phone_decorators = [property()];\n _location_decorators = [property()];\n _social_decorators = [property({ type: Array, attribute: false })];\n _status_decorators = [property()];\n _variant_decorators = [property()];\n _renderContent_decorators = [render()];\n _componentStyles_decorators = [styles()];\n _handleSocialClick_decorators = [dispatch('social-click', { bubbles: true, composed: true })];\n _emitActionClick_decorators = [dispatch('action-click', { bubbles: true, composed: true })];\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, _handleSocialClick_decorators, { kind: \"method\", name: \"handleSocialClick\", static: false, private: false, access: { has: obj => \"handleSocialClick\" in obj, get: obj => obj.handleSocialClick }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(this, null, _emitActionClick_decorators, { kind: \"method\", name: \"emitActionClick\", static: false, private: false, access: { has: obj => \"emitActionClick\" in obj, get: obj => obj.emitActionClick }, metadata: _metadata }, null, _instanceExtraInitializers);\n __esDecorate(null, null, _name_decorators, { kind: \"field\", name: \"name\", static: false, private: false, access: { has: obj => \"name\" in obj, get: obj => obj.name, set: (obj, value) => { obj.name = value; } }, metadata: _metadata }, _name_initializers, _name_extraInitializers);\n __esDecorate(null, null, _avatar_decorators, { kind: \"field\", name: \"avatar\", static: false, private: false, access: { has: obj => \"avatar\" in obj, get: obj => obj.avatar, set: (obj, value) => { obj.avatar = value; } }, metadata: _metadata }, _avatar_initializers, _avatar_extraInitializers);\n __esDecorate(null, null, _role_decorators, { kind: \"field\", name: \"role\", static: false, private: false, access: { has: obj => \"role\" in obj, get: obj => obj.role, set: (obj, value) => { obj.role = value; } }, metadata: _metadata }, _role_initializers, _role_extraInitializers);\n __esDecorate(null, null, _company_decorators, { kind: \"field\", name: \"company\", static: false, private: false, access: { has: obj => \"company\" in obj, get: obj => obj.company, set: (obj, value) => { obj.company = value; } }, metadata: _metadata }, _company_initializers, _company_extraInitializers);\n __esDecorate(null, null, _email_decorators, { kind: \"field\", name: \"email\", static: false, private: false, access: { has: obj => \"email\" in obj, get: obj => obj.email, set: (obj, value) => { obj.email = value; } }, metadata: _metadata }, _email_initializers, _email_extraInitializers);\n __esDecorate(null, null, _phone_decorators, { kind: \"field\", name: \"phone\", static: false, private: false, access: { has: obj => \"phone\" in obj, get: obj => obj.phone, set: (obj, value) => { obj.phone = value; } }, metadata: _metadata }, _phone_initializers, _phone_extraInitializers);\n __esDecorate(null, null, _location_decorators, { kind: \"field\", name: \"location\", static: false, private: false, access: { has: obj => \"location\" in obj, get: obj => obj.location, set: (obj, value) => { obj.location = value; } }, metadata: _metadata }, _location_initializers, _location_extraInitializers);\n __esDecorate(null, null, _social_decorators, { kind: \"field\", name: \"social\", static: false, private: false, access: { has: obj => \"social\" in obj, get: obj => obj.social, set: (obj, value) => { obj.social = value; } }, metadata: _metadata }, _social_initializers, _social_extraInitializers);\n __esDecorate(null, null, _status_decorators, { kind: \"field\", name: \"status\", static: false, private: false, access: { has: obj => \"status\" in obj, get: obj => obj.status, set: (obj, value) => { obj.status = value; } }, metadata: _metadata }, _status_initializers, _status_extraInitializers);\n __esDecorate(null, null, _variant_decorators, { kind: \"field\", name: \"variant\", static: false, private: false, access: { has: obj => \"variant\" in obj, get: obj => obj.variant, set: (obj, value) => { obj.variant = value; } }, metadata: _metadata }, _variant_initializers, _variant_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 const initials = this.getInitials(this.name);\n const roleText = [this.role, this.company].filter(Boolean).join(' at ');\n const hasContact = this.email || this.phone || this.location;\n const hasSocial = this.social && this.social.length > 0;\n return html /*html*/ `\n <div part=\"base\" class=\"user-card\">\n <div class=\"user-card-avatar-wrapper\" part=\"avatar\">\n <if ${this.avatar}>\n <img class=\"user-card-avatar\"\n src=\"${this.avatar}\"\n alt=\"${this.name}\"\n loading=\"lazy\"\n @error=${this.handleAvatarError}>\n </if>\n <if ${!this.avatar}>\n <div class=\"user-card-avatar-fallback\">${initials}</div>\n </if>\n <if ${this.status}>\n <span class=\"user-card-status\" part=\"status\"\n role=\"img\"\n aria-label=\"${this.status}\"></span>\n </if>\n </div>\n\n <div class=\"user-card-info\">\n <if ${this.name}>\n <h3 class=\"user-card-name\" part=\"name\">${this.name}</h3>\n </if>\n <if ${roleText}>\n <p class=\"user-card-role\" part=\"role\">${roleText}</p>\n </if>\n\n <if ${hasContact}>\n <div class=\"user-card-contact\" part=\"contact\">\n <if ${this.email}>\n <div class=\"user-card-contact-item\">\n <svg class=\"user-card-contact-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"2\" y=\"4\" width=\"20\" height=\"16\" rx=\"2\"></rect>\n <path d=\"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7\"></path>\n </svg>\n <a class=\"user-card-contact-link\" href=\"mailto:${this.email}\">${this.email}</a>\n </div>\n </if>\n <if ${this.phone}>\n <div class=\"user-card-contact-item\">\n <svg class=\"user-card-contact-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z\"></path>\n </svg>\n <a class=\"user-card-contact-link\" href=\"tel:${this.phone}\">${this.phone}</a>\n </div>\n </if>\n <if ${this.location}>\n <div class=\"user-card-contact-item\">\n <svg class=\"user-card-contact-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z\"></path>\n <circle cx=\"12\" cy=\"10\" r=\"3\"></circle>\n </svg>\n <span class=\"user-card-contact-text\">${this.location}</span>\n </div>\n </if>\n </div>\n </if>\n\n <if ${hasSocial}>\n <div class=\"user-card-social\" part=\"social\">\n ${this.social.map(link => html /*html*/ `\n <button class=\"user-card-social-link\"\n title=\"${link.platform}\"\n aria-label=\"${link.platform}\"\n @click=${() => this.handleSocialClick(link)}>\n ${this.renderSocialIcon(link.platform)}\n </button>\n `)}\n </div>\n </if>\n\n <div class=\"user-card-actions\" part=\"actions\">\n <slot @slotchange=${this.handleSlotChange}></slot>\n </div>\n </div>\n </div>\n `;\n }\n componentStyles() {\n return css /*css*/ `${cssContent}`;\n }\n handleSocialClick(link) {\n return { platform: link.platform, url: link.url };\n }\n emitActionClick(action) {\n return { action };\n }\n getInitials(name) {\n if (!name)\n return '';\n const words = name.trim().split(/\\s+/).filter(w => w.length > 0);\n if (words.length === 0)\n return '';\n if (words.length === 1)\n return words[0][0].toUpperCase();\n return (words[0][0] + words[1][0]).toUpperCase();\n }\n renderSocialIcon(platform) {\n const p = platform.toLowerCase();\n // Common social platform icons as inline SVG\n switch (p) {\n case 'github':\n return html `<svg class=\"user-card-social-icon\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12z\"/></svg>`;\n case 'twitter':\n case 'x':\n return html `<svg class=\"user-card-social-icon\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z\"/></svg>`;\n case 'linkedin':\n return html `<svg class=\"user-card-social-icon\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z\"/></svg>`;\n case 'facebook':\n return html `<svg class=\"user-card-social-icon\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z\"/></svg>`;\n case 'instagram':\n return html `<svg class=\"user-card-social-icon\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 1 0 0-12.324zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405a1.441 1.441 0 1 1-2.882 0 1.441 1.441 0 0 1 2.882 0z\"/></svg>`;\n case 'youtube':\n return html `<svg class=\"user-card-social-icon\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z\"/></svg>`;\n case 'website':\n case 'web':\n return html `<svg class=\"user-card-social-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"></circle><line x1=\"2\" y1=\"12\" x2=\"22\" y2=\"12\"></line><path d=\"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z\"></path></svg>`;\n default:\n // Generic link icon\n return html `<svg class=\"user-card-social-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\"></path><path d=\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\"></path></svg>`;\n }\n }\n });\n return _classThis;\n})();\n\nexport { SniceUserCard };\n//# sourceMappingURL=snice-user-card.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","SniceUserCard","_classDescriptor","_classThis","_name_decorators","_avatar_decorators","_role_decorators","_company_decorators","_email_decorators","_phone_decorators","_location_decorators","_social_decorators","_status_decorators","_variant_decorators","_renderContent_decorators","_componentStyles_decorators","_handleSocialClick_decorators","_emitActionClick_decorators","_classDecorators","element","_classExtraInitializers","_classSuper","HTMLElement","_instanceExtraInitializers","_name_initializers","_name_extraInitializers","_avatar_initializers","_avatar_extraInitializers","_role_initializers","_role_extraInitializers","_company_initializers","_company_extraInitializers","_email_initializers","_email_extraInitializers","_phone_initializers","_phone_extraInitializers","_location_initializers","_location_extraInitializers","_social_initializers","_social_extraInitializers","_status_initializers","_status_extraInitializers","_variant_initializers","_variant_extraInitializers","this","constructor","super","avatar","role","company","email","phone","location","social","status","variant","handleAvatarError","img","shadowRoot","querySelector","style","display","fallback","document","createElement","className","textContent","getInitials","parentElement","insertBefore","handleSlotChange","slot","actions","hasContent","assignedNodes","hidden","_metadata","Symbol","metadata","create","property","type","Array","attribute","render","styles","dispatch","bubbles","composed","static","private","has","obj","renderContent","componentStyles","handleSocialClick","emitActionClick","enumerable","configurable","writable","initials","roleText","filter","Boolean","join","hasContact","hasSocial","html","map","link","platform","renderSocialIcon","css","url","action","words","trim","split","w","toUpperCase","toLowerCase"],"mappings":";;;;;;kKAiEO,SAASA,EAAaC,EAAMC,EAAcC,EAAYC,EAAWC,EAAcC,GACpF,SA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EAAKI,IAChD,CACA,eAAAjB,CAAgBkB,GACZ,MAAO,CAAEA,SACb,CACA,WAAA/C,CAAYxF,GACR,IAAKA,EACD,MAAO,GACX,MAAMwI,EAAQxI,EAAKyI,OAAOC,MAAM,OAAOf,OAAOgB,GAAKA,EAAExI,OAAS,GAC9D,OAAqB,IAAjBqI,EAAMrI,OACC,GACU,IAAjBqI,EAAMrI,OACCqI,EAAM,GAAG,GAAGI,eACfJ,EAAM,GAAG,GAAKA,EAAM,GAAG,IAAII,aACvC,CACA,gBAAAR,CAAiBD,GAGb,OAFUA,EAASU,eAGf,IAAK,SACD,OAAOb,EAAAA,IAAK,yvBAChB,IAAK,UACL,IAAK,IACD,OAAOA,EAAAA,IAAK,2PAChB,IAAK,WACD,OAAOA,EAAAA,IAAK,qhBAChB,IAAK,WACD,OAAOA,EAAAA,IAAK,8XAChB,IAAK,YACD,OAAOA,EAAAA,IAAK,6nDAChB,IAAK,UACD,OAAOA,EAAAA,IAAK,4bAChB,IAAK,UACL,IAAK,MACD,OAAOA,EAAAA,IAAK,kWAChB,QAEI,OAAOA,EAAAA,IAAK,6TAExB,GAEGxG,CACV,EAhPmB","x_google_ignoreList":[0]}
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * snice v4.23.0
3
- * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
2
+ * snice v4.25.0
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.
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * snice v4.23.0
3
- * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
2
+ * snice v4.25.0
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.
6
6
  */
@@ -12,7 +12,7 @@ CDN build of the Snice virtual-scroller component. Requires the Snice runtime (`
12
12
 
13
13
  ## Size
14
14
  - Minified: 7.4 KB
15
- - Gzipped: 2.5 KB
15
+ - Gzipped: 2.6 KB
16
16
 
17
17
  ## Theme
18
18
  For proper styling, link the Snice theme CSS:
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * snice v4.23.0
3
- * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
2
+ * snice v4.25.0
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.
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * snice v4.23.0
3
- * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
2
+ * snice v4.25.0
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.
6
6
  */
@@ -11,7 +11,7 @@ CDN build of the Snice waterfall component. Requires the Snice runtime (`snice-r
11
11
  ```
12
12
 
13
13
  ## Size
14
- - Minified: 9.0 KB
14
+ - Minified: 9.1 KB
15
15
  - Gzipped: 3.3 KB
16
16
 
17
17
  ## Theme
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * snice v4.23.0
3
- * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
2
+ * snice v4.25.0
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.
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * snice v4.23.0
3
- * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
2
+ * snice v4.25.0
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.
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * snice v4.23.0
3
- * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
2
+ * snice v4.25.0
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.
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * snice v4.23.0
3
- * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
2
+ * snice v4.25.0
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.
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * snice v4.23.0
3
- * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
2
+ * snice v4.25.0
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.
6
6
  */
@@ -64,7 +64,7 @@ var SniceWorkOrder = (function (exports, snice) {
64
64
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
65
65
  };
66
66
 
67
- var cssContent = ":host{display:block;font-family:var(--snice-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);color:var(--snice-color-text,rgb(23 23 23));contain:layout style paint;--wo-max-width:50rem;--wo-bg:var(--snice-color-background, rgb(255 255 255));--wo-bg-element:var(--snice-color-background-element, rgb(252 251 249));--wo-text:var(--snice-color-text, rgb(23 23 23));--wo-text-secondary:var(--snice-color-text-secondary, rgb(82 82 82));--wo-text-tertiary:var(--snice-color-text-tertiary, rgb(115 115 115));--wo-border:var(--snice-color-border, rgb(226 226 226));--wo-accent:var(--snice-color-primary, rgb(37 99 235));--wo-success:var(--snice-color-success, rgb(22 163 74));--wo-danger:var(--snice-color-danger, rgb(220 38 38));--wo-priority-low-bg:rgb(59 130 246 / 0.1);--wo-priority-low-text:rgb(37 99 235);--wo-priority-medium-bg:rgb(245 158 11 / 0.1);--wo-priority-medium-text:rgb(217 119 6);--wo-priority-high-bg:rgb(249 115 22 / 0.1);--wo-priority-high-text:rgb(234 88 12);--wo-priority-urgent-bg:rgb(220 38 38 / 0.1);--wo-priority-urgent-text:rgb(220 38 38);--wo-status-open-bg:rgb(59 130 246 / 0.1);--wo-status-open-text:rgb(37 99 235);--wo-status-in-progress-bg:rgb(245 158 11 / 0.1);--wo-status-in-progress-text:rgb(217 119 6);--wo-status-completed-bg:rgb(22 163 74 / 0.1);--wo-status-completed-text:rgb(22 163 74);--wo-status-cancelled-bg:rgb(107 114 128 / 0.1);--wo-status-cancelled-text:rgb(107 114 128);--wo-task-checkbox-size:1.25rem;--wo-task-completed-text:var(--wo-text-tertiary);--wo-signature-line-color:var(--wo-border);--wo-qr-size:5rem}*{box-sizing:border-box}.wo{background:var(--wo-bg);border:1px solid var(--wo-border);border-radius:var(--snice-border-radius-lg,.5rem);max-width:var(--wo-max-width);overflow:hidden;position:relative}.wo__header{display:flex;justify-content:space-between;align-items:flex-start;padding:var(--snice-spacing-lg,1.5rem);border-bottom:1px solid var(--wo-border);gap:var(--snice-spacing-md,1rem);flex-wrap:wrap;position:relative}.wo__header-left{display:flex;flex-direction:column;gap:var(--snice-spacing-2xs,.25rem)}.wo__title{font-size:.6875rem;font-weight:var(--snice-font-weight-semibold,600);text-transform:uppercase;letter-spacing:.08em;color:var(--wo-accent);margin:0 0 var(--snice-spacing-3xs,.125rem) 0}.wo__number{font-size:var(--snice-font-size-2xl, 1.5rem);font-weight:var(--snice-font-weight-bold,700);color:var(--wo-text);margin:0;line-height:1.2}.wo__dates{display:flex;gap:var(--snice-spacing-md,1rem);margin-top:var(--snice-spacing-3xs,.125rem)}.wo__date-item{display:flex;flex-direction:column;gap:1px}.wo__date-label{font-size:.625rem;font-weight:var(--snice-font-weight-medium,500);text-transform:uppercase;letter-spacing:.05em;color:var(--wo-text-tertiary)}.wo__date-value{font-size:.875rem;color:var(--wo-text-secondary)}.wo__header-right{display:flex;gap:var(--snice-spacing-xs,.5rem);align-items:center;flex-wrap:wrap}.wo__badge{display:inline-flex;align-items:center;padding:var(--snice-spacing-3xs,.125rem) var(--snice-spacing-sm,.75rem);border-radius:999px;font-size:.6875rem;font-weight:var(--snice-font-weight-semibold,600);text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.wo__priority--low{background:var(--wo-priority-low-bg);color:var(--wo-priority-low-text)}.wo__priority--medium{background:var(--wo-priority-medium-bg);color:var(--wo-priority-medium-text)}.wo__priority--high{background:var(--wo-priority-high-bg);color:var(--wo-priority-high-text)}.wo__priority--urgent{background:var(--wo-priority-urgent-bg);color:var(--wo-priority-urgent-text)}.wo__status--open{background:var(--wo-status-open-bg);color:var(--wo-status-open-text)}.wo__status--in-progress{background:var(--wo-status-in-progress-bg);color:var(--wo-status-in-progress-text)}.wo__status--completed{background:var(--wo-status-completed-bg);color:var(--wo-status-completed-text)}.wo__status--cancelled{background:var(--wo-status-cancelled-bg);color:var(--wo-status-cancelled-text)}.wo__qr{display:flex;align-items:center;justify-content:center;width:var(--wo-qr-size);height:var(--wo-qr-size);flex-shrink:0}.wo__qr--top-right{position:absolute;top:var(--snice-spacing-lg,1.5rem);right:var(--snice-spacing-lg,1.5rem)}.wo__qr--header{margin-left:auto}.wo__qr--footer{margin-top:var(--snice-spacing-sm,.75rem)}.wo__section{padding:var(--snice-spacing-md,1rem) var(--snice-spacing-lg,1.5rem);border-bottom:1px solid var(--wo-border)}.wo__section:last-child{border-bottom:none}.wo__section-title{font-size:.6875rem;font-weight:var(--snice-font-weight-semibold,600);text-transform:uppercase;letter-spacing:.06em;color:var(--wo-text-tertiary);margin:0 0 var(--snice-spacing-sm,.75rem) 0}.wo__customer{display:grid;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:var(--snice-spacing-xs,.5rem) var(--snice-spacing-lg,1.5rem)}.wo__customer-field{display:flex;flex-direction:column;gap:1px}.wo__customer-label{font-size:.6875rem;color:var(--wo-text-tertiary);font-weight:var(--snice-font-weight-medium,500);text-transform:uppercase;letter-spacing:.04em}.wo__customer-value{font-size:.875rem;color:var(--wo-text);line-height:var(--snice-line-height-normal, 1.5)}.wo__description{font-size:.875rem;color:var(--wo-text-secondary);line-height:var(--snice-line-height-normal, 1.5);margin:0;white-space:pre-wrap}.wo__asset{display:grid;grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:var(--snice-spacing-xs,.5rem) var(--snice-spacing-lg,1.5rem)}.wo__asset-field{display:flex;flex-direction:column;gap:1px}.wo__asset-label{font-size:.6875rem;color:var(--wo-text-tertiary);font-weight:var(--snice-font-weight-medium,500);text-transform:uppercase;letter-spacing:.04em}.wo__asset-value{font-size:.875rem;color:var(--wo-text);font-weight:var(--snice-font-weight-medium,500)}.wo__tasks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--snice-spacing-2xs,.25rem)}.wo__task{display:flex;align-items:center;gap:var(--snice-spacing-sm,.75rem);padding:var(--snice-spacing-xs,.5rem) var(--snice-spacing-sm,.75rem);border-radius:var(--snice-border-radius-md,.25rem);transition:background var(--snice-transition-fast, 150ms)}.wo__task:hover{background:var(--wo-bg-element)}.wo__task-checkbox{flex-shrink:0;width:var(--wo-task-checkbox-size);height:var(--wo-task-checkbox-size);border:2px solid var(--wo-border);border-radius:3px;cursor:pointer;display:flex;align-items:center;justify-content:center;background:var(--wo-bg);transition:all var(--snice-transition-fast, 150ms);padding:0;color:rgb(255 255 255)}.wo__task-checkbox:hover{border-color:var(--wo-accent)}.wo__task-checkbox:focus-visible{outline:var(--snice-focus-ring-width,2px) solid var(--snice-focus-ring-color,rgb(59 130 246 / .5));outline-offset:var(--snice-focus-ring-offset,2px)}.wo__task-checkbox--checked{background:var(--wo-success);border-color:var(--wo-success)}.wo__task-checkbox--checked svg{display:block}.wo__task-checkbox svg{display:none;width:.75rem;height:.75rem}.wo__task-content{flex:1;min-width:0}.wo__task-description{font-size:.875rem;color:var(--wo-text)}.wo__task--completed .wo__task-description{text-decoration:line-through;color:var(--wo-task-completed-text)}.wo__task-meta{display:flex;gap:var(--snice-spacing-sm,.75rem);margin-top:1px;font-size:.75rem;color:var(--wo-text-tertiary)}.wo__task-assignee{font-weight:var(--snice-font-weight-medium,500)}.wo__task-hours{white-space:nowrap}.wo__parts-table{width:100%;border-collapse:collapse;font-size:.875rem}.wo__parts-table th{text-align:left;padding:var(--snice-spacing-xs,.5rem) var(--snice-spacing-sm,.75rem);border-bottom:2px solid var(--wo-border);font-weight:var(--snice-font-weight-semibold,600);color:var(--wo-text-secondary);font-size:.6875rem;text-transform:uppercase;letter-spacing:.04em}.wo__parts-table td{padding:var(--snice-spacing-xs,.5rem) var(--snice-spacing-sm,.75rem);border-bottom:1px solid var(--wo-border);color:var(--wo-text)}.wo__parts-table td:nth-child(n+3),.wo__parts-table th:nth-child(n+3){text-align:right}.wo__parts-table tr:last-child td{border-bottom:none}.wo__parts-total{display:flex;justify-content:flex-end;gap:var(--snice-spacing-md,1rem);padding-top:var(--snice-spacing-sm,.75rem);margin-top:var(--snice-spacing-xs,.5rem);border-top:2px solid var(--wo-border);font-weight:var(--snice-font-weight-semibold,600);font-size:.875rem;color:var(--wo-text)}.wo__labor{display:grid;grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:var(--snice-spacing-sm,.75rem) var(--snice-spacing-lg,1.5rem)}.wo__labor-field{display:flex;flex-direction:column;gap:1px}.wo__labor-label{font-size:.6875rem;color:var(--wo-text-tertiary);font-weight:var(--snice-font-weight-medium,500);text-transform:uppercase;letter-spacing:.04em}.wo__labor-value{font-size:.875rem;color:var(--wo-text);font-weight:var(--snice-font-weight-semibold,600)}.wo__notes{font-size:.875rem;color:var(--wo-text-secondary);line-height:var(--snice-line-height-normal, 1.5);margin:0;white-space:pre-wrap}.wo__costs{display:flex;justify-content:flex-end;padding:var(--snice-spacing-md,1rem) var(--snice-spacing-lg,1.5rem);background:var(--wo-bg-element)}.wo__costs-table{display:flex;flex-direction:column;gap:var(--snice-spacing-2xs,.25rem);min-width:14rem}.wo__cost-row{display:flex;justify-content:space-between;gap:var(--snice-spacing-lg,1.5rem);font-size:.875rem;color:var(--wo-text-secondary)}.wo__cost-row--grand{border-top:2px solid var(--wo-border);padding-top:var(--snice-spacing-xs,.5rem);margin-top:var(--snice-spacing-2xs,.25rem);font-weight:var(--snice-font-weight-bold,700);font-size:var(--snice-font-size-lg, 1.125rem);color:var(--wo-text)}.wo__signature{display:flex;flex-direction:column;gap:var(--snice-spacing-sm,.75rem)}.wo__signature-lines{display:grid;grid-template-columns:2fr 1fr;gap:var(--snice-spacing-lg,1.5rem);margin-top:var(--snice-spacing-md,1rem)}.wo__signature-field{display:flex;flex-direction:column;gap:var(--snice-spacing-2xs,.25rem)}.wo__signature-line{border-bottom:1px solid var(--wo-signature-line-color);min-height:2rem}.wo__signature-label{font-size:.6875rem;color:var(--wo-text-tertiary);text-transform:uppercase;letter-spacing:.04em}.wo__sign-btn{align-self:flex-start;padding:var(--snice-spacing-xs,.5rem) var(--snice-spacing-md,1rem);border:1px solid var(--wo-accent);border-radius:var(--snice-border-radius-md,.25rem);background:0 0;color:var(--wo-accent);font-family:inherit;font-size:.875rem;font-weight:var(--snice-font-weight-medium,500);cursor:pointer;transition:background var(--snice-transition-fast, 150ms),color var(--snice-transition-fast, 150ms)}.wo__sign-btn:hover{background:var(--wo-accent);color:rgb(255 255 255)}.wo__sign-btn:focus-visible{outline:var(--snice-focus-ring-width,2px) solid var(--snice-focus-ring-color,rgb(59 130 246 / .5));outline-offset:var(--snice-focus-ring-offset,2px)}.wo__footer{padding:var(--snice-spacing-sm,.75rem) var(--snice-spacing-lg,1.5rem);border-top:1px solid var(--wo-border);display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:var(--wo-text-tertiary)}:host([variant=compact]) .wo{font-size:.8125rem}:host([variant=compact]) .wo__header{padding:var(--snice-spacing-sm,.75rem) var(--snice-spacing-md,1rem)}:host([variant=compact]) .wo__number{font-size:var(--snice-font-size-lg, 1.125rem)}:host([variant=compact]) .wo__section{padding:var(--snice-spacing-xs,.5rem) var(--snice-spacing-md,1rem)}:host([variant=compact]) .wo__section-title{font-size:.625rem;margin-bottom:var(--snice-spacing-xs,.5rem)}:host([variant=compact]) .wo__task{padding:var(--snice-spacing-2xs,.25rem) var(--snice-spacing-xs,.5rem)}:host([variant=compact]) .wo__parts-table td,:host([variant=compact]) .wo__parts-table th{padding:var(--snice-spacing-2xs,.25rem) var(--snice-spacing-xs,.5rem);font-size:.8125rem}:host([variant=compact]) .wo__costs{padding:var(--snice-spacing-xs,.5rem) var(--snice-spacing-md,1rem)}:host([variant=compact]) .wo__footer{padding:var(--snice-spacing-2xs,.25rem) var(--snice-spacing-md,1rem)}:host([variant=field-service]){--wo-task-checkbox-size:1.75rem}:host([variant=field-service]) .wo__task{padding:var(--snice-spacing-sm,.75rem);border:1px solid var(--wo-border);border-radius:var(--snice-border-radius-md,.25rem);margin-bottom:var(--snice-spacing-2xs,.25rem)}:host([variant=field-service]) .wo__task-description{font-size:1rem;font-weight:var(--snice-font-weight-medium,500)}:host([variant=field-service]) .wo__task-checkbox svg{width:1rem;height:1rem}:host([variant=field-service]) .wo__signature-lines{margin-top:var(--snice-spacing-lg,1.5rem)}:host([variant=field-service]) .wo__signature-line{min-height:3rem}:host([variant=maintenance]) .wo__asset{background:var(--wo-bg-element);padding:var(--snice-spacing-sm,.75rem);border-radius:var(--snice-border-radius-md,.25rem);border:1px solid var(--wo-border)}:host([variant=maintenance]) .wo__asset-value{font-weight:var(--snice-font-weight-semibold,600);color:var(--wo-accent)}:host([variant=detailed]) .wo__task-meta{font-size:.8125rem}:host([variant=detailed]) .wo__task-hours{font-weight:var(--snice-font-weight-semibold,600);color:var(--wo-text-secondary)}:host([variant=detailed]) .wo__parts-table td:nth-child(2){font-family:'SF Mono','Cascadia Code','Fira Code',monospace;font-size:.8125rem;color:var(--wo-text-tertiary)}:host([variant=detailed]) .wo__costs-table{min-width:18rem}:host([variant=detailed]) .wo__cost-row{padding:var(--snice-spacing-2xs,.25rem) 0}@media print{.wo{border:none;box-shadow:none;max-width:none}.wo__sign-btn{display:none}.wo__task-checkbox{border:2px solid rgb(0 0 0)!important;background:0 0!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.wo__task-checkbox--checked{background:rgb(0 0 0)!important;border-color:rgb(0 0 0)!important;color:rgb(255 255 255)!important}.wo__task-checkbox--checked svg{display:block}.wo__badge{background:0 0!important;border:1px solid currentColor;print-color-adjust:exact;-webkit-print-color-adjust:exact}.wo__signature-line{border-bottom:1px solid rgb(0 0 0);min-height:2.5rem}.wo__parts-table td,.wo__parts-table th{border-color:rgb(0 0 0 / .2)}.wo__task:hover{background:0 0}.wo__section{break-inside:avoid}.wo__parts-table{break-inside:auto}.wo__costs,.wo__footer,.wo__parts-table tr{break-inside:avoid}.wo__qr{print-color-adjust:exact;-webkit-print-color-adjust:exact}}@media (max-width:480px){.wo__header{flex-direction:column}.wo__customer{grid-template-columns:1fr}.wo__labor{grid-template-columns:1fr 1fr}.wo__parts-table{font-size:.8125rem}.wo__signature-lines{grid-template-columns:1fr}.wo__qr--top-right{position:static;margin-bottom:var(--snice-spacing-sm,.75rem)}}";
67
+ var cssContent = ":host{display:block;font-family:var(--snice-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);color:var(--snice-color-text,rgb(23 23 23));--wo-max-width:50rem;--wo-bg:var(--snice-color-background, rgb(255 255 255));--wo-bg-element:var(--snice-color-background-element, rgb(252 251 249));--wo-text:var(--snice-color-text, rgb(23 23 23));--wo-text-secondary:var(--snice-color-text-secondary, rgb(82 82 82));--wo-text-tertiary:var(--snice-color-text-tertiary, rgb(115 115 115));--wo-border:var(--snice-color-border, rgb(226 226 226));--wo-accent:var(--snice-color-primary, rgb(37 99 235));--wo-success:var(--snice-color-success, rgb(22 163 74));--wo-danger:var(--snice-color-danger, rgb(220 38 38));--wo-priority-low-bg:rgb(59 130 246 / 0.1);--wo-priority-low-text:rgb(37 99 235);--wo-priority-medium-bg:rgb(245 158 11 / 0.1);--wo-priority-medium-text:rgb(217 119 6);--wo-priority-high-bg:rgb(249 115 22 / 0.1);--wo-priority-high-text:rgb(234 88 12);--wo-priority-urgent-bg:rgb(220 38 38 / 0.1);--wo-priority-urgent-text:rgb(220 38 38);--wo-status-open-bg:rgb(59 130 246 / 0.1);--wo-status-open-text:rgb(37 99 235);--wo-status-in-progress-bg:rgb(245 158 11 / 0.1);--wo-status-in-progress-text:rgb(217 119 6);--wo-status-completed-bg:rgb(22 163 74 / 0.1);--wo-status-completed-text:rgb(22 163 74);--wo-status-cancelled-bg:rgb(107 114 128 / 0.1);--wo-status-cancelled-text:rgb(107 114 128);--wo-task-checkbox-size:1.25rem;--wo-task-completed-text:var(--wo-text-tertiary);--wo-signature-line-color:var(--wo-border);--wo-qr-size:5rem}*{box-sizing:border-box}.wo{background:var(--wo-bg);border:1px solid var(--wo-border);border-radius:var(--snice-border-radius-lg,.5rem);max-width:var(--wo-max-width);overflow:hidden;position:relative}.wo__header{display:flex;justify-content:space-between;align-items:flex-start;padding:var(--snice-spacing-lg,1.5rem);border-bottom:1px solid var(--wo-border);gap:var(--snice-spacing-md,1rem);flex-wrap:wrap;position:relative}.wo__header-left{display:flex;flex-direction:column;gap:var(--snice-spacing-2xs,.25rem)}.wo__title{font-size:.6875rem;font-weight:var(--snice-font-weight-semibold,600);text-transform:uppercase;letter-spacing:.08em;color:var(--wo-accent);margin:0 0 var(--snice-spacing-3xs,.125rem) 0}.wo__number{font-size:var(--snice-font-size-2xl, 1.5rem);font-weight:var(--snice-font-weight-bold,700);color:var(--wo-text);margin:0;line-height:1.2}.wo__dates{display:flex;gap:var(--snice-spacing-md,1rem);margin-top:var(--snice-spacing-3xs,.125rem)}.wo__date-item{display:flex;flex-direction:column;gap:1px}.wo__date-label{font-size:.625rem;font-weight:var(--snice-font-weight-medium,500);text-transform:uppercase;letter-spacing:.05em;color:var(--wo-text-tertiary)}.wo__date-value{font-size:.875rem;color:var(--wo-text-secondary)}.wo__header-right{display:flex;gap:var(--snice-spacing-xs,.5rem);align-items:center;flex-wrap:wrap}.wo__badge{display:inline-flex;align-items:center;padding:var(--snice-spacing-3xs,.125rem) var(--snice-spacing-sm,.75rem);border-radius:999px;font-size:.6875rem;font-weight:var(--snice-font-weight-semibold,600);text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.wo__priority--low{background:var(--wo-priority-low-bg);color:var(--wo-priority-low-text)}.wo__priority--medium{background:var(--wo-priority-medium-bg);color:var(--wo-priority-medium-text)}.wo__priority--high{background:var(--wo-priority-high-bg);color:var(--wo-priority-high-text)}.wo__priority--urgent{background:var(--wo-priority-urgent-bg);color:var(--wo-priority-urgent-text)}.wo__status--open{background:var(--wo-status-open-bg);color:var(--wo-status-open-text)}.wo__status--in-progress{background:var(--wo-status-in-progress-bg);color:var(--wo-status-in-progress-text)}.wo__status--completed{background:var(--wo-status-completed-bg);color:var(--wo-status-completed-text)}.wo__status--cancelled{background:var(--wo-status-cancelled-bg);color:var(--wo-status-cancelled-text)}.wo__qr{display:flex;align-items:center;justify-content:center;width:var(--wo-qr-size);height:var(--wo-qr-size);flex-shrink:0}.wo__qr--top-right{position:absolute;top:var(--snice-spacing-lg,1.5rem);right:var(--snice-spacing-lg,1.5rem)}.wo__qr--header{margin-left:auto}.wo__qr--footer{margin-top:var(--snice-spacing-sm,.75rem)}.wo__section{padding:var(--snice-spacing-md,1rem) var(--snice-spacing-lg,1.5rem);border-bottom:1px solid var(--wo-border)}.wo__section:last-child{border-bottom:none}.wo__section-title{font-size:.6875rem;font-weight:var(--snice-font-weight-semibold,600);text-transform:uppercase;letter-spacing:.06em;color:var(--wo-text-tertiary);margin:0 0 var(--snice-spacing-sm,.75rem) 0}.wo__customer{display:grid;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:var(--snice-spacing-xs,.5rem) var(--snice-spacing-lg,1.5rem)}.wo__customer-field{display:flex;flex-direction:column;gap:1px}.wo__customer-label{font-size:.6875rem;color:var(--wo-text-tertiary);font-weight:var(--snice-font-weight-medium,500);text-transform:uppercase;letter-spacing:.04em}.wo__customer-value{font-size:.875rem;color:var(--wo-text);line-height:var(--snice-line-height-normal, 1.5)}.wo__description{font-size:.875rem;color:var(--wo-text-secondary);line-height:var(--snice-line-height-normal, 1.5);margin:0;white-space:pre-wrap}.wo__asset{display:grid;grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:var(--snice-spacing-xs,.5rem) var(--snice-spacing-lg,1.5rem)}.wo__asset-field{display:flex;flex-direction:column;gap:1px}.wo__asset-label{font-size:.6875rem;color:var(--wo-text-tertiary);font-weight:var(--snice-font-weight-medium,500);text-transform:uppercase;letter-spacing:.04em}.wo__asset-value{font-size:.875rem;color:var(--wo-text);font-weight:var(--snice-font-weight-medium,500)}.wo__tasks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--snice-spacing-2xs,.25rem)}.wo__task{display:flex;align-items:center;gap:var(--snice-spacing-sm,.75rem);padding:var(--snice-spacing-xs,.5rem) var(--snice-spacing-sm,.75rem);border-radius:var(--snice-border-radius-md,.25rem);transition:background var(--snice-transition-fast, 150ms)}.wo__task:hover{background:var(--wo-bg-element)}.wo__task-checkbox{flex-shrink:0;width:var(--wo-task-checkbox-size);height:var(--wo-task-checkbox-size);border:2px solid var(--wo-border);border-radius:3px;cursor:pointer;display:flex;align-items:center;justify-content:center;background:var(--wo-bg);transition:all var(--snice-transition-fast, 150ms);padding:0;color:rgb(255 255 255)}.wo__task-checkbox:hover{border-color:var(--wo-accent)}.wo__task-checkbox:focus-visible{outline:var(--snice-focus-ring-width,2px) solid var(--snice-focus-ring-color,rgb(59 130 246 / .5));outline-offset:var(--snice-focus-ring-offset,2px)}.wo__task-checkbox--checked{background:var(--wo-success);border-color:var(--wo-success)}.wo__task-checkbox--checked svg{display:block}.wo__task-checkbox svg{display:none;width:.75rem;height:.75rem}.wo__task-content{flex:1;min-width:0}.wo__task-description{font-size:.875rem;color:var(--wo-text)}.wo__task--completed .wo__task-description{text-decoration:line-through;color:var(--wo-task-completed-text)}.wo__task-meta{display:flex;gap:var(--snice-spacing-sm,.75rem);margin-top:1px;font-size:.75rem;color:var(--wo-text-tertiary)}.wo__task-assignee{font-weight:var(--snice-font-weight-medium,500)}.wo__task-hours{white-space:nowrap}.wo__parts-table{width:100%;border-collapse:collapse;font-size:.875rem}.wo__parts-table th{text-align:left;padding:var(--snice-spacing-xs,.5rem) var(--snice-spacing-sm,.75rem);border-bottom:2px solid var(--wo-border);font-weight:var(--snice-font-weight-semibold,600);color:var(--wo-text-secondary);font-size:.6875rem;text-transform:uppercase;letter-spacing:.04em}.wo__parts-table td{padding:var(--snice-spacing-xs,.5rem) var(--snice-spacing-sm,.75rem);border-bottom:1px solid var(--wo-border);color:var(--wo-text)}.wo__parts-table td:nth-child(n+3),.wo__parts-table th:nth-child(n+3){text-align:right}.wo__parts-table tr:last-child td{border-bottom:none}.wo__parts-total{display:flex;justify-content:flex-end;gap:var(--snice-spacing-md,1rem);padding-top:var(--snice-spacing-sm,.75rem);margin-top:var(--snice-spacing-xs,.5rem);border-top:2px solid var(--wo-border);font-weight:var(--snice-font-weight-semibold,600);font-size:.875rem;color:var(--wo-text)}.wo__labor{display:grid;grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:var(--snice-spacing-sm,.75rem) var(--snice-spacing-lg,1.5rem)}.wo__labor-field{display:flex;flex-direction:column;gap:1px}.wo__labor-label{font-size:.6875rem;color:var(--wo-text-tertiary);font-weight:var(--snice-font-weight-medium,500);text-transform:uppercase;letter-spacing:.04em}.wo__labor-value{font-size:.875rem;color:var(--wo-text);font-weight:var(--snice-font-weight-semibold,600)}.wo__notes{font-size:.875rem;color:var(--wo-text-secondary);line-height:var(--snice-line-height-normal, 1.5);margin:0;white-space:pre-wrap}.wo__costs{display:flex;justify-content:flex-end;padding:var(--snice-spacing-md,1rem) var(--snice-spacing-lg,1.5rem);background:var(--wo-bg-element)}.wo__costs-table{display:flex;flex-direction:column;gap:var(--snice-spacing-2xs,.25rem);min-width:14rem}.wo__cost-row{display:flex;justify-content:space-between;gap:var(--snice-spacing-lg,1.5rem);font-size:.875rem;color:var(--wo-text-secondary)}.wo__cost-row--grand{border-top:2px solid var(--wo-border);padding-top:var(--snice-spacing-xs,.5rem);margin-top:var(--snice-spacing-2xs,.25rem);font-weight:var(--snice-font-weight-bold,700);font-size:var(--snice-font-size-lg, 1.125rem);color:var(--wo-text)}.wo__signature{display:flex;flex-direction:column;gap:var(--snice-spacing-sm,.75rem)}.wo__signature-lines{display:grid;grid-template-columns:2fr 1fr;gap:var(--snice-spacing-lg,1.5rem);margin-top:var(--snice-spacing-md,1rem)}.wo__signature-field{display:flex;flex-direction:column;gap:var(--snice-spacing-2xs,.25rem)}.wo__signature-line{border-bottom:1px solid var(--wo-signature-line-color);min-height:2rem}.wo__signature-label{font-size:.6875rem;color:var(--wo-text-tertiary);text-transform:uppercase;letter-spacing:.04em}.wo__sign-btn{align-self:flex-start;padding:var(--snice-spacing-xs,.5rem) var(--snice-spacing-md,1rem);border:1px solid var(--wo-accent);border-radius:var(--snice-border-radius-md,.25rem);background:0 0;color:var(--wo-accent);font-family:inherit;font-size:.875rem;font-weight:var(--snice-font-weight-medium,500);cursor:pointer;transition:background var(--snice-transition-fast, 150ms),color var(--snice-transition-fast, 150ms)}.wo__sign-btn:hover{background:var(--wo-accent);color:rgb(255 255 255)}.wo__sign-btn:focus-visible{outline:var(--snice-focus-ring-width,2px) solid var(--snice-focus-ring-color,rgb(59 130 246 / .5));outline-offset:var(--snice-focus-ring-offset,2px)}.wo__footer{padding:var(--snice-spacing-sm,.75rem) var(--snice-spacing-lg,1.5rem);border-top:1px solid var(--wo-border);display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:var(--wo-text-tertiary)}:host([variant=compact]) .wo{font-size:.8125rem}:host([variant=compact]) .wo__header{padding:var(--snice-spacing-sm,.75rem) var(--snice-spacing-md,1rem)}:host([variant=compact]) .wo__number{font-size:var(--snice-font-size-lg, 1.125rem)}:host([variant=compact]) .wo__section{padding:var(--snice-spacing-xs,.5rem) var(--snice-spacing-md,1rem)}:host([variant=compact]) .wo__section-title{font-size:.625rem;margin-bottom:var(--snice-spacing-xs,.5rem)}:host([variant=compact]) .wo__task{padding:var(--snice-spacing-2xs,.25rem) var(--snice-spacing-xs,.5rem)}:host([variant=compact]) .wo__parts-table td,:host([variant=compact]) .wo__parts-table th{padding:var(--snice-spacing-2xs,.25rem) var(--snice-spacing-xs,.5rem);font-size:.8125rem}:host([variant=compact]) .wo__costs{padding:var(--snice-spacing-xs,.5rem) var(--snice-spacing-md,1rem)}:host([variant=compact]) .wo__footer{padding:var(--snice-spacing-2xs,.25rem) var(--snice-spacing-md,1rem)}:host([variant=field-service]){--wo-task-checkbox-size:1.75rem}:host([variant=field-service]) .wo__task{padding:var(--snice-spacing-sm,.75rem);border:1px solid var(--wo-border);border-radius:var(--snice-border-radius-md,.25rem);margin-bottom:var(--snice-spacing-2xs,.25rem)}:host([variant=field-service]) .wo__task-description{font-size:1rem;font-weight:var(--snice-font-weight-medium,500)}:host([variant=field-service]) .wo__task-checkbox svg{width:1rem;height:1rem}:host([variant=field-service]) .wo__signature-lines{margin-top:var(--snice-spacing-lg,1.5rem)}:host([variant=field-service]) .wo__signature-line{min-height:3rem}:host([variant=maintenance]) .wo__asset{background:var(--wo-bg-element);padding:var(--snice-spacing-sm,.75rem);border-radius:var(--snice-border-radius-md,.25rem);border:1px solid var(--wo-border)}:host([variant=maintenance]) .wo__asset-value{font-weight:var(--snice-font-weight-semibold,600);color:var(--wo-accent)}:host([variant=detailed]) .wo__task-meta{font-size:.8125rem}:host([variant=detailed]) .wo__task-hours{font-weight:var(--snice-font-weight-semibold,600);color:var(--wo-text-secondary)}:host([variant=detailed]) .wo__parts-table td:nth-child(2){font-family:'SF Mono','Cascadia Code','Fira Code',monospace;font-size:.8125rem;color:var(--wo-text-tertiary)}:host([variant=detailed]) .wo__costs-table{min-width:18rem}:host([variant=detailed]) .wo__cost-row{padding:var(--snice-spacing-2xs,.25rem) 0}@media print{.wo{border:none;box-shadow:none;max-width:none}.wo__sign-btn{display:none}.wo__task-checkbox{border:2px solid rgb(0 0 0)!important;background:0 0!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.wo__task-checkbox--checked{background:rgb(0 0 0)!important;border-color:rgb(0 0 0)!important;color:rgb(255 255 255)!important}.wo__task-checkbox--checked svg{display:block}.wo__badge{background:0 0!important;border:1px solid currentColor;print-color-adjust:exact;-webkit-print-color-adjust:exact}.wo__signature-line{border-bottom:1px solid rgb(0 0 0);min-height:2.5rem}.wo__parts-table td,.wo__parts-table th{border-color:rgb(0 0 0 / .2)}.wo__task:hover{background:0 0}.wo__section{break-inside:avoid}.wo__parts-table{break-inside:auto}.wo__costs,.wo__footer,.wo__parts-table tr{break-inside:avoid}.wo__qr{print-color-adjust:exact;-webkit-print-color-adjust:exact}}@media (max-width:480px){.wo__header{flex-direction:column}.wo__customer{grid-template-columns:1fr}.wo__labor{grid-template-columns:1fr 1fr}.wo__parts-table{font-size:.8125rem}.wo__signature-lines{grid-template-columns:1fr}.wo__qr--top-right{position:static;margin-bottom:var(--snice-spacing-sm,.75rem)}}";
68
68
 
69
69
  let SniceWorkOrder = (() => {
70
70
  let _classDecorators = [snice.element('snice-work-order')];