@swisspost/design-system-components 7.0.0 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/heading-levels-608d432e.js +5 -0
- package/dist/cjs/index-de783b23.js +1394 -0
- package/dist/cjs/index.cjs.js +18 -17
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-45af106a.js → package-dacf5ec2.js} +1 -1
- package/dist/cjs/{post-accordion-7507f838.js → post-accordion-225de951.js} +28 -13
- package/dist/cjs/{post-accordion-item-5bf4d98b.js → post-accordion-item-935e122a.js} +7 -8
- package/dist/cjs/post-accordion-item.cjs.entry.js +4 -3
- package/dist/cjs/post-accordion.cjs.entry.js +5 -3
- package/dist/cjs/{post-alert-9c39c854.js → post-alert-6041a34c.js} +6 -6
- package/dist/cjs/post-alert.cjs.entry.js +3 -3
- package/dist/cjs/post-card-control-3c089d8e.js +314 -0
- package/dist/cjs/post-card-control.cjs.entry.js +3 -3
- package/dist/cjs/{post-collapsible-00319f1f.js → post-collapsible-562268e9.js} +3 -3
- package/dist/cjs/post-collapsible.cjs.entry.js +3 -3
- package/dist/cjs/post-components.cjs.js +10 -10
- package/dist/cjs/{post-icon-09845341.js → post-icon-973d5c46.js} +3 -3
- package/dist/cjs/post-icon.cjs.entry.js +3 -3
- package/dist/cjs/{post-popover-3b6aaeae.js → post-popover-b0844e71.js} +4 -4
- package/dist/cjs/post-popover.cjs.entry.js +3 -3
- package/dist/cjs/{post-popovercontainer-0b8343ac.js → post-popovercontainer-5bb6a804.js} +236 -18
- package/dist/cjs/post-popovercontainer.cjs.entry.js +3 -3
- package/dist/cjs/{post-rating-285f966e.js → post-rating-d2845096.js} +3 -3
- package/dist/cjs/post-rating.cjs.entry.js +3 -3
- package/dist/cjs/{post-tab-header-f1c16656.js → post-tab-header-6496a51b.js} +4 -4
- package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
- package/dist/cjs/{post-tab-panel-9c20a84e.js → post-tab-panel-25bd8c74.js} +3 -3
- package/dist/cjs/post-tab-panel.cjs.entry.js +3 -3
- package/dist/cjs/{post-tabs-75e71078.js → post-tabs-4e4ee252.js} +3 -3
- package/dist/cjs/post-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{post-tag-942085fd.js → post-tag-cbc458ed.js} +8 -4
- package/dist/cjs/post-tag.cjs.entry.js +3 -3
- package/dist/cjs/{post-tooltip-94d4f21f.js → post-tooltip-805bc0c0.js} +4 -3
- package/dist/cjs/post-tooltip.cjs.entry.js +3 -3
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/post-accordion/post-accordion.js +54 -13
- package/dist/collection/components/post-accordion-item/post-accordion-item.css +1 -1
- package/dist/collection/components/post-accordion-item/post-accordion-item.js +12 -9
- package/dist/collection/components/post-alert/post-alert.css +1 -1
- package/dist/collection/components/post-alert/post-alert.js +6 -6
- package/dist/collection/components/post-card-control/post-card-control.css +1 -1
- package/dist/collection/components/post-card-control/post-card-control.js +14 -11
- package/dist/collection/components/post-collapsible/post-collapsible.js +3 -3
- package/dist/collection/components/post-icon/post-icon.js +3 -3
- package/dist/collection/components/post-popover/post-popover.css +1 -1
- package/dist/collection/components/post-popover/post-popover.js +3 -3
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +1 -1
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +4 -4
- package/dist/collection/components/post-rating/post-rating.js +2 -2
- package/dist/collection/components/post-tab-header/post-tab-header.css +1 -1
- package/dist/collection/components/post-tab-header/post-tab-header.js +3 -3
- package/dist/collection/components/post-tab-panel/post-tab-panel.js +2 -2
- package/dist/collection/components/post-tabs/post-tabs.js +3 -3
- package/dist/collection/components/post-tag/post-tag.js +9 -5
- package/dist/collection/components/post-tooltip/post-tooltip.js +3 -3
- package/dist/collection/types/heading-levels.js +1 -0
- package/dist/collection/types/index.js +1 -0
- package/dist/components/check-one-of.js +6 -0
- package/dist/components/heading-levels.js +3 -0
- package/dist/components/index2.js +2 -6
- package/dist/components/package.js +1 -1
- package/dist/components/post-accordion-item2.js +5 -6
- package/dist/components/post-accordion2.js +30 -12
- package/dist/components/post-alert2.js +4 -4
- package/dist/components/post-card-control2.js +12 -9
- package/dist/components/post-collapsible2.js +2 -2
- package/dist/components/post-icon2.js +2 -2
- package/dist/components/post-popover2.js +2 -2
- package/dist/components/post-popovercontainer2.js +234 -16
- package/dist/components/post-rating2.js +1 -1
- package/dist/components/post-tab-header2.js +2 -2
- package/dist/components/post-tab-panel2.js +1 -1
- package/dist/components/post-tabs2.js +1 -1
- package/dist/components/post-tag2.js +6 -2
- package/dist/components/post-tooltip2.js +2 -1
- package/dist/docs.d.ts +34 -0
- package/dist/docs.json +76 -22
- package/dist/esm/heading-levels-5b7b4349.js +3 -0
- package/dist/esm/index-cf1d5611.js +1365 -0
- package/dist/esm/index.js +18 -17
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-1242b80d.js → package-a837c1ad.js} +1 -1
- package/dist/esm/{post-accordion-bfd058bc.js → post-accordion-fdd22c1d.js} +28 -13
- package/dist/esm/{post-accordion-item-4fa44842.js → post-accordion-item-336f568c.js} +7 -8
- package/dist/esm/post-accordion-item.entry.js +4 -3
- package/dist/esm/post-accordion.entry.js +5 -3
- package/dist/esm/{post-alert-192d0176.js → post-alert-f48527d8.js} +6 -6
- package/dist/esm/post-alert.entry.js +3 -3
- package/dist/esm/post-card-control-3e6a5855.js +312 -0
- package/dist/esm/post-card-control.entry.js +3 -3
- package/dist/esm/{post-collapsible-d848eb2a.js → post-collapsible-486ab980.js} +3 -3
- package/dist/esm/post-collapsible.entry.js +3 -3
- package/dist/esm/post-components.js +11 -11
- package/dist/esm/{post-icon-811654f7.js → post-icon-19fdfc4d.js} +3 -3
- package/dist/esm/post-icon.entry.js +3 -3
- package/dist/esm/{post-popover-b48a9d7c.js → post-popover-17164186.js} +4 -4
- package/dist/esm/post-popover.entry.js +3 -3
- package/dist/esm/{post-popovercontainer-7413bb41.js → post-popovercontainer-d19f9646.js} +236 -18
- package/dist/esm/post-popovercontainer.entry.js +3 -3
- package/dist/esm/{post-rating-806de800.js → post-rating-ea204778.js} +3 -3
- package/dist/esm/post-rating.entry.js +3 -3
- package/dist/esm/{post-tab-header-95f0dc6a.js → post-tab-header-a97cdef2.js} +4 -4
- package/dist/esm/post-tab-header.entry.js +3 -3
- package/dist/esm/{post-tab-panel-d7145a70.js → post-tab-panel-e6999395.js} +3 -3
- package/dist/esm/post-tab-panel.entry.js +3 -3
- package/dist/esm/{post-tabs-f130a7d8.js → post-tabs-524c699a.js} +3 -3
- package/dist/esm/post-tabs.entry.js +3 -3
- package/dist/esm/{post-tag-7c329d6c.js → post-tag-e2035a81.js} +8 -4
- package/dist/esm/post-tag.entry.js +3 -3
- package/dist/esm/{post-tooltip-942bd014.js → post-tooltip-e4fc9c0c.js} +4 -3
- package/dist/esm/post-tooltip.entry.js +3 -3
- package/dist/post-components/index.esm.js +1 -1
- package/dist/post-components/p-07cc4853.entry.js +1 -0
- package/dist/post-components/p-0e410cec.entry.js +1 -0
- package/dist/post-components/p-14e22434.entry.js +1 -0
- package/dist/post-components/p-18a2ef27.js +1 -0
- package/dist/post-components/p-18b571e3.js +2 -0
- package/dist/post-components/p-247a1668.js +1 -0
- package/dist/post-components/p-2f4c40ee.js +1 -0
- package/dist/post-components/p-39a1dcb8.entry.js +1 -0
- package/dist/post-components/p-3b0988a1.js +1 -0
- package/dist/post-components/p-3ee18d14.entry.js +1 -0
- package/dist/post-components/{p-c9004503.js → p-4575a570.js} +1 -1
- package/dist/post-components/p-59da0b80.js +1 -0
- package/dist/post-components/p-63277771.entry.js +1 -0
- package/dist/post-components/p-67df1075.js +1 -0
- package/dist/post-components/p-74db9b35.entry.js +1 -0
- package/dist/post-components/p-7bb79254.entry.js +1 -0
- package/dist/post-components/p-8398de7b.entry.js +1 -0
- package/dist/post-components/{p-579f55af.js → p-9a59f2c7.js} +1 -1
- package/dist/post-components/p-c4a7208a.js +1 -0
- package/dist/post-components/{p-93ba2827.js → p-c85913ed.js} +3 -3
- package/dist/post-components/p-caaa5b4c.entry.js +1 -0
- package/dist/post-components/p-cf10d355.js +1 -0
- package/dist/post-components/{p-d4cd7bb0.js → p-d1f516dd.js} +1 -1
- package/dist/post-components/{p-b4abbb28.js → p-d2eb0f0b.js} +1 -1
- package/dist/post-components/p-d70f33cd.js +1 -0
- package/dist/post-components/p-da049db2.entry.js +1 -0
- package/dist/post-components/p-db114d1d.entry.js +1 -0
- package/dist/post-components/{p-41c9c59f.js → p-e929ddbc.js} +1 -1
- package/dist/post-components/p-ebb54756.entry.js +1 -0
- package/dist/post-components/p-ed22dec0.js +1 -0
- package/dist/post-components/p-f5d8f3fe.entry.js +1 -0
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-accordion/post-accordion.d.ts +8 -2
- package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +2 -1
- package/dist/types/components/post-card-control/post-card-control.d.ts +5 -2
- package/dist/types/components/post-tag/post-tag.d.ts +2 -2
- package/dist/types/components.d.ts +15 -5
- package/dist/types/types/heading-levels.d.ts +2 -0
- package/dist/types/types/index.d.ts +1 -0
- package/package.json +14 -14
- package/dist/cjs/index-3b732d59.js +0 -2111
- package/dist/cjs/post-card-control-4a16b3d7.js +0 -311
- package/dist/esm/index-961099d2.js +0 -2082
- package/dist/esm/post-card-control-b23e1e6f.js +0 -309
- package/dist/post-components/p-0d4e50a9.js +0 -1
- package/dist/post-components/p-1c780bac.entry.js +0 -1
- package/dist/post-components/p-2524b6b9.entry.js +0 -1
- package/dist/post-components/p-2ee23269.entry.js +0 -1
- package/dist/post-components/p-416426cc.js +0 -1
- package/dist/post-components/p-46cea7ee.js +0 -1
- package/dist/post-components/p-4aa14704.js +0 -1
- package/dist/post-components/p-5b2cdcf0.js +0 -2
- package/dist/post-components/p-60b02cbb.entry.js +0 -1
- package/dist/post-components/p-62407836.entry.js +0 -1
- package/dist/post-components/p-6308fd47.js +0 -1
- package/dist/post-components/p-6fba8cb2.entry.js +0 -1
- package/dist/post-components/p-86acda91.entry.js +0 -1
- package/dist/post-components/p-94b5c41e.entry.js +0 -1
- package/dist/post-components/p-a3b54b5f.js +0 -1
- package/dist/post-components/p-a4b6b950.js +0 -1
- package/dist/post-components/p-c0f8e385.entry.js +0 -1
- package/dist/post-components/p-c4fe5052.entry.js +0 -1
- package/dist/post-components/p-cd9c10dd.entry.js +0 -1
- package/dist/post-components/p-d8d76dd1.entry.js +0 -1
- package/dist/post-components/p-e819d5fb.entry.js +0 -1
- package/dist/post-components/p-f44c172a.js +0 -1
- package/dist/post-components/p-f9e58309.js +0 -1
- package/dist/post-components/p-ffb9a651.entry.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { v as version } from './package-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-cf1d5611.js';
|
|
2
|
+
import { v as version } from './package-a837c1ad.js';
|
|
3
3
|
import { c as checkNonEmpty } from './check-non-empty-58bd6b17.js';
|
|
4
4
|
|
|
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:var(--post-contrast-color-inverted)}.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
|
|
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:var(--post-contrast-color-inverted)}.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}";
|
|
6
6
|
const PostTabHeaderStyle0 = postTabHeaderCss;
|
|
7
7
|
|
|
8
8
|
const PostTabHeader = class {
|
|
@@ -18,7 +18,7 @@ const PostTabHeader = class {
|
|
|
18
18
|
this.tabId = `tab-${this.host.id || crypto.randomUUID()}`;
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: 'eb6ac6a67f4cbf571d38f1de1c8d428a9dea5a53', id: this.tabId, role: "tab", "data-version": version, "aria-selected": "false", tabindex: "-1", class: "tab-title" }, h("slot", { key: 'd6559dbcc76ecc8d253fcd4a115b4bc4f78fd496' })));
|
|
22
22
|
}
|
|
23
23
|
get host() { return getElement(this); }
|
|
24
24
|
static get watchers() { return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { P as post_tab_header } from './post-tab-header-
|
|
2
|
-
import './index-
|
|
3
|
-
import './package-
|
|
1
|
+
export { P as post_tab_header } from './post-tab-header-a97cdef2.js';
|
|
2
|
+
import './index-cf1d5611.js';
|
|
3
|
+
import './package-a837c1ad.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-
|
|
2
|
-
import { v as version } from './package-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-cf1d5611.js';
|
|
2
|
+
import { v as version } from './package-a837c1ad.js';
|
|
3
3
|
|
|
4
4
|
const postTabPanelCss = ":host{display:none}";
|
|
5
5
|
const PostTabPanelStyle0 = postTabPanelCss;
|
|
@@ -15,7 +15,7 @@ const PostTabPanel = class {
|
|
|
15
15
|
this.panelId = `panel-${this.host.id || crypto.randomUUID()}`;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: 'cd74acf8889af916b9b32b57b483bbd74d5a6e20', "data-version": version, id: this.panelId, role: "tabpanel" }, h("slot", { key: '9d2c3f42b1dd9214aeeee35efc1179372851af13' })));
|
|
19
19
|
}
|
|
20
20
|
get host() { return getElement(this); }
|
|
21
21
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { P as post_tab_panel } from './post-tab-panel-
|
|
2
|
-
import './index-
|
|
3
|
-
import './package-
|
|
1
|
+
export { P as post_tab_panel } from './post-tab-panel-e6999395.js';
|
|
2
|
+
import './index-cf1d5611.js';
|
|
3
|
+
import './package-a837c1ad.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { v as version } from './package-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-cf1d5611.js';
|
|
2
|
+
import { v as version } from './package-a837c1ad.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: '
|
|
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() }))));
|
|
147
147
|
}
|
|
148
148
|
get host() { return getElement(this); }
|
|
149
149
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { P as post_tabs } from './post-tabs-
|
|
2
|
-
import './index-
|
|
3
|
-
import './package-
|
|
1
|
+
export { P as post_tabs } from './post-tabs-524c699a.js';
|
|
2
|
+
import './index-cf1d5611.js';
|
|
3
|
+
import './package-a837c1ad.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-
|
|
2
|
-
import { v as version } from './package-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-cf1d5611.js';
|
|
2
|
+
import { v as version } from './package-a837c1ad.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;
|
|
@@ -20,7 +20,11 @@ const PostTag = class {
|
|
|
20
20
|
this.setClasses();
|
|
21
21
|
}
|
|
22
22
|
setClasses() {
|
|
23
|
-
this.classes = [
|
|
23
|
+
this.classes = [
|
|
24
|
+
'tag',
|
|
25
|
+
this.size ? `tag-${this.size}` : null,
|
|
26
|
+
this.variant ? `tag-${this.variant}` : null,
|
|
27
|
+
]
|
|
24
28
|
.filter(c => c !== null)
|
|
25
29
|
.join(' ');
|
|
26
30
|
}
|
|
@@ -28,7 +32,7 @@ const PostTag = class {
|
|
|
28
32
|
this.setClasses();
|
|
29
33
|
}
|
|
30
34
|
render() {
|
|
31
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '932992b2aa41e1082bf1617c7f6c74419febb143', "data-version": version }, h("div", { key: '3d5b82975cf95f1439299326347886a8b74e2d3d', class: this.classes }, this.icon ? h("post-icon", { name: this.icon }) : null, h("div", { key: '96dac1715f1ddfe799cb2cb443f57d2a4082d90e', class: "tag-text" }, h("slot", { key: 'bb886b44ae76b71096c9938dacd708d80b602790' })))));
|
|
32
36
|
}
|
|
33
37
|
get host() { return getElement(this); }
|
|
34
38
|
static get watchers() { return {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { P as post_tag } from './post-tag-
|
|
2
|
-
import './index-
|
|
3
|
-
import './package-
|
|
1
|
+
export { P as post_tag } from './post-tag-e2035a81.js';
|
|
2
|
+
import './index-cf1d5611.js';
|
|
3
|
+
import './package-a837c1ad.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { v as version$1 } from './package-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-cf1d5611.js';
|
|
2
|
+
import { v as version$1 } from './package-a837c1ad.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 : {};
|
|
@@ -4764,6 +4764,7 @@ const isFocusable = /*@__PURE__*/getDefaultExportFromCjs(focusable.exports);
|
|
|
4764
4764
|
document.addEventListener(mouseMove, mouseMoveHandler, true);
|
|
4765
4765
|
document.addEventListener('wheel', clearLongPressTimer, true);
|
|
4766
4766
|
document.addEventListener('scroll', clearLongPressTimer, true);
|
|
4767
|
+
document.addEventListener('contextmenu', clearLongPressTimer, true);
|
|
4767
4768
|
|
|
4768
4769
|
// hook events that can trigger a long press event
|
|
4769
4770
|
document.addEventListener(mouseDown, mouseDownHandler, true); // <- start
|
|
@@ -4939,7 +4940,7 @@ const PostTooltip = class {
|
|
|
4939
4940
|
}
|
|
4940
4941
|
render() {
|
|
4941
4942
|
const popoverClass = `${this.arrow ? ' has-arrow' : ''}`;
|
|
4942
|
-
return (h(Host, { key: '
|
|
4943
|
+
return (h(Host, { key: '07eb6b63076ce7803c58dfb6749553b636570b86', "data-version": version$1, role: "tooltip", onPointerOver: this.handleInterest, onPointerOut: this.handleInterestLost, onFocusIn: this.handleInterest, onFocusOut: this.handleInterestLost }, h("post-popovercontainer", { key: 'b0256a56e1814b4f83999f3267d3c39d874f515d', class: popoverClass, arrow: this.arrow, placement: this.placement, ref: (el) => (this.popoverRef = el) }, h("slot", { key: '9432e38bab0d14ea835aee0f7567ee9795067491' }))));
|
|
4943
4944
|
}
|
|
4944
4945
|
get host() { return getElement(this); }
|
|
4945
4946
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { P as post_tooltip } from './post-tooltip-
|
|
2
|
-
import './index-
|
|
3
|
-
import './package-
|
|
1
|
+
export { P as post_tooltip } from './post-tooltip-e4fc9c0c.js';
|
|
2
|
+
import './index-cf1d5611.js';
|
|
3
|
+
import './package-a837c1ad.js';
|
|
4
4
|
import './attribute-observer-37fa950a.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{P as PostAccordion}from"./p-
|
|
1
|
+
export{P as PostAccordion}from"./p-ed22dec0.js";export{P as PostAccordionItem}from"./p-2f4c40ee.js";export{P as PostAlert}from"./p-d70f33cd.js";export{P as PostCardControl}from"./p-67df1075.js";export{P as PostCollapsible}from"./p-c4a7208a.js";export{P as PostIcon}from"./p-d2eb0f0b.js";export{P as PostPopover}from"./p-3b0988a1.js";export{P as PostPopovercontainer}from"./p-18a2ef27.js";export{P as PostRating}from"./p-4575a570.js";export{P as PostTabs}from"./p-d1f516dd.js";export{P as PostTabHeader}from"./p-9a59f2c7.js";export{P as PostTabPanel}from"./p-59da0b80.js";export{P as PostTooltip}from"./p-c85913ed.js";export{P as PostTag}from"./p-e929ddbc.js";import"./p-18b571e3.js";import"./p-cf10d355.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_accordion_item}from"./p-2f4c40ee.js";import"./p-18b571e3.js";import"./p-cf10d355.js";import"./p-247a1668.js";import"./p-f91c0e1b.js";import"./p-440193f4.js";import"./p-611b3c41.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as post_rating}from"./p-4575a570.js";import"./p-18b571e3.js";import"./p-cf10d355.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as post_popovercontainer}from"./p-18a2ef27.js";import"./p-18b571e3.js";import"./p-cf10d355.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as n,H as o,g as r}from"./p-18b571e3.js";import{v as i}from"./p-cf10d355.js";const l=Math.min,a=Math.max,s=Math.round,c=Math.floor,u=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},p={start:"end",end:"start"};function d(t,e,n){return a(t,l(e,n))}function h(t,e){return"function"==typeof t?t(e):t}function m(t){return t.split("-")[0]}function g(t){return t.split("-")[1]}function b(t){return"x"===t?"y":"x"}function w(t){return"y"===t?"height":"width"}function v(t){return["top","bottom"].includes(m(t))?"y":"x"}function y(t){return b(v(t))}function x(t){return t.replace(/start|end/g,(t=>p[t]))}function S(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function T(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function E(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function A(t,e,n){let{reference:o,floating:r}=t;const i=v(e),l=y(e),a=w(l),s=m(e),c="y"===i,u=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,p=o[a]/2-r[a]/2;let d;switch(s){case"top":d={x:u,y:o.y-r.height};break;case"bottom":d={x:u,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:f};break;case"left":d={x:o.x-r.width,y:f};break;default:d={x:o.x,y:o.y}}switch(g(e)){case"start":d[l]-=p*(n&&c?-1:1);break;case"end":d[l]+=p*(n&&c?-1:1)}return d}async function M(t,e){var n;void 0===e&&(e={});const{x:o,y:r,platform:i,rects:l,elements:a,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:p=!1,padding:d=0}=h(e,t),m=T(d),g=a[p?"floating"===f?"reference":"floating":f],b=E(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:s})),w="floating"===f?{...l.floating,x:o,y:r}:l.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),y=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},x=E(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:v,strategy:s}):w);return{top:(b.top-x.top+m.top)/y.y,bottom:(x.bottom-b.bottom+m.bottom)/y.y,left:(b.left-x.left+m.left)/y.x,right:(x.right-b.right+m.right)/y.x}}function k(t){const e=l(...t.map((t=>t.left))),n=l(...t.map((t=>t.top)));return{x:e,y:n,width:a(...t.map((t=>t.right)))-e,height:a(...t.map((t=>t.bottom)))-n}}function L(t){return O(t)?(t.nodeName||"").toLowerCase():"#document"}function H(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function D(t){var e;return null==(e=(O(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function O(t){return t instanceof Node||t instanceof H(t).Node}function F(t){return t instanceof Element||t instanceof H(t).Element}function R(t){return t instanceof HTMLElement||t instanceof H(t).HTMLElement}function z(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof H(t).ShadowRoot)}function P(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=B(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(r)}function W(t){return["table","td","th"].includes(L(t))}function j(t){const e=C(),n=B(t);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((t=>(n.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(n.contain||"").includes(t)))}function C(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function q(t){return["html","body","#document"].includes(L(t))}function B(t){return H(t).getComputedStyle(t)}function I(t){return F(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function $(t){if("html"===L(t))return t;const e=t.assignedSlot||t.parentNode||z(t)&&t.host||D(t);return z(e)?e.host:e}function N(t){const e=$(t);return q(e)?t.ownerDocument?t.ownerDocument.body:t.body:R(e)&&P(e)?e:N(e)}function G(t,e,n){var o;void 0===e&&(e=[]),void 0===n&&(n=!0);const r=N(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),l=H(r);return i?e.concat(l,l.visualViewport||[],P(r)?r:[],l.frameElement&&n?G(l.frameElement):[]):e.concat(r,G(r,[],n))}function V(t){const e=B(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=R(t),i=r?t.offsetWidth:n,l=r?t.offsetHeight:o,a=s(n)!==i||s(o)!==l;return a&&(n=i,o=l),{width:n,height:o,$:a}}function X(t){return F(t)?t:t.contextElement}function Y(t){const e=X(t);if(!R(e))return u(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:i}=V(e);let l=(i?s(n.width):n.width)/o,a=(i?s(n.height):n.height)/r;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}const _=u(0);function J(t){const e=H(t);return C()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:_}function K(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const r=t.getBoundingClientRect(),i=X(t);let l=u(1);e&&(o?F(o)&&(l=Y(o)):l=Y(t));const a=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==H(t))&&e}(i,n,o)?J(i):u(0);let s=(r.left+a.x)/l.x,c=(r.top+a.y)/l.y,f=r.width/l.x,p=r.height/l.y;if(i){const t=H(i),e=o&&F(o)?H(o):o;let n=t,r=n.frameElement;for(;r&&o&&e!==n;){const t=Y(r),e=r.getBoundingClientRect(),o=B(r),i=e.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,l=e.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=i,c+=l,n=H(r),r=n.frameElement}}return E({width:f,height:p,x:s,y:c})}const Q=[":popover-open",":modal"];function U(t){return Q.some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function Z(t){return K(D(t)).left+I(t).scrollLeft}function tt(t,e,n){let o;if("viewport"===e)o=function(t,e){const n=H(t),o=D(t),r=n.visualViewport;let i=o.clientWidth,l=o.clientHeight,a=0,s=0;if(r){i=r.width,l=r.height;const t=C();(!t||t&&"fixed"===e)&&(a=r.offsetLeft,s=r.offsetTop)}return{width:i,height:l,x:a,y:s}}(t,n);else if("document"===e)o=function(t){const e=D(t),n=I(t),o=t.ownerDocument.body,r=a(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=a(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+Z(t);const s=-n.scrollTop;return"rtl"===B(o).direction&&(l+=a(e.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:s}}(D(t));else if(F(e))o=function(t,e){const n=K(t,!0,"fixed"===e),o=n.top+t.clientTop,r=n.left+t.clientLeft,i=R(t)?Y(t):u(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(e,n);else{const n=J(t);o={...e,x:e.x-n.x,y:e.y-n.y}}return E(o)}function et(t,e){const n=$(t);return!(n===e||!F(n)||q(n))&&("fixed"===B(n).position||et(n,e))}function nt(t,e,n){const o=R(e),r=D(e),i="fixed"===n,l=K(t,!0,i,e);let a={scrollLeft:0,scrollTop:0};const s=u(0);if(o||!o&&!i)if(("body"!==L(e)||P(r))&&(a=I(e)),o){const t=K(e,!0,i,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else r&&(s.x=Z(r));return{x:l.left+a.scrollLeft-s.x,y:l.top+a.scrollTop-s.y,width:l.width,height:l.height}}function ot(t){return"static"===B(t).position}function rt(t,e){return R(t)&&"fixed"!==B(t).position?e?e(t):t.offsetParent:null}function it(t,e){const n=H(t);if(U(t))return n;if(!R(t)){let e=$(t);for(;e&&!q(e);){if(F(e)&&!ot(e))return e;e=$(e)}return n}let o=rt(t,e);for(;o&&W(o)&&ot(o);)o=rt(o,e);return o&&q(o)&&ot(o)&&!j(o)?n:o||function(t){let e=$(t);for(;R(e)&&!q(e);){if(j(e))return e;e=$(e)}return null}(t)||n}const lt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const i="fixed"===r,l=D(o),a=!!e&&U(e.floating);if(o===l||a&&i)return n;let s={scrollLeft:0,scrollTop:0},c=u(1);const f=u(0),p=R(o);if((p||!p&&!i)&&(("body"!==L(o)||P(l))&&(s=I(o)),R(o))){const t=K(o);c=Y(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+f.x,y:n.y*c.y-s.scrollTop*c.y+f.y}},getDocumentElement:D,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===n?U(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let o=G(t,[],!1).filter((t=>F(t)&&"body"!==L(t))),r=null;const i="fixed"===B(t).position;let l=i?$(t):t;for(;F(l)&&!q(l);){const e=B(l),n=j(l);n||"fixed"!==e.position||(r=null),(i?!n&&!r:!n&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||P(l)&&!n&&et(t,l))?o=o.filter((t=>t!==l)):r=e,l=$(l)}return e.set(t,o),o}(e,this._c):[].concat(n),o],s=i.reduce(((t,n)=>{const o=tt(e,n,r);return t.top=a(o.top,t.top),t.right=l(o.right,t.right),t.bottom=l(o.bottom,t.bottom),t.left=a(o.left,t.left),t}),tt(e,i[0],r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:it,getElementRects:async function(t){const e=this.getOffsetParent||it,n=this.getDimensions,o=await n(t.floating);return{reference:nt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=V(t);return{width:e,height:n}},getScale:Y,isElement:F,isRTL:function(t){return"rtl"===B(t).direction}};const at=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:r,y:i,placement:l,middlewareData:a}=e,s=await async function(t,e){const{placement:n,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),l=m(n),a=g(n),s="y"===v(n),c=["left","top"].includes(l)?-1:1,u=i&&s?-1:1,f=h(e,t);let{mainAxis:p,crossAxis:d,alignmentAxis:b}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&"number"==typeof b&&(d="end"===a?-1*b:b),s?{x:d*u,y:p*c}:{x:p*c,y:d*u}}(e,t);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(o=a.arrow)&&o.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:l}}}}},st=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r}=e,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...s}=h(t,e),c={x:n,y:o},u=await M(e,s),f=v(m(r)),p=b(f);let g=c[p],w=c[f];i&&(g=d(g+u["y"===p?"top":"left"],g,g-u["y"===p?"bottom":"right"])),l&&(w=d(w+u["y"===f?"top":"left"],w,w-u["y"===f?"bottom":"right"]));const y=a.fn({...e,[p]:g,[f]:w});return{...y,data:{x:y.x-n,y:y.y-o}}}}},ct=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:l,initialPlacement:a,platform:s,elements:c}=e,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:v=!0,...T}=h(t,e);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const E=m(r),A=m(a)===a,k=await(null==s.isRTL?void 0:s.isRTL(c.floating)),L=p||(A||!v?[S(a)]:function(t){const e=S(t);return[x(t),e,x(e)]}(a));p||"none"===b||L.push(...function(t,e,n,o){const r=g(t);let i=function(t,e,n){const o=["left","right"],r=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(t){case"top":case"bottom":return n?e?r:o:e?o:r;case"left":case"right":return e?i:l;default:return[]}}(m(t),"start"===n,o);return r&&(i=i.map((t=>t+"-"+r)),e&&(i=i.concat(i.map(x)))),i}(a,v,b,k));const H=[a,...L],D=await M(e,T),O=[];let F=(null==(o=i.flip)?void 0:o.overflows)||[];if(u&&O.push(D[E]),f){const t=function(t,e,n){void 0===n&&(n=!1);const o=g(t),r=y(t),i=w(r);let l="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[i]>e.floating[i]&&(l=S(l)),[l,S(l)]}(r,l,k);O.push(D[t[0]],D[t[1]])}if(F=[...F,{placement:r,overflows:O}],!O.every((t=>t<=0))){var R,z;const t=((null==(R=i.flip)?void 0:R.index)||0)+1,e=H[t];if(e)return{data:{index:t,overflows:F},reset:{placement:e}};let n=null==(z=F.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:z.placement;if(!n)switch(d){case"bestFit":{var P;const t=null==(P=F.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:P[0];t&&(n=t);break}case"initialPlacement":n=a}if(r!==n)return{reset:{placement:n}}}return{}}}},ut=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:o,platform:r,elements:i}=e,{apply:s=(()=>{}),...c}=h(t,e),u=await M(e,c),f=m(n),p=g(n),d="y"===v(n),{width:b,height:w}=o.floating;let y,x;"top"===f||"bottom"===f?(y=f,x=p===(await(null==r.isRTL?void 0:r.isRTL(i.floating))?"start":"end")?"left":"right"):(x=f,y="end"===p?"top":"bottom");const S=w-u[y],T=b-u[x],E=!e.middlewareData.shift;let A=S,k=T;if(d){const t=b-u.left-u.right;k=p||E?l(T,t):t}else{const t=w-u.top-u.bottom;A=p||E?l(S,t):t}if(E&&!p){const t=a(u.left,0),e=a(u.right,0),n=a(u.top,0),o=a(u.bottom,0);d?k=b-2*(0!==t||0!==e?t+e:a(u.left,u.right)):A=w-2*(0!==n||0!==o?n+o:a(u.top,u.bottom))}await s({...e,availableWidth:k,availableHeight:A});const L=await r.getDimensions(i.floating);return b!==L.width||w!==L.height?{reset:{rects:!0}}:{}}}},ft=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:r,rects:i,middlewareData:l}=e,{offset:a=0,mainAxis:s=!0,crossAxis:c=!0}=h(t,e),u={x:n,y:o},f=v(r),p=b(f);let d=u[p],g=u[f];const w=h(a,e),y="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(s){const t="y"===p?"height":"width",e=i.reference[p]-i.floating[t]+y.mainAxis,n=i.reference[p]+i.reference[t]-y.mainAxis;d<e?d=e:d>n&&(d=n)}if(c){var x,S;const t="y"===p?"width":"height",e=["top","left"].includes(m(r)),n=i.reference[f]-i.floating[t]+(e&&(null==(x=l.offset)?void 0:x[f])||0)+(e?0:y.crossAxis),o=i.reference[f]+i.reference[t]+(e?0:(null==(S=l.offset)?void 0:S[f])||0)-(e?y.crossAxis:0);g<n?g=n:g>o&&(g=o)}return{[p]:d,[f]:g}}}};(()=>{var t=class extends Event{oldState;newState;constructor(t,{oldState:e="",newState:n="",...o}={}){super(t,o),this.oldState=String(e||""),this.newState=String(n||"")}},e=new WeakMap;function n(n,o,r){e.set(n,setTimeout((()=>{e.has(n)&&n.dispatchEvent(new t("toggle",{cancelable:!1,oldState:o,newState:r}))}),0))}var o=globalThis.ShadowRoot||function(){},r=globalThis.HTMLDialogElement||function(){},i=new WeakMap,l=new WeakMap,a=new WeakMap;function s(t){return a.get(t)||"hidden"}var c=new WeakMap;function u(t,e){return!("auto"!==t.popover&&"manual"!==t.popover||!t.isConnected||e&&"showing"!==s(t)||!e&&"hidden"!==s(t)||t instanceof r&&t.hasAttribute("open")||document.fullscreenElement===t)}function f(t){return t?Array.from(l.get(t.ownerDocument)||[]).indexOf(t)+1:0}function p(t){let e=l.get(t);for(let t of e||[]){if(t.isConnected)return t;e.delete(t)}return null}function d(t){return"function"==typeof t.getRootNode?t.getRootNode():t.parentNode?d(t.parentNode):t}function h(t){for(;t;){if(t instanceof HTMLElement&&"auto"===t.popover&&"showing"===a.get(t))return t;if((t=t.parentElement||d(t))instanceof o&&(t=t.host),t instanceof Document)return}}function m(t){return!(t.hidden||t instanceof o||(t instanceof HTMLButtonElement||t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement||t instanceof HTMLOptGroupElement||t instanceof HTMLOptionElement||t instanceof HTMLFieldSetElement)&&t.disabled||t instanceof HTMLInputElement&&"hidden"===t.type||t instanceof HTMLAnchorElement&&""===t.href)&&"number"==typeof t.tabIndex&&-1!==t.tabIndex}var g=new WeakMap;function b(e){if(!u(e,!1))return;let o=e.ownerDocument;if(!e.dispatchEvent(new t("beforetoggle",{cancelable:!0,oldState:"closed",newState:"open"}))||!u(e,!1))return;let r=!1;if("auto"===e.popover){let t=e.getAttribute("popover"),n=function(t){let e=new Map,n=0,o=t.ownerDocument;for(let t of l.get(o)||[])e.set(t,n),n+=1;e.set(t,n),n+=1;let r=null;return function(t){let n=h(t);if(null===n)return null;let o=e.get(n);(null===r||e.get(r)<o)&&(r=n)}(t?.parentElement),r}(e)||o;if(y(n,!1,!0),t!==e.getAttribute("popover")||!u(e,!1))return}p(o)||(r=!0),g.delete(e);let s=o.activeElement;e.classList.add(":popover-open"),a.set(e,"showing"),i.has(o)||i.set(o,new Set),i.get(o).add(e),function(t){(function(t){if(t.shadowRoot&&!0!==t.shadowRoot.delegatesFocus)return null;let e=t;e.shadowRoot&&(e=e.shadowRoot);let n=e.querySelector("[autofocus]");if(n)return n;{let t=e.querySelectorAll("slot");for(let e of t){let t=e.assignedElements({flatten:!0});for(let e of t){if(e.hasAttribute("autofocus"))return e;if(n=e.querySelector("[autofocus]"),n)return n}}}let o=t.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT),r=o.currentNode;for(;r;){if(m(r))return r;r=o.nextNode()}})(t)?.focus()}(e),"auto"===e.popover&&(l.has(o)||l.set(o,new Set),l.get(o).add(e),E(c.get(e),!0)),r&&s&&"auto"===e.popover&&g.set(e,s),n(e,"closed","open")}function w(e,o=!1,r=!1){if(!u(e,!0))return;let s=e.ownerDocument;if("auto"===e.popover&&(y(e,o,r),!u(e,!0))||(E(c.get(e),!1),c.delete(e),r&&(e.dispatchEvent(new t("beforetoggle",{oldState:"open",newState:"closed"})),!u(e,!0))))return;i.get(s)?.delete(e),l.get(s)?.delete(e),e.classList.remove(":popover-open"),a.set(e,"hidden"),r&&n(e,"open","closed");let f=g.get(e);f&&(g.delete(e),o&&f.focus())}function v(t,e=!1,n=!1){let o=p(t);for(;o;)w(o,e,n),o=p(t)}function y(t,e,n){let o=t.ownerDocument||t;if(t instanceof Document)return v(o,e,n);let r=null,i=!1;for(let e of l.get(o)||[])if(e===t)i=!0;else if(i){r=e;break}if(!i)return v(o,e,n);for(;r&&"showing"===s(r)&&l.get(o)?.size;)w(r,e,n)}var x=new WeakMap;function S(t){if(!t.isTrusted)return;let e=t.composedPath()[0];if(!e)return;let n=e.ownerDocument;if(!p(n))return;let r=function(t){let e=h(t),n=function(t){for(;t;){let e=t.popoverTargetElement;if(e instanceof HTMLElement)return e;if((t=t.parentElement||d(t))instanceof o&&(t=t.host),t instanceof Document)return}}(t);return f(e)>f(n)?e:n}(e);if(r&&"pointerdown"===t.type)x.set(n,r);else if("pointerup"===t.type){let t=x.get(n)===r;x.delete(n),t&&y(r||n,!1,!0)}}var T=new WeakMap;function E(t,e=!1){if(!t)return;T.has(t)||T.set(t,t.getAttribute("aria-expanded"));let n=t.popoverTargetElement;if(n instanceof HTMLElement&&"auto"===n.popover)t.setAttribute("aria-expanded",String(e));else{let e=T.get(t);e?t.setAttribute("aria-expanded",e):t.removeAttribute("aria-expanded")}}var A=globalThis.ShadowRoot||function(){};function M(t,e,n){let o=t[e];Object.defineProperty(t,e,{value(t){return o.call(this,n(t))}})}var k=/(^|[^\\]):popover-open\b/g,L="\n :where([popover]) {\n position: fixed;\n z-index: 2147483647;\n inset: 0;\n padding: 0.25em;\n width: fit-content;\n height: fit-content;\n border-width: initial;\n border-color: initial;\n border-image: initial;\n border-style: solid;\n background-color: canvas;\n color: canvastext;\n overflow: auto;\n margin: auto;\n }\n\n :where(dialog[popover][open]) {\n display: revert;\n }\n\n :where([anchor].\\:popover-open) {\n inset: auto;\n }\n\n :where([anchor]:popover-open) {\n inset: auto;\n }\n\n @supports not (background-color: canvas) {\n :where([popover]) {\n background-color: white;\n color: black;\n }\n }\n\n @supports (width: -moz-fit-content) {\n :where([popover]) {\n width: -moz-fit-content;\n height: -moz-fit-content;\n }\n }\n\n @supports not (inset: 0) {\n :where([popover]) {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n }\n\n :where([popover]:not(.\\:popover-open)) {\n display: none;\n }\n",H=null;function D(t){if(null===H)try{(H=new CSSStyleSheet).replaceSync(L)}catch{H=!1}if(!1===H){let e=document.createElement("style");e.textContent=L,t instanceof Document?t.head.prepend(e):t.prepend(e)}else t.adoptedStyleSheets=[H,...t.adoptedStyleSheets]}typeof HTMLElement<"u"&&"object"==typeof HTMLElement.prototype&&"popover"in HTMLElement.prototype||function(){function e(t){return t?.includes(":popover-open")&&(t=t.replace(k,"$1.\\:popover-open")),t}window.ToggleEvent=window.ToggleEvent||t,M(Document.prototype,"querySelector",e),M(Document.prototype,"querySelectorAll",e),M(Element.prototype,"querySelector",e),M(Element.prototype,"querySelectorAll",e),M(Element.prototype,"matches",e),M(Element.prototype,"closest",e),M(DocumentFragment.prototype,"querySelectorAll",e),M(DocumentFragment.prototype,"querySelectorAll",e),Object.defineProperties(HTMLElement.prototype,{popover:{enumerable:!0,configurable:!0,get(){if(!this.hasAttribute("popover"))return null;let t=(this.getAttribute("popover")||"").toLowerCase();return""===t||"auto"==t?"auto":"manual"},set(t){this.setAttribute("popover",t)}},showPopover:{enumerable:!0,configurable:!0,value(){b(this)}},hidePopover:{enumerable:!0,configurable:!0,value(){w(this,!0,!0)}},togglePopover:{enumerable:!0,configurable:!0,value(t){"showing"===a.get(this)&&void 0===t||!1===t?w(this,!0,!0):(void 0===t||!0===t)&&b(this)}}});let n=Element.prototype.attachShadow;n&&Object.defineProperties(Element.prototype,{attachShadow:{enumerable:!0,configurable:!0,writable:!0,value(t){let e=n.call(this,t);return D(e),e}}});let o=HTMLElement.prototype.attachInternals;o&&Object.defineProperties(HTMLElement.prototype,{attachInternals:{enumerable:!0,configurable:!0,writable:!0,value(){let t=o.call(this);return t.shadowRoot&&D(t.shadowRoot),t}}});let r=new WeakMap;function i(t){Object.defineProperties(t.prototype,{popoverTargetElement:{enumerable:!0,configurable:!0,set(t){if(null===t)this.removeAttribute("popovertarget"),r.delete(this);else{if(!(t instanceof Element))throw new TypeError("popoverTargetElement must be an element or null");this.setAttribute("popovertarget",""),r.set(this,t)}},get(){if("button"!==this.localName&&"input"!==this.localName||"input"===this.localName&&"reset"!==this.type&&"image"!==this.type&&"button"!==this.type||this.disabled||this.form&&"submit"===this.type)return null;let t=r.get(this);if(t&&t.isConnected)return t;if(t&&!t.isConnected)return r.delete(this),null;let e=d(this),n=this.getAttribute("popovertarget");return(e instanceof Document||e instanceof A)&&n&&e.getElementById(n)||null}},popoverTargetAction:{enumerable:!0,configurable:!0,get(){let t=(this.getAttribute("popovertargetaction")||"").toLowerCase();return"show"===t||"hide"===t?t:"toggle"},set(t){this.setAttribute("popovertargetaction",t)}}})}i(HTMLButtonElement),i(HTMLInputElement);var l;(l=document).addEventListener("click",(t=>{if(!t.isTrusted)return;let e=t.composedPath()[0];if(!(e instanceof Element)||e?.shadowRoot)return;let n=d(e);if(!(n instanceof A||n instanceof Document))return;let o=e.closest("[popovertargetaction],[popovertarget]");return o?(function(t){let e=t.popoverTargetElement;if(!(e instanceof HTMLElement))return;let n=s(e);"show"===t.popoverTargetAction&&"showing"===n||"hide"===t.popoverTargetAction&&"hidden"===n||("showing"===n?w(e,!0,!0):u(e,!1)&&(c.set(e,t),b(e)))}(o),void t.preventDefault()):void 0})),l.addEventListener("keydown",(t=>{let e=t.key,n=t.target;!t.defaultPrevented&&n&&("Escape"===e||"Esc"===e)&&y(n.ownerDocument,!0,!0)})),l.addEventListener("pointerdown",S),l.addEventListener("pointerup",S),D(document)}()})();const pt={top:"bottom",right:"left",bottom:"top",left:"right"},dt=class{constructor(n){t(this,n),this.postToggle=e(this,"postToggle",7),this.placement="top",this.arrow=!1}componentDidLoad(){this.popoverRef.setAttribute("popover",""),this.popoverRef.addEventListener("beforetoggle",this.handleToggle.bind(this))}disconnectedCallback(){this.popoverRef&&this.popoverRef.removeEventListener("beforetoggle",(t=>this.toggle(t.target))),"function"==typeof this.clearAutoUpdate&&this.clearAutoUpdate()}async show(t){this.toggleTimeoutId||(this.eventTarget=t,this.calculatePosition(),this.popoverRef.showPopover())}async hide(){this.toggleTimeoutId||(this.eventTarget=null,this.popoverRef.hidePopover())}async toggle(t,e){return this.toggleTimeoutId||(this.eventTarget=t,this.calculatePosition(),this.popoverRef.togglePopover(e),this.toggleTimeoutId=null),this.popoverRef.matches(":popover-open")}handleToggle(t){this.toggleTimeoutId=window.setTimeout((()=>this.toggleTimeoutId=null),10);const e="open"===t.newState;e?this.startAutoupdates():"function"==typeof this.clearAutoUpdate&&this.clearAutoUpdate(),this.postToggle.emit(e)}startAutoupdates(){this.clearAutoUpdate=function(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=o,p=X(t),d=r||i?[...p?G(p):[],...G(e)]:[];d.forEach((t=>{r&&t.addEventListener("scroll",n,{passive:!0}),i&&t.addEventListener("resize",n)}));const h=p&&u?function(t,e){let n,o=null;const r=D(t);function i(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return function s(u,f){void 0===u&&(u=!1),void 0===f&&(f=1),i();const{left:p,top:d,width:h,height:m}=t.getBoundingClientRect();if(u||e(),!h||!m)return;const g={rootMargin:-c(d)+"px "+-c(r.clientWidth-(p+h))+"px "+-c(r.clientHeight-(d+m))+"px "+-c(p)+"px",threshold:a(0,l(1,f))||1};let b=!0;function w(t){const e=t[0].intersectionRatio;if(e!==f){if(!b)return s();e?s(!1,e):n=setTimeout((()=>{s(!1,1e-7)}),1e3)}b=!1}try{o=new IntersectionObserver(w,{...g,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(w,g)}o.observe(t)}(!0),i}(p,n):null;let m,g=-1,b=null;s&&(b=new ResizeObserver((t=>{let[o]=t;o&&o.target===p&&b&&(b.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{var t;null==(t=b)||t.observe(e)}))),n()})),p&&!f&&b.observe(p),b.observe(e));let w=f?K(t):null;return f&&function e(){const o=K(t);!w||o.x===w.x&&o.y===w.y&&o.width===w.width&&o.height===w.height||n(),w=o,m=requestAnimationFrame(e)}(),n(),()=>{var t;d.forEach((t=>{r&&t.removeEventListener("scroll",n),i&&t.removeEventListener("resize",n)})),null==h||h(),null==(t=b)||t.disconnect(),b=null,f&&cancelAnimationFrame(m)}}(this.eventTarget,this.popoverRef,this.calculatePosition.bind(this))}async calculatePosition(){const t=[ct(),(void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:o,rects:r,platform:i,strategy:s}=t,{padding:c=2,x:u,y:f}=h(e,t),p=Array.from(await(null==i.getClientRects?void 0:i.getClientRects(o.reference))||[]),d=function(t){const e=t.slice().sort(((t,e)=>t.y-e.y)),n=[];let o=null;for(let t=0;t<e.length;t++){const r=e[t];!o||r.y-o.y>o.height/2?n.push([r]):n[n.length-1].push(r),o=r}return n.map((t=>E(k(t))))}(p),g=E(k(p)),b=T(c),w=await i.getElementRects({reference:{getBoundingClientRect:function(){if(2===d.length&&d[0].left>d[1].right&&null!=u&&null!=f)return d.find((t=>u>t.left-b.left&&u<t.right+b.right&&f>t.top-b.top&&f<t.bottom+b.bottom))||g;if(d.length>=2){if("y"===v(n)){const t=d[0],e=d[d.length-1],o="top"===m(n),r=t.top,i=e.bottom,l=o?t.left:e.left,a=o?t.right:e.right;return{top:r,bottom:i,left:l,right:a,width:a-l,height:i-r,x:l,y:r}}const t="left"===m(n),e=a(...d.map((t=>t.right))),o=l(...d.map((t=>t.left))),r=d.filter((n=>t?n.left===o:n.right===e)),i=r[0].top,s=r[r.length-1].bottom;return{top:i,bottom:s,left:o,right:e,width:e-o,height:s-i,x:o,y:i}}return g}},floating:o.floating,strategy:s});return r.reference.x!==w.reference.x||r.reference.y!==w.reference.y||r.reference.width!==w.reference.width||r.reference.height!==w.reference.height?{reset:{rects:w}}:{}}}),st({padding:8,limiter:ft({offset:32})}),ut({apply({availableWidth:t,elements:e}){Object.assign(e.floating.style,{maxWidth:t-16+"px"})}}),at(this.arrow?12:8)];var e;this.arrow&&t.push((t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:r,rects:i,platform:a,elements:s,middlewareData:c}=e,{element:u,padding:f=0}=h(t,e)||{};if(null==u)return{};const p=T(f),m={x:n,y:o},b=y(r),v=w(b),x=await a.getDimensions(u),S="y"===b,E=S?"top":"left",A=S?"bottom":"right",M=S?"clientHeight":"clientWidth",k=i.reference[v]+i.reference[b]-m[b]-i.floating[v],L=m[b]-i.reference[b],H=await(null==a.getOffsetParent?void 0:a.getOffsetParent(u));let D=H?H[M]:0;D&&await(null==a.isElement?void 0:a.isElement(H))||(D=s.floating[M]||i.floating[v]);const O=k/2-L/2,F=D/2-x[v]/2-1,R=l(p[E],F),z=l(p[A],F),P=R,W=D-x[v]-z,j=D/2-x[v]/2+O,C=d(P,j,W),q=!c.arrow&&null!=g(r)&&j!==C&&i.reference[v]/2-(j<P?R:z)-x[v]/2<0,B=q?j<P?j-P:j-W:0;return{[b]:m[b]+B,data:{[b]:C,centerOffset:j-C-B,...q&&{alignmentOffset:B}},reset:q}}}))({element:this.arrowRef,padding:8}));const{x:n,y:o,middlewareData:r,placement:i}=await((t,e,n)=>{const o=new Map,r={platform:lt,...n},i={...r.platform,_c:o};return(async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=n,a=i.filter(Boolean),s=await(null==l.isRTL?void 0:l.isRTL(e));let c=await l.getElementRects({reference:t,floating:e,strategy:r}),{x:u,y:f}=A(c,o,s),p=o,d={},h=0;for(let n=0;n<a.length;n++){const{name:i,fn:m}=a[n],{x:g,y:b,data:w,reset:v}=await m({x:u,y:f,initialPlacement:o,placement:p,strategy:r,middlewareData:d,rects:c,platform:l,elements:{reference:t,floating:e}});u=null!=g?g:u,f=null!=b?b:f,d={...d,[i]:{...d[i],...w}},v&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(p=v.placement),v.rects&&(c=!0===v.rects?await l.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:u,y:f}=A(c,p,s))),n=-1)}return{x:u,y:f,placement:p,strategy:r,middlewareData:d}})(t,e,{...r,platform:i})})(this.eventTarget,this.popoverRef,{placement:this.placement||"top",strategy:"fixed",middleware:t});if(this.popoverRef.style.left=`${n}px`,this.popoverRef.style.top=`${o}px`,this.arrow){const t=i.split("-")[0],{x:e,y:n}=r.arrow,o=pt[t],l=2;Object.assign(this.arrowRef.style,{top:n?`${n}px`:"",left:e?`${e}px`:"",[o]:-this.arrowRef.offsetWidth/2-l+"px"}),this.arrowRef.classList.remove(...Object.values(pt)),this.arrowRef.classList.add(o)}}render(){return n(o,{key:"1707db71258eef7c95c13d738561d9d55df540fc","data-version":i},n("div",{key:"d1d89bfc31529c803b04f2395509fe96b38d7d7a",class:"popover",part:"popover",ref:t=>this.popoverRef=t},this.arrow&&n("span",{key:"d85fc5f68be0ff8060b3be823e22744873395775",class:"arrow",ref:t=>{this.arrowRef=t}}),n("slot",{key:"7bd455d61d270b9d6cdc132ffb7a00f0259164e7"})))}get host(){return r(this)}};dt.style="@layer polyfill{@supports not selector(:popover-open){[popover]:not(.\\:popover-open){display:none}}}.popover{box-shadow:.5px 3px 4px rgba(0,0,0,.1),2px 4px 10px 4px rgba(0,0,0,.12);position:fixed;z-index:1060;width:max-content;margin:0;padding:0;box-sizing:border-box;color:var(--post-contrast-color);background-color:rgb(var(--post-bg-rgb));border:2px solid rgba(0,0,0,0);border-radius:4px;overflow:visible}.arrow{position:absolute;width:.5825rem;height:.5825rem;background-color:inherit;rotate:45deg;pointer-events:none;z-index:-1}.arrow.top{border-left:2px solid rgba(0,0,0,0);border-top:2px solid rgba(0,0,0,0)}.arrow.right{border-right:2px solid rgba(0,0,0,0);border-top:2px solid rgba(0,0,0,0)}.arrow.left{border-left:2px solid rgba(0,0,0,0);border-bottom:2px solid rgba(0,0,0,0)}.arrow.bottom{border-right:2px solid rgba(0,0,0,0);border-bottom:2px solid rgba(0,0,0,0)}";export{dt as P}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=Object.defineProperty,n={},t=e=>"object"==(e=typeof e)||"function"===e;function l(e){var n,t,l;return null!=(l=null==(t=null==(n=e.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:t.getAttribute("content"))?l:void 0}((n,t)=>{for(var l in t)e(n,l,{get:t[l],enumerable:!0})})({},{err:()=>s,map:()=>r,ok:()=>o,unwrap:()=>u,unwrapErr:()=>a});var o=e=>({isOk:!0,isErr:!1,value:e}),s=e=>({isOk:!1,isErr:!0,value:e});function r(e,n){if(e.isOk){const t=n(e.value);return t instanceof Promise?t.then((e=>o(e))):o(t)}if(e.isErr)return s(e.value);throw"should never get here"}var i,c,u=e=>{if(e.isOk)return e.value;throw e.value},a=e=>{if(e.isErr)return e.value;throw e.value},f="slot-fb{display:contents}slot-fb[hidden]{display:none}",d=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],p=(e,n,...l)=>{let o=null,s=null,r=!1,i=!1;const c=[],u=n=>{for(let l=0;l<n.length;l++)o=n[l],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof e&&!t(o))&&(o+=""),r&&i?c[c.length-1].t+=o:c.push(r?m(null,o):o),i=r)};if(u(l),n){n.key&&(s=n.key);{const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((n=>e[n])).join(" "))}}if("function"==typeof e)return e(null===n?{}:n,c,y);const a=m(e,null);return a.l=n,c.length>0&&(a.o=c),a.i=s,a},m=(e,n)=>({u:0,p:e,t:n,m:null,o:null,l:null,i:null}),v={},y={forEach:(e,n)=>e.map(h).forEach(n),map:(e,n)=>e.map(h).map(n).map(b)},h=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.v,vtag:e.p,vtext:e.t}),b=e=>{if("function"==typeof e.vtag){const n={...e.vattrs};return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),p(e.vtag,n,...e.vchildren||[])}const n=m(e.vtag,e.vtext);return n.l=e.vattrs,n.o=e.vchildren,n.i=e.vkey,n.v=e.vname,n},$=e=>se(e).$hostElement$,w=(e,n,t)=>{const l=$(e);return{emit:e=>k(l,n,{bubbles:!!(4&t),composed:!!(2&t),cancelable:!!(1&t),detail:e})}},k=(e,n,t)=>{const l=ve.ce(n,t);return e.dispatchEvent(l),l},g=new WeakMap,j=e=>"sc-"+e.h,O=(e,n,l,o,s,r)=>{if(l!==o){let i=ce(e,n),c=n.toLowerCase();if("class"===n){const n=e.classList,t=C(l),s=C(o);n.remove(...t.filter((e=>e&&!s.includes(e)))),n.add(...s.filter((e=>e&&!t.includes(e))))}else if("style"===n){for(const n in l)o&&null!=o[n]||(n.includes("-")?e.style.removeProperty(n):e.style[n]="");for(const n in o)l&&o[n]===l[n]||(n.includes("-")?e.style.setProperty(n,o[n]):e.style[n]=o[n])}else if("key"===n);else if("ref"===n)o&&o(e);else if(i||"o"!==n[0]||"n"!==n[1]){const c=t(o);if((i||c&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[n]=o;else{const t=null==o?"":o;"list"===n?i=!1:null!=l&&e[n]==t||(e[n]=t)}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(n)||e.removeAttribute(n):(!i||4&r||s)&&!c&&e.setAttribute(n,o=!0===o?"":o)}else if(n="-"===n[2]?n.slice(3):ce(pe,c)?c.slice(2):c[2]+n.slice(3),l||o){const t=n.endsWith(E);n=n.replace(M,""),l&&ve.rel(e,n,l,t),o&&ve.ael(e,n,o,t)}}},S=/\s/,C=e=>e?e.split(S):[],E="Capture",M=RegExp(E+"$"),P=(e,t,l)=>{const o=11===t.m.nodeType&&t.m.host?t.m.host:t.m,s=e&&e.l||n,r=t.l||n;for(const e of R(Object.keys(s)))e in r||O(o,e,s[e],void 0,l,t.u);for(const e of R(Object.keys(r)))O(o,e,s[e],r[e],l,t.u)};function R(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var x=!1,A=!1,L=(e,n,t)=>{const l=n.o[t];let o,s,r=0;if(null!==l.t)o=l.m=me.createTextNode(l.t);else if(o=l.m=me.createElement(l.p),P(null,l,A),null!=i&&o["s-si"]!==i&&o.classList.add(o["s-si"]=i),l.o)for(r=0;r<l.o.length;++r)s=L(e,l,r),s&&o.appendChild(s);return o["s-hn"]=c,o},W=(e,n,t,l,o,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===c&&(i=i.shadowRoot);o<=s;++o)l[o]&&(r=L(null,t,o),r&&(l[o].m=r,i.insertBefore(r,n)))},D=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.m;F(n),e&&e.remove()}}},N=(e,n,t=!1)=>e.p===n.p&&(!!t||e.i===n.i),T=(e,n,t=!1)=>{const l=n.m=e.m,o=e.o,s=n.o,r=n.t;null===r?(("slot"!==n.p||x)&&P(e,n,A),null!==o&&null!==s?((e,n,t,l,o=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=n.length-1,d=n[0],p=n[f],m=l.length-1,v=l[0],y=l[m];for(;i<=f&&c<=m;)if(null==d)d=n[++i];else if(null==p)p=n[--f];else if(null==v)v=l[++c];else if(null==y)y=l[--m];else if(N(d,v,o))T(d,v,o),d=n[++i],v=l[++c];else if(N(p,y,o))T(p,y,o),p=n[--f],y=l[--m];else if(N(d,y,o))T(d,y,o),e.insertBefore(d.m,p.m.nextSibling),d=n[++i],y=l[--m];else if(N(p,v,o))T(p,v,o),e.insertBefore(p.m,d.m),p=n[--f],v=l[++c];else{for(u=-1,a=i;a<=f;++a)if(n[a]&&null!==n[a].i&&n[a].i===v.i){u=a;break}u>=0?(r=n[u],r.p!==v.p?s=L(n&&n[c],t,u):(T(r,v,o),n[u]=void 0,s=r.m),v=l[++c]):(s=L(n&&n[c],t,c),v=l[++c]),s&&d.m.parentNode.insertBefore(s,d.m)}i>f?W(e,null==l[m+1]?null:l[m+1].m,t,l,c,m):c>m&&D(n,i,f)})(l,o,n,s,t):null!==s?(null!==e.t&&(l.textContent=""),W(l,null,n,s,0,s.length-1)):null!==o&&D(o,0,o.length-1)):e.t!==r&&(l.data=r)},F=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(F)},H=(e,n)=>{n&&!e.$&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.$=n)))},U=(e,n)=>{if(e.u|=16,!(4&e.u))return H(e,e.k),Se((()=>q(e,n)));e.u|=512},q=(e,n)=>{const t=e.j;let l;return n&&(e.u|=256,e.O&&(e.O.map((([e,n])=>J(t,e,n))),e.O=void 0),l=J(t,"componentWillLoad")),l=V(l,(()=>J(t,"componentWillRender"))),V(l,(()=>z(e,t,n)))},V=(e,n)=>_(e)?e.then(n):n(),_=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,z=async(e,n,t)=>{var o;const s=e.$hostElement$,r=s["s-rc"];t&&(e=>{const n=e.S,t=e.$hostElement$,o=n.u,s=((e,n)=>{var t;const o=j(n),s=de.get(o);if(e=11===e.nodeType?e:me,s)if("string"==typeof s){let r,i=g.get(e=e.head||e);if(i||g.set(e,i=new Set),!i.has(o)){{r=me.createElement("style"),r.innerHTML=s;const n=null!=(t=ve.C)?t:l(me);null!=n&&r.setAttribute("nonce",n),e.insertBefore(r,e.querySelector("link"))}4&n.u&&(r.innerHTML+=f),i&&i.add(o)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return o})(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);10&o&&(t["s-sc"]=s,t.classList.add(s+"-h"))})(e);B(e,n,s,t),r&&(r.map((e=>e())),s["s-rc"]=void 0);{const n=null!=(o=s["s-p"])?o:[],t=()=>G(e);0===n.length?t():(Promise.all(n).then(t),e.u|=4,n.length=0)}},B=(e,n,t,l)=>{try{n=n.render(),e.u&=-17,e.u|=2,((e,n,t=!1)=>{const l=e.$hostElement$,o=e.S,s=e.M||m(null,null),r=(e=>e&&e.p===v)(n)?n:p(null,null,n);if(c=l.tagName,t&&r.l)for(const e of Object.keys(r.l))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.l[e]=l[e]);r.p=null,r.u|=4,e.M=r,r.m=s.m=l.shadowRoot||l,i=l["s-sc"],x=!!(1&o.u),T(s,r,t)})(e,n,l)}catch(n){ue(n,e.$hostElement$)}return null},G=e=>{const n=e.$hostElement$,t=e.j,l=e.k;J(t,"componentDidRender"),64&e.u||(e.u|=64,K(n),J(t,"componentDidLoad"),e.P(n),l||I()),e.R(n),e.$&&(e.$(),e.$=void 0),512&e.u&&Oe((()=>U(e,!1))),e.u&=-517},I=()=>{K(me.documentElement),Oe((()=>k(pe,"appload",{detail:{namespace:"post-components"}})))},J=(e,n,t)=>{if(e&&e[n])try{return e[n](t)}catch(e){ue(e)}},K=e=>e.classList.add("hydrated"),Q=(e,n,l)=>{var o;const s=e.prototype;if(64&n.u&&1&l&&d.forEach((e=>Object.defineProperty(s,e,{value(...n){const t=se(this),l=t.j;if(l){const t=l[e];"function"==typeof t&&t.call(l,...n)}else t.A.then((t=>{const l=t[e];"function"==typeof l&&l.call(t,...n)}))}}))),n.L){e.watchers&&(n.W=e.watchers);const r=Object.entries(n.L);if(r.map((([e,[o]])=>{31&o||2&l&&32&o?Object.defineProperty(s,e,{get(){return((e,n)=>se(this).D.get(n))(0,e)},set(l){((e,n,l,o)=>{const s=se(e),r=s.$hostElement$,i=s.D.get(n),c=s.u,u=s.j;if(l=((e,n)=>null==e||t(e)?e:4&n?"false"!==e&&(""===e||!!e):2&n?parseFloat(e):1&n?e+"":e)(l,o.L[n][0]),(!(8&c)||void 0===i)&&l!==i&&(!Number.isNaN(i)||!Number.isNaN(l))&&(s.D.set(n,l),u)){if(o.W&&128&c){const e=o.W[n];e&&e.map((e=>{try{u[e](l,i,n)}catch(e){ue(e,r)}}))}2==(18&c)&&U(s,!1)}})(this,e,l,n)},configurable:!0,enumerable:!0}):1&l&&64&o&&Object.defineProperty(s,e,{value(...n){var t;const l=se(this);return null==(t=null==l?void 0:l.N)?void 0:t.then((()=>{var t;return null==(t=l.j)?void 0:t[e](...n)}))}})})),1&l){const t=new Map;s.attributeChangedCallback=function(e,l,o){ve.jmp((()=>{var r;const i=t.get(e);if(this.hasOwnProperty(i))o=this[i],delete this[i];else{if(s.hasOwnProperty(i)&&"number"==typeof this[i]&&this[i]==o)return;if(null==i){const t=se(this),s=null==t?void 0:t.u;if(s&&!(8&s)&&128&s&&o!==l){const s=t.j,i=null==(r=n.W)?void 0:r[e];null==i||i.forEach((n=>{null!=s[n]&&s[n].call(s,o,l,e)}))}return}}this[i]=(null!==o||"boolean"!=typeof this[i])&&o}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=n.W)?o:{}),...r.filter((([e,n])=>15&n[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))]))}}return e},X=e=>{J(e,"connectedCallback")},Y=e=>{J(e,"disconnectedCallback")},Z=(e,n={})=>{var t;const o=[],s=n.exclude||[],r=pe.customElements,i=me.head,c=i.querySelector("meta[charset]"),u=me.createElement("style"),a=[];let d,p=!0;Object.assign(ve,n),ve.T=new URL(n.resourcesUrl||"./",me.baseURI).href;let m=!1;if(e.map((e=>{e[1].map((n=>{var t;const l={u:n[0],h:n[1],L:n[2],F:n[3]};4&l.u&&(m=!0),l.L=n[2],l.F=n[3],l.W=null!=(t=n[4])?t:{};const i=l.h,c=class extends HTMLElement{constructor(e){super(e),ie(e=this,l),1&l.u&&e.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),p?a.push(this):ve.jmp((()=>(e=>{if(!(1&ve.u)){const n=se(e),t=n.S,l=()=>{};if(1&n.u)ee(e,n,t.F),(null==n?void 0:n.j)?X(n.j):(null==n?void 0:n.A)&&n.A.then((()=>X(n.j)));else{n.u|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){H(n,n.k=t);break}}t.L&&Object.entries(t.L).map((([n,[t]])=>{if(31&t&&e.hasOwnProperty(n)){const t=e[n];delete e[n],e[n]=t}})),(async(e,n,t)=>{let l;if(!(32&n.u)){if(n.u|=32,t.H){if(l=fe(t),l.then){const e=()=>{};l=await l,e()}l.isProxied||(t.W=l.watchers,Q(l,t,2),l.isProxied=!0);const e=()=>{};n.u|=8;try{new l(n)}catch(e){ue(e)}n.u&=-9,n.u|=128,e(),X(n.j)}else l=e.constructor,customElements.whenDefined(t.h).then((()=>n.u|=128));if(l.style){let e=l.style;const n=j(t);if(!de.has(n)){const l=()=>{};((e,n,t)=>{let l=de.get(e);he&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,de.set(e,l)})(n,e,!!(1&t.u)),l()}}}const o=n.k,s=()=>U(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(e,n,t)}l()}})(this)))}disconnectedCallback(){ve.jmp((()=>(async()=>{if(!(1&ve.u)){const e=se(this);e.U&&(e.U.map((e=>e())),e.U=void 0),(null==e?void 0:e.j)?Y(e.j):(null==e?void 0:e.A)&&e.A.then((()=>Y(e.j)))}})()))}componentOnReady(){return se(this).A}};64&l.u&&(c.formAssociated=!0),l.H=e[0],s.includes(i)||r.get(i)||(o.push(i),r.define(i,Q(c,l,1)))}))})),o.length>0&&(m&&(u.textContent+=f),u.textContent+=o+"{visibility:hidden}.hydrated{visibility:inherit}",u.innerHTML.length)){u.setAttribute("data-styles","");const e=null!=(t=ve.C)?t:l(me);null!=e&&u.setAttribute("nonce",e),i.insertBefore(u,c?c.nextSibling:i.firstChild)}p=!1,a.length?a.map((e=>e.connectedCallback())):ve.jmp((()=>d=setTimeout(I,30)))},ee=(e,n,t)=>{t&&t.map((([t,l,o])=>{const s=e,r=ne(n,o),i=te(t);ve.ael(s,l,r,i),(n.U=n.U||[]).push((()=>ve.rel(s,l,r,i)))}))},ne=(e,n)=>t=>{try{256&e.u?e.j[n](t):(e.O=e.O||[]).push([n,t])}catch(e){ue(e)}},te=e=>({passive:!!(1&e),capture:!!(2&e)}),le=e=>ve.C=e,oe=new WeakMap,se=e=>oe.get(e),re=(e,n)=>oe.set(n.j=e,n),ie=(e,n)=>{const t={u:0,$hostElement$:e,S:n,D:new Map};return t.N=new Promise((e=>t.R=e)),t.A=new Promise((e=>t.P=e)),e["s-p"]=[],e["s-rc"]=[],ee(e,t,n.F),oe.set(e,t)},ce=(e,n)=>n in e,ue=(e,n)=>(0,console.error)(e,n),ae=new Map,fe=e=>{const n=e.h.replace(/-/g,"_"),t=e.H,l=ae.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(ae.set(t,e),e[n])),ue)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},de=new Map,pe="undefined"!=typeof window?window:{},me=pe.document||{head:{}},ve={u:0,T:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,n,t,l)=>e.addEventListener(n,t,l),rel:(e,n,t,l)=>e.removeEventListener(n,t,l),ce:(e,n)=>new CustomEvent(e,n)},ye=e=>Promise.resolve(e),he=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),be=!1,$e=[],we=[],ke=(e,n)=>t=>{e.push(t),be||(be=!0,n&&4&ve.u?Oe(je):ve.raf(je))},ge=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(e){ue(e)}e.length=0},je=()=>{ge($e),ge(we),(be=$e.length>0)&&ve.raf(je)},Oe=e=>ye().then(e),Se=ke(we,!0);export{v as H,Z as b,w as c,$ as g,p as h,ye as p,re as r,le as s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o=[1,2,3,4,5,6];export{o as H}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as t,H as r,g as i}from"./p-18b571e3.js";import{v as c}from"./p-cf10d355.js";import{H as a}from"./p-247a1668.js";import{c as e}from"./p-f91c0e1b.js";const b=class{constructor(t){o(this,t),this.id=void 0,this.isOpen=void 0,this.collapsed=!1,this.headingLevel=2}validateHeadingLevel(o=this.headingLevel){e(o,a,"The `heading-level` property of the `post-accordion-item` must be a number between 1 and 6.")}connectedCallback(){this.validateHeadingLevel()}componentWillLoad(){this.isOpen=!this.collapsed,this.id=this.host.id||`a${crypto.randomUUID()}`}onCollapseToggle(o){"post-accordion-item"===o.target.localName&&(this.isOpen=o.detail)}async toggle(o){return this.collapsible.toggle(o)}render(){var o;const i=`h${null!==(o=this.headingLevel)&&void 0!==o?o:2}`;return t(r,{key:"e45b2ab47cfc1e6195080edde87938f6567f5a98",id:this.id,"data-version":c},t("div",{key:"d9758adaa568f973bdee728411e935aae3e4bafc",part:"accordion-item",class:"accordion-item"},t(i,{key:"2890b79baf5a28de9c6ed07a8daf10c8a85d0487",class:"accordion-header",id:`${this.id}--header`},t("button",{key:"6838f109b913a55c58399883eab07197b6f975f7","aria-controls":`${this.id}--collapse`,"aria-expanded":`${this.isOpen}`,class:"accordion-button"+(this.isOpen?"":" collapsed"),onClick:()=>this.toggle(),type:"button"},t("slot",{key:"5fb0fb5dfb3dee14f81c3893ff4fc174d6c87d32",name:"header"}))),t("post-collapsible",{key:"6668cd6e3311033f4bdbcf3d070b79f8cedcc52e",id:`${this.id}--collapse`,collapsed:this.collapsed,ref:o=>this.collapsible=o},t("div",{key:"764eb9e10a22d49e75271b76f2cde439b336eb44",class:"accordion-body"},t("slot",{key:"aef9bdb1ac0282b762c2d43f4b46d033398bbcae"})))))}get host(){return i(this)}static get watchers(){return{headingLevel:["validateHeadingLevel"]}}};b.style="post-accordion-item::part(accordion-item),.bg-yellow post-accordion-item::part(accordion-item),.bg-white post-accordion-item::part(accordion-item),.bg-light post-accordion-item::part(accordion-item),.bg-gray post-accordion-item::part(accordion-item),.bg-dark post-accordion-item::part(accordion-item),.bg-black post-accordion-item::part(accordion-item),.bg-primary post-accordion-item::part(accordion-item),.bg-secondary post-accordion-item::part(accordion-item),.bg-success post-accordion-item::part(accordion-item),.bg-warning post-accordion-item::part(accordion-item),.bg-error post-accordion-item::part(accordion-item),.bg-info post-accordion-item::part(accordion-item),.bg-success-background post-accordion-item::part(accordion-item),.bg-warning-background post-accordion-item::part(accordion-item),.bg-error-background post-accordion-item::part(accordion-item),.bg-nightblue post-accordion-item::part(accordion-item),.bg-nightblue-bright post-accordion-item::part(accordion-item),.bg-petrol post-accordion-item::part(accordion-item),.bg-petrol-bright post-accordion-item::part(accordion-item),.bg-coral post-accordion-item::part(accordion-item),.bg-coral-bright post-accordion-item::part(accordion-item),.bg-olive post-accordion-item::part(accordion-item),.bg-olive-bright post-accordion-item::part(accordion-item),.bg-purple post-accordion-item::part(accordion-item),.bg-purple-bright post-accordion-item::part(accordion-item),.bg-aubergine post-accordion-item::part(accordion-item),.bg-aubergine-bright post-accordion-item::part(accordion-item),.accordion-item,.bg-yellow .accordion-item,.bg-white .accordion-item,.bg-light .accordion-item,.bg-gray .accordion-item,.bg-dark .accordion-item,.bg-black .accordion-item,.bg-primary .accordion-item,.bg-secondary .accordion-item,.bg-success .accordion-item,.bg-warning .accordion-item,.bg-error .accordion-item,.bg-info .accordion-item,.bg-success-background .accordion-item,.bg-warning-background .accordion-item,.bg-error-background .accordion-item,.bg-nightblue .accordion-item,.bg-nightblue-bright .accordion-item,.bg-petrol .accordion-item,.bg-petrol-bright .accordion-item,.bg-coral .accordion-item,.bg-coral-bright .accordion-item,.bg-olive .accordion-item,.bg-olive-bright .accordion-item,.bg-purple .accordion-item,.bg-purple-bright .accordion-item,.bg-aubergine .accordion-item,.bg-aubergine-bright .accordion-item{--post-bg-opacity:1;background-color:rgba(var(--post-bg-rgb), var(--post-bg-opacity)) !important;color:var(--post-contrast-color) !important}post-accordion-item::part(accordion-item),.bg-yellow post-accordion-item::part(accordion-item),.bg-white post-accordion-item::part(accordion-item),.bg-light post-accordion-item::part(accordion-item),.bg-gray post-accordion-item::part(accordion-item),.bg-dark post-accordion-item::part(accordion-item),.bg-black post-accordion-item::part(accordion-item),.bg-primary post-accordion-item::part(accordion-item),.bg-secondary post-accordion-item::part(accordion-item),.bg-success post-accordion-item::part(accordion-item),.bg-warning post-accordion-item::part(accordion-item),.bg-error post-accordion-item::part(accordion-item),.bg-info post-accordion-item::part(accordion-item),.bg-success-background post-accordion-item::part(accordion-item),.bg-warning-background post-accordion-item::part(accordion-item),.bg-error-background post-accordion-item::part(accordion-item),.bg-nightblue post-accordion-item::part(accordion-item),.bg-nightblue-bright post-accordion-item::part(accordion-item),.bg-petrol post-accordion-item::part(accordion-item),.bg-petrol-bright post-accordion-item::part(accordion-item),.bg-coral post-accordion-item::part(accordion-item),.bg-coral-bright post-accordion-item::part(accordion-item),.bg-olive post-accordion-item::part(accordion-item),.bg-olive-bright post-accordion-item::part(accordion-item),.bg-purple post-accordion-item::part(accordion-item),.bg-purple-bright post-accordion-item::part(accordion-item),.bg-aubergine post-accordion-item::part(accordion-item),.bg-aubergine-bright post-accordion-item::part(accordion-item),.accordion-item,.bg-yellow .accordion-item,.bg-white .accordion-item,.bg-light .accordion-item,.bg-gray .accordion-item,.bg-dark .accordion-item,.bg-black .accordion-item,.bg-primary .accordion-item,.bg-secondary .accordion-item,.bg-success .accordion-item,.bg-warning .accordion-item,.bg-error .accordion-item,.bg-info .accordion-item,.bg-success-background .accordion-item,.bg-warning-background .accordion-item,.bg-error-background .accordion-item,.bg-nightblue .accordion-item,.bg-nightblue-bright .accordion-item,.bg-petrol .accordion-item,.bg-petrol-bright .accordion-item,.bg-coral .accordion-item,.bg-coral-bright .accordion-item,.bg-olive .accordion-item,.bg-olive-bright .accordion-item,.bg-purple .accordion-item,.bg-purple-bright .accordion-item,.bg-aubergine .accordion-item,.bg-aubergine-bright .accordion-item{--post-contrast-color:#000;--post-focus-color:#1976c8;--post-contrast-color-inverted:#fff;--post-gray-10:hsl(0, 0%, 90%);--post-gray-20:hsl(0, 0%, 80%);--post-gray-40:hsl(0, 0%, 60%);--post-gray-60:hsl(0, 0%, 40%);--post-gray-80:hsl(0, 0%, 20%);--post-yellow:#fc0;--post-white:#fff;--post-light:#faf9f8;--post-gray:#f4f3f1;--post-dark:hsl(0, 0%, 20%);--post-black:#000;--post-primary:hsl(0, 0%, 20%);--post-secondary:hsl(0, 0%, 40%);--post-success:#2c871d;--post-warning:#f49e00;--post-error:#a51728;--post-info:#cce4ee;--post-success-background:#c0debb;--post-warning-background:#fce2b2;--post-error-background:#ffdade;--post-nightblue:#004976;--post-nightblue-bright:#0076a8;--post-petrol:#006d68;--post-petrol-bright:#00968f;--post-coral:#9e2a2f;--post-coral-bright:#e03c31;--post-olive:#716135;--post-olive-bright:#aa9d2e;--post-purple:#80276c;--post-purple-bright:#c5299b;--post-aubergine:#523178;--post-aubergine-bright:#7566a0;--post-contrast-color-rgb:0, 0, 0;--post-contrast-color-inverted-rgb:255, 255, 255;--post-gray-10-rgb:230, 230, 230;--post-gray-20-rgb:204, 204, 204;--post-gray-40-rgb:153, 153, 153;--post-gray-60-rgb:102, 102, 102;--post-gray-80-rgb:51, 51, 51;--post-black-alpha-10-rgba:rgba(0, 0, 0, 0.1);--post-black-alpha-20-rgba:rgba(0, 0, 0, 0.2);--post-black-alpha-40-rgba:rgba(0, 0, 0, 0.4);--post-black-alpha-60-rgba:rgba(0, 0, 0, 0.6);--post-black-alpha-80-rgba:rgba(0, 0, 0, 0.8);--post-white-alpha-10-rgba:rgba(255, 255, 255, 0.1);--post-white-alpha-20-rgba:rgba(255, 255, 255, 0.2);--post-white-alpha-40-rgba:rgba(255, 255, 255, 0.4);--post-white-alpha-60-rgba:rgba(255, 255, 255, 0.6);--post-white-alpha-80-rgba:rgba(255, 255, 255, 0.8);--post-yellow-rgb:255, 204, 0;--post-white-rgb:255, 255, 255;--post-light-rgb:250, 249, 248;--post-gray-rgb:244, 243, 241;--post-dark-rgb:51, 51, 51;--post-black-rgb:0, 0, 0;--post-primary-rgb:51, 51, 51;--post-secondary-rgb:102, 102, 102;--post-success-rgb:44, 135, 29;--post-warning-rgb:244, 158, 0;--post-error-rgb:165, 23, 40;--post-info-rgb:204, 228, 238;--post-success-background-rgb:192, 222, 187;--post-warning-background-rgb:252, 226, 178;--post-error-background-rgb:255, 218, 222;--post-nightblue-rgb:0, 73, 118;--post-nightblue-bright-rgb:0, 118, 168;--post-petrol-rgb:0, 109, 104;--post-petrol-bright-rgb:0, 150, 143;--post-coral-rgb:158, 42, 47;--post-coral-bright-rgb:224, 60, 49;--post-olive-rgb:113, 97, 53;--post-olive-bright-rgb:170, 157, 46;--post-purple-rgb:128, 39, 108;--post-purple-bright-rgb:197, 41, 155;--post-aubergine-rgb:82, 49, 120;--post-aubergine-bright-rgb:117, 102, 160}.accordion-item{--post-bg-rgb:244, 243, 241;border-block:2px solid #666}.bg-yellow .accordion-item{--post-bg-rgb:255, 255, 255}.bg-white .accordion-item{--post-bg-rgb:244, 243, 241}.bg-light .accordion-item{--post-bg-rgb:255, 255, 255}.bg-gray .accordion-item{--post-bg-rgb:255, 255, 255}.bg-dark .accordion-item{--post-bg-rgb:255, 255, 255}.bg-black .accordion-item{--post-bg-rgb:255, 255, 255}.bg-primary .accordion-item{--post-bg-rgb:255, 255, 255}.bg-secondary .accordion-item{--post-bg-rgb:255, 255, 255}.bg-success .accordion-item{--post-bg-rgb:255, 255, 255}.bg-warning .accordion-item{--post-bg-rgb:255, 255, 255}.bg-error .accordion-item{--post-bg-rgb:255, 255, 255}.bg-info .accordion-item{--post-bg-rgb:255, 255, 255}.bg-success-background .accordion-item{--post-bg-rgb:255, 255, 255}.bg-warning-background .accordion-item{--post-bg-rgb:255, 255, 255}.bg-error-background .accordion-item{--post-bg-rgb:255, 255, 255}.bg-nightblue .accordion-item{--post-bg-rgb:255, 255, 255}.bg-nightblue-bright .accordion-item{--post-bg-rgb:255, 255, 255}.bg-petrol .accordion-item{--post-bg-rgb:255, 255, 255}.bg-petrol-bright .accordion-item{--post-bg-rgb:255, 255, 255}.bg-coral .accordion-item{--post-bg-rgb:255, 255, 255}.bg-coral-bright .accordion-item{--post-bg-rgb:255, 255, 255}.bg-olive .accordion-item{--post-bg-rgb:255, 255, 255}.bg-olive-bright .accordion-item{--post-bg-rgb:255, 255, 255}.bg-purple .accordion-item{--post-bg-rgb:255, 255, 255}.bg-purple-bright .accordion-item{--post-bg-rgb:255, 255, 255}.bg-aubergine .accordion-item{--post-bg-rgb:255, 255, 255}.bg-aubergine-bright .accordion-item{--post-bg-rgb:255, 255, 255}.accordion-item+.accordion-item{border-block-start:0}.accordion-header{color:#333;font-size:1rem;font-weight:700;line-height:1.5;margin:0}.accordion-button{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button;outline:none;width:100%;position:relative;padding-block:1rem;padding-inline-start:1rem;padding-inline-end:3rem;text-align:start;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms}.accordion-button:focus-visible{outline:2px solid #1976c8}.accordion-button:hover{color:#000;background-color:#e6e6e6}.accordion-button:disabled{opacity:.4;pointer-events:none}.accordion-button::after{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m23.6 18.3-.9.9-6.7-6.6-6.6 6.6-.9-.9 7.5-7.6z'/%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='m23.6 18.3-.9.9-6.7-6.6-6.6 6.6-.9-.9 7.5-7.6z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;content:\"\";display:block;height:1.5rem;width:1.5rem;position:absolute;inset-inline-end:1rem;inset-block-start:50%;transform:translateY(-50%);transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1)}.accordion-button.collapsed::after{transform:translateY(-50%) rotate(-180deg)}.accordion-button>.text-truncate{display:block}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button:hover:not(:disabled),.accordion-button:focus-visible:not(:disabled){outline:2px solid Highlight}.accordion-button:disabled{opacity:1 !important}}.accordion-body{padding:.5rem 1rem 1rem;font-weight:300}.accordion-button>*,.accordion-body>:first-child{margin-block-start:0 !important}.accordion-button>*,.accordion-body>:last-child{margin-block-end:0 !important}:host{display:block}.accordion-button{cursor:pointer}.accordion-button>::slotted(.text-truncate){display:block}post-accordion-item::part(accordion-item){--post-bg-rgb:244, 243, 241}.bg-yellow post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-white post-accordion-item::part(accordion-item){--post-bg-rgb:244, 243, 241}.bg-light post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-gray post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-dark post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-black post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-primary post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-secondary post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-success post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-warning post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-error post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-info post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-success-background post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-warning-background post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-error-background post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-nightblue post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-nightblue-bright post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-petrol post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-petrol-bright post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-coral post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-coral-bright post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-olive post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-olive-bright post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-purple post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-purple-bright post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-aubergine post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}.bg-aubergine-bright post-accordion-item::part(accordion-item){--post-bg-rgb:255, 255, 255}:host(:not(:first-of-type)) .accordion-item{border-block-start:0}";export{b as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as post_card_control}from"./p-67df1075.js";import"./p-18b571e3.js";import"./p-611b3c41.js";import"./p-b095519d.js";import"./p-440193f4.js";import"./p-cf10d355.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as o,H as t,g as i}from"./p-18b571e3.js";import{v as s}from"./p-cf10d355.js";import{g as r}from"./p-6adeaa6c.js";let n=0;const a="data-popover-target",c=e=>{const o=e.target;if(!o||!("getAttribute"in o))return;const t=o.getAttribute(a);if(!t||"key"in e&&"Enter"!==e.key)return;const i=document.getElementById(t);null==i||i.toggle(o)},l=r(a,(e=>{const o=e.hasAttribute(a);e.setAttribute("aria-expanded",o?"false":null)})),d=class{constructor(o){e(this,o),this.placement="top",this.closeButtonCaption=void 0,this.arrow=!0,this.localBeforeToggleHandler=this.beforeToggleHandler.bind(this)}connectedCallback(){0===n&&(window.addEventListener("pointerup",c),window.addEventListener("keydown",c),l.observe(document.body,{subtree:!0,childList:!0,attributeFilter:[a]})),n++,this.triggers.forEach((e=>e.setAttribute("aria-expanded","false")))}componentDidLoad(){this.popoverRef.addEventListener("beforetoggle",this.localBeforeToggleHandler)}disconnectedCallback(){n--,0===n&&(window.removeEventListener("click",c),window.removeEventListener("keydown",c),l.disconnect()),this.popoverRef.removeEventListener("beforetoggle",this.localBeforeToggleHandler),this.triggers.forEach((e=>e.removeAttribute("aria-expanded")))}async show(e){this.popoverRef.show(e),e.setAttribute("aria-expanded","true")}async hide(){this.popoverRef.hide(),this.triggers.forEach((e=>e.setAttribute("aria-expanded","false")))}async toggle(e,o){const t=await this.popoverRef.toggle(e,o);this.triggers.forEach((e=>e.setAttribute("aria-expanded","false"))),e.setAttribute("aria-expanded",`${t}`)}get triggers(){return document.querySelectorAll(`[${a}="${this.host.id}"]`)}beforeToggleHandler(){this.triggers.forEach((e=>e.setAttribute("aria-expanded","false")))}render(){return o(t,{key:"97db4a92db81f3a84ca272af8f79981cf181024d","data-version":s},o("post-popovercontainer",{key:"291247845dc11572a5722aa949c1dfa74e521edd",arrow:this.arrow,placement:this.placement,ref:e=>this.popoverRef=e},o("div",{key:"92137bf8c92633c8578c89c7b0c8252b0b59e2fa",class:"popover-container"},o("div",{key:"06f79f59e90ca439b552380af0e151084adadf03",class:"popover-content"},o("slot",{key:"c37c742ac7cf24f9440ac3b862761fcd937f7658"})),o("button",{key:"0e6f316574720e0f901af56e0dbb99f86e36c5b4",class:"btn-close",onClick:()=>this.hide()},o("span",{key:"77c41e8e8df74649ce9ca21740c77e78336905e6",class:"visually-hidden"},this.closeButtonCaption)))))}get host(){return i(this)}};d.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 */.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}";export{d as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as post_tooltip}from"./p-c85913ed.js";import"./p-18b571e3.js";import"./p-cf10d355.js";import"./p-6adeaa6c.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,H as r,g as a}from"./p-
|
|
1
|
+
import{r as t,c as s,h as i,H as r,g as a}from"./p-18b571e3.js";import{v as e}from"./p-cf10d355.js";const o=class{constructor(i){t(this,i),this.postInput=s(this,"postInput",7),this.postChange=s(this,"postChange",7),this.hasChanged=!1,this.hoveredIndex=void 0,this.label="Rating",this.stars=5,this.currentRating=0,this.readonly=!1,this.keydownHandler=this.keydownHandler.bind(this),this.blurHandler=this.blurHandler.bind(this),this.hoverHandler=this.hoverHandler.bind(this)}update(t){this.readonly||t<0||t>this.stars||(this.currentRating=this.currentRating!==t?t:0,this.postInput.emit({value:this.currentRating}),this.hasChanged=!0)}keydownHandler(t){switch(t.key){case"ArrowDown":case"ArrowLeft":t.preventDefault(),this.update(this.currentRating-1);break;case"ArrowUp":case"ArrowRight":t.preventDefault(),this.update(this.currentRating+1);break;case"Home":t.preventDefault(),this.update(0);break;case"End":t.preventDefault(),this.update(this.stars);break;case"Enter":case" ":this.blurHandler();break;default:return}}blurHandler(){this.hasChanged&&(this.postChange.emit({value:this.currentRating}),this.hasChanged=!1)}hoverHandler(t,s){this.readonly||("mouseenter"===s.type?this.hoveredIndex=t:"mouseleave"===s.type&&(this.hoveredIndex=void 0))}render(){return i(r,{key:"64081561d0b0819ed5fbe31c0bc7974b996ec582","data-version":e},i("div",{key:"eaed95cef70f1dfa815a77e3d630ac933d2c1eff",role:"slider",class:"rating",tabindex:"0","aria-label":this.label,"aria-valuemin":"0","aria-valuemax":this.stars,"aria-valuenow":this.currentRating,"aria-valuetext":`${this.currentRating} out of ${this.stars}`,"aria-readonly":this.readonly?"true":"false",onKeyDown:this.keydownHandler,onBlur:this.blurHandler},Array.from({length:this.stars}).map(((t,s)=>i("div",{key:`star-${t}`,"aria-hidden":"true",class:{star:!0,"before-hover":s<this.hoveredIndex,active:s<Math.round(this.currentRating),hover:s===this.hoveredIndex,"after-active":s>this.hoveredIndex&&s<this.currentRating},onClick:()=>this.update(s+1),onMouseEnter:t=>this.hoverHandler(s,t),onMouseLeave:t=>this.hoverHandler(s,t)},i("post-icon",{name:"2062",class:"stroke"}),i("post-icon",{name:"2574",class:"fill"}))))))}get host(){return a(this)}};o.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 */: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%)}';export{o as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as t,H as e,g as o}from"./p-18b571e3.js";import{v as a}from"./p-cf10d355.js";const r=class{constructor(t){s(this,t),this.panelId=void 0,this.name=void 0}componentWillLoad(){this.panelId=`panel-${this.host.id||crypto.randomUUID()}`}render(){return t(e,{key:"cd74acf8889af916b9b32b57b483bbd74d5a6e20","data-version":a,id:this.panelId,role:"tabpanel"},t("slot",{key:"9d2c3f42b1dd9214aeeee35efc1179372851af13"}))}get host(){return o(this)}};r.style=":host{display:none}";export{r as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as post_alert}from"./p-d70f33cd.js";import"./p-18b571e3.js";import"./p-cf10d355.js";import"./p-2737eaf5.js";import"./p-f91c0e1b.js";import"./p-440193f4.js";import"./p-611b3c41.js";import"./p-b095519d.js";
|