@sbb-esta/lyne-elements-experimental 4.11.0 → 5.0.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. package/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +16 -18
  2. package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +6 -11
  3. package/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +1 -1
  4. package/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.js +1 -1
  5. package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +1 -1
  6. package/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +1 -1
  7. package/{autocomplete-grid-cell.component-DkD9aFKc.js → autocomplete-grid-cell.component-BFzREPWp.js} +1 -2
  8. package/{autocomplete-grid-option.component-CtATJy7n.js → autocomplete-grid-option.component-DhmoLeEw.js} +5 -7
  9. package/{autocomplete-grid-row.component-6nJv5PMj.js → autocomplete-grid-row.component-BQxCxOI6.js} +1 -2
  10. package/autocomplete-grid.js +3 -3
  11. package/autocomplete-grid.pure.js +3 -3
  12. package/core/datetime/date-helper.js +1 -1
  13. package/core/timetable/access-leg-helper.js +27 -27
  14. package/core.js +5 -0
  15. package/custom-elements.json +141 -368
  16. package/{date-helper-CGproP5d.js → date-helper-CuMnZCsr.js} +1 -1
  17. package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts +1 -1
  18. package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts.map +1 -1
  19. package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +5 -7
  20. package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.d.ts +2 -2
  21. package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.d.ts.map +1 -1
  22. package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +3 -8
  23. package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.d.ts +1 -1
  24. package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.d.ts.map +1 -1
  25. package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +1 -1
  26. package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.d.ts +1 -1
  27. package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.d.ts.map +1 -1
  28. package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.js +2 -2
  29. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.d.ts +1 -1
  30. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.d.ts.map +1 -1
  31. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +1 -1
  32. package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.d.ts +1 -1
  33. package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.d.ts.map +1 -1
  34. package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +1 -1
  35. package/development/autocomplete-grid-cell.component-Buvsof-Y.js +33 -0
  36. package/development/{autocomplete-grid-option.component-5mPGswUO.js → autocomplete-grid-option.component-B4SXR9_v.js} +3 -5
  37. package/development/{autocomplete-grid-row.component-DEm6zyHZ.js → autocomplete-grid-row.component-CY4UDuuj.js} +2 -3
  38. package/development/autocomplete-grid.js +4 -4
  39. package/development/autocomplete-grid.pure.js +3 -3
  40. package/development/core/datetime/date-helper.js +1 -1
  41. package/development/core/timetable/access-leg-helper.d.ts.map +1 -1
  42. package/development/core/timetable/access-leg-helper.js +3 -3
  43. package/development/core.d.ts +6 -0
  44. package/development/core.d.ts.map +1 -0
  45. package/development/core.js +5 -0
  46. package/development/{date-helper-qNdwgC9O.js → date-helper-DGz-ztQM.js} +2 -2
  47. package/development/format-DFx4997p.js +1 -1
  48. package/development/journey-summary/journey-summary.component.d.ts +4 -3
  49. package/development/journey-summary/journey-summary.component.d.ts.map +1 -1
  50. package/development/journey-summary/journey-summary.component.js +1 -1
  51. package/development/{journey-summary.component-BZwgD4im.js → journey-summary.component-B9P1PAJv.js} +14 -12
  52. package/development/journey-summary.js +1 -1
  53. package/development/journey-summary.pure.js +1 -1
  54. package/development/pearl-chain/pearl-chain.component.d.ts +2 -2
  55. package/development/pearl-chain/pearl-chain.component.d.ts.map +1 -1
  56. package/development/pearl-chain/pearl-chain.component.js +1 -1
  57. package/development/pearl-chain-time/pearl-chain-time.component.d.ts +3 -2
  58. package/development/pearl-chain-time/pearl-chain-time.component.d.ts.map +1 -1
  59. package/development/pearl-chain-time/pearl-chain-time.component.js +1 -1
  60. package/development/{pearl-chain-time.component-B2_BI6E_.js → pearl-chain-time.component-DDnGnI77.js} +8 -10
  61. package/development/pearl-chain-time.js +1 -1
  62. package/development/pearl-chain-time.pure.js +1 -1
  63. package/development/pearl-chain-vertical/pearl-chain-vertical.component.d.ts +1 -1
  64. package/development/pearl-chain-vertical/pearl-chain-vertical.component.d.ts.map +1 -1
  65. package/development/pearl-chain-vertical/pearl-chain-vertical.component.js +1 -1
  66. package/development/pearl-chain-vertical-item/pearl-chain-vertical-item.component.d.ts +1 -1
  67. package/development/pearl-chain-vertical-item/pearl-chain-vertical-item.component.d.ts.map +1 -1
  68. package/development/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +1 -1
  69. package/development/{pearl-chain-vertical-item.component-DcmH13Vb.js → pearl-chain-vertical-item.component-DHsk3J8I.js} +3 -5
  70. package/development/pearl-chain-vertical-item.js +1 -1
  71. package/development/pearl-chain-vertical-item.pure.js +1 -1
  72. package/development/pearl-chain-vertical.component-Cmc3QXgd.js +30 -0
  73. package/development/pearl-chain-vertical.js +1 -1
  74. package/development/pearl-chain-vertical.pure.js +1 -1
  75. package/development/{pearl-chain.component-oQZUzsyW.js → pearl-chain.component-CngXp3rK.js} +4 -8
  76. package/development/pearl-chain.js +1 -1
  77. package/development/pearl-chain.pure.js +1 -1
  78. package/development/seat-reservation/common/translations/i18n.d.ts.map +1 -1
  79. package/development/seat-reservation/common/translations/i18n.js +1 -1
  80. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts +2 -2
  81. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -1
  82. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.js +2 -4
  83. package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts +2 -0
  84. package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -1
  85. package/development/seat-reservation/seat-reservation/seat-reservation.component.js +1 -1
  86. package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.d.ts +1 -1
  87. package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.d.ts.map +1 -1
  88. package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +1 -1
  89. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.d.ts +2 -1
  90. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.d.ts.map +1 -1
  91. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +1 -1
  92. package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts +2 -1
  93. package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +1 -1
  94. package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +1 -1
  95. package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts +2 -1
  96. package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +1 -1
  97. package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +1 -1
  98. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts +3 -2
  99. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts.map +1 -1
  100. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +1 -1
  101. package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts +1 -1
  102. package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts.map +1 -1
  103. package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js +1 -1
  104. package/development/{seat-reservation-area.component-DbeuTnXT.js → seat-reservation-area.component-BQEtJhk0.js} +2 -4
  105. package/development/{seat-reservation-graphic.component-DlrHtlia.js → seat-reservation-graphic.component-XpqxL5nq.js} +7 -7
  106. package/development/{seat-reservation-navigation-coach.component-CjoDkcVU.js → seat-reservation-navigation-coach.component-DRCcI2ss.js} +5 -7
  107. package/development/{seat-reservation-navigation-services.component-CGel7__P.js → seat-reservation-navigation-services.component-ZNm77ZG-.js} +5 -7
  108. package/development/{seat-reservation-place-control.component-CM9efId7.js → seat-reservation-place-control.component-BQ7fOSHM.js} +6 -7
  109. package/development/{seat-reservation-scoped.component-CFA_bJ3o.js → seat-reservation-scoped.component-X-Kq0-w5.js} +2 -3
  110. package/development/seat-reservation.component-wkvc3Frp.js +515 -0
  111. package/development/seat-reservation.js +9 -10
  112. package/development/seat-reservation.pure.d.ts +0 -1
  113. package/development/seat-reservation.pure.d.ts.map +1 -1
  114. package/development/seat-reservation.pure.js +8 -9
  115. package/development/svgs-kDpBCto5.js +1 -1
  116. package/development/timetable-duration/timetable-duration.component.d.ts +1 -1
  117. package/development/timetable-duration/timetable-duration.component.d.ts.map +1 -1
  118. package/development/timetable-duration/timetable-duration.component.js +1 -1
  119. package/development/timetable-duration.component-2JBYobDt.js +96 -0
  120. package/development/timetable-duration.js +1 -1
  121. package/development/timetable-duration.pure.js +1 -1
  122. package/development/timetable-row/timetable-row.component.d.ts +3 -2
  123. package/development/timetable-row/timetable-row.component.d.ts.map +1 -1
  124. package/development/timetable-row/timetable-row.component.js +1 -1
  125. package/development/timetable-row.component-B884Zj89.js +732 -0
  126. package/development/timetable-row.js +1 -1
  127. package/development/timetable-row.pure.js +1 -1
  128. package/development/toDate-DOFAOjP-.js +1 -1
  129. package/journey-summary/journey-summary.component.js +1 -1
  130. package/{journey-summary.component-OFYXlkzg.js → journey-summary.component-C7WPKx8k.js} +56 -54
  131. package/journey-summary.js +1 -1
  132. package/journey-summary.pure.js +1 -1
  133. package/package.json +6 -81
  134. package/pearl-chain/pearl-chain.component.js +1 -1
  135. package/pearl-chain-time/pearl-chain-time.component.js +1 -1
  136. package/{pearl-chain-time.component-CNKsGfIp.js → pearl-chain-time.component-awU4lFdO.js} +41 -43
  137. package/pearl-chain-time.js +1 -1
  138. package/pearl-chain-time.pure.js +1 -1
  139. package/pearl-chain-vertical/pearl-chain-vertical.component.js +1 -1
  140. package/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +1 -1
  141. package/{pearl-chain-vertical-item.component-BUqZ-3Ay.js → pearl-chain-vertical-item.component-CO6HUZFL.js} +4 -6
  142. package/pearl-chain-vertical-item.js +1 -1
  143. package/pearl-chain-vertical-item.pure.js +1 -1
  144. package/{pearl-chain-vertical.component-Df9CvRxo.js → pearl-chain-vertical.component-Lx47SlJU.js} +1 -2
  145. package/pearl-chain-vertical.js +1 -1
  146. package/pearl-chain-vertical.pure.js +1 -1
  147. package/{pearl-chain.component-CpISVoAu.js → pearl-chain.component-BAtmfmpA.js} +22 -26
  148. package/pearl-chain.js +1 -1
  149. package/pearl-chain.pure.js +1 -1
  150. package/seat-reservation/seat-reservation/seat-reservation-base-element.js +5 -7
  151. package/seat-reservation/seat-reservation/seat-reservation.component.js +1 -1
  152. package/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +1 -1
  153. package/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +1 -1
  154. package/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +1 -1
  155. package/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +1 -1
  156. package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +1 -1
  157. package/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js +1 -1
  158. package/{seat-reservation-area.component-CtYawDjE.js → seat-reservation-area.component-CVc6uuMG.js} +3 -5
  159. package/{seat-reservation-graphic.component-Cm_pVxaB.js → seat-reservation-graphic.component-Dzkv9tyR.js} +26 -26
  160. package/{seat-reservation-navigation-coach.component-sug9IBTH.js → seat-reservation-navigation-coach.component-CGfmiQJq.js} +51 -56
  161. package/{seat-reservation-navigation-services.component-C9dDYD_M.js → seat-reservation-navigation-services.component-DQviLWvy.js} +28 -33
  162. package/{seat-reservation-place-control.component-CE7d9M2b.js → seat-reservation-place-control.component-BYJi6aYS.js} +43 -47
  163. package/{seat-reservation-scoped.component-DVyP2JGE.js → seat-reservation-scoped.component-CdB7HYzl.js} +1 -2
  164. package/{seat-reservation.component-DajC6fqU.js → seat-reservation.component-uWai3ks6.js} +115 -107
  165. package/seat-reservation.js +10 -11
  166. package/seat-reservation.pure.js +9 -10
  167. package/timetable-duration/timetable-duration.component.js +1 -1
  168. package/{timetable-duration.component-BnJA8wSb.js → timetable-duration.component-PmvoOKVw.js} +6 -10
  169. package/timetable-duration.js +1 -1
  170. package/timetable-duration.pure.js +1 -1
  171. package/timetable-row/timetable-row.component.js +1 -1
  172. package/{timetable-row.component-Cd_7Pu_E.js → timetable-row.component-BnmrhD2d.js} +119 -116
  173. package/timetable-row.js +1 -1
  174. package/timetable-row.pure.js +1 -1
  175. package/autocomplete-grid/autocomplete-grid-button.js +0 -4
  176. package/autocomplete-grid/autocomplete-grid-cell.js +0 -4
  177. package/autocomplete-grid/autocomplete-grid-optgroup.js +0 -4
  178. package/autocomplete-grid/autocomplete-grid-option.js +0 -4
  179. package/autocomplete-grid/autocomplete-grid-row.js +0 -4
  180. package/autocomplete-grid/autocomplete-grid.js +0 -4
  181. package/core/datetime.js +0 -2
  182. package/core/timetable.js +0 -4
  183. package/development/autocomplete-grid/autocomplete-grid-button.d.ts +0 -2
  184. package/development/autocomplete-grid/autocomplete-grid-button.d.ts.map +0 -1
  185. package/development/autocomplete-grid/autocomplete-grid-button.js +0 -10
  186. package/development/autocomplete-grid/autocomplete-grid-cell.d.ts +0 -2
  187. package/development/autocomplete-grid/autocomplete-grid-cell.d.ts.map +0 -1
  188. package/development/autocomplete-grid/autocomplete-grid-cell.js +0 -10
  189. package/development/autocomplete-grid/autocomplete-grid-optgroup.d.ts +0 -2
  190. package/development/autocomplete-grid/autocomplete-grid-optgroup.d.ts.map +0 -1
  191. package/development/autocomplete-grid/autocomplete-grid-optgroup.js +0 -10
  192. package/development/autocomplete-grid/autocomplete-grid-option.d.ts +0 -2
  193. package/development/autocomplete-grid/autocomplete-grid-option.d.ts.map +0 -1
  194. package/development/autocomplete-grid/autocomplete-grid-option.js +0 -10
  195. package/development/autocomplete-grid/autocomplete-grid-row.d.ts +0 -2
  196. package/development/autocomplete-grid/autocomplete-grid-row.d.ts.map +0 -1
  197. package/development/autocomplete-grid/autocomplete-grid-row.js +0 -10
  198. package/development/autocomplete-grid/autocomplete-grid.d.ts +0 -2
  199. package/development/autocomplete-grid/autocomplete-grid.d.ts.map +0 -1
  200. package/development/autocomplete-grid/autocomplete-grid.js +0 -10
  201. package/development/autocomplete-grid-cell.component-BxkWGaX0.js +0 -34
  202. package/development/core/datetime.d.ts +0 -3
  203. package/development/core/datetime.d.ts.map +0 -1
  204. package/development/core/datetime.js +0 -2
  205. package/development/core/timetable.d.ts +0 -5
  206. package/development/core/timetable.d.ts.map +0 -1
  207. package/development/core/timetable.js +0 -4
  208. package/development/pearl-chain-vertical.component-CpcNFl-x.js +0 -31
  209. package/development/seat-reservation/common.d.ts +0 -6
  210. package/development/seat-reservation/common.d.ts.map +0 -1
  211. package/development/seat-reservation/common.js +0 -12
  212. package/development/seat-reservation/seat-reservation-area.d.ts +0 -2
  213. package/development/seat-reservation/seat-reservation-area.d.ts.map +0 -1
  214. package/development/seat-reservation/seat-reservation-area.js +0 -10
  215. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-assets.d.ts +0 -9
  216. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-assets.d.ts.map +0 -1
  217. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-assets.js +0 -306
  218. package/development/seat-reservation/seat-reservation-graphic.d.ts +0 -2
  219. package/development/seat-reservation/seat-reservation-graphic.d.ts.map +0 -1
  220. package/development/seat-reservation/seat-reservation-graphic.js +0 -10
  221. package/development/seat-reservation/seat-reservation-navigation-coach.d.ts +0 -2
  222. package/development/seat-reservation/seat-reservation-navigation-coach.d.ts.map +0 -1
  223. package/development/seat-reservation/seat-reservation-navigation-coach.js +0 -10
  224. package/development/seat-reservation/seat-reservation-navigation-services.d.ts +0 -2
  225. package/development/seat-reservation/seat-reservation-navigation-services.d.ts.map +0 -1
  226. package/development/seat-reservation/seat-reservation-navigation-services.js +0 -10
  227. package/development/seat-reservation/seat-reservation-place-control.d.ts +0 -2
  228. package/development/seat-reservation/seat-reservation-place-control.d.ts.map +0 -1
  229. package/development/seat-reservation/seat-reservation-place-control.js +0 -10
  230. package/development/seat-reservation/seat-reservation-scoped.d.ts +0 -2
  231. package/development/seat-reservation/seat-reservation-scoped.d.ts.map +0 -1
  232. package/development/seat-reservation/seat-reservation-scoped.js +0 -10
  233. package/development/seat-reservation/seat-reservation.d.ts +0 -3
  234. package/development/seat-reservation/seat-reservation.d.ts.map +0 -1
  235. package/development/seat-reservation/seat-reservation.js +0 -11
  236. package/development/seat-reservation.component-DFJVFmrI.js +0 -510
  237. package/development/timetable-duration.component-BhFlqYbV.js +0 -100
  238. package/development/timetable-row.component-Dko8laRT.js +0 -729
  239. package/seat-reservation/common.js +0 -9
  240. package/seat-reservation/seat-reservation-area.js +0 -4
  241. package/seat-reservation/seat-reservation-graphic/seat-reservation-assets.js +0 -291
  242. package/seat-reservation/seat-reservation-graphic.js +0 -4
  243. package/seat-reservation/seat-reservation-navigation-coach.js +0 -4
  244. package/seat-reservation/seat-reservation-navigation-services.js +0 -4
  245. package/seat-reservation/seat-reservation-place-control.js +0 -4
  246. package/seat-reservation/seat-reservation-scoped.js +0 -4
  247. package/seat-reservation/seat-reservation.js +0 -5
