@marioschmidt/design-system-components 1.2.2 → 1.2.3
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/bds/bds.css +1 -1
- package/dist/bds/bds.esm.js +1 -2
- package/dist/bds/index.esm.js +0 -2
- package/dist/bds/p-f2524bbf.entry.js +1 -0
- package/dist/{www/build/p-71b331cc.css → bds/p-s-li7f6Q.js} +2 -1
- package/dist/cjs/bds.cjs.js +2 -5
- package/dist/cjs/ds-button_2.cjs.entry.js +2 -5
- package/dist/cjs/index-C1TiKrp-.js +3095 -0
- package/dist/cjs/index.cjs.js +0 -3
- package/dist/cjs/loader.cjs.js +1 -4
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/ds-button/ds-button.js +0 -1
- package/dist/collection/ds-card/ds-card.js +0 -1
- package/dist/components/ds-button.js +1 -58
- package/dist/components/ds-card.js +1 -49
- package/dist/components/index.js +1 -1191
- package/dist/esm/bds.js +3 -6
- package/dist/esm/ds-button_2.entry.js +2 -5
- package/dist/esm/index-s-li7f6Q.js +3088 -0
- package/dist/esm/index.js +0 -3
- package/dist/esm/loader.js +2 -5
- package/dist/types/stencil-public-runtime.d.ts +43 -3
- package/dist/www/build/bds.css +1 -1
- package/dist/www/build/bds.esm.js +1 -2
- package/dist/www/build/index.esm.js +0 -2
- package/dist/www/build/p-d7a25db0.css +1 -0
- package/dist/www/build/p-f2524bbf.entry.js +1 -0
- package/dist/www/build/p-s-li7f6Q.js +2 -0
- package/dist/www/css/advertorial/components/_dsysdocs.css +1 -1
- package/dist/www/css/advertorial/components/article.css +1 -1
- package/dist/www/css/advertorial/components/audioplayer.css +1 -1
- package/dist/www/css/advertorial/components/avatar.css +1 -1
- package/dist/www/css/advertorial/components/badge.css +1 -1
- package/dist/www/css/advertorial/components/breadcrumb.css +1 -1
- package/dist/www/css/advertorial/components/breakingnews.css +1 -1
- package/dist/www/css/advertorial/components/button.css +1 -1
- package/dist/www/css/advertorial/components/card.css +1 -1
- package/dist/www/css/advertorial/components/carousel.css +1 -1
- package/dist/www/css/advertorial/components/chip.css +1 -1
- package/dist/www/css/advertorial/components/datepicker.css +1 -1
- package/dist/www/css/advertorial/components/drawers.css +1 -1
- package/dist/www/css/advertorial/components/dropdown.css +1 -1
- package/dist/www/css/advertorial/components/footer.css +1 -1
- package/dist/www/css/advertorial/components/icon.css +1 -1
- package/dist/www/css/advertorial/components/iconbutton.css +1 -1
- package/dist/www/css/advertorial/components/infoelement.css +1 -1
- package/dist/www/css/advertorial/components/inputfield.css +1 -1
- package/dist/www/css/advertorial/components/liveticker.css +1 -1
- package/dist/www/css/advertorial/components/mediaplayer.css +1 -1
- package/dist/www/css/advertorial/components/menu.css +1 -1
- package/dist/www/css/advertorial/components/newsticker.css +1 -1
- package/dist/www/css/advertorial/components/pagination.css +1 -1
- package/dist/www/css/advertorial/components/paywall.css +1 -1
- package/dist/www/css/advertorial/components/quote.css +1 -1
- package/dist/www/css/advertorial/components/radiobutton.css +1 -1
- package/dist/www/css/advertorial/components/search.css +1 -1
- package/dist/www/css/advertorial/components/sectiontitle.css +1 -1
- package/dist/www/css/advertorial/components/separator.css +1 -1
- package/dist/www/css/advertorial/components/skeletons.css +1 -1
- package/dist/www/css/advertorial/components/slider.css +1 -1
- package/dist/www/css/advertorial/components/specialnavi.css +1 -1
- package/dist/www/css/advertorial/components/spinner.css +1 -1
- package/dist/www/css/advertorial/components/tab.css +1 -1
- package/dist/www/css/advertorial/components/table.css +1 -1
- package/dist/www/css/advertorial/components/teaser.css +1 -1
- package/dist/www/css/advertorial/components/toggleswitch.css +1 -1
- package/dist/www/css/advertorial/components/video.css +1 -1
- package/dist/www/css/advertorial/theme.css +1 -1
- package/dist/www/css/advertorial/tokens.css +1 -1
- package/dist/www/css/bild/components/_dsysdoc.css +1 -1
- package/dist/www/css/bild/components/_dsysdocs.css +1 -1
- package/dist/www/css/bild/components/alert.css +1 -1
- package/dist/www/css/bild/components/article.css +1 -1
- package/dist/www/css/bild/components/audioplayer.css +1 -1
- package/dist/www/css/bild/components/avatar.css +1 -1
- package/dist/www/css/bild/components/badge.css +1 -1
- package/dist/www/css/bild/components/breadcrumb.css +1 -1
- package/dist/www/css/bild/components/breakingnews.css +1 -1
- package/dist/www/css/bild/components/button.css +1 -1
- package/dist/www/css/bild/components/card.css +1 -1
- package/dist/www/css/bild/components/carousel.css +1 -1
- package/dist/www/css/bild/components/chip.css +1 -1
- package/dist/www/css/bild/components/datepicker.css +1 -1
- package/dist/www/css/bild/components/drawers.css +1 -1
- package/dist/www/css/bild/components/dropdown.css +1 -1
- package/dist/www/css/bild/components/empties.css +1 -1
- package/dist/www/css/bild/components/footer.css +1 -1
- package/dist/www/css/bild/components/gallery.css +1 -1
- package/dist/www/css/bild/components/icon.css +1 -1
- package/dist/www/css/bild/components/iconbutton.css +1 -1
- package/dist/www/css/bild/components/infoelement.css +1 -1
- package/dist/www/css/bild/components/inputfield.css +1 -1
- package/dist/www/css/bild/components/kicker.css +1 -1
- package/dist/www/css/bild/components/liveticker.css +1 -1
- package/dist/www/css/bild/components/mediaplayer.css +1 -1
- package/dist/www/css/bild/components/menu.css +1 -1
- package/dist/www/css/bild/components/menuitem.css +1 -1
- package/dist/www/css/bild/components/newsticker.css +1 -1
- package/dist/www/css/bild/components/pagination.css +1 -1
- package/dist/www/css/bild/components/partnerlinks.css +1 -1
- package/dist/www/css/bild/components/paywall.css +1 -1
- package/dist/www/css/bild/components/quote.css +1 -1
- package/dist/www/css/bild/components/radiobutton.css +1 -1
- package/dist/www/css/bild/components/search.css +1 -1
- package/dist/www/css/bild/components/sectiontitle.css +1 -1
- package/dist/www/css/bild/components/selection.css +1 -1
- package/dist/www/css/bild/components/separator.css +1 -1
- package/dist/www/css/bild/components/skeletons.css +1 -1
- package/dist/www/css/bild/components/slider.css +1 -1
- package/dist/www/css/bild/components/specialnavi.css +1 -1
- package/dist/www/css/bild/components/spinner.css +1 -1
- package/dist/www/css/bild/components/subheader.css +1 -1
- package/dist/www/css/bild/components/tab.css +1 -1
- package/dist/www/css/bild/components/table.css +1 -1
- package/dist/www/css/bild/components/teaser.css +1 -1
- package/dist/www/css/bild/components/toggleswitch.css +1 -1
- package/dist/www/css/bild/components/video.css +1 -1
- package/dist/www/css/bild/theme.css +17 -1
- package/dist/www/css/bild/tokens.css +1 -1
- package/dist/www/css/bundles/advertorial.css +1 -1
- package/dist/www/css/bundles/bild.css +17 -1
- package/dist/www/css/bundles/sportbild.css +17 -1
- package/dist/www/css/shared/colorprimitive.css +1 -1
- package/dist/www/css/shared/fontprimitive.css +1 -1
- package/dist/www/css/shared/primitives.css +1 -1
- package/dist/www/css/shared/sizeprimitive.css +1 -1
- package/dist/www/css/shared/spaceprimitive.css +1 -1
- package/dist/www/css/sportbild/components/_dsysdoc.css +1 -1
- package/dist/www/css/sportbild/components/_dsysdocs.css +1 -1
- package/dist/www/css/sportbild/components/alert.css +1 -1
- package/dist/www/css/sportbild/components/article.css +1 -1
- package/dist/www/css/sportbild/components/audioplayer.css +1 -1
- package/dist/www/css/sportbild/components/avatar.css +1 -1
- package/dist/www/css/sportbild/components/badge.css +1 -1
- package/dist/www/css/sportbild/components/breadcrumb.css +1 -1
- package/dist/www/css/sportbild/components/breakingnews.css +1 -1
- package/dist/www/css/sportbild/components/button.css +1 -1
- package/dist/www/css/sportbild/components/card.css +1 -1
- package/dist/www/css/sportbild/components/carousel.css +1 -1
- package/dist/www/css/sportbild/components/chip.css +1 -1
- package/dist/www/css/sportbild/components/datepicker.css +1 -1
- package/dist/www/css/sportbild/components/drawers.css +1 -1
- package/dist/www/css/sportbild/components/dropdown.css +1 -1
- package/dist/www/css/sportbild/components/empties.css +1 -1
- package/dist/www/css/sportbild/components/footer.css +1 -1
- package/dist/www/css/sportbild/components/gallery.css +1 -1
- package/dist/www/css/sportbild/components/icon.css +1 -1
- package/dist/www/css/sportbild/components/iconbutton.css +1 -1
- package/dist/www/css/sportbild/components/infoelement.css +1 -1
- package/dist/www/css/sportbild/components/inputfield.css +1 -1
- package/dist/www/css/sportbild/components/kicker.css +1 -1
- package/dist/www/css/sportbild/components/liveticker.css +1 -1
- package/dist/www/css/sportbild/components/mediaplayer.css +1 -1
- package/dist/www/css/sportbild/components/menu.css +1 -1
- package/dist/www/css/sportbild/components/menuitem.css +1 -1
- package/dist/www/css/sportbild/components/newsticker.css +1 -1
- package/dist/www/css/sportbild/components/pagination.css +1 -1
- package/dist/www/css/sportbild/components/partnerlinks.css +1 -1
- package/dist/www/css/sportbild/components/paywall.css +1 -1
- package/dist/www/css/sportbild/components/quote.css +1 -1
- package/dist/www/css/sportbild/components/radiobutton.css +1 -1
- package/dist/www/css/sportbild/components/search.css +1 -1
- package/dist/www/css/sportbild/components/sectiontitle.css +1 -1
- package/dist/www/css/sportbild/components/selection.css +1 -1
- package/dist/www/css/sportbild/components/separator.css +1 -1
- package/dist/www/css/sportbild/components/skeletons.css +1 -1
- package/dist/www/css/sportbild/components/slider.css +1 -1
- package/dist/www/css/sportbild/components/specialnavi.css +1 -1
- package/dist/www/css/sportbild/components/spinner.css +1 -1
- package/dist/www/css/sportbild/components/subheader.css +1 -1
- package/dist/www/css/sportbild/components/tab.css +1 -1
- package/dist/www/css/sportbild/components/table.css +1 -1
- package/dist/www/css/sportbild/components/teaser.css +1 -1
- package/dist/www/css/sportbild/components/toggleswitch.css +1 -1
- package/dist/www/css/sportbild/components/video.css +1 -1
- package/dist/www/css/sportbild/theme.css +17 -1
- package/dist/www/css/sportbild/tokens.css +1 -1
- package/dist/www/index.html +1 -2
- package/package.json +1 -1
- package/dist/bds/bds.esm.js.map +0 -1
- package/dist/bds/index.esm.js.map +0 -1
- package/dist/bds/loader.esm.js.map +0 -1
- package/dist/bds/p-5fc1f965.entry.js +0 -2
- package/dist/bds/p-5fc1f965.entry.js.map +0 -1
- package/dist/bds/p-DjQpvXJW.js +0 -3
- package/dist/bds/p-DjQpvXJW.js.map +0 -1
- package/dist/cjs/bds.cjs.js.map +0 -1
- package/dist/cjs/index-Bg-5nAHg.js +0 -1398
- package/dist/cjs/index-Bg-5nAHg.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/collection/ds-button/ds-button.js.map +0 -1
- package/dist/collection/ds-card/ds-card.js.map +0 -1
- package/dist/components/ds-button.js.map +0 -1
- package/dist/components/ds-card.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/esm/bds.js.map +0 -1
- package/dist/esm/index-DjQpvXJW.js +0 -1391
- package/dist/esm/index-DjQpvXJW.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/www/build/bds.esm.js.map +0 -1
- package/dist/www/build/index.esm.js.map +0 -1
- package/dist/www/build/loader.esm.js.map +0 -1
- package/dist/www/build/p-5fc1f965.entry.js +0 -2
- package/dist/www/build/p-5fc1f965.entry.js.map +0 -1
- package/dist/www/build/p-DjQpvXJW.js +0 -3
- package/dist/www/build/p-DjQpvXJW.js.map +0 -1
|
@@ -0,0 +1,3095 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const NAMESPACE = 'bds';
|
|
4
|
+
const BUILD = /* bds */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, prop: true, propChangeCallback: false, updatable: true};
|
|
5
|
+
|
|
6
|
+
const globalScripts = () => {};
|
|
7
|
+
const globalStyles = ":root,:host{--color-bild-red-50:#DD0000;--color-bild-red-40:#C10000;--color-bild-red-60:#F75849;--color-bild-red-10:#410000;--color-bild-red-90:#FFDADA;--color-bild-red-20:#680000;--color-bild-red-30:#930000;--color-bild-red-80:#FFB2B2;--color-bild-red-95:#FFECEC;--color-bild-red-70:#FF8989;--color-bild-purple-20:#551937;--color-bild-red-50-a-80:rgba(221, 0, 0, 0.8);--color-neutral-15:#222628;--color-neutral-100:#FFFFFF;--color-neutral-80:#C4C9CF;--color-neutral-30:#40464D;--color-neutral-25:#343C41;--color-neutral-60:#8C9196;--color-neutral-95:#F2F4F5;--color-neutral-90:#DDE1E2;--color-neutral-70:#A6ABB0;--color-neutral-40:#565A5F;--color-neutral-10:#191B1C;--color-neutral-20:#2C3133;--color-neutral-0:#000000;--color-neutral-50:#6E787C;--color-orange-70:#FD8227;--color-orange-30:#763301;--color-orange-40:#9E4401;--color-orange-50:#C65502;--color-orange-80:#FEB782;--color-orange-90:#FEDBC1;--color-orange-95:#FFEDDF;--color-orange-60:#EF6702;--color-orange-20:#522301;--color-orange-10:#2F1400;--color-green-70:#00C373;--color-green-90:#B9EFCD;--color-green-40:#006E3E;--color-green-60:#00AF67;--color-green-10:#052013;--color-green-30:#0D5232;--color-green-20:#093822;--color-green-50:#158751;--color-green-95:#DEF7E6;--color-green-80:#76DA9F;--color-yellow-80:#FFBF00;--color-yellow-70:#D9A200;--color-yellow-90:#FFE082;--color-yellow-95:#FFF0C2;--color-yellow-10:#241B00;--color-yellow-20:#3D2E00;--color-yellow-30:#594300;--color-yellow-40:#785A00;--color-yellow-50:#967100;--color-yellow-60:#B88A00;--color-neutral-0-a-20:rgba(0, 0, 0, 0.2);--color-neutral-0-a-10:rgba(0, 0, 0, 0.1);--color-neutral-0-a-60:rgba(0, 0, 0, 0.6);--color-neutral-0-a-30:rgba(0, 0, 0, 0.3);--color-neutral-0-a-70:rgba(0, 0, 0, 0.7);--color-neutral-100-a-10:rgba(255, 255, 255, 0.1);--color-neutral-100-a-20:rgba(255, 255, 255, 0.2);--color-neutral-100-a-30:rgba(255, 255, 255, 0.3);--color-neutral-100-a-60:rgba(255, 255, 255, 0.6);--color-neutral-100-a-70:rgba(255, 255, 255, 0.7);--color-neutral-100-a-35:rgba(255, 255, 255, 0.35);--color-neutral-0-a-80:rgba(0, 0, 0, 0.8);--color-neutral-100-a-80:rgba(255, 255, 255, 0.8);--color-neutral-0-a-35:rgba(0, 0, 0, 0.35);--color-neutral-0-a-0:rgba(0, 0, 0, 0);--color-neutral-0-a-50:rgba(0, 0, 0, 0.5);--color-neutral-0-a-5:rgba(0, 0, 0, 0.05);--color-neutral-100-a-0:rgba(255, 255, 255, 0);--color-neutral-100-a-95:rgba(255, 255, 255, 0.95);--color-neutral-15-a-0:rgba(34, 38, 40, 0);--color-neutral-95-a-0:rgba(242, 244, 245, 0);--color-neutral-20-a-0:rgba(44, 49, 51, 0);--color-neutral-25-a-0:rgba(52, 60, 65, 0);--color-neutral-90-a-0:rgba(221, 225, 226, 0);--color-partner-fitbook:#FF97B7;--color-partner-petbook:#B9DB91;--color-partner-myhome:#66CCCC;--color-partner-travelbook:#8EF0ED;--color-partner-techbook:#93E4FF;--color-partner-kaufberater:#55476E;--color-bz-red-50:#E3001B;--color-aubi-red-50:#F00000;--color-cobi-red-50:#DC231C;--color-spobi-blue-95:#EFF1F5;--color-spobi-blue-80:#C3C9DB;--color-spobi-blue-30:#174482;--color-spobi-blue-20:#0C2F61;--color-spobi-blue-10:#091C2E;--color-spobi-blue-40:#345EA0;--color-spobi-blue-50:#4676C3;--color-spobi-blue-70:#8FACDB;--color-spobi-blue-60:#6A91CF;--color-spobi-blue-90:#D6E1F2;--color-spobi-blue-15:#0B2647;--color-spobi-blue-25:#113B72;--color-spobi-red-50:#E52528;--color-spobi-blue-15-a-0:rgba(11, 38, 71, 0);--color-spobi-blue-15-a-70:rgba(11, 38, 71, 0.7);--color-spobi-blue-95-a-0:rgba(239, 241, 245, 0);--color-spobi-blue-20-a-0:rgba(12, 47, 97, 0);--color-spobi-blue-90-a-0:rgba(214, 225, 242, 0);--color-spobi-blue-25-a-0:rgba(17, 59, 114, 0);--opacity-05:0.05;--opacity-10:0.1;--opacity-20:0.2;--opacity-40:0.4;--opacity-60:0.6;--opacity-80:0.8;--opacity-100:1;--opacity-90:0.9;--opacity-30:0.3;--opacity-50:0.5;--opacity-00:0;--opacity-70:0.7}:root,:host{--font-family-gotham-xnarrow:Gotham XNarrow;--font-family-gotham-cond:Gotham Condensed;--font-family-gotham:Gotham;--font-family-lucida-grande:Lucida Grande;--font-family-antenna-extra-cond:AntennaExtraCond;--font-family-antenna-cond:AntennaCond;--font-family-inter:Inter;--font-weight-bold:700;--font-weight-extra-black:900;--font-weight-book:400;--font-weight-ultra:1000;--font-weight-black:800;--font-weight-book-350:350;--font-weight-semi-bold:600;--font-weight-thin:100;--font-weight-light:300;--font-weight-extra-light:200;--font-weight-medium:500;--letter-space-neg-0-p-25:-0.25px;--letter-space-0:0px;--letter-space-1:1px;--letter-space-0-p-5:0.5px;--letter-space-0-p-25:0.25px;--letter-space-neg-0-p-5:-0.5px;--letter-space-2:2px;--letter-space-neg-1:-1px;--letter-space-neg-2:-2px;--letter-space-3:3px;--letter-space-neg-3:-3px;--st-font-weight-ultra:1000;--st-font-weight-extra-black:900;--st-font-weight-black:800;--st-font-weight-bold:700;--st-font-weight-semi-bold:600;--st-font-weight-medium:500;--st-font-weight-st-book:400;--st-font-weight-book-350:350;--st-font-weight-extra-light:200;--st-font-weight-thin:100;--st-font-weight-bold-italic:700;--st-font-weight-black-italic:900;--st-font-weight-st-book-italic:400;--st-font-weight-light-italic-st:300}:root,:host{--size-6-x:48px;--size-3-x:24px;--size-1-x:8px;--size-0-p-25-x:2px;--size-0-p-5-x:4px;--size-2-x:16px;--size-4-p-5-x:36px;--size-5-x:40px;--size-3-p-5-x:28px;--size-2-p-5-x:20px;--size-12-p-5-x:100px;--size-2-p-75-x:22px;--size-3-p-25-x:26px;--size-4-x:32px;--size-3-p-75-x:30px;--size-2-p-25-x:18px;--size-7-x:56px;--size-1-p-5-x:12px;--size-0-p-75-x:6px;--size-22-p-5-x:180px;--size-40-x:320px;--size-8-x:64px;--size-11-p-5-x:92px;--size-1-p-75-x:14px;--size-5-p-25-x:42px;--size-1-p-25-x:10px;--size-80-x:640px;--size-17-p-5-x:140px;--size-20-x:160px;--size-128-x:1024px;--size-124-x:992px;--size-12-x:96px;--size-35-x:280px;--size-15-x:120px;--size-16-p-25:130px;--size-87-p-5-x:700px;--size-10-x:80px;--size-30-x:240px;--size-25-x:200px;--size-168-x:1344px;--size-60-x:480px;--size-9-x:72px;--size-27-p-5-x:220px;--size-50-x:400px;--size-116-p-25-x:930px;--size-18-p-5-x:148px;--size-100-x:800px;--size-0-x:0px;--size-0-p-125-x:1px;--size-5-p-5-x:44px}:root,:host{--space-1-x:8px;--space-0-p-5-x:4px;--space-0-p-25-x:2px;--space-2-x:16px;--space-1-p-5-x:12px;--space-4-x:32px;--space-3-x:24px;--space-6-x:48px;--space-8-x:64px;--space-9-x:72px;--space-5-x:40px;--space-0-x:0px;--space-10-x:80px;--space-20-x:160px;--space-2-p-5-x:20px;--space-neg-0-p-25-x:-2px;--space-0-p-75-x:6px;--space-1-p-25-x:10px;--space-2-p-75-x:22px;--space-4-p-5-x:36px;--space-7-p-5-x:60px;--space-12-x:96px;--space-1-p-75-x:14px;--space-8-p-5-x:68px;--space-3-p-5-x:28px}[data-color-brand=\"bild\"][data-theme=\"light\"],:host([data-color-brand=\"bild\"][data-theme=\"light\"]){--text-color-brand:var(--color-bild-red-50, #DD0000);--text-color-brand-light-only:var(--color-bild-red-50, #DD0000);--text-color-primary:var(--color-neutral-15, #222628);--text-color-secondary:var(--color-neutral-40, #565A5F);--text-color-tertiary:var(--color-neutral-50, #6E787C);--kicker-text-color:var(--color-bild-red-50, #DD0000);--headline-text-color:var(--color-neutral-15, #222628);--text-color-on-image:var(--color-neutral-100, #FFFFFF);--text-color-secondary-on-dark:var(--color-neutral-90, #DDE1E2);--text-color-primary-on-light:var(--color-neutral-15, #222628);--kicker-text-color-on-dark:var(--color-neutral-100-a-80, rgba(255, 255, 255, 0.8));--kicker-text-color-on-light:var(--color-neutral-0-a-70, rgba(0, 0, 0, 0.7));--text-color-primary-on-dark:var(--color-neutral-100, #FFFFFF);--text-color-secondary-on-light:var(--color-neutral-40, #565A5F);--text-color-idle:var(--color-neutral-40, #565A5F);--text-color-disabled:var(--color-neutral-70, #A6ABB0);--text-color-hover:var(--color-neutral-15, #222628);--text-color-active:var(--color-neutral-15, #222628);--text-color-primary-inverse:var(--color-neutral-90, #DDE1E2);--text-color-secondary-inverse:var(--color-neutral-70, #A6ABB0);--text-color-inverse-high-contrast:var(--color-neutral-100, #FFFFFF);--text-color-success:var(--color-green-40, #006E3E);--text-color-error:var(--color-bild-red-40, #C10000);--text-color-warning:var(--color-orange-40, #9E4401);--bg-color-primary:var(--color-neutral-100, #FFFFFF);--bg-color-disabled:var(--color-neutral-95, #F2F4F5);--bg-color-secondary:var(--color-neutral-95, #F2F4F5);--bg-color-primary-const-dark:var(--color-neutral-15, #222628);--bg-color-quaternary:var(--color-neutral-80, #C4C9CF);--bg-color-tertiary:var(--color-neutral-90, #DDE1E2);--bg-color-primary-const-light:var(--color-neutral-100, #FFFFFF);--bg-color-quintenary:var(--color-neutral-60, #8C9196);--bg-color-brand-light-only:var(--color-bild-red-50, #DD0000);--bg-color-brand-solid:var(--color-bild-red-50, #DD0000);--bg-color-brand-solid-hover:var(--color-bild-red-40, #C10000);--bg-color-brand-solid-active:var(--color-bild-red-30, #930000);--bg-color-brand-tint:var(--color-bild-red-90, #FFDADA);--bg-color-brand-tint-hover:var(--color-bild-red-80, #FFB2B2);--bg-color-primary-inverse:var(--color-neutral-15, #222628);--bg-color-tertiary-inverse:var(--color-neutral-25, #343C41);--bg-color-quaternary-inverse:var(--color-neutral-30, #40464D);--bg-color-secondary-inverse:var(--color-neutral-20, #2C3133);--bg-color-quintenary-inverse:var(--color-neutral-60, #8C9196);--bg-color-success-tint:var(--color-green-95, #DEF7E6);--bg-color-success-solid:var(--color-green-50, #158751);--bg-color-success-solid-hover:var(--color-green-40, #006E3E);--bg-color-success-tint-hover:var(--color-green-90, #B9EFCD);--bg-color-success-solid-active:var(--color-green-30, #0D5232);--bg-color-tertiary-gradient-stop:var(--color-neutral-90-a-0, rgba(221, 225, 226, 0));--bg-color-primary-gradient-stop:var(--color-neutral-100-a-0, rgba(255, 255, 255, 0));--bg-color-secondary-gradient-stop:var(--color-neutral-95-a-0, rgba(242, 244, 245, 0));--overlay-scrim-black-const:var(--color-neutral-0-a-70, rgba(0, 0, 0, 0.7));--overlay-scrim-white-const:var(--color-neutral-100-a-70, rgba(255, 255, 255, 0.7));--bg-color-error-tint:var(--color-bild-red-95, #FFECEC);--bg-color-error-tint-hover:var(--color-bild-red-90, #FFDADA);--bg-color-error-solid:var(--color-bild-red-40, #C10000);--bg-color-error-solid-hover:var(--color-bild-red-30, #930000);--bg-color-warning-tint:var(--color-orange-95, #FFEDDF);--bg-color-warning-tint-hover:var(--color-orange-90, #FEDBC1);--bg-color-warning-solid:var(--color-orange-70, #FD8227);--bg-color-warning-solid-hover:var(--color-orange-60, #EF6702);--border-color-default:var(--color-neutral-80, #C4C9CF);--border-color-subtle:var(--color-neutral-90, #DDE1E2);--border-color-extra-strong:var(--color-neutral-15, #222628);--border-color-strong:var(--color-neutral-50, #6E787C);--border-color-subtle-on-dark:var(--color-neutral-25, #343C41);--border-color-default-on-dark:var(--color-neutral-40, #565A5F);--border-color-subtle-on-light:var(--color-neutral-90, #DDE1E2);--border-color-default-on-light:var(--color-neutral-80, #C4C9CF);--border-color-success:var(--color-green-40, #006E3E);--border-color-error:var(--color-bild-red-50, #DD0000);--border-color-warning:var(--color-orange-50, #C65502);--border-color-disabled:var(--color-neutral-90, #DDE1E2);--border-color-selected:var(--color-neutral-30, #40464D);--border-color-active:var(--color-bild-red-50, #DD0000);--border-color-idle:var(--color-neutral-60, #8C9196);--border-color-default-inverse:var(--color-neutral-40, #565A5F);--border-color-subtle-inverse:var(--color-neutral-25, #343C41);--border-color-brand:var(--color-bild-red-50, #DD0000);--border-color-brand-light-only:var(--color-bild-red-50, #DD0000);--border-color-brand-const:var(--color-bild-red-50, #DD0000);--border-color-no-contrast:var(--color-neutral-100, #FFFFFF);--icon-color-idle:var(--color-neutral-40, #565A5F);--icon-color-disabled:var(--color-neutral-70, #A6ABB0);--icon-color-hover:var(--color-neutral-15, #222628);--icon-color-active:var(--color-neutral-15, #222628);--icon-color-secondary-on-light:var(--color-neutral-40, #565A5F);--icon-color-primary-on-dark:var(--color-neutral-100, #FFFFFF);--icon-color-secondary-on-dark:var(--color-neutral-90, #DDE1E2);--icon-color-primary-on-light:var(--color-neutral-15, #222628);--icon-color-const-on-image:var(--color-neutral-100, #FFFFFF);--icon-color-success:var(--color-green-40, #006E3E);--icon-color-error:var(--color-bild-red-40, #C10000);--icon-color-warning:var(--color-orange-40, #9E4401);--icon-color-brand:var(--color-bild-red-50, #DD0000);--icon-color-brand-light-only:var(--color-bild-red-50, #DD0000);--icon-color-primary:var(--color-neutral-15, #222628);--icon-color-secondary:var(--color-neutral-40, #565A5F);--icon-color-tertiary:var(--color-neutral-50, #6E787C);--icon-color-primary-inverse:var(--color-neutral-90, #DDE1E2);--icon-color-secondary-inverse:var(--color-neutral-70, #A6ABB0);--icon-color-inverse-high-contrast:var(--color-neutral-100, #FFFFFF);--layer-opacity-05:var(--opacity-05, 0.05);--layer-opacity-10:var(--opacity-10, 0.1);--layer-opacity-20:var(--opacity-20, 0.2);--layer-opacity-30:var(--opacity-30, 0.3);--layer-opacity-40:var(--opacity-40, 0.4);--layer-opacity-50:var(--opacity-50, 0.5);--layer-opacity-60:var(--opacity-60, 0.6);--layer-opacity-70:var(--opacity-70, 0.7);--layer-opacity-80:var(--opacity-80, 0.8);--layer-opacity-90:var(--opacity-90, 0.9);--layer-opacity-100:var(--opacity-100, 1);--layer-opacity-00:var(--opacity-00, 0);--felipe-test:#FB3131}[data-color-brand=\"bild\"][data-theme=\"dark\"],:host([data-color-brand=\"bild\"][data-theme=\"dark\"]){--text-color-brand:var(--color-bild-red-60, #F75849);--text-color-brand-light-only:var(--color-neutral-100, #FFFFFF);--text-color-primary:var(--color-neutral-90, #DDE1E2);--text-color-secondary:var(--color-neutral-70, #A6ABB0);--text-color-tertiary:var(--color-neutral-60, #8C9196);--kicker-text-color:var(--color-neutral-60, #8C9196);--headline-text-color:var(--color-neutral-100, #FFFFFF);--text-color-on-image:var(--color-neutral-100, #FFFFFF);--text-color-secondary-on-dark:var(--color-neutral-90, #DDE1E2);--text-color-primary-on-light:var(--color-neutral-15, #222628);--kicker-text-color-on-dark:var(--color-neutral-100-a-80, rgba(255, 255, 255, 0.8));--kicker-text-color-on-light:var(--color-neutral-0-a-70, rgba(0, 0, 0, 0.7));--text-color-primary-on-dark:var(--color-neutral-100, #FFFFFF);--text-color-secondary-on-light:var(--color-neutral-40, #565A5F);--text-color-idle:var(--color-neutral-70, #A6ABB0);--text-color-disabled:var(--color-neutral-40, #565A5F);--text-color-hover:var(--color-neutral-95, #F2F4F5);--text-color-active:var(--color-neutral-95, #F2F4F5);--text-color-primary-inverse:var(--color-neutral-15, #222628);--text-color-secondary-inverse:var(--color-neutral-40, #565A5F);--text-color-inverse-high-contrast:var(--color-neutral-15, #222628);--text-color-success:var(--color-green-70, #00C373);--text-color-error:var(--color-bild-red-70, #FF8989);--text-color-warning:var(--color-orange-70, #FD8227);--bg-color-primary:var(--color-neutral-15, #222628);--bg-color-disabled:var(--color-neutral-20, #2C3133);--bg-color-secondary:var(--color-neutral-20, #2C3133);--bg-color-primary-const-dark:var(--color-neutral-15, #222628);--bg-color-quaternary:var(--color-neutral-30, #40464D);--bg-color-tertiary:var(--color-neutral-25, #343C41);--bg-color-primary-const-light:var(--color-neutral-100, #FFFFFF);--bg-color-quintenary:var(--color-neutral-60, #8C9196);--bg-color-brand-light-only:var(--color-neutral-100, #FFFFFF);--bg-color-brand-solid:var(--color-bild-red-50, #DD0000);--bg-color-brand-solid-hover:var(--color-bild-red-40, #C10000);--bg-color-brand-solid-active:var(--color-bild-red-30, #930000);--bg-color-brand-tint:var(--color-bild-red-20, #680000);--bg-color-brand-tint-hover:var(--color-bild-red-30, #930000);--bg-color-primary-inverse:var(--color-neutral-100, #FFFFFF);--bg-color-tertiary-inverse:var(--color-neutral-90, #DDE1E2);--bg-color-quaternary-inverse:var(--color-neutral-80, #C4C9CF);--bg-color-secondary-inverse:var(--color-neutral-95, #F2F4F5);--bg-color-quintenary-inverse:var(--color-neutral-60, #8C9196);--bg-color-success-tint:var(--color-green-10, #052013);--bg-color-success-solid:var(--color-green-50, #158751);--bg-color-success-solid-hover:var(--color-green-40, #006E3E);--bg-color-success-tint-hover:var(--color-green-20, #093822);--bg-color-success-solid-active:var(--color-green-30, #0D5232);--bg-color-tertiary-gradient-stop:var(--color-neutral-25-a-0, rgba(52, 60, 65, 0));--bg-color-primary-gradient-stop:var(--color-neutral-15-a-0, rgba(34, 38, 40, 0));--bg-color-secondary-gradient-stop:var(--color-neutral-20-a-0, rgba(44, 49, 51, 0));--overlay-scrim-black-const:var(--color-neutral-0-a-70, rgba(0, 0, 0, 0.7));--overlay-scrim-white-const:var(--color-neutral-100-a-70, rgba(255, 255, 255, 0.7));--bg-color-error-tint:var(--color-bild-red-10, #410000);--bg-color-error-tint-hover:var(--color-bild-red-20, #680000);--bg-color-error-solid:var(--color-bild-red-40, #C10000);--bg-color-error-solid-hover:var(--color-bild-red-30, #930000);--bg-color-warning-tint:var(--color-orange-10, #2F1400);--bg-color-warning-tint-hover:var(--color-orange-20, #522301);--bg-color-warning-solid:var(--color-orange-70, #FD8227);--bg-color-warning-solid-hover:var(--color-orange-60, #EF6702);--border-color-default:var(--color-neutral-40, #565A5F);--border-color-subtle:var(--color-neutral-25, #343C41);--border-color-extra-strong:var(--color-neutral-100, #FFFFFF);--border-color-strong:var(--color-neutral-50, #6E787C);--border-color-subtle-on-dark:var(--color-neutral-25, #343C41);--border-color-default-on-dark:var(--color-neutral-40, #565A5F);--border-color-subtle-on-light:var(--color-neutral-90, #DDE1E2);--border-color-default-on-light:var(--color-neutral-80, #C4C9CF);--border-color-success:var(--color-green-70, #00C373);--border-color-error:var(--color-bild-red-70, #FF8989);--border-color-warning:var(--color-orange-70, #FD8227);--border-color-disabled:var(--color-neutral-25, #343C41);--border-color-selected:var(--color-neutral-80, #C4C9CF);--border-color-active:var(--color-bild-red-60, #F75849);--border-color-idle:var(--color-neutral-50, #6E787C);--border-color-default-inverse:var(--color-neutral-80, #C4C9CF);--border-color-subtle-inverse:var(--color-neutral-90, #DDE1E2);--border-color-brand:var(--color-bild-red-60, #F75849);--border-color-brand-light-only:var(--color-neutral-100, #FFFFFF);--border-color-brand-const:var(--color-bild-red-50, #DD0000);--border-color-no-contrast:var(--color-neutral-15, #222628);--icon-color-idle:var(--color-neutral-70, #A6ABB0);--icon-color-disabled:var(--color-neutral-40, #565A5F);--icon-color-hover:var(--color-neutral-95, #F2F4F5);--icon-color-active:var(--color-neutral-95, #F2F4F5);--icon-color-secondary-on-light:var(--color-neutral-40, #565A5F);--icon-color-primary-on-dark:var(--color-neutral-100, #FFFFFF);--icon-color-secondary-on-dark:var(--color-neutral-90, #DDE1E2);--icon-color-primary-on-light:var(--color-neutral-15, #222628);--icon-color-const-on-image:var(--color-neutral-100, #FFFFFF);--icon-color-success:var(--color-green-70, #00C373);--icon-color-error:var(--color-bild-red-70, #FF8989);--icon-color-warning:var(--color-orange-70, #FD8227);--icon-color-brand:var(--color-bild-red-60, #F75849);--icon-color-brand-light-only:var(--color-neutral-100, #FFFFFF);--icon-color-primary:var(--color-neutral-90, #DDE1E2);--icon-color-secondary:var(--color-neutral-70, #A6ABB0);--icon-color-tertiary:var(--color-neutral-60, #8C9196);--icon-color-primary-inverse:var(--color-neutral-15, #222628);--icon-color-secondary-inverse:var(--color-neutral-40, #565A5F);--icon-color-inverse-high-contrast:var(--color-neutral-15, #222628);--layer-opacity-05:var(--opacity-05, 0.05);--layer-opacity-10:var(--opacity-10, 0.1);--layer-opacity-20:var(--opacity-20, 0.2);--layer-opacity-30:var(--opacity-30, 0.3);--layer-opacity-40:var(--opacity-40, 0.4);--layer-opacity-50:var(--opacity-50, 0.5);--layer-opacity-60:var(--opacity-60, 0.6);--layer-opacity-70:var(--opacity-70, 0.7);--layer-opacity-80:var(--opacity-80, 0.8);--layer-opacity-90:var(--opacity-90, 0.9);--layer-opacity-100:var(--opacity-100, 1);--layer-opacity-00:var(--opacity-00, 0);--felipe-test:#812D2D}[data-color-brand=\"bild\"][data-theme=\"light\"] .shadow-soft-sm,:host([data-color-brand=\"bild\"][data-theme=\"light\"]) .shadow-soft-sm{box-shadow:0px 1px 4px 0px rgba(0, 0, 0, 0.04), 0px 2px 6px 0px rgba(0, 0, 0, 0.08)}[data-color-brand=\"bild\"][data-theme=\"light\"] .shadow-soft-md,:host([data-color-brand=\"bild\"][data-theme=\"light\"]) .shadow-soft-md{box-shadow:0px 2px 16px 0px rgba(0, 0, 0, 0.03), 0px 4px 12px 0px rgba(0, 0, 0, 0.07)}[data-color-brand=\"bild\"][data-theme=\"light\"] .shadow-soft-lg,:host([data-color-brand=\"bild\"][data-theme=\"light\"]) .shadow-soft-lg{box-shadow:0px 8px 24px 0px rgba(0, 0, 0, 0.03), 0px 8px 16px 0px rgba(0, 0, 0, 0.07)}[data-color-brand=\"bild\"][data-theme=\"light\"] .shadow-soft-xl,:host([data-color-brand=\"bild\"][data-theme=\"light\"]) .shadow-soft-xl{box-shadow:0px 0px 64px 0px rgba(0, 0, 0, 0.05), 0px 16px 32px 0px rgba(0, 0, 0, 0.1)}[data-color-brand=\"bild\"][data-theme=\"light\"] .shadow-hard-sm,:host([data-color-brand=\"bild\"][data-theme=\"light\"]) .shadow-hard-sm{box-shadow:0px 1px 2px 0px var(--color-neutral-0-a-20, rgba(0, 0, 0, 0.2)), 0px 1px 3px 1px var(--color-neutral-0-a-10, rgba(0, 0, 0, 0.1))}[data-color-brand=\"bild\"][data-theme=\"light\"] .shadow-hard-md,:host([data-color-brand=\"bild\"][data-theme=\"light\"]) .shadow-hard-md{box-shadow:0px 4px 8px 0px var(--color-neutral-0-a-10, rgba(0, 0, 0, 0.1)), 0px 2px 4px 0px rgba(0, 0, 0, 0.16)}[data-color-brand=\"bild\"][data-theme=\"light\"] .shadow-hard-lg,:host([data-color-brand=\"bild\"][data-theme=\"light\"]) .shadow-hard-lg{box-shadow:0px 2px 3px 0px var(--color-neutral-0-a-20, rgba(0, 0, 0, 0.2)), 0px 6px 10px 4px var(--color-neutral-0-a-10, rgba(0, 0, 0, 0.1))}[data-color-brand=\"bild\"][data-theme=\"light\"] .shadow-hard-xl,:host([data-color-brand=\"bild\"][data-theme=\"light\"]) .shadow-hard-xl{box-shadow:0px 4px 4px 0px var(--color-neutral-0-a-20, rgba(0, 0, 0, 0.2)), 0px 8px 12px 6px var(--color-neutral-0-a-10, rgba(0, 0, 0, 0.1))}[data-color-brand=\"bild\"][data-theme=\"dark\"] .shadow-soft-sm,:host([data-color-brand=\"bild\"][data-theme=\"dark\"]) .shadow-soft-sm{box-shadow:0px 1px 4px 0px rgba(0, 0, 0, 0.04), 0px 2px 6px 0px rgba(0, 0, 0, 0.08)}[data-color-brand=\"bild\"][data-theme=\"dark\"] .shadow-soft-md,:host([data-color-brand=\"bild\"][data-theme=\"dark\"]) .shadow-soft-md{box-shadow:0px 2px 16px 0px rgba(0, 0, 0, 0.03), 0px 4px 12px 0px rgba(0, 0, 0, 0.07)}[data-color-brand=\"bild\"][data-theme=\"dark\"] .shadow-soft-lg,:host([data-color-brand=\"bild\"][data-theme=\"dark\"]) .shadow-soft-lg{box-shadow:0px 8px 24px 0px rgba(0, 0, 0, 0.03), 0px 8px 16px 0px rgba(0, 0, 0, 0.07)}[data-color-brand=\"bild\"][data-theme=\"dark\"] .shadow-soft-xl,:host([data-color-brand=\"bild\"][data-theme=\"dark\"]) .shadow-soft-xl{box-shadow:0px 0px 64px 0px rgba(0, 0, 0, 0.05), 0px 16px 32px 0px rgba(0, 0, 0, 0.1)}[data-color-brand=\"bild\"][data-theme=\"dark\"] .shadow-hard-sm,:host([data-color-brand=\"bild\"][data-theme=\"dark\"]) .shadow-hard-sm{box-shadow:0px 1px 2px 0px var(--color-neutral-0-a-20, rgba(0, 0, 0, 0.2)), 0px 1px 3px 1px var(--color-neutral-0-a-10, rgba(0, 0, 0, 0.1))}[data-color-brand=\"bild\"][data-theme=\"dark\"] .shadow-hard-md,:host([data-color-brand=\"bild\"][data-theme=\"dark\"]) .shadow-hard-md{box-shadow:0px 4px 8px 0px var(--color-neutral-0-a-10, rgba(0, 0, 0, 0.1)), 0px 2px 4px 0px rgba(0, 0, 0, 0.16)}[data-color-brand=\"bild\"][data-theme=\"dark\"] .shadow-hard-lg,:host([data-color-brand=\"bild\"][data-theme=\"dark\"]) .shadow-hard-lg{box-shadow:0px 2px 3px 0px var(--color-neutral-0-a-20, rgba(0, 0, 0, 0.2)), 0px 6px 10px 4px var(--color-neutral-0-a-10, rgba(0, 0, 0, 0.1))}[data-color-brand=\"bild\"][data-theme=\"dark\"] .shadow-hard-xl,:host([data-color-brand=\"bild\"][data-theme=\"dark\"]) .shadow-hard-xl{box-shadow:0px 4px 4px 0px var(--color-neutral-0-a-20, rgba(0, 0, 0, 0.2)), 0px 8px 12px 6px var(--color-neutral-0-a-10, rgba(0, 0, 0, 0.1))}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--grid-space-resp-lg:var(--space-3-x, 24px);--grid-space-resp-xl:var(--space-6-x, 48px);--grid-space-resp-base:var(--space-1-p-5-x, 12px);--grid-space-resp-sm:var(--space-0-p-75-x, 6px);--page-inline-space:var(--space-0-x, 0px);--grid-space-const-lg:var(--space-2-x, 16px);--grid-space-const-sm:var(--space-1-p-5-x, 12px);--layout-guide-grid-colums:4;--section-space-base:var(--space-4-p-5-x, 36px);--section-space-lg:var(--space-9-x, 72px);--paragraph-end-space:var(--space-2-x, 16px);--section-space-sm:var(--space-3-x, 24px);--breakpoint-min-width-size:320px;--breakpoint-max-width-size:389px;--canvas-height-size-web:568px;--canvas-width-size-web:320px;--canvas-width-size-app:320px;--canvas-height-size-app:568px;--content-max-width-medium:700px;--content-max-width-full:1024px;--title-1-font-size:22px;--title-2-font-size:16px;--display-1-font-size:40px;--display-2-font-size:36px;--display-3-font-size:28px;--headline-1-font-size:48px;--headline-2-font-size:40px;--headline-3-font-size:28px;--headline-4-font-size:22px;--body-font-size:21px;--label-3-font-size:12px;--label-2-font-size:15px;--label-1-font-size:17px;--callout-1-font-size:18px;--footnote-1-font-size:16px;--footnote-2-font-size:12px;--kicker-1-font-size:18px;--kicker-2-font-size:18px;--kicker-3-font-size:16px;--kicker-4-font-size:14px;--subheadline-1-font-size:24px;--quote-font-size:16px;--body-font-family:var(--font-family-gotham-xnarrow, Gotham XNarrow);--callout-font-family:var(--font-family-gotham, Gotham);--headline-font-family:var(--font-family-gotham-cond, Gotham Condensed);--footnote-font-family:var(--font-family-gotham-xnarrow, Gotham XNarrow);--label-font-family:var(--font-family-gotham-xnarrow, Gotham XNarrow);--kicker-font-family:var(--font-family-gotham-xnarrow, Gotham XNarrow);--subheadline-font-family:var(--font-family-gotham-cond, Gotham Condensed);--title-font-family:var(--font-family-gotham, Gotham);--quote-font-family:var(--font-family-gotham, Gotham);--display-font-family:var(--font-family-gotham, Gotham);--callout-font-weight:var(--font-weight-black, 800);--label-font-weight-bold:var(--font-weight-bold, 700);--label-font-weight-book:var(--font-weight-book, 400);--label-font-weight-bold-st:var(--st-font-weight-bold, 700);--label-font-weight-book-st:var(--st-font-weight-st-book, 400);--body-font-weight-book:var(--font-weight-book, 400);--body-font-weight-bold:var(--font-weight-bold, 700);--kicker-font-weight:var(--font-weight-bold, 700);--kicker-font-weight-st:var(--st-font-weight-bold, 700);--subheadline-font-weight:var(--font-weight-bold, 700);--headline-1-font-weight:var(--font-weight-bold, 700);--headline-2-font-weight:var(--font-weight-bold, 700);--headline-3-font-weight:var(--font-weight-bold, 700);--headline-4-font-weight:var(--font-weight-semi-bold, 600);--headline-1-font-weight-st:var(--st-font-weight-bold, 700);--headline-2-font-weight-st:var(--st-font-weight-bold, 700);--headline-3-font-weight-st:var(--st-font-weight-bold, 700);--headline-4-font-weight-st:var(--st-font-weight-semi-bold, 600);--title-font-weight:var(--font-weight-black, 800);--display-font-weight:var(--font-weight-black, 800);--display-font-weight-st:var(--st-font-weight-black, 800);--quote-font-weight:var(--font-weight-black, 800);--footnote-font-weight-book:var(--font-weight-book, 400);--footnote-font-weight-bold:var(--font-weight-bold, 700);--body-line-height:28px;--kicker-4-line-height:15.4px;--kicker-3-line-height:17.6px;--kicker-2-line-height:19.8px;--kicker-1-line-height:19.8px;--label-3-line-height:14.4px;--label-1-line-height:17px;--label-2-line-height:16px;--display-1-line-height:40px;--display-2-line-height:36px;--display-3-line-height:28px;--title-1-line-height:22px;--title-2-line-height:17.6px;--quote-line-height:16px;--footnote-1-line-height:21px;--footnote-2-line-height:15.6px;--headline-1-line-height:48px;--headline-2-line-height:40px;--headline-3-line-height:28px;--headline-4-line-height:22px;--callout-line-height:18px;--subheadline-1-line-height:24px;--letter-space-positive-sm:var(--letter-space-0-p-5, 0.5px);--letter-space-positive-lg:var(--letter-space-2, 2px);--letter-space-positive-md:var(--letter-space-1, 1px);--letter-space-none:var(--letter-space-0, 0px);--letter-space-negative-sm:var(--letter-space-neg-0-p-5, -0.5px);--letter-space-negative-md:var(--letter-space-neg-1, -1px);--letter-space-negative-lg:var(--letter-space-neg-2, -2px);--letter-space-negative-xs:var(--letter-space-neg-0-p-25, -0.25px);--letter-space-positive-xs:var(--letter-space-0-p-25, 0.25px);--display-1-letter-space:var(--letter-space-neg-0-p-5, -0.5px);--display-2-letter-space:var(--letter-space-neg-0-p-5, -0.5px);--display-3-letter-space:var(--letter-space-neg-0-p-5, -0.5px);--border-radius-xs:var(--size-0-p-25-x, 2px);--border-radius-md:var(--size-1-x, 8px);--border-radius-sm:var(--size-0-p-5-x, 4px);--border-radius-xl:var(--size-3-x, 24px);--border-radius-lg:var(--size-2-x, 16px);--border-radius-none:var(--size-0-x, 0px);--border-radius-full:9999px;--border-width-thin:var(--size-0-p-125-x, 1px);--border-width-thick:var(--size-0-p-25-x, 2px);--border-width-hairline:0.33px;--change-on-lg:xs/sm/md;--change-on-md:xs/sm;--bp-specific-web:xs/sm;--bp-specific-app:compact;--inline-space-resp-sm:var(--space-1-x, 8px);--inline-space-resp-md:var(--space-1-p-5-x, 12px);--inline-space-resp-lg:var(--space-2-x, 16px);--inline-space-resp-2-xl:var(--space-4-x, 32px);--inline-space-resp-xl:var(--space-3-x, 24px);--inline-space-const-sm:var(--space-1-x, 8px);--inline-space-const-md:var(--space-1-p-5-x, 12px);--inline-space-const-lg:var(--space-2-x, 16px);--inline-space-const-2-xl:var(--space-4-x, 32px);--inline-space-const-xl:var(--space-3-x, 24px);--inline-space-const-xs:var(--space-0-p-75-x, 6px);--inline-space-const-3-xs:var(--space-0-p-25-x, 2px);--inline-space-const-2-xs:var(--space-0-p-5-x, 4px);--stack-space-resp-md:var(--density-xs-stack-space-resp-md);--stack-space-resp-lg:var(--density-xs-stack-space-resp-lg);--stack-space-resp-2-xl:var(--density-xs-stack-space-resp-2-xl);--stack-space-resp-sm:var(--density-xs-stack-space-resp-sm);--stack-space-resp-xl:var(--density-xs-stack-space-resp-xl);--stack-space-const-sm:var(--density-stack-space-const-sm);--stack-space-const-md:var(--density-stack-space-const-md);--stack-space-const-lg:var(--density-stack-space-const-lg);--stack-space-const-2-xl:var(--density-stack-space-const-2-xl);--stack-space-const-xl:var(--density-stack-space-const-xl);--stack-space-const-xs:var(--density-stack-space-const-xs);--stack-space-const-3-xs:var(--density-stack-space-const-3-xs);--stack-space-const-2-xs:var(--density-stack-space-const-2-xs);--gap-space-resp-xs:var(--space-0-p-5-x, 4px);--gap-space-resp-lg:var(--space-2-x, 16px);--gap-space-resp-xl:var(--space-3-x, 24px);--gap-space-resp-2-xl:var(--space-4-x, 32px);--gap-space-resp-md:var(--space-1-p-5-x, 12px);--gap-space-resp-sm:var(--space-1-x, 8px);--gap-space-resp-2-xs:var(--space-0-p-25-x, 2px);--gap-space-resp-3-xl:var(--space-6-x, 48px);--gap-space-const-2-xs:var(--space-0-p-25-x, 2px);--gap-space-const-xs:var(--space-0-p-5-x, 4px);--gap-space-const-sm:var(--space-1-x, 8px);--gap-space-const-md:var(--space-1-p-5-x, 12px);--gap-space-const-lg:var(--space-2-x, 16px);--gap-space-const-xl:var(--space-3-x, 24px);--gap-space-const-2-xl:var(--space-4-x, 32px);--gap-space-const-3-xl:var(--space-6-x, 48px);--size-const-3-xs:var(--size-2-x, 16px);--size-const-2-xs:var(--size-3-x, 24px);--size-const-xs:var(--size-4-x, 32px);--size-const-sm:var(--size-5-x, 40px);--size-const-md:var(--size-6-x, 48px);--size-const-lg:var(--size-7-x, 56px);--size-const-xl:var(--size-8-x, 64px);--size-const-3-xl:var(--size-12-x, 96px);--size-const-4-xl:var(--size-18-p-5-x, 148px);--size-const-2-xl:var(--size-9-x, 72px);--size-const-4-xs:var(--size-1-x, 8px);--size-resp-3-xs:var(--size-2-x, 16px);--size-resp-2-xs:var(--size-3-x, 24px);--size-resp-xs:var(--size-4-x, 32px);--size-resp-sm:var(--size-5-x, 40px);--size-resp-md:var(--size-6-x, 48px);--size-resp-lg:var(--size-7-x, 56px);--size-resp-xl:var(--size-8-x, 64px);--size-resp-2-xl:var(--size-9-x, 72px);--size-resp-3-xl:var(--size-12-x, 96px);--size-resp-4-xl:var(--size-18-p-5-x, 148px);--size-resp-4-xs:var(--size-1-p-5-x, 12px);--breakpoint-name:xs}@media (min-width: 390px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--breakpoint-min-width-size:390px;--breakpoint-max-width-size:599px;--canvas-height-size-web:844px;--canvas-width-size-web:390px;--canvas-width-size-app:390px;--canvas-height-size-app:844px;--stack-space-resp-md:var(--density-sm-stack-space-resp-md);--stack-space-resp-lg:var(--density-sm-stack-space-resp-lg);--stack-space-resp-2-xl:var(--density-sm-stack-space-resp-2-xl);--stack-space-resp-sm:var(--density-sm-stack-space-resp-sm);--stack-space-resp-xl:var(--density-sm-stack-space-resp-xl);--breakpoint-name:sm}}@media (min-width: 600px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--grid-space-resp-lg:var(--space-4-x, 32px);--grid-space-resp-xl:var(--space-8-x, 64px);--layout-guide-grid-colums:8;--section-space-base:var(--space-6-x, 48px);--section-space-lg:var(--space-12-x, 96px);--paragraph-end-space:var(--space-4-x, 32px);--section-space-sm:var(--space-4-p-5-x, 36px);--breakpoint-min-width-size:600px;--breakpoint-max-width-size:1023px;--canvas-height-size-web:960px;--canvas-width-size-web:600px;--canvas-width-size-app:834px;--canvas-height-size-app:1194px;--title-2-font-size:18px;--display-1-font-size:72px;--display-2-font-size:42px;--display-3-font-size:32px;--headline-1-font-size:72px;--headline-2-font-size:48px;--headline-3-font-size:36px;--headline-4-font-size:26px;--callout-1-font-size:22px;--kicker-1-font-size:22px;--kicker-2-font-size:22px;--kicker-3-font-size:18px;--kicker-4-font-size:16px;--subheadline-1-font-size:32px;--quote-font-size:18px;--kicker-4-line-height:17.6px;--kicker-3-line-height:18px;--kicker-2-line-height:22px;--kicker-1-line-height:22px;--display-1-line-height:72px;--display-2-line-height:42px;--display-3-line-height:32px;--title-2-line-height:19.8px;--quote-line-height:18px;--footnote-2-line-height:15.8px;--headline-1-line-height:72px;--headline-2-line-height:48px;--headline-3-line-height:36px;--callout-line-height:22px;--subheadline-1-line-height:32px;--letter-space-negative-sm:var(--letter-space-neg-0-p-25, -0.25px);--display-1-letter-space:var(--letter-space-neg-1, -1px);--display-2-letter-space:var(--letter-space-neg-1, -1px);--display-3-letter-space:var(--letter-space-neg-1, -1px);--change-on-md:md/lg;--bp-specific-web:md;--bp-specific-app:regular;--inline-space-resp-sm:var(--space-1-p-5-x, 12px);--inline-space-resp-md:var(--space-2-x, 16px);--inline-space-resp-lg:var(--space-3-x, 24px);--inline-space-resp-2-xl:var(--space-6-x, 48px);--inline-space-resp-xl:var(--space-4-x, 32px);--stack-space-resp-md:var(--density-md-stack-space-resp-md);--stack-space-resp-lg:var(--density-md-stack-space-resp-lg);--stack-space-resp-sm:var(--density-md-stack-space-resp-sm);--stack-space-resp-xl:var(--density-md-stack-space-resp-xl);--gap-space-resp-xs:var(--space-0-p-75-x, 6px);--gap-space-resp-lg:var(--space-3-x, 24px);--gap-space-resp-xl:var(--space-4-x, 32px);--gap-space-resp-2-xl:var(--space-6-x, 48px);--gap-space-resp-md:var(--space-2-x, 16px);--gap-space-resp-sm:var(--space-1-p-5-x, 12px);--gap-space-resp-2-xs:var(--space-0-p-5-x, 4px);--gap-space-resp-3-xl:var(--space-9-x, 72px);--size-resp-2-xs:var(--size-4-x, 32px);--size-resp-xs:var(--size-5-x, 40px);--size-resp-sm:var(--size-6-x, 48px);--size-resp-md:var(--size-8-x, 64px);--size-resp-lg:var(--size-9-x, 72px);--size-resp-xl:var(--size-10-x, 80px);--size-resp-2-xl:var(--size-11-p-5-x, 92px);--size-resp-3-xl:var(--size-15-x, 120px);--size-resp-4-xl:var(--size-20-x, 160px);--size-resp-4-xs:var(--size-1-p-75-x, 14px);--breakpoint-name:md}}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--grid-space-resp-base:var(--space-2-x, 16px);--grid-space-resp-sm:var(--space-1-x, 8px);--page-inline-space:var(--space-2-x, 16px);--layout-guide-grid-colums:12;--breakpoint-min-width-size:1024px;--breakpoint-max-width-size:1024px;--canvas-height-size-web:768px;--canvas-width-size-web:1024px;--canvas-width-size-app:1194px;--canvas-height-size-app:834px;--title-1-font-size:28px;--title-2-font-size:20px;--display-1-font-size:120px;--display-2-font-size:64px;--display-3-font-size:40px;--headline-1-font-size:100px;--headline-2-font-size:64px;--headline-3-font-size:40px;--headline-4-font-size:32px;--footnote-1-font-size:18px;--footnote-2-font-size:16px;--kicker-1-font-size:30px;--kicker-2-font-size:24px;--kicker-3-font-size:20px;--subheadline-1-font-size:36px;--quote-font-size:20px;--body-line-height:32px;--kicker-4-line-height:16px;--kicker-3-line-height:20px;--kicker-2-line-height:24px;--kicker-1-line-height:30px;--display-1-line-height:120px;--display-2-line-height:64px;--display-3-line-height:40px;--title-1-line-height:28px;--title-2-line-height:22px;--quote-line-height:22px;--footnote-1-line-height:23px;--footnote-2-line-height:21px;--headline-1-line-height:100px;--headline-2-line-height:64px;--headline-3-line-height:40px;--headline-4-line-height:30px;--subheadline-1-line-height:36px;--letter-space-positive-lg:var(--letter-space-3, 3px);--letter-space-negative-lg:var(--letter-space-neg-3, -3px);--display-1-letter-space:var(--letter-space-neg-2, -2px);--change-on-lg:lg;--bp-specific-web:lg;--inline-space-resp-sm:var(--space-2-x, 16px);--inline-space-resp-md:var(--space-3-x, 24px);--inline-space-resp-lg:var(--space-4-x, 32px);--inline-space-resp-2-xl:var(--space-8-x, 64px);--inline-space-resp-xl:var(--space-5-x, 40px);--stack-space-resp-md:var(--density-lg-stack-space-resp-md);--stack-space-resp-lg:var(--density-lg-stack-space-resp-lg);--stack-space-resp-2-xl:var(--density-lg-stack-space-resp-2-xl);--stack-space-resp-sm:var(--density-lg-stack-space-resp-sm);--stack-space-resp-xl:var(--density-lg-stack-space-resp-xl);--gap-space-resp-xs:var(--space-1-x, 8px);--gap-space-resp-lg:var(--space-4-x, 32px);--gap-space-resp-xl:var(--space-6-x, 48px);--gap-space-resp-2-xl:var(--space-8-x, 64px);--gap-space-resp-md:var(--space-3-x, 24px);--gap-space-resp-sm:var(--space-2-x, 16px);--gap-space-resp-2-xs:var(--space-0-p-75-x, 6px);--gap-space-resp-3-xl:var(--space-12-x, 96px);--size-resp-3-xs:var(--size-3-x, 24px);--size-resp-xs:var(--size-6-x, 48px);--size-resp-sm:var(--size-7-x, 56px);--size-resp-md:var(--size-9-x, 72px);--size-resp-lg:var(--size-11-p-5-x, 92px);--size-resp-xl:var(--size-12-x, 96px);--size-resp-2-xl:var(--size-12-p-5-x, 100px);--size-resp-3-xl:var(--size-18-p-5-x, 148px);--size-resp-4-xl:var(--size-22-p-5-x, 180px);--size-resp-4-xs:var(--size-2-x, 16px);--breakpoint-name:lg}}[data-content-brand=\"bild\"] .display-1,:host([data-content-brand=\"bild\"]) .display-1{font-family:var(--display-font-family);font-weight:900;font-size:var(--display-1-font-size);line-height:var(--display-1-line-height);letter-spacing:var(--display-1-letter-space)}[data-content-brand=\"bild\"] .display-2,:host([data-content-brand=\"bild\"]) .display-2{font-family:var(--display-font-family);font-weight:900;font-size:var(--display-2-font-size);line-height:var(--display-2-line-height);letter-spacing:var(--display-2-letter-space)}[data-content-brand=\"bild\"] .display-3,:host([data-content-brand=\"bild\"]) .display-3{font-family:var(--display-font-family);font-weight:900;font-size:var(--display-3-font-size);line-height:var(--display-3-line-height);letter-spacing:var(--display-3-letter-space)}[data-content-brand=\"bild\"] .headline-1,:host([data-content-brand=\"bild\"]) .headline-1{font-family:var(--headline-font-family);font-weight:900;font-size:var(--headline-1-font-size);line-height:var(--headline-1-line-height)}[data-content-brand=\"bild\"] .headline-2,:host([data-content-brand=\"bild\"]) .headline-2{font-family:var(--headline-font-family);font-weight:900;font-size:var(--headline-2-font-size);line-height:var(--headline-2-line-height)}[data-content-brand=\"bild\"] .headline-3,:host([data-content-brand=\"bild\"]) .headline-3{font-family:var(--headline-font-family);font-weight:900;font-size:var(--headline-3-font-size);line-height:var(--headline-3-line-height)}[data-content-brand=\"bild\"] .headline-4,:host([data-content-brand=\"bild\"]) .headline-4{font-family:var(--headline-font-family);font-weight:700;font-size:var(--headline-4-font-size);line-height:var(--headline-4-font-size)}[data-content-brand=\"bild\"] .subheadline-1,:host([data-content-brand=\"bild\"]) .subheadline-1{font-family:var(--subheadline-font-family);font-weight:var(--subheadline-font-weight);font-size:var(--subheadline-1-font-size);line-height:var(--subheadline-1-line-height)}[data-content-brand=\"bild\"] .kicker-1,:host([data-content-brand=\"bild\"]) .kicker-1{font-family:var(--kicker-font-family);font-weight:700;font-size:var(--kicker-1-font-size);line-height:var(--kicker-1-line-height)}[data-content-brand=\"bild\"] .kicker-2,:host([data-content-brand=\"bild\"]) .kicker-2{font-family:var(--kicker-font-family);font-weight:700;font-size:var(--kicker-2-font-size);line-height:var(--kicker-2-line-height)}[data-content-brand=\"bild\"] .kicker-3,:host([data-content-brand=\"bild\"]) .kicker-3{font-family:var(--kicker-font-family);font-weight:700;font-size:var(--kicker-3-font-size);line-height:var(--kicker-3-line-height)}[data-content-brand=\"bild\"] .kicker-4,:host([data-content-brand=\"bild\"]) .kicker-4{font-family:var(--kicker-font-family);font-weight:700;font-size:var(--kicker-4-font-size);line-height:var(--kicker-4-line-height)}[data-content-brand=\"bild\"] .title-1,:host([data-content-brand=\"bild\"]) .title-1{font-family:var(--title-font-family);font-weight:var(--title-font-weight);font-size:var(--title-1-font-size);line-height:var(--title-1-line-height)}[data-content-brand=\"bild\"] .title-1-uppercase,:host([data-content-brand=\"bild\"]) .title-1-uppercase{font-family:var(--title-font-family);font-weight:var(--title-font-weight);font-size:var(--title-1-font-size);line-height:var(--title-1-line-height);text-transform:uppercase}[data-content-brand=\"bild\"] .title-2,:host([data-content-brand=\"bild\"]) .title-2{font-family:var(--title-font-family);font-weight:var(--title-font-weight);font-size:var(--title-2-font-size);line-height:var(--title-2-line-height)}[data-content-brand=\"bild\"] .title-2-uppercase,:host([data-content-brand=\"bild\"]) .title-2-uppercase{font-family:var(--title-font-family);font-weight:var(--title-font-weight);font-size:var(--title-2-font-size);line-height:var(--title-2-line-height);text-transform:uppercase}[data-content-brand=\"bild\"] .callout,:host([data-content-brand=\"bild\"]) .callout{font-family:var(--callout-font-family);font-weight:var(--callout-font-weight);font-size:var(--callout-1-font-size);line-height:var(--callout-line-height)}[data-content-brand=\"bild\"] .body,:host([data-content-brand=\"bild\"]) .body{font-family:var(--body-font-family);font-weight:var(--body-font-weight-book);font-size:var(--body-font-size);line-height:var(--body-line-height)}[data-content-brand=\"bild\"] .body-italic,:host([data-content-brand=\"bild\"]) .body-italic{font-family:var(--body-font-family);font-weight:400;font-size:var(--body-font-size);line-height:var(--body-line-height);font-style:italic}[data-content-brand=\"bild\"] .body-bold,:host([data-content-brand=\"bild\"]) .body-bold{font-family:var(--body-font-family);font-weight:var(--body-font-weight-bold);font-size:var(--body-font-size);line-height:var(--body-line-height)}[data-content-brand=\"bild\"] .body-bold-italic,:host([data-content-brand=\"bild\"]) .body-bold-italic{font-family:var(--body-font-family);font-weight:700;font-size:var(--body-font-size);line-height:var(--body-line-height);font-style:italic}[data-content-brand=\"bild\"] .text-link,:host([data-content-brand=\"bild\"]) .text-link{font-family:var(--body-font-family);font-weight:var(--body-font-weight-book);font-size:var(--body-font-size);line-height:var(--body-line-height);text-decoration:underline}[data-content-brand=\"bild\"] .text-link-italic,:host([data-content-brand=\"bild\"]) .text-link-italic{font-family:var(--body-font-family);font-weight:400;font-size:var(--body-font-size);line-height:var(--body-line-height);font-style:italic;text-decoration:underline}[data-content-brand=\"bild\"] .text-link-bold,:host([data-content-brand=\"bild\"]) .text-link-bold{font-family:var(--body-font-family);font-weight:var(--body-font-weight-bold);font-size:var(--body-font-size);line-height:var(--body-line-height);text-decoration:underline}[data-content-brand=\"bild\"] .text-link-hover,:host([data-content-brand=\"bild\"]) .text-link-hover{font-family:var(--body-font-family);font-weight:var(--body-font-weight-book);font-size:var(--body-font-size);line-height:var(--body-line-height);text-decoration:underline}[data-content-brand=\"bild\"] .text-link-bold-hover,:host([data-content-brand=\"bild\"]) .text-link-bold-hover{font-family:var(--body-font-family);font-weight:var(--body-font-weight-bold);font-size:var(--body-font-size);line-height:var(--body-line-height);text-decoration:underline}[data-content-brand=\"bild\"] .footnote-1,:host([data-content-brand=\"bild\"]) .footnote-1{font-family:var(--footnote-font-family);font-weight:var(--font-weight-book, 400);font-size:var(--footnote-1-font-size);line-height:var(--footnote-1-line-height)}[data-content-brand=\"bild\"] .footnote-1-bold,:host([data-content-brand=\"bild\"]) .footnote-1-bold{font-family:var(--footnote-font-family);font-weight:var(--font-weight-bold, 700);font-size:var(--footnote-1-font-size);line-height:var(--footnote-1-line-height)}[data-content-brand=\"bild\"] .footnote-2,:host([data-content-brand=\"bild\"]) .footnote-2{font-family:var(--footnote-font-family);font-weight:var(--font-weight-book, 400);font-size:var(--footnote-2-font-size);line-height:var(--footnote-2-line-height)}[data-content-brand=\"bild\"] .footnote-2-bold,:host([data-content-brand=\"bild\"]) .footnote-2-bold{font-family:var(--footnote-font-family);font-weight:var(--font-weight-bold, 700);font-size:var(--footnote-2-font-size);line-height:var(--footnote-2-line-height)}[data-content-brand=\"bild\"] .label-1,:host([data-content-brand=\"bild\"]) .label-1{font-family:var(--label-font-family);font-weight:400;font-size:var(--label-1-font-size);line-height:var(--label-1-line-height);letter-spacing:var(--letter-space-0-p-25, 0.25px)}[data-content-brand=\"bild\"] .label-1-bold,:host([data-content-brand=\"bild\"]) .label-1-bold{font-family:var(--label-font-family);font-weight:700;font-size:var(--label-1-font-size);line-height:var(--label-1-line-height);letter-spacing:var(--letter-space-0-p-25, 0.25px)}[data-content-brand=\"bild\"] .label-1-uppercase-bold,:host([data-content-brand=\"bild\"]) .label-1-uppercase-bold{font-family:var(--label-font-family);font-weight:var(--label-font-weight-bold);font-size:var(--label-1-font-size);line-height:var(--label-1-line-height);letter-spacing:var(--letter-space-positive-sm);text-transform:uppercase}[data-content-brand=\"bild\"] .label-2,:host([data-content-brand=\"bild\"]) .label-2{font-family:var(--label-font-family);font-weight:var(--label-font-weight-book);font-size:var(--label-2-font-size);line-height:var(--label-2-line-height);letter-spacing:var(--letter-space-positive-xs)}[data-content-brand=\"bild\"] .label-2-uppercase,:host([data-content-brand=\"bild\"]) .label-2-uppercase{font-family:var(--label-font-family);font-weight:var(--label-font-weight-book);font-size:var(--label-2-font-size);line-height:var(--label-2-line-height);letter-spacing:var(--letter-space-positive-xs);text-transform:uppercase}[data-content-brand=\"bild\"] .label-2-bold,:host([data-content-brand=\"bild\"]) .label-2-bold{font-family:var(--label-font-family);font-weight:700;font-size:var(--label-2-font-size);line-height:var(--label-2-line-height);letter-spacing:var(--letter-space-positive-xs)}[data-content-brand=\"bild\"] .label-2-uppercase-bold,:host([data-content-brand=\"bild\"]) .label-2-uppercase-bold{font-family:var(--label-font-family);font-weight:700;font-size:var(--label-2-font-size);line-height:var(--label-2-line-height);letter-spacing:var(--letter-space-positive-xs);text-transform:uppercase}[data-content-brand=\"bild\"] .label-3,:host([data-content-brand=\"bild\"]) .label-3{font-family:var(--label-font-family);font-weight:var(--font-weight-book, 400);font-size:var(--label-3-font-size);line-height:var(--label-3-line-height);letter-spacing:var(--letter-space-positive-xs)}[data-content-brand=\"bild\"] .label-3-uppercase,:host([data-content-brand=\"bild\"]) .label-3-uppercase{font-family:var(--label-font-family);font-weight:var(--label-font-weight-book);font-size:var(--label-3-font-size);line-height:var(--label-3-line-height);letter-spacing:var(--letter-space-positive-sm);text-transform:uppercase}[data-content-brand=\"bild\"] .label-3-bold,:host([data-content-brand=\"bild\"]) .label-3-bold{font-family:var(--label-font-family);font-weight:700;font-size:var(--label-3-font-size);line-height:var(--label-3-line-height);letter-spacing:var(--letter-space-positive-xs)}[data-content-brand=\"bild\"] .label-3-uppercase-bold,:host([data-content-brand=\"bild\"]) .label-3-uppercase-bold{font-family:var(--label-font-family);font-weight:700;font-size:var(--label-3-font-size);line-height:var(--label-3-line-height);letter-spacing:var(--letter-space-positive-sm);text-transform:uppercase}[data-content-brand=\"bild\"] .quote,:host([data-content-brand=\"bild\"]) .quote{font-family:var(--quote-font-family);font-weight:var(--quote-font-weight);font-size:var(--quote-font-size);line-height:var(--quote-line-height)}[data-content-brand=\"bild\"][data-density=\"default\"],:host([data-content-brand=\"bild\"][data-density=\"default\"]){--density-stack-space-const-3-xs:var(--space-0-p-25-x, 2px);--density-stack-space-const-2-xs:var(--space-0-p-5-x, 4px);--density-stack-space-const-xs:var(--space-0-p-75-x, 6px);--density-stack-space-const-sm:var(--space-1-x, 8px);--density-stack-space-const-md:var(--space-1-p-5-x, 12px);--density-stack-space-const-lg:var(--space-2-x, 16px);--density-stack-space-const-xl:var(--space-3-x, 24px);--density-stack-space-const-2-xl:var(--space-4-x, 32px);--density-xs-stack-space-resp-sm:var(--space-1-x, 8px);--density-xs-stack-space-resp-md:var(--space-1-p-5-x, 12px);--density-xs-stack-space-resp-lg:var(--space-2-x, 16px);--density-xs-stack-space-resp-xl:var(--space-3-x, 24px);--density-xs-stack-space-resp-2-xl:var(--space-4-x, 32px);--density-sm-stack-space-resp-sm:var(--space-1-x, 8px);--density-sm-stack-space-resp-md:var(--space-1-p-5-x, 12px);--density-sm-stack-space-resp-lg:var(--space-2-x, 16px);--density-sm-stack-space-resp-xl:var(--space-3-x, 24px);--density-sm-stack-space-resp-2-xl:var(--space-4-x, 32px);--density-md-stack-space-resp-sm:var(--space-1-p-5-x, 12px);--density-md-stack-space-resp-md:var(--space-2-x, 16px);--density-md-stack-space-resp-lg:var(--space-3-x, 24px);--density-md-stack-space-resp-xl:var(--space-4-x, 32px);--density-md-stack-space-resp-2-xl:var(--space-6-x, 48px);--density-lg-stack-space-resp-sm:var(--space-2-x, 16px);--density-lg-stack-space-resp-md:var(--space-3-x, 24px);--density-lg-stack-space-resp-lg:var(--space-4-x, 32px);--density-lg-stack-space-resp-xl:var(--space-5-x, 40px);--density-lg-stack-space-resp-2-xl:var(--space-8-x, 64px)}[data-content-brand=\"bild\"][data-density=\"dense\"],:host([data-content-brand=\"bild\"][data-density=\"dense\"]){--density-stack-space-const-3-xs:var(--space-0-p-25-x, 2px);--density-stack-space-const-2-xs:var(--space-0-p-25-x, 2px);--density-stack-space-const-xs:var(--space-0-p-25-x, 2px);--density-stack-space-const-sm:var(--space-0-p-75-x, 6px);--density-stack-space-const-md:var(--space-1-x, 8px);--density-stack-space-const-lg:var(--space-1-p-5-x, 12px);--density-stack-space-const-xl:var(--space-2-x, 16px);--density-stack-space-const-2-xl:var(--space-3-x, 24px);--density-xs-stack-space-resp-sm:var(--space-0-p-75-x, 6px);--density-xs-stack-space-resp-md:var(--space-1-x, 8px);--density-xs-stack-space-resp-lg:var(--space-1-p-5-x, 12px);--density-xs-stack-space-resp-xl:var(--space-2-x, 16px);--density-xs-stack-space-resp-2-xl:var(--space-3-x, 24px);--density-sm-stack-space-resp-sm:var(--space-0-p-75-x, 6px);--density-sm-stack-space-resp-md:var(--space-1-x, 8px);--density-sm-stack-space-resp-lg:var(--space-1-p-5-x, 12px);--density-sm-stack-space-resp-xl:var(--space-2-x, 16px);--density-sm-stack-space-resp-2-xl:var(--space-3-x, 24px);--density-md-stack-space-resp-sm:var(--space-1-x, 8px);--density-md-stack-space-resp-md:var(--space-1-p-5-x, 12px);--density-md-stack-space-resp-lg:var(--space-2-x, 16px);--density-md-stack-space-resp-xl:var(--space-3-x, 24px);--density-md-stack-space-resp-2-xl:var(--space-4-p-5-x, 36px);--density-lg-stack-space-resp-sm:var(--space-1-p-5-x, 12px);--density-lg-stack-space-resp-md:var(--space-2-x, 16px);--density-lg-stack-space-resp-lg:var(--space-3-x, 24px);--density-lg-stack-space-resp-xl:var(--space-3-p-5-x, 28px);--density-lg-stack-space-resp-2-xl:var(--space-6-x, 48px)}[data-content-brand=\"bild\"][data-density=\"spacious\"],:host([data-content-brand=\"bild\"][data-density=\"spacious\"]){--density-stack-space-const-3-xs:var(--space-0-p-25-x, 2px);--density-stack-space-const-2-xs:var(--space-0-p-5-x, 4px);--density-stack-space-const-xs:var(--space-1-x, 8px);--density-stack-space-const-sm:var(--space-1-p-25-x, 10px);--density-stack-space-const-md:var(--space-1-p-75-x, 14px);--density-stack-space-const-lg:var(--space-2-p-5-x, 20px);--density-stack-space-const-xl:var(--space-3-p-5-x, 28px);--density-stack-space-const-2-xl:var(--space-5-x, 40px);--density-xs-stack-space-resp-sm:var(--space-1-p-25-x, 10px);--density-xs-stack-space-resp-md:var(--space-1-p-75-x, 14px);--density-xs-stack-space-resp-lg:var(--space-2-p-5-x, 20px);--density-xs-stack-space-resp-xl:var(--space-3-p-5-x, 28px);--density-xs-stack-space-resp-2-xl:var(--space-5-x, 40px);--density-sm-stack-space-resp-sm:var(--space-1-p-25-x, 10px);--density-sm-stack-space-resp-md:var(--space-1-p-75-x, 14px);--density-sm-stack-space-resp-lg:var(--space-2-p-5-x, 20px);--density-sm-stack-space-resp-xl:var(--space-3-p-5-x, 28px);--density-sm-stack-space-resp-2-xl:var(--space-5-x, 40px);--density-md-stack-space-resp-sm:var(--space-1-p-75-x, 14px);--density-md-stack-space-resp-md:var(--space-2-p-5-x, 20px);--density-md-stack-space-resp-lg:var(--space-3-p-5-x, 28px);--density-md-stack-space-resp-xl:var(--space-5-x, 40px);--density-md-stack-space-resp-2-xl:var(--space-7-p-5-x, 60px);--density-lg-stack-space-resp-sm:var(--space-2-p-5-x, 20px);--density-lg-stack-space-resp-md:var(--space-3-p-5-x, 28px);--density-lg-stack-space-resp-lg:var(--space-5-x, 40px);--density-lg-stack-space-resp-xl:var(--space-6-x, 48px);--density-lg-stack-space-resp-2-xl:var(--space-10-x, 80px)}[data-content-brand=\"bild\"] .article-kicker,:host([data-content-brand=\"bild\"]) .article-kicker{font-family:var(--kicker-font-family);font-weight:700;font-size:var(--kicker-1-font-size);line-height:var(--kicker-1-line-height)}[data-content-brand=\"bild\"] .article-image-caption,:host([data-content-brand=\"bild\"]) .article-image-caption{font-family:var(--body-font-family);font-weight:var(--font-weight-bold, 700);font-size:16px;line-height:19.5px}[data-content-brand=\"bild\"] .article-headline,:host([data-content-brand=\"bild\"]) .article-headline{font-family:var(--headline-font-family);font-weight:900;font-size:var(--headline-2-font-size);line-height:var(--headline-2-font-size)}[data-content-brand=\"bild\"] .article-meta-source,:host([data-content-brand=\"bild\"]) .article-meta-source{font-family:var(--footnote-font-family);font-weight:var(--footnote-font-weight-book);font-size:16px;line-height:21px}[data-content-brand=\"bild\"] .article-time-stamp,:host([data-content-brand=\"bild\"]) .article-time-stamp{font-family:var(--font-family-gotham, Gotham);font-weight:var(--font-weight-black, 800);font-size:12px}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--aricle-mobile-1-col-grid-image-margin-space:var(--space-0-x, 0px);--article-top-margin-space:var(--stack-space-resp-sm);--article-content-stack-space:var(--stack-space-resp-lg);--article-headings-stack-space:var(--space-1-p-5-x, 12px);--article-image-landscape-inline-space:var(--space-0-x, 0px);--article-content-inline-space:var(--space-2-x, 16px);--article-headings-inline-space:var(--space-2-x, 16px);--article-image-portait-inline-space:var(--space-0-x, 0px);--article-image-container-stack-space:var(--stack-space-resp-sm);--article-infobox-inline-space:var(--inline-space-resp-lg);--article-infobox-stack-space:var(--stack-space-resp-lg);--article-kicker-font-size:var(--kicker-1-font-size);--article-headline-font-size:var(--headline-2-font-size);--article-image-caption-font-size:16px;--article-image-source-font-size:16px;--article-meta-font-size:12px;--article-image-caption-line-height:19.5px;--article-image-source-line-height:21px;--article-meta-font-family:var(--font-family-gotham, Gotham)}@media (min-width: 600px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--aricle-mobile-1-col-grid-image-margin-space:var(--space-9-x, 72px);--article-image-landscape-inline-space:var(--space-1-p-5-x, 12px);--article-content-inline-space:var(--space-9-x, 72px);--article-headings-inline-space:var(--space-9-x, 72px);--article-image-portait-inline-space:var(--space-9-x, 72px);--article-headline-font-size:var(--headline-1-font-size);--article-image-caption-font-size:18px;--article-meta-font-size:14px;--article-image-caption-line-height:24.75px}}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--article-headings-stack-space:var(--space-2-x, 16px);--article-image-landscape-inline-space:var(--space-2-x, 16px);--article-content-inline-space:162px;--article-headings-inline-space:var(--space-2-x, 16px);--article-image-portait-inline-space:162px;--article-image-source-font-size:18px;--article-meta-font-size:16px;--article-image-source-line-height:23px}}[data-content-brand=\"bild\"] .audio-player-label,:host([data-content-brand=\"bild\"]) .audio-player-label{font-family:var(--label-font-family);font-weight:var(--label-font-weight-bold);font-size:16px;line-height:16px}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--audio-player-font-size:16px}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--audio-player-font-size:18px}}[data-color-brand=\"bild\"][data-theme=\"light\"],:host([data-color-brand=\"bild\"][data-theme=\"light\"]){--avatar-label-color-hover:var(--text-color-hover)}[data-color-brand=\"bild\"][data-theme=\"dark\"],:host([data-color-brand=\"bild\"][data-theme=\"dark\"]){--avatar-label-color-hover:var(--icon-color-hover)}[data-content-brand=\"bild\"] .app-avatar,:host([data-content-brand=\"bild\"]) .app-avatar{font-family:var(--font-family-gotham, Gotham);font-weight:var(--font-weight-black, 800);font-size:12px;text-transform:uppercase}[data-content-brand=\"bild\"] .avatar-default,:host([data-content-brand=\"bild\"]) .avatar-default{font-family:var(--body-font-family);font-weight:var(--font-weight-bold, 700);font-size:16px;line-height:21px}[data-content-brand=\"bild\"] .avatar-hover,:host([data-content-brand=\"bild\"]) .avatar-hover{font-family:var(--body-font-family);font-weight:var(--label-font-weight-bold);font-size:16px;line-height:21px;text-decoration:underline}[data-content-brand=\"bild\"] .avatar-secondary-info,:host([data-content-brand=\"bild\"]) .avatar-secondary-info{font-family:var(--body-font-family);font-weight:var(--label-font-weight-book);font-size:16px;line-height:21px}[data-content-brand=\"bild\"] .avatar-secondary-info-hover,:host([data-content-brand=\"bild\"]) .avatar-secondary-info-hover{font-family:var(--body-font-family);font-weight:var(--label-font-weight-book);font-size:16px;line-height:21px;text-decoration:underline}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--avatar-label-font-size:16px;--avatar-article-size:var(--size-const-md);--avatar-author-page-size:var(--size-12-x, 96px);--avatar-font-family:var(--body-font-family);--avatar-label-line-height:21px;--avatar-lane-gap-space:var(--space-2-x, 16px);--app-avatar-font-family:var(--title-font-family)}@media (min-width: 600px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--avatar-author-page-size:var(--size-16-p-25, 130px);--avatar-lane-gap-space:var(--space-3-x, 24px)}}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--avatar-label-font-size:18px;--avatar-label-line-height:23px}}[data-color-brand=\"bild\"],:host([data-color-brand=\"bild\"]){--avatar-label-color:var(--text-color-primary)}[data-content-brand=\"bild\"] .video-ad-badge,:host([data-content-brand=\"bild\"]) .video-ad-badge{font-family:var(--body-font-family);font-weight:var(--font-weight-book, 400);font-size:14px;text-transform:uppercase}[data-content-brand=\"bild\"] .video-time-badge,:host([data-content-brand=\"bild\"]) .video-time-badge{font-family:var(--body-font-family);font-weight:var(--label-font-weight-book);font-size:16px;line-height:21px}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--badges-inner-stack-space:var(--stack-space-const-3-xs);--badges-inner-inline-space:var(--inline-space-const-2-xs);--ad-label-badge-height-size:30px}[data-content-brand=\"bild\"] .breadcrumb,:host([data-content-brand=\"bild\"]) .breadcrumb{font-family:var(--body-font-family);font-weight:var(--body-font-weight-bold);font-size:var(--breadcrumb-font-size);line-height:var(--breadcrumb-line-height)}[data-content-brand=\"bild\"] .breadcrumb-link,:host([data-content-brand=\"bild\"]) .breadcrumb-link{font-family:var(--body-font-family);font-weight:var(--body-font-weight-bold);font-size:15px;line-height:15px;text-decoration:underline}[data-content-brand=\"bild\"] .breadcrumb-link-hover,:host([data-content-brand=\"bild\"]) .breadcrumb-link-hover{font-family:var(--body-font-family);font-weight:var(--body-font-weight-bold);font-size:15px;line-height:15px;text-decoration:underline}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--breadcrumb-font-size:15px;--breadcrumb-font-family:var(--body-font-family);--breadcrumb-arrow-left-inline-space-1:3px;--breadcrumb-arrow-right-inline-space-2:5px;--breadcrumb-inline-space:var(--grid-space-resp-base);--breadcrumb-line-height:15px;--breadcrumb-font-weight:var(--body-font-weight-bold);--breadcrumb-stack-space:14px}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--breadcrumb-font-size:12px;--breadcrumb-inline-space:0px;--breadcrumb-line-height:12px;--breadcrumb-stack-space:16px}}[data-color-brand=\"bild\"],:host([data-color-brand=\"bild\"]){--breadcrumb-text-color-idle:var(--text-color-idle);--breadcrumb-text-color-hover:var(--text-color-hover)}[data-color-brand=\"bild\"][data-theme=\"light\"],:host([data-color-brand=\"bild\"][data-theme=\"light\"]){--breaking-news-title-surface-color:var(--color-orange-70, #FD8227);--breaking-news-surface-color:var(--color-neutral-15, #222628);--breaking-news-text-content-color:var(--color-neutral-100, #FFFFFF);--breaking-news-top-title-text-color:var(--color-neutral-10, #191B1C);--breaking-news-bottom-title-text-color:var(--color-neutral-10, #191B1C)}[data-color-brand=\"bild\"][data-theme=\"dark\"],:host([data-color-brand=\"bild\"][data-theme=\"dark\"]){--breaking-news-title-surface-color:var(--color-orange-70, #FD8227);--breaking-news-surface-color:var(--color-neutral-90, #DDE1E2);--breaking-news-text-content-color:var(--color-neutral-15, #222628);--breaking-news-top-title-text-color:var(--color-neutral-10, #191B1C);--breaking-news-bottom-title-text-color:var(--color-neutral-10, #191B1C)}[data-content-brand=\"bild\"] .breaking-news-text,:host([data-content-brand=\"bild\"]) .breaking-news-text{font-family:var(--kicker-font-family);font-weight:var(--body-font-weight-bold);font-size:21px;line-height:24px;text-transform:uppercase}[data-content-brand=\"bild\"] .breaking-news-upper-title,:host([data-content-brand=\"bild\"]) .breaking-news-upper-title{font-family:var(--title-font-family);font-weight:var(--title-font-weight);font-size:13px;line-height:13px}[data-content-brand=\"bild\"] .breaking-news-lower-title,:host([data-content-brand=\"bild\"]) .breaking-news-lower-title{font-family:var(--title-font-family);font-weight:var(--title-font-weight);font-size:23px;line-height:21px}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--breaking-news-container-height-size:var(--size-const-lg);--breaking-news-badge-upper-title-font-size:13px;--breaking-news-badge-lower-title-font-size:23px;--breaking-news-badge-upper-title-line-height:13px;--breaking-news-badge-lower-title-line-height:21px;--breaking-news-badge-titels-stack-space:var(--space-0-x, 0px);--breaking-news-scrolling-text-font-size:21px;--breaking-news-scrolling-text-line-height:24px;--breaking-news-badge-inline-space:var(--size-0-p-75-x, 6px)}@media (min-width: 600px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--breaking-news-badge-upper-title-font-size:17px;--breaking-news-badge-lower-title-font-size:30px;--breaking-news-badge-upper-title-line-height:12px;--breaking-news-badge-titels-stack-space:var(--space-0-p-5-x, 4px);--breaking-news-badge-inline-space:var(--size-1-p-5-x, 12px)}}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--breaking-news-badge-inline-space:var(--size-3-p-25-x, 26px)}}[data-content-brand=\"bild\"][data-density=\"default\"],:host([data-content-brand=\"bild\"][data-density=\"default\"]){--density-button-content-gap-space:var(--space-1-x, 8px);--density-button-stack-space:var(--space-1-x, 8px);--density-button-label-font-size:17px;--density-button-inline-space:var(--space-2-p-5-x, 20px);--density-button-height-size:var(--size-5-x, 40px)}[data-content-brand=\"bild\"][data-density=\"dense\"],:host([data-content-brand=\"bild\"][data-density=\"dense\"]){--density-button-content-gap-space:var(--space-0-p-75-x, 6px);--density-button-stack-space:var(--space-0-p-75-x, 6px);--density-button-label-font-size:15px;--density-button-inline-space:var(--space-2-x, 16px);--density-button-height-size:var(--size-4-p-5-x, 36px)}[data-content-brand=\"bild\"][data-density=\"spacious\"],:host([data-content-brand=\"bild\"][data-density=\"spacious\"]){--density-button-content-gap-space:var(--space-1-x, 8px);--density-button-stack-space:var(--space-1-p-5-x, 12px);--density-button-label-font-size:19px;--density-button-inline-space:var(--space-3-x, 24px);--density-button-height-size:var(--size-6-x, 48px)}[data-content-brand=\"bild\"] .button-label,:host([data-content-brand=\"bild\"]) .button-label{font-family:var(--label-font-family);font-weight:700;font-size:var(--button-label-font-size);line-height:var(--button-label-line-height);letter-spacing:var(--letter-space-positive-sm);text-transform:uppercase}[data-content-brand=\"bild\"] .partner-link-button-label,:host([data-content-brand=\"bild\"]) .partner-link-button-label{font-family:var(--label-font-family);font-weight:var(--label-font-weight-book);font-size:var(--partner-link-button-label-font-size);line-height:16px}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--button-label-font-size:var(--density-button-label-font-size);--button-inline-space:var(--density-button-inline-space);--partner-link-button-label-font-size:16px;--partner-link-button-label-height-size:var(--size-6-x, 48px);--button-border-width-size:var(--border-width-thick);--button-content-min-height-size:var(--size-const-2-xs);--partner-link-button-inline-space:var(--inline-space-const-sm);--button-label-line-height:var(--density-button-label-font-size);--button-content-gap-space:var(--density-button-content-gap-space);--button-stack-space:var(--density-button-stack-space);--button-border-radius:var(--border-radius-md);--button-label-font-family:var(--label-font-family);--button-height-size:var(--density-button-height-size)}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--partner-link-button-label-font-size:18px}}[data-color-brand=\"bild\"],:host([data-color-brand=\"bild\"]){--button-primary-brand-bg-color-idle:var(--bg-color-brand-solid);--button-primary-brand-bg-color-hover:var(--bg-color-brand-solid-hover);--button-primary-brand-label-color:var(--text-color-primary-on-dark);--button-primary-brand-bg-color-active:var(--bg-color-brand-solid-active);--button-tertiary-neutral-label-color:var(--text-color-active);--button-tertiary-neutral-border-color-idle:var(--border-color-idle);--button-tertiary-neutral-border-color-hover:var(--border-color-selected);--button-tertiary-neutral-bg-color-hover:var(--bg-color-secondary);--button-tertiary-neutral-bg-color-active:var(--bg-color-tertiary);--button-secondary-bg-color-hover:var(--bg-color-quaternary);--button-secondary-label-color:var(--text-color-active);--button-secondary-bg-color-idle:var(--bg-color-tertiary);--button-secondary-bg-color-active:var(--bg-color-quaternary);--button-primary-success-bg-color-idle:var(--bg-color-success-solid);--button-primary-success-bg-color-hover:var(--bg-color-success-solid-hover);--button-primary-success-bg-color-active:var(--bg-color-success-solid-active);--button-primary-success-label-color:var(--text-color-primary-on-dark);--button-tertiary-success-bg-color-hover:var(--bg-color-success-tint-hover);--button-tertiary-success-border-color:var(--border-color-success);--button-tertiary-success-label-color:var(--text-color-success);--button-primary-neutral-bg-color-idle:var(--bg-color-primary-inverse);--button-primary-neutral-bg-color-hover:var(--bg-color-tertiary-inverse);--button-primary-neutral-label-color:var(--text-color-inverse-high-contrast);--button-primary-neutral-bg-color-active:var(--bg-color-quaternary-inverse);--button-ghost-bg-color-hover:var(--bg-color-tertiary);--button-ghost-label-color:var(--text-color-active);--button-ghost-bg-color-active:var(--bg-color-quaternary);--button-disabled-label-color:var(--text-color-disabled);--button-disabled-bg-color:var(--bg-color-disabled);--button-disabled-border-color:var(--border-color-disabled)}[data-color-brand=\"bild\"][data-theme=\"light\"],:host([data-color-brand=\"bild\"][data-theme=\"light\"]){--card-surface-bg-color:var(--bg-color-primary)}[data-color-brand=\"bild\"][data-theme=\"dark\"],:host([data-color-brand=\"bild\"][data-theme=\"dark\"]){--card-surface-bg-color:var(--bg-color-secondary)}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--search-result-card-image-width-size:216px;--search-result-card-image-height-size-stacked:189px;--newsticker-image-card-width-size:206px}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--search-result-card-image-width-size:260px}}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--gallery-teaser-title-bottom-space:var(--space-3-p-5-x, 28px);--gallery-teaser-app-gap-space:var(--space-0-x, 0px);--app-epaper-carousel-item-focus-width:182px;--app-epaper-carousel-item-default-width:144px;--app-epaper-carouse-beilage-item-width:110px;--standard-teaser-gallery-teaser-width-web:145px;--standard-teaser-gallery-teaser-width-app:280px}@media (min-width: 600px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--gallery-teaser-title-bottom-space:var(--space-4-p-5-x, 36px);--gallery-teaser-app-gap-space:var(--gap-space-const-sm);--app-epaper-carousel-item-focus-width:240px;--app-epaper-carousel-item-default-width:172px;--app-epaper-carouse-beilage-item-width:172px;--standard-teaser-gallery-teaser-width-web:260px}}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--standard-teaser-gallery-teaser-width-web:300px;--standard-teaser-gallery-teaser-width-app:464px}}[data-color-brand=\"bild\"][data-theme=\"light\"],:host([data-color-brand=\"bild\"][data-theme=\"light\"]){--chip-bg-color-hover:var(--bg-color-brand-solid-hover);--chip-label-color-hover:var(--text-color-primary-on-dark)}[data-color-brand=\"bild\"][data-theme=\"dark\"],:host([data-color-brand=\"bild\"][data-theme=\"dark\"]){--chip-bg-color-hover:var(--bg-color-tertiary-inverse);--chip-label-color-hover:var(--text-color-primary-on-light)}[data-content-brand=\"bild\"] .chip-label,:host([data-content-brand=\"bild\"]) .chip-label{font-family:var(--footnote-font-family);font-weight:var(--label-font-weight-bold);font-size:var(--size-2-x, 16px)}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--chip-font-size:var(--size-2-x, 16px);--chip-inline-space:var(--inline-space-const-md);--chip-stack-space:var(--stack-space-const-sm)}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--chip-font-size:var(--size-2-p-25-x, 18px)}}[data-color-brand=\"bild\"],:host([data-color-brand=\"bild\"]){--chip-bg-color-active:var(--bg-color-brand-light-only);--chip-bg-color-idle:var(--bg-color-tertiary);--chip-label-color-idle:var(--text-color-idle);--chip-label-color-active:var(--text-color-inverse-high-contrast)}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--datepicker-item-day-width-size:var(--size-5-p-5-x, 44px);--datepicker-item-height-size:var(--size-5-p-5-x, 44px);--datepicker-item-year-width-size:77px}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--mobile-menu-drawer-stack-space:20px;--mobile-menu-drawer-left-inline-space:20px;--mobile-menu-drawer-right-inline-space:16px;--mobile-menu-drawer-max-width-size:400px}[data-color-brand=\"bild\"][data-theme=\"light\"],:host([data-color-brand=\"bild\"][data-theme=\"light\"]){--dropdown-bg-color-hover:var(--bg-color-secondary);--dropdown-bg-color-idle:var(--bg-color-primary)}[data-color-brand=\"bild\"][data-theme=\"dark\"],:host([data-color-brand=\"bild\"][data-theme=\"dark\"]){--dropdown-bg-color-hover:var(--bg-color-quaternary);--dropdown-bg-color-idle:var(--bg-color-tertiary)}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--drop-down-border-radius:var(--border-radius-sm);--drop-down-item-stack-space:var(--space-1-x, 8px);--drop-down-item-inline-space:var(--grid-space-resp-base)}[data-color-brand=\"bild\"][data-theme=\"light\"],:host([data-color-brand=\"bild\"][data-theme=\"light\"]){--empties-bg-color:var(--bg-color-secondary);--empties-logo-color:var(--bg-color-quaternary)}[data-color-brand=\"bild\"][data-theme=\"dark\"],:host([data-color-brand=\"bild\"][data-theme=\"dark\"]){--empties-bg-color:var(--bg-color-tertiary);--empties-logo-color:var(--bg-color-secondary)}[data-content-brand=\"bild\"] .footer-link,:host([data-content-brand=\"bild\"]) .footer-link{font-family:var(--body-font-family);font-weight:var(--label-font-weight-bold);font-size:11px;line-height:14px}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--footer-font-size:11px;--footer-line-height:14px;--footer-font-family:var(--body-font-family)}[data-color-brand=\"bild\"][data-theme=\"light\"],:host([data-color-brand=\"bild\"][data-theme=\"light\"]){--app-image-lightbox-gallery-bg-color:var(--color-neutral-0, #000000)}[data-color-brand=\"bild\"][data-theme=\"dark\"],:host([data-color-brand=\"bild\"][data-theme=\"dark\"]){--app-image-lightbox-gallery-bg-color:var(--color-neutral-0, #000000)}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--icon-size:var(--size-const-2-xs);--icon-size-embedd-media:40px}[data-content-brand=\"bild\"][data-density=\"default\"],:host([data-content-brand=\"bild\"][data-density=\"default\"]){--density-icon-button-size:var(--size-6-x, 48px)}[data-content-brand=\"bild\"][data-density=\"dense\"],:host([data-content-brand=\"bild\"][data-density=\"dense\"]){--density-icon-button-size:var(--size-5-x, 40px)}[data-content-brand=\"bild\"][data-density=\"spacious\"],:host([data-content-brand=\"bild\"][data-density=\"spacious\"]){--density-icon-button-size:var(--size-7-x, 56px)}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--icon-button-size:var(--density-icon-button-size);--icon-button-border-radius:var(--border-radius-md)}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--info-element-teaser-badge-height-size:var(--size-2-x, 16px);--info-element-teaser-image-height-size:var(--size-10-x, 80px);--info-element-teaser-image-width-size:var(--size-10-x, 80px);--info-element-teaser-badge-margin-space:var(--space-0-p-5-x, 4px)}@media (min-width: 600px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--info-element-teaser-image-height-size:83px;--info-element-teaser-image-width-size:var(--size-18-p-5-x, 148px)}}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--info-element-teaser-badge-height-size:var(--size-3-x, 24px);--info-element-teaser-image-height-size:133px;--info-element-teaser-image-width-size:236px;--info-element-teaser-badge-margin-space:var(--space-1-x, 8px)}}[data-content-brand=\"bild\"][data-density=\"default\"],:host([data-content-brand=\"bild\"][data-density=\"default\"]){--density-input-field-inline-space:var(--space-2-x, 16px);--density-input-field-stack-space:var(--space-1-x, 8px);--density-input-field-height-size:var(--size-5-x, 40px);--density-input-field-label-font-size:17px;--density-input-field-label-line-height:17px}[data-content-brand=\"bild\"][data-density=\"dense\"],:host([data-content-brand=\"bild\"][data-density=\"dense\"]){--density-input-field-inline-space:var(--space-2-x, 16px);--density-input-field-stack-space:var(--space-0-p-75-x, 6px);--density-input-field-height-size:var(--size-4-p-5-x, 36px);--density-input-field-label-font-size:16px;--density-input-field-label-line-height:16px}[data-content-brand=\"bild\"][data-density=\"spacious\"],:host([data-content-brand=\"bild\"][data-density=\"spacious\"]){--density-input-field-inline-space:var(--space-2-x, 16px);--density-input-field-stack-space:var(--space-1-p-5-x, 12px);--density-input-field-height-size:var(--size-6-x, 48px);--density-input-field-label-font-size:19px;--density-input-field-label-line-height:19px}[data-content-brand=\"bild\"] .input-field-label,:host([data-content-brand=\"bild\"]) .input-field-label{font-family:var(--body-font-family);font-weight:var(--label-font-weight-book);font-size:16px;line-height:16px}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--input-field-stack-space:var(--density-input-field-stack-space);--input-field-inline-space:var(--density-input-field-inline-space);--input-field-mini-label-inline-space:var(--inline-space-const-2-xs);--input-field-label-font-size:var(--density-input-field-label-font-size);--input-field-imessage-inline-space:var(--inline-space-const-lg);--input-field-height-size:var(--density-input-field-height-size);--hey-input-container-inline-space:var(--inline-space-const-sm);--input-field-message-gap-space:var(--gap-space-const-xs);--input-field-label-font-family:var(--body-font-family);--input-field-label-line-height:var(--density-input-field-label-line-height)}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--hey-input-container-inline-space:var(--inline-space-const-lg);--input-field-label-line-height:var(--density-input-field-label-font-size)}}[data-color-brand=\"bild\"],:host([data-color-brand=\"bild\"]){--input-field-border-color-idle:var(--border-color-idle);--input-field-border-color-active:var(--border-color-selected);--input-field-border-color-disabled:var(--border-color-disabled)}[data-color-brand=\"bild\"][data-theme=\"light\"],:host([data-color-brand=\"bild\"][data-theme=\"light\"]){--kicker-bg-color-on-surface:var(--bg-color-brand-solid);--kicker-fitbook-bg-color:var(--color-partner-fitbook, #FF97B7);--kicker-petbook-bg-color:var(--color-partner-petbook, #B9DB91);--kicker-myhomebook-bg-color:var(--color-partner-myhome, #66CCCC);--kicker-travelbook-bg-color:var(--color-partner-travelbook, #8EF0ED);--kicker-techbook-bg-color:var(--color-partner-techbook, #93E4FF);--kicker-kaufberater-bg-color:var(--color-partner-kaufberater, #55476E);--kicker-cobi-bg-color:var(--color-cobi-red-50, #DC231C);--kicker-aubi-bg-color:var(--color-aubi-red-50, #F00000);--kicker-spobi-bg-color:var(--color-spobi-blue-30, #174482);--kicker-bz-bg-color:var(--color-bz-red-50, #E3001B)}[data-color-brand=\"bild\"][data-theme=\"dark\"],:host([data-color-brand=\"bild\"][data-theme=\"dark\"]){--kicker-bg-color-on-surface:var(--bg-color-quaternary-inverse);--kicker-fitbook-bg-color:var(--color-partner-fitbook, #FF97B7);--kicker-petbook-bg-color:var(--color-partner-petbook, #B9DB91);--kicker-myhomebook-bg-color:var(--color-partner-myhome, #66CCCC);--kicker-travelbook-bg-color:var(--color-partner-travelbook, #8EF0ED);--kicker-techbook-bg-color:var(--color-partner-techbook, #93E4FF);--kicker-kaufberater-bg-color:var(--color-partner-kaufberater, #55476E);--kicker-cobi-bg-color:var(--color-cobi-red-50, #DC231C);--kicker-aubi-bg-color:var(--color-aubi-red-50, #F00000);--kicker-spobi-bg-color:var(--color-spobi-blue-30, #174482);--kicker-bz-bg-color:var(--color-bz-red-50, #E3001B)}[data-content-brand=\"bild\"] .live-ticker-headline,:host([data-content-brand=\"bild\"]) .live-ticker-headline{font-family:var(--headline-font-family);font-weight:var(--font-weight-semi-bold, 600);font-size:22px;line-height:22px}[data-content-brand=\"bild\"] .live-ticker-time-stamp,:host([data-content-brand=\"bild\"]) .live-ticker-time-stamp{font-family:var(--font-family-gotham-xnarrow, Gotham XNarrow);font-weight:var(--label-font-weight-bold);font-size:var(--live-ticker-time-stamp-font-size);line-height:14px}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--live-tickerheadline-font-weight:var(--font-weight-semi-bold, 600);--live-ticker-headlines-font-size:22px;--time-stamp-font-family:var(--font-family-gotham-xnarrow, Gotham XNarrow);--live-ticker-time-stamp-font-size:14px;--live-ticker-time-headline-stack-space:var(--space-0-p-5-x, 4px);--live-ticker-slider-item-width-max-size:257px;--live-ticker-app-card-height-size:96px;--live-ticker-app-card-width-size:250px}@media (min-width: 600px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--live-ticker-headlines-font-size:32px;--live-ticker-time-stamp-font-size:16px;--live-ticker-app-card-height-size:128px;--live-ticker-app-card-width-size:300px}}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--live-ticker-slider-item-width-max-size:537px}}[data-color-brand=\"bild\"][data-theme=\"light\"],:host([data-color-brand=\"bild\"][data-theme=\"light\"]){--vid-player-controls-autoplay-button-bg-color:var(--color-neutral-0-a-20, rgba(0, 0, 0, 0.2));--vid-player-control-buttons-bg-hover-color:var(--color-bild-red-50-a-80, rgba(221, 0, 0, 0.8));--vid-player-control-buttons-bg-color-hover:var(--color-neutral-0-a-20, rgba(0, 0, 0, 0.2));--vid-player-overlay-scrim-color:var(--color-neutral-0-a-50, rgba(0, 0, 0, 0.5));--audio-player-play-button-bg-color:var(--color-neutral-100-a-30, rgba(255, 255, 255, 0.3));--vid-player-tooltip-bg-color:var(--color-neutral-0-a-70, rgba(0, 0, 0, 0.7));--vid-player-control-buttons-bg-color-pressed:var(--color-neutral-0-a-5, rgba(0, 0, 0, 0.05));--vid-player-progress-bar-preload-bg-color:var(--color-neutral-100-a-30, rgba(255, 255, 255, 0.3));--vid-player-unmute-button-bg-color:var(--color-neutral-0-a-20, rgba(0, 0, 0, 0.2));--vid-player-unmute-button-bg-color-hover:var(--color-neutral-0-a-35, rgba(0, 0, 0, 0.35));--vid-player-progress-bar-ad-bg-color:var(--color-yellow-80, #FFBF00)}[data-color-brand=\"bild\"][data-theme=\"dark\"],:host([data-color-brand=\"bild\"][data-theme=\"dark\"]){--vid-player-controls-autoplay-button-bg-color:var(--color-neutral-0-a-20, rgba(0, 0, 0, 0.2));--vid-player-control-buttons-bg-hover-color:var(--color-bild-red-50-a-80, rgba(221, 0, 0, 0.8));--vid-player-control-buttons-bg-color-hover:var(--color-neutral-0-a-20, rgba(0, 0, 0, 0.2));--vid-player-overlay-scrim-color:var(--color-neutral-0-a-50, rgba(0, 0, 0, 0.5));--audio-player-play-button-bg-color:var(--color-neutral-100-a-30, rgba(255, 255, 255, 0.3));--vid-player-tooltip-bg-color:var(--color-neutral-0-a-70, rgba(0, 0, 0, 0.7));--vid-player-control-buttons-bg-color-pressed:var(--color-neutral-0-a-5, rgba(0, 0, 0, 0.05));--vid-player-progress-bar-preload-bg-color:var(--color-neutral-100-a-30, rgba(255, 255, 255, 0.3));--vid-player-unmute-button-bg-color:var(--color-neutral-0-a-20, rgba(0, 0, 0, 0.2));--vid-player-unmute-button-bg-color-hover:var(--color-neutral-0-a-35, rgba(0, 0, 0, 0.35));--vid-player-progress-bar-ad-bg-color:var(--color-yellow-80, #FFBF00)}[data-content-brand=\"bild\"] .podcast-player-label,:host([data-content-brand=\"bild\"]) .podcast-player-label{font-family:var(--label-font-family);font-weight:var(--label-font-weight-book);font-size:16px;line-height:16px}[data-content-brand=\"bild\"] .video-ad-time,:host([data-content-brand=\"bild\"]) .video-ad-time{font-family:var(--title-font-family);font-weight:var(--title-font-weight);font-size:14px;text-transform:uppercase}[data-content-brand=\"bild\"] .video-player-time,:host([data-content-brand=\"bild\"]) .video-player-time{font-family:var(--title-font-family);font-weight:var(--title-font-weight);font-size:14px;text-transform:uppercase}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--podcast-play-button-size:var(--size-6-x, 48px);--vid-player-bottom-bar-gap-space:0px;--audio-player-header-stack-space:var(--size-7-x, 56px);--video-time-badge-font-family:var(--body-font-family);--vid-player-control-button-size:var(--size-5-p-25-x, 42px);--vid-player-control-button-icon-size-hover:var(--size-3-p-5-x, 28px);--vid-player-timecode-font-size:14px;--vid-player-timecode-container-min-width-size:45px;--vid-player-progress-bar-container-height-size:24px;--vid-player-unmute-button-width-size:220px}@media (min-width: 600px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--vid-player-timecode-font-size:16px;--vid-player-timecode-container-min-width-size:58px}}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--vid-player-bottom-bar-gap-space:var(--gap-space-const-lg);--vid-player-timecode-font-size:18px;--vid-player-progress-bar-container-height-size:42px}}[data-color-brand=\"bild\"][data-theme=\"light\"],:host([data-color-brand=\"bild\"][data-theme=\"light\"]){--menu-scrolled-surface-gradient-color:var(--color-neutral-100-a-95, rgba(255, 255, 255, 0.95));--menu-link-lane-surface-color:var(--color-neutral-100, #FFFFFF);--menu-link-lane-label-color:var(--color-neutral-40, #565A5F);--menu-link-lane-label-color-hover:var(--color-neutral-15, #222628);--app-top-bar-surface-color:var(--color-neutral-100, #FFFFFF);--app-top-bar-text-color-primary:var(--color-neutral-15, #222628);--app-tob-bar-tab-nav-bottom-border:var(--color-neutral-90, #DDE1E2);--app-tob-bar-tab-nav-bottom-border-active:var(--color-bild-red-50, #DD0000)}[data-color-brand=\"bild\"][data-theme=\"dark\"],:host([data-color-brand=\"bild\"][data-theme=\"dark\"]){--menu-scrolled-surface-gradient-color:rgba(34, 38, 40, 0.95);--menu-link-lane-surface-color:var(--color-neutral-15, #222628);--menu-link-lane-label-color:var(--color-neutral-60, #8C9196);--menu-link-lane-label-color-hover:var(--color-neutral-100, #FFFFFF);--app-top-bar-surface-color:var(--color-neutral-25, #343C41);--app-top-bar-text-color-primary:var(--color-neutral-90, #DDE1E2);--app-tob-bar-tab-nav-bottom-border:var(--color-neutral-30, #40464D);--app-tob-bar-tab-nav-bottom-border-active:var(--color-neutral-100, #FFFFFF)}[data-content-brand=\"bild\"] .app-topbar-stage-title,:host([data-content-brand=\"bild\"]) .app-topbar-stage-title{font-family:var(--title-font-family);font-weight:var(--title-font-weight);font-size:12px;line-height:14px}[data-content-brand=\"bild\"] .app-topbar-tabs-title,:host([data-content-brand=\"bild\"]) .app-topbar-tabs-title{font-family:var(--title-font-family);font-weight:var(--title-font-weight);font-size:12px;line-height:14px;text-transform:uppercase}[data-content-brand=\"bild\"] .menu-item-label,:host([data-content-brand=\"bild\"]) .menu-item-label{font-family:var(--label-font-family);font-weight:700;font-size:15px;line-height:15px;text-transform:uppercase}[data-content-brand=\"bild\"] .menu-item-util-label,:host([data-content-brand=\"bild\"]) .menu-item-util-label{font-family:var(--label-font-family);font-weight:700;font-size:var(--size-1-p-5-x, 12px);line-height:var(--size-1-p-5-x, 12px);text-transform:uppercase}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--menu-item-space:var(--space-1-x, 8px);--menu-item-font-size:15px;--menu-item-util-font-size:var(--size-1-p-5-x, 12px);--menu-item-util-stack-space:var(--space-1-p-25-x, 10px);--menu-link-lane-height-size:var(--size-6-x, 48px);--menu-utillink-item-height-size:var(--size-6-x, 48px);--menu-link-item-inline-space:var(--space-0-p-5-x, 4px);--menu-logo-default-size:var(--size-7-x, 56px);--menu-logo-scrolled-size:var(--size-7-x, 56px);--menu-special-navi-item-height-size:48px;--sub-nav-bar-height-size:var(--size-5-p-25-x, 42px);--menu-utility-links-container-height-size:var(--size-const-lg);--menu-top-stack-space:var(--stack-space-const-sm);--menu-left-inline-space:var(--inline-space-const-sm);--menu-utility-links-gap-space:var(--gap-space-const-xl);--menu-right-inline-space:var(--space-0-x, 0px);--menu-bottom-stack-space:var(--stack-space-const-sm);--menu-utility-links-divider-height-size:var(--size-const-sm);--menu-shadow-visibility:var(--color-neutral-0-a-10, rgba(0, 0, 0, 0.1));--hey-input-shadow-visibility:var(--color-neutral-0-a-0, rgba(0, 0, 0, 0));--app-topbar-title-font-size:12px;--app-topbar-stage-title-height:14px;--i-osapp-top-bar-height-size:44px;--i-osapp-top-bar-left-inline-space:12px;--i-osapp-top-bar-right-inline-space:16px}@media (min-width: 600px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--app-topbar-title-font-size:14px;--app-topbar-stage-title-height:17px;--i-osapp-top-bar-height-size:48px;--i-osapp-top-bar-left-inline-space:19px;--i-osapp-top-bar-right-inline-space:19px}}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--menu-logo-default-size:var(--size-18-p-5-x, 148px);--menu-special-navi-item-height-size:56px;--menu-utility-links-container-height-size:var(--size-12-p-5-x, 100px);--menu-top-stack-space:var(--stack-space-const-md);--menu-left-inline-space:var(--inline-space-const-lg);--menu-utility-links-gap-space:var(--gap-space-const-2-xl);--menu-right-inline-space:var(--inline-space-const-lg);--menu-bottom-stack-space:var(--space-0-x, 0px);--menu-utility-links-divider-height-size:var(--size-const-md);--menu-shadow-visibility:var(--color-neutral-0-a-0, rgba(0, 0, 0, 0));--hey-input-shadow-visibility:var(--color-neutral-0-a-10, rgba(0, 0, 0, 0.1))}}[data-color-brand=\"bild\"],:host([data-color-brand=\"bild\"]){--menu-surface-color:var(--bg-color-primary);--app-top-bar-icon-color:var(--icon-color-secondary)}[data-color-brand=\"bild\"],:host([data-color-brand=\"bild\"]){--menu-item-border-color-active:var(--border-color-brand-light-only);--menu-item-label-color-primary:var(--text-color-idle);--menu-item-label-color-primary-active:var(--text-color-active)}[data-content-brand=\"bild\"] .news-ticker-time-stamp,:host([data-content-brand=\"bild\"]) .news-ticker-time-stamp{font-family:var(--font-family-gotham-xnarrow, Gotham XNarrow);font-weight:var(--font-weight-bold, 700);font-size:16px;line-height:20.8px}[data-content-brand=\"bild\"] .news-ticker-kicker,:host([data-content-brand=\"bild\"]) .news-ticker-kicker{font-family:var(--kicker-font-family);font-weight:var(--kicker-font-weight);font-size:var(--kicker-3-font-size);line-height:var(--kicker-3-line-height)}[data-content-brand=\"bild\"] .news-ticker-headline,:host([data-content-brand=\"bild\"]) .news-ticker-headline{font-family:var(--headline-font-family);font-weight:900;font-size:var(--headline-3-font-size);line-height:var(--headline-3-line-height)}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--news-ticker-time-font-size:16px;--news-ticker-time-font-weight:var(--font-weight-bold, 700);--news-ticker-time-font-family:var(--font-family-gotham-xnarrow, Gotham XNarrow);--news-ticker-time-line-height:20.8px;--news-ticker-content-stack-space:var(--gap-space-const-xs);--news-ticker-kicker-inner-stack-space:var(--space-0-p-25-x, 2px);--news-ticker-titles-inline-space:18px;--news-ticker-badges-inline-space:var(--space-1-x, 8px);--news-ticker-time-kicker-stack-space:var(--space-0-p-5-x, 4px);--news-ticker-entries-stack-space:var(--space-2-p-75-x, 22px);--news-ticker-kicker-inner-inline-space:var(--space-0-p-5-x, 4px);--news-ticker-skeleton-bottom-space:var(--space-8-x, 64px);--news-ticker-red-dot-size:var(--size-1-p-5-x, 12px);--news-ticker-entries-left-inline-space:var(--space-2-p-75-x, 22px);--news-ticker-line-inline-space:var(--space-0-p-75-x, 6px);--news-ticker-app-card-height-size:116px;--news-ticker-app-card-width-size:250px}@media (min-width: 390px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--news-ticker-time-font-family:var(--label-font-family)}}@media (min-width: 600px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--news-ticker-titles-inline-space:var(--space-3-x, 24px);--news-ticker-badges-inline-space:var(--space-1-p-5-x, 12px);--news-ticker-time-kicker-stack-space:var(--space-0-p-75-x, 6px);--news-ticker-skeleton-bottom-space:0px;--news-ticker-red-dot-size:var(--size-1-p-75-x, 14px);--news-ticker-line-inline-space:7px;--news-ticker-app-card-height-size:150px;--news-ticker-app-card-width-size:300px}}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--news-ticker-time-font-size:18px;--news-ticker-time-line-height:23.4px;--news-ticker-titles-inline-space:30px;--news-ticker-badges-inline-space:var(--space-2-x, 16px);--news-ticker-red-dot-size:var(--size-2-x, 16px);--news-ticker-line-inline-space:var(--space-1-x, 8px)}}[data-color-brand=\"bild\"],:host([data-color-brand=\"bild\"]){--news-ticker-timestamp-color:var(--text-color-secondary);--news-ticker-badge-icons-color:var(--icon-color-secondary)}[data-color-brand=\"bild\"][data-theme=\"light\"],:host([data-color-brand=\"bild\"][data-theme=\"light\"]){--pagination-element-color-default:var(--bg-color-quaternary);--scroll-bar-track-bg-color:var(--color-neutral-0-a-10, rgba(0, 0, 0, 0.1))}[data-color-brand=\"bild\"][data-theme=\"dark\"],:host([data-color-brand=\"bild\"][data-theme=\"dark\"]){--pagination-element-color-default:var(--bg-color-quaternary-inverse);--scroll-bar-track-bg-color:var(--color-neutral-100-a-10, rgba(255, 255, 255, 0.1))}[data-content-brand=\"bild\"] .numbered-pagination-active,:host([data-content-brand=\"bild\"]) .numbered-pagination-active{font-family:var(--label-font-family);font-weight:var(--label-font-weight-bold);font-size:var(--label-1-font-size);line-height:var(--label-1-line-height);letter-spacing:var(--letter-space-0-p-25, 0.25px);text-decoration:underline}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--gallery-pagination-item-height-size:var(--size-0-p-5-x, 4px);--gallery-pagination-container-web-inline-space:var(--inline-space-const-sm);--gallery-pagination-container-stack-space:var(--stack-space-const-md);--gallery-pagination-container-app-inline-space:var(--inline-space-const-md);--scroll-bar-thickness-size:var(--size-const-4-xs)}@media (min-width: 600px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--gallery-pagination-container-web-inline-space:var(--inline-space-const-md);--gallery-pagination-container-stack-space:var(--stack-space-const-lg)}}[data-color-brand=\"bild\"],:host([data-color-brand=\"bild\"]){--pagination-element-color-active:var(--bg-color-brand-light-only);--gallery-pagination-element-active-opacity:var(--layer-opacity-100);--scroll-bar-thumb-bg-color:var(--bg-color-quintenary)}[data-color-brand=\"bild\"][data-theme=\"light\"],:host([data-color-brand=\"bild\"][data-theme=\"light\"]){--partner-links-bg-color-idle:var(--bg-color-primary);--partner-links-bg-color-active:var(--bg-color-tertiary)}[data-color-brand=\"bild\"][data-theme=\"dark\"],:host([data-color-brand=\"bild\"][data-theme=\"dark\"]){--partner-links-bg-color-idle:var(--bg-color-tertiary);--partner-links-bg-color-active:var(--bg-color-quintenary)}[data-color-brand=\"bild\"],:host([data-color-brand=\"bild\"]){--partner-links-border-color-idle:var(--border-color-default);--partner-links-border-color-active:var(--border-color-extra-strong)}[data-content-brand=\"bild\"] .paywall-card-price-tag,:host([data-content-brand=\"bild\"]) .paywall-card-price-tag{font-family:var(--title-font-family);font-weight:var(--title-font-weight);font-size:var(--size-8-x, 64px);line-height:var(--size-8-x, 64px);letter-spacing:var(--display-2-letter-space)}[data-content-brand=\"bild\"] .paywall-card-note,:host([data-content-brand=\"bild\"]) .paywall-card-note{font-family:var(--title-font-family);font-weight:var(--title-font-weight);font-size:var(--size-5-x, 40px);line-height:var(--size-5-x, 40px);letter-spacing:var(--display-3-letter-space)}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--paywall-container-gap-space:-48px;--paywall-header-bottom-stack-space:var(--space-10-x, 80px);--paywall-card-max-width-size:346px;--paywall-card-price-tag-font-size:var(--size-8-x, 64px);--paywall-card-price-tag-line-height:var(--size-8-x, 64px);--paywall-card-price-note-line-height:var(--size-5-x, 40px);--paywall-card-price-note-font-size:var(--size-5-x, 40px)}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--quote-container-inline-space:var(--inline-space-const-lg);--quote-container-stack-space:var(--stack-space-resp-lg);--quote-quotation-marks-font-size:var(--size-3-p-5-x, 28px);--quote-content-gap-space:var(--gap-space-const-lg)}@media (min-width: 600px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--quote-quotation-marks-font-size:var(--size-4-x, 32px);--quote-content-gap-space:var(--gap-space-const-3-xl)}}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--quote-container-inline-space:var(--space-3-p-5-x, 28px);--quote-quotation-marks-font-size:var(--size-4-p-5-x, 36px)}}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--radio-selector-size:var(--size-2-p-5-x, 20px);--radio-selector-dot-active-size:var(--size-1-p-5-x, 12px)}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--search-result-badge-height-size:var(--size-2-p-25-x, 18px)}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--section-title-inner-stack-bottom-space:var(--space-1-p-5-x, 12px);--section-title-height-size:var(--size-4-x, 32px);--section-title-arrow-inline-space:5px;--section-title-arrow-inline-space-active:5px}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--section-title-height-size:var(--size-5-x, 40px);--section-title-arrow-inline-space-active:8px}}[data-color-brand=\"bild\"],:host([data-color-brand=\"bild\"]){--selection-border-color:var(--border-color-strong)}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--separator-thickness-size:var(--border-width-thick)}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--headlines-skeleton-image-placeholder-max-width:282px;--article-skeleton-image-inline-space:var(--grid-space-resp-base);--article-skeleton-text-inline-space:0px;--article-text-skeleton-height-size:270px}@media (min-width: 600px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--headlines-skeleton-image-placeholder-max-width:var(--size-20-x, 160px);--article-skeleton-image-inline-space:var(--space-6-x, 48px);--article-skeleton-text-inline-space:var(--space-6-x, 48px);--article-text-skeleton-height-size:720px}}[data-color-brand=\"bild\"][data-theme=\"light\"],:host([data-color-brand=\"bild\"][data-theme=\"light\"]){--slider-track-bg-color:var(--color-neutral-100-a-35, rgba(255, 255, 255, 0.35))}[data-color-brand=\"bild\"][data-theme=\"dark\"],:host([data-color-brand=\"bild\"][data-theme=\"dark\"]){--slider-track-bg-color:var(--color-neutral-100-a-35, rgba(255, 255, 255, 0.35))}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--slider-progress-bar-idle-height-size:var(--size-0-p-5-x, 4px);--slider-progress-bar-hover-height-size:var(--size-1-x, 8px);--slider-progress-inactive-height-size:var(--size-0-p-25-x, 2px);--vid-player-progress-bar-height-size:var(--size-1-p-5-x, 12px)}[data-color-brand=\"bild\"],:host([data-color-brand=\"bild\"]){--slider-button-opacity:var(--layer-opacity-90)}[data-content-brand=\"bild\"] .special-navi-item-label,:host([data-content-brand=\"bild\"]) .special-navi-item-label{font-family:var(--label-font-family);font-weight:700;font-size:15px;line-height:15px}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--special-navi-inline-space:var(--space-3-x, 24px)}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--special-navi-inline-space:var(--space-4-x, 32px)}}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--video-spinner-size:var(--size-const-sm);--video-spinner-stroke-size:2px;--video-spinner-size-0-5-x:20px}@media (min-width: 600px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--video-spinner-size:var(--size-10-x, 80px);--video-spinner-stroke-size:4px;--video-spinner-size-0-5-x:40px}}[data-color-brand=\"bild\"],:host([data-color-brand=\"bild\"]){--subheaders-text-color:var(--text-color-primary)}[data-color-brand=\"bild\"][data-theme=\"light\"],:host([data-color-brand=\"bild\"][data-theme=\"light\"]){--app-bottom-tab-bar-bg-color:var(--color-neutral-100, #FFFFFF)}[data-color-brand=\"bild\"][data-theme=\"dark\"],:host([data-color-brand=\"bild\"][data-theme=\"dark\"]){--app-bottom-tab-bar-bg-color:var(--color-neutral-25, #343C41)}[data-content-brand=\"bild\"] .tab-label,:host([data-content-brand=\"bild\"]) .tab-label{font-family:var(--font-family-gotham-xnarrow, Gotham XNarrow);font-weight:var(--label-font-weight-bold);font-size:var(--tab-label-font-size);text-transform:uppercase}[data-content-brand=\"bild\"] .app-bottom-bar-label-default,:host([data-content-brand=\"bild\"]) .app-bottom-bar-label-default{font-family:var(--body-font-family);font-weight:var(--font-weight-book, 400);font-size:11px;line-height:14.4px}[data-content-brand=\"bild\"] .app-bottom-bar-label-active,:host([data-content-brand=\"bild\"]) .app-bottom-bar-label-active{font-family:var(--body-font-family);font-weight:var(--font-weight-bold, 700);font-size:11px;line-height:14.4px}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--tab-label-font-size:16px;--ios-tabbar-height-size:49px;--android-tabbar-height-size:56px;--tab-label-font-size-line:12px;--apps-tabs-label-font-size:11px;--apps-tabs-label-line-height:14.4px;--top-bar-tab-item-height-size:44px}@media (min-width: 390px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--apps-tabs-label-font-size:12px}}@media (min-width: 600px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--android-tabbar-height-size:74px;--tab-label-font-size-line:16px;--apps-tabs-label-font-size:16px;--apps-tabs-label-line-height:23.4px}}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--table-column-width-size-1-x:var(--size-10-x, 80px);--table-column-width-size-2-x:var(--size-17-p-5-x, 140px);--table-column-width-size-0-p-5-x:var(--size-5-x, 40px);--table-column-width-size-1-p-5-x:var(--size-15-x, 120px);--table-column-width-size-2-p-5-x:var(--size-22-p-5-x, 180px);--table-column-width-size-0-p-75-x:var(--size-7-x, 56px);--table-column-width-size-3-x:var(--size-25-x, 200px);--table-item-max-width-size:224px}@media (min-width: 600px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--table-column-width-size-1-x:var(--size-12-x, 96px);--table-column-width-size-2-x:var(--size-22-p-5-x, 180px);--table-column-width-size-0-p-5-x:var(--size-6-x, 48px);--table-column-width-size-1-p-5-x:var(--size-20-x, 160px);--table-column-width-size-2-p-5-x:var(--size-30-x, 240px);--table-column-width-size-0-p-75-x:var(--size-8-x, 64px);--table-column-width-size-3-x:var(--size-35-x, 280px)}}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--table-column-width-size-1-x:var(--size-17-p-5-x, 140px);--table-column-width-size-2-x:var(--size-27-p-5-x, 220px);--table-column-width-size-0-p-5-x:var(--size-9-x, 72px);--table-column-width-size-1-p-5-x:var(--size-22-p-5-x, 180px);--table-column-width-size-0-p-75-x:var(--size-12-p-5-x, 100px)}}[data-color-brand=\"bild\"][data-theme=\"light\"],:host([data-color-brand=\"bild\"][data-theme=\"light\"]){--teaser-title-bg-gradient-start:var(--color-neutral-0-a-70, rgba(0, 0, 0, 0.7));--teaser-title-bg-gradient-stop:var(--color-neutral-0-a-0, rgba(0, 0, 0, 0))}[data-color-brand=\"bild\"][data-theme=\"dark\"],:host([data-color-brand=\"bild\"][data-theme=\"dark\"]){--teaser-title-bg-gradient-start:var(--color-neutral-0-a-70, rgba(0, 0, 0, 0.7));--teaser-title-bg-gradient-stop:var(--color-neutral-0-a-0, rgba(0, 0, 0, 0))}[data-content-brand=\"bild\"] .a-teaser-a-teaser-kicker,:host([data-content-brand=\"bild\"]) .a-teaser-a-teaser-kicker{font-family:var(--kicker-font-family);font-weight:700;font-size:var(--kicker-3-font-size);line-height:var(--kicker-3-font-size)}[data-content-brand=\"bild\"] .a-teaser-a-teaser-headline,:host([data-content-brand=\"bild\"]) .a-teaser-a-teaser-headline{font-family:var(--headline-font-family);font-weight:900;font-size:var(--headline-3-font-size);line-height:var(--headline-3-font-size)}[data-content-brand=\"bild\"] .m-qteaser-m-qteaser-kicker,:host([data-content-brand=\"bild\"]) .m-qteaser-m-qteaser-kicker{font-family:var(--kicker-font-family);font-weight:700;font-size:var(--kicker-4-font-size);line-height:var(--kicker-4-line-height)}[data-content-brand=\"bild\"] .m-qteaser-m-qteaser-headline,:host([data-content-brand=\"bild\"]) .m-qteaser-m-qteaser-headline{font-family:var(--headline-font-family);font-weight:900;font-size:var(--headline-4-font-size);line-height:var(--headline-4-line-height)}[data-content-brand=\"bild\"] .q-teaser-q-teaser-headline,:host([data-content-brand=\"bild\"]) .q-teaser-q-teaser-headline{font-family:var(--headline-font-family);font-weight:900;font-size:var(--headline-1-font-size);line-height:var(--headline-1-line-height)}[data-content-brand=\"bild\"] .std-teaser-std-teaser-headline,:host([data-content-brand=\"bild\"]) .std-teaser-std-teaser-headline{font-family:var(--headline-font-family);font-weight:700;font-size:var(--headline-4-font-size);line-height:var(--headline-4-line-height)}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--teaser-title-inline-left-space:var(--grid-space-resp-base);--teaser-title-stack-space:var(--space-0-p-5-x, 4px);--teaser-title-gap-space:var(--gap-space-const-xs);--teaser-kicker-bg-inline-space:var(--inline-space-const-xs);--teaser-kicker-bg-stack-space:var(--stack-space-const-3-xs);--teaser-badges-margin-space:var(--inline-space-const-sm);--teaser-badges-height-size-lg:var(--size-const-xs);--teaser-title-bottom-stack-space:var(--space-1-p-5-x, 12px);--teaser-badges-height-size-sm:var(--size-resp-2-xs);--teaser-layout-grid-space:var(--grid-space-resp-base);--m-qteaser-headline-font-size:var(--headline-4-font-size);--m-qteaser-headline-font-weight:var(--headline-4-font-weight);--m-qteaser-headline-line-height:var(--headline-4-line-height);--mq-teaser-title-inline-space:var(--space-1-x, 8px);--a-teaser-kicker-font-size:var(--kicker-3-font-size);--a-teaser-headline-font-size:var(--headline-3-font-size);--a-teaser-kicker-line-height:var(--kicker-3-font-size);--a-teaser-headline-line-height:var(--headline-3-font-size);--a-teaser-title-inline-space:var(--space-1-x, 8px);--std-teaser-image-title-gap-space:var(--gap-space-const-xs);--std-teaser-badges-margin-space:var(--space-0-p-5-x, 4px);--std-teaser-kicker-headline-stack-space:var(--stack-space-const-3-xs);--quad-headline-font-size:var(--headline-1-font-size);--quad-kicker-font-size:var(--kicker-1-font-size);--quad-headline-line-height:var(--headline-1-line-height);--q-teaser-title-inline-space:var(--space-1-x, 8px);--bild-play-teaser-width-size:145px;--super-ateaser-title-inline-space:var(--space-2-x, 16px);--b-teaser-title-inline-space:var(--space-1-x, 8px)}@media (min-width: 600px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--teaser-title-inline-left-space:var(--space-0-x, 0px);--teaser-title-bottom-stack-space:var(--space-2-x, 16px);--m-qteaser-headline-font-size:var(--headline-3-font-size);--m-qteaser-headline-font-weight:var(--headline-3-font-weight);--m-qteaser-headline-line-height:var(--headline-3-line-height);--a-teaser-kicker-font-size:var(--kicker-2-font-size);--a-teaser-headline-font-size:var(--headline-2-font-size);--a-teaser-kicker-line-height:var(--kicker-2-font-size);--a-teaser-headline-line-height:var(--headline-2-line-height);--a-teaser-title-inline-space:var(--space-1-p-5-x, 12px);--std-teaser-image-title-gap-space:var(--space-0-p-75-x, 6px);--std-teaser-badges-margin-space:var(--space-1-x, 8px);--quad-kicker-font-size:var(--kicker-2-font-size);--q-teaser-title-inline-space:var(--space-2-x, 16px);--bild-play-teaser-width-size:169px}}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--teaser-title-stack-space:var(--space-0-p-75-x, 6px);--teaser-badges-height-size-lg:var(--size-const-sm);--q-teaser-title-inline-space:var(--space-1-p-5-x, 12px);--bild-play-teaser-width-size:193px}}[data-color-brand=\"bild\"],:host([data-color-brand=\"bild\"]){--teaser-hover-opacity:var(--layer-opacity-80)}[data-content-brand=\"bild\"] .app-toogle-item-label,:host([data-content-brand=\"bild\"]) .app-toogle-item-label{font-family:var(--title-font-family);font-weight:var(--title-font-weight);font-size:14px;line-height:14.1px;text-transform:uppercase}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--app-toggle-item-label-font-size:14px;--app-toggle-item-label-line-height:14.1px}@media (min-width: 600px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--app-toggle-item-label-font-size:16px;--app-toggle-item-label-line-height:16.2px}}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--app-toggle-item-label-font-size:18px;--app-toggle-item-label-line-height:18.2px}}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--video-time-badge-corner-size:var(--border-radius-xs);--video-time-badge-font-size:16px;--video-time-badge-size:var(--size-3-x, 24px);--video-red-play-icon-width-size:var(--size-1-x, 8px);--video-red-play-icon-height-size:var(--size-1-p-25-x, 10px);--video-badge-time-line-height:21px;--video-skeleton-container-height:180px;--video-frame-inline-space:0px;--vertical-video-mock-headline-font-size:22px;--video-ad-badge-font-size:14px}@media (min-width: 600px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--video-time-badge-font-size:18px;--video-time-badge-size:var(--size-4-x, 32px);--video-red-play-icon-width-size:var(--size-1-p-5-x, 12px);--video-red-play-icon-height-size:var(--size-1-p-75-x, 14px);--video-badge-time-line-height:23.8px;--video-skeleton-container-height:464px;--video-frame-inline-space:var(--grid-space-resp-base);--vertical-video-mock-headline-font-size:32px;--video-ad-badge-font-size:16px}}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--video-time-badge-size:var(--size-5-x, 40px);--video-red-play-icon-width-size:var(--size-1-p-75-x, 14px);--video-red-play-icon-height-size:var(--size-2-p-25-x, 18px)}}[data-color-brand=\"bild\"][data-theme=\"light\"],:host([data-color-brand=\"bild\"][data-theme=\"light\"]){--ds-doc-spacing-item-bg-color:rgba(221, 0, 0, 0.1);--ds-doc-spacing-item-border-color:rgba(221, 0, 0, 0.5)}[data-color-brand=\"bild\"][data-theme=\"dark\"],:host([data-color-brand=\"bild\"][data-theme=\"dark\"]){--ds-doc-spacing-item-bg-color:rgba(255, 255, 255, 0.2);--ds-doc-spacing-item-border-color:rgba(255, 255, 255, 0.8)}[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--bild-design-frame-space:var(--grid-space-resp-base);--ds-main-container-space:var(--space-0-x, 0px);--dsys-docs-width-size:320px;--main-content-stage-size:320px;--foundations-banner-height-size:var(--size-10-x, 80px);--doc-label-resp-font-size:10px;--ds-caption-stack-space-0-p-5-x:var(--space-0-p-5-x, 4px);--ds-caption-stack-space-1-x:var(--space-1-x, 8px);--label-1-responsive-line-height:UNRESOLVED_VariableID:18038:10773;--1-column-mobile:320px;--thin-banner-vertical-height-size:558px;--specs-font-family:var(--font-family-gotham, Gotham);--doc-header-height-size:144px}@media (min-width: 390px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--dsys-docs-width-size:750px;--main-content-stage-size:750px;--label-1-responsive-line-height:UNRESOLVED_VariableID:18038:10774}}@media (min-width: 600px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--bild-design-frame-space:var(--space-8-x, 64px);--ds-main-container-space:var(--space-8-p-5-x, 68px);--dsys-docs-width-size:962px;--main-content-stage-size:962px;--doc-label-resp-font-size:15px;--ds-caption-stack-space-0-p-5-x:var(--space-0-p-75-x, 6px);--ds-caption-stack-space-1-x:var(--space-1-p-5-x, 12px);--label-1-responsive-line-height:UNRESOLVED_VariableID:18038:10775;--1-column-mobile:930px;--doc-header-height-size:160px}}@media (min-width: 1024px){[data-content-brand=\"bild\"],:host([data-content-brand=\"bild\"]){--dsys-docs-width-size:1440px;--main-content-stage-size:1024px;--foundations-banner-height-size:var(--size-17-p-5-x, 140px);--doc-label-resp-font-size:17px;--ds-caption-stack-space-0-p-5-x:var(--space-1-x, 8px);--ds-caption-stack-space-1-x:var(--space-2-x, 16px);--label-1-responsive-line-height:UNRESOLVED_VariableID:18038:10776;--1-column-mobile:656px;--thin-banner-vertical-height-size:186px;--doc-header-height-size:180px}}";
|
|
8
|
+
|
|
9
|
+
/*
|
|
10
|
+
Stencil Client Platform v4.41.0 | MIT Licensed | https://stenciljs.com
|
|
11
|
+
*/
|
|
12
|
+
var __create = Object.create;
|
|
13
|
+
var __defProp = Object.defineProperty;
|
|
14
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
15
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
16
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
17
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
18
|
+
var __typeError = (msg) => {
|
|
19
|
+
throw TypeError(msg);
|
|
20
|
+
};
|
|
21
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
22
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
23
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
24
|
+
};
|
|
25
|
+
var __export = (target, all) => {
|
|
26
|
+
for (var name in all)
|
|
27
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
28
|
+
};
|
|
29
|
+
var __copyProps = (to, from, except, desc) => {
|
|
30
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
31
|
+
for (let key of __getOwnPropNames(from))
|
|
32
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
33
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
34
|
+
}
|
|
35
|
+
return to;
|
|
36
|
+
};
|
|
37
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
38
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
39
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
40
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
41
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
42
|
+
__defProp(target, "default", { value: mod, enumerable: true }) ,
|
|
43
|
+
mod
|
|
44
|
+
));
|
|
45
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, key + "" , value);
|
|
46
|
+
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
|
|
47
|
+
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
|
48
|
+
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
49
|
+
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), member.set(obj, value), value);
|
|
50
|
+
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
51
|
+
|
|
52
|
+
// node_modules/balanced-match/index.js
|
|
53
|
+
var require_balanced_match = __commonJS({
|
|
54
|
+
"node_modules/balanced-match/index.js"(exports, module) {
|
|
55
|
+
module.exports = balanced;
|
|
56
|
+
function balanced(a, b, str) {
|
|
57
|
+
if (a instanceof RegExp) a = maybeMatch(a, str);
|
|
58
|
+
if (b instanceof RegExp) b = maybeMatch(b, str);
|
|
59
|
+
var r = range(a, b, str);
|
|
60
|
+
return r && {
|
|
61
|
+
start: r[0],
|
|
62
|
+
end: r[1],
|
|
63
|
+
pre: str.slice(0, r[0]),
|
|
64
|
+
body: str.slice(r[0] + a.length, r[1]),
|
|
65
|
+
post: str.slice(r[1] + b.length)
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
function maybeMatch(reg, str) {
|
|
69
|
+
var m = str.match(reg);
|
|
70
|
+
return m ? m[0] : null;
|
|
71
|
+
}
|
|
72
|
+
balanced.range = range;
|
|
73
|
+
function range(a, b, str) {
|
|
74
|
+
var begs, beg, left, right, result;
|
|
75
|
+
var ai = str.indexOf(a);
|
|
76
|
+
var bi = str.indexOf(b, ai + 1);
|
|
77
|
+
var i2 = ai;
|
|
78
|
+
if (ai >= 0 && bi > 0) {
|
|
79
|
+
if (a === b) {
|
|
80
|
+
return [ai, bi];
|
|
81
|
+
}
|
|
82
|
+
begs = [];
|
|
83
|
+
left = str.length;
|
|
84
|
+
while (i2 >= 0 && !result) {
|
|
85
|
+
if (i2 == ai) {
|
|
86
|
+
begs.push(i2);
|
|
87
|
+
ai = str.indexOf(a, i2 + 1);
|
|
88
|
+
} else if (begs.length == 1) {
|
|
89
|
+
result = [begs.pop(), bi];
|
|
90
|
+
} else {
|
|
91
|
+
beg = begs.pop();
|
|
92
|
+
if (beg < left) {
|
|
93
|
+
left = beg;
|
|
94
|
+
right = bi;
|
|
95
|
+
}
|
|
96
|
+
bi = str.indexOf(b, i2 + 1);
|
|
97
|
+
}
|
|
98
|
+
i2 = ai < bi && ai >= 0 ? ai : bi;
|
|
99
|
+
}
|
|
100
|
+
if (begs.length) {
|
|
101
|
+
result = [left, right];
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
return result;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
// node_modules/brace-expansion/index.js
|
|
110
|
+
var require_brace_expansion = __commonJS({
|
|
111
|
+
"node_modules/brace-expansion/index.js"(exports, module) {
|
|
112
|
+
var balanced = require_balanced_match();
|
|
113
|
+
module.exports = expandTop;
|
|
114
|
+
var escSlash = "\0SLASH" + Math.random() + "\0";
|
|
115
|
+
var escOpen = "\0OPEN" + Math.random() + "\0";
|
|
116
|
+
var escClose = "\0CLOSE" + Math.random() + "\0";
|
|
117
|
+
var escComma = "\0COMMA" + Math.random() + "\0";
|
|
118
|
+
var escPeriod = "\0PERIOD" + Math.random() + "\0";
|
|
119
|
+
function numeric(str) {
|
|
120
|
+
return parseInt(str, 10) == str ? parseInt(str, 10) : str.charCodeAt(0);
|
|
121
|
+
}
|
|
122
|
+
function escapeBraces(str) {
|
|
123
|
+
return str.split("\\\\").join(escSlash).split("\\{").join(escOpen).split("\\}").join(escClose).split("\\,").join(escComma).split("\\.").join(escPeriod);
|
|
124
|
+
}
|
|
125
|
+
function unescapeBraces(str) {
|
|
126
|
+
return str.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join(".");
|
|
127
|
+
}
|
|
128
|
+
function parseCommaParts(str) {
|
|
129
|
+
if (!str)
|
|
130
|
+
return [""];
|
|
131
|
+
var parts = [];
|
|
132
|
+
var m = balanced("{", "}", str);
|
|
133
|
+
if (!m)
|
|
134
|
+
return str.split(",");
|
|
135
|
+
var pre = m.pre;
|
|
136
|
+
var body = m.body;
|
|
137
|
+
var post = m.post;
|
|
138
|
+
var p = pre.split(",");
|
|
139
|
+
p[p.length - 1] += "{" + body + "}";
|
|
140
|
+
var postParts = parseCommaParts(post);
|
|
141
|
+
if (post.length) {
|
|
142
|
+
p[p.length - 1] += postParts.shift();
|
|
143
|
+
p.push.apply(p, postParts);
|
|
144
|
+
}
|
|
145
|
+
parts.push.apply(parts, p);
|
|
146
|
+
return parts;
|
|
147
|
+
}
|
|
148
|
+
function expandTop(str) {
|
|
149
|
+
if (!str)
|
|
150
|
+
return [];
|
|
151
|
+
if (str.substr(0, 2) === "{}") {
|
|
152
|
+
str = "\\{\\}" + str.substr(2);
|
|
153
|
+
}
|
|
154
|
+
return expand2(escapeBraces(str), true).map(unescapeBraces);
|
|
155
|
+
}
|
|
156
|
+
function embrace(str) {
|
|
157
|
+
return "{" + str + "}";
|
|
158
|
+
}
|
|
159
|
+
function isPadded(el) {
|
|
160
|
+
return /^-?0\d/.test(el);
|
|
161
|
+
}
|
|
162
|
+
function lte(i2, y) {
|
|
163
|
+
return i2 <= y;
|
|
164
|
+
}
|
|
165
|
+
function gte(i2, y) {
|
|
166
|
+
return i2 >= y;
|
|
167
|
+
}
|
|
168
|
+
function expand2(str, isTop) {
|
|
169
|
+
var expansions = [];
|
|
170
|
+
var m = balanced("{", "}", str);
|
|
171
|
+
if (!m) return [str];
|
|
172
|
+
var pre = m.pre;
|
|
173
|
+
var post = m.post.length ? expand2(m.post, false) : [""];
|
|
174
|
+
if (/\$$/.test(m.pre)) {
|
|
175
|
+
for (var k = 0; k < post.length; k++) {
|
|
176
|
+
var expansion = pre + "{" + m.body + "}" + post[k];
|
|
177
|
+
expansions.push(expansion);
|
|
178
|
+
}
|
|
179
|
+
} else {
|
|
180
|
+
var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
|
|
181
|
+
var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
|
|
182
|
+
var isSequence = isNumericSequence || isAlphaSequence;
|
|
183
|
+
var isOptions = m.body.indexOf(",") >= 0;
|
|
184
|
+
if (!isSequence && !isOptions) {
|
|
185
|
+
if (m.post.match(/,(?!,).*\}/)) {
|
|
186
|
+
str = m.pre + "{" + m.body + escClose + m.post;
|
|
187
|
+
return expand2(str);
|
|
188
|
+
}
|
|
189
|
+
return [str];
|
|
190
|
+
}
|
|
191
|
+
var n;
|
|
192
|
+
if (isSequence) {
|
|
193
|
+
n = m.body.split(/\.\./);
|
|
194
|
+
} else {
|
|
195
|
+
n = parseCommaParts(m.body);
|
|
196
|
+
if (n.length === 1) {
|
|
197
|
+
n = expand2(n[0], false).map(embrace);
|
|
198
|
+
if (n.length === 1) {
|
|
199
|
+
return post.map(function(p) {
|
|
200
|
+
return m.pre + n[0] + p;
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
var N;
|
|
206
|
+
if (isSequence) {
|
|
207
|
+
var x = numeric(n[0]);
|
|
208
|
+
var y = numeric(n[1]);
|
|
209
|
+
var width = Math.max(n[0].length, n[1].length);
|
|
210
|
+
var incr = n.length == 3 ? Math.abs(numeric(n[2])) : 1;
|
|
211
|
+
var test = lte;
|
|
212
|
+
var reverse = y < x;
|
|
213
|
+
if (reverse) {
|
|
214
|
+
incr *= -1;
|
|
215
|
+
test = gte;
|
|
216
|
+
}
|
|
217
|
+
var pad = n.some(isPadded);
|
|
218
|
+
N = [];
|
|
219
|
+
for (var i2 = x; test(i2, y); i2 += incr) {
|
|
220
|
+
var c;
|
|
221
|
+
if (isAlphaSequence) {
|
|
222
|
+
c = String.fromCharCode(i2);
|
|
223
|
+
if (c === "\\")
|
|
224
|
+
c = "";
|
|
225
|
+
} else {
|
|
226
|
+
c = String(i2);
|
|
227
|
+
if (pad) {
|
|
228
|
+
var need = width - c.length;
|
|
229
|
+
if (need > 0) {
|
|
230
|
+
var z = new Array(need + 1).join("0");
|
|
231
|
+
if (i2 < 0)
|
|
232
|
+
c = "-" + z + c.slice(1);
|
|
233
|
+
else
|
|
234
|
+
c = z + c;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
N.push(c);
|
|
239
|
+
}
|
|
240
|
+
} else {
|
|
241
|
+
N = [];
|
|
242
|
+
for (var j = 0; j < n.length; j++) {
|
|
243
|
+
N.push.apply(N, expand2(n[j], false));
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
for (var j = 0; j < N.length; j++) {
|
|
247
|
+
for (var k = 0; k < post.length; k++) {
|
|
248
|
+
var expansion = pre + N[j] + post[k];
|
|
249
|
+
if (!isTop || isSequence || expansion)
|
|
250
|
+
expansions.push(expansion);
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
return expansions;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
});
|
|
258
|
+
var reWireGetterSetter = (instance, hostRef) => {
|
|
259
|
+
var _a;
|
|
260
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
261
|
+
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
262
|
+
members.map(([memberName, [memberFlags]]) => {
|
|
263
|
+
if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
|
|
264
|
+
const ogValue = instance[memberName];
|
|
265
|
+
const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName) || Object.getOwnPropertyDescriptor(instance, memberName);
|
|
266
|
+
if (ogDescriptor) {
|
|
267
|
+
Object.defineProperty(instance, memberName, {
|
|
268
|
+
get() {
|
|
269
|
+
return ogDescriptor.get.call(this);
|
|
270
|
+
},
|
|
271
|
+
set(newValue) {
|
|
272
|
+
ogDescriptor.set.call(this, newValue);
|
|
273
|
+
},
|
|
274
|
+
configurable: true,
|
|
275
|
+
enumerable: true
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
instance[memberName] = hostRef.$instanceValues$.has(memberName) ? hostRef.$instanceValues$.get(memberName) : ogValue;
|
|
279
|
+
}
|
|
280
|
+
});
|
|
281
|
+
};
|
|
282
|
+
function getPropertyDescriptor(obj, memberName) {
|
|
283
|
+
while (obj) {
|
|
284
|
+
const desc = Object.getOwnPropertyDescriptor(obj, memberName);
|
|
285
|
+
if (desc == null ? void 0 : desc.get) return desc;
|
|
286
|
+
obj = Object.getPrototypeOf(obj);
|
|
287
|
+
}
|
|
288
|
+
return void 0;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
// src/client/client-host-ref.ts
|
|
292
|
+
var getHostRef = (ref) => {
|
|
293
|
+
if (ref.__stencil__getHostRef) {
|
|
294
|
+
return ref.__stencil__getHostRef();
|
|
295
|
+
}
|
|
296
|
+
return void 0;
|
|
297
|
+
};
|
|
298
|
+
var registerInstance = (lazyInstance, hostRef) => {
|
|
299
|
+
if (!hostRef) return;
|
|
300
|
+
lazyInstance.__stencil__getHostRef = () => hostRef;
|
|
301
|
+
hostRef.$lazyInstance$ = lazyInstance;
|
|
302
|
+
if (hostRef.$cmpMeta$.$flags$ & 512 /* hasModernPropertyDecls */ && (BUILD.prop)) {
|
|
303
|
+
reWireGetterSetter(lazyInstance, hostRef);
|
|
304
|
+
}
|
|
305
|
+
};
|
|
306
|
+
var registerHost = (hostElement, cmpMeta) => {
|
|
307
|
+
const hostRef = {
|
|
308
|
+
$flags$: 0,
|
|
309
|
+
$hostElement$: hostElement,
|
|
310
|
+
$cmpMeta$: cmpMeta,
|
|
311
|
+
$instanceValues$: /* @__PURE__ */ new Map(),
|
|
312
|
+
$serializerValues$: /* @__PURE__ */ new Map()
|
|
313
|
+
};
|
|
314
|
+
{
|
|
315
|
+
hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
|
|
316
|
+
hostElement["s-p"] = [];
|
|
317
|
+
hostElement["s-rc"] = [];
|
|
318
|
+
}
|
|
319
|
+
{
|
|
320
|
+
hostRef.$fetchedCbList$ = [];
|
|
321
|
+
}
|
|
322
|
+
const ref = hostRef;
|
|
323
|
+
hostElement.__stencil__getHostRef = () => ref;
|
|
324
|
+
return ref;
|
|
325
|
+
};
|
|
326
|
+
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
327
|
+
var consoleError = (e, el) => (0, console.error)(e, el);
|
|
328
|
+
|
|
329
|
+
// src/client/client-load-module.ts
|
|
330
|
+
var cmpModules = /* @__PURE__ */ new Map();
|
|
331
|
+
var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
332
|
+
const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
|
|
333
|
+
const bundleId = cmpMeta.$lazyBundleId$;
|
|
334
|
+
if (!bundleId) {
|
|
335
|
+
return void 0;
|
|
336
|
+
}
|
|
337
|
+
const module = cmpModules.get(bundleId) ;
|
|
338
|
+
if (module) {
|
|
339
|
+
return module[exportName];
|
|
340
|
+
}
|
|
341
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
342
|
+
return import(
|
|
343
|
+
/* @vite-ignore */
|
|
344
|
+
/* webpackInclude: /\.entry\.js$/ */
|
|
345
|
+
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
346
|
+
/* webpackMode: "lazy" */
|
|
347
|
+
`./${bundleId}.entry.js${""}`
|
|
348
|
+
).then(
|
|
349
|
+
(importedModule) => {
|
|
350
|
+
{
|
|
351
|
+
cmpModules.set(bundleId, importedModule);
|
|
352
|
+
}
|
|
353
|
+
return importedModule[exportName];
|
|
354
|
+
},
|
|
355
|
+
(e) => {
|
|
356
|
+
consoleError(e, hostRef.$hostElement$);
|
|
357
|
+
}
|
|
358
|
+
);
|
|
359
|
+
};
|
|
360
|
+
|
|
361
|
+
// src/client/client-style.ts
|
|
362
|
+
var styles = /* @__PURE__ */ new Map();
|
|
363
|
+
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
364
|
+
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
365
|
+
var win = typeof window !== "undefined" ? window : {};
|
|
366
|
+
var plt = {
|
|
367
|
+
$flags$: 0,
|
|
368
|
+
$resourcesUrl$: "",
|
|
369
|
+
jmp: (h2) => h2(),
|
|
370
|
+
raf: (h2) => requestAnimationFrame(h2),
|
|
371
|
+
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
372
|
+
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
373
|
+
ce: (eventName, opts) => new CustomEvent(eventName, opts)
|
|
374
|
+
};
|
|
375
|
+
var promiseResolve = (v) => Promise.resolve(v);
|
|
376
|
+
var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
|
|
377
|
+
try {
|
|
378
|
+
if (!win.document.adoptedStyleSheets) {
|
|
379
|
+
return false;
|
|
380
|
+
}
|
|
381
|
+
new CSSStyleSheet();
|
|
382
|
+
return typeof new CSSStyleSheet().replaceSync === "function";
|
|
383
|
+
} catch (e) {
|
|
384
|
+
}
|
|
385
|
+
return false;
|
|
386
|
+
})() ;
|
|
387
|
+
var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @__PURE__ */ (() => !!win.document && Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets, "length").writable)() : false;
|
|
388
|
+
var queuePending = false;
|
|
389
|
+
var queueDomReads = [];
|
|
390
|
+
var queueDomWrites = [];
|
|
391
|
+
var queueTask = (queue, write) => (cb) => {
|
|
392
|
+
queue.push(cb);
|
|
393
|
+
if (!queuePending) {
|
|
394
|
+
queuePending = true;
|
|
395
|
+
if (write && plt.$flags$ & 4 /* queueSync */) {
|
|
396
|
+
nextTick(flush);
|
|
397
|
+
} else {
|
|
398
|
+
plt.raf(flush);
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
};
|
|
402
|
+
var consume = (queue) => {
|
|
403
|
+
for (let i2 = 0; i2 < queue.length; i2++) {
|
|
404
|
+
try {
|
|
405
|
+
queue[i2](performance.now());
|
|
406
|
+
} catch (e) {
|
|
407
|
+
consoleError(e);
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
queue.length = 0;
|
|
411
|
+
};
|
|
412
|
+
var flush = () => {
|
|
413
|
+
consume(queueDomReads);
|
|
414
|
+
{
|
|
415
|
+
consume(queueDomWrites);
|
|
416
|
+
if (queuePending = queueDomReads.length > 0) {
|
|
417
|
+
plt.raf(flush);
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
};
|
|
421
|
+
var nextTick = (cb) => promiseResolve().then(cb);
|
|
422
|
+
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
423
|
+
var isComplexType = (o) => {
|
|
424
|
+
o = typeof o;
|
|
425
|
+
return o === "object" || o === "function";
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
// node_modules/minimatch/dist/esm/index.js
|
|
429
|
+
var import_brace_expansion = __toESM(require_brace_expansion());
|
|
430
|
+
|
|
431
|
+
// node_modules/minimatch/dist/esm/assert-valid-pattern.js
|
|
432
|
+
var MAX_PATTERN_LENGTH = 1024 * 64;
|
|
433
|
+
var assertValidPattern = (pattern) => {
|
|
434
|
+
if (typeof pattern !== "string") {
|
|
435
|
+
throw new TypeError("invalid pattern");
|
|
436
|
+
}
|
|
437
|
+
if (pattern.length > MAX_PATTERN_LENGTH) {
|
|
438
|
+
throw new TypeError("pattern is too long");
|
|
439
|
+
}
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
// node_modules/minimatch/dist/esm/brace-expressions.js
|
|
443
|
+
var posixClasses = {
|
|
444
|
+
"[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", true],
|
|
445
|
+
"[:alpha:]": ["\\p{L}\\p{Nl}", true],
|
|
446
|
+
"[:ascii:]": ["\\x00-\\x7f", false],
|
|
447
|
+
"[:blank:]": ["\\p{Zs}\\t", true],
|
|
448
|
+
"[:cntrl:]": ["\\p{Cc}", true],
|
|
449
|
+
"[:digit:]": ["\\p{Nd}", true],
|
|
450
|
+
"[:graph:]": ["\\p{Z}\\p{C}", true, true],
|
|
451
|
+
"[:lower:]": ["\\p{Ll}", true],
|
|
452
|
+
"[:print:]": ["\\p{C}", true],
|
|
453
|
+
"[:punct:]": ["\\p{P}", true],
|
|
454
|
+
"[:space:]": ["\\p{Z}\\t\\r\\n\\v\\f", true],
|
|
455
|
+
"[:upper:]": ["\\p{Lu}", true],
|
|
456
|
+
"[:word:]": ["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}", true],
|
|
457
|
+
"[:xdigit:]": ["A-Fa-f0-9", false]
|
|
458
|
+
};
|
|
459
|
+
var braceEscape = (s) => s.replace(/[[\]\\-]/g, "\\$&");
|
|
460
|
+
var regexpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
461
|
+
var rangesToString = (ranges) => ranges.join("");
|
|
462
|
+
var parseClass = (glob, position) => {
|
|
463
|
+
const pos = position;
|
|
464
|
+
if (glob.charAt(pos) !== "[") {
|
|
465
|
+
throw new Error("not in a brace expression");
|
|
466
|
+
}
|
|
467
|
+
const ranges = [];
|
|
468
|
+
const negs = [];
|
|
469
|
+
let i2 = pos + 1;
|
|
470
|
+
let sawStart = false;
|
|
471
|
+
let uflag = false;
|
|
472
|
+
let escaping = false;
|
|
473
|
+
let negate = false;
|
|
474
|
+
let endPos = pos;
|
|
475
|
+
let rangeStart = "";
|
|
476
|
+
WHILE: while (i2 < glob.length) {
|
|
477
|
+
const c = glob.charAt(i2);
|
|
478
|
+
if ((c === "!" || c === "^") && i2 === pos + 1) {
|
|
479
|
+
negate = true;
|
|
480
|
+
i2++;
|
|
481
|
+
continue;
|
|
482
|
+
}
|
|
483
|
+
if (c === "]" && sawStart && !escaping) {
|
|
484
|
+
endPos = i2 + 1;
|
|
485
|
+
break;
|
|
486
|
+
}
|
|
487
|
+
sawStart = true;
|
|
488
|
+
if (c === "\\") {
|
|
489
|
+
if (!escaping) {
|
|
490
|
+
escaping = true;
|
|
491
|
+
i2++;
|
|
492
|
+
continue;
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
if (c === "[" && !escaping) {
|
|
496
|
+
for (const [cls, [unip, u, neg]] of Object.entries(posixClasses)) {
|
|
497
|
+
if (glob.startsWith(cls, i2)) {
|
|
498
|
+
if (rangeStart) {
|
|
499
|
+
return ["$.", false, glob.length - pos, true];
|
|
500
|
+
}
|
|
501
|
+
i2 += cls.length;
|
|
502
|
+
if (neg)
|
|
503
|
+
negs.push(unip);
|
|
504
|
+
else
|
|
505
|
+
ranges.push(unip);
|
|
506
|
+
uflag = uflag || u;
|
|
507
|
+
continue WHILE;
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
escaping = false;
|
|
512
|
+
if (rangeStart) {
|
|
513
|
+
if (c > rangeStart) {
|
|
514
|
+
ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c));
|
|
515
|
+
} else if (c === rangeStart) {
|
|
516
|
+
ranges.push(braceEscape(c));
|
|
517
|
+
}
|
|
518
|
+
rangeStart = "";
|
|
519
|
+
i2++;
|
|
520
|
+
continue;
|
|
521
|
+
}
|
|
522
|
+
if (glob.startsWith("-]", i2 + 1)) {
|
|
523
|
+
ranges.push(braceEscape(c + "-"));
|
|
524
|
+
i2 += 2;
|
|
525
|
+
continue;
|
|
526
|
+
}
|
|
527
|
+
if (glob.startsWith("-", i2 + 1)) {
|
|
528
|
+
rangeStart = c;
|
|
529
|
+
i2 += 2;
|
|
530
|
+
continue;
|
|
531
|
+
}
|
|
532
|
+
ranges.push(braceEscape(c));
|
|
533
|
+
i2++;
|
|
534
|
+
}
|
|
535
|
+
if (endPos < i2) {
|
|
536
|
+
return ["", false, 0, false];
|
|
537
|
+
}
|
|
538
|
+
if (!ranges.length && !negs.length) {
|
|
539
|
+
return ["$.", false, glob.length - pos, true];
|
|
540
|
+
}
|
|
541
|
+
if (negs.length === 0 && ranges.length === 1 && /^\\?.$/.test(ranges[0]) && !negate) {
|
|
542
|
+
const r = ranges[0].length === 2 ? ranges[0].slice(-1) : ranges[0];
|
|
543
|
+
return [regexpEscape(r), false, endPos - pos, false];
|
|
544
|
+
}
|
|
545
|
+
const sranges = "[" + (negate ? "^" : "") + rangesToString(ranges) + "]";
|
|
546
|
+
const snegs = "[" + (negate ? "" : "^") + rangesToString(negs) + "]";
|
|
547
|
+
const comb = ranges.length && negs.length ? "(" + sranges + "|" + snegs + ")" : ranges.length ? sranges : snegs;
|
|
548
|
+
return [comb, uflag, endPos - pos, true];
|
|
549
|
+
};
|
|
550
|
+
|
|
551
|
+
// node_modules/minimatch/dist/esm/unescape.js
|
|
552
|
+
var unescape = (s, { windowsPathsNoEscape = false } = {}) => {
|
|
553
|
+
return windowsPathsNoEscape ? s.replace(/\[([^\/\\])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^\/\\])\]/g, "$1$2").replace(/\\([^\/])/g, "$1");
|
|
554
|
+
};
|
|
555
|
+
|
|
556
|
+
// node_modules/minimatch/dist/esm/ast.js
|
|
557
|
+
var types = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]);
|
|
558
|
+
var isExtglobType = (c) => types.has(c);
|
|
559
|
+
var startNoTraversal = "(?!(?:^|/)\\.\\.?(?:$|/))";
|
|
560
|
+
var startNoDot = "(?!\\.)";
|
|
561
|
+
var addPatternStart = /* @__PURE__ */ new Set(["[", "."]);
|
|
562
|
+
var justDots = /* @__PURE__ */ new Set(["..", "."]);
|
|
563
|
+
var reSpecials = new Set("().*{}+?[]^$\\!");
|
|
564
|
+
var regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
565
|
+
var qmark = "[^/]";
|
|
566
|
+
var star = qmark + "*?";
|
|
567
|
+
var starNoEmpty = qmark + "+?";
|
|
568
|
+
var _root, _hasMagic, _uflag, _parts, _parent, _parentIndex, _negs, _filledNegs, _options, _toString, _emptyExt, _AST_instances, fillNegs_fn, _AST_static, parseAST_fn, partsToRegExp_fn, parseGlob_fn;
|
|
569
|
+
var _AST = class _AST {
|
|
570
|
+
constructor(type, parent, options = {}) {
|
|
571
|
+
__privateAdd(this, _AST_instances);
|
|
572
|
+
__publicField(this, "type");
|
|
573
|
+
__privateAdd(this, _root);
|
|
574
|
+
__privateAdd(this, _hasMagic);
|
|
575
|
+
__privateAdd(this, _uflag, false);
|
|
576
|
+
__privateAdd(this, _parts, []);
|
|
577
|
+
__privateAdd(this, _parent);
|
|
578
|
+
__privateAdd(this, _parentIndex);
|
|
579
|
+
__privateAdd(this, _negs);
|
|
580
|
+
__privateAdd(this, _filledNegs, false);
|
|
581
|
+
__privateAdd(this, _options);
|
|
582
|
+
__privateAdd(this, _toString);
|
|
583
|
+
// set to true if it's an extglob with no children
|
|
584
|
+
// (which really means one child of '')
|
|
585
|
+
__privateAdd(this, _emptyExt, false);
|
|
586
|
+
this.type = type;
|
|
587
|
+
if (type)
|
|
588
|
+
__privateSet(this, _hasMagic, true);
|
|
589
|
+
__privateSet(this, _parent, parent);
|
|
590
|
+
__privateSet(this, _root, __privateGet(this, _parent) ? __privateGet(__privateGet(this, _parent), _root) : this);
|
|
591
|
+
__privateSet(this, _options, __privateGet(this, _root) === this ? options : __privateGet(__privateGet(this, _root), _options));
|
|
592
|
+
__privateSet(this, _negs, __privateGet(this, _root) === this ? [] : __privateGet(__privateGet(this, _root), _negs));
|
|
593
|
+
if (type === "!" && !__privateGet(__privateGet(this, _root), _filledNegs))
|
|
594
|
+
__privateGet(this, _negs).push(this);
|
|
595
|
+
__privateSet(this, _parentIndex, __privateGet(this, _parent) ? __privateGet(__privateGet(this, _parent), _parts).length : 0);
|
|
596
|
+
}
|
|
597
|
+
get hasMagic() {
|
|
598
|
+
if (__privateGet(this, _hasMagic) !== void 0)
|
|
599
|
+
return __privateGet(this, _hasMagic);
|
|
600
|
+
for (const p of __privateGet(this, _parts)) {
|
|
601
|
+
if (typeof p === "string")
|
|
602
|
+
continue;
|
|
603
|
+
if (p.type || p.hasMagic)
|
|
604
|
+
return __privateSet(this, _hasMagic, true);
|
|
605
|
+
}
|
|
606
|
+
return __privateGet(this, _hasMagic);
|
|
607
|
+
}
|
|
608
|
+
// reconstructs the pattern
|
|
609
|
+
toString() {
|
|
610
|
+
if (__privateGet(this, _toString) !== void 0)
|
|
611
|
+
return __privateGet(this, _toString);
|
|
612
|
+
if (!this.type) {
|
|
613
|
+
return __privateSet(this, _toString, __privateGet(this, _parts).map((p) => String(p)).join(""));
|
|
614
|
+
} else {
|
|
615
|
+
return __privateSet(this, _toString, this.type + "(" + __privateGet(this, _parts).map((p) => String(p)).join("|") + ")");
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
push(...parts) {
|
|
619
|
+
for (const p of parts) {
|
|
620
|
+
if (p === "")
|
|
621
|
+
continue;
|
|
622
|
+
if (typeof p !== "string" && !(p instanceof _AST && __privateGet(p, _parent) === this)) {
|
|
623
|
+
throw new Error("invalid part: " + p);
|
|
624
|
+
}
|
|
625
|
+
__privateGet(this, _parts).push(p);
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
toJSON() {
|
|
629
|
+
var _a;
|
|
630
|
+
const ret = this.type === null ? __privateGet(this, _parts).slice().map((p) => typeof p === "string" ? p : p.toJSON()) : [this.type, ...__privateGet(this, _parts).map((p) => p.toJSON())];
|
|
631
|
+
if (this.isStart() && !this.type)
|
|
632
|
+
ret.unshift([]);
|
|
633
|
+
if (this.isEnd() && (this === __privateGet(this, _root) || __privateGet(__privateGet(this, _root), _filledNegs) && ((_a = __privateGet(this, _parent)) == null ? void 0 : _a.type) === "!")) {
|
|
634
|
+
ret.push({});
|
|
635
|
+
}
|
|
636
|
+
return ret;
|
|
637
|
+
}
|
|
638
|
+
isStart() {
|
|
639
|
+
var _a;
|
|
640
|
+
if (__privateGet(this, _root) === this)
|
|
641
|
+
return true;
|
|
642
|
+
if (!((_a = __privateGet(this, _parent)) == null ? void 0 : _a.isStart()))
|
|
643
|
+
return false;
|
|
644
|
+
if (__privateGet(this, _parentIndex) === 0)
|
|
645
|
+
return true;
|
|
646
|
+
const p = __privateGet(this, _parent);
|
|
647
|
+
for (let i2 = 0; i2 < __privateGet(this, _parentIndex); i2++) {
|
|
648
|
+
const pp = __privateGet(p, _parts)[i2];
|
|
649
|
+
if (!(pp instanceof _AST && pp.type === "!")) {
|
|
650
|
+
return false;
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
return true;
|
|
654
|
+
}
|
|
655
|
+
isEnd() {
|
|
656
|
+
var _a, _b, _c;
|
|
657
|
+
if (__privateGet(this, _root) === this)
|
|
658
|
+
return true;
|
|
659
|
+
if (((_a = __privateGet(this, _parent)) == null ? void 0 : _a.type) === "!")
|
|
660
|
+
return true;
|
|
661
|
+
if (!((_b = __privateGet(this, _parent)) == null ? void 0 : _b.isEnd()))
|
|
662
|
+
return false;
|
|
663
|
+
if (!this.type)
|
|
664
|
+
return (_c = __privateGet(this, _parent)) == null ? void 0 : _c.isEnd();
|
|
665
|
+
const pl = __privateGet(this, _parent) ? __privateGet(__privateGet(this, _parent), _parts).length : 0;
|
|
666
|
+
return __privateGet(this, _parentIndex) === pl - 1;
|
|
667
|
+
}
|
|
668
|
+
copyIn(part) {
|
|
669
|
+
if (typeof part === "string")
|
|
670
|
+
this.push(part);
|
|
671
|
+
else
|
|
672
|
+
this.push(part.clone(this));
|
|
673
|
+
}
|
|
674
|
+
clone(parent) {
|
|
675
|
+
const c = new _AST(this.type, parent);
|
|
676
|
+
for (const p of __privateGet(this, _parts)) {
|
|
677
|
+
c.copyIn(p);
|
|
678
|
+
}
|
|
679
|
+
return c;
|
|
680
|
+
}
|
|
681
|
+
static fromGlob(pattern, options = {}) {
|
|
682
|
+
var _a;
|
|
683
|
+
const ast = new _AST(null, void 0, options);
|
|
684
|
+
__privateMethod(_a = _AST, _AST_static, parseAST_fn).call(_a, pattern, ast, 0, options);
|
|
685
|
+
return ast;
|
|
686
|
+
}
|
|
687
|
+
// returns the regular expression if there's magic, or the unescaped
|
|
688
|
+
// string if not.
|
|
689
|
+
toMMPattern() {
|
|
690
|
+
if (this !== __privateGet(this, _root))
|
|
691
|
+
return __privateGet(this, _root).toMMPattern();
|
|
692
|
+
const glob = this.toString();
|
|
693
|
+
const [re, body, hasMagic, uflag] = this.toRegExpSource();
|
|
694
|
+
const anyMagic = hasMagic || __privateGet(this, _hasMagic) || __privateGet(this, _options).nocase && !__privateGet(this, _options).nocaseMagicOnly && glob.toUpperCase() !== glob.toLowerCase();
|
|
695
|
+
if (!anyMagic) {
|
|
696
|
+
return body;
|
|
697
|
+
}
|
|
698
|
+
const flags = (__privateGet(this, _options).nocase ? "i" : "") + (uflag ? "u" : "");
|
|
699
|
+
return Object.assign(new RegExp(`^${re}$`, flags), {
|
|
700
|
+
_src: re,
|
|
701
|
+
_glob: glob
|
|
702
|
+
});
|
|
703
|
+
}
|
|
704
|
+
get options() {
|
|
705
|
+
return __privateGet(this, _options);
|
|
706
|
+
}
|
|
707
|
+
// returns the string match, the regexp source, whether there's magic
|
|
708
|
+
// in the regexp (so a regular expression is required) and whether or
|
|
709
|
+
// not the uflag is needed for the regular expression (for posix classes)
|
|
710
|
+
// TODO: instead of injecting the start/end at this point, just return
|
|
711
|
+
// the BODY of the regexp, along with the start/end portions suitable
|
|
712
|
+
// for binding the start/end in either a joined full-path makeRe context
|
|
713
|
+
// (where we bind to (^|/), or a standalone matchPart context (where
|
|
714
|
+
// we bind to ^, and not /). Otherwise slashes get duped!
|
|
715
|
+
//
|
|
716
|
+
// In part-matching mode, the start is:
|
|
717
|
+
// - if not isStart: nothing
|
|
718
|
+
// - if traversal possible, but not allowed: ^(?!\.\.?$)
|
|
719
|
+
// - if dots allowed or not possible: ^
|
|
720
|
+
// - if dots possible and not allowed: ^(?!\.)
|
|
721
|
+
// end is:
|
|
722
|
+
// - if not isEnd(): nothing
|
|
723
|
+
// - else: $
|
|
724
|
+
//
|
|
725
|
+
// In full-path matching mode, we put the slash at the START of the
|
|
726
|
+
// pattern, so start is:
|
|
727
|
+
// - if first pattern: same as part-matching mode
|
|
728
|
+
// - if not isStart(): nothing
|
|
729
|
+
// - if traversal possible, but not allowed: /(?!\.\.?(?:$|/))
|
|
730
|
+
// - if dots allowed or not possible: /
|
|
731
|
+
// - if dots possible and not allowed: /(?!\.)
|
|
732
|
+
// end is:
|
|
733
|
+
// - if last pattern, same as part-matching mode
|
|
734
|
+
// - else nothing
|
|
735
|
+
//
|
|
736
|
+
// Always put the (?:$|/) on negated tails, though, because that has to be
|
|
737
|
+
// there to bind the end of the negated pattern portion, and it's easier to
|
|
738
|
+
// just stick it in now rather than try to inject it later in the middle of
|
|
739
|
+
// the pattern.
|
|
740
|
+
//
|
|
741
|
+
// We can just always return the same end, and leave it up to the caller
|
|
742
|
+
// to know whether it's going to be used joined or in parts.
|
|
743
|
+
// And, if the start is adjusted slightly, can do the same there:
|
|
744
|
+
// - if not isStart: nothing
|
|
745
|
+
// - if traversal possible, but not allowed: (?:/|^)(?!\.\.?$)
|
|
746
|
+
// - if dots allowed or not possible: (?:/|^)
|
|
747
|
+
// - if dots possible and not allowed: (?:/|^)(?!\.)
|
|
748
|
+
//
|
|
749
|
+
// But it's better to have a simpler binding without a conditional, for
|
|
750
|
+
// performance, so probably better to return both start options.
|
|
751
|
+
//
|
|
752
|
+
// Then the caller just ignores the end if it's not the first pattern,
|
|
753
|
+
// and the start always gets applied.
|
|
754
|
+
//
|
|
755
|
+
// But that's always going to be $ if it's the ending pattern, or nothing,
|
|
756
|
+
// so the caller can just attach $ at the end of the pattern when building.
|
|
757
|
+
//
|
|
758
|
+
// So the todo is:
|
|
759
|
+
// - better detect what kind of start is needed
|
|
760
|
+
// - return both flavors of starting pattern
|
|
761
|
+
// - attach $ at the end of the pattern when creating the actual RegExp
|
|
762
|
+
//
|
|
763
|
+
// Ah, but wait, no, that all only applies to the root when the first pattern
|
|
764
|
+
// is not an extglob. If the first pattern IS an extglob, then we need all
|
|
765
|
+
// that dot prevention biz to live in the extglob portions, because eg
|
|
766
|
+
// +(*|.x*) can match .xy but not .yx.
|
|
767
|
+
//
|
|
768
|
+
// So, return the two flavors if it's #root and the first child is not an
|
|
769
|
+
// AST, otherwise leave it to the child AST to handle it, and there,
|
|
770
|
+
// use the (?:^|/) style of start binding.
|
|
771
|
+
//
|
|
772
|
+
// Even simplified further:
|
|
773
|
+
// - Since the start for a join is eg /(?!\.) and the start for a part
|
|
774
|
+
// is ^(?!\.), we can just prepend (?!\.) to the pattern (either root
|
|
775
|
+
// or start or whatever) and prepend ^ or / at the Regexp construction.
|
|
776
|
+
toRegExpSource(allowDot) {
|
|
777
|
+
var _a;
|
|
778
|
+
const dot = allowDot != null ? allowDot : !!__privateGet(this, _options).dot;
|
|
779
|
+
if (__privateGet(this, _root) === this)
|
|
780
|
+
__privateMethod(this, _AST_instances, fillNegs_fn).call(this);
|
|
781
|
+
if (!this.type) {
|
|
782
|
+
const noEmpty = this.isStart() && this.isEnd();
|
|
783
|
+
const src = __privateGet(this, _parts).map((p) => {
|
|
784
|
+
var _a2;
|
|
785
|
+
const [re, _, hasMagic, uflag] = typeof p === "string" ? __privateMethod(_a2 = _AST, _AST_static, parseGlob_fn).call(_a2, p, __privateGet(this, _hasMagic), noEmpty) : p.toRegExpSource(allowDot);
|
|
786
|
+
__privateSet(this, _hasMagic, __privateGet(this, _hasMagic) || hasMagic);
|
|
787
|
+
__privateSet(this, _uflag, __privateGet(this, _uflag) || uflag);
|
|
788
|
+
return re;
|
|
789
|
+
}).join("");
|
|
790
|
+
let start2 = "";
|
|
791
|
+
if (this.isStart()) {
|
|
792
|
+
if (typeof __privateGet(this, _parts)[0] === "string") {
|
|
793
|
+
const dotTravAllowed = __privateGet(this, _parts).length === 1 && justDots.has(__privateGet(this, _parts)[0]);
|
|
794
|
+
if (!dotTravAllowed) {
|
|
795
|
+
const aps = addPatternStart;
|
|
796
|
+
const needNoTrav = (
|
|
797
|
+
// dots are allowed, and the pattern starts with [ or .
|
|
798
|
+
dot && aps.has(src.charAt(0)) || // the pattern starts with \., and then [ or .
|
|
799
|
+
src.startsWith("\\.") && aps.has(src.charAt(2)) || // the pattern starts with \.\., and then [ or .
|
|
800
|
+
src.startsWith("\\.\\.") && aps.has(src.charAt(4))
|
|
801
|
+
);
|
|
802
|
+
const needNoDot = !dot && !allowDot && aps.has(src.charAt(0));
|
|
803
|
+
start2 = needNoTrav ? startNoTraversal : needNoDot ? startNoDot : "";
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
let end = "";
|
|
808
|
+
if (this.isEnd() && __privateGet(__privateGet(this, _root), _filledNegs) && ((_a = __privateGet(this, _parent)) == null ? void 0 : _a.type) === "!") {
|
|
809
|
+
end = "(?:$|\\/)";
|
|
810
|
+
}
|
|
811
|
+
const final2 = start2 + src + end;
|
|
812
|
+
return [
|
|
813
|
+
final2,
|
|
814
|
+
unescape(src),
|
|
815
|
+
__privateSet(this, _hasMagic, !!__privateGet(this, _hasMagic)),
|
|
816
|
+
__privateGet(this, _uflag)
|
|
817
|
+
];
|
|
818
|
+
}
|
|
819
|
+
const repeated = this.type === "*" || this.type === "+";
|
|
820
|
+
const start = this.type === "!" ? "(?:(?!(?:" : "(?:";
|
|
821
|
+
let body = __privateMethod(this, _AST_instances, partsToRegExp_fn).call(this, dot);
|
|
822
|
+
if (this.isStart() && this.isEnd() && !body && this.type !== "!") {
|
|
823
|
+
const s = this.toString();
|
|
824
|
+
__privateSet(this, _parts, [s]);
|
|
825
|
+
this.type = null;
|
|
826
|
+
__privateSet(this, _hasMagic, void 0);
|
|
827
|
+
return [s, unescape(this.toString()), false, false];
|
|
828
|
+
}
|
|
829
|
+
let bodyDotAllowed = !repeated || allowDot || dot || false ? "" : __privateMethod(this, _AST_instances, partsToRegExp_fn).call(this, true);
|
|
830
|
+
if (bodyDotAllowed === body) {
|
|
831
|
+
bodyDotAllowed = "";
|
|
832
|
+
}
|
|
833
|
+
if (bodyDotAllowed) {
|
|
834
|
+
body = `(?:${body})(?:${bodyDotAllowed})*?`;
|
|
835
|
+
}
|
|
836
|
+
let final = "";
|
|
837
|
+
if (this.type === "!" && __privateGet(this, _emptyExt)) {
|
|
838
|
+
final = (this.isStart() && !dot ? startNoDot : "") + starNoEmpty;
|
|
839
|
+
} else {
|
|
840
|
+
const close = this.type === "!" ? (
|
|
841
|
+
// !() must match something,but !(x) can match ''
|
|
842
|
+
"))" + (this.isStart() && !dot && !allowDot ? startNoDot : "") + star + ")"
|
|
843
|
+
) : this.type === "@" ? ")" : this.type === "?" ? ")?" : this.type === "+" && bodyDotAllowed ? ")" : this.type === "*" && bodyDotAllowed ? `)?` : `)${this.type}`;
|
|
844
|
+
final = start + body + close;
|
|
845
|
+
}
|
|
846
|
+
return [
|
|
847
|
+
final,
|
|
848
|
+
unescape(body),
|
|
849
|
+
__privateSet(this, _hasMagic, !!__privateGet(this, _hasMagic)),
|
|
850
|
+
__privateGet(this, _uflag)
|
|
851
|
+
];
|
|
852
|
+
}
|
|
853
|
+
};
|
|
854
|
+
_root = new WeakMap();
|
|
855
|
+
_hasMagic = new WeakMap();
|
|
856
|
+
_uflag = new WeakMap();
|
|
857
|
+
_parts = new WeakMap();
|
|
858
|
+
_parent = new WeakMap();
|
|
859
|
+
_parentIndex = new WeakMap();
|
|
860
|
+
_negs = new WeakMap();
|
|
861
|
+
_filledNegs = new WeakMap();
|
|
862
|
+
_options = new WeakMap();
|
|
863
|
+
_toString = new WeakMap();
|
|
864
|
+
_emptyExt = new WeakMap();
|
|
865
|
+
_AST_instances = new WeakSet();
|
|
866
|
+
fillNegs_fn = function() {
|
|
867
|
+
if (this !== __privateGet(this, _root))
|
|
868
|
+
throw new Error("should only call on root");
|
|
869
|
+
if (__privateGet(this, _filledNegs))
|
|
870
|
+
return this;
|
|
871
|
+
this.toString();
|
|
872
|
+
__privateSet(this, _filledNegs, true);
|
|
873
|
+
let n;
|
|
874
|
+
while (n = __privateGet(this, _negs).pop()) {
|
|
875
|
+
if (n.type !== "!")
|
|
876
|
+
continue;
|
|
877
|
+
let p = n;
|
|
878
|
+
let pp = __privateGet(p, _parent);
|
|
879
|
+
while (pp) {
|
|
880
|
+
for (let i2 = __privateGet(p, _parentIndex) + 1; !pp.type && i2 < __privateGet(pp, _parts).length; i2++) {
|
|
881
|
+
for (const part of __privateGet(n, _parts)) {
|
|
882
|
+
if (typeof part === "string") {
|
|
883
|
+
throw new Error("string part in extglob AST??");
|
|
884
|
+
}
|
|
885
|
+
part.copyIn(__privateGet(pp, _parts)[i2]);
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
p = pp;
|
|
889
|
+
pp = __privateGet(p, _parent);
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
return this;
|
|
893
|
+
};
|
|
894
|
+
_AST_static = new WeakSet();
|
|
895
|
+
parseAST_fn = function(str, ast, pos, opt) {
|
|
896
|
+
var _a, _b;
|
|
897
|
+
let escaping = false;
|
|
898
|
+
let inBrace = false;
|
|
899
|
+
let braceStart = -1;
|
|
900
|
+
let braceNeg = false;
|
|
901
|
+
if (ast.type === null) {
|
|
902
|
+
let i3 = pos;
|
|
903
|
+
let acc2 = "";
|
|
904
|
+
while (i3 < str.length) {
|
|
905
|
+
const c = str.charAt(i3++);
|
|
906
|
+
if (escaping || c === "\\") {
|
|
907
|
+
escaping = !escaping;
|
|
908
|
+
acc2 += c;
|
|
909
|
+
continue;
|
|
910
|
+
}
|
|
911
|
+
if (inBrace) {
|
|
912
|
+
if (i3 === braceStart + 1) {
|
|
913
|
+
if (c === "^" || c === "!") {
|
|
914
|
+
braceNeg = true;
|
|
915
|
+
}
|
|
916
|
+
} else if (c === "]" && !(i3 === braceStart + 2 && braceNeg)) {
|
|
917
|
+
inBrace = false;
|
|
918
|
+
}
|
|
919
|
+
acc2 += c;
|
|
920
|
+
continue;
|
|
921
|
+
} else if (c === "[") {
|
|
922
|
+
inBrace = true;
|
|
923
|
+
braceStart = i3;
|
|
924
|
+
braceNeg = false;
|
|
925
|
+
acc2 += c;
|
|
926
|
+
continue;
|
|
927
|
+
}
|
|
928
|
+
if (!opt.noext && isExtglobType(c) && str.charAt(i3) === "(") {
|
|
929
|
+
ast.push(acc2);
|
|
930
|
+
acc2 = "";
|
|
931
|
+
const ext2 = new _AST(c, ast);
|
|
932
|
+
i3 = __privateMethod(_a = _AST, _AST_static, parseAST_fn).call(_a, str, ext2, i3, opt);
|
|
933
|
+
ast.push(ext2);
|
|
934
|
+
continue;
|
|
935
|
+
}
|
|
936
|
+
acc2 += c;
|
|
937
|
+
}
|
|
938
|
+
ast.push(acc2);
|
|
939
|
+
return i3;
|
|
940
|
+
}
|
|
941
|
+
let i2 = pos + 1;
|
|
942
|
+
let part = new _AST(null, ast);
|
|
943
|
+
const parts = [];
|
|
944
|
+
let acc = "";
|
|
945
|
+
while (i2 < str.length) {
|
|
946
|
+
const c = str.charAt(i2++);
|
|
947
|
+
if (escaping || c === "\\") {
|
|
948
|
+
escaping = !escaping;
|
|
949
|
+
acc += c;
|
|
950
|
+
continue;
|
|
951
|
+
}
|
|
952
|
+
if (inBrace) {
|
|
953
|
+
if (i2 === braceStart + 1) {
|
|
954
|
+
if (c === "^" || c === "!") {
|
|
955
|
+
braceNeg = true;
|
|
956
|
+
}
|
|
957
|
+
} else if (c === "]" && !(i2 === braceStart + 2 && braceNeg)) {
|
|
958
|
+
inBrace = false;
|
|
959
|
+
}
|
|
960
|
+
acc += c;
|
|
961
|
+
continue;
|
|
962
|
+
} else if (c === "[") {
|
|
963
|
+
inBrace = true;
|
|
964
|
+
braceStart = i2;
|
|
965
|
+
braceNeg = false;
|
|
966
|
+
acc += c;
|
|
967
|
+
continue;
|
|
968
|
+
}
|
|
969
|
+
if (isExtglobType(c) && str.charAt(i2) === "(") {
|
|
970
|
+
part.push(acc);
|
|
971
|
+
acc = "";
|
|
972
|
+
const ext2 = new _AST(c, part);
|
|
973
|
+
part.push(ext2);
|
|
974
|
+
i2 = __privateMethod(_b = _AST, _AST_static, parseAST_fn).call(_b, str, ext2, i2, opt);
|
|
975
|
+
continue;
|
|
976
|
+
}
|
|
977
|
+
if (c === "|") {
|
|
978
|
+
part.push(acc);
|
|
979
|
+
acc = "";
|
|
980
|
+
parts.push(part);
|
|
981
|
+
part = new _AST(null, ast);
|
|
982
|
+
continue;
|
|
983
|
+
}
|
|
984
|
+
if (c === ")") {
|
|
985
|
+
if (acc === "" && __privateGet(ast, _parts).length === 0) {
|
|
986
|
+
__privateSet(ast, _emptyExt, true);
|
|
987
|
+
}
|
|
988
|
+
part.push(acc);
|
|
989
|
+
acc = "";
|
|
990
|
+
ast.push(...parts, part);
|
|
991
|
+
return i2;
|
|
992
|
+
}
|
|
993
|
+
acc += c;
|
|
994
|
+
}
|
|
995
|
+
ast.type = null;
|
|
996
|
+
__privateSet(ast, _hasMagic, void 0);
|
|
997
|
+
__privateSet(ast, _parts, [str.substring(pos - 1)]);
|
|
998
|
+
return i2;
|
|
999
|
+
};
|
|
1000
|
+
partsToRegExp_fn = function(dot) {
|
|
1001
|
+
return __privateGet(this, _parts).map((p) => {
|
|
1002
|
+
if (typeof p === "string") {
|
|
1003
|
+
throw new Error("string type in extglob ast??");
|
|
1004
|
+
}
|
|
1005
|
+
const [re, _, _hasMagic2, uflag] = p.toRegExpSource(dot);
|
|
1006
|
+
__privateSet(this, _uflag, __privateGet(this, _uflag) || uflag);
|
|
1007
|
+
return re;
|
|
1008
|
+
}).filter((p) => !(this.isStart() && this.isEnd()) || !!p).join("|");
|
|
1009
|
+
};
|
|
1010
|
+
parseGlob_fn = function(glob, hasMagic, noEmpty = false) {
|
|
1011
|
+
let escaping = false;
|
|
1012
|
+
let re = "";
|
|
1013
|
+
let uflag = false;
|
|
1014
|
+
for (let i2 = 0; i2 < glob.length; i2++) {
|
|
1015
|
+
const c = glob.charAt(i2);
|
|
1016
|
+
if (escaping) {
|
|
1017
|
+
escaping = false;
|
|
1018
|
+
re += (reSpecials.has(c) ? "\\" : "") + c;
|
|
1019
|
+
continue;
|
|
1020
|
+
}
|
|
1021
|
+
if (c === "\\") {
|
|
1022
|
+
if (i2 === glob.length - 1) {
|
|
1023
|
+
re += "\\\\";
|
|
1024
|
+
} else {
|
|
1025
|
+
escaping = true;
|
|
1026
|
+
}
|
|
1027
|
+
continue;
|
|
1028
|
+
}
|
|
1029
|
+
if (c === "[") {
|
|
1030
|
+
const [src, needUflag, consumed, magic] = parseClass(glob, i2);
|
|
1031
|
+
if (consumed) {
|
|
1032
|
+
re += src;
|
|
1033
|
+
uflag = uflag || needUflag;
|
|
1034
|
+
i2 += consumed - 1;
|
|
1035
|
+
hasMagic = hasMagic || magic;
|
|
1036
|
+
continue;
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
if (c === "*") {
|
|
1040
|
+
if (noEmpty && glob === "*")
|
|
1041
|
+
re += starNoEmpty;
|
|
1042
|
+
else
|
|
1043
|
+
re += star;
|
|
1044
|
+
hasMagic = true;
|
|
1045
|
+
continue;
|
|
1046
|
+
}
|
|
1047
|
+
if (c === "?") {
|
|
1048
|
+
re += qmark;
|
|
1049
|
+
hasMagic = true;
|
|
1050
|
+
continue;
|
|
1051
|
+
}
|
|
1052
|
+
re += regExpEscape(c);
|
|
1053
|
+
}
|
|
1054
|
+
return [re, unescape(glob), !!hasMagic, uflag];
|
|
1055
|
+
};
|
|
1056
|
+
__privateAdd(_AST, _AST_static);
|
|
1057
|
+
var AST = _AST;
|
|
1058
|
+
|
|
1059
|
+
// node_modules/minimatch/dist/esm/escape.js
|
|
1060
|
+
var escape = (s, { windowsPathsNoEscape = false } = {}) => {
|
|
1061
|
+
return windowsPathsNoEscape ? s.replace(/[?*()[\]]/g, "[$&]") : s.replace(/[?*()[\]\\]/g, "\\$&");
|
|
1062
|
+
};
|
|
1063
|
+
|
|
1064
|
+
// node_modules/minimatch/dist/esm/index.js
|
|
1065
|
+
var minimatch = (p, pattern, options = {}) => {
|
|
1066
|
+
assertValidPattern(pattern);
|
|
1067
|
+
if (!options.nocomment && pattern.charAt(0) === "#") {
|
|
1068
|
+
return false;
|
|
1069
|
+
}
|
|
1070
|
+
return new Minimatch(pattern, options).match(p);
|
|
1071
|
+
};
|
|
1072
|
+
var starDotExtRE = /^\*+([^+@!?\*\[\(]*)$/;
|
|
1073
|
+
var starDotExtTest = (ext2) => (f) => !f.startsWith(".") && f.endsWith(ext2);
|
|
1074
|
+
var starDotExtTestDot = (ext2) => (f) => f.endsWith(ext2);
|
|
1075
|
+
var starDotExtTestNocase = (ext2) => {
|
|
1076
|
+
ext2 = ext2.toLowerCase();
|
|
1077
|
+
return (f) => !f.startsWith(".") && f.toLowerCase().endsWith(ext2);
|
|
1078
|
+
};
|
|
1079
|
+
var starDotExtTestNocaseDot = (ext2) => {
|
|
1080
|
+
ext2 = ext2.toLowerCase();
|
|
1081
|
+
return (f) => f.toLowerCase().endsWith(ext2);
|
|
1082
|
+
};
|
|
1083
|
+
var starDotStarRE = /^\*+\.\*+$/;
|
|
1084
|
+
var starDotStarTest = (f) => !f.startsWith(".") && f.includes(".");
|
|
1085
|
+
var starDotStarTestDot = (f) => f !== "." && f !== ".." && f.includes(".");
|
|
1086
|
+
var dotStarRE = /^\.\*+$/;
|
|
1087
|
+
var dotStarTest = (f) => f !== "." && f !== ".." && f.startsWith(".");
|
|
1088
|
+
var starRE = /^\*+$/;
|
|
1089
|
+
var starTest = (f) => f.length !== 0 && !f.startsWith(".");
|
|
1090
|
+
var starTestDot = (f) => f.length !== 0 && f !== "." && f !== "..";
|
|
1091
|
+
var qmarksRE = /^\?+([^+@!?\*\[\(]*)?$/;
|
|
1092
|
+
var qmarksTestNocase = ([$0, ext2 = ""]) => {
|
|
1093
|
+
const noext = qmarksTestNoExt([$0]);
|
|
1094
|
+
if (!ext2)
|
|
1095
|
+
return noext;
|
|
1096
|
+
ext2 = ext2.toLowerCase();
|
|
1097
|
+
return (f) => noext(f) && f.toLowerCase().endsWith(ext2);
|
|
1098
|
+
};
|
|
1099
|
+
var qmarksTestNocaseDot = ([$0, ext2 = ""]) => {
|
|
1100
|
+
const noext = qmarksTestNoExtDot([$0]);
|
|
1101
|
+
if (!ext2)
|
|
1102
|
+
return noext;
|
|
1103
|
+
ext2 = ext2.toLowerCase();
|
|
1104
|
+
return (f) => noext(f) && f.toLowerCase().endsWith(ext2);
|
|
1105
|
+
};
|
|
1106
|
+
var qmarksTestDot = ([$0, ext2 = ""]) => {
|
|
1107
|
+
const noext = qmarksTestNoExtDot([$0]);
|
|
1108
|
+
return !ext2 ? noext : (f) => noext(f) && f.endsWith(ext2);
|
|
1109
|
+
};
|
|
1110
|
+
var qmarksTest = ([$0, ext2 = ""]) => {
|
|
1111
|
+
const noext = qmarksTestNoExt([$0]);
|
|
1112
|
+
return !ext2 ? noext : (f) => noext(f) && f.endsWith(ext2);
|
|
1113
|
+
};
|
|
1114
|
+
var qmarksTestNoExt = ([$0]) => {
|
|
1115
|
+
const len = $0.length;
|
|
1116
|
+
return (f) => f.length === len && !f.startsWith(".");
|
|
1117
|
+
};
|
|
1118
|
+
var qmarksTestNoExtDot = ([$0]) => {
|
|
1119
|
+
const len = $0.length;
|
|
1120
|
+
return (f) => f.length === len && f !== "." && f !== "..";
|
|
1121
|
+
};
|
|
1122
|
+
var defaultPlatform = typeof process === "object" && process ? typeof process.env === "object" && process.env && process.env.__MINIMATCH_TESTING_PLATFORM__ || process.platform : "posix";
|
|
1123
|
+
var path = {
|
|
1124
|
+
win32: { sep: "\\" },
|
|
1125
|
+
posix: { sep: "/" }
|
|
1126
|
+
};
|
|
1127
|
+
var sep = defaultPlatform === "win32" ? path.win32.sep : path.posix.sep;
|
|
1128
|
+
minimatch.sep = sep;
|
|
1129
|
+
var GLOBSTAR = Symbol("globstar **");
|
|
1130
|
+
minimatch.GLOBSTAR = GLOBSTAR;
|
|
1131
|
+
var qmark2 = "[^/]";
|
|
1132
|
+
var star2 = qmark2 + "*?";
|
|
1133
|
+
var twoStarDot = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";
|
|
1134
|
+
var twoStarNoDot = "(?:(?!(?:\\/|^)\\.).)*?";
|
|
1135
|
+
var filter = (pattern, options = {}) => (p) => minimatch(p, pattern, options);
|
|
1136
|
+
minimatch.filter = filter;
|
|
1137
|
+
var ext = (a, b = {}) => Object.assign({}, a, b);
|
|
1138
|
+
var defaults = (def) => {
|
|
1139
|
+
if (!def || typeof def !== "object" || !Object.keys(def).length) {
|
|
1140
|
+
return minimatch;
|
|
1141
|
+
}
|
|
1142
|
+
const orig = minimatch;
|
|
1143
|
+
const m = (p, pattern, options = {}) => orig(p, pattern, ext(def, options));
|
|
1144
|
+
return Object.assign(m, {
|
|
1145
|
+
Minimatch: class Minimatch extends orig.Minimatch {
|
|
1146
|
+
constructor(pattern, options = {}) {
|
|
1147
|
+
super(pattern, ext(def, options));
|
|
1148
|
+
}
|
|
1149
|
+
static defaults(options) {
|
|
1150
|
+
return orig.defaults(ext(def, options)).Minimatch;
|
|
1151
|
+
}
|
|
1152
|
+
},
|
|
1153
|
+
AST: class AST extends orig.AST {
|
|
1154
|
+
/* c8 ignore start */
|
|
1155
|
+
constructor(type, parent, options = {}) {
|
|
1156
|
+
super(type, parent, ext(def, options));
|
|
1157
|
+
}
|
|
1158
|
+
/* c8 ignore stop */
|
|
1159
|
+
static fromGlob(pattern, options = {}) {
|
|
1160
|
+
return orig.AST.fromGlob(pattern, ext(def, options));
|
|
1161
|
+
}
|
|
1162
|
+
},
|
|
1163
|
+
unescape: (s, options = {}) => orig.unescape(s, ext(def, options)),
|
|
1164
|
+
escape: (s, options = {}) => orig.escape(s, ext(def, options)),
|
|
1165
|
+
filter: (pattern, options = {}) => orig.filter(pattern, ext(def, options)),
|
|
1166
|
+
defaults: (options) => orig.defaults(ext(def, options)),
|
|
1167
|
+
makeRe: (pattern, options = {}) => orig.makeRe(pattern, ext(def, options)),
|
|
1168
|
+
braceExpand: (pattern, options = {}) => orig.braceExpand(pattern, ext(def, options)),
|
|
1169
|
+
match: (list, pattern, options = {}) => orig.match(list, pattern, ext(def, options)),
|
|
1170
|
+
sep: orig.sep,
|
|
1171
|
+
GLOBSTAR
|
|
1172
|
+
});
|
|
1173
|
+
};
|
|
1174
|
+
minimatch.defaults = defaults;
|
|
1175
|
+
var braceExpand = (pattern, options = {}) => {
|
|
1176
|
+
assertValidPattern(pattern);
|
|
1177
|
+
if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) {
|
|
1178
|
+
return [pattern];
|
|
1179
|
+
}
|
|
1180
|
+
return (0, import_brace_expansion.default)(pattern);
|
|
1181
|
+
};
|
|
1182
|
+
minimatch.braceExpand = braceExpand;
|
|
1183
|
+
var makeRe = (pattern, options = {}) => new Minimatch(pattern, options).makeRe();
|
|
1184
|
+
minimatch.makeRe = makeRe;
|
|
1185
|
+
var match = (list, pattern, options = {}) => {
|
|
1186
|
+
const mm = new Minimatch(pattern, options);
|
|
1187
|
+
list = list.filter((f) => mm.match(f));
|
|
1188
|
+
if (mm.options.nonull && !list.length) {
|
|
1189
|
+
list.push(pattern);
|
|
1190
|
+
}
|
|
1191
|
+
return list;
|
|
1192
|
+
};
|
|
1193
|
+
minimatch.match = match;
|
|
1194
|
+
var globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/;
|
|
1195
|
+
var regExpEscape2 = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
1196
|
+
var Minimatch = class {
|
|
1197
|
+
options;
|
|
1198
|
+
set;
|
|
1199
|
+
pattern;
|
|
1200
|
+
windowsPathsNoEscape;
|
|
1201
|
+
nonegate;
|
|
1202
|
+
negate;
|
|
1203
|
+
comment;
|
|
1204
|
+
empty;
|
|
1205
|
+
preserveMultipleSlashes;
|
|
1206
|
+
partial;
|
|
1207
|
+
globSet;
|
|
1208
|
+
globParts;
|
|
1209
|
+
nocase;
|
|
1210
|
+
isWindows;
|
|
1211
|
+
platform;
|
|
1212
|
+
windowsNoMagicRoot;
|
|
1213
|
+
regexp;
|
|
1214
|
+
constructor(pattern, options = {}) {
|
|
1215
|
+
assertValidPattern(pattern);
|
|
1216
|
+
options = options || {};
|
|
1217
|
+
this.options = options;
|
|
1218
|
+
this.pattern = pattern;
|
|
1219
|
+
this.platform = options.platform || defaultPlatform;
|
|
1220
|
+
this.isWindows = this.platform === "win32";
|
|
1221
|
+
this.windowsPathsNoEscape = !!options.windowsPathsNoEscape || options.allowWindowsEscape === false;
|
|
1222
|
+
if (this.windowsPathsNoEscape) {
|
|
1223
|
+
this.pattern = this.pattern.replace(/\\/g, "/");
|
|
1224
|
+
}
|
|
1225
|
+
this.preserveMultipleSlashes = !!options.preserveMultipleSlashes;
|
|
1226
|
+
this.regexp = null;
|
|
1227
|
+
this.negate = false;
|
|
1228
|
+
this.nonegate = !!options.nonegate;
|
|
1229
|
+
this.comment = false;
|
|
1230
|
+
this.empty = false;
|
|
1231
|
+
this.partial = !!options.partial;
|
|
1232
|
+
this.nocase = !!this.options.nocase;
|
|
1233
|
+
this.windowsNoMagicRoot = options.windowsNoMagicRoot !== void 0 ? options.windowsNoMagicRoot : !!(this.isWindows && this.nocase);
|
|
1234
|
+
this.globSet = [];
|
|
1235
|
+
this.globParts = [];
|
|
1236
|
+
this.set = [];
|
|
1237
|
+
this.make();
|
|
1238
|
+
}
|
|
1239
|
+
hasMagic() {
|
|
1240
|
+
if (this.options.magicalBraces && this.set.length > 1) {
|
|
1241
|
+
return true;
|
|
1242
|
+
}
|
|
1243
|
+
for (const pattern of this.set) {
|
|
1244
|
+
for (const part of pattern) {
|
|
1245
|
+
if (typeof part !== "string")
|
|
1246
|
+
return true;
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
return false;
|
|
1250
|
+
}
|
|
1251
|
+
debug(..._) {
|
|
1252
|
+
}
|
|
1253
|
+
make() {
|
|
1254
|
+
const pattern = this.pattern;
|
|
1255
|
+
const options = this.options;
|
|
1256
|
+
if (!options.nocomment && pattern.charAt(0) === "#") {
|
|
1257
|
+
this.comment = true;
|
|
1258
|
+
return;
|
|
1259
|
+
}
|
|
1260
|
+
if (!pattern) {
|
|
1261
|
+
this.empty = true;
|
|
1262
|
+
return;
|
|
1263
|
+
}
|
|
1264
|
+
this.parseNegate();
|
|
1265
|
+
this.globSet = [...new Set(this.braceExpand())];
|
|
1266
|
+
if (options.debug) {
|
|
1267
|
+
this.debug = (...args) => console.error(...args);
|
|
1268
|
+
}
|
|
1269
|
+
this.debug(this.pattern, this.globSet);
|
|
1270
|
+
const rawGlobParts = this.globSet.map((s) => this.slashSplit(s));
|
|
1271
|
+
this.globParts = this.preprocess(rawGlobParts);
|
|
1272
|
+
this.debug(this.pattern, this.globParts);
|
|
1273
|
+
let set = this.globParts.map((s, _, __) => {
|
|
1274
|
+
if (this.isWindows && this.windowsNoMagicRoot) {
|
|
1275
|
+
const isUNC = s[0] === "" && s[1] === "" && (s[2] === "?" || !globMagic.test(s[2])) && !globMagic.test(s[3]);
|
|
1276
|
+
const isDrive = /^[a-z]:/i.test(s[0]);
|
|
1277
|
+
if (isUNC) {
|
|
1278
|
+
return [...s.slice(0, 4), ...s.slice(4).map((ss) => this.parse(ss))];
|
|
1279
|
+
} else if (isDrive) {
|
|
1280
|
+
return [s[0], ...s.slice(1).map((ss) => this.parse(ss))];
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
return s.map((ss) => this.parse(ss));
|
|
1284
|
+
});
|
|
1285
|
+
this.debug(this.pattern, set);
|
|
1286
|
+
this.set = set.filter((s) => s.indexOf(false) === -1);
|
|
1287
|
+
if (this.isWindows) {
|
|
1288
|
+
for (let i2 = 0; i2 < this.set.length; i2++) {
|
|
1289
|
+
const p = this.set[i2];
|
|
1290
|
+
if (p[0] === "" && p[1] === "" && this.globParts[i2][2] === "?" && typeof p[3] === "string" && /^[a-z]:$/i.test(p[3])) {
|
|
1291
|
+
p[2] = "?";
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
this.debug(this.pattern, this.set);
|
|
1296
|
+
}
|
|
1297
|
+
// various transforms to equivalent pattern sets that are
|
|
1298
|
+
// faster to process in a filesystem walk. The goal is to
|
|
1299
|
+
// eliminate what we can, and push all ** patterns as far
|
|
1300
|
+
// to the right as possible, even if it increases the number
|
|
1301
|
+
// of patterns that we have to process.
|
|
1302
|
+
preprocess(globParts) {
|
|
1303
|
+
if (this.options.noglobstar) {
|
|
1304
|
+
for (let i2 = 0; i2 < globParts.length; i2++) {
|
|
1305
|
+
for (let j = 0; j < globParts[i2].length; j++) {
|
|
1306
|
+
if (globParts[i2][j] === "**") {
|
|
1307
|
+
globParts[i2][j] = "*";
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
}
|
|
1312
|
+
const { optimizationLevel = 1 } = this.options;
|
|
1313
|
+
if (optimizationLevel >= 2) {
|
|
1314
|
+
globParts = this.firstPhasePreProcess(globParts);
|
|
1315
|
+
globParts = this.secondPhasePreProcess(globParts);
|
|
1316
|
+
} else if (optimizationLevel >= 1) {
|
|
1317
|
+
globParts = this.levelOneOptimize(globParts);
|
|
1318
|
+
} else {
|
|
1319
|
+
globParts = this.adjascentGlobstarOptimize(globParts);
|
|
1320
|
+
}
|
|
1321
|
+
return globParts;
|
|
1322
|
+
}
|
|
1323
|
+
// just get rid of adjascent ** portions
|
|
1324
|
+
adjascentGlobstarOptimize(globParts) {
|
|
1325
|
+
return globParts.map((parts) => {
|
|
1326
|
+
let gs = -1;
|
|
1327
|
+
while (-1 !== (gs = parts.indexOf("**", gs + 1))) {
|
|
1328
|
+
let i2 = gs;
|
|
1329
|
+
while (parts[i2 + 1] === "**") {
|
|
1330
|
+
i2++;
|
|
1331
|
+
}
|
|
1332
|
+
if (i2 !== gs) {
|
|
1333
|
+
parts.splice(gs, i2 - gs);
|
|
1334
|
+
}
|
|
1335
|
+
}
|
|
1336
|
+
return parts;
|
|
1337
|
+
});
|
|
1338
|
+
}
|
|
1339
|
+
// get rid of adjascent ** and resolve .. portions
|
|
1340
|
+
levelOneOptimize(globParts) {
|
|
1341
|
+
return globParts.map((parts) => {
|
|
1342
|
+
parts = parts.reduce((set, part) => {
|
|
1343
|
+
const prev = set[set.length - 1];
|
|
1344
|
+
if (part === "**" && prev === "**") {
|
|
1345
|
+
return set;
|
|
1346
|
+
}
|
|
1347
|
+
if (part === "..") {
|
|
1348
|
+
if (prev && prev !== ".." && prev !== "." && prev !== "**") {
|
|
1349
|
+
set.pop();
|
|
1350
|
+
return set;
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
set.push(part);
|
|
1354
|
+
return set;
|
|
1355
|
+
}, []);
|
|
1356
|
+
return parts.length === 0 ? [""] : parts;
|
|
1357
|
+
});
|
|
1358
|
+
}
|
|
1359
|
+
levelTwoFileOptimize(parts) {
|
|
1360
|
+
if (!Array.isArray(parts)) {
|
|
1361
|
+
parts = this.slashSplit(parts);
|
|
1362
|
+
}
|
|
1363
|
+
let didSomething = false;
|
|
1364
|
+
do {
|
|
1365
|
+
didSomething = false;
|
|
1366
|
+
if (!this.preserveMultipleSlashes) {
|
|
1367
|
+
for (let i2 = 1; i2 < parts.length - 1; i2++) {
|
|
1368
|
+
const p = parts[i2];
|
|
1369
|
+
if (i2 === 1 && p === "" && parts[0] === "")
|
|
1370
|
+
continue;
|
|
1371
|
+
if (p === "." || p === "") {
|
|
1372
|
+
didSomething = true;
|
|
1373
|
+
parts.splice(i2, 1);
|
|
1374
|
+
i2--;
|
|
1375
|
+
}
|
|
1376
|
+
}
|
|
1377
|
+
if (parts[0] === "." && parts.length === 2 && (parts[1] === "." || parts[1] === "")) {
|
|
1378
|
+
didSomething = true;
|
|
1379
|
+
parts.pop();
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
let dd = 0;
|
|
1383
|
+
while (-1 !== (dd = parts.indexOf("..", dd + 1))) {
|
|
1384
|
+
const p = parts[dd - 1];
|
|
1385
|
+
if (p && p !== "." && p !== ".." && p !== "**") {
|
|
1386
|
+
didSomething = true;
|
|
1387
|
+
parts.splice(dd - 1, 2);
|
|
1388
|
+
dd -= 2;
|
|
1389
|
+
}
|
|
1390
|
+
}
|
|
1391
|
+
} while (didSomething);
|
|
1392
|
+
return parts.length === 0 ? [""] : parts;
|
|
1393
|
+
}
|
|
1394
|
+
// First phase: single-pattern processing
|
|
1395
|
+
// <pre> is 1 or more portions
|
|
1396
|
+
// <rest> is 1 or more portions
|
|
1397
|
+
// <p> is any portion other than ., .., '', or **
|
|
1398
|
+
// <e> is . or ''
|
|
1399
|
+
//
|
|
1400
|
+
// **/.. is *brutal* for filesystem walking performance, because
|
|
1401
|
+
// it effectively resets the recursive walk each time it occurs,
|
|
1402
|
+
// and ** cannot be reduced out by a .. pattern part like a regexp
|
|
1403
|
+
// or most strings (other than .., ., and '') can be.
|
|
1404
|
+
//
|
|
1405
|
+
// <pre>/**/../<p>/<p>/<rest> -> {<pre>/../<p>/<p>/<rest>,<pre>/**/<p>/<p>/<rest>}
|
|
1406
|
+
// <pre>/<e>/<rest> -> <pre>/<rest>
|
|
1407
|
+
// <pre>/<p>/../<rest> -> <pre>/<rest>
|
|
1408
|
+
// **/**/<rest> -> **/<rest>
|
|
1409
|
+
//
|
|
1410
|
+
// **/*/<rest> -> */**/<rest> <== not valid because ** doesn't follow
|
|
1411
|
+
// this WOULD be allowed if ** did follow symlinks, or * didn't
|
|
1412
|
+
firstPhasePreProcess(globParts) {
|
|
1413
|
+
let didSomething = false;
|
|
1414
|
+
do {
|
|
1415
|
+
didSomething = false;
|
|
1416
|
+
for (let parts of globParts) {
|
|
1417
|
+
let gs = -1;
|
|
1418
|
+
while (-1 !== (gs = parts.indexOf("**", gs + 1))) {
|
|
1419
|
+
let gss = gs;
|
|
1420
|
+
while (parts[gss + 1] === "**") {
|
|
1421
|
+
gss++;
|
|
1422
|
+
}
|
|
1423
|
+
if (gss > gs) {
|
|
1424
|
+
parts.splice(gs + 1, gss - gs);
|
|
1425
|
+
}
|
|
1426
|
+
let next = parts[gs + 1];
|
|
1427
|
+
const p = parts[gs + 2];
|
|
1428
|
+
const p2 = parts[gs + 3];
|
|
1429
|
+
if (next !== "..")
|
|
1430
|
+
continue;
|
|
1431
|
+
if (!p || p === "." || p === ".." || !p2 || p2 === "." || p2 === "..") {
|
|
1432
|
+
continue;
|
|
1433
|
+
}
|
|
1434
|
+
didSomething = true;
|
|
1435
|
+
parts.splice(gs, 1);
|
|
1436
|
+
const other = parts.slice(0);
|
|
1437
|
+
other[gs] = "**";
|
|
1438
|
+
globParts.push(other);
|
|
1439
|
+
gs--;
|
|
1440
|
+
}
|
|
1441
|
+
if (!this.preserveMultipleSlashes) {
|
|
1442
|
+
for (let i2 = 1; i2 < parts.length - 1; i2++) {
|
|
1443
|
+
const p = parts[i2];
|
|
1444
|
+
if (i2 === 1 && p === "" && parts[0] === "")
|
|
1445
|
+
continue;
|
|
1446
|
+
if (p === "." || p === "") {
|
|
1447
|
+
didSomething = true;
|
|
1448
|
+
parts.splice(i2, 1);
|
|
1449
|
+
i2--;
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
if (parts[0] === "." && parts.length === 2 && (parts[1] === "." || parts[1] === "")) {
|
|
1453
|
+
didSomething = true;
|
|
1454
|
+
parts.pop();
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
let dd = 0;
|
|
1458
|
+
while (-1 !== (dd = parts.indexOf("..", dd + 1))) {
|
|
1459
|
+
const p = parts[dd - 1];
|
|
1460
|
+
if (p && p !== "." && p !== ".." && p !== "**") {
|
|
1461
|
+
didSomething = true;
|
|
1462
|
+
const needDot = dd === 1 && parts[dd + 1] === "**";
|
|
1463
|
+
const splin = needDot ? ["."] : [];
|
|
1464
|
+
parts.splice(dd - 1, 2, ...splin);
|
|
1465
|
+
if (parts.length === 0)
|
|
1466
|
+
parts.push("");
|
|
1467
|
+
dd -= 2;
|
|
1468
|
+
}
|
|
1469
|
+
}
|
|
1470
|
+
}
|
|
1471
|
+
} while (didSomething);
|
|
1472
|
+
return globParts;
|
|
1473
|
+
}
|
|
1474
|
+
// second phase: multi-pattern dedupes
|
|
1475
|
+
// {<pre>/*/<rest>,<pre>/<p>/<rest>} -> <pre>/*/<rest>
|
|
1476
|
+
// {<pre>/<rest>,<pre>/<rest>} -> <pre>/<rest>
|
|
1477
|
+
// {<pre>/**/<rest>,<pre>/<rest>} -> <pre>/**/<rest>
|
|
1478
|
+
//
|
|
1479
|
+
// {<pre>/**/<rest>,<pre>/**/<p>/<rest>} -> <pre>/**/<rest>
|
|
1480
|
+
// ^-- not valid because ** doens't follow symlinks
|
|
1481
|
+
secondPhasePreProcess(globParts) {
|
|
1482
|
+
for (let i2 = 0; i2 < globParts.length - 1; i2++) {
|
|
1483
|
+
for (let j = i2 + 1; j < globParts.length; j++) {
|
|
1484
|
+
const matched = this.partsMatch(globParts[i2], globParts[j], !this.preserveMultipleSlashes);
|
|
1485
|
+
if (!matched)
|
|
1486
|
+
continue;
|
|
1487
|
+
globParts[i2] = matched;
|
|
1488
|
+
globParts[j] = [];
|
|
1489
|
+
}
|
|
1490
|
+
}
|
|
1491
|
+
return globParts.filter((gs) => gs.length);
|
|
1492
|
+
}
|
|
1493
|
+
partsMatch(a, b, emptyGSMatch = false) {
|
|
1494
|
+
let ai = 0;
|
|
1495
|
+
let bi = 0;
|
|
1496
|
+
let result = [];
|
|
1497
|
+
let which = "";
|
|
1498
|
+
while (ai < a.length && bi < b.length) {
|
|
1499
|
+
if (a[ai] === b[bi]) {
|
|
1500
|
+
result.push(which === "b" ? b[bi] : a[ai]);
|
|
1501
|
+
ai++;
|
|
1502
|
+
bi++;
|
|
1503
|
+
} else if (emptyGSMatch && a[ai] === "**" && b[bi] === a[ai + 1]) {
|
|
1504
|
+
result.push(a[ai]);
|
|
1505
|
+
ai++;
|
|
1506
|
+
} else if (emptyGSMatch && b[bi] === "**" && a[ai] === b[bi + 1]) {
|
|
1507
|
+
result.push(b[bi]);
|
|
1508
|
+
bi++;
|
|
1509
|
+
} else if (a[ai] === "*" && b[bi] && (this.options.dot || !b[bi].startsWith(".")) && b[bi] !== "**") {
|
|
1510
|
+
if (which === "b")
|
|
1511
|
+
return false;
|
|
1512
|
+
which = "a";
|
|
1513
|
+
result.push(a[ai]);
|
|
1514
|
+
ai++;
|
|
1515
|
+
bi++;
|
|
1516
|
+
} else if (b[bi] === "*" && a[ai] && (this.options.dot || !a[ai].startsWith(".")) && a[ai] !== "**") {
|
|
1517
|
+
if (which === "a")
|
|
1518
|
+
return false;
|
|
1519
|
+
which = "b";
|
|
1520
|
+
result.push(b[bi]);
|
|
1521
|
+
ai++;
|
|
1522
|
+
bi++;
|
|
1523
|
+
} else {
|
|
1524
|
+
return false;
|
|
1525
|
+
}
|
|
1526
|
+
}
|
|
1527
|
+
return a.length === b.length && result;
|
|
1528
|
+
}
|
|
1529
|
+
parseNegate() {
|
|
1530
|
+
if (this.nonegate)
|
|
1531
|
+
return;
|
|
1532
|
+
const pattern = this.pattern;
|
|
1533
|
+
let negate = false;
|
|
1534
|
+
let negateOffset = 0;
|
|
1535
|
+
for (let i2 = 0; i2 < pattern.length && pattern.charAt(i2) === "!"; i2++) {
|
|
1536
|
+
negate = !negate;
|
|
1537
|
+
negateOffset++;
|
|
1538
|
+
}
|
|
1539
|
+
if (negateOffset)
|
|
1540
|
+
this.pattern = pattern.slice(negateOffset);
|
|
1541
|
+
this.negate = negate;
|
|
1542
|
+
}
|
|
1543
|
+
// set partial to true to test if, for example,
|
|
1544
|
+
// "/a/b" matches the start of "/*/b/*/d"
|
|
1545
|
+
// Partial means, if you run out of file before you run
|
|
1546
|
+
// out of pattern, then that's fine, as long as all
|
|
1547
|
+
// the parts match.
|
|
1548
|
+
matchOne(file, pattern, partial = false) {
|
|
1549
|
+
const options = this.options;
|
|
1550
|
+
if (this.isWindows) {
|
|
1551
|
+
const fileDrive = typeof file[0] === "string" && /^[a-z]:$/i.test(file[0]);
|
|
1552
|
+
const fileUNC = !fileDrive && file[0] === "" && file[1] === "" && file[2] === "?" && /^[a-z]:$/i.test(file[3]);
|
|
1553
|
+
const patternDrive = typeof pattern[0] === "string" && /^[a-z]:$/i.test(pattern[0]);
|
|
1554
|
+
const patternUNC = !patternDrive && pattern[0] === "" && pattern[1] === "" && pattern[2] === "?" && typeof pattern[3] === "string" && /^[a-z]:$/i.test(pattern[3]);
|
|
1555
|
+
const fdi = fileUNC ? 3 : fileDrive ? 0 : void 0;
|
|
1556
|
+
const pdi = patternUNC ? 3 : patternDrive ? 0 : void 0;
|
|
1557
|
+
if (typeof fdi === "number" && typeof pdi === "number") {
|
|
1558
|
+
const [fd, pd] = [file[fdi], pattern[pdi]];
|
|
1559
|
+
if (fd.toLowerCase() === pd.toLowerCase()) {
|
|
1560
|
+
pattern[pdi] = fd;
|
|
1561
|
+
if (pdi > fdi) {
|
|
1562
|
+
pattern = pattern.slice(pdi);
|
|
1563
|
+
} else if (fdi > pdi) {
|
|
1564
|
+
file = file.slice(fdi);
|
|
1565
|
+
}
|
|
1566
|
+
}
|
|
1567
|
+
}
|
|
1568
|
+
}
|
|
1569
|
+
const { optimizationLevel = 1 } = this.options;
|
|
1570
|
+
if (optimizationLevel >= 2) {
|
|
1571
|
+
file = this.levelTwoFileOptimize(file);
|
|
1572
|
+
}
|
|
1573
|
+
this.debug("matchOne", this, { file, pattern });
|
|
1574
|
+
this.debug("matchOne", file.length, pattern.length);
|
|
1575
|
+
for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
|
|
1576
|
+
this.debug("matchOne loop");
|
|
1577
|
+
var p = pattern[pi];
|
|
1578
|
+
var f = file[fi];
|
|
1579
|
+
this.debug(pattern, p, f);
|
|
1580
|
+
if (p === false) {
|
|
1581
|
+
return false;
|
|
1582
|
+
}
|
|
1583
|
+
if (p === GLOBSTAR) {
|
|
1584
|
+
this.debug("GLOBSTAR", [pattern, p, f]);
|
|
1585
|
+
var fr = fi;
|
|
1586
|
+
var pr = pi + 1;
|
|
1587
|
+
if (pr === pl) {
|
|
1588
|
+
this.debug("** at the end");
|
|
1589
|
+
for (; fi < fl; fi++) {
|
|
1590
|
+
if (file[fi] === "." || file[fi] === ".." || !options.dot && file[fi].charAt(0) === ".")
|
|
1591
|
+
return false;
|
|
1592
|
+
}
|
|
1593
|
+
return true;
|
|
1594
|
+
}
|
|
1595
|
+
while (fr < fl) {
|
|
1596
|
+
var swallowee = file[fr];
|
|
1597
|
+
this.debug("\nglobstar while", file, fr, pattern, pr, swallowee);
|
|
1598
|
+
if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {
|
|
1599
|
+
this.debug("globstar found match!", fr, fl, swallowee);
|
|
1600
|
+
return true;
|
|
1601
|
+
} else {
|
|
1602
|
+
if (swallowee === "." || swallowee === ".." || !options.dot && swallowee.charAt(0) === ".") {
|
|
1603
|
+
this.debug("dot detected!", file, fr, pattern, pr);
|
|
1604
|
+
break;
|
|
1605
|
+
}
|
|
1606
|
+
this.debug("globstar swallow a segment, and continue");
|
|
1607
|
+
fr++;
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
if (partial) {
|
|
1611
|
+
this.debug("\n>>> no match, partial?", file, fr, pattern, pr);
|
|
1612
|
+
if (fr === fl) {
|
|
1613
|
+
return true;
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
return false;
|
|
1617
|
+
}
|
|
1618
|
+
let hit;
|
|
1619
|
+
if (typeof p === "string") {
|
|
1620
|
+
hit = f === p;
|
|
1621
|
+
this.debug("string match", p, f, hit);
|
|
1622
|
+
} else {
|
|
1623
|
+
hit = p.test(f);
|
|
1624
|
+
this.debug("pattern match", p, f, hit);
|
|
1625
|
+
}
|
|
1626
|
+
if (!hit)
|
|
1627
|
+
return false;
|
|
1628
|
+
}
|
|
1629
|
+
if (fi === fl && pi === pl) {
|
|
1630
|
+
return true;
|
|
1631
|
+
} else if (fi === fl) {
|
|
1632
|
+
return partial;
|
|
1633
|
+
} else if (pi === pl) {
|
|
1634
|
+
return fi === fl - 1 && file[fi] === "";
|
|
1635
|
+
} else {
|
|
1636
|
+
throw new Error("wtf?");
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
braceExpand() {
|
|
1640
|
+
return braceExpand(this.pattern, this.options);
|
|
1641
|
+
}
|
|
1642
|
+
parse(pattern) {
|
|
1643
|
+
assertValidPattern(pattern);
|
|
1644
|
+
const options = this.options;
|
|
1645
|
+
if (pattern === "**")
|
|
1646
|
+
return GLOBSTAR;
|
|
1647
|
+
if (pattern === "")
|
|
1648
|
+
return "";
|
|
1649
|
+
let m;
|
|
1650
|
+
let fastTest = null;
|
|
1651
|
+
if (m = pattern.match(starRE)) {
|
|
1652
|
+
fastTest = options.dot ? starTestDot : starTest;
|
|
1653
|
+
} else if (m = pattern.match(starDotExtRE)) {
|
|
1654
|
+
fastTest = (options.nocase ? options.dot ? starDotExtTestNocaseDot : starDotExtTestNocase : options.dot ? starDotExtTestDot : starDotExtTest)(m[1]);
|
|
1655
|
+
} else if (m = pattern.match(qmarksRE)) {
|
|
1656
|
+
fastTest = (options.nocase ? options.dot ? qmarksTestNocaseDot : qmarksTestNocase : options.dot ? qmarksTestDot : qmarksTest)(m);
|
|
1657
|
+
} else if (m = pattern.match(starDotStarRE)) {
|
|
1658
|
+
fastTest = options.dot ? starDotStarTestDot : starDotStarTest;
|
|
1659
|
+
} else if (m = pattern.match(dotStarRE)) {
|
|
1660
|
+
fastTest = dotStarTest;
|
|
1661
|
+
}
|
|
1662
|
+
const re = AST.fromGlob(pattern, this.options).toMMPattern();
|
|
1663
|
+
if (fastTest && typeof re === "object") {
|
|
1664
|
+
Reflect.defineProperty(re, "test", { value: fastTest });
|
|
1665
|
+
}
|
|
1666
|
+
return re;
|
|
1667
|
+
}
|
|
1668
|
+
makeRe() {
|
|
1669
|
+
if (this.regexp || this.regexp === false)
|
|
1670
|
+
return this.regexp;
|
|
1671
|
+
const set = this.set;
|
|
1672
|
+
if (!set.length) {
|
|
1673
|
+
this.regexp = false;
|
|
1674
|
+
return this.regexp;
|
|
1675
|
+
}
|
|
1676
|
+
const options = this.options;
|
|
1677
|
+
const twoStar = options.noglobstar ? star2 : options.dot ? twoStarDot : twoStarNoDot;
|
|
1678
|
+
const flags = new Set(options.nocase ? ["i"] : []);
|
|
1679
|
+
let re = set.map((pattern) => {
|
|
1680
|
+
const pp = pattern.map((p) => {
|
|
1681
|
+
if (p instanceof RegExp) {
|
|
1682
|
+
for (const f of p.flags.split(""))
|
|
1683
|
+
flags.add(f);
|
|
1684
|
+
}
|
|
1685
|
+
return typeof p === "string" ? regExpEscape2(p) : p === GLOBSTAR ? GLOBSTAR : p._src;
|
|
1686
|
+
});
|
|
1687
|
+
pp.forEach((p, i2) => {
|
|
1688
|
+
const next = pp[i2 + 1];
|
|
1689
|
+
const prev = pp[i2 - 1];
|
|
1690
|
+
if (p !== GLOBSTAR || prev === GLOBSTAR) {
|
|
1691
|
+
return;
|
|
1692
|
+
}
|
|
1693
|
+
if (prev === void 0) {
|
|
1694
|
+
if (next !== void 0 && next !== GLOBSTAR) {
|
|
1695
|
+
pp[i2 + 1] = "(?:\\/|" + twoStar + "\\/)?" + next;
|
|
1696
|
+
} else {
|
|
1697
|
+
pp[i2] = twoStar;
|
|
1698
|
+
}
|
|
1699
|
+
} else if (next === void 0) {
|
|
1700
|
+
pp[i2 - 1] = prev + "(?:\\/|" + twoStar + ")?";
|
|
1701
|
+
} else if (next !== GLOBSTAR) {
|
|
1702
|
+
pp[i2 - 1] = prev + "(?:\\/|\\/" + twoStar + "\\/)" + next;
|
|
1703
|
+
pp[i2 + 1] = GLOBSTAR;
|
|
1704
|
+
}
|
|
1705
|
+
});
|
|
1706
|
+
return pp.filter((p) => p !== GLOBSTAR).join("/");
|
|
1707
|
+
}).join("|");
|
|
1708
|
+
const [open, close] = set.length > 1 ? ["(?:", ")"] : ["", ""];
|
|
1709
|
+
re = "^" + open + re + close + "$";
|
|
1710
|
+
if (this.negate)
|
|
1711
|
+
re = "^(?!" + re + ").+$";
|
|
1712
|
+
try {
|
|
1713
|
+
this.regexp = new RegExp(re, [...flags].join(""));
|
|
1714
|
+
} catch (ex) {
|
|
1715
|
+
this.regexp = false;
|
|
1716
|
+
}
|
|
1717
|
+
return this.regexp;
|
|
1718
|
+
}
|
|
1719
|
+
slashSplit(p) {
|
|
1720
|
+
if (this.preserveMultipleSlashes) {
|
|
1721
|
+
return p.split("/");
|
|
1722
|
+
} else if (this.isWindows && /^\/\/[^\/]+/.test(p)) {
|
|
1723
|
+
return ["", ...p.split(/\/+/)];
|
|
1724
|
+
} else {
|
|
1725
|
+
return p.split(/\/+/);
|
|
1726
|
+
}
|
|
1727
|
+
}
|
|
1728
|
+
match(f, partial = this.partial) {
|
|
1729
|
+
this.debug("match", f, this.pattern);
|
|
1730
|
+
if (this.comment) {
|
|
1731
|
+
return false;
|
|
1732
|
+
}
|
|
1733
|
+
if (this.empty) {
|
|
1734
|
+
return f === "";
|
|
1735
|
+
}
|
|
1736
|
+
if (f === "/" && partial) {
|
|
1737
|
+
return true;
|
|
1738
|
+
}
|
|
1739
|
+
const options = this.options;
|
|
1740
|
+
if (this.isWindows) {
|
|
1741
|
+
f = f.split("\\").join("/");
|
|
1742
|
+
}
|
|
1743
|
+
const ff = this.slashSplit(f);
|
|
1744
|
+
this.debug(this.pattern, "split", ff);
|
|
1745
|
+
const set = this.set;
|
|
1746
|
+
this.debug(this.pattern, "set", set);
|
|
1747
|
+
let filename = ff[ff.length - 1];
|
|
1748
|
+
if (!filename) {
|
|
1749
|
+
for (let i2 = ff.length - 2; !filename && i2 >= 0; i2--) {
|
|
1750
|
+
filename = ff[i2];
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1753
|
+
for (let i2 = 0; i2 < set.length; i2++) {
|
|
1754
|
+
const pattern = set[i2];
|
|
1755
|
+
let file = ff;
|
|
1756
|
+
if (options.matchBase && pattern.length === 1) {
|
|
1757
|
+
file = [filename];
|
|
1758
|
+
}
|
|
1759
|
+
const hit = this.matchOne(file, pattern, partial);
|
|
1760
|
+
if (hit) {
|
|
1761
|
+
if (options.flipNegate) {
|
|
1762
|
+
return true;
|
|
1763
|
+
}
|
|
1764
|
+
return !this.negate;
|
|
1765
|
+
}
|
|
1766
|
+
}
|
|
1767
|
+
if (options.flipNegate) {
|
|
1768
|
+
return false;
|
|
1769
|
+
}
|
|
1770
|
+
return this.negate;
|
|
1771
|
+
}
|
|
1772
|
+
static defaults(def) {
|
|
1773
|
+
return minimatch.defaults(def).Minimatch;
|
|
1774
|
+
}
|
|
1775
|
+
};
|
|
1776
|
+
minimatch.AST = AST;
|
|
1777
|
+
minimatch.Minimatch = Minimatch;
|
|
1778
|
+
minimatch.escape = escape;
|
|
1779
|
+
minimatch.unescape = unescape;
|
|
1780
|
+
|
|
1781
|
+
// src/utils/query-nonce-meta-tag-content.ts
|
|
1782
|
+
function queryNonceMetaTagContent(doc) {
|
|
1783
|
+
var _a, _b, _c;
|
|
1784
|
+
return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1787
|
+
// src/utils/regular-expression.ts
|
|
1788
|
+
var escapeRegExpSpecialCharacters = (text) => {
|
|
1789
|
+
return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
1790
|
+
};
|
|
1791
|
+
|
|
1792
|
+
// src/utils/result.ts
|
|
1793
|
+
var result_exports = {};
|
|
1794
|
+
__export(result_exports, {
|
|
1795
|
+
err: () => err,
|
|
1796
|
+
map: () => map,
|
|
1797
|
+
ok: () => ok,
|
|
1798
|
+
unwrap: () => unwrap,
|
|
1799
|
+
unwrapErr: () => unwrapErr
|
|
1800
|
+
});
|
|
1801
|
+
var ok = (value) => ({
|
|
1802
|
+
isOk: true,
|
|
1803
|
+
isErr: false,
|
|
1804
|
+
value
|
|
1805
|
+
});
|
|
1806
|
+
var err = (value) => ({
|
|
1807
|
+
isOk: false,
|
|
1808
|
+
isErr: true,
|
|
1809
|
+
value
|
|
1810
|
+
});
|
|
1811
|
+
function map(result, fn) {
|
|
1812
|
+
if (result.isOk) {
|
|
1813
|
+
const val = fn(result.value);
|
|
1814
|
+
if (val instanceof Promise) {
|
|
1815
|
+
return val.then((newVal) => ok(newVal));
|
|
1816
|
+
} else {
|
|
1817
|
+
return ok(val);
|
|
1818
|
+
}
|
|
1819
|
+
}
|
|
1820
|
+
if (result.isErr) {
|
|
1821
|
+
const value = result.value;
|
|
1822
|
+
return err(value);
|
|
1823
|
+
}
|
|
1824
|
+
throw "should never get here";
|
|
1825
|
+
}
|
|
1826
|
+
var unwrap = (result) => {
|
|
1827
|
+
if (result.isOk) {
|
|
1828
|
+
return result.value;
|
|
1829
|
+
} else {
|
|
1830
|
+
throw result.value;
|
|
1831
|
+
}
|
|
1832
|
+
};
|
|
1833
|
+
var unwrapErr = (result) => {
|
|
1834
|
+
if (result.isErr) {
|
|
1835
|
+
return result.value;
|
|
1836
|
+
} else {
|
|
1837
|
+
throw result.value;
|
|
1838
|
+
}
|
|
1839
|
+
};
|
|
1840
|
+
|
|
1841
|
+
// src/utils/style.ts
|
|
1842
|
+
function createStyleSheetIfNeededAndSupported(styles2) {
|
|
1843
|
+
if (!supportsConstructableStylesheets) return void 0;
|
|
1844
|
+
const sheet = new CSSStyleSheet();
|
|
1845
|
+
sheet.replaceSync(styles2);
|
|
1846
|
+
return sheet;
|
|
1847
|
+
}
|
|
1848
|
+
|
|
1849
|
+
// src/utils/shadow-root.ts
|
|
1850
|
+
var globalStyleSheet;
|
|
1851
|
+
function createShadowRoot(cmpMeta) {
|
|
1852
|
+
var _a;
|
|
1853
|
+
const opts = { mode: "open" };
|
|
1854
|
+
const shadowRoot = this.attachShadow(opts);
|
|
1855
|
+
if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported(globalStyles)) != null ? _a : null;
|
|
1856
|
+
if (globalStyleSheet) {
|
|
1857
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
1858
|
+
shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
|
|
1859
|
+
} else {
|
|
1860
|
+
shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
|
|
1861
|
+
}
|
|
1862
|
+
} else if (!supportsConstructableStylesheets) {
|
|
1863
|
+
const styleElm = document.createElement("style");
|
|
1864
|
+
styleElm.innerHTML = globalStyles;
|
|
1865
|
+
shadowRoot.prepend(styleElm);
|
|
1866
|
+
}
|
|
1867
|
+
}
|
|
1868
|
+
function getHostSlotNodes(childNodes, hostName, slotName) {
|
|
1869
|
+
let i2 = 0;
|
|
1870
|
+
let slottedNodes = [];
|
|
1871
|
+
let childNode;
|
|
1872
|
+
for (; i2 < childNodes.length; i2++) {
|
|
1873
|
+
childNode = childNodes[i2];
|
|
1874
|
+
if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0 || getSlotName(childNode) === slotName)) {
|
|
1875
|
+
slottedNodes.push(childNode);
|
|
1876
|
+
if (typeof slotName !== "undefined") return slottedNodes;
|
|
1877
|
+
}
|
|
1878
|
+
slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
|
|
1879
|
+
}
|
|
1880
|
+
return slottedNodes;
|
|
1881
|
+
}
|
|
1882
|
+
var getSlotName = (node) => typeof node["s-sn"] === "string" ? node["s-sn"] : node.nodeType === 1 && node.getAttribute("slot") || void 0;
|
|
1883
|
+
function dispatchSlotChangeEvent(elm) {
|
|
1884
|
+
elm.dispatchEvent(new CustomEvent("slotchange", { bubbles: false, cancelable: false, composed: false }));
|
|
1885
|
+
}
|
|
1886
|
+
function findSlotFromSlottedNode(slottedNode, parentHost) {
|
|
1887
|
+
var _a;
|
|
1888
|
+
parentHost = parentHost || ((_a = slottedNode["s-ol"]) == null ? void 0 : _a.parentElement);
|
|
1889
|
+
if (!parentHost) return { slotNode: null, slotName: "" };
|
|
1890
|
+
const slotName = slottedNode["s-sn"] = getSlotName(slottedNode) || "";
|
|
1891
|
+
const childNodes = internalCall(parentHost, "childNodes");
|
|
1892
|
+
const slotNode = getHostSlotNodes(childNodes, parentHost.tagName, slotName)[0];
|
|
1893
|
+
return { slotNode, slotName };
|
|
1894
|
+
}
|
|
1895
|
+
function internalCall(node, method) {
|
|
1896
|
+
if ("__" + method in node) {
|
|
1897
|
+
const toReturn = node["__" + method];
|
|
1898
|
+
if (typeof toReturn !== "function") return toReturn;
|
|
1899
|
+
return toReturn.bind(node);
|
|
1900
|
+
} else {
|
|
1901
|
+
if (typeof node[method] !== "function") return node[method];
|
|
1902
|
+
return node[method].bind(node);
|
|
1903
|
+
}
|
|
1904
|
+
}
|
|
1905
|
+
var createTime = (fnName, tagName = "") => {
|
|
1906
|
+
{
|
|
1907
|
+
return () => {
|
|
1908
|
+
return;
|
|
1909
|
+
};
|
|
1910
|
+
}
|
|
1911
|
+
};
|
|
1912
|
+
var uniqueTime = (key, measureText) => {
|
|
1913
|
+
{
|
|
1914
|
+
return () => {
|
|
1915
|
+
return;
|
|
1916
|
+
};
|
|
1917
|
+
}
|
|
1918
|
+
};
|
|
1919
|
+
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
1920
|
+
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
1921
|
+
let style = styles.get(scopeId2);
|
|
1922
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
1923
|
+
style = style || new CSSStyleSheet();
|
|
1924
|
+
if (typeof style === "string") {
|
|
1925
|
+
style = cssText;
|
|
1926
|
+
} else {
|
|
1927
|
+
style.replaceSync(cssText);
|
|
1928
|
+
}
|
|
1929
|
+
} else {
|
|
1930
|
+
style = cssText;
|
|
1931
|
+
}
|
|
1932
|
+
styles.set(scopeId2, style);
|
|
1933
|
+
};
|
|
1934
|
+
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
1935
|
+
var _a, _b, _c;
|
|
1936
|
+
const scopeId2 = getScopeId(cmpMeta);
|
|
1937
|
+
const style = styles.get(scopeId2);
|
|
1938
|
+
if (!win.document) {
|
|
1939
|
+
return scopeId2;
|
|
1940
|
+
}
|
|
1941
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
|
|
1942
|
+
if (style) {
|
|
1943
|
+
if (typeof style === "string") {
|
|
1944
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
1945
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
1946
|
+
let styleElm;
|
|
1947
|
+
if (!appliedStyles) {
|
|
1948
|
+
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
1949
|
+
}
|
|
1950
|
+
if (!appliedStyles.has(scopeId2)) {
|
|
1951
|
+
styleElm = win.document.createElement("style");
|
|
1952
|
+
styleElm.innerHTML = style;
|
|
1953
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
1954
|
+
if (nonce != null) {
|
|
1955
|
+
styleElm.setAttribute("nonce", nonce);
|
|
1956
|
+
}
|
|
1957
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
1958
|
+
if (styleContainerNode.nodeName === "HEAD") {
|
|
1959
|
+
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
1960
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
1961
|
+
styleContainerNode.insertBefore(
|
|
1962
|
+
styleElm,
|
|
1963
|
+
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
1964
|
+
);
|
|
1965
|
+
} else if ("host" in styleContainerNode) {
|
|
1966
|
+
if (supportsConstructableStylesheets) {
|
|
1967
|
+
const currentWindow = (_b = styleContainerNode.defaultView) != null ? _b : styleContainerNode.ownerDocument.defaultView;
|
|
1968
|
+
const stylesheet = new currentWindow.CSSStyleSheet();
|
|
1969
|
+
stylesheet.replaceSync(style);
|
|
1970
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
1971
|
+
styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
|
|
1972
|
+
} else {
|
|
1973
|
+
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
1974
|
+
}
|
|
1975
|
+
} else {
|
|
1976
|
+
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
1977
|
+
if (existingStyleContainer) {
|
|
1978
|
+
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
1979
|
+
} else {
|
|
1980
|
+
styleContainerNode.prepend(styleElm);
|
|
1981
|
+
}
|
|
1982
|
+
}
|
|
1983
|
+
} else {
|
|
1984
|
+
styleContainerNode.append(styleElm);
|
|
1985
|
+
}
|
|
1986
|
+
}
|
|
1987
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1988
|
+
styleContainerNode.insertBefore(styleElm, null);
|
|
1989
|
+
}
|
|
1990
|
+
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
1991
|
+
styleElm.innerHTML += SLOT_FB_CSS;
|
|
1992
|
+
}
|
|
1993
|
+
if (appliedStyles) {
|
|
1994
|
+
appliedStyles.add(scopeId2);
|
|
1995
|
+
}
|
|
1996
|
+
}
|
|
1997
|
+
} else {
|
|
1998
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
1999
|
+
if (!appliedStyles) {
|
|
2000
|
+
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
2001
|
+
}
|
|
2002
|
+
if (!appliedStyles.has(scopeId2)) {
|
|
2003
|
+
const currentWindow = (_c = styleContainerNode.defaultView) != null ? _c : styleContainerNode.ownerDocument.defaultView;
|
|
2004
|
+
let stylesheet;
|
|
2005
|
+
if (style.constructor === currentWindow.CSSStyleSheet) {
|
|
2006
|
+
stylesheet = style;
|
|
2007
|
+
} else {
|
|
2008
|
+
stylesheet = new currentWindow.CSSStyleSheet();
|
|
2009
|
+
for (let i2 = 0; i2 < style.cssRules.length; i2++) {
|
|
2010
|
+
stylesheet.insertRule(style.cssRules[i2].cssText, i2);
|
|
2011
|
+
}
|
|
2012
|
+
}
|
|
2013
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
2014
|
+
styleContainerNode.adoptedStyleSheets.push(stylesheet);
|
|
2015
|
+
} else {
|
|
2016
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, stylesheet];
|
|
2017
|
+
}
|
|
2018
|
+
appliedStyles.add(scopeId2);
|
|
2019
|
+
}
|
|
2020
|
+
}
|
|
2021
|
+
}
|
|
2022
|
+
return scopeId2;
|
|
2023
|
+
};
|
|
2024
|
+
var attachStyles = (hostRef) => {
|
|
2025
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
2026
|
+
const elm = hostRef.$hostElement$;
|
|
2027
|
+
const flags = cmpMeta.$flags$;
|
|
2028
|
+
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
2029
|
+
const scopeId2 = addStyle(
|
|
2030
|
+
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
2031
|
+
cmpMeta);
|
|
2032
|
+
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
2033
|
+
elm["s-sc"] = scopeId2;
|
|
2034
|
+
elm.classList.add(scopeId2 + "-h");
|
|
2035
|
+
}
|
|
2036
|
+
endAttachStyles();
|
|
2037
|
+
};
|
|
2038
|
+
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
2039
|
+
var h = (nodeName, vnodeData, ...children) => {
|
|
2040
|
+
if (typeof nodeName === "string") {
|
|
2041
|
+
nodeName = transformTag(nodeName);
|
|
2042
|
+
}
|
|
2043
|
+
let child = null;
|
|
2044
|
+
let key = null;
|
|
2045
|
+
let simple = false;
|
|
2046
|
+
let lastSimple = false;
|
|
2047
|
+
const vNodeChildren = [];
|
|
2048
|
+
const walk = (c) => {
|
|
2049
|
+
for (let i2 = 0; i2 < c.length; i2++) {
|
|
2050
|
+
child = c[i2];
|
|
2051
|
+
if (Array.isArray(child)) {
|
|
2052
|
+
walk(child);
|
|
2053
|
+
} else if (child != null && typeof child !== "boolean") {
|
|
2054
|
+
if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
|
|
2055
|
+
child = String(child);
|
|
2056
|
+
}
|
|
2057
|
+
if (simple && lastSimple) {
|
|
2058
|
+
vNodeChildren[vNodeChildren.length - 1].$text$ += child;
|
|
2059
|
+
} else {
|
|
2060
|
+
vNodeChildren.push(simple ? newVNode(null, child) : child);
|
|
2061
|
+
}
|
|
2062
|
+
lastSimple = simple;
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2065
|
+
};
|
|
2066
|
+
walk(children);
|
|
2067
|
+
if (vnodeData) {
|
|
2068
|
+
if (vnodeData.key) {
|
|
2069
|
+
key = vnodeData.key;
|
|
2070
|
+
}
|
|
2071
|
+
{
|
|
2072
|
+
const classData = vnodeData.className || vnodeData.class;
|
|
2073
|
+
if (classData) {
|
|
2074
|
+
vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
|
|
2075
|
+
}
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
const vnode = newVNode(nodeName, null);
|
|
2079
|
+
vnode.$attrs$ = vnodeData;
|
|
2080
|
+
if (vNodeChildren.length > 0) {
|
|
2081
|
+
vnode.$children$ = vNodeChildren;
|
|
2082
|
+
}
|
|
2083
|
+
{
|
|
2084
|
+
vnode.$key$ = key;
|
|
2085
|
+
}
|
|
2086
|
+
return vnode;
|
|
2087
|
+
};
|
|
2088
|
+
var newVNode = (tag, text) => {
|
|
2089
|
+
const vnode = {
|
|
2090
|
+
$flags$: 0,
|
|
2091
|
+
$tag$: tag,
|
|
2092
|
+
$text$: text,
|
|
2093
|
+
$elm$: null,
|
|
2094
|
+
$children$: null
|
|
2095
|
+
};
|
|
2096
|
+
{
|
|
2097
|
+
vnode.$attrs$ = null;
|
|
2098
|
+
}
|
|
2099
|
+
{
|
|
2100
|
+
vnode.$key$ = null;
|
|
2101
|
+
}
|
|
2102
|
+
return vnode;
|
|
2103
|
+
};
|
|
2104
|
+
var Host = {};
|
|
2105
|
+
var isHost = (node) => node && node.$tag$ === Host;
|
|
2106
|
+
var createSupportsRuleRe = (selector) => {
|
|
2107
|
+
const safeSelector2 = escapeRegExpSpecialCharacters(selector);
|
|
2108
|
+
return new RegExp(
|
|
2109
|
+
// First capture group: match any context before the selector that's not inside @supports selector()
|
|
2110
|
+
// Using negative lookahead to avoid matching inside @supports selector(...) condition
|
|
2111
|
+
`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
|
|
2112
|
+
"g"
|
|
2113
|
+
);
|
|
2114
|
+
};
|
|
2115
|
+
createSupportsRuleRe("::slotted");
|
|
2116
|
+
createSupportsRuleRe(":host");
|
|
2117
|
+
createSupportsRuleRe(":host-context");
|
|
2118
|
+
var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
2119
|
+
if (propValue != null && !isComplexType(propValue)) {
|
|
2120
|
+
if (propType & 4 /* Boolean */) {
|
|
2121
|
+
{
|
|
2122
|
+
return propValue === "false" ? false : propValue === "" || !!propValue;
|
|
2123
|
+
}
|
|
2124
|
+
}
|
|
2125
|
+
if (propType & 1 /* String */) {
|
|
2126
|
+
return String(propValue);
|
|
2127
|
+
}
|
|
2128
|
+
return propValue;
|
|
2129
|
+
}
|
|
2130
|
+
return propValue;
|
|
2131
|
+
};
|
|
2132
|
+
var emitEvent = (elm, name, opts) => {
|
|
2133
|
+
const ev = plt.ce(name, opts);
|
|
2134
|
+
elm.dispatchEvent(ev);
|
|
2135
|
+
return ev;
|
|
2136
|
+
};
|
|
2137
|
+
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
|
|
2138
|
+
if (oldValue === newValue) {
|
|
2139
|
+
return;
|
|
2140
|
+
}
|
|
2141
|
+
let isProp = isMemberInElement(elm, memberName);
|
|
2142
|
+
memberName.toLowerCase();
|
|
2143
|
+
if (memberName === "class") {
|
|
2144
|
+
const classList = elm.classList;
|
|
2145
|
+
const oldClasses = parseClassList(oldValue);
|
|
2146
|
+
let newClasses = parseClassList(newValue);
|
|
2147
|
+
{
|
|
2148
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
2149
|
+
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
2150
|
+
}
|
|
2151
|
+
} else if (memberName === "key") ; else {
|
|
2152
|
+
const isComplex = isComplexType(newValue);
|
|
2153
|
+
if ((isProp || isComplex && newValue !== null) && true) {
|
|
2154
|
+
try {
|
|
2155
|
+
if (!elm.tagName.includes("-")) {
|
|
2156
|
+
const n = newValue == null ? "" : newValue;
|
|
2157
|
+
if (memberName === "list") {
|
|
2158
|
+
isProp = false;
|
|
2159
|
+
} else if (oldValue == null || elm[memberName] != n) {
|
|
2160
|
+
if (typeof elm.__lookupSetter__(memberName) === "function") {
|
|
2161
|
+
elm[memberName] = n;
|
|
2162
|
+
} else {
|
|
2163
|
+
elm.setAttribute(memberName, n);
|
|
2164
|
+
}
|
|
2165
|
+
}
|
|
2166
|
+
} else if (elm[memberName] !== newValue) {
|
|
2167
|
+
elm[memberName] = newValue;
|
|
2168
|
+
}
|
|
2169
|
+
} catch (e) {
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
if (newValue == null || newValue === false) {
|
|
2173
|
+
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
|
2174
|
+
{
|
|
2175
|
+
elm.removeAttribute(memberName);
|
|
2176
|
+
}
|
|
2177
|
+
}
|
|
2178
|
+
} else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
|
|
2179
|
+
newValue = newValue === true ? "" : newValue;
|
|
2180
|
+
{
|
|
2181
|
+
elm.setAttribute(memberName, newValue);
|
|
2182
|
+
}
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
};
|
|
2186
|
+
var parseClassListRegex = /\s/;
|
|
2187
|
+
var parseClassList = (value) => {
|
|
2188
|
+
if (typeof value === "object" && value && "baseVal" in value) {
|
|
2189
|
+
value = value.baseVal;
|
|
2190
|
+
}
|
|
2191
|
+
if (!value || typeof value !== "string") {
|
|
2192
|
+
return [];
|
|
2193
|
+
}
|
|
2194
|
+
return value.split(parseClassListRegex);
|
|
2195
|
+
};
|
|
2196
|
+
|
|
2197
|
+
// src/runtime/vdom/update-element.ts
|
|
2198
|
+
var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
|
|
2199
|
+
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
|
|
2200
|
+
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
|
|
2201
|
+
const newVnodeAttrs = newVnode.$attrs$ || {};
|
|
2202
|
+
{
|
|
2203
|
+
for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
|
|
2204
|
+
if (!(memberName in newVnodeAttrs)) {
|
|
2205
|
+
setAccessor(
|
|
2206
|
+
elm,
|
|
2207
|
+
memberName,
|
|
2208
|
+
oldVnodeAttrs[memberName],
|
|
2209
|
+
void 0,
|
|
2210
|
+
isSvgMode2,
|
|
2211
|
+
newVnode.$flags$);
|
|
2212
|
+
}
|
|
2213
|
+
}
|
|
2214
|
+
}
|
|
2215
|
+
for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
|
|
2216
|
+
setAccessor(
|
|
2217
|
+
elm,
|
|
2218
|
+
memberName,
|
|
2219
|
+
oldVnodeAttrs[memberName],
|
|
2220
|
+
newVnodeAttrs[memberName],
|
|
2221
|
+
isSvgMode2,
|
|
2222
|
+
newVnode.$flags$);
|
|
2223
|
+
}
|
|
2224
|
+
};
|
|
2225
|
+
function sortedAttrNames(attrNames) {
|
|
2226
|
+
return attrNames.includes("ref") ? (
|
|
2227
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
|
2228
|
+
[...attrNames.filter((attr) => attr !== "ref"), "ref"]
|
|
2229
|
+
) : (
|
|
2230
|
+
// no need to sort, return the original array
|
|
2231
|
+
attrNames
|
|
2232
|
+
);
|
|
2233
|
+
}
|
|
2234
|
+
var hostTagName;
|
|
2235
|
+
var useNativeShadowDom = false;
|
|
2236
|
+
var isSvgMode = false;
|
|
2237
|
+
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
2238
|
+
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
2239
|
+
let i2 = 0;
|
|
2240
|
+
let elm;
|
|
2241
|
+
let childNode;
|
|
2242
|
+
if (newVNode2.$text$ !== null) {
|
|
2243
|
+
elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
|
|
2244
|
+
} else {
|
|
2245
|
+
if (!win.document) {
|
|
2246
|
+
throw new Error(
|
|
2247
|
+
"You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component."
|
|
2248
|
+
);
|
|
2249
|
+
}
|
|
2250
|
+
elm = newVNode2.$elm$ = win.document.createElement(
|
|
2251
|
+
newVNode2.$tag$
|
|
2252
|
+
);
|
|
2253
|
+
{
|
|
2254
|
+
updateElement(null, newVNode2, isSvgMode);
|
|
2255
|
+
}
|
|
2256
|
+
if (newVNode2.$children$) {
|
|
2257
|
+
const appendTarget = newVNode2.$tag$ === "template" ? elm.content : elm;
|
|
2258
|
+
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
2259
|
+
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
2260
|
+
if (childNode) {
|
|
2261
|
+
appendTarget.appendChild(childNode);
|
|
2262
|
+
}
|
|
2263
|
+
}
|
|
2264
|
+
}
|
|
2265
|
+
}
|
|
2266
|
+
elm["s-hn"] = hostTagName;
|
|
2267
|
+
return elm;
|
|
2268
|
+
};
|
|
2269
|
+
var relocateToHostRoot = (parentElm) => {
|
|
2270
|
+
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
2271
|
+
const host = parentElm.closest(hostTagName.toLowerCase());
|
|
2272
|
+
if (host != null) {
|
|
2273
|
+
const contentRefNode = Array.from(host.__childNodes || host.childNodes).find(
|
|
2274
|
+
(ref) => ref["s-cr"]
|
|
2275
|
+
);
|
|
2276
|
+
const childNodeArray = Array.from(
|
|
2277
|
+
parentElm.__childNodes || parentElm.childNodes
|
|
2278
|
+
);
|
|
2279
|
+
for (const childNode of contentRefNode ? childNodeArray.reverse() : childNodeArray) {
|
|
2280
|
+
if (childNode["s-sh"] != null) {
|
|
2281
|
+
insertBefore(host, childNode, contentRefNode != null ? contentRefNode : null);
|
|
2282
|
+
childNode["s-sh"] = void 0;
|
|
2283
|
+
}
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2286
|
+
plt.$flags$ &= -2 /* isTmpDisconnected */;
|
|
2287
|
+
};
|
|
2288
|
+
var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
2289
|
+
let containerElm = parentElm;
|
|
2290
|
+
let childNode;
|
|
2291
|
+
if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
|
|
2292
|
+
containerElm = containerElm.shadowRoot;
|
|
2293
|
+
}
|
|
2294
|
+
if (parentVNode.$tag$ === "template") {
|
|
2295
|
+
containerElm = containerElm.content;
|
|
2296
|
+
}
|
|
2297
|
+
for (; startIdx <= endIdx; ++startIdx) {
|
|
2298
|
+
if (vnodes[startIdx]) {
|
|
2299
|
+
childNode = createElm(null, parentVNode, startIdx);
|
|
2300
|
+
if (childNode) {
|
|
2301
|
+
vnodes[startIdx].$elm$ = childNode;
|
|
2302
|
+
insertBefore(containerElm, childNode, before);
|
|
2303
|
+
}
|
|
2304
|
+
}
|
|
2305
|
+
}
|
|
2306
|
+
};
|
|
2307
|
+
var removeVnodes = (vnodes, startIdx, endIdx) => {
|
|
2308
|
+
for (let index = startIdx; index <= endIdx; ++index) {
|
|
2309
|
+
const vnode = vnodes[index];
|
|
2310
|
+
if (vnode) {
|
|
2311
|
+
const elm = vnode.$elm$;
|
|
2312
|
+
if (elm) {
|
|
2313
|
+
elm.remove();
|
|
2314
|
+
}
|
|
2315
|
+
}
|
|
2316
|
+
}
|
|
2317
|
+
};
|
|
2318
|
+
var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = false) => {
|
|
2319
|
+
let oldStartIdx = 0;
|
|
2320
|
+
let newStartIdx = 0;
|
|
2321
|
+
let idxInOld = 0;
|
|
2322
|
+
let i2 = 0;
|
|
2323
|
+
let oldEndIdx = oldCh.length - 1;
|
|
2324
|
+
let oldStartVnode = oldCh[0];
|
|
2325
|
+
let oldEndVnode = oldCh[oldEndIdx];
|
|
2326
|
+
let newEndIdx = newCh.length - 1;
|
|
2327
|
+
let newStartVnode = newCh[0];
|
|
2328
|
+
let newEndVnode = newCh[newEndIdx];
|
|
2329
|
+
let node;
|
|
2330
|
+
let elmToMove;
|
|
2331
|
+
const containerElm = newVNode2.$tag$ === "template" ? parentElm.content : parentElm;
|
|
2332
|
+
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
|
|
2333
|
+
if (oldStartVnode == null) {
|
|
2334
|
+
oldStartVnode = oldCh[++oldStartIdx];
|
|
2335
|
+
} else if (oldEndVnode == null) {
|
|
2336
|
+
oldEndVnode = oldCh[--oldEndIdx];
|
|
2337
|
+
} else if (newStartVnode == null) {
|
|
2338
|
+
newStartVnode = newCh[++newStartIdx];
|
|
2339
|
+
} else if (newEndVnode == null) {
|
|
2340
|
+
newEndVnode = newCh[--newEndIdx];
|
|
2341
|
+
} else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
|
|
2342
|
+
patch(oldStartVnode, newStartVnode, isInitialRender);
|
|
2343
|
+
oldStartVnode = oldCh[++oldStartIdx];
|
|
2344
|
+
newStartVnode = newCh[++newStartIdx];
|
|
2345
|
+
} else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
|
|
2346
|
+
patch(oldEndVnode, newEndVnode, isInitialRender);
|
|
2347
|
+
oldEndVnode = oldCh[--oldEndIdx];
|
|
2348
|
+
newEndVnode = newCh[--newEndIdx];
|
|
2349
|
+
} else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
|
|
2350
|
+
patch(oldStartVnode, newEndVnode, isInitialRender);
|
|
2351
|
+
insertBefore(containerElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
|
|
2352
|
+
oldStartVnode = oldCh[++oldStartIdx];
|
|
2353
|
+
newEndVnode = newCh[--newEndIdx];
|
|
2354
|
+
} else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
|
|
2355
|
+
patch(oldEndVnode, newStartVnode, isInitialRender);
|
|
2356
|
+
insertBefore(containerElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
|
|
2357
|
+
oldEndVnode = oldCh[--oldEndIdx];
|
|
2358
|
+
newStartVnode = newCh[++newStartIdx];
|
|
2359
|
+
} else {
|
|
2360
|
+
idxInOld = -1;
|
|
2361
|
+
{
|
|
2362
|
+
for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {
|
|
2363
|
+
if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {
|
|
2364
|
+
idxInOld = i2;
|
|
2365
|
+
break;
|
|
2366
|
+
}
|
|
2367
|
+
}
|
|
2368
|
+
}
|
|
2369
|
+
if (idxInOld >= 0) {
|
|
2370
|
+
elmToMove = oldCh[idxInOld];
|
|
2371
|
+
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
2372
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
|
|
2373
|
+
} else {
|
|
2374
|
+
patch(elmToMove, newStartVnode, isInitialRender);
|
|
2375
|
+
oldCh[idxInOld] = void 0;
|
|
2376
|
+
node = elmToMove.$elm$;
|
|
2377
|
+
}
|
|
2378
|
+
newStartVnode = newCh[++newStartIdx];
|
|
2379
|
+
} else {
|
|
2380
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
|
|
2381
|
+
newStartVnode = newCh[++newStartIdx];
|
|
2382
|
+
}
|
|
2383
|
+
if (node) {
|
|
2384
|
+
{
|
|
2385
|
+
insertBefore(oldStartVnode.$elm$.parentNode, node, oldStartVnode.$elm$);
|
|
2386
|
+
}
|
|
2387
|
+
}
|
|
2388
|
+
}
|
|
2389
|
+
}
|
|
2390
|
+
if (oldStartIdx > oldEndIdx) {
|
|
2391
|
+
addVnodes(
|
|
2392
|
+
parentElm,
|
|
2393
|
+
newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$,
|
|
2394
|
+
newVNode2,
|
|
2395
|
+
newCh,
|
|
2396
|
+
newStartIdx,
|
|
2397
|
+
newEndIdx
|
|
2398
|
+
);
|
|
2399
|
+
} else if (newStartIdx > newEndIdx) {
|
|
2400
|
+
removeVnodes(oldCh, oldStartIdx, oldEndIdx);
|
|
2401
|
+
}
|
|
2402
|
+
};
|
|
2403
|
+
var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
2404
|
+
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
2405
|
+
if (!isInitialRender) {
|
|
2406
|
+
return leftVNode.$key$ === rightVNode.$key$;
|
|
2407
|
+
}
|
|
2408
|
+
if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
|
|
2409
|
+
leftVNode.$key$ = rightVNode.$key$;
|
|
2410
|
+
}
|
|
2411
|
+
return true;
|
|
2412
|
+
}
|
|
2413
|
+
return false;
|
|
2414
|
+
};
|
|
2415
|
+
var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
2416
|
+
const elm = newVNode2.$elm$ = oldVNode.$elm$;
|
|
2417
|
+
const oldChildren = oldVNode.$children$;
|
|
2418
|
+
const newChildren = newVNode2.$children$;
|
|
2419
|
+
const tag = newVNode2.$tag$;
|
|
2420
|
+
const text = newVNode2.$text$;
|
|
2421
|
+
if (text === null) {
|
|
2422
|
+
{
|
|
2423
|
+
if (tag === "slot" && !useNativeShadowDom) {
|
|
2424
|
+
if (oldVNode.$name$ !== newVNode2.$name$) {
|
|
2425
|
+
newVNode2.$elm$["s-sn"] = newVNode2.$name$ || "";
|
|
2426
|
+
relocateToHostRoot(newVNode2.$elm$.parentElement);
|
|
2427
|
+
}
|
|
2428
|
+
}
|
|
2429
|
+
updateElement(oldVNode, newVNode2, isSvgMode);
|
|
2430
|
+
}
|
|
2431
|
+
if (oldChildren !== null && newChildren !== null) {
|
|
2432
|
+
updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
|
|
2433
|
+
} else if (newChildren !== null) {
|
|
2434
|
+
if (oldVNode.$text$ !== null) {
|
|
2435
|
+
elm.textContent = "";
|
|
2436
|
+
}
|
|
2437
|
+
addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
|
|
2438
|
+
} else if (
|
|
2439
|
+
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
2440
|
+
!isInitialRender && BUILD.updatable && oldChildren !== null
|
|
2441
|
+
) {
|
|
2442
|
+
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
2443
|
+
} else ;
|
|
2444
|
+
} else if (oldVNode.$text$ !== text) {
|
|
2445
|
+
elm.data = text;
|
|
2446
|
+
}
|
|
2447
|
+
};
|
|
2448
|
+
var insertBefore = (parent, newNode, reference, isInitialLoad) => {
|
|
2449
|
+
if (typeof newNode["s-sn"] === "string") {
|
|
2450
|
+
parent.insertBefore(newNode, reference);
|
|
2451
|
+
const { slotNode } = findSlotFromSlottedNode(newNode);
|
|
2452
|
+
if (slotNode && true) dispatchSlotChangeEvent(slotNode);
|
|
2453
|
+
return newNode;
|
|
2454
|
+
}
|
|
2455
|
+
if (parent.__insertBefore) {
|
|
2456
|
+
return parent.__insertBefore(newNode, reference);
|
|
2457
|
+
} else {
|
|
2458
|
+
return parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
2459
|
+
}
|
|
2460
|
+
};
|
|
2461
|
+
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
2462
|
+
const hostElm = hostRef.$hostElement$;
|
|
2463
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
2464
|
+
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
2465
|
+
const isHostElement = isHost(renderFnResults);
|
|
2466
|
+
const rootVnode = isHostElement ? renderFnResults : h(null, null, renderFnResults);
|
|
2467
|
+
hostTagName = hostElm.tagName;
|
|
2468
|
+
if (isInitialLoad && rootVnode.$attrs$) {
|
|
2469
|
+
for (const key of Object.keys(rootVnode.$attrs$)) {
|
|
2470
|
+
if (hostElm.hasAttribute(key) && !["key", "ref", "style", "class"].includes(key)) {
|
|
2471
|
+
rootVnode.$attrs$[key] = hostElm[key];
|
|
2472
|
+
}
|
|
2473
|
+
}
|
|
2474
|
+
}
|
|
2475
|
+
rootVnode.$tag$ = null;
|
|
2476
|
+
rootVnode.$flags$ |= 4 /* isHost */;
|
|
2477
|
+
hostRef.$vnode$ = rootVnode;
|
|
2478
|
+
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
2479
|
+
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
|
2480
|
+
patch(oldVNode, rootVnode, isInitialLoad);
|
|
2481
|
+
};
|
|
2482
|
+
|
|
2483
|
+
// src/runtime/update-component.ts
|
|
2484
|
+
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
2485
|
+
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
|
|
2486
|
+
const index = ancestorComponent["s-p"].push(
|
|
2487
|
+
new Promise(
|
|
2488
|
+
(r) => hostRef.$onRenderResolve$ = () => {
|
|
2489
|
+
ancestorComponent["s-p"].splice(index - 1, 1);
|
|
2490
|
+
r();
|
|
2491
|
+
}
|
|
2492
|
+
)
|
|
2493
|
+
);
|
|
2494
|
+
}
|
|
2495
|
+
};
|
|
2496
|
+
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
2497
|
+
{
|
|
2498
|
+
hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
|
|
2499
|
+
}
|
|
2500
|
+
if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
|
|
2501
|
+
hostRef.$flags$ |= 512 /* needsRerender */;
|
|
2502
|
+
return;
|
|
2503
|
+
}
|
|
2504
|
+
attachToAncestor(hostRef, hostRef.$ancestorComponent$);
|
|
2505
|
+
const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
|
|
2506
|
+
if (isInitialLoad) {
|
|
2507
|
+
queueMicrotask(() => {
|
|
2508
|
+
dispatch();
|
|
2509
|
+
});
|
|
2510
|
+
return;
|
|
2511
|
+
}
|
|
2512
|
+
return writeTask(dispatch) ;
|
|
2513
|
+
};
|
|
2514
|
+
var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
2515
|
+
const elm = hostRef.$hostElement$;
|
|
2516
|
+
const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
|
|
2517
|
+
const instance = hostRef.$lazyInstance$ ;
|
|
2518
|
+
if (!instance) {
|
|
2519
|
+
throw new Error(
|
|
2520
|
+
`Can't render component <${elm.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
|
|
2521
|
+
);
|
|
2522
|
+
}
|
|
2523
|
+
let maybePromise;
|
|
2524
|
+
if (isInitialLoad) {
|
|
2525
|
+
{
|
|
2526
|
+
if (hostRef.$fetchedCbList$.length) {
|
|
2527
|
+
hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
|
|
2528
|
+
}
|
|
2529
|
+
}
|
|
2530
|
+
maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
|
|
2531
|
+
} else {
|
|
2532
|
+
maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
|
|
2533
|
+
}
|
|
2534
|
+
maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
|
|
2535
|
+
endSchedule();
|
|
2536
|
+
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
2537
|
+
};
|
|
2538
|
+
var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err2) => {
|
|
2539
|
+
console.error(err2);
|
|
2540
|
+
fn();
|
|
2541
|
+
}) : fn();
|
|
2542
|
+
var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
|
|
2543
|
+
var updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
2544
|
+
var _a;
|
|
2545
|
+
const elm = hostRef.$hostElement$;
|
|
2546
|
+
const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
|
|
2547
|
+
const rc = elm["s-rc"];
|
|
2548
|
+
if (isInitialLoad) {
|
|
2549
|
+
attachStyles(hostRef);
|
|
2550
|
+
}
|
|
2551
|
+
const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
|
|
2552
|
+
{
|
|
2553
|
+
callRender(hostRef, instance, elm, isInitialLoad);
|
|
2554
|
+
}
|
|
2555
|
+
if (rc) {
|
|
2556
|
+
rc.map((cb) => cb());
|
|
2557
|
+
elm["s-rc"] = void 0;
|
|
2558
|
+
}
|
|
2559
|
+
endRender();
|
|
2560
|
+
endUpdate();
|
|
2561
|
+
{
|
|
2562
|
+
const childrenPromises = (_a = elm["s-p"]) != null ? _a : [];
|
|
2563
|
+
const postUpdate = () => postUpdateComponent(hostRef);
|
|
2564
|
+
if (childrenPromises.length === 0) {
|
|
2565
|
+
postUpdate();
|
|
2566
|
+
} else {
|
|
2567
|
+
Promise.all(childrenPromises).then(postUpdate);
|
|
2568
|
+
hostRef.$flags$ |= 4 /* isWaitingForChildren */;
|
|
2569
|
+
childrenPromises.length = 0;
|
|
2570
|
+
}
|
|
2571
|
+
}
|
|
2572
|
+
};
|
|
2573
|
+
var callRender = (hostRef, instance, elm, isInitialLoad) => {
|
|
2574
|
+
try {
|
|
2575
|
+
instance = instance.render() ;
|
|
2576
|
+
{
|
|
2577
|
+
hostRef.$flags$ &= -17 /* isQueuedForUpdate */;
|
|
2578
|
+
}
|
|
2579
|
+
{
|
|
2580
|
+
hostRef.$flags$ |= 2 /* hasRendered */;
|
|
2581
|
+
}
|
|
2582
|
+
{
|
|
2583
|
+
{
|
|
2584
|
+
{
|
|
2585
|
+
renderVdom(hostRef, instance, isInitialLoad);
|
|
2586
|
+
}
|
|
2587
|
+
}
|
|
2588
|
+
}
|
|
2589
|
+
} catch (e) {
|
|
2590
|
+
consoleError(e, hostRef.$hostElement$);
|
|
2591
|
+
}
|
|
2592
|
+
return null;
|
|
2593
|
+
};
|
|
2594
|
+
var postUpdateComponent = (hostRef) => {
|
|
2595
|
+
const tagName = hostRef.$cmpMeta$.$tagName$;
|
|
2596
|
+
const elm = hostRef.$hostElement$;
|
|
2597
|
+
const endPostUpdate = createTime("postUpdate", tagName);
|
|
2598
|
+
const instance = hostRef.$lazyInstance$ ;
|
|
2599
|
+
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
2600
|
+
safeCall(instance, "componentDidRender", void 0, elm);
|
|
2601
|
+
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
2602
|
+
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
2603
|
+
{
|
|
2604
|
+
addHydratedFlag(elm);
|
|
2605
|
+
}
|
|
2606
|
+
safeCall(instance, "componentDidLoad", void 0, elm);
|
|
2607
|
+
endPostUpdate();
|
|
2608
|
+
{
|
|
2609
|
+
hostRef.$onReadyResolve$(elm);
|
|
2610
|
+
if (!ancestorComponent) {
|
|
2611
|
+
appDidLoad();
|
|
2612
|
+
}
|
|
2613
|
+
}
|
|
2614
|
+
} else {
|
|
2615
|
+
safeCall(instance, "componentDidUpdate", void 0, elm);
|
|
2616
|
+
endPostUpdate();
|
|
2617
|
+
}
|
|
2618
|
+
{
|
|
2619
|
+
if (hostRef.$onRenderResolve$) {
|
|
2620
|
+
hostRef.$onRenderResolve$();
|
|
2621
|
+
hostRef.$onRenderResolve$ = void 0;
|
|
2622
|
+
}
|
|
2623
|
+
if (hostRef.$flags$ & 512 /* needsRerender */) {
|
|
2624
|
+
nextTick(() => scheduleUpdate(hostRef, false));
|
|
2625
|
+
}
|
|
2626
|
+
hostRef.$flags$ &= -517;
|
|
2627
|
+
}
|
|
2628
|
+
};
|
|
2629
|
+
var appDidLoad = (who) => {
|
|
2630
|
+
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
2631
|
+
};
|
|
2632
|
+
var safeCall = (instance, method, arg, elm) => {
|
|
2633
|
+
if (instance && instance[method]) {
|
|
2634
|
+
try {
|
|
2635
|
+
return instance[method](arg);
|
|
2636
|
+
} catch (e) {
|
|
2637
|
+
consoleError(e, elm);
|
|
2638
|
+
}
|
|
2639
|
+
}
|
|
2640
|
+
return void 0;
|
|
2641
|
+
};
|
|
2642
|
+
var addHydratedFlag = (elm) => {
|
|
2643
|
+
var _a;
|
|
2644
|
+
return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
|
|
2645
|
+
};
|
|
2646
|
+
|
|
2647
|
+
// src/runtime/set-value.ts
|
|
2648
|
+
var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
2649
|
+
var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
2650
|
+
const hostRef = getHostRef(ref);
|
|
2651
|
+
if (!hostRef) {
|
|
2652
|
+
return;
|
|
2653
|
+
}
|
|
2654
|
+
if (!hostRef) {
|
|
2655
|
+
throw new Error(
|
|
2656
|
+
`Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
|
|
2657
|
+
);
|
|
2658
|
+
}
|
|
2659
|
+
const oldVal = hostRef.$instanceValues$.get(propName);
|
|
2660
|
+
const flags = hostRef.$flags$;
|
|
2661
|
+
const instance = hostRef.$lazyInstance$ ;
|
|
2662
|
+
newVal = parsePropertyValue(
|
|
2663
|
+
newVal,
|
|
2664
|
+
cmpMeta.$members$[propName][0]);
|
|
2665
|
+
const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
|
|
2666
|
+
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
2667
|
+
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
|
|
2668
|
+
hostRef.$instanceValues$.set(propName, newVal);
|
|
2669
|
+
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
2670
|
+
if (instance.componentShouldUpdate) {
|
|
2671
|
+
if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
|
|
2672
|
+
return;
|
|
2673
|
+
}
|
|
2674
|
+
}
|
|
2675
|
+
scheduleUpdate(hostRef, false);
|
|
2676
|
+
}
|
|
2677
|
+
}
|
|
2678
|
+
};
|
|
2679
|
+
|
|
2680
|
+
// src/runtime/proxy-component.ts
|
|
2681
|
+
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
2682
|
+
var _a, _b;
|
|
2683
|
+
const prototype = Cstr.prototype;
|
|
2684
|
+
if (cmpMeta.$members$ || BUILD.propChangeCallback) {
|
|
2685
|
+
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
2686
|
+
members.map(([memberName, [memberFlags]]) => {
|
|
2687
|
+
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
2688
|
+
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
|
|
2689
|
+
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
2690
|
+
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
2691
|
+
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
2692
|
+
Object.defineProperty(prototype, memberName, {
|
|
2693
|
+
get() {
|
|
2694
|
+
{
|
|
2695
|
+
if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
|
|
2696
|
+
return getValue(this, memberName);
|
|
2697
|
+
}
|
|
2698
|
+
const ref = getHostRef(this);
|
|
2699
|
+
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
2700
|
+
if (!instance) return;
|
|
2701
|
+
return instance[memberName];
|
|
2702
|
+
}
|
|
2703
|
+
},
|
|
2704
|
+
configurable: true,
|
|
2705
|
+
enumerable: true
|
|
2706
|
+
});
|
|
2707
|
+
}
|
|
2708
|
+
Object.defineProperty(prototype, memberName, {
|
|
2709
|
+
set(newValue) {
|
|
2710
|
+
const ref = getHostRef(this);
|
|
2711
|
+
if (!ref) {
|
|
2712
|
+
return;
|
|
2713
|
+
}
|
|
2714
|
+
if (origSetter) {
|
|
2715
|
+
const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
2716
|
+
if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
|
|
2717
|
+
newValue = ref.$instanceValues$.get(memberName);
|
|
2718
|
+
}
|
|
2719
|
+
origSetter.apply(this, [
|
|
2720
|
+
parsePropertyValue(
|
|
2721
|
+
newValue,
|
|
2722
|
+
memberFlags)
|
|
2723
|
+
]);
|
|
2724
|
+
newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
2725
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
2726
|
+
return;
|
|
2727
|
+
}
|
|
2728
|
+
{
|
|
2729
|
+
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
2730
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
2731
|
+
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
2732
|
+
ref.$fetchedCbList$.push(() => {
|
|
2733
|
+
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
2734
|
+
ref.$lazyInstance$[memberName] = newValue;
|
|
2735
|
+
}
|
|
2736
|
+
});
|
|
2737
|
+
}
|
|
2738
|
+
return;
|
|
2739
|
+
}
|
|
2740
|
+
const setterSetVal = () => {
|
|
2741
|
+
const currentValue = ref.$lazyInstance$[memberName];
|
|
2742
|
+
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
2743
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
2744
|
+
}
|
|
2745
|
+
ref.$lazyInstance$[memberName] = parsePropertyValue(
|
|
2746
|
+
newValue,
|
|
2747
|
+
memberFlags);
|
|
2748
|
+
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
2749
|
+
};
|
|
2750
|
+
if (ref.$lazyInstance$) {
|
|
2751
|
+
setterSetVal();
|
|
2752
|
+
} else {
|
|
2753
|
+
ref.$fetchedCbList$.push(() => {
|
|
2754
|
+
setterSetVal();
|
|
2755
|
+
});
|
|
2756
|
+
}
|
|
2757
|
+
}
|
|
2758
|
+
}
|
|
2759
|
+
});
|
|
2760
|
+
}
|
|
2761
|
+
});
|
|
2762
|
+
if ((flags & 1 /* isElementConstructor */)) {
|
|
2763
|
+
const attrNameToPropName = /* @__PURE__ */ new Map();
|
|
2764
|
+
prototype.attributeChangedCallback = function(attrName, oldValue, newValue) {
|
|
2765
|
+
plt.jmp(() => {
|
|
2766
|
+
var _a2;
|
|
2767
|
+
const propName = attrNameToPropName.get(attrName);
|
|
2768
|
+
const hostRef = getHostRef(this);
|
|
2769
|
+
if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
|
|
2770
|
+
newValue = this[propName];
|
|
2771
|
+
delete this[propName];
|
|
2772
|
+
}
|
|
2773
|
+
if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
2774
|
+
this[propName] == newValue) {
|
|
2775
|
+
return;
|
|
2776
|
+
} else if (propName == null) {
|
|
2777
|
+
const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
|
|
2778
|
+
if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && newValue !== oldValue) {
|
|
2779
|
+
const instance = hostRef.$lazyInstance$ ;
|
|
2780
|
+
const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
|
|
2781
|
+
entry == null ? void 0 : entry.forEach((watcher) => {
|
|
2782
|
+
const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
|
|
2783
|
+
if (instance[watchMethodName] != null && (flags2 & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */)) {
|
|
2784
|
+
instance[watchMethodName].call(instance, newValue, oldValue, attrName);
|
|
2785
|
+
}
|
|
2786
|
+
});
|
|
2787
|
+
}
|
|
2788
|
+
return;
|
|
2789
|
+
}
|
|
2790
|
+
const propFlags = members.find(([m]) => m === propName);
|
|
2791
|
+
if (propFlags && propFlags[1][0] & 4 /* Boolean */) {
|
|
2792
|
+
newValue = newValue === null || newValue === "false" ? false : true;
|
|
2793
|
+
}
|
|
2794
|
+
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
2795
|
+
if (newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
2796
|
+
this[propName] = newValue;
|
|
2797
|
+
}
|
|
2798
|
+
});
|
|
2799
|
+
};
|
|
2800
|
+
Cstr.observedAttributes = Array.from(
|
|
2801
|
+
/* @__PURE__ */ new Set([
|
|
2802
|
+
...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
|
|
2803
|
+
...members.filter(([_, m]) => m[0] & 31 /* HasAttribute */).map(([propName, m]) => {
|
|
2804
|
+
const attrName = m[1] || propName;
|
|
2805
|
+
attrNameToPropName.set(attrName, propName);
|
|
2806
|
+
return attrName;
|
|
2807
|
+
})
|
|
2808
|
+
])
|
|
2809
|
+
);
|
|
2810
|
+
}
|
|
2811
|
+
}
|
|
2812
|
+
return Cstr;
|
|
2813
|
+
};
|
|
2814
|
+
|
|
2815
|
+
// src/runtime/initialize-component.ts
|
|
2816
|
+
var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
2817
|
+
let Cstr;
|
|
2818
|
+
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
2819
|
+
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
2820
|
+
const bundleId = cmpMeta.$lazyBundleId$;
|
|
2821
|
+
if (bundleId) {
|
|
2822
|
+
const CstrImport = loadModule(cmpMeta, hostRef);
|
|
2823
|
+
if (CstrImport && "then" in CstrImport) {
|
|
2824
|
+
const endLoad = uniqueTime();
|
|
2825
|
+
Cstr = await CstrImport;
|
|
2826
|
+
endLoad();
|
|
2827
|
+
} else {
|
|
2828
|
+
Cstr = CstrImport;
|
|
2829
|
+
}
|
|
2830
|
+
if (!Cstr) {
|
|
2831
|
+
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
|
2832
|
+
}
|
|
2833
|
+
if (!Cstr.isProxied) {
|
|
2834
|
+
proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
|
|
2835
|
+
Cstr.isProxied = true;
|
|
2836
|
+
}
|
|
2837
|
+
const endNewInstance = createTime("createInstance", cmpMeta.$tagName$);
|
|
2838
|
+
{
|
|
2839
|
+
hostRef.$flags$ |= 8 /* isConstructingInstance */;
|
|
2840
|
+
}
|
|
2841
|
+
try {
|
|
2842
|
+
new Cstr(hostRef);
|
|
2843
|
+
} catch (e) {
|
|
2844
|
+
consoleError(e, elm);
|
|
2845
|
+
}
|
|
2846
|
+
{
|
|
2847
|
+
hostRef.$flags$ &= -9 /* isConstructingInstance */;
|
|
2848
|
+
}
|
|
2849
|
+
endNewInstance();
|
|
2850
|
+
{
|
|
2851
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
2852
|
+
}
|
|
2853
|
+
} else {
|
|
2854
|
+
Cstr = elm.constructor;
|
|
2855
|
+
const cmpTag = elm.localName;
|
|
2856
|
+
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
|
2857
|
+
}
|
|
2858
|
+
if (Cstr && Cstr.style) {
|
|
2859
|
+
let style;
|
|
2860
|
+
if (typeof Cstr.style === "string") {
|
|
2861
|
+
style = Cstr.style;
|
|
2862
|
+
}
|
|
2863
|
+
const scopeId2 = getScopeId(cmpMeta);
|
|
2864
|
+
if (!styles.has(scopeId2) || BUILD.hotModuleReplacement) {
|
|
2865
|
+
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
2866
|
+
registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
|
|
2867
|
+
endRegisterStyles();
|
|
2868
|
+
}
|
|
2869
|
+
}
|
|
2870
|
+
}
|
|
2871
|
+
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
2872
|
+
const schedule = () => scheduleUpdate(hostRef, true);
|
|
2873
|
+
if (ancestorComponent && ancestorComponent["s-rc"]) {
|
|
2874
|
+
ancestorComponent["s-rc"].push(schedule);
|
|
2875
|
+
} else {
|
|
2876
|
+
schedule();
|
|
2877
|
+
}
|
|
2878
|
+
};
|
|
2879
|
+
var fireConnectedCallback = (instance, elm) => {
|
|
2880
|
+
{
|
|
2881
|
+
safeCall(instance, "connectedCallback", void 0, elm);
|
|
2882
|
+
}
|
|
2883
|
+
};
|
|
2884
|
+
|
|
2885
|
+
// src/runtime/connected-callback.ts
|
|
2886
|
+
var connectedCallback = (elm) => {
|
|
2887
|
+
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
2888
|
+
const hostRef = getHostRef(elm);
|
|
2889
|
+
if (!hostRef) {
|
|
2890
|
+
return;
|
|
2891
|
+
}
|
|
2892
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
2893
|
+
const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
|
|
2894
|
+
if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
|
|
2895
|
+
hostRef.$flags$ |= 1 /* hasConnected */;
|
|
2896
|
+
{
|
|
2897
|
+
let ancestorComponent = elm;
|
|
2898
|
+
while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
|
|
2899
|
+
if (ancestorComponent["s-p"]) {
|
|
2900
|
+
attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
|
|
2901
|
+
break;
|
|
2902
|
+
}
|
|
2903
|
+
}
|
|
2904
|
+
}
|
|
2905
|
+
if (cmpMeta.$members$) {
|
|
2906
|
+
Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
|
|
2907
|
+
if (memberFlags & 31 /* Prop */ && memberName in elm && elm[memberName] !== Object.prototype[memberName]) {
|
|
2908
|
+
const value = elm[memberName];
|
|
2909
|
+
delete elm[memberName];
|
|
2910
|
+
elm[memberName] = value;
|
|
2911
|
+
}
|
|
2912
|
+
});
|
|
2913
|
+
}
|
|
2914
|
+
{
|
|
2915
|
+
initializeComponent(elm, hostRef, cmpMeta);
|
|
2916
|
+
}
|
|
2917
|
+
} else {
|
|
2918
|
+
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
2919
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
2920
|
+
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
2921
|
+
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
|
|
2922
|
+
}
|
|
2923
|
+
}
|
|
2924
|
+
endConnected();
|
|
2925
|
+
}
|
|
2926
|
+
};
|
|
2927
|
+
var disconnectInstance = (instance, elm) => {
|
|
2928
|
+
{
|
|
2929
|
+
safeCall(instance, "disconnectedCallback", void 0, elm || instance);
|
|
2930
|
+
}
|
|
2931
|
+
};
|
|
2932
|
+
var disconnectedCallback = async (elm) => {
|
|
2933
|
+
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
2934
|
+
const hostRef = getHostRef(elm);
|
|
2935
|
+
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
2936
|
+
disconnectInstance(hostRef.$lazyInstance$, elm);
|
|
2937
|
+
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
2938
|
+
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
|
|
2939
|
+
}
|
|
2940
|
+
}
|
|
2941
|
+
if (rootAppliedStyles.has(elm)) {
|
|
2942
|
+
rootAppliedStyles.delete(elm);
|
|
2943
|
+
}
|
|
2944
|
+
if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
|
|
2945
|
+
rootAppliedStyles.delete(elm.shadowRoot);
|
|
2946
|
+
}
|
|
2947
|
+
};
|
|
2948
|
+
|
|
2949
|
+
// src/runtime/bootstrap-lazy.ts
|
|
2950
|
+
var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
2951
|
+
var _a;
|
|
2952
|
+
if (!win.document) {
|
|
2953
|
+
console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
|
|
2954
|
+
return;
|
|
2955
|
+
}
|
|
2956
|
+
const endBootstrap = createTime();
|
|
2957
|
+
const cmpTags = [];
|
|
2958
|
+
const exclude = options.exclude || [];
|
|
2959
|
+
const customElements2 = win.customElements;
|
|
2960
|
+
const head = win.document.head;
|
|
2961
|
+
const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
|
|
2962
|
+
const dataStyles = /* @__PURE__ */ win.document.createElement("style");
|
|
2963
|
+
const deferredConnectedCallbacks = [];
|
|
2964
|
+
let appLoadFallback;
|
|
2965
|
+
let isBootstrapping = true;
|
|
2966
|
+
Object.assign(plt, options);
|
|
2967
|
+
plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
|
|
2968
|
+
let hasSlotRelocation = false;
|
|
2969
|
+
lazyBundles.map((lazyBundle) => {
|
|
2970
|
+
lazyBundle[1].map((compactMeta) => {
|
|
2971
|
+
const cmpMeta = {
|
|
2972
|
+
$flags$: compactMeta[0],
|
|
2973
|
+
$tagName$: compactMeta[1],
|
|
2974
|
+
$members$: compactMeta[2],
|
|
2975
|
+
$listeners$: compactMeta[3]
|
|
2976
|
+
};
|
|
2977
|
+
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
2978
|
+
hasSlotRelocation = true;
|
|
2979
|
+
}
|
|
2980
|
+
{
|
|
2981
|
+
cmpMeta.$members$ = compactMeta[2];
|
|
2982
|
+
}
|
|
2983
|
+
const tagName = transformTag(cmpMeta.$tagName$);
|
|
2984
|
+
const HostElement = class extends HTMLElement {
|
|
2985
|
+
["s-p"];
|
|
2986
|
+
["s-rc"];
|
|
2987
|
+
hasRegisteredEventListeners = false;
|
|
2988
|
+
// StencilLazyHost
|
|
2989
|
+
constructor(self) {
|
|
2990
|
+
super(self);
|
|
2991
|
+
self = this;
|
|
2992
|
+
registerHost(self, cmpMeta);
|
|
2993
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
2994
|
+
{
|
|
2995
|
+
if (!self.shadowRoot) {
|
|
2996
|
+
createShadowRoot.call(self, cmpMeta);
|
|
2997
|
+
} else {
|
|
2998
|
+
if (self.shadowRoot.mode !== "open") {
|
|
2999
|
+
throw new Error(
|
|
3000
|
+
`Unable to re-use existing shadow root for ${cmpMeta.$tagName$}! Mode is set to ${self.shadowRoot.mode} but Stencil only supports open shadow roots.`
|
|
3001
|
+
);
|
|
3002
|
+
}
|
|
3003
|
+
}
|
|
3004
|
+
}
|
|
3005
|
+
}
|
|
3006
|
+
}
|
|
3007
|
+
connectedCallback() {
|
|
3008
|
+
const hostRef = getHostRef(this);
|
|
3009
|
+
if (!hostRef) {
|
|
3010
|
+
return;
|
|
3011
|
+
}
|
|
3012
|
+
if (!this.hasRegisteredEventListeners) {
|
|
3013
|
+
this.hasRegisteredEventListeners = true;
|
|
3014
|
+
}
|
|
3015
|
+
if (appLoadFallback) {
|
|
3016
|
+
clearTimeout(appLoadFallback);
|
|
3017
|
+
appLoadFallback = null;
|
|
3018
|
+
}
|
|
3019
|
+
if (isBootstrapping) {
|
|
3020
|
+
deferredConnectedCallbacks.push(this);
|
|
3021
|
+
} else {
|
|
3022
|
+
plt.jmp(() => connectedCallback(this));
|
|
3023
|
+
}
|
|
3024
|
+
}
|
|
3025
|
+
disconnectedCallback() {
|
|
3026
|
+
plt.jmp(() => disconnectedCallback(this));
|
|
3027
|
+
plt.raf(() => {
|
|
3028
|
+
var _a3;
|
|
3029
|
+
const hostRef = getHostRef(this);
|
|
3030
|
+
if (!hostRef) {
|
|
3031
|
+
return;
|
|
3032
|
+
}
|
|
3033
|
+
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
3034
|
+
if (i2 > -1) {
|
|
3035
|
+
deferredConnectedCallbacks.splice(i2, 1);
|
|
3036
|
+
}
|
|
3037
|
+
if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
|
|
3038
|
+
delete hostRef.$vnode$.$elm$;
|
|
3039
|
+
}
|
|
3040
|
+
});
|
|
3041
|
+
}
|
|
3042
|
+
componentOnReady() {
|
|
3043
|
+
var _a3;
|
|
3044
|
+
return (_a3 = getHostRef(this)) == null ? void 0 : _a3.$onReadyPromise$;
|
|
3045
|
+
}
|
|
3046
|
+
};
|
|
3047
|
+
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
3048
|
+
if (!exclude.includes(tagName) && !customElements2.get(tagName)) {
|
|
3049
|
+
cmpTags.push(tagName);
|
|
3050
|
+
customElements2.define(
|
|
3051
|
+
tagName,
|
|
3052
|
+
proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */)
|
|
3053
|
+
);
|
|
3054
|
+
}
|
|
3055
|
+
});
|
|
3056
|
+
});
|
|
3057
|
+
if (cmpTags.length > 0) {
|
|
3058
|
+
if (hasSlotRelocation) {
|
|
3059
|
+
dataStyles.textContent += SLOT_FB_CSS;
|
|
3060
|
+
}
|
|
3061
|
+
{
|
|
3062
|
+
dataStyles.textContent += cmpTags.sort() + HYDRATED_CSS;
|
|
3063
|
+
}
|
|
3064
|
+
if (dataStyles.innerHTML.length) {
|
|
3065
|
+
dataStyles.setAttribute("data-styles", "");
|
|
3066
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
3067
|
+
if (nonce != null) {
|
|
3068
|
+
dataStyles.setAttribute("nonce", nonce);
|
|
3069
|
+
}
|
|
3070
|
+
head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
3071
|
+
}
|
|
3072
|
+
}
|
|
3073
|
+
isBootstrapping = false;
|
|
3074
|
+
if (deferredConnectedCallbacks.length) {
|
|
3075
|
+
deferredConnectedCallbacks.map((host) => host.connectedCallback());
|
|
3076
|
+
} else {
|
|
3077
|
+
{
|
|
3078
|
+
plt.jmp(() => appLoadFallback = setTimeout(appDidLoad, 30));
|
|
3079
|
+
}
|
|
3080
|
+
}
|
|
3081
|
+
endBootstrap();
|
|
3082
|
+
};
|
|
3083
|
+
|
|
3084
|
+
// src/runtime/nonce.ts
|
|
3085
|
+
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
3086
|
+
function transformTag(tag) {
|
|
3087
|
+
return tag;
|
|
3088
|
+
}
|
|
3089
|
+
|
|
3090
|
+
exports.bootstrapLazy = bootstrapLazy;
|
|
3091
|
+
exports.globalScripts = globalScripts;
|
|
3092
|
+
exports.h = h;
|
|
3093
|
+
exports.promiseResolve = promiseResolve;
|
|
3094
|
+
exports.registerInstance = registerInstance;
|
|
3095
|
+
exports.setNonce = setNonce;
|