@swisspost/design-system-components 7.2.0 → 7.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/dist/cjs/{index-0fc0bf5f.js → index-49177437.js} +232 -214
  2. package/dist/cjs/index.cjs.js +16 -16
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{package-b133ab48.js → package-198f981b.js} +1 -1
  5. package/dist/cjs/{post-accordion-a079c21b.js → post-accordion-f81a31b2.js} +2 -2
  6. package/dist/cjs/{post-accordion-item-30c6ec06.js → post-accordion-item-994583fc.js} +2 -2
  7. package/dist/cjs/post-accordion-item.cjs.entry.js +3 -3
  8. package/dist/cjs/post-accordion.cjs.entry.js +3 -3
  9. package/dist/cjs/{post-alert-b5cfc4c6.js → post-alert-b160762a.js} +3 -3
  10. package/dist/cjs/post-alert.cjs.entry.js +3 -3
  11. package/dist/cjs/{post-card-control-80ff0fbb.js → post-card-control-5f309278.js} +2 -2
  12. package/dist/cjs/post-card-control.cjs.entry.js +3 -3
  13. package/dist/cjs/{post-collapsible-9bcaf6f1.js → post-collapsible-bf63b152.js} +2 -2
  14. package/dist/cjs/post-collapsible.cjs.entry.js +3 -3
  15. package/dist/cjs/post-components.cjs.js +2 -2
  16. package/dist/cjs/{post-icon-87e7972e.js → post-icon-e5af0dff.js} +2 -2
  17. package/dist/cjs/post-icon.cjs.entry.js +3 -3
  18. package/dist/cjs/{post-popover-0a73553e.js → post-popover-bb1cf2dc.js} +2 -2
  19. package/dist/cjs/post-popover.cjs.entry.js +3 -3
  20. package/dist/cjs/{post-popovercontainer-a1df1705.js → post-popovercontainer-814f2053.js} +31 -22
  21. package/dist/cjs/post-popovercontainer.cjs.entry.js +3 -3
  22. package/dist/cjs/{post-rating-2337c023.js → post-rating-7e29df2c.js} +2 -2
  23. package/dist/cjs/post-rating.cjs.entry.js +3 -3
  24. package/dist/cjs/{post-tab-header-ac4137cb.js → post-tab-header-1d896a9b.js} +2 -2
  25. package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
  26. package/dist/cjs/{post-tab-panel-307eacef.js → post-tab-panel-47481b1e.js} +2 -2
  27. package/dist/cjs/post-tab-panel.cjs.entry.js +3 -3
  28. package/dist/cjs/{post-tabs-92435b40.js → post-tabs-35d27649.js} +3 -3
  29. package/dist/cjs/post-tabs.cjs.entry.js +3 -3
  30. package/dist/cjs/{post-tag-0237216a.js → post-tag-27049429.js} +2 -2
  31. package/dist/cjs/post-tag.cjs.entry.js +3 -3
  32. package/dist/cjs/{post-tooltip-7fcd3f15.js → post-tooltip-95c1e078.js} +2 -2
  33. package/dist/cjs/post-tooltip.cjs.entry.js +3 -3
  34. package/dist/collection/collection-manifest.json +1 -1
  35. package/dist/collection/components/post-alert/post-alert.js +1 -1
  36. package/dist/collection/components/post-popover/post-popover.js +1 -1
  37. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +1 -1
  38. package/dist/collection/components/post-tabs/post-tabs.js +3 -1
  39. package/dist/collection/components/post-tooltip/post-tooltip.js +1 -1
  40. package/dist/components/package.js +1 -1
  41. package/dist/components/post-alert2.js +1 -1
  42. package/dist/components/post-popovercontainer2.js +29 -20
  43. package/dist/components/post-tabs2.js +1 -1
  44. package/dist/docs.json +25 -8
  45. package/dist/esm/{index-d9331ff3.js → index-b40b8259.js} +232 -214
  46. package/dist/esm/index.js +16 -16
  47. package/dist/esm/loader.js +2 -2
  48. package/dist/esm/{package-37b02bc3.js → package-baed1bbc.js} +1 -1
  49. package/dist/esm/{post-accordion-7eaa090e.js → post-accordion-63757789.js} +2 -2
  50. package/dist/esm/{post-accordion-item-d5466ca0.js → post-accordion-item-ff713ffa.js} +2 -2
  51. package/dist/esm/post-accordion-item.entry.js +3 -3
  52. package/dist/esm/post-accordion.entry.js +3 -3
  53. package/dist/esm/{post-alert-5bc0d11c.js → post-alert-90030a07.js} +3 -3
  54. package/dist/esm/post-alert.entry.js +3 -3
  55. package/dist/esm/{post-card-control-d64be740.js → post-card-control-a77d7957.js} +2 -2
  56. package/dist/esm/post-card-control.entry.js +3 -3
  57. package/dist/esm/{post-collapsible-0bb7ca9a.js → post-collapsible-2fd13f4e.js} +2 -2
  58. package/dist/esm/post-collapsible.entry.js +3 -3
  59. package/dist/esm/post-components.js +3 -3
  60. package/dist/esm/{post-icon-8d59faf7.js → post-icon-725a0fba.js} +2 -2
  61. package/dist/esm/post-icon.entry.js +3 -3
  62. package/dist/esm/{post-popover-0ebc24f5.js → post-popover-23ed2cdf.js} +2 -2
  63. package/dist/esm/post-popover.entry.js +3 -3
  64. package/dist/esm/{post-popovercontainer-5c0ba050.js → post-popovercontainer-f5625d65.js} +31 -22
  65. package/dist/esm/post-popovercontainer.entry.js +3 -3
  66. package/dist/esm/{post-rating-40195437.js → post-rating-0bfc12ec.js} +2 -2
  67. package/dist/esm/post-rating.entry.js +3 -3
  68. package/dist/esm/{post-tab-header-ff165ebb.js → post-tab-header-5be0820b.js} +2 -2
  69. package/dist/esm/post-tab-header.entry.js +3 -3
  70. package/dist/esm/{post-tab-panel-d40b9704.js → post-tab-panel-a2a06c2d.js} +2 -2
  71. package/dist/esm/post-tab-panel.entry.js +3 -3
  72. package/dist/esm/{post-tabs-6ee5542b.js → post-tabs-c1cf60cd.js} +3 -3
  73. package/dist/esm/post-tabs.entry.js +3 -3
  74. package/dist/esm/{post-tag-e76f88e5.js → post-tag-1158169f.js} +2 -2
  75. package/dist/esm/post-tag.entry.js +3 -3
  76. package/dist/esm/{post-tooltip-990b8b2b.js → post-tooltip-966fde7a.js} +2 -2
  77. package/dist/esm/post-tooltip.entry.js +3 -3
  78. package/dist/post-components/index.esm.js +1 -1
  79. package/dist/post-components/p-09c9ec65.entry.js +1 -0
  80. package/dist/post-components/p-105f8fe5.entry.js +1 -0
  81. package/dist/post-components/{p-287f66b9.js → p-11e13d7d.js} +1 -1
  82. package/dist/post-components/p-1d351eda.js +2 -0
  83. package/dist/post-components/p-408e8d5c.entry.js +1 -0
  84. package/dist/post-components/{p-ee12644d.js → p-40cbd3a9.js} +1 -1
  85. package/dist/post-components/p-418e4351.entry.js +1 -0
  86. package/dist/post-components/{p-aef9ee8b.js → p-41bd4480.js} +1 -1
  87. package/dist/post-components/{p-3ce051c9.js → p-4f16eac0.js} +1 -1
  88. package/dist/post-components/{p-deb19ca0.js → p-6fa5a17d.js} +1 -1
  89. package/dist/post-components/p-803678de.entry.js +1 -0
  90. package/dist/post-components/p-8ba9721a.entry.js +1 -0
  91. package/dist/post-components/p-92636363.js +1 -0
  92. package/dist/post-components/p-9ac48e84.entry.js +1 -0
  93. package/dist/post-components/p-9c5b9e7c.entry.js +1 -0
  94. package/dist/post-components/{p-f86b2ea1.js → p-9c842093.js} +1 -1
  95. package/dist/post-components/{p-3f2c54ad.js → p-b3a7e242.js} +1 -1
  96. package/dist/post-components/p-b5f6a7b5.entry.js +1 -0
  97. package/dist/post-components/p-b675a470.entry.js +1 -0
  98. package/dist/post-components/p-ba275788.entry.js +1 -0
  99. package/dist/post-components/p-c2906b17.js +1 -0
  100. package/dist/post-components/{p-0637689e.js → p-c3e6894d.js} +1 -1
  101. package/dist/post-components/{p-d6e0e495.js → p-cbca927d.js} +1 -1
  102. package/dist/post-components/p-ce4fff0a.js +1 -0
  103. package/dist/post-components/p-daf27e9c.entry.js +1 -0
  104. package/dist/post-components/{p-69bd634e.js → p-f11cb5ab.js} +1 -1
  105. package/dist/post-components/p-f4b64493.entry.js +1 -0
  106. package/dist/post-components/p-f665b245.entry.js +1 -0
  107. package/dist/post-components/p-f80d0c5f.js +1 -0
  108. package/dist/post-components/p-fa1125d9.js +1 -0
  109. package/dist/post-components/post-components.esm.js +1 -1
  110. package/dist/types/components/post-tabs/post-tabs.d.ts +2 -0
  111. package/dist/types/stencil-public-runtime.d.ts +0 -2
  112. package/loader/index.d.ts +3 -0
  113. package/package.json +9 -9
  114. package/dist/collection/index.spec.js +0 -27
  115. package/dist/post-components/p-0ba99d76.entry.js +0 -1
  116. package/dist/post-components/p-0e97fb19.entry.js +0 -1
  117. package/dist/post-components/p-19ee1efc.entry.js +0 -1
  118. package/dist/post-components/p-23e7f6e3.entry.js +0 -1
  119. package/dist/post-components/p-305ab60c.js +0 -1
  120. package/dist/post-components/p-62229794.entry.js +0 -1
  121. package/dist/post-components/p-7dc73c43.entry.js +0 -1
  122. package/dist/post-components/p-7e59cbd2.js +0 -1
  123. package/dist/post-components/p-8559d3c0.entry.js +0 -1
  124. package/dist/post-components/p-941e5ef0.js +0 -1
  125. package/dist/post-components/p-95003bde.entry.js +0 -1
  126. package/dist/post-components/p-a1da0539.js +0 -1
  127. package/dist/post-components/p-a5d9115f.entry.js +0 -1
  128. package/dist/post-components/p-a9aa57f0.entry.js +0 -1
  129. package/dist/post-components/p-c21da8cb.js +0 -1
  130. package/dist/post-components/p-c655db7c.entry.js +0 -1
  131. package/dist/post-components/p-ca2ff4bb.entry.js +0 -1
  132. package/dist/post-components/p-d2eafe06.entry.js +0 -1
  133. package/dist/post-components/p-d9eab6d9.js +0 -2
  134. package/dist/post-components/p-ff0b0a9a.entry.js +0 -1
@@ -1,6 +1,6 @@
1
- export { P as post_alert } from './post-alert-5bc0d11c.js';
2
- import './index-d9331ff3.js';
3
- import './package-37b02bc3.js';
1
+ export { P as post_alert } from './post-alert-90030a07.js';
2
+ import './index-b40b8259.js';
3
+ import './package-baed1bbc.js';
4
4
  import './fade-7fd71785.js';
5
5
  import './index-d1eba94c.js';
6
6
  import './constants-8d548297.js';
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d9331ff3.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b40b8259.js';
2
2
  import { c as checkOneOf } from './check-one-of-6b3ef8eb.js';
3
3
  import { c as checkNonEmpty } from './check-non-empty-58bd6b17.js';
4
- import { v as version } from './package-37b02bc3.js';
4
+ import { v as version } from './package-baed1bbc.js';
5
5
 