@@ -1,38 +1,33 @@
1
1
  import { t as e } from "./format-DbUuNYFU.js";
2
2
  import { __esDecorate as t, __runInitializers as n } from "tslib";
3
- import { SbbElement as r } from "@sbb-esta/lyne-elements/core/base-elements.js";
4
- import { SbbLanguageController as i } from "@sbb-esta/lyne-elements/core/controllers.js";
5
- import { forceType as a } from "@sbb-esta/lyne-elements/core/decorators.js";
6
- import { boxSizingStyles as o } from "@sbb-esta/lyne-elements/core/styles.js";
7
- import { html as s, nothing as c, unsafeCSS as l } from "lit";
8
- import { defaultDateAdapter as u } from "@sbb-esta/lyne-elements/core/datetime.js";
9
- import { i18nArrival as d, i18nDeparture as f, i18nTransferProcedures as p } from "@sbb-esta/lyne-elements/core/i18n.js";
10
- import { property as m } from "lit/decorators.js";
11
- import { removeTimezoneFromISOTimeString as h } from "./core/datetime.js";
12
- import { getDepartureArrivalTimeAttribute as g, isRideLeg as _ } from "./core/timetable.js";
13
- import "./pearl-chain.js";
3
+ import { SbbElement as r, SbbLanguageController as i, boxSizingStyles as a, defaultDateAdapter as o, forceType as s, i18nArrival as c, i18nDeparture as l, i18nTransferProcedures as u } from "@sbb-esta/lyne-elements/core.js";
4
+ import { SbbIconElement as d } from "@sbb-esta/lyne-elements/icon.pure.js";
5
+ import { html as f, nothing as p, unsafeCSS as m } from "lit";
6
+ import { property as h } from "lit/decorators.js";
7
+ import { getDepartureArrivalTimeAttribute as g, isRideLeg as _, removeTimezoneFromISOTimeString as v } from "./core.js";
8
+ import { SbbPearlChainElement as y } from "./pearl-chain.pure.js";
14
9
  //#region src/elements-experimental/pearl-chain-time/pearl-chain-time.scss?inline
