@swisspost/internet-header 1.13.9 → 1.13.10

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 (194) hide show
  1. package/dist/cjs/index-e9ddb87b.js +1386 -0
  2. package/dist/cjs/index.cjs.js +15 -15
  3. package/dist/cjs/{language.service-1ba2d907.js → language.service-8320b331.js} +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{post-internet-breadcrumbs-36dd7ad1.js → post-internet-breadcrumbs-09c2485b.js} +26 -11
  6. package/dist/cjs/{post-internet-footer-c3711354.js → post-internet-footer-8c6e2179.js} +5 -5
  7. package/dist/cjs/{post-internet-header-6fc87361.js → post-internet-header-d7fbc29b.js} +20 -19
  8. package/dist/cjs/post-klp-login-widget-59fa70e2.js +62 -0
  9. package/dist/cjs/post-klp-login-widget.cjs.entry.js +5 -5
  10. package/dist/cjs/{post-language-switch-9282e5ec.js → post-language-switch-8b73236a.js} +5 -5
  11. package/dist/cjs/post-language-switch.cjs.entry.js +6 -6
  12. package/dist/cjs/{post-logo-124f61b6.js → post-logo-5ebbdc72.js} +2 -2
  13. package/dist/cjs/post-logo.cjs.entry.js +3 -3
  14. package/dist/cjs/{post-main-navigation-24a6e416.js → post-main-navigation-ce12e638.js} +5 -5
  15. package/dist/cjs/post-main-navigation.cjs.entry.js +6 -6
  16. package/dist/cjs/{post-meta-navigation-51fdeb3c.js → post-meta-navigation-0216753f.js} +2 -2
  17. package/dist/cjs/post-meta-navigation.cjs.entry.js +3 -3
  18. package/dist/cjs/{post-search-eebfe5dc.js → post-search-8cdb662e.js} +5 -5
  19. package/dist/cjs/post-search.cjs.entry.js +6 -6
  20. package/dist/cjs/{post-skiplinks-a31d3236.js → post-skiplinks-29c1973b.js} +4 -4
  21. package/dist/cjs/post-skiplinks.cjs.entry.js +5 -5
  22. package/dist/cjs/{store-e62cce76.js → store-aac36a39.js} +1 -1
  23. package/dist/cjs/{svg-icon.component-7e7dd749.js → svg-icon.component-c5427667.js} +1 -1
  24. package/dist/cjs/{svg-sprite.component-b9a5abc4.js → svg-sprite.component-34a4da43.js} +1 -1
  25. package/dist/cjs/swisspost-internet-breadcrumbs.cjs.entry.js +6 -6
  26. package/dist/cjs/swisspost-internet-footer.cjs.entry.js +5 -5
  27. package/dist/cjs/swisspost-internet-header.cjs.entry.js +6 -6
  28. package/dist/cjs/swisspost-internet-header.cjs.js +9 -9
  29. package/dist/collection/collection-manifest.json +2 -2
  30. package/dist/collection/components/post-internet-breadcrumbs/post-internet-breadcrumbs.css +2 -2
  31. package/dist/collection/components/post-internet-footer/post-internet-footer.css +1 -1
  32. package/dist/collection/components/post-klp-login-widget/post-klp-login-widget.css +2 -2
  33. package/dist/collection/models/geocode.model.js +8 -9
  34. package/dist/components/post-klp-login-widget2.js +1 -1
  35. package/dist/components/swisspost-internet-breadcrumbs.js +21 -6
  36. package/dist/components/swisspost-internet-footer.js +1 -1
  37. package/dist/components/swisspost-internet-header.js +15 -14
  38. package/dist/docs.d.ts +34 -0
  39. package/dist/docs.json +10 -4
  40. package/dist/esm/index-9deab2c6.js +1355 -0
  41. package/dist/esm/index.js +15 -15
  42. package/dist/esm/{language.service-425cd2ca.js → language.service-e186d7dd.js} +1 -1
  43. package/dist/esm/loader.js +2 -2
  44. package/dist/esm/{post-internet-breadcrumbs-45087e15.js → post-internet-breadcrumbs-7ae97585.js} +26 -11
  45. package/dist/esm/{post-internet-footer-e940b2bf.js → post-internet-footer-c9b6481e.js} +5 -5
  46. package/dist/esm/{post-internet-header-4bee6977.js → post-internet-header-f7d3d57b.js} +20 -19
  47. package/dist/esm/post-klp-login-widget-f138e519.js +60 -0
  48. package/dist/esm/post-klp-login-widget.entry.js +5 -5
  49. package/dist/esm/{post-language-switch-3440a152.js → post-language-switch-313a6a5c.js} +5 -5
  50. package/dist/esm/post-language-switch.entry.js +6 -6
  51. package/dist/esm/{post-logo-b80d550b.js → post-logo-1e5668dc.js} +2 -2
  52. package/dist/esm/post-logo.entry.js +3 -3
  53. package/dist/esm/{post-main-navigation-b254f9b1.js → post-main-navigation-45e3060f.js} +5 -5
  54. package/dist/esm/post-main-navigation.entry.js +6 -6
  55. package/dist/esm/{post-meta-navigation-7fb43f8f.js → post-meta-navigation-01dc595f.js} +2 -2
  56. package/dist/esm/post-meta-navigation.entry.js +3 -3
  57. package/dist/esm/{post-search-98e24f9e.js → post-search-3a9f21c4.js} +5 -5
  58. package/dist/esm/post-search.entry.js +6 -6
  59. package/dist/esm/{post-skiplinks-a5112fd4.js → post-skiplinks-b6f29605.js} +4 -4
  60. package/dist/esm/post-skiplinks.entry.js +5 -5
  61. package/dist/esm/{store-0e10b256.js → store-29728e96.js} +1 -1
  62. package/dist/esm/{svg-icon.component-2da93f91.js → svg-icon.component-58139665.js} +1 -1
  63. package/dist/esm/{svg-sprite.component-32e5bd09.js → svg-sprite.component-f4f3f81e.js} +1 -1
  64. package/dist/esm/swisspost-internet-breadcrumbs.entry.js +6 -6
  65. package/dist/esm/swisspost-internet-footer.entry.js +5 -5
  66. package/dist/esm/swisspost-internet-header.entry.js +6 -6
  67. package/dist/esm/swisspost-internet-header.js +10 -10
  68. package/dist/esm-es5/index-9deab2c6.js +1 -0
  69. package/dist/esm-es5/index.js +1 -1
  70. package/dist/esm-es5/{language.service-425cd2ca.js → language.service-e186d7dd.js} +1 -1
  71. package/dist/esm-es5/loader.js +1 -1
  72. package/dist/esm-es5/post-internet-breadcrumbs-7ae97585.js +6 -0
  73. package/dist/esm-es5/{post-internet-footer-e940b2bf.js → post-internet-footer-c9b6481e.js} +1 -1
  74. package/dist/esm-es5/post-internet-header-f7d3d57b.js +1 -0
  75. package/dist/esm-es5/post-klp-login-widget-f138e519.js +1 -0
  76. package/dist/esm-es5/post-klp-login-widget.entry.js +1 -1
  77. package/dist/esm-es5/{post-language-switch-3440a152.js → post-language-switch-313a6a5c.js} +1 -1
  78. package/dist/esm-es5/post-language-switch.entry.js +1 -1
  79. package/dist/esm-es5/{post-logo-b80d550b.js → post-logo-1e5668dc.js} +1 -1
  80. package/dist/esm-es5/post-logo.entry.js +1 -1
  81. package/dist/esm-es5/{post-main-navigation-b254f9b1.js → post-main-navigation-45e3060f.js} +1 -1
  82. package/dist/esm-es5/post-main-navigation.entry.js +1 -1
  83. package/dist/esm-es5/{post-meta-navigation-7fb43f8f.js → post-meta-navigation-01dc595f.js} +1 -1
  84. package/dist/esm-es5/post-meta-navigation.entry.js +1 -1
  85. package/dist/esm-es5/{post-search-98e24f9e.js → post-search-3a9f21c4.js} +1 -1
  86. package/dist/esm-es5/post-search.entry.js +1 -1
  87. package/dist/esm-es5/{post-skiplinks-a5112fd4.js → post-skiplinks-b6f29605.js} +1 -1
  88. package/dist/esm-es5/post-skiplinks.entry.js +1 -1
  89. package/dist/esm-es5/{store-0e10b256.js → store-29728e96.js} +1 -1
  90. package/dist/esm-es5/svg-icon.component-58139665.js +1 -0
  91. package/dist/esm-es5/{svg-sprite.component-32e5bd09.js → svg-sprite.component-f4f3f81e.js} +1 -1
  92. package/dist/esm-es5/swisspost-internet-breadcrumbs.entry.js +1 -1
  93. package/dist/esm-es5/swisspost-internet-footer.entry.js +1 -1
  94. package/dist/esm-es5/swisspost-internet-header.entry.js +1 -1
  95. package/dist/esm-es5/swisspost-internet-header.js +1 -1
  96. package/dist/swisspost-internet-header/index.esm.js +1 -1
  97. package/dist/swisspost-internet-header/p-033f4fbe.entry.js +1 -0
  98. package/dist/swisspost-internet-header/p-057f32b6.js +1 -0
  99. package/dist/swisspost-internet-header/{p-c91906c2.system.js → p-079867d3.system.js} +1 -1
  100. package/dist/swisspost-internet-header/{p-ed8dd33a.system.js → p-116b8ff0.system.js} +1 -1
  101. package/dist/swisspost-internet-header/p-17c754f2.entry.js +1 -0
  102. package/dist/swisspost-internet-header/p-1b37bb14.js +2 -0
  103. package/dist/swisspost-internet-header/p-24f83792.entry.js +1 -0
  104. package/dist/swisspost-internet-header/{p-3f85bd97.system.js → p-2afa4d26.system.js} +1 -1
  105. package/dist/swisspost-internet-header/{p-6546eb29.system.js → p-2dcaaac5.system.js} +1 -1
  106. package/dist/swisspost-internet-header/{p-abfccb28.js → p-2e00bab4.js} +1 -1
  107. package/dist/swisspost-internet-header/{p-c3820920.js → p-3457f6d9.js} +1 -1
  108. package/dist/swisspost-internet-header/{p-9778e91c.js → p-35a9d4ae.js} +1 -1
  109. package/dist/swisspost-internet-header/p-3b1ccdab.entry.js +1 -0
  110. package/dist/swisspost-internet-header/p-40b1e640.entry.js +1 -0
  111. package/dist/swisspost-internet-header/p-455e3b4e.entry.js +1 -0
  112. package/dist/swisspost-internet-header/p-4d9ca96c.system.entry.js +1 -0
  113. package/dist/swisspost-internet-header/{p-d45f6743.system.js → p-4eea8bcd.system.js} +1 -1
  114. package/dist/swisspost-internet-header/p-52ab2e14.system.entry.js +1 -0
  115. package/dist/swisspost-internet-header/p-6262f647.entry.js +1 -0
  116. package/dist/swisspost-internet-header/p-65ba132d.entry.js +1 -0
  117. package/dist/swisspost-internet-header/{p-230c1106.js → p-678019cb.js} +1 -1
  118. package/dist/swisspost-internet-header/p-6a8338b7.system.entry.js +1 -0
  119. package/dist/swisspost-internet-header/{p-ab397a05.js → p-6ec4bb44.js} +1 -1
  120. package/dist/swisspost-internet-header/p-70bd4f89.system.entry.js +1 -0
  121. package/dist/swisspost-internet-header/p-71b946fc.system.entry.js +1 -0
  122. package/dist/swisspost-internet-header/{p-278335ef.js → p-72d70641.js} +1 -1
  123. package/dist/swisspost-internet-header/{p-46d1cd6a.system.js → p-752d6e46.system.js} +1 -1
  124. package/dist/swisspost-internet-header/p-760b8d08.system.entry.js +1 -0
  125. package/dist/swisspost-internet-header/p-786a288d.system.entry.js +1 -0
  126. package/dist/swisspost-internet-header/{p-803f2059.system.js → p-7a585242.system.js} +1 -1
  127. package/dist/swisspost-internet-header/{p-24716e3e.system.js → p-7bd55d1d.system.js} +1 -1
  128. package/dist/swisspost-internet-header/{p-647068ef.js → p-85813a11.js} +1 -1
  129. package/dist/swisspost-internet-header/p-863de8cb.js +1 -0
  130. package/dist/swisspost-internet-header/p-8983c9bd.system.entry.js +1 -0
  131. package/dist/swisspost-internet-header/p-8b4c6f7c.system.js +2 -0
  132. package/dist/swisspost-internet-header/{p-df445572.js → p-94ddd446.js} +1 -1
  133. package/dist/swisspost-internet-header/p-a4afbf29.system.js +1 -0
  134. package/dist/swisspost-internet-header/{p-4ee08eaa.system.js → p-a881c817.system.js} +1 -1
  135. package/dist/swisspost-internet-header/p-adbbadae.entry.js +1 -0
  136. package/dist/swisspost-internet-header/{p-868ddbb4.system.js → p-b9a4af9f.system.js} +1 -1
  137. package/dist/swisspost-internet-header/p-bde95a71.system.js +1 -0
  138. package/dist/swisspost-internet-header/{p-5c7e1fc6.system.js → p-d0793471.system.js} +1 -1
  139. package/dist/swisspost-internet-header/p-d11efd7d.system.js +6 -0
  140. package/dist/swisspost-internet-header/p-d7a9b5b7.js +1 -0
  141. package/dist/swisspost-internet-header/{p-34ced778.js → p-d7b3988c.js} +1 -1
  142. package/dist/swisspost-internet-header/{p-92c6988b.system.js → p-de3a8e62.system.js} +1 -1
  143. package/dist/swisspost-internet-header/{p-cd91153b.js → p-dfd42dc7.js} +1 -1
  144. package/dist/swisspost-internet-header/p-e04d5ef8.js +6 -0
  145. package/dist/swisspost-internet-header/p-e67e39f8.entry.js +1 -0
  146. package/dist/swisspost-internet-header/p-e6b441a6.system.entry.js +1 -0
  147. package/dist/swisspost-internet-header/p-eb8959b3.system.entry.js +1 -0
  148. package/dist/swisspost-internet-header/{p-e61108a5.system.js → p-f1bca231.system.js} +1 -1
  149. package/dist/swisspost-internet-header/swisspost-internet-header.css +1 -1
  150. package/dist/swisspost-internet-header/swisspost-internet-header.esm.js +1 -1
  151. package/dist/swisspost-internet-header/swisspost-internet-header.js +1 -1
  152. package/dist/types/components/post-internet-breadcrumbs/components/breadcrumb-list.component.d.ts +4 -4
  153. package/dist/types/components/post-internet-breadcrumbs/components/middle-dropdown.component.d.ts +1 -1
  154. package/dist/types/components/post-internet-breadcrumbs/components/overlay.component.d.ts +1 -1
  155. package/dist/types/models/geocode.model.d.ts +9 -8
  156. package/package.json +15 -14
  157. package/dist/cjs/index-ec3e0fb6.js +0 -2112
  158. package/dist/cjs/post-klp-login-widget-dddaac99.js +0 -62
  159. package/dist/esm/index-8f83dd96.js +0 -2081
  160. package/dist/esm/post-klp-login-widget-5d9d3bd7.js +0 -60
  161. package/dist/esm-es5/index-8f83dd96.js +0 -1
  162. package/dist/esm-es5/post-internet-breadcrumbs-45087e15.js +0 -6
  163. package/dist/esm-es5/post-internet-header-4bee6977.js +0 -1
  164. package/dist/esm-es5/post-klp-login-widget-5d9d3bd7.js +0 -1
  165. package/dist/esm-es5/svg-icon.component-2da93f91.js +0 -1
  166. package/dist/swisspost-internet-header/p-209c4305.js +0 -1
  167. package/dist/swisspost-internet-header/p-318480a5.system.js +0 -2
  168. package/dist/swisspost-internet-header/p-5894dffb.system.entry.js +0 -1
  169. package/dist/swisspost-internet-header/p-64c41eb5.entry.js +0 -1
  170. package/dist/swisspost-internet-header/p-7b84213a.js +0 -2
  171. package/dist/swisspost-internet-header/p-7c69c95b.js +0 -1
  172. package/dist/swisspost-internet-header/p-7ceffd9b.entry.js +0 -1
  173. package/dist/swisspost-internet-header/p-8acbe0b7.entry.js +0 -1
  174. package/dist/swisspost-internet-header/p-93e68ed0.entry.js +0 -1
  175. package/dist/swisspost-internet-header/p-98862456.system.entry.js +0 -1
  176. package/dist/swisspost-internet-header/p-a6e6fce3.system.js +0 -6
  177. package/dist/swisspost-internet-header/p-ab574690.system.entry.js +0 -1
  178. package/dist/swisspost-internet-header/p-afb35fa6.entry.js +0 -1
  179. package/dist/swisspost-internet-header/p-b132b005.system.entry.js +0 -1
  180. package/dist/swisspost-internet-header/p-b16677fe.entry.js +0 -1
  181. package/dist/swisspost-internet-header/p-b430e01a.entry.js +0 -1
  182. package/dist/swisspost-internet-header/p-c2a1240c.system.entry.js +0 -1
  183. package/dist/swisspost-internet-header/p-c8369622.system.entry.js +0 -1
  184. package/dist/swisspost-internet-header/p-c9494d22.system.entry.js +0 -1
  185. package/dist/swisspost-internet-header/p-cbba2d36.entry.js +0 -1
  186. package/dist/swisspost-internet-header/p-dbca5bb7.system.entry.js +0 -1
  187. package/dist/swisspost-internet-header/p-dc6fa698.entry.js +0 -1
  188. package/dist/swisspost-internet-header/p-e1eb613a.js +0 -1
  189. package/dist/swisspost-internet-header/p-e6d86dca.system.entry.js +0 -1
  190. package/dist/swisspost-internet-header/p-e8ba747c.system.js +0 -1
  191. package/dist/swisspost-internet-header/p-eb3feb7e.system.entry.js +0 -1
  192. package/dist/swisspost-internet-header/p-f2eabbd4.system.js +0 -1
  193. package/dist/swisspost-internet-header/p-f54c12d8.entry.js +0 -1
  194. package/dist/swisspost-internet-header/p-fa570bf7.js +0 -6