6
6
  function parse(scss) {
7
7
  return Object.entries(scss).reduce((object, [path, value]) => {
@@ -1,6 +1,6 @@
1
- export { P as post_card_control } from './post-card-control-d64be740.js';
2
- import './index-d9331ff3.js';
1
+ export { P as post_card_control } from './post-card-control-a77d7957.js';
2
+ import './index-b40b8259.js';
3
3
  import './check-one-of-6b3ef8eb.js';
4
4
  import './check-non-empty-58bd6b17.js';
5
5
  import './constants-8d548297.js';
6
- import './package-37b02bc3.js';
6
+ import './package-baed1bbc.js';
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d9331ff3.js';
2
- import { v as version } from './package-37b02bc3.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b40b8259.js';
2
+ import { v as version } from './package-baed1bbc.js';
3
3
  import { d as checkEmptyOrType } from './index-d1eba94c.js';
4
4
 
5
5
  function isMotionReduced() {
@@ -1,6 +1,6 @@
1
- export { P as post_collapsible } from './post-collapsible-0bb7ca9a.js';
2
- import './index-d9331ff3.js';
3
- import './package-37b02bc3.js';
1
+ export { P as post_collapsible } from './post-collapsible-2fd13f4e.js';
2
+ import './index-b40b8259.js';
3
+ import './package-baed1bbc.js';
4
4
  import './index-d1eba94c.js';
5
5
  import './constants-8d548297.js';
6
6
  import './check-one-of-6b3ef8eb.js';
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-d9331ff3.js';
2
- export { s as setNonce } from './index-d9331ff3.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-b40b8259.js';
2
+ export { s as setNonce } from './index-b40b8259.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.18.3 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.19.1 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-d9331ff3.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-b40b8259.js';
2
2
  import { c as checkEmptyOrOneOf, d as checkEmptyOrType, a as checkType } from './index-d1eba94c.js';
3
- import { v as version } from './package-37b02bc3.js';
3
+ import { v as version } from './package-baed1bbc.js';
4
4
  import { c as checkNonEmpty } from './check-non-empty-58bd6b17.js';
5
5
 
6
6
  const postIconCss = ":host{display:inline-block;width:1em;height:1em;vertical-align:-0.15em}span{display:block;width:100%;height:100%;fill:currentColor;forced-color-adjust:preserve-parent-color;background-color:currentColor;-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%}:host([flip-h]:not([flip-h=false])){scale:-1 1}:host([flip-v]:not([flip-v=false])){scale:1 -1}:host([flip-h][flip-v]:not([flip-h=false],[flip-v=false])){scale:-1}:host([animation]){transform-origin:center}:host([animation=cylon]){animation:icon-animation-cylon .75s ease-in-out infinite alternate}:host([animation=cylon-vertical]){animation:icon-animation-cylon-vertical .75s ease-in-out infinite alternate}:host([animation=spin]){animation:icon-animation-spin 2s linear infinite normal}:host([animation=spin-reverse]){animation:icon-animation-spin 2s linear infinite reverse}:host([animation=fade]){animation:icon-animation-fade .75s ease-in-out infinite alternate}:host([animation=throb]){animation:icon-animation-throb .75s ease-in-out infinite alternate}@keyframes icon-animation-cylon{from{transform:translateX(-25%)}to{transform:translateX(25%)}}@keyframes icon-animation-cylon-vertical{from{transform:translateY(25%)}to{transform:translateY(-25%)}}@keyframes icon-animation-fade{from{opacity:.1}to{opacity:1}}@keyframes icon-animation-spin{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes icon-animation-throb{from{opacity:.5;transform:scale(0.5)}to{opacity:1;transform:scale(1)}}";
@@ -1,7 +1,7 @@
1
- export { P as post_icon } from './post-icon-8d59faf7.js';
2
- import './index-d9331ff3.js';
1
+ export { P as post_icon } from './post-icon-725a0fba.js';
2
+ import './index-b40b8259.js';
3
3
  import './index-d1eba94c.js';
4
4
  import './constants-8d548297.js';
5
5
  import './check-one-of-6b3ef8eb.js';
6
- import './package-37b02bc3.js';
6
+ import './package-baed1bbc.js';
7
7
  import './check-non-empty-58bd6b17.js';
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-d9331ff3.js';
2
- import { v as version } from './package-37b02bc3.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-b40b8259.js';
2
+ import { v as version } from './package-baed1bbc.js';
3
3
  import { g as getAttributeObserver } from './attribute-observer-37fa950a.js';
4
4
 
5
5
  const postPopoverCss = "/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\n * Copyright 2021 by Swiss Post, Information Technology\n */.btn-close{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button;border-radius:4px;color:var(--post-gray-80);transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;cursor:pointer}.btn-close{outline-style:none !important;outline-offset:2px !important;outline-width:2px !important;outline-color:var(--post-focus-color) !important}.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:solid !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline-style:solid !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.btn-close::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;content:\"\";display:block;height:1.5rem;width:1.5rem}:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-close{color:var(--post-contrast-color)}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:var(--post-contrast-color)}.btn-close:disabled{color:var(--post-gray-40)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close{color:CanvasText;forced-color-adjust:none}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:Highlight}}.btn-close-white{color:#e6e6e6}.btn-close-white:focus,.btn-close-white:not(:disabled):hover,.btn-close-white.pretend-hover{color:#fff}.btn-close-white:disabled{color:#999}*{box-sizing:border-box}:host{--post-contrast-color:#fff;--post-bg-rgb:51, 51, 51;display:block}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.popover-container{display:flex;align-items:self-start;padding:.5em;min-width:160px;max-width:280px}@media (max-width: 599.98px){.popover-container{max-width:100%}}.popover-content{padding:.5em;flex-grow:1}";
@@ -1,4 +1,4 @@
1
- export { P as post_popover } from './post-popover-0ebc24f5.js';
2
- import './index-d9331ff3.js';
3
- import './package-37b02bc3.js';
1
+ export { P as post_popover } from './post-popover-23ed2cdf.js';
2
+ import './index-b40b8259.js';
3
+ import './package-baed1bbc.js';
4
4
  import './attribute-observer-37fa950a.js';
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d9331ff3.js';
2
- import { v as version } from './package-37b02bc3.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b40b8259.js';
2
+ import { v as version } from './package-baed1bbc.js';
3
3
 
4
4
  /**
5
5
  * Custom positioning reference element.
@@ -120,12 +120,21 @@ function getPaddingObject(padding) {
120
120
  };
121
121
  }
122
122
  function rectToClientRect(rect) {
123
+ const {
124
+ x,
125
+ y,
126
+ width,
127
+ height
128
+ } = rect;
123
129
  return {
124
- ...rect,
125
- top: rect.y,
126
- left: rect.x,
127
- right: rect.x + rect.width,
128
- bottom: rect.y + rect.height
130
+ width,
131
+ height,
132
+ top: y,
133
+ left: x,
134
+ right: x + width,
135
+ bottom: y + height,
136
+ x,
137
+ y
129
138
  };
130
139
  }
131
140
 
@@ -1192,6 +1201,15 @@ function isOverflowElement(element) {
1192
1201
  function isTableElement(element) {
1193
1202
  return ['table', 'td', 'th'].includes(getNodeName(element));
1194
1203
  }
1204
+ function isTopLayer(element) {
1205
+ return [':popover-open', ':modal'].some(selector => {
1206
+ try {
1207
+ return element.matches(selector);
1208
+ } catch (e) {
1209
+ return false;
1210
+ }
1211
+ });
1212
+ }
1195
1213
  function isContainingBlock(element) {
1196
1214
  const webkit = isWebKit();
1197
1215
  const css = getComputedStyle(element);
@@ -1202,11 +1220,13 @@ function isContainingBlock(element) {
1202
1220
  function getContainingBlock(element) {
1203
1221
  let currentNode = getParentNode(element);
1204
1222
  while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
1223
+ if (isTopLayer(currentNode)) {
1224
+ return null;
1225
+ }
1205
1226
  if (isContainingBlock(currentNode)) {
1206
1227
  return currentNode;
1207
- } else {
1208
- currentNode = getParentNode(currentNode);
1209
1228
  }
1229
+ currentNode = getParentNode(currentNode);
1210
1230
  }
1211
1231
  return null;
1212
1232
  }
@@ -1228,8 +1248,8 @@ function getNodeScroll(element) {
1228
1248
  };
1229
1249
  }
1230
1250
  return {
1231
- scrollLeft: element.pageXOffset,
1232
- scrollTop: element.pageYOffset
1251
+ scrollLeft: element.scrollX,
1252
+ scrollTop: element.scrollY
1233
1253
  };
1234
1254
  }
1235
1255
  function getParentNode(node) {
@@ -1401,17 +1421,6 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
1401
1421
  });
1402
1422
  }
1403
1423
 
1404
- const topLayerSelectors = [':popover-open', ':modal'];
1405
- function isTopLayer(element) {
1406
- return topLayerSelectors.some(selector => {
1407
- try {
1408
- return element.matches(selector);
1409
- } catch (e) {
1410
- return false;
1411
- }
1412
- });
1413
- }
1414
-
1415
1424
  function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
1416
1425
  let {
1417
1426
  elements,
@@ -1,3 +1,3 @@
1
- export { P as post_popovercontainer } from './post-popovercontainer-5c0ba050.js';
2
- import './index-d9331ff3.js';
3
- import './package-37b02bc3.js';
1
+ export { P as post_popovercontainer } from './post-popovercontainer-f5625d65.js';
2
+ import './index-b40b8259.js';
3
+ import './package-baed1bbc.js';
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d9331ff3.js';
2
- import { v as version } from './package-37b02bc3.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b40b8259.js';
2
+ import { v as version } from './package-baed1bbc.js';
3
3
 
4
4
  const postRatingCss = "/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:inline-block}.rating{display:flex;flex-wrap:wrap;overflow:hidden;margin:0 -0.25rem;border-radius:4px}.rating .star{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fff;position:relative;width:2rem;height:2rem;cursor:pointer}.rating .star .stroke,.rating .star .fill{display:block;width:100%;height:100%;transition:all ease 100ms}.rating .star .stroke{position:absolute;inset:auto;z-index:1;color:var(--post-rating-star-stroke)}.rating .star .fill{margin:1px;width:calc(100% - 2px);height:calc(100% - 2px);color:var(--post-rating-star-fill)}.rating .star.before-hover{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fc0}.rating .star.active{--post-rating-star-stroke:hsl(0, 0%, 20%);--post-rating-star-fill:#fc0}.rating .star.hover{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fc0}.rating .star.after-active{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:hsl(0, 0%, 80%)}.rating :focus{outline:none}.rating:focus-visible{outline-offset:2px;outline:2px solid #1976c8}.rating[aria-readonly=true] .star,.rating[aria-disabled=true] .star{cursor:default}.rating[aria-disabled=true] .star{--post-rating-star-stroke:hsl(0, 0%, 60%);--post-rating-star-fill:#fff}.rating[aria-disabled=true] .star.active{cursor:default;--post-rating-star-stroke:hsl(0, 0%, 60%);--post-rating-star-fill:hsl(0, 0%, 90%)}";
5
5
  const PostRatingStyle0 = postRatingCss;
@@ -1,3 +1,3 @@
1
- export { P as post_rating } from './post-rating-40195437.js';
2
- import './index-d9331ff3.js';
3
- import './package-37b02bc3.js';
1
+ export { P as post_rating } from './post-rating-0bfc12ec.js';
2
+ import './index-b40b8259.js';
3
+ import './package-baed1bbc.js';
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-d9331ff3.js';
2
- import { v as version } from './package-37b02bc3.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-b40b8259.js';
2
+ import { v as version } from './package-baed1bbc.js';
3
3
  import { c as checkNonEmpty } from './check-non-empty-58bd6b17.js';
4
4
 
5
5
  const postTabHeaderCss = ".tab-title[role=tab]{display:inline-block;cursor:pointer;position:relative;box-sizing:border-box;padding:1rem;transition:background-color 100ms;border-right:1px solid rgba(0,0,0,0);border-left:1px solid rgba(0,0,0,0);outline-color:currentColor;opacity:.7;color:var(--post-contrast-color);text-decoration:none;background-color:rgba(0,0,0,0)}.tab-title[role=tab]:focus{background-color:unset;color:var(--post-contrast-color)}.tab-title[role=tab]:hover{opacity:1;background-color:rgba(var(--post-contrast-color-rgb), 0.6);color:var(--post-contrast-color-inverted)}.tab-title[role=tab]:focus-visible{outline:rgba(0,0,0,0);opacity:1;background-color:rgba(var(--post-contrast-color-rgb), 0.6);color:var(--post-contrast-color-inverted);box-shadow:none}.tab-title[role=tab]:focus-visible::after{content:\"\";display:block;position:absolute;top:2px;right:1px;bottom:0;left:1px;box-shadow:0 0 0 1px #fff,0 0 0 2px #333}.tab-title[role=tab].active{z-index:1;border-right-color:#ccc;border-left-color:#ccc;opacity:1;background-color:var(--post-contrast-color-inverted);color:var(--post-contrast-color);font-weight:700}.tab-title[role=tab].active::before{content:\"\";display:block;position:absolute;top:0;right:-1px;left:-1px;height:.25rem;background-color:#fc0}:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .tab-title[role=tab]:hover{background-color:rgba(255,255,255,.2)}:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .tab-title[role=tab]:focus-visible{background-color:rgba(255,255,255,.2)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title[role=tab]{opacity:1;border-left-color:Canvas;border-right-color:Canvas;color:LinkText}.tab-title[role=tab]:hover,.tab-title[role=tab]:focus,.tab-title[role=tab]:focus-within,.tab-title[role=tab]:focus-visible{outline:2px solid Highlight;outline-offset:-0.25rem}.tab-title[role=tab].active{border-left-color:ButtonText;border-right-color:ButtonText;color:Highlight}.tab-title[role=tab].active::before{background-color:Highlight}}.bg-yellow .tab-title{background-color:#fc0}.bg-yellow .tab-title.active{background-color:#fc0}.bg-yellow .nav-item{background-color:#fc0}.bg-white .tab-title{background-color:#fff}.bg-white .tab-title.active{background-color:#fff}.bg-white .nav-item{background-color:#fff}.bg-light .tab-title{background-color:#faf9f8}.bg-light .tab-title.active{background-color:#faf9f8}.bg-light .nav-item{background-color:#faf9f8}.bg-gray .tab-title{background-color:#f4f3f1}.bg-gray .tab-title.active{background-color:#f4f3f1}.bg-gray .nav-item{background-color:#f4f3f1}.bg-dark .tab-title{background-color:#333}.bg-dark .tab-title.active{background-color:#333}.bg-dark .nav-item{background-color:#333}.bg-black .tab-title{background-color:#000}.bg-black .tab-title.active{background-color:#000}.bg-black .nav-item{background-color:#000}.bg-primary .tab-title{background-color:#333}.bg-primary .tab-title.active{background-color:#333}.bg-primary .nav-item{background-color:#333}.bg-secondary .tab-title{background-color:#666}.bg-secondary .tab-title.active{background-color:#666}.bg-secondary .nav-item{background-color:#666}.bg-success .tab-title{background-color:#2c871d}.bg-success .tab-title.active{background-color:#2c871d}.bg-success .nav-item{background-color:#2c871d}.bg-warning .tab-title{background-color:#f49e00}.bg-warning .tab-title.active{background-color:#f49e00}.bg-warning .nav-item{background-color:#f49e00}.bg-error .tab-title{background-color:#a51728}.bg-error .tab-title.active{background-color:#a51728}.bg-error .nav-item{background-color:#a51728}.bg-info .tab-title{background-color:#cce4ee}.bg-info .tab-title.active{background-color:#cce4ee}.bg-info .nav-item{background-color:#cce4ee}.bg-success-background .tab-title{background-color:#c0debb}.bg-success-background .tab-title.active{background-color:#c0debb}.bg-success-background .nav-item{background-color:#c0debb}.bg-warning-background .tab-title{background-color:#fce2b2}.bg-warning-background .tab-title.active{background-color:#fce2b2}.bg-warning-background .nav-item{background-color:#fce2b2}.bg-error-background .tab-title{background-color:#ffdade}.bg-error-background .tab-title.active{background-color:#ffdade}.bg-error-background .nav-item{background-color:#ffdade}.bg-nightblue .tab-title{background-color:#004976}.bg-nightblue .tab-title.active{background-color:#004976}.bg-nightblue .nav-item{background-color:#004976}.bg-nightblue-bright .tab-title{background-color:#0076a8}.bg-nightblue-bright .tab-title.active{background-color:#0076a8}.bg-nightblue-bright .nav-item{background-color:#0076a8}.bg-petrol .tab-title{background-color:#006d68}.bg-petrol .tab-title.active{background-color:#006d68}.bg-petrol .nav-item{background-color:#006d68}.bg-petrol-bright .tab-title{background-color:#00968f}.bg-petrol-bright .tab-title.active{background-color:#00968f}.bg-petrol-bright .nav-item{background-color:#00968f}.bg-coral .tab-title{background-color:#9e2a2f}.bg-coral .tab-title.active{background-color:#9e2a2f}.bg-coral .nav-item{background-color:#9e2a2f}.bg-coral-bright .tab-title{background-color:#e03c31}.bg-coral-bright .tab-title.active{background-color:#e03c31}.bg-coral-bright .nav-item{background-color:#e03c31}.bg-olive .tab-title{background-color:#716135}.bg-olive .tab-title.active{background-color:#716135}.bg-olive .nav-item{background-color:#716135}.bg-olive-bright .tab-title{background-color:#aa9d2e}.bg-olive-bright .tab-title.active{background-color:#aa9d2e}.bg-olive-bright .nav-item{background-color:#aa9d2e}.bg-purple .tab-title{background-color:#80276c}.bg-purple .tab-title.active{background-color:#80276c}.bg-purple .nav-item{background-color:#80276c}.bg-purple-bright .tab-title{background-color:#c5299b}.bg-purple-bright .tab-title.active{background-color:#c5299b}.bg-purple-bright .nav-item{background-color:#c5299b}.bg-aubergine .tab-title{background-color:#523178}.bg-aubergine .tab-title.active{background-color:#523178}.bg-aubergine .nav-item{background-color:#523178}.bg-aubergine-bright .tab-title{background-color:#7566a0}.bg-aubergine-bright .tab-title.active{background-color:#7566a0}.bg-aubergine-bright .nav-item{background-color:#7566a0}[class*=bg-] .tab-title.active:focus::after{background-color:rgba(255,255,255,.2)}@supports selector(*:focus-visible){[class*=bg-] .tab-title.active:focus::after{background-color:unset}[class*=bg-] .tab-title.active:focus-visible::after{background-color:rgba(255,255,255,.2)}}/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:block}.tab-title{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button}";
@@ -1,5 +1,5 @@
1
- export { P as post_tab_header } from './post-tab-header-ff165ebb.js';
2
- import './index-d9331ff3.js';
3
- import './package-37b02bc3.js';
1
+ export { P as post_tab_header } from './post-tab-header-5be0820b.js';
2
+ import './index-b40b8259.js';
3
+ import './package-baed1bbc.js';
4
4
  import './check-non-empty-58bd6b17.js';
5
5
  import './constants-8d548297.js';
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-d9331ff3.js';
2
- import { v as version } from './package-37b02bc3.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-b40b8259.js';
2
+ import { v as version } from './package-baed1bbc.js';
3
3
 
4
4
  const postTabPanelCss = ":host{display:none}";
5
5
  const PostTabPanelStyle0 = postTabPanelCss;
@@ -1,3 +1,3 @@
1
- export { P as post_tab_panel } from './post-tab-panel-d40b9704.js';
2
- import './index-d9331ff3.js';
3
- import './package-37b02bc3.js';
1
+ export { P as post_tab_panel } from './post-tab-panel-a2a06c2d.js';
2
+ import './index-b40b8259.js';
3
+ import './package-baed1bbc.js';
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d9331ff3.js';
2
- import { v as version } from './package-37b02bc3.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b40b8259.js';
2
+ import { v as version } from './package-baed1bbc.js';
3
3
  import { f as fadeOut, a as fadeIn } from './fade-7fd71785.js';
4
4
 
5
5
  const postTabsCss = ".tabs-wrapper{position:relative;padding-top:1rem;border:0;background-color:rgba(var(--post-contrast-color-rgb), 0.02)}.tabs-wrapper::after{content:\"\";position:absolute;bottom:0;width:100%;height:1px;background-color:#ccc}.tabs-wrapper .tabs{background-color:rgba(0,0,0,0) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tabs-wrapper::after{background-color:ButtonBorder}}.tabs{margin:0;padding:0;list-style:none;display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;white-space:nowrap}.tabs::after{content:\"\";display:block;flex:1 0 auto;width:1rem}.tab-content{padding-top:1rem}.bg-yellow .tabs-wrapper{background-color:#fc0}.bg-white .tabs-wrapper{background-color:#fff}.bg-light .tabs-wrapper{background-color:#faf9f8}.bg-gray .tabs-wrapper{background-color:#f4f3f1}.bg-dark .tabs-wrapper{background-color:#333}.bg-black .tabs-wrapper{background-color:#000}.bg-primary .tabs-wrapper{background-color:#333}.bg-secondary .tabs-wrapper{background-color:#666}.bg-success .tabs-wrapper{background-color:#2c871d}.bg-warning .tabs-wrapper{background-color:#f49e00}.bg-error .tabs-wrapper{background-color:#a51728}.bg-info .tabs-wrapper{background-color:#cce4ee}.bg-success-background .tabs-wrapper{background-color:#c0debb}.bg-warning-background .tabs-wrapper{background-color:#fce2b2}.bg-error-background .tabs-wrapper{background-color:#ffdade}.bg-nightblue .tabs-wrapper{background-color:#004976}.bg-nightblue-bright .tabs-wrapper{background-color:#0076a8}.bg-petrol .tabs-wrapper{background-color:#006d68}.bg-petrol-bright .tabs-wrapper{background-color:#00968f}.bg-coral .tabs-wrapper{background-color:#9e2a2f}.bg-coral-bright .tabs-wrapper{background-color:#e03c31}.bg-olive .tabs-wrapper{background-color:#716135}.bg-olive-bright .tabs-wrapper{background-color:#aa9d2e}.bg-purple .tabs-wrapper{background-color:#80276c}.bg-purple-bright .tabs-wrapper{background-color:#c5299b}.bg-aubergine .tabs-wrapper{background-color:#523178}.bg-aubergine-bright .tabs-wrapper{background-color:#7566a0}:host{display:block}";
@@ -143,7 +143,7 @@ const PostTabs = class {
143
143
  nextTab.focus();
144
144
  }
145
145
  render() {
146
- return (h(Host, { key: '38a0e3f686dab8cc1ea9dc23cc6e275fe0e6b45d', "data-version": version }, h("div", { key: 'c67273069e5d3ba858bd6c5da8684bbd2f8c398b', class: "tabs-wrapper" }, h("div", { key: 'fc3e725607107f3b5d3c969e4107c229ca8f8c66', class: "tabs", role: "tablist" }, h("slot", { key: 'caf8d1a6901327d0b8faebb36ce239d7368e2a22', name: "tabs", onSlotchange: () => this.enableTabs() }))), h("div", { key: 'f8cf7c8c8cbb3fd308cebc34513b16926f8e5c81', class: "tab-content" }, h("slot", { key: '7f7ff954545f85e6caab71d7265017607e25262b', onSlotchange: () => this.moveMisplacedTabs() }))));
146
+ return (h(Host, { key: 'f7aabebf0645b5d9db9028a0b1807e49d6f4e994', "data-version": version }, h("div", { key: 'b62f738a4df453f9acf94825f2d1626dc40c4eb1', class: "tabs-wrapper", part: "tabs" }, h("div", { key: 'a9bd32fc939cfdff73d2c48982551cceedb5bd2a', class: "tabs", role: "tablist" }, h("slot", { key: '4a8c2bc4815debd4d6951acbce224d3f1fd6b169', name: "tabs", onSlotchange: () => this.enableTabs() }))), h("div", { key: 'c7b2543a1decdc2bfe7a683b7bd193586485d012', class: "tab-content", part: "content" }, h("slot", { key: 'af19b3e89f8ca0cecf59f4426e4b5d3ac4efbc75', onSlotchange: () => this.moveMisplacedTabs() }))));
147
147
  }
148
148
  get host() { return getElement(this); }
149
149
  };
@@ -1,4 +1,4 @@
1
- export { P as post_tabs } from './post-tabs-6ee5542b.js';
2
- import './index-d9331ff3.js';
3
- import './package-37b02bc3.js';
1
+ export { P as post_tabs } from './post-tabs-c1cf60cd.js';
2
+ import './index-b40b8259.js';
3
+ import './package-baed1bbc.js';
4
4
  import './fade-7fd71785.js';
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-d9331ff3.js';
2
- import { v as version } from './package-37b02bc3.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-b40b8259.js';
2
+ import { v as version } from './package-baed1bbc.js';
3
3
 
4
4
  const postTagCss = "/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\n * Copyright 2021 by Swiss Post, Information Technology\n */.tag,.tag:where(:has(:not(pre))){--post-tag-bg:hsl(0, 0%, 90%);--post-tag-fg:#000;display:inline-flex;align-items:center;gap:.25rem;padding:0 .5rem;max-width:18.5rem;background-color:var(--post-tag-bg);border:1px solid rgba(0,0,0,0);border-radius:.25rem;font-size:1rem;line-height:1.875rem;white-space:nowrap;color:var(--post-tag-fg)}.tag post-icon,.tag:where(:has(:not(pre))) post-icon{flex:0 0 auto;width:1.25rem;height:1.25rem}.tag .tag-text,.tag:where(:has(:not(pre))) .tag-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag .tag-text svg,.tag .tag-text img,.tag:where(:has(:not(pre))) .tag-text svg,.tag:where(:has(:not(pre))) .tag-text img{display:inline-block;height:1.25rem !important;vertical-align:text-top}.tag.tag-sm,.tag:where(:has(:not(pre))).tag-sm{line-height:1.5rem}.tag.tag-sm .tag-icon,.tag:where(:has(:not(pre))).tag-sm .tag-icon{width:1rem;height:1rem}.tag.tag-white,.tag:where(:has(:not(pre))).tag-white{--post-tag-bg:#fff;--post-tag-fg:#000}.tag.tag-yellow,.tag:where(:has(:not(pre))).tag-yellow{--post-tag-bg:#fc0;--post-tag-fg:#000}.tag.tag-success,.tag:where(:has(:not(pre))).tag-success{--post-tag-bg:#2c871d;--post-tag-fg:#fff}.tag.tag-warning,.tag:where(:has(:not(pre))).tag-warning{--post-tag-bg:#f49e00;--post-tag-fg:#000}.tag.tag-danger,.tag:where(:has(:not(pre))).tag-danger{--post-tag-bg:#a51728;--post-tag-fg:#fff}.tag.tag-info,.tag:where(:has(:not(pre))).tag-info{--post-tag-bg:#cce4ee;--post-tag-fg:#000}.tag.tag-white,.tag:where(:has(:not(pre))).tag-white{border-color:var(--post-contrast-color)}pre .tag,pre .tag:where(:has(:not(pre))){display:inline;padding:initial;max-width:initial;background:initial;border:initial;border-radius:initial;font-size:inherit;line-height:inherit;white-space:unset}*,*:before,*:after{box-sizing:border-box}.tag-text ::slotted(svg),.tag-text ::slotted(img){display:inline-block !important;height:1.25rem !important;vertical-align:text-top !important}";
5
5
  const PostTagStyle0 = postTagCss;
@@ -1,3 +1,3 @@
1
- export { P as post_tag } from './post-tag-e76f88e5.js';
2
- import './index-d9331ff3.js';
3
- import './package-37b02bc3.js';
1
+ export { P as post_tag } from './post-tag-1158169f.js';
2
+ import './index-b40b8259.js';
3
+ import './package-baed1bbc.js';
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-d9331ff3.js';
2
- import { v as version$1 } from './package-37b02bc3.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-b40b8259.js';
2
+ import { v as version$1 } from './package-baed1bbc.js';
3
3
  import { g as getAttributeObserver } from './attribute-observer-37fa950a.js';
4
4
 
5
5
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -1,4 +1,4 @@
1
- export { P as post_tooltip } from './post-tooltip-990b8b2b.js';
2
- import './index-d9331ff3.js';
3
- import './package-37b02bc3.js';
1
+ export { P as post_tooltip } from './post-tooltip-966fde7a.js';
2
+ import './index-b40b8259.js';
3
+ import './package-baed1bbc.js';
4
4
  import './attribute-observer-37fa950a.js';
@@ -1 +1 @@
1
- export{P as PostAccordion}from"./p-f86b2ea1.js";export{P as PostAccordionItem}from"./p-3f2c54ad.js";export{P as PostAlert}from"./p-c21da8cb.js";export{P as PostCardControl}from"./p-d6e0e495.js";export{P as PostCollapsible}from"./p-deb19ca0.js";export{P as PostIcon}from"./p-3ce051c9.js";export{P as PostPopover}from"./p-69bd634e.js";export{P as PostPopovercontainer}from"./p-7e59cbd2.js";export{P as PostRating}from"./p-0637689e.js";export{P as PostTabs}from"./p-a1da0539.js";export{P as PostTabHeader}from"./p-287f66b9.js";export{P as PostTabPanel}from"./p-305ab60c.js";export{P as PostTooltip}from"./p-ee12644d.js";export{P as PostTag}from"./p-aef9ee8b.js";import"./p-d9eab6d9.js";import"./p-941e5ef0.js";import"./p-247a1668.js";import"./p-611b3c41.js";import"./p-f91c0e1b.js";import"./p-440193f4.js";import"./p-2737eaf5.js";import"./p-b095519d.js";import"./p-6adeaa6c.js";
1
+ export{P as PostAccordion}from"./p-9c842093.js";export{P as PostAccordionItem}from"./p-b3a7e242.js";export{P as PostAlert}from"./p-92636363.js";export{P as PostCardControl}from"./p-cbca927d.js";export{P as PostCollapsible}from"./p-6fa5a17d.js";export{P as PostIcon}from"./p-4f16eac0.js";export{P as PostPopover}from"./p-f11cb5ab.js";export{P as PostPopovercontainer}from"./p-c2906b17.js";export{P as PostRating}from"./p-c3e6894d.js";export{P as PostTabs}from"./p-fa1125d9.js";export{P as PostTabHeader}from"./p-11e13d7d.js";export{P as PostTabPanel}from"./p-f80d0c5f.js";export{P as PostTooltip}from"./p-40cbd3a9.js";export{P as PostTag}from"./p-41bd4480.js";import"./p-1d351eda.js";import"./p-ce4fff0a.js";import"./p-247a1668.js";import"./p-611b3c41.js";import"./p-f91c0e1b.js";import"./p-440193f4.js";import"./p-2737eaf5.js";import"./p-b095519d.js";import"./p-6adeaa6c.js";
@@ -0,0 +1 @@
1
+ export{P as post_tab_header}from"./p-11e13d7d.js";import"./p-1d351eda.js";import"./p-ce4fff0a.js";import"./p-b095519d.js";import"./p-440193f4.js";
@@ -0,0 +1 @@
1
+ export{P as post_tooltip}from"./p-40cbd3a9.js";import"./p-1d351eda.js";import"./p-ce4fff0a.js";import"./p-6adeaa6c.js";
@@ -1 +1 @@
1
- import{r as o,h as t,H as r,g as e}from"./p-d9eab6d9.js";import{v as a}from"./p-941e5ef0.js";import{c as b}from"./p-b095519d.js";const c=class{constructor(t){o(this,t),this.tabId=void 0,this.panel=void 0}validateFor(o){b(o,'The "panel" prop is required for the post-tab-header.')}componentWillLoad(){this.tabId=`tab-${this.host.id||crypto.randomUUID()}`}render(){return t(r,{key:"eb6ac6a67f4cbf571d38f1de1c8d428a9dea5a53",id:this.tabId,role:"tab","data-version":a,"aria-selected":"false",tabindex:"-1",class:"tab-title"},t("slot",{key:"d6559dbcc76ecc8d253fcd4a115b4bc4f78fd496"}))}get host(){return e(this)}static get watchers(){return{panel:["validateFor"]}}};c.style='.tab-title[role=tab]{display:inline-block;cursor:pointer;position:relative;box-sizing:border-box;padding:1rem;transition:background-color 100ms;border-right:1px solid rgba(0,0,0,0);border-left:1px solid rgba(0,0,0,0);outline-color:currentColor;opacity:.7;color:var(--post-contrast-color);text-decoration:none;background-color:rgba(0,0,0,0)}.tab-title[role=tab]:focus{background-color:unset;color:var(--post-contrast-color)}.tab-title[role=tab]:hover{opacity:1;background-color:rgba(var(--post-contrast-color-rgb), 0.6);color:var(--post-contrast-color-inverted)}.tab-title[role=tab]:focus-visible{outline:rgba(0,0,0,0);opacity:1;background-color:rgba(var(--post-contrast-color-rgb), 0.6);color:var(--post-contrast-color-inverted);box-shadow:none}.tab-title[role=tab]:focus-visible::after{content:"";display:block;position:absolute;top:2px;right:1px;bottom:0;left:1px;box-shadow:0 0 0 1px #fff,0 0 0 2px #333}.tab-title[role=tab].active{z-index:1;border-right-color:#ccc;border-left-color:#ccc;opacity:1;background-color:var(--post-contrast-color-inverted);color:var(--post-contrast-color);font-weight:700}.tab-title[role=tab].active::before{content:"";display:block;position:absolute;top:0;right:-1px;left:-1px;height:.25rem;background-color:#fc0}:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .tab-title[role=tab]:hover{background-color:rgba(255,255,255,.2)}:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .tab-title[role=tab]:focus-visible{background-color:rgba(255,255,255,.2)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title[role=tab]{opacity:1;border-left-color:Canvas;border-right-color:Canvas;color:LinkText}.tab-title[role=tab]:hover,.tab-title[role=tab]:focus,.tab-title[role=tab]:focus-within,.tab-title[role=tab]:focus-visible{outline:2px solid Highlight;outline-offset:-0.25rem}.tab-title[role=tab].active{border-left-color:ButtonText;border-right-color:ButtonText;color:Highlight}.tab-title[role=tab].active::before{background-color:Highlight}}.bg-yellow .tab-title{background-color:#fc0}.bg-yellow .tab-title.active{background-color:#fc0}.bg-yellow .nav-item{background-color:#fc0}.bg-white .tab-title{background-color:#fff}.bg-white .tab-title.active{background-color:#fff}.bg-white .nav-item{background-color:#fff}.bg-light .tab-title{background-color:#faf9f8}.bg-light .tab-title.active{background-color:#faf9f8}.bg-light .nav-item{background-color:#faf9f8}.bg-gray .tab-title{background-color:#f4f3f1}.bg-gray .tab-title.active{background-color:#f4f3f1}.bg-gray .nav-item{background-color:#f4f3f1}.bg-dark .tab-title{background-color:#333}.bg-dark .tab-title.active{background-color:#333}.bg-dark .nav-item{background-color:#333}.bg-black .tab-title{background-color:#000}.bg-black .tab-title.active{background-color:#000}.bg-black .nav-item{background-color:#000}.bg-primary .tab-title{background-color:#333}.bg-primary .tab-title.active{background-color:#333}.bg-primary .nav-item{background-color:#333}.bg-secondary .tab-title{background-color:#666}.bg-secondary .tab-title.active{background-color:#666}.bg-secondary .nav-item{background-color:#666}.bg-success .tab-title{background-color:#2c871d}.bg-success .tab-title.active{background-color:#2c871d}.bg-success .nav-item{background-color:#2c871d}.bg-warning .tab-title{background-color:#f49e00}.bg-warning .tab-title.active{background-color:#f49e00}.bg-warning .nav-item{background-color:#f49e00}.bg-error .tab-title{background-color:#a51728}.bg-error .tab-title.active{background-color:#a51728}.bg-error .nav-item{background-color:#a51728}.bg-info .tab-title{background-color:#cce4ee}.bg-info .tab-title.active{background-color:#cce4ee}.bg-info .nav-item{background-color:#cce4ee}.bg-success-background .tab-title{background-color:#c0debb}.bg-success-background .tab-title.active{background-color:#c0debb}.bg-success-background .nav-item{background-color:#c0debb}.bg-warning-background .tab-title{background-color:#fce2b2}.bg-warning-background .tab-title.active{background-color:#fce2b2}.bg-warning-background .nav-item{background-color:#fce2b2}.bg-error-background .tab-title{background-color:#ffdade}.bg-error-background .tab-title.active{background-color:#ffdade}.bg-error-background .nav-item{background-color:#ffdade}.bg-nightblue .tab-title{background-color:#004976}.bg-nightblue .tab-title.active{background-color:#004976}.bg-nightblue .nav-item{background-color:#004976}.bg-nightblue-bright .tab-title{background-color:#0076a8}.bg-nightblue-bright .tab-title.active{background-color:#0076a8}.bg-nightblue-bright .nav-item{background-color:#0076a8}.bg-petrol .tab-title{background-color:#006d68}.bg-petrol .tab-title.active{background-color:#006d68}.bg-petrol .nav-item{background-color:#006d68}.bg-petrol-bright .tab-title{background-color:#00968f}.bg-petrol-bright .tab-title.active{background-color:#00968f}.bg-petrol-bright .nav-item{background-color:#00968f}.bg-coral .tab-title{background-color:#9e2a2f}.bg-coral .tab-title.active{background-color:#9e2a2f}.bg-coral .nav-item{background-color:#9e2a2f}.bg-coral-bright .tab-title{background-color:#e03c31}.bg-coral-bright .tab-title.active{background-color:#e03c31}.bg-coral-bright .nav-item{background-color:#e03c31}.bg-olive .tab-title{background-color:#716135}.bg-olive .tab-title.active{background-color:#716135}.bg-olive .nav-item{background-color:#716135}.bg-olive-bright .tab-title{background-color:#aa9d2e}.bg-olive-bright .tab-title.active{background-color:#aa9d2e}.bg-olive-bright .nav-item{background-color:#aa9d2e}.bg-purple .tab-title{background-color:#80276c}.bg-purple .tab-title.active{background-color:#80276c}.bg-purple .nav-item{background-color:#80276c}.bg-purple-bright .tab-title{background-color:#c5299b}.bg-purple-bright .tab-title.active{background-color:#c5299b}.bg-purple-bright .nav-item{background-color:#c5299b}.bg-aubergine .tab-title{background-color:#523178}.bg-aubergine .tab-title.active{background-color:#523178}.bg-aubergine .nav-item{background-color:#523178}.bg-aubergine-bright .tab-title{background-color:#7566a0}.bg-aubergine-bright .tab-title.active{background-color:#7566a0}.bg-aubergine-bright .nav-item{background-color:#7566a0}[class*=bg-] .tab-title.active:focus::after{background-color:rgba(255,255,255,.2)}@supports selector(*:focus-visible){[class*=bg-] .tab-title.active:focus::after{background-color:unset}[class*=bg-] .tab-title.active:focus-visible::after{background-color:rgba(255,255,255,.2)}}/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:block}.tab-title{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button}';export{c as P}
1
+ import{r as o,h as t,H as r,g as e}from"./p-1d351eda.js";import{v as a}from"./p-ce4fff0a.js";import{c as b}from"./p-b095519d.js";const c=class{constructor(t){o(this,t),this.tabId=void 0,this.panel=void 0}validateFor(o){b(o,'The "panel" prop is required for the post-tab-header.')}componentWillLoad(){this.tabId=`tab-${this.host.id||crypto.randomUUID()}`}render(){return t(r,{key:"eb6ac6a67f4cbf571d38f1de1c8d428a9dea5a53",id:this.tabId,role:"tab","data-version":a,"aria-selected":"false",tabindex:"-1",class:"tab-title"},t("slot",{key:"d6559dbcc76ecc8d253fcd4a115b4bc4f78fd496"}))}get host(){return e(this)}static get watchers(){return{panel:["validateFor"]}}};c.style='.tab-title[role=tab]{display:inline-block;cursor:pointer;position:relative;box-sizing:border-box;padding:1rem;transition:background-color 100ms;border-right:1px solid rgba(0,0,0,0);border-left:1px solid rgba(0,0,0,0);outline-color:currentColor;opacity:.7;color:var(--post-contrast-color);text-decoration:none;background-color:rgba(0,0,0,0)}.tab-title[role=tab]:focus{background-color:unset;color:var(--post-contrast-color)}.tab-title[role=tab]:hover{opacity:1;background-color:rgba(var(--post-contrast-color-rgb), 0.6);color:var(--post-contrast-color-inverted)}.tab-title[role=tab]:focus-visible{outline:rgba(0,0,0,0);opacity:1;background-color:rgba(var(--post-contrast-color-rgb), 0.6);color:var(--post-contrast-color-inverted);box-shadow:none}.tab-title[role=tab]:focus-visible::after{content:"";display:block;position:absolute;top:2px;right:1px;bottom:0;left:1px;box-shadow:0 0 0 1px #fff,0 0 0 2px #333}.tab-title[role=tab].active{z-index:1;border-right-color:#ccc;border-left-color:#ccc;opacity:1;background-color:var(--post-contrast-color-inverted);color:var(--post-contrast-color);font-weight:700}.tab-title[role=tab].active::before{content:"";display:block;position:absolute;top:0;right:-1px;left:-1px;height:.25rem;background-color:#fc0}:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .tab-title[role=tab]:hover{background-color:rgba(255,255,255,.2)}:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .tab-title[role=tab]:focus-visible{background-color:rgba(255,255,255,.2)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title[role=tab]{opacity:1;border-left-color:Canvas;border-right-color:Canvas;color:LinkText}.tab-title[role=tab]:hover,.tab-title[role=tab]:focus,.tab-title[role=tab]:focus-within,.tab-title[role=tab]:focus-visible{outline:2px solid Highlight;outline-offset:-0.25rem}.tab-title[role=tab].active{border-left-color:ButtonText;border-right-color:ButtonText;color:Highlight}.tab-title[role=tab].active::before{background-color:Highlight}}.bg-yellow .tab-title{background-color:#fc0}.bg-yellow .tab-title.active{background-color:#fc0}.bg-yellow .nav-item{background-color:#fc0}.bg-white .tab-title{background-color:#fff}.bg-white .tab-title.active{background-color:#fff}.bg-white .nav-item{background-color:#fff}.bg-light .tab-title{background-color:#faf9f8}.bg-light .tab-title.active{background-color:#faf9f8}.bg-light .nav-item{background-color:#faf9f8}.bg-gray .tab-title{background-color:#f4f3f1}.bg-gray .tab-title.active{background-color:#f4f3f1}.bg-gray .nav-item{background-color:#f4f3f1}.bg-dark .tab-title{background-color:#333}.bg-dark .tab-title.active{background-color:#333}.bg-dark .nav-item{background-color:#333}.bg-black .tab-title{background-color:#000}.bg-black .tab-title.active{background-color:#000}.bg-black .nav-item{background-color:#000}.bg-primary .tab-title{background-color:#333}.bg-primary .tab-title.active{background-color:#333}.bg-primary .nav-item{background-color:#333}.bg-secondary .tab-title{background-color:#666}.bg-secondary .tab-title.active{background-color:#666}.bg-secondary .nav-item{background-color:#666}.bg-success .tab-title{background-color:#2c871d}.bg-success .tab-title.active{background-color:#2c871d}.bg-success .nav-item{background-color:#2c871d}.bg-warning .tab-title{background-color:#f49e00}.bg-warning .tab-title.active{background-color:#f49e00}.bg-warning .nav-item{background-color:#f49e00}.bg-error .tab-title{background-color:#a51728}.bg-error .tab-title.active{background-color:#a51728}.bg-error .nav-item{background-color:#a51728}.bg-info .tab-title{background-color:#cce4ee}.bg-info .tab-title.active{background-color:#cce4ee}.bg-info .nav-item{background-color:#cce4ee}.bg-success-background .tab-title{background-color:#c0debb}.bg-success-background .tab-title.active{background-color:#c0debb}.bg-success-background .nav-item{background-color:#c0debb}.bg-warning-background .tab-title{background-color:#fce2b2}.bg-warning-background .tab-title.active{background-color:#fce2b2}.bg-warning-background .nav-item{background-color:#fce2b2}.bg-error-background .tab-title{background-color:#ffdade}.bg-error-background .tab-title.active{background-color:#ffdade}.bg-error-background .nav-item{background-color:#ffdade}.bg-nightblue .tab-title{background-color:#004976}.bg-nightblue .tab-title.active{background-color:#004976}.bg-nightblue .nav-item{background-color:#004976}.bg-nightblue-bright .tab-title{background-color:#0076a8}.bg-nightblue-bright .tab-title.active{background-color:#0076a8}.bg-nightblue-bright .nav-item{background-color:#0076a8}.bg-petrol .tab-title{background-color:#006d68}.bg-petrol .tab-title.active{background-color:#006d68}.bg-petrol .nav-item{background-color:#006d68}.bg-petrol-bright .tab-title{background-color:#00968f}.bg-petrol-bright .tab-title.active{background-color:#00968f}.bg-petrol-bright .nav-item{background-color:#00968f}.bg-coral .tab-title{background-color:#9e2a2f}.bg-coral .tab-title.active{background-color:#9e2a2f}.bg-coral .nav-item{background-color:#9e2a2f}.bg-coral-bright .tab-title{background-color:#e03c31}.bg-coral-bright .tab-title.active{background-color:#e03c31}.bg-coral-bright .nav-item{background-color:#e03c31}.bg-olive .tab-title{background-color:#716135}.bg-olive .tab-title.active{background-color:#716135}.bg-olive .nav-item{background-color:#716135}.bg-olive-bright .tab-title{background-color:#aa9d2e}.bg-olive-bright .tab-title.active{background-color:#aa9d2e}.bg-olive-bright .nav-item{background-color:#aa9d2e}.bg-purple .tab-title{background-color:#80276c}.bg-purple .tab-title.active{background-color:#80276c}.bg-purple .nav-item{background-color:#80276c}.bg-purple-bright .tab-title{background-color:#c5299b}.bg-purple-bright .tab-title.active{background-color:#c5299b}.bg-purple-bright .nav-item{background-color:#c5299b}.bg-aubergine .tab-title{background-color:#523178}.bg-aubergine .tab-title.active{background-color:#523178}.bg-aubergine .nav-item{background-color:#523178}.bg-aubergine-bright .tab-title{background-color:#7566a0}.bg-aubergine-bright .tab-title.active{background-color:#7566a0}.bg-aubergine-bright .nav-item{background-color:#7566a0}[class*=bg-] .tab-title.active:focus::after{background-color:rgba(255,255,255,.2)}@supports selector(*:focus-visible){[class*=bg-] .tab-title.active:focus::after{background-color:unset}[class*=bg-] .tab-title.active:focus-visible::after{background-color:rgba(255,255,255,.2)}}/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:block}.tab-title{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button}';export{c as P}
@@ -0,0 +1,2 @@
1
+ var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),r=new Map,i=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",a=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],u="undefined"!=typeof window?window:{},f=u.document||{head:{}},h={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},d=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),m=!1,y=[],v=[],b=(e,t)=>n=>{e.push(n),m||(m=!0,t&&4&h.l?g(w):h.raf(w))},$=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},w=()=>{$(y),$(v),(m=y.length>0)&&h.raf(w)},g=e=>d().then(e),k=b(v,!0),S={},j=e=>"object"==(e=typeof e)||"function"===e;function C(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>E,map:()=>M,ok:()=>O,unwrap:()=>R,unwrapErr:()=>A});var O=e=>({isOk:!0,isErr:!1,value:e}),E=e=>({isOk:!1,isErr:!0,value:e});function M(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>O(e))):O(n)}if(e.isErr)return E(e.value);throw"should never get here"}var x,P,R=e=>{if(e.isOk)return e.value;throw e.value},A=e=>{if(e.isErr)return e.value;throw e.value},D=(e,t,...n)=>{let l=null,o=null,s=!1,r=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!j(l))&&(l+=""),s&&r?i[i.length-1].i+=l:i.push(s?L(null,l):l),r=s)};if(c(n),t){t.key&&(o=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,i,W);const a=L(e,null);return a.u=t,i.length>0&&(a.h=i),a.p=o,a},L=(e,t)=>({l:0,m:e,i:t,v:null,h:null,u:null,p:null}),T={},W={forEach:(e,t)=>e.map(F).forEach(t),map:(e,t)=>e.map(F).map(t).map(H)},F=e=>({vattrs:e.u,vchildren:e.h,vkey:e.p,vname:e.$,vtag:e.m,vtext:e.i}),H=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),D(e.vtag,t,...e.vchildren||[])}const t=L(e.vtag,e.vtext);return t.u=e.vattrs,t.h=e.vchildren,t.p=e.vkey,t.$=e.vname,t},N=e=>n(e).$hostElement$,U=(e,t,n)=>{const l=N(e);return{emit:e=>q(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},q=(e,t,n)=>{const l=h.ce(t,n);return e.dispatchEvent(l),l},G=new WeakMap,V=e=>"sc-"+e.k,_=(e,t,n,l,s,r)=>{if(n!==l){let i=o(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=B(n),s=B(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const o=j(l);if((i||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&r||s)&&!o&&e.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):o(u,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(I);t=t.replace(J,""),n&&h.rel(e,t,n,o),l&&h.ael(e,t,l,o)}}},z=/\s/,B=e=>e?e.split(z):[],I="Capture",J=RegExp(I+"$"),K=(e,t,n)=>{const l=11===t.v.nodeType&&t.v.host?t.v.host:t.v,o=e&&e.u||S,s=t.u||S;for(const e of Q(Object.keys(o)))e in s||_(l,e,o[e],void 0,n,t.l);for(const e of Q(Object.keys(s)))_(l,e,o[e],s[e],n,t.l)};function Q(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var X=!1,Y=!1,Z=(e,t,n)=>{const l=t.h[n];let o,s,r=0;if(null!==l.i)o=l.v=f.createTextNode(l.i);else if(o=l.v=f.createElement(l.m),K(null,l,Y),null!=x&&o["s-si"]!==x&&o.classList.add(o["s-si"]=x),l.h)for(r=0;r<l.h.length;++r)s=Z(e,l,r),s&&o.appendChild(s);return o["s-hn"]=P,o},ee=(e,t,n,l,o,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===P&&(i=i.shadowRoot);o<=s;++o)l[o]&&(r=Z(null,n,o),r&&(l[o].v=r,se(i,r,t)))},te=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.v;oe(t),e&&e.remove()}}},ne=(e,t,n=!1)=>e.m===t.m&&(!!n||e.p===t.p),le=(e,t,n=!1)=>{const l=t.v=e.v,o=e.h,s=t.h,r=t.i;null===r?(("slot"!==t.m||X)&&K(e,t,Y),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,r,i=0,c=0,a=0,u=0,f=t.length-1,h=t[0],d=t[f],p=l.length-1,m=l[0],y=l[p];for(;i<=f&&c<=p;)if(null==h)h=t[++i];else if(null==d)d=t[--f];else if(null==m)m=l[++c];else if(null==y)y=l[--p];else if(ne(h,m,o))le(h,m,o),h=t[++i],m=l[++c];else if(ne(d,y,o))le(d,y,o),d=t[--f],y=l[--p];else if(ne(h,y,o))le(h,y,o),se(e,h.v,d.v.nextSibling),h=t[++i],y=l[--p];else if(ne(d,m,o))le(d,m,o),se(e,d.v,h.v),d=t[--f],m=l[++c];else{for(a=-1,u=i;u<=f;++u)if(t[u]&&null!==t[u].p&&t[u].p===m.p){a=u;break}a>=0?(r=t[a],r.m!==m.m?s=Z(t&&t[c],n,a):(le(r,m,o),t[a]=void 0,s=r.v),m=l[++c]):(s=Z(t&&t[c],n,c),m=l[++c]),s&&se(h.v.parentNode,s,h.v)}i>f?ee(e,null==l[p+1]?null:l[p+1].v,n,l,c,p):c>p&&te(t,i,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),ee(l,null,t,s,0,s.length-1)):null!==o&&te(o,0,o.length-1)):e.i!==r&&(l.data=r)},oe=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(oe)},se=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),re=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},ie=(e,t)=>{if(e.l|=16,!(4&e.l))return re(e,e.j),k((()=>ce(e,t)));e.l|=512},ce=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(e.l|=256,e.C&&(e.C.map((([e,t])=>me(n,e,t))),e.C=void 0),l=me(n,"componentWillLoad")),l=ae(l,(()=>me(n,"componentWillRender"))),ae(l,(()=>fe(e,n,t)))},ae=(e,t)=>ue(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),ue=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,fe=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.O,n=e.$hostElement$,l=t.l,o=((e,t)=>{var n;const l=e,o=V(t),s=i.get(o);if(e=11===e.nodeType?e:f,s)if("string"==typeof s){let r,i=G.get(e=l.head||e);if(i||G.set(e,i=new Set),!i.has(o)){{r=f.createElement("style"),r.innerHTML=s;const t=null!=(n=h.M)?n:C(f);null!=t&&r.setAttribute("nonce",t),e.insertBefore(r,e.querySelector("link"))}4&t.l&&(r.innerHTML+=c),i&&i.add(o)}}else l.adoptedStyleSheets.includes(s)||(l.adoptedStyleSheets=[...l.adoptedStyleSheets,s]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);he(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>de(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},he=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.O,s=e.P||L(null,null),r=(e=>e&&e.m===T)(t)?t:D(null,null,t);if(P=l.tagName,n&&r.u)for(const e of Object.keys(r.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.u[e]=l[e]);r.m=null,r.l|=4,e.P=r,r.v=s.v=l.shadowRoot||l,x=l["s-sc"],X=!!(1&o.l),le(s,r,n)})(e,t,l)}catch(t){s(t,e.$hostElement$)}return null},de=e=>{const t=e.$hostElement$,n=e.t,l=e.j;me(n,"componentDidRender"),64&e.l||(e.l|=64,ye(t),me(n,"componentDidLoad"),e.R(t),l||pe()),e.A(t),e.S&&(e.S(),e.S=void 0),512&e.l&&g((()=>ie(e,!1))),e.l&=-517},pe=()=>{ye(f.documentElement),g((()=>q(u,"appload",{detail:{namespace:"post-components"}})))},me=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},ye=e=>e.classList.add("hydrated"),ve=(e,t,l)=>{var o,r;const i=e.prototype;if(64&t.l&&1&l&&a.forEach((e=>Object.defineProperty(i,e,{value(...t){const l=n(this),o=l.t;if(o){const n=o[e];"function"==typeof n&&n.call(o,...t)}else l.D.then((n=>{const l=n[e];"function"==typeof l&&l.call(n,...t)}))}}))),t.L||t.T||e.watchers){e.watchers&&!t.T&&(t.T=e.watchers);const c=Object.entries(null!=(o=t.L)?o:{});if(c.map((([e,[o]])=>{31&o||2&l&&32&o?Object.defineProperty(i,e,{get(){return((e,t)=>n(this).W.get(t))(0,e)},set(l){((e,t,l,o)=>{const r=n(e);if(!r)throw Error(`Couldn't find host element for "${o.k}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,c=r.W.get(t),a=r.l,u=r.t;if(l=((e,t)=>null==e||j(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,o.L[t][0]),(!(8&a)||void 0===c)&&l!==c&&(!Number.isNaN(c)||!Number.isNaN(l))&&(r.W.set(t,l),u)){if(o.T&&128&a){const e=o.T[t];e&&e.map((e=>{try{u[e](l,c,t)}catch(e){s(e,i)}}))}2==(18&a)&&ie(r,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0}):1&l&&64&o&&Object.defineProperty(i,e,{value(...t){var l;const o=n(this);return null==(l=null==o?void 0:o.F)?void 0:l.then((()=>{var n;return null==(n=o.t)?void 0:n[e](...t)}))}})})),1&l){const l=new Map;i.attributeChangedCallback=function(e,o,s){h.jmp((()=>{var r;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),i=null==l?void 0:l.l;if(i&&!(8&i)&&128&i&&s!==o){const n=l.t,i=null==(r=t.T)?void 0:r[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=t.T)?r:{}),...c.filter((([e,t])=>15&t[0])).map((([e,t])=>{const n=t[1]||e;return l.set(n,e),n}))]))}}return e},be=e=>{me(e,"connectedCallback")},$e=e=>{me(e,"disconnectedCallback")},we=(e,l={})=>{var o;const a=[],d=l.exclude||[],m=u.customElements,y=f.head,v=y.querySelector("meta[charset]"),b=f.createElement("style"),$=[];let w,g=!0;Object.assign(h,l),h.o=new URL(l.resourcesUrl||"./",f.baseURI).href;let k=!1;if(e.map((e=>{e[1].map((l=>{var o;const c={l:l[0],k:l[1],L:l[2],H:l[3]};4&c.l&&(k=!0),c.L=l[2],c.H=l[3],c.T=null!=(o=l[4])?o:{};const u=c.k,f=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,O:n,W:new Map};l.F=new Promise((e=>l.A=e)),l.D=new Promise((e=>l.R=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.k}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){const e=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,ge(this,e,c.H)),w&&(clearTimeout(w),w=null),g?$.push(this):h.jmp((()=>(e=>{if(!(1&h.l)){const t=n(e),l=t.O,o=()=>{};if(1&t.l)ge(e,t,l.H),(null==t?void 0:t.t)?be(t.t):(null==t?void 0:t.D)&&t.D.then((()=>be(t.t)));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){re(t,t.j=n);break}}l.L&&Object.entries(l.L).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.N){const e=(e=>{const t=e.k.replace(/-/g,"_"),n=e.N;if(!n)return;const l=r.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(r.set(n,e),e[t])),s)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.k}#${t.U}" was not found`);l.isProxied||(n.T=l.watchers,ve(l,n,2),l.isProxied=!0);const o=()=>{};t.l|=8;try{new l(t)}catch(e){s(e)}t.l&=-9,t.l|=128,o(),be(t.t)}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=V(n);if(!i.has(t)){const l=()=>{};((e,t,n)=>{let l=i.get(e);p&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,i.set(e,l)})(t,e,!!(1&n.l)),l()}}}const o=t.j,c=()=>ie(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(e,t,l)}o()}})(this)))}disconnectedCallback(){h.jmp((()=>(async()=>{if(!(1&h.l)){const e=n(this);e.q&&(e.q.map((e=>e())),e.q=void 0),(null==e?void 0:e.t)?$e(e.t):(null==e?void 0:e.D)&&e.D.then((()=>$e(e.t)))}})()))}componentOnReady(){return n(this).D}};64&c.l&&(f.formAssociated=!0),c.N=e[0],d.includes(u)||m.get(u)||(a.push(u),m.define(u,ve(f,c,1)))}))})),a.length>0&&(k&&(b.textContent+=c),b.textContent+=a.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",b.innerHTML.length)){b.setAttribute("data-styles","");const e=null!=(o=h.M)?o:C(f);null!=e&&b.setAttribute("nonce",e),y.insertBefore(b,v?v.nextSibling:y.firstChild)}g=!1,$.length?$.map((e=>e.connectedCallback())):h.jmp((()=>w=setTimeout(pe,30)))},ge=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=e,r=ke(t,o),i=Se(n);h.ael(s,l,r,i),(t.q=t.q||[]).push((()=>h.rel(s,l,r,i)))}))},ke=(e,t)=>n=>{var l;try{256&e.l?null==(l=e.t)||l[t](n):(e.C=e.C||[]).push([t,n])}catch(e){s(e)}},Se=e=>({passive:!!(1&e),capture:!!(2&e)}),je=e=>h.M=e;export{T as H,we as b,U as c,N as g,D as h,d as p,l as r,je as s}
@@ -0,0 +1 @@
1
+ export{P as post_tab_panel}from"./p-f80d0c5f.js";import"./p-1d351eda.js";import"./p-ce4fff0a.js";
@@ -1,4 +1,4 @@
1
- import{r as e,h as t,H as n,g as r}from"./p-d9eab6d9.js";import{v as o}from"./p-941e5ef0.js";import{g as i}from"./p-6adeaa6c.js";var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var l,c,d={exports:{}},s={exports:{}},f={exports:{}},b={exports:{}},v={exports:{}};l=v,c=v.exports,Object.defineProperty(c,"__esModule",{value:!0}),c.default=function(e){if(!e)return[];if(Array.isArray(e))return e;if(void 0!==e.nodeType)return[e];if("string"==typeof e&&(e=document.querySelectorAll(e)),void 0!==e.length)return[].slice.call(e,0);throw new TypeError("unexpected input "+String(e))},l.exports=c.default,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.label,n=void 0===t?"context-to-element":t,o=e.resolveDocument,i=e.defaultToDocument,a=(0,r.default)(e.context)[0];if(o&&a&&a.nodeType===Node.DOCUMENT_NODE&&(a=a.documentElement),!a&&i)return document.documentElement;if(!a)throw new TypeError(n+" requires valid options.context");if(a.nodeType!==Node.ELEMENT_NODE&&a.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)throw new TypeError(n+" requires options.context to be an Element");return a};var n,r=(n=v.exports)&&n.__esModule?n:{default:n};e.exports=t.default}(b,b.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=[],t=(0,r.default)({label:"get/parents",context:(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).context});t;)e.push(t),(t=t.parentNode)&&t.nodeType!==Node.ELEMENT_NODE&&(t=null);return e};var n,r=(n=b.exports)&&n.__esModule?n:{default:n};e.exports=t.default}(f,f.exports);var p={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return r||function(e){n.some((function(t){return!!e[t]&&(r=t,!0)}))}(e),e[r](t)};var n=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector"],r=null;e.exports=t.default}(p,p.exports);var m={exports:{}},x={exports:{}},g={exports:{}},h={exports:{}},O={exports:{}},w={exports:{}};
1
+ import{r as e,h as t,H as n,g as r}from"./p-1d351eda.js";import{v as o}from"./p-ce4fff0a.js";import{g as i}from"./p-6adeaa6c.js";var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var l,c,d={exports:{}},s={exports:{}},f={exports:{}},b={exports:{}},v={exports:{}};l=v,c=v.exports,Object.defineProperty(c,"__esModule",{value:!0}),c.default=function(e){if(!e)return[];if(Array.isArray(e))return e;if(void 0!==e.nodeType)return[e];if("string"==typeof e&&(e=document.querySelectorAll(e)),void 0!==e.length)return[].slice.call(e,0);throw new TypeError("unexpected input "+String(e))},l.exports=c.default,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.label,n=void 0===t?"context-to-element":t,o=e.resolveDocument,i=e.defaultToDocument,a=(0,r.default)(e.context)[0];if(o&&a&&a.nodeType===Node.DOCUMENT_NODE&&(a=a.documentElement),!a&&i)return document.documentElement;if(!a)throw new TypeError(n+" requires valid options.context");if(a.nodeType!==Node.ELEMENT_NODE&&a.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)throw new TypeError(n+" requires options.context to be an Element");return a};var n,r=(n=v.exports)&&n.__esModule?n:{default:n};e.exports=t.default}(b,b.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=[],t=(0,r.default)({label:"get/parents",context:(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).context});t;)e.push(t),(t=t.parentNode)&&t.nodeType!==Node.ELEMENT_NODE&&(t=null);return e};var n,r=(n=b.exports)&&n.__esModule?n:{default:n};e.exports=t.default}(f,f.exports);var p={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return r||function(e){n.some((function(t){return!!e[t]&&(r=t,!0)}))}(e),e[r](t)};var n=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector"],r=null;e.exports=t.default}(p,p.exports);var m={exports:{}},x={exports:{}},g={exports:{}},h={exports:{}},O={exports:{}},w={exports:{}};
2
2
  /*!
3
3
  * Platform.js <https://mths.be/platform>
4
4
  * Copyright 2014-2016 Benjamin Tan <https://demoneaux.github.io/>
@@ -0,0 +1 @@
1
+ export{P as post_card_control}from"./p-cbca927d.js";import"./p-1d351eda.js";import"./p-611b3c41.js";import"./p-b095519d.js";import"./p-440193f4.js";import"./p-ce4fff0a.js";
@@ -1 +1 @@
1
- import{r as t,h as e,H as a,g as i}from"./p-d9eab6d9.js";import{v as o}from"./p-941e5ef0.js";const s=class{constructor(e){t(this,e),this.classes=void 0,this.variant=void 0,this.size=null,this.icon=null,this.setClasses=this.setClasses.bind(this)}variantChanged(){this.setClasses()}sizeChanged(){this.setClasses()}setClasses(){this.classes=["tag",this.size?`tag-${this.size}`:null,this.variant?`tag-${this.variant}`:null].filter((t=>null!==t)).join(" ")}connectedCallback(){this.setClasses()}render(){return e(a,{key:"932992b2aa41e1082bf1617c7f6c74419febb143","data-version":o},e("div",{key:"3d5b82975cf95f1439299326347886a8b74e2d3d",class:this.classes},this.icon?e("post-icon",{name:this.icon}):null,e("div",{key:"96dac1715f1ddfe799cb2cb443f57d2a4082d90e",class:"tag-text"},e("slot",{key:"bb886b44ae76b71096c9938dacd708d80b602790"}))))}get host(){return i(this)}static get watchers(){return{variant:["variantChanged"],size:["sizeChanged"]}}};s.style='/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\n * Copyright 2021 by Swiss Post, Information Technology\n */.tag,.tag:where(:has(:not(pre))){--post-tag-bg:hsl(0, 0%, 90%);--post-tag-fg:#000;display:inline-flex;align-items:center;gap:.25rem;padding:0 .5rem;max-width:18.5rem;background-color:var(--post-tag-bg);border:1px solid rgba(0,0,0,0);border-radius:.25rem;font-size:1rem;line-height:1.875rem;white-space:nowrap;color:var(--post-tag-fg)}.tag post-icon,.tag:where(:has(:not(pre))) post-icon{flex:0 0 auto;width:1.25rem;height:1.25rem}.tag .tag-text,.tag:where(:has(:not(pre))) .tag-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag .tag-text svg,.tag .tag-text img,.tag:where(:has(:not(pre))) .tag-text svg,.tag:where(:has(:not(pre))) .tag-text img{display:inline-block;height:1.25rem !important;vertical-align:text-top}.tag.tag-sm,.tag:where(:has(:not(pre))).tag-sm{line-height:1.5rem}.tag.tag-sm .tag-icon,.tag:where(:has(:not(pre))).tag-sm .tag-icon{width:1rem;height:1rem}.tag.tag-white,.tag:where(:has(:not(pre))).tag-white{--post-tag-bg:#fff;--post-tag-fg:#000}.tag.tag-yellow,.tag:where(:has(:not(pre))).tag-yellow{--post-tag-bg:#fc0;--post-tag-fg:#000}.tag.tag-success,.tag:where(:has(:not(pre))).tag-success{--post-tag-bg:#2c871d;--post-tag-fg:#fff}.tag.tag-warning,.tag:where(:has(:not(pre))).tag-warning{--post-tag-bg:#f49e00;--post-tag-fg:#000}.tag.tag-danger,.tag:where(:has(:not(pre))).tag-danger{--post-tag-bg:#a51728;--post-tag-fg:#fff}.tag.tag-info,.tag:where(:has(:not(pre))).tag-info{--post-tag-bg:#cce4ee;--post-tag-fg:#000}.tag.tag-white,.tag:where(:has(:not(pre))).tag-white{border-color:var(--post-contrast-color)}pre .tag,pre .tag:where(:has(:not(pre))){display:inline;padding:initial;max-width:initial;background:initial;border:initial;border-radius:initial;font-size:inherit;line-height:inherit;white-space:unset}*,*:before,*:after{box-sizing:border-box}.tag-text ::slotted(svg),.tag-text ::slotted(img){display:inline-block !important;height:1.25rem !important;vertical-align:text-top !important}';export{s as P}
1
+ import{r as t,h as e,H as a,g as i}from"./p-1d351eda.js";import{v as o}from"./p-ce4fff0a.js";const s=class{constructor(e){t(this,e),this.classes=void 0,this.variant=void 0,this.size=null,this.icon=null,this.setClasses=this.setClasses.bind(this)}variantChanged(){this.setClasses()}sizeChanged(){this.setClasses()}setClasses(){this.classes=["tag",this.size?`tag-${this.size}`:null,this.variant?`tag-${this.variant}`:null].filter((t=>null!==t)).join(" ")}connectedCallback(){this.setClasses()}render(){return e(a,{key:"932992b2aa41e1082bf1617c7f6c74419febb143","data-version":o},e("div",{key:"3d5b82975cf95f1439299326347886a8b74e2d3d",class:this.classes},this.icon?e("post-icon",{name:this.icon}):null,e("div",{key:"96dac1715f1ddfe799cb2cb443f57d2a4082d90e",class:"tag-text"},e("slot",{key:"bb886b44ae76b71096c9938dacd708d80b602790"}))))}get host(){return i(this)}static get watchers(){return{variant:["variantChanged"],size:["sizeChanged"]}}};s.style='/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\n * Copyright 2021 by Swiss Post, Information Technology\n */.tag,.tag:where(:has(:not(pre))){--post-tag-bg:hsl(0, 0%, 90%);--post-tag-fg:#000;display:inline-flex;align-items:center;gap:.25rem;padding:0 .5rem;max-width:18.5rem;background-color:var(--post-tag-bg);border:1px solid rgba(0,0,0,0);border-radius:.25rem;font-size:1rem;line-height:1.875rem;white-space:nowrap;color:var(--post-tag-fg)}.tag post-icon,.tag:where(:has(:not(pre))) post-icon{flex:0 0 auto;width:1.25rem;height:1.25rem}.tag .tag-text,.tag:where(:has(:not(pre))) .tag-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag .tag-text svg,.tag .tag-text img,.tag:where(:has(:not(pre))) .tag-text svg,.tag:where(:has(:not(pre))) .tag-text img{display:inline-block;height:1.25rem !important;vertical-align:text-top}.tag.tag-sm,.tag:where(:has(:not(pre))).tag-sm{line-height:1.5rem}.tag.tag-sm .tag-icon,.tag:where(:has(:not(pre))).tag-sm .tag-icon{width:1rem;height:1rem}.tag.tag-white,.tag:where(:has(:not(pre))).tag-white{--post-tag-bg:#fff;--post-tag-fg:#000}.tag.tag-yellow,.tag:where(:has(:not(pre))).tag-yellow{--post-tag-bg:#fc0;--post-tag-fg:#000}.tag.tag-success,.tag:where(:has(:not(pre))).tag-success{--post-tag-bg:#2c871d;--post-tag-fg:#fff}.tag.tag-warning,.tag:where(:has(:not(pre))).tag-warning{--post-tag-bg:#f49e00;--post-tag-fg:#000}.tag.tag-danger,.tag:where(:has(:not(pre))).tag-danger{--post-tag-bg:#a51728;--post-tag-fg:#fff}.tag.tag-info,.tag:where(:has(:not(pre))).tag-info{--post-tag-bg:#cce4ee;--post-tag-fg:#000}.tag.tag-white,.tag:where(:has(:not(pre))).tag-white{border-color:var(--post-contrast-color)}pre .tag,pre .tag:where(:has(:not(pre))){display:inline;padding:initial;max-width:initial;background:initial;border:initial;border-radius:initial;font-size:inherit;line-height:inherit;white-space:unset}*,*:before,*:after{box-sizing:border-box}.tag-text ::slotted(svg),.tag-text ::slotted(img){display:inline-block !important;height:1.25rem !important;vertical-align:text-top !important}';export{s as P}
@@ -1 +1 @@
1
- import{r as i,h as t,H as a,g as e}from"./p-d9eab6d9.js";import{c as o,d as n,a as s}from"./p-f91c0e1b.js";import{v as r}from"./p-941e5ef0.js";import{c as l}from"./p-b095519d.js";const m=["cylon","cylon-vertical","spin","spin-reverse","fade","throb"],c=class{constructor(t){i(this,t),this.svgStyles=void 0,this.svgOutput=void 0,this.animation=null,this.base=null,this.flipH=!1,this.flipV=!1,this.name=void 0,this.rotate=null,this.scale=null}validateAnimation(i=this.animation){void 0!==i&&o(i,m,`The post-icon "animation" prop requires one of the following values: ${m.join(", ")}.`)}validateBase(i=this.base){n(i,"string",'The post-icon "base" prop should be a string.')}validateFlipH(i=this.flipH){n(i,"boolean",'The post-icon "flipH" prop should be a boolean.')}validateFlipV(i=this.flipV){n(i,"boolean",'The post-icon "flipV" prop should be a boolean.')}validateName(i=this.name){l(i,'The post-icon "name" prop is required!.'),s(i,"string",'The post-icon "name" prop should be a string.')}validateRotate(i=this.rotate){n(i,"number",'The post-icon "rotate" prop should be a number.')}validateScale(i=this.scale){n(i,"number",'The post-icon "scale" prop should be a number.')}componentWillLoad(){this.validateBase(),this.validateName(),this.validateFlipH(),this.validateFlipV(),this.validateScale(),this.validateRotate(),this.validateAnimation()}componentWillRender(){this.setPath()}setPath(){var i,t,a,e;const o=null!==(t=null===(i=document.head.querySelector('meta[name="design-system-settings"][data-post-icon-base]'))||void 0===i?void 0:i.getAttribute("data-post-icon-base"))&&void 0!==t?t:null,n=`${null!==(e=null!==(a=this.base)&&void 0!==a?a:o)&&void 0!==e?e:"https://unpkg.com/@swisspost/design-system-icons/public/post-icons"}/`.replace(/\/\/$/,"/");this.path=new URL(`${n}${this.name}.svg`,window.location.origin).toString()}render(){const i=Object.entries({"-webkit-mask-image":`url('${this.path}')`,"mask-image":`url('${this.path}')`,transform:(this.scale&&!isNaN(Number(this.scale))?"scale("+this.scale+")":"")+(this.rotate&&!isNaN(Number(this.rotate))?" rotate("+this.rotate+"deg)":"")}).filter((([i,t])=>null!==t)).reduce(((i,[t,a])=>Object.assign(i,{[t]:a})),{});return t(a,{key:"95fa0f7a09d3430bb5d621e01b57188742920eb4","data-version":r},t("span",{key:"c824e3705dc83665bb6f7649381654e6d1e07dfb",style:i}))}get host(){return e(this)}static get watchers(){return{animation:["validateAnimation"],base:["validateBase"],flipH:["validateFlipH"],flipV:["validateFlipV"],name:["validateName"],rotate:["validateRotate"],scale:["validateScale"]}}};c.style=":host{display:inline-block;width:1em;height:1em;vertical-align:-0.15em}span{display:block;width:100%;height:100%;fill:currentColor;forced-color-adjust:preserve-parent-color;background-color:currentColor;-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%}:host([flip-h]:not([flip-h=false])){scale:-1 1}:host([flip-v]:not([flip-v=false])){scale:1 -1}:host([flip-h][flip-v]:not([flip-h=false],[flip-v=false])){scale:-1}:host([animation]){transform-origin:center}:host([animation=cylon]){animation:icon-animation-cylon .75s ease-in-out infinite alternate}:host([animation=cylon-vertical]){animation:icon-animation-cylon-vertical .75s ease-in-out infinite alternate}:host([animation=spin]){animation:icon-animation-spin 2s linear infinite normal}:host([animation=spin-reverse]){animation:icon-animation-spin 2s linear infinite reverse}:host([animation=fade]){animation:icon-animation-fade .75s ease-in-out infinite alternate}:host([animation=throb]){animation:icon-animation-throb .75s ease-in-out infinite alternate}@keyframes icon-animation-cylon{from{transform:translateX(-25%)}to{transform:translateX(25%)}}@keyframes icon-animation-cylon-vertical{from{transform:translateY(25%)}to{transform:translateY(-25%)}}@keyframes icon-animation-fade{from{opacity:.1}to{opacity:1}}@keyframes icon-animation-spin{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes icon-animation-throb{from{opacity:.5;transform:scale(0.5)}to{opacity:1;transform:scale(1)}}";export{c as P}
1
+ import{r as i,h as t,H as a,g as e}from"./p-1d351eda.js";import{c as o,d as n,a as s}from"./p-f91c0e1b.js";import{v as r}from"./p-ce4fff0a.js";import{c as l}from"./p-b095519d.js";const m=["cylon","cylon-vertical","spin","spin-reverse","fade","throb"],c=class{constructor(t){i(this,t),this.svgStyles=void 0,this.svgOutput=void 0,this.animation=null,this.base=null,this.flipH=!1,this.flipV=!1,this.name=void 0,this.rotate=null,this.scale=null}validateAnimation(i=this.animation){void 0!==i&&o(i,m,`The post-icon "animation" prop requires one of the following values: ${m.join(", ")}.`)}validateBase(i=this.base){n(i,"string",'The post-icon "base" prop should be a string.')}validateFlipH(i=this.flipH){n(i,"boolean",'The post-icon "flipH" prop should be a boolean.')}validateFlipV(i=this.flipV){n(i,"boolean",'The post-icon "flipV" prop should be a boolean.')}validateName(i=this.name){l(i,'The post-icon "name" prop is required!.'),s(i,"string",'The post-icon "name" prop should be a string.')}validateRotate(i=this.rotate){n(i,"number",'The post-icon "rotate" prop should be a number.')}validateScale(i=this.scale){n(i,"number",'The post-icon "scale" prop should be a number.')}componentWillLoad(){this.validateBase(),this.validateName(),this.validateFlipH(),this.validateFlipV(),this.validateScale(),this.validateRotate(),this.validateAnimation()}componentWillRender(){this.setPath()}setPath(){var i,t,a,e;const o=null!==(t=null===(i=document.head.querySelector('meta[name="design-system-settings"][data-post-icon-base]'))||void 0===i?void 0:i.getAttribute("data-post-icon-base"))&&void 0!==t?t:null,n=`${null!==(e=null!==(a=this.base)&&void 0!==a?a:o)&&void 0!==e?e:"https://unpkg.com/@swisspost/design-system-icons/public/post-icons"}/`.replace(/\/\/$/,"/");this.path=new URL(`${n}${this.name}.svg`,window.location.origin).toString()}render(){const i=Object.entries({"-webkit-mask-image":`url('${this.path}')`,"mask-image":`url('${this.path}')`,transform:(this.scale&&!isNaN(Number(this.scale))?"scale("+this.scale+")":"")+(this.rotate&&!isNaN(Number(this.rotate))?" rotate("+this.rotate+"deg)":"")}).filter((([i,t])=>null!==t)).reduce(((i,[t,a])=>Object.assign(i,{[t]:a})),{});return t(a,{key:"95fa0f7a09d3430bb5d621e01b57188742920eb4","data-version":r},t("span",{key:"c824e3705dc83665bb6f7649381654e6d1e07dfb",style:i}))}get host(){return e(this)}static get watchers(){return{animation:["validateAnimation"],base:["validateBase"],flipH:["validateFlipH"],flipV:["validateFlipV"],name:["validateName"],rotate:["validateRotate"],scale:["validateScale"]}}};c.style=":host{display:inline-block;width:1em;height:1em;vertical-align:-0.15em}span{display:block;width:100%;height:100%;fill:currentColor;forced-color-adjust:preserve-parent-color;background-color:currentColor;-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%}:host([flip-h]:not([flip-h=false])){scale:-1 1}:host([flip-v]:not([flip-v=false])){scale:1 -1}:host([flip-h][flip-v]:not([flip-h=false],[flip-v=false])){scale:-1}:host([animation]){transform-origin:center}:host([animation=cylon]){animation:icon-animation-cylon .75s ease-in-out infinite alternate}:host([animation=cylon-vertical]){animation:icon-animation-cylon-vertical .75s ease-in-out infinite alternate}:host([animation=spin]){animation:icon-animation-spin 2s linear infinite normal}:host([animation=spin-reverse]){animation:icon-animation-spin 2s linear infinite reverse}:host([animation=fade]){animation:icon-animation-fade .75s ease-in-out infinite alternate}:host([animation=throb]){animation:icon-animation-throb .75s ease-in-out infinite alternate}@keyframes icon-animation-cylon{from{transform:translateX(-25%)}to{transform:translateX(25%)}}@keyframes icon-animation-cylon-vertical{from{transform:translateY(25%)}to{transform:translateY(-25%)}}@keyframes icon-animation-fade{from{opacity:.1}to{opacity:1}}@keyframes icon-animation-spin{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes icon-animation-throb{from{opacity:.5;transform:scale(0.5)}to{opacity:1;transform:scale(1)}}";export{c as P}
@@ -1 +1 @@
1
- import{r as e,c as t,h as s,H as i,g as o}from"./p-d9eab6d9.js";import{v as a}from"./p-941e5ef0.js";import{d as h}from"./p-f91c0e1b.js";const d={height:"0",overflow:"hidden"},r={duration:350,easing:"ease",fill:"forwards"},l=class{constructor(s){e(this,s),this.postToggle=t(this,"postToggle",7),this.isLoaded=!1,this.isOpen=!0,this.id=void 0,this.collapsed=!1}validateCollapsed(e=this.collapsed){h(e,"boolean","The `collapsed` property of the `post-collapsible` must be a boolean.")}connectedCallback(){this.validateCollapsed()}componentWillRender(){this.id=this.host.id||`c${crypto.randomUUID()}`}componentDidLoad(){this.collapsed&&this.toggle(!1),this.isLoaded=!0}async toggle(e=!this.isOpen){if(e===this.isOpen)return e;this.isOpen=!this.isOpen,this.isLoaded&&this.postToggle.emit(this.isOpen);const t=e?(s=this.collapsible).animate([d,{height:`${s.scrollHeight}px`,offset:1},{height:"auto"}],r):(e=>{const t={height:window.getComputedStyle(e).height};return e.animate([t,d],r)})(this.collapsible);var s;return this.isLoaded&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches||t.finish(),await t.finished,t.commitStyles(),this.isOpen}render(){return s(i,{key:"a4c0bed771143ee6aa8683c75296ef1ecdc462dd",id:this.id,"data-version":a},s("div",{key:"f2e76d252d572b7054d99ff605ce6d9f3b86a395",class:"collapse",id:`${this.id}--collapse`,ref:e=>this.collapsible=e},s("slot",{key:"94c957e18aaa8a990d5edda77e63226fefe76cd9"})))}get host(){return o(this)}static get watchers(){return{collapsed:["validateCollapsed"]}}};l.style=":host{display:block}.collapse{overflow:hidden}";export{l as P}
1
+ import{r as e,c as t,h as s,H as i,g as o}from"./p-1d351eda.js";import{v as a}from"./p-ce4fff0a.js";import{d as h}from"./p-f91c0e1b.js";const d={height:"0",overflow:"hidden"},r={duration:350,easing:"ease",fill:"forwards"},c=class{constructor(s){e(this,s),this.postToggle=t(this,"postToggle",7),this.isLoaded=!1,this.isOpen=!0,this.id=void 0,this.collapsed=!1}validateCollapsed(e=this.collapsed){h(e,"boolean","The `collapsed` property of the `post-collapsible` must be a boolean.")}connectedCallback(){this.validateCollapsed()}componentWillRender(){this.id=this.host.id||`c${crypto.randomUUID()}`}componentDidLoad(){this.collapsed&&this.toggle(!1),this.isLoaded=!0}async toggle(e=!this.isOpen){if(e===this.isOpen)return e;this.isOpen=!this.isOpen,this.isLoaded&&this.postToggle.emit(this.isOpen);const t=e?(s=this.collapsible).animate([d,{height:`${s.scrollHeight}px`,offset:1},{height:"auto"}],r):(e=>{const t={height:window.getComputedStyle(e).height};return e.animate([t,d],r)})(this.collapsible);var s;return this.isLoaded&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches||t.finish(),await t.finished,t.commitStyles(),this.isOpen}render(){return s(i,{key:"a4c0bed771143ee6aa8683c75296ef1ecdc462dd",id:this.id,"data-version":a},s("div",{key:"f2e76d252d572b7054d99ff605ce6d9f3b86a395",class:"collapse",id:`${this.id}--collapse`,ref:e=>this.collapsible=e},s("slot",{key:"94c957e18aaa8a990d5edda77e63226fefe76cd9"})))}get host(){return o(this)}static get watchers(){return{collapsed:["validateCollapsed"]}}};c.style=":host{display:block}.collapse{overflow:hidden}";export{c as P}
@@ -0,0 +1 @@
1
+ export{P as post_tag}from"./p-41bd4480.js";import"./p-1d351eda.js";import"./p-ce4fff0a.js";
@@ -0,0 +1 @@
1
+ export{P as post_tabs}from"./p-fa1125d9.js";import"./p-1d351eda.js";import"./p-ce4fff0a.js";import"./p-2737eaf5.js";