15
- var v = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-width:37.5rem){:host{--sbb-pearl-chain-time-height: 1.5625rem}}@media(min-width:64rem){:host{--sbb-pearl-chain-time-height: 1.75rem}}.sbb-pearl-chain__time{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;height:var(--sbb-pearl-chain-time-height)}.sbb-pearl-chain__time-walktime,.sbb-pearl-chain__time-transfer{--sbb-text-font-size: var(--sbb-text-font-size-xxs);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);display:inline-flex;align-items:center}.sbb-pearl-chain__time-walktime--walk-small-left{transform:translate(-.4375rem);margin-inline-end:calc(var(--sbb-spacing-fixed-2x) - .4375rem)}.sbb-pearl-chain__time-walktime--walk-small-right{margin-inline-start:calc(var(--sbb-spacing-fixed-2x) - .25rem)}.sbb-pearl-chain__time-walktime--wheelchair-small-left{transform:translate(-.375rem);margin-inline-end:calc(var(--sbb-spacing-fixed-2x) - .4375rem)}.sbb-pearl-chain__time-walktime--wheelchair-small-right{margin-inline-start:calc(var(--sbb-spacing-fixed-2x) - .25rem)}.sbb-pearl-chain__time-walktime-prime-symbol{float:right}.sbb-pearl-chain__time-transfer{gap:var(--sbb-spacing-fixed-1x)}.sbb-pearl-chain__time-transfer--sa-ci-departure{margin-inline-end:var(--sbb-spacing-fixed-2x)}.sbb-pearl-chain__time-transfer--sa-ci-arrival{margin-inline-start:calc(var(--sbb-spacing-fixed-2x) - .25rem)}.sbb-pearl-chain__time-chain{flex:1 1 auto;align-self:center;margin-inline:var(--sbb-spacing-fixed-3x)}.sbb-pearl-chain__time-time{--sbb-text-font-size: var(--sbb-text-font-size-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);font-weight:700;color:var(--sbb-color-2)}.sbb-screen-reader-only{border:0;clip-path:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}", y = (() => {
16
- let y = r, b = [], x, S = [], C = [], w, T = [], E = [], D, O = [], k = [], A, j = [], M = [], N, P = [], F = [], I, L = [], R = [], z, B = [], V = [], H;
17
- return class extends y {
10
+ var b = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-width:37.5rem){:host{--sbb-pearl-chain-time-height: 1.5625rem}}@media(min-width:64rem){:host{--sbb-pearl-chain-time-height: 1.75rem}}.sbb-pearl-chain__time{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;height:var(--sbb-pearl-chain-time-height)}.sbb-pearl-chain__time-walktime,.sbb-pearl-chain__time-transfer{--sbb-text-font-size: var(--sbb-text-font-size-xxs);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);display:inline-flex;align-items:center}.sbb-pearl-chain__time-walktime--walk-small-left{transform:translate(-.4375rem);margin-inline-end:calc(var(--sbb-spacing-fixed-2x) - .4375rem)}.sbb-pearl-chain__time-walktime--walk-small-right{margin-inline-start:calc(var(--sbb-spacing-fixed-2x) - .25rem)}.sbb-pearl-chain__time-walktime--wheelchair-small-left{transform:translate(-.375rem);margin-inline-end:calc(var(--sbb-spacing-fixed-2x) - .4375rem)}.sbb-pearl-chain__time-walktime--wheelchair-small-right{margin-inline-start:calc(var(--sbb-spacing-fixed-2x) - .25rem)}.sbb-pearl-chain__time-walktime-prime-symbol{float:right}.sbb-pearl-chain__time-transfer{gap:var(--sbb-spacing-fixed-1x)}.sbb-pearl-chain__time-transfer--sa-ci-departure{margin-inline-end:var(--sbb-spacing-fixed-2x)}.sbb-pearl-chain__time-transfer--sa-ci-arrival{margin-inline-start:calc(var(--sbb-spacing-fixed-2x) - .25rem)}.sbb-pearl-chain__time-chain{flex:1 1 auto;align-self:center;margin-inline:var(--sbb-spacing-fixed-3x)}.sbb-pearl-chain__time-time{--sbb-text-font-size: var(--sbb-text-font-size-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);font-weight:700;color:var(--sbb-color-2)}.sbb-screen-reader-only{border:0;clip-path:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}", x = (() => {
11
+ let x = r, S = [], C, w = [], T = [], E, D = [], O = [], k, A = [], j = [], M, N = [], P = [], F, I = [], L = [], R, z = [], B = [], V, H = [], U = [], W;
12
+ return class extends x {
18
13
  constructor() {
19
- super(...arguments), this.#e = (n(this, b), n(this, S, [])), this.#t = (n(this, C), n(this, T, "")), this.#n = (n(this, E), n(this, O, "")), this.#r = (n(this, k), n(this, j, NaN)), this.#i = (n(this, M), n(this, P, NaN)), this.#a = (n(this, F), n(this, L, !1)), this.#o = (n(this, R), n(this, B, !1)), this._now = (n(this, V), null), this._language = new i(this);
14
+ super(...arguments), this.#e = (n(this, S), n(this, w, [])), this.#t = (n(this, T), n(this, D, "")), this.#n = (n(this, O), n(this, A, "")), this.#r = (n(this, j), n(this, N, NaN)), this.#i = (n(this, P), n(this, I, NaN)), this.#a = (n(this, L), n(this, z, !1)), this.#o = (n(this, B), n(this, H, !1)), this._now = (n(this, U), null), this._language = new i(this);
20
15
  }
21
16
  static {
22
- let e = typeof Symbol == "function" && Symbol.metadata ? Object.create(y[Symbol.metadata] ?? null) : void 0;
23
- x = [m({ type: Array })], w = [a(), m({ attribute: "departure-time" })], D = [a(), m({ attribute: "arrival-time" })], A = [a(), m({
17
+ let e = typeof Symbol == "function" && Symbol.metadata ? Object.create(x[Symbol.metadata] ?? null) : void 0;
18
+ C = [h({ type: Array })], E = [s(), h({ attribute: "departure-time" })], k = [s(), h({ attribute: "arrival-time" })], M = [s(), h({
24
19
  attribute: "departure-walk",
25
20
  type: Number
26
- })], N = [a(), m({
21
+ })], F = [s(), h({
27
22
  attribute: "arrival-walk",
28
23
  type: Number
29
- })], I = [a(), m({
24
+ })], R = [s(), h({
30
25
  attribute: "disable-animation",
31
26
  type: Boolean
32
- })], z = [a(), m({
27
+ })], V = [s(), h({
33
28
  attribute: "a11y-footpath",
34
29
  type: Boolean
35
- })], H = [m()], t(this, null, x, {
30
+ })], W = [h()], t(this, null, C, {
36
31
  kind: "accessor",
37
32
  name: "legs",
38
33
  static: !1,
@@ -45,7 +40,7 @@ var v = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-widt
45
40
  }
46
41
  },
47
42
  metadata: e
48
- }, S, C), t(this, null, w, {
43
+ }, w, T), t(this, null, E, {
49
44
  kind: "accessor",
50
45
  name: "departureTime",
51
46
  static: !1,
@@ -58,7 +53,7 @@ var v = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-widt
58
53
  }
59
54
  },
60
55
  metadata: e
61
- }, T, E), t(this, null, D, {
56
+ }, D, O), t(this, null, k, {
62
57
  kind: "accessor",
63
58
  name: "arrivalTime",
64
59
  static: !1,
@@ -71,7 +66,7 @@ var v = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-widt
71
66
  }
72
67
  },
73
68
  metadata: e
74
- }, O, k), t(this, null, A, {
69
+ }, A, j), t(this, null, M, {
75
70
  kind: "accessor",
76
71
  name: "departureWalk",
77
72
  static: !1,
@@ -84,7 +79,7 @@ var v = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-widt
84
79
  }
85
80
  },
86
81
  metadata: e
87
- }, j, M), t(this, null, N, {
82
+ }, N, P), t(this, null, F, {
88
83
  kind: "accessor",
89
84
  name: "arrivalWalk",
90
85
  static: !1,
@@ -97,7 +92,7 @@ var v = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-widt
97
92
  }
98
93
  },
99
94
  metadata: e
100
- }, P, F), t(this, null, I, {
95
+ }, I, L), t(this, null, R, {
101
96
  kind: "accessor",
102
97
  name: "disableAnimation",
103
98
  static: !1,
@@ -110,7 +105,7 @@ var v = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-widt
110
105
  }
111
106
  },
112
107
  metadata: e
113
- }, L, R), t(this, null, z, {
108
+ }, z, B), t(this, null, V, {
114
109
  kind: "accessor",
115
110
  name: "a11yFootpath",
116
111
  static: !1,
@@ -123,7 +118,7 @@ var v = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-widt
123
118
  }
124
119
  },
125
120
  metadata: e
126
- }, B, V), t(this, null, H, {
121
+ }, H, U), t(this, null, W, {
127
122
  kind: "setter",
128
123
  name: "now",
129
124
  static: !1,
@@ -135,7 +130,7 @@ var v = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-widt
135
130
  }
136
131
  },
137
132
  metadata: e