@@ -1 +1 @@
1
- import{r as t,h as o,H as e,g as i}from"./p-7b84213a.js";import{s as r}from"./p-9778e91c.js";const n=class{constructor(o){t(this,o)}render(){var t;if(void 0===(null===(t=r.localizedConfig)||void 0===t?void 0:t.header.logo))return;const i=r.localizedConfig.header.logo;return o(e,null,o("a",{href:i.logoLink,class:"logo"},o("span",{class:"visually-hidden"},i.logoLinkTitle),o("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72","aria-hidden":"true"},o("g",{id:"Logo"},o("rect",{fill:"#ffcc00",x:"0",y:"0",width:"72",height:"72"}),o("polygon",{fill:"#ff0000",points:"34,32.3 34,19 19.7,19 19.7,29.1 10,29.1 10,42.9 19.7,42.9 19.7,53 34,53 34,39.7 30.6,39.7 30.6,49.8 23.1,49.8 23.1,39.7 13.4,39.7 13.4,32.3 23.1,32.3 23.1,22.2 30.6,22.2 30.6,32.3"}),o("path",{d:"M53.56234,31.10526c0,2.41272-1.99154,4.29475-4.51723,4.29475H45.2v-8.3h3.84511C51.66802,27.1,53.56234,28.78889,53.56234,31.10526z M50.69666,19H36v34h9.2V42.9h5.49666c6.75131,0,11.9971-5.15137,11.9971-11.8057C62.69376,24.39136,57.35099,19,50.69666,19z"})))))}get host(){return i(this)}};n.style='@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff") format("woff")}.visually-hidden{position:absolute;width:1px;height:1px;border:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0)}.btn-blank{background-color:rgba(0,0,0,0);border:none;border-radius:0;padding:0}.nav-link{outline:none;outline-offset:2px;text-decoration:none;color:rgba(0,0,0,.8);-webkit-transition:color 200ms;transition:color 200ms;background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;border:0;margin:0;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:.5rem}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.nav-link:hover,.nav-link:focus{color:#000}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){z-index:1;position:relative}.nav-link>svg{width:1.4em;height:1.4em;-ms-flex-negative:0;flex-shrink:0}.nav-link>span{-ms-flex-negative:1;flex-shrink:1}.no-list{list-style:none;padding-left:0;margin-top:0;margin-bottom:0}*,:host,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{font-family:"Frutiger Neue For Post",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}button{font:inherit;padding:0}a,button{border-radius:4px;outline:none;outline-offset:2px}a:is(:focus-visible,:focus-within,.pretend-focus),button:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color);border-radius:4px}img,svg{max-width:100%;max-height:100%}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){svg{color:currentColor;forced-color-adjust:preserve-parent-color}}.box>*:first-child{margin-top:0}.box>*:last-child{margin-bottom:0}.mirrored{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.bold{font-weight:700}.light{font-weight:300}.d-none{display:none !important}.d-flex{display:-ms-flexbox;display:flex}.d-inline-flex{display:-ms-inline-flexbox;display:inline-flex}.align-items-center{-ms-flex-align:center;align-items:center}@media (min-width: 1441px){.wide-container{margin:0 auto;max-width:1440px}}@media (max-width: 599.98px){.container{padding-right:16px;padding-left:16px}}@media (min-width: 600px)and (max-width: 1023.98px){.container{padding-right:32px;padding-left:32px}}@media (min-width: 1024px){.container{padding-right:40px;padding-left:40px}}@media (max-width: -0.02px){.hidden-xs{display:none}}@media (max-width: 399.98px){.hidden-sm{display:none}}@media (max-width: 599.98px){.hidden-rg{display:none}}@media (max-width: 779.98px){.hidden-md{display:none}}@media (max-width: 1023.98px){.hidden-lg{display:none}}@media (max-width: 1279.98px){.hidden-xl{display:none}}@media (max-width: 1439.98px){.hidden-xxl{display:none}}:host{display:block}.logo{display:block;-ms-flex-align:center;align-items:center;background:#fc0}.logo svg{display:block;width:100%;height:100%}';export{n as P}
1
+ import{r as t,h as o,H as e,g as i}from"./p-1b37bb14.js";import{s as r}from"./p-35a9d4ae.js";const n=class{constructor(o){t(this,o)}render(){var t;if(void 0===(null===(t=r.localizedConfig)||void 0===t?void 0:t.header.logo))return;const i=r.localizedConfig.header.logo;return o(e,null,o("a",{href:i.logoLink,class:"logo"},o("span",{class:"visually-hidden"},i.logoLinkTitle),o("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72","aria-hidden":"true"},o("g",{id:"Logo"},o("rect",{fill:"#ffcc00",x:"0",y:"0",width:"72",height:"72"}),o("polygon",{fill:"#ff0000",points:"34,32.3 34,19 19.7,19 19.7,29.1 10,29.1 10,42.9 19.7,42.9 19.7,53 34,53 34,39.7 30.6,39.7 30.6,49.8 23.1,49.8 23.1,39.7 13.4,39.7 13.4,32.3 23.1,32.3 23.1,22.2 30.6,22.2 30.6,32.3"}),o("path",{d:"M53.56234,31.10526c0,2.41272-1.99154,4.29475-4.51723,4.29475H45.2v-8.3h3.84511C51.66802,27.1,53.56234,28.78889,53.56234,31.10526z M50.69666,19H36v34h9.2V42.9h5.49666c6.75131,0,11.9971-5.15137,11.9971-11.8057C62.69376,24.39136,57.35099,19,50.69666,19z"})))))}get host(){return i(this)}};n.style='@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff") format("woff")}.visually-hidden{position:absolute;width:1px;height:1px;border:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0)}.btn-blank{background-color:rgba(0,0,0,0);border:none;border-radius:0;padding:0}.nav-link{outline:none;outline-offset:2px;text-decoration:none;color:rgba(0,0,0,.8);-webkit-transition:color 200ms;transition:color 200ms;background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;border:0;margin:0;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:.5rem}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.nav-link:hover,.nav-link:focus{color:#000}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){z-index:1;position:relative}.nav-link>svg{width:1.4em;height:1.4em;-ms-flex-negative:0;flex-shrink:0}.nav-link>span{-ms-flex-negative:1;flex-shrink:1}.no-list{list-style:none;padding-left:0;margin-top:0;margin-bottom:0}*,:host,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{font-family:"Frutiger Neue For Post",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}button{font:inherit;padding:0}a,button{border-radius:4px;outline:none;outline-offset:2px}a:is(:focus-visible,:focus-within,.pretend-focus),button:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color);border-radius:4px}img,svg{max-width:100%;max-height:100%}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){svg{color:currentColor;forced-color-adjust:preserve-parent-color}}.box>*:first-child{margin-top:0}.box>*:last-child{margin-bottom:0}.mirrored{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.bold{font-weight:700}.light{font-weight:300}.d-none{display:none !important}.d-flex{display:-ms-flexbox;display:flex}.d-inline-flex{display:-ms-inline-flexbox;display:inline-flex}.align-items-center{-ms-flex-align:center;align-items:center}@media (min-width: 1441px){.wide-container{margin:0 auto;max-width:1440px}}@media (max-width: 599.98px){.container{padding-right:16px;padding-left:16px}}@media (min-width: 600px)and (max-width: 1023.98px){.container{padding-right:32px;padding-left:32px}}@media (min-width: 1024px){.container{padding-right:40px;padding-left:40px}}@media (max-width: -0.02px){.hidden-xs{display:none}}@media (max-width: 399.98px){.hidden-sm{display:none}}@media (max-width: 599.98px){.hidden-rg{display:none}}@media (max-width: 779.98px){.hidden-md{display:none}}@media (max-width: 1023.98px){.hidden-lg{display:none}}@media (max-width: 1279.98px){.hidden-xl{display:none}}@media (max-width: 1439.98px){.hidden-xxl{display:none}}:host{display:block}.logo{display:block;-ms-flex-align:center;align-items:center;background:#fc0}.logo svg{display:block;width:100%;height:100%}';export{n as P}
@@ -1 +1 @@
1
- import{r as t,c as e,h as o,H as i,g as n}from"./p-7b84213a.js";import{d as s,t as r}from"./p-a74b380d.js";import{g as a,p as l,t as h}from"./p-647068ef.js";import{u as d}from"./p-a39139a9.js";import{s as c,d as g}from"./p-9778e91c.js";import{S as p}from"./p-34ced778.js";import{S as f}from"./p-209c4305.js";import{I as u}from"./p-840aa5c6.js";function m(t,e,o,i){let n=i;return e>0&&(e===1/0&&(n=!0),t.push(o)),n}const b=(t,e,o)=>{if(null===t||null===e||t.origin!==e.origin)return 0;const i=t.pathname.toLocaleLowerCase(),n=e.pathname.toLocaleLowerCase();if(i===n)return 1/0;if(t.pathname.length<e.pathname.length)return 0;if("auto"===o){const o=[t.origin.toLocaleLowerCase(),...i.split("/").filter((t=>null!==t&&""!==t))],s=[e.origin.toLocaleLowerCase(),...n.split("/").filter((t=>null!==t&&""!==t))],r=v(o,s);return Math.min(o.length,s.length)===r?r:0}return 0},v=(t,e)=>{if(null==t||null==e||0===t.length||0===e.length)return 0;let o=0;for(;o<Math.min(t.length,e.length);o++)if(t[o]!==e[o])return 0;return o};let w=null,y=null;const x=async({projectId:t,environment:e,language:o,cookieKey:i,localStorageKey:n,activeRouteProp:s,localizedCustomConfig:r,osFlyoutOverrides:h})=>{var d,c;const g=(()=>{const t=document.querySelector("#PPM_HEADER_DATA");return null!=(null==t?void 0:t.textContent)?JSON.parse(t.textContent):null})();let p,f,u=null;if(g)p=g,f=document.documentElement.lang;else{if(null==w&&(w=O(t,e)),u=await w,f=a(Object.keys(u),o,n,i),void 0===f)throw new Error("Internet Header: unable to determine current language");p=Object.assign({},u[f])}if(r){const t=(null===(d=null==r?void 0:r.header)||void 0===d?void 0:d.navMain)?Object.assign(Object.assign({},p.header),{navMain:[...p.header.navMain,...r.header.navMain]}):p.header;p=Object.assign(Object.assign({},p),{header:t})}return h&&(p.header.navMain=k(p,h)),null!=s&&(p.header.navMain=((t,e)=>{if(!1===e)return t;let o;if(t=(t=>t.map((t=>Object.assign(Object.assign({},t),{isActiveOverride:!1,flyout:t.flyout.map((t=>Object.assign(Object.assign({},t),{linkList:t.linkList.map((t=>Object.assign(Object.assign({},t),{isActiveOverride:!1})))})))}))))(t),"auto"===e||"exact"===e){if((t=>t.filter((t=>t.isActive)).length>0)(t))return(t=>t.map((t=>Object.assign(Object.assign({},t),{isActiveOverride:t.isActive,flyout:t.flyout.map((t=>Object.assign(Object.assign({},t),{linkList:t.linkList.map((t=>Object.assign(Object.assign({},t),{isActiveOverride:t.isActive})))})))}))))(t);o=new URL(window.location.href)}else try{o=new URL(e,document.location.origin)}catch(o){return console.warn(`Active Route: ${e} is not a valid URL. Navigation highlighting has been disabled.`),t}const i=((t,e,o)=>{let i=!1;const n=[];return t.filter((t=>!i&&t)).forEach((t=>{try{const s=b(e,new URL(t.url),o);i=m(n,s,{main:t,score:s},i)}catch(t){}t.flyout.forEach((s=>{var r;null===(r=s.linkList)||void 0===r||r.forEach((s=>{if(!s.isActive||"auto"!==o&&"exact"!==o)try{const r=new URL(s.url),a=b(e,r,o);i=m(n,a,{main:t,sub:s,score:a},i)}catch(t){}else i=!0}))}))})),n.sort(((t,e)=>e.score-t.score))})(t,o,e);if(0===i.length)return t;const n=i[0];return n.main.isActiveOverride=!0,n.sub&&(n.sub.isActiveOverride=!0),t})(p.header.navMain,s)),N(null===(c=null==p?void 0:p.header)||void 0===c?void 0:c.navMain),l(f,i,n),p},k=(t,e)=>null==e?t.header.navMain:t.header.navMain.map((t=>{var o,i;if("flyout_os"!==t.id)return t;null===y&&(y=JSON.parse(JSON.stringify(t)));const n=null!==(o=e.text)&&void 0!==o?o:y.text,s=null!==(i=e.title)&&void 0!==i?i:y.title;if(null==y.flyout||0===y.flyout.length||null==e.flyout||0===e.flyout.length)return Object.assign(Object.assign({},t),{title:s,text:n});const r=[...y.flyout.map(((t,o)=>{var i;const n=e.flyout[o];return{title:null!==(i=n.title)&&void 0!==i?i:t.title,linkList:[...t.linkList,...null!=n.linkList?e.flyout[o].linkList:[]]}})),...e.flyout.slice(y.flyout.length)];return Object.assign(Object.assign({},t),{text:n,title:s,flyout:r})})),O=async(t,e)=>{if(!j(t))throw new Error(`Internet Header: invalid project id "${t}"`);"test"===t&&(e="int01");let o=C(t,e);try{const t=await fetch(o);return await t.json()}catch(t){throw new Error(`Internet Header: fetching config failed. ${t.message}`)}},C=(t,e)=>{if("test"===t)return"assets/config/test-configuration.json";const o=e.toLowerCase(),i="prod"===o,n=`https://${i?"www":"int"}.post.ch`;try{return new URL(`${n}/api/headerjs/Json?serviceid=${encodeURIComponent(t)}${i?"":"&environment="+o}`).toString()}catch(t){throw new Error("Internet Header: Config URL is invalid.")}},j=t=>""!==t&&t.length>0&&/^[a-zA-Z][\w-]*[a-zA-Z0-9]$/.test(t),F=(t,e)=>{var o;let i;try{i="string"==typeof t?JSON.parse(t):t}catch(t){throw new Error("Internet Header: Custom config is invalid. Make sure your custom config contains valid JSON syntax and matches the definition. ")}let n=i[e];return(null===(o=null==n?void 0:n.header)||void 0===o?void 0:o.navMain)&&N(n.header.navMain),n},N=t=>{t.forEach((t=>{t.id="flyout_os"===t.id?t.id:d("main-nav-")}))},S=t=>{if(!(t instanceof HTMLElement||t instanceof SVGElement))return!1;const e=getComputedStyle(t);return["overflow","overflow-x","overflow-y"].some((t=>{const o=e.getPropertyValue(t);return"auto"===o||"scroll"===o}))},P=t=>{let e=t.parentElement;for(;e;){if("BODY"===e.nodeName)return document;if(S(e))return e;e=e.parentElement}return document},I=(t,e)=>{const o=P(t),i=o instanceof Element?o.scrollTop:o.documentElement.scrollTop,n="full"===c.stickyness?0:i;let s,r;if(e)s=t.clientHeight-1,r=e.clientHeight;else{const e=window.getComputedStyle(t),o=parseFloat(e.getPropertyValue("font-size"));r=parseFloat(e.getPropertyValue("--meta-header-height"))*o,s=r+parseFloat(e.getPropertyValue("--header-height"))*o}let a=1;return r>0&&(a=Math.max((s-Math.max(n,0))/(s-r),1)),a.toString()},L=class{async getCurrentLanguage(){var t;return null!==(t=c.currentLanguage)&&void 0!==t?t:"de"}constructor(o){if(t(this,o),this.headerLoaded=e(this,"headerLoaded",7),this.lastScrollTop=window.scrollY||document.documentElement.scrollTop,this.lastWindowWidth=window.innerWidth,this.handleClickOutsideBound=this.handleClickOutside.bind(this),this.project=void 0,this.stickyness="minimal",this.language=void 0,this.meta=!0,this.login=!0,this.search=!0,this.skiplinks=!0,this.configProxy=void 0,this.environment="prod",this.languageSwitchOverrides=void 0,this.customConfig=void 0,this.languageCookieKey=void 0,this.languageLocalStorageKey="swisspost-internet-header-language",this.logoutUrl=void 0,this.activeRoute="auto",this.osFlyoutOverrides=void 0,this.fullWidth=!1,this.activeFlyout=null,this.activeDropdownElement=null,this.isMainSlotEmpty=!0,void 0===this.project||""===this.project||!j(this.project))throw new Error(`Internet Header project key is "${this.project}". Please provide a valid project key.`)}connectedCallback(){this.throttledScroll=r(300,(()=>this.handleScrollEvent())),this.debouncedResize=s(200,(()=>this.handleResize()))}disconnectedCallback(){this.scrollParent.removeEventListener("scroll",this.throttledScroll),this.scrollParent.removeEventListener("resize",this.debouncedResize),g()}async componentWillLoad(){this.scrollParent=P(this.host),this.scrollParent.addEventListener("scroll",this.throttledScroll,{passive:!0}),this.scrollParent.addEventListener("resize",this.debouncedResize,{passive:!0});try{if(c.projectId=this.project,c.stickyness=this.stickyness,c.environment=this.environment.toLocaleLowerCase(),void 0!==this.language&&(c.currentLanguage=this.language),c.languageSwitchOverrides="string"==typeof this.languageSwitchOverrides?JSON.parse(this.languageSwitchOverrides):this.languageSwitchOverrides,c.osFlyoutOverrides="string"==typeof this.osFlyoutOverrides?JSON.parse(this.osFlyoutOverrides):this.osFlyoutOverrides,void 0!==this.customConfig){const t=Object.keys("string"==typeof this.customConfig?JSON.parse(this.customConfig):this.customConfig),e=c.currentLanguage||a(t,this.language);c.localizedCustomConfig=F(this.customConfig,e)}c.localizedConfig=await x({projectId:this.project,environment:c.environment,language:this.language,cookieKey:this.languageCookieKey,localStorageKey:this.languageLocalStorageKey,activeRouteProp:this.activeRoute,localizedCustomConfig:c.localizedCustomConfig,osFlyoutOverrides:c.osFlyoutOverrides})}catch(t){console.error(t)}}componentDidLoad(){window.requestAnimationFrame((()=>{this.handleResize(),this.headerLoaded.emit(),this.host.classList.add("header-loaded"),this.meta&&this.metaNav&&(this.updateLogoAnimation=((t,e)=>{const o=P(e),i=()=>{e.style.setProperty("--logo-scale",I(e,t))},n=s(150,i);return new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&t.intersectionRatio>0?(o.addEventListener("scroll",i,{passive:!0}),window.addEventListener("resize",n),window.requestAnimationFrame(i)):(o.removeEventListener("scroll",i),window.removeEventListener("resize",n),window.requestAnimationFrame(i))}))}),{threshold:[0,.001]}).observe(t),i})(this.metaNav,this.host))})),"full"===this.stickyness&&console.warn('Internet Header: The stickyness="full" option is deprecated.')}async handleLanguageChange(t){c.currentLanguage=t,c.localizedConfig=await x({projectId:this.project,environment:this.environment,language:t,cookieKey:this.languageCookieKey,localStorageKey:this.languageLocalStorageKey,activeRouteProp:this.activeRoute,localizedCustomConfig:c.localizedCustomConfig,osFlyoutOverrides:c.osFlyoutOverrides}),this.customConfig&&(c.localizedCustomConfig=F(this.customConfig,t))}handleAvailableLanguagesChange(t){c.languageSwitchOverrides="string"==typeof t?JSON.parse(t):t}async handleOsFlyoutOverrides(t){c.osFlyoutOverrides="string"==typeof t?JSON.parse(t):t,c.localizedConfig=await x({projectId:this.project,environment:this.environment,language:this.language,cookieKey:this.languageCookieKey,localStorageKey:this.languageLocalStorageKey,activeRouteProp:this.activeRoute,localizedCustomConfig:c.localizedCustomConfig,osFlyoutOverrides:c.osFlyoutOverrides})}async handleActiveRouteChange(t){c.localizedConfig=await x({projectId:this.project,environment:this.environment,language:this.language,cookieKey:this.languageCookieKey,localStorageKey:this.languageLocalStorageKey,activeRouteProp:t,localizedCustomConfig:c.localizedCustomConfig,osFlyoutOverrides:c.osFlyoutOverrides})}async handleCustomConfigChange(t){if(void 0===this.language)return;const e=F(t,this.language);c.localizedCustomConfig=e,c.localizedConfig=await x({projectId:this.project,environment:this.environment,language:this.language,cookieKey:this.languageCookieKey,localStorageKey:this.languageLocalStorageKey,activeRouteProp:this.activeRoute,localizedCustomConfig:e,osFlyoutOverrides:c.osFlyoutOverrides})}handleSearchChange(t){c.search=t}handleLoginChange(t){c.login=t}handleMetaChange(t){c.meta=t}handleLanguageChangeEvent(t){this.handleLanguageChange(t.detail)}handleStickynessChange(t){c.stickyness=t,"function"==typeof this.updateLogoAnimation&&this.updateLogoAnimation()}handleClickOutside(t){this.activeDropdownElement&&!t.composedPath().includes(this.activeDropdownElement)&&this.activeDropdownElement.toggleDropdown(!1)}handleKeyUp(t){"Escape"===t.key&&(this.activeDropdownElement&&this.activeDropdownElement.toggleDropdown(!1),null!==this.activeFlyout&&this.mainNav&&this.mainNav.toggleDropdown(!1))}handleScrollEvent(){const t=this.scrollParent instanceof Document?this.scrollParent.documentElement.scrollTop:this.scrollParent.scrollTop;"minimal"===this.stickyness&&this.host.classList.toggle("scrolling-up",t<=this.lastScrollTop),this.lastScrollTop=t<=0?0:t}handleResize(){var t;this.isMainNavOpen()&&this.lastWindowWidth<1024&&window.innerWidth>=1024&&(null===(t=this.activeDropdownElement)||void 0===t||t.toggleDropdown(!1)),this.lastWindowWidth=window.innerWidth}handleDropdownToggled(t){(t.detail.open||this.activeDropdownElement===t.detail.element)&&(t.detail.open?(this.activeDropdownElement&&this.activeDropdownElement.toggleDropdown(!1),this.activeDropdownElement=t.detail.element,window.innerWidth>=1024&&window.setTimeout((()=>{window.addEventListener("click",this.handleClickOutsideBound)}),10),null!==this.activeFlyout&&this.mainNav&&this.mainNav.setActiveFlyout(null)):(this.activeDropdownElement=null,window.removeEventListener("click",this.handleClickOutsideBound)))}handleFlyoutToggled(t){this.activeFlyout=t.detail,this.activeDropdownElement&&t.detail&&!this.isMainNavOpen()&&this.activeDropdownElement.toggleDropdown(!1)}toggleMobileDropdown(){var t;null===(t=this.mainNav)||void 0===t||t.toggleDropdown()}isMainNavOpen(){return this.activeDropdownElement&&"POST-MAIN-NAVIGATION"===this.activeDropdownElement.tagName}handleMainSlotChange(t){this.isMainSlotEmpty=0===t.target.assignedElements().length}render(){var t,e,n;if(!(null===(t=c.localizedConfig)||void 0===t?void 0:t.header))return void console.error(new Error("Internet Header: Config cannot be loaded"));const s=c.localizedConfig,r=this.meta&&void 0!==s.header.navMeta&&(null===(e=s.header.navMeta)||void 0===e?void 0:e.filter((t=>!t.isHomeLink)).length)>0,a=(null!==(n=this.login)&&void 0!==n?n:!s.header.isLoginWidgetHidden)&&s.header.loginWidgetOptions,l=s.header.navLang.length>1,d=r?I(this.host):"1";return o(i,{class:`stickyness-${this.stickyness} ${Boolean(this.activeDropdownElement)||Boolean(this.activeFlyout)?"dropdown-open":""}`,"data-version":"1.13.9",onKeyup:t=>this.handleKeyUp(t),style:{"--logo-scale":d}},o("header",{class:"post-internet-header"+(this.fullWidth?" full-width":"")},o(p,null),o("h1",{class:"visually-hidden"},h("Navigate on post.ch")),o(u,{condition:this.skiplinks},o("post-skiplinks",null)),o(u,{condition:r},o("post-meta-navigation",{orientation:"horizontal",class:"hidden-lg","full-width":this.fullWidth,ref:t=>this.metaNav=t},o(u,{condition:l},o("post-language-switch",{id:"post-language-switch-desktop",mode:"dropdown",onDropdownToggled:t=>this.handleDropdownToggled(t)})))),o("div",{class:"main-navigation-container wide-container"},o("post-logo",null),o("button",{class:"menu-button nav-link",onClick:()=>this.toggleMobileDropdown(),"aria-haspopup":"menu","aria-controls":"post-internet-header-main-navigation","aria-expanded":this.activeDropdownElement?"true":"false"},o("span",{class:"menu-button-text visually-hidden"},s.header.mobileMenu.text),o(f,{name:this.isMainNavOpen()?"pi-close":"pi-menu"})),o("post-main-navigation",{onDropdownToggled:t=>this.handleDropdownToggled(t),onFlyoutToggled:t=>this.handleFlyoutToggled(t),ref:t=>this.mainNav=t},o(u,{condition:r},o("post-meta-navigation",{orientation:"vertical"},o(u,{condition:l},o("post-language-switch",{id:"post-language-switch-mobile",mode:"list"}))))),o("div",{class:"main-navigation-controls"},o("div",{class:"main-navigation-custom-content"+(this.isMainSlotEmpty?" d-none":"")},o("slot",{name:"main",onSlotchange:t=>this.handleMainSlotChange(t)})),o(u,{condition:this.search},o("post-search",{onDropdownToggled:t=>this.handleDropdownToggled(t)})),o(u,{condition:!!a},o("post-klp-login-widget",{"logout-url":this.logoutUrl},o("slot",{name:"login-widget"}))),o(u,{condition:!r&&l},o("post-language-switch",{id:"post-language-switch-no-meta",onDropdownToggled:t=>this.handleDropdownToggled(t),mode:"dropdown"}))))))}get host(){return n(this)}static get watchers(){return{language:["handleLanguageChange"],languageSwitchOverrides:["handleAvailableLanguagesChange"],osFlyoutOverrides:["handleOsFlyoutOverrides"],activeRoute:["handleActiveRouteChange"],customConfig:["handleCustomConfigChange"],search:["handleSearchChange"],login:["handleLoginChange"],meta:["handleMetaChange"],stickyness:["handleStickynessChange"]}}};L.style=':host{--post-contrast-color:#000;--post-focus-color:#1976c8;--post-contrast-color-inverted:#fff;--post-gray-10:hsl(0, 0%, 90%);--post-gray-20:hsl(0, 0%, 80%);--post-gray-40:hsl(0, 0%, 60%);--post-gray-60:hsl(0, 0%, 40%);--post-gray-80:hsl(0, 0%, 20%);--post-yellow:#fc0;--post-white:#fff;--post-light:#faf9f8;--post-gray:#f4f3f1;--post-dark:hsl(0, 0%, 20%);--post-black:#000;--post-primary:hsl(0, 0%, 20%);--post-secondary:hsl(0, 0%, 40%);--post-success:#2c871d;--post-warning:#f49e00;--post-error:#a51728;--post-info:#cce4ee;--post-success-background:#c0debb;--post-warning-background:#fce2b2;--post-error-background:#ffdade;--post-nightblue:#004976;--post-nightblue-bright:#0076a8;--post-petrol:#006d68;--post-petrol-bright:#00968f;--post-coral:#9e2a2f;--post-coral-bright:#e03c31;--post-olive:#716135;--post-olive-bright:#aa9d2e;--post-purple:#80276c;--post-purple-bright:#c5299b;--post-aubergine:#523178;--post-aubergine-bright:#7566a0;--post-contrast-color-rgb:0, 0, 0;--post-contrast-color-inverted-rgb:255, 255, 255;--post-gray-10-rgb:230, 230, 230;--post-gray-20-rgb:204, 204, 204;--post-gray-40-rgb:153, 153, 153;--post-gray-60-rgb:102, 102, 102;--post-gray-80-rgb:51, 51, 51;--post-black-alpha-10-rgba:rgba(0, 0, 0, 0.1);--post-black-alpha-20-rgba:rgba(0, 0, 0, 0.2);--post-black-alpha-40-rgba:rgba(0, 0, 0, 0.4);--post-black-alpha-60-rgba:rgba(0, 0, 0, 0.6);--post-black-alpha-80-rgba:rgba(0, 0, 0, 0.8);--post-white-alpha-10-rgba:rgba(255, 255, 255, 0.1);--post-white-alpha-20-rgba:rgba(255, 255, 255, 0.2);--post-white-alpha-40-rgba:rgba(255, 255, 255, 0.4);--post-white-alpha-60-rgba:rgba(255, 255, 255, 0.6);--post-white-alpha-80-rgba:rgba(255, 255, 255, 0.8);--post-yellow-rgb:255, 204, 0;--post-white-rgb:255, 255, 255;--post-light-rgb:250, 249, 248;--post-gray-rgb:244, 243, 241;--post-dark-rgb:51, 51, 51;--post-black-rgb:0, 0, 0;--post-primary-rgb:51, 51, 51;--post-secondary-rgb:102, 102, 102;--post-success-rgb:44, 135, 29;--post-warning-rgb:244, 158, 0;--post-error-rgb:165, 23, 40;--post-info-rgb:204, 228, 238;--post-success-background-rgb:192, 222, 187;--post-warning-background-rgb:252, 226, 178;--post-error-background-rgb:255, 218, 222;--post-nightblue-rgb:0, 73, 118;--post-nightblue-bright-rgb:0, 118, 168;--post-petrol-rgb:0, 109, 104;--post-petrol-bright-rgb:0, 150, 143;--post-coral-rgb:158, 42, 47;--post-coral-bright-rgb:224, 60, 49;--post-olive-rgb:113, 97, 53;--post-olive-bright-rgb:170, 157, 46;--post-purple-rgb:128, 39, 108;--post-purple-bright-rgb:197, 41, 155;--post-aubergine-rgb:82, 49, 120;--post-aubergine-bright-rgb:117, 102, 160}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff") format("woff")}.visually-hidden{position:absolute;width:1px;height:1px;border:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0)}.btn-blank{background-color:rgba(0,0,0,0);border:none;border-radius:0;padding:0}.nav-link{outline:none;outline-offset:2px;text-decoration:none;color:rgba(0,0,0,.8);-webkit-transition:color 200ms;transition:color 200ms;background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;border:0;margin:0;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:.5rem}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.nav-link:hover,.nav-link:focus{color:#000}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){z-index:1;position:relative}.nav-link>svg{width:1.4em;height:1.4em;-ms-flex-negative:0;flex-shrink:0}.nav-link>span{-ms-flex-negative:1;flex-shrink:1}.no-list{list-style:none;padding-left:0;margin-top:0;margin-bottom:0}*,:host,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{font-family:"Frutiger Neue For Post",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}button{font:inherit;padding:0}a,button{border-radius:4px;outline:none;outline-offset:2px}a:is(:focus-visible,:focus-within,.pretend-focus),button:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color);border-radius:4px}img,svg{max-width:100%;max-height:100%}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){svg{color:currentColor;forced-color-adjust:preserve-parent-color}}.box>*:first-child{margin-top:0}.box>*:last-child{margin-bottom:0}.mirrored{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.bold{font-weight:700}.light{font-weight:300}.d-none{display:none !important}.d-flex{display:-ms-flexbox;display:flex}.d-inline-flex{display:-ms-inline-flexbox;display:inline-flex}.align-items-center{-ms-flex-align:center;align-items:center}@media (min-width: 1441px){.wide-container{margin:0 auto;max-width:1440px}}@media (max-width: 599.98px){.container{padding-right:16px;padding-left:16px}}@media (min-width: 600px)and (max-width: 1023.98px){.container{padding-right:32px;padding-left:32px}}@media (min-width: 1024px){.container{padding-right:40px;padding-left:40px}}@media (max-width: -0.02px){.hidden-xs{display:none}}@media (max-width: 399.98px){.hidden-sm{display:none}}@media (max-width: 599.98px){.hidden-rg{display:none}}@media (max-width: 779.98px){.hidden-md{display:none}}@media (max-width: 1023.98px){.hidden-lg{display:none}}@media (max-width: 1279.98px){.hidden-xl{display:none}}@media (max-width: 1439.98px){.hidden-xxl{display:none}}:host{--logo-scale:1}@media (max-width: 1023.98px){:host{--logo-scale:1 !important}}post-logo{height:var(--header-height);width:var(--header-height);-webkit-transform-origin:bottom left;transform-origin:bottom left;-webkit-transform:scale(var(--logo-scale));transform:scale(var(--logo-scale))}post-main-navigation{margin-left:calc(var(--header-height)*var(--logo-scale) - var(--header-height))}:host{display:block;position:relative;font-size:1rem;font-weight:300;z-index:var(--header-z-index, 10);--header-height:3.5rem;--meta-header-height:0px;--language-dropdown-margin-top:0px}@media (min-width: 1024px){:host{--meta-header-height:3rem;--header-height:4rem}}@media (min-width: 1280px){:host{--header-height:4.5rem}}:host([meta=false]){--meta-header-height:0px;--language-dropdown-margin-top:1px}@supports ((position: -webkit-sticky) or (position: sticky)){:host(:not(.stickyness-none)){position:-webkit-sticky;position:sticky}:host(.stickyness-full){top:0}:host(.stickyness-main){top:calc(var(--meta-header-height, 0px)*-1)}:host(.stickyness-minimal){top:calc((var(--header-height, 0px) + var(--meta-header-height, 0px) + 1px)*-1);-webkit-transition:top 200ms ease-in;transition:top 200ms ease-in}:host(.stickyness-minimal.scrolling-up),:host(.stickyness-minimal.dropdown-open){top:calc(var(--meta-header-height, 0px)*-1);-webkit-transition:top 200ms ease-out;transition:top 200ms ease-out}}.post-internet-header{border-bottom:1px solid #e6e6e6;background-color:#fff}.main-navigation-container{display:-ms-flexbox;display:flex}.main-navigation-container>.main-navigation-controls{-ms-flex:0 1 auto;flex:0 1 auto}.main-navigation{display:-ms-flexbox;display:flex}.sub-navigation-container{position:absolute;top:100%;left:0;width:100%;display:-ms-flexbox;display:flex;background:#fff;visibility:hidden}.main-navigation-item:hover .sub-navigation-container{visibility:visible}.main-navigation-controls{display:-ms-flexbox;display:flex;margin-left:auto}@media (max-width: 1023.98px){.main-navigation-controls{font-weight:400}}@media (min-width: 1024px){.main-navigation-controls{font-size:1.0625rem}}.main-navigation-controls>*{border-left:1px solid #e6e6e6;-ms-flex:0 0 auto;flex:0 0 auto}.main-navigation-custom-content{max-height:var(--header-height);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-negative:1;flex-shrink:1}.menu-button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:0 calc(1rem - 1px);font-weight:300;cursor:pointer;border-left:1px solid #e6e6e6;-ms-flex-order:1;order:1}@media (min-width: 1024px){.menu-button{display:none}}@media (min-width: 600px)and (max-width: 1023.98px){.menu-button .visually-hidden{position:static;width:auto;height:auto;margin:auto;overflow:visible;clip:auto;visibility:visible;margin-right:.5rem}}.menu-button svg{width:1.5rem;height:1.5rem}.full-width .wide-container{max-width:none}';export{L as P}
1
+ import{r as t,c as e,h as o,H as i,g as n}from"./p-1b37bb14.js";import{d as s,t as r}from"./p-a74b380d.js";import{g as a,p as l,t as h}from"./p-85813a11.js";import{u as d}from"./p-a39139a9.js";import{s as c,d as g}from"./p-35a9d4ae.js";import{S as p}from"./p-d7b3988c.js";import{S as f}from"./p-d7a9b5b7.js";import{I as u}from"./p-840aa5c6.js";function m(t,e,o,i){let n=i;return e>0&&(e===1/0&&(n=!0),t.push(o)),n}const b=(t,e,o)=>{if(null===t||null===e||t.origin!==e.origin)return 0;const i=t.pathname.toLocaleLowerCase(),n=e.pathname.toLocaleLowerCase();if(i===n)return 1/0;if(t.pathname.length<e.pathname.length)return 0;if("auto"===o){const o=[t.origin.toLocaleLowerCase(),...i.split("/").filter((t=>null!==t&&""!==t))],s=[e.origin.toLocaleLowerCase(),...n.split("/").filter((t=>null!==t&&""!==t))],r=v(o,s);return Math.min(o.length,s.length)===r?r:0}return 0},v=(t,e)=>{if(null==t||null==e||0===t.length||0===e.length)return 0;let o=0;for(;o<Math.min(t.length,e.length);o++)if(t[o]!==e[o])return 0;return o};let w=null,y=null;const x=async({projectId:t,environment:e,language:o,cookieKey:i,localStorageKey:n,activeRouteProp:s,localizedCustomConfig:r,osFlyoutOverrides:h})=>{var d,c;const g=(()=>{const t=document.querySelector("#PPM_HEADER_DATA");return null!=(null==t?void 0:t.textContent)?JSON.parse(t.textContent):null})();let p,f,u=null;if(g)p=g,f=document.documentElement.lang;else{if(null==w&&(w=O(t,e)),u=await w,f=a(Object.keys(u),o,n,i),void 0===f)throw new Error("Internet Header: unable to determine current language");p=Object.assign({},u[f])}if(r){const t=(null===(d=null==r?void 0:r.header)||void 0===d?void 0:d.navMain)?Object.assign(Object.assign({},p.header),{navMain:[...p.header.navMain,...r.header.navMain]}):p.header;p=Object.assign(Object.assign({},p),{header:t})}return h&&(p.header.navMain=k(p,h)),null!=s&&(p.header.navMain=((t,e)=>{if(!1===e)return t;let o;if(t=(t=>t.map((t=>Object.assign(Object.assign({},t),{isActiveOverride:!1,flyout:t.flyout.map((t=>Object.assign(Object.assign({},t),{linkList:t.linkList.map((t=>Object.assign(Object.assign({},t),{isActiveOverride:!1})))})))}))))(t),"auto"===e||"exact"===e){if((t=>t.filter((t=>t.isActive)).length>0)(t))return(t=>t.map((t=>Object.assign(Object.assign({},t),{isActiveOverride:t.isActive,flyout:t.flyout.map((t=>Object.assign(Object.assign({},t),{linkList:t.linkList.map((t=>Object.assign(Object.assign({},t),{isActiveOverride:t.isActive})))})))}))))(t);o=new URL(window.location.href)}else try{o=new URL(e,document.location.origin)}catch(o){return console.warn(`Active Route: ${e} is not a valid URL. Navigation highlighting has been disabled.`),t}const i=((t,e,o)=>{let i=!1;const n=[];return t.filter((t=>!i&&t)).forEach((t=>{try{const s=b(e,new URL(t.url),o);i=m(n,s,{main:t,score:s},i)}catch(t){}t.flyout.forEach((s=>{var r;null===(r=s.linkList)||void 0===r||r.forEach((s=>{if(!s.isActive||"auto"!==o&&"exact"!==o)try{const r=new URL(s.url),a=b(e,r,o);i=m(n,a,{main:t,sub:s,score:a},i)}catch(t){}else i=!0}))}))})),n.sort(((t,e)=>e.score-t.score))})(t,o,e);if(0===i.length)return t;const n=i[0];return n.main.isActiveOverride=!0,n.sub&&(n.sub.isActiveOverride=!0),t})(p.header.navMain,s)),N(null===(c=null==p?void 0:p.header)||void 0===c?void 0:c.navMain),l(f,i,n),p},k=(t,e)=>null==e?t.header.navMain:t.header.navMain.map((t=>{var o,i;if("flyout_os"!==t.id)return t;null===y&&(y=JSON.parse(JSON.stringify(t)));const n=null!==(o=e.text)&&void 0!==o?o:y.text,s=null!==(i=e.title)&&void 0!==i?i:y.title;if(null==y.flyout||0===y.flyout.length||null==e.flyout||0===e.flyout.length)return Object.assign(Object.assign({},t),{title:s,text:n});const r=[...y.flyout.map(((t,o)=>{var i;const n=e.flyout[o];return{title:null!==(i=n.title)&&void 0!==i?i:t.title,linkList:[...t.linkList,...null!=n.linkList?e.flyout[o].linkList:[]]}})),...e.flyout.slice(y.flyout.length)];return Object.assign(Object.assign({},t),{text:n,title:s,flyout:r})})),O=async(t,e)=>{if(!j(t))throw new Error(`Internet Header: invalid project id "${t}"`);"test"===t&&(e="int01");let o=C(t,e);try{const t=await fetch(o);return await t.json()}catch(t){throw new Error(`Internet Header: fetching config failed. ${t.message}`)}},C=(t,e)=>{if("test"===t)return"assets/config/test-configuration.json";const o=e.toLowerCase(),i="prod"===o,n=`https://${i?"www":"int"}.post.ch`;try{return new URL(`${n}/api/headerjs/Json?serviceid=${encodeURIComponent(t)}${i?"":"&environment="+o}`).toString()}catch(t){throw new Error("Internet Header: Config URL is invalid.")}},j=t=>""!==t&&t.length>0&&/^[a-zA-Z][\w-]*[a-zA-Z0-9]$/.test(t),F=(t,e)=>{var o;let i;try{i="string"==typeof t?JSON.parse(t):t}catch(t){throw new Error("Internet Header: Custom config is invalid. Make sure your custom config contains valid JSON syntax and matches the definition. ")}let n=i[e];return(null===(o=null==n?void 0:n.header)||void 0===o?void 0:o.navMain)&&N(n.header.navMain),n},N=t=>{t.forEach((t=>{t.id="flyout_os"===t.id?t.id:d("main-nav-")}))},S=t=>{if(!(t instanceof HTMLElement||t instanceof SVGElement))return!1;const e=getComputedStyle(t);return["overflow","overflow-x","overflow-y"].some((t=>{const o=e.getPropertyValue(t);return"auto"===o||"scroll"===o}))},P=t=>{let e=t.parentElement;for(;e;){if("BODY"===e.nodeName)return document;if(S(e))return e;e=e.parentElement}return document},I=(t,e)=>{const o=P(t),i=o instanceof Element?o.scrollTop:o.documentElement.scrollTop,n="full"===c.stickyness?0:i;let s,r;if(e)s=t.clientHeight-1,r=e.clientHeight;else{const e=window.getComputedStyle(t),o=parseFloat(e.getPropertyValue("font-size"));r=parseFloat(e.getPropertyValue("--meta-header-height"))*o,s=r+parseFloat(e.getPropertyValue("--header-height"))*o}let a=1;return r>0&&(a=Math.max((s-Math.max(n,0))/(s-r),1)),a.toString()},L=class{async getCurrentLanguage(){var t;return null!==(t=c.currentLanguage)&&void 0!==t?t:"de"}constructor(o){if(t(this,o),this.headerLoaded=e(this,"headerLoaded",7),this.lastScrollTop=window.scrollY||document.documentElement.scrollTop,this.lastWindowWidth=window.innerWidth,this.handleClickOutsideBound=this.handleClickOutside.bind(this),this.project=void 0,this.stickyness="minimal",this.language=void 0,this.meta=!0,this.login=!0,this.search=!0,this.skiplinks=!0,this.configProxy=void 0,this.environment="prod",this.languageSwitchOverrides=void 0,this.customConfig=void 0,this.languageCookieKey=void 0,this.languageLocalStorageKey="swisspost-internet-header-language",this.logoutUrl=void 0,this.activeRoute="auto",this.osFlyoutOverrides=void 0,this.fullWidth=!1,this.activeFlyout=null,this.activeDropdownElement=null,this.isMainSlotEmpty=!0,void 0===this.project||""===this.project||!j(this.project))throw new Error(`Internet Header project key is "${this.project}". Please provide a valid project key.`)}connectedCallback(){this.throttledScroll=r(300,(()=>this.handleScrollEvent())),this.debouncedResize=s(200,(()=>this.handleResize()))}disconnectedCallback(){this.scrollParent.removeEventListener("scroll",this.throttledScroll),this.scrollParent.removeEventListener("resize",this.debouncedResize),g()}async componentWillLoad(){this.scrollParent=P(this.host),this.scrollParent.addEventListener("scroll",this.throttledScroll,{passive:!0}),this.scrollParent.addEventListener("resize",this.debouncedResize,{passive:!0});try{if(c.projectId=this.project,c.stickyness=this.stickyness,c.environment=this.environment.toLocaleLowerCase(),void 0!==this.language&&(c.currentLanguage=this.language),c.languageSwitchOverrides="string"==typeof this.languageSwitchOverrides?JSON.parse(this.languageSwitchOverrides):this.languageSwitchOverrides,c.osFlyoutOverrides="string"==typeof this.osFlyoutOverrides?JSON.parse(this.osFlyoutOverrides):this.osFlyoutOverrides,void 0!==this.customConfig){const t=Object.keys("string"==typeof this.customConfig?JSON.parse(this.customConfig):this.customConfig),e=c.currentLanguage||a(t,this.language);c.localizedCustomConfig=F(this.customConfig,e)}c.localizedConfig=await x({projectId:this.project,environment:c.environment,language:this.language,cookieKey:this.languageCookieKey,localStorageKey:this.languageLocalStorageKey,activeRouteProp:this.activeRoute,localizedCustomConfig:c.localizedCustomConfig,osFlyoutOverrides:c.osFlyoutOverrides})}catch(t){console.error(t)}}componentDidLoad(){window.requestAnimationFrame((()=>{this.handleResize(),this.headerLoaded.emit(),this.host.classList.add("header-loaded"),this.meta&&this.metaNav&&(this.updateLogoAnimation=((t,e)=>{const o=P(e),i=()=>{e.style.setProperty("--logo-scale",I(e,t))},n=s(150,i);return new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&t.intersectionRatio>0?(o.addEventListener("scroll",i,{passive:!0}),window.addEventListener("resize",n),window.requestAnimationFrame(i)):(o.removeEventListener("scroll",i),window.removeEventListener("resize",n),window.requestAnimationFrame(i))}))}),{threshold:[0,.001]}).observe(t),i})(this.metaNav,this.host))})),"full"===this.stickyness&&console.warn('Internet Header: The stickyness="full" option is deprecated.')}async handleLanguageChange(t){c.currentLanguage=t,c.localizedConfig=await x({projectId:this.project,environment:this.environment,language:t,cookieKey:this.languageCookieKey,localStorageKey:this.languageLocalStorageKey,activeRouteProp:this.activeRoute,localizedCustomConfig:c.localizedCustomConfig,osFlyoutOverrides:c.osFlyoutOverrides}),this.customConfig&&(c.localizedCustomConfig=F(this.customConfig,t))}handleAvailableLanguagesChange(t){c.languageSwitchOverrides="string"==typeof t?JSON.parse(t):t}async handleOsFlyoutOverrides(t){c.osFlyoutOverrides="string"==typeof t?JSON.parse(t):t,c.localizedConfig=await x({projectId:this.project,environment:this.environment,language:this.language,cookieKey:this.languageCookieKey,localStorageKey:this.languageLocalStorageKey,activeRouteProp:this.activeRoute,localizedCustomConfig:c.localizedCustomConfig,osFlyoutOverrides:c.osFlyoutOverrides})}async handleActiveRouteChange(t){c.localizedConfig=await x({projectId:this.project,environment:this.environment,language:this.language,cookieKey:this.languageCookieKey,localStorageKey:this.languageLocalStorageKey,activeRouteProp:t,localizedCustomConfig:c.localizedCustomConfig,osFlyoutOverrides:c.osFlyoutOverrides})}async handleCustomConfigChange(t){if(void 0===this.language)return;const e=F(t,this.language);c.localizedCustomConfig=e,c.localizedConfig=await x({projectId:this.project,environment:this.environment,language:this.language,cookieKey:this.languageCookieKey,localStorageKey:this.languageLocalStorageKey,activeRouteProp:this.activeRoute,localizedCustomConfig:e,osFlyoutOverrides:c.osFlyoutOverrides})}handleSearchChange(t){c.search=t}handleLoginChange(t){c.login=t}handleMetaChange(t){c.meta=t}handleLanguageChangeEvent(t){this.handleLanguageChange(t.detail)}handleStickynessChange(t){c.stickyness=t,"function"==typeof this.updateLogoAnimation&&this.updateLogoAnimation()}handleClickOutside(t){this.activeDropdownElement&&!t.composedPath().includes(this.activeDropdownElement)&&this.activeDropdownElement.toggleDropdown(!1)}handleKeyUp(t){"Escape"===t.key&&(this.activeDropdownElement&&this.activeDropdownElement.toggleDropdown(!1),null!==this.activeFlyout&&this.mainNav&&this.mainNav.toggleDropdown(!1))}handleScrollEvent(){const t=this.scrollParent instanceof Document?this.scrollParent.documentElement.scrollTop:this.scrollParent.scrollTop;"minimal"===this.stickyness&&this.host.classList.toggle("scrolling-up",t<=this.lastScrollTop),this.lastScrollTop=t<=0?0:t}handleResize(){var t;this.isMainNavOpen()&&this.lastWindowWidth<1024&&window.innerWidth>=1024&&(null===(t=this.activeDropdownElement)||void 0===t||t.toggleDropdown(!1)),this.lastWindowWidth=window.innerWidth}handleDropdownToggled(t){(t.detail.open||this.activeDropdownElement===t.detail.element)&&(t.detail.open?(this.activeDropdownElement&&this.activeDropdownElement.toggleDropdown(!1),this.activeDropdownElement=t.detail.element,window.innerWidth>=1024&&window.setTimeout((()=>{window.addEventListener("click",this.handleClickOutsideBound)}),10),null!==this.activeFlyout&&this.mainNav&&this.mainNav.setActiveFlyout(null)):(this.activeDropdownElement=null,window.removeEventListener("click",this.handleClickOutsideBound)))}handleFlyoutToggled(t){this.activeFlyout=t.detail,this.activeDropdownElement&&t.detail&&!this.isMainNavOpen()&&this.activeDropdownElement.toggleDropdown(!1)}toggleMobileDropdown(){var t;null===(t=this.mainNav)||void 0===t||t.toggleDropdown()}isMainNavOpen(){return this.activeDropdownElement&&"POST-MAIN-NAVIGATION"===this.activeDropdownElement.tagName}handleMainSlotChange(t){this.isMainSlotEmpty=0===t.target.assignedElements().length}render(){var t,e,n;if(!(null===(t=c.localizedConfig)||void 0===t?void 0:t.header))return void console.error(new Error("Internet Header: Config cannot be loaded"));const s=c.localizedConfig,r=this.meta&&void 0!==s.header.navMeta&&(null===(e=s.header.navMeta)||void 0===e?void 0:e.filter((t=>!t.isHomeLink)).length)>0,a=(null!==(n=this.login)&&void 0!==n?n:!s.header.isLoginWidgetHidden)&&s.header.loginWidgetOptions,l=s.header.navLang.length>1,d=r?I(this.host):"1";return o(i,{class:`stickyness-${this.stickyness} ${Boolean(this.activeDropdownElement)||Boolean(this.activeFlyout)?"dropdown-open":""}`,"data-version":"1.13.10",onKeyup:t=>this.handleKeyUp(t),style:{"--logo-scale":d}},o("header",{class:"post-internet-header"+(this.fullWidth?" full-width":"")},o(p,null),o("h1",{class:"visually-hidden"},h("Navigate on post.ch")),o(u,{condition:this.skiplinks},o("post-skiplinks",null)),o(u,{condition:r},o("post-meta-navigation",{orientation:"horizontal",class:"hidden-lg","full-width":this.fullWidth,ref:t=>this.metaNav=t},o(u,{condition:l},o("post-language-switch",{id:"post-language-switch-desktop",mode:"dropdown",onDropdownToggled:t=>this.handleDropdownToggled(t)})))),o("div",{class:"main-navigation-container wide-container"},o("post-logo",null),o("button",{class:"menu-button nav-link",onClick:()=>this.toggleMobileDropdown(),"aria-haspopup":"menu","aria-controls":"post-internet-header-main-navigation","aria-expanded":this.activeDropdownElement?"true":"false"},o("span",{class:"menu-button-text visually-hidden"},s.header.mobileMenu.text),o(f,{name:this.isMainNavOpen()?"pi-close":"pi-menu"})),o("post-main-navigation",{onDropdownToggled:t=>this.handleDropdownToggled(t),onFlyoutToggled:t=>this.handleFlyoutToggled(t),ref:t=>this.mainNav=t},o(u,{condition:r},o("post-meta-navigation",{orientation:"vertical"},o(u,{condition:l},o("post-language-switch",{id:"post-language-switch-mobile",mode:"list"}))))),o("div",{class:"main-navigation-controls"},o("div",{class:"main-navigation-custom-content"+(this.isMainSlotEmpty?" d-none":"")},o("slot",{name:"main",onSlotchange:t=>this.handleMainSlotChange(t)})),o(u,{condition:this.search},o("post-search",{onDropdownToggled:t=>this.handleDropdownToggled(t)})),o(u,{condition:!!a},o("post-klp-login-widget",{"logout-url":this.logoutUrl},o("slot",{name:"login-widget"}))),o(u,{condition:!r&&l},o("post-language-switch",{id:"post-language-switch-no-meta",onDropdownToggled:t=>this.handleDropdownToggled(t),mode:"dropdown"}))))))}get host(){return n(this)}static get watchers(){return{language:["handleLanguageChange"],languageSwitchOverrides:["handleAvailableLanguagesChange"],osFlyoutOverrides:["handleOsFlyoutOverrides"],activeRoute:["handleActiveRouteChange"],customConfig:["handleCustomConfigChange"],search:["handleSearchChange"],login:["handleLoginChange"],meta:["handleMetaChange"],stickyness:["handleStickynessChange"]}}};L.style=':host{--post-contrast-color:#000;--post-focus-color:#1976c8;--post-contrast-color-inverted:#fff;--post-gray-10:hsl(0, 0%, 90%);--post-gray-20:hsl(0, 0%, 80%);--post-gray-40:hsl(0, 0%, 60%);--post-gray-60:hsl(0, 0%, 40%);--post-gray-80:hsl(0, 0%, 20%);--post-yellow:#fc0;--post-white:#fff;--post-light:#faf9f8;--post-gray:#f4f3f1;--post-dark:hsl(0, 0%, 20%);--post-black:#000;--post-primary:hsl(0, 0%, 20%);--post-secondary:hsl(0, 0%, 40%);--post-success:#2c871d;--post-warning:#f49e00;--post-error:#a51728;--post-info:#cce4ee;--post-success-background:#c0debb;--post-warning-background:#fce2b2;--post-error-background:#ffdade;--post-nightblue:#004976;--post-nightblue-bright:#0076a8;--post-petrol:#006d68;--post-petrol-bright:#00968f;--post-coral:#9e2a2f;--post-coral-bright:#e03c31;--post-olive:#716135;--post-olive-bright:#aa9d2e;--post-purple:#80276c;--post-purple-bright:#c5299b;--post-aubergine:#523178;--post-aubergine-bright:#7566a0;--post-contrast-color-rgb:0, 0, 0;--post-contrast-color-inverted-rgb:255, 255, 255;--post-gray-10-rgb:230, 230, 230;--post-gray-20-rgb:204, 204, 204;--post-gray-40-rgb:153, 153, 153;--post-gray-60-rgb:102, 102, 102;--post-gray-80-rgb:51, 51, 51;--post-black-alpha-10-rgba:rgba(0, 0, 0, 0.1);--post-black-alpha-20-rgba:rgba(0, 0, 0, 0.2);--post-black-alpha-40-rgba:rgba(0, 0, 0, 0.4);--post-black-alpha-60-rgba:rgba(0, 0, 0, 0.6);--post-black-alpha-80-rgba:rgba(0, 0, 0, 0.8);--post-white-alpha-10-rgba:rgba(255, 255, 255, 0.1);--post-white-alpha-20-rgba:rgba(255, 255, 255, 0.2);--post-white-alpha-40-rgba:rgba(255, 255, 255, 0.4);--post-white-alpha-60-rgba:rgba(255, 255, 255, 0.6);--post-white-alpha-80-rgba:rgba(255, 255, 255, 0.8);--post-yellow-rgb:255, 204, 0;--post-white-rgb:255, 255, 255;--post-light-rgb:250, 249, 248;--post-gray-rgb:244, 243, 241;--post-dark-rgb:51, 51, 51;--post-black-rgb:0, 0, 0;--post-primary-rgb:51, 51, 51;--post-secondary-rgb:102, 102, 102;--post-success-rgb:44, 135, 29;--post-warning-rgb:244, 158, 0;--post-error-rgb:165, 23, 40;--post-info-rgb:204, 228, 238;--post-success-background-rgb:192, 222, 187;--post-warning-background-rgb:252, 226, 178;--post-error-background-rgb:255, 218, 222;--post-nightblue-rgb:0, 73, 118;--post-nightblue-bright-rgb:0, 118, 168;--post-petrol-rgb:0, 109, 104;--post-petrol-bright-rgb:0, 150, 143;--post-coral-rgb:158, 42, 47;--post-coral-bright-rgb:224, 60, 49;--post-olive-rgb:113, 97, 53;--post-olive-bright-rgb:170, 157, 46;--post-purple-rgb:128, 39, 108;--post-purple-bright-rgb:197, 41, 155;--post-aubergine-rgb:82, 49, 120;--post-aubergine-bright-rgb:117, 102, 160}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff") format("woff")}.visually-hidden{position:absolute;width:1px;height:1px;border:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0)}.btn-blank{background-color:rgba(0,0,0,0);border:none;border-radius:0;padding:0}.nav-link{outline:none;outline-offset:2px;text-decoration:none;color:rgba(0,0,0,.8);-webkit-transition:color 200ms;transition:color 200ms;background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;border:0;margin:0;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:.5rem}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.nav-link:hover,.nav-link:focus{color:#000}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){z-index:1;position:relative}.nav-link>svg{width:1.4em;height:1.4em;-ms-flex-negative:0;flex-shrink:0}.nav-link>span{-ms-flex-negative:1;flex-shrink:1}.no-list{list-style:none;padding-left:0;margin-top:0;margin-bottom:0}*,:host,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{font-family:"Frutiger Neue For Post",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}button{font:inherit;padding:0}a,button{border-radius:4px;outline:none;outline-offset:2px}a:is(:focus-visible,:focus-within,.pretend-focus),button:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color);border-radius:4px}img,svg{max-width:100%;max-height:100%}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){svg{color:currentColor;forced-color-adjust:preserve-parent-color}}.box>*:first-child{margin-top:0}.box>*:last-child{margin-bottom:0}.mirrored{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.bold{font-weight:700}.light{font-weight:300}.d-none{display:none !important}.d-flex{display:-ms-flexbox;display:flex}.d-inline-flex{display:-ms-inline-flexbox;display:inline-flex}.align-items-center{-ms-flex-align:center;align-items:center}@media (min-width: 1441px){.wide-container{margin:0 auto;max-width:1440px}}@media (max-width: 599.98px){.container{padding-right:16px;padding-left:16px}}@media (min-width: 600px)and (max-width: 1023.98px){.container{padding-right:32px;padding-left:32px}}@media (min-width: 1024px){.container{padding-right:40px;padding-left:40px}}@media (max-width: -0.02px){.hidden-xs{display:none}}@media (max-width: 399.98px){.hidden-sm{display:none}}@media (max-width: 599.98px){.hidden-rg{display:none}}@media (max-width: 779.98px){.hidden-md{display:none}}@media (max-width: 1023.98px){.hidden-lg{display:none}}@media (max-width: 1279.98px){.hidden-xl{display:none}}@media (max-width: 1439.98px){.hidden-xxl{display:none}}:host{--logo-scale:1}@media (max-width: 1023.98px){:host{--logo-scale:1 !important}}post-logo{height:var(--header-height);width:var(--header-height);-webkit-transform-origin:bottom left;transform-origin:bottom left;-webkit-transform:scale(var(--logo-scale));transform:scale(var(--logo-scale))}post-main-navigation{margin-left:calc(var(--header-height)*var(--logo-scale) - var(--header-height))}:host{display:block;position:relative;font-size:1rem;font-weight:300;z-index:var(--header-z-index, 10);--header-height:3.5rem;--meta-header-height:0px;--language-dropdown-margin-top:0px}@media (min-width: 1024px){:host{--meta-header-height:3rem;--header-height:4rem}}@media (min-width: 1280px){:host{--header-height:4.5rem}}:host([meta=false]){--meta-header-height:0px;--language-dropdown-margin-top:1px}@supports ((position: -webkit-sticky) or (position: sticky)){:host(:not(.stickyness-none)){position:-webkit-sticky;position:sticky}:host(.stickyness-full){top:0}:host(.stickyness-main){top:calc(var(--meta-header-height, 0px)*-1)}:host(.stickyness-minimal){top:calc((var(--header-height, 0px) + var(--meta-header-height, 0px) + 1px)*-1);-webkit-transition:top 200ms ease-in;transition:top 200ms ease-in}:host(.stickyness-minimal.scrolling-up),:host(.stickyness-minimal.dropdown-open){top:calc(var(--meta-header-height, 0px)*-1);-webkit-transition:top 200ms ease-out;transition:top 200ms ease-out}}.post-internet-header{border-bottom:1px solid #e6e6e6;background-color:#fff}.main-navigation-container{display:-ms-flexbox;display:flex}.main-navigation-container>.main-navigation-controls{-ms-flex:0 1 auto;flex:0 1 auto}.main-navigation{display:-ms-flexbox;display:flex}.sub-navigation-container{position:absolute;top:100%;left:0;width:100%;display:-ms-flexbox;display:flex;background:#fff;visibility:hidden}.main-navigation-item:hover .sub-navigation-container{visibility:visible}.main-navigation-controls{display:-ms-flexbox;display:flex;margin-left:auto}@media (max-width: 1023.98px){.main-navigation-controls{font-weight:400}}@media (min-width: 1024px){.main-navigation-controls{font-size:1.0625rem}}.main-navigation-controls>*{border-left:1px solid #e6e6e6;-ms-flex:0 0 auto;flex:0 0 auto}.main-navigation-custom-content{max-height:var(--header-height);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-negative:1;flex-shrink:1}.menu-button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:0 calc(1rem - 1px);font-weight:300;cursor:pointer;border-left:1px solid #e6e6e6;-ms-flex-order:1;order:1}@media (min-width: 1024px){.menu-button{display:none}}@media (min-width: 600px)and (max-width: 1023.98px){.menu-button .visually-hidden{position:static;width:auto;height:auto;margin:auto;overflow:visible;clip:auto;visibility:visible;margin-right:.5rem}}.menu-button svg{width:1.5rem;height:1.5rem}.full-width .wide-container{max-width:none}';export{L as P}
@@ -1 +1 @@
1
- import{a as e,f as t}from"./p-7b84213a.js";const n=e=>!("isConnected"in e)||e.isConnected,s=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(n))})(...t)}),2e3)}})(),o=e=>"function"==typeof e?e():e,{state:r,dispose:c}=(()=>{const n=((e,t=((e,t)=>e!==t))=>{const n=o(e);let s=new Map(Object.entries(null!=n?n:{}));const r={dispose:[],get:[],set:[],reset:[]},c=()=>{var t;s=new Map(Object.entries(null!==(t=o(e))&&void 0!==t?t:{})),r.reset.forEach((e=>e()))},a=e=>(r.get.forEach((t=>t(e))),s.get(e)),i=(e,n)=>{const o=s.get(e);t(n,o,e)&&(s.set(e,n),r.set.forEach((t=>t(e,n,o))))},u="undefined"==typeof Proxy?{}:new Proxy(n,{get:(e,t)=>a(t),ownKeys:()=>Array.from(s.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>s.has(t),set:(e,t,n)=>(i(t,n),!0)}),l=(e,t)=>(r[e].push(t),()=>{((e,t)=>{const n=e.indexOf(t);n>=0&&(e[n]=e[e.length-1],e.length--)})(r[e],t)});return{state:u,get:a,set:i,on:l,onChange:(t,n)=>{const s=l("set",((e,s)=>{e===t&&n(s)})),r=l("reset",(()=>n(o(e)[t])));return()=>{s(),r()}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(l("set",t.set)),t.get&&e.push(l("get",t.get)),t.reset&&e.push(l("reset",t.reset)),t.dispose&&e.push(l("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{r.dispose.forEach((e=>e())),c()},reset:c,forceUpdate:e=>{const t=s.get(e);r.set.forEach((n=>n(e,t,t)))}}})({projectId:null,currentLanguage:null,localizedConfig:null,environment:"prod",search:!0,login:!0,meta:!0,stickyness:"minimal"},void 0);return n.use((()=>{if("function"!=typeof e)return{};const n=new Map;return{dispose:()=>n.clear(),get:t=>{const s=e();s&&((e,t,n)=>{const s=e.get(t);s?s.includes(n)||s.push(n):e.set(t,[n])})(n,t,s)},set:e=>{const o=n.get(e);o&&n.set(e,o.filter(t)),s(n)},reset:()=>{n.forEach((e=>e.forEach(t))),s(n)}}})()),n})();export{c as d,r as s}
1
+ import{a as e,f as t}from"./p-1b37bb14.js";const n=e=>!("isConnected"in e)||e.isConnected,s=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(n))})(...t)}),2e3)}})(),o=e=>"function"==typeof e?e():e,{state:r,dispose:c}=(()=>{const n=((e,t=((e,t)=>e!==t))=>{const n=o(e);let s=new Map(Object.entries(null!=n?n:{}));const r={dispose:[],get:[],set:[],reset:[]},c=()=>{var t;s=new Map(Object.entries(null!==(t=o(e))&&void 0!==t?t:{})),r.reset.forEach((e=>e()))},i=e=>(r.get.forEach((t=>t(e))),s.get(e)),a=(e,n)=>{const o=s.get(e);t(n,o,e)&&(s.set(e,n),r.set.forEach((t=>t(e,n,o))))},u="undefined"==typeof Proxy?{}:new Proxy(n,{get:(e,t)=>i(t),ownKeys:()=>Array.from(s.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>s.has(t),set:(e,t,n)=>(a(t,n),!0)}),l=(e,t)=>(r[e].push(t),()=>{((e,t)=>{const n=e.indexOf(t);n>=0&&(e[n]=e[e.length-1],e.length--)})(r[e],t)});return{state:u,get:i,set:a,on:l,onChange:(t,n)=>{const s=l("set",((e,s)=>{e===t&&n(s)})),r=l("reset",(()=>n(o(e)[t])));return()=>{s(),r()}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(l("set",t.set)),t.get&&e.push(l("get",t.get)),t.reset&&e.push(l("reset",t.reset)),t.dispose&&e.push(l("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{r.dispose.forEach((e=>e())),c()},reset:c,forceUpdate:e=>{const t=s.get(e);r.set.forEach((n=>n(e,t,t)))}}})({projectId:null,currentLanguage:null,localizedConfig:null,environment:"prod",search:!0,login:!0,meta:!0,stickyness:"minimal"},void 0);return n.use((()=>{if("function"!=typeof e)return{};const n=new Map;return{dispose:()=>n.clear(),get:t=>{const s=e();s&&((e,t,n)=>{const s=e.get(t);s?s.includes(n)||s.push(n):e.set(t,[n])})(n,t,s)},set:e=>{const o=n.get(e);o&&n.set(e,o.filter(t)),s(n)},reset:()=>{n.forEach((e=>e.forEach(t))),s(n)}}})()),n})();export{c as d,r as s}
@@ -0,0 +1 @@
1
+ export{P as post_main_navigation}from"./p-6ec4bb44.js";import"./p-1b37bb14.js";import"./p-a74b380d.js";import"./p-35a9d4ae.js";import"./p-dc2f1d20.js";import"./p-85813a11.js";import"./p-d7b3988c.js";import"./p-d7a9b5b7.js";
@@ -0,0 +1 @@
1
+ export{P as swisspost_internet_footer}from"./p-057f32b6.js";import"./p-1b37bb14.js";import"./p-35a9d4ae.js";import"./p-d7b3988c.js";import"./p-85813a11.js";
@@ -0,0 +1 @@
1
+ export{P as post_skiplinks}from"./p-94ddd446.js";import"./p-1b37bb14.js";import"./p-35a9d4ae.js";import"./p-85813a11.js";import"./p-d7a9b5b7.js";
@@ -0,0 +1 @@
1
+ System.register(["./p-bde95a71.system.js","./p-8b4c6f7c.system.js","./p-de3a8e62.system.js","./p-d0793471.system.js","./p-a881c817.system.js"],(function(s){"use strict";return{setters:[function(t){s("post_klp_login_widget",t.P)},function(){},function(){},function(){},function(){}],execute:function(){}}}));
@@ -1 +1 @@
1
- System.register(["./p-318480a5.system.js","./p-92c6988b.system.js"],(function(t){"use strict";var o,e,i,r,n;return{setters:[function(t){o=t.r;e=t.h;i=t.H;r=t.g},function(t){n=t.s}],execute:function(){var s='@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff") format("woff")}.visually-hidden{position:absolute;width:1px;height:1px;border:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0)}.btn-blank{background-color:rgba(0,0,0,0);border:none;border-radius:0;padding:0}.nav-link{outline:none;outline-offset:2px;text-decoration:none;color:rgba(0,0,0,.8);-webkit-transition:color 200ms;transition:color 200ms;background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;border:0;margin:0;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:.5rem}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.nav-link:hover,.nav-link:focus{color:#000}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){z-index:1;position:relative}.nav-link>svg{width:1.4em;height:1.4em;-ms-flex-negative:0;flex-shrink:0}.nav-link>span{-ms-flex-negative:1;flex-shrink:1}.no-list{list-style:none;padding-left:0;margin-top:0;margin-bottom:0}*,:host,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{font-family:"Frutiger Neue For Post",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}button{font:inherit;padding:0}a,button{border-radius:4px;outline:none;outline-offset:2px}a:is(:focus-visible,:focus-within,.pretend-focus),button:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color);border-radius:4px}img,svg{max-width:100%;max-height:100%}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){svg{color:currentColor;forced-color-adjust:preserve-parent-color}}.box>*:first-child{margin-top:0}.box>*:last-child{margin-bottom:0}.mirrored{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.bold{font-weight:700}.light{font-weight:300}.d-none{display:none !important}.d-flex{display:-ms-flexbox;display:flex}.d-inline-flex{display:-ms-inline-flexbox;display:inline-flex}.align-items-center{-ms-flex-align:center;align-items:center}@media (min-width: 1441px){.wide-container{margin:0 auto;max-width:1440px}}@media (max-width: 599.98px){.container{padding-right:16px;padding-left:16px}}@media (min-width: 600px)and (max-width: 1023.98px){.container{padding-right:32px;padding-left:32px}}@media (min-width: 1024px){.container{padding-right:40px;padding-left:40px}}@media (max-width: -0.02px){.hidden-xs{display:none}}@media (max-width: 399.98px){.hidden-sm{display:none}}@media (max-width: 599.98px){.hidden-rg{display:none}}@media (max-width: 779.98px){.hidden-md{display:none}}@media (max-width: 1023.98px){.hidden-lg{display:none}}@media (max-width: 1279.98px){.hidden-xl{display:none}}@media (max-width: 1439.98px){.hidden-xxl{display:none}}:host{display:block}.logo{display:block;-ms-flex-align:center;align-items:center;background:#fc0}.logo svg{display:block;width:100%;height:100%}';var f=s;var a=t("P",function(){function t(t){o(this,t)}t.prototype.render=function(){var t;if(((t=n.localizedConfig)===null||t===void 0?void 0:t.header.logo)===undefined)return;var o=n.localizedConfig.header.logo;return e(i,null,e("a",{href:o.logoLink,class:"logo"},e("span",{class:"visually-hidden"},o.logoLinkTitle),e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72","aria-hidden":"true"},e("g",{id:"Logo"},e("rect",{fill:"#ffcc00",x:"0",y:"0",width:"72",height:"72"}),e("polygon",{fill:"#ff0000",points:"34,32.3 34,19 19.7,19 19.7,29.1 10,29.1 10,42.9 19.7,42.9 19.7,53 34,53 34,39.7 30.6,39.7 30.6,49.8 23.1,49.8 23.1,39.7 13.4,39.7 13.4,32.3 23.1,32.3 23.1,22.2 30.6,22.2 30.6,32.3"}),e("path",{d:"M53.56234,31.10526c0,2.41272-1.99154,4.29475-4.51723,4.29475H45.2v-8.3h3.84511C51.66802,27.1,53.56234,28.78889,53.56234,31.10526z M50.69666,19H36v34h9.2V42.9h5.49666c6.75131,0,11.9971-5.15137,11.9971-11.8057C62.69376,24.39136,57.35099,19,50.69666,19z"})))))};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());a.style=f}}}));
1
+ System.register(["./p-8b4c6f7c.system.js","./p-de3a8e62.system.js"],(function(t){"use strict";var o,e,i,r,n;return{setters:[function(t){o=t.r;e=t.h;i=t.H;r=t.g},function(t){n=t.s}],execute:function(){var s='@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff") format("woff")}.visually-hidden{position:absolute;width:1px;height:1px;border:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0)}.btn-blank{background-color:rgba(0,0,0,0);border:none;border-radius:0;padding:0}.nav-link{outline:none;outline-offset:2px;text-decoration:none;color:rgba(0,0,0,.8);-webkit-transition:color 200ms;transition:color 200ms;background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;border:0;margin:0;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:.5rem}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.nav-link:hover,.nav-link:focus{color:#000}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){z-index:1;position:relative}.nav-link>svg{width:1.4em;height:1.4em;-ms-flex-negative:0;flex-shrink:0}.nav-link>span{-ms-flex-negative:1;flex-shrink:1}.no-list{list-style:none;padding-left:0;margin-top:0;margin-bottom:0}*,:host,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{font-family:"Frutiger Neue For Post",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}button{font:inherit;padding:0}a,button{border-radius:4px;outline:none;outline-offset:2px}a:is(:focus-visible,:focus-within,.pretend-focus),button:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color);border-radius:4px}img,svg{max-width:100%;max-height:100%}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){svg{color:currentColor;forced-color-adjust:preserve-parent-color}}.box>*:first-child{margin-top:0}.box>*:last-child{margin-bottom:0}.mirrored{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.bold{font-weight:700}.light{font-weight:300}.d-none{display:none !important}.d-flex{display:-ms-flexbox;display:flex}.d-inline-flex{display:-ms-inline-flexbox;display:inline-flex}.align-items-center{-ms-flex-align:center;align-items:center}@media (min-width: 1441px){.wide-container{margin:0 auto;max-width:1440px}}@media (max-width: 599.98px){.container{padding-right:16px;padding-left:16px}}@media (min-width: 600px)and (max-width: 1023.98px){.container{padding-right:32px;padding-left:32px}}@media (min-width: 1024px){.container{padding-right:40px;padding-left:40px}}@media (max-width: -0.02px){.hidden-xs{display:none}}@media (max-width: 399.98px){.hidden-sm{display:none}}@media (max-width: 599.98px){.hidden-rg{display:none}}@media (max-width: 779.98px){.hidden-md{display:none}}@media (max-width: 1023.98px){.hidden-lg{display:none}}@media (max-width: 1279.98px){.hidden-xl{display:none}}@media (max-width: 1439.98px){.hidden-xxl{display:none}}:host{display:block}.logo{display:block;-ms-flex-align:center;align-items:center;background:#fc0}.logo svg{display:block;width:100%;height:100%}';var f=s;var a=t("P",function(){function t(t){o(this,t)}t.prototype.render=function(){var t;if(((t=n.localizedConfig)===null||t===void 0?void 0:t.header.logo)===undefined)return;var o=n.localizedConfig.header.logo;return e(i,null,e("a",{href:o.logoLink,class:"logo"},e("span",{class:"visually-hidden"},o.logoLinkTitle),e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72","aria-hidden":"true"},e("g",{id:"Logo"},e("rect",{fill:"#ffcc00",x:"0",y:"0",width:"72",height:"72"}),e("polygon",{fill:"#ff0000",points:"34,32.3 34,19 19.7,19 19.7,29.1 10,29.1 10,42.9 19.7,42.9 19.7,53 34,53 34,39.7 30.6,39.7 30.6,49.8 23.1,49.8 23.1,39.7 13.4,39.7 13.4,32.3 23.1,32.3 23.1,22.2 30.6,22.2 30.6,32.3"}),e("path",{d:"M53.56234,31.10526c0,2.41272-1.99154,4.29475-4.51723,4.29475H45.2v-8.3h3.84511C51.66802,27.1,53.56234,28.78889,53.56234,31.10526z M50.69666,19H36v34h9.2V42.9h5.49666c6.75131,0,11.9971-5.15137,11.9971-11.8057C62.69376,24.39136,57.35099,19,50.69666,19z"})))))};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());a.style=f}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-b9a4af9f.system.js","./p-8b4c6f7c.system.js","./p-9b4d5e90.system.js","./p-de3a8e62.system.js","./p-06f51515.system.js","./p-7a585242.system.js","./p-d0793471.system.js","./p-a881c817.system.js"],(function(s){"use strict";return{setters:[function(t){s("post_main_navigation",t.P)},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){}}}));
@@ -0,0 +1 @@
1
+ export{P as post_logo}from"./p-2e00bab4.js";import"./p-1b37bb14.js";import"./p-35a9d4ae.js";
@@ -0,0 +1 @@
1
+ export{P as swisspost_internet_breadcrumbs}from"./p-e04d5ef8.js";import"./p-1b37bb14.js";import"./p-a74b380d.js";import"./p-a119b38d.js";import"./p-d7a9b5b7.js";import"./p-35a9d4ae.js";import"./p-d7b3988c.js";import"./p-85813a11.js";import"./p-a39139a9.js";
@@ -1 +1 @@
1
- import{r as t,h as e,H as i}from"./p-7b84213a.js";import{s as o}from"./p-9778e91c.js";const n=class{constructor(e){t(this,e),this.orientation=void 0,this.fullWidth=!1}render(){var t,n;if(void 0===(null===(t=o.localizedConfig)||void 0===t?void 0:t.header.navMeta))return;const r=o.localizedConfig.header;return e(i,null,e("div",{class:`meta-container ${this.orientation}${this.fullWidth?" full-width":""}`},e("nav",{"aria-label":r.translations.navMetaAriaLabel,class:"meta-navigation"},e("ul",{class:"meta-list"},null===(n=r.navMeta)||void 0===n?void 0:n.filter((t=>!t.isHomeLink)).map((t=>e("li",{key:t.url},e("a",{class:{active:t.isActive,"meta-link":!0},target:t.target,href:t.url},t.text)))))),e("slot",null)))}};n.style='@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff") format("woff")}.visually-hidden{position:absolute;width:1px;height:1px;border:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0)}.btn-blank{background-color:rgba(0,0,0,0);border:none;border-radius:0;padding:0}.nav-link,.meta-link{outline:none;outline-offset:2px;text-decoration:none;color:rgba(0,0,0,.8);-webkit-transition:color 200ms;transition:color 200ms;background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;border:0;margin:0;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:.5rem}.nav-link:is(:focus-visible,:focus-within,.pretend-focus),.meta-link:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.nav-link:hover,.meta-link:hover,.nav-link:focus,.meta-link:focus{color:#000}.nav-link:is(:focus-visible,:focus-within,.pretend-focus),.meta-link:is(:focus-visible,:focus-within,.pretend-focus){z-index:1;position:relative}.nav-link>svg,.meta-link>svg{width:1.4em;height:1.4em;-ms-flex-negative:0;flex-shrink:0}.nav-link>span,.meta-link>span{-ms-flex-negative:1;flex-shrink:1}.no-list,.meta-list{list-style:none;padding-left:0;margin-top:0;margin-bottom:0}*,:host,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{font-family:"Frutiger Neue For Post",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}button{font:inherit;padding:0}a,button{border-radius:4px;outline:none;outline-offset:2px}a:is(:focus-visible,:focus-within,.pretend-focus),button:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color);border-radius:4px}img,svg{max-width:100%;max-height:100%}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){svg{color:currentColor;forced-color-adjust:preserve-parent-color}}.box>*:first-child{margin-top:0}.box>*:last-child{margin-bottom:0}.mirrored{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.bold{font-weight:700}.light{font-weight:300}.d-none{display:none !important}.d-flex{display:-ms-flexbox;display:flex}.d-inline-flex{display:-ms-inline-flexbox;display:inline-flex}.align-items-center{-ms-flex-align:center;align-items:center}@media (min-width: 1441px){.wide-container{margin:0 auto;max-width:1440px}}@media (max-width: 599.98px){.container{padding-right:16px;padding-left:16px}}@media (min-width: 600px)and (max-width: 1023.98px){.container{padding-right:32px;padding-left:32px}}@media (min-width: 1024px){.container{padding-right:40px;padding-left:40px}}@media (max-width: -0.02px){.hidden-xs{display:none}}@media (max-width: 399.98px){.hidden-sm{display:none}}@media (max-width: 599.98px){.hidden-rg{display:none}}@media (max-width: 779.98px){.hidden-md{display:none}}@media (max-width: 1023.98px){.hidden-lg{display:none}}@media (max-width: 1279.98px){.hidden-xl{display:none}}@media (max-width: 1439.98px){.hidden-xxl{display:none}}:host{display:block;font-size:.875rem}.meta-container{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center;min-height:3rem;background:#faf9f8}@media (min-width: 1441px){.meta-container:not(.full-width){margin:0 auto;max-width:1440px}}.meta-container.vertical{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;padding-top:2.5rem;padding-bottom:2.5rem}@media (max-width: 599.98px){.meta-container.vertical{padding-right:16px;padding-left:16px}}@media (min-width: 600px)and (max-width: 1023.98px){.meta-container.vertical{padding-right:32px;padding-left:32px}}@media (min-width: 1024px){.meta-container.vertical{padding-right:40px;padding-left:40px}}@media (min-width: 1024px){.meta-container.vertical{display:none}}.meta-container.horizontal ::slotted(*){--separator-display:block;--separator-height:2.125rem}.meta-container.horizontal::before{display:block;content:"";position:absolute;top:0px;height:var(--meta-header-height);background-color:#faf9f8;left:50%;width:50%}.horizontal .meta-navigation{position:relative;padding-right:1rem}.meta-list{display:-ms-flexbox;display:flex}.vertical .meta-list{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}.meta-link{font-size:.875rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:0 .5rem;min-height:2.125rem;border-radius:3px}.meta-link.active{background:#fc0;color:#000}.vertical .meta-link{color:#000;padding:0}.vertical .meta-link.active{padding:0 .5rem;margin-left:-0.5rem}';export{n as P}
1
+ import{r as t,h as e,H as i}from"./p-1b37bb14.js";import{s as o}from"./p-35a9d4ae.js";const n=class{constructor(e){t(this,e),this.orientation=void 0,this.fullWidth=!1}render(){var t,n;if(void 0===(null===(t=o.localizedConfig)||void 0===t?void 0:t.header.navMeta))return;const r=o.localizedConfig.header;return e(i,null,e("div",{class:`meta-container ${this.orientation}${this.fullWidth?" full-width":""}`},e("nav",{"aria-label":r.translations.navMetaAriaLabel,class:"meta-navigation"},e("ul",{class:"meta-list"},null===(n=r.navMeta)||void 0===n?void 0:n.filter((t=>!t.isHomeLink)).map((t=>e("li",{key:t.url},e("a",{class:{active:t.isActive,"meta-link":!0},target:t.target,href:t.url},t.text)))))),e("slot",null)))}};n.style='@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff") format("woff")}.visually-hidden{position:absolute;width:1px;height:1px;border:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0)}.btn-blank{background-color:rgba(0,0,0,0);border:none;border-radius:0;padding:0}.nav-link,.meta-link{outline:none;outline-offset:2px;text-decoration:none;color:rgba(0,0,0,.8);-webkit-transition:color 200ms;transition:color 200ms;background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;border:0;margin:0;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:.5rem}.nav-link:is(:focus-visible,:focus-within,.pretend-focus),.meta-link:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.nav-link:hover,.meta-link:hover,.nav-link:focus,.meta-link:focus{color:#000}.nav-link:is(:focus-visible,:focus-within,.pretend-focus),.meta-link:is(:focus-visible,:focus-within,.pretend-focus){z-index:1;position:relative}.nav-link>svg,.meta-link>svg{width:1.4em;height:1.4em;-ms-flex-negative:0;flex-shrink:0}.nav-link>span,.meta-link>span{-ms-flex-negative:1;flex-shrink:1}.no-list,.meta-list{list-style:none;padding-left:0;margin-top:0;margin-bottom:0}*,:host,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{font-family:"Frutiger Neue For Post",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}button{font:inherit;padding:0}a,button{border-radius:4px;outline:none;outline-offset:2px}a:is(:focus-visible,:focus-within,.pretend-focus),button:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color);border-radius:4px}img,svg{max-width:100%;max-height:100%}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){svg{color:currentColor;forced-color-adjust:preserve-parent-color}}.box>*:first-child{margin-top:0}.box>*:last-child{margin-bottom:0}.mirrored{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.bold{font-weight:700}.light{font-weight:300}.d-none{display:none !important}.d-flex{display:-ms-flexbox;display:flex}.d-inline-flex{display:-ms-inline-flexbox;display:inline-flex}.align-items-center{-ms-flex-align:center;align-items:center}@media (min-width: 1441px){.wide-container{margin:0 auto;max-width:1440px}}@media (max-width: 599.98px){.container{padding-right:16px;padding-left:16px}}@media (min-width: 600px)and (max-width: 1023.98px){.container{padding-right:32px;padding-left:32px}}@media (min-width: 1024px){.container{padding-right:40px;padding-left:40px}}@media (max-width: -0.02px){.hidden-xs{display:none}}@media (max-width: 399.98px){.hidden-sm{display:none}}@media (max-width: 599.98px){.hidden-rg{display:none}}@media (max-width: 779.98px){.hidden-md{display:none}}@media (max-width: 1023.98px){.hidden-lg{display:none}}@media (max-width: 1279.98px){.hidden-xl{display:none}}@media (max-width: 1439.98px){.hidden-xxl{display:none}}:host{display:block;font-size:.875rem}.meta-container{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center;min-height:3rem;background:#faf9f8}@media (min-width: 1441px){.meta-container:not(.full-width){margin:0 auto;max-width:1440px}}.meta-container.vertical{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;padding-top:2.5rem;padding-bottom:2.5rem}@media (max-width: 599.98px){.meta-container.vertical{padding-right:16px;padding-left:16px}}@media (min-width: 600px)and (max-width: 1023.98px){.meta-container.vertical{padding-right:32px;padding-left:32px}}@media (min-width: 1024px){.meta-container.vertical{padding-right:40px;padding-left:40px}}@media (min-width: 1024px){.meta-container.vertical{display:none}}.meta-container.horizontal ::slotted(*){--separator-display:block;--separator-height:2.125rem}.meta-container.horizontal::before{display:block;content:"";position:absolute;top:0px;height:var(--meta-header-height);background-color:#faf9f8;left:50%;width:50%}.horizontal .meta-navigation{position:relative;padding-right:1rem}.meta-list{display:-ms-flexbox;display:flex}.vertical .meta-list{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}.meta-link{font-size:.875rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:0 .5rem;min-height:2.125rem;border-radius:3px}.meta-link.active{background:#fc0;color:#000}.vertical .meta-link{color:#000;padding:0}.vertical .meta-link.active{padding:0 .5rem;margin-left:-0.5rem}';export{n as P}
@@ -0,0 +1 @@
1
+ System.register(["./p-4eea8bcd.system.js","./p-8b4c6f7c.system.js","./p-de3a8e62.system.js"],(function(t){"use strict";return{setters:[function(e){t("post_logo",e.P)},function(){},function(){}],execute:function(){}}}));
@@ -1 +1 @@
1
- import{h as i,r as t,c as o,H as n,g as e}from"./p-7b84213a.js";import{t as s}from"./p-a74b380d.js";import{s as a}from"./p-9778e91c.js";import{u as r}from"./p-dc2f1d20.js";import{t as l}from"./p-647068ef.js";import{S as f}from"./p-34ced778.js";import{S as d}from"./p-209c4305.js";const c=t=>{var o,n,e;return i(t.level.url?"a":"button",{class:{"main-link":!0,active:!!t.level.isActiveOverride,focus:t.isOpen},href:t.level.url,title:(null===(o=t.level.title)||void 0===o?void 0:o.trim())&&(null===(n=t.level.title)||void 0===n?void 0:n.trim())!==(null===(e=t.level.text)||void 0===e?void 0:e.trim())?t.level.title:void 0,tabindex:t.level.url?void 0:0,"aria-haspopup":!t.level.noFlyout+"","aria-expanded":t.level.noFlyout?null:t.isOpen+"",onTouchEnd:i=>t.onTouchEnd(i),onKeyDown:i=>t.onKeyDown(i),onClick:i=>t.onClick(i)},i("span",null,t.level.text),t.level.isActiveOverride?i("span",{class:"visually-hidden"},l("Active navigation element")):null,i("svg",{"aria-hidden":"true"},i("use",{href:"#pi-pointy-arrow-right"})))},u=class{constructor(i){t(this,i),this.dropdownToggled=o(this,"dropdownToggled",7),this.flyoutToggled=o(this,"flyoutToggled",7),this.resizeTimer=null,this.mouseLeaveTimer=null,this.mouseEnterTimer=null,this.activeFlyout=void 0,this.mobileMenuOpen=void 0}connectedCallback(){this.throttledResize=s(300,(()=>this.handleResize())),window.addEventListener("resize",this.throttledResize,{passive:!0}),this.setWindowHeight()}disconnectedCallback(){window.removeEventListener("resize",this.throttledResize),null!==this.mouseEnterTimer&&window.clearTimeout(this.mouseEnterTimer),null!==this.mouseLeaveTimer&&window.clearTimeout(this.mouseLeaveTimer)}handleResize(){this.host.classList.add("no-animation"),null!==this.resizeTimer&&window.clearTimeout(this.resizeTimer),this.resizeTimer=window.setTimeout((()=>{this.host.classList.remove("no-animation")}),300),this.setWindowHeight()}setWindowHeight(){this.host&&(this.host.style.setProperty("--window-height",`${window.innerHeight}px`),window.setTimeout((()=>{this.host.style.setProperty("--window-height",`${window.innerHeight}px`)}),100))}openFlyout(i){var t;const o=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.getElementById(i);o&&""!==this.activeFlyout&&this.addFlyoutAnimation(o,"expand"),this.activeFlyout=i,this.flyoutToggled.emit(i),this.setWindowHeight(),null!==this.mouseLeaveTimer&&(window.clearTimeout(this.mouseLeaveTimer),this.mouseLeaveTimer=null)}closeFlyout(i,t=!0){var o;if(void 0===i)return;const n=null===(o=this.host.shadowRoot)||void 0===o?void 0:o.getElementById(i);n&&this.addFlyoutAnimation(n,"collapse",t),this.activeFlyout=null,this.flyoutToggled.emit()}addFlyoutAnimation(i,t,o=!0){r()||(i.classList.add("animate"),i.addEventListener("transitionend",(()=>{var n,e,s;o&&("expand"===t?null===(n=i.querySelector("button.flyout-back-button"))||void 0===n||n.focus():"collapse"===t&&(null===(s=null===(e=i.parentElement)||void 0===e?void 0:e.querySelector("a.main-link"))||void 0===s||s.focus())),i.classList.remove("animate")}),{once:!0}))}isActiveFlyout(i){return i===this.activeFlyout}handleMouseEnter(i){null!==this.mouseEnterTimer&&(window.clearTimeout(this.mouseEnterTimer),this.mouseEnterTimer=null),this.mouseLeaveTimer&&this.activeFlyout===i.id&&(window.clearTimeout(this.mouseLeaveTimer),this.mouseLeaveTimer=null),window.innerWidth>=1024&&i.flyout.length>0&&this.activeFlyout!==i.id&&(this.mouseEnterTimer=window.setTimeout((()=>{this.mouseEnterTimer=null,void 0!==i.id&&this.openFlyout(i.id)}),200))}handleMouseLeave(i){null!==this.mouseEnterTimer&&window.clearTimeout(this.mouseEnterTimer),this.activeFlyout&&this.activeFlyout!==i.id||window.innerWidth>=1024&&i.flyout.length>0&&(this.mouseLeaveTimer=window.setTimeout((()=>{this.closeFlyout(i.id,!1)}),300))}handleTouchEnd(i,t){this.isActiveFlyout(t.id)||t.noFlyout||(i.cancelable&&i.preventDefault(),t.id&&this.openFlyout(t.id))}handleKeyPress(i,t){"Enter"!==i.key||this.isActiveFlyout(t.id)||t.noFlyout||(i.preventDefault(),t.id&&this.openFlyout(t.id))}handleClick(i,t){this.isActiveFlyout(t.id)||t.noFlyout||(i.preventDefault(),t.id&&this.openFlyout(t.id))}async toggleDropdown(i){return this.mobileMenuOpen=void 0===i?!this.mobileMenuOpen:i,this.dropdownToggled.emit({open:this.mobileMenuOpen,element:this.host}),!1===i&&this.closeFlyout(),this.setWindowHeight(),this.mobileMenuOpen}async setFocus(){var i;const t=null===(i=this.host.shadowRoot)||void 0===i?void 0:i.querySelector(".main-link");t&&t.focus()}async setActiveFlyout(i){this.activeFlyout=i,this.flyoutToggled.emit(this.activeFlyout)}render(){var t;if(void 0===(null===(t=a.localizedConfig)||void 0===t?void 0:t.header))return;const o=a.localizedConfig.header;return i(n,null,i(f,null),i("nav",{"aria-label":o.translations.navMainAriaLabel,id:"post-internet-header-main-navigation",class:{"main-navigation":!0,open:this.mobileMenuOpen}},i("ul",{class:"main-container container"},o.navMain.map((t=>i("li",{key:t.text,onMouseLeave:()=>this.handleMouseLeave(t),onMouseEnter:()=>this.handleMouseEnter(t)},i(c,{level:t,isOpen:this.isActiveFlyout(t.id),onTouchEnd:i=>this.handleTouchEnd(i,t),onKeyDown:i=>this.handleKeyPress(i,t),onClick:i=>this.handleClick(i,t)}),t.noFlyout?null:e.bind(this)(t))))),i("slot",null)));function e(t){return i("div",{id:t.id,class:{flyout:!0,open:this.isActiveFlyout(t.id)}},i("div",{class:"wide-container"},i("div",{class:"flyout-nav"},i("button",{class:"nav-link flyout-back-button",onClick:()=>this.closeFlyout(t.id)},i(d,{name:"pi-pointy-arrow-right",classNames:"mirrored"}),i("span",null,o.translations.backButtonText)),i("button",{class:"flyout-close-button",onClick:()=>this.closeFlyout(t.id)},i("span",{class:"visually-hidden"},t.text,", ",o.translations.mobileNavToggleClose),i(d,{name:"pi-close"}))),i("h2",{class:"flyout-title container"},i("a",{href:t.url,class:"nav-link"},t.text)),i("div",{class:"flyout-row container"},t.flyout.map(((o,n)=>i("div",{key:o.title,class:"flyout-column"},o.title?i("h3",{id:`${t.id}-column-${n}`},o.title):null,i("ul",{class:"flyout-linklist","aria-labelledby":o.title?`${t.id}-column-${n}`:void 0},o.linkList.map((t=>i("li",{key:t.url},i("a",{class:{"flyout-link":!0,active:!!(null==t?void 0:t.isActiveOverride)},href:t.url,target:t.target},t.title,(null==t?void 0:t.isActiveOverride)?i("span",{class:"visually-hidden"},", ",l("Active navigation element")):null)))))))))))}}get host(){return e(this)}};u.style='.flyout-nav,.flyout-column h3{font-size:.9375rem}@media (min-width: 600px){.flyout-nav,.flyout-column h3{font-size:1rem}}@media (min-width: 1024px){.flyout-nav,.flyout-column h3{font-size:1.0625rem}}.flyout-title{font-size:1.0625rem}@media (min-width: 600px){.flyout-title{font-size:1.25rem}}@media (min-width: 1024px){.flyout-title{font-size:1.5rem}}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff") format("woff")}.visually-hidden{position:absolute;width:1px;height:1px;border:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0)}.btn-blank{background-color:rgba(0,0,0,0);border:none;border-radius:0;padding:0}.nav-link,.main-link,.flyout-close-button,.flyout-link{outline:none;outline-offset:2px;text-decoration:none;color:rgba(0,0,0,.8);-webkit-transition:color 200ms;transition:color 200ms;background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;border:0;margin:0;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:.5rem}.nav-link:is(:focus-visible,:focus-within,.pretend-focus),.main-link:is(:focus-visible,:focus-within,.pretend-focus),.flyout-close-button:is(:focus-visible,:focus-within,.pretend-focus),.flyout-link:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.nav-link:hover,.main-link:hover,.flyout-close-button:hover,.flyout-link:hover,.nav-link:focus,.main-link:focus,.flyout-close-button:focus,.flyout-link:focus{color:#000}.nav-link:is(:focus-visible,:focus-within,.pretend-focus),.main-link:is(:focus-visible,:focus-within,.pretend-focus),.flyout-close-button:is(:focus-visible,:focus-within,.pretend-focus),.flyout-link:is(:focus-visible,:focus-within,.pretend-focus){z-index:1;position:relative}.nav-link>svg,.main-link>svg,.flyout-close-button>svg,.flyout-link>svg{width:1.4em;height:1.4em;-ms-flex-negative:0;flex-shrink:0}.nav-link>span,.main-link>span,.flyout-close-button>span,.flyout-link>span{-ms-flex-negative:1;flex-shrink:1}.no-list,.main-container,.flyout-linklist{list-style:none;padding-left:0;margin-top:0;margin-bottom:0}*,:host,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{font-family:"Frutiger Neue For Post",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}button{font:inherit;padding:0}a,button{border-radius:4px;outline:none;outline-offset:2px}a:is(:focus-visible,:focus-within,.pretend-focus),button:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color);border-radius:4px}img,svg{max-width:100%;max-height:100%}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){svg{color:currentColor;forced-color-adjust:preserve-parent-color}}.box>*:first-child{margin-top:0}.box>*:last-child{margin-bottom:0}.mirrored{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.bold{font-weight:700}.light{font-weight:300}.d-none{display:none !important}.d-flex{display:-ms-flexbox;display:flex}.d-inline-flex{display:-ms-inline-flexbox;display:inline-flex}.align-items-center{-ms-flex-align:center;align-items:center}@media (min-width: 1441px){.wide-container{margin:0 auto;max-width:1440px}}@media (max-width: 599.98px){.container{padding-right:16px;padding-left:16px}}@media (min-width: 600px)and (max-width: 1023.98px){.container{padding-right:32px;padding-left:32px}}@media (min-width: 1024px){.container{padding-right:40px;padding-left:40px}}@media (max-width: -0.02px){.hidden-xs{display:none}}@media (max-width: 399.98px){.hidden-sm{display:none}}@media (max-width: 599.98px){.hidden-rg{display:none}}@media (max-width: 779.98px){.hidden-md{display:none}}@media (max-width: 1023.98px){.hidden-lg{display:none}}@media (max-width: 1279.98px){.hidden-xl{display:none}}@media (max-width: 1439.98px){.hidden-xxl{display:none}}:host{--host-window-height:var(--window-height, 100vh);--calculated-header-height:calc(var(--header-height) + 1px);display:block;min-width:0;height:var(--header-height);-ms-flex-negative:0;flex-shrink:0}:host(.no-animation) *{-webkit-animation:none !important;animation:none !important;-webkit-transition:none !important;transition:none !important}@media (min-width: 1024px){.main-navigation,.main-container,.main-container li,.main-link{height:100%}}.main-navigation{font-size:1.125rem}@media (min-width: 1024px){.main-navigation{font-size:1rem;margin:0 .75rem}}@media (min-width: 1280px){.main-navigation{font-size:1.125rem}}@media (min-width: 1440px){.main-navigation{font-size:1.25rem}}@media (max-width: 1023.98px){.main-navigation{position:absolute;top:var(--calculated-header-height);left:0;background:#fff;height:calc(var(--host-window-height) - var(--calculated-header-height));width:100%;margin:0;overflow:hidden scroll;-webkit-overflow-scrolling:touch;-ms-scroll-chaining:none;overscroll-behavior:contain;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;z-index:-1;visibility:hidden;-webkit-transform:translateY(-100%);transform:translateY(-100%);-webkit-transition:visibility .35s,-webkit-transform .35s;transition:visibility .35s,-webkit-transform .35s;transition:transform .35s,visibility .35s;transition:transform .35s,visibility .35s,-webkit-transform .35s}}@media (max-width: 1023.98px)and (prefers-reduced-motion: reduce){.main-navigation{-webkit-transition:none;transition:none}}@media (max-width: 1023.98px){.main-navigation.open{-webkit-transform:translateY(0);transform:translateY(0);visibility:visible}}.main-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}@media (max-width: 1023.98px){.main-container{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:start;justify-content:flex-start;padding-top:2.5rem;padding-bottom:2.5rem}.main-container>li+li{border-top:1px solid #e6e6e6}}@media (min-width: 1024px){.main-container{padding-right:0;padding-left:0}}.main-container>li{-ms-flex:0 1 auto;flex:0 1 auto;min-width:0}.main-link{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding-right:.75rem;padding-left:.75rem;text-align:left;cursor:pointer;width:100%}@media (min-width: 1024px){.main-link svg{display:none}}@media (max-width: 1023.98px){.main-link{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;font-weight:300;padding:.625rem 0;width:100%;text-align:left}.main-link svg{width:1.5rem;height:1.5rem}}.main-link span{overflow:hidden;text-overflow:ellipsis}.main-link,.flyout-link{position:relative;color:#000}.main-link::after,.flyout-link::after{content:"";position:absolute;bottom:-1px;left:0;width:100%;height:4px;background-color:rgba(0,0,0,0);opacity:0;-webkit-transform:scaleX(0.8);transform:scaleX(0.8);-webkit-transition:opacity .25s cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform .25s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity .25s cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform .25s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity .25s cubic-bezier(0.4, 0, 0.2, 1),transform .25s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity .25s cubic-bezier(0.4, 0, 0.2, 1),transform .25s cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform .25s cubic-bezier(0.4, 0, 0.2, 1)}@media (prefers-reduced-motion: reduce){.main-link::after,.flyout-link::after{-webkit-transition:none;transition:none}}.main-link:hover::after,.main-link.focus::after,.flyout-link:hover::after,.flyout-link.focus::after{background-color:#ccc;opacity:1;-webkit-transform:scale(1);transform:scale(1);-webkit-transition:opacity .25s cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform .25s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity .25s cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform .25s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity .25s cubic-bezier(0.4, 0, 0.2, 1),transform .25s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity .25s cubic-bezier(0.4, 0, 0.2, 1),transform .25s cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform .25s cubic-bezier(0.4, 0, 0.2, 1)}.main-link.active,.flyout-link.active{font-weight:700}.main-link.active::after,.flyout-link.active::after{background-color:#fc0;opacity:1;-webkit-transform:scale(1);transform:scale(1)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.main-link:hover,.main-link.focus,.main-link.active,.flyout-link:hover,.flyout-link.focus,.flyout-link.active{background-color:Highlight}}.flyout{left:0;width:100%;background:#fff;padding-bottom:3rem;overflow:auto;-ms-scroll-chaining:none;overscroll-behavior:contain;visibility:hidden}@media (min-width: 1024px){.flyout{position:absolute;top:100%;max-height:calc(100vh - var(--header-height) - var(--meta-header-height) - 1px);z-index:-1;-webkit-box-shadow:0 0 1px 0 rgba(0,0,0,.4);box-shadow:0 0 1px 0 rgba(0,0,0,.4);-webkit-transform:translateY(-100%);transform:translateY(-100%)}.flyout.open{-webkit-box-shadow:0 0 8px 0 rgba(0,0,0,.4);box-shadow:0 0 8px 0 rgba(0,0,0,.4);-webkit-transform:translateY(0);transform:translateY(0)}}@media (max-width: 1023.98px){.flyout{position:fixed;top:0;height:100%;z-index:1;-webkit-transform:translateX(100%);transform:translateX(100%)}.flyout.open{-webkit-transform:translateX(0);transform:translateX(0)}}.flyout.open{visibility:visible}.flyout.animate{-webkit-transition:visibility .35s,-webkit-transform .35s,-webkit-box-shadow .35s;transition:visibility .35s,-webkit-transform .35s,-webkit-box-shadow .35s;transition:transform .35s,visibility .35s,box-shadow .35s;transition:transform .35s,visibility .35s,box-shadow .35s,-webkit-transform .35s,-webkit-box-shadow .35s}@media (prefers-reduced-motion: reduce){.flyout.animate{-webkit-transition:none;transition:none}}.flyout-nav{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;min-height:3.5rem;-webkit-box-sizing:content-box;box-sizing:content-box}.flyout-row{display:-ms-flexbox;display:flex;gap:1.5rem}@media (max-width: 1023.98px){.flyout-row{display:grid;grid-template-columns:1fr 1fr}}@media (max-width: 599.98px){.flyout-row{grid-template-columns:1fr}}.flyout-column{-ms-flex:1;flex:1;max-width:25%}@media (max-width: 1023.98px){.flyout-column{max-width:none}}.flyout-column h3{margin-top:0}.flyout-back-button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:1rem;font-weight:400;cursor:pointer}@media (max-width: 599.98px){.flyout-back-button{padding-right:16px;padding-left:16px}}@media (min-width: 600px)and (max-width: 1023.98px){.flyout-back-button{padding-right:32px;padding-left:32px}}@media (min-width: 1024px){.flyout-back-button{padding-right:40px;padding-left:40px}}.flyout-back-button svg{width:1.5rem;height:1.5rem}@media (min-width: 1024px){.flyout-back-button{display:none}}.flyout-close-button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-left:auto;padding:0 1.5rem;cursor:pointer}.flyout-close-button svg{width:1.5rem;height:1.5rem}@media (max-width: 1023.98px){.flyout-close-button{display:none}}.flyout-linklist li{border-top:1px solid #e6e6e6}.flyout-linklist:first-child>li{border-top-color:rgba(0,0,0,0)}.flyout-link{display:block;padding:.75rem 0}.flyout-title{margin:2.5rem 0 1.5rem 0}@media (min-width: 1024px){.flyout-title{display:none}}';export{u as P}
1
+ import{h as i,r as t,c as o,H as n,g as e}from"./p-1b37bb14.js";import{t as s}from"./p-a74b380d.js";import{s as a}from"./p-35a9d4ae.js";import{u as r}from"./p-dc2f1d20.js";import{t as l}from"./p-85813a11.js";import{S as f}from"./p-d7b3988c.js";import{S as d}from"./p-d7a9b5b7.js";const u=t=>{var o,n,e;return i(t.level.url?"a":"button",{class:{"main-link":!0,active:!!t.level.isActiveOverride,focus:t.isOpen},href:t.level.url,title:(null===(o=t.level.title)||void 0===o?void 0:o.trim())&&(null===(n=t.level.title)||void 0===n?void 0:n.trim())!==(null===(e=t.level.text)||void 0===e?void 0:e.trim())?t.level.title:void 0,tabindex:t.level.url?void 0:0,"aria-haspopup":!t.level.noFlyout+"","aria-expanded":t.level.noFlyout?null:t.isOpen+"",onTouchEnd:i=>t.onTouchEnd(i),onKeyDown:i=>t.onKeyDown(i),onClick:i=>t.onClick(i)},i("span",null,t.level.text),t.level.isActiveOverride?i("span",{class:"visually-hidden"},l("Active navigation element")):null,i("svg",{"aria-hidden":"true"},i("use",{href:"#pi-pointy-arrow-right"})))},c=class{constructor(i){t(this,i),this.dropdownToggled=o(this,"dropdownToggled",7),this.flyoutToggled=o(this,"flyoutToggled",7),this.resizeTimer=null,this.mouseLeaveTimer=null,this.mouseEnterTimer=null,this.activeFlyout=void 0,this.mobileMenuOpen=void 0}connectedCallback(){this.throttledResize=s(300,(()=>this.handleResize())),window.addEventListener("resize",this.throttledResize,{passive:!0}),this.setWindowHeight()}disconnectedCallback(){window.removeEventListener("resize",this.throttledResize),null!==this.mouseEnterTimer&&window.clearTimeout(this.mouseEnterTimer),null!==this.mouseLeaveTimer&&window.clearTimeout(this.mouseLeaveTimer)}handleResize(){this.host.classList.add("no-animation"),null!==this.resizeTimer&&window.clearTimeout(this.resizeTimer),this.resizeTimer=window.setTimeout((()=>{this.host.classList.remove("no-animation")}),300),this.setWindowHeight()}setWindowHeight(){this.host&&(this.host.style.setProperty("--window-height",`${window.innerHeight}px`),window.setTimeout((()=>{this.host.style.setProperty("--window-height",`${window.innerHeight}px`)}),100))}openFlyout(i){var t;const o=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.getElementById(i);o&&""!==this.activeFlyout&&this.addFlyoutAnimation(o,"expand"),this.activeFlyout=i,this.flyoutToggled.emit(i),this.setWindowHeight(),null!==this.mouseLeaveTimer&&(window.clearTimeout(this.mouseLeaveTimer),this.mouseLeaveTimer=null)}closeFlyout(i,t=!0){var o;if(void 0===i)return;const n=null===(o=this.host.shadowRoot)||void 0===o?void 0:o.getElementById(i);n&&this.addFlyoutAnimation(n,"collapse",t),this.activeFlyout=null,this.flyoutToggled.emit()}addFlyoutAnimation(i,t,o=!0){r()||(i.classList.add("animate"),i.addEventListener("transitionend",(()=>{var n,e,s;o&&("expand"===t?null===(n=i.querySelector("button.flyout-back-button"))||void 0===n||n.focus():"collapse"===t&&(null===(s=null===(e=i.parentElement)||void 0===e?void 0:e.querySelector("a.main-link"))||void 0===s||s.focus())),i.classList.remove("animate")}),{once:!0}))}isActiveFlyout(i){return i===this.activeFlyout}handleMouseEnter(i){null!==this.mouseEnterTimer&&(window.clearTimeout(this.mouseEnterTimer),this.mouseEnterTimer=null),this.mouseLeaveTimer&&this.activeFlyout===i.id&&(window.clearTimeout(this.mouseLeaveTimer),this.mouseLeaveTimer=null),window.innerWidth>=1024&&i.flyout.length>0&&this.activeFlyout!==i.id&&(this.mouseEnterTimer=window.setTimeout((()=>{this.mouseEnterTimer=null,void 0!==i.id&&this.openFlyout(i.id)}),200))}handleMouseLeave(i){null!==this.mouseEnterTimer&&window.clearTimeout(this.mouseEnterTimer),this.activeFlyout&&this.activeFlyout!==i.id||window.innerWidth>=1024&&i.flyout.length>0&&(this.mouseLeaveTimer=window.setTimeout((()=>{this.closeFlyout(i.id,!1)}),300))}handleTouchEnd(i,t){this.isActiveFlyout(t.id)||t.noFlyout||(i.cancelable&&i.preventDefault(),t.id&&this.openFlyout(t.id))}handleKeyPress(i,t){"Enter"!==i.key||this.isActiveFlyout(t.id)||t.noFlyout||(i.preventDefault(),t.id&&this.openFlyout(t.id))}handleClick(i,t){this.isActiveFlyout(t.id)||t.noFlyout||(i.preventDefault(),t.id&&this.openFlyout(t.id))}async toggleDropdown(i){return this.mobileMenuOpen=void 0===i?!this.mobileMenuOpen:i,this.dropdownToggled.emit({open:this.mobileMenuOpen,element:this.host}),!1===i&&this.closeFlyout(),this.setWindowHeight(),this.mobileMenuOpen}async setFocus(){var i;const t=null===(i=this.host.shadowRoot)||void 0===i?void 0:i.querySelector(".main-link");t&&t.focus()}async setActiveFlyout(i){this.activeFlyout=i,this.flyoutToggled.emit(this.activeFlyout)}render(){var t;if(void 0===(null===(t=a.localizedConfig)||void 0===t?void 0:t.header))return;const o=a.localizedConfig.header;return i(n,null,i(f,null),i("nav",{"aria-label":o.translations.navMainAriaLabel,id:"post-internet-header-main-navigation",class:{"main-navigation":!0,open:this.mobileMenuOpen}},i("ul",{class:"main-container container"},o.navMain.map((t=>i("li",{key:t.text,onMouseLeave:()=>this.handleMouseLeave(t),onMouseEnter:()=>this.handleMouseEnter(t)},i(u,{level:t,isOpen:this.isActiveFlyout(t.id),onTouchEnd:i=>this.handleTouchEnd(i,t),onKeyDown:i=>this.handleKeyPress(i,t),onClick:i=>this.handleClick(i,t)}),t.noFlyout?null:e.bind(this)(t))))),i("slot",null)));function e(t){return i("div",{id:t.id,class:{flyout:!0,open:this.isActiveFlyout(t.id)}},i("div",{class:"wide-container"},i("div",{class:"flyout-nav"},i("button",{class:"nav-link flyout-back-button",onClick:()=>this.closeFlyout(t.id)},i(d,{name:"pi-pointy-arrow-right",classNames:"mirrored"}),i("span",null,o.translations.backButtonText)),i("button",{class:"flyout-close-button",onClick:()=>this.closeFlyout(t.id)},i("span",{class:"visually-hidden"},t.text,", ",o.translations.mobileNavToggleClose),i(d,{name:"pi-close"}))),i("h2",{class:"flyout-title container"},i("a",{href:t.url,class:"nav-link"},t.text)),i("div",{class:"flyout-row container"},t.flyout.map(((o,n)=>i("div",{key:o.title,class:"flyout-column"},o.title?i("h3",{id:`${t.id}-column-${n}`},o.title):null,i("ul",{class:"flyout-linklist","aria-labelledby":o.title?`${t.id}-column-${n}`:void 0},o.linkList.map((t=>i("li",{key:t.url},i("a",{class:{"flyout-link":!0,active:!!(null==t?void 0:t.isActiveOverride)},href:t.url,target:t.target},t.title,(null==t?void 0:t.isActiveOverride)?i("span",{class:"visually-hidden"},", ",l("Active navigation element")):null)))))))))))}}get host(){return e(this)}};c.style='.flyout-nav,.flyout-column h3{font-size:.9375rem}@media (min-width: 600px){.flyout-nav,.flyout-column h3{font-size:1rem}}@media (min-width: 1024px){.flyout-nav,.flyout-column h3{font-size:1.0625rem}}.flyout-title{font-size:1.0625rem}@media (min-width: 600px){.flyout-title{font-size:1.25rem}}@media (min-width: 1024px){.flyout-title{font-size:1.5rem}}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff") format("woff")}.visually-hidden{position:absolute;width:1px;height:1px;border:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0)}.btn-blank{background-color:rgba(0,0,0,0);border:none;border-radius:0;padding:0}.nav-link,.main-link,.flyout-close-button,.flyout-link{outline:none;outline-offset:2px;text-decoration:none;color:rgba(0,0,0,.8);-webkit-transition:color 200ms;transition:color 200ms;background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;border:0;margin:0;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:.5rem}.nav-link:is(:focus-visible,:focus-within,.pretend-focus),.main-link:is(:focus-visible,:focus-within,.pretend-focus),.flyout-close-button:is(:focus-visible,:focus-within,.pretend-focus),.flyout-link:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.nav-link:hover,.main-link:hover,.flyout-close-button:hover,.flyout-link:hover,.nav-link:focus,.main-link:focus,.flyout-close-button:focus,.flyout-link:focus{color:#000}.nav-link:is(:focus-visible,:focus-within,.pretend-focus),.main-link:is(:focus-visible,:focus-within,.pretend-focus),.flyout-close-button:is(:focus-visible,:focus-within,.pretend-focus),.flyout-link:is(:focus-visible,:focus-within,.pretend-focus){z-index:1;position:relative}.nav-link>svg,.main-link>svg,.flyout-close-button>svg,.flyout-link>svg{width:1.4em;height:1.4em;-ms-flex-negative:0;flex-shrink:0}.nav-link>span,.main-link>span,.flyout-close-button>span,.flyout-link>span{-ms-flex-negative:1;flex-shrink:1}.no-list,.main-container,.flyout-linklist{list-style:none;padding-left:0;margin-top:0;margin-bottom:0}*,:host,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{font-family:"Frutiger Neue For Post",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}button{font:inherit;padding:0}a,button{border-radius:4px;outline:none;outline-offset:2px}a:is(:focus-visible,:focus-within,.pretend-focus),button:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color);border-radius:4px}img,svg{max-width:100%;max-height:100%}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){svg{color:currentColor;forced-color-adjust:preserve-parent-color}}.box>*:first-child{margin-top:0}.box>*:last-child{margin-bottom:0}.mirrored{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.bold{font-weight:700}.light{font-weight:300}.d-none{display:none !important}.d-flex{display:-ms-flexbox;display:flex}.d-inline-flex{display:-ms-inline-flexbox;display:inline-flex}.align-items-center{-ms-flex-align:center;align-items:center}@media (min-width: 1441px){.wide-container{margin:0 auto;max-width:1440px}}@media (max-width: 599.98px){.container{padding-right:16px;padding-left:16px}}@media (min-width: 600px)and (max-width: 1023.98px){.container{padding-right:32px;padding-left:32px}}@media (min-width: 1024px){.container{padding-right:40px;padding-left:40px}}@media (max-width: -0.02px){.hidden-xs{display:none}}@media (max-width: 399.98px){.hidden-sm{display:none}}@media (max-width: 599.98px){.hidden-rg{display:none}}@media (max-width: 779.98px){.hidden-md{display:none}}@media (max-width: 1023.98px){.hidden-lg{display:none}}@media (max-width: 1279.98px){.hidden-xl{display:none}}@media (max-width: 1439.98px){.hidden-xxl{display:none}}:host{--host-window-height:var(--window-height, 100vh);--calculated-header-height:calc(var(--header-height) + 1px);display:block;min-width:0;height:var(--header-height);-ms-flex-negative:0;flex-shrink:0}:host(.no-animation) *{-webkit-animation:none !important;animation:none !important;-webkit-transition:none !important;transition:none !important}@media (min-width: 1024px){.main-navigation,.main-container,.main-container li,.main-link{height:100%}}.main-navigation{font-size:1.125rem}@media (min-width: 1024px){.main-navigation{font-size:1rem;margin:0 .75rem}}@media (min-width: 1280px){.main-navigation{font-size:1.125rem}}@media (min-width: 1440px){.main-navigation{font-size:1.25rem}}@media (max-width: 1023.98px){.main-navigation{position:absolute;top:var(--calculated-header-height);left:0;background:#fff;height:calc(var(--host-window-height) - var(--calculated-header-height));width:100%;margin:0;overflow:hidden scroll;-webkit-overflow-scrolling:touch;-ms-scroll-chaining:none;overscroll-behavior:contain;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;z-index:-1;visibility:hidden;-webkit-transform:translateY(-100%);transform:translateY(-100%);-webkit-transition:visibility .35s,-webkit-transform .35s;transition:visibility .35s,-webkit-transform .35s;transition:transform .35s,visibility .35s;transition:transform .35s,visibility .35s,-webkit-transform .35s}}@media (max-width: 1023.98px)and (prefers-reduced-motion: reduce){.main-navigation{-webkit-transition:none;transition:none}}@media (max-width: 1023.98px){.main-navigation.open{-webkit-transform:translateY(0);transform:translateY(0);visibility:visible}}.main-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}@media (max-width: 1023.98px){.main-container{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:start;justify-content:flex-start;padding-top:2.5rem;padding-bottom:2.5rem}.main-container>li+li{border-top:1px solid #e6e6e6}}@media (min-width: 1024px){.main-container{padding-right:0;padding-left:0}}.main-container>li{-ms-flex:0 1 auto;flex:0 1 auto;min-width:0}.main-link{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding-right:.75rem;padding-left:.75rem;text-align:left;cursor:pointer;width:100%}@media (min-width: 1024px){.main-link svg{display:none}}@media (max-width: 1023.98px){.main-link{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;font-weight:300;padding:.625rem 0;width:100%;text-align:left}.main-link svg{width:1.5rem;height:1.5rem}}.main-link span{overflow:hidden;text-overflow:ellipsis}.main-link,.flyout-link{position:relative;color:#000}.main-link::after,.flyout-link::after{content:"";position:absolute;bottom:-1px;left:0;width:100%;height:4px;background-color:rgba(0,0,0,0);opacity:0;-webkit-transform:scaleX(0.8);transform:scaleX(0.8);-webkit-transition:opacity .25s cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform .25s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity .25s cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform .25s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity .25s cubic-bezier(0.4, 0, 0.2, 1),transform .25s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity .25s cubic-bezier(0.4, 0, 0.2, 1),transform .25s cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform .25s cubic-bezier(0.4, 0, 0.2, 1)}@media (prefers-reduced-motion: reduce){.main-link::after,.flyout-link::after{-webkit-transition:none;transition:none}}.main-link:hover::after,.main-link.focus::after,.flyout-link:hover::after,.flyout-link.focus::after{background-color:#ccc;opacity:1;-webkit-transform:scale(1);transform:scale(1);-webkit-transition:opacity .25s cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform .25s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity .25s cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform .25s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity .25s cubic-bezier(0.4, 0, 0.2, 1),transform .25s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity .25s cubic-bezier(0.4, 0, 0.2, 1),transform .25s cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform .25s cubic-bezier(0.4, 0, 0.2, 1)}.main-link.active,.flyout-link.active{font-weight:700}.main-link.active::after,.flyout-link.active::after{background-color:#fc0;opacity:1;-webkit-transform:scale(1);transform:scale(1)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.main-link:hover,.main-link.focus,.main-link.active,.flyout-link:hover,.flyout-link.focus,.flyout-link.active{background-color:Highlight}}.flyout{left:0;width:100%;background:#fff;padding-bottom:3rem;overflow:auto;-ms-scroll-chaining:none;overscroll-behavior:contain;visibility:hidden}@media (min-width: 1024px){.flyout{position:absolute;top:100%;max-height:calc(100vh - var(--header-height) - var(--meta-header-height) - 1px);z-index:-1;-webkit-box-shadow:0 0 1px 0 rgba(0,0,0,.4);box-shadow:0 0 1px 0 rgba(0,0,0,.4);-webkit-transform:translateY(-100%);transform:translateY(-100%)}.flyout.open{-webkit-box-shadow:0 0 8px 0 rgba(0,0,0,.4);box-shadow:0 0 8px 0 rgba(0,0,0,.4);-webkit-transform:translateY(0);transform:translateY(0)}}@media (max-width: 1023.98px){.flyout{position:fixed;top:0;height:100%;z-index:1;-webkit-transform:translateX(100%);transform:translateX(100%)}.flyout.open{-webkit-transform:translateX(0);transform:translateX(0)}}.flyout.open{visibility:visible}.flyout.animate{-webkit-transition:visibility .35s,-webkit-transform .35s,-webkit-box-shadow .35s;transition:visibility .35s,-webkit-transform .35s,-webkit-box-shadow .35s;transition:transform .35s,visibility .35s,box-shadow .35s;transition:transform .35s,visibility .35s,box-shadow .35s,-webkit-transform .35s,-webkit-box-shadow .35s}@media (prefers-reduced-motion: reduce){.flyout.animate{-webkit-transition:none;transition:none}}.flyout-nav{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;min-height:3.5rem;-webkit-box-sizing:content-box;box-sizing:content-box}.flyout-row{display:-ms-flexbox;display:flex;gap:1.5rem}@media (max-width: 1023.98px){.flyout-row{display:grid;grid-template-columns:1fr 1fr}}@media (max-width: 599.98px){.flyout-row{grid-template-columns:1fr}}.flyout-column{-ms-flex:1;flex:1;max-width:25%}@media (max-width: 1023.98px){.flyout-column{max-width:none}}.flyout-column h3{margin-top:0}.flyout-back-button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:1rem;font-weight:400;cursor:pointer}@media (max-width: 599.98px){.flyout-back-button{padding-right:16px;padding-left:16px}}@media (min-width: 600px)and (max-width: 1023.98px){.flyout-back-button{padding-right:32px;padding-left:32px}}@media (min-width: 1024px){.flyout-back-button{padding-right:40px;padding-left:40px}}.flyout-back-button svg{width:1.5rem;height:1.5rem}@media (min-width: 1024px){.flyout-back-button{display:none}}.flyout-close-button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-left:auto;padding:0 1.5rem;cursor:pointer}.flyout-close-button svg{width:1.5rem;height:1.5rem}@media (max-width: 1023.98px){.flyout-close-button{display:none}}.flyout-linklist li{border-top:1px solid #e6e6e6}.flyout-linklist:first-child>li{border-top-color:rgba(0,0,0,0)}.flyout-link{display:block;padding:.75rem 0}.flyout-title{margin:2.5rem 0 1.5rem 0}@media (min-width: 1024px){.flyout-title{display:none}}';export{c as P}
@@ -0,0 +1 @@
1
+ System.register(["./p-d11efd7d.system.js","./p-8b4c6f7c.system.js","./p-9b4d5e90.system.js","./p-b3014611.system.js","./p-a881c817.system.js","./p-de3a8e62.system.js","./p-d0793471.system.js","./p-7a585242.system.js","./p-d7e221af.system.js"],(function(s){"use strict";return{setters:[function(t){s("swisspost_internet_breadcrumbs",t.P)},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-f1bca231.system.js","./p-8b4c6f7c.system.js","./p-de3a8e62.system.js"],(function(t){"use strict";return{setters:[function(s){t("post_meta_navigation",s.P)},function(){},function(){}],execute:function(){}}}));