138
- }, null, b), e && Object.defineProperty(this, Symbol.metadata, {
133
+ }, null, S), e && Object.defineProperty(this, Symbol.metadata, {
139
134
  enumerable: !0,
140
135
  configurable: !0,
141
136
  writable: !0,
@@ -146,7 +141,10 @@ var v = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-widt
146
141
  this.elementName = "sbb-pearl-chain-time";
147
142
  }
148
143
  static {
149
- this.styles = [o, l(v)];
144
+ this.elementDependencies = [d, y];
145
+ }
146
+ static {
147
+ this.styles = [a, m(b)];
150
148
  }
151
149
  #e;
152
150
  get legs() {
@@ -198,37 +196,37 @@ var v = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-widt
198
196
  this.#o = e;
199
197
  }
200
198
  set now(e) {
201
- this._now = u.getValidDateOrNull(u.deserialize(e));
199
+ this._now = o.getValidDateOrNull(o.deserialize(e));
202
200
  }
203
201
  get now() {
204
202
  return this._now ?? /* @__PURE__ */ new Date();
205
203
  }
206
204
  render() {
207
- let t = this.departureTime ? h(this.departureTime) : void 0, n = this.arrivalTime ? h(this.arrivalTime) : void 0, { renderDepartureTimeAttribute: r, renderArrivalTimeAttribute: i } = g(this.legs, this.departureWalk || 0, this.arrivalWalk || 0, this._language.current, this.a11yFootpath), a = this.legs?.filter((e) => _(e));
208
- return s`
205
+ let t = this.departureTime ? v(this.departureTime) : void 0, n = this.arrivalTime ? v(this.arrivalTime) : void 0, { renderDepartureTimeAttribute: r, renderArrivalTimeAttribute: i } = g(this.legs, this.departureWalk || 0, this.arrivalWalk || 0, this._language.current, this.a11yFootpath), a = this.legs?.filter((e) => _(e));
206
+ return f`
209
207
  <div class="sbb-pearl-chain__time">
210
208
  ${r()}
211
- ${t ? s`<time class="sbb-pearl-chain__time-time" datetime=${this.departureTime}>
209
+ ${t ? f`<time class="sbb-pearl-chain__time-time" datetime=${this.departureTime}>
212
210
  <span class="sbb-screen-reader-only"
213
- >${f[this._language.current]}:&nbsp;</span
211
+ >${l[this._language.current]}:&nbsp;</span
214
212
  >
215
213
  ${e(t, "HH:mm")}
216
- </time>` : c}
217
- ${a?.length > 1 ? s`<span class="sbb-screen-reader-only" role="paragraph">
218
- ${a?.length - 1} ${p[this._language.current]}
219
- </span>` : c}
214
+ </time>` : p}
215
+ ${a?.length > 1 ? f`<span class="sbb-screen-reader-only" role="paragraph">
216
+ ${a?.length - 1} ${u[this._language.current]}
217
+ </span>` : p}
220
218
  <sbb-pearl-chain
221
219
  class="sbb-pearl-chain__time-chain"
222
220
  .legs=${this.legs}
223
221
  .disableAnimation=${this.disableAnimation}
224
222
  .now=${this.now}
225
223
  ></sbb-pearl-chain>
226
- ${n ? s`<time class="sbb-pearl-chain__time-time" datetime=${this.arrivalTime}>
224
+ ${n ? f`<time class="sbb-pearl-chain__time-time" datetime=${this.arrivalTime}>
227
225
  <span class="sbb-screen-reader-only"
228
- >${d[this._language.current]}:&nbsp;</span
226
+ >${c[this._language.current]}:&nbsp;</span
229
227
  >
230
228
  ${e(n, "HH:mm")}
231
- </time>` : c}
229
+ </time>` : p}
232
230
  ${i()}
233
231
  </div>
234
232
  `;
@@ -236,4 +234,4 @@ var v = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-widt
236
234
  };
237
235
  })();
238
236
  //#endregion
239
- export { y as t };
237
+ export { x as t };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./pearl-chain-time.component-CNKsGfIp.js";
1
+ import { t as e } from "./pearl-chain-time.component-awU4lFdO.js";
2
2
  import "./pearl-chain-time.pure.js";
3
3
  //#region src/elements-experimental/pearl-chain-time.ts
4
4
  e.define();
@@ -1,2 +1,2 @@
1
- import { t as e } from "./pearl-chain-time.component-CNKsGfIp.js";
1
+ import { t as e } from "./pearl-chain-time.component-awU4lFdO.js";
2
2
  export { e as SbbPearlChainTimeElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../pearl-chain-vertical.component-Df9CvRxo.js";
1
+ import { t as e } from "../pearl-chain-vertical.component-Lx47SlJU.js";
2
2
  export { e as SbbPearlChainVerticalElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../pearl-chain-vertical-item.component-BUqZ-3Ay.js";
1
+ import { t as e } from "../pearl-chain-vertical-item.component-CO6HUZFL.js";
2
2
  export { e as SbbPearlChainVerticalItemElement };
@@ -1,12 +1,10 @@
1
1
  import { __esDecorate as e, __runInitializers as t } from "tslib";
2
- import { SbbElement as n } from "@sbb-esta/lyne-elements/core/base-elements.js";
3
- import { forceType as r } from "@sbb-esta/lyne-elements/core/decorators.js";
4
- import { boxSizingStyles as i } from "@sbb-esta/lyne-elements/core/styles.js";
2
+ import { SbbElement as n, boxSizingStyles as r, forceType as i } from "@sbb-esta/lyne-elements/core.js";
5
3
  import { html as a, nothing as o, unsafeCSS as s } from "lit";
6
4
  import { property as c } from "lit/decorators.js";
7
5
  import { styleMap as l } from "lit/directives/style-map.js";
8
6
  //#region src/elements-experimental/pearl-chain-vertical-item/pearl-chain-vertical-item.scss?inline
9
- var u = ":host{--sbb-pearl-chain-position-color: var(--sbb-color-primary);--sbb-pearl-chain-bullet-size-start-end: .625rem;--sbb-pearl-chain-bullet-size-stop: .5rem;--sbb-pearl-chain-bullet-color: var(--sbb-background-color-3-inverted);--sbb-pearl-chain-bullet-color-past: var(--sbb-color-metal);--sbb-pearl-chain-bullet-color-past: light-dark(var(--sbb-color-metal), var(--sbb-color-granite));--sbb-pearl-chain-bullet-color-irrelevant: var(--sbb-color-metal);--sbb-pearl-chain-bullet-color-irrelevant: light-dark( var(--sbb-color-metal), var(--sbb-color-granite) );--sbb-pearl-chain-bullet-color-disruption: var(--sbb-color-error);--sbb-pearl-chain-bullet-border-width: var(--sbb-border-width-2x);--sbb-pearl-chain-bullet-animation-duration: 1.92s;--sbb-pearl-chain-bullet-animation-easing: ease-out;--sbb-pearl-chain-bullet-crossed-width: .88375rem;--sbb-pearl-chain-bullet-crossed-height: .21875rem;--sbb-pearl-chain-bullet-crossed-border-width: .09375rem;display:table-row;position:relative;--sbb-pearl-chain-vertical-right-item-width: 100%;--sbb-pearl-chain-vertical-middle-item-min-width: var(--sbb-pearl-chain-bullet-size-start-end);--sbb-pearl-chain-vertical-item-border-width: var(--sbb-border-width-2x);--sbb-pearl-chain-vertical-item-border-width-thin: var(--sbb-border-width-1x);--sbb-pearl-chain-vertical-item-spacing-small: var(--sbb-spacing-fixed-1x);--sbb-pearl-chain-vertical-item-color-default: var(--sbb-pearl-chain-bullet-color);--sbb-pearl-chain-vertical-item-color-disruption: var(--sbb-pearl-chain-bullet-color-disruption);--sbb-pearl-chain-vertical-item-color-past: var(--sbb-pearl-chain-bullet-color-past);--sbb-pearl-chain-vertical-item-color-walk: var(--sbb-color-sky);--sbb-pearl-chain-vertical-item-inline-start: 50%;--sbb-pearl-chain-vertical-item-transform: translateX(-50%)}slot[name=right],.sbb-pearl-chain-vertical-item__column{display:table-cell;position:relative;vertical-align:top}slot[name=right]{width:var(--sbb-pearl-chain-vertical-right-item-width)}.sbb-pearl-chain-vertical-item__column--middle{min-width:var(--sbb-pearl-chain-vertical-middle-item-min-width, --sbb-pearl-chain-vertical-middle-min-width)}slot[name=left]::slotted(*){margin-block-start:var(--sbb-pearl-chain-vertical-left-item-block-start);padding-inline-end:var(--sbb-pearl-chain-vertical-left-item-inline-end)}slot[name=right]::slotted(*){margin-block-start:var(--sbb-pearl-chain-vertical-right-item-block-start);padding-inline-start:var(--sbb-pearl-chain-vertical-right-item-inline-start)}.sbb-pearl-chain-vertical-item__middle{vertical-align:top;border-spacing:0}.sbb-pearl-chain-vertical-item__line{position:absolute;bottom:0;inset-inline-start:var(--sbb-pearl-chain-vertical-item-inline-start);transform:var(--sbb-pearl-chain-vertical-item-transform);width:var(--sbb-border-width-2x);inset-block-start:calc(var(--sbb-pearl-chain-bullet-size-start-end) / 2)}.sbb-pearl-chain-vertical-item__line:after{content:\"\";position:absolute;inset-inline-start:0;inset-block-start:0;height:var(--sbb-pearl-chain-vertical-item-leg-status);width:var(--sbb-pearl-chain-vertical-item-border-width);background-color:var(--sbb-pearl-chain-vertical-item-color-past)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__line:after{--sbb-pearl-chain-vertical-item-color-past: GrayText}}.sbb-pearl-chain-vertical-item__line--dotted{background-color:unset;border-color:unset;background-image:linear-gradient(to bottom,currentcolor 0%,currentcolor 50%,Canvas 50%);background-repeat:repeat-y;background-size:calc(2 * var(--sbb-pearl-chain-vertical-item-spacing-small)) var(--sbb-pearl-chain-vertical-item-spacing-small)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__line--dotted{background-color:unset!important;border-inline-start:.0625rem dashed Highlight;transform:translateY(.0625rem)}}.sbb-pearl-chain-vertical-item__line--thin{width:var(--sbb-pearl-chain-vertical-item-border-width-thin)}.sbb-pearl-chain-vertical-item__line--default{background-color:var(--sbb-pearl-chain-vertical-item-color-default);border-color:var(--sbb-pearl-chain-vertical-item-color-default);color:var(--sbb-pearl-chain-vertical-item-color-default)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__line--default{--sbb-pearl-chain-vertical-item-color-default: CanvasText}}.sbb-pearl-chain-vertical-item__line--disruption{border-color:var(--sbb-pearl-chain-vertical-item-color-disruption);background-color:var(--sbb-pearl-chain-vertical-item-color-disruption);color:var(--sbb-pearl-chain-vertical-item-color-disruption)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__line--disruption{--sbb-pearl-chain-vertical-item-color-disruption: Highlight}}.sbb-pearl-chain-vertical-item__line--past{border-color:var(--sbb-pearl-chain-vertical-item-color-past);background-color:var(--sbb-pearl-chain-vertical-item-color-past);color:var(--sbb-pearl-chain-vertical-item-color-past)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__line--past{--sbb-pearl-chain-vertical-item-color-past: GrayText}}.sbb-pearl-chain-vertical-item__line--walk{border-color:var(--sbb-pearl-chain-vertical-item-color-walk);background-color:var(--sbb-pearl-chain-vertical-item-color-walk);color:var(--sbb-pearl-chain-vertical-item-color-walk)}.sbb-pearl-chain-vertical-item__bullet{position:relative;inset-inline-start:var(--sbb-pearl-chain-vertical-item-inline-start);transform:var(--sbb-pearl-chain-vertical-item-transform);background:var(--sbb-pearl-chain-bullet-color);color:var(--sbb-pearl-chain-bullet-color);border-color:var(--sbb-pearl-chain-bullet-color);border-radius:100%}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet{--sbb-pearl-chain-bullet-color: CanvasText}}.sbb-pearl-chain-vertical-item__bullet--start-end{min-height:var(--sbb-pearl-chain-bullet-size-start-end);min-width:var(--sbb-pearl-chain-bullet-size-start-end);height:var(--sbb-pearl-chain-bullet-size-start-end);width:var(--sbb-pearl-chain-bullet-size-start-end)}.sbb-pearl-chain-vertical-item__bullet--stop{min-height:var(--sbb-pearl-chain-bullet-size-stop);min-width:var(--sbb-pearl-chain-bullet-size-stop);height:var(--sbb-pearl-chain-bullet-size-stop);width:var(--sbb-pearl-chain-bullet-size-stop);border:var(--sbb-pearl-chain-bullet-border-width) solid currentcolor;background:Canvas}.sbb-pearl-chain-vertical-item__bullet--disruption{--sbb-pearl-chain-bullet-color: var(--sbb-pearl-chain-bullet-color-disruption)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--disruption{--sbb-pearl-chain-bullet-color: Highlight}}.sbb-pearl-chain-vertical-item__bullet--irrelevant,.sbb-pearl-chain-vertical-item__bullet--past{--sbb-pearl-chain-bullet-color: var(--sbb-pearl-chain-bullet-color-past)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--irrelevant,.sbb-pearl-chain-vertical-item__bullet--past{--sbb-pearl-chain-bullet-color: GrayText !important}}.sbb-pearl-chain-vertical-item__bullet--stop.sbb-pearl-chain-vertical-item__bullet--irrelevant{--sbb-pearl-chain-bullet-border-width: var(--sbb-border-width-1x);min-height:var(--sbb-pearl-chain-bullet-size-stop);min-width:var(--sbb-pearl-chain-bullet-size-stop);height:var(--sbb-pearl-chain-bullet-size-stop);width:var(--sbb-pearl-chain-bullet-size-stop);border:var(--sbb-pearl-chain-bullet-border-width) solid currentcolor;background:Canvas}.sbb-pearl-chain-vertical-item__bullet--start-end.sbb-pearl-chain-vertical-item__bullet--skipped{border:var(--sbb-pearl-chain-bullet-border-width) solid currentcolor;background:Canvas}.sbb-pearl-chain-vertical-item__bullet--start-end.sbb-pearl-chain-vertical-item__bullet--skipped:before{content:\"\";position:absolute;inset-block-start:50%;inset-inline-start:50%;transform:translate(-50%,-50%) rotate(45deg);border-block-start:var(--sbb-pearl-chain-bullet-crossed-border-width) solid canvas;background:var(--sbb-pearl-chain-bullet-color-disruption);height:var(--sbb-pearl-chain-bullet-crossed-height);width:var(--sbb-pearl-chain-bullet-crossed-width)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--start-end.sbb-pearl-chain-vertical-item__bullet--skipped:before{background:Highlight}}.sbb-pearl-chain-vertical-item__bullet--stop.sbb-pearl-chain-vertical-item__bullet--skipped{--sbb-pearl-chain-bullet-crossed-width: .706875rem;--sbb-pearl-chain-bullet-crossed-height: .1875rem;min-height:var(--sbb-pearl-chain-bullet-size-stop);min-width:var(--sbb-pearl-chain-bullet-size-stop);height:var(--sbb-pearl-chain-bullet-size-stop);width:var(--sbb-pearl-chain-bullet-size-stop);border:var(--sbb-pearl-chain-bullet-border-width) solid currentcolor;background:Canvas}.sbb-pearl-chain-vertical-item__bullet--stop.sbb-pearl-chain-vertical-item__bullet--skipped:before{content:\"\";position:absolute;inset-block-start:50%;inset-inline-start:50%;transform:translate(-50%,-50%) rotate(45deg);border-block-start:var(--sbb-pearl-chain-bullet-crossed-border-width) solid canvas;background:var(--sbb-pearl-chain-bullet-color-disruption);height:var(--sbb-pearl-chain-bullet-crossed-height);width:var(--sbb-pearl-chain-bullet-crossed-width)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--stop.sbb-pearl-chain-vertical-item__bullet--skipped:before{background:Highlight}}.sbb-pearl-chain-vertical-item__bullet--position{inset-block-start:var(--sbb-pearl-chain-vertical-item-position);position:absolute;left:50%;transform:translate(-50%);min-height:var(--sbb-pearl-chain-bullet-size-start-end);min-width:var(--sbb-pearl-chain-bullet-size-start-end);height:var(--sbb-pearl-chain-bullet-size-start-end);width:var(--sbb-pearl-chain-bullet-size-start-end);background:var(--sbb-pearl-chain-bullet-color);color:var(--sbb-pearl-chain-bullet-color);border-color:var(--sbb-pearl-chain-bullet-color);border-radius:100%}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--position{--sbb-pearl-chain-bullet-color: CanvasText}}.sbb-pearl-chain-vertical-item__bullet--position{--sbb-pearl-chain-bullet-color: var(--sbb-pearl-chain-position-color)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--position{--sbb-pearl-chain-position-color: Highlight}}@keyframes pearl-chain-bullet-position-pulse{0%{box-shadow:0 0 0 0 var(--sbb-pearl-chain-position-color)}25%{box-shadow:0 0 0 0 var(--sbb-pearl-chain-position-color)}50%{box-shadow:0 0 0 .1875rem color-mix(in srgb,var(--sbb-pearl-chain-position-color) 20%,transparent)}to{box-shadow:0 0 0 0 var(--sbb-pearl-chain-position-color)}}.sbb-pearl-chain-vertical-item__bullet--position{animation:pearl-chain-bullet-position-pulse var(--sbb-pearl-chain-bullet-animation-duration) var(--sbb-pearl-chain-bullet-animation-easing) infinite}:host([disable-animation]) .sbb-pearl-chain-vertical-item__bullet--position{animation:unset!important}", d = (() => {
7
+ var u = ":host{--sbb-pearl-chain-position-color: var(--sbb-color-primary);--sbb-pearl-chain-bullet-size-start-end: .625rem;--sbb-pearl-chain-bullet-size-stop: .5rem;--sbb-pearl-chain-bullet-color: var(--sbb-background-color-3-inverted);--sbb-pearl-chain-bullet-color-past: var(--sbb-color-metal);--sbb-pearl-chain-bullet-color-past: light-dark(var(--sbb-color-metal), var(--sbb-color-granite));--sbb-pearl-chain-bullet-color-irrelevant: var(--sbb-color-metal);--sbb-pearl-chain-bullet-color-irrelevant: light-dark( var(--sbb-color-metal), var(--sbb-color-granite) );--sbb-pearl-chain-bullet-color-disruption: var(--sbb-color-error);--sbb-pearl-chain-bullet-border-width: var(--sbb-border-width-2x);--sbb-pearl-chain-bullet-animation-duration: 1.92s;--sbb-pearl-chain-bullet-animation-easing: ease-out;--sbb-pearl-chain-bullet-crossed-width: .88375rem;--sbb-pearl-chain-bullet-crossed-height: .21875rem;--sbb-pearl-chain-bullet-crossed-border-width: .09375rem;display:table-row;position:relative;--sbb-pearl-chain-vertical-right-item-width: 100%;--sbb-pearl-chain-vertical-middle-item-min-width: var(--sbb-pearl-chain-bullet-size-start-end);--sbb-pearl-chain-vertical-item-border-width: var(--sbb-border-width-2x);--sbb-pearl-chain-vertical-item-border-width-thin: var(--sbb-border-width-1x);--sbb-pearl-chain-vertical-item-spacing-small: var(--sbb-spacing-fixed-1x);--sbb-pearl-chain-vertical-item-color-default: var(--sbb-pearl-chain-bullet-color);--sbb-pearl-chain-vertical-item-color-disruption: var(--sbb-pearl-chain-bullet-color-disruption);--sbb-pearl-chain-vertical-item-color-past: var(--sbb-pearl-chain-bullet-color-past);--sbb-pearl-chain-vertical-item-color-walk: var(--sbb-color-sky);--sbb-pearl-chain-vertical-item-inline-start: 50%;--sbb-pearl-chain-vertical-item-transform: translateX(-50%)}slot[name=right],.sbb-pearl-chain-vertical-item__column{display:table-cell;position:relative;vertical-align:top}slot[name=right]{width:var(--sbb-pearl-chain-vertical-right-item-width)}.sbb-pearl-chain-vertical-item__column--middle{min-width:var(--sbb-pearl-chain-vertical-middle-item-min-width, --sbb-pearl-chain-vertical-middle-min-width)}slot[name=left]::slotted(*){margin-block-start:var(--sbb-pearl-chain-vertical-left-item-block-start);padding-inline-end:var(--sbb-pearl-chain-vertical-left-item-inline-end)}slot[name=right]::slotted(*){margin-block-start:var(--sbb-pearl-chain-vertical-right-item-block-start);padding-inline-start:var(--sbb-pearl-chain-vertical-right-item-inline-start)}.sbb-pearl-chain-vertical-item__middle{vertical-align:top;border-spacing:0}.sbb-pearl-chain-vertical-item__line{position:absolute;bottom:0;inset-inline-start:var(--sbb-pearl-chain-vertical-item-inline-start);transform:var(--sbb-pearl-chain-vertical-item-transform);width:var(--sbb-border-width-2x);inset-block-start:calc(var(--sbb-pearl-chain-bullet-size-start-end) / 2)}.sbb-pearl-chain-vertical-item__line:after{content:\"\";position:absolute;inset-inline-start:0;inset-block-start:0;height:var(--sbb-pearl-chain-vertical-item-leg-status);width:var(--sbb-pearl-chain-vertical-item-border-width);background-color:var(--sbb-pearl-chain-vertical-item-color-past)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__line:after{--sbb-pearl-chain-vertical-item-color-past: GrayText}}.sbb-pearl-chain-vertical-item__line--dotted{background-color:unset;border-color:unset;background-image:linear-gradient(to bottom,currentcolor 0%,currentcolor 50%,Canvas 50%);background-repeat:repeat-y;background-size:calc(2 * var(--sbb-pearl-chain-vertical-item-spacing-small)) var(--sbb-pearl-chain-vertical-item-spacing-small)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__line--dotted{background-color:unset!important;border-inline-start:.0625rem dashed Highlight;transform:translateY(.0625rem)}}.sbb-pearl-chain-vertical-item__line--thin{width:var(--sbb-pearl-chain-vertical-item-border-width-thin)}.sbb-pearl-chain-vertical-item__line--default{background-color:var(--sbb-pearl-chain-vertical-item-color-default);border-color:var(--sbb-pearl-chain-vertical-item-color-default);color:var(--sbb-pearl-chain-vertical-item-color-default)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__line--default{--sbb-pearl-chain-vertical-item-color-default: CanvasText}}.sbb-pearl-chain-vertical-item__line--disruption{border-color:var(--sbb-pearl-chain-vertical-item-color-disruption);background-color:var(--sbb-pearl-chain-vertical-item-color-disruption);color:var(--sbb-pearl-chain-vertical-item-color-disruption)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__line--disruption{--sbb-pearl-chain-vertical-item-color-disruption: Highlight}}.sbb-pearl-chain-vertical-item__line--past{border-color:var(--sbb-pearl-chain-vertical-item-color-past);background-color:var(--sbb-pearl-chain-vertical-item-color-past);color:var(--sbb-pearl-chain-vertical-item-color-past)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__line--past{--sbb-pearl-chain-vertical-item-color-past: GrayText}}.sbb-pearl-chain-vertical-item__line--walk{border-color:var(--sbb-pearl-chain-vertical-item-color-walk);background-color:var(--sbb-pearl-chain-vertical-item-color-walk);color:var(--sbb-pearl-chain-vertical-item-color-walk)}.sbb-pearl-chain-vertical-item__bullet{position:relative;inset-inline-start:var(--sbb-pearl-chain-vertical-item-inline-start);transform:var(--sbb-pearl-chain-vertical-item-transform);background:var(--sbb-pearl-chain-bullet-color);color:var(--sbb-pearl-chain-bullet-color);border-color:var(--sbb-pearl-chain-bullet-color);border-radius:100%}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet{--sbb-pearl-chain-bullet-color: CanvasText}}.sbb-pearl-chain-vertical-item__bullet--start-end{min-height:var(--sbb-pearl-chain-bullet-size-start-end);min-width:var(--sbb-pearl-chain-bullet-size-start-end);height:var(--sbb-pearl-chain-bullet-size-start-end);width:var(--sbb-pearl-chain-bullet-size-start-end)}.sbb-pearl-chain-vertical-item__bullet--stop{min-height:var(--sbb-pearl-chain-bullet-size-stop);min-width:var(--sbb-pearl-chain-bullet-size-stop);height:var(--sbb-pearl-chain-bullet-size-stop);width:var(--sbb-pearl-chain-bullet-size-stop);border:var(--sbb-pearl-chain-bullet-border-width) solid currentcolor;background:Canvas}.sbb-pearl-chain-vertical-item__bullet--disruption{--sbb-pearl-chain-bullet-color: var(--sbb-pearl-chain-bullet-color-disruption)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--disruption{--sbb-pearl-chain-bullet-color: Highlight}}.sbb-pearl-chain-vertical-item__bullet--irrelevant,.sbb-pearl-chain-vertical-item__bullet--past{--sbb-pearl-chain-bullet-color: var(--sbb-pearl-chain-bullet-color-past)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--irrelevant,.sbb-pearl-chain-vertical-item__bullet--past{--sbb-pearl-chain-bullet-color: GrayText !important}}.sbb-pearl-chain-vertical-item__bullet--stop.sbb-pearl-chain-vertical-item__bullet--irrelevant{--sbb-pearl-chain-bullet-border-width: var(--sbb-border-width-1x);min-height:var(--sbb-pearl-chain-bullet-size-stop);min-width:var(--sbb-pearl-chain-bullet-size-stop);height:var(--sbb-pearl-chain-bullet-size-stop);width:var(--sbb-pearl-chain-bullet-size-stop);border:var(--sbb-pearl-chain-bullet-border-width) solid currentcolor;background:Canvas}.sbb-pearl-chain-vertical-item__bullet--start-end.sbb-pearl-chain-vertical-item__bullet--skipped{border:var(--sbb-pearl-chain-bullet-border-width) solid currentcolor;background:Canvas}.sbb-pearl-chain-vertical-item__bullet--start-end.sbb-pearl-chain-vertical-item__bullet--skipped:before{content:\"\";position:absolute;inset-block-start:50%;inset-inline-start:50%;transform:translate(-50%,-50%) rotate(45deg);border-block-start:var(--sbb-pearl-chain-bullet-crossed-border-width) solid canvas;background:var(--sbb-pearl-chain-bullet-color-disruption);height:var(--sbb-pearl-chain-bullet-crossed-height);width:var(--sbb-pearl-chain-bullet-crossed-width)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--start-end.sbb-pearl-chain-vertical-item__bullet--skipped:before{background:Highlight}}.sbb-pearl-chain-vertical-item__bullet--stop.sbb-pearl-chain-vertical-item__bullet--skipped{--sbb-pearl-chain-bullet-crossed-width: .706875rem;--sbb-pearl-chain-bullet-crossed-height: .1875rem;min-height:var(--sbb-pearl-chain-bullet-size-stop);min-width:var(--sbb-pearl-chain-bullet-size-stop);height:var(--sbb-pearl-chain-bullet-size-stop);width:var(--sbb-pearl-chain-bullet-size-stop);border:var(--sbb-pearl-chain-bullet-border-width) solid currentcolor;background:Canvas}.sbb-pearl-chain-vertical-item__bullet--stop.sbb-pearl-chain-vertical-item__bullet--skipped:before{content:\"\";position:absolute;inset-block-start:50%;inset-inline-start:50%;transform:translate(-50%,-50%) rotate(45deg);border-block-start:var(--sbb-pearl-chain-bullet-crossed-border-width) solid canvas;background:var(--sbb-pearl-chain-bullet-color-disruption);height:var(--sbb-pearl-chain-bullet-crossed-height);width:var(--sbb-pearl-chain-bullet-crossed-width)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--stop.sbb-pearl-chain-vertical-item__bullet--skipped:before{background:Highlight}}.sbb-pearl-chain-vertical-item__bullet--position{inset-block-start:var(--sbb-pearl-chain-vertical-item-position);position:absolute;left:50%;translate:-50% 0;min-height:var(--sbb-pearl-chain-bullet-size-start-end);min-width:var(--sbb-pearl-chain-bullet-size-start-end);height:var(--sbb-pearl-chain-bullet-size-start-end);width:var(--sbb-pearl-chain-bullet-size-start-end);background:var(--sbb-pearl-chain-bullet-color);color:var(--sbb-pearl-chain-bullet-color);border-color:var(--sbb-pearl-chain-bullet-color);border-radius:100%}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--position{--sbb-pearl-chain-bullet-color: CanvasText}}.sbb-pearl-chain-vertical-item__bullet--position{--sbb-pearl-chain-bullet-color: var(--sbb-pearl-chain-position-color)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--position{--sbb-pearl-chain-position-color: Highlight}}@keyframes pearl-chain-bullet-position-pulse{0%{box-shadow:0 0 0 0 var(--sbb-pearl-chain-position-color)}25%{box-shadow:0 0 0 0 var(--sbb-pearl-chain-position-color)}50%{box-shadow:0 0 0 .1875rem color-mix(in srgb,var(--sbb-pearl-chain-position-color) 20%,transparent)}to{box-shadow:0 0 0 0 var(--sbb-pearl-chain-position-color)}}.sbb-pearl-chain-vertical-item__bullet--position{animation:pearl-chain-bullet-position-pulse var(--sbb-pearl-chain-bullet-animation-duration) var(--sbb-pearl-chain-bullet-animation-easing) infinite}:host([disable-animation]) .sbb-pearl-chain-vertical-item__bullet--position{animation:unset!important}", d = (() => {
10
8
  let d = n, f, p = [], m = [], h, g = [], _ = [];
11
9
  return class extends d {
12
10
  static {
@@ -14,7 +12,7 @@ var u = ":host{--sbb-pearl-chain-position-color: var(--sbb-color-primary);--sbb-
14
12
  f = [c({
15
13
  attribute: "pearl-chain-vertical-item-attributes",
16
14
  type: Object
17
- })], h = [r(), c({
15
+ })], h = [i(), c({
18
16
  attribute: "disable-animation",
19
17
  reflect: !0,
20
18
  type: Boolean
@@ -55,7 +53,7 @@ var u = ":host{--sbb-pearl-chain-position-color: var(--sbb-color-primary);--sbb-
55
53
  this.elementName = "sbb-pearl-chain-vertical-item";
56
54
  }
57
55
  static {
58
- this.styles = [i, s(u)];
56
+ this.styles = [r, s(u)];
59
57
  }
60
58
  #e = t(this, p, null);
61
59
  get pearlChainVerticalItemAttributes() {
@@ -1,4 +1,4 @@
1
- import { t as e } from "./pearl-chain-vertical-item.component-BUqZ-3Ay.js";
1
+ import { t as e } from "./pearl-chain-vertical-item.component-CO6HUZFL.js";
2
2
  import "./pearl-chain-vertical-item.pure.js";
3
3
  //#region src/elements-experimental/pearl-chain-vertical-item.ts
4
4
  e.define();
@@ -1,2 +1,2 @@
1
- import { t as e } from "./pearl-chain-vertical-item.component-BUqZ-3Ay.js";
1
+ import { t as e } from "./pearl-chain-vertical-item.component-CO6HUZFL.js";
2
2
  export { e as SbbPearlChainVerticalItemElement };
@@ -1,5 +1,4 @@
1
- import { SbbElement as e } from "@sbb-esta/lyne-elements/core/base-elements.js";
2
- import { boxSizingStyles as t } from "@sbb-esta/lyne-elements/core/styles.js";
1
+ import { SbbElement as e, boxSizingStyles as t } from "@sbb-esta/lyne-elements/core.js";
3
2
  import { html as n, unsafeCSS as r } from "lit";
4
3
  //#region src/elements-experimental/pearl-chain-vertical/pearl-chain-vertical.scss?inline
5
4
  var i = ":host{--sbb-pearl-chain-vertical-width: 100%;display:block}.sbb-pearl-chain-vertical{display:table;width:var(--sbb-pearl-chain-vertical-width)}", a = class extends e {
@@ -1,4 +1,4 @@
1
- import { t as e } from "./pearl-chain-vertical.component-Df9CvRxo.js";
1
+ import { t as e } from "./pearl-chain-vertical.component-Lx47SlJU.js";
2
2
  import "./pearl-chain-vertical.pure.js";
3
3
  //#region src/elements-experimental/pearl-chain-vertical.ts
4
4
  e.define();
@@ -1,2 +1,2 @@
1
- import { t as e } from "./pearl-chain-vertical.component-Df9CvRxo.js";
1
+ import { t as e } from "./pearl-chain-vertical.component-Lx47SlJU.js";
2
2
  export { e as SbbPearlChainVerticalElement };
@@ -1,14 +1,10 @@
1
1
  import { t as e } from "./toDate-p-Tpkb7t.js";
2
2
  import { r as t, t as n } from "./differenceInMinutes-Dr9gRqtu.js";
3
3
  import { __esDecorate as r, __runInitializers as i } from "tslib";
4
- import { SbbElement as a } from "@sbb-esta/lyne-elements/core/base-elements.js";
5
- import { forceType as o } from "@sbb-esta/lyne-elements/core/decorators.js";
6
- import { boxSizingStyles as s } from "@sbb-esta/lyne-elements/core/styles.js";
7
- import { html as c, nothing as l, unsafeCSS as u } from "lit";
8
- import { defaultDateAdapter as d } from "@sbb-esta/lyne-elements/core/datetime.js";
4
+ import { SbbElement as a, boxSizingStyles as o, defaultDateAdapter as s, forceType as c } from "@sbb-esta/lyne-elements/core.js";
5
+ import { html as l, nothing as u, unsafeCSS as d } from "lit";
9
6
  import { property as f } from "lit/decorators.js";
10
- import { removeTimezoneFromISOTimeString as p } from "./core/datetime.js";
11
- import { isRideLeg as m } from "./core/timetable.js";
7
+ import { isRideLeg as p, removeTimezoneFromISOTimeString as m } from "./core.js";
12
8
  import { styleMap as h } from "lit/directives/style-map.js";
13
9
  //#region node_modules/date-fns/isAfter.js
14
10
  function g(t, n) {
@@ -29,7 +25,7 @@ var v = ":host{--sbb-pearl-chain-height: var(--sbb-border-width-2x);--sbb-pearl-
29
25
  }
30
26
  static {
31
27
  let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(e[Symbol.metadata] ?? null) : void 0;
32
- b = [f({ type: Array })], C = [o(), f({
28
+ b = [f({ type: Array })], C = [c(), f({
33
29
  attribute: "disable-animation",
34
30
  type: Boolean
35
31
  })], E = [f()], r(this, null, b, {
@@ -81,7 +77,7 @@ var v = ":host{--sbb-pearl-chain-height: var(--sbb-border-width-2x);--sbb-pearl-
81
77
  this.elementName = "sbb-pearl-chain";
82
78
  }
83
79
  static {
84
- this.styles = [s, u(v)];
80
+ this.styles = [o, d(v)];
85
81
  }
86
82
  #e;
87
83
  get legs() {
@@ -98,24 +94,24 @@ var v = ":host{--sbb-pearl-chain-height: var(--sbb-border-width-2x);--sbb-pearl-
98
94
  this.#t = e;
99
95
  }
100
96
  set now(e) {
101
- this._now = d.getValidDateOrNull(d.deserialize(e));
97
+ this._now = s.getValidDateOrNull(s.deserialize(e));
102
98
  }
103
99
  get now() {
104
100
  return this._now;
105
101
  }
106
102
  _getAllDuration(e) {
107
103
  return e?.reduce((e, t) => {
108
- let r = p(t.arrival?.time), i = p(t.departure?.time);
109
- return r && i ? e + n(p(t.arrival.time), p(t.departure.time)) : e;
104
+ let r = m(t.arrival?.time), i = m(t.departure?.time);
105
+ return r && i ? e + n(m(t.arrival.time), m(t.departure.time)) : e;
110
106
  }, 0);
111
107
  }
112
108
  _isAllCancelled(e) {
113
109
  return e?.every((e) => e?.serviceJourney?.serviceAlteration?.cancelled);
114
110
  }
115
111
  _getRelativeDuration(e, t) {
116
- let r = p(t.arrival?.time), i = p(t.departure?.time);
112
+ let r = m(t.arrival?.time), i = m(t.departure?.time);
117
113
  if (r && i) {
118
- let r = n(p(t.arrival.time), p(t.departure.time)), i = this._getAllDuration(e);
114
+ let r = n(m(t.arrival.time), m(t.departure.time)), i = this._getAllDuration(e);
119
115
  return i === 0 ? 100 : r / i * 100;
120
116
  }
121
117
  return 0;
@@ -136,50 +132,50 @@ var v = ":host{--sbb-pearl-chain-height: var(--sbb-border-width-2x);--sbb-pearl-
136
132
  "--sbb-pearl-chain-status-position": `${r}%`,
137
133
  ...r >= 50 ? { transform: "translateX(-100%)" } : {}
138
134
  }), a = this.disableAnimation ? "sbb-pearl-chain__position--no-animation" : "";
139
- return c`<span
135
+ return l`<span
140
136
  style=${h(i())}
141
137
  class="sbb-pearl-chain__position ${a}"
142
138
  ></span>`;
143
139
  }
144
140
  render() {
145
- let e = this.now ?? /* @__PURE__ */ new Date(), t = this.legs?.filter((e) => m(e)), n = t?.length && p(t[0]?.departure?.time), r = n && {
141
+ let e = this.now ?? /* @__PURE__ */ new Date(), t = this.legs?.filter((e) => p(e)), n = t?.length && m(t[0]?.departure?.time), r = n && {
146
142
  time: n,
147
143
  delay: t[0].departure.delay ?? 0
148
- }, i = t?.length && p(t[t.length - 1].arrival?.time), a = i && {
144
+ }, i = t?.length && m(t[t.length - 1].arrival?.time), a = i && {
149
145
  time: i,
150
146
  delay: t[t.length - 1]?.arrival.delay ?? 0
151
147
  }, o = t && t[0]?.serviceJourney?.stopPoints && t[0]?.serviceJourney?.stopPoints[0].stopStatus === "NOT_SERVICED" ? "sbb-pearl-chain--departure-skipped" : "", s = (() => {
152
148
  let e = t && t[t.length - 1], n = e && e.serviceJourney?.stopPoints;
153
149
  return n && n[n.length - 1].stopStatus === "NOT_SERVICED" ? "sbb-pearl-chain--arrival-skipped" : "";
154
- })(), u = t && t[0]?.serviceJourney?.serviceAlteration?.cancelled ? "sbb-pearl-chain--departure-disruption" : "", d = t && t[t.length - 1]?.serviceJourney?.serviceAlteration?.cancelled ? "sbb-pearl-chain--arrival-disruption" : "", f = r && a && this._getStatus(e, r, a), g = t && f && !u ? "sbb-pearl-chain__bullet--" + f : "", _ = t && f && !d ? "sbb-pearl-chain__bullet--" + this._getStatus(e, void 0, a) : "";
155
- return this._isAllCancelled(t) ? c`
150
+ })(), c = t && t[0]?.serviceJourney?.serviceAlteration?.cancelled ? "sbb-pearl-chain--departure-disruption" : "", d = t && t[t.length - 1]?.serviceJourney?.serviceAlteration?.cancelled ? "sbb-pearl-chain--arrival-disruption" : "", f = r && a && this._getStatus(e, r, a), g = t && f && !c ? "sbb-pearl-chain__bullet--" + f : "", _ = t && f && !d ? "sbb-pearl-chain__bullet--" + this._getStatus(e, void 0, a) : "";
151
+ return this._isAllCancelled(t) ? l`
156
152
  <div class="sbb-pearl-chain">
157
153
  <span class="sbb-pearl-chain__bullet sbb-pearl-chain--departure-disruption"></span>
158
154
  <div class="sbb-pearl-chain__leg sbb-pearl-chain__leg--disruption"></div>
159
155
  <span class="sbb-pearl-chain__bullet sbb-pearl-chain--departure-disruption"></span>
160
156
  </div>
161
- ` : c`
157
+ ` : l`
162
158
  <div class="sbb-pearl-chain">
163
159
  <span
164
- class="sbb-pearl-chain__bullet ${g} ${o} ${u}"
160
+ class="sbb-pearl-chain__bullet ${g} ${o} ${c}"
165
161
  ></span>
166
162
  ${t?.map((n, r) => {
167
- let { stopPoints: i, serviceAlteration: a } = n?.serviceJourney || {}, o = this._getRelativeDuration(t, n), s = p(n.departure?.time), u = p(n.arrival?.time), d = i && i[i.length - 1]?.stopStatus === "NOT_SERVICED", f = i && i[i.length - 1]?.stopStatus === "PLANNED", m = i && i[0]?.stopStatus === "NOT_SERVICED", g = r > 0 && t[r - 1].serviceJourney.stopPoints, _ = g && g[g.length - 1]?.stopStatus === "NOT_SERVICED", v = d || m && f ? "sbb-pearl-chain__leg--skipped" : "", y = m || _ ? "sbb-pearl-chain__stop--departure-skipped" : "", b = a?.cancelled || a?.partiallyCancelled ? "sbb-pearl-chain__leg--disruption" : "", x = {
163
+ let { stopPoints: i, serviceAlteration: a } = n?.serviceJourney || {}, o = this._getRelativeDuration(t, n), s = m(n.departure?.time), c = m(n.arrival?.time), d = i && i[i.length - 1]?.stopStatus === "NOT_SERVICED", f = i && i[i.length - 1]?.stopStatus === "PLANNED", p = i && i[0]?.stopStatus === "NOT_SERVICED", g = r > 0 && t[r - 1].serviceJourney.stopPoints, _ = g && g[g.length - 1]?.stopStatus === "NOT_SERVICED", v = d || p && f ? "sbb-pearl-chain__leg--skipped" : "", y = p || _ ? "sbb-pearl-chain__stop--departure-skipped" : "", b = a?.cancelled || a?.partiallyCancelled ? "sbb-pearl-chain__leg--disruption" : "", x = {
168
164
  time: s,
169
165
  delay: n.departure?.delay ?? 0
170
166
  }, S = {
171
- time: u,
167
+ time: c,
172
168
  delay: n.arrival?.delay ?? 0
173
169
  }, C = this._getStatus(e, x, S);
174
- return c` <div
170
+ return l` <div
175
171
  class="sbb-pearl-chain__leg ${!b && !v && "sbb-pearl-chain__leg--" + C || ""} ${b} ${v}"
176
172
  style=${h({
177
173
  "--sbb-pearl-chain-leg-width": `${o}%`,
178
174
  ...C === "progress" && !b && !v ? { "--sbb-pearl-chain-leg-status": `${this._getProgress(e, x, S)}%` } : {}
179
175
  })}
180
176
  >
181
- ${r > 0 && r < t.length ? c`<span class="sbb-pearl-chain__stop ${y}"></span>` : l}
182
- ${C === "progress" && !b && !v ? this._renderPosition(e, x, S) : l}
177
+ ${r > 0 && r < t.length ? l`<span class="sbb-pearl-chain__stop ${y}"></span>` : u}
178
+ ${C === "progress" && !b && !v ? this._renderPosition(e, x, S) : u}
183
179
  </div>`;
184
180
  })}
185
181
  <span
package/pearl-chain.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./pearl-chain.component-CpISVoAu.js";
1
+ import { t as e } from "./pearl-chain.component-BAtmfmpA.js";
2
2
  import "./pearl-chain.pure.js";
3
3
  //#region src/elements-experimental/pearl-chain.ts
4
4
  e.define();
@@ -1,2 +1,2 @@
1
- import { t as e } from "./pearl-chain.component-CpISVoAu.js";
1
+ import { t as e } from "./pearl-chain.component-BAtmfmpA.js";
2
2
  export { e as SbbPearlChainElement };
@@ -1,8 +1,6 @@
1
1
  import { __esDecorate as e, __runInitializers as t } from "tslib";
2
- import { SbbElement as n } from "@sbb-esta/lyne-elements/core/base-elements.js";
3
- import { forceType as r } from "@sbb-esta/lyne-elements/core/decorators.js";
4
- import { isServer as i } from "lit";
5
- import { isArrowKeyOrPageKeysPressed as a } from "@sbb-esta/lyne-elements/core/a11y.js";
2
+ import { SbbElement as n, forceType as r, isArrowKeyOrPageKeysPressed as i } from "@sbb-esta/lyne-elements/core.js";
3
+ import { isServer as a } from "lit";
6
4
  import { eventOptions as ee, property as o, state as s } from "lit/decorators.js";
7
5
  import { mapCoachInfosToCoachSelection as te, mapIconToSvg as c, mapPlaceAndCoachToSeatReservationPlaceSelection as ne, mapPlaceInfosToPlaceSelection as re } from "../common/mapper.js";
8
6
  //#region src/elements-experimental/seat-reservation/seat-reservation/seat-reservation-base-element.ts
@@ -448,7 +446,7 @@ var ie = 3, ae = [
448
446
  this._handleTabKeyNavigation(e, "navigation", t);
449
447
  return;
450
448
  }
451
- a(e) && this.keyboardSeatmapEventHandling(e);
449
+ i(e) && this.keyboardSeatmapEventHandling(e);
452
450
  }
453
451
  _handleTabKeyNavigation(e, t, n) {
454
452
  let r = e.key, i = e.shiftKey;
@@ -462,7 +460,7 @@ var ie = 3, ae = [
462
460
  this._handleTabKeyNavigation(e, "seatmap");
463
461
  return;
464
462
  }
465
- if (this.currSelectedCoachIndex !== -1 && a(e)) switch (e.preventDefault(), r) {
463
+ if (this.currSelectedCoachIndex !== -1 && i(e)) switch (e.preventDefault(), r) {
466
464
  case this.keyboardNavigationEvents.ArrowLeft:
467
465
  {
468
466
  let e = this.alignVertical ? this.keyboardNavigationEvents.ArrowDown : r;
@@ -747,7 +745,7 @@ var ie = 3, ae = [
747
745
  this.currSelectedPlaceElementId = e ? this.getPlaceElementId(this.currSelectedDeckIndex, this.currSelectedCoachIndex, e.number) : null;
748
746
  }
749
747
  _determineBaseFontSize() {
750
- if (!i) {
748
+ if (!a) {
751
749
  let e = 1 / parseInt(window.getComputedStyle(document.body).fontSize, 10);
752
750
  this.style?.setProperty("--sbb-seat-reservation-one-px-rem", `${e + "rem"}`);
753
751
  }
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../seat-reservation.component-DajC6fqU.js";
1
+ import { t as e } from "../../seat-reservation.component-uWai3ks6.js";
2
2
  export { e as SbbSeatReservationElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../seat-reservation-area.component-CtYawDjE.js";
1
+ import { t as e } from "../../seat-reservation-area.component-CVc6uuMG.js";
2
2
  export { e as SbbSeatReservationAreaElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../seat-reservation-graphic.component-Cm_pVxaB.js";
1
+ import { t as e } from "../../seat-reservation-graphic.component-Dzkv9tyR.js";
2
2
  export { e as SbbSeatReservationGraphicElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../seat-reservation-navigation-coach.component-sug9IBTH.js";
1
+ import { t as e } from "../../seat-reservation-navigation-coach.component-CGfmiQJq.js";
2
2
  export { e as SbbSeatReservationNavigationCoachElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../seat-reservation-navigation-services.component-C9dDYD_M.js";
1
+ import { t as e } from "../../seat-reservation-navigation-services.component-DQviLWvy.js";
2
2
  export { e as SbbSeatReservationNavigationServicesElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../seat-reservation-place-control.component-CE7d9M2b.js";
1
+ import { t as e } from "../../seat-reservation-place-control.component-BYJi6aYS.js";
2
2
  export { e as SbbSeatReservationPlaceControlElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../seat-reservation-scoped.component-DVyP2JGE.js";
1
+ import { t as e } from "../../seat-reservation-scoped.component-CdB7HYzl.js";
2
2
  export { e as SbbSeatReservationScopedElement };
@@ -1,7 +1,5 @@
1
1
  import { __esDecorate as e, __runInitializers as t } from "tslib";
2
- import { SbbElement as n } from "@sbb-esta/lyne-elements/core/base-elements.js";
3
- import { forceType as r } from "@sbb-esta/lyne-elements/core/decorators.js";
4
- import { boxSizingStyles as i } from "@sbb-esta/lyne-elements/core/styles.js";
2
+ import { SbbElement as n, boxSizingStyles as r, forceType as i } from "@sbb-esta/lyne-elements/core.js";
5
3
  import { html as a, unsafeCSS as o } from "lit";
6
4
  import { property as s } from "lit/decorators.js";
7
5
  //#region src/elements-experimental/seat-reservation/seat-reservation-area/seat-reservation-area.scss?inline
@@ -10,7 +8,7 @@ var c = ":host{--sbb-seat-reservation-area-border-radius: var(--sbb-border-width
10
8
  return class extends l {
11
9
  static {
12
10
  let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(l[Symbol.metadata] ?? null) : void 0;
13
- u = [r(), s({ reflect: !0 })], p = [r(), s({ reflect: !0 })], e(this, null, u, {
11
+ u = [i(), s({ reflect: !0 })], p = [i(), s({ reflect: !0 })], e(this, null, u, {
14
12
  kind: "accessor",
15
13
  name: "mounting",
16
14
  static: !1,
@@ -47,7 +45,7 @@ var c = ":host{--sbb-seat-reservation-area-border-radius: var(--sbb-border-width
47
45
  this.elementName = "sbb-seat-reservation-area";
48
46
  }
49
47
  static {
50
- this.styles = [i, o(c)];
48
+ this.styles = [r, o(c)];
51
49
  }
52
50
  #e = t(this, d, "free");
53
51
  get mounting() {