CINXE.COM

Landtagswahl in Brandenburg 2024: Alle Ergebnisse im Überblick - DER SPIEGEL

<!doctype html><html lang="de"> <head> <title>Landtagswahl in Brandenburg 2024: Alle Ergebnisse im Überblick - DER SPIEGEL</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=yes"> <meta name="MSSmartTagsPreventParsing" content="true"> <meta http-equiv="imagetoolbar" content="no"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="apple-itunes-app" content="app-id=424881832"> <link rel="manifest" href="https://www.spiegel.de/public/spon/json/manifest.json"> <meta name="theme-color" content="#e64415" media="(prefers-color-scheme: light)"> <meta name="theme-color" content="#D03D12" media="(prefers-color-scheme: dark)"> <meta name="google-site-verification" content="lwpSnwoyvMkHS9nHmLBZuYOashAHfooOHSHeA_KS7ek"> <meta name="notdm" content="true"> <meta name="robots" content="index, follow, noarchive, noodp, max-snippet:-1, max-image-preview:large, max-video-preview:-1"> <meta name="Googlebot-News" content="index, follow"> <meta name="copyright" content="DER SPIEGEL, Hamburg, Germany"> <meta name="email" content="spiegel_online@spiegel.de"> <meta name="author" content="Rina Wilkin, Marcel Pauly, Matthias Stahl, Dawood Ohdah, Chris Kurt, Max Heber, DER SPIEGEL"> <meta name="date" content="2024-09-22T22:16:00+02:00"> <meta name="last-modified" content="2024-09-22T22:16:00+02:00"> <meta name="locale" content="de_DE"> <meta name="description" content> <meta name="news_keywords" content="Politik, Deutschland, Landtagswahl in Brandenburg 2024, Daten und Visualisierungen, Brandenburg"> <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:site" content="@derspiegel"> <meta name="twitter:title" content="Landtagswahl in Brandenburg 2024: Alle Ergebnisse im Überblick"> <meta name="twitter:widgets:theme" :content="$store.MediaQuery.colorScheme"> <meta name="twitter:creator" content="@derspiegel"> <meta name="twitter:image" content="https://cdn.prod.www.spiegel.de/images/e4bf23e8-df96-4bfe-a7f0-d3d9e3a525c7_w1200_r2_fpx50_fpy49.jpg"> <meta property="og:title" content="Landtagswahl in Brandenburg 2024: Alle Ergebnisse im Überblick"> <meta property="og:type" content="article"> <meta property="og:url" content="https://www.spiegel.de/politik/deutschland/landtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078"> <meta property="og:image" content="https://cdn.prod.www.spiegel.de/images/e4bf23e8-df96-4bfe-a7f0-d3d9e3a525c7_w1200_r1.778_fpx50_fpy49.jpg"> <script type="application/ld+json"> [{"@context":"http://schema.org","@type":"NewsArticle","articleSection":"Politik","author":[{"@type":"Person","name":"Max Heber"},{"@type":"Person","name":"Chris Kurt"},{"@type":"Person","name":"Dawood Ohdah"},{"@type":"Person","name":"Matthias Stahl"},{"@type":"Person","name":"Marcel Pauly"},{"@type":"Person","name":"Rina Wilkin"}],"dateCreated":"2024-09-22T22:16:00+02:00","dateModified":"2024-09-22T22:16:00+02:00","datePublished":"2024-09-22T22:16:00+02:00","headline":"Landtagswahl: Ergebnisse der Landtagswahl in Brandenburg","image":["https://cdn.prod.www.spiegel.de/images/e4bf23e8-df96-4bfe-a7f0-d3d9e3a525c7_w1200_r1.778_fpx50_fpy49.jpg","https://cdn.prod.www.spiegel.de/images/e4bf23e8-df96-4bfe-a7f0-d3d9e3a525c7_w1200_r1.33_fpx50_fpy49.jpg","https://cdn.prod.www.spiegel.de/images/e4bf23e8-df96-4bfe-a7f0-d3d9e3a525c7_w1200_r1_fpx50_fpy49.jpg"],"isAccessibleForFree":true,"keywords":["Landtagswahl in Brandenburg 2024","Daten und Visualisierungen","Brandenburg","Deutschland"],"mainEntityOfPage":"https://www.spiegel.de/politik/deutschland/landtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078","name":"a-19755ff0-6966-46f3-979c-2ee2f57eb078","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://cdn.prod.www.spiegel.de/public/spon/images/logos/der-spiegel-h60.png"},"name":"DER SPIEGEL"},"thumbnailUrl":["https://cdn.prod.www.spiegel.de/images/e4bf23e8-df96-4bfe-a7f0-d3d9e3a525c7_w288_r1.778_fpx50_fpy49.jpg","https://cdn.prod.www.spiegel.de/images/e4bf23e8-df96-4bfe-a7f0-d3d9e3a525c7_w288_r1.33_fpx50_fpy49.jpg","https://cdn.prod.www.spiegel.de/images/e4bf23e8-df96-4bfe-a7f0-d3d9e3a525c7_w288_r1_fpx50_fpy49.jpg"],"url":"https://www.spiegel.de/politik/deutschland/landtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078"},{"@context":"http://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":{"@id":"https://www.spiegel.de/","@type":"WebPage","name":"Startseite"},"position":1},{"@type":"ListItem","item":{"@id":"https://www.spiegel.de/politik/","@type":"WebPage","name":"Politik"},"position":2},{"@type":"ListItem","item":{"@id":"https://www.spiegel.de/politik/deutschland/","@type":"WebPage","name":"Deutschland"},"position":3},{"@type":"ListItem","item":{"@id":"https://www.spiegel.de/politik/deutschland/landtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078","image":"https://cdn.prod.www.spiegel.de/images/e4bf23e8-df96-4bfe-a7f0-d3d9e3a525c7_w1200_r1.778_fpx50_fpy49.jpg","name":"Landtagswahl in Brandenburg 2024: Alle Ergebnisse im Überblick"},"position":4}]}] </script> <link rel="preconnect" href="https://cdn.prod.www.spiegel.de"> <link rel="dns-prefetch" href="https://cdn.prod.www.spiegel.de"> <link rel="preconnect" href="https://sp-spiegel-de.spiegel.de"> <link rel="dns-prefetch" href="https://sp-spiegel-de.spiegel.de"> <link rel="shortcut icon" href="https://cdn.prod.www.spiegel.de/public/spon/images/icons/favicon.ico" type="image/ico"> <link rel="apple-touch-icon" sizes="57x57" href="https://cdn.prod.www.spiegel.de/public/spon/images/icons/touch-icon.png"> <link rel="apple-touch-icon" sizes="72x72" href="https://cdn.prod.www.spiegel.de/public/spon/images/icons/touch-icon72.png"> <link rel="apple-touch-icon" sizes="76x76" href="https://cdn.prod.www.spiegel.de/public/spon/images/icons/touch-icon76.png"> <link rel="apple-touch-icon" sizes="114x114" href="https://cdn.prod.www.spiegel.de/public/spon/images/icons/touch-icon114.png"> <link rel="apple-touch-icon" sizes="120x120" href="https://cdn.prod.www.spiegel.de/public/spon/images/icons/touch-icon120.png"> <link rel="apple-touch-icon" sizes="144x144" href="https://cdn.prod.www.spiegel.de/public/spon/images/icons/touch-icon144.png"> <link rel="apple-touch-icon" sizes="152x152" href="https://cdn.prod.www.spiegel.de/public/spon/images/icons/touch-icon152.png"> <link rel="apple-touch-icon" sizes="180x180" href="https://cdn.prod.www.spiegel.de/public/spon/images/icons/touch-icon180.png"> <link rel="canonical" href="https://www.spiegel.de/politik/deutschland/landtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078"> <link rel="preload" href="https://cdn.prod.www.spiegel.de/public/spon/generated/css/styles.8262e0331d2cbc9b6adc.css" as="style"> <link rel="preload" href="https://cdn.prod.www.spiegel.de/public/shared/generated/js/commons.69599ab51851318f6930.js" as="script"> <link rel="preload" href="https://cdn.prod.www.spiegel.de/public/shared/generated/js/header.60544321707142ecd7dd.js" as="script"> <link rel="preload" href="https://cdn.prod.www.spiegel.de/public/shared/generated/js/vendors.f1c4f8bff0ebc606b86f.js" as="script"> <link rel="preload" href="https://cdn.prod.www.spiegel.de/public/shared/generated/js/index.0db2974cb13de0675ef9.js" as="script"> <link rel="preload" href="https://cdn.prod.www.spiegel.de/public/shared/fonts/SpiegelSans4UI-Bold.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://cdn.prod.www.spiegel.de/public/shared/fonts/SpiegelSans4UI-Regular.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://cdn.prod.www.spiegel.de/public/shared/fonts/SpiegelSlab4UICd-ExtraBold.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://cdn.prod.www.spiegel.de/public/shared/fonts/SpiegelSans4-6SemiBold.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://cdn.prod.www.spiegel.de/public/shared/fonts/SpiegelSerifTextUI-Regular.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://cdn.prod.www.spiegel.de/public/shared/fonts/SpiegelSerifTextUI-Italic.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://cdn.prod.www.spiegel.de/public/shared/fonts/SpiegelSerifTextUI-Bold.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://cdn.prod.www.spiegel.de/public/shared/fonts/SpiegelSerifTextUI-BoldItalic.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://cdn.prod.www.spiegel.de/public/shared/fonts/SpiegelSerifDisplayUI-BoldItalic.woff2" as="font" type="font/woff2" crossorigin> <link rel="alternate" type="application/rss+xml" title="DER SPIEGEL | RSS Schlagzeilen" href="https://www.spiegel.de/schlagzeilen/index.rss"> <link rel="alternate" type="application/rss+xml" title="DER SPIEGEL RSS Politik" href="https://www.spiegel.de/politik/index.rss"> <link rel="alternate" type="application/rss+xml" title="DER SPIEGEL RSS Politik - Deutschland" href="https://www.spiegel.de/politik/deutschland/index.rss"> <link rel="alternate" type="application/rss+xml" title="DER SPIEGEL RSS Politik - Landtagswahl in Brandenburg 2024" href="https://www.spiegel.de/thema/landtagswahl-in-brandenburg-2024/index.rss"> <link rel="alternate" type="application/rss+xml" title="DER SPIEGEL RSS Politik - Daten und Visualisierungen" href="https://www.spiegel.de/thema/daten-und-visualisierungen/index.rss"> <link rel="alternate" type="application/rss+xml" title="DER SPIEGEL RSS Politik - Brandenburg" href="https://www.spiegel.de/thema/brandenburg/index.rss"> <style>html { --polygon-app-collapsible-header-height: 0px; --polygon-app-bottombar-height: 0px; --polygon-audioplayer-height: 0px; --polygon-featurebar-height: 0px; --polygon-headerbar-height: 0px; --polygon-max-headerbar-height: 0px; --polygon-navigation-height: 0px; --polygon-breakingnews-height: 0px; --polygon-block-title-height: 0px; --polygon-ad-sticky-offset: 0px; --polygon-smallest-viewport-height: 100vh; } @supports (height: 100svh) { html { --polygon-smallest-viewport-height: 100svh; } } [data-is-first-child-hidden]:first-child { display: none; } html.is-app { --polygon-app-bottombar-height: 53px; } html.is-app.has-bottom-sheet { --polygon-app-bottombar-height: 93px; } html.audio-player-open [data-audioplayer-height] { --polygon-audioplayer-height: 68px; } html:not(.is-app) [data-featurebar-height] { --polygon-featurebar-height: 60px; } html:not(.is-app) { --polygon-navigation-height: 56px; } html.has-breaking-news { --polygon-breakingnews-height: 52px; } [data-block-el*="title"] ~ DIV { --polygon-block-title-height: 50px; } html.is-app.is-android.article:not(.is-issue-context) { --polygon-app-collapsible-header-height: 53px; } [data-sticky-ad-offset] { top: calc(var(--polygon-headerbar-height, 0px) + var(--polygon-featurebar-height, 0px) + var(--polygon-block-title-height, 0px)); } html.overlay-open body { overflow: hidden !important; } html.is-logged-in [data-logged-in-hidden], html.is-logged-in [data-logged-in-hidden] + .border-separator { display: none; } html:not(.is-logged-in) [data-not-logged-in-hidden], html:not(.is-logged-in) [data-not-logged-in-hidden] + .border-separator { display: none; } html.is-mobile [data-mobile-hidden] { display: none; } html.is-tablet [data-tablet-hidden] { display: none; } html:not(.is-mobile) [data-not-mobile-hidden] { display: none; } html.is-app [data-app-hidden] { display: none; } html:not(.is-app) [data-not-app-hidden] { display: none; } html.is-unsupported-offline-issue [data-is-unsupported-offline-issue-hidden] { display: none; } html.is-unsupported-audio-playlist [data-is-unsupported-audio-playlist-hidden] { display: none; } html.is-unsupported-app-navigation [data-is-unsupported-app-navigation-hidden] { display: none; } html.is-app:not(.is-unsupported-app-navigation) [data-is-supported-app-navigation-hidden] { display: none; } html.is-unsupported-subscription-plans [data-is-unsupported-subscription-plans-hidden] { display: none; } html:not(.is-ios) [data-not-ios-hidden] { display: none; } html.is-ios [data-ios-hidden] { display: none; } html.is-android [data-android-hidden] { display: none; } html.is-app.is-ios [data-ios-app-hidden] { display: none; } html:not(.is-android) [data-not-android-hidden] { display: none; } html.is-app body>[id^="sp_message_container"] { overflow: visible !important; height: calc(100vh - 56px) !important; } html.is-app body>[id^="sp_message_container"]::after { content: ""; position: absolute; width: 100%; height: 56px; background: rgb(0,0,0); opacity: 0.65; } [data-anchor-offset]::before { content: ""; display: block; margin-top: calc((var(--polygon-headerbar-height, 0px) + var(--polygon-featurebar-height, 0px)) * -1); height: calc(var(--polygon-headerbar-height, 0px) + var(--polygon-featurebar-height, 0px)); } html.is-app { -webkit-tap-highlight-color: transparent; } html:not(.is-issue-context) [data-not-issue-context-hidden] { display: none; } html.is-issue-context [data-issue-context-hidden] { display: none; } html.is-app.article.is-issue-context [data-app-article-issue-context-hidden] { display: none; } html.hide-conditional [data-contains-flags*="conditional"] [data-flag-name*="conditional"], html.hide-conditional [data-conditional-only] { display: none; } html.has-breaking-news [data-has-breaking-news-hidden] { display: none; } html.has-paid-access [data-has-paid-access-hidden] { display: none; } html.has-noads-access [data-has-noads-access-hidden] { display: none; } html:not(.has-paid-access) [data-has-no-paid-access-hidden] { display: none; } html:not(.is-gift-article) [data-not-gift-article-hidden] { display: none; } html:not(.has-first-paint-overlay) [data-not-first-paint-overlay-hidden] { display: none; } a > svg:first-of-type:last-of-type { pointer-events: none; } html [data-area^="block>topic"] [data-is-inside-topic-block-hidden] { display: none; } [data-not-loaded-w-full]:not(.loaded) { width: 100%; } [data-not-loaded-hidden]:not(.loaded) { display: none; } [data-peer].loaded ~ [data-peer-loaded-hidden], iframe.peer ~ [data-peer-loaded-hidden] { display: none; } [data-peer]:not(.loaded) ~ [data-peer-not-loaded-hidden] { display: none; } [x-cloak] { display: none !important; } @media (max-width: 719px) { html.audio-player-open [data-audioplayer-height] { --polygon-audioplayer-height: 60px; } html:not(.is-app) [data-featurebar-height] { --polygon-featurebar-height: 53px; } html:not(.is-app) { --polygon-navigation-height: 88px; } html.has-breaking-news { --polygon-breakingnews-height: 40px; } .sm\:sticky [data-advertisement] .teads-inread, .RichText .sm\:sticky .teads-inread, .sm\:sticky [data-advertisement] .ob-smartfeed-wrapper, .RichText .sm\:sticky .ob-smartfeed-wrapper { margin-bottom: 0px !important; } } @media (min-width: 720px) and (max-width: 1019px) { html:not(.is-app) { --polygon-navigation-height: 112px; } html.has-breaking-news { --polygon-breakingnews-height: 52px; } } html:not(.no-header) [data-headerbar-height], html:not(.no-header) [data-sticky-ad-offset], html:not(.no-header) [data-anchor-offset] { --polygon-headerbar-height: 80px; --polygon-max-headerbar-height: 80px; } html:not(.no-header).is-headerbar-collapsed [data-headerbar-height], html:not(.no-header).is-headerbar-collapsed [data-sticky-ad-offset], html:not(.no-header).is-headerbar-collapsed [data-anchor-offset] { --polygon-headerbar-height: 48px; } html.Spplus [data-has-spplus-hidden], html:not(.Spplus):not(.is-gift-article):not(.has-metered-access) [data-has-spplus-visible] { display: none; } html.Spmetered [data-has-spmetered-hidden], html:not(.Spmetered):not(.is-gift-article) [data-has-spmetered-visible] { display: none; } @media (max-width: 719px) { html:not(.no-header) [data-headerbar-height], html:not(.no-header).is-headerbar-collapsed [data-headerbar-height], html:not(.no-header) [data-sticky-ad-offset], html:not(.no-header).is-headerbar-collapsed [data-sticky-ad-offset], html:not(.no-header) [data-anchor-offset], html:not(.no-header).is-headerbar-collapsed [data-anchor-offset] { --polygon-headerbar-height: 48px; --polygon-max-headerbar-height: 48px; } }.flag-button.color-mmo {color: #FFFFFF;}.flag-button.color-mmo {background-color: #1b43a4;}a.flag-button.color-mmo:hover,button.flag-button.color-mmo:hover {background-color: #163683;}a.flag-button.color-mmo:focus,button.flag-button.color-mmo:focus {background-color: #0e2252;}@media (prefers-color-scheme: dark) {.flag-button.color-mmo {color: #FFFFFF;}.flag-button.color-mmo {background-color: #346BF1;}a.flag-button.color-mmo:hover,button.flag-button.color-mmo:hover {background-color: #163683;}a.flag-button.color-mmo:focus,button.flag-button.color-mmo:focus {background-color: #0e2252;}}.flag-button.color-elf {color: #000000;}.flag-button.color-elf {background-color: #FFFFFF;}a.flag-button.color-elf:hover,button.flag-button.color-elf:hover {background-color: #E9E5E2;}a.flag-button.color-elf:focus,button.flag-button.color-elf:focus {background-color: #FFFFFF;}</style> <link rel="stylesheet" href="https://cdn.prod.www.spiegel.de/public/spon/generated/css/styles.8262e0331d2cbc9b6adc.css"> <script type="application/settings+json">{"general":{"breakpoints":{"lg":{"min":1020},"md":{"max":1019,"min":720},"sm":{"max":719}},"cacheControl":{"breakingnews":{"sessionStorageMaxAge":900}},"consent":{"disabled":false,"globallyDisabled":false,"minUpdatedAt":1626213600,"utiqDisabled":false},"cookieDomains":["www.spiegel.de",".www.spiegel.de",".spiegel.de","abo.spiegel.de","sportdaten.spiegel.de","lotto.spiegel.de","akademie.spiegel.de","ed.spiegel.de"],"disableAdobeLaunch":false,"disableBookmarks":false,"disableBreakingnews":false,"disableSourcepoint":false,"domain":"spon","noAds":true,"noContentAds":true,"secondLevelDomain":"spiegel","subscriptions":{"metered":"Spmetered","noads":"Sppur","paid":["Spplus"]},"text":{"authorDetailsSuffix":{"removeWhitespaceBeforeCharacters":[",",".",":",";"]}},"topLevelDomain":"de","urls":{"assetsBasePath":"https://cdn.prod.www.spiegel.de","backofficeBaseUrl":"https://gruppenkonto.spiegel.de","base":"https://www.spiegel.de","offers":{"Spplus":"https://abo.spiegel.de/de/c/microsites/pl/standard/probemonat1w4?requestAccessToken=true\u0026targetUrl=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078","Sppur":"https://abo.spiegel.de/de/c/microsites/pur/abo?requestAccessToken=true\u0026targetUrl=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078","abo":"https://abo.spiegel.de/de/c/spiegelplus?requestAccessToken=true\u0026targetUrl=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078","antiquariat":"https://www.spiegel-antiquariat.de/?utm_campaign=spon\u0026utm_medium=text\u0026utm_source=sponarchiv","header":"https://abo.spiegel.de/?b=SPOHNAVABO\u0026requestAccessToken=true\u0026sara_icid=disp_upd_9h6L5hu8K1AAnttzYATx3hvk7taDkP\u0026targetUrl=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078","magazin":"https://magazin.spiegel.de/","noads":"https://abo.spiegel.de/de/c/microsites/pur/abo?requestAccessToken=true\u0026targetUrl=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078","paid":"https://abo.spiegel.de/de/c/spiegelplus?requestAccessToken=true\u0026targetUrl=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078","print":"https://abo.spiegel.de/de/c/amazon_spon/"},"pages":{"adfreeOffer":"https://www.spiegel.de/adfree-offer","affiliateLinksFAQ":"https://www.spiegel.de/extra/affiliate-links-auf-spiegel-online-fragen-und-antworten-a-1245589.html","agb":"https://www.spiegel.de/agb","articleGiftInformations":"https://www.spiegel.de/artikel-verschenken","datenschutz":"https://www.spiegel.de/datenschutz-spiegel","datenschutzEN":"https://www.spiegel.de/how-we-deal-with-your-data","impressum":"https://www.spiegel.de/impressum","kontakt":"https://www.spiegel.de/kontakt","nutzungsbedingungen":"https://www.spiegel.de/nutzungsbedingungen","nutzungsbedingungenEN":"https://www.spiegel.de/extra/general-terms-and-conditions-a-1254190.html","problemeMitCookies":"https://www.spiegel.de/probleme-mit-cookies","services":"https://www.spiegel.de/services","sponsoredSiteInfo":"https://www.spiegel.de/sponsored-site-info","webstoriesBaseUrl":"https://cdn.prod.www.spiegel.de/stories/"},"search":"https://www.spiegel.de/suche/","user":{"account":"https://gruppenkonto.spiegel.de/meinkonto/uebersicht.html","login":"https://gruppenkonto.spiegel.de/authenticate?requestAccessToken=true\u0026targetUrl=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078","logout":"https://gruppenkonto.spiegel.de/abmelden.html?targetUrl=https%3A%2F%2Fwww.spiegel.de%2F","register":"https://gruppenkonto.spiegel.de/registrieren.html?requestAccessToken=true\u0026targetUrl=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078"}},"warden":{"baseUrl":"https://prod.warden.spiegel.de/","enabled":true}} ,"app":{"disabledLinks":{"android":["abo.spiegel.de/de/c/spiegel-plus"],"ios":["abo.spiegel.de/de/c/spiegel-plus"]},"minOSVersions":{"android":{"general":{"build":0,"major":5,"minor":0},"nativeAudioPlayer":{"build":0,"major":0,"minor":0}},"ios":{"general":{"build":0,"major":13,"minor":0},"nativeAudioPlayer":{"build":0,"major":13,"minor":0}}},"minVersions":{"android":{"appNavigation":197,"audioPlaylist":169,"consent":158,"formattedPrice":206,"general":158,"nativeAudioPlayer":160,"offlineIssue":166,"subscriptionPlans":203},"ios":{"appNavigation":174,"audioPlaylist":151,"consent":142,"general":0,"nativeAudioPlayer":144,"offlineIssue":147,"subscriptionPlans":0}},"pageContext":{"bottomSheet":{"isEnabled":false},"collection":"article","documentId":"19755ff0-6966-46f3-979c-2ee2f57eb078","headerTitle":"default","isAudioEnabled":false,"isAudioPlaylistEnabled":false,"isBookmarkEnabled":true,"isCommentsEnabled":false,"isGiftArticleEnabled":false,"isLogoEnabled":true,"isOfflineLibraryEnabled":false,"isSharingEnabled":true,"isTocEnabled":false,"push":{"isPushBarEnabled":false,"name":"","subscription":""},"route":"article","socialMediaTitle":"Landtagswahl: Ergebnisse der Landtagswahl in Brandenburg","url":"https://www.spiegel.de/politik/deutschland/landtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078"},"products":{"android":{"Spplus":[{"basePlanId":"p1m","id":"sp_iap_subscription_03","isSubscription":true,"minVersion":0,"plan":"default"}],"Sppur":[{"basePlanId":"p1m","id":"spiegel_no_ads_monthly","isSubscription":true,"minVersion":0,"plan":"default"}]},"ios":{"Spplus":[{"id":"SpiegelPlusMonthly","isSubscription":true,"minVersion":0,"plan":"default"},{"id":"SpiegelPlusMonthlyIVW","isSubscription":true,"minVersion":148,"plan":"default"}],"Sppur":[{"id":"SpiegelAdFreeMonthly","isSubscription":true,"minVersion":0,"plan":"default"}]}},"storeUrl":{"android":"https://play.google.com/store/apps/details?id=de.spiegel.android.app.spon","ios":"https://apps.apple.com/de/app/spiegel-online-nachrichten/id424881832"}} ,"page":{"attributes":{"channel_slug":"politik","is_consent_required":true,"subchannel_slug":"deutschland"},"category":{"route":"article"},"info":{"canonical_url":"https://www.spiegel.de/politik/deutschland/landtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078","domain":"spon","id":"19755ff0-6966-46f3-979c-2ee2f57eb078","language":"de","title":"Landtagswahl in Brandenburg 2024: Alle Ergebnisse im Überblick"}} ,"external":{} ,"editorial":{"attributes":{"article_audio_type":"","has_affiliate":false,"has_article_audio":false,"has_audio_embed":false,"has_author":true,"has_gallery":false,"has_noAds":true,"has_noContentAds":true,"has_video":false,"is_breaking":false,"is_evergreen":false,"is_exclusive":false,"is_listExcluded":false,"is_noted":false,"magazine":""},"author":{"abbreviation":"","departments":["Grafik/Interactive","Datenjournalismus"],"names":["Max Heber","Chris Kurt","Dawood Ohdah","Matthias Stahl","Marcel Pauly","Rina Wilkin"]},"category":{"genre":"","style":"fullsize","type":"news"},"info":{"article_id":"19755ff0-6966-46f3-979c-2ee2f57eb078","channel":"Politik","date_modified":"2024-09-22T22:16:00+02:00","date_published":"2024-09-22T22:16:00+02:00","header_image_id":"e4bf23e8-df96-4bfe-a7f0-d3d9e3a525c7","headline":"Landtagswahl: Ergebnisse der Landtagswahl in Brandenburg","headline_social":"Landtagswahl in Brandenburg 2024: Alle Ergebnisse im Überblick","intro":"","subchannel":"Deutschland","topics":["Landtagswahl in Brandenburg 2024","Daten und Visualisierungen","Brandenburg"]}} ,"paywall":{"attributes":{"is_active":false},"category":{"subscriptions":["Spplus"],"type":"free"},"info":{"position":"na"}} ,"video":{} ,"issue":{} ,"thirdparty":"eyJkZXBvdCI6eyJhcGlVcmwiOiJodHRwczovL3d3dy5zcGllZ2VsLmRlL3NlcnZpY2VzL2RlcG90L2FwaS92MSJ9LCJnaWZ0Ijp7ImFwaVVybCI6Imh0dHBzOi8vd3d3LnNwaWVnZWwuZGUvZ2lmdCJ9LCJqc1NvdXJjZXMiOnsiYWxsZXNwbHVzIjoiaHR0cHM6Ly9hcHAuYWxsZXMucGx1cy9ib290c3RyYXAuanMiLCJnb29nbGVJbWFWYW5zQWRhcHRlciI6Imh0dHBzOi8vc3RhdGljLmFkc2FmZXByb3RlY3RlZC5jb20vdmFucy1hZGFwdGVyLWdvb2dsZS1pbWEuanMiLCJoYW1tZXJqcyI6Imh0dHBzOi8vY2RuLnByb2Qud3d3LnNwaWVnZWwuZGUvcHVibGljL3NoYXJlZC9nZW5lcmF0ZWQvM3JkcGFydHkvanMvaGFtbWVyLjg1MzQyMTQ3ZmJhNTcwMzBlMDQwLmpzIiwibG9nb3JhLWRlYmF0IjoiaHR0cHM6Ly9jZG4ubG9nb3JhLmNvbS9kZWJhdC5qcyIsInNvdXJjZXBvaW50X2RlZmF1bHQiOiJodHRwczovL3NwLXNwaWVnZWwtZGUuc3BpZWdlbC5kZS91bmlmaWVkL3dyYXBwZXJNZXNzYWdpbmdXaXRob3V0RGV0ZWN0aW9uLmpzIiwic291cmNlcG9pbnRfbm9hZHMiOiJodHRwczovL3NwLXNwaWVnZWwtZGUuc3BpZWdlbC5kZS91bmlmaWVkL3dyYXBwZXJNZXNzYWdpbmdXaXRob3V0RGV0ZWN0aW9uLmpzIiwidHdlZXRuYWNsIjoiaHR0cHM6Ly9jZG4ucHJvZC53d3cuc3BpZWdlbC5kZS9wdWJsaWMvc2hhcmVkL2dlbmVyYXRlZC8zcmRwYXJ0eS9qcy9uYWNsLWZhc3QubWluLjg1YmEyMTdhODI5Yjg2Y2U3NjRkLmpzIn0sImp3cGxheWVyIjp7ImFkQ29uZmlnSWQiOiJubTlBc1RISCIsImFwaVVybCI6Imh0dHBzOi8vY2RuLmp3cGxheWVyLmNvbSIsImNvbmZpZyI6eyJhZHZlcnRpc2luZyI6eyJhZG1lc3NhZ2UiOiJEaWUgV2VyYnVuZyBlbmRldCBpbiB4eCBTZWt1bmRlbiIsImFkc2NoZWR1bGVpZCI6IkZzN1FEYnpuIiwiYXV0b3BsYXlhZHNtdXRlZCI6ZmFsc2UsImN1ZXRleHQiOiJXZXJidW5nIiwiZW5hYmxlUFBTIjpmYWxzZSwiZW5kc3RhdGUiOiJzdXNwZW5kZWQiLCJvdXRzdHJlYW0iOmZhbHNlLCJwcmVsb2FkQWRzIjpmYWxzZSwic2tpcG1lc3NhZ2UiOiJTa2lwIGFkIGluIHh4IHNlY29uZHMiLCJ2cGFpZGNvbnRyb2xzIjp0cnVlfSwiYXNwZWN0cmF0aW8iOiIxNjo5IiwiYXV0b1BhdXNlIjp7InZpZXdhYmlsaXR5Ijp0cnVlfSwiYXV0b3N0YXJ0IjpmYWxzZSwiY2FzdCI6e30sImNvbnRyb2xzIjp0cnVlLCJkaXNwbGF5SGVhZGluZyI6ZmFsc2UsImRpc3BsYXlkZXNjcmlwdGlvbiI6ZmFsc2UsImRpc3BsYXl0aXRsZSI6dHJ1ZSwiZmxvYXRpbmciOnsibW9kZSI6Im5vdFZpc2libGUifSwiZ2VuZXJhdGVTRU9NZXRhZGF0YSI6ZmFsc2UsImhlaWdodCI6MjcwLCJpbmNsdWRlX2NvbXBhdGliaWxpdHlfc2NyaXB0IjpmYWxzZSwiaW50ZXJhY3RpdmUiOmZhbHNlLCJpbnRsIjp7ImVuIjp7ImFkdmVydGlzaW5nIjp7ImFkbWVzc2FnZSI6IiIsImN1ZXRleHQiOiIgIiwic2tpcG1lc3NhZ2UiOiIifSwicmVsYXRlZCI6eyJhdXRvcGxheW1lc3NhZ2UiOiIiLCJoZWFkaW5nIjoiTW9yZSBWaWRlb3MifX19LCJsb2NhbGl6YXRpb24iOnsicmVsYXRlZCI6IldlaXRlcmUgVmlkZW9zIn0sIm11dGUiOmZhbHNlLCJwaXBJY29uIjoiZW5hYmxlZCIsInBsYXliYWNrUmF0ZUNvbnRyb2xzIjp0cnVlLCJwcmVsb2FkIjoibm9uZSIsInJlbGF0ZWQiOnsiYXV0b3BsYXltZXNzYWdlIjoiTsOkY2hzdGVzIFZpZGVvIiwiYXV0b3BsYXl0aW1lciI6MCwiZGlzcGxheU1vZGUiOiJzaGVsZiIsIm9uY2xpY2siOiJwbGF5Iiwib25jb21wbGV0ZSI6ImF1dG9wbGF5In0sInJlcGVhdCI6ZmFsc2UsInN0cmV0Y2hpbmciOiJ1bmlmb3JtIiwid2lkdGgiOiIxMDAlIn0sImxpY2Vuc2VLZXkiOiIyK2Z5WjJNdm03Q1NvSjdNUE85R2dCS2I2RnhoYmlUMDIwbHp1TVlidXlnTWIwQTYiLCJzaXRlSWQiOiJUVTNnOGZnVSJ9LCJvbW55Ijp7ImFwaVVybCI6Imh0dHBzOi8vb21ueS5mbS9hcGkiLCJvcmdJZCI6IjVhYzFlOTUwLTQ1YzctNGViNy04N2MwLWFhMGYwMTg0NDFiOCIsInByb2dyYW1zIjp7IjAwOGYwMDRiLTA1NWUtNGUwYy05ZmQwLWFiYzAwMGZmYjA0YSI6eyJuYW1lIjoiU2FzY2hhIExvYm8iLCJwbGF5bGlzdElkIjoiM2I5M2JjM2YtNTJjYi00YTNiLTkxZWYtYWJjMDAwZmZiMDUzIn0sIjBkMTU2YjBjLTI4MTgtNDViZC1hNDIzLWFiYzAwMTBlZTFlZCI6eyJuYW1lIjoiVGVhbS1BIC0gZGVyIGVocmxpY2hlIEbDvGhydW5nc3BvZGNhc3QiLCJwbGF5bGlzdElkIjoiYjhhMzY1MzMtNThkNS00NzA0LWIyNTAtYWJjMDAxMGVlMWY3In0sIjBlYTU1OWEzLTU2NDgtNGE5MC1iZWNjLWFkYmYwMGI4NjA1ZSI6eyJuYW1lIjoiSW5zaWRlIEF1c3RyaWEiLCJwbGF5bGlzdElkIjoiMjJiZGFiZDUtMDBhNC00OGE0LTg2MjItYWRiZjAwYmE0MzM2In0sIjJhMzE2NzI1LWQ5MzUtNDM3YS04NDlhLWFmY2QwMTA4MGMwZCI6eyJuYW1lIjoiRmlyZXdhbGwiLCJwbGF5bGlzdElkIjoiOGU3NTI2NjEtZTQxYy00ZDlmLWJhNmYtYWZjZDAxMTA2OGUzIn0sIjMxNzA0NGMzLTdiNTYtNGQzMy1iNGNmLWFiYzAwMGZmYjA3YSI6eyJuYW1lIjoiU1BJRUdFTCBMaXZlIiwicGxheWxpc3RJZCI6IjZlYmE4MzhkLWRjZjktNGI4Yy1hYTViLWFiYzAwMGZmYjA3ZCJ9LCIzNGZiZGI4My0yMjYzLTQ0YjMtODhhMi1hZjJjMDBkZmM2OGIiOnsibmFtZSI6IkF1c3ZlcmthdWZ0IiwicGxheWxpc3RJZCI6IiJ9LCI0NTRmMjdhMC1mMWIxLTRkN2EtOTliZC1hYmMwMDBmZmIwMmUiOnsibmFtZSI6IkFjaHQgTWlsbGlhcmRlbiIsInBsYXlsaXN0SWQiOiI5ZWRjOGE4My1lMTkxLTRiYzctODU3NS1hYmMwMDBmZmIwMzIifSwiNGFjYjc5ZTYtNTU1Ni00YjJkLTg1M2UtYWQzYzAwZTJkZGI4Ijp7Im5hbWUiOiJTUElFR0VMIEdlc2NoaWNodGUiLCJwbGF5bGlzdElkIjoiN2FhM2ZmOTItYTM1My00MjE2LTllYjktYWQ0MjAwZDNmOTFhIn0sIjVmMDA4NzMyLTBlNmQtNDFhZC1hYjVjLWFkM2MwMGU2MmZmNyI6eyJuYW1lIjoiU1BJRUdFTCBDb2FjaGluZyIsInBsYXlsaXN0SWQiOiI4ZGUwZDg1Zi0yMGEwLTQzZDItOTllMi1hZTUyMDBiNTMwMDcifSwiNjhlZGRkOGItZTAyMi00MWFiLTk3MTctYWQzYzAwZTg2YmQ0Ijp7Im5hbWUiOiJFaW5mYWNoIG1laHIgd2lzc2VuIiwicGxheWxpc3RJZCI6ImE4M2M4OWFiLTgyZjQtNDMyOS1hNGFmLWFlNTEwMGU3MGMzYiJ9LCI2OTdmZjU3ZC1lMTZhLTQ4ZDYtOWFiMS1iMGE3MDBmYzhkY2YiOnsibmFtZSI6IkF1Z3N0ZWluIEVpbmh1bmRlcnQiLCJwbGF5bGlzdElkIjoiIn0sIjZiN2Y0NjNlLTcxMWMtNGQyZi04YzRhLWFjNGIwMGMyNGIyYSI6eyJuYW1lIjoiR2FtZSBDaGFuZ2VyIiwicGxheWxpc3RJZCI6Ijk5YTBiNjBjLTI1ZmYtNDY5MC1iNTE4LWFjNGIwMGM0ZTJlMyJ9LCI3MTA4YmVjNC03YzAzLTRkNGEtODE0Ny1hZGZkMDBjODgyYzQiOnsibmFtZSI6IkltIFZlcmjDtnIiLCJwbGF5bGlzdElkIjoiNzk1MzIyYzktMGJjMS00NjczLWEzN2EtYWRmZDAwY2JmNDc2In0sIjc4MDI2ZWQ0LWE1MzYtNGY5ZS1iNzQxLWIxMmQwMGM4M2RjNyI6eyJuYW1lIjoiTkRBIiwicGxheWxpc3RJZCI6IjNmZDUzZWMwLWFlMTctNDI2NC04ZGRjLWIxMmQwMGM5ZTljMiJ9LCI3ZTAwYzBmZS03ZmExLTQwZGUtYmY4My1hYTI0MDBkY2Y4YjAiOnsibmFtZSI6Im1hbmFnZXIgbWFnYXppbiAtIERlciBQb2RjYXN0IiwicGxheWxpc3RJZCI6IjQ5NzhhNjM4LWE0ZmEtNDg1Yy04NzFhLWFhMjQwMGUxYTI1NCJ9LCI3ZjBjY2YwZS01ZTU5LTQ2YmUtOTlkYS1hZGZkMDBjZDg5N2IiOnsibmFtZSI6IkRlciBUYWciLCJwbGF5bGlzdElkIjoiNTgwMTAwNDgtZTU5NC00ODMzLWJhMDQtYWRmZDAwY2UzYTEzIn0sIjdmMjA5ZGQ2LTkxOGEtNGFjNy05ZTdlLWFlZjYwMGRhYzdjNSI6eyJuYW1lIjoiRWluIHLDpHRzZWxoYWZ0ZXIgUGF0aWVudCIsInBsYXlsaXN0SWQiOiIifSwiN2ZkNDZhMDctZjczZi00ZmFjLWJmNWMtYWJjMDAwZmZiMDZiIjp7Im5hbWUiOiJVbmQgd2FzIG1hY2hzdCBkdT8iLCJwbGF5bGlzdElkIjoiMWU4OTE0YzItZGIwMC00NTRjLTk5OTctYWJjMDAwZmZiMDZmIn0sIjgxMGE5ZjRkLTZlMDEtNDZjZi1hZTNiLWFkOGQwMDlhYWI4ZCI6eyJuYW1lIjoiV28gd2Fyc3QgRHU/IiwicGxheWxpc3RJZCI6IiJ9LCI4OTVhOWYwYi02ZDg3LTRkMjAtYWFiYS1hYmMwMDBmZmIwODciOnsibmFtZSI6IlNtYXJ0ZXIgbGViZW4iLCJwbGF5bGlzdElkIjoiOTEzZWE3ZmMtZTBjNi00YmE4LTgzNjAtYWJjMDAwZmZiMDhjIn0sIjhjYTRjYTNiLTg0MTktNGRiNS1hMzcxLWFjYmUwMTE1NjA5NCI6eyJuYW1lIjoiUG9kY2FzdCBLw7xuc3RsaWNoZSBJbnRlbGxpZ2VueiIsInBsYXlsaXN0SWQiOiI4ODA2OGJiOS1lYmVmLTRiZjQtODIwNS1hY2JlMDExYzE3M2UifSwiYTU3YWMzNGUtYjlmMi00ZTIzLWEwNTktYWUyMDAwYTBhOTllIjp7Im5hbWUiOiJEZXV0c2NobGFuZHMgZGlnaXRhbGUgSG9mZm51bmdzdHLDpGdlciIsInBsYXlsaXN0SWQiOiJiNTQ5MTE1Mi01M2NhLTQ3MmItYmY5ZS1hZTIwMDBhMzQ0OWQifSwiYTdiNzdhMWItMGMwZS00MGU4LWFiZDAtYWJlNDAxMmMxOWJkIjp7Im5hbWUiOiJEYXMgQmVzdGUgenVtIEjDtnJlbiIsInBsYXlCdXR0b25MYWJlbCI6IkFydGlrZWwgYW5ow7ZyZW4iLCJwbGF5bGlzdElkIjoiIiwicmVwbGF5QnV0dG9uTGFiZWwiOiJBcnRpa2VsIGVybmV1dCBhbmjDtnJlbiJ9LCJhZmU1MTFkOC1lNjg5LTQ1OWMtOTgyNS1hYjk4MDA5MTkzY2IiOnsibmFtZSI6IkRFUiBTUElFR0VMIiwicGxheUJ1dHRvbkxhYmVsIjoiQXJ0aWtlbCBhbmjDtnJlbiIsInBsYXlsaXN0SWQiOiIiLCJyZXBsYXlCdXR0b25MYWJlbCI6IkFydGlrZWwgZXJuZXV0IGFuaMO2cmVuIn0sImJiMTdjYTI3LTUxZjQtNDM0OS1iYzFlLWFiYzAwMTAyYzk3NSI6eyJuYW1lIjoiU1BJRUdFTCBMYWdlIiwicGxheWxpc3RJZCI6IjRjMThlMDcyLTI0ZDItNGQ2MC05YTQyLWFiYzAwMTAyYzk3ZSJ9LCJjMGQ5ZWNkMi04MTc1LTQwOTItODJiNi1hYmMwMDBmZmIwNDAiOnsibmFtZSI6Ik5ldHp0ZWlsIiwicGxheWxpc3RJZCI6ImUwMThiOGYzLWFmM2ItNGRiNS1hZjI3LWFiYzAwMGZmYjA0MCJ9LCJjZTliNzk0YS0xZGVlLTRmMmQtYThiZS1hZDNjMDBlZWUyN2QiOnsibmFtZSI6IktsaW1hYmVyaWNodCIsInBsYXlsaXN0SWQiOiI0MjIyOTQyYi03ZTliLTRlZTItYjllOC1hZDNjMDBmMWYwMTkifSwiZDA0MWY4ZjAtY2FjOS00MTUwLWFhYmYtYWJjMDAwZmZiMDEyIjp7Im5hbWUiOiJTdGltbWVuZmFuZyIsInBsYXlsaXN0SWQiOiI5NGEyMmI1Ni03Yzg5LTQ1YmYtOGU4NC1hYmMwMDBmZmIwMTYifSwiZDliZTk3MmItZjY0Ny00M2YyLWEzYjItYWZhMTAwYzQxZjRhIjp7Im5hbWUiOiJNb3Jlbm8rMSIsInBsYXlsaXN0SWQiOiI0NWYwOTAyNy1iOTJmLTQxOTMtOGMwNi1hZmExMDBlNzgxN2IifSwiZGU4YWY4YmEtY2VlZi00MjlhLWEwYjQtYWJhZjAwYjI4YWNjIjp7Im5hbWUiOiJEcmVpIFbDpHRlciIsInBsYXlsaXN0SWQiOiI2YTRjMTc4Yy00YmRmLTQ2N2UtOGIwOC1hYmFmMDBiMjhhZDEifSwiZGY2ODMwNmYtOTNiOC00NjhjLTk0NzAtYjBmOTAwYWUyOGU5Ijp7Im5hbWUiOiIxMUZSRVVOREUiLCJwbGF5QnV0dG9uTGFiZWwiOiJBcnRpa2VsIGFuaMO2cmVuIiwicGxheWxpc3RJZCI6IiIsInJlcGxheUJ1dHRvbkxhYmVsIjoiQXJ0aWtlbCBlcm5ldXQgYW5ow7ZyZW4ifSwiZTQ1ZjczOWMtYzI1Yy00N2I5LTk1MjktYjE3MDAwOTMzYTVjIjp7Im5hbWUiOiJTaG9ydGN1dCIsInBsYXlsaXN0SWQiOiI3ZGRmMDE4ZC1hMmY1LTQ3ZjQtODIxNi1iMTcwMDA5NWU0ZmMifSwiZWRlM2VmYjctYjI0MS00ZTEyLWE4NWYtYWMzNzAwYTE4NmEzIjp7Im5hbWUiOiJTYWdlbiwgd2FzIGlzdC4gRGVyIFNQSUVHRUwtUG9kY2FzdCIsInBsYXlsaXN0SWQiOiIifSwiZjlkMzc2MzctMDY1YS00YzU1LWEyMTItYWNkZDAwYzRhMmYwIjp7Im5hbWUiOiJTUElFR0VMIERhaWx5IiwicGxheWxpc3RJZCI6IiJ9LCJmZmUyNmE3Yi01NjhiLTQxNTMtODBhYi1hZmFmMDBkMmY3YzQiOnsibmFtZSI6IlNwaXR6ZW5nZXNwcsOkY2giLCJwbGF5bGlzdElkIjoiOGEyZDIzZWEtMDMxZS00MzQ4LWE5ZGItYWZhZjAwZDg5NjM3In19fSwicmVjbyI6eyJhcGlVcmwiOiJodHRwczovL3Byb2QucmVjby5zcGllZ2VsLmRlIn0sInNpdGVzZWFyY2giOnsiYXBpVXJsIjoiaHR0cHM6Ly93d3cuc3BpZWdlbC5kZS9zZXJ2aWNlcy9zaXRlc2VhcmNoIn0sInNvdXJjZXBvaW50Ijp7ImRlZmF1bHQiOnsiYWNjb3VudElkIjozMzEsImJhc2VFbmRwb2ludCI6Imh0dHBzOi8vc3Atc3BpZWdlbC1kZS5zcGllZ2VsLmRlIiwiY2FtcGFpZ25FbnYiOiJwcm9kIiwicHJpdmFjeU1hbmFnZXJJZCI6ODA2NTY1LCJwcm9wZXJ0eUhyZWYiOiJodHRwczovL3NwaWVnZWwtYWRzIiwicHJvcGVydHlJZCI6MzEyNTYsInB1cnBvc2VJZHMiOnsicmVjb21tZW5kYXRpb25zIjoiNjU1ZjFhYjQ3MTI5YTAwNTk1ZjMxYTY1IiwidGhpcmRwYXJ0eSI6IjY1NWYxYWI0NzEyOWEwMDU5NWYzMWE1ZSJ9LCJzaXRlSWQiOjMxMjU2fSwibm9hZHMiOnsiYWNjb3VudElkIjozMzEsImJhc2VFbmRwb2ludCI6Imh0dHBzOi8vc3Atc3BpZWdlbC1kZS5zcGllZ2VsLmRlIiwiY2FtcGFpZ25FbnYiOiJwcm9kIiwicHJpdmFjeU1hbmFnZXJJZCI6ODM5OTg0LCJwcm9wZXJ0eUhyZWYiOiJodHRwczovL3NwaWVnZWwtbm9hZHMiLCJwcm9wZXJ0eUlkIjozMTgzNiwicHVycG9zZUlkcyI6eyJyZWNvbW1lbmRhdGlvbnMiOiI2NGJmOWNjNmI0YTY3YzA1MzVmNjYyMWYiLCJ0aGlyZHBhcnR5IjoiNjRiZjljYzZiNGE2N2MwNTM1ZjY2MjBjIn0sInNpdGVJZCI6MzE4MzZ9fX0=","translations":{"bookmarkButton":{"labelAdd":"Zur Merkliste hinzufügen","labelDelete":"Aus Merkliste entfernen"},"confirmationLayer":{"deleteAllBookmarks":{"cancelButtonLabel":"Abbrechen","confirmButtonLabel":"Artikel entfernen","description":"Möchten Sie wirklich alle Artikel aus Ihrer Merkliste löschen? Diese Aktion kann nicht rückgängig gemacht werden.","headline":"Alle Artikel entfernen?"}},"loginLayer":{"bookmarks":{"text":"Speichern Sie Ihre Lieblingsartikel in der persönlichen Merkliste, um sie später zu lesen und einfach wiederzufinden.","title":"Artikel-Merkliste"},"history":{"text":"Finden Sie Ihre zehn zuletzt gelesenen Artikel schnell und unkompliziert wieder.","title":"Gelesene Artikel"},"newsletter":{"text":"Melden Sie sich in Ihrem persönlichen SPIEGEL-Konto an, um Ihre Newsletter zu verwalten.","title":"Newsletter"},"offlinelibrary":{"text":"Speichern Sie Magazin-Ausgaben in Ihrer Offline-Bibliothek. Lesen Sie den SPIEGEL jederzeit – auch offline und als PDF.","title":"Gespeicherte Magazine"},"playlist":{"text":"Speichern Sie Ihre Audioinhalte in Ihrer Playlist, um sie später zu hören oder offline abzuspielen. Zusätzlich können Sie Ihre Playlist über alle Geräte mit der SPIEGEL-App synchronisieren, auf denen Sie mit Ihrem Konto angemeldet sind.","title":"Audio-Playlist"}},"notification":{"addBookmarkFailure":{"description":"Beim Speichern des Artikels ist ein Fehler aufgetreten. \u003ca href=\"#\" data-notification-el=\"trigger\"\u003eErneut versuchen\u003c/a\u003e","headline":"Fehler"},"addBookmarkSuccess":{"description":"Ihr Artikel wurde gespeichert. \u003ca href=\"https://www.spiegel.de/fuermich/merkliste\"\u003eZur Merkliste\u003c/a\u003e","headline":"Zur Merkliste hinzugefügt"},"addDocumentAudioToPlaylistFailure":{"description":"Clip konnte nicht zur Playlist hinzugefügt werden. Bitte versuchen Sie es erneut oder starten Sie die App neu.","headline":"Fehler beim Hinzufügen zur Playlist"},"copyGiftArticleLinkFailure":{"description":"Beim Kopieren des Artikel-Links ist ein Fehler aufgetreten. \u003ca href=\"#\" data-notification-el=\"trigger\"\u003eErneut versuchen\u003c/a\u003e","headline":"Fehler"},"copyGiftArticleLinkSuccess":{"description":"Der Artikel-Link wurde erfolgreich in Ihrer Zwischenablage gespeichert.","headline":"Link kopiert"},"deleteAllBookmarksFailure":{"description":"Beim Löschen der Artikel ist ein Fehler aufgetreten. \u003ca href=\"#\" data-notification-el=\"trigger\"\u003eErneut versuchen\u003c/a\u003e","headline":"Fehler"},"deleteAllBookmarksSuccess":{"description":"Ihre Artikel wurden aus der Merkliste gelöscht.","headline":"Aus Merkliste entfernt"},"deleteBookmarkFailure":{"description":"Beim Löschen des Artikels ist ein Fehler aufgetreten. \u003ca href=\"#\" data-notification-el=\"trigger\"\u003eErneut versuchen\u003c/a\u003e","headline":"Fehler"},"deleteBookmarkSuccess":{"description":"Ihr Artikel wurde aus der \u003ca href=\"https://www.spiegel.de/fuermich/merkliste\"\u003eMerkliste\u003c/a\u003e gelöscht.","headline":"Aus Merkliste entfernt"},"deleteCookiesSuccess":{"headline":"Cookies wurden erfolgreich gelöscht"},"rejectConsentFailure":{"description":"Leider konnten wir Ihre Zustimmung nicht widerrufen. Bitte versuchen Sie es über die Einstellungen.","headline":"Fehler beim Widerruf Ihrer Zustimmung"},"rejectConsentSuccess":{"headline":"Zustimmung erfolgreich widerrufen"}}} }</script> <script>"use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(){var t=function(){var t,e,o=[],n=window,r=n;for(;r;){try{if(r.frames.__tcfapiLocator){t=r;break}}catch(t){}if(r===n.top)break;r=r.parent}t||(!function t(){var e=n.document,o=!!n.frames.__tcfapiLocator;if(!o)if(e.body){var r=e.createElement("iframe");r.style.cssText="display:none",r.name="__tcfapiLocator",e.body.appendChild(r)}else setTimeout(t,5);return!o}(),n.__tcfapi=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.length)return o;"setGdprApplies"===n[0]?n.length>3&&2===parseInt(n[1],10)&&"boolean"==typeof n[3]&&(e=n[3],"function"==typeof n[2]&&n[2]("set",!0)):"ping"===n[0]?"function"==typeof n[2]&&n[2]({gdprApplies:e,cmpLoaded:!1,cmpStatus:"stub"}):o.push(n)},n.addEventListener("message",(function(t){var e="string"==typeof t.data,o={};if(e)try{o=JSON.parse(t.data)}catch(t){}else o=t.data;var n="object"===_typeof(o)&&null!==o?o.__tcfapiCall:null;n&&window.__tcfapi(n.command,n.version,(function(o,r){var a={__tcfapiReturn:{returnValue:o,success:r,callId:n.callId}};t&&t.source&&t.source.postMessage&&t.source.postMessage(e?JSON.stringify(a):a,"*")}),n.parameter)}),!1))};"undefined"!=typeof module?module.exports=t:t()}();</script> <script>var isSystemSupported = (function() {var crawlerUserAgents = ['APIs-Google','Mediapartners-Google','AdsBot-Google-Mobile','AdsBot-Google','Googlebot-Image','Googlebot-News','Googlebot-Video','Googlebot\\/','AdsBot-Google-Mobile-Apps','Google (\\+https:\\/\\/developers.google.com\\/+\\/web\\/snippet\\/)','Google-AMPHTML','Facebot','facebookexternalhit','Twitterbot','PocketParser','bingbot','msnbot','msnbot-media','AdldxBot','BingPreview\\/','DuckDuckBot','Pinterest','Pinterestbot','ToutiaoSpider','upday.com','XING-contenttabreceiver','xing.com','Qwant-News','qwant.com','Qwantify','Yahoo! Slurp','FlipboardProxy','YandexBot','Feedly','LinkedInBot','Applebot','NextCloud','ia_archiver','outbrain','Sogou','exabot','Baiduspider','Baidu-YunGuanCe','ScopeContentAG-HTTP-Client www.thescope.com\\/0.1','archive.org_bot','Chrome-Lighthouse','Panoo',];var crawlerRegex = RegExp(crawlerUserAgents.join('|'));var isCrawler = crawlerRegex.test(window.navigator.userAgent);if (isCrawler) {return true;}if (!window.CSS || !window.CSS.supports('color', 'var(--primary)')) {return false;}try {new Function('const obj = {}; obj?.foo;');} catch(error) {return false;}var isAndroid = /Android/i.test(window.navigator.userAgent);if (isAndroid) {var isOSSupported = true;var version = {major: undefined,minor: undefined,build: undefined,};var ua = navigator.userAgent.toLowerCase();var match = ua.match(/android\s(\d+).?(\d+)?.?(\d+)?/);if (match) {version.major = match[1] ? parseInt(match[1], 10) : undefined;version.minor = match[2] ? parseInt(match[2], 10) : undefined;version.build = match[3] ? parseInt(match[3], 10) : undefined;}var minVersion = {major: 7,minor: 1,build: 1,};isOSSupported = version.major >= minVersion.major;if (version.major === minVersion.major) {isOSSupported = version.minor >= minVersion.minor;}if (version.major === minVersion.major && version.minor === minVersion.minor) {isOSSupported = version.build >= minVersion.build;}if (!isOSSupported && typeof version.major !== 'undefined') {var xhr = new XMLHttpRequest();try {xhr.open('GET', 'https://cdn.prod.www.spiegel.de/ping', false);xhr.send();return true;} catch(error) {return false;}}}return true;})();if (!isSystemSupported) {window.location.replace('https://www.spiegel.de/system-update');}</script> <script src="https://cdn.prod.www.spiegel.de/public/shared/generated/js/commons.69599ab51851318f6930.js"></script> <script src="https://cdn.prod.www.spiegel.de/public/shared/generated/js/header.60544321707142ecd7dd.js"></script> <script>!function(e,a,n,t){if (a) return;var i=e.head;if(i){var o=e.createElement("style");o.id="alloy-prehiding",o.innerText=n,i.appendChild(o),setTimeout(function(){o.parentNode&&o.parentNode.removeChild(o)},t)}}(document, document.location.href.indexOf("adobe_authoring_enabled") !== -1, "[data-target-hide] { opacity: 0 !important }", 1000);</script> </head> <body class="bg-shade-lightest dark:bg-black text-black dark:text-shade-lightest relative min-w-sm leading-normal static antialiased lining-nums lg:overflow-x-hidden lg:overflow-y-scroll" data-area="article"> <div data-headerbar-height class="flex justify-end relative" style="top: var(--polygon-max-headerbar-height, 0);"> <span class="relative w-full relative"> <a href="#Inhalt" title="Zum Inhalt springen" class="absolute inline-block rounded z-overlay bg-white dark:bg-dm-shade-darkest font-bold font-sansUI text-primary-darker dark:text-shade-lightest text-s sm:mr-8 md:mr-24 lg:mr-24 sm:mt-8 md:mt-12 lg:mt-12 right-0 p-0 border-0 h-px w-px overflow-hidden pointer-events-none opacity-none focus:px-12 focus:py-8 focus:h-auto focus:w-auto focus:overflow-auto focus:pointer-events-auto focus:opacity-full"> Zum Inhalt springen </a> </span> </div> <header role="banner" class="sticky top-0 -mt-8 z-30 pointer-events-none"> <div data-app-hidden> <div class="relative z-max" data-area="header-bar"> <div class="bg-primary-base dark:bg-dm-primary-base top-0 w-full z-10 pointer-events-auto h-80 sm:h-48 transition-height duration-200 ease-linear" id="header-bar" x-data="{isInTopArea: true,isInOverlay: false,get isCollapsed() {return !this.isInTopArea && !this.isInOverlay;},}" x-init="isInTopArea = typeof $store.isInTopArea === 'undefined' || $store.isInTopArea;" x-subscribe.toparea_enter="isInTopArea = true" x-subscribe.toparea_leave="isInTopArea = false" x-subscribe.overlay_handler_active_overlay_changed="isInOverlay = !!$payload[0] && $payload[0].expandHeader" x-effect="document.documentElement.classList.toggle('is-headerbar-collapsed', isCollapsed)" :class="{'lg:shadow lg:h-48 md:shadow md:h-48 iqdsticky': isCollapsed,}" x-lazyload> <div class="bg-primary-base dark:bg-dm-primary-base md:overflow-hidden lg:overflow-hidden"> <div class="mx-auto flex items-center h-80 transition-height duration-200 ease-linear lg:px-32 lg:py-20 lg:max-w-lg md:px-24 md:py-20 sm:pb-12 sm:pl-16 sm:pr-12 sm:pt-12 sm:h-48" :class="{'lg:h-48 md:h-48': isCollapsed,}"> <span class="flex flex-auto justify-between items-center md:order-1 lg:order-1 overflow-hidden text-white transition-transform duration-300 ease-out origin-left-center" :class="{'lg:translate-x-40 lg:scale-70 md:translate-x-40 md:scale-70': isCollapsed,}"> <span class="shrink-0"> <a href="https://www.spiegel.de/" target="_self" title="DER SPIEGEL" aria-label="DER SPIEGEL"> <span class="hidden">DER SPIEGEL</span> <span class="block lg:hidden md:hidden leading-none"><svg id="spon-spiegel-mobile" width="74" height="15" viewBox="0 0 74 15" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="spiegel-mobile-de452649-2af7-4f19-a21b-adc2205fb44d" clip-path="url(#clip0-de452649-2af7-4f19-a21b-adc2205fb44d)"> <g id="der-spiegel-tablet-desktop-de452649-2af7-4f19-a21b-adc2205fb44d"> <g id="logo-de452649-2af7-4f19-a21b-adc2205fb44d" fill="#fff"> <path d="M-36.635 12.5v-10h3.212v10h-3.212zm6.123.9V1.6c0-.9-.803-1.6-1.606-1.6h-8.632v2.5h1.205v10h-1.205V15h8.733c.803 0 1.505-.7 1.505-1.6zM-21.478 9.7v2.8h-3.413V8.4h4.517V5.9h-4.517V2.5h3.413v2.1h2.81V0h-10.238v2.5h1.104v10h-1.104V15h10.238V9.7h-2.81zM-13.047 5.9V2.5h3.313v3.4h-3.313zm6.324 6.6V8.9c0-.9-.703-1.6-1.606-1.6.903 0 1.606-.7 1.606-1.6v-4c0-.8-.703-1.6-1.506-1.6h-8.933v2.5h1.305v10h-1.305V15h5.32v-2.5h-1.104V8.4h3.312v4.1h-1.205V15h5.22v-2.5h-1.104zM14.656 5.9V2.5h3.413v3.4h-3.413zm6.324.9V1.6c0-.9-.703-1.6-1.606-1.6H10.54v2.5h1.204v10h-1.204V15h5.22v-2.5h-1.105V8.4h4.718c.903 0 1.606-.7 1.606-1.6zM26.099 12.5v-10h1.204V0h-5.22v2.5h1.205v10h-1.204V15h5.22v-2.5h-1.205zM36.036 9.7v2.8h-3.413V8.4h4.517V5.9h-4.517V2.5h3.413v2.1h2.91V0H28.608v2.5h1.104v10h-1.104V15h10.338V9.7h-2.91zM44.266 5.9v2.5h2.309v4.1h-3.413v-10h3.413v2.1h3.011v-3c0-.9-.703-1.6-1.606-1.6h-6.022c-.402 0-.803.2-1.004.4-.301.3-.602.7-.602 1.2v11.8c0 .5.2.9.602 1.2.301.3.703.4 1.104.4h7.528V5.9h-5.32zM58.419 9.7v2.8h-3.413V8.4h4.517V5.9h-4.517V2.5h3.413v2.1h2.91V0H50.992v2.5h1.104v10h-1.104V15H61.33V9.7h-2.911zM70.163 9.7v2.8H66.85v-10h1.204V0h-5.32v2.5h1.205v10h-1.205V15h10.339V9.7h-2.911zM9.236 13.49V5.94H3.013V2.517h3.312V4.63h3.011V1.61C9.336.644 8.433 0 7.53 0H1.608C.704 0 .002.705.002 1.61v6.846h6.223v4.128H2.913V9.765H.002v3.624C.002 14.295.704 15 1.608 15H7.53c.923 0 1.706-.604 1.706-1.51z"/> </g> </g> </g> <defs> <clipPath id="clip0-de452649-2af7-4f19-a21b-adc2205fb44d"> <path fill="#fff" d="M0 0h74v15H0z"/> </clipPath> </defs> </svg> </span> <span class="block leading-none sm:hidden"><svg id="spon-spiegel-tablet-desktop" width="113" height="23" viewBox="0 0 113 23" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <path d="M22.956 9.047V3.833h5.233v5.214h-5.233zm9.696 1.38V2.453C32.652 1.073 31.575 0 30.19 0H16.646v3.833h1.847v15.334h-1.847V23h8.003v-3.833h-1.693V12.88h7.234c1.385 0 2.462-1.073 2.462-2.453zM40.501 19.167V3.833h1.847V0h-8.003v3.833h1.847v15.334h-1.847V23h8.003v-3.833h-1.847zM55.738 14.873v4.294h-5.233V12.88h6.926V9.047h-6.926V3.833h5.233v3.22h4.463V0H44.35v3.833h1.693v15.334h-1.693V23h15.852v-8.127h-4.463zM68.358 9.047v3.833h3.54v6.287h-5.233V3.833h5.233v3.22h4.617v-4.6c0-1.38-1.077-2.453-2.462-2.453h-9.234c-.616 0-1.232.307-1.54.613-.461.46-.923 1.074-.923 1.84v18.094c0 .766.308 1.38.923 1.84.462.46 1.078.613 1.693.613h11.543V9.047h-8.157zM90.059 14.873v4.294h-5.233V12.88h6.926V9.047h-6.926V3.833h5.233v3.22h4.463V0H78.67v3.833h1.693v15.334H78.67V23h15.852v-8.127h-4.463zM108.066 14.873v4.294h-5.078V3.833h1.846V0h-8.157v3.833h1.847v15.334h-1.847V23h15.853v-8.127h-4.464zM14.645 20.685V9.107H5.103V3.86h5.079v3.242h4.617V2.47C14.8.988 13.414 0 12.03 0h-9.08C1.562 0 .485 1.08.485 2.47v10.496h9.542v6.33H4.95v-4.323H.486v5.557c0 1.39 1.077 2.47 2.462 2.47h9.08c1.417 0 2.617-.926 2.617-2.315z" fill="#fff"/> </svg> </span> </a> </span> <a href="https://www.spiegel.de/politik/" target="_self" title="Politik" class="relative mr-auto ml-4 mt-2 text-white overflow-hidden pr-16 font-sans text-3xl ml-6 sm:overflow-x-auto sm:text-l sm:leading-normal sm:ml-4 tracking-wide whitespace-nowrap"> Politik </a> <div class="relative lg:h-56 md:h-56 sm:h-40 focus:outline-none"> <div class="z-10 absolute right-0 bottom-0 lg:h-56 md:h-56 sm:h-40"> <div class="flex items-center"> <span class="bg-gradient-to-l from-primary-base dark:from-dm-primary-base w-24 lg:h-56 md:h-56 sm:h-40"></span> </div> </div> </div> </span> <div class="flex items-center justify-end flex-auto md:order-2 lg:order-2 ml-6 transition-fade duration-300 ease-out" :class="{'lg:invisible lg:opacity-none md:invisible md:opacity-none': isCollapsed,}"> <a href="https://abo.spiegel.de/?b=SPOHNAVABO&requestAccessToken=true&sara_icid=disp_upd_9h6L5hu8K1AAnttzYATx3hvk7taDkP&targetUrl=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078" title="Abonnement" class="font-bold bg-primary-base dark:bg-dm-primary-base inline-block text-white font-sansUI py-12 text-s sm:mr-24" target="_blank"> <span class="sm:hidden border-b">Abonnement</span> <span class="lg:hidden md:hidden border-b">Abo</span> </a> <span class="sm:hidden ml-24"> <a href="https://gruppenkonto.spiegel.de/authenticate?requestAccessToken=true&targetUrl=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078" class="inline-flex items-center font-bold font-sansUI rounded text-primary-base bg-white hover:text-primary-dark focus:text-primary-darker dark:text-primary-base px-16 min-h-44 gap-8" title="Jetzt anmelden" data-sara-link="gruppenkonto" data-logged-in-hidden> <span data-label class="text-s leading-18">Anmelden</span> <span class="leading-none"><svg id="spon-chevron-right-f-s" class="stroke-current" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="s-chevron-right-f-2a76e7a9-8163-4012-8a3c-eb0377738ccd"> <g id="s-chevron-right-2a76e7a9-8163-4012-8a3c-eb0377738ccd"> <path id="vector-2a76e7a9-8163-4012-8a3c-eb0377738ccd" d="M4.333 2.667L7.667 6 4.333 9.333" stroke-width="1.5" stroke-linecap="round"/> </g> </g> </svg> </span> </a> </span> <a href="https://www.spiegel.de/fuermich/" class="ml-24 bg-white h-40 inline-flex items-center justify-center rounded-circle w-40 md:hidden sm:hidden text-primary-base dark:text-dm-primary-base hover:opacity-distinct" data-not-logged-in-hidden title="Für Mich"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <path class="stroke-current" d="M8.05 8.5C8.05 6.29213 9.79213 4.55 12 4.55C14.2079 4.55 15.95 6.29213 15.95 8.5C15.95 10.7079 14.2079 12.45 12 12.45C9.79213 12.45 8.05 10.7079 8.05 8.5Z" stroke-width="1.1"/> <mask id="a-413a730d-30e1-4f2e-a797-2095f2eca666" fill="white"> <path fill-rule="evenodd" clip-rule="evenodd" d="M8 16.1H16C18.1539 16.1 19.9 17.8461 19.9 20H21C21 17.2386 18.7614 15 16 15H8C5.23858 15 3 17.2386 3 20H4.1C4.1 17.8461 5.84609 16.1 8 16.1Z"/> </mask> <path class="fill-current" mask="url(#a-413a730d-30e1-4f2e-a797-2095f2eca666)" d="M19.9 20H18.6V21.3H19.9V20ZM21 20V21.3H22.3V20H21ZM3 20H1.7V21.3H3V20ZM4.1 20V21.3H5.4V20H4.1ZM16 14.8H8V17.4H16V14.8ZM21.2 20C21.2 17.1281 18.8719 14.8 16 14.8V17.4C17.4359 17.4 18.6 18.5641 18.6 20H21.2ZM19.9 21.3H21V18.7H19.9V21.3ZM16 16.3C18.0435 16.3 19.7 17.9565 19.7 20H22.3C22.3 16.5206 19.4794 13.7 16 13.7V16.3ZM16 13.7H8V16.3H16V13.7ZM4.3 20C4.3 17.9565 5.95655 16.3 8 16.3V13.7C4.52061 13.7 1.7 16.5206 1.7 20H4.3ZM3 21.3H4.1V18.7H3V21.3ZM8 14.8C5.12812 14.8 2.8 17.1281 2.8 20H5.4C5.4 18.5641 6.56406 17.4 8 17.4V14.8Z"/> </svg> </a> </div> <button class="text-white dark:text-shade-lightest leading-none outline-focus transition-fade duration-300 ease-out lg:absolute lg:h-full lg:top-0 lg:invisible lg:opacity-none lg:-ml-4 md:absolute md:h-full md:top-0 md:invisible md:opacity-none md:-ml-4" @click="setTimeout(() => $publish('OPEN_MENU_DRAWER'), 0)" data-sara-click-el="button" :class="{'lg:opacity-none lg:invisible md:opacity-none md:invisible': !isCollapsed,}"> <span class="sr-only">Menü öffnen</span><svg id="spon-menu-l" class="stroke-current" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="l-menu-61db46c6-8eb3-4a5c-b4b7-c42f4522afdd" stroke-width="1.3" stroke-linecap="round"> <path id="line-61db46c6-8eb3-4a5c-b4b7-c42f4522afdd" d="M19.35 6.65H4.65"/> <path id="line_2-61db46c6-8eb3-4a5c-b4b7-c42f4522afdd" d="M19.35 11.65H4.65"/> <path id="line_3-61db46c6-8eb3-4a5c-b4b7-c42f4522afdd" d="M19.35 16.65H4.65"/> </g> </svg> </button> </div> </div> </div> <div class="absolute left-0 right-0 pointer-events-auto" data-notification-el="container" data-notification-position="default"></div> </div> </div> </header> <nav role="navigation" class="z-10 mt-8"> <div data-app-hidden> <div class="w-full border-b border-shade-lighter dark:border-black bg-white dark:bg-dm-shade-darkest shadow" data-area="tab-bar"> <ul class="flex items-center justify-around lg:hidden md:h-56 sm:h-48 mx-auto"> <li data-target-hide> <a href="https://www.spiegel.de/" target="_self" title="News" aria-label="News" class="inline-flex md:p-12 sm:p-8 text-black dark:text-shade-lightest"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <path d="M4.5 10.5v9h6v-3a1 1 0 011-1h1a1 1 0 011 1v3h6v-9l-7.5-7-7.5 7z" class="stroke-current" stroke-width="1.1"/> </svg> <span class="hidden">News</span> </a> </li> <li data-target-hide> <a href="https://www.spiegel.de/schlagzeilen/" target="_self" title="Ticker" aria-label="Ticker" class="inline-flex md:p-12 sm:p-8 text-black dark:text-shade-lightest"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <circle cx="12" cy="12" r="8.5" class="stroke-current"/> <path d="M11.5 7.5v5h4" class="stroke-current" stroke-linecap="round" stroke-linejoin="round"/> </svg> <span class="hidden">Ticker</span> </a> </li> <li data-target-hide> <a href="https://www.spiegel.de/spiegel/" target="_self" title="Magazin" aria-label="Magazin" class="inline-flex md:p-12 sm:p-8 text-black dark:text-shade-lightest"><svg class="fill-current" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <path d="M9 10.444v4.326h4.214v2.624h-2.357V15.62H9v2.269c0 .638.357 1.135 1.214 1.135h3.5c.857 0 1.286-.426 1.286-1.206v-4.751h-4.214v-2.27h2.357v1.419H15v-1.915c0-.709-.429-1.135-1.071-1.135h-3.643C9.357 9.167 9 9.735 9 10.444z"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M16.342 1.031L4.345 5.024l-.009.003A.483.483 0 004 5.525V22.5a.5.5 0 00.5.5h15a.5.5 0 00.5-.5v-17a.5.5 0 00-.5-.5H17V1.506a.5.5 0 00-.658-.475zM16 2.2L7.585 5H16V2.2zM5 22V6h14v16H5z"/> </svg> <span class="hidden">Magazin</span> </a> </li> <li data-target-hide> <a href="https://www.spiegel.de/audio/" target="_self" title="Audio" aria-label="Audio" class="inline-flex md:p-12 sm:p-8 text-black dark:text-shade-lightest"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <path d="M20.001 12.371c0-4.623-3.582-8.371-8-8.371s-8 3.748-8 8.371" class="stroke-current" stroke-width="1.1" stroke-linecap="round" stroke-linejoin="round"/> <path d="M7.106 15.911v4.606a4.605 4.605 0 110-9.211v4.605zm9.789 0v4.606a4.605 4.605 0 100-9.211v4.605z" class="stroke-current" stroke-width="1.1" stroke-linecap="round" stroke-linejoin="round"/> </svg> <span class="hidden">Audio</span> </a> </li> <li data-target-hide> <a href="https://www.spiegel.de/fuermich/" target="_self" title="Account" aria-label="Account" class="inline-flex md:p-12 sm:p-8 text-black dark:text-shade-lightest"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <path class="stroke-current" d="M8.05 8.5C8.05 6.29213 9.79213 4.55 12 4.55C14.2079 4.55 15.95 6.29213 15.95 8.5C15.95 10.7079 14.2079 12.45 12 12.45C9.79213 12.45 8.05 10.7079 8.05 8.5Z" stroke-width="1.1"/> <mask id="a-1f3651da-50f2-43e5-995c-e3dd5ef19d5a" fill="white"> <path fill-rule="evenodd" clip-rule="evenodd" d="M8 16.1H16C18.1539 16.1 19.9 17.8461 19.9 20H21C21 17.2386 18.7614 15 16 15H8C5.23858 15 3 17.2386 3 20H4.1C4.1 17.8461 5.84609 16.1 8 16.1Z"/> </mask> <path class="fill-current" mask="url(#a-1f3651da-50f2-43e5-995c-e3dd5ef19d5a)" d="M19.9 20H18.6V21.3H19.9V20ZM21 20V21.3H22.3V20H21ZM3 20H1.7V21.3H3V20ZM4.1 20V21.3H5.4V20H4.1ZM16 14.8H8V17.4H16V14.8ZM21.2 20C21.2 17.1281 18.8719 14.8 16 14.8V17.4C17.4359 17.4 18.6 18.5641 18.6 20H21.2ZM19.9 21.3H21V18.7H19.9V21.3ZM16 16.3C18.0435 16.3 19.7 17.9565 19.7 20H22.3C22.3 16.5206 19.4794 13.7 16 13.7V16.3ZM16 13.7H8V16.3H16V13.7ZM4.3 20C4.3 17.9565 5.95655 16.3 8 16.3V13.7C4.52061 13.7 1.7 16.5206 1.7 20H4.3ZM3 21.3H4.1V18.7H3V21.3ZM8 14.8C5.12812 14.8 2.8 17.1281 2.8 20H5.4C5.4 18.5641 6.56406 17.4 8 17.4V14.8Z"/> </svg> <span class="hidden">Account</span> </a> </li> </ul> </div> </div> <span class="sm:hidden" data-app-hidden x-data x-intersect:enter.margin.-48px.0.0.0="$store.isInTopArea = true; $publish('TOPAREA_ENTER');" x-intersect:leave.margin.-48px.0.0.0="$store.isInTopArea = false; $publish('TOPAREA_LEAVE');" x-init="Alpine.store('isInTopArea', true)"></span> <div class="z-10 relative bg-white dark:bg-dm-shade-darkest w-full shadow font-sans" x-data x-init="document.fonts.ready.then(() => $swiper.update())" x-swiper="{freeMode: true,roundLengths: false,slidesPerView: 'auto',watchOverflow: true,}" @swiper-init="$swiper.slideTo($swiper.slides.length - 1, 500, false)" data-area="nav-bar" data-app-hidden x-lazyload> <div class="bg-white dark:bg-dm-shade-darkest"> <div class="lg:max-w-lg mx-auto font-sansUI flex items-center lg:h-56 md:h-56 sm:h-40 lg:pl-12 lg:pr-16 md:pl-4 md:pr-8"> <div class="h-full sm:hidden" data-app-hidden> <button class="flex items-center h-full text-black dark:text-shade-lightest text-black dark:text-shade-lightest leading-none text-s px-16 outline-focus" @click="$publish('OPEN_MENU_DRAWER')" data-sara-click-el="button"> <span><svg width="24" height="24"><use xlink:href="#spon-menu-l"/></svg> </span> <span class="ml-8 leading-18 border-b border-transparent">Menü</span> </button> </div> <div class="sm:hidden h-full lg:py-16 md:py-16 sm:py-8" data-app-hidden> <div class="border-separator-r w-px h-full"></div> </div> <div class="polygon-swiper-button-prev relative lg:h-56 md:h-56 sm:h-40 focus:outline-none hidden select-none"> <div class="z-10 absolute left-0 bottom-0 lg:h-56 md:h-56 sm:h-40"> <div class="flex items-center"> <span class="md:hidden sm:hidden bg-white dark:bg-dm-shade-darkest w-48 py-18 text-center cursor-pointer"><svg id="spon-chevron-left-f-s" class="stroke-current" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="s-chevron-left-f-e0537c50-aca5-46b5-8d71-1991d2e46864"> <g id="s-chevron-right-f-e0537c50-aca5-46b5-8d71-1991d2e46864"> <g id="s-chevron-right-e0537c50-aca5-46b5-8d71-1991d2e46864"> <path id="vector-e0537c50-aca5-46b5-8d71-1991d2e46864" d="M7.667 9.333L4.333 6l3.334-3.333" stroke-width="1.5" stroke-linecap="round"/> </g> </g> </g> </svg> </span> <span class="bg-gradient-to-r from-white dark:from-dm-shade-darkest w-24 lg:h-56 md:h-56 sm:h-40"></span> </div> </div> </div> <nav role="navigation" class="polygon-swiper relative overflow-hidden h-full bottom-negative flex grow"> <ul class="polygon-swiper-wrapper flex items-center lg:h-56 md:h-56 sm:h-40 relative bottom-px leading-18"> <li class="polygon-swiper-slide flex items-center h-full"> <a href="https://www.spiegel.de/" target="_self" title="Startseite" class="focus:border-black dark:focus:border-white hover:border-shade-light border-transparent inline-flex items-center text-black dark:text-shade-lightest text-s h-full pl-16 px-4"> <span class="border-b whitespace-nowrap border-inherit"> Startseite </span> <span class="leading-none ml-8"><svg id="spon-chevron-right-m" class="stroke-current" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="m-chevron-right-a155d995-8a3c-478d-928f-f4449512558f"> <path id="vector-a155d995-8a3c-478d-928f-f4449512558f" d="M6 4l4 4-4 4" stroke-linecap="round"/> </g> </svg> </span> </a> </li> <li class="polygon-swiper-slide flex items-center h-full"> <a href="https://www.spiegel.de/politik/" target="_self" title="Politik" class="focus:border-black dark:focus:border-white hover:border-shade-light border-transparent inline-flex items-center text-black dark:text-shade-lightest text-s h-full px-4"> <span class="border-b whitespace-nowrap border-inherit"> Politik </span> <span class="leading-none ml-8"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-m"/></svg> </span> </a> </li> <li class="polygon-swiper-slide flex items-center h-full"> <a href="https://www.spiegel.de/politik/deutschland/" target="_self" title="Deutschland" class="focus:border-black dark:focus:border-white hover:border-shade-light border-transparent inline-flex items-center text-black dark:text-shade-lightest text-s h-full px-4"> <span class="border-b whitespace-nowrap border-inherit"> Deutschland </span> <span class="leading-none ml-8"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-m"/></svg> </span> </a> </li> <li class="polygon-swiper-slide flex items-center h-full"> <a href="https://www.spiegel.de/thema/landtagswahl-in-brandenburg-2024/" target="_self" title="Landtagswahl in Brandenburg 2024" class="focus:border-black dark:focus:border-white hover:border-shade-light border-transparent inline-flex items-center text-black dark:text-shade-lightest text-s h-full px-4"> <span class="border-b whitespace-nowrap border-inherit"> Landtagswahl in Brandenburg 2024 </span> <span class="leading-none ml-8"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-m"/></svg> </span> </a> </li> <li class="polygon-swiper-slide flex items-center h-full"> <h1 class="font-normal whitespace-nowrap inline-block text-black dark:text-shade-lightest text-s pl-4 pr-16 pb-px"> Landtagswahl in Brandenburg 2024: Alle Ergebnisse im Überblick </h1> </li> </ul> </nav> <div class="polygon-swiper-button-next relative lg:h-56 md:h-56 sm:h-40 focus:outline-none select-none hidden"> <div class="z-10 absolute right-0 bottom-0 lg:h-56 md:h-56 sm:h-40"> <div class="flex items-center"> <span class="bg-gradient-to-l from-white dark:from-dm-shade-darkest w-24 lg:h-56 md:h-56 sm:h-40"></span> <span class="md:hidden sm:hidden bg-white dark:bg-dm-shade-darkest w-48 text-center cursor-pointer py-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-m"/></svg> </span> </div> </div> </div> <div class="sm:hidden h-full lg:py-16 md:py-16 sm:py-8" data-app-hidden> <div class="border-separator-r w-px h-full"></div> </div> <div class="relative sm:hidden flex-none transition-all duration-300 ease-in-out w-56 h-40" data-app-hidden x-data="{isOpen: false,open() {this.isOpen = true;$focus($refs.input);setTimeout(() => $swiper.update(), 300);},close() {this.isOpen = false;setTimeout(() => $swiper.update(), 300);}}" @keyup.escape="if (!$event.defaultPrevented) {$event.preventDefault();close();$focus($refs.toggle);}" @mousedown.outside="close()" :class="{'lg:w-4/12': isOpen,'md:w-5/12': isOpen,}"> <form action="https://www.spiegel.de/suche/" role="search" x-show="isOpen" x-transition.duration.300ms.opacity x-cloak> <div class="inline-flex flex-col ml-16 pr-20 w-full"> <div class="group relative flex flex-col"> <input id="search-input-field" name="suchbegriff" placeholder="spiegel.de durchsuchen ..." x-ref="input" class="peer appearance-none rounded placeholder-shade-base dark:disabled:placeholder-shade-dark outline-focus disabled:cursor-not-allowed pl-12 pr-48 h-40 font-sansUI leading-normal text-black dark:text-shade-lightest text-s bg-white dark:bg-shade-darkest dark:disabled:bg-dm-shade-darkest read-only:bg-shade-lightest dark:read-only:bg-black border border-shade-base hover:border-black disabled:border-shade-lighter read-only:border-shade-lighter dark:read-only:border-shade-dark dark:border-shade-light dark:hover:border-shade-lightest dark:disabled:border-shade-dark autofill:transition-colors autofill:duration-max"> <span class="absolute top-0 bottom-0 right-0 pr-12 pointer-events-none flex items-center text-shade-darker dark:text-shade-lightest group-hover:text-shade-darkest dark:group-hover:text-shade-lightest peer-disabled:text-shade-base dark:peer-disabled:text-shade-dark" data-input-el="icon"><svg id="spon-search-l" class="stroke-current" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="l-search-9c6cf34c-4bda-4a1b-bcfa-b284e2cfd1e4"> <g id="group-9c6cf34c-4bda-4a1b-bcfa-b284e2cfd1e4" stroke-width="1.3"> <circle id="ellipse-9c6cf34c-4bda-4a1b-bcfa-b284e2cfd1e4" cx="10" cy="11" r="5.35"/> <path id="vector-9c6cf34c-4bda-4a1b-bcfa-b284e2cfd1e4" d="M14 15l4.5 4.5" stroke-linecap="round"/> </g> </g> </svg> </span> </div> </div> <button class="absolute top-0 right-4 bottom-0 w-48" title="Suche starten" data-sara-click-el="button" x-show="isOpen"> <span class="sr-only">Suche starten</span> </button> </form> <button class="absolute top-0 bottom-0 right-0 focus-outline flex items-center text-black dark:text-shade-lightest text-s px-16" data-sara-click-el="button" x-ref="toggle" x-show="!isOpen" x-transition.duration.300ms.opacity @click="open()"> <span class="sr-only">Suche öffnen</span><svg width="24" height="24"><use xlink:href="#spon-search-l"/></svg> </button> </div> </div> </div> </div> <div class="hidden"><svg id="spon-chevron-right-f-m" class="stroke-current" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="m-chevron-right-f-f6e1bc98-e805-45a1-97a8-11648372da54"> <g id="m-chevron-right-f6e1bc98-e805-45a1-97a8-11648372da54"> <path id="vector-f6e1bc98-e805-45a1-97a8-11648372da54" d="M6 4l4 4-4 4" stroke-width="1.8" stroke-linecap="round"/> </g> </g> </svg> </div> <section aria-label="Eilmeldungen" class="hidden relative z-20" data-breakingnews> <div class="absolute z-0 top-8 right-0 bottom-0 left-0 shadow"></div> <ul class="relative z-10 bg-attention" data-area="breaking-bar" data-breakingnews-el="list"></ul> <template id="prototype-breaking-news-default"> <li class="w-full"> <div class="sm:max-w-sm md:max-w-md md:mx-auto sm:mx-auto"> <a data-proto-href="__proto_url__" title="__proto_headline__" class="text-black flex font-sansUI items-center justify-between lg:max-w-lg lg:px-32 lg:py-16 md:max-w-md md:px-24 md:py-16 mx-auto sm:max-w-sm sm:px-16 sm:py-12"> <span class="lg:text-base md:text-base sm:text-s font-bold"> <span class="uppercase pr-4">EILMELDUNG</span> — <span class="pl-4">__proto_headline__</span> </span> <span class="leading-none sm:hidden shrink-0 ml-8" aria-hidden="true"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> <span class="leading-none lg:hidden md:hidden shrink-0 ml-8" aria-hidden="true"><svg width="12" height="12"><use xlink:href="#spon-chevron-right-f-s"/></svg> </span> </a> </div> </li> </template> <template id="prototype-breaking-news-textonly"> <li class="w-full"> <div class="sm:max-w-sm md:max-w-md md:mx-auto sm:mx-auto"> <span class="text-black flex font-sansUI items-center justify-between lg:max-w-lg lg:px-32 lg:py-16 md:max-w-md md:px-24 md:py-16 mx-auto sm:max-w-sm sm:px-16 sm:py-12"> <span class="lg:text-base md:text-base sm:text-s font-bold"> <span class="uppercase pr-4">EILMELDUNG</span> — <span class="pl-4">__proto_headline__</span> </span> </span> </div> </li> </template> </section> </nav> <script>if (typeof(Event) === 'function') {window.dispatchEvent(new Event('POLYGON_DOM_HEADER_READY'));}</script> <header data-area="intro"> <div class="relative z-0 w-full min-h-480 flex flex-col" data-headerbar-height> <div class="lg:h-16 md:h-16 sm:h-8 w-full"></div> <div class="grow w-full relative overflow-hidden"> <div class="bg-white dark:bg-dm-shade-darkest"> <div class="w-full h-full"> <div class="w-full h-full" data-area="fullsize_element>html-embed"> <div class="w-full h-full"> <div class="w-full h-full"> <div class="graphics-svelte-wrap" data-type="svelte-app" data-params="{&#34;addInfoCoalitions&#34;:&#34;Ohne vorab ausgeschlossene Optionen&#34;,&#34;data&#34;:&#34;https://cdn.data-interactive.spiegel.de/cron/elections/prod/ltw_bb_2024/full.json&#34;,&#34;embedded_id&#34;:&#34;6d732ec7-846c-4d6a-876f-4609eb013567&#34;,&#34;interval&#34;:&#34;10&#34;,&#34;liveUpdateXXX&#34;:&#34;false&#34;,&#34;showDeputyPics&#34;:&#34;true&#34;,&#34;wsChannel&#34;:&#34;full_bb&#34;,&#34;wsKey&#34;:&#34;K7Q0Qw.TM9YNQ:s0EA_6DELlVmCG-lAPfc40tzy0heNoFtKMb7MerIftE&#34;}" data-url><style>div.svelte-k9iwc{width:100%;height:100vh;position:absolute;z-index:999999;top:0;left:0;opacity:0;visibility:hidden;pointer-events:none}.dot.svelte-1xkucte{width:6px;height:6px;border-radius:50%;background-color:#fff;z-index:19;opacity:0}.dot.fixed.svelte-1xkucte{position:fixed}.dot.absolute.svelte-1xkucte{position:absolute}.dot.absolute.leftOutOfView.svelte-1xkucte{position:fixed;left:var(--leftBound)!important;top:var(--topFixed)!important}.dot.absolute.rightOutOfView.svelte-1xkucte{position:fixed;left:var(--rightBound)!important;top:var(--topFixed)!important}.dot.noUpdate.svelte-1xkucte{opacity:0!important;transition:opacity .3s}.nav-element.svelte-zplgsj{font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:700;line-height:126%;color:var(--int-font-color-only-white);text-decoration:none;white-space:nowrap}.nav-element.svelte-zplgsj span:where(.svelte-zplgsj){opacity:60%}.nav-element.svelte-zplgsj span.is-active:where(.svelte-zplgsj){opacity:100%}svg.svelte-v6bx06{transition:transform .4s ease-in-out}svg.svelte-v6bx06 path:where(.svelte-v6bx06){stroke:var(--int-font-color-default)}svg.svelte-v6bx06 path.light:where(.svelte-v6bx06){stroke:var(--int-font-color-only-white)}.indicator.svelte-xrhqvv{position:fixed;top:var(--topFixed)!important;z-index:23;font-size:12px;font-weight:700;color:#fff}.indicator.leftOutOfView.svelte-xrhqvv{left:var(--leftBound)!important}.indicator.rightOutOfView.svelte-xrhqvv{left:var(--rightBound)!important}.navigation-wrapper.svelte-fiv6o4{--navigation-height:45px;position:relative;z-index:18;display:flex;flex-direction:column;align-items:center;width:100%;height:var(--navigation-height);background:var(--int-font-color-link);--outer-padding:12px;transition:all .3s ease-in-out}.navigation-wrapper.sticky.svelte-fiv6o4{position:fixed;top:var(--margin-top)}.navigation-wrapper.hideNavigation.svelte-fiv6o4{opacity:0;top:-45px}.navigation-wrapper.svelte-fiv6o4 .nav-content-wrapper:where(.svelte-fiv6o4){position:relative;display:flex;align-items:center;width:calc(100% - var(--outer-padding) * 2);max-width:1008px;height:100%}.navigation-wrapper.svelte-fiv6o4 nav:where(.svelte-fiv6o4){position:relative;width:100%;height:100%;overflow-x:auto;user-select:none;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none}.navigation-wrapper.svelte-fiv6o4 nav:where(.svelte-fiv6o4)::-webkit-scrollbar{display:none}.navigation-wrapper.svelte-fiv6o4 nav:where(.svelte-fiv6o4) ul:where(.svelte-fiv6o4){position:relative;display:flex;justify-content:flex-start;gap:var(--min-distance-between-nav-elements);height:100%;margin:0;padding:0;list-style-type:none}.navigation-wrapper.svelte-fiv6o4 nav:where(.svelte-fiv6o4) ul.is-spreaded:where(.svelte-fiv6o4){justify-content:space-between}.navigation-wrapper.svelte-fiv6o4 nav:where(.svelte-fiv6o4) ul:where(.svelte-fiv6o4) li:where(.svelte-fiv6o4){display:flex;flex-direction:column;justify-content:center}.navigation-wrapper.svelte-fiv6o4 nav:where(.svelte-fiv6o4) ul.is-overflow:where(.svelte-fiv6o4) li:where(.svelte-fiv6o4):last-of-type{padding-right:var(--min-distance-between-nav-elements)}.navigation-wrapper.svelte-fiv6o4 .shadow:where(.svelte-fiv6o4){position:absolute;top:0;bottom:0;width:29px;box-shadow:none}.navigation-wrapper.svelte-fiv6o4 .shadow.left:where(.svelte-fiv6o4){left:0;background:linear-gradient(to left,var(--int-font-color-link-rgba-transparent),var(--int-font-color-link-rgba-opaque))}.navigation-wrapper.svelte-fiv6o4 .shadow.right:where(.svelte-fiv6o4){right:0;background:linear-gradient(to right,var(--int-font-color-link-rgba-transparent),var(--int-font-color-link-rgba-opaque))}.navigation-wrapper.svelte-fiv6o4 .shadow.hidden:where(.svelte-fiv6o4){opacity:0}.navigation-wrapper.svelte-fiv6o4 button.arrow:where(.svelte-fiv6o4){position:absolute;top:0;z-index:10;display:flex;align-items:center;height:100%;cursor:pointer}.navigation-wrapper.svelte-fiv6o4 button.arrow.left:where(.svelte-fiv6o4){left:0;background:linear-gradient(to left,var(--int-font-color-link-rgba-transparent),var(--int-font-color-link-rgba-opaque))}.navigation-wrapper.svelte-fiv6o4 button.arrow.right:where(.svelte-fiv6o4){right:0;background:linear-gradient(to right,var(--int-font-color-link-rgba-transparent),var(--int-font-color-link-rgba-opaque))}@keyframes svelte-7yoac5-spinner{to{transform:rotate(360deg)}}svg.svelte-7yoac5{margin:8px;animation:svelte-7yoac5-spinner 5.5s linear infinite;transform-origin:50% 50%}svg.svelte-7yoac5 path:where(.svelte-7yoac5){stroke:var(--int-font-color-link)}.animationSvg.svelte-m6x82n{display:block;width:6px;height:38px}.animationSvg.svelte-m6x82n circle{fill:var(--int-font-color-link)}@keyframes svelte-15pzeyd-growShrink{0%{width:0;height:0}70%{width:6.5px;height:6.5px}to{width:6px;height:6px}}.container.svelte-15pzeyd{display:flex;flex-wrap:wrap;flex-direction:column;height:32px;min-width:8px;gap:2px;justify-content:center;align-items:center;position:relative}.container.svelte-15pzeyd .dot:where(.svelte-15pzeyd){width:0;height:0;background-color:var(--int-font-color-link);border-radius:50%;animation:svelte-15pzeyd-growShrink 1s ease-in-out infinite;animation-fill-mode:forwards}.animatedDots.svelte-5eagh5{display:flex;align-items:center;flex-direction:row;margin:0 8px;position:relative}.live-bar-top-detector.svelte-10768wc{width:100%;height:0;visibility:hidden}.live-bar.svelte-10768wc{--live-bar-height:38px;position:relative;display:flex;justify-content:center;width:100%;height:var(--live-bar-height)}.live-bar.svelte-10768wc .sticky-wrapper:where(.svelte-10768wc){position:relative;top:0;display:flex;align-items:center;width:calc(100% - 24px);max-width:1008px;height:var(--live-bar-height);color:var(--int-font-color-link);font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:700;font-size:20px;line-height:1.2;background:var(--int-background-color-default-rgba-halftransparent);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);transition:font-size .4s}.live-bar.svelte-10768wc .sticky-wrapper.is-fixed:where(.svelte-10768wc){position:fixed;top:var(--top);font-size:16px;z-index:17}.live-bar.svelte-10768wc span.live:where(.svelte-10768wc){text-transform:uppercase;flex-direction:row;display:flex;align-items:center}.header.svelte-1j8jfhz{position:relative;display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100%;padding:var(--card-header-padding)}@media (min-width:886px){.header.svelte-1j8jfhz{background:var(--int-card-background-color)}}.header.svelte-1j8jfhz h2:where(.svelte-1j8jfhz){margin:0;padding:0;font-size:20px;line-height:130%}@media (min-width:480px){.header.svelte-1j8jfhz h2:where(.svelte-1j8jfhz){font-size:24px}}.header.svelte-1j8jfhz h2.placeholder:where(.svelte-1j8jfhz){font-size:18px}@media (max-width:886px){.header.svelte-1j8jfhz h2.placeholder:where(.svelte-1j8jfhz){font-size:14px}}.header.article.svelte-1j8jfhz{background:0 0!important}.header.article.svelte-1j8jfhz h2:where(.svelte-1j8jfhz){font-size:20px}@media (min-width:720px){.header.article.svelte-1j8jfhz h2:where(.svelte-1j8jfhz){font-size:24px}}.header.article.svelte-1j8jfhz .search-input-wrapper:where(.svelte-1j8jfhz){display:none}.header.svelte-1j8jfhz .button-wrapper:where(.svelte-1j8jfhz),.header.svelte-1j8jfhz .search-input-wrapper:where(.svelte-1j8jfhz){display:none}@media (min-width:886px){.header.svelte-1j8jfhz .button-wrapper:where(.svelte-1j8jfhz),.header.svelte-1j8jfhz .search-input-wrapper:where(.svelte-1j8jfhz){display:block}}.header.svelte-1j8jfhz span.decoration{--vertical-margin:1px;position:relative;z-index:0;display:inline-block;padding:0 4px;color:var(--text-color);border:none;border-radius:1.5px}.header.svelte-1j8jfhz span.decoration:after{content:"";position:absolute;top:var(--vertical-margin);left:0;z-index:-1;width:0%;height:calc(100% - 2 * var(--vertical-margin));background-color:var(--highlight-color);border:none;border-radius:1.5px;transition:width .7s ease-in}.header.was-in-view.svelte-1j8jfhz span.decoration:after{width:100%}h2.placeholder.svelte-1j8jfhz{display:inline;color:var(--int-font-color-gray-fond);background-color:var(--int-font-color-gray-fond);user-select:none}@media (prefers-color-scheme:dark) and (min-width:886px){h2.placeholder.svelte-1j8jfhz{color:var(--int-background-color-default);background-color:var(--int-background-color-default)}}div.svelte-dptpxb{margin:0;color:var(--footer-color,var(--int-font-color-default));font-size:14px;line-height:1.26;width:fit-content}div.svelte-dptpxb svg:where(.svelte-dptpxb){transform:translateY(1px)}div.small.svelte-dptpxb{font-size:12px;position:relative}div.small.svelte-dptpxb svg:where(.svelte-dptpxb){transform:translateY(2px) scale(.91)}.s.svelte-dptpxb{fill:var(--footer-color,var(--int-font-color-default))}div.svelte-hgan54{margin:0;color:var(--footer-color,var(--int-font-color-default));font-size:.875rem;line-height:1.26;text-wrap:nowrap;width:fit-content}div.small.svelte-hgan54{font-size:12px}.footer.svelte-ead83r{--footer-color:var(--int-font-color-gray-base);display:flex;flex-direction:column;justify-content:space-between}@media (min-width:480px){.footer.svelte-ead83r{flex-direction:row;flex-wrap:wrap}}.card.svelte-ekepll{position:relative;display:flex;flex-direction:column;gap:6px;overflow:hidden}.card.svelte-ekepll,.card.svelte-ekepll :where(.svelte-ekepll){box-sizing:border-box}.card.svelte-ekepll .header-and-body-wrapper:where(.svelte-ekepll){flex:1;display:flex;flex-direction:column;border:1px solid var(--int-card-outline-color);border-radius:8px;overflow:hidden}@media (min-width:886px){.card.svelte-ekepll .header-and-body-wrapper:where(.svelte-ekepll){flex-direction:row}}.card.svelte-ekepll .header-and-body-wrapper.placeholder-card:where(.svelte-ekepll){border:1px solid var(--int-font-color-gray-fond)}.card.svelte-ekepll .header-and-body-wrapper:where(.svelte-ekepll) .header-wrapper:where(.svelte-ekepll){--card-header-padding:14px 14px 8px 14px}@media (min-width:616px){.card.svelte-ekepll .header-and-body-wrapper:where(.svelte-ekepll) .header-wrapper:where(.svelte-ekepll){--card-header-padding:18px 18px 8px 18px}}@media (min-width:886px){.card.svelte-ekepll .header-and-body-wrapper:where(.svelte-ekepll) .header-wrapper:where(.svelte-ekepll){min-width:310px;width:310px;max-width:310px;--card-header-padding:18px 18px 18px 18px}}.card.svelte-ekepll .header-and-body-wrapper:where(.svelte-ekepll) .body-wrapper:where(.svelte-ekepll){flex:1;display:flex;flex-direction:column;--card-body-padding:0 14px 16px 14px;--card-body-horizontal-padding:14px}@media (min-width:616px){.card.svelte-ekepll .header-and-body-wrapper:where(.svelte-ekepll) .body-wrapper:where(.svelte-ekepll){--card-body-padding:0 18px 16px 18px;--card-body-horizontal-padding:18px}}@media (min-width:886px){.card.svelte-ekepll .header-and-body-wrapper:where(.svelte-ekepll) .body-wrapper:where(.svelte-ekepll){--card-body-padding:18px 18px 18px 18px;--card-body-horizontal-padding:18px;width:calc(100% - 310px)}}.card.svelte-ekepll .header-and-body-wrapper:where(.svelte-ekepll) .body-wrapper.article:where(.svelte-ekepll){--card-body-horizontal-padding:0;--card-body-padding:0px 0px 4px 0px!important}.card.svelte-ekepll .header-and-body-wrapper:where(.svelte-ekepll) .body-wrapper.article:where(.svelte-ekepll) .voterFlowsNet{margin-top:-5px}.card.svelte-ekepll .header-and-body-wrapper.article:where(.svelte-ekepll){border:none;flex-direction:column}.card.svelte-ekepll .header-and-body-wrapper.article:where(.svelte-ekepll) .header-wrapper:where(.svelte-ekepll){--card-header-padding:0;min-width:100%}.card.svelte-ekepll .header-and-body-wrapper.article:where(.svelte-ekepll) .body-wrapper:where(.svelte-ekepll){--card-body-padding:0px 12px 18px 3px;min-width:100%}.card.svelte-ekepll .footer-wrapper:where(.svelte-ekepll){padding-bottom:16px}.card.svelte-ekepll .footer-wrapper.article:where(.svelte-ekepll){visibility:hidden}.forecasts-switch.svelte-mv9tlj{position:relative;display:flex;align-items:flex-start}.forecasts-switch.svelte-mv9tlj input:where(.svelte-mv9tlj){display:none}.forecasts-switch.svelte-mv9tlj ul:where(.svelte-mv9tlj){position:relative;display:flex;gap:calc(var(--border-padding-horizontal) * 2);margin:0;padding:0;list-style:none}.forecasts-switch.svelte-mv9tlj ul:where(.svelte-mv9tlj):before{position:absolute;top:calc(-1 * var(--border-padding-vertical) + 1px);right:calc(-1 * var(--border-padding-horizontal));bottom:calc(-1 * var(--border-padding-vertical));left:calc(-1 * var(--border-padding-horizontal) + 1px);display:block;width:var(--active-label-width);border:1px solid var(--int-font-color-shade-base);border-radius:3px;transform:translate(var(--translate-x));transition:transform .3s,width .3s;box-sizing:border-box;pointer-events:none;content:"";height:22px}.forecasts-switch.svelte-mv9tlj ul.no-translate-x:where(.svelte-mv9tlj):before{display:none}.forecasts-switch.svelte-mv9tlj ul:where(.svelte-mv9tlj) li:where(.svelte-mv9tlj){display:flex}.forecasts-switch.svelte-mv9tlj ul:where(.svelte-mv9tlj) li:where(.svelte-mv9tlj) label:where(.svelte-mv9tlj){margin:0;padding:0;color:var(--int-font-color-shade-base);font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:126%;letter-spacing:.24px;text-align:center;transition:opacity .3s;box-sizing:border-box;user-select:none;cursor:pointer}.forecasts-switch.svelte-mv9tlj ul:where(.svelte-mv9tlj) li:where(.svelte-mv9tlj) label:where(.svelte-mv9tlj):hover{color:var(--int-font-color-shade-dark)}.forecasts-switch.svelte-mv9tlj ul:where(.svelte-mv9tlj) li:where(.svelte-mv9tlj) label.checked:where(.svelte-mv9tlj){color:var(--int-font-color-default)}.forecasts-switch.largeFont.svelte-mv9tlj ul:where(.svelte-mv9tlj):before{height:24px;left:calc(-1 * var(--border-padding-horizontal) + 1px);top:calc(-1 * var(--border-padding-vertical) + 0px);width:calc(var(--active-label-width) - 2px)}.forecasts-switch.largeFont.svelte-mv9tlj ul:where(.svelte-mv9tlj) li:where(.svelte-mv9tlj) label:where(.svelte-mv9tlj){font-size:14px}.votes.svelte-1eqovee{z-index:2;text-align:center;font-size:var(--fontSize, 14px);font-weight:700;transition:all .3s ease-in-out}.votes.svelte-1eqovee:after{content:"";position:absolute;width:calc(100% + 4px);inset:0 0 0 -2px;border-radius:1.5px;background:var(--liveUpdate,#ffe646);mix-blend-mode:multiply;z-index:-1;height:calc(100% + .5px);transition:all .3s ease-in-out;opacity:0}.votes.liveUpdate.svelte-1eqovee{color:#000}.votes.liveUpdate.svelte-1eqovee:after{opacity:1}.votes.shadowed.svelte-1eqovee{text-shadow:-1px -1px 1px var(--int-text-shadow-color),1px -1px 1px var(--int-text-shadow-color),-1px 1px 1px var(--int-text-shadow-color),1px 1px 1px var(--int-text-shadow-color);-webkit-font-smoothing:antialiased}.diff.svelte-1t2zwfq{font-weight:400;text-align:center;white-space:nowrap;color:var(--int-font-color-gray-base);font-size:var(--fontSize, 14px);margin-top:1px;position:relative}.diff.svelte-1t2zwfq span:where(.svelte-1t2zwfq){width:fit-content;position:relative;transition:all .3s ease-in-out}.diff.svelte-1t2zwfq span:where(.svelte-1t2zwfq):after{content:"";position:absolute;width:calc(100% + 4px);inset:0 0 0 -2px;border-radius:1.5px;background:var(--liveUpdate,#ffe646);mix-blend-mode:multiply;z-index:-1;height:calc(100% + .5px);transition:all .3s ease-in-out;opacity:0}.diff.svelte-1t2zwfq span.liveUpdate:where(.svelte-1t2zwfq){color:#000}.diff.svelte-1t2zwfq span.liveUpdate:where(.svelte-1t2zwfq):after{opacity:1}.debug.svelte-1ky3xus{position:absolute;color:#90ee90;font-size:12px;background:#1f1e1ccc;border-radius:5px;padding:5px;z-index:9999;left:-5px;top:20px;display:none}.party.svelte-1ky3xus{height:100%;display:flex;flex-direction:column;justify-content:flex-end;row-gap:.1px;margin:0;padding:0;position:relative}.party.previousResult.svelte-1ky3xus{background-color:var(--previousResultColor);margin-right:var(--marginPreviousResult,-6px)}.party.svelte-1ky3xus .column:where(.svelte-1ky3xus){height:var(--listVotesHeight);display:flex;flex-direction:column;justify-content:flex-end;position:relative}.party.svelte-1ky3xus .column:where(.svelte-1ky3xus) .inner:where(.svelte-1ky3xus){height:var(--height);width:var(--width);padding:0;margin:0;display:flex;justify-content:center;background-color:var(--color);border-radius:1.5px 1.5px 0 0;position:relative;transition:height .4s;top:-3px}.party.svelte-1ky3xus .column:where(.svelte-1ky3xus) .inner.previousResult:where(.svelte-1ky3xus){background-color:var(--colorFlatBar)}.party.svelte-1ky3xus .column:where(.svelte-1ky3xus) .inner.bordered:where(.svelte-1ky3xus){border:1px solid var(--int-font-color-default)}.party.svelte-1ky3xus .column:where(.svelte-1ky3xus) .year-container:where(.svelte-1ky3xus){position:absolute;width:var(--width);display:flex;align-items:flex-end;justify-content:flex-start;top:-30px}.party.svelte-1ky3xus .column:where(.svelte-1ky3xus) .year-container:where(.svelte-1ky3xus) .year:where(.svelte-1ky3xus){font-size:10px;opacity:1!important;padding-top:6px;font-weight:700;color:var(--colorFlatTypo)!important}.party.svelte-1ky3xus .column:where(.svelte-1ky3xus) .year-container:where(.svelte-1ky3xus) .year:where(.svelte-1ky3xus):not(.previousResult){padding-left:18px;color:var(--color)!important}.party.svelte-1ky3xus .column:where(.svelte-1ky3xus) .year-container:where(.svelte-1ky3xus) .link-line:where(.svelte-1ky3xus){position:absolute;top:20px;width:1px;left:20%;height:var(--columnHeight)}.party.svelte-1ky3xus .column:where(.svelte-1ky3xus) .year-container:where(.svelte-1ky3xus) .link-line.previousResult:where(.svelte-1ky3xus){background-color:var(--colorFlatBar)}.party.svelte-1ky3xus .column:where(.svelte-1ky3xus) .year-container:where(.svelte-1ky3xus) .link-line:where(.svelte-1ky3xus):not(.previousResult){left:82%;background-color:var(--color)}.bottom.svelte-1ky3xus{transform:translate(calc(-50% + var(--width)/ 4));width:100%}.bottom.noPreviousResult.svelte-1ky3xus{transform:translate(calc(-50% + var(--width)/ 2))}.bottom.svelte-1ky3xus .diff:where(.svelte-1ky3xus),.bottom.svelte-1ky3xus .text:where(.svelte-1ky3xus){font-weight:400;font-size:var(--fontSize, 14px);text-align:center;white-space:nowrap}.bottom.svelte-1ky3xus .text:where(.svelte-1ky3xus){font-weight:400;text-align:center;white-space:nowrap;max-width:48px;overflow:hidden}.bottom.svelte-1ky3xus .diff:where(.svelte-1ky3xus){color:var(--int-font-color-gray-base);margin-top:1px}.element.svelte-nm91r9{display:flex;flex-direction:row;align-items:center;height:100%;width:calc(var(--width) * 2 + var(--marginPreviousResult));transition:width .4s;margin-left:var(--groupMargin)}.element.noPreviousResult.svelte-nm91r9{width:calc(var(--width))}.element.svelte-nm91r9 div:where(.svelte-nm91r9){display:flex}.resultContainer.svelte-5k2qa3{position:relative;width:100%;display:flex;flex-direction:row;column-gap:var(--marginParty);margin-top:24px;padding-right:8px;justify-content:space-between}.resultContainer.no-top-padding.svelte-5k2qa3{margin-top:0}.resultContainer.svelte-5k2qa3 .empty:where(.svelte-5k2qa3){width:1px;height:20px}.outerShadowed.svelte-ac37i5{width:100%;position:relative}.outerShadowed.svelte-ac37i5 .shadowGradient:where(.svelte-ac37i5){position:absolute;top:0;width:29px;height:100%;box-shadow:none;z-index:2}.outerShadowed.svelte-ac37i5 .shadowGradient.leftShadow:where(.svelte-ac37i5){left:0;background:linear-gradient(to left,var(--int-font-color-link-rgba-transparent),var(--int-background-color-default-rgba-opaque));z-index:8}.outerShadowed.svelte-ac37i5 .shadowGradient.rightShadow:where(.svelte-ac37i5){right:0;background:linear-gradient(to right,var(--int-font-color-link-rgba-transparent),var(--int-background-color-default-rgba-opaque))}.outerShadowed.svelte-ac37i5 .shadowGradient:where(.svelte-ac37i5) button:where(.svelte-ac37i5){width:100%;height:100%}.horizontalScrollContainer.svelte-ac37i5{position:relative;width:100%;display:flex;flex-direction:row;transition:all .4s ease-in-out;user-select:none;scrollbar-width:none;-ms-overflow-style:none;overflow-y:hidden}.horizontalScrollContainer.svelte-ac37i5::-webkit-scrollbar{display:none}.horizontalScrollContainer.overflowX.svelte-ac37i5{overflow-x:auto}.horizontalScrollContainer.noScroll.svelte-ac37i5{overflow:visible;pointer-events:none}.horizontalScrollContainer.smooth{scroll-behavior:smooth}.footnote.svelte-136berm{font-size:14px;display:block;margin-top:10px}.list-votes.svelte-965ta7{display:flex;flex-direction:column;gap:16px;padding:var(--card-body-padding)}.list-votes.svelte-965ta7 .description:where(.svelte-965ta7){display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:5px 0;font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;font-size:var(--font-size-subline)}.list-votes.svelte-965ta7 .body:where(.svelte-965ta7){display:flex;flex-direction:column}circle.svelte-eew9ia{stroke-width:0;fill:var(--int-font-color-default)}path.svelte-eew9ia{stroke:var(--int-background-color-default);stroke-linecap:round;stroke-linejoin:round;fill:none}.bar.svelte-1qhm78m{position:relative;padding-bottom:4px}.bar.svelte-1qhm78m .segments:where(.svelte-1qhm78m){display:flex;background:var(--int-font-color-gray-fond);border:none;border-radius:1.5px;overflow:hidden}.bar.svelte-1qhm78m .segments:where(.svelte-1qhm78m) .segment:where(.svelte-1qhm78m){height:10px;border-left:1px solid var(--int-background-color-default);box-sizing:border-box}.bar.svelte-1qhm78m .segments:where(.svelte-1qhm78m) .segment:where(.svelte-1qhm78m):first-child{border-left:none}.bar.svelte-1qhm78m .majority-mark:where(.svelte-1qhm78m){position:absolute;top:-2px;left:calc(50% - .5px);z-index:1;display:block;width:1px;height:14px;background:var(--int-font-color-default)}.coalition.svelte-1p4ntx{display:flex;flex-direction:column;gap:4px}.coalition.svelte-1p4ntx .description:where(.svelte-1p4ntx){display:flex;justify-content:space-between;align-items:center;font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:700;font-size:14px;line-height:126%}.coalition.svelte-1p4ntx .description:where(.svelte-1p4ntx) .name-wrapper:where(.svelte-1p4ntx){flex:1;display:flex;align-items:baseline;gap:4px}.coalition.svelte-1p4ntx .description:where(.svelte-1p4ntx) .name-wrapper:where(.svelte-1p4ntx) .incumbent-string:where(.svelte-1p4ntx){font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:134%}.coalition.svelte-1p4ntx .description:where(.svelte-1p4ntx) .seats:where(.svelte-1p4ntx):not(.is-bold){font-weight:400}.coalition.svelte-1p4ntx .hide:where(.svelte-1p4ntx){visibility:hidden;display:none}.coalition.smallFont.svelte-1p4ntx .description:where(.svelte-1p4ntx){font-size:12px}.coalition.smallFont.svelte-1p4ntx .description:where(.svelte-1p4ntx) .incumbent-string:where(.svelte-1p4ntx),.coalition.smallFont.svelte-1p4ntx .description:where(.svelte-1p4ntx) .name-wrapper:where(.svelte-1p4ntx){font-size:12px}.additionalInfo.svelte-1lsm5op{margin:0;color:var(--int-font-color-default);font-size:14px;line-height:1.26;width:fit-content}.coalitions.svelte-1rg7tuz{display:flex;flex-direction:column;gap:16px;padding:var(--card-body-padding);padding-top:16px}.coalitions.svelte-1rg7tuz .description:where(.svelte-1rg7tuz){font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;font-size:14px}.coalitions.svelte-1rg7tuz .body:where(.svelte-1rg7tuz){--coalition-panel-gap:16px;display:flex;flex-direction:column;flex-wrap:wrap;gap:var(--coalition-panel-gap)}@media (min-width:616px){.coalitions.svelte-1rg7tuz .body:where(.svelte-1rg7tuz){flex-direction:row}}.coalitions.svelte-1rg7tuz .body:where(.svelte-1rg7tuz) .coalition-wrapper:where(.svelte-1rg7tuz){width:100%}@media (min-width:616px){.coalitions.svelte-1rg7tuz .body:where(.svelte-1rg7tuz) .coalition-wrapper:where(.svelte-1rg7tuz){width:calc(50% - var(--coalition-panel-gap)/ 2)}}ul.legend.svelte-14llss6{display:flex;flex-direction:row;flex-wrap:wrap;gap:16px;list-style-type:none;font-size:14px}@media screen and (min-width:616px){ul.legend.svelte-14llss6{flex-direction:column}}ul.legend.svelte-14llss6 li.item:where(.svelte-14llss6){display:flex;align-items:center;gap:4px}ul.legend.svelte-14llss6 li.item:where(.svelte-14llss6) span:where(.svelte-14llss6){display:inline-block}ul.legend.svelte-14llss6 li.item:where(.svelte-14llss6) span.color-box:where(.svelte-14llss6){width:18px;height:10px}ul.legend.svelte-14llss6 li.item:where(.svelte-14llss6) span.color-box.trend-results:where(.svelte-14llss6){background:repeating-linear-gradient(-45deg,var(--int-background-color-default),var(--int-background-color-default) 2px,var(--int-font-color-gray-lighter) 2px,var(--int-font-color-gray-lighter) 5px)}.description.svelte-r60wiv{display:flex;flex-direction:column;gap:16px;font-size:var(--font-size-subline)}.description.svelte-r60wiv .subline-and-counted-wrapper:where(.svelte-r60wiv){display:flex;flex-direction:column;gap:8px}canvas.svelte-tnp0pk{position:var(--position,relative);top:0;left:0;pointer-events:var(--pointer-events,all)}canvas.hide.svelte-tnp0pk{opacity:0}canvas.is-hovered.svelte-tnp0pk{cursor:pointer}.interactive-canvas.svelte-rbn3tz{isolation:isolate;overflow:hidden}.tooltipResults.svelte-1xd9bxg{display:flex;padding-top:8px}.tooltip-content.svelte-pcyb4s{height:209px}.header.svelte-pcyb4s{display:flex;justify-content:space-between;align-items:center;margin:5px 8px}.header.svelte-pcyb4s h3:where(.svelte-pcyb4s){font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:700;font-size:14px;white-space:nowrap}.body.svelte-pcyb4s{display:flex;flex-direction:column;margin:8px}.body.svelte-pcyb4s .description:where(.svelte-pcyb4s){display:flex;flex-direction:column;font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:normal}.map-navigation.svelte-hzkox1{position:absolute;z-index:10;bottom:var(--top,14px);right:var(--right,14px);display:flex;flex-direction:column;align-items:center;gap:8px}.map-navigation.svelte-hzkox1 button:where(.svelte-hzkox1){width:30px;height:30px;background-color:var(--int-background-color-default);border:1px solid var(--int-font-color-shade-base);cursor:pointer}.map-navigation.svelte-hzkox1 button:where(.svelte-hzkox1):hover path:where(.svelte-hzkox1){fill:var(--int-font-color-default)}.map-navigation.svelte-hzkox1 svg:where(.svelte-hzkox1) path:where(.svelte-hzkox1){fill:var(--int-font-color-shade-base)}.map-navigation.svelte-hzkox1 .plus-minus:where(.svelte-hzkox1){display:flex;flex-direction:column;align-items:center}.map-navigation.svelte-hzkox1 .plus-minus:where(.svelte-hzkox1) button:where(.svelte-hzkox1):first-child{border-top-left-radius:1.5px;border-top-right-radius:1.5px}.map-navigation.svelte-hzkox1 .plus-minus:where(.svelte-hzkox1) button:where(.svelte-hzkox1):last-child{border-top:none;border-bottom-left-radius:1.5px;border-bottom-right-radius:1.5px}.map-navigation.svelte-hzkox1 .reset:where(.svelte-hzkox1){opacity:0;transition:opacity .4s}.map-navigation.svelte-hzkox1 .reset.show:where(.svelte-hzkox1){opacity:1}.map-navigation.svelte-hzkox1 .reset:where(.svelte-hzkox1) button:where(.svelte-hzkox1){border-radius:1.5px}.map.svelte-1agfi7z{position:relative;flex:1;display:flex;border:none;overflow:hidden}.map.zoomed.svelte-1agfi7z{border-radius:3px}button.svelte-15lzsbe{background:0 0;color:inherit;border:none;padding:0;font:inherit;outline:inherit}path.svelte-15lzsbe{stroke:var(--int-font-color-default);fill:none}button.svelte-1g05xs{all:unset;margin:0;padding:0;padding-block:0;padding-inline:0;color:inherit;font:inherit;border:none;outline:inherit;background:0 0}button.svelte-1g05xs:focus{outline:revert}circle.svelte-1g05xs,path.svelte-1g05xs{stroke:var(--int-font-color-shade-base);fill:none}.has-focus.svelte-1g05xs circle:where(.svelte-1g05xs),.has-focus.svelte-1g05xs path:where(.svelte-1g05xs){stroke:var(--int-font-color-default)}@keyframes svelte-128rsk0-blink_input_opacity_to_prevent_scrolling_when_focused{0%{opacity:0}to{opacity:1}}form.svelte-128rsk0{position:relative;z-index:5;display:flex;gap:8px;background:var(--int-background-color-default)}form.svelte-128rsk0 .input-wrapper:where(.svelte-128rsk0){flex:1;position:relative;border:1px solid var(--int-font-color-shade-base);border-radius:1.5px;background:var(--int-background-color-default);overflow:hidden;box-sizing:border-box}form.svelte-128rsk0 .input-wrapper.has-focus:where(.svelte-128rsk0){border-color:var(--int-font-color-default)}form.svelte-128rsk0 input:where(.svelte-128rsk0){position:relative;width:100%;height:44px;padding:13px 32px 13px 12px;font-size:14px;background:var(--int-background-color-default);box-sizing:border-box}form.svelte-128rsk0 input:where(.svelte-128rsk0):focus{animation:svelte-128rsk0-blink_input_opacity_to_prevent_scrolling_when_focused .01s;outline:0}form.svelte-128rsk0 .autocomplete-value:where(.svelte-128rsk0){position:absolute;top:0;margin:12px 0 12px 16px;padding:2px 4px;font-size:14px;background:var(--int-font-color-gray-lighter-2);border:none;border-radius:1.5px;white-space:nowrap;user-select:none;transition:left .1s;cursor:pointer}form.svelte-128rsk0 .controls:where(.svelte-128rsk0){position:absolute;right:0;top:0;bottom:0;z-index:12;display:flex;align-items:center;gap:4px;padding:0 12px}form.svelte-128rsk0 .shadow:where(.svelte-128rsk0){position:absolute;top:10px;right:0;bottom:10px;z-index:10;width:48px;background:linear-gradient(to right,var(--int-background-color-default-rgba-transparent) 0,var(--int-background-color-default-rgba-opaque) 33%,var(--int-background-color-default-rgba-opaque) 100%);box-shadow:none}form.svelte-128rsk0 .cancel:where(.svelte-128rsk0){display:flex;justify-content:center}form.svelte-128rsk0 .cancel:where(.svelte-128rsk0) button:where(.svelte-128rsk0){all:unset;margin:0;padding:0 6px;color:inherit;font:inherit;border:none;outline:inherit;background:0 0;font-size:14px}form.svelte-128rsk0 .cancel:where(.svelte-128rsk0) button:where(.svelte-128rsk0):focus{outline:revert}.hidden-value.svelte-128rsk0{position:absolute;font-size:14px;visibility:hidden;pointer-events:none}.search.svelte-1qu5bs6{position:relative;display:flex;flex-direction:column;justify-content:space-between;width:100%;max-width:400px;overflow:hidden;box-sizing:border-box;touch-action:none}.search.is-touch.has-focus.svelte-1qu5bs6{position:fixed;top:0;right:0;left:0;z-index:19;max-width:unset;height:calc(var(--visual-height) + 20px);padding-bottom:20px;background:var(--int-background-color-default)}.search.svelte-1qu5bs6 .additional-elements:where(.svelte-1qu5bs6){height:calc(100% - 80px);padding-top:calc(var(--header-height) + 8px)}.feature-accessor.svelte-17h0cvw{position:relative;display:flex;width:100%;height:46px;margin:0 0 2px}.feature-accessor.is-vertical.svelte-17h0cvw{height:100%;margin:0}.feature-accessor.svelte-17h0cvw button.arrow:where(.svelte-17h0cvw){position:absolute;top:0;z-index:10;display:flex;align-items:center;height:100%;cursor:pointer}.feature-accessor.svelte-17h0cvw button.arrow.left:where(.svelte-17h0cvw){left:0;background:linear-gradient(to left,var(--int-background-color-default-rgba-transparent),var(--int-background-color-default-rgba-opaque))}.feature-accessor.svelte-17h0cvw button.arrow.right:where(.svelte-17h0cvw){right:0;background:linear-gradient(to right,var(--int-background-color-default-rgba-transparent),var(--int-background-color-default-rgba-opaque))}.feature-accessor-scroll-container.svelte-17h0cvw{position:relative;display:flex;align-items:center;width:100%;height:100%;margin:0;padding:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior:contain;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none}.feature-accessor-scroll-container.svelte-17h0cvw::-webkit-scrollbar{display:none}.feature-accessor-scroll-container.is-vertical.svelte-17h0cvw{align-items:start;overflow-x:hidden;overflow-y:auto}.feature-accessor-scroll-container.svelte-17h0cvw ul:where(.svelte-17h0cvw){display:flex;flex-wrap:nowrap;gap:14px;height:100%;margin:0;padding:0;list-style:none}.feature-accessor-scroll-container.is-vertical.svelte-17h0cvw ul:where(.svelte-17h0cvw){flex-direction:column;align-items:flex-start;width:100%;height:unset;min-height:calc(100% + 2px);padding:2px 0 0}.feature-accessor-scroll-container.svelte-17h0cvw li:where(.svelte-17h0cvw){position:relative;display:flex;font-size:14px;color:var(--color);border:1px solid var(--color);border-radius:1.5px;white-space:nowrap;user-select:none;box-sizing:border-box}.feature-accessor-scroll-container.svelte-17h0cvw li.is-highlighted:where(.svelte-17h0cvw){border:2px solid var(--int-font-color-default)}.feature-accessor-scroll-container.svelte-17h0cvw li:where(.svelte-17h0cvw) button:where(.svelte-17h0cvw){background:0 0;padding:13px 12px;color:inherit;border:none;font:inherit;outline:inherit;cursor:default;user-select:none}.feature-accessor-scroll-container.svelte-17h0cvw li:where(.svelte-17h0cvw) button.is-selectable:where(.svelte-17h0cvw){cursor:pointer}.feature-accessor-scroll-container.svelte-17h0cvw li:where(.svelte-17h0cvw) .background:where(.svelte-17h0cvw){position:absolute;inset:0;z-index:0;width:100%;height:100%;background:var(--color);opacity:0}.feature-accessor-scroll-container.svelte-17h0cvw li.is-hovered:where(.svelte-17h0cvw) .background:where(.svelte-17h0cvw){opacity:.1}.feature-accessor-scroll-container.svelte-17h0cvw li.is-selected:where(.svelte-17h0cvw) .background:where(.svelte-17h0cvw){opacity:.2}.feature-accessor-scroll-container.svelte-17h0cvw li.is-highlighted:where(.svelte-17h0cvw) .background:where(.svelte-17h0cvw){opacity:.1}.feature-accessor-scroll-container.svelte-17h0cvw li:where(.svelte-17h0cvw):active .background:where(.svelte-17h0cvw){opacity:.2}.feature-accessor-scroll-container.svelte-17h0cvw li:where(.svelte-17h0cvw) .foreground:where(.svelte-17h0cvw){position:relative;z-index:1;opacity:1;user-select:none}.feature-accessor-scroll-container.is-vertical.svelte-17h0cvw li:where(.svelte-17h0cvw){max-width:100%;white-space:unset}.feature-accessor-scroll-container.is-vertical.svelte-17h0cvw li:where(.svelte-17h0cvw) button:where(.svelte-17h0cvw){text-align:left}.feature-accessor-scroll-container.svelte-17h0cvw:not(.is-vertical) li:where(.svelte-17h0cvw):first-of-type{margin-left:14px}.feature-accessor-scroll-container.svelte-17h0cvw:not(.is-vertical) li:where(.svelte-17h0cvw):last-of-type{margin-right:14px}.feature-accessor-scroll-container.svelte-17h0cvw li.no-results:where(.svelte-17h0cvw){display:flex;align-items:center;font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;font-size:14px}@media (min-width:886px){.feature-accessor-scroll-container.svelte-17h0cvw li.no-results:where(.svelte-17h0cvw){margin-left:16px}}.feature-accessor-scroll-container.svelte-17h0cvw li.no-results:where(.svelte-17h0cvw) strong:where(.svelte-17h0cvw){font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:700}.handle.svelte-1c6gh49{width:25px;height:3px;border:none;border-radius:9px;background:var(--int-font-color-gray-lighter-2)}.merken.svelte-1yvxya4{background:var(--int-background-color-default);width:100%;position:absolute;bottom:0}.merken.svelte-1yvxya4 .button:where(.svelte-1yvxya4){padding:8px;float:right;font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;font-size:14px;cursor:pointer;user-select:none}.merken.svelte-1yvxya4 .button:where(.svelte-1yvxya4) .icon:where(.svelte-1yvxya4){display:inline-flex;transform:translateY(3px)}.merken.svelte-1yvxya4 .button:where(.svelte-1yvxya4) .icon:where(.svelte-1yvxya4) svg:where(.svelte-1yvxya4) path:where(.svelte-1yvxya4){stroke:var(--int-font-color-default);fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.merken.svelte-1yvxya4 .button.active:where(.svelte-1yvxya4) .icon:where(.svelte-1yvxya4) svg:where(.svelte-1yvxya4) path:where(.svelte-1yvxya4){fill:var(--int-font-color-default)}.merken.slidable.svelte-1yvxya4{position:relative;width:auto;font-size:14px;margin-top:-17px;transform:translateY(5px)}.merken.slidable.svelte-1yvxya4 .button:where(.svelte-1yvxya4) .icon:where(.svelte-1yvxya4){transform:translateY(4px)}.infocard.svelte-cmaean{position:absolute;top:var(--infocard-margin);right:var(--infocard-margin);bottom:calc(var(--infocard-margin) + 65px);left:var(--infocard-margin);z-index:15;border:none;border-radius:8px 8px 0 0;background:var(--int-background-color-default);pointer-events:auto;overflow:hidden}.infocard.is-full-on-desktop.svelte-cmaean{bottom:var(--infocard-margin)}.infocard.slidable.svelte-cmaean{position:fixed;right:unset;bottom:unset;left:50%;z-index:19;width:100%;height:var(--content-height);max-width:500px;box-shadow:0 0 4px 0 var(--int--box-shadow-color)}.infocard.with-transition.svelte-cmaean{transition:transform .25s ease-out}.infocard.svelte-cmaean .header:where(.svelte-cmaean){display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;padding:8px}.infocard.svelte-cmaean .header:where(.svelte-cmaean) .title-bar:where(.svelte-cmaean){display:flex;justify-content:space-between;gap:8px;width:100%}.infocard.svelte-cmaean .header:where(.svelte-cmaean) .title-bar:where(.svelte-cmaean) h3:where(.svelte-cmaean){font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:700;font-size:14px;white-space:nowrap}.infocard.svelte-cmaean .header:where(.svelte-cmaean) .title-bar:where(.svelte-cmaean) h3.slidable:where(.svelte-cmaean){min-width:calc(100% - 119px);text-overflow:ellipsis}.infocard.svelte-cmaean .body:where(.svelte-cmaean){position:relative;width:100%;height:100%;touch-action:none}.no-touch-action.svelte-cmaean{touch-action:none}.description.svelte-1kmi26o{display:flex;flex-direction:column;font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:normal;color:var(--int-font-color-gray-base);touch-action:none}.description.svelte-1kmi26o .state:where(.svelte-1kmi26o){font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:700}.description.svelte-1kmi26o .votes:where(.svelte-1kmi26o){font-size:14px;color:var(--int-font-color-default);margin-top:8px}.collapsible.svelte-t9kdfz{overflow:hidden;transition:height .4s ease-in-out;display:grid}.collapsible.svelte-t9kdfz input.hide:where(.svelte-t9kdfz),.collapsible.svelte-t9kdfz input[type=checkbox]:where(.svelte-t9kdfz){display:none}.collapsible.svelte-t9kdfz .content:where(.svelte-t9kdfz){height:0;overflow:hidden;transition:height .4s ease-in-out}.collapsible.svelte-t9kdfz .label:where(.svelte-t9kdfz){cursor:pointer;display:block;width:100%}.collapsible.svelte-t9kdfz .label.hidden:where(.svelte-t9kdfz){display:none}.collapsible.svelte-t9kdfz .label-content:where(.svelte-t9kdfz){gap:16px;padding:8px var(--card-body-horizontal-padding);display:flex;justify-content:space-between;align-items:center}.collapsible.svelte-t9kdfz .label-content:where(.svelte-t9kdfz) .title:where(.svelte-t9kdfz){font-weight:700}.collapsible.infoCard.svelte-t9kdfz .label-content:where(.svelte-t9kdfz){padding:8px 0;gap:8px}.collapsible.infoCard.svelte-t9kdfz .label-content:where(.svelte-t9kdfz) .title:where(.svelte-t9kdfz){font-weight:400;font-size:14px}.collapsible.lastItem.svelte-t9kdfz{margin-bottom:8px}.row-extra.svelte-bgxpj5{display:flex;justify-content:space-between;padding:6px 8px;line-height:28px;width:100%;color:var(--int-font-color-gray-base)}.row-extra.even.svelte-bgxpj5{background-color:var(--int-card-background-color)}.row.svelte-bgxpj5{display:flex;justify-content:space-between;padding:6px 2px;line-height:18px;width:100%}.row.even.svelte-bgxpj5{background-color:var(--int-card-background-color)}.row.svelte-bgxpj5 .partyLong:where(.svelte-bgxpj5){width:calc(100% - var(--shareValueWidth) - var(--diffValueWidth));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--int-font-color-gray-base);position:relative;text-align:left;cursor:text}.row.svelte-bgxpj5 .partyLong.overflowing:where(.svelte-bgxpj5){cursor:pointer}.row.svelte-bgxpj5 .partyLong:where(.svelte-bgxpj5) .arrow:where(.svelte-bgxpj5){position:absolute;right:0;top:0;z-index:8}.row.svelte-bgxpj5 .shareValue:where(.svelte-bgxpj5){width:var(--shareValueWidth);font-weight:700;text-align:right}.row.svelte-bgxpj5 .diffValue:where(.svelte-bgxpj5){width:var(--diffValueWidth);text-align:right;color:var(--int-font-color-gray-base)}.row-extra.svelte-1tdw7ij{display:flex;justify-content:space-between;padding:6px 8px;line-height:28px;width:100%;color:var(--int-font-color-gray-base)}.row-extra.even.svelte-1tdw7ij{background-color:var(--int-card-background-color)}.row.svelte-1tdw7ij{display:flex;justify-content:space-between;padding:6px 2px;line-height:18px;width:100%;--partyAbbrWidth:40.5px}.row.even.svelte-1tdw7ij{background-color:var(--int-card-background-color)}.row.svelte-1tdw7ij .partyLong:where(.svelte-1tdw7ij){width:calc(100% - var(--shareValueWidth) - var(--diffValueWidth) - var(--partyAbbrWidth));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--int-font-color-gray-base);position:relative;text-align:left;cursor:text}.row.svelte-1tdw7ij .partyLong.overflowing:where(.svelte-1tdw7ij){cursor:pointer}.row.svelte-1tdw7ij .partyLong:where(.svelte-1tdw7ij) .arrow:where(.svelte-1tdw7ij){position:absolute;right:0;top:0;z-index:8}.row.svelte-1tdw7ij .partyAbbr:where(.svelte-1tdw7ij){width:var(--partyAbbrWidth);text-align:right}.row.svelte-1tdw7ij .shareValue:where(.svelte-1tdw7ij){width:var(--shareValueWidth);font-weight:700;text-align:right}.row.svelte-1tdw7ij .diffValue:where(.svelte-1tdw7ij){width:var(--diffValueWidth);text-align:right;color:var(--int-font-color-gray-base)}.separator.svelte-lsenct{width:calc(100% - 2 * var(--card-body-horizontal-padding));height:1px;margin:0 var(--card-body-horizontal-padding);background:var(--color-separator,var(--int-font-color-shade-lighter));border:none;border-radius:.5px}.infocard-turnout.svelte-1677x5w{display:flex;flex-direction:column;font-size:14px;margin-top:8px}.infocard-turnout.svelte-1677x5w .turnouts:where(.svelte-1677x5w){display:flex;margin-top:10px}.infocard-turnout.svelte-1677x5w .turnouts:where(.svelte-1677x5w) .vertical-seperator:where(.svelte-1677x5w){width:1px;background-color:var(--int-font-color-gray-fond);margin:0 12px}.infocard-turnout.svelte-1677x5w .turnouts:where(.svelte-1677x5w) .tout:where(.svelte-1677x5w){display:flex;flex-direction:row;align-items:flex-end}.infocard-turnout.svelte-1677x5w .turnouts:where(.svelte-1677x5w) .tout:where(.svelte-1677x5w) .year:where(.svelte-1677x5w){color:var(--int-font-color-gray-base);line-height:1.26;margin-right:6px}.infocard-turnout.svelte-1677x5w .turnouts:where(.svelte-1677x5w) .tout:where(.svelte-1677x5w) .value:where(.svelte-1677x5w){font-size:24px;font-weight:700}.row.svelte-al6059{display:flex;flex-direction:row;align-items:center;height:16px;width:100%}.row.svelte-al6059:not(:last-child){margin-bottom:15px}.row.svelte-al6059 .bar:where(.svelte-al6059){height:100%;border-radius:0 1.5px 1.5px 0;transition:width .4s}.row.svelte-al6059 .votes:where(.svelte-al6059){font-size:14px;color:var(--int-font-color-default);font-weight:700;margin-left:8px;width:36px}.row.name.svelte-al6059{margin-bottom:1px}.row.name.svelte-al6059 .name:where(.svelte-al6059){font-size:14px;color:var(--int-font-color-default);margin-right:8px}.row.name.svelte-al6059 .party:where(.svelte-al6059){font-size:14px;color:var(--int-font-color-gray-base)}.description.svelte-jkf3g2{display:flex;flex-direction:column;font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:normal;touch-action:none;margin-top:8px;margin-bottom:16px}.results.svelte-jkf3g2{display:flex;flex-direction:column;height:auto}.infocardResults.svelte-webhjs{display:flex;flex-direction:column}.infocardResults.svelte-webhjs .infocardResults__margin:where(.svelte-webhjs){height:8px}.infocardResults.svelte-webhjs .few-results:where(.svelte-webhjs){width:100%;height:100%;touch-action:none;padding-top:8px}.body.svelte-1vgfhza{position:relative;width:100%;height:100%;padding:0 8px 200px;overflow-x:hidden;overflow-y:auto;scroll-behavior:smooth;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none}.body.svelte-1vgfhza::-webkit-scrollbar{display:none}.constituencies.svelte-kg0xs2:not(:empty){padding-bottom:17px}.constituencies.svelte-kg0xs2 .inner:where(.svelte-kg0xs2){max-width:395px}.constituencies.svelte-kg0xs2 .item:where(.svelte-kg0xs2){padding:5px 12px;margin-bottom:1px;cursor:pointer;overflow:visible;background:#d2d8dc}@media (prefers-color-scheme:dark){.constituencies.svelte-kg0xs2 .item:where(.svelte-kg0xs2){background:#434444}}.constituencies.svelte-kg0xs2 .item:where(.svelte-kg0xs2):hover{background:#bec3c7}@media (prefers-color-scheme:dark){.constituencies.svelte-kg0xs2 .item:where(.svelte-kg0xs2):hover{background:#5d5e5e}}.constituencies.svelte-kg0xs2 .item:where(.svelte-kg0xs2):first-of-type{border-top-right-radius:1.5px;border-top-left-radius:1.5px}.constituencies.svelte-kg0xs2 .item:where(.svelte-kg0xs2):last-of-type{border-bottom-right-radius:1.5px;border-bottom-left-radius:1.5px}.constituencies.svelte-kg0xs2 .icon:where(.svelte-kg0xs2){display:inline-flex;float:right;transform:translateY(2px)}.constituencies.svelte-kg0xs2 .icon:where(.svelte-kg0xs2) svg:where(.svelte-kg0xs2) path:where(.svelte-kg0xs2){fill:var(--int-font-color-default);stroke:var(--int-font-color-default)}.constituencies.slidable.svelte-kg0xs2{position:absolute;left:16px;bottom:100px}.constituencies.slidable.svelte-kg0xs2 .item:where(.svelte-kg0xs2){min-width:222px}@media screen and (min-width:616px){.constituencies.slidable.svelte-kg0xs2 .item:where(.svelte-kg0xs2){min-width:293px}}@media screen and (max-width:615px){.constituencies.slidable.svelte-kg0xs2{left:0;position:relative;margin-top:166px;margin-bottom:calc(var(--items) * 28px - 118px);z-index:2}.constituencies.slidable.svelte-kg0xs2 .inner:where(.svelte-kg0xs2){position:absolute;width:calc(var(--width) - 55px);margin-bottom:-2px}.constituencies.slidable.svelte-kg0xs2 .inner:where(.svelte-kg0xs2) .item:where(.svelte-kg0xs2){max-width:395px}}.constituencies.slidable.tablet.svelte-kg0xs2{position:relative;bottom:0;padding-bottom:0}.constituencies.slidable.tablet.svelte-kg0xs2 .inner:where(.svelte-kg0xs2){max-width:286px}.results-map.svelte-1f0azib{display:flex;flex-direction:column;gap:16px;width:100%;padding:0 0 16px;scroll-margin-top:5vh}.results-map.svelte-1f0azib .description-and-map-wrapper:where(.svelte-1f0azib){flex:1;display:flex;flex-direction:column;gap:16px;padding:var(--card-body-padding);--description-width:32%}@media screen and (min-width:616px){.results-map.svelte-1f0azib .description-and-map-wrapper:where(.svelte-1f0azib){flex-direction:row}}@media screen and (min-width:616px){.results-map.svelte-1f0azib .description-and-map-wrapper:where(.svelte-1f0azib) .description-wrapper:where(.svelte-1f0azib){width:var(--description-width)}}.results-map.svelte-1f0azib .description-and-map-wrapper:where(.svelte-1f0azib) .map-wrapper:where(.svelte-1f0azib){flex:1;display:flex;min-height:400px}.results-map.svelte-1f0azib .search-and-accessor-wrapper:where(.svelte-1f0azib){display:flex}.results-map.svelte-1f0azib .search-and-accessor-wrapper:where(.svelte-1f0azib) .search-input-wrapper:where(.svelte-1f0azib){display:flex;justify-content:center;width:100%;padding:0 14px}@media screen and (min-width:616px){.results-map.svelte-1f0azib .search-and-accessor-wrapper:where(.svelte-1f0azib) .search-input-wrapper:where(.svelte-1f0azib){width:325px}}@media (min-width:886px){.results-map.svelte-1f0azib .search-and-accessor-wrapper:where(.svelte-1f0azib) .search-input-wrapper:where(.svelte-1f0azib){display:none}}.results-map.svelte-1f0azib .search-and-accessor-wrapper:where(.svelte-1f0azib) .region-accessor-wrapper-inline:where(.svelte-1f0azib){display:none}@media screen and (min-width:616px){.results-map.svelte-1f0azib .search-and-accessor-wrapper:where(.svelte-1f0azib) .region-accessor-wrapper-inline:where(.svelte-1f0azib){display:block;width:calc(100% - 325px)}}@media screen and (min-width:886px){.results-map.svelte-1f0azib .search-and-accessor-wrapper:where(.svelte-1f0azib) .region-accessor-wrapper-inline:where(.svelte-1f0azib){width:100%}}.search-input-children-wrapper.svelte-1f0azib{display:flex;gap:16px;height:100%;padding:0 16px}.search-input-children-wrapper.svelte-1f0azib .map-wrapper:where(.svelte-1f0azib){display:flex;width:50%}.search-input-children-wrapper.svelte-1f0azib .region-accessor-wrapper:where(.svelte-1f0azib){width:50%}ul.legend.svelte-76k18{display:flex;flex-direction:row;flex-wrap:wrap;gap:16px;list-style-type:none}@media screen and (min-width:616px){ul.legend.svelte-76k18{flex-direction:column}}ul.legend.svelte-76k18 li.item:where(.svelte-76k18){display:flex;align-items:baseline;gap:4px}ul.legend.svelte-76k18 li.item:where(.svelte-76k18) span:where(.svelte-76k18){display:inline-block}ul.legend.svelte-76k18 li.item:where(.svelte-76k18) span.color-box:where(.svelte-76k18){width:10px;height:10px;background:var(--int-font-color-gray-darker)}ul.legend.svelte-76k18 li.item:where(.svelte-76k18) span.color-box.has-hatch:where(.svelte-76k18){background:repeating-linear-gradient(-45deg,var(--int-background-color-default),var(--int-background-color-default) 1px,var(--int-font-color-gray-darker) 1px,var(--int-font-color-gray-darker) 3px)}.description.svelte-1mcozfo{display:flex;flex-direction:column;gap:16px;font-size:14px}.description.svelte-1mcozfo .subline-and-counted-wrapper:where(.svelte-1mcozfo){display:flex;flex-direction:column;gap:8px}.description.svelte-1mcozfo .subline-and-counted-wrapper:where(.svelte-1mcozfo) .article:where(.svelte-1mcozfo){font-size:16px}.tooltipResults.svelte-uyt2fa{display:flex}.tooltip-content.fixed-dimensions.svelte-1s9sa0h{width:274px;height:201px}.header.svelte-1s9sa0h{display:flex;justify-content:space-between;align-items:center;margin:5px 8px}.header.svelte-1s9sa0h h3:where(.svelte-1s9sa0h){font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:700;font-size:14px;white-space:nowrap}.body.svelte-1s9sa0h{display:flex;flex-direction:column;margin:8px}.body.svelte-1s9sa0h p:where(.svelte-1s9sa0h){font-size:14px}.body.svelte-1s9sa0h .description:where(.svelte-1s9sa0h){display:flex;flex-direction:column;font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:normal}.body.svelte-1s9sa0h .description:where(.svelte-1s9sa0h) span.sending-seats:where(.svelte-1s9sa0h){color:var(--int-font-color-gray-base)}.non-interactive-canvas.svelte-ky96s5{width:100%;height:100%;overflow:hidden}.non-interactive-canvas.is-gray-scale.svelte-ky96s5{filter:grayscale(1);opacity:.2}.non-interactive-canvas.is-half-transparent.svelte-ky96s5{opacity:.7}.cartogram.svelte-lunw6z{flex:1;display:flex;overflow:hidden}.description.svelte-5930gq{display:flex;flex-direction:column;font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;font-size:12px;line-height:normal;color:var(--int-font-color-gray-base);touch-action:none}.description.svelte-5930gq .state:where(.svelte-5930gq){font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:700}.description.svelte-5930gq .votes:where(.svelte-5930gq){font-size:14px;color:var(--int-font-color-default);margin-top:8px}.row-extra.svelte-1x6cw8n{display:flex;justify-content:space-between;padding:6px 8px;line-height:28px;width:100%;color:var(--int-font-color-gray-base)}.row-extra.even.svelte-1x6cw8n{background-color:var(--int-card-background-color)}.row.svelte-1x6cw8n{display:flex;justify-content:space-between;padding:6px 2px;line-height:18px;width:100%}.row.even.svelte-1x6cw8n{background-color:var(--int-card-background-color)}.row.svelte-1x6cw8n .partyLong:where(.svelte-1x6cw8n){width:calc(100% - var(--shareValueWidth) - var(--diffValueWidth));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--int-font-color-gray-base);position:relative}.row.svelte-1x6cw8n .partyLong:where(.svelte-1x6cw8n) .arrow:where(.svelte-1x6cw8n){position:absolute;right:0;z-index:8}.row.svelte-1x6cw8n .partyLong:where(.svelte-1x6cw8n) .arrow.rotated:where(.svelte-1x6cw8n) svg{transform:rotate(0)}.row.svelte-1x6cw8n .shareValue:where(.svelte-1x6cw8n){width:var(--shareValueWidth);font-weight:700;text-align:right}.row.svelte-1x6cw8n .diffValue:where(.svelte-1x6cw8n){width:var(--diffValueWidth);text-align:right;color:var(--int-font-color-gray-base)}.overview-table.svelte-14vwwlo{display:flex;flex-direction:column;font-size:14px;--partyShortWidth:0px;--currentVotesWidth:0px;--shareValueWidth:40.5px;--diffValueWidth:40.5px}.infocardResults.svelte-1spxdm{display:flex;flex-direction:column}.infocardResults.svelte-1spxdm .infocardResults__margin:where(.svelte-1spxdm){height:8px}.infocardResults.svelte-1spxdm .few-results:where(.svelte-1spxdm){width:100%;height:100%;touch-action:none}.body.svelte-1do1vj5{position:relative;width:100%;height:100%;padding:0 8px 200px;overflow-x:hidden;overflow-y:auto;scroll-behavior:smooth;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none}.body.svelte-1do1vj5::-webkit-scrollbar{display:none}.body.svelte-1do1vj5 p:where(.svelte-1do1vj5){font-size:14px}.results-cartogram.svelte-8sobs7{display:flex;flex-direction:column;gap:16px;width:100%;padding:0 0 16px;scroll-margin-top:5vh}.results-cartogram.article.svelte-8sobs7{padding-bottom:5px;margin-bottom:-5px}.results-cartogram.svelte-8sobs7 .description-and-cartogram-wrapper:where(.svelte-8sobs7){flex:1;display:flex;flex-direction:column;gap:16px;padding:var(--card-body-padding);--description-width:32%}@media screen and (min-width:616px){.results-cartogram.svelte-8sobs7 .description-and-cartogram-wrapper:where(.svelte-8sobs7){flex-direction:row}}@media screen and (min-width:616px){.results-cartogram.svelte-8sobs7 .description-and-cartogram-wrapper:where(.svelte-8sobs7) .description-wrapper:where(.svelte-8sobs7){width:var(--description-width)}}.results-cartogram.svelte-8sobs7 .description-and-cartogram-wrapper:where(.svelte-8sobs7) .cartogram-wrapper:where(.svelte-8sobs7){flex:1;display:flex;min-height:400px}.results-cartogram.svelte-8sobs7 .search-and-accessor-wrapper:where(.svelte-8sobs7){display:flex}.results-cartogram.svelte-8sobs7 .search-and-accessor-wrapper.article:where(.svelte-8sobs7){display:none}.results-cartogram.svelte-8sobs7 .search-and-accessor-wrapper:where(.svelte-8sobs7) .search-input-wrapper:where(.svelte-8sobs7){display:flex;justify-content:center;width:100%;padding:0 14px}.results-cartogram.svelte-8sobs7 .search-and-accessor-wrapper:where(.svelte-8sobs7) .search-input-wrapper.article:where(.svelte-8sobs7){display:flex!important;width:325px;min-width:230px;padding:0}@media screen and (min-width:616px){.results-cartogram.svelte-8sobs7 .search-and-accessor-wrapper:where(.svelte-8sobs7) .search-input-wrapper:where(.svelte-8sobs7){width:325px}}@media (min-width:886px){.results-cartogram.svelte-8sobs7 .search-and-accessor-wrapper:where(.svelte-8sobs7) .search-input-wrapper:where(.svelte-8sobs7){display:none}}.results-cartogram.svelte-8sobs7 .search-and-accessor-wrapper:where(.svelte-8sobs7) .region-accessor-wrapper-inline:where(.svelte-8sobs7){display:none}@media screen and (min-width:616px){.results-cartogram.svelte-8sobs7 .search-and-accessor-wrapper:where(.svelte-8sobs7) .region-accessor-wrapper-inline:where(.svelte-8sobs7){display:block;width:calc(100% - 325px)}}@media screen and (min-width:886px){.results-cartogram.svelte-8sobs7 .search-and-accessor-wrapper:where(.svelte-8sobs7) .region-accessor-wrapper-inline:where(.svelte-8sobs7){width:100%}}.search-input-children-wrapper.svelte-8sobs7{display:flex;gap:16px;height:100%;padding:0 16px}.search-input-children-wrapper.svelte-8sobs7 .cartogram-wrapper:where(.svelte-8sobs7){display:flex;width:50%}.search-input-children-wrapper.svelte-8sobs7 .region-accessor-wrapper:where(.svelte-8sobs7){width:50%}.x-axis-ticks.svelte-120yrbv,.y-axis-ticks.svelte-120yrbv{display:block;width:100%}.x-tick.svelte-120yrbv{position:absolute;display:flex;flex-direction:column;align-items:center;gap:0;text-align:center;transform:translate(-50%) translateY(100%);bottom:0}.x-tick.svelte-120yrbv .tick-line:where(.svelte-120yrbv){display:block;width:0;height:6.37px;border-left:1px solid #000}@media (prefers-color-scheme:dark){.x-tick.svelte-120yrbv .tick-line:where(.svelte-120yrbv){border-left:1px solid #f1efed}}.x-tick.svelte-120yrbv .tick-label:where(.svelte-120yrbv){white-space:nowrap;font-size:13px}.y-tick.svelte-120yrbv{position:absolute;display:flex;flex-direction:column;gap:.5rem}.y-tick.svelte-120yrbv .tick-line:where(.svelte-120yrbv){display:block;width:100%;height:0;border-top:1px solid var(--int-font-color-gray-base)}.y-tick.svelte-120yrbv .tick-line.coalition{border-top-color:var(--int-font-color-default)}.y-tick.svelte-120yrbv:last-child .tick-line:where(.svelte-120yrbv){border-top:1px solid #000}@media (prefers-color-scheme:dark){.y-tick.svelte-120yrbv:last-child .tick-line:where(.svelte-120yrbv){border-top:1px solid #f1efed}}.y-tick.svelte-120yrbv .tick-label:where(.svelte-120yrbv){display:block;width:100%;font-size:13px;transform:translateY(-25px);color:#000;text-shadow:1px 1px 4px var(--int-background-color-default),1px -1px 4px var(--int-background-color-default),-1px 1px 4px var(--int-background-color-default),-1px -1px 4px var(--int-background-color-default)}@media (prefers-color-scheme:dark){.y-tick.svelte-120yrbv .tick-label:where(.svelte-120yrbv){color:#f1efed}}.point.svelte-zni7ym{position:absolute;width:7.75px;height:7.75px;border-radius:50%;border:1px solid var(--int-background-color-default);transform:translate(-50%,-50%)}.point.nocolor.svelte-zni7ym{background-color:var(--int-font-color-gray-base)}svg.svelte-4rsqqi{position:absolute;width:100%;height:100%;overflow:visible}.chartOuter.svelte-pnvfcx{display:block;margin:0;width:100%}.chartOuter.svelte-pnvfcx .chart:where(.svelte-pnvfcx){display:block;margin:0 auto}.chartOuter.svelte-pnvfcx .chart:where(.svelte-pnvfcx) .chartInner:where(.svelte-pnvfcx){position:relative;display:block;width:100%;height:100%}.container.svelte-4sp5fa{width:100%;height:100%;overflow:visible}ul.legend.svelte-7a4lom{display:flex;flex-direction:row;flex-wrap:wrap;gap:16px;list-style-type:none;margin-top:6px}ul.legend.svelte-7a4lom li.item:where(.svelte-7a4lom){display:flex;align-items:center;gap:4px;margin-top:-6px}ul.legend.svelte-7a4lom li.item:where(.svelte-7a4lom) span:where(.svelte-7a4lom){display:inline-block;font-size:14px}ul.legend.svelte-7a4lom li.item:where(.svelte-7a4lom) span.color-box:where(.svelte-7a4lom){width:7px;height:10px;margin-top:1px}ul.legend.svelte-7a4lom li.item:where(.svelte-7a4lom) span.color-box.line:where(.svelte-7a4lom){transform:rotate(45deg);width:3px;height:12px;border-radius:10px;margin-right:4px}.currentTurnout.svelte-1su7ruc{background:var(--int-font-color-gray-fond);position:absolute}.currentTurnout.svelte-1su7ruc div:where(.svelte-1su7ruc){color:var(--int-font-color-gray-base);font-size:13px;text-align:center;position:relative;margin:0 8px;display:flex}.currentTurnout.svelte-1su7ruc div.overflow:where(.svelte-1su7ruc){text-align:right;right:0;justify-content:flex-end}.historicResults.svelte-b95wzh{display:flex;flex-direction:column;gap:16px;padding:var(--card-body-padding)}.historicResults.reduced-padding.svelte-b95wzh{padding-top:0}.historicResults.svelte-b95wzh .description:where(.svelte-b95wzh){font-size:14px}.historicResults.svelte-b95wzh .body:where(.svelte-b95wzh){display:flex;flex-direction:column;flex-wrap:wrap;gap:16px;align-content:end;position:relative}.historicResults.svelte-b95wzh .body:where(.svelte-b95wzh) path:where(.svelte-b95wzh){fill:none;stroke-width:3;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}.historicResults.svelte-b95wzh .body:where(.svelte-b95wzh) path.lined:where(.svelte-b95wzh){stroke-dasharray:.1 5}.historicCoalitions.svelte-1ljd0dl{display:flex;flex-direction:column;gap:16px;padding:var(--card-body-padding)}.historicCoalitions.svelte-1ljd0dl .description:where(.svelte-1ljd0dl){font-size:14px}.historicCoalitions.svelte-1ljd0dl .body:where(.svelte-1ljd0dl){display:flex;flex-direction:column;flex-wrap:wrap;gap:16px;align-content:end;position:relative}.historicCoalitions.svelte-1ljd0dl .body:where(.svelte-1ljd0dl) .box:where(.svelte-1ljd0dl){position:absolute;border:1px solid var(--int-background-color-default);border-radius:1.5px}.historicCoalitions.svelte-1ljd0dl .body:where(.svelte-1ljd0dl) .box:where(.svelte-1ljd0dl) .column:where(.svelte-1ljd0dl){width:100%;height:100%;position:absolute;left:0}.historicTurnouts.svelte-1hg88s4{display:flex;flex-direction:column;gap:16px;padding:var(--card-body-padding)}.historicTurnouts.svelte-1hg88s4 .description:where(.svelte-1hg88s4){font-size:14px}.historicTurnouts.svelte-1hg88s4 .body:where(.svelte-1hg88s4){display:flex;flex-direction:column;flex-wrap:wrap;gap:16px;align-content:end;position:relative}.historicTurnouts.svelte-1hg88s4 .body:where(.svelte-1hg88s4) path:where(.svelte-1hg88s4){fill:none;stroke:var(--int-font-color-gray-base);stroke-width:2.25;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}.historicTurnouts.svelte-1hg88s4 .body:where(.svelte-1hg88s4) path.lined:where(.svelte-1hg88s4){stroke-dasharray:.1 5}.plenum.svelte-1p92yjx{max-width:358px;width:100%;display:inline-flex;justify-content:center;position:relative}.plenum.svelte-1p92yjx svg:where(.svelte-1p92yjx){overflow:visible}.plenum.svelte-1p92yjx .totalSeats:where(.svelte-1p92yjx){position:absolute;bottom:0;font-size:14px}.plenum.isNoData.svelte-1p92yjx .totalSeats:where(.svelte-1p92yjx){display:none}.center.svelte-1p92yjx{display:none;--color-noData:#eef1f3}@media (prefers-color-scheme:dark){.center.svelte-1p92yjx{--color-noData:#2f2e2d}}.center.isNoData.svelte-1p92yjx{width:40px;height:20px;background:var(--color-noData);position:absolute;display:block;bottom:0}.values.svelte-orgtbe{display:flex;flex-direction:row;position:relative;z-index:0;transition:all .3s ease-in-out}.values.svelte-orgtbe:after{content:"";position:absolute;width:calc(100% + 4px);inset:0 0 0 -2px;border-radius:1.5px;background:var(--liveUpdate,#ffe646);mix-blend-mode:multiply;z-index:-1;height:calc(100% + .5px);transition:all .3s ease-in-out;opacity:0}.values.liveUpdate.svelte-orgtbe{color:#000}.values.liveUpdate.svelte-orgtbe:after{opacity:1}.values.liveUpdate.svelte-orgtbe .seatsDiff:where(.svelte-orgtbe){background-color:transparent}.values.svelte-orgtbe .seats:where(.svelte-orgtbe){font-weight:700;margin-right:4px;text-align:right;width:24px}.values.svelte-orgtbe .seatsDiff:where(.svelte-orgtbe){width:36px;text-align:right;background-color:var(--int-font-color-gray-fond);color:var(--int-font-color-gray-base);padding:0 4px;border:none;border-radius:1.5px}.values.widget.svelte-orgtbe .seatsDiff:where(.svelte-orgtbe){display:none}.values.widget.isNoData.svelte-orgtbe .seats:where(.svelte-orgtbe){visibility:hidden}.legendContainer.svelte-13hj128{display:flex;flex-direction:row;font-size:14px;flex-wrap:wrap;--dotWidth:14px}.legendContainer.spaceBetween.svelte-13hj128{justify-content:space-between}.legendContainer.svelte-13hj128 .party:where(.svelte-13hj128){display:flex;flex-direction:row;align-items:center}.legendContainer.svelte-13hj128 .party:where(.svelte-13hj128) .dot:where(.svelte-13hj128){width:var(--dotWidth);height:var(--dotWidth);border-radius:50%;margin-top:2px;margin-right:4px}.legendContainer.svelte-13hj128 .party:where(.svelte-13hj128) .name:where(.svelte-13hj128){width:50px;margin-right:4px}.legendContainer.widget.svelte-13hj128{justify-content:space-between;font-size:13px}.legendContainer.widget.svelte-13hj128 .party:where(.svelte-13hj128) .name:where(.svelte-13hj128){width:40px}.legendContainer.widget.large.svelte-13hj128 .party:where(.svelte-13hj128) .name:where(.svelte-13hj128){width:35px}.legendContainer.widget.extraLarge.svelte-13hj128{gap:14px 33px!important}.legendContainer.widget.extraLarge.svelte-13hj128 .party:where(.svelte-13hj128) .name:where(.svelte-13hj128){width:40px}.legendContainer.widget.small.svelte-13hj128 .party:where(.svelte-13hj128) .name:where(.svelte-13hj128){width:50px}.legendContainer.widget.isNoData.svelte-13hj128 .party:where(.svelte-13hj128){background:#eef1f3}@media (prefers-color-scheme:dark){.legendContainer.widget.isNoData.svelte-13hj128 .party:where(.svelte-13hj128){background:#2f2e2d}}.legendContainer.widget.isNoData.svelte-13hj128 .dot:where(.svelte-13hj128){display:none}.legendContainer.widget.isNoData.svelte-13hj128 .name:where(.svelte-13hj128){visibility:hidden}.seatsContainer.svelte-r9cohc{display:flex;flex-direction:column;gap:28px}.seatsContainer.reversed.svelte-r9cohc{flex-direction:column-reverse;gap:12px}.seatsContainer.svelte-r9cohc div:where(.svelte-r9cohc){width:100%}.seatsContainer.svelte-r9cohc div:where(.svelte-r9cohc):nth-child(2){display:inline-flex;justify-content:center}button.svelte-1esbs1i{font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:700;font-size:14px;display:flex;justify-content:center;align-items:center;align-self:center;gap:8px;padding:8px 16px;cursor:pointer;border:1px solid var(--int-font-color-shade-base);border-radius:1.5px;color:var(--int-font-color-default);width:100%;max-width:400px;height:46px}button.svelte-1esbs1i svg:where(.svelte-1esbs1i){transition:transform .4s ease-in-out;transform:rotate(180deg);transform-origin:center}button.svelte-1esbs1i svg:where(.svelte-1esbs1i) path:where(.svelte-1esbs1i){stroke:var(--int-font-color-default)}button.svelte-1esbs1i svg.expanded:where(.svelte-1esbs1i){transform:rotate(0)}.headIcon.svelte-ltfayz{display:flex;flex-direction:column;gap:0;position:relative;align-items:center;justify-content:center;background-color:transparent}.headIcon.svelte-ltfayz .closeContainer:where(.svelte-ltfayz){display:flex;width:46px;align-items:center;justify-content:center;position:relative}.headIcon.svelte-ltfayz .closeButton:where(.svelte-ltfayz){position:absolute;top:5px;cursor:pointer;width:40px}.headIcon.svelte-ltfayz .closeButton:where(.svelte-ltfayz) circle:where(.svelte-ltfayz){fill:none;stroke:var(--int-font-color-shade-base)}.headIcon.svelte-ltfayz .closeButton:where(.svelte-ltfayz) path:where(.svelte-ltfayz){stroke:var(--int-font-color-default)}.headIcon.svelte-ltfayz img:where(.svelte-ltfayz){width:calc(100% - 6px);height:calc(100% - 6px);object-fit:cover;border-radius:50%;position:absolute}.headIcon.inheritFlex.svelte-ltfayz{align-items:inherit;justify-content:inherit}button.svelte-ltfayz{background:var(--int-background-color-default)}.mpDetail.svelte-1hlckq7{display:flex;flex-direction:row;gap:16px;width:100%;height:0;transition:height .4s ease-in-out;opacity:0}.mpDetail.svelte-1hlckq7 .body:where(.svelte-1hlckq7){display:flex;flex-direction:column;gap:0}.mpDetail.svelte-1hlckq7 .body:where(.svelte-1hlckq7) .name:where(.svelte-1hlckq7){font-weight:700}.mpDetail.svelte-1hlckq7 .body:where(.svelte-1hlckq7) .inforow:where(.svelte-1hlckq7){display:flex;flex-direction:row;gap:4px;margin-bottom:4px;margin-top:4px}.mpDetail.svelte-1hlckq7 .body:where(.svelte-1hlckq7) .inforow:where(.svelte-1hlckq7) div:where(.svelte-1hlckq7){border-radius:1.5px;height:16px;color:#fff;font-size:14px;display:inline-flex;align-items:center;padding:0 4px}.mpDetail.svelte-1hlckq7 .body:where(.svelte-1hlckq7) .inforow:where(.svelte-1hlckq7) .other:where(.svelte-1hlckq7){background-color:var(--int-font-color-gray-lighter)}.mpDetail.svelte-1hlckq7 .body:where(.svelte-1hlckq7) .inforow:where(.svelte-1hlckq7) .other.birth:where(.svelte-1hlckq7){color:var(--int-font-color-gray-lighter);background-color:transparent;padding:0 2px}.mpDetail.svelte-1hlckq7 .body:where(.svelte-1hlckq7) .credit:where(.svelte-1hlckq7){font-size:12px;color:var(--int-font-color-gray-base)}.mpDetail.show.svelte-1hlckq7{height:auto;opacity:1}.tooltip-content.svelte-1f2bal2{width:274px;height:auto}.header.svelte-1f2bal2{display:flex;justify-content:space-between;align-items:center;margin:5px 8px}.header.svelte-1f2bal2 h3:where(.svelte-1f2bal2){font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:700;font-size:14px;white-space:nowrap}.body.svelte-1f2bal2{display:flex;flex-direction:column;margin:8px}.tooltip.svelte-1bhut8{position:absolute;z-index:15;border:none;border-radius:4px;box-shadow:0 0 4px 0 var(--int--box-shadow-color);user-select:none;pointer-events:none;overflow:hidden}.tooltip.article.svelte-1bhut8{position:fixed}.tooltip.svelte-1bhut8 .inner-wrapper:where(.svelte-1bhut8){position:relative;width:100%;height:100%}.tooltip.svelte-1bhut8 .inner-wrapper:where(.svelte-1bhut8) .background:where(.svelte-1bhut8){position:absolute;z-index:0;inset:0;background:var(--int-background-color-default-rgba-halftransparent);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px)}.tooltip.svelte-1bhut8 .inner-wrapper:where(.svelte-1bhut8) .contents:where(.svelte-1bhut8){position:relative;z-index:1;display:flex;flex-direction:column}.mpList.svelte-fz44er{display:flex;flex-direction:column;gap:16px;max-width:100%;padding-bottom:40px}.mpList.svelte-fz44er .partyList:where(.svelte-fz44er){display:flex;flex-direction:column;font-size:14px;gap:.75rem}.mpList.svelte-fz44er .partyList:where(.svelte-fz44er) .party:where(.svelte-fz44er){font-weight:700}.mpList.svelte-fz44er .partyList:where(.svelte-fz44er) .mps:where(.svelte-fz44er){display:flex;flex-wrap:wrap;column-gap:9px;row-gap:4px}.mpDetail.svelte-18o9rdw{display:flex;flex-direction:row;align-items:center;gap:12px;width:100%;height:auto;transition:height .4s ease-in-out}.mpDetail.svelte-18o9rdw .body:where(.svelte-18o9rdw){display:flex;flex-direction:column;gap:0;align-items:flex-start;color:var(--int-font-color-default)}.mpDetail.svelte-18o9rdw .body:where(.svelte-18o9rdw) .name:where(.svelte-18o9rdw){font-weight:700}.mp-list-detail.svelte-7dezy5{--card-body-horizontal-padding:2px;background-color:var(--int-background-color-default);position:relative;display:flex;flex-direction:column;align-items:center;width:100%;height:100%;padding-bottom:100px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none}.mp-list-detail.svelte-7dezy5::-webkit-scrollbar{display:none}.mp-list-detail.svelte-7dezy5 ul:where(.svelte-7dezy5){display:flex;flex-direction:column;align-items:flex-start;gap:2px;flex-wrap:nowrap;margin:0;padding:16px 0 0;list-style:none;width:100%}.mp-list-detail.svelte-7dezy5 li:where(.svelte-7dezy5){position:relative;display:flex;font-size:14px;color:var(--color);border:none;border-radius:4px;white-space:nowrap;user-select:none;width:100%}.mp-list-detail.svelte-7dezy5 li.is-highlighted:where(.svelte-7dezy5){background-color:var(--int-font-color-gray-fond);border:1px solid #000}@media (prefers-color-scheme:dark){.mp-list-detail.svelte-7dezy5 li.is-highlighted:where(.svelte-7dezy5){border:1px solid #fff}}.mp-list-detail.svelte-7dezy5 li:where(.svelte-7dezy5) button:where(.svelte-7dezy5){background:0 0;padding:8px 4px;color:inherit;border:none;font:inherit;outline:inherit;cursor:default}.mp-list-detail.svelte-7dezy5 li:where(.svelte-7dezy5) button.is-selectable:where(.svelte-7dezy5){cursor:pointer}.mp-list-detail.svelte-7dezy5 li:where(.svelte-7dezy5) .background:where(.svelte-7dezy5){position:absolute;inset:0;z-index:0;width:100%;height:100%;background:var(--color);opacity:0}.mp-list-detail.svelte-7dezy5 li.is-hovered:where(.svelte-7dezy5) .background:where(.svelte-7dezy5){opacity:.1}.mp-list-detail.svelte-7dezy5 li.is-selected:where(.svelte-7dezy5) .background:where(.svelte-7dezy5){opacity:.2}.mp-list-detail.svelte-7dezy5 li:where(.svelte-7dezy5):active .background:where(.svelte-7dezy5){opacity:.2}.mp-list-detail.svelte-7dezy5 li:where(.svelte-7dezy5) .foreground:where(.svelte-7dezy5){position:relative;z-index:1;opacity:1;user-select:none}.mp-list-detail.svelte-7dezy5 .no-results:where(.svelte-7dezy5){font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;font-size:14px}@media (min-width:886px){.mp-list-detail.svelte-7dezy5 .no-results:where(.svelte-7dezy5){margin-left:16px}}.mp-list-detail.svelte-7dezy5 .no-results:where(.svelte-7dezy5) strong:where(.svelte-7dezy5){font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:700}.scroll-container.svelte-1nemr1g{padding:0 8px;position:relative;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;scroll-behavior:smooth;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:none;-ms-overflow-style:none}.scroll-container.svelte-1nemr1g::-webkit-scrollbar{display:none}.scroll-container.svelte-1nemr1g .fake-search:where(.svelte-1nemr1g){position:sticky;z-index:2;top:0;margin:0 -8px 16px;padding:8px;background:var(--int-background-color-default);touch-action:none}.scroll-container.svelte-1nemr1g .sticky:where(.svelte-1nemr1g){position:sticky;z-index:10;bottom:34px;margin:16px -8px 0;padding:8px;background:var(--int-background-color-default)}.search-input-children-wrapper.svelte-1nemr1g{display:flex;gap:16px;height:100%;padding:0 16px;overflow-y:auto}.seats.svelte-1818mc6{display:flex;flex-direction:column;gap:16px;padding:var(--card-body-padding)}.seats.svelte-1818mc6 .description:where(.svelte-1818mc6){display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:5px 0;font-size:var(--font-size-subline)}.seats.svelte-1818mc6 .body:where(.svelte-1818mc6){display:flex;flex-direction:column;gap:16px}.seats.svelte-1818mc6 .button-wrapper:where(.svelte-1818mc6){display:flex;justify-content:center;width:100%;margin:0 auto}@media screen and (min-width:616px){.seats.svelte-1818mc6 .button-wrapper:where(.svelte-1818mc6){width:325px}}@media (min-width:886px){.seats.svelte-1818mc6 .button-wrapper:where(.svelte-1818mc6){display:none}}.seats.svelte-1818mc6 .hidden-search-wrapper:where(.svelte-1818mc6){display:none}.seats.svelte-1818mc6 .hidden-search-wrapper.show:where(.svelte-1818mc6){display:block}.link-image.svelte-aeffqx{min-width:310px;max-width:310px;border-radius:3px 0 0 3px}@media (max-width:616px){.link-image.svelte-aeffqx{min-width:100%;max-height:100%;border-radius:3px 3px 0 0}}@media (min-width:616px) and (max-width:886px){.link-image.svelte-aeffqx{min-width:256px;max-width:256px}}.link-container.svelte-1eleqwp{display:flex;align-items:center;gap:8px}.link.svelte-1eleqwp{text-decoration:none;position:relative;cursor:pointer;font-size:14px;white-space:nowrap;font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400}.link.svelte-1eleqwp:after{content:"";position:absolute;left:0;bottom:-3px;width:100%;height:1px;background-color:var(--int-font-color-shade-light)}@media (min-width:886px){.link.svelte-1eleqwp{font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:700}}.linkBox.svelte-189h3vc{display:flex;flex-direction:column;width:100%}@media (min-width:616px){.linkBox.svelte-189h3vc{flex-direction:row;max-height:74px}}.text.svelte-189h3vc{display:flex;flex-direction:column;padding-top:16px;padding-bottom:20px;padding-left:16px;line-height:110%}@media (min-width:616px){.text.svelte-189h3vc{align-items:center;flex-direction:row;line-height:100%}}.title.svelte-189h3vc{font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;font-size:14px}@media (max-width:616px){.title.svelte-189h3vc{font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:700}}@media (min-width:616px) and (max-width:886px){.title.svelte-189h3vc{font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;max-width:160px}}@media (min-width:616px){.linkable.svelte-189h3vc{position:absolute;right:16px}}.link-image.svelte-m1w9e1{min-width:38px;max-width:38px;min-height:38px;max-height:38px;border-radius:50%;margin-left:16px}.linkBox.svelte-1cq47um,a.svelte-1cq47um{display:flex;flex-direction:row;align-items:center;width:100%}@media (min-width:886px){.linkBox.flex-width.svelte-1cq47um{width:50%}}.text.svelte-1cq47um{display:flex;flex-direction:column;padding-top:22px;padding-bottom:20px;padding-left:8px;line-height:110%;width:100%}@media (min-width:886px){.text.svelte-1cq47um{align-items:center;flex-direction:row;line-height:100%}}.title.svelte-1cq47um{font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:700;font-size:14px;padding-right:8px}@media (min-width:886px){.text-width.svelte-1cq47um{min-width:240px;max-width:240px}}.linkable.svelte-1cq47um{padding-right:16px;padding-left:16px}.linkable-small.svelte-1cq47um{padding-right:16px}@media (min-width:886px){.linkable-small.svelte-1cq47um{display:flex;justify-content:flex-end;margin-left:auto}}.status.svelte-1cq47um{font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;font-size:14px;padding-right:16px;padding-left:10px}.status-container.svelte-1cq47um{align-items:center;display:flex}@media (max-width:886px){.status-container.svelte-1cq47um{display:none}}.separator.svelte-1cq47um{margin-left:8px;margin-right:8px}.description.svelte-18hdfda{display:flex;flex-direction:column;justify-content:space-between;align-items:baseline;gap:16px;font-size:var(--font-size-subline);margin:5px 0}.description.svelte-18hdfda .subline-and-counted-wrapper:where(.svelte-18hdfda){display:flex;flex-direction:column;gap:8px}.description.svelte-18hdfda .subline-and-counted-wrapper:where(.svelte-18hdfda) .subline:where(.svelte-18hdfda) svg{display:inline-flex;margin:-2px 3px -2px -1px}svg.svelte-18xhaa8{filter:drop-shadow(0px 2px 2px rgba(0,0,0,.3));mix-blend-mode:multiply}svg.svelte-18xhaa8 .bgColorFill:where(.svelte-18xhaa8){fill:var(--int-background-color-default)}svg.svelte-18xhaa8 .bgColorStroke:where(.svelte-18xhaa8){stroke:var(--int-background-color-default)}.map.svelte-hkvyz4{flex:1;display:flex;width:100%;position:relative}.map.svelte-hkvyz4 .leading:where(.svelte-hkvyz4){position:absolute;top:0;left:0;width:100%;height:100%}.map.svelte-hkvyz4 .leading:where(.svelte-hkvyz4) div:where(.svelte-hkvyz4){position:absolute;transform:translate(-50%,-75%)}.leading-row.svelte-y6r6io{display:flex;flex-direction:row;align-items:center;justify-content:center;font-size:14px;gap:4px}.leading-row.svelte-y6r6io .value:where(.svelte-y6r6io){font-weight:700;text-wrap:nowrap;min-width:40px;max-width:40px;text-align:right}.leading-row.svelte-y6r6io .icon:where(.svelte-y6r6io){min-width:16px;max-width:16px;margin-left:3px;margin-top:2px}.leading-row.svelte-y6r6io .name:where(.svelte-y6r6io){text-align:center}.element.svelte-y6r6io{margin-bottom:3px}.leading-hoods.svelte-9r5f24{display:flex;flex-direction:column;gap:4px}.strongholds.svelte-1421gp5{display:flex;flex-direction:column;gap:16px;padding:var(--card-body-padding);padding-right:6px}.strongholds.svelte-1421gp5 .body:where(.svelte-1421gp5){display:grid;grid-template-columns:repeat(auto-fill,minmax(min(141px,100%),1fr));gap:24px 6px}.strongholds.svelte-1421gp5 .body:where(.svelte-1421gp5) .party-map:where(.svelte-1421gp5){display:flex;flex-direction:column;gap:8px;flex:1;max-width:141px}.strongholds.svelte-1421gp5 .body:where(.svelte-1421gp5) .party-map:where(.svelte-1421gp5) .name:where(.svelte-1421gp5){font-size:14px;font-weight:700;border-bottom:1px solid var(--int-font-color-shade-lighter);padding-bottom:4px}.strongholds.svelte-1421gp5 .body:where(.svelte-1421gp5) .party-map:where(.svelte-1421gp5) .map-wrapper:where(.svelte-1421gp5){flex:1;display:flex;min-height:202px;max-height:202px}ul.legend.svelte-16hxuug{display:flex;flex-direction:row;flex-wrap:wrap;gap:16px;list-style-type:none}ul.legend.svelte-16hxuug li.item:where(.svelte-16hxuug){display:flex;align-items:center;gap:4px;margin-bottom:8px}ul.legend.svelte-16hxuug li.item:where(.svelte-16hxuug) span:where(.svelte-16hxuug){display:inline-block;font-size:14px}ul.legend.svelte-16hxuug li.item:where(.svelte-16hxuug) span.color-box:where(.svelte-16hxuug){width:7px;height:10px;background-color:var(--int-font-color-gray-lighter-2)}ul.legend.svelte-16hxuug li.item:where(.svelte-16hxuug) span.color-box.bordered:where(.svelte-16hxuug){border:1px solid var(--int-font-color-default)}.tabs-switch.svelte-111l8uh{position:relative;display:flex;align-items:flex-start;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:4px 0;scrollbar-width:none;-ms-overflow-style:none}.tabs-switch.svelte-111l8uh::-webkit-scrollbar{display:none}.tabs-switch.svelte-111l8uh input:where(.svelte-111l8uh){display:none}.tabs-switch.svelte-111l8uh ul:where(.svelte-111l8uh){position:relative;display:flex;gap:calc(var(--border-padding-horizontal) * 2);margin:0;margin-left:var(--border-padding-horizontal);padding:0;list-style:none}.tabs-switch.svelte-111l8uh ul:where(.svelte-111l8uh):before{position:absolute;top:calc(-1 * var(--border-padding-vertical));right:calc(-1 * var(--border-padding-horizontal));bottom:calc(-1 * var(--border-padding-vertical));left:calc(-1 * var(--border-padding-horizontal));display:block;width:var(--active-label-width);border:1px solid var(--int-font-color-shade-base);border-radius:3px;transform:translate(var(--translate-x));transition:transform .3s,width .3s;box-sizing:border-box;pointer-events:none;content:""}.tabs-switch.svelte-111l8uh ul.no-translate-x:where(.svelte-111l8uh):before{display:none}.tabs-switch.svelte-111l8uh ul:where(.svelte-111l8uh) li:where(.svelte-111l8uh){display:flex;position:relative}.tabs-switch.svelte-111l8uh ul:where(.svelte-111l8uh) li.last:where(.svelte-111l8uh){margin-right:var(--border-padding-horizontal)}.tabs-switch.svelte-111l8uh ul:where(.svelte-111l8uh) li:where(.svelte-111l8uh) div:where(.svelte-111l8uh){position:absolute;left:calc(0% - var(--border-padding-horizontal) - .5px);top:0;width:1px;height:16px;background-color:var(--int-font-color-shade-base)}.tabs-switch.svelte-111l8uh ul:where(.svelte-111l8uh) li:where(.svelte-111l8uh) label:where(.svelte-111l8uh){margin:0;padding:0;color:var(--int-font-color-shade-base);font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:126%;letter-spacing:.24px;text-align:center;transition:opacity .3s;box-sizing:border-box;user-select:none;cursor:pointer;text-wrap:nowrap}.tabs-switch.svelte-111l8uh ul:where(.svelte-111l8uh) li:where(.svelte-111l8uh) label:where(.svelte-111l8uh):hover{color:var(--int-font-color-shade-dark)}.tabs-switch.svelte-111l8uh ul:where(.svelte-111l8uh) li:where(.svelte-111l8uh) label.checked:where(.svelte-111l8uh){color:var(--int-font-color-default)}.list-votes.svelte-z9mtnl{display:flex;flex-direction:column;gap:16px;padding:var(--card-body-padding);padding-top:8px}.list-votes.svelte-z9mtnl .body:where(.svelte-z9mtnl){display:flex;flex-direction:column}.list-votes.svelte-z9mtnl .body:where(.svelte-z9mtnl) .tabs-switch{margin-bottom:20px}svg.svelte-wvb17h path:where(.svelte-wvb17h){opacity:.4}svg.svelte-wvb17h .arrow:where(.svelte-wvb17h){opacity:1}svg.svelte-wvb17h .arrow:where(.svelte-wvb17h) polygon:where(.svelte-wvb17h){transform:translate(-6.4px,-6.4px)}svg.svelte-wvb17h .arrow:where(.svelte-wvb17h) polygon.negative:where(.svelte-wvb17h){stroke-width:1;stroke:var(--int-background-color-default)}svg.svelte-wvb17h circle:where(.svelte-wvb17h){fill:var(--int-background-color-default)}.info.svelte-sisu63{position:absolute;top:0;left:0;width:100%;height:100%}.info.svelte-sisu63 .partyName:where(.svelte-sisu63){font-size:24px;font-weight:700;top:50%;left:50%;transform:translate(-50%,-50%);position:absolute}.info.svelte-sisu63 .values:where(.svelte-sisu63){position:absolute;font-size:14px;width:100%;transform:translateY(-24px)}.info.svelte-sisu63 .values:where(.svelte-sisu63) .value:where(.svelte-sisu63){font-weight:700;text-shadow:-1px -1px 1px var(--int-text-shadow-color),1px -1px 1px var(--int-text-shadow-color),-1px 1px 1px var(--int-text-shadow-color),1px 1px 1px var(--int-text-shadow-color);-webkit-font-smoothing:antialiased}.info.svelte-sisu63 .values.right:where(.svelte-sisu63){text-align:right}.voterFlowsNet.svelte-1vqrgm5{display:flex;flex-direction:column;gap:16px;padding:var(--card-body-padding)}.voterFlowsNet.svelte-1vqrgm5 .description:where(.svelte-1vqrgm5){display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:5px 0}.voterFlowsNet.svelte-1vqrgm5 .description:where(.svelte-1vqrgm5) .subline:where(.svelte-1vqrgm5){font-size:var(--font-size-subline)}.voterFlowsNet.svelte-1vqrgm5 .body:where(.svelte-1vqrgm5){display:flex;flex-direction:column;gap:16px;position:relative;flex:1}.voterFlowsNet.svelte-1vqrgm5 .body:where(.svelte-1vqrgm5) .chartContainer:where(.svelte-1vqrgm5){width:100%;position:relative;margin-top:18px}svg.svelte-1muvajc path:where(.svelte-1muvajc){stroke:var(--int-font-color-default);stroke-linecap:round}.button-show-all.svelte-1tfat4u{display:flex;justify-content:center;align-items:center;gap:16px}.button-show-all.svelte-1tfat4u .button-show-all__button:where(.svelte-1tfat4u){display:flex;align-items:baseline;font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;font-size:14px;gap:6px;height:24px;padding:2px 8px 3px;border:1px solid var(--int-font-color-shade-base);border-radius:3px;white-space:nowrap}.button-show-all.svelte-1tfat4u .button-show-all__button:where(.svelte-1tfat4u) .icon:where(.svelte-1tfat4u){width:10px;height:8px;display:inline-flex;margin-right:6px;overflow:hidden;align-items:center}.row-extra.svelte-mpjn77{display:flex;justify-content:space-between;padding:6px 8px;line-height:28px;width:100%;color:var(--int-font-color-gray-base)}.row-extra.even.svelte-mpjn77{background-color:var(--int-card-background-color)}.row.svelte-mpjn77{display:flex;justify-content:space-between;padding:6px 8px;line-height:28px;width:100%}.row.even.svelte-mpjn77{background-color:var(--int-card-background-color)}.row.svelte-mpjn77 .partyShort:where(.svelte-mpjn77){width:var(--partyShortWidth)}.row.svelte-mpjn77 .partyLong:where(.svelte-mpjn77){width:calc(100% - var(--partyShortWidth) - var(--currentVotesWidth) - var(--shareValueWidth) - var(--diffValueWidth));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--int-font-color-gray-base);position:relative;text-align:left;cursor:text}.row.svelte-mpjn77 .partyLong.overflowing:where(.svelte-mpjn77){cursor:pointer}.row.svelte-mpjn77 .partyLong:where(.svelte-mpjn77) .arrow:where(.svelte-mpjn77){position:absolute;right:0;top:0;z-index:8}.row.svelte-mpjn77 .currentVotes:where(.svelte-mpjn77){width:var(--currentVotesWidth);text-align:right}.row.svelte-mpjn77 .shareValue:where(.svelte-mpjn77){width:var(--shareValueWidth);font-weight:700;text-align:right}.row.svelte-mpjn77 .diffValue:where(.svelte-mpjn77){width:var(--diffValueWidth);text-align:right}.overview-table.svelte-1nfm03u{display:flex;flex-direction:column;font-size:14px}.overview-table.desktop.svelte-1nfm03u{--partyShortWidth:60px;--currentVotesWidth:67.5px;--shareValueWidth:68px;--diffValueWidth:78px}.overview-table.tablet.svelte-1nfm03u{--partyShortWidth:60px;--currentVotesWidth:67.5px;--shareValueWidth:55px;--diffValueWidth:55px}.overview-table.mobile.svelte-1nfm03u{--partyShortWidth:60px;--currentVotesWidth:67.5px;--shareValueWidth:44.5px;--diffValueWidth:44.5px}.overview-table.noCurrentVotes.svelte-1nfm03u{--currentVotesWidth:0px}.overview-table.svelte-1nfm03u .row:where(.svelte-1nfm03u){display:flex;justify-content:space-between;align-items:flex-end;padding:6px 8px;line-height:28px;width:100%;color:var(--int-font-color-gray-base);border-bottom:1px solid var(--int-font-color-shade-lighter);margin-bottom:10px;line-height:17.64px}.overview-table.svelte-1nfm03u .row:where(.svelte-1nfm03u) .partyShort:where(.svelte-1nfm03u){width:var(--partyShortWidth)}.overview-table.svelte-1nfm03u .row:where(.svelte-1nfm03u) .partyLong:where(.svelte-1nfm03u){width:calc(100% - var(--partyShortWidth) - var(--currentVotesWidth) - var(--shareValueWidth) - var(--diffValueWidth));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--int-font-color-gray-base)}.overview-table.svelte-1nfm03u .row:where(.svelte-1nfm03u) .currentVotes:where(.svelte-1nfm03u){width:var(--currentVotesWidth);text-align:right}.overview-table.svelte-1nfm03u .row:where(.svelte-1nfm03u) .shareValue:where(.svelte-1nfm03u){width:var(--shareValueWidth);text-align:right}.overview-table.svelte-1nfm03u .row:where(.svelte-1nfm03u) .diffValue:where(.svelte-1nfm03u){width:var(--diffValueWidth);text-align:right}.table.svelte-dhguvr{display:flex;flex-direction:column;gap:8px;padding:var(--card-body-padding)}.table.svelte-dhguvr .description:where(.svelte-dhguvr){display:flex;justify-content:space-between;align-items:center;gap:16px;margin:5px 0;font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;font-size:14px}.table.svelte-dhguvr .subline:where(.svelte-dhguvr){font-size:var(--font-size-subline)}.table.svelte-dhguvr .body:where(.svelte-dhguvr){display:flex;flex-direction:column;column-gap:var(--marginParty)}.seats.svelte-xg28nx{display:flex;flex-direction:column;gap:16px;padding:var(--card-body-padding);position:relative}.seats.svelte-xg28nx .switch:where(.svelte-xg28nx){position:absolute;top:-22px;right:2px;opacity:0;pointer-events:none;transition:opacity .3s ease-in-out}.seats.svelte-xg28nx .switch.active:where(.svelte-xg28nx){opacity:1;pointer-events:all;z-index:3}.seats.svelte-xg28nx .description:where(.svelte-xg28nx){font-size:14px;margin:5px 0}.seats.svelte-xg28nx .description.isNoData:where(.svelte-xg28nx){visibility:hidden}.seats.svelte-xg28nx .body:where(.svelte-xg28nx){display:flex;flex-direction:column;gap:16px;padding-top:0;margin-top:-6px}.nodata.svelte-14ojgid{--color-main:#eef1f3;padding-bottom:12px;height:222px;display:flex;flex-direction:row;justify-content:space-between;gap:10px;padding-left:18px}@media (prefers-color-scheme:dark){.nodata.svelte-14ojgid{--color-main:#2f2e2d}}.nodata.twoThirds.svelte-14ojgid{height:168px!important}.nodata.svelte-14ojgid .item:where(.svelte-14ojgid){gap:5px;width:22px;display:flex;flex-direction:column;justify-content:flex-end;position:relative}.nodata.svelte-14ojgid .item:where(.svelte-14ojgid) .head:where(.svelte-14ojgid){width:100%;background:var(--color-main);height:8px}.nodata.svelte-14ojgid .item:where(.svelte-14ojgid) .bar:where(.svelte-14ojgid){width:100%;background:var(--color-main)}.nodata.svelte-14ojgid .item:where(.svelte-14ojgid) .bottom:where(.svelte-14ojgid){width:100%;background:var(--color-main);height:8px}.nodata.svelte-14ojgid .item:where(.svelte-14ojgid) .prev:where(.svelte-14ojgid){position:absolute;left:-20px;bottom:26px;background:var(--color-main);width:22px;opacity:.4}.nodata.small.svelte-14ojgid .item:where(.svelte-14ojgid):nth-child(7),.nodata.small.svelte-14ojgid .item:where(.svelte-14ojgid):nth-child(8),.nodata.small.svelte-14ojgid .item:where(.svelte-14ojgid):nth-child(9){display:none}.list-votes.svelte-1smb0ok{display:flex;flex-direction:column;gap:16px;padding:var(--card-body-padding);min-height:215px}.list-votes.svelte-1smb0ok .switch:where(.svelte-1smb0ok){position:absolute;top:-22px;right:2px;opacity:0;pointer-events:none;transition:opacity .3s ease-in-out}.list-votes.svelte-1smb0ok .switch.active:where(.svelte-1smb0ok){opacity:1;pointer-events:all;z-index:3}.list-votes.svelte-1smb0ok .description:where(.svelte-1smb0ok){margin:5px 0;font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;font-size:14px}.list-votes.svelte-1smb0ok .description.isNoData:where(.svelte-1smb0ok){visibility:hidden}.list-votes.svelte-1smb0ok .body:where(.svelte-1smb0ok){display:flex;flex-direction:row}.list-votes.svelte-1smb0ok .body.isNoData:where(.svelte-1smb0ok){display:block}.nodata.svelte-r2s106{--color-main:#eef1f3;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:10px;width:100%}@media (prefers-color-scheme:dark){.nodata.svelte-r2s106{--color-main:#2f2e2d}}.nodata.svelte-r2s106 .bar:where(.svelte-r2s106){position:relative;padding-bottom:4px;width:100%}.nodata.svelte-r2s106 .bar:where(.svelte-r2s106) .segments:where(.svelte-r2s106){display:flex;background:var(--int-font-color-gray-fond);border:none;border-radius:1.5px;overflow:hidden}.nodata.svelte-r2s106 .bar:where(.svelte-r2s106) .segments:where(.svelte-r2s106) .segment:where(.svelte-r2s106){height:10px;border-left:1px solid var(--int-background-color-default);box-sizing:border-box}.nodata.svelte-r2s106 .bar:where(.svelte-r2s106) .segments:where(.svelte-r2s106) .segment:where(.svelte-r2s106):first-child{border-left:none}.nodata.svelte-r2s106 .bar.second:where(.svelte-r2s106){margin-bottom:-23px}.nodata.svelte-r2s106 .bar.second:where(.svelte-r2s106) .segments:where(.svelte-r2s106){justify-content:space-between;background:0 0}.nodata.svelte-r2s106 .bar.second:where(.svelte-r2s106) .segments:where(.svelte-r2s106) .segment:where(.svelte-r2s106){background:var(--int-font-color-gray-fond)}.coalitions.svelte-1smxmmj{display:flex;flex-direction:column;gap:16px;padding:var(--card-body-padding);min-height:215px}.coalitions.svelte-1smxmmj .description:where(.svelte-1smxmmj){font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;font-size:14px;margin:5px 0}.coalitions.svelte-1smxmmj .description.isNoData:where(.svelte-1smxmmj){visibility:hidden}.coalitions.svelte-1smxmmj .switch:where(.svelte-1smxmmj){position:absolute;top:-22px;right:2px;opacity:0;pointer-events:none;transition:opacity .3s ease-in-out}.coalitions.svelte-1smxmmj .switch.active:where(.svelte-1smxmmj){opacity:1;pointer-events:all;z-index:3}.coalitions.svelte-1smxmmj .body:where(.svelte-1smxmmj){--coalition-panel-gap:16px;display:flex;flex-direction:column;flex-wrap:wrap;gap:var(--coalition-panel-gap)}@media (min-width:616px){.coalitions.svelte-1smxmmj .body:where(.svelte-1smxmmj){flex-direction:row}}.coalitions.svelte-1smxmmj .body.isNoData:where(.svelte-1smxmmj){display:flex}.coalitions.svelte-1smxmmj .body:where(.svelte-1smxmmj) .coalition-wrapper:where(.svelte-1smxmmj){width:100%}.plotDots.svelte-wgbi2a{display:flex;flex-wrap:wrap;flex-direction:column;justify-content:flex-start;--extraHeight:0px;max-height:calc(var(--barHeight) + var(--extraHeight))}.plotDots.phantom.svelte-wgbi2a{position:relative}.plotDots.phantom.svelte-wgbi2a svg:where(.svelte-wgbi2a) circle:where(.svelte-wgbi2a){fill:var(--int-font-color-gray-fond)!important}.plotDots.svelte-wgbi2a span:where(.svelte-wgbi2a){position:absolute;top:2px;margin-left:16px;font-size:14px;color:var(--int-font-color-shade-darker);text-wrap:nowrap}.bar.svelte-natg78{width:100%;height:var(--barHeight);border-radius:1.5px}.bar.phantom.svelte-natg78{width:53%!important;min-width:209px;background-color:var(--int-font-color-gray-fond)!important}.bar.phantom.svelte-natg78 span:where(.svelte-natg78){margin-left:16px;font-size:14px;color:var(--int-font-color-shade-darker)}.row.svelte-1ktmzbq{width:100%;display:flex;gap:8px;flex-direction:row;user-select:none}.row.svelte-1ktmzbq .value:where(.svelte-1ktmzbq){font-weight:700;white-space:nowrap;display:flex;align-items:center}.row.showDiff.svelte-1ktmzbq .value:where(.svelte-1ktmzbq){font-size:14px}.row.showDiff.svelte-1ktmzbq .value:where(.svelte-1ktmzbq) span:where(.svelte-1ktmzbq){font-weight:400;color:var(--int-font-color-gray-base)}.desc.svelte-1kaihai{overflow:hidden;transition:max-height .2s ease-in-out;display:grid}.desc.svelte-1kaihai input.hide:where(.svelte-1kaihai),.desc.svelte-1kaihai input[type=checkbox]:where(.svelte-1kaihai){display:none}.desc.svelte-1kaihai .arro:where(.svelte-1kaihai){margin-top:-4px}.desc.svelte-1kaihai .content:where(.svelte-1kaihai){max-height:0;overflow:hidden;transition:max-height .2s ease-in-out;user-select:none}.desc.svelte-1kaihai .content:where(.svelte-1kaihai) .text:where(.svelte-1kaihai){padding-bottom:16px;color:var(--int-font-color-gray-darker);font-size:14px;max-width:500px}.desc.svelte-1kaihai .content.show{max-height:var(--maxHeight)}.desc.svelte-1kaihai .label:where(.svelte-1kaihai){cursor:pointer;display:block;width:100%;user-select:none}.desc.svelte-1kaihai .label-content:where(.svelte-1kaihai){gap:5px;padding:0 8px 8px 0;display:flex;justify-content:flex-start;align-items:center}.desc.svelte-1kaihai input[type=checkbox]:checked~.label:where(.svelte-1kaihai) svg{transform:rotate(0)}.desc.fast.svelte-1kaihai{transition:max-height .2s ease-in-out}.desc.fast.svelte-1kaihai .content:where(.svelte-1kaihai){transition:max-height .2s ease-in-out}.measure.svelte-1kaihai{position:absolute;visibility:hidden;pointer-events:none}.measure.svelte-1kaihai .text:where(.svelte-1kaihai){padding-bottom:16px;color:#a8abad;font-size:14px;max-width:500px}.desc.noData.svelte-1kaihai{pointer-events:none;cursor:auto}.desc.noData.svelte-1kaihai .arro:where(.svelte-1kaihai){visibility:hidden}.chart.svelte-akmt8l{width:100%;height:100%}.chart.svelte-akmt8l .row:where(.svelte-akmt8l){position:relative;width:100%}.chart.svelte-akmt8l .row:where(.svelte-akmt8l) .flex:where(.svelte-akmt8l){display:flex;width:100%;gap:16px}.chart.svelte-akmt8l .row:where(.svelte-akmt8l) .left:where(.svelte-akmt8l){width:var(--leftWidth)}.chart.svelte-akmt8l .row:where(.svelte-akmt8l) .right:where(.svelte-akmt8l){width:var(--rightWidth)}.chart.svelte-akmt8l .row:where(.svelte-akmt8l) .left:where(.svelte-akmt8l),.chart.svelte-akmt8l .row:where(.svelte-akmt8l) .right:where(.svelte-akmt8l){padding-bottom:6px}.chart.svelte-akmt8l .row:where(.svelte-akmt8l) .line:where(.svelte-akmt8l){height:0;border-bottom:1px solid var(--int-font-color-shade-lighter);margin-top:10px;opacity:.5}.chart.svelte-akmt8l .row.hideMe:where(.svelte-akmt8l){opacity:0;position:absolute;top:0;left:0}.chart.svelte-akmt8l .row.hideMe:where(.svelte-akmt8l) .hiddenseatsText{display:inline-flex}.chart.svelte-akmt8l .row.hideMe.single:where(.svelte-akmt8l) .left:where(.svelte-akmt8l){display:none}.chart.svelte-akmt8l .row.hideMe.single:where(.svelte-akmt8l) .right:where(.svelte-akmt8l){width:100%}.chart.svelte-akmt8l .row.hideMe.single.hiddenTextLeftOrRight:where(.svelte-akmt8l) .left:where(.svelte-akmt8l){width:100%;display:block}.chart.svelte-akmt8l .row.hideMe.single.hiddenTextLeftOrRight:where(.svelte-akmt8l) .right:where(.svelte-akmt8l){display:none}.chart.justOneElement.svelte-akmt8l .row:where(.svelte-akmt8l) .flex:where(.svelte-akmt8l){gap:0}.chart.isVertical.svelte-akmt8l .row:where(.svelte-akmt8l) .left:where(.svelte-akmt8l),.chart.isVertical.svelte-akmt8l .row:where(.svelte-akmt8l) .right:where(.svelte-akmt8l){width:100%}.dualCharts.svelte-jswr9m{display:flex;flex-direction:column;gap:16px;padding:var(--card-body-padding);width:100%;min-height:200px}.dualCharts.svelte-jswr9m .description:where(.svelte-jswr9m){font-size:14px;min-height:var(--minHeight)}.dualCharts.svelte-jswr9m .description.isNoData:where(.svelte-jswr9m) .subline:where(.svelte-jswr9m){visibility:hidden}.dualCharts.svelte-jswr9m .description.twoCards:where(.svelte-jswr9m) .subline:where(.svelte-jswr9m){display:inline-block;width:calc(100% - var(--switchWidth) - 10px);font-size:16px;margin-top:-2px}.dualCharts.svelte-jswr9m .switch:where(.svelte-jswr9m){margin-top:0;margin-right:2px;float:right}.dualCharts.isVertical.svelte-jswr9m .switch:where(.svelte-jswr9m){margin-top:-20px}.dualCharts.svelte-jswr9m .body:where(.svelte-jswr9m){display:flex;flex-direction:column;flex-wrap:wrap;gap:16px;align-content:end;position:relative}.dualCharts.svelte-1lfp4ss{display:flex;flex-direction:column;gap:0;padding:var(--card-body-padding);width:100%;min-height:200px}.dualCharts.svelte-1lfp4ss .description:where(.svelte-1lfp4ss){font-size:14px}.dualCharts.svelte-1lfp4ss .description.isNoData:where(.svelte-1lfp4ss) .subline:where(.svelte-1lfp4ss){visibility:hidden}.dualCharts.svelte-1lfp4ss .description.twoCards:where(.svelte-1lfp4ss) .subline:where(.svelte-1lfp4ss){display:inline-block;width:calc(100% - 60px);font-size:16px;margin-top:-2px;margin-bottom:16px}.dualCharts.svelte-1lfp4ss .switch:where(.svelte-1lfp4ss){margin-top:0;margin-right:2px;float:right}.dualCharts.isVertical.svelte-1lfp4ss .switch:where(.svelte-1lfp4ss){margin-top:-20px}.dualCharts.svelte-1lfp4ss .body:where(.svelte-1lfp4ss){display:flex;flex-direction:column;flex-wrap:wrap;gap:0;align-content:end;position:relative}.placeholder-container.svelte-1l4yvjq{position:relative;display:flex;justify-content:center;align-items:center}.placeholder-svg.svelte-1l4yvjq{display:block;width:100%}@media (prefers-color-scheme:dark){.placeholder-svg.svelte-1l4yvjq{opacity:.075}}.placeholder-str.svelte-1l4yvjq{font-size:.875rem;color:var(--int-font-color-default);font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;position:absolute;display:flex;justify-content:center;align-items:center;width:100%;height:100%;text-align:center;padding:1rem}.subline.svelte-7u6zvk{padding:0 var(--card-body-horizontal-padding) 8px var(--card-body-horizontal-padding);margin:5px 0;font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;font-weight:400;font-size:var(--font-size-subline)}@media screen and (min-width:886px){.subline.svelte-7u6zvk{padding-top:18px}}.subline.article.svelte-7u6zvk{padding:0}.card.svelte-4bikkm{display:flex;flex-direction:column;gap:6px;overflow:hidden}.card.svelte-4bikkm,.card.svelte-4bikkm :where(.svelte-4bikkm){box-sizing:border-box}.card.svelte-4bikkm .header-and-body-wrapper:where(.svelte-4bikkm){flex:1;display:flex;flex-direction:row;border:1px solid var(--int-card-outline-color);border-radius:8px}.card.svelte-4bikkm .header-and-body-wrapper:where(.svelte-4bikkm) .header-wrapper:where(.svelte-4bikkm){--card-header-padding:14px 14px 8px 14px}@media (min-width:886px){.card.svelte-4bikkm .header-and-body-wrapper:where(.svelte-4bikkm) .header-wrapper:where(.svelte-4bikkm){min-width:310px;max-width:310px;--card-header-padding:18px 18px 18px 18px}}.card.svelte-4bikkm .header-and-body-wrapper:where(.svelte-4bikkm) .body-wrapper:where(.svelte-4bikkm){flex:1;display:flex;flex-direction:column;align-items:center;--card-body-padding:16px 14px 16px 14px;--card-body-horizontal-padding:14px}@media (min-width:616px){.card.svelte-4bikkm .header-and-body-wrapper:where(.svelte-4bikkm) .body-wrapper:where(.svelte-4bikkm){--card-body-padding:16px 18px 16px 18px;--card-body-horizontal-padding:18px}}@media (min-width:886px){.card.svelte-4bikkm .header-and-body-wrapper:where(.svelte-4bikkm) .body-wrapper:where(.svelte-4bikkm){--card-body-padding:22px 18px 18px 18px;--card-body-horizontal-padding:18px}}@media (min-width:886px){.card.svelte-4bikkm .header-and-body-wrapper:where(.svelte-4bikkm) .element-order:where(.svelte-4bikkm){flex-direction:row;flex-wrap:wrap}.card.svelte-4bikkm .header-and-body-wrapper:where(.svelte-4bikkm) .element-order:where(.svelte-4bikkm)>div{width:50%}.card.svelte-4bikkm .header-and-body-wrapper:where(.svelte-4bikkm) .element-order:where(.svelte-4bikkm)>div:nth-child(odd):not(:last-child){border-right:1px solid var(--int-font-color-shade-lightest)}}.card.svelte-4bikkm .footer-wrapper:where(.svelte-4bikkm){padding-bottom:16px}@media (min-width:886px){.horizontal-separator.svelte-1nawq08{display:none}}div.svelte-9kolkt{font-size:.875rem;line-height:1.26;margin:0 0 2px}div.morePadding.svelte-9kolkt{margin:0 0 6px}div.small.svelte-9kolkt{font-size:14px;margin-bottom:0;line-height:18px}.tab_inner.svelte-1uzfzng{--footer-color:var(--int-font-color-gray-base);border:1px solid var(--int-font-color-shade-lighter);border-top-right-radius:8px;border-top-left-radius:8px;border-bottom-color:var(--int-background-color-default);padding:11px;margin-top:-24px;background:var(--int-background-color-default);position:relative;z-index:2}.tab_inner.svelte-1uzfzng .content:where(.svelte-1uzfzng){transition:opacity 1s}.tab_inner.active.svelte-1uzfzng{padding-bottom:30px}.tab_inner.active.svelte-1uzfzng .title:where(.svelte-1uzfzng){opacity:1!important}.tab_inner.svelte-1uzfzng:not(.active) .content:where(.svelte-1uzfzng){opacity:0}.tab_inner.isHorizontal.svelte-1uzfzng{border:none;padding:6px 12px}.tab_inner.isHorizontal.svelte-1uzfzng .content:where(.svelte-1uzfzng){opacity:1}.tab_inner.isHorizontal.svelte-1uzfzng .title:where(.svelte-1uzfzng){margin-bottom:-4px;font-size:var(--fontSize, 14px);opacity:1!important}.tab_inner.isHorizontal.svelte-1uzfzng .source:where(.svelte-1uzfzng){display:none}.tab_inner.isHorizontal.twoCards.svelte-1uzfzng .title:where(.svelte-1uzfzng){margin-bottom:-2px}.tab_inner.isHorizontal.twoCards.isHorizontal.svelte-1uzfzng .title:where(.svelte-1uzfzng){display:none}.tab_inner.last.svelte-1uzfzng{padding-bottom:48px}.tab_inner.last.first.svelte-1uzfzng{padding-bottom:8px}.tab_inner.svelte-1uzfzng .title:where(.svelte-1uzfzng){font-size:var(--fontSize, 14px);font-weight:700;cursor:pointer;padding-left:1px;transition:opacity .2s;width:fit-content;user-select:none}.tab_inner.svelte-1uzfzng .title:where(.svelte-1uzfzng):hover{opacity:.6}.tab_inner.isVertical.svelte-1uzfzng{padding-top:10px}.tab_inner.isNoData.svelte-1uzfzng .source:where(.svelte-1uzfzng){display:none}.tab_inner.isNoData.svelte-1uzfzng .title:where(.svelte-1uzfzng){opacity:.5;max-width:222px;background:#eef1f3;color:#eef1f3}@media (prefers-color-scheme:dark){.tab_inner.isNoData.svelte-1uzfzng .title:where(.svelte-1uzfzng){background:#2f2e2d;color:#2f2e2d}}.shadow.svelte-1uzfzng{width:calc(100% - 2px);height:22px;position:absolute;left:1px;background:linear-gradient(to bottom,var(--int-background-color-default),var(--int-font-color-shade-light));z-index:-1;top:-31px;opacity:.5;pointer-events:none}@media (prefers-color-scheme:dark){.shadow.svelte-1uzfzng{background:linear-gradient(to bottom,var(--int-background-color-default),#000)}}.shadow.first.svelte-1uzfzng{display:none}.shadow.svelte-1uzfzng:not(.isVertical){display:none}.source.svelte-1uzfzng{margin-top:10px;padding-bottom:8px;overflow:hidden}.noDataStr.svelte-1uzfzng{position:absolute;color:var(--int-font-color-default);width:calc(100% - 28px);text-align:center;top:47%}button.svelte-mzlt49{font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;border-radius:1.5px;font-size:1rem;font-weight:700;line-height:1.26;padding:8px 32px 8px 24px;border:1px solid transparent;cursor:pointer;position:relative;z-index:3;height:46px;min-width:255px}button.svelte-mzlt49 span:where(.svelte-mzlt49):after{content:"";height:24px;width:18px;transform:scale(.66);position:absolute;right:11px;top:11px;z-index:1}button.primary.svelte-mzlt49{color:#fff;background:#e64415;border-color:#e64415}@media (prefers-color-scheme:dark){button.primary.svelte-mzlt49{background:#d03d12;border-color:#d03d12}}button.primary.svelte-mzlt49:hover{background:#c12b00;border-color:#c12b00}button.primary.svelte-mzlt49 span:where(.svelte-mzlt49):after{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 24 24' width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")}button.secondary.svelte-mzlt49{border-color:#989694;background:0 0;color:var(--int-font-color-default)}button.secondary.svelte-mzlt49 span:where(.svelte-mzlt49):after{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 24 24' width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23000000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")}@media (prefers-color-scheme:dark){button.secondary.svelte-mzlt49{border-color:#bbb9b7}button.secondary.svelte-mzlt49 span:where(.svelte-mzlt49):after{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 24 24' width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")}}button.secondary.svelte-mzlt49:hover{color:#000;border-color:#000}@media (prefers-color-scheme:dark){button.secondary.svelte-mzlt49:hover{color:#fff;border-color:#dddbd9}}.footer.svelte-76s4jo{border-bottom-right-radius:8px;border-bottom-left-radius:8px;border:none;display:flex;justify-content:flex-end;padding:0 16px 0 0;margin-top:-78px;min-height:70px}.footer.svelte-76s4jo .buttons:where(.svelte-76s4jo){margin-top:14px;margin-bottom:10px;float:right;display:flex;flex-direction:row-reverse;width:58%;min-width:466px;gap:16px}.footer.svelte-76s4jo .buttons:where(.svelte-76s4jo) a:where(.svelte-76s4jo) button{width:100%}.footer.noButtons.svelte-76s4jo:not(.isVertical){margin-top:-59px}.footer.isVertical.svelte-76s4jo{padding:12px;border:1px solid var(--int-font-color-shade-lighter);margin-top:-1px}.footer.isVertical.svelte-76s4jo .buttons:where(.svelte-76s4jo){margin-top:2px;margin-bottom:0;float:none;width:100%;flex-direction:column;min-width:inherit;gap:10px}.footer.isVertical.twoCards.noButtons.svelte-76s4jo{margin-top:-12px;min-height:10px}.footer.isTwoThirds.svelte-76s4jo{padding-left:0}.isNoData.svelte-76s4jo:not(.isVertical):not(.isTwoThirds){padding:1px 14px 44px}.isNoData:not(.isVertical):not(.isTwoThirds).isNoSource.svelte-76s4jo{padding-bottom:6px}.isNoData.isTwoThirds.svelte-76s4jo{padding-bottom:7px}.source.svelte-76s4jo{padding:14px 0 4px;display:flex;gap:5px;--footer-color:var(--int-font-color-gray-base)}.source.inline.svelte-76s4jo{max-width:34%;display:block;margin-top:-38px;padding:0 0 14px 16px;max-height:44px;overflow:hidden}.source.twoCards.svelte-76s4jo{max-width:calc(100% - 275px);margin-top:calc(-38px + var(--paddingBottom))}.source.twoCards.noButtons.svelte-76s4jo{max-width:calc(100% - 5px);margin-bottom:-6px}.source.twoCards.turnoutExists.svelte-76s4jo{max-height:52px;margin-top:calc(-58px + var(--paddingBottom))}.source.twoCards.threeRows.svelte-76s4jo{max-height:55px;margin-top:calc(-61px + var(--paddingBottom));margin-bottom:11px}.footer.singleCard.isVertical.svelte-76s4jo{margin-top:-13px}.source.singleCard.svelte-76s4jo:not(.isVertical):not(.turnoutExists){margin-top:calc(-38px + var(--paddingBottom))}.separator.svelte-el720n{width:1px;height:calc(100% - 2 * var(--card-body-horizontal-padding));margin:0;background:var(--color-separator,var(--int-font-color-shade-lighter));border:none;border-radius:.5px}@keyframes svelte-1m3qgib-spinner{to{transform:rotate(360deg)}}svg.svelte-1m3qgib{margin-top:8px;margin-left:6px;position:absolute;animation:svelte-1m3qgib-spinner 5.5s linear infinite;transform-origin:47% 46%}svg.svelte-1m3qgib path:where(.svelte-1m3qgib){stroke:var(--int-font-color-default);stroke-width:1.5;stroke-linecap:round}svg.isDual.svelte-1m3qgib{position:relative;margin-top:0;margin-left:0}.cont.svelte-8ajsop{position:relative;--int-font-color-shade-lighter:#dddbd9}@media (prefers-color-scheme:dark){.cont.svelte-8ajsop{--int-font-color-shade-lighter:#807e7c}}.title.svelte-8ajsop{color:var(--int-font-color-default);font-size:20px;font-style:normal;font-weight:700;margin-bottom:8px}.widget.svelte-8ajsop{width:100%;--card-body-padding:2px 0px 2px 1px;--card-body-horizontal-padding:4px;min-height:176px;position:relative;padding-top:24px;display:flex;justify-content:flex-start;flex-direction:row}.widget.isVertical.svelte-8ajsop{flex-direction:column;height:var(--widgetMaxHeight);overflow:hidden}.widget.isVertical.noButtons.svelte-8ajsop{padding-bottom:6px}.widget.isHorizontal.svelte-8ajsop{border:1px solid var(--int-font-color-shade-lighter);border-radius:8px;overflow:visible;padding-bottom:calc(70px - var(--widgetPaddingMinus));padding-top:29px}.widget.isHorizontal.noButtons.svelte-8ajsop{padding-bottom:42px}.widget.isHorizontal.svelte-8ajsop:not(.twoThirds) .sep:where(.svelte-8ajsop){max-height:calc(var(--widgetMaxHeight) - var(--widgetPaddingMinus) - 100px)}@media (prefers-color-scheme:dark){.widget.noData.svelte-8ajsop{--color-separator:#2f2e2d}}.tab.svelte-8ajsop{height:100%}.tab.ani.svelte-8ajsop{transition:transform .66s ease-in-out}.sep.svelte-8ajsop{margin-top:-19px}.sep.hori.svelte-8ajsop{width:calc(100% - 16px);z-index:4;position:absolute;margin-top:-39px;left:8px}.sep.twoThirds.svelte-8ajsop{position:absolute;z-index:4;height:42%;left:50%;bottom:78px}.isHorizontal.svelte-8ajsop .tab:where(.svelte-8ajsop){transition:none!important;transform:translateY(0)!important;max-width:var(--widgetItemWidth);width:31%}.isHorizontal.svelte-8ajsop .tab:where(.svelte-8ajsop):first-child{width:50%;max-width:37.5%}.isHorizontal.svelte-8ajsop .tab:where(.svelte-8ajsop):last-child{width:31%}.twoThirds.svelte-8ajsop .widget:where(.svelte-8ajsop){display:block;padding-top:29px;margin-top:0;padding-bottom:84px}.twoThirds.svelte-8ajsop .tab:where(.svelte-8ajsop){display:inline-block;width:49%;max-width:49%;margin-bottom:-10px}.twoThirds.svelte-8ajsop .tab:where(.svelte-8ajsop):first-child{display:block;width:100%;max-width:100%;margin-bottom:44px}.twoThirds.svelte-8ajsop .tab:where(.svelte-8ajsop):last-child{position:absolute;top:303px;right:0;width:49%;max-width:49%;height:auto}.twoThirds.svelte-8ajsop .noData:where(.svelte-8ajsop) .sep:where(.svelte-8ajsop):not(.hori){height:100px;max-height:40%;bottom:77px}.noDataText.svelte-8ajsop{position:absolute;color:var(--int-font-color-default);text-align:center;width:100%;top:33%;left:0;z-index:5}.noDataText.large.svelte-8ajsop{top:48%}.noDataText.twoThirds.svelte-8ajsop{top:auto;bottom:42%}.cont.twoCards.svelte-8ajsop .widget.isHorizontal:where(.svelte-8ajsop) .tab:where(.svelte-8ajsop):first-child{width:100%;max-width:100%;display:block!important}.cont.twoCards.svelte-8ajsop .widget.isHorizontal:where(.svelte-8ajsop) .tab:where(.svelte-8ajsop):last-child{display:none}main.svelte-2je7l6{font-family:SpiegelSansUI,system-ui,BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-synthesis:none;text-rendering:optimizeLegibility;scroll-behavior:smooth;font-size:100%;font-weight:400;line-height:1.125;font-feature-settings:"pnum" on,"lnum" on;-webkit-text-size-adjust:100%;-moz-text-size-adjust:none;-ms-text-size-adjust:100%}main.svelte-2je7l6{color-scheme:light dark;color:var(--int-font-color-default);background-color:var(--int-background-color-default)}main.svelte-2je7l6{min-width:284px}main.svelte-2je7l6{position:relative;--font-size-subline:16px;--int-font-color-default:#000000;--int-font-color-credit:#000000;--int-font-color-gray-base:#a8abad;--int-font-color-shade-base:#989694;--int-font-color-shade-darker:#5c5a58;--int-font-color-shade-dark:#807e7c;--int-font-color-shade-light:#bbb9b7;--int-font-color-shade-lighter:#dddbd9;--int-font-color-shade-lightest:#f1efed;--int-background-color-default:#ffffff;--int-border-color-default:#989694;--int-font-color-link:#e64415;--int-font-color-link-hover:#c12b00;--int-font-color-gray-fond:#eef1f3;--int-font-color-gray-lighter:#c1c5c7;--int-font-color-gray-lighter-2:#d2d8dc;--int-font-color-gray-darker:#696b6b;--int-font-color-only-white:#ffffff;--int-font-color-link-rgba-transparent:rgba(230, 68, 21, 0);--int-font-color-link-rgba-opaque:rgba(230, 68, 21, 1);--int-background-color-default-rgba-transparent:rgba(255, 255, 255, 0);--int-background-color-default-rgba-halftransparent:rgba( 255, 255, 255, .75 );--int-background-color-default-rgba-opaque:rgba(255, 255, 255, 1);--int--box-shadow-color:rgba(0, 0, 0, .3);--int-card-outline-color:#dddbd9;--int-card-background-color:#f8f9fa;--int-text-shadow-color:#ffffff80;--int-color-selectable:#888B8D;padding:16px 0;display:flex;flex-direction:column;align-items:center}@media (max-width:885px){main.svelte-2je7l6{--font-size-subline:14px}}@media (prefers-color-scheme:dark){main.svelte-2je7l6{--int-font-color-default:#f1efed;--int-font-color-credit:#f1efed;--int-font-color-gray-base:#8e8f91;--int-font-color-shade-base:#989694;--int-font-color-shade-darker:#dddbd9;--int-font-color-shade-dark:#bbb9b7;--int-font-color-shade-light:#807e7c;--int-font-color-shade-lighter:#5c5a58;--int-font-color-shade-lightest:#2f2d2b;--int-background-color-default:#1f1e1c;--int-border-color-default:#bbb9b7;--int-font-color-link:#d03d12;--int-font-color-link-hover:#c12b00;--int-font-color-gray-fond:#2f2e2d;--int-font-color-gray-lighter:#626466;--int-font-color-gray-lighter-2:#434444;--int-font-color-gray-darker:#cad0d4;--int-font-color-only-white:#f1efed;--int-font-color-link-rgba-transparent:rgba(208, 61, 18, 0);--int-font-color-link-rgba-opaque:rgba(208, 61, 18, 1);--int-background-color-default-rgba-transparent:rgba(31, 30, 28, 0);--int-background-color-default-rgba-halftransparent:rgba(31, 30, 28, .75);--int-background-color-default-rgba-opaque:rgba(31, 30, 28, 1);--int--box-shadow-color:rgba(255, 255, 255, .3);--int-card-outline-color:#807e7c;--int-card-background-color:#2f2d2b;--int-text-shadow-color:#1f1e1c80;--int-color-selectable:#AAADAF}}main.svelte-2je7l6>*{-webkit-tap-highlight-color:transparent}main.article.svelte-2je7l6{padding:0}main.article.svelte-2je7l6 .components-wrapper:where(.svelte-2je7l6){width:100%;--font-size-subline:16px}.components-wrapper.svelte-2je7l6{position:relative;display:flex;flex-direction:column;width:calc(100% - 24px);max-width:1008px}.components-wrapper.more-margin.svelte-2je7l6{margin-top:30px}.footer.svelte-2je7l6{--footer-color:var(--int-font-color-default);width:100%;margin-top:-18px;display:flex;flex-direction:column;justify-content:space-between}@media (min-width:480px){.footer.svelte-2je7l6{flex-direction:row;flex-wrap:wrap}}</style><div></div><script>(()=>{!function(){const t=document.createElement("link").relList;if(!(t&&t.supports&&t.supports("modulepreload"))){for(const t of document.querySelectorAll('link[rel="modulepreload"]'))e(t);new MutationObserver((t=>{for(const n of t)if("childList"===n.type)for(const t of n.addedNodes)"LINK"===t.tagName&&"modulepreload"===t.rel&&e(t)})).observe(document,{childList:!0,subtree:!0})}function e(t){if(t.ep)return;t.ep=!0;const e=function(t){const e={};return t.integrity&&(e.integrity=t.integrity),t.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),"use-credentials"===t.crossOrigin?e.credentials="include":"anonymous"===t.crossOrigin?e.credentials="omit":e.credentials="same-origin",e}(t);fetch(t.href,e)}}();var t=Array.isArray,e=Array.from,n=Object.isFrozen,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyDescriptors,a=Object.prototype,o=Array.prototype,l=Object.getPrototypeOf;function c(t){return"function"==typeof t}const u=2,h=4,d=8,f=16,p=32,g=64,v=128,m=256,y=512,b=1024,w=2048,_=4096,x=8192,k=16384,S=32768,T=65536,C=Symbol("$state"),M=Symbol("$state.frozen"),R=Symbol("");function E(t){return t===this.v}function O(t){return!function(t,e){return t!=t?e==e:t!==e||null!==t&&"object"==typeof t||"function"==typeof t}(t,this.v)}const A=1,P=2,$=4,I=8,D=16,N=64,L=1,H=2,F=4,V=8,z=1,j=2,U=4,B=1,q=2,W=Symbol(),Y=["touchstart","touchmove","touchend"];function G(t){return{f:0,reactions:null,equals:E,v:t,version:0}}function K(t){const e=G(t);return e.equals=O,null!==Xt&&null!==Xt.l&&(Xt.l.s??=[]).push(e),e}function X(t,e){var n=t.v!==W;return!Gt&&n&&null!==zt&&Jt()&&zt.f&u&&function(){throw new Error("state_unsafe_mutation")}(),t.equals(e)||(t.v=e,t.version++,Jt()&&n&&null!==Ut&&Ut.f&y&&!(Ut.f&p)&&(null!==qt&&qt.includes(t)?(ve(Ut,b),ce(Ut)):null===Yt?function(t){Yt=t}([t]):Yt.push(t)),fe(t,b,!0)),e}function Q(t){var e=document.createElement("template");return e.innerHTML=t,e.content}function J(e){if(t(e))for(var n=0;n<e.length;n++){var r=e[n];r.isConnected&&r.remove()}else e.isConnected&&e.remove()}function Z(t){null===Ut&&null===zt&&function(t){throw new Error("effect_orphan")}(),Dt&&function(t){throw new Error("effect_in_teardown")}()}function tt(t,e){var n=e.last;null===n?e.last=e.first=t:(n.next=t,t.prev=n,e.last=t)}function et(t,e,n){var r=!!(t&g),i={ctx:Xt,deps:null,dom:null,f:t|b,first:null,fn:e,last:null,next:null,parent:r?null:Ut,prev:null,teardown:null,transitions:null};if(null!==zt&&!r){var s=zt.f;s&u&&(s&v&&function(){throw new Error("effect_in_unowned_derived")}(),null!==Ut&&tt(i,Ut)),tt(i,zt)}if(n){var a=It;try{Nt(!0),ie(i),i.f|=k}finally{Nt(a)}}else ce(i);return i}function nt(t){if(Z(),!(null!==Ut&&!!(Ut.f&d)&&null!==Xt&&!Xt.m))return rt(t);var e=Xt;(e.e??=[]).push(t)}function rt(t){return et(h,t,!1)}function it(t){return et(d,t,!0)}function st(t){return it(t)}function at(t,e=0){return et(d|f|e,t,!0)}function ot(t){return et(d|p,t,!0)}function lt(t){var e=t.teardown;if(null!==e){const t=Dt,n=Gt;Lt(!0),Ht(!0);try{e.call(null)}finally{Lt(t),Ht(n)}}}function ct(t,e=!0){var n=t.dom;if(null!==n&&e&&J(n),re(t,e),ne(t,0),ve(t,x),t.transitions)for(const a of t.transitions)a.stop();lt(t);var r=t.parent;if(null!==r&&t.f&p&&null!==r.first){var i=t.prev,s=t.next;null!==i?null!==s?(i.next=s,s.prev=i):(i.next=null,r.last=i):null!==s?(s.prev=null,r.first=s):(r.first=null,r.last=null)}t.next=t.prev=t.teardown=t.ctx=t.dom=t.deps=t.parent=t.fn=null}function ut(t,e){var n=[];dt(t,n,!0),ht(n,(()=>{ct(t),e&&e()}))}function ht(t,e){var n=t.length;if(n>0){var r=()=>--n||e();for(var i of t)i.out(r)}else e()}function dt(t,e,n){if(!(t.f&_)){if(t.f^=_,null!==t.transitions)for(const r of t.transitions)(r.is_global||n)&&e.push(r);for(var r=t.first;null!==r;){var i=r.next;dt(r,e,!!(!!(r.f&S)||!!(r.f&p))&&n),r=i}}}function ft(t){pt(t,!0)}function pt(t,e){if(t.f&_){t.f^=_,Zt(t)&&ie(t);for(var n=t.first;null!==n;){var r=n.next;pt(n,!!(!!(n.f&S)||!!(n.f&p))&&e),n=r}if(null!==t.transitions)for(const n of t.transitions)(n.is_global||e)&&n.in()}}function gt(e,i=!0,s=null,c){if("object"==typeof e&&null!=e&&!n(e)&&!(M in e)){if(C in e){const t=e[C];if(t.t===e||t.p===e)return t.p}const n=l(e);if(n===a||n===o){const n=new Proxy(e,mt);return r(e,C,{value:{s:new Map,v:G(0),a:t(e),i:i,p:n,t:e},writable:!0,enumerable:!1}),n}}return e}function vt(t,e=1){X(t,t.v+e)}const mt={defineProperty(t,e,n){if(n.value){const r=t[C],i=r.s.get(e);void 0!==i&&X(i,gt(n.value,r.i,r))}return Reflect.defineProperty(t,e,n)},deleteProperty(t,e){const n=t[C],r=n.s.get(e),i=n.a,s=delete t[e];if(i&&s){const e=n.s.get("length"),r=t.length-1;void 0!==e&&e.v!==r&&X(e,r)}return void 0!==r&&X(r,W),s&&vt(n.v),s},get(t,e,n){if(e===C)return Reflect.get(t,C);const r=t[C];let s=r.s.get(e);if(void 0!==s||e in t&&!i(t,e)?.writable||(s=(r.i?G:K)(gt(t[e],r.i,r)),r.s.set(e,s)),void 0!==s){const t=de(s);return t===W?void 0:t}return Reflect.get(t,e,n)},getOwnPropertyDescriptor(t,e){const n=Reflect.getOwnPropertyDescriptor(t,e);if(n&&"value"in n){const r=t[C].s.get(e);r&&(n.value=de(r))}return n},has(t,e){if(e===C)return!0;const n=t[C],r=Reflect.has(t,e);let s=n.s.get(e);if(void 0!==s||null!==Ut&&(!r||i(t,e)?.writable)){void 0===s&&(s=(n.i?G:K)(r?gt(t[e],n.i,n):W),n.s.set(e,s));if(de(s)===W)return!1}return r},set(t,e,n,r){const i=t[C];let s=i.s.get(e);void 0===s&&(pe((()=>r[e])),s=i.s.get(e)),void 0!==s&&X(s,gt(n,i.i,i));const a=i.a,o=!(e in t);if(a&&"length"===e)for(let l=n;l<t.length;l+=1){const t=i.s.get(l+"");void 0!==t&&X(t,W)}if(t[e]=n,o){if(a){const e=i.s.get("length"),n=t.length;void 0!==e&&e.v!==n&&X(e,n)}vt(i.v)}return!0},ownKeys:t=>(de(t[C].v),Reflect.ownKeys(t))},yt=()=>{};function bt(t){return t()}function wt(t){for(var e=0;e<t.length;e++)t[e]()}let _t=!1,xt=[];function kt(){_t=!1;const t=xt.slice();xt=[],wt(t)}function St(t){_t||(_t=!0,queueMicrotask(kt)),xt.push(t)}function Tt(t){let e=u|b;null===Ut&&(e|=v);const n={deps:null,deriveds:null,equals:E,f:e,first:null,fn:t,last:null,reactions:null,v:null,version:0};if(null!==zt&&zt.f&u){var r=zt;null===r.deriveds?r.deriveds=[n]:r.deriveds.push(n)}return n}function Ct(t){const e=Tt(t);return e.equals=O,e}function Mt(t){re(t);var e=t.deriveds;if(null!==e){t.deriveds=null;for(var n=0;n<e.length;n+=1)Et(e[n])}}function Rt(t,e){Mt(t);var n=te(t);ve(t,(Kt||t.f&v)&&null!==t.deps?w:y);var r=t.equals(n);return r||(t.v=n,fe(t,b,e)),r}function Et(t){Mt(t),ne(t,0),ve(t,x),t.first=t.last=t.deps=t.reactions=t.fn=null}const Ot=0,At=1;let Pt=Ot,$t=!1,It=!1,Dt=!1;function Nt(t){It=t}function Lt(t){Dt=t}function Ht(t){Gt=t}let Ft=[],Vt=0,zt=null;function jt(t){zt=t}let Ut=null;function Bt(t){Ut=t}let qt=null,Wt=0,Yt=null;let Gt=!1,Kt=!1,Xt=null;function Qt(t){Xt=t}function Jt(){return null!==Xt&&null===Xt.l}function Zt(t){var e=t.f,n=!!(e&b),r=!!(e&v);if(n&&!r)return!0;var i=!!(e&m);if(e&w||n&&r){var s=t.deps;if(null!==s)for(var a,o,l=s.length,c=0;c<l;c++){var u=s[c];!n&&Zt(u)&&(a=Rt(u,!0));var h=u.version;if(r){if(h>t.version)return t.version=h,!a;Kt||u?.reactions?.includes(t)||(null===(o=u.reactions)?u.reactions=[t]:o.push(t))}else{if(t.f&b)return!0;i&&(h>t.version&&(t.version=h,n=!0),null===(o=u.reactions)?u.reactions=[t]:o.includes(t)||o.push(t))}}r||ve(t,y),i&&(t.f^=m)}return n}function te(t){const e=qt,n=Wt,r=Yt,i=zt,s=Kt,a=Gt;qt=null,Wt=0,Yt=null,zt=t,Kt=!It&&!!(t.f&v),Gt=!1;try{let e=(0,t.fn)(),n=t.deps;if(null!==qt){let e;if(null!==n){const r=n.length,i=0===Wt?qt:n.slice(0,Wt).concat(qt),s=i.length>16&&r-Wt>1?new Set(i):null;for(e=Wt;e<r;e++){const r=n[e];(null!==s?s.has(r):i.includes(r))||ee(t,r)}}if(null!==n&&Wt>0)for(n.length=Wt+qt.length,e=0;e<qt.length;e++)n[Wt+e]=qt[e];else t.deps=n=qt;if(!Kt)for(e=Wt;e<n.length;e++){const r=n[e],i=r.reactions;null===i?r.reactions=[t]:i[i.length-1]!==t&&i.push(t)}}else null!==n&&Wt<n.length&&(ne(t,Wt),n.length=Wt);return e}finally{qt=e,Wt=n,Yt=r,zt=i,Kt=s,Gt=a}}function ee(t,e){const n=e.reactions;let r=0;if(null!==n){r=n.length-1;const i=n.indexOf(t);-1!==i&&(0===r?e.reactions=null:(n[i]=n[r],n.pop()))}0===r&&e.f&u&&(ve(e,w),e.f&(v|m)||(e.f^=m),ne(e,0))}function ne(t,e){const n=t.deps;if(null!==n){const r=0===e?null:n.slice(0,e);let i;for(i=e;i<n.length;i++){const e=n[i];null!==r&&r.includes(e)||ee(t,e)}}}function re(t,e=!0){let n=t.first;var r;for(t.first=null,t.last=null;null!==n;)r=n.next,ct(n,e),n=r}function ie(t){var e=t.f;if(!(e&x)){ve(t,y);var n=t.ctx,r=Ut,i=Xt;Ut=t,Xt=n;try{e&f||re(t),lt(t);var s=te(t);t.teardown="function"==typeof s?s:null}catch(a){!function(t,e,n){throw t}(a)}finally{Ut=r,Xt=i}}}function se(){Vt>1e3&&(Vt=0,function(){throw new Error("effect_update_depth_exceeded")}()),Vt++}function ae(t){const e=t.length;if(0!==e){se();var n=It;It=!0;try{for(var r=0;r<e;r++){var i=t[r];if(null!==i.first||i.f&p){var s=[];ue(i,s),oe(s)}else oe([i])}}finally{It=n}}}function oe(t){var e=t.length;if(0!==e)for(var n=0;n<e;n++){var r=t[n];r.f&(x|_)||!Zt(r)||ie(r)}}function le(){if($t=!1,Vt>1001)return;const t=Ft;Ft=[],ae(t),$t||(Vt=0)}function ce(t){Pt===Ot&&($t||($t=!0,queueMicrotask(le)));for(var e=t;null!==e.parent;){var n=(e=e.parent).f;if(n&p){if(!(n&y))return;ve(e,w)}}Ft.push(e)}function ue(t,e){var n=t.first,r=[];t:for(;null!==n;){var i=n.f,s=!(i&(x|_)),a=i&p,o=!!(i&y),l=n.first;if(s&&(!a||!o))if(a&&ve(n,y),i&d){if(!a&&Zt(n)&&(ie(n),l=n.first),null!==l){n=l;continue}}else if(i&h)if(a||o){if(null!==l){n=l;continue}}else r.push(n);var c=n.next;if(null===c){let e=n.parent;for(;null!==e;){if(t===e)break t;var u=e.next;if(null!==u){n=u;continue t}e=e.parent}}n=c}for(var f=0;f<r.length;f++)l=r[f],e.push(l),ue(l,e)}function he(t,e=!0){var n=Pt,r=Ft;try{se();const n=[];Pt=At,Ft=n,$t=!1,e&&ae(r);var i=t?.();return _t&&kt(),(Ft.length>0||n.length>0)&&he(),Vt=0,i}finally{Pt=n,Ft=r}}function de(t){const e=t.f;if(e&x)return t.v;if(!(null===zt||zt.f&(p|g)||Gt)){const e=!!(zt.f&v),n=zt.deps;null!==qt||null===n||n[Wt]!==t||e&&null!==Ut?null!==n&&0!==Wt&&n[Wt-1]===t||(null===qt?qt=[t]:qt[qt.length-1]!==t&&qt.push(t)):Wt++,null!==Yt&&null!==Ut&&Ut.f&y&&!(Ut.f&p)&&Yt.includes(t)&&(ve(Ut,b),ce(Ut))}return e&u&&Zt(t)&&Rt(t,!1),t.v}function fe(t,e,n){var r=t.reactions;if(null!==r)for(var i=Jt(),s=r.length,a=0;a<s;a++){var o=r[a],l=o.f;if(!(l&b)&&(n&&i||o!==Ut))ve(o,e),(l&y||!!(l&w)&&!!(l&v))&&(o.f&u?fe(o,w,n):ce(o))}}function pe(t){const e=Gt;try{return Gt=!0,t()}finally{Gt=e}}const ge=~(b|w|y);function ve(t,e){t.f=t.f&ge|e}function me(t){return be().get(t)}function ye(t,e){return be().set(t,e),e}function be(t){return null===Xt&&function(t){throw new Error("lifecycle_outside_component")}(),Xt.c??=new Map(function(t){let e=t.p;for(;null!==e;){const t=e.c;if(null!==t)return t;e=e.p}return null}(Xt)||void 0)}function we(t,e){let n;for(n of(t={...t},e))delete t[n];return t}function _e(t,e=!1,n){Xt={p:Xt,c:null,e:null,m:!1,s:t,x:null,l:null},e||(Xt.l={s:null,u:null,r1:[],r2:G(!1)})}function xe(t){const e=Xt;if(null!==e){void 0!==t&&(e.x=t);const r=e.e;if(null!==r){e.e=null;for(var n=0;n<r.length;n++)rt(r[n])}Xt=e.p,e.m=!0}return t||{}}function ke(t){if("object"==typeof t&&t&&!(t instanceof EventTarget))if(C in t)Se(t);else if(!Array.isArray(t))for(let e in t){const n=t[e];"object"==typeof n&&n&&C in n&&Se(n)}}function Se(t,e=new Set){if(!("object"!=typeof t||null===t||t instanceof EventTarget||e.has(t))){e.add(t),t instanceof Date&&t.getTime();for(let i in t)try{Se(t[i],e)}catch(n){}const r=l(t);if(r!==Object.prototype&&r!==Array.prototype&&r!==Map.prototype&&r!==Set.prototype&&r!==Date.prototype){const e=s(r);for(let r in e){const i=e[r].get;if(i)try{i.call(t)}catch(n){}}}}}function Te(t){return function(t){return"object"==typeof t&&null!==t&&"number"==typeof t.f}(t)?de(t):t}let Ce=!1;var Me,Re;function Ee(){return document.createTextNode("")}function Oe(t){return t.firstChild}function Ae(t,e){return t.firstChild}function Pe(t,e=!1){return t.nextSibling}function $e(t,e,n,r,i){var s={capture:r,passive:i},a=function(t,e,n,r){function i(t){if(r.capture||De(e,t),!t.cancelBubble)return n.call(this,t)}return t.startsWith("pointer")||"wheel"===t?St((()=>{e.addEventListener(t,i,r)})):e.addEventListener(t,i,r),i}(t,e,n,s);e!==document.body&&e!==window&&e!==document||it((()=>()=>{e.removeEventListener(t,a,s)}))}function Ie(t){for(var e=0;e<t.length;e++)Ne.add(t[e]);for(var n of Le)n(t)}function De(e,n){var i=e.ownerDocument,s=n.type,a=n.composedPath?.()||[],o=a[0]||n.target;n.target!==o&&r(n,"target",{configurable:!0,value:o});var l=0,c=n.__root;if(c){var u=a.indexOf(c);if(-1!==u&&(e===document||e===window))return void(n.__root=e);var h=a.indexOf(e);if(-1===h)return;u<=h&&(l=u+1)}o=a[l]||n.target,r(n,"currentTarget",{configurable:!0,get:()=>o||i});try{for(var d,f=[];null!==o;){var p=o.parentNode||o.host||null;try{var g=o["__"+s];if(void 0!==g&&!o.disabled)if(t(g)){var[v,...m]=g;v.apply(o,[n,...m])}else g.call(o,n)}catch(Or){d?f.push(Or):d=Or}if(n.cancelBubble||p===e||null===p||o===e)break;o=p}if(d){for(let t of f)queueMicrotask((()=>{throw t}));throw d}}finally{n.__root=e,o=e}}const Ne=new Set,Le=new Set;let He=!0;function Fe(t,e){const n=t.__nodeValue,r=Ve(e);n!==r&&(t.nodeValue=r,t.__nodeValue=r)}function Ve(t){return"string"==typeof t?t:null==t?"":t+""}let ze=new WeakMap;function je(t,e,n,r,i){const s=Xt;let a,o,l;const c=at((()=>{if(a!==(a=e()))if(function(t){return"function"==typeof t?.then}(a)){const e=a;n&&(!o||o.f&_||ct(o),o=ot((()=>n(t)))),l&&ut(l),e.then((n=>{e===a&&(o&&ut(o),r&&(l=function(e,n){Bt(c),jt(c),Qt(s);var r=ot((()=>e(t,n)));return Qt(null),jt(null),Bt(null),he(),r}(r,n)))}),(t=>{e===a&&o&&ut(o)}))}else o&&ut(o),r&&(l&&ct(l),l=ot((()=>r(t,a))))}))}function Ue(t,e,n,r=null,i=!1){var s=null,a=null,o=null;at((()=>{o!==(o=!!e())&&(o?(s?ft(s):s=ot((()=>n(t))),a&&ut(a,(()=>{a=null}))):(a?ft(a):r&&(a=ot((()=>r(t)))),s&&ut(s,(()=>{s=null}))))}),i?S:0)}function Be(t,e,n,r){let i,s;i=document.createElement("div"),i.style.display="contents",t.before(i),s=i.appendChild(Ee()),r(s),it((()=>{let t={};return it((()=>{const e=n();for(const n in t)n in e||i.style.removeProperty(n);for(const t in e)i.style.setProperty(t,e[t]);t=e})),()=>{i.remove()}}))}let qe=null;function We(t,e){return e}function Ye(e,r,i,s,a,o=null){var l={flags:r,items:new Map,next:null};!(r&I)||(e=e.appendChild(Ee()));var c=null;at((()=>{var r=i(),u=t(r)?r:null==r?[]:Array.from(r),h=u.length,d=l.flags;d&N&&!n(u)&&!(C in u)&&(d^=N)&$&&!(d&A)&&(d^=A),function(t,e,n,r,i,s){var a,o,l,c,u=!!(i&D),h=!!(i&(A|P)),d=t.length,f=e.items,p=e.next,g=p,v=new Set,m=e,y=new Set,b=[],w=[];if(u)for(c=0;c<d;c+=1)o=s(a=t[c],c),void 0!==(l=f.get(o))&&(l.a?.measure(),y.add(l));for(c=0;c<d;c+=1)if(o=s(a=t[c],c),void 0!==(l=f.get(o))){if(h&&Ge(l,a,c,i),l.e.f&_&&(ft(l.e),u&&(l.a?.unfix(),y.delete(l))),l!==g){if(v.has(l)){if(b.length<w.length){var x,k=w[0];m=k.prev;var S=b[0],T=b[b.length-1];for(x=0;x<b.length;x+=1)Xe(b[x],k,n);for(x=0;x<w.length;x+=1)v.delete(w[x]);Qe(S.prev,T.next),Qe(m,S),Qe(T,k),g=k,m=T,c-=1,b=[],w=[]}else v.delete(l),Xe(l,g,n),Qe(l.prev,l.next),Qe(l,m.next),Qe(m,l),m=l;continue}for(b=[],w=[];null!==g&&g.k!==o;)v.add(g),w.push(g),g=g.next;if(null===g)continue;l=g}b.push(l),m=l,g=l.next}else{var C=Ee(),M=g?g.o:n;M.before(C),m=Ke(C,M,m,m.next,a,o,c,r,i),f.set(o,m),b=[],w=[],g=m.next}const R=Array.from(v);for(;null!==g;)R.push(g),g=g.next;var E=R.length;if(E>0){var O=i&I&&0===d?n:null;if(u){for(c=0;c<E;c+=1)R[c].a?.measure();for(c=0;c<E;c+=1)R[c].a?.fix()}!function(t,e,n){for(var r=[],i=t.length,s=0;s<i;s++)dt(t[s].e,r,!0);var a=i>0&&0===r.length&&null!==e;if(a){var o=e.parentNode;!function(t){t.textContent=""}(o),o.append(e),n.clear(),Qe(t[0].prev,t[i-1].next)}ht(r,(()=>{for(var e=0;e<i;e++){var r=t[e];a||(n.delete(r.k),r.o.remove(),Qe(r.prev,r.next)),ct(r.e,!a)}}))}(R,O,f)}u&&rt((()=>{pe((()=>{for(l of y)l.a?.apply()}))}))}(u,l,e,a,d,s),null!==o&&(0===h?c?ft(c):c=ot((()=>o(e))):null!==c&&ut(c,(()=>{c=null})))}))}function Ge(t,e,n,r){r&A&&X(t.v,e),r&P?X(t.i,n):t.i=n}function Ke(t,e,n,r,i,s,a,o,l){var c=qe;try{var u=!!(l&A)?!(l&N)?K(i):G(i):i,h=l&P?G(a):a,d={i:h,v:u,k:s,a:null,e:null,o:t,prev:n,next:r};return n.next=d,null!==r&&(r.prev=d),qe=d,d.e=ot((()=>o(e,u,h))),d}finally{qe=c}}function Xe(t,e,n){for(var r=t.next?t.next.o:n,i=e?e.o:n,s=t.o;s!==r;){var a=s.nextSibling;i.before(s),s=a}}function Qe(t,e){t.next=e,null!==e&&(e.prev=t)}function Je(e,n=Ut){var r=n.dom;return null===r?n.dom=e:(t(r)||(r=n.dom=[r]),t(e)?r.push(...e):r.push(e)),e}function Ze(t,e){var n,r=!!(e&B),i=!!(e&q);return()=>{n||(n=Q(t),r||(n=n.firstChild));var e=i?document.importNode(n,!0):n.cloneNode(!0);return Je(r?[...e.childNodes]:e),e}}function tn(t,e,n="svg"){var r,i=!!(e&B),s=Ze(`<${n}>${t}</${n}>`,0);return()=>{if(!r){var t=s();if(e&B)for(r=document.createDocumentFragment();t.firstChild;)r.appendChild(t.firstChild);else r=t.firstChild}var n=r.cloneNode(!0);return Je(i?[...n.childNodes]:n),n}}function en(t){return Je(Ee())}function nn(){var t=document.createDocumentFragment(),e=Ee();return t.append(e),Je([e]),t}function rn(t,e){t.before(e)}function sn(e,n,r,i){const s=e.parentNode!==Ut?.dom?Ut:null;let a=Tt(n);it((()=>{var n=function(t,e,n,r,i){var s=n+"",a=Q(s);if(1===a.childNodes.length){var o=a.firstChild;return t.before(o),null!==e&&Je(o,e),o}var l=[...a.childNodes];t.before(a),null!==e&&Je(l,e);return l}(e,s,de(a));if(n)return()=>{null!==s&&function(e,n){const r=e.dom;if(t(r)){for(let t=r.length-1;t>=0;t--)if(n.includes(r[t])){r.splice(t,1);break}}else null!==r&&n.includes(r)&&(e.dom=null)}(s,t(n)?n:[n]),J(n)}}))}function an(t,e,...n){var r,i;at((()=>{r!==(r=t())&&(i&&(ct(i),i=null),r&&(i=ot((()=>r(e,...n)))))}),S)}function on(t,e,n){let r,i;at((()=>{r!==(r=e())&&(i&&(ut(i),i=null),r&&(i=ot((()=>n(r)))))}))}function ln(t,e,n){rt((()=>{var r=pe((()=>e(t,n?.())||{}));if(n&&r?.update){var i=!1;it((()=>{var t=n();ke(t),i&&r.update(t)})),i=!0}if(r?.destroy)return()=>r.destroy()}))}let cn=!1;function un(t,e){var n=t.__attributes??={};n.checked!==(n.checked=e)&&(t.checked=e)}function hn(t,e,n){n=null==n?null:n+"";var r=t.__attributes??={};r[e]!==(r[e]=n)&&("loading"===e&&(t[R]=n),null===n?t.removeAttribute(e):t.setAttribute(e,n))}function dn(t,e){var n=t.__className,r=function(t){return null==t?"":t}(e);(n!==r||Ce)&&(null==e?t.removeAttribute("class"):t.className=r,t.__className=r)}function fn(t,e,n){n?t.classList.add(e):t.classList.remove(e)}function pn(t,e,n,r){const i=t.style,s=i.getPropertyValue(e);null==n?""!==s&&i.removeProperty(e):s!==n&&i.setProperty(e,n,"")}const gn="undefined"!=typeof window,vn=gn?requestAnimationFrame:yt,mn=gn?()=>performance.now():()=>Date.now(),yn={tick:t=>vn(t),now:()=>mn(),tasks:new Set};function bn(t){yn.tasks.forEach((e=>{e.c(t)||(yn.tasks.delete(e),e.f())})),0!==yn.tasks.size&&yn.tick(bn)}function wn(t,e){t.dispatchEvent(new CustomEvent(e))}function _n(t){const e=t.split("-");return 1===e.length?e[0]:e[0]+e.slice(1).map((t=>t[0].toUpperCase()+t.slice(1))).join("")}function xn(t){const e={},n=t.split(";");for(const r of n){const[t,n]=r.split(":");if(!t||void 0===n)break;e[_n(t.trim())]=n.trim()}return e}const kn=t=>t;function Sn(t,e,n,r){var i,s,a,o,l=!!(t&z),c=!!(t&j),u=!!(t&U),h=l&&c?"both":l?"in":"out",d=e.inert;function p(){return i??=n()(e,r?.(),{direction:h})}var g={is_global:u,in(){e.inert=d,l?(wn(e,"introstart"),s=Tn(e,p(),a,1,(()=>{wn(e,"introend"),s=i=void 0}))):(a?.abort(),o?.())},out(t){c?(e.inert=!0,wn(e,"outrostart"),a=Tn(e,p(),s,0,(()=>{wn(e,"outroend"),a=i=void 0,t?.()})),o=a.reset):t?.()},stop:()=>{s?.abort(),a?.abort()}},v=Ut;if((v.transitions??=[]).push(g),l&&He){let t=u;if(!t){for(var m=v.parent;m&&m.f&S;)for(;(m=m.parent)&&!(m.f&f););t=!m||!!(m.f&k)}t&&rt((()=>{pe((()=>g.in()))}))}}function Tn(t,e,n,r,i){var s;if(c(e))return rt((()=>{var a=pe((()=>e({direction:1===r?"in":"out"})));s=Tn(t,a,n,r,i)})),{abort:()=>s.abort(),deactivate:()=>s.deactivate(),reset:()=>s.reset(),t:t=>s.t(t)};if(n?.deactivate(),!e?.duration)return i?.(),{abort:yt,deactivate:yt,reset:yt,t:()=>r};var{delay:a=0,duration:o,css:l,tick:u,easing:h=kn}=e,d=yn.now()+a,f=n?.t(d)??1-r,p=r-f;o*=Math.abs(p);var g,v,m=d+o;if(l){for(var y=[],b=Math.ceil(o/(1e3/60)),w=0;w<=b;w+=1){var _=f+p*h(w/b),x=l(_,1-_);y.push(xn(x))}(g=t.animate(y,{delay:a,duration:o,easing:"linear",fill:"forwards"})).finished.then((()=>{i?.(),1===r&&g.cancel()})).catch((t=>{if(null!==g.startTime&&null!==g.currentTime)throw t}))}else 0===f&&u?.(0,1),v=function(t){let e;return 0===yn.tasks.size&&yn.tick(bn),{promise:new Promise((n=>{yn.tasks.add(e={c:t,f:n})})),abort(){yn.tasks.delete(e)}}}((t=>{if(t>=m)return u?.(r,1-r),i?.(),!1;if(t>=d){var e=f+p*h((t-d)/o);u?.(e,1-e)}return!0}));return{abort:()=>{g?.cancel(),v?.abort()},deactivate:()=>{i=void 0},reset:()=>{0===r&&u?.(1,0)},t:t=>{var e=f+p*h((t-d)/o);return Math.min(1,Math.max(0,e))}}}function Cn(t,e,n,r=n){t.addEventListener(e,n);const i=t.__on_r;t.__on_r=i?()=>{i(),r()}:r,cn||(cn=!0,document.addEventListener("reset",(t=>{Promise.resolve().then((()=>{if(!t.defaultPrevented)for(const e of t.target.elements)e.__on_r?.()}))}),{capture:!0}))}function Mn(t){var e=t.type;return"number"===e||"range"===e}function Rn(t){return""===t?null:+t}class En{#t=new WeakMap;#e;#n;static entries=new WeakMap;constructor(t){this.#n=t}observe(t,e){var n=this.#t.get(t)||new Set;return n.add(e),this.#t.set(t,n),this.#r().observe(t,this.#n),()=>{var n=this.#t.get(t);n.delete(e),0===n.size&&(this.#t.delete(t),this.#e.unobserve(t))}}#r(){return this.#e??(this.#e=new ResizeObserver((t=>{for(var e of t)for(var n of(En.entries.set(e.target,e),this.#t.get(e.target)||[]))n(e)})))}}var On=new En({box:"border-box"});function An(t,e,n){var r=On.observe(t,(()=>n(t[e])));rt((()=>(n(t[e]),r)))}function Pn(t,e){var n=t&&t[C]?.t;return t===e||n===e}function $n(t,e,n,r){rt((()=>{var i,s;return it((()=>{i=s,s=r?.()||[],pe((()=>{t!==n(...s)&&(e(t,...s),i&&Pn(n(...i),t)&&e(null,...i))}))})),()=>{St((()=>{s&&Pn(n(...s),t)&&e(null,...s)}))}}))}function In(){const t=Xt,e=t.l.u;e&&(e.b.length&&function(t){Z(),it(t)}((()=>{Dn(t),wt(e.b)})),nt((()=>{const t=pe((()=>e.m.map(bt)));return()=>{for(const e of t)"function"==typeof e&&e()}})),e.a.length&&nt((()=>{Dn(t),wt(e.a)})))}function Dn(t){if(t.l.s)for(const e of t.l.s)de(e);ke(t.s)}const Nn={get(t,e){if(!t.exclude.includes(e))return t.props[e]},set:(t,e)=>!1,getOwnPropertyDescriptor(t,e){if(!t.exclude.includes(e))return e in t.props?{enumerable:!0,configurable:!0,value:t.props[e]}:void 0},has:(t,e)=>!t.exclude.includes(e)&&e in t.props,ownKeys:t=>Reflect.ownKeys(t.props).filter((e=>!t.exclude.includes(e)))};function Ln(t,e,n){return new Proxy({props:t,exclude:e},Nn)}const Hn={get(t,e){let n=t.props.length;for(;n--;){let r=t.props[n];if(c(r)&&(r=r()),"object"==typeof r&&null!==r&&e in r)return r[e]}},getOwnPropertyDescriptor(t,e){let n=t.props.length;for(;n--;){let r=t.props[n];if(c(r)&&(r=r()),"object"==typeof r&&null!==r&&e in r)return i(r,e)}},has(t,e){for(let n of t.props)if(c(n)&&(n=n()),null!=n&&e in n)return!0;return!1},ownKeys(t){const e=[];for(let n of t.props){c(n)&&(n=n());for(const t in n)e.includes(t)||e.push(t)}return e}};function Fn(...t){return new Proxy({props:t},Hn)}function Vn(t,e,n,r){var s,a=!!(n&L),o=!!(n&H),l=!!(n&V),c=t[e],u=i(t,e)?.set,h=r,d=!0,f=()=>(l&&d&&(d=!1,h=pe(r)),h);if(void 0===c&&void 0!==r&&(u&&o&&function(t){throw new Error("props_invalid_value")}(),c=f(),u&&u(c)),o)s=()=>{var n=t[e];return void 0===n?f():(d=!0,n)};else{var p=(a?Tt:Ct)((()=>t[e]));p.f|=T,s=()=>{var t=de(p);return void 0!==t&&(h=void 0),void 0===t?h:t}}if(!(n&F))return s;if(u)return function(t){return 1===arguments.length?(u(t),t):s()};var g=!1,v=K(c),m=Tt((()=>{var t=s(),e=de(v);return g?(g=!1,e):v.v=t}));return a||(m.equals=O),function(t){var e=de(m);return arguments.length>0?(m.equals(t)||(g=!0,X(v,t),de(m),m.version++),t):e}}"undefined"!=typeof window&&(window.__svelte||={v:new Set}).v.add("5");var zn=Object.defineProperty,jn=Object.defineProperties,Un=Object.getOwnPropertyDescriptors,Bn=Object.getOwnPropertySymbols,qn=Object.prototype.hasOwnProperty,Wn=Object.prototype.propertyIsEnumerable,Yn=(t,e,n)=>e in t?zn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Gn=(t,e)=>{for(var n in e||(e={}))qn.call(e,n)&&Yn(t,n,e[n]);if(Bn)for(var n of Bn(e))Wn.call(e,n)&&Yn(t,n,e[n]);return t},Kn=(t,e)=>jn(t,Un(e)),Xn=class{},Qn="undefined"!=typeof global?global:"undefined"!=typeof window?window:self;function Jn(t,e){return`${t}`.padStart(e?3:2,"0")}function Zn(t){return Xn.Config.logTimestamps?function(e){const n=new Date;t(Jn(n.getHours())+":"+Jn(n.getMinutes())+":"+Jn(n.getSeconds())+"."+Jn(n.getMilliseconds(),1)+" "+e)}:t}var tr=class t{constructor(){this.deprecated=(t,e)=>{this.deprecationWarning(`${t} is deprecated and will be removed in a future version. ${e}`)},this.shouldLog=t=>t<=this.logLevel,this.setLog=(t,e)=>{void 0!==t&&(this.logLevel=t),void 0!==e&&(this.logHandler=this.logErrorHandler=e)},this.logLevel=t.defaultLogLevel,this.logHandler=t.defaultLogHandler,this.logErrorHandler=t.defaultLogErrorHandler}static initLogHandlers(){const[e,n]=(()=>{var t;let e,n;return"function"==typeof(null==(t=null==Qn?void 0:Qn.console)?void 0:t.log)?(e=function(...t){},n=console.warn?function(...t){}:e):e=n=function(){},[e,n].map(Zn)})();this.defaultLogHandler=e,this.defaultLogErrorHandler=n,this.defaultLogger=new t}static logActionNoStrip(t,e,n,r){t.logAction(e,n,r)}logAction(t,e,n){this.shouldLog(t)&&(1===t?this.logErrorHandler:this.logHandler)("Ably: "+e+": "+n)}renamedClientOption(t,e){this.deprecationWarning(`The \`${t}\` client option has been renamed to \`${e}\`. Please update your code to use \`${e}\` instead. \`${t}\` will be removed in a future version.`)}renamedMethod(t,e,n){this.deprecationWarning(`\`${t}\`’s \`${e}\` method has been renamed to \`${n}\`. Please update your code to use \`${n}\` instead. \`${e}\` will be removed in a future version.`)}deprecationWarning(t){this.shouldLog(1)&&this.logErrorHandler(`Ably: Deprecation warning - ${t}`)}};tr.defaultLogLevel=1,tr.LOG_NONE=0,tr.LOG_ERROR=1,tr.LOG_MAJOR=2,tr.LOG_MINOR=3,tr.LOG_MICRO=4,tr.logAction=(t,e,n,r)=>{tr.logActionNoStrip(t,e,n,r)};var er=tr;function nr(t){let e="["+t.constructor.name;return t.message&&(e+=": "+t.message),t.statusCode&&(e+="; statusCode="+t.statusCode),t.code&&(e+="; code="+t.code),t.cause&&(e+="; cause="+fr(t.cause)),!t.href||t.message&&t.message.indexOf("help.ably.io")>-1||(e+="; see "+t.href+" "),e+="]",e}var rr=class t extends Error{constructor(e,n,r,i){super(e),void 0!==Object.setPrototypeOf&&Object.setPrototypeOf(this,t.prototype),this.code=n,this.statusCode=r,this.cause=i}toString(){return nr(this)}static fromValues(e){const{message:n,code:r,statusCode:i}=e;if("string"!=typeof n||"number"!=typeof r||"number"!=typeof i)throw new Error("ErrorInfo.fromValues(): invalid values: "+Xn.Config.inspect(e));const s=Object.assign(new t(n,r,i),e);return s.code&&!s.href&&(s.href="https://help.ably.io/error/"+s.code),s}},ir=class t extends Error{constructor(e,n,r,i){super(e),void 0!==Object.setPrototypeOf&&Object.setPrototypeOf(this,t.prototype),this.code=n,this.statusCode=r,this.cause=i}toString(){return nr(this)}static fromValues(e){const{message:n,code:r,statusCode:i}=e;if("string"!=typeof n||!lr(r)&&"number"!=typeof r||!lr(i)&&"number"!=typeof i)throw new Error("PartialErrorInfo.fromValues(): invalid values: "+Xn.Config.inspect(e));const s=Object.assign(new t(n,r,i),e);return s.code&&!s.href&&(s.href="https://help.ably.io/error/"+s.code),s}};function sr(t,...e){for(let n=0;n<e.length;n++){const r=e[n];if(!r)break;for(const e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])}return t}function ar(t){return sr({},t)}function or(t){return"[object Object]"==Object.prototype.toString.call(t)}function lr(t){return null==t}function cr(t,e){const n=[];for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.push(r);return n}function ur(t){return t.splice(function(t){return Math.floor(Math.random()*t.length)}(t),1)[0]}function hr(t){const e=[];if(t)for(const n in t)e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e.length?"?"+e.join("&"):""}function dr(t){let e;const n=/([^?&=]+)=?([^&]*)/g,r={};for(;e=n.exec(t);)r[decodeURIComponent(e[1])]=decodeURIComponent(e[2]);return r}function fr(t){var e,n;return t instanceof Error||"ErrorInfo"===(null==(e=null==t?void 0:t.constructor)?void 0:e.name)||"PartialErrorInfo"===(null==(n=null==t?void 0:t.constructor)?void 0:n.name)?t.toString():Xn.Config.inspect(t)}function pr(t,e){t.then((t=>{null==e||e(null,t)})).catch((t=>{null==e||e(t)}))}function gr(t,e){return t*function(t){return Math.min((t+2)/3,2)}(e)*(1-.2*Math.random())}function vr(){return"undefined"!=typeof global?global:"undefined"!=typeof window?window:self}function mr(t){const e=Xn.BufferUtils,n=e.utf8Encode(t);return e.base64Encode(n)}function yr(t){throw function(t){return new rr(`${t} plugin not provided`,40019,400)}(t)}var br="2.1.0",wr={ENVIRONMENT:"",REST_HOST:"rest.ably.io",REALTIME_HOST:"realtime.ably.io",FALLBACK_HOSTS:["A.ably-realtime.com","B.ably-realtime.com","C.ably-realtime.com","D.ably-realtime.com","E.ably-realtime.com"],PORT:80,TLS_PORT:443,TIMEOUTS:{disconnectedRetryTimeout:15e3,suspendedRetryTimeout:3e4,httpRequestTimeout:1e4,httpMaxRetryDuration:15e3,channelRetryTimeout:15e3,fallbackRetryTimeout:6e5,connectionStateTtl:12e4,realtimeRequestTimeout:1e4,recvTimeout:9e4,webSocketConnectTimeout:1e4,webSocketSlowTimeout:4e3},httpMaxRetryCount:3,maxMessageSize:65536,version:br,protocolVersion:3,agent:"ably-js/"+br,getHost:_r,getPort:function(t,e){return e||t.tls?t.tlsPort:t.port},getHttpScheme:function(t){return t.tls?"https://":"http://"},environmentFallbackHosts:xr,getFallbackHosts:kr,getHosts:function(t,e){const n=[t.restHost].concat(kr(t));return e?n.map((e=>_r(t,e,!0))):n},checkHost:Sr,objectifyOptions:function(t,e,n,r,i){if(void 0===t){const t=e?`${n} must be initialized with either a client options object, an Ably API key, or an Ably Token`:`${n} must be initialized with a client options object`;throw er.logAction(r,er.LOG_ERROR,`${n}()`,t),new Error(t)}let s;if("string"==typeof t)if(-1==t.indexOf(":")){if(!e){const t=`${n} cannot be initialized with just an Ably Token; you must provide a client options object with a \`plugins\` property. (Set this Ably Token as the object’s \`token\` property.)`;throw er.logAction(r,er.LOG_ERROR,`${n}()`,t),new Error(t)}s={token:t}}else{if(!e){const t=`${n} cannot be initialized with just an Ably API key; you must provide a client options object with a \`plugins\` property. (Set this Ably API key as the object’s \`key\` property.)`;throw er.logAction(r,er.LOG_ERROR,`${n}()`,t),new Error(t)}s={key:t}}else s=t;i&&(s=Kn(Gn({},s),{plugins:Gn(Gn({},i),s.plugins)}));return s},normaliseOptions:function(t,e,n){const r=null!=n?n:er.defaultLogger;"function"==typeof t.recover&&!0===t.closeOnUnload&&(er.logAction(r,er.LOG_ERROR,"Defaults.normaliseOptions","closeOnUnload was true and a session recovery function was set - these are mutually exclusive, so unsetting the latter"),t.recover=void 0);"closeOnUnload"in t||(t.closeOnUnload=!t.recover);"queueMessages"in t||(t.queueMessages=!0);const i=t.environment&&String(t.environment).toLowerCase()||wr.ENVIRONMENT,s=!i||"production"===i;t.fallbackHosts||t.restHost||t.realtimeHost||t.port||t.tlsPort||(t.fallbackHosts=s?wr.FALLBACK_HOSTS:xr(i));const a=t.restHost||(s?wr.REST_HOST:i+"-"+wr.REST_HOST),o=function(t,e,n,r){return t.realtimeHost?t.realtimeHost:t.restHost?t.restHost:e?wr.REALTIME_HOST:n+"-"+wr.REALTIME_HOST}(t,s,i);(t.fallbackHosts||[]).concat(a,o).forEach(Sr),t.port=t.port||wr.PORT,t.tlsPort=t.tlsPort||wr.TLS_PORT,"tls"in t||(t.tls=!0);const l=function(t){const e={};for(const n in wr.TIMEOUTS)e[n]=t[n]||wr.TIMEOUTS[n];return e}(t);t.useBinaryProtocol=!!e&&("useBinaryProtocol"in t?Xn.Config.supportsBinary&&t.useBinaryProtocol:Xn.Config.preferBinary);const c={};t.clientId&&(c["X-Ably-ClientId"]=Xn.BufferUtils.base64Encode(Xn.BufferUtils.utf8Encode(t.clientId)));"idempotentRestPublishing"in t||(t.idempotentRestPublishing=!0);let u=null,h=t.connectivityCheckUrl;if(t.connectivityCheckUrl){let[e,n]=t.connectivityCheckUrl.split("?");u=n?dr(n):{},-1===e.indexOf("://")&&(e="https://"+e),h=e}return Kn(Gn({},t),{realtimeHost:o,restHost:a,maxMessageSize:t.maxMessageSize||wr.maxMessageSize,timeouts:l,connectivityCheckParams:u,connectivityCheckUrl:h,headers:c})},defaultGetHeaders:function(t,{format:e=Rr.format,protocolVersion:n=Rr.protocolVersion}={}){return{accept:Mr[e],"X-Ably-Version":n.toString(),"Ably-Agent":Tr(t)}},defaultPostHeaders:function(t,{format:e=Rr.format,protocolVersion:n=Rr.protocolVersion}={}){let r;return{accept:r=Mr[e],"content-type":r,"X-Ably-Version":n.toString(),"Ably-Agent":Tr(t)}}};function _r(t,e,n){return e=n?e==t.restHost&&t.realtimeHost||e||t.realtimeHost:e||t.restHost}function xr(t){return[t+"-a-fallback.ably-realtime.com",t+"-b-fallback.ably-realtime.com",t+"-c-fallback.ably-realtime.com",t+"-d-fallback.ably-realtime.com",t+"-e-fallback.ably-realtime.com"]}function kr(t){const e=t.fallbackHosts,n=void 0!==t.httpMaxRetryCount?t.httpMaxRetryCount:wr.httpMaxRetryCount;return e?function(t,e){const n=Math.min(e,t.length),r=t.slice(),i=[];for(let s=0;s<n;s++)i.push(ur(r));return i}(e,n):[]}function Sr(t){if("string"!=typeof t)throw new rr("host must be a string; was a "+typeof t,4e4,400);if(!t.length)throw new rr("host must not be zero-length",4e4,400)}function Tr(t){let e=wr.agent;if(t.agents)for(var n in t.agents)e+=" "+n+"/"+t.agents[n];return e}function Cr(t,e,n){const r=n||{};if(r.cipher){t||yr("Crypto");const n=t.getCipher(r.cipher,e);r.cipher=n.cipherParams,r.channelCipher=n.cipher}else"cipher"in r&&(r.cipher=void 0,r.channelCipher=null);return r}var Mr={json:"application/json",xml:"application/xml",html:"text/html",msgpack:"application/x-msgpack"},Rr={format:"json",protocolVersion:wr.protocolVersion};var Er=wr;var Or,Ar=class t{constructor(t,e){this.logger=t,this.members=e||[]}call(t,e){for(const r of this.members)if(r)try{r(t,e)}catch(n){er.logAction(this.logger,er.LOG_ERROR,"Multicaster multiple callback handler","Unexpected exception: "+n+"; stack = "+n.stack)}}push(...t){this.members.push(...t)}createPromise(){return new Promise(((t,e)=>{this.push(((n,r)=>{n?e(n):t(r)}))}))}resolveAll(t){this.call(null,t)}rejectAll(t){this.call(t)}static create(e,n){const r=new t(e,n);return Object.assign(((t,e)=>r.call(t,e)),{push:t=>r.push(t),createPromise:()=>r.createPromise(),resolveAll:t=>r.resolveAll(t),rejectAll:t=>r.rejectAll(t)})}},Pr=((Or=Pr||{}).Get="get",Or.Delete="delete",Or.Post="post",Or.Put="put",Or.Patch="patch",Or),$r=Pr,Ir=(t=>(t[t.Success=200]="Success",t[t.NoContent=204]="NoContent",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.Forbidden=403]="Forbidden",t[t.RequestTimeout=408]="RequestTimeout",t[t.InternalServerError=500]="InternalServerError",t))(Ir||{});var Dr=Ir,Nr=Math.pow(2,17);function Lr(t){return function(t){return"object"==typeof t&&null!==t&&(t instanceof rr||t instanceof ir)}(t)?(t.code||(403===t.statusCode?t.code=40300:(t.code=40170,t.statusCode=401)),t):new rr(fr(t),t.code||40170,t.statusCode||401)}function Hr(t){if(!t)return"";"string"==typeof t&&(t=JSON.parse(t));const e=Object.create(null),n=cr(t);if(!n)return"";n.sort();for(let r=0;r<n.length;r++)e[n[r]]=t[n[r]].sort();return JSON.stringify(e)}function Fr(t,e){if(t.authCallback);else if(t.authUrl);else if(t.key);else if(!t.tokenDetails){const t="authOptions must include valid authentication parameters";throw er.logAction(e,er.LOG_ERROR,"Auth()",t),new Error(t)}}var Vr=0;var zr=class{constructor(t,e){if(this.authOptions={},this.client=t,this.tokenParams=e.defaultTokenParams||{},this.currentTokenRequestId=null,this.waitingForTokenRequest=null,function(t){return t.useTokenAuth||!function(t){return"useTokenAuth"in t&&!t.useTokenAuth}(t)&&(t.authCallback||t.authUrl||t.token||t.tokenDetails)}(e))(function(t){return!t.key&&!t.authCallback&&!t.authUrl})(e)&&er.logAction(this.logger,er.LOG_ERROR,"Auth()","Warning: library initialized with a token literal without any way to renew the token when it expires (no authUrl, authCallback, or key). See https://help.ably.io/error/40171 for help"),this._saveTokenOptions(e.defaultTokenParams,e),Fr(this.authOptions,this.logger);else{if(!e.key){const t="No authentication options provided; need one of: key, authUrl, or authCallback (or for testing only, token or tokenDetails)";throw er.logAction(this.logger,er.LOG_ERROR,"Auth()",t),new rr(t,40160,401)}this._saveBasicOptions(e)}}get logger(){return this.client.logger}async authorize(t,e){if(e&&e.key&&this.authOptions.key!==e.key)throw new rr("Unable to update auth options with incompatible key",40102,401);try{let n=await this._forceNewToken(null!=t?t:null,null!=e?e:null);return function(t){return!!t.connection}(this.client)?new Promise(((t,e)=>{this.client.connection.connectionManager.onAuthUpdated(n,((n,r)=>n?e(n):t(r)))})):n}catch(n){throw this.client.connection&&n.statusCode===Dr.Forbidden&&this.client.connection.connectionManager.actOnErrorFromAuthorize(n),n}}async _forceNewToken(t,e){this.tokenDetails=null,this._saveTokenOptions(t,e),Fr(this.authOptions,this.logger);try{return this._ensureValidAuthCredentials(!0)}finally{delete this.tokenParams.timestamp,delete this.authOptions.queryTime}}async requestToken(t,e){const n=e||this.authOptions,r=t||ar(this.tokenParams);let i,s=this.client;if(n.authCallback)i=n.authCallback;else if(n.authUrl)i=(t,e)=>{const r=sr({accept:"application/json, text/plain"},n.authHeaders),i=n.authMethod&&"post"===n.authMethod.toLowerCase();let s;const a=n.authUrl.indexOf("?");a>-1&&(s=dr(n.authUrl.slice(a)),n.authUrl=n.authUrl.slice(0,a),i||(n.authParams=sr(s,n.authParams)));const o=sr({},n.authParams||{},t),l=t=>{var n,r;let i=null!=(n=t.body)?n:null,s=null;if(t.error);else{const e=null!=(r=t.headers["content-type"])?r:null;s=Array.isArray(e)?e.join(", "):e}if(t.error)return void e(t.error,null);if(t.unpacked)return void e(null,i);if(Xn.BufferUtils.isBuffer(i)&&(i=i.toString()),!s)return void e(new rr("authUrl response is missing a content-type header",40170,401),null);const a=s.indexOf("application/json")>-1,o=s.indexOf("text/plain")>-1||s.indexOf("application/jwt")>-1;if(a||o){if(a){if(i.length>Nr)return void e(new rr("authUrl response exceeded max permitted length",40170,401),null);try{i=JSON.parse(i)}catch(l){return void e(new rr("Unexpected error processing authURL response; err = "+l.message,40170,401),null)}}e(null,i,s)}else e(new rr("authUrl responded with unacceptable content-type "+s+", should be either text/plain, application/jwt or application/json",40170,401),null)};if(i){const t=r||{};t["content-type"]="application/x-www-form-urlencoded";const e=hr(o).slice(1);pr(this.client.http.doUri($r.Post,n.authUrl,t,e,s),((t,e)=>l(t||e)))}else pr(this.client.http.doUri($r.Get,n.authUrl,r||{},null,o),((t,e)=>l(t||e)))};else{if(!n.key){const t="Need a new token, but authOptions does not include any way to request one (no authUrl, authCallback, or key)";throw er.logAction(this.logger,er.LOG_ERROR,"Auth()","library initialized with a token literal without any way to renew the token when it expires (no authUrl, authCallback, or key). See https://help.ably.io/error/40171 for help"),new rr(t,40171,403)}i=(t,e)=>{pr(this.createTokenRequest(t,n),((t,n)=>e(t,null!=n?n:null)))}}"capability"in r&&(r.capability=Hr(r.capability));const a=(t,e)=>{const r="/keys/"+t.keyName+"/requestToken",i=Er.defaultPostHeaders(this.client.options);n.requestHeaders&&sr(i,n.requestHeaders),pr(this.client.http.do($r.Post,(function(t){return s.baseUri(t)+r}),i,JSON.stringify(t),null),((t,n)=>t?e(t):e(n.error,n.body,n.unpacked)))};return new Promise(((t,e)=>{let s=!1,o=this.client.options.timeouts.realtimeRequestTimeout,l=setTimeout((()=>{s=!0;const t="Token request callback timed out after "+o/1e3+" seconds";er.logAction(this.logger,er.LOG_ERROR,"Auth.requestToken()",t),e(new rr(t,40170,401))}),o);i(r,((r,i,o)=>{if(s)return;if(clearTimeout(l),r)return er.logAction(this.logger,er.LOG_ERROR,"Auth.requestToken()","token request signing call returned error; err = "+fr(r)),void e(Lr(r));if("string"==typeof i)return void(0===i.length?e(new rr("Token string is empty",40170,401)):i.length>Nr?e(new rr("Token string exceeded max permitted length (was "+i.length+" bytes)",40170,401)):"undefined"===i||"null"===i?e(new rr("Token string was literal null/undefined",40170,401)):"{"!==i[0]||o&&o.indexOf("application/jwt")>-1?t({token:i}):e(new rr("Token was double-encoded; make sure you're not JSON-encoding an already encoded token request or details",40170,401)));if("object"!=typeof i||null===i){const t="Expected token request callback to call back with a token string or token request/details object, but got a "+typeof i;return er.logAction(this.logger,er.LOG_ERROR,"Auth.requestToken()",t),void e(new rr(t,40170,401))}const c=JSON.stringify(i).length;if(c>Nr&&!n.suppressMaxLengthCheck)e(new rr("Token request/details object exceeded max permitted stringified size (was "+c+" bytes)",40170,401));else if("issued"in i)t(i);else{if(!("keyName"in i)){const t="Expected token request callback to call back with a token string, token request object, or token details object";return er.logAction(this.logger,er.LOG_ERROR,"Auth.requestToken()",t),void e(new rr(t,40170,401))}a(i,((n,r,i)=>{if(n)return er.logAction(this.logger,er.LOG_ERROR,"Auth.requestToken()","token request API call returned error; err = "+fr(n)),void e(Lr(n));i||(r=JSON.parse(r)),t(r)}))}}))}))}async createTokenRequest(t,e){e=e||this.authOptions,t=t||ar(this.tokenParams);const n=e.key;if(!n)throw new rr("No key specified",40101,403);const r=n.split(":"),i=r[0],s=r[1];if(!s)throw new rr("Invalid key specified",40101,403);if(""===t.clientId)throw new rr("clientId can’t be an empty string",40012,400);"capability"in t&&(t.capability=Hr(t.capability));const a=sr({keyName:i},t),o=t.clientId||"",l=t.ttl||"",c=t.capability||"";a.timestamp||(a.timestamp=await this.getTimestamp(e&&e.queryTime));const u=a.nonce||(a.nonce=("000000"+Math.floor(1e16*Math.random())).slice(-16)),h=a.timestamp,d=a.keyName+"\n"+l+"\n"+c+"\n"+o+"\n"+h+"\n"+u+"\n";return a.mac=a.mac||((t,e)=>{const n=Xn.BufferUtils,r=n.utf8Encode(t),i=n.utf8Encode(e),s=n.hmacSha256(r,i);return n.base64Encode(s)})(d,s),a}async getAuthParams(){if("basic"==this.method)return{key:this.key};{let t=await this._ensureValidAuthCredentials(!1);if(!t)throw new Error("Auth.getAuthParams(): _ensureValidAuthCredentials returned no error or tokenDetails");return{access_token:t.token}}}async getAuthHeaders(){if("basic"==this.method)return{authorization:"Basic "+this.basicKey};{const t=await this._ensureValidAuthCredentials(!1);if(!t)throw new Error("Auth.getAuthParams(): _ensureValidAuthCredentials returned no error or tokenDetails");return{authorization:"Bearer "+mr(t.token)}}}async getTimestamp(t){return this.isTimeOffsetSet()||!t&&!this.authOptions.queryTime?this.getTimestampUsingOffset():this.client.time()}getTimestampUsingOffset(){return Date.now()+(this.client.serverTimeOffset||0)}isTimeOffsetSet(){return null!==this.client.serverTimeOffset}_saveBasicOptions(t){this.method="basic",this.key=t.key,this.basicKey=mr(t.key),this.authOptions=t||{},"clientId"in t&&this._userSetClientId(t.clientId)}_saveTokenOptions(t,e){this.method="token",t&&(this.tokenParams=t),e&&(e.token&&(e.tokenDetails="string"==typeof e.token?{token:e.token}:e.token),e.tokenDetails&&(this.tokenDetails=e.tokenDetails),"clientId"in e&&this._userSetClientId(e.clientId),this.authOptions=e)}async _ensureValidAuthCredentials(t){const e=this.tokenDetails;if(e){if(this._tokenClientIdMismatch(e.clientId))throw new rr("Mismatch between clientId in token ("+e.clientId+") and current clientId ("+this.clientId+")",40102,403);if(!this.isTimeOffsetSet()||!e.expires||e.expires>=this.getTimestampUsingOffset())return e;this.tokenDetails=null}const n=(this.waitingForTokenRequest||(this.waitingForTokenRequest=Ar.create(this.logger))).createPromise();if(null!==this.currentTokenRequestId&&!t)return n;const r=this.currentTokenRequestId=Vr++;let i,s=null;try{i=await this.requestToken(this.tokenParams,this.authOptions)}catch(o){s=o}if(this.currentTokenRequestId>r)return n;this.currentTokenRequestId=null;const a=this.waitingForTokenRequest;return this.waitingForTokenRequest=null,s?(null==a||a.rejectAll(s),n):(null==a||a.resolveAll(this.tokenDetails=i),n)}_userSetClientId(t){if("string"!=typeof t&&null!==t)throw new rr("clientId must be either a string or null",40012,400);if("*"===t)throw new rr('Can’t use "*" as a clientId as that string is reserved. (To change the default token request behaviour to use a wildcard clientId, instantiate the library with {defaultTokenParams: {clientId: "*"}}), or if calling authorize(), pass it in as a tokenParam: authorize({clientId: "*"}, authOptions)',40012,400);{const e=this._uncheckedSetClientId(t);if(e)throw e}}_uncheckedSetClientId(t){if(this._tokenClientIdMismatch(t)){const e="Unexpected clientId mismatch: client has "+this.clientId+", requested "+t,n=new rr(e,40102,401);return er.logAction(this.logger,er.LOG_ERROR,"Auth._uncheckedSetClientId()",e),n}return this.clientId=this.tokenParams.clientId=t,null}_tokenClientIdMismatch(t){return!(!this.clientId||"*"===this.clientId||!t||"*"===t||this.clientId===t)}static isTokenErr(t){return t.code&&t.code>=40140&&t.code<40150}revokeTokens(t,e){return this.client.rest.revokeTokens(t,e)}};function jr(t){const e=[];if(t)for(const n in t)e.push(n+"="+t[n]);return e.join("&")}function Ur(t,e){return t+(e?"?":"")+jr(e)}var Br=class{constructor(t){this.client=t,this.platformHttp=new Xn.Http(t),this.checkConnectivity=this.platformHttp.checkConnectivity?()=>this.platformHttp.checkConnectivity():void 0}get logger(){var t,e;return null!=(e=null==(t=this.client)?void 0:t.logger)?e:er.defaultLogger}get supportsAuthHeaders(){return this.platformHttp.supportsAuthHeaders}get supportsLinkHeaders(){return this.platformHttp.supportsLinkHeaders}_getHosts(t){const e=t.connection,n=e&&e.connectionManager.host;return n?[n].concat(Er.getFallbackHosts(t.options)):Er.getHosts(t.options)}async do(t,e,n,r,i){try{const s=this.client;if(!s)return{error:new rr("http.do called without client",5e4,500)};const a="function"==typeof e?e:function(t){return s.baseUri(t)+e},o=s._currentFallback;if(o){if(o.validUntil>Date.now()){const l=await this.doUri(t,a(o.host),n,r,i);return l.error&&this.platformHttp.shouldFallback(l.error)?(s._currentFallback=null,this.do(t,e,n,r,i)):l}s._currentFallback=null}const l=this._getHosts(s);if(1===l.length)return this.doUri(t,a(l[0]),n,r,i);let c=null;const u=async(e,o)=>{const l=e.shift();c=null!=c?c:new Date;const h=await this.doUri(t,a(l),n,r,i);if(h.error&&this.platformHttp.shouldFallback(h.error)&&e.length){return Date.now()-c.getTime()>s.options.timeouts.httpMaxRetryDuration?{error:new rr(`Timeout for trying fallback hosts retries. Total elapsed time exceeded the ${s.options.timeouts.httpMaxRetryDuration}ms limit`,50003,500)}:u(e,!0)}return o&&(s._currentFallback={host:l,validUntil:Date.now()+s.options.timeouts.fallbackRetryTimeout}),h};return u(l)}catch(s){return{error:new rr(`Unexpected error in Http.do: ${fr(s)}`,500,5e4)}}}async doUri(t,e,n,r,i){try{!function(t,e,n,r,i){i.shouldLog(er.LOG_MICRO)&&er.logActionNoStrip(i,er.LOG_MICRO,"Http."+t+"()","Sending; "+Ur(e,r)+"; Body"+(Xn.BufferUtils.isBuffer(n)?" (Base64): "+Xn.BufferUtils.base64Encode(n):": "+n))}(t,e,r,i,this.logger);const s=await this.platformHttp.doUri(t,e,n,r,i);return this.logger.shouldLog(er.LOG_MICRO)&&function(t,e,n,r,i){t.error?er.logActionNoStrip(i,er.LOG_MICRO,"Http."+e+"()","Received Error; "+Ur(n,r)+"; Error: "+fr(t.error)):er.logActionNoStrip(i,er.LOG_MICRO,"Http."+e+"()","Received; "+Ur(n,r)+"; Headers: "+jr(t.headers)+"; StatusCode: "+t.statusCode+"; Body"+(Xn.BufferUtils.isBuffer(t.body)?" (Base64): "+Xn.BufferUtils.base64Encode(t.body):": "+t.body))}(s,t,e,i,this.logger),s}catch(s){return{error:new rr(`Unexpected error in Http.doUri: ${fr(s)}`,500,5e4)}}}},qr=class{constructor(t){var e,n,r,i,s,a,o,l;this._additionalHTTPRequestImplementations=null!=(e=t.plugins)?e:null,this.logger=new er,this.logger.setLog(t.logLevel,t.logHandler),this._MsgPack=null!=(r=null==(n=t.plugins)?void 0:n.MsgPack)?r:null;const c=this.options=Er.normaliseOptions(t,this._MsgPack,this.logger);if(c.key){const t=c.key.match(/^([^:\s]+):([^:.\s]+)$/);if(!t){const t="invalid key parameter";throw er.logAction(this.logger,er.LOG_ERROR,"BaseClient()",t),new rr(t,40400,404)}c.keyName=t[1],c.keySecret=t[2]}if("clientId"in c){if("string"!=typeof c.clientId&&null!==c.clientId)throw new rr("clientId must be either a string or null",40012,400);if("*"===c.clientId)throw new rr('Can’t use "*" as a clientId as that string is reserved. (To change the default token request behaviour to use a wildcard clientId, use {defaultTokenParams: {clientId: "*"}})',40012,400)}this._currentFallback=null,this.serverTimeOffset=null,this.http=new Br(this),this.auth=new zr(this,c),this._rest=(null==(i=t.plugins)?void 0:i.Rest)?new t.plugins.Rest(this):null,this._Crypto=null!=(a=null==(s=t.plugins)?void 0:s.Crypto)?a:null,this.__FilteredSubscriptions=null!=(l=null==(o=t.plugins)?void 0:o.MessageInteractions)?l:null}get rest(){return this._rest||yr("Rest"),this._rest}get _FilteredSubscriptions(){return this.__FilteredSubscriptions||yr("MessageInteractions"),this.__FilteredSubscriptions}get channels(){return this.rest.channels}get push(){return this.rest.push}baseUri(t){return Er.getHttpScheme(this.options)+t+":"+Er.getPort(this.options,!1)}async stats(t){return this.rest.stats(t)}async time(t){return this.rest.time(t)}async request(t,e,n,r,i,s){return this.rest.request(t,e,n,r,i,s)}batchPublish(t){return this.rest.batchPublish(t)}batchPresence(t){return this.rest.batchPresence(t)}setLog(t){this.logger.setLog(t.level,t.handler)}};qr.Platform=Xn;var Wr=qr;function Yr(t){let e=0;return t.name&&(e+=t.name.length),t.clientId&&(e+=t.clientId.length),t.extras&&(e+=JSON.stringify(t.extras).length),t.data&&(e+=function(t){if(Xn.BufferUtils.isBuffer(t))return Xn.BufferUtils.byteLength(t);if("string"==typeof t)return Xn.Config.stringByteSize(t);throw new Error("Expected input of Utils.dataSizeBytes to be a buffer or string, but was: "+typeof t)}(t.data)),e}async function Gr(t,e){const n=t.data;if(!("string"==typeof n||Xn.BufferUtils.isBuffer(n)||null==n)){if(!or(n)&&!Array.isArray(n))throw new rr("Data type is unsupported",40013,400);t.data=JSON.stringify(n),t.encoding=t.encoding?t.encoding+"/json":"json"}return null!=e&&e.cipher?async function(t,e){let n=t.data,r=t.encoding,i=e.channelCipher;r=r?r+"/":"",Xn.BufferUtils.isBuffer(n)||(n=Xn.BufferUtils.utf8Encode(String(n)),r+="utf-8/");const s=await i.encrypt(n);return t.data=s,t.encoding=r+"cipher+"+i.algorithm,t}(t,e):t}async function Kr(t,e){const n=function(t){return t&&t.channelOptions?t:{channelOptions:t,plugins:{},baseEncodedPreviousPayload:void 0}}(e);let r=t.data;const i=t.encoding;if(i){const e=i.split("/");let o,l=e.length,c=t.data,u="";try{for(;(o=l)>0;){const t=e[--l].match(/([-\w]+)(\+([\w-]+))?/);if(!t)break;switch(u=t[1],u){case"base64":c=Xn.BufferUtils.base64Decode(String(c)),o==e.length&&(r=c);continue;case"utf-8":c=Xn.BufferUtils.utf8Decode(c);continue;case"json":c=JSON.parse(c);continue;case"cipher":if(null!=n.channelOptions&&n.channelOptions.cipher&&n.channelOptions.channelCipher){const e=t[3],r=n.channelOptions.channelCipher;if(e!=r.algorithm)throw new Error("Unable to decrypt message with given cipher; incompatible cipher params");c=await r.decrypt(c);continue}throw new Error("Unable to decrypt message; not an encrypted channel");case"vcdiff":if(!n.plugins||!n.plugins.vcdiff)throw new rr("Missing Vcdiff decoder (https://github.com/ably-forks/vcdiff-decoder)",40019,400);if("undefined"==typeof Uint8Array)throw new rr("Delta decoding not supported on this browser (need ArrayBuffer & Uint8Array)",40020,400);try{let t=n.baseEncodedPreviousPayload;"string"==typeof t&&(t=Xn.BufferUtils.utf8Encode(t));const e=Xn.BufferUtils.toBuffer(t);c=Xn.BufferUtils.toBuffer(c),c=Xn.BufferUtils.arrayBufferViewToBuffer(n.plugins.vcdiff.decode(c,e)),r=c}catch(s){throw new rr("Vcdiff delta decode failed with "+s,40018,400)}continue;default:throw new Error("Unknown encoding")}}}catch(a){const t=a;throw new rr("Error processing the "+u+" encoding, decoder returned ‘"+t.message+"’",t.code||40013,400)}finally{t.encoding=o<=0?null:e.slice(0,o).join("/"),t.data=c}}n.baseEncodedPreviousPayload=r}function Xr(t){return Object.assign(new Zr,t)}function Qr(t){const e=t.length,n=new Array(e);for(let r=0;r<e;r++)n[r]=Xr(t[r]);return n}function Jr(t){let e,n=0;for(let r=0;r<t.length;r++)e=t[r],n+=e.size||(e.size=Yr(e));return n}var Zr=class{toJSON(){let t=this.encoding,e=this.data;return e&&Xn.BufferUtils.isBuffer(e)&&(arguments.length>0?(t=t?t+"/base64":"base64",e=Xn.BufferUtils.base64Encode(e)):e=Xn.BufferUtils.toBuffer(e)),{name:this.name,id:this.id,clientId:this.clientId,connectionId:this.connectionId,connectionKey:this.connectionKey,extras:this.extras,encoding:t,data:e}}toString(){let t="[Message";return this.name&&(t+="; name="+this.name),this.id&&(t+="; id="+this.id),this.timestamp&&(t+="; timestamp="+this.timestamp),this.clientId&&(t+="; clientId="+this.clientId),this.connectionId&&(t+="; connectionId="+this.connectionId),this.encoding&&(t+="; encoding="+this.encoding),this.extras&&(t+="; extras ="+JSON.stringify(this.extras)),this.data&&("string"==typeof this.data?t+="; data="+this.data:Xn.BufferUtils.isBuffer(this.data)?t+="; data (buffer)="+Xn.BufferUtils.base64Encode(this.data):t+="; data (json)="+JSON.stringify(this.data)),this.extras&&(t+="; extras="+JSON.stringify(this.extras)),t+="]",t}},ti=["absent","present","enter","leave","update"];function ei(t){return ti.indexOf(t)}function ni(t,e){return e&&(t.action=ti[t.action]),Object.assign(new si,t)}var ri=Kr;function ii(t){return t instanceof si?t:ni({data:t})}var si=class{isSynthesized(){return!this.id||!this.connectionId||this.id.substring(this.connectionId.length,0)!==this.connectionId}parseId(){if(!this.id)throw new Error("parseId(): Presence message does not contain an id");const t=this.id.split(":");return{connectionId:t[0],msgSerial:parseInt(t[1],10),index:parseInt(t[2],10)}}toJSON(){let t=this.data,e=this.encoding;return t&&Xn.BufferUtils.isBuffer(t)&&(arguments.length>0?(e=e?e+"/base64":"base64",t=Xn.BufferUtils.base64Encode(t)):t=Xn.BufferUtils.toBuffer(t)),{id:this.id,clientId:this.clientId,action:ei(this.action),data:t,encoding:e,extras:this.extras}}toString(){let t="[PresenceMessage";return t+="; action="+this.action,this.id&&(t+="; id="+this.id),this.timestamp&&(t+="; timestamp="+this.timestamp),this.clientId&&(t+="; clientId="+this.clientId),this.connectionId&&(t+="; connectionId="+this.connectionId),this.encoding&&(t+="; encoding="+this.encoding),this.data&&("string"==typeof this.data?t+="; data="+this.data:Xn.BufferUtils.isBuffer(this.data)?t+="; data (buffer)="+Xn.BufferUtils.base64Encode(this.data):t+="; data (json)="+JSON.stringify(this.data)),this.extras&&(t+="; extras="+JSON.stringify(this.extras)),t+="]",t}};function ai(t,e,n){let r,i,s;for(let a=0;a<t.length;a++)if(r=t[a],n&&(r=r[n]),Array.isArray(r)){for(;-1!==(i=r.indexOf(e));)r.splice(i,1);n&&0===r.length&&delete t[a][n]}else if(or(r))for(s in r)Object.prototype.hasOwnProperty.call(r,s)&&Array.isArray(r[s])&&ai([r],e,s)}var oi=class{constructor(t){this.logger=t,this.any=[],this.events=Object.create(null),this.anyOnce=[],this.eventsOnce=Object.create(null)}on(...t){if(1===t.length){const e=t[0];if("function"!=typeof e)throw new Error("EventListener.on(): Invalid arguments: "+Xn.Config.inspect(t));this.any.push(e)}if(2===t.length){const[e,n]=t;if("function"!=typeof n)throw new Error("EventListener.on(): Invalid arguments: "+Xn.Config.inspect(t));if(lr(e))this.any.push(n);else if(Array.isArray(e))e.forEach((t=>{this.on(t,n)}));else{if("string"!=typeof e)throw new Error("EventListener.on(): Invalid arguments: "+Xn.Config.inspect(t));(this.events[e]||(this.events[e]=[])).push(n)}}}off(...t){if(0==t.length||lr(t[0])&&lr(t[1]))return this.any=[],this.events=Object.create(null),this.anyOnce=[],void(this.eventsOnce=Object.create(null));const[e,n]=t;let r=null,i=null;if(1!==t.length&&n){if("function"!=typeof n)throw new Error("EventEmitter.off(): invalid arguments:"+Xn.Config.inspect(t));[i,r]=[e,n]}else"function"==typeof e?r=e:i=e;if(r&&lr(i))ai([this.any,this.events,this.anyOnce,this.eventsOnce],r);else if(Array.isArray(i))i.forEach((t=>{this.off(t,r)}));else{if("string"!=typeof i)throw new Error("EventEmitter.off(): invalid arguments:"+Xn.Config.inspect(t));r?ai([this.events,this.eventsOnce],r,i):(delete this.events[i],delete this.eventsOnce[i])}}listeners(t){if(t){const e=this.events[t]||[];return this.eventsOnce[t]&&Array.prototype.push.apply(e,this.eventsOnce[t]),e.length?e:null}return this.any.length?this.any:null}emit(t,...e){const n={event:t},r=[];this.anyOnce.length&&(Array.prototype.push.apply(r,this.anyOnce),this.anyOnce=[]),this.any.length&&Array.prototype.push.apply(r,this.any);const i=this.eventsOnce[t];i&&(Array.prototype.push.apply(r,i),delete this.eventsOnce[t]);const s=this.events[t];s&&Array.prototype.push.apply(r,s),r.forEach((t=>{!function(t,e,n,r){try{n.apply(e,r)}catch(i){er.logAction(t,er.LOG_ERROR,"EventEmitter.emit()","Unexpected listener exception: "+i+"; stack = "+(i&&i.stack))}}(this.logger,n,t,e)}))}once(...t){const e=t.length;if(0===e||1===e&&"function"!=typeof t[0]){const e=t[0];return new Promise((t=>{this.once(e,t)}))}const[n,r]=t;if(1===t.length&&"function"==typeof n)this.anyOnce.push(n);else if(lr(n)){if("function"!=typeof r)throw new Error("EventEmitter.once(): Invalid arguments:"+Xn.Config.inspect(t));this.anyOnce.push(r)}else if(Array.isArray(n)){const e=this,i=function(){const s=Array.prototype.slice.call(arguments);if(n.forEach((function(t){e.off(t,i)})),"function"!=typeof r)throw new Error("EventEmitter.once(): Invalid arguments:"+Xn.Config.inspect(t));r.apply(this,s)};n.forEach((function(t){e.on(t,i)}))}else{if("string"!=typeof n)throw new Error("EventEmitter.once(): Invalid arguments:"+Xn.Config.inspect(t));const e=this.eventsOnce[n]||(this.eventsOnce[n]=[]);if(r){if("function"!=typeof r)throw new Error("EventEmitter.once(): Invalid arguments:"+Xn.Config.inspect(t));e.push(r)}}}async whenState(t,e){if("string"!=typeof t||"string"!=typeof e)throw new Error("whenState requires a valid state String argument");return t===e?null:this.once(t)}},li={HEARTBEAT:0,ACK:1,NACK:2,CONNECT:3,CONNECTED:4,DISCONNECT:5,DISCONNECTED:6,CLOSE:7,CLOSED:8,ERROR:9,ATTACH:10,ATTACHED:11,DETACH:12,DETACHED:13,PRESENCE:14,MESSAGE:15,SYNC:16,AUTH:17,ACTIVATE:18},ci=[];Object.keys(li).forEach((function(t){ci[li[t]]=t}));var ui={HAS_PRESENCE:1,HAS_BACKLOG:2,RESUMED:4,TRANSIENT:16,ATTACH_RESUME:32,PRESENCE:65536,PUBLISH:1<<17,SUBSCRIBE:1<<18,PRESENCE_SUBSCRIBE:1<<19},hi=Object.keys(ui);function di(t){const e=[];if(t)for(let n=0;n<t.length;n++)e.push(t[n].toString());return"[ "+e.join(", ")+" ]"}ui.MODE_ALL=ui.PRESENCE|ui.PUBLISH|ui.SUBSCRIBE|ui.PRESENCE_SUBSCRIBE;var fi=["PRESENCE","PUBLISH","SUBSCRIBE","PRESENCE_SUBSCRIBE"],pi=function(t,e,n){return"msgpack"==n?(e||yr("MsgPack"),e.encode(t,!0)):JSON.stringify(t)};function gi(t,e,n,r){const i=function(t,e,n){return"msgpack"==n?(e||yr("MsgPack"),e.decode(t)):JSON.parse(String(t))}(t,e,r);return function(t,e){const n=t.error;n&&(t.error=rr.fromValues(n));const r=t.messages;if(r)for(let s=0;s<r.length;s++)r[s]=Xr(r[s]);const i=e?t.presence:void 0;if(e&&i&&e)for(let s=0;s<i.length;s++)i[s]=e.presenceMessageFromValues(i[s],!0);return Object.assign(new yi,Kn(Gn({},t),{presence:i}))}(i,n)}function vi(t){return Object.assign(new yi,t)}function mi(t,e){let n="[ProtocolMessage";void 0!==t.action&&(n+="; action="+ci[t.action]||t.action);const r=["id","channel","channelSerial","connectionId","count","msgSerial","timestamp"];let i;for(let s=0;s<r.length;s++)i=r[s],void 0!==t[i]&&(n+="; "+i+"="+t[i]);if(t.messages&&(n+="; messages="+di(Qr(t.messages))),t.presence&&e&&(n+="; presence="+di(e.presenceMessagesFromValuesArray(t.presence))),t.error&&(n+="; error="+rr.fromValues(t.error).toString()),t.auth&&t.auth.accessToken&&(n+="; token="+t.auth.accessToken),t.flags&&(n+="; flags="+hi.filter(t.hasFlag).join(",")),t.params){let e="";!function(t,e){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&t[n]&&e(n)}(t.params,(function(n){e.length>0&&(e+="; "),e+=n+"="+t.params[n]})),e.length>0&&(n+="; params=["+e+"]")}return n+="]",n}var yi=class{constructor(){this.hasFlag=t=>(this.flags&ui[t])>0}setFlag(t){return this.flags=this.flags|ui[t]}getMode(){return this.flags&&this.flags&ui.MODE_ALL}encodeModesToFlags(t){t.forEach((t=>this.setFlag(t)))}decodeModesFromFlags(){const t=[];return fi.forEach((e=>{this.hasFlag(e)&&t.push(e)})),t.length>0?t:void 0}},bi=yi,wi=class extends oi{constructor(t){super(t),this.messages=[]}count(){return this.messages.length}push(t){this.messages.push(t)}shift(){return this.messages.shift()}last(){return this.messages[this.messages.length-1]}copyAll(){return this.messages.slice()}append(t){this.messages.push.apply(this.messages,t)}prepend(t){this.messages.unshift.apply(this.messages,t)}completeMessages(t,e,n){n=n||null;const r=this.messages;if(0===r.length)throw new Error("MessageQueue.completeMessages(): completeMessages called on any empty MessageQueue");const i=r[0];if(i){const s=i.message.msgSerial,a=t+e;if(a>s){const t=r.splice(0,a-s);for(const e of t)e.callback(n)}0==r.length&&this.emit("idle")}}completeAllMessages(t){this.completeMessages(0,Number.MAX_SAFE_INTEGER||Number.MAX_VALUE,t)}resetSendAttempted(){for(let t of this.messages)t.sendAttempted=!1}clear(){this.messages=[],this.emit("idle")}},_i=class{constructor(t,e){this.message=t,this.callback=e,this.merged=!1;const n=t.action;this.sendAttempted=!1,this.ackRequired=n==li.MESSAGE||n==li.PRESENCE}},xi=class extends oi{constructor(t){super(t.logger),this.transport=t,this.messageQueue=new wi(this.logger),t.on("ack",((t,e)=>{this.onAck(t,e)})),t.on("nack",((t,e,n)=>{this.onNack(t,e,n)}))}onAck(t,e){this.messageQueue.completeMessages(t,e)}onNack(t,e,n){er.logAction(this.logger,er.LOG_ERROR,"Protocol.onNack()","serial = "+t+"; count = "+e+"; err = "+fr(n)),n||(n=new rr("Unable to send message; channel not responding",50001,500)),this.messageQueue.completeMessages(t,e,n)}onceIdle(t){const e=this.messageQueue;0!==e.count()?e.once("idle",t):t()}send(t){t.ackRequired&&this.messageQueue.push(t),this.logger.shouldLog(er.LOG_MICRO)&&er.logActionNoStrip(this.logger,er.LOG_MICRO,"Protocol.send()","sending msg; "+mi(t.message,this.transport.connectionManager.realtime._RealtimePresence)),t.sendAttempted=!0,this.transport.send(t.message)}getTransport(){return this.transport}getPendingMessages(){return this.messageQueue.copyAll()}clearPendingMessages(){return this.messageQueue.clear()}finish(){const t=this.transport;this.onceIdle((function(){t.disconnect()}))}},ki=class{constructor(t,e,n,r){this.previous=t,this.current=e,n&&(this.retryIn=n),r&&(this.reason=r)}},Si={DISCONNECTED:80003,SUSPENDED:80002,FAILED:8e4,CLOSING:80017,CLOSED:80017,UNKNOWN_CONNECTION_ERR:50002,UNKNOWN_CHANNEL_ERR:50001};var Ti,Ci={disconnected:()=>rr.fromValues({statusCode:400,code:Si.DISCONNECTED,message:"Connection to server temporarily unavailable"}),suspended:()=>rr.fromValues({statusCode:400,code:Si.SUSPENDED,message:"Connection to server unavailable"}),failed:()=>rr.fromValues({statusCode:400,code:Si.FAILED,message:"Connection failed or disconnected by server"}),closing:()=>rr.fromValues({statusCode:400,code:Si.CLOSING,message:"Connection closing"}),closed:()=>rr.fromValues({statusCode:400,code:Si.CLOSED,message:"Connection closed"}),unknownConnectionErr:()=>rr.fromValues({statusCode:500,code:Si.UNKNOWN_CONNECTION_ERR,message:"Internal connection error"}),unknownChannelErr:()=>rr.fromValues({statusCode:500,code:Si.UNKNOWN_CONNECTION_ERR,message:"Internal channel error"})},Mi=vi({action:li.CLOSE}),Ri=vi({action:li.DISCONNECT}),Ei=class extends oi{constructor(t,e,n,r){super(t.logger),r&&(n.format=void 0,n.heartbeats=!0),this.connectionManager=t,this.auth=e,this.params=n,this.timeouts=n.options.timeouts,this.format=n.format,this.isConnected=!1,this.isFinished=!1,this.isDisposed=!1,this.maxIdleInterval=null,this.idleTimer=null,this.lastActivity=null}connect(){}close(){this.isConnected&&this.requestClose(),this.finish("closed",Ci.closed())}disconnect(t){this.isConnected&&this.requestDisconnect(),this.finish("disconnected",t||Ci.disconnected())}fail(t){this.isConnected&&this.requestDisconnect(),this.finish("failed",t||Ci.failed())}finish(t,e){var n;this.isFinished||(this.isFinished=!0,this.isConnected=!1,this.maxIdleInterval=null,clearTimeout(null!=(n=this.idleTimer)?n:void 0),this.idleTimer=null,this.emit(t,e),this.dispose())}onProtocolMessage(t){switch(this.logger.shouldLog(er.LOG_MICRO)&&er.logActionNoStrip(this.logger,er.LOG_MICRO,"Transport.onProtocolMessage()","received on "+this.shortName+": "+mi(t,this.connectionManager.realtime._RealtimePresence)+"; connectionId = "+this.connectionManager.connectionId),this.onActivity(),t.action){case li.HEARTBEAT:er.logActionNoStrip(this.logger,er.LOG_MICRO,"Transport.onProtocolMessage()",this.shortName+" heartbeat; connectionId = "+this.connectionManager.connectionId),this.emit("heartbeat",t.id);break;case li.CONNECTED:this.onConnect(t),this.emit("connected",t.error,t.connectionId,t.connectionDetails,t);break;case li.CLOSED:this.onClose(t);break;case li.DISCONNECTED:this.onDisconnect(t);break;case li.ACK:this.emit("ack",t.msgSerial,t.count);break;case li.NACK:this.emit("nack",t.msgSerial,t.count,t.error);break;case li.SYNC:this.connectionManager.onChannelMessage(t,this);break;case li.ACTIVATE:break;case li.AUTH:pr(this.auth.authorize(),(t=>{t&&er.logAction(this.logger,er.LOG_ERROR,"Transport.onProtocolMessage()","Ably requested re-authentication, but unable to obtain a new token: "+fr(t))}));break;case li.ERROR:if(void 0===t.channel){this.onFatalError(t);break}this.connectionManager.onChannelMessage(t,this);break;default:this.connectionManager.onChannelMessage(t,this)}}onConnect(t){if(this.isConnected=!0,!t.connectionDetails)throw new Error("Transport.onConnect(): Connect message recieved without connectionDetails");const e=t.connectionDetails.maxIdleInterval;e&&(this.maxIdleInterval=e+this.timeouts.realtimeRequestTimeout,this.onActivity())}onDisconnect(t){const e=t&&t.error;this.finish("disconnected",e)}onFatalError(t){const e=t&&t.error;this.finish("failed",e)}onClose(t){const e=t&&t.error;this.finish("closed",e)}requestClose(){this.send(Mi)}requestDisconnect(){this.send(Ri)}ping(t){const e={action:li.HEARTBEAT};t&&(e.id=t),this.send(vi(e))}dispose(){this.isDisposed=!0,this.off()}onActivity(){this.maxIdleInterval&&(this.lastActivity=this.connectionManager.lastActivity=Date.now(),this.setIdleTimer(this.maxIdleInterval+100))}setIdleTimer(t){this.idleTimer||(this.idleTimer=setTimeout((()=>{this.onIdleTimerExpire()}),t))}onIdleTimerExpire(){if(!this.lastActivity||!this.maxIdleInterval)throw new Error("Transport.onIdleTimerExpire(): lastActivity/maxIdleInterval not set");this.idleTimer=null;const t=Date.now()-this.lastActivity,e=this.maxIdleInterval-t;if(e<=0){const e="No activity seen from realtime in "+t+"ms; assuming connection has dropped";er.logAction(this.logger,er.LOG_ERROR,"Transport.onIdleTimerExpire()",e),this.disconnect(new rr(e,80003,408))}else this.setIdleTimer(e+100)}static tryConnect(t,e,n,r,i){const s=new t(e,n,r);let a;const o=function(t){clearTimeout(a),i({event:this.event,error:t})},l=e.options.timeouts.realtimeRequestTimeout;return a=setTimeout((()=>{s.off(["preconnect","disconnected","failed"]),s.dispose(),o.call({event:"disconnected"},new rr("Timeout waiting for transport to indicate itself viable",5e4,500))}),l),s.on(["failed","disconnected"],o),s.on("preconnect",(function(){clearTimeout(a),s.off(["failed","disconnected"],o),i(null,s)})),s.connect(),s}static isAvailable(){throw new rr("isAvailable not implemented for transport",5e4,500)}};(t=>{t.WebSocket="web_socket",t.Comet="comet",t.XhrPolling="xhr_polling"})(Ti||(Ti={}));var Oi="undefined"!=typeof global?global:"undefined"!=typeof window?window:self,Ai=()=>{var t;return void 0!==Xn.WebStorage&&(null==(t=Xn.WebStorage)?void 0:t.localSupported)},Pi=()=>{var t;return void 0!==Xn.WebStorage&&(null==(t=Xn.WebStorage)?void 0:t.sessionSupported)},$i=function(){},Ii="ably-transport-preference";function Di(t){try{return JSON.parse(t)}catch(e){return null}}var Ni=class{constructor(t,e,n,r){this.options=t,this.host=e,this.mode=n,this.connectionKey=r,this.format=t.useBinaryProtocol?"msgpack":"json"}getConnectParams(t){const e=t?ar(t):{},n=this.options;switch(this.mode){case"resume":e.resume=this.connectionKey;break;case"recover":{const t=Di(n.recover);t&&(e.recover=t.connectionKey);break}}return void 0!==n.clientId&&(e.clientId=n.clientId),!1===n.echoMessages&&(e.echo="false"),void 0!==this.format&&(e.format=this.format),void 0!==this.stream&&(e.stream=this.stream),void 0!==this.heartbeats&&(e.heartbeats=this.heartbeats),e.v=Er.protocolVersion,e.agent=Tr(this.options),void 0!==n.transportParams&&sr(e,n.transportParams),e}toString(){let t="[mode="+this.mode;return this.host&&(t+=",host="+this.host),this.connectionKey&&(t+=",connectionKey="+this.connectionKey),this.format&&(t+=",format="+this.format),t+="]",t}},Li=class t extends oi{constructor(t,e){super(t.logger),this.supportedTransports={},this.disconnectedRetryCount=0,this.pendingChannelMessagesState={isProcessing:!1,queue:[]},this.realtime=t,this.initTransports(),this.options=e;const n=e.timeouts,r=n.webSocketConnectTimeout+n.realtimeRequestTimeout;if(this.states={initialized:{state:"initialized",terminal:!1,queueEvents:!0,sendEvents:!1,failState:"disconnected"},connecting:{state:"connecting",terminal:!1,queueEvents:!0,sendEvents:!1,retryDelay:r,failState:"disconnected"},connected:{state:"connected",terminal:!1,queueEvents:!1,sendEvents:!0,failState:"disconnected"},disconnected:{state:"disconnected",terminal:!1,queueEvents:!0,sendEvents:!1,retryDelay:n.disconnectedRetryTimeout,failState:"disconnected"},suspended:{state:"suspended",terminal:!1,queueEvents:!1,sendEvents:!1,retryDelay:n.suspendedRetryTimeout,failState:"suspended"},closing:{state:"closing",terminal:!1,queueEvents:!1,sendEvents:!1,retryDelay:n.realtimeRequestTimeout,failState:"closed"},closed:{state:"closed",terminal:!0,queueEvents:!1,sendEvents:!1,failState:"closed"},failed:{state:"failed",terminal:!0,queueEvents:!1,sendEvents:!1,failState:"failed"}},this.state=this.states.initialized,this.errorReason=null,this.queuedMessages=new wi(this.logger),this.msgSerial=0,this.connectionDetails=void 0,this.connectionId=void 0,this.connectionKey=void 0,this.connectionStateTtl=n.connectionStateTtl,this.maxIdleInterval=null,this.transports=function(t,e){return Array.isArray(e)?function(t,e){const n=[];for(let r=0;r<t.length;r++){const i=t[r];-1!=e.indexOf(i)&&n.push(i)}return n}(t,e):function(t,e){const n=[];for(let r=0;r<t.length;r++){const i=t[r];i in e&&n.push(i)}return n}(t,e)}(e.transports||Er.defaultTransports,this.supportedTransports),this.transportPreference=null,this.transports.includes(Ti.WebSocket)&&(this.webSocketTransportAvailable=!0),this.transports.includes(Ti.XhrPolling)?this.baseTransport=Ti.XhrPolling:this.transports.includes(Ti.Comet)&&(this.baseTransport=Ti.Comet),this.httpHosts=Er.getHosts(e),this.wsHosts=Er.getHosts(e,!0),this.activeProtocol=null,this.host=null,this.lastAutoReconnectAttempt=null,this.lastActivity=null,this.forceFallbackHost=!1,this.connectCounter=0,this.wsCheckResult=null,this.webSocketSlowTimer=null,this.webSocketGiveUpTimer=null,this.abandonedWebSocket=!1,!this.transports.length){const t="no requested transports available";throw er.logAction(this.logger,er.LOG_ERROR,"realtime.ConnectionManager()",t),new Error(t)}const i=Xn.Config.addEventListener;i&&(Pi()&&"function"==typeof e.recover&&i("beforeunload",this.persistConnection.bind(this)),!0===e.closeOnUnload&&i("beforeunload",(()=>{this.requestState({state:"closing"})})),i("online",(()=>{var t;this.state==this.states.disconnected||this.state==this.states.suspended?this.requestState({state:"connecting"}):this.state==this.states.connecting&&(null==(t=this.pendingTransport)||t.off(),this.disconnectAllTransports(),this.startConnect())})),i("offline",(()=>{this.state==this.states.connected&&this.disconnectAllTransports()})))}static supportedTransports(t){const e={supportedTransports:{}};return this.initTransports(t,e),e.supportedTransports}static initTransports(t,e){const n=Gn(Gn({},Xn.Transports.bundledImplementations),t);[Ti.WebSocket,...Xn.Transports.order].forEach((t=>{const r=n[t];r&&r.isAvailable()&&(e.supportedTransports[t]=r)}))}initTransports(){t.initTransports(this.realtime._additionalTransportImplementations,this)}createTransportParams(t,e){return new Ni(this.options,t,e,this.connectionKey)}getTransportParams(t){(t=>{if(this.connectionKey)return void t("resume");if("string"==typeof this.options.recover)return void t("recover");const e=this.options.recover,n=this.getSessionRecoverData();this.sessionRecoveryName(),n&&"function"==typeof e?e(n,(e=>{e?(this.options.recover=n.recoveryKey,t("recover")):t("clean")})):t("clean")})((e=>{const n=this.createTransportParams(null,e);if("recover"===e){const t=Di(this.options.recover);t&&(this.msgSerial=t.msgSerial)}t(n)}))}tryATransport(t,e,n){this.proposedTransport=Ei.tryConnect(this.supportedTransports[e],this,this.realtime.auth,t,((r,i)=>{const s=this.state;if(s==this.states.closing||s==this.states.closed||s==this.states.failed)return i&&i.close(),void n(!0);r?!zr.isTokenErr(r.error)||this.errorReason&&zr.isTokenErr(this.errorReason)?"failed"===r.event?(this.notifyState({state:"failed",error:r.error}),n(!0)):"disconnected"===r.event&&(!function(t){return!t.statusCode||!t.code||t.statusCode>=500||Object.values(Si).includes(t.code)}(r.error)?(this.notifyState({state:this.states.connecting.failState,error:r.error}),n(!0)):n(!1)):(this.errorReason=r.error,pr(this.realtime.auth._forceNewToken(null,null),(r=>{r?this.actOnErrorFromAuthorize(r):this.tryATransport(t,e,n)}))):(this.setTransportPending(i,t),n(null,i))}))}setTransportPending(t,e){const n=e.mode;this.pendingTransport=t,this.cancelWebSocketSlowTimer(),this.cancelWebSocketGiveUpTimer(),t.once("connected",((e,r,i)=>{this.activateTransport(e,t,r,i),"recover"===n&&this.options.recover&&(delete this.options.recover,this.unpersistConnection())}));const r=this;t.on(["disconnected","closed","failed"],(function(e){r.deactivateTransport(t,this.event,e)})),this.emit("transport.pending",t)}activateTransport(t,e,n,r){t&&er.logAction(this.logger,er.LOG_ERROR,"ConnectionManager.activateTransport()","error = "+t),this.persistTransportPreference(e);const i=this.state,s=this.states.connected.state;if(i.state==this.states.closing.state||i.state==this.states.closed.state||i.state==this.states.failed.state)return e.disconnect(),!1;if(delete this.pendingTransport,!e.isConnected)return!1;const a=this.activeProtocol;this.activeProtocol=new xi(e),this.host=e.params.host;const o=r.connectionKey;if(o&&this.connectionKey!=o&&this.setConnection(n,r,!!t),this.onConnectionDetailsUpdate(r,e),Xn.Config.nextTick((()=>{e.on("connected",((t,n,r)=>{this.onConnectionDetailsUpdate(r,e),this.emit("update",new ki(s,s,null,t))}))})),i.state===this.states.connected.state?t&&(this.errorReason=this.realtime.connection.errorReason=t,this.emit("update",new ki(s,s,null,t))):(this.notifyState({state:"connected",error:t}),this.errorReason=this.realtime.connection.errorReason=t||null),this.emit("transport.active",e),a)if(a.messageQueue.count()>0&&er.logAction(this.logger,er.LOG_ERROR,"ConnectionManager.activateTransport()","Previous active protocol (for transport "+a.transport.shortName+", new one is "+e.shortName+") finishing with "+a.messageQueue.count()+" messages still pending"),a.transport===e){const t="Assumption violated: activating a transport that was also the transport for the previous active protocol; transport = "+e.shortName+"; stack = "+(new Error).stack;er.logAction(this.logger,er.LOG_ERROR,"ConnectionManager.activateTransport()",t)}else a.finish();return!0}deactivateTransport(t,e,n){const r=this.activeProtocol,i=r&&r.getTransport()===t,s=t===this.pendingTransport,a=this.noTransportsScheduledForActivation();if(n&&n.message,i&&(this.queuePendingMessages(r.getPendingMessages()),r.clearPendingMessages(),this.activeProtocol=this.host=null),this.emit("transport.inactive",t),i&&a||i&&"failed"===e||"closed"===e||null===r&&s){if("disconnected"===e&&n&&n.statusCode>500&&this.httpHosts.length>1)return this.unpersistTransportPreference(),this.forceFallbackHost=!0,void this.notifyState({state:e,error:n,retryImmediately:!0});const t="failed"===e&&zr.isTokenErr(n)?"disconnected":e;this.notifyState({state:t,error:n})}else;}noTransportsScheduledForActivation(){return!this.pendingTransport||!this.pendingTransport.isConnected}setConnection(t,e,n){const r=this.connectionId;(r&&r!==t||!r&&n)&&(this.msgSerial=0,this.queuedMessages.resetSendAttempted()),this.connectionId,this.realtime.connection.id=this.connectionId=t,this.realtime.connection.key=this.connectionKey=e.connectionKey}clearConnection(){this.realtime.connection.id=this.connectionId=void 0,this.realtime.connection.key=this.connectionKey=void 0,this.msgSerial=0,this.unpersistConnection()}createRecoveryKey(){return this.connectionKey?JSON.stringify({connectionKey:this.connectionKey,msgSerial:this.msgSerial,channelSerials:this.realtime.channels.channelSerials()}):null}checkConnectionStateFreshness(){if(!this.lastActivity||!this.connectionId)return;Date.now()-this.lastActivity>this.connectionStateTtl+this.maxIdleInterval&&(this.clearConnection(),this.states.connecting.failState="suspended")}persistConnection(){if(Pi()){const t=this.createRecoveryKey();t&&this.setSessionRecoverData({recoveryKey:t,disconnectedAt:Date.now(),location:Oi.location,clientId:this.realtime.auth.clientId})}}unpersistConnection(){this.clearSessionRecoverData()}getError(){if(this.errorReason){const t=ir.fromValues(this.errorReason);return t.cause=this.errorReason,t}return this.getStateError()}getStateError(){var t,e;return null==(e=(t=Ci)[this.state.state])?void 0:e.call(t)}activeState(){return this.state.queueEvents||this.state.sendEvents}enactStateChange(t){const e=t.current+(t.reason?"; reason: "+t.reason:"");"failed"===t.current&&er.logAction(this.logger,er.LOG_ERROR,"Connection state",e);const n=this.state=this.states[t.current];t.reason&&(this.errorReason=t.reason,this.realtime.connection.errorReason=t.reason),(n.terminal||"suspended"===n.state)&&this.clearConnection(),this.emit("connectionstate",t)}startTransitionTimer(t){this.transitionTimer&&clearTimeout(this.transitionTimer),this.transitionTimer=setTimeout((()=>{this.transitionTimer&&(this.transitionTimer=null,this.notifyState({state:t.failState}))}),t.retryDelay)}cancelTransitionTimer(){this.transitionTimer&&(clearTimeout(this.transitionTimer),this.transitionTimer=null)}startSuspendTimer(){this.suspendTimer||(this.suspendTimer=setTimeout((()=>{this.suspendTimer&&(this.suspendTimer=null,this.states.connecting.failState="suspended",this.notifyState({state:"suspended"}))}),this.connectionStateTtl))}checkSuspendTimer(t){"disconnected"!==t&&"suspended"!==t&&"connecting"!==t&&this.cancelSuspendTimer()}cancelSuspendTimer(){this.states.connecting.failState="disconnected",this.suspendTimer&&(clearTimeout(this.suspendTimer),this.suspendTimer=null)}startRetryTimer(t){this.retryTimer=setTimeout((()=>{this.retryTimer=null,this.requestState({state:"connecting"})}),t)}cancelRetryTimer(){this.retryTimer&&(clearTimeout(this.retryTimer),this.retryTimer=null)}startWebSocketSlowTimer(){this.webSocketSlowTimer=setTimeout((()=>{null===this.wsCheckResult&&this.checkWsConnectivity().then((()=>{this.wsCheckResult=!0})).catch((()=>{this.wsCheckResult=!1})),this.realtime.http.checkConnectivity&&pr(this.realtime.http.checkConnectivity(),((t,e)=>{!t&&e||(this.cancelWebSocketGiveUpTimer(),this.notifyState({state:"disconnected",error:new rr("new ErrorInfo('Unable to connect (network unreachable)'",80003,404)}))}))}),this.options.timeouts.webSocketSlowTimeout)}cancelWebSocketSlowTimer(){this.webSocketSlowTimer&&(clearTimeout(this.webSocketSlowTimer),this.webSocketSlowTimer=null)}startWebSocketGiveUpTimer(t){this.webSocketGiveUpTimer=setTimeout((()=>{var e,n;this.wsCheckResult||this.baseTransport&&(this.abandonedWebSocket=!0,null==(e=this.proposedTransport)||e.dispose(),null==(n=this.pendingTransport)||n.dispose(),this.connectBase(t,++this.connectCounter))}),this.options.timeouts.webSocketConnectTimeout)}cancelWebSocketGiveUpTimer(){this.webSocketGiveUpTimer&&(clearTimeout(this.webSocketGiveUpTimer),this.webSocketGiveUpTimer=null)}notifyState(t){var e,n;const r=t.state,i="disconnected"===r&&(this.state===this.states.connected||t.retryImmediately||this.state===this.states.connecting&&t.error&&zr.isTokenErr(t.error)&&!(this.errorReason&&zr.isTokenErr(this.errorReason)));if(r==this.state.state)return;if(this.cancelTransitionTimer(),this.cancelRetryTimer(),this.cancelWebSocketSlowTimer(),this.cancelWebSocketGiveUpTimer(),this.checkSuspendTimer(t.state),"suspended"!==r&&"connected"!==r||(this.disconnectedRetryCount=0),this.state.terminal)return;const s=this.states[t.state];let a=s.retryDelay;"disconnected"===s.state&&(this.disconnectedRetryCount++,a=gr(s.retryDelay,this.disconnectedRetryCount));const o=new ki(this.state.state,s.state,a,t.error||(null==(n=(e=Ci)[s.state])?void 0:n.call(e)));if(i){const t=()=>{this.state===this.states.disconnected&&(this.lastAutoReconnectAttempt=Date.now(),this.requestState({state:"connecting"}))},e=this.lastAutoReconnectAttempt&&Date.now()-this.lastAutoReconnectAttempt+1;e&&e<1e3?setTimeout(t,1e3-e):Xn.Config.nextTick(t)}else"disconnected"!==r&&"suspended"!==r||this.startRetryTimer(a);("disconnected"===r&&!i||"suspended"===r||s.terminal)&&Xn.Config.nextTick((()=>{this.disconnectAllTransports()})),"connected"!=r||this.activeProtocol||er.logAction(this.logger,er.LOG_ERROR,"ConnectionManager.notifyState()","Broken invariant: attempted to go into connected state, but there is no active protocol"),this.enactStateChange(o),this.state.sendEvents?this.sendQueuedMessages():this.state.queueEvents||(this.realtime.channels.propogateConnectionInterruption(r,o.reason),this.failQueuedMessages(o.reason))}requestState(t){var e,n;const r=t.state;if(r==this.state.state)return;if(this.cancelWebSocketSlowTimer(),this.cancelWebSocketGiveUpTimer(),this.cancelTransitionTimer(),this.cancelRetryTimer(),this.checkSuspendTimer(r),"connecting"==r&&"connected"==this.state.state)return;if("closing"==r&&"closed"==this.state.state)return;const i=this.states[r],s=new ki(this.state.state,i.state,null,t.error||(null==(n=(e=Ci)[i.state])?void 0:n.call(e)));this.enactStateChange(s),"connecting"==r&&Xn.Config.nextTick((()=>{this.startConnect()})),"closing"==r&&this.closeImpl()}startConnect(){if(this.state!==this.states.connecting)return;const t=this.realtime.auth,e=++this.connectCounter,n=()=>{this.checkConnectionStateFreshness(),this.getTransportParams((t=>{if("recover"===t.mode&&t.options.recover){const e=Di(t.options.recover);e&&this.realtime.channels.recoverChannels(e.channelSerials)}e===this.connectCounter&&this.connectImpl(t,e)}))};if(this.startSuspendTimer(),this.startTransitionTimer(this.states.connecting),"basic"===t.method)n();else{const r=t=>{e===this.connectCounter&&(t?this.actOnErrorFromAuthorize(t):n())};this.errorReason&&zr.isTokenErr(this.errorReason)?pr(t._forceNewToken(null,null),r):pr(t._ensureValidAuthCredentials(!1),r)}}connectImpl(t,e){if(this.state.state!==this.states.connecting.state)return;const n=this.getTransportPreference();n&&n===this.baseTransport&&this.webSocketTransportAvailable&&this.checkWsConnectivity().then((()=>{this.wsCheckResult=!0,this.abandonedWebSocket=!1,this.unpersistTransportPreference(),this.state===this.states.connecting&&(this.disconnectAllTransports(),this.connectWs(t,++this.connectCounter))})).catch($i),n&&n===this.baseTransport||this.baseTransport&&!this.webSocketTransportAvailable?this.connectBase(t,e):this.connectWs(t,e)}connectWs(t,e){this.startWebSocketSlowTimer(),this.startWebSocketGiveUpTimer(t),this.tryTransportWithFallbacks("web_socket",t,!0,e,(()=>!1!==this.wsCheckResult&&!this.abandonedWebSocket))}connectBase(t,e){this.baseTransport?this.tryTransportWithFallbacks(this.baseTransport,t,!1,e,(()=>!0)):this.notifyState({state:"disconnected",error:new rr("No transports left to try",8e4,404)})}tryTransportWithFallbacks(t,e,n,r,i){const s=t=>{this.notifyState({state:this.states.connecting.failState,error:t})},a=n?this.wsHosts.slice():this.httpHosts.slice(),o=(t,e)=>{r===this.connectCounter&&(i()?e||t||c():e&&e.dispose())},l=a.shift();if(!l)return void s(new rr("Unable to connect (no available host)",80003,404));e.host=l;const c=()=>{a.length?this.realtime.http.checkConnectivity?pr(this.realtime.http.checkConnectivity(),((n,l)=>{r===this.connectCounter&&i()&&(n?s(n):l?(e.host=ur(a),this.tryATransport(e,t,o)):s(new rr("Unable to connect (network unreachable)",80003,404)))})):s(new ir("Internal error: Http.checkConnectivity not set",null,500)):s(new rr("Unable to connect (and no more fallback hosts to try)",80003,404))};if(this.forceFallbackHost&&a.length)return this.forceFallbackHost=!1,void c();this.tryATransport(e,t,o)}closeImpl(){this.cancelSuspendTimer(),this.startTransitionTimer(this.states.closing),this.pendingTransport&&this.pendingTransport.close(),this.activeProtocol&&this.activeProtocol.getTransport().close(),this.notifyState({state:"closed"})}onAuthUpdated(t,e){var n;switch(this.state.state){case"connected":{const r=null==(n=this.activeProtocol)?void 0:n.getTransport();r&&r.onAuthUpdated&&r.onAuthUpdated(t);const i=vi({action:li.AUTH,auth:{accessToken:t.token}});this.send(i);const s=()=>{this.off(a),e(null,t)},a=t=>{"failed"===t.current&&(this.off(s),this.off(a),e(t.reason||this.getStateError()))};this.once("connectiondetails",s),this.on("connectionstate",a);break}case"connecting":this.disconnectAllTransports();default:{const n=r=>{switch(r.current){case"connected":this.off(n),e(null,t);break;case"failed":case"closed":case"suspended":this.off(n),e(r.reason||this.getStateError())}};this.on("connectionstate",n),"connecting"===this.state.state?this.startConnect():this.requestState({state:"connecting"})}}}disconnectAllTransports(){this.connectCounter++,this.pendingTransport&&this.pendingTransport.disconnect(),delete this.pendingTransport,this.proposedTransport&&this.proposedTransport.disconnect(),delete this.pendingTransport,this.activeProtocol&&this.activeProtocol.getTransport().disconnect()}send(t,e,n){n=n||$i;const r=this.state;if(r.sendEvents)return void this.sendImpl(new _i(t,n));if(e&&r.queueEvents)this.logger.shouldLog(er.LOG_MICRO),this.queue(t,n);else{const t="rejecting event, queueEvent was "+e+", state was "+r.state;n(this.errorReason||new rr(t,9e4,400))}}sendImpl(t){const e=t.message;t.ackRequired&&!t.sendAttempted&&(e.msgSerial=this.msgSerial++);try{this.activeProtocol.send(t)}catch(n){er.logAction(this.logger,er.LOG_ERROR,"ConnectionManager.sendImpl()","Unexpected exception in transport.send(): "+n.stack)}}queue(t,e){const n=this.queuedMessages.last(),r=this.options.maxMessageSize;n&&!n.sendAttempted&&function(t,e,n){let r;if(t.channel!==e.channel)return!1;if((r=t.action)!==li.PRESENCE&&r!==li.MESSAGE)return!1;if(r!==e.action)return!1;const i=r===li.PRESENCE?"presence":"messages",s=t[i].concat(e[i]);return!(Jr(s)>n||!function(t,e){if(0===t.length)return!0;const n=t[0][e];return t.every((function(t){return t[e]===n}))}(s,"clientId")||!s.every((function(t){return!t.id}))||(t[i]=s,0))}(n.message,t,r)?(n.merged||(n.callback=Ar.create(this.logger,[n.callback]),n.merged=!0),n.callback.push(e)):this.queuedMessages.push(new _i(t,e))}sendQueuedMessages(){let t;for(;t=this.queuedMessages.shift();)this.sendImpl(t)}queuePendingMessages(t){t&&t.length&&this.queuedMessages.prepend(t)}failQueuedMessages(t){const e=this.queuedMessages.count();e>0&&(er.logAction(this.logger,er.LOG_ERROR,"ConnectionManager.failQueuedMessages()","failing "+e+" queued messages, err = "+fr(t)),this.queuedMessages.completeAllMessages(t))}onChannelMessage(t,e){this.pendingChannelMessagesState.queue.push({message:t,transport:e}),this.pendingChannelMessagesState.isProcessing||this.processNextPendingChannelMessage()}processNextPendingChannelMessage(){if(this.pendingChannelMessagesState.queue.length>0){this.pendingChannelMessagesState.isProcessing=!0;const t=this.pendingChannelMessagesState.queue.shift();this.processChannelMessage(t.message).catch((t=>{er.logAction(this.logger,er.LOG_ERROR,"ConnectionManager.processNextPendingChannelMessage() received error ",t)})).finally((()=>{this.pendingChannelMessagesState.isProcessing=!1,this.processNextPendingChannelMessage()}))}}async processChannelMessage(t){await this.realtime.channels.processChannelMessage(t)}ping(t,e){if(t){const n=function(){t.off("heartbeat",s),e(new rr("Timeout waiting for heartbeat response",5e4,500))},r=Date.now(),i=String(Math.random()).substr(2),s=function(n){if(n===i){t.off("heartbeat",s),clearTimeout(a);const n=Date.now()-r;e(null,n)}},a=setTimeout(n,this.options.timeouts.realtimeRequestTimeout);return t.on("heartbeat",s),void t.ping(i)}if("connected"!==this.state.state)return void e(new rr("Unable to ping service; not connected",4e4,400));let n=!1;const r=()=>{n||(n=!0,Xn.Config.nextTick((()=>{this.ping(null,e)})))};this.on("transport.active",r),this.ping(this.activeProtocol.getTransport(),((t,i)=>{this.off("transport.active",r),n||(n=!0,e(t,i))}))}abort(t){this.activeProtocol.getTransport().fail(t)}getTransportPreference(){var t,e;return this.transportPreference||Ai()&&(null==(e=null==(t=Xn.WebStorage)?void 0:t.get)?void 0:e.call(t,Ii))}persistTransportPreference(t){var e,n;this.transportPreference=t.shortName,Ai()&&(null==(n=null==(e=Xn.WebStorage)?void 0:e.set)||n.call(e,Ii,t.shortName))}unpersistTransportPreference(){var t,e;this.transportPreference=null,Ai()&&(null==(e=null==(t=Xn.WebStorage)?void 0:t.remove)||e.call(t,Ii))}actOnErrorFromAuthorize(t){if(40171===t.code)this.notifyState({state:"failed",error:t});else if(40102===t.code)this.notifyState({state:"failed",error:t});else if(t.statusCode===Dr.Forbidden){const e="Client configured authentication provider returned 403; failing the connection";er.logAction(this.logger,er.LOG_ERROR,"ConnectionManager.actOnErrorFromAuthorize()",e),this.notifyState({state:"failed",error:new rr(e,80019,403,t)})}else{const e="Client configured authentication provider request failed";this.notifyState({state:this.state.failState,error:new rr(e,80019,401,t)})}}onConnectionDetailsUpdate(t,e){if(!t)return;this.connectionDetails=t,t.maxMessageSize&&(this.options.maxMessageSize=t.maxMessageSize);const n=t.clientId;if(n){const t=this.realtime.auth._uncheckedSetClientId(n);if(t)return er.logAction(this.logger,er.LOG_ERROR,"ConnectionManager.onConnectionDetailsUpdate()",t.message),void e.fail(t)}const r=t.connectionStateTtl;r&&(this.connectionStateTtl=r),this.maxIdleInterval=t.maxIdleInterval,this.emit("connectiondetails",t)}checkWsConnectivity(){const t=new Xn.Config.WebSocket(Er.wsConnectivityUrl);return new Promise(((e,n)=>{let r=!1;t.onopen=()=>{r||(r=!0,e(),t.close())},t.onclose=t.onerror=()=>{r||(r=!0,n())}}))}sessionRecoveryName(){return this.options.recoveryKeyStorageName||"ably-connection-recovery"}getSessionRecoverData(){var t,e;return Pi()&&(null==(e=null==(t=Xn.WebStorage)?void 0:t.getSession)?void 0:e.call(t,this.sessionRecoveryName()))}setSessionRecoverData(t){var e,n;return Pi()&&(null==(n=null==(e=Xn.WebStorage)?void 0:e.setSession)?void 0:n.call(e,this.sessionRecoveryName(),t))}clearSessionRecoverData(){var t,e;return Pi()&&(null==(e=null==(t=Xn.WebStorage)?void 0:t.removeSession)?void 0:e.call(t,this.sessionRecoveryName()))}},Hi=class extends oi{constructor(t,e){super(t.logger),this.whenState=t=>oi.prototype.whenState.call(this,t,this.state),this.ably=t,this.connectionManager=new Li(t,e),this.state=this.connectionManager.state.state,this.key=void 0,this.id=void 0,this.errorReason=null,this.connectionManager.on("connectionstate",(t=>{const e=this.state=t.current;Xn.Config.nextTick((()=>{this.emit(e,t)}))})),this.connectionManager.on("update",(t=>{Xn.Config.nextTick((()=>{this.emit("update",t)}))}))}connect(){this.connectionManager.requestState({state:"connecting"})}async ping(){return new Promise(((t,e)=>{this.connectionManager.ping(null,((n,r)=>n?e(n):t(r)))}))}close(){this.connectionManager.requestState({state:"closing"})}get recoveryKey(){return this.logger.deprecationWarning("The `Connection.recoveryKey` attribute has been replaced by the `Connection.createRecoveryKey()` method. Replace your usage of `recoveryKey` with the return value of `createRecoveryKey()`. `recoveryKey` will be removed in a future version."),this.createRecoveryKey()}createRecoveryKey(){return this.connectionManager.createRecoveryKey()}},Fi=class{constructor(t,e,n,r,i){this.previous=t,this.current=e,"attached"===e&&(this.resumed=n,this.hasBacklog=r),i&&(this.reason=i)}},Vi=function(){};function zi(t){const e=((t,e)=>{var n={};for(var r in t)qn.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&Bn)for(var r of Bn(t))e.indexOf(r)<0&&Wn.call(t,r)&&(n[r]=t[r]);return n})(t||{},["agent"]);return e}var ji=class t extends oi{constructor(t,e,n){var r;super(t.logger),this.retryCount=0,this.history=async function(t){const e=this.client.rest.channelMixin;if(t&&t.untilAttach){if("attached"!==this.state)throw new rr("option untilAttach requires the channel to be attached",4e4,400);if(!this.properties.attachSerial)throw new rr("untilAttach was specified and channel is attached, but attachSerial is not defined",4e4,400);delete t.untilAttach,t.from_serial=this.properties.attachSerial}return e.history(this,t)},this.whenState=t=>oi.prototype.whenState.call(this,t,this.state),this.name=e,this.channelOptions=Cr(null!=(r=t._Crypto)?r:null,this.logger,n),this.client=t,this._presence=t._RealtimePresence?new t._RealtimePresence.RealtimePresence(this):null,this.connectionManager=t.connection.connectionManager,this.state="initialized",this.subscriptions=new oi(this.logger),this.syncChannelSerial=void 0,this.properties={attachSerial:void 0,channelSerial:void 0},this.setOptions(n),this.errorReason=null,this._requestedFlags=null,this._mode=null,this._attachResume=!1,this._decodingContext={channelOptions:this.channelOptions,plugins:t.options.plugins||{},baseEncodedPreviousPayload:void 0},this._lastPayload={messageId:null,protocolMessageChannelSerial:null,decodeFailureRecoveryInProgress:null},this._allChannelChanges=new oi(this.logger)}get presence(){return this._presence||yr("RealtimePresence"),this._presence}invalidStateError(){return new rr("Channel operation failed as channel state is "+this.state,90001,400,this.errorReason||void 0)}static processListenerArgs(t){return"function"==typeof(t=Array.prototype.slice.call(t))[0]&&t.unshift(null),t}async setOptions(t){var e;const n=this.channelOptions,r=function(t){if(t&&"params"in t&&!or(t.params))return new rr("options.params must be an object",4e4,400);if(t&&"modes"in t){if(!Array.isArray(t.modes))return new rr("options.modes must be an array",4e4,400);for(let e=0;e<t.modes.length;e++){const n=t.modes[e];if(!n||"string"!=typeof n||!fi.includes(String.prototype.toUpperCase.call(n)))return new rr("Invalid channel mode: "+n,4e4,400)}}}(t);if(r)throw r;if(this.channelOptions=Cr(null!=(e=this.client._Crypto)?e:null,this.logger,t),this._decodingContext&&(this._decodingContext.channelOptions=this.channelOptions),this._shouldReattachToSetOptions(t,n))return this.attachImpl(),new Promise(((t,e)=>{this._allChannelChanges.once(["attached","update","detached","failed"],(function(n){switch(this.event){case"update":case"attached":t();break;default:e(n.reason)}}))}))}_shouldReattachToSetOptions(t,e){if("attached"!==this.state&&"attaching"!==this.state)return!1;if(null==t?void 0:t.params){const n=zi(t.params),r=zi(e.params);if(Object.keys(n).length!==Object.keys(r).length)return!0;if(!function(t,e){return Object.keys(t).every((n=>t[n]===e[n]))&&Object.keys(e).every((n=>e[n]===t[n]))}(r,n))return!0}return!(!(null==t?void 0:t.modes)||e.modes&&function(t,e){return t.length===e.length&&t.every((function(t,n){return t===e[n]}))}(t.modes,e.modes))}async publish(...t){let e=t[0],n=t.length;if(!this.connectionManager.activeState())throw this.connectionManager.getError();if(1==n)if(or(e))e=[Xr(e)];else{if(!Array.isArray(e))throw new rr("The single-argument form of publish() expects a message object or an array of message objects",40013,400);e=Qr(e)}else e=[Xr({name:t[0],data:t[1]})];const r=this.client.options.maxMessageSize;await async function(t,e){return Promise.all(t.map((t=>Gr(t,e))))}(e,this.channelOptions);const i=Jr(e);if(i>r)throw new rr("Maximum size of messages that can be published at once exceeded ( was "+i+" bytes; limit is "+r+" bytes)",40009,400);return new Promise(((t,n)=>{this._publish(e,(e=>e?n(e):t()))}))}_publish(t,e){switch(this.state){case"failed":case"suspended":e(rr.fromValues(this.invalidStateError()));break;default:{const n=new bi;n.action=li.MESSAGE,n.channel=this.name,n.messages=t,this.sendMessage(n,e);break}}}onEvent(t){const e=this.subscriptions;for(let n=0;n<t.length;n++){const r=t[n];e.emit(r.name,r)}}async attach(){return"attached"===this.state?null:new Promise(((t,e)=>{this._attach(!1,null,((n,r)=>n?e(n):t(r)))}))}_attach(t,e,n){n||(n=t=>{t&&er.logAction(this.logger,er.LOG_ERROR,"RealtimeChannel._attach()","Channel attach failed: "+t.toString())});const r=this.connectionManager;r.activeState()?(("attaching"!==this.state||t)&&this.requestState("attaching",e),this.once((function(t){switch(this.event){case"attached":null==n||n(null,t);break;case"detached":case"suspended":case"failed":null==n||n(t.reason||r.getError()||new rr("Unable to attach; reason unknown; state = "+this.event,9e4,500));break;case"detaching":null==n||n(new rr("Attach request superseded by a subsequent detach request",9e4,409))}}))):n(r.getError())}attachImpl(){const t=vi({action:li.ATTACH,channel:this.name,params:this.channelOptions.params,channelSerial:this.properties.channelSerial});this._requestedFlags?t.encodeModesToFlags(this._requestedFlags):this.channelOptions.modes&&t.encodeModesToFlags(function(t){return t.map((function(t){return t&&t.toUpperCase()}))}(this.channelOptions.modes)),this._attachResume&&t.setFlag("ATTACH_RESUME"),this._lastPayload.decodeFailureRecoveryInProgress&&(t.channelSerial=this._lastPayload.protocolMessageChannelSerial),this.sendMessage(t,Vi)}async detach(){const t=this.connectionManager;if(!t.activeState())throw t.getError();switch(this.state){case"suspended":return void this.notifyState("detached");case"detached":return;case"failed":throw new rr("Unable to detach; channel state = failed",90001,400);default:this.requestState("detaching");case"detaching":return new Promise(((e,n)=>{this.once((function(r){switch(this.event){case"detached":e();break;case"attached":case"suspended":case"failed":n(r.reason||t.getError()||new rr("Unable to detach; reason unknown; state = "+this.event,9e4,500));break;case"attaching":n(new rr("Detach request superseded by a subsequent attach request",9e4,409))}}))}))}}detachImpl(t){const e=vi({action:li.DETACH,channel:this.name});this.sendMessage(e,t||Vi)}async subscribe(...e){const[n,r]=t.processListenerArgs(e);if("failed"===this.state)throw rr.fromValues(this.invalidStateError());return n&&"object"==typeof n&&!Array.isArray(n)?this.client._FilteredSubscriptions.subscribeFilter(this,n,r):this.subscriptions.on(n,r),this.attach()}unsubscribe(...e){var n;const[r,i]=t.processListenerArgs(e);"object"==typeof r&&!i||(null==(n=this.filteredSubscriptions)?void 0:n.has(i))?this.client._FilteredSubscriptions.getAndDeleteFilteredSubscriptions(this,r,i).forEach((t=>this.subscriptions.off(t))):this.subscriptions.off(r,i)}sync(){switch(this.state){case"initialized":case"detaching":case"detached":throw new ir("Unable to sync to channel; not attached",4e4)}const t=this.connectionManager;if(!t.activeState())throw t.getError();const e=vi({action:li.SYNC,channel:this.name});this.syncChannelSerial&&(e.channelSerial=this.syncChannelSerial),t.send(e)}sendMessage(t,e){this.connectionManager.send(t,this.client.options.queueMessages,e)}sendPresence(t,e){const n=vi({action:li.PRESENCE,channel:this.name,presence:Array.isArray(t)?this.client._RealtimePresence.presenceMessagesFromValuesArray(t):[this.client._RealtimePresence.presenceMessageFromValues(t)]});this.sendMessage(n,e)}async processMessage(t){t.action!==li.ATTACHED&&t.action!==li.MESSAGE&&t.action!==li.PRESENCE||this.setChannelSerial(t.channelSerial);let e,n=!1;switch(t.action){case li.ATTACHED:{this.properties.attachSerial=t.channelSerial,this._mode=t.getMode(),this.params=t.params||{};const e=t.decodeModesFromFlags();this.modes=e&&function(t){return t.map((function(t){return t&&t.toLowerCase()}))}(e)||void 0;const n=t.hasFlag("RESUMED"),r=t.hasFlag("HAS_PRESENCE"),i=t.hasFlag("HAS_BACKLOG");if("attached"===this.state){n||this._presence&&this._presence.onAttached(r);const e=new Fi(this.state,this.state,n,i,t.error);this._allChannelChanges.emit("update",e),n&&!this.channelOptions.updateOnAttached||this.emit("update",e)}else"detaching"===this.state?this.checkPendingState():this.notifyState("attached",t.error,n,r,i);break}case li.DETACHED:{const e=t.error?rr.fromValues(t.error):new rr("Channel detached",90001,404);"detaching"===this.state?this.notifyState("detached",e):"attaching"===this.state?this.notifyState("suspended",e):this.requestState("attaching",e);break}case li.SYNC:if(n=!0,e=this.syncChannelSerial=t.channelSerial,!t.presence)break;case li.PRESENCE:{const i=t.presence;if(!i)break;const{id:s,connectionId:a,timestamp:o}=t,l=this.channelOptions;let c;for(let t=0;t<i.length;t++)try{c=i[t],await ri(c,l),c.connectionId||(c.connectionId=a),c.timestamp||(c.timestamp=o),c.id||(c.id=s+":"+t)}catch(r){er.logAction(this.logger,er.LOG_ERROR,"RealtimeChannel.processMessage()",r.toString())}this._presence&&this._presence.setPresence(i,n,e);break}case li.MESSAGE:{if("attached"!==this.state)return;const e=t.messages,n=e[0],i=e[e.length-1],s=t.id,a=t.connectionId,o=t.timestamp;if(n.extras&&n.extras.delta&&n.extras.delta.from!==this._lastPayload.messageId){const e='Delta message decode failure - previous message not available for message "'+t.id+'" on this channel "'+this.name+'".';er.logAction(this.logger,er.LOG_ERROR,"RealtimeChannel.processMessage()",e),this._startDecodeFailureRecovery(new rr(e,40018,400));break}for(let t=0;t<e.length;t++){const n=e[t];try{await Kr(n,this._decodingContext)}catch(r){switch(er.logAction(this.logger,er.LOG_ERROR,"RealtimeChannel.processMessage()",r.toString()),r.code){case 40018:return void this._startDecodeFailureRecovery(r);case 40019:case 40021:return void this.notifyState("failed",r)}}n.connectionId||(n.connectionId=a),n.timestamp||(n.timestamp=o),n.id||(n.id=s+":"+t)}this._lastPayload.messageId=i.id,this._lastPayload.protocolMessageChannelSerial=t.channelSerial,this.onEvent(e);break}case li.ERROR:{const e=t.error;e&&80016==e.code?this.checkPendingState():this.notifyState("failed",rr.fromValues(e));break}default:er.logAction(this.logger,er.LOG_ERROR,"RealtimeChannel.processMessage()","Fatal protocol error: unrecognised action ("+t.action+")"),this.connectionManager.abort(Ci.unknownChannelErr())}}_startDecodeFailureRecovery(t){this._lastPayload.decodeFailureRecoveryInProgress||(this._lastPayload.decodeFailureRecoveryInProgress=!0,this._attach(!0,t,(()=>{this._lastPayload.decodeFailureRecoveryInProgress=!1})))}onAttached(){}notifyState(t,e,n,r,i){if(this.clearStateTimer(),["detached","suspended","failed"].includes(t)&&(this.properties.channelSerial=null),t===this.state)return;this._presence&&this._presence.actOnChannelState(t,r,e),"suspended"===t&&this.connectionManager.state.sendEvents?this.startRetryTimer():this.cancelRetryTimer(),e&&(this.errorReason=e);const s=new Fi(this.state,t,n,i,e),a='Channel state for channel "'+this.name+'"',o=t+(e?"; reason: "+e:"");"failed"===t&&er.logAction(this.logger,er.LOG_ERROR,a,o),"attaching"!==t&&"suspended"!==t&&(this.retryCount=0),"attached"===t&&this.onAttached(),"attached"===t?this._attachResume=!0:"detaching"!==t&&"failed"!==t||(this._attachResume=!1),this.state=t,this._allChannelChanges.emit(t,s),this.emit(t,s)}requestState(t,e){this.notifyState(t,e),this.checkPendingState()}checkPendingState(){if(this.connectionManager.state.sendEvents)switch(this.state){case"attaching":this.startStateTimerIfNotRunning(),this.attachImpl();break;case"detaching":this.startStateTimerIfNotRunning(),this.detachImpl();break;case"attached":this.sync()}}timeoutPendingState(){switch(this.state){case"attaching":{const t=new rr("Channel attach timed out",90007,408);this.notifyState("suspended",t);break}case"detaching":{const t=new rr("Channel detach timed out",90007,408);this.notifyState("attached",t);break}default:this.checkPendingState()}}startStateTimerIfNotRunning(){this.stateTimer||(this.stateTimer=setTimeout((()=>{this.stateTimer=null,this.timeoutPendingState()}),this.client.options.timeouts.realtimeRequestTimeout))}clearStateTimer(){const t=this.stateTimer;t&&(clearTimeout(t),this.stateTimer=null)}startRetryTimer(){if(this.retryTimer)return;this.retryCount++;const t=gr(this.client.options.timeouts.channelRetryTimeout,this.retryCount);this.retryTimer=setTimeout((()=>{"suspended"===this.state&&this.connectionManager.state.sendEvents&&(this.retryTimer=null,this.requestState("attaching"))}),t)}cancelRetryTimer(){this.retryTimer&&(clearTimeout(this.retryTimer),this.retryTimer=null)}getReleaseErr(){const t=this.state;return"initialized"===t||"detached"===t||"failed"===t?null:new rr("Can only release a channel in a state where there is no possibility of further updates from the server being received (initialized, detached, or failed); was "+t,90001,400)}setChannelSerial(t){t&&(this.properties.channelSerial=t)}async status(){return this.client.rest.channelMixin.status(this)}},Ui=class extends oi{constructor(t){super(t.logger),this.realtime=t,this.all=Object.create(null),t.connection.connectionManager.on("transport.active",(()=>{this.onTransportActive()}))}channelSerials(){let t={};for(const e of cr(this.all)){const n=this.all[e];n.properties.channelSerial&&(t[e]=n.properties.channelSerial)}return t}recoverChannels(t){for(const e of cr(t)){this.get(e).properties.channelSerial=t[e]}}async processChannelMessage(t){const e=t.channel;if(void 0===e)return void er.logAction(this.logger,er.LOG_ERROR,"Channels.processChannelMessage()","received event unspecified channel, action = "+t.action);const n=this.all[e];n?await n.processMessage(t):er.logAction(this.logger,er.LOG_ERROR,"Channels.processChannelMessage()","received event for non-existent channel: "+e)}onTransportActive(){for(const t in this.all){const e=this.all[t];"attaching"===e.state||"detaching"===e.state?e.checkPendingState():"suspended"===e.state?e._attach(!1,null):"attached"===e.state&&e.requestState("attaching")}}propogateConnectionInterruption(t,e){const n=["attaching","attached","detaching","suspended"],r={closing:"detached",closed:"detached",failed:"failed",suspended:"suspended"}[t];for(const i in this.all){const t=this.all[i];n.includes(t.state)&&t.notifyState(r,e)}}get(t,e){t=String(t);let n=this.all[t];if(n){if(e){if(n._shouldReattachToSetOptions(e,n.channelOptions))throw new rr("Channels.get() cannot be used to set channel options that would cause the channel to reattach. Please, use RealtimeChannel.setOptions() instead.",4e4,400);n.setOptions(e)}}else n=this.all[t]=new ji(this.realtime,t,e);return n}getDerived(t,e,n){if(e.filter){const n=mr(e.filter),r=function(t){const e=t.match(/^(\[([^?]*)(?:(.*))\])?(.+)$/);if(!e||!e.length||e.length<5)throw new rr("regex match failed",400,40010);if(e[2])throw new rr(`cannot use a derived option with a ${e[2]} channel`,400,40010);return{qualifierParam:e[3]||"",channelName:e[4]}}(t);t=`[filter=${n}${r.qualifierParam}]${r.channelName}`}return this.get(t,n)}release(t){t=String(t);const e=this.all[t];if(!e)return;const n=e.getReleaseErr();if(n)throw n;delete this.all[t]}},Bi=class t extends Wr{constructor(e){var n,r;if(super(Er.objectifyOptions(e,!1,"BaseRealtime",er.defaultLogger)),"string"==typeof EdgeRuntime)throw new rr('Ably.Realtime instance cannot be used in Vercel Edge runtime. If you are running Vercel Edge functions, please replace your "new Ably.Realtime()" with "new Ably.Rest()" and use Ably Rest API instead of the Realtime API. If you are server-rendering your application in the Vercel Edge runtime, please use the condition "if (typeof EdgeRuntime === \'string\')" to prevent instantiating Ably.Realtime instance during SSR in the Vercel Edge runtime.',4e4,400);this._additionalTransportImplementations=t.transportImplementationsFromPlugins(this.options.plugins),this._RealtimePresence=null!=(r=null==(n=this.options.plugins)?void 0:n.RealtimePresence)?r:null,this.connection=new Hi(this,this.options),this._channels=new Ui(this),!1!==this.options.autoConnect&&this.connect()}static transportImplementationsFromPlugins(t){const e={};return(null==t?void 0:t.WebSocketTransport)&&(e[Ti.WebSocket]=t.WebSocketTransport),(null==t?void 0:t.XHRPolling)&&(e[Ti.XhrPolling]=t.XHRPolling),e}get channels(){return this._channels}connect(){this.connection.connect()}close(){this.connection.close()}},qi=Uint8Array,Wi=Uint32Array,Yi=Math.pow,Gi=new Wi(8),Ki=[],Xi=new Wi(64);function Qi(t){return(t-(0|t))*Yi(2,32)|0}for(var Ji,Zi,ts=2,es=0;es<64;){for(Ji=!0,Zi=2;Zi<=ts/2;Zi++)ts%Zi==0&&(Ji=!1);Ji&&(es<8&&(Gi[es]=Qi(Yi(ts,.5))),Ki[es]=Qi(Yi(ts,1/3)),es++),ts++}var ns=!!new qi(new Wi([1]).buffer)[0];function rs(t){return ns?t>>>24|(t>>>16&255)<<8|(65280&t)<<8|t<<24:t}function is(t,e){return t>>>e|t<<32-e}function ss(t){var e,n=Gi.slice(),r=t.length,i=8*r,s=512-(i+64)%512-1+i+65,a=new qi(s/8),o=new Wi(a.buffer);a.set(t,0),a[r]=128,o[o.length-1]=rs(i);for(var l=0;l<s/32;l+=16){var c=n.slice();for(e=0;e<64;e++){var u;if(e<16)u=rs(o[l+e]);else{var h=Xi[e-15],d=Xi[e-2];u=Xi[e-7]+Xi[e-16]+(is(h,7)^is(h,18)^h>>>3)+(is(d,17)^is(d,19)^d>>>10)}Xi[e]=u|=0;for(var f=(is(c[4],6)^is(c[4],11)^is(c[4],25))+(c[4]&c[5]^~c[4]&c[6])+c[7]+u+Ki[e],p=(is(c[0],2)^is(c[0],13)^is(c[0],22))+(c[0]&c[1]^c[2]&(c[0]^c[1])),g=7;g>0;g--)c[g]=c[g-1];c[0]=f+p|0,c[4]=c[4]+f|0}for(e=0;e<8;e++)n[e]=n[e]+c[e]|0}return new qi(new Wi(n.map((function(t){return rs(t)}))).buffer)}var as,os=new class{constructor(){this.base64CharSet="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",this.hexCharSet="0123456789abcdef"}uint8ViewToBase64(t){let e="";const n=this.base64CharSet,r=t.byteLength,i=r%3,s=r-i;let a,o,l,c,u;for(let h=0;h<s;h+=3)u=t[h]<<16|t[h+1]<<8|t[h+2],a=(16515072&u)>>18,o=(258048&u)>>12,l=(4032&u)>>6,c=63&u,e+=n[a]+n[o]+n[l]+n[c];return 1==i?(u=t[s],a=(252&u)>>2,o=(3&u)<<4,e+=n[a]+n[o]+"=="):2==i&&(u=t[s]<<8|t[s+1],a=(64512&u)>>10,o=(1008&u)>>4,l=(15&u)<<2,e+=n[a]+n[o]+n[l]+"="),e}base64ToArrayBuffer(t){const e=null==atob?void 0:atob(t),n=e.length,r=new Uint8Array(n);for(let i=0;i<n;i++){const t=e.charCodeAt(i);r[i]=t}return this.toArrayBuffer(r)}isBuffer(t){return t instanceof ArrayBuffer||ArrayBuffer.isView(t)}toBuffer(t){if(!ArrayBuffer)throw new Error("Can't convert to Buffer: browser does not support the necessary types");if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(this.toArrayBuffer(t));throw new Error("BufferUtils.toBuffer expected an ArrayBuffer or a view onto one")}toArrayBuffer(t){if(!ArrayBuffer)throw new Error("Can't convert to ArrayBuffer: browser does not support the necessary types");if(t instanceof ArrayBuffer)return t;if(ArrayBuffer.isView(t))return t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength);throw new Error("BufferUtils.toArrayBuffer expected an ArrayBuffer or a view onto one")}base64Encode(t){return this.uint8ViewToBase64(this.toBuffer(t))}base64Decode(t){if(ArrayBuffer&&Xn.Config.atob)return this.base64ToArrayBuffer(t);throw new Error("Expected ArrayBuffer to exist and Platform.Config.atob to be configured")}hexEncode(t){return this.toBuffer(t).reduce(((t,e)=>t+e.toString(16).padStart(2,"0")),"")}hexDecode(t){if(t.length%2!=0)throw new Error("Can't create a byte array from a hex string of odd length");const e=new Uint8Array(t.length/2);for(let n=0;n<e.length;n++)e[n]=parseInt(t.slice(2*n,2*(n+1)),16);return this.toArrayBuffer(e)}utf8Encode(t){if(Xn.Config.TextEncoder){const e=(new Xn.Config.TextEncoder).encode(t);return this.toArrayBuffer(e)}throw new Error("Expected TextEncoder to be configured")}utf8Decode(t){if(!this.isBuffer(t))throw new Error("Expected input of utf8decode to be an arraybuffer or typed array");if(TextDecoder)return(new TextDecoder).decode(t);throw new Error("Expected TextDecoder to be configured")}areBuffersEqual(t,e){if(!t||!e)return!1;const n=this.toArrayBuffer(t),r=this.toArrayBuffer(e);if(n.byteLength!=r.byteLength)return!1;const i=new Uint8Array(n),s=new Uint8Array(r);for(var a=0;a<i.length;a++)if(i[a]!=s[a])return!1;return!0}byteLength(t){return t instanceof ArrayBuffer||ArrayBuffer.isView(t)?t.byteLength:-1}arrayBufferViewToBuffer(t){return this.toArrayBuffer(t)}hmacSha256(t,e){const n=function(t,e){if(t.length>64&&(t=ss(t)),t.length<64){const e=new Uint8Array(64);e.set(t,0),t=e}for(var n=new Uint8Array(64),r=new Uint8Array(64),i=0;i<64;i++)n[i]=54^t[i],r[i]=92^t[i];var s=new Uint8Array(e.length+64);s.set(n,0),s.set(e,64);var a=new Uint8Array(96);return a.set(r,0),a.set(ss(s),64),ss(a)}(this.toBuffer(e),this.toBuffer(t));return this.toArrayBuffer(n)}},ls=(t=>(t[t.REQ_SEND=0]="REQ_SEND",t[t.REQ_RECV=1]="REQ_RECV",t[t.REQ_RECV_POLL=2]="REQ_RECV_POLL",t[t.REQ_RECV_STREAM=3]="REQ_RECV_STREAM",t))(ls||{}),cs=ls;function us(){return new rr("No HTTP request plugin provided. Provide at least one of the FetchRequest or XHRRequest plugins.",400,4e4)}var hs=(as=class{constructor(t){var e;this.checksInProgress=null,this.checkConnectivity=void 0,this.supportsAuthHeaders=!1,this.supportsLinkHeaders=!1,this.client=null!=t?t:null;const n=(null==t?void 0:t.options.connectivityCheckUrl)||Er.connectivityCheckUrl,r=null!=(e=null==t?void 0:t.options.connectivityCheckParams)?e:null,i=!(null==t?void 0:t.options.connectivityCheckUrl),s=Gn(Gn({},hs.bundledRequestImplementations),null==t?void 0:t._additionalHTTPRequestImplementations),a=s.XHRRequest,o=s.FetchRequest,l=!(!a&&!o);if(!l)throw us();Xn.Config.xhrSupported&&a?(this.supportsAuthHeaders=!0,this.Request=async function(e,n,r,i,s){return new Promise((o=>{var l;const c=a.createRequest(n,r,i,s,cs.REQ_SEND,null!=(l=t&&t.options.timeouts)?l:null,this.logger,e);c.once("complete",((t,e,n,r,i)=>o({error:t,body:e,headers:n,unpacked:r,statusCode:i}))),c.exec()}))},(null==t?void 0:t.options.disableConnectivityCheck)?this.checkConnectivity=async function(){return!0}:this.checkConnectivity=async function(){var t;const e=await this.doUri($r.Get,n,null,null,r);let s=!1;return s=i?!e.error&&"yes"==(null==(t=e.body)?void 0:t.replace(/\n/,"")):!e.error&&function(t){return t>=200&&t<400}(e.statusCode),s}):Xn.Config.fetchSupported&&o?(this.supportsAuthHeaders=!0,this.Request=async(e,n,r,i,s)=>o(e,null!=t?t:null,n,r,i,s),this.checkConnectivity=async function(){var t;const e=await this.doUri($r.Get,n,null,null,null);return!e.error&&"yes"==(null==(t=e.body)?void 0:t.replace(/\n/,""))}):this.Request=async()=>({error:l?new ir("no supported HTTP transports available",null,400):us()})}get logger(){var t,e;return null!=(e=null==(t=this.client)?void 0:t.logger)?e:er.defaultLogger}async doUri(t,e,n,r,i){return this.Request?this.Request(t,e,n,i,r):{error:new ir("Request invoked before assigned to",null,500)}}shouldFallback(t){const e=t.statusCode;return 408===e&&!t.code||400===e&&!t.code||e>=500&&e<=504}},as.methods=[$r.Get,$r.Delete,$r.Post,$r.Put,$r.Patch],as.methodsWithoutBody=[$r.Get,$r.Delete],as.methodsWithBody=[$r.Post,$r.Put,$r.Patch],as),ds=hs,fs=vr();var ps={agent:"browser",logTimestamps:!0,userAgent:fs.navigator&&fs.navigator.userAgent.toString(),currentUrl:fs.location&&fs.location.href,binaryType:"arraybuffer",WebSocket:fs.WebSocket,fetchSupported:!!fs.fetch,xhrSupported:fs.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,allowComet:function(){const t=fs.location;return!fs.WebSocket||!t||!t.origin||t.origin.indexOf("http")>-1}(),useProtocolHeartbeats:!0,supportsBinary:!!fs.TextDecoder,preferBinary:!1,ArrayBuffer:fs.ArrayBuffer,atob:fs.atob,nextTick:void 0!==fs.setImmediate?fs.setImmediate.bind(fs):function(t){setTimeout(t,0)},addEventListener:fs.addEventListener,inspect:JSON.stringify,stringByteSize:function(t){return fs.TextDecoder&&(new fs.TextEncoder).encode(t).length||t.length},TextEncoder:fs.TextEncoder,TextDecoder:fs.TextDecoder,getRandomArrayBuffer:async function(t){const e=new Uint8Array(t);return fs.crypto.getRandomValues(e),e.buffer},isWebworker:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope},gs=ps;Ti.XhrPolling;var vs=Ti.WebSocket;var ms=class extends Ei{constructor(t,e,n){super(t,e,n),this.shortName=vs,n.heartbeats=Xn.Config.useProtocolHeartbeats,this.wsHost=n.host}static isAvailable(){return!!Xn.Config.WebSocket}createWebSocket(t,e){return this.uri=t+hr(e),new Xn.Config.WebSocket(this.uri)}toString(){return"WebSocketTransport; uri="+this.uri}connect(){Ei.prototype.connect.call(this);const t=this,e=this.params,n=e.options,r=(n.tls?"wss://":"ws://")+this.wsHost+":"+Er.getPort(n)+"/";pr(this.auth.getAuthParams(),(function(n,i){if(t.isDisposed)return;let s="";for(const t in i)s+=" "+t+": "+i[t]+";";if(n)return void t.disconnect(n);const a=e.getConnectParams(i);try{const e=t.wsConnection=t.createWebSocket(r,a);e.binaryType=Xn.Config.binaryType,e.onopen=function(){t.onWsOpen()},e.onclose=function(e){t.onWsClose(e)},e.onmessage=function(e){t.onWsData(e.data)},e.onerror=function(e){t.onWsError(e)},function(t){return!!t.on}(e)&&e.on("ping",(function(){t.onActivity()}))}catch(o){er.logAction(t.logger,er.LOG_ERROR,"WebSocketTransport.connect()","Unexpected exception creating websocket: err = "+(o.stack||o.message)),t.disconnect(o)}}))}send(t){const e=this.wsConnection;if(e)try{e.send(pi(t,this.connectionManager.realtime._MsgPack,this.params.format))}catch(n){const t="Exception from ws connection when trying to send: "+fr(n);er.logAction(this.logger,er.LOG_ERROR,"WebSocketTransport.send()",t),this.finish("disconnected",new rr(t,5e4,500))}else er.logAction(this.logger,er.LOG_ERROR,"WebSocketTransport.send()","No socket connection")}onWsData(t){try{this.onProtocolMessage(gi(t,this.connectionManager.realtime._MsgPack,this.connectionManager.realtime._RealtimePresence,this.format))}catch(e){er.logAction(this.logger,er.LOG_ERROR,"WebSocketTransport.onWsData()","Unexpected exception handing channel message: "+e.stack)}}onWsOpen(){this.emit("preconnect")}onWsClose(t){let e,n;if("object"==typeof t?(n=t.code,e=t.wasClean||1e3===n):(n=t,e=1e3==n),delete this.wsConnection,e){const t=new rr("Websocket closed",80003,400);this.finish("disconnected",t)}else{const t=new rr("Unclean disconnection of WebSocket ; code = "+n,80003,400);this.finish("disconnected",t)}this.emit("disposed")}onWsError(t){Xn.Config.nextTick((()=>{this.disconnect(Error(t.message))}))}dispose(){this.isDisposed=!0;const t=this.wsConnection;t&&(t.onmessage=function(){},delete this.wsConnection,Xn.Config.nextTick((()=>{if(!t)throw new Error("WebSocketTransport.dispose(): wsConnection is not defined");t.close()})))}},ys={order:["xhr_polling"],bundledImplementations:{}},bs="ablyjs-storage-test",ws="undefined"!=typeof global?global:"undefined"!=typeof window?window:self,_s=new class{constructor(){try{ws.sessionStorage.setItem(bs,bs),ws.sessionStorage.removeItem(bs),this.sessionSupported=!0}catch(Or){this.sessionSupported=!1}try{ws.localStorage.setItem(bs,bs),ws.localStorage.removeItem(bs),this.localSupported=!0}catch(Or){this.localSupported=!1}}get(t){return this._get(t,!1)}getSession(t){return this._get(t,!0)}remove(t){return this._remove(t,!1)}removeSession(t){return this._remove(t,!0)}set(t,e,n){return this._set(t,e,n,!1)}setSession(t,e,n){return this._set(t,e,n,!0)}_set(t,e,n,r){const i={value:e};return n&&(i.expires=Date.now()+n),this.storageInterface(r).setItem(t,JSON.stringify(i))}_get(t,e){if(e&&!this.sessionSupported)throw new Error("Session Storage not supported");if(!e&&!this.localSupported)throw new Error("Local Storage not supported");const n=this.storageInterface(e).getItem(t);if(!n)return null;const r=JSON.parse(n);return r.expires&&r.expires<Date.now()?(this.storageInterface(e).removeItem(t),null):r.value}_remove(t,e){return this.storageInterface(e).removeItem(t)}storageInterface(t){return t?ws.sessionStorage:ws.localStorage}},xs={connectivityCheckUrl:"https://internet-up.ably-realtime.com/is-the-internet-up.txt",wsConnectivityUrl:"wss://ws-up.ably-realtime.com",defaultTransports:[Ti.XhrPolling,Ti.WebSocket]};async function ks(t,e,n,r,i,s){const a=new Headers(r||{}),o=t?t.toUpperCase():lr(s)?"GET":"POST",l=new AbortController;let c;const u=new Promise((t=>{c=setTimeout((()=>{l.abort(),t({error:new ir("Request timed out",null,408)})}),e?e.options.timeouts.httpRequestTimeout:Er.TIMEOUTS.httpRequestTimeout)})),h={method:o,headers:a,body:s,signal:l.signal};Xn.Config.isWebworker||(h.credentials=a.has("authorization")?"include":"same-origin");const d=(async()=>{try{const t=await vr().fetch(n+"?"+new URLSearchParams(i||{}),h);if(clearTimeout(c),204==t.status)return{error:null,statusCode:t.status};const e=t.headers.get("Content-Type");let r;r=e&&e.indexOf("application/x-msgpack")>-1?await t.arrayBuffer():e&&e.indexOf("application/json")>-1?await t.json():await t.text();const s=!!e&&-1===e.indexOf("application/x-msgpack"),a=function(t){const e={};return t.forEach(((t,n)=>{e[n]=t})),e}(t.headers);if(t.ok)return{error:null,body:r,headers:a,unpacked:s,statusCode:t.status};{const e=function(t,e){if(function(t,e){return!!e.get("x-ably-errorcode")}(0,e))return t.error&&rr.fromValues(t.error)}(r,t.headers)||new ir("Error response received from server: "+t.status+" body was: "+Xn.Config.inspect(r),null,t.status);return{error:e,body:r,headers:a,unpacked:s,statusCode:t.status}}}catch(t){return clearTimeout(c),{error:t}}})();return Promise.race([u,d])}function Ss(t){const e=t.channel.client,n=e.auth.clientId;return(!n||"*"===n)&&"connected"===e.connection.state}function Ts(t,e){if(t.isSynthesized()||e.isSynthesized())return t.timestamp>=e.timestamp;const n=t.parseId(),r=e.parseId();return n.msgSerial===r.msgSerial?n.index>r.index:n.msgSerial>r.msgSerial}var Cs=class extends oi{constructor(t,e){super(t.logger),this.presence=t,this.map=Object.create(null),this.syncInProgress=!1,this.residualMembers=null,this.memberKey=e}get(t){return this.map[t]}getClient(t){const e=this.map,n=[];for(const r in e){const i=e[r];i.clientId==t&&"absent"!=i.action&&n.push(i)}return n}list(t){const e=this.map,n=t&&t.clientId,r=t&&t.connectionId,i=[];for(const s in e){const t=e[s];"absent"!==t.action&&(n&&n!=t.clientId||r&&r!=t.connectionId||i.push(t))}return i}put(t){"enter"!==t.action&&"update"!==t.action||((t=ni(t)).action="present");const e=this.map,n=this.memberKey(t);this.residualMembers&&delete this.residualMembers[n];const r=e[n];return!(r&&!Ts(t,r))&&(e[n]=t,!0)}values(){const t=this.map,e=[];for(const n in t){const r=t[n];"absent"!=r.action&&e.push(r)}return e}remove(t){const e=this.map,n=this.memberKey(t),r=e[n];return!(r&&!Ts(t,r))&&(this.syncInProgress?((t=ni(t)).action="absent",e[n]=t):delete e[n],!0)}startSync(){const t=this.map;this.syncInProgress,this.syncInProgress||(this.residualMembers=ar(t),this.setInProgress(!0))}endSync(){const t=this.map;if(this.syncInProgress){for(const e in t){"absent"===t[e].action&&delete t[e]}this.presence._synthesizeLeaves(function(t,e){const n=[];for(const r in t)n.push(t[r]);return n}(this.residualMembers));for(const e in this.residualMembers)delete t[e];this.residualMembers=null,this.setInProgress(!1)}this.emit("sync")}waitSync(t){this.syncInProgress?this.once("sync",t):t()}clear(){this.map={},this.setInProgress(!1),this.residualMembers=null}setInProgress(t){this.syncInProgress=t,this.presence.syncComplete=!t}},Ms=class extends oi{constructor(t){super(t.logger),this.channel=t,this.syncComplete=!1,this.members=new Cs(this,(t=>t.clientId+":"+t.connectionId)),this._myMembers=new Cs(this,(t=>t.clientId)),this.subscriptions=new oi(this.logger),this.pendingPresence=[]}async enter(t){if(Ss(this))throw new rr("clientId must be specified to enter a presence channel",40012,400);return this._enterOrUpdateClient(void 0,void 0,t,"enter")}async update(t){if(Ss(this))throw new rr("clientId must be specified to update presence data",40012,400);return this._enterOrUpdateClient(void 0,void 0,t,"update")}async enterClient(t,e){return this._enterOrUpdateClient(void 0,t,e,"enter")}async updateClient(t,e){return this._enterOrUpdateClient(void 0,t,e,"update")}async _enterOrUpdateClient(t,e,n,r){const i=this.channel;if(!i.connectionManager.activeState())throw i.connectionManager.getError();const s=ii(n);switch(s.action=r,t&&(s.id=t),e&&(s.clientId=e),await Gr(s,i.channelOptions),i.state){case"attached":return new Promise(((t,e)=>{i.sendPresence(s,(n=>n?e(n):t()))}));case"initialized":case"detached":i.attach();case"attaching":return new Promise(((t,e)=>{this.pendingPresence.push({presence:s,callback:n=>n?e(n):t()})}));default:{const t=new ir("Unable to "+r+" presence channel while in "+i.state+" state",90001);throw t.code=90001,t}}}async leave(t){if(Ss(this))throw new rr("clientId must have been specified to enter or leave a presence channel",40012,400);return this.leaveClient(void 0,t)}async leaveClient(t,e){const n=this.channel;if(!n.connectionManager.activeState())throw n.connectionManager.getError();const r=ii(e);return r.action="leave",t&&(r.clientId=t),new Promise(((t,e)=>{switch(n.state){case"attached":n.sendPresence(r,(n=>n?e(n):t()));break;case"attaching":this.pendingPresence.push({presence:r,callback:n=>n?e(n):t()});break;case"initialized":case"failed":{const t=new ir("Unable to leave presence channel (incompatible state)",90001);e(t);break}default:e(n.invalidStateError())}}))}async get(t){const e=!t||!("waitForSync"in t)||t.waitForSync;return new Promise(((n,r)=>{function i(e){n(t?e.list(t):e.values())}"suspended"!==this.channel.state?function(t,e,n){switch(t.state){case"attached":case"suspended":n();break;case"initialized":case"detached":case"detaching":case"attaching":pr(t.attach(),(function(t){t?e(t):n()}));break;default:e(rr.fromValues(t.invalidStateError()))}}(this.channel,(t=>r(t)),(()=>{const t=this.members;e?t.waitSync((function(){i(t)})):i(t)})):e?r(rr.fromValues({statusCode:400,code:91005,message:"Presence state is out of sync due to channel being in the SUSPENDED state"})):i(this.members)}))}async history(t){const e=this.channel.client.rest.presenceMixin;if(t&&t.untilAttach){if("attached"!==this.channel.state)throw new rr("option untilAttach requires the channel to be attached, was: "+this.channel.state,4e4,400);delete t.untilAttach,t.from_serial=this.channel.properties.attachSerial}return e.history(this,t)}setPresence(t,e,n){let r,i;const s=this.members,a=this._myMembers,o=[],l=this.channel.connectionManager.connectionId;e&&(this.members.startSync(),n&&(i=n.match(/^[\w-]+:(.*)$/))&&(r=i[1]));for(let c=0;c<t.length;c++){const e=ni(t[c]);switch(e.action){case"leave":s.remove(e)&&o.push(e),e.connectionId!==l||e.isSynthesized()||a.remove(e);break;case"enter":case"present":case"update":s.put(e)&&o.push(e),e.connectionId===l&&a.put(e)}}e&&!r&&(s.endSync(),this.channel.syncChannelSerial=null);for(let c=0;c<o.length;c++){const t=o[c];this.subscriptions.emit(t.action,t)}}onAttached(t){t?this.members.startSync():(this._synthesizeLeaves(this.members.values()),this.members.clear()),this._ensureMyMembersPresent();const e=this.pendingPresence,n=e.length;if(n){this.pendingPresence=[];const t=[],r=Ar.create(this.logger);for(let i=0;i<n;i++){const n=e[i];t.push(n.presence),r.push(n.callback)}this.channel.sendPresence(t,r)}}actOnChannelState(t,e,n){switch(t){case"attached":this.onAttached(e);break;case"detached":case"failed":this._clearMyMembers(),this.members.clear();case"suspended":this.failPendingPresence(n)}}failPendingPresence(t){if(this.pendingPresence.length){for(let n=0;n<this.pendingPresence.length;n++)try{this.pendingPresence[n].callback(t)}catch(e){}this.pendingPresence=[]}}_clearMyMembers(){this._myMembers.clear()}_ensureMyMembersPresent(){const t=this._myMembers,e=t=>{if(t){const e="Presence auto-re-enter failed: "+t.toString(),n=new rr(e,91004,400);er.logAction(this.logger,er.LOG_ERROR,"RealtimePresence._ensureMyMembersPresent()",e);const r=new Fi(this.channel.state,this.channel.state,!0,!1,n);this.channel.emit("update",r)}};for(const n in t.map){const r=t.map[n];pr(this._enterOrUpdateClient(r.id,r.clientId,r.data,"enter"),e)}}_synthesizeLeaves(t){const e=this.subscriptions;t.forEach((function(t){const n=ni({action:"leave",connectionId:t.connectionId,clientId:t.clientId,data:t.data,encoding:t.encoding,timestamp:Date.now()});e.emit("leave",n)}))}async subscribe(...t){const e=ji.processListenerArgs(t),n=e[0],r=e[1],i=this.channel;if("failed"===i.state)throw rr.fromValues(i.invalidStateError());this.subscriptions.on(n,r),await i.attach()}unsubscribe(...t){const e=ji.processListenerArgs(t),n=e[0],r=e[1];this.subscriptions.off(n,r)}},Rs={RealtimePresence:Ms,presenceMessageFromValues:ni,presenceMessagesFromValuesArray:function(t){const e=t.length,n=new Array(e);for(let r=0;r<e;r++)n[r]=ni(t[r]);return n}};function Es(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Os(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function As(t){let e,n,r;function i(t,r,i=0,s=t.length){if(i<s){if(0!==e(r,r))return s;do{const e=i+s>>>1;n(t[e],r)<0?i=e+1:s=e}while(i<s)}return i}return 2!==t.length?(e=Es,n=(e,n)=>Es(t(e),n),r=(e,n)=>t(e)-n):(e=t===Es||t===Os?t:Ps,n=t,r=t),{left:i,center:function(t,e,n=0,s=t.length){const a=i(t,e,n,s-1);return a>n&&r(t[a-1],e)>-r(t[a],e)?a-1:a},right:function(t,r,i=0,s=t.length){if(i<s){if(0!==e(r,r))return s;do{const e=i+s>>>1;n(t[e],r)<=0?i=e+1:s=e}while(i<s)}return i}}}function Ps(){return 0}Xn.BufferUtils=os,Xn.Http=ds,Xn.Config=gs,Xn.Transports=ys,Xn.WebStorage=_s,ds.bundledRequestImplementations={},er.initLogHandlers(),Xn.Defaults=function(t){return Object.assign(wr,t)}(xs),Xn.Config.agent&&(Xn.Defaults.agent+=" "+Xn.Config.agent);const $s=As(Es).right;function Is(t,e){let n,r;if(void 0===e)for(const i of t)null!=i&&(void 0===n?i>=i&&(n=r=i):(n>i&&(n=i),r<i&&(r=i)));else{let i=-1;for(let s of t)null!=(s=e(s,++i,t))&&(void 0===n?s>=s&&(n=r=s):(n>s&&(n=s),r<s&&(r=s)))}return[n,r]}As((function(t){return null===t?NaN:+t})).center;class Ds{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){const e=this._partials;let n=0;for(let r=0;r<this._n&&r<32;r++){const i=e[r],s=t+i,a=Math.abs(t)<Math.abs(i)?t-(s-i):i-(s-t);a&&(e[n++]=a),t=s}return e[n]=t,this._n=n+1,this}valueOf(){const t=this._partials;let e,n,r,i=this._n,s=0;if(i>0){for(s=t[--i];i>0&&(e=s,n=t[--i],s=e+n,r=n-(s-e),!r););i>0&&(r<0&&t[i-1]<0||r>0&&t[i-1]>0)&&(n=2*r,e=s+n,n==e-s&&(s=e))}return s}}class Ns extends Map{constructor(t,e=Hs){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[n,r]of t)this.set(n,r)}get(t){return super.get(Ls(this,t))}has(t){return super.has(Ls(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},n){const r=e(n);t.has(r)&&(n=t.get(r),t.delete(r));return n}(this,t))}}function Ls({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):n}function Hs(t){return null!==t&&"object"==typeof t?t.valueOf():t}function Fs(t,e,...n){return function(t,e,n,r){return function t(i,s){if(s>=r.length)return n(i);const a=new Ns,o=r[s++];let l=-1;for(const e of i){const t=o(e,++l,i),n=a.get(t);n?n.push(e):a.set(t,[e])}for(const[e,n]of a)a.set(e,t(n,s));return e(a)}(t,0)}(t,Array.from,e,n)}const Vs=Math.sqrt(50),zs=Math.sqrt(10),js=Math.sqrt(2);function Us(t,e,n){const r=(e-t)/Math.max(0,n),i=Math.floor(Math.log10(r)),s=r/Math.pow(10,i),a=s>=Vs?10:s>=zs?5:s>=js?2:1;let o,l,c;return i<0?(c=Math.pow(10,-i)/a,o=Math.round(t*c),l=Math.round(e*c),o/c<t&&++o,l/c>e&&--l,c=-c):(c=Math.pow(10,i)*a,o=Math.round(t/c),l=Math.round(e/c),o*c<t&&++o,l*c>e&&--l),l<o&&.5<=n&&n<2?Us(t,e,2*n):[o,l,c]}function Bs(t,e,n){return Us(t=+t,e=+e,n=+n)[2]}function qs(t,e,n){n=+n;const r=(e=+e)<(t=+t),i=r?Bs(e,t,n):Bs(t,e,n);return(r?-1:1)*(i<0?1/-i:i)}function Ws(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n<r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}function Ys(t,e){let n,r=-1,i=-1;if(void 0===e)for(const s of t)++i,null!=s&&(n<s||void 0===n&&s>=s)&&(n=s,r=i);else for(let s of t)null!=(s=e(s,++i,t))&&(n<s||void 0===n&&s>=s)&&(n=s,r=i);return r}function Gs(t){return Array.from(function*(t){for(const e of t)yield*e}(t))}var Ks={value:()=>{}};function Xs(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new Qs(r)}function Qs(t){this._=t}function Js(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function Zs(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=Ks,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}Qs.prototype=Xs.prototype={constructor:Qs,on:function(t,e){var n,r=this._,i=function(t,e){return t.trim().split(/^|\s+/).map((function(t){var n="",r=t.indexOf(".");if(r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}(t+"",r),s=-1,a=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++s<a;)if(n=(t=i[s]).type)r[n]=Zs(r[n],t.name,e);else if(null==e)for(n in r)r[n]=Zs(r[n],t.name,null);return this}for(;++s<a;)if((n=(t=i[s]).type)&&(n=Js(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new Qs(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),s=0;s<n;++s)i[s]=arguments[s+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(s=0,n=(r=this._[t]).length;s<n;++s)r[s].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,s=r.length;i<s;++i)r[i].value.apply(e,n)}};var ta="http://www.w3.org/1999/xhtml";const ea={svg:"http://www.w3.org/2000/svg",xhtml:ta,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function na(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),ea.hasOwnProperty(e)?{space:ea[e],local:t}:t}function ra(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===ta&&e.documentElement.namespaceURI===ta?e.createElement(t):e.createElementNS(n,t)}}function ia(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function sa(t){var e=na(t);return(e.local?ia:ra)(e)}function aa(){}function oa(t){return null==t?aa:function(){return this.querySelector(t)}}function la(){return[]}function ca(t){return null==t?la:function(){return this.querySelectorAll(t)}}function ua(t){return function(){return function(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}(t.apply(this,arguments))}}function ha(t){return function(){return this.matches(t)}}function da(t){return function(e){return e.matches(t)}}var fa=Array.prototype.find;function pa(){return this.firstElementChild}var ga=Array.prototype.filter;function va(){return Array.from(this.children)}function ma(t){return new Array(t.length)}function ya(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function ba(t,e,n,r,i,s){for(var a,o=0,l=e.length,c=s.length;o<c;++o)(a=e[o])?(a.__data__=s[o],r[o]=a):n[o]=new ya(t,s[o]);for(;o<l;++o)(a=e[o])&&(i[o]=a)}function wa(t,e,n,r,i,s,a){var o,l,c,u=new Map,h=e.length,d=s.length,f=new Array(h);for(o=0;o<h;++o)(l=e[o])&&(f[o]=c=a.call(l,l.__data__,o,e)+"",u.has(c)?i[o]=l:u.set(c,l));for(o=0;o<d;++o)c=a.call(t,s[o],o,s)+"",(l=u.get(c))?(r[o]=l,l.__data__=s[o],u.delete(c)):n[o]=new ya(t,s[o]);for(o=0;o<h;++o)(l=e[o])&&u.get(f[o])===l&&(i[o]=l)}function _a(t){return t.__data__}function xa(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function ka(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function Sa(t){return function(){this.removeAttribute(t)}}function Ta(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Ca(t,e){return function(){this.setAttribute(t,e)}}function Ma(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Ra(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function Ea(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function Oa(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Aa(t){return function(){this.style.removeProperty(t)}}function Pa(t,e,n){return function(){this.style.setProperty(t,e,n)}}function $a(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function Ia(t,e){return t.style.getPropertyValue(e)||Oa(t).getComputedStyle(t,null).getPropertyValue(e)}function Da(t){return function(){delete this[t]}}function Na(t,e){return function(){this[t]=e}}function La(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function Ha(t){return t.trim().split(/^|\s+/)}function Fa(t){return t.classList||new Va(t)}function Va(t){this._node=t,this._names=Ha(t.getAttribute("class")||"")}function za(t,e){for(var n=Fa(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function ja(t,e){for(var n=Fa(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function Ua(t){return function(){za(this,t)}}function Ba(t){return function(){ja(this,t)}}function qa(t,e){return function(){(e.apply(this,arguments)?za:ja)(this,t)}}function Wa(){this.textContent=""}function Ya(t){return function(){this.textContent=t}}function Ga(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function Ka(){this.innerHTML=""}function Xa(t){return function(){this.innerHTML=t}}function Qa(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function Ja(){this.nextSibling&&this.parentNode.appendChild(this)}function Za(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function to(){return null}function eo(){var t=this.parentNode;t&&t.removeChild(this)}function no(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function ro(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function io(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,s=e.length;r<s;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?e.length=i:delete this.__on}}}function so(t,e,n){return function(){var r,i=this.__on,s=function(t){return function(e){t.call(this,e,this.__data__)}}(e);if(i)for(var a=0,o=i.length;a<o;++a)if((r=i[a]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=s,r.options=n),void(r.value=e);this.addEventListener(t.type,s,n),r={type:t.type,name:t.name,value:e,listener:s,options:n},i?i.push(r):this.__on=[r]}}function ao(t,e,n){var r=Oa(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function oo(t,e){return function(){return ao(this,t,e)}}function lo(t,e){return function(){return ao(this,t,e.apply(this,arguments))}}ya.prototype={constructor:ya,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}},Va.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var co=[null];function uo(t,e){this._groups=t,this._parents=e}function ho(){return new uo([[document.documentElement]],co)}function fo(t){return"string"==typeof t?new uo([[document.querySelector(t)]],[document.documentElement]):new uo([[t]],co)}function po(t,e){if(t=function(t){let e;for(;e=t.sourceEvent;)t=e;return t}(t),void 0===e&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(e.getScreenCTM().inverse())).x,r.y]}if(e.getBoundingClientRect){var i=e.getBoundingClientRect();return[t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop]}}return[t.pageX,t.pageY]}uo.prototype=ho.prototype={constructor:uo,select:function(t){"function"!=typeof t&&(t=oa(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var s,a,o=e[i],l=o.length,c=r[i]=new Array(l),u=0;u<l;++u)(s=o[u])&&(a=t.call(s,s.__data__,u,o))&&("__data__"in s&&(a.__data__=s.__data__),c[u]=a);return new uo(r,this._parents)},selectAll:function(t){t="function"==typeof t?ua(t):ca(t);for(var e=this._groups,n=e.length,r=[],i=[],s=0;s<n;++s)for(var a,o=e[s],l=o.length,c=0;c<l;++c)(a=o[c])&&(r.push(t.call(a,a.__data__,c,o)),i.push(a));return new uo(r,i)},selectChild:function(t){return this.select(null==t?pa:function(t){return function(){return fa.call(this.children,t)}}("function"==typeof t?t:da(t)))},selectChildren:function(t){return this.selectAll(null==t?va:function(t){return function(){return ga.call(this.children,t)}}("function"==typeof t?t:da(t)))},filter:function(t){"function"!=typeof t&&(t=ha(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var s,a=e[i],o=a.length,l=r[i]=[],c=0;c<o;++c)(s=a[c])&&t.call(s,s.__data__,c,a)&&l.push(s);return new uo(r,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,_a);var n=e?wa:ba,r=this._parents,i=this._groups;"function"!=typeof t&&(t=function(t){return function(){return t}}(t));for(var s=i.length,a=new Array(s),o=new Array(s),l=new Array(s),c=0;c<s;++c){var u=r[c],h=i[c],d=h.length,f=xa(t.call(u,u&&u.__data__,c,r)),p=f.length,g=o[c]=new Array(p),v=a[c]=new Array(p);n(u,h,g,v,l[c]=new Array(d),f,e);for(var m,y,b=0,w=0;b<p;++b)if(m=g[b]){for(b>=w&&(w=b+1);!(y=v[w])&&++w<p;);m._next=y||null}}return(a=new uo(a,r))._enter=o,a._exit=l,a},enter:function(){return new uo(this._enter||this._groups.map(ma),this._parents)},exit:function(){return new uo(this._exit||this._groups.map(ma),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,s=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=e&&(i=e(i))&&(i=i.selection()),null==n?s.remove():n(s),r&&i?r.merge(i).order():i},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,s=r.length,a=Math.min(i,s),o=new Array(i),l=0;l<a;++l)for(var c,u=n[l],h=r[l],d=u.length,f=o[l]=new Array(d),p=0;p<d;++p)(c=u[p]||h[p])&&(f[p]=c);for(;l<i;++l)o[l]=n[l];return new uo(o,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],s=i.length-1,a=i[s];--s>=0;)(r=i[s])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=ka);for(var n=this._groups,r=n.length,i=new Array(r),s=0;s<r;++s){for(var a,o=n[s],l=o.length,c=i[s]=new Array(l),u=0;u<l;++u)(a=o[u])&&(c[u]=a);c.sort(e)}return new uo(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,s=r.length;i<s;++i){var a=r[i];if(a)return a}return null},size:function(){let t=0;for(const e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,s=e[n],a=0,o=s.length;a<o;++a)(i=s[a])&&t.call(i,i.__data__,a,s);return this},attr:function(t,e){var n=na(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?Ta:Sa:"function"==typeof e?n.local?Ea:Ra:n.local?Ma:Ca)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?Aa:"function"==typeof e?$a:Pa)(t,e,null==n?"":n)):Ia(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?Da:"function"==typeof e?La:Na)(t,e)):this.node()[t]},classed:function(t,e){var n=Ha(t+"");if(arguments.length<2){for(var r=Fa(this.node()),i=-1,s=n.length;++i<s;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?qa:e?Ua:Ba)(n,e))},text:function(t){return arguments.length?this.each(null==t?Wa:("function"==typeof t?Ga:Ya)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?Ka:("function"==typeof t?Qa:Xa)(t)):this.node().innerHTML},raise:function(){return this.each(Ja)},lower:function(){return this.each(Za)},append:function(t){var e="function"==typeof t?t:sa(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"==typeof t?t:sa(t),r=null==e?to:"function"==typeof e?e:oa(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(eo)},clone:function(t){return this.select(t?ro:no)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,s=function(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}(t+""),a=s.length;if(!(arguments.length<2)){for(o=e?so:io,r=0;r<a;++r)this.each(o(s[r],e,n));return this}var o=this.node().__on;if(o)for(var l,c=0,u=o.length;c<u;++c)for(r=0,l=o[c];r<a;++r)if((i=s[r]).type===l.type&&i.name===l.name)return l.value},dispatch:function(t,e){return this.each(("function"==typeof e?lo:oo)(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r,i=t[e],s=0,a=i.length;s<a;++s)(r=i[s])&&(yield r)}};const go={capture:!0,passive:!1};function vo(t){t.preventDefault(),t.stopImmediatePropagation()}function mo(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function yo(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function bo(){}var wo=.7,_o=1/wo,xo="\\s*([+-]?\\d+)\\s*",ko="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",So="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",To=/^#([0-9a-f]{3,8})$/,Co=new RegExp(`^rgb\\(${xo},${xo},${xo}\\)$`),Mo=new RegExp(`^rgb\\(${So},${So},${So}\\)$`),Ro=new RegExp(`^rgba\\(${xo},${xo},${xo},${ko}\\)$`),Eo=new RegExp(`^rgba\\(${So},${So},${So},${ko}\\)$`),Oo=new RegExp(`^hsl\\(${ko},${So},${So}\\)$`),Ao=new RegExp(`^hsla\\(${ko},${So},${So},${ko}\\)$`),Po={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function $o(){return this.rgb().formatHex()}function Io(){return this.rgb().formatRgb()}function Do(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=To.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?No(e):3===n?new Vo(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Lo(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Lo(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Co.exec(t))?new Vo(e[1],e[2],e[3],1):(e=Mo.exec(t))?new Vo(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Ro.exec(t))?Lo(e[1],e[2],e[3],e[4]):(e=Eo.exec(t))?Lo(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Oo.exec(t))?Wo(e[1],e[2]/100,e[3]/100,1):(e=Ao.exec(t))?Wo(e[1],e[2]/100,e[3]/100,e[4]):Po.hasOwnProperty(t)?No(Po[t]):"transparent"===t?new Vo(NaN,NaN,NaN,0):null}function No(t){return new Vo(t>>16&255,t>>8&255,255&t,1)}function Lo(t,e,n,r){return r<=0&&(t=e=n=NaN),new Vo(t,e,n,r)}function Ho(t){return t instanceof bo||(t=Do(t)),t?new Vo((t=t.rgb()).r,t.g,t.b,t.opacity):new Vo}function Fo(t,e,n,r){return 1===arguments.length?Ho(t):new Vo(t,e,n,null==r?1:r)}function Vo(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function zo(){return`#${qo(this.r)}${qo(this.g)}${qo(this.b)}`}function jo(){const t=Uo(this.opacity);return`${1===t?"rgb(":"rgba("}${Bo(this.r)}, ${Bo(this.g)}, ${Bo(this.b)}${1===t?")":`, ${t})`}`}function Uo(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Bo(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function qo(t){return((t=Bo(t))<16?"0":"")+t.toString(16)}function Wo(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Go(t,e,n,r)}function Yo(t){if(t instanceof Go)return new Go(t.h,t.s,t.l,t.opacity);if(t instanceof bo||(t=Do(t)),!t)return new Go;if(t instanceof Go)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),s=Math.max(e,n,r),a=NaN,o=s-i,l=(s+i)/2;return o?(a=e===s?(n-r)/o+6*(n<r):n===s?(r-e)/o+2:(e-n)/o+4,o/=l<.5?s+i:2-s-i,a*=60):o=l>0&&l<1?0:a,new Go(a,o,l,t.opacity)}function Go(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Ko(t){return(t=(t||0)%360)<0?t+360:t}function Xo(t){return Math.max(0,Math.min(1,t||0))}function Qo(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}mo(bo,Do,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:$o,formatHex:$o,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Yo(this).formatHsl()},formatRgb:Io,toString:Io}),mo(Vo,Fo,yo(bo,{brighter(t){return t=null==t?_o:Math.pow(_o,t),new Vo(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?wo:Math.pow(wo,t),new Vo(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Vo(Bo(this.r),Bo(this.g),Bo(this.b),Uo(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:zo,formatHex:zo,formatHex8:function(){return`#${qo(this.r)}${qo(this.g)}${qo(this.b)}${qo(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:jo,toString:jo})),mo(Go,(function(t,e,n,r){return 1===arguments.length?Yo(t):new Go(t,e,n,null==r?1:r)}),yo(bo,{brighter(t){return t=null==t?_o:Math.pow(_o,t),new Go(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?wo:Math.pow(wo,t),new Go(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Vo(Qo(t>=240?t-240:t+120,i,r),Qo(t,i,r),Qo(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new Go(Ko(this.h),Xo(this.s),Xo(this.l),Uo(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Uo(this.opacity);return`${1===t?"hsl(":"hsla("}${Ko(this.h)}, ${100*Xo(this.s)}%, ${100*Xo(this.l)}%${1===t?")":`, ${t})`}`}}));const Jo=Math.PI/180,Zo=180/Math.PI,tl=.96422,el=1,nl=.82521,rl=4/29,il=6/29,sl=3*il*il,al=il*il*il;function ol(t){if(t instanceof ll)return new ll(t.l,t.a,t.b,t.opacity);if(t instanceof pl)return gl(t);t instanceof Vo||(t=Ho(t));var e,n,r=dl(t.r),i=dl(t.g),s=dl(t.b),a=cl((.2225045*r+.7168786*i+.0606169*s)/el);return r===i&&i===s?e=n=a:(e=cl((.4360747*r+.3850649*i+.1430804*s)/tl),n=cl((.0139322*r+.0971045*i+.7141733*s)/nl)),new ll(116*a-16,500*(e-a),200*(a-n),t.opacity)}function ll(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function cl(t){return t>al?Math.pow(t,1/3):t/sl+rl}function ul(t){return t>il?t*t*t:sl*(t-rl)}function hl(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function dl(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function fl(t,e,n,r){return 1===arguments.length?function(t){if(t instanceof pl)return new pl(t.h,t.c,t.l,t.opacity);if(t instanceof ll||(t=ol(t)),0===t.a&&0===t.b)return new pl(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*Zo;return new pl(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new pl(t,e,n,null==r?1:r)}function pl(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function gl(t){if(isNaN(t.h))return new ll(t.l,0,0,t.opacity);var e=t.h*Jo;return new ll(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}mo(ll,(function(t,e,n,r){return 1===arguments.length?ol(t):new ll(t,e,n,null==r?1:r)}),yo(bo,{brighter(t){return new ll(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new ll(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return new Vo(hl(3.1338561*(e=tl*ul(e))-1.6168667*(t=el*ul(t))-.4906146*(n=nl*ul(n))),hl(-.9787684*e+1.9161415*t+.033454*n),hl(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),mo(pl,fl,yo(bo,{brighter(t){return new pl(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker(t){return new pl(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb(){return gl(this).rgb()}}));const vl=t=>()=>t;function ml(t,e){return function(n){return t+n*e}}function yl(t){return 1==(t=+t)?bl:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):vl(isNaN(e)?n:e)}}function bl(t,e){var n=e-t;return n?ml(t,n):vl(isNaN(t)?e:t)}const wl=function t(e){var n=yl(e);function r(t,e){var r=n((t=Fo(t)).r,(e=Fo(e)).r),i=n(t.g,e.g),s=n(t.b,e.b),a=bl(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=s(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function _l(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(s){for(n=0;n<r;++n)i[n]=t[n]*(1-s)+e[n]*s;return i}}function xl(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,s=new Array(i),a=new Array(r);for(n=0;n<i;++n)s[n]=El(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=s[n](t);return a}}function kl(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function Sl(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function Tl(t,e){var n,r={},i={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=El(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}var Cl=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ml=new RegExp(Cl.source,"g");function Rl(t,e){var n,r,i,s=Cl.lastIndex=Ml.lastIndex=0,a=-1,o=[],l=[];for(t+="",e+="";(n=Cl.exec(t))&&(r=Ml.exec(e));)(i=r.index)>s&&(i=e.slice(s,i),o[a]?o[a]+=i:o[++a]=i),(n=n[0])===(r=r[0])?o[a]?o[a]+=r:o[++a]=r:(o[++a]=null,l.push({i:a,x:Sl(n,r)})),s=Ml.lastIndex;return s<e.length&&(i=e.slice(s),o[a]?o[a]+=i:o[++a]=i),o.length<2?l[0]?function(t){return function(e){return t(e)+""}}(l[0].x):function(t){return function(){return t}}(e):(e=l.length,function(t){for(var n,r=0;r<e;++r)o[(n=l[r]).i]=n.x(t);return o.join("")})}function El(t,e){var n,r=typeof e;return null==e||"boolean"===r?vl(e):("number"===r?Sl:"string"===r?(n=Do(e))?(e=n,wl):Rl:e instanceof Do?wl:e instanceof Date?kl:function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(e)?_l:Array.isArray(e)?xl:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?Tl:Sl)(t,e)}function Ol(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}var Al,Pl=180/Math.PI,$l={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Il(t,e,n,r,i,s){var a,o,l;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(l=t*n+e*r)&&(n-=t*l,r-=e*l),(o=Math.sqrt(n*n+r*r))&&(n/=o,r/=o,l/=o),t*r<e*n&&(t=-t,e=-e,l=-l,a=-a),{translateX:i,translateY:s,rotate:Math.atan2(e,t)*Pl,skewX:Math.atan(l)*Pl,scaleX:a,scaleY:o}}function Dl(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(s,a){var o=[],l=[];return s=t(s),a=t(a),function(t,r,i,s,a,o){if(t!==i||r!==s){var l=a.push("translate(",null,e,null,n);o.push({i:l-4,x:Sl(t,i)},{i:l-2,x:Sl(r,s)})}else(i||s)&&a.push("translate("+i+e+s+n)}(s.translateX,s.translateY,a.translateX,a.translateY,o,l),function(t,e,n,s){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),s.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Sl(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(s.rotate,a.rotate,o,l),function(t,e,n,s){t!==e?s.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Sl(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(s.skewX,a.skewX,o,l),function(t,e,n,r,s,a){if(t!==n||e!==r){var o=s.push(i(s)+"scale(",null,",",null,")");a.push({i:o-4,x:Sl(t,n)},{i:o-2,x:Sl(e,r)})}else 1===n&&1===r||s.push(i(s)+"scale("+n+","+r+")")}(s.scaleX,s.scaleY,a.scaleX,a.scaleY,o,l),s=a=null,function(t){for(var e,n=-1,r=l.length;++n<r;)o[(e=l[n]).i]=e.x(t);return o.join("")}}}var Nl=Dl((function(t){const e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?$l:Il(e.a,e.b,e.c,e.d,e.e,e.f)}),"px, ","px)","deg)"),Ll=Dl((function(t){return null==t?$l:(Al||(Al=document.createElementNS("http://www.w3.org/2000/svg","g")),Al.setAttribute("transform",t),(t=Al.transform.baseVal.consolidate())?Il((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):$l)}),", ",")",")");function Hl(t){return((t=Math.exp(t))+1/t)/2}const Fl=function t(e,n,r){function i(t,i){var s,a,o=t[0],l=t[1],c=t[2],u=i[0],h=i[1],d=i[2],f=u-o,p=h-l,g=f*f+p*p;if(g<1e-12)a=Math.log(d/c)/e,s=function(t){return[o+t*f,l+t*p,c*Math.exp(e*t*a)]};else{var v=Math.sqrt(g),m=(d*d-c*c+r*g)/(2*c*n*v),y=(d*d-c*c-r*g)/(2*d*n*v),b=Math.log(Math.sqrt(m*m+1)-m),w=Math.log(Math.sqrt(y*y+1)-y);a=(w-b)/e,s=function(t){var r=t*a,i=Hl(b),s=c/(n*v)*(i*function(t){return((t=Math.exp(2*t))-1)/(t+1)}(e*r+b)-function(t){return((t=Math.exp(t))-1/t)/2}(b));return[o+s*f,l+s*p,c*i/Hl(e*r+b)]}}return s.duration=1e3*a*e/Math.SQRT2,s}return i.rho=function(e){var n=Math.max(.001,+e),r=n*n;return t(n,r,r*r)},i}(Math.SQRT2,2,4);const Vl=function(t){return function(e,n){var r=t((e=fl(e)).h,(n=fl(n)).h),i=bl(e.c,n.c),s=bl(e.l,n.l),a=bl(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=s(t),e.opacity=a(t),e+""}}}((function(t,e){var n=e-t;return n?ml(t,n>180||n<-180?n-360*Math.round(n/360):n):vl(isNaN(t)?e:t)}));var zl,jl,Ul=0,Bl=0,ql=0,Wl=1e3,Yl=0,Gl=0,Kl=0,Xl="object"==typeof performance&&performance.now?performance:Date,Ql="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Jl(){return Gl||(Ql(Zl),Gl=Xl.now()+Kl)}function Zl(){Gl=0}function tc(){this._call=this._time=this._next=null}function ec(t,e,n){var r=new tc;return r.restart(t,e,n),r}function nc(){Gl=(Yl=Xl.now())+Kl,Ul=Bl=0;try{!function(){Jl(),++Ul;for(var t,e=zl;e;)(t=Gl-e._time)>=0&&e._call.call(void 0,t),e=e._next;--Ul}()}finally{Ul=0,function(){var t,e,n=zl,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:zl=e);jl=t,ic(r)}(),Gl=0}}function rc(){var t=Xl.now(),e=t-Yl;e>Wl&&(Kl-=e,Yl=t)}function ic(t){Ul||(Bl&&(Bl=clearTimeout(Bl)),t-Gl>24?(t<1/0&&(Bl=setTimeout(nc,t-Xl.now()-Kl)),ql&&(ql=clearInterval(ql))):(ql||(Yl=Xl.now(),ql=setInterval(rc,Wl)),Ul=1,Ql(nc)))}function sc(t,e,n){var r=new tc;return e=null==e?0:+e,r.restart((n=>{r.stop(),t(n+e)}),e,n),r}tc.prototype=ec.prototype={constructor:tc,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Jl():+n)+(null==e?0:+e),this._next||jl===this||(jl?jl._next=this:zl=this,jl=this),this._call=t,this._time=n,ic()},stop:function(){this._call&&(this._call=null,this._time=1/0,ic())}};var ac=Xs("start","end","cancel","interrupt"),oc=[],lc=0,cc=1,uc=2,hc=3,dc=4,fc=5,pc=6;function gc(t,e,n,r,i,s){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function s(t){n.state=cc,n.timer.restart(a,n.delay,n.time),n.delay<=t&&a(t-n.delay)}function a(s){var c,u,h,d;if(n.state!==cc)return l();for(c in i)if((d=i[c]).name===n.name){if(d.state===hc)return sc(a);d.state===dc?(d.state=pc,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete i[c]):+c<e&&(d.state=pc,d.timer.stop(),d.on.call("cancel",t,t.__data__,d.index,d.group),delete i[c])}if(sc((function(){n.state===hc&&(n.state=dc,n.timer.restart(o,n.delay,n.time),o(s))})),n.state=uc,n.on.call("start",t,t.__data__,n.index,n.group),n.state===uc){for(n.state=hc,r=new Array(h=n.tween.length),c=0,u=-1;c<h;++c)(d=n.tween[c].value.call(t,t.__data__,n.index,n.group))&&(r[++u]=d);r.length=u+1}}function o(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(l),n.state=fc,1),s=-1,a=r.length;++s<a;)r[s].call(t,i);n.state===fc&&(n.on.call("end",t,t.__data__,n.index,n.group),l())}function l(){for(var r in n.state=pc,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=ec(s,0,n.time)}(t,n,{name:e,index:r,group:i,on:ac,tween:oc,time:s.time,delay:s.delay,duration:s.duration,ease:s.ease,timer:null,state:lc})}function vc(t,e){var n=yc(t,e);if(n.state>lc)throw new Error("too late; already scheduled");return n}function mc(t,e){var n=yc(t,e);if(n.state>hc)throw new Error("too late; already running");return n}function yc(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function bc(t,e){var n,r,i,s=t.__transition,a=!0;if(s){for(i in e=null==e?null:e+"",s)(n=s[i]).name===e?(r=n.state>uc&&n.state<fc,n.state=pc,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete s[i]):a=!1;a&&delete t.__transition}}function wc(t,e){var n,r;return function(){var i=mc(this,t),s=i.tween;if(s!==n)for(var a=0,o=(r=n=s).length;a<o;++a)if(r[a].name===e){(r=r.slice()).splice(a,1);break}i.tween=r}}function _c(t,e,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var s=mc(this,t),a=s.tween;if(a!==r){i=(r=a).slice();for(var o={name:e,value:n},l=0,c=i.length;l<c;++l)if(i[l].name===e){i[l]=o;break}l===c&&i.push(o)}s.tween=i}}function xc(t,e,n){var r=t._id;return t.each((function(){var t=mc(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)})),function(t){return yc(t,r).value[e]}}function kc(t,e){var n;return("number"==typeof e?Sl:e instanceof Do?wl:(n=Do(e))?(e=n,wl):Rl)(t,e)}function Sc(t){return function(){this.removeAttribute(t)}}function Tc(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Cc(t,e,n){var r,i,s=n+"";return function(){var a=this.getAttribute(t);return a===s?null:a===r?i:i=e(r=a,n)}}function Mc(t,e,n){var r,i,s=n+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===s?null:a===r?i:i=e(r=a,n)}}function Rc(t,e,n){var r,i,s;return function(){var a,o,l=n(this);if(null!=l)return(a=this.getAttribute(t))===(o=l+"")?null:a===r&&o===i?s:(i=o,s=e(r=a,l));this.removeAttribute(t)}}function Ec(t,e,n){var r,i,s;return function(){var a,o,l=n(this);if(null!=l)return(a=this.getAttributeNS(t.space,t.local))===(o=l+"")?null:a===r&&o===i?s:(i=o,s=e(r=a,l));this.removeAttributeNS(t.space,t.local)}}function Oc(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}(t,i)),n}return i._value=e,i}function Ac(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}(t,i)),n}return i._value=e,i}function Pc(t,e){return function(){vc(this,t).delay=+e.apply(this,arguments)}}function $c(t,e){return e=+e,function(){vc(this,t).delay=e}}function Ic(t,e){return function(){mc(this,t).duration=+e.apply(this,arguments)}}function Dc(t,e){return e=+e,function(){mc(this,t).duration=e}}var Nc=ho.prototype.constructor;function Lc(t){return function(){this.style.removeProperty(t)}}var Hc=0;function Fc(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Vc(){return++Hc}var zc=ho.prototype;Fc.prototype={constructor:Fc,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=oa(t));for(var r=this._groups,i=r.length,s=new Array(i),a=0;a<i;++a)for(var o,l,c=r[a],u=c.length,h=s[a]=new Array(u),d=0;d<u;++d)(o=c[d])&&(l=t.call(o,o.__data__,d,c))&&("__data__"in o&&(l.__data__=o.__data__),h[d]=l,gc(h[d],e,n,d,h,yc(o,n)));return new Fc(s,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=ca(t));for(var r=this._groups,i=r.length,s=[],a=[],o=0;o<i;++o)for(var l,c=r[o],u=c.length,h=0;h<u;++h)if(l=c[h]){for(var d,f=t.call(l,l.__data__,h,c),p=yc(l,n),g=0,v=f.length;g<v;++g)(d=f[g])&&gc(d,e,n,g,f,p);s.push(f),a.push(l)}return new Fc(s,a,e,n)},selectChild:zc.selectChild,selectChildren:zc.selectChildren,filter:function(t){"function"!=typeof t&&(t=ha(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var s,a=e[i],o=a.length,l=r[i]=[],c=0;c<o;++c)(s=a[c])&&t.call(s,s.__data__,c,a)&&l.push(s);return new Fc(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,s=Math.min(r,i),a=new Array(r),o=0;o<s;++o)for(var l,c=e[o],u=n[o],h=c.length,d=a[o]=new Array(h),f=0;f<h;++f)(l=c[f]||u[f])&&(d[f]=l);for(;o<r;++o)a[o]=e[o];return new Fc(a,this._parents,this._name,this._id)},selection:function(){return new Nc(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=Vc(),r=this._groups,i=r.length,s=0;s<i;++s)for(var a,o=r[s],l=o.length,c=0;c<l;++c)if(a=o[c]){var u=yc(a,e);gc(a,t,n,c,o,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Fc(r,this._parents,t,n)},call:zc.call,nodes:zc.nodes,node:zc.node,size:zc.size,empty:zc.empty,each:zc.each,on:function(t,e){var n=this._id;return arguments.length<2?yc(this.node(),n).on.on(t):this.each(function(t,e,n){var r,i,s=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?vc:mc;return function(){var a=s(this,t),o=a.on;o!==r&&(i=(r=o).copy()).on(e,n),a.on=i}}(n,t,e))},attr:function(t,e){var n=na(t),r="transform"===n?Ll:kc;return this.attrTween(t,"function"==typeof e?(n.local?Ec:Rc)(n,r,xc(this,"attr."+t,e)):null==e?(n.local?Tc:Sc)(n):(n.local?Mc:Cc)(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var r=na(t);return this.tween(n,(r.local?Oc:Ac)(r,e))},style:function(t,e,n){var r="transform"==(t+="")?Nl:kc;return null==e?this.styleTween(t,function(t,e){var n,r,i;return function(){var s=Ia(this,t),a=(this.style.removeProperty(t),Ia(this,t));return s===a?null:s===n&&a===r?i:i=e(n=s,r=a)}}(t,r)).on("end.style."+t,Lc(t)):"function"==typeof e?this.styleTween(t,function(t,e,n){var r,i,s;return function(){var a=Ia(this,t),o=n(this),l=o+"";return null==o&&(this.style.removeProperty(t),l=o=Ia(this,t)),a===l?null:a===r&&l===i?s:(i=l,s=e(r=a,o))}}(t,r,xc(this,"style."+t,e))).each(function(t,e){var n,r,i,s,a="style."+e,o="end."+a;return function(){var l=mc(this,t),c=l.on,u=null==l.value[a]?s||(s=Lc(e)):void 0;c===n&&i===u||(r=(n=c).copy()).on(o,i=u),l.on=r}}(this._id,t)):this.styleTween(t,function(t,e,n){var r,i,s=n+"";return function(){var a=Ia(this,t);return a===s?null:a===r?i:i=e(r=a,n)}}(t,r,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw new Error;return this.tween(r,function(t,e,n){var r,i;function s(){var s=e.apply(this,arguments);return s!==i&&(r=(i=s)&&function(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}(t,s,n)),r}return s._value=e,s}(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(xc(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){return function(e){this.textContent=t.call(this,e)}}(r)),e}return r._value=t,r}(t))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=yc(this.node(),n).tween,s=0,a=i.length;s<a;++s)if((r=i[s]).name===t)return r.value;return null}return this.each((null==e?wc:_c)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?Pc:$c)(e,t)):yc(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?Ic:Dc)(e,t)):yc(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw new Error;return function(){mc(this,t).ease=e}}(e,t)):yc(this.node(),e).ease},easeVarying:function(t){if("function"!=typeof t)throw new Error;return this.each(function(t,e){return function(){var n=e.apply(this,arguments);if("function"!=typeof n)throw new Error;mc(this,t).ease=n}}(this._id,t))},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise((function(s,a){var o={value:a},l={value:function(){0==--i&&s()}};n.each((function(){var n=mc(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(o),e._.interrupt.push(o),e._.end.push(l)),n.on=e})),0===i&&s()}))},[Symbol.iterator]:zc[Symbol.iterator]};var jc={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function Uc(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}ho.prototype.interrupt=function(t){return this.each((function(){bc(this,t)}))},ho.prototype.transition=function(t){var e,n;t instanceof Fc?(e=t._id,t=t._name):(e=Vc(),(n=jc).time=Jl(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,s=0;s<i;++s)for(var a,o=r[s],l=o.length,c=0;c<l;++c)(a=o[c])&&gc(a,t,e,c,o,n||Uc(a,e));return new Fc(r,this._parents,t,e)};const Bc=Math.PI,qc=2*Bc,Wc=1e-6,Yc=qc-Wc;function Gc(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}class Kc{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?Gc:function(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return Gc;const n=10**e;return function(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=Math.round(arguments[e]*n)/n+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,n,r){this._append`Q${+t},${+e},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(t,e,n,r,i,s){this._append`C${+t},${+e},${+n},${+r},${this._x1=+i},${this._y1=+s}`}arcTo(t,e,n,r,i){if(t=+t,e=+e,n=+n,r=+r,(i=+i)<0)throw new Error(`negative radius: ${i}`);let s=this._x1,a=this._y1,o=n-t,l=r-e,c=s-t,u=a-e,h=c*c+u*u;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(h>Wc)if(Math.abs(u*o-l*c)>Wc&&i){let d=n-s,f=r-a,p=o*o+l*l,g=d*d+f*f,v=Math.sqrt(p),m=Math.sqrt(h),y=i*Math.tan((Bc-Math.acos((p+h-g)/(2*v*m)))/2),b=y/m,w=y/v;Math.abs(b-1)>Wc&&this._append`L${t+b*c},${e+b*u}`,this._append`A${i},${i},0,0,${+(u*d>c*f)},${this._x1=t+w*o},${this._y1=e+w*l}`}else this._append`L${this._x1=t},${this._y1=e}`;else;}arc(t,e,n,r,i,s){if(t=+t,e=+e,s=!!s,(n=+n)<0)throw new Error(`negative radius: ${n}`);let a=n*Math.cos(r),o=n*Math.sin(r),l=t+a,c=e+o,u=1^s,h=s?r-i:i-r;null===this._x1?this._append`M${l},${c}`:(Math.abs(this._x1-l)>Wc||Math.abs(this._y1-c)>Wc)&&this._append`L${l},${c}`,n&&(h<0&&(h=h%qc+qc),h>Yc?this._append`A${n},${n},0,1,${u},${t-a},${e-o}A${n},${n},0,1,${u},${this._x1=l},${this._y1=c}`:h>Wc&&this._append`A${n},${n},0,${+(h>=Bc)},${u},${this._x1=t+n*Math.cos(i)},${this._y1=e+n*Math.sin(i)}`)}rect(t,e,n,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function Xc(t){for(var e in t){var n,r,i=t[e].trim();if(i)if("true"===i)i=!0;else if("false"===i)i=!1;else if("NaN"===i)i=NaN;else if(isNaN(n=+i)){if(!(r=i.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;Qc&&r[4]&&!r[7]&&(i=i.replace(/-/g,"/").replace(/T/," ")),i=new Date(i)}else i=n;else i=null;t[e]=i}return t}const Qc=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours();function Jc(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);if(204!==t.status&&205!==t.status)return t.json()}function Zc(t,e){return fetch(t,e).then(Jc)}function tu(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function eu(t){return(t=tu(Math.abs(t)))?t[1]:NaN}var nu,ru=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function iu(t){if(!(e=ru.exec(t)))throw new Error("invalid format: "+t);var e;return new su({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function su(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function au(t,e){var n=tu(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}iu.prototype=su.prototype,su.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const ou={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>au(100*t,e),r:au,s:function(t,e){var n=tu(t,e);if(!n)return t+"";var r=n[0],i=n[1],s=i-(nu=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return s===a?r:s>a?r+new Array(s-a+1).join("0"):s>0?r.slice(0,s)+"."+r.slice(s):"0."+new Array(1-s).join("0")+tu(t,Math.max(0,e+s-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function lu(t){return t}var cu,uu,hu,du=Array.prototype.map,fu=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function pu(t){var e=void 0===t.grouping||void 0===t.thousands?lu:function(t,e){return function(n,r){for(var i=n.length,s=[],a=0,o=t[0],l=0;i>0&&o>0&&(l+o+1>r&&(o=Math.max(1,r-l)),s.push(n.substring(i-=o,i+o)),!((l+=o+1)>r));)o=t[a=(a+1)%t.length];return s.reverse().join(e)}}(du.call(t.grouping,Number),t.thousands+""),n=void 0===t.currency?"":t.currency[0]+"",r=void 0===t.currency?"":t.currency[1]+"",i=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?lu:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(du.call(t.numerals,String)),a=void 0===t.percent?"%":t.percent+"",o=void 0===t.minus?"−":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function c(t){var c=(t=iu(t)).fill,u=t.align,h=t.sign,d=t.symbol,f=t.zero,p=t.width,g=t.comma,v=t.precision,m=t.trim,y=t.type;"n"===y?(g=!0,y="g"):ou[y]||(void 0===v&&(v=12),m=!0,y="g"),(f||"0"===c&&"="===u)&&(f=!0,c="0",u="=");var b="$"===d?n:"#"===d&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",w="$"===d?r:/[%p]/.test(y)?a:"",_=ou[y],x=/[defgprs%]/.test(y);function k(t){var n,r,a,d=b,k=w;if("c"===y)k=_(t)+k,t="";else{var S=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:_(Math.abs(t),v),m&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),S&&0==+t&&"+"!==h&&(S=!1),d=(S?"("===h?h:o:"-"===h||"("===h?"":h)+d,k=("s"===y?fu[8+nu/3]:"")+k+(S&&"("===h?")":""),x)for(n=-1,r=t.length;++n<r;)if(48>(a=t.charCodeAt(n))||a>57){k=(46===a?i+t.slice(n+1):t.slice(n))+k,t=t.slice(0,n);break}}g&&!f&&(t=e(t,1/0));var T=d.length+t.length+k.length,C=T<p?new Array(p-T+1).join(c):"";switch(g&&f&&(t=e(C+t,C.length?p-k.length:1/0),C=""),u){case"<":t=d+t+k+C;break;case"=":t=d+C+t+k;break;case"^":t=C.slice(0,T=C.length>>1)+d+t+k+C.slice(T);break;default:t=C+d+t+k}return s(t)}return v=void 0===v?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),k.toString=function(){return t+""},k}return{format:c,formatPrefix:function(t,e){var n=c(((t=iu(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(eu(e)/3))),i=Math.pow(10,-r),s=fu[8+r/3];return function(t){return n(i*t)+s}}}}function gu(t){return cu=pu(t),uu=cu.format,hu=cu.formatPrefix,cu}gu({thousands:",",grouping:[3],currency:["$",""]});var vu=1e-6,mu=1e-12,yu=Math.PI,bu=yu/2,wu=yu/4,_u=2*yu,xu=180/yu,ku=yu/180,Su=Math.abs,Tu=Math.atan,Cu=Math.atan2,Mu=Math.cos,Ru=Math.exp,Eu=Math.log,Ou=Math.sin,Au=Math.sign||function(t){return t>0?1:t<0?-1:0},Pu=Math.sqrt,$u=Math.tan;function Iu(t){return t>1?bu:t<-1?-bu:Math.asin(t)}function Du(){}function Nu(t,e){t&&Hu.hasOwnProperty(t.type)&&Hu[t.type](t,e)}var Lu={Feature:function(t,e){Nu(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)Nu(n[r].geometry,e)}},Hu={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)t=n[r],e.point(t[0],t[1],t[2])},LineString:function(t,e){Fu(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)Fu(n[r],e,0)},Polygon:function(t,e){Vu(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)Vu(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)Nu(n[r],e)}};function Fu(t,e,n){var r,i=-1,s=t.length-n;for(e.lineStart();++i<s;)r=t[i],e.point(r[0],r[1],r[2]);e.lineEnd()}function Vu(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)Fu(t[n],e,1);e.polygonEnd()}function zu(t,e){t&&Lu.hasOwnProperty(t.type)?Lu[t.type](t,e):Nu(t,e)}function ju(t){return[Cu(t[1],t[0]),Iu(t[2])]}function Uu(t){var e=t[0],n=t[1],r=Mu(n);return[r*Mu(e),r*Ou(e),Ou(n)]}function Bu(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function qu(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function Wu(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function Yu(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function Gu(t){var e=Pu(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}function Ku(t,e){function n(n,r){return n=t(n,r),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,r){return(n=e.invert(n,r))&&t.invert(n[0],n[1])}),n}function Xu(t,e){return Su(t)>yu&&(t-=Math.round(t/_u)*_u),[t,e]}function Qu(t,e,n){return(t%=_u)?e||n?Ku(Zu(t),th(e,n)):Zu(t):e||n?th(e,n):Xu}function Ju(t){return function(e,n){return Su(e+=t)>yu&&(e-=Math.round(e/_u)*_u),[e,n]}}function Zu(t){var e=Ju(t);return e.invert=Ju(-t),e}function th(t,e){var n=Mu(t),r=Ou(t),i=Mu(e),s=Ou(e);function a(t,e){var a=Mu(e),o=Mu(t)*a,l=Ou(t)*a,c=Ou(e),u=c*n+o*r;return[Cu(l*i-u*s,o*n-c*r),Iu(u*i+l*s)]}return a.invert=function(t,e){var a=Mu(e),o=Mu(t)*a,l=Ou(t)*a,c=Ou(e),u=c*i-l*s;return[Cu(l*i+c*s,o*n+u*r),Iu(u*n-o*r)]},a}function eh(t,e){(e=Uu(e))[0]-=t,Gu(e);var n=function(t){return t>1?0:t<-1?yu:Math.acos(t)}(-e[1]);return((-e[2]<0?-n:n)+_u-vu)%_u}function nh(){var t,e=[];return{point:function(e,n,r){t.push([e,n,r])},lineStart:function(){e.push(t=[])},lineEnd:Du,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}function rh(t,e){return Su(t[0]-e[0])<vu&&Su(t[1]-e[1])<vu}function ih(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function sh(t,e,n,r,i){var s,a,o=[],l=[];if(t.forEach((function(t){if(!((e=t.length-1)<=0)){var e,n,r=t[0],a=t[e];if(rh(r,a)){if(!r[2]&&!a[2]){for(i.lineStart(),s=0;s<e;++s)i.point((r=t[s])[0],r[1]);return void i.lineEnd()}a[0]+=2*vu}o.push(n=new ih(r,t,null,!0)),l.push(n.o=new ih(r,null,n,!1)),o.push(n=new ih(a,t,null,!1)),l.push(n.o=new ih(a,null,n,!0))}})),o.length){for(l.sort(e),ah(o),ah(l),s=0,a=l.length;s<a;++s)l[s].e=n=!n;for(var c,u,h=o[0];;){for(var d=h,f=!0;d.v;)if((d=d.n)===h)return;c=d.z,i.lineStart();do{if(d.v=d.o.v=!0,d.e){if(f)for(s=0,a=c.length;s<a;++s)i.point((u=c[s])[0],u[1]);else r(d.x,d.n.x,1,i);d=d.n}else{if(f)for(c=d.p.z,s=c.length-1;s>=0;--s)i.point((u=c[s])[0],u[1]);else r(d.x,d.p.x,-1,i);d=d.p}c=(d=d.o).z,f=!f}while(!d.v);i.lineEnd()}}}function ah(t){if(e=t.length){for(var e,n,r=0,i=t[0];++r<e;)i.n=n=t[r],n.p=i,i=n;i.n=n=t[0],n.p=i}}function oh(t){return Su(t[0])<=yu?t[0]:Au(t[0])*((Su(t[0])+yu)%_u-yu)}function lh(t,e,n,r){return function(i){var s,a,o,l=e(i),c=nh(),u=e(c),h=!1,d={point:f,lineStart:g,lineEnd:v,polygonStart:function(){d.point=m,d.lineStart=y,d.lineEnd=b,a=[],s=[]},polygonEnd:function(){d.point=f,d.lineStart=g,d.lineEnd=v,a=Gs(a);var t=function(t,e){var n=oh(e),r=e[1],i=Ou(r),s=[Ou(n),-Mu(n),0],a=0,o=0,l=new Ds;1===i?r=bu+vu:-1===i&&(r=-bu-vu);for(var c=0,u=t.length;c<u;++c)if(d=(h=t[c]).length)for(var h,d,f=h[d-1],p=oh(f),g=f[1]/2+wu,v=Ou(g),m=Mu(g),y=0;y<d;++y,p=w,v=x,m=k,f=b){var b=h[y],w=oh(b),_=b[1]/2+wu,x=Ou(_),k=Mu(_),S=w-p,T=S>=0?1:-1,C=T*S,M=C>yu,R=v*x;if(l.add(Cu(R*T*Ou(C),m*k+R*Mu(C))),a+=M?S+T*_u:S,M^p>=n^w>=n){var E=qu(Uu(f),Uu(b));Gu(E);var O=qu(s,E);Gu(O);var A=(M^S>=0?-1:1)*Iu(O[2]);(r>A||r===A&&(E[0]||E[1]))&&(o+=M^S>=0?1:-1)}}return(a<-vu||a<vu&&l<-mu)^1&o}(s,r);a.length?(h||(i.polygonStart(),h=!0),sh(a,uh,t,n,i)):t&&(h||(i.polygonStart(),h=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),h&&(i.polygonEnd(),h=!1),a=s=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function f(e,n){t(e,n)&&i.point(e,n)}function p(t,e){l.point(t,e)}function g(){d.point=p,l.lineStart()}function v(){d.point=f,l.lineEnd()}function m(t,e){o.push([t,e]),u.point(t,e)}function y(){u.lineStart(),o=[]}function b(){m(o[0][0],o[0][1]),u.lineEnd();var t,e,n,r,l=u.clean(),d=c.result(),f=d.length;if(o.pop(),s.push(o),o=null,f)if(1&l){if((e=(n=d[0]).length-1)>0){for(h||(i.polygonStart(),h=!0),i.lineStart(),t=0;t<e;++t)i.point((r=n[t])[0],r[1]);i.lineEnd()}}else f>1&&2&l&&d.push(d.pop().concat(d.shift())),a.push(d.filter(ch))}return d}}function ch(t){return t.length>1}function uh(t,e){return((t=t.x)[0]<0?t[1]-bu-vu:bu-t[1])-((e=e.x)[0]<0?e[1]-bu-vu:bu-e[1])}Xu.invert=Xu;const hh=lh((function(){return!0}),(function(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(s,a){var o=s>0?yu:-yu,l=Su(s-n);Su(l-yu)<vu?(t.point(n,r=(r+a)/2>0?bu:-bu),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(o,r),t.point(s,r),e=0):i!==o&&l>=yu&&(Su(n-i)<vu&&(n-=i*vu),Su(s-o)<vu&&(s-=o*vu),r=function(t,e,n,r){var i,s,a=Ou(t-n);return Su(a)>vu?Tu((Ou(e)*(s=Mu(r))*Ou(n)-Ou(r)*(i=Mu(e))*Ou(t))/(i*s*a)):(e+r)/2}(n,r,s,a),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(o,r),e=0),t.point(n=s,r=a),i=o},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}}),(function(t,e,n,r){var i;if(null==t)i=n*bu,r.point(-yu,i),r.point(0,i),r.point(yu,i),r.point(yu,0),r.point(yu,-i),r.point(0,-i),r.point(-yu,-i),r.point(-yu,0),r.point(-yu,i);else if(Su(t[0]-e[0])>vu){var s=t[0]<e[0]?yu:-yu;i=n*s/2,r.point(-s,i),r.point(0,i),r.point(s,i)}else r.point(e[0],e[1])}),[-yu,-bu]);function dh(t){var e=Mu(t),n=2*ku,r=e>0,i=Su(e)>vu;function s(t,n){return Mu(t)*Mu(n)>e}function a(t,n,r){var i=[1,0,0],s=qu(Uu(t),Uu(n)),a=Bu(s,s),o=s[0],l=a-o*o;if(!l)return!r&&t;var c=e*a/l,u=-e*o/l,h=qu(i,s),d=Yu(i,c);Wu(d,Yu(s,u));var f=h,p=Bu(d,f),g=Bu(f,f),v=p*p-g*(Bu(d,d)-1);if(!(v<0)){var m=Pu(v),y=Yu(f,(-p-m)/g);if(Wu(y,d),y=ju(y),!r)return y;var b,w=t[0],_=n[0],x=t[1],k=n[1];_<w&&(b=w,w=_,_=b);var S=_-w,T=Su(S-yu)<vu;if(!T&&k<x&&(b=x,x=k,k=b),T||S<vu?T?x+k>0^y[1]<(Su(y[0]-w)<vu?x:k):x<=y[1]&&y[1]<=k:S>yu^(w<=y[0]&&y[0]<=_)){var C=Yu(f,(-p+m)/g);return Wu(C,d),[y,ju(C)]}}}function o(e,n){var i=r?t:yu-t,s=0;return e<-i?s|=1:e>i&&(s|=2),n<-i?s|=4:n>i&&(s|=8),s}return lh(s,(function(t){var e,n,l,c,u;return{lineStart:function(){c=l=!1,u=1},point:function(h,d){var f,p=[h,d],g=s(h,d),v=r?g?0:o(h,d):g?o(h+(h<0?yu:-yu),d):0;if(!e&&(c=l=g)&&t.lineStart(),g!==l&&(!(f=a(e,p))||rh(e,f)||rh(p,f))&&(p[2]=1),g!==l)u=0,g?(t.lineStart(),f=a(p,e),t.point(f[0],f[1])):(f=a(e,p),t.point(f[0],f[1],2),t.lineEnd()),e=f;else if(i&&e&&r^g){var m;v&n||!(m=a(p,e,!0))||(u=0,r?(t.lineStart(),t.point(m[0][0],m[0][1]),t.point(m[1][0],m[1][1]),t.lineEnd()):(t.point(m[1][0],m[1][1]),t.lineEnd(),t.lineStart(),t.point(m[0][0],m[0][1],3)))}!g||e&&rh(e,p)||t.point(p[0],p[1]),e=p,l=g,n=v},lineEnd:function(){l&&t.lineEnd(),e=null},clean:function(){return u|(c&&l)<<1}}}),(function(e,r,i,s){!function(t,e,n,r,i,s){if(n){var a=Mu(e),o=Ou(e),l=r*n;null==i?(i=e+r*_u,s=e-l/2):(i=eh(a,i),s=eh(a,s),(r>0?i<s:i>s)&&(i+=r*_u));for(var c,u=i;r>0?u>s:u<s;u-=l)c=ju([a,-o*Mu(u),-o*Ou(u)]),t.point(c[0],c[1])}}(s,t,n,i,e,r)}),r?[0,-t]:[-yu,t-yu])}var fh=1e9,ph=-fh;function gh(t,e,n,r){function i(i,s){return t<=i&&i<=n&&e<=s&&s<=r}function s(i,s,o,c){var u=0,h=0;if(null==i||(u=a(i,o))!==(h=a(s,o))||l(i,s)<0^o>0)do{c.point(0===u||3===u?t:n,u>1?r:e)}while((u=(u+o+4)%4)!==h);else c.point(s[0],s[1])}function a(r,i){return Su(r[0]-t)<vu?i>0?0:3:Su(r[0]-n)<vu?i>0?2:1:Su(r[1]-e)<vu?i>0?1:0:i>0?3:2}function o(t,e){return l(t.x,e.x)}function l(t,e){var n=a(t,1),r=a(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(a){var l,c,u,h,d,f,p,g,v,m,y,b=a,w=nh(),_={point:x,lineStart:function(){_.point=k,c&&c.push(u=[]);m=!0,v=!1,p=g=NaN},lineEnd:function(){l&&(k(h,d),f&&v&&w.rejoin(),l.push(w.result()));_.point=x,v&&b.lineEnd()},polygonStart:function(){b=w,l=[],c=[],y=!0},polygonEnd:function(){var e=function(){for(var e=0,n=0,i=c.length;n<i;++n)for(var s,a,o=c[n],l=1,u=o.length,h=o[0],d=h[0],f=h[1];l<u;++l)s=d,a=f,d=(h=o[l])[0],f=h[1],a<=r?f>r&&(d-s)*(r-a)>(f-a)*(t-s)&&++e:f<=r&&(d-s)*(r-a)<(f-a)*(t-s)&&--e;return e}(),n=y&&e,i=(l=Gs(l)).length;(n||i)&&(a.polygonStart(),n&&(a.lineStart(),s(null,null,1,a),a.lineEnd()),i&&sh(l,o,e,s,a),a.polygonEnd());b=a,l=c=u=null}};function x(t,e){i(t,e)&&b.point(t,e)}function k(s,a){var o=i(s,a);if(c&&u.push([s,a]),m)h=s,d=a,f=o,m=!1,o&&(b.lineStart(),b.point(s,a));else if(o&&v)b.point(s,a);else{var l=[p=Math.max(ph,Math.min(fh,p)),g=Math.max(ph,Math.min(fh,g))],w=[s=Math.max(ph,Math.min(fh,s)),a=Math.max(ph,Math.min(fh,a))];!function(t,e,n,r,i,s){var a,o=t[0],l=t[1],c=0,u=1,h=e[0]-o,d=e[1]-l;if(a=n-o,h||!(a>0)){if(a/=h,h<0){if(a<c)return;a<u&&(u=a)}else if(h>0){if(a>u)return;a>c&&(c=a)}if(a=i-o,h||!(a<0)){if(a/=h,h<0){if(a>u)return;a>c&&(c=a)}else if(h>0){if(a<c)return;a<u&&(u=a)}if(a=r-l,d||!(a>0)){if(a/=d,d<0){if(a<c)return;a<u&&(u=a)}else if(d>0){if(a>u)return;a>c&&(c=a)}if(a=s-l,d||!(a<0)){if(a/=d,d<0){if(a>u)return;a>c&&(c=a)}else if(d>0){if(a<c)return;a<u&&(u=a)}return c>0&&(t[0]=o+c*h,t[1]=l+c*d),u<1&&(e[0]=o+u*h,e[1]=l+u*d),!0}}}}}(l,w,t,e,n,r)?o&&(b.lineStart(),b.point(s,a),y=!1):(v||(b.lineStart(),b.point(l[0],l[1])),b.point(w[0],w[1]),o||b.lineEnd(),y=!1)}p=s,g=a,v=o}return _}}const vh=t=>t;var mh,yh,bh,wh,_h=new Ds,xh=new Ds,kh={point:Du,lineStart:Du,lineEnd:Du,polygonStart:function(){kh.lineStart=Sh,kh.lineEnd=Mh},polygonEnd:function(){kh.lineStart=kh.lineEnd=kh.point=Du,_h.add(Su(xh)),xh=new Ds},result:function(){var t=_h/2;return _h=new Ds,t}};function Sh(){kh.point=Th}function Th(t,e){kh.point=Ch,mh=bh=t,yh=wh=e}function Ch(t,e){xh.add(wh*t-bh*e),bh=t,wh=e}function Mh(){Ch(mh,yh)}var Rh=1/0,Eh=Rh,Oh=-Rh,Ah=Oh,Ph={point:function(t,e){t<Rh&&(Rh=t);t>Oh&&(Oh=t);e<Eh&&(Eh=e);e>Ah&&(Ah=e)},lineStart:Du,lineEnd:Du,polygonStart:Du,polygonEnd:Du,result:function(){var t=[[Rh,Eh],[Oh,Ah]];return Oh=Ah=-(Eh=Rh=1/0),t}};var $h,Ih,Dh,Nh,Lh=0,Hh=0,Fh=0,Vh=0,zh=0,jh=0,Uh=0,Bh=0,qh=0,Wh={point:Yh,lineStart:Gh,lineEnd:Qh,polygonStart:function(){Wh.lineStart=Jh,Wh.lineEnd=Zh},polygonEnd:function(){Wh.point=Yh,Wh.lineStart=Gh,Wh.lineEnd=Qh},result:function(){var t=qh?[Uh/qh,Bh/qh]:jh?[Vh/jh,zh/jh]:Fh?[Lh/Fh,Hh/Fh]:[NaN,NaN];return Lh=Hh=Fh=Vh=zh=jh=Uh=Bh=qh=0,t}};function Yh(t,e){Lh+=t,Hh+=e,++Fh}function Gh(){Wh.point=Kh}function Kh(t,e){Wh.point=Xh,Yh(Dh=t,Nh=e)}function Xh(t,e){var n=t-Dh,r=e-Nh,i=Pu(n*n+r*r);Vh+=i*(Dh+t)/2,zh+=i*(Nh+e)/2,jh+=i,Yh(Dh=t,Nh=e)}function Qh(){Wh.point=Yh}function Jh(){Wh.point=td}function Zh(){ed($h,Ih)}function td(t,e){Wh.point=ed,Yh($h=Dh=t,Ih=Nh=e)}function ed(t,e){var n=t-Dh,r=e-Nh,i=Pu(n*n+r*r);Vh+=i*(Dh+t)/2,zh+=i*(Nh+e)/2,jh+=i,Uh+=(i=Nh*t-Dh*e)*(Dh+t),Bh+=i*(Nh+e),qh+=3*i,Yh(Dh=t,Nh=e)}function nd(t){this._context=t}nd.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,_u)}},result:Du};var rd,id,sd,ad,od,ld=new Ds,cd={point:Du,lineStart:function(){cd.point=ud},lineEnd:function(){rd&&hd(id,sd),cd.point=Du},polygonStart:function(){rd=!0},polygonEnd:function(){rd=null},result:function(){var t=+ld;return ld=new Ds,t}};function ud(t,e){cd.point=hd,id=ad=t,sd=od=e}function hd(t,e){ad-=t,od-=e,ld.add(Pu(ad*ad+od*od)),ad=t,od=e}let dd,fd,pd,gd;class vd{constructor(t){this._append=null==t?md:function(t){const e=Math.floor(t);if(!(e>=0))throw new RangeError(`invalid digits: ${t}`);if(e>15)return md;if(e!==dd){const t=10**e;dd=e,fd=function(e){let n=1;this._+=e[0];for(const r=e.length;n<r;++n)this._+=Math.round(arguments[n]*t)/t+e[n]}}return fd}(t),this._radius=4.5,this._=""}pointRadius(t){return this._radius=+t,this}polygonStart(){this._line=0}polygonEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){0===this._line&&(this._+="Z"),this._point=NaN}point(t,e){switch(this._point){case 0:this._append`M${t},${e}`,this._point=1;break;case 1:this._append`L${t},${e}`;break;default:if(this._append`M${t},${e}`,this._radius!==pd||this._append!==fd){const t=this._radius,e=this._;this._="",this._append`m0,${t}a${t},${t} 0 1,1 0,${-2*t}a${t},${t} 0 1,1 0,${2*t}z`,pd=t,fd=this._append,gd=this._,this._=e}this._+=gd}}result(){const t=this._;return this._="",t.length?t:null}}function md(t){let e=1;this._+=t[0];for(const n=t.length;e<n;++e)this._+=arguments[e]+t[e]}function yd(t,e){let n,r,i=3,s=4.5;function a(t){return t&&("function"==typeof s&&r.pointRadius(+s.apply(this,arguments)),zu(t,n(r))),r.result()}return a.area=function(t){return zu(t,n(kh)),kh.result()},a.measure=function(t){return zu(t,n(cd)),cd.result()},a.bounds=function(t){return zu(t,n(Ph)),Ph.result()},a.centroid=function(t){return zu(t,n(Wh)),Wh.result()},a.projection=function(e){return arguments.length?(n=null==e?(t=null,vh):(t=e).stream,a):t},a.context=function(t){return arguments.length?(r=null==t?(e=null,new vd(i)):new nd(e=t),"function"!=typeof s&&r.pointRadius(s),a):e},a.pointRadius=function(t){return arguments.length?(s="function"==typeof t?t:(r.pointRadius(+t),+t),a):s},a.digits=function(t){if(!arguments.length)return i;if(null==t)i=null;else{const e=Math.floor(t);if(!(e>=0))throw new RangeError(`invalid digits: ${t}`);i=e}return null===e&&(r=new vd(i)),a},a.projection(t).digits(i).context(e)}function bd(t){return function(e){var n=new wd;for(var r in t)n[r]=t[r];return n.stream=e,n}}function wd(){}function _d(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),zu(n,t.stream(Ph)),e(Ph.result()),null!=r&&t.clipExtent(r),t}function xd(t,e,n){return _d(t,(function(n){var r=e[1][0]-e[0][0],i=e[1][1]-e[0][1],s=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),a=+e[0][0]+(r-s*(n[1][0]+n[0][0]))/2,o=+e[0][1]+(i-s*(n[1][1]+n[0][1]))/2;t.scale(150*s).translate([a,o])}),n)}wd.prototype={constructor:wd,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var kd=16,Sd=Mu(30*ku);function Td(t,e){return+e?function(t,e){function n(r,i,s,a,o,l,c,u,h,d,f,p,g,v){var m=c-r,y=u-i,b=m*m+y*y;if(b>4*e&&g--){var w=a+d,_=o+f,x=l+p,k=Pu(w*w+_*_+x*x),S=Iu(x/=k),T=Su(Su(x)-1)<vu||Su(s-h)<vu?(s+h)/2:Cu(_,w),C=t(T,S),M=C[0],R=C[1],E=M-r,O=R-i,A=y*E-m*O;(A*A/b>e||Su((m*E+y*O)/b-.5)>.3||a*d+o*f+l*p<Sd)&&(n(r,i,s,a,o,l,M,R,T,w/=k,_/=k,x,g,v),v.point(M,R),n(M,R,T,w,_,x,c,u,h,d,f,p,g,v))}}return function(e){var r,i,s,a,o,l,c,u,h,d,f,p,g={point:v,lineStart:m,lineEnd:b,polygonStart:function(){e.polygonStart(),g.lineStart=w},polygonEnd:function(){e.polygonEnd(),g.lineStart=m}};function v(n,r){n=t(n,r),e.point(n[0],n[1])}function m(){u=NaN,g.point=y,e.lineStart()}function y(r,i){var s=Uu([r,i]),a=t(r,i);n(u,h,c,d,f,p,u=a[0],h=a[1],c=r,d=s[0],f=s[1],p=s[2],kd,e),e.point(u,h)}function b(){g.point=v,e.lineEnd()}function w(){m(),g.point=_,g.lineEnd=x}function _(t,e){y(r=t,e),i=u,s=h,a=d,o=f,l=p,g.point=y}function x(){n(u,h,c,d,f,p,i,s,r,a,o,l,kd,e),g.lineEnd=b,b()}return g}}(t,e):function(t){return bd({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}(t)}var Cd=bd({point:function(t,e){this.stream.point(t*ku,e*ku)}});function Md(t,e,n,r,i,s){if(!s)return function(t,e,n,r,i){function s(s,a){return[e+t*(s*=r),n-t*(a*=i)]}return s.invert=function(s,a){return[(s-e)/t*r,(n-a)/t*i]},s}(t,e,n,r,i);var a=Mu(s),o=Ou(s),l=a*t,c=o*t,u=a/t,h=o/t,d=(o*n-a*e)/t,f=(o*e+a*n)/t;function p(t,s){return[l*(t*=r)-c*(s*=i)+e,n-c*t-l*s]}return p.invert=function(t,e){return[r*(u*t-h*e+d),i*(f-h*t-u*e)]},p}function Rd(t){return function(t){var e,n,r,i,s,a,o,l,c,u,h=150,d=480,f=250,p=0,g=0,v=0,m=0,y=0,b=0,w=1,_=1,x=null,k=hh,S=null,T=vh,C=.5;function M(t){return l(t[0]*ku,t[1]*ku)}function R(t){return(t=l.invert(t[0],t[1]))&&[t[0]*xu,t[1]*xu]}function E(){var t=Md(h,0,0,w,_,b).apply(null,e(p,g)),r=Md(h,d-t[0],f-t[1],w,_,b);return n=Qu(v,m,y),o=Ku(e,r),l=Ku(n,o),a=Td(o,C),O()}function O(){return c=u=null,M}return M.stream=function(t){return c&&u===t?c:c=Cd(function(t){return bd({point:function(e,n){var r=t(e,n);return this.stream.point(r[0],r[1])}})}(n)(k(a(T(u=t)))))},M.preclip=function(t){return arguments.length?(k=t,x=void 0,O()):k},M.postclip=function(t){return arguments.length?(T=t,S=r=i=s=null,O()):T},M.clipAngle=function(t){return arguments.length?(k=+t?dh(x=t*ku):(x=null,hh),O()):x*xu},M.clipExtent=function(t){return arguments.length?(T=null==t?(S=r=i=s=null,vh):gh(S=+t[0][0],r=+t[0][1],i=+t[1][0],s=+t[1][1]),O()):null==S?null:[[S,r],[i,s]]},M.scale=function(t){return arguments.length?(h=+t,E()):h},M.translate=function(t){return arguments.length?(d=+t[0],f=+t[1],E()):[d,f]},M.center=function(t){return arguments.length?(p=t[0]%360*ku,g=t[1]%360*ku,E()):[p*xu,g*xu]},M.rotate=function(t){return arguments.length?(v=t[0]%360*ku,m=t[1]%360*ku,y=t.length>2?t[2]%360*ku:0,E()):[v*xu,m*xu,y*xu]},M.angle=function(t){return arguments.length?(b=t%360*ku,E()):b*xu},M.reflectX=function(t){return arguments.length?(w=t?-1:1,E()):w<0},M.reflectY=function(t){return arguments.length?(_=t?-1:1,E()):_<0},M.precision=function(t){return arguments.length?(a=Td(o,C=t*t),O()):Pu(C)},M.fitExtent=function(t,e){return xd(M,t,e)},M.fitSize=function(t,e){return function(t,e,n){return xd(t,[[0,0],e],n)}(M,t,e)},M.fitWidth=function(t,e){return function(t,e,n){return _d(t,(function(n){var r=+e,i=r/(n[1][0]-n[0][0]),s=(r-i*(n[1][0]+n[0][0]))/2,a=-i*n[0][1];t.scale(150*i).translate([s,a])}),n)}(M,t,e)},M.fitHeight=function(t,e){return function(t,e,n){return _d(t,(function(n){var r=+e,i=r/(n[1][1]-n[0][1]),s=-i*n[0][0],a=(r-i*(n[1][1]+n[0][1]))/2;t.scale(150*i).translate([s,a])}),n)}(M,t,e)},function(){return e=t.apply(this,arguments),M.invert=e.invert&&R,E()}}((function(){return t}))()}function Ed(t,e){return[t,Eu($u((bu+e)/2))]}function Od(){return function(t){var e,n,r,i=Rd(t),s=i.center,a=i.scale,o=i.translate,l=i.clipExtent,c=null;function u(){var s=yu*a(),o=i(function(t){function e(e){return(e=t(e[0]*ku,e[1]*ku))[0]*=xu,e[1]*=xu,e}return t=Qu(t[0]*ku,t[1]*ku,t.length>2?t[2]*ku:0),e.invert=function(e){return(e=t.invert(e[0]*ku,e[1]*ku))[0]*=xu,e[1]*=xu,e},e}(i.rotate()).invert([0,0]));return l(null==c?[[o[0]-s,o[1]-s],[o[0]+s,o[1]+s]]:t===Ed?[[Math.max(o[0]-s,c),e],[Math.min(o[0]+s,n),r]]:[[c,Math.max(o[1]-s,e)],[n,Math.min(o[1]+s,r)]])}return i.scale=function(t){return arguments.length?(a(t),u()):a()},i.translate=function(t){return arguments.length?(o(t),u()):o()},i.center=function(t){return arguments.length?(s(t),u()):s()},i.clipExtent=function(t){return arguments.length?(null==t?c=e=n=r=null:(c=+t[0][0],e=+t[0][1],n=+t[1][0],r=+t[1][1]),u()):null==c?null:[[c,e],[n,r]]},u()}(Ed).scale(961/_u)}function Ad(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function Pd(t){return+t}Ed.invert=function(t,e){return[t,2*Tu(Ru(e))-bu]};var $d=[0,1];function Id(t){return t}function Dd(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:function(t){return function(){return t}}(isNaN(e)?NaN:.5)}function Nd(t,e,n){var r=t[0],i=t[1],s=e[0],a=e[1];return i<r?(r=Dd(i,r),s=n(a,s)):(r=Dd(r,i),s=n(s,a)),function(t){return s(r(t))}}function Ld(t,e,n){var r=Math.min(t.length,e.length)-1,i=new Array(r),s=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<r;)i[a]=Dd(t[a],t[a+1]),s[a]=n(e[a],e[a+1]);return function(e){var n=$s(t,e,1,r)-1;return s[n](i[n](e))}}function Hd(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Fd(){var t,e,n,r,i,s,a=$d,o=$d,l=El,c=Id;function u(){var t=Math.min(a.length,o.length);return c!==Id&&(c=function(t,e){var n;return t>e&&(n=t,t=e,e=n),function(n){return Math.max(t,Math.min(e,n))}}(a[0],a[t-1])),r=t>2?Ld:Nd,i=s=null,h}function h(e){return null==e||isNaN(e=+e)?n:(i||(i=r(a.map(t),o,l)))(t(c(e)))}return h.invert=function(n){return c(e((s||(s=r(o,a.map(t),Sl)))(n)))},h.domain=function(t){return arguments.length?(a=Array.from(t,Pd),u()):a.slice()},h.range=function(t){return arguments.length?(o=Array.from(t),u()):o.slice()},h.rangeRound=function(t){return o=Array.from(t),l=Ol,u()},h.clamp=function(t){return arguments.length?(c=!!t||Id,u()):c!==Id},h.interpolate=function(t){return arguments.length?(l=t,u()):l},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,r){return t=n,e=r,u()}}function Vd(){return Fd()(Id,Id)}function zd(t,e,n,r){var i,s=qs(t,e,n);switch((r=iu(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(eu(e)/3)))-eu(Math.abs(t)))}(s,a))||(r.precision=i),hu(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,eu(e)-eu(t))+1}(s,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(t){return Math.max(0,-eu(Math.abs(t)))}(s))||(r.precision=i-2*("%"===r.type))}return uu(r)}function jd(t){var e=t.domain;return t.ticks=function(t){var n=e();return function(t,e,n){if(!((n=+n)>0))return[];if((t=+t)==(e=+e))return[t];const r=e<t,[i,s,a]=r?Us(e,t,n):Us(t,e,n);if(!(s>=i))return[];const o=s-i+1,l=new Array(o);if(r)if(a<0)for(let c=0;c<o;++c)l[c]=(s-c)/-a;else for(let c=0;c<o;++c)l[c]=(s-c)*a;else if(a<0)for(let c=0;c<o;++c)l[c]=(i+c)/-a;else for(let c=0;c<o;++c)l[c]=(i+c)*a;return l}(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return zd(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i,s=e(),a=0,o=s.length-1,l=s[a],c=s[o],u=10;for(c<l&&(i=l,l=c,c=i,i=a,a=o,o=i);u-- >0;){if((i=Bs(l,c,n))===r)return s[a]=l,s[o]=c,e(s);if(i>0)l=Math.floor(l/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;l=Math.ceil(l*i)/i,c=Math.floor(c*i)/i}r=i}return t},t}function Ud(){var t=Vd();return t.copy=function(){return Hd(t,Ud())},Ad.apply(t,arguments),jd(t)}const Bd=new Date,qd=new Date;function Wd(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=e=>(t(e=new Date(+e)),e),i.ceil=n=>(t(n=new Date(n-1)),e(n,1),t(n),n),i.round=t=>{const e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=(t,n)=>(e(t=new Date(+t),null==n?1:Math.floor(n)),t),i.range=(n,r,s)=>{const a=[];if(n=i.ceil(n),s=null==s?1:Math.floor(s),!(n<r&&s>0))return a;let o;do{a.push(o=new Date(+n)),e(n,s),t(n)}while(o<n&&n<r);return a},i.filter=n=>Wd((e=>{if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)}),((t,r)=>{if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})),n&&(i.count=(e,r)=>(Bd.setTime(+e),qd.setTime(+r),t(Bd),t(qd),Math.floor(n(Bd,qd))),i.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?e=>r(e)%t==0:e=>i.count(0,e)%t==0):i:null)),i}const Yd=Wd((()=>{}),((t,e)=>{t.setTime(+t+e)}),((t,e)=>e-t));Yd.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?Wd((e=>{e.setTime(Math.floor(e/t)*t)}),((e,n)=>{e.setTime(+e+n*t)}),((e,n)=>(n-e)/t)):Yd:null),Yd.range;const Gd=1e3,Kd=6e4,Xd=60*Kd,Qd=24*Xd,Jd=7*Qd,Zd=30*Qd,tf=365*Qd,ef=Wd((t=>{t.setTime(t-t.getMilliseconds())}),((t,e)=>{t.setTime(+t+e*Gd)}),((t,e)=>(e-t)/Gd),(t=>t.getUTCSeconds()));ef.range;const nf=Wd((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Gd)}),((t,e)=>{t.setTime(+t+e*Kd)}),((t,e)=>(e-t)/Kd),(t=>t.getMinutes()));nf.range;const rf=Wd((t=>{t.setUTCSeconds(0,0)}),((t,e)=>{t.setTime(+t+e*Kd)}),((t,e)=>(e-t)/Kd),(t=>t.getUTCMinutes()));rf.range;const sf=Wd((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Gd-t.getMinutes()*Kd)}),((t,e)=>{t.setTime(+t+e*Xd)}),((t,e)=>(e-t)/Xd),(t=>t.getHours()));sf.range;const af=Wd((t=>{t.setUTCMinutes(0,0,0)}),((t,e)=>{t.setTime(+t+e*Xd)}),((t,e)=>(e-t)/Xd),(t=>t.getUTCHours()));af.range;const of=Wd((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Kd)/Qd),(t=>t.getDate()-1));of.range;const lf=Wd((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/Qd),(t=>t.getUTCDate()-1));lf.range;const cf=Wd((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/Qd),(t=>Math.floor(t/Qd)));function uf(t){return Wd((e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),((t,e)=>{t.setDate(t.getDate()+7*e)}),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Kd)/Jd))}cf.range;const hf=uf(0),df=uf(1),ff=uf(2),pf=uf(3),gf=uf(4),vf=uf(5),mf=uf(6);function yf(t){return Wd((e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)}),((t,e)=>(e-t)/Jd))}hf.range,df.range,ff.range,pf.range,gf.range,vf.range,mf.range;const bf=yf(0),wf=yf(1),_f=yf(2),xf=yf(3),kf=yf(4),Sf=yf(5),Tf=yf(6);bf.range,wf.range,_f.range,xf.range,kf.range,Sf.range,Tf.range;const Cf=Wd((t=>{t.setDate(1),t.setHours(0,0,0,0)}),((t,e)=>{t.setMonth(t.getMonth()+e)}),((t,e)=>e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())),(t=>t.getMonth()));Cf.range;const Mf=Wd((t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)}),((t,e)=>e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())),(t=>t.getUTCMonth()));Mf.range;const Rf=Wd((t=>{t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,e)=>{t.setFullYear(t.getFullYear()+e)}),((t,e)=>e.getFullYear()-t.getFullYear()),(t=>t.getFullYear()));Rf.every=t=>isFinite(t=Math.floor(t))&&t>0?Wd((e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,n)=>{e.setFullYear(e.getFullYear()+n*t)})):null,Rf.range;const Ef=Wd((t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)}),((t,e)=>e.getUTCFullYear()-t.getUTCFullYear()),(t=>t.getUTCFullYear()));Ef.every=t=>isFinite(t=Math.floor(t))&&t>0?Wd((e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null,Ef.range;const[Of,Af]=function(t,e,n,r,i,s){const a=[[ef,1,Gd],[ef,5,5e3],[ef,15,15e3],[ef,30,3e4],[s,1,Kd],[s,5,5*Kd],[s,15,15*Kd],[s,30,30*Kd],[i,1,Xd],[i,3,3*Xd],[i,6,6*Xd],[i,12,12*Xd],[r,1,Qd],[r,2,2*Qd],[n,1,Jd],[e,1,Zd],[e,3,3*Zd],[t,1,tf]];function o(e,n,r){const i=Math.abs(n-e)/r,s=As((([,,t])=>t)).right(a,i);if(s===a.length)return t.every(qs(e/tf,n/tf,r));if(0===s)return Yd.every(Math.max(qs(e,n,r),1));const[o,l]=a[i/a[s-1][2]<a[s][2]/i?s-1:s];return o.every(l)}return[function(t,e,n){const r=e<t;r&&([t,e]=[e,t]);const i=n&&"function"==typeof n.range?n:o(t,e,n),s=i?i.range(t,+e+1):[];return r?s.reverse():s},o]}(Rf,Cf,hf,of,sf,nf);function Pf(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function $f(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function If(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var Df,Nf,Lf,Hf,Ff={"-":"",_:" ",0:"0"},Vf=/^\s*\d+/,zf=/^%/,jf=/[\\^$*+?|[\]().{}]/g;function Uf(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",s=i.length;return r+(s<n?new Array(n-s+1).join(e)+i:i)}function Bf(t){return t.replace(jf,"\\$&")}function qf(t){return new RegExp("^(?:"+t.map(Bf).join("|")+")","i")}function Wf(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function Yf(t,e,n){var r=Vf.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Gf(t,e,n){var r=Vf.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Kf(t,e,n){var r=Vf.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Xf(t,e,n){var r=Vf.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Qf(t,e,n){var r=Vf.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Jf(t,e,n){var r=Vf.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Zf(t,e,n){var r=Vf.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function tp(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function ep(t,e,n){var r=Vf.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function np(t,e,n){var r=Vf.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function rp(t,e,n){var r=Vf.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function ip(t,e,n){var r=Vf.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function sp(t,e,n){var r=Vf.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function ap(t,e,n){var r=Vf.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function op(t,e,n){var r=Vf.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function lp(t,e,n){var r=Vf.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function cp(t,e,n){var r=Vf.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function up(t,e,n){var r=zf.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function hp(t,e,n){var r=Vf.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function dp(t,e,n){var r=Vf.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function fp(t,e){return Uf(t.getDate(),e,2)}function pp(t,e){return Uf(t.getHours(),e,2)}function gp(t,e){return Uf(t.getHours()%12||12,e,2)}function vp(t,e){return Uf(1+of.count(Rf(t),t),e,3)}function mp(t,e){return Uf(t.getMilliseconds(),e,3)}function yp(t,e){return mp(t,e)+"000"}function bp(t,e){return Uf(t.getMonth()+1,e,2)}function wp(t,e){return Uf(t.getMinutes(),e,2)}function _p(t,e){return Uf(t.getSeconds(),e,2)}function xp(t){var e=t.getDay();return 0===e?7:e}function kp(t,e){return Uf(hf.count(Rf(t)-1,t),e,2)}function Sp(t){var e=t.getDay();return e>=4||0===e?gf(t):gf.ceil(t)}function Tp(t,e){return t=Sp(t),Uf(gf.count(Rf(t),t)+(4===Rf(t).getDay()),e,2)}function Cp(t){return t.getDay()}function Mp(t,e){return Uf(df.count(Rf(t)-1,t),e,2)}function Rp(t,e){return Uf(t.getFullYear()%100,e,2)}function Ep(t,e){return Uf((t=Sp(t)).getFullYear()%100,e,2)}function Op(t,e){return Uf(t.getFullYear()%1e4,e,4)}function Ap(t,e){var n=t.getDay();return Uf((t=n>=4||0===n?gf(t):gf.ceil(t)).getFullYear()%1e4,e,4)}function Pp(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Uf(e/60|0,"0",2)+Uf(e%60,"0",2)}function $p(t,e){return Uf(t.getUTCDate(),e,2)}function Ip(t,e){return Uf(t.getUTCHours(),e,2)}function Dp(t,e){return Uf(t.getUTCHours()%12||12,e,2)}function Np(t,e){return Uf(1+lf.count(Ef(t),t),e,3)}function Lp(t,e){return Uf(t.getUTCMilliseconds(),e,3)}function Hp(t,e){return Lp(t,e)+"000"}function Fp(t,e){return Uf(t.getUTCMonth()+1,e,2)}function Vp(t,e){return Uf(t.getUTCMinutes(),e,2)}function zp(t,e){return Uf(t.getUTCSeconds(),e,2)}function jp(t){var e=t.getUTCDay();return 0===e?7:e}function Up(t,e){return Uf(bf.count(Ef(t)-1,t),e,2)}function Bp(t){var e=t.getUTCDay();return e>=4||0===e?kf(t):kf.ceil(t)}function qp(t,e){return t=Bp(t),Uf(kf.count(Ef(t),t)+(4===Ef(t).getUTCDay()),e,2)}function Wp(t){return t.getUTCDay()}function Yp(t,e){return Uf(wf.count(Ef(t)-1,t),e,2)}function Gp(t,e){return Uf(t.getUTCFullYear()%100,e,2)}function Kp(t,e){return Uf((t=Bp(t)).getUTCFullYear()%100,e,2)}function Xp(t,e){return Uf(t.getUTCFullYear()%1e4,e,4)}function Qp(t,e){var n=t.getUTCDay();return Uf((t=n>=4||0===n?kf(t):kf.ceil(t)).getUTCFullYear()%1e4,e,4)}function Jp(){return"+0000"}function Zp(){return"%"}function tg(t){return+t}function eg(t){return Math.floor(+t/1e3)}function ng(t){return Df=function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,s=t.days,a=t.shortDays,o=t.months,l=t.shortMonths,c=qf(i),u=Wf(i),h=qf(s),d=Wf(s),f=qf(a),p=Wf(a),g=qf(o),v=Wf(o),m=qf(l),y=Wf(l),b={a:function(t){return a[t.getDay()]},A:function(t){return s[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return o[t.getMonth()]},c:null,d:fp,e:fp,f:yp,g:Ep,G:Ap,H:pp,I:gp,j:vp,L:mp,m:bp,M:wp,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:tg,s:eg,S:_p,u:xp,U:kp,V:Tp,w:Cp,W:Mp,x:null,X:null,y:Rp,Y:Op,Z:Pp,"%":Zp},w={a:function(t){return a[t.getUTCDay()]},A:function(t){return s[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return o[t.getUTCMonth()]},c:null,d:$p,e:$p,f:Hp,g:Kp,G:Qp,H:Ip,I:Dp,j:Np,L:Lp,m:Fp,M:Vp,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:tg,s:eg,S:zp,u:jp,U:Up,V:qp,w:Wp,W:Yp,x:null,X:null,y:Gp,Y:Xp,Z:Jp,"%":Zp},_={a:function(t,e,n){var r=f.exec(e.slice(n));return r?(t.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=d.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=m.exec(e.slice(n));return r?(t.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return S(t,e,n,r)},d:rp,e:rp,f:cp,g:Zf,G:Jf,H:sp,I:sp,j:ip,L:lp,m:np,M:ap,p:function(t,e,n){var r=c.exec(e.slice(n));return r?(t.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:ep,Q:hp,s:dp,S:op,u:Gf,U:Kf,V:Xf,w:Yf,W:Qf,x:function(t,e,r){return S(t,n,e,r)},X:function(t,e,n){return S(t,r,e,n)},y:Zf,Y:Jf,Z:tp,"%":up};function x(t,e){return function(n){var r,i,s,a=[],o=-1,l=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++o<c;)37===t.charCodeAt(o)&&(a.push(t.slice(l,o)),null!=(i=Ff[r=t.charAt(++o)])?r=t.charAt(++o):i="e"===r?" ":"0",(s=e[r])&&(r=s(n,i)),a.push(r),l=o+1);return a.push(t.slice(l,o)),a.join("")}}function k(t,e){return function(n){var r,i,s=If(1900,void 0,1);if(S(s,t,n+="",0)!=n.length)return null;if("Q"in s)return new Date(s.Q);if("s"in s)return new Date(1e3*s.s+("L"in s?s.L:0));if(e&&!("Z"in s)&&(s.Z=0),"p"in s&&(s.H=s.H%12+12*s.p),void 0===s.m&&(s.m="q"in s?s.q:0),"V"in s){if(s.V<1||s.V>53)return null;"w"in s||(s.w=1),"Z"in s?(i=(r=$f(If(s.y,0,1))).getUTCDay(),r=i>4||0===i?wf.ceil(r):wf(r),r=lf.offset(r,7*(s.V-1)),s.y=r.getUTCFullYear(),s.m=r.getUTCMonth(),s.d=r.getUTCDate()+(s.w+6)%7):(i=(r=Pf(If(s.y,0,1))).getDay(),r=i>4||0===i?df.ceil(r):df(r),r=of.offset(r,7*(s.V-1)),s.y=r.getFullYear(),s.m=r.getMonth(),s.d=r.getDate()+(s.w+6)%7)}else("W"in s||"U"in s)&&("w"in s||(s.w="u"in s?s.u%7:"W"in s?1:0),i="Z"in s?$f(If(s.y,0,1)).getUTCDay():Pf(If(s.y,0,1)).getDay(),s.m=0,s.d="W"in s?(s.w+6)%7+7*s.W-(i+5)%7:s.w+7*s.U-(i+6)%7);return"Z"in s?(s.H+=s.Z/100|0,s.M+=s.Z%100,$f(s)):Pf(s)}}function S(t,e,n,r){for(var i,s,a=0,o=e.length,l=n.length;a<o;){if(r>=l)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(s=_[i in Ff?e.charAt(a++):i])||(r=s(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return b.x=x(n,b),b.X=x(r,b),b.c=x(e,b),w.x=x(n,w),w.X=x(r,w),w.c=x(e,w),{format:function(t){var e=x(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=k(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=x(t+="",w);return e.toString=function(){return t},e},utcParse:function(t){var e=k(t+="",!0);return e.toString=function(){return t},e}}}(t),Nf=Df.format,Lf=Df.parse,Df.utcFormat,Hf=Df.utcParse,Df}function rg(t){return new Date(t)}function ig(t){return t instanceof Date?+t:+new Date(+t)}function sg(t,e,n,r,i,s,a,o,l,c){var u=Vd(),h=u.invert,d=u.domain,f=c(".%L"),p=c(":%S"),g=c("%I:%M"),v=c("%I %p"),m=c("%a %d"),y=c("%b %d"),b=c("%B"),w=c("%Y");function _(t){return(l(t)<t?f:o(t)<t?p:a(t)<t?g:s(t)<t?v:r(t)<t?i(t)<t?m:y:n(t)<t?b:w)(t)}return u.invert=function(t){return new Date(h(t))},u.domain=function(t){return arguments.length?d(Array.from(t,ig)):d().map(rg)},u.ticks=function(e){var n=d();return t(n[0],n[n.length-1],null==e?10:e)},u.tickFormat=function(t,e){return null==e?_:c(e)},u.nice=function(t){var n=d();return t&&"function"==typeof t.range||(t=e(n[0],n[n.length-1],null==t?10:t)),t?d(function(t,e){var n,r=0,i=(t=t.slice()).length-1,s=t[r],a=t[i];return a<s&&(n=r,r=i,i=n,n=s,s=a,a=n),t[r]=e.floor(s),t[i]=e.ceil(a),t}(n,t)):u},u.copy=function(){return Hd(u,sg(t,e,n,r,i,s,a,o,l,c))},u}function ag(){return Ad.apply(sg(Of,Af,Rf,Cf,hf,of,sf,nf,ef,Nf).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function og(t){return function(){return t}}function lg(t){this._context=t}function cg(t){return new lg(t)}function ug(t){return t[0]}function hg(t){return t[1]}function dg(t,e){var n=og(!0),r=null,i=cg,s=null,a=function(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(null==n)e=null;else{const t=Math.floor(n);if(!(t>=0))throw new RangeError(`invalid digits: ${n}`);e=t}return t},()=>new Kc(e)}(o);function o(o){var l,c,u,h=(o=function(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}(o)).length,d=!1;for(null==r&&(s=i(u=a())),l=0;l<=h;++l)!(l<h&&n(c=o[l],l,o))===d&&((d=!d)?s.lineStart():s.lineEnd()),d&&s.point(+t(c,l,o),+e(c,l,o));if(u)return s=null,u+""||null}return t="function"==typeof t?t:void 0===t?ug:og(t),e="function"==typeof e?e:void 0===e?hg:og(e),o.x=function(e){return arguments.length?(t="function"==typeof e?e:og(+e),o):t},o.y=function(t){return arguments.length?(e="function"==typeof t?t:og(+t),o):e},o.defined=function(t){return arguments.length?(n="function"==typeof t?t:og(!!t),o):n},o.curve=function(t){return arguments.length?(i=t,null!=r&&(s=i(r)),o):i},o.context=function(t){return arguments.length?(null==t?r=s=null:s=i(r=t),o):r},o}function fg(t){return t<0?-1:1}function pg(t,e,n){var r=t._x1-t._x0,i=e-t._x1,s=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0),o=(s*i+a*r)/(r+i);return(fg(s)+fg(a))*Math.min(Math.abs(s),Math.abs(a),.5*Math.abs(o))||0}function gg(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function vg(t,e,n){var r=t._x0,i=t._y0,s=t._x1,a=t._y1,o=(s-r)/3;t._context.bezierCurveTo(r+o,i+o*e,s-o,a-o*n,s,a)}function mg(t){this._context=t}function yg(t){return new mg(t)}ng({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),lg.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},mg.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:vg(this,this._t0,gg(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,vg(this,gg(this,n=pg(this,t,e)),n);break;default:vg(this,this._t0,n=pg(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},Object.create(mg.prototype).point=function(t,e){mg.prototype.point.call(this,e,t)};const bg=t=>()=>t;function wg(t,{sourceEvent:e,target:n,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function _g(t,e,n){this.k=t,this.x=e,this.y=n}_g.prototype={constructor:_g,scale:function(t){return 1===t?this:new _g(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new _g(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var xg=new _g(1,0,0);function kg(t){t.stopImmediatePropagation()}function Sg(t){t.preventDefault(),t.stopImmediatePropagation()}function Tg(t){return!(t.ctrlKey&&"wheel"!==t.type||t.button)}function Cg(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function Mg(){return this.__zoom||xg}function Rg(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function Eg(){return navigator.maxTouchPoints||"ontouchstart"in this}function Og(t,e,n){var r=t.invertX(e[0][0])-n[0][0],i=t.invertX(e[1][0])-n[1][0],s=t.invertY(e[0][1])-n[0][1],a=t.invertY(e[1][1])-n[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>s?(s+a)/2:Math.min(0,s)||Math.max(0,a))}function Ag(){var t,e,n,r=Tg,i=Cg,s=Og,a=Rg,o=Eg,l=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],u=250,h=Fl,d=Xs("start","zoom","end"),f=500,p=150,g=0,v=10;function m(t){t.property("__zoom",Mg).on("wheel.zoom",S,{passive:!1}).on("mousedown.zoom",T).on("dblclick.zoom",C).filter(o).on("touchstart.zoom",M).on("touchmove.zoom",R).on("touchend.zoom touchcancel.zoom",E).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function y(t,e){return(e=Math.max(l[0],Math.min(l[1],e)))===t.k?t:new _g(e,t.x,t.y)}function b(t,e,n){var r=e[0]-n[0]*t.k,i=e[1]-n[1]*t.k;return r===t.x&&i===t.y?t:new _g(t.k,r,i)}function w(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function _(t,e,n,r){t.on("start.zoom",(function(){x(this,arguments).event(r).start()})).on("interrupt.zoom end.zoom",(function(){x(this,arguments).event(r).end()})).tween("zoom",(function(){var t=this,s=arguments,a=x(t,s).event(r),o=i.apply(t,s),l=null==n?w(o):"function"==typeof n?n.apply(t,s):n,c=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),u=t.__zoom,d="function"==typeof e?e.apply(t,s):e,f=h(u.invert(l).concat(c/u.k),d.invert(l).concat(c/d.k));return function(t){if(1===t)t=d;else{var e=f(t),n=c/e[2];t=new _g(n,l[0]-e[0]*n,l[1]-e[1]*n)}a.zoom(null,t)}}))}function x(t,e,n){return!n&&t.__zooming||new k(t,e)}function k(t,e){this.that=t,this.args=e,this.active=0,this.sourceEvent=null,this.extent=i.apply(t,e),this.taps=0}function S(t,...e){if(r.apply(this,arguments)){var n=x(this,e).event(t),i=this.__zoom,o=Math.max(l[0],Math.min(l[1],i.k*Math.pow(2,a.apply(this,arguments)))),u=po(t);if(n.wheel)n.mouse[0][0]===u[0]&&n.mouse[0][1]===u[1]||(n.mouse[1]=i.invert(n.mouse[0]=u)),clearTimeout(n.wheel);else{if(i.k===o)return;n.mouse=[u,i.invert(u)],bc(this),n.start()}Sg(t),n.wheel=setTimeout((function(){n.wheel=null,n.end()}),p),n.zoom("mouse",s(b(y(i,o),n.mouse[0],n.mouse[1]),n.extent,c))}}function T(t,...e){if(!n&&r.apply(this,arguments)){var i=t.currentTarget,a=x(this,e,!0).event(t),o=fo(t.view).on("mousemove.zoom",(function(t){if(Sg(t),!a.moved){var e=t.clientX-u,n=t.clientY-h;a.moved=e*e+n*n>g}a.event(t).zoom("mouse",s(b(a.that.__zoom,a.mouse[0]=po(t,i),a.mouse[1]),a.extent,c))}),!0).on("mouseup.zoom",(function(t){o.on("mousemove.zoom mouseup.zoom",null),function(t,e){var n=t.document.documentElement,r=fo(t).on("dragstart.drag",null);e&&(r.on("click.drag",vo,go),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}(t.view,a.moved),Sg(t),a.event(t).end()}),!0),l=po(t,i),u=t.clientX,h=t.clientY;!function(t){var e=t.document.documentElement,n=fo(t).on("dragstart.drag",vo,go);"onselectstart"in e?n.on("selectstart.drag",vo,go):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}(t.view),kg(t),a.mouse=[l,this.__zoom.invert(l)],bc(this),a.start()}}function C(t,...e){if(r.apply(this,arguments)){var n=this.__zoom,a=po(t.changedTouches?t.changedTouches[0]:t,this),o=n.invert(a),l=n.k*(t.shiftKey?.5:2),h=s(b(y(n,l),a,o),i.apply(this,e),c);Sg(t),u>0?fo(this).transition().duration(u).call(_,h,a,t):fo(this).call(m.transform,h,a,t)}}function M(n,...i){if(r.apply(this,arguments)){var s,a,o,l,c=n.touches,u=c.length,h=x(this,i,n.changedTouches.length===u).event(n);for(kg(n),a=0;a<u;++a)l=[l=po(o=c[a],this),this.__zoom.invert(l),o.identifier],h.touch0?h.touch1||h.touch0[2]===l[2]||(h.touch1=l,h.taps=0):(h.touch0=l,s=!0,h.taps=1+!!t);t&&(t=clearTimeout(t)),s&&(h.taps<2&&(e=l[0],t=setTimeout((function(){t=null}),f)),bc(this),h.start())}}function R(t,...e){if(this.__zooming){var n,r,i,a,o=x(this,e).event(t),l=t.changedTouches,u=l.length;for(Sg(t),n=0;n<u;++n)i=po(r=l[n],this),o.touch0&&o.touch0[2]===r.identifier?o.touch0[0]=i:o.touch1&&o.touch1[2]===r.identifier&&(o.touch1[0]=i);if(r=o.that.__zoom,o.touch1){var h=o.touch0[0],d=o.touch0[1],f=o.touch1[0],p=o.touch1[1],g=(g=f[0]-h[0])*g+(g=f[1]-h[1])*g,v=(v=p[0]-d[0])*v+(v=p[1]-d[1])*v;r=y(r,Math.sqrt(g/v)),i=[(h[0]+f[0])/2,(h[1]+f[1])/2],a=[(d[0]+p[0])/2,(d[1]+p[1])/2]}else{if(!o.touch0)return;i=o.touch0[0],a=o.touch0[1]}o.zoom("touch",s(b(r,i,a),o.extent,c))}}function E(t,...r){if(this.__zooming){var i,s,a=x(this,r).event(t),o=t.changedTouches,l=o.length;for(kg(t),n&&clearTimeout(n),n=setTimeout((function(){n=null}),f),i=0;i<l;++i)s=o[i],a.touch0&&a.touch0[2]===s.identifier?delete a.touch0:a.touch1&&a.touch1[2]===s.identifier&&delete a.touch1;if(a.touch1&&!a.touch0&&(a.touch0=a.touch1,delete a.touch1),a.touch0)a.touch0[1]=this.__zoom.invert(a.touch0[0]);else if(a.end(),2===a.taps&&(s=po(s,this),Math.hypot(e[0]-s[0],e[1]-s[1])<v)){var c=fo(this).on("dblclick.zoom");c&&c.apply(this,arguments)}}}return m.transform=function(t,e,n,r){var i=t.selection?t.selection():t;i.property("__zoom",Mg),t!==i?_(t,e,n,r):i.interrupt().each((function(){x(this,arguments).event(r).start().zoom(null,"function"==typeof e?e.apply(this,arguments):e).end()}))},m.scaleBy=function(t,e,n,r){m.scaleTo(t,(function(){return this.__zoom.k*("function"==typeof e?e.apply(this,arguments):e)}),n,r)},m.scaleTo=function(t,e,n,r){m.transform(t,(function(){var t=i.apply(this,arguments),r=this.__zoom,a=null==n?w(t):"function"==typeof n?n.apply(this,arguments):n,o=r.invert(a),l="function"==typeof e?e.apply(this,arguments):e;return s(b(y(r,l),a,o),t,c)}),n,r)},m.translateBy=function(t,e,n,r){m.transform(t,(function(){return s(this.__zoom.translate("function"==typeof e?e.apply(this,arguments):e,"function"==typeof n?n.apply(this,arguments):n),i.apply(this,arguments),c)}),null,r)},m.translateTo=function(t,e,n,r,a){m.transform(t,(function(){var t=i.apply(this,arguments),a=this.__zoom,o=null==r?w(t):"function"==typeof r?r.apply(this,arguments):r;return s(xg.translate(o[0],o[1]).scale(a.k).translate("function"==typeof e?-e.apply(this,arguments):-e,"function"==typeof n?-n.apply(this,arguments):-n),t,c)}),r,a)},k.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,e){return this.mouse&&"mouse"!==t&&(this.mouse[1]=e.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=e.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=e.invert(this.touch1[0])),this.that.__zoom=e,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){var e=fo(this.that).datum();d.call(t,this.that,new wg(t,{sourceEvent:this.sourceEvent,target:m,type:t,transform:this.that.__zoom,dispatch:d}),e)}},m.wheelDelta=function(t){return arguments.length?(a="function"==typeof t?t:bg(+t),m):a},m.filter=function(t){return arguments.length?(r="function"==typeof t?t:bg(!!t),m):r},m.touchable=function(t){return arguments.length?(o="function"==typeof t?t:bg(!!t),m):o},m.extent=function(t){return arguments.length?(i="function"==typeof t?t:bg([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),m):i},m.scaleExtent=function(t){return arguments.length?(l[0]=+t[0],l[1]=+t[1],m):[l[0],l[1]]},m.translateExtent=function(t){return arguments.length?(c[0][0]=+t[0][0],c[1][0]=+t[1][0],c[0][1]=+t[0][1],c[1][1]=+t[1][1],m):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},m.constrain=function(t){return arguments.length?(s=t,m):s},m.duration=function(t){return arguments.length?(u=+t,m):u},m.interpolate=function(t){return arguments.length?(h=t,m):h},m.on=function(){var t=d.on.apply(d,arguments);return t===d?m:t},m.clickDistance=function(t){return arguments.length?(g=(t=+t)*t,m):Math.sqrt(g)},m.tapDistance=function(t){return arguments.length?(v=+t,m):v},m}_g.prototype;const Pg=new URLSearchParams(window.location.search),$g=Object.fromEntries(Pg),Ig={widgetStartTab:0,debugUrls:!1,wsKey:"K7Q0Qw.TM9YNQ:s0EA_6DELlVmCG-lAPfc40tzy0heNoFtKMb7MerIftE",debug:!1,data:"https://data-interactive.spiegel.de/cron/elections/prod/euw_de_2024/full.json",isWidget:!1,widgetHeightIndex:0,interval:0,wsChannel:"elections",embedded_id:"4211",...Xc(JSON.parse(document?.currentScript?.parentNode?.getAttribute("data-params")||"{}")||{}),...Xc($g)};const Dg=function(){let t,e,n=!1,r=[];const i=()=>{clearInterval(t),n=!1},s=()=>{i(),e&&(t=setInterval((()=>{a()}),e),n=!0)},a=()=>{r.forEach((t=>t()))};return{start:s,stop:i,set interval(t){e=t,n&&s()},setCallback:t=>{r.push(t)},removeCallback:t=>{r=r.filter((e=>e!==t))},runCallbacks:a}}();function Ng({configCards:t=[],parties:e=[]}){return t.map(((t,n)=>{const r=t?.headline?.parties?.map((t=>({...e.find((e=>e.id===t.id)),...t})));return{...t,headline:r&&r.length?{...t.headline,parties:r}:{...t.headline},id:n}}))}function Lg({min:t=0,max:e=0}){return Ud().domain([t,e]).range([0,100])}const Hg=/^([-+±]?)\s?((?:\d{1,3}\.)*\d+)(?:,(\d*))?(.+)?$/;let Fg={dec:",",tsd:"."};function Vg(t,e,n,r){this.nr=(t=>{let e=+t.intVal.replace(Fg.tsd,"");return""!==t.decVal&&(e+=+t.decVal/Math.pow(10,t.decVal.length)),"-"===t.sign&&(e*=-1),e})(t),t.nr=this.nr,this.str=((t,e,n,r)=>{let i,s,a=t.intVal;const o=(t,e)=>{for(;t.length<e;)t+="0";return t},l=t=>{let e=t.length;if(e>4)for(;e-3>0;)e-=3,t=t.substring(0,e)+Fg.tsd+t.substring(e);return t};return a=l(a),r&&""===t.sign&&(t.sign=0===t.nr?"±":"+"),a=t.sign+a,e&&+e>=0?""!==t.decVal?0===e?(a=(Math.round(Math.abs(t.nr))+"").replace(".",Fg.dec),a=t.sign+l(a)):(i=+("0."+t.decVal),s=Math.pow(10,e),i=Math.round(i*s)/s,i>0&&(i=(""+i).substr(2),i=o(i,e),a=a+Fg.dec+i)):e>0&&(a=a+Fg.dec+o("",e),a.charAt(a.length-1)===Fg.dec&&(a=a.substr(0,a.length-1))):a+=t.decVal?Fg.dec+t.decVal:"",a})(t,e,0,r),this.suffix=t.suffix||n||""}Vg.prototype.strVal=function(){return'<span style="white-space:nowrap">'+this.str+this.suffix+"</span>"};const zg=(t,e,n,r)=>{let i,s;return t||0===t||"0"===t?(isNaN(t)||(t=(""+t).replace(".",",")),s=Hg.exec(t),i=Hg.test(t)?new Vg({sign:s[1],intVal:s[2],decVal:s[3]||"",suffix:s[4]||"",input:t},e,n,r):{nr:void 0,str:t,strVal:function(){return t}}):(t="0",i={nr:void 0,str:"-",strVal:function(){return"-"}}),i},jg=Hf("%Y-%m-%d %H:%M:%S"),Ug=Hf("%Y-%m-%d"),Bg=Nf("%Y");function qg({results:t=[],parties:e=[]}){return t.map((t=>{const n=e.find((e=>e.id===t.partyId));return{...t,$meta:n}}))}function Wg({results:t,parties:e,maxShare:n=0}){if(!t)return[];0===n&&(n=t.reduce(((t,e)=>Math.max(t,e.currentShare,e.previousShare??0)),1));const r=Lg({max:n});return t.map((t=>{const n=e.find((e=>e.id===t.partyId)),i={...t};return t.currentShare&&(i.$heightPercentage=r(t.currentShare).toFixed(2)),i.$shareValue=zg(t.currentShare,1,"%"),i.$diffValue=zg(t.shareDiff,1,"%",!0),i.$currentVotes=!!t.currentVotes&&zg(t.currentVotes),i.$previousHeightPercentage=!!t.previousShare&&r(t.previousShare).toFixed(2),{party:n,results:i}})).filter((t=>t.party)).map((t=>t.results))}function Yg({results:t=[],resulType:e="listVotes",parties:n=[]}){const r={};for(const s of n)r[s.id]={},r[s.id].data=[];n.forEach((n=>{t.forEach((t=>{r[n.id].data.push(t.returningResults[e].results.find((t=>t.partyId===n.id))?.currentShare)})),r[n.id].min=Math.min(...r[n.id].data.filter((t=>void 0!==t))),r[n.id].max=Math.max(...r[n.id].data.filter((t=>void 0!==t)))})),r.min=Math.min(...n.map((t=>r[t.id].data)).flat().filter((t=>void 0!==t))),r.max=Math.max(...n.map((t=>r[t.id].data)).flat().filter((t=>void 0!==t)));const i={};for(const s of n)i[s.id]={};return n.forEach((t=>{i[t.id].$totalColorScale=Ud([r.max,r.min],[t.$colorGradientStops[0],t.$colorGradientStops[1]]).interpolate(Vl),i[t.id].$partyColorScale=Ud([r[t.id].max,r[t.id].min],[t.$colorGradientStops[0],t.$colorGradientStops[1]]).interpolate(Vl)})),i}function Gg({results:t={},parties:e=[],settings:n={}}){const r=t?.listVotes,i=Tt((()=>function({results:t=[]}){return t.reduce(((t,e)=>t+e.currentSeats||0),0)}({results:r?.euSeats||r?.results}))),s=de(i)%2==0?de(i)/2+1:Math.ceil(de(i)/2),a=qg({results:r?.results,parties:e});let o;r?.euSeats&&(o=qg({results:r?.euSeats,parties:e}));const l=Wg({results:a,parties:e}),c=n&&n.partyIdForOthers?l.filter((t=>t.partyId!==n.partyIdForOthers)):l,u=l[Ys(c,(t=>t.currentShare))]?.$meta,h=r?.otherPartiesWithSeats,d=qg({results:h,parties:e}),f=!!t?.timestamp&&jg(t?.timestamp),p=t?.constituencyVotes,g=Wg({results:qg({results:p?.results,parties:e}),parties:e});return{...t,$timestamp:f,source:t.source,listVotes:{...r,additionalInformation:{...r?.additionalInformation,$totalSeats:de(i),$threshold:s,$leadingParty:u},results:l,resultsSeats:d,euSeats:o},constituencyVotes:{...p,$results:g}}}function Kg(t){return t.filter((t=>t)).sort(((t,e)=>e-t))[0]}function Xg({forecasts:t=[],parties:e=[]}){return t?t.map((t=>Gg({results:t,parties:e}))):[]}function Qg({forecasts:t}){if(!t)return[];const e=Ys(t,(t=>jg(t.timestamp)));return t.map(((t,n)=>({id:t.source,label:{ard:"ARD",zdf:"ZDF",ep:"EP"}[t.source]||t.source.toUpperCase(),isLatest:n===e}))).map(((t,e)=>({...t,index:e})))}const Jg=(t,e)=>{if(!t)return;t=t.map(((t,n)=>{const r=e.find((e=>e.id===t.partyId));return{id:n,...t,$party:r}}));const n=[];return t.map((t=>{const e=n.find((e=>e.partyId===t.partyId));e?e.mps.push(t):n.push({partyId:t.partyId,party:t.$party,mps:[t]})})),n};function Zg({electedMps:t=[],parties:e=[]}){if(t.length)return t=Jg(t,e)}function tv({config:t={}}){if(!t||!t.settings)return{};const e=Ug(t.settings.dateCurrent),n=Ug(t.settings.datePrevious);if(t.settings.$dateCurrent=e,t.settings.$datePrevious=n,t.settings.$datePreviousYear=Bg(n),t.settings.$dateCurrentYear=Bg(e),t.settings.bucketPaths){let e={};const n=t.settings.bucketPaths,r=n.basePath;for(const[t,i]of Object.entries(n))"basePath"!==t&&(e[t]=i.replace("{basePath}",r));t.settings.bucketPaths=e}return t}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var ev={exports:{}};const nv=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(ev.exports=function(){for(var t=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=1),t<e?e:t>n?n:t},e=t,n=function(t){t._clipped=!1,t._unclipped=t.slice(0);for(var n=0;n<=3;n++)n<3?((t[n]<0||t[n]>255)&&(t._clipped=!0),t[n]=e(t[n],0,255)):3===n&&(t[n]=e(t[n],0,1));return t},r={},i=0,s=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];i<s.length;i+=1){var a=s[i];r["[object "+a+"]"]=a.toLowerCase()}var o=function(t){return r[Object.prototype.toString.call(t)]||"object"},l=o,c=function(t,e){return void 0===e&&(e=null),t.length>=3?Array.prototype.slice.call(t):"object"==l(t[0])&&e?e.split("").filter((function(e){return void 0!==t[0][e]})).map((function(e){return t[0][e]})):t[0]},u=o,h=function(t){if(t.length<2)return null;var e=t.length-1;return"string"==u(t[e])?t[e].toLowerCase():null},d=Math.PI,f={clip_rgb:n,limit:t,type:o,unpack:c,last:h,PI:d,TWOPI:2*d,PITHIRD:d/3,DEG2RAD:d/180,RAD2DEG:180/d},p={format:{},autodetect:[]},g=f.last,v=f.clip_rgb,m=f.type,y=p,b=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=this;if("object"===m(t[0])&&t[0].constructor&&t[0].constructor===this.constructor)return t[0];var r=g(t),i=!1;if(!r){i=!0,y.sorted||(y.autodetect=y.autodetect.sort((function(t,e){return e.p-t.p})),y.sorted=!0);for(var s=0,a=y.autodetect;s<a.length;s+=1){var o=a[s];if(r=o.test.apply(o,t))break}}if(!y.format[r])throw new Error("unknown format: "+t);var l=y.format[r].apply(null,i?t:t.slice(0,-1));n._rgb=v(l),3===n._rgb.length&&n._rgb.push(1)};b.prototype.toString=function(){return"function"==m(this.hex)?this.hex():"["+this._rgb.join(",")+"]"};var w=b,_=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(_.Color,[null].concat(t)))};_.Color=w,_.version="2.4.2";var x=_,k=f.unpack,S=Math.max,T=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=k(t,"rgb"),r=n[0],i=n[1],s=n[2],a=1-S(r/=255,S(i/=255,s/=255)),o=a<1?1/(1-a):0;return[(1-r-a)*o,(1-i-a)*o,(1-s-a)*o,a]},C=T,M=f.unpack,R=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=(t=M(t,"cmyk"))[0],r=t[1],i=t[2],s=t[3],a=t.length>4?t[4]:1;return 1===s?[0,0,0,a]:[n>=1?0:255*(1-n)*(1-s),r>=1?0:255*(1-r)*(1-s),i>=1?0:255*(1-i)*(1-s),a]},E=R,O=x,A=w,P=p,$=f.unpack,I=f.type,D=C;A.prototype.cmyk=function(){return D(this._rgb)},O.cmyk=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(A,[null].concat(t,["cmyk"])))},P.format.cmyk=E,P.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=$(t,"cmyk"),"array"===I(t)&&4===t.length)return"cmyk"}});var N=f.unpack,L=f.last,H=function(t){return Math.round(100*t)/100},F=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=N(t,"hsla"),r=L(t)||"lsa";return n[0]=H(n[0]||0),n[1]=H(100*n[1])+"%",n[2]=H(100*n[2])+"%","hsla"===r||n.length>3&&n[3]<1?(n[3]=n.length>3?n[3]:1,r="hsla"):n.length=3,r+"("+n.join(",")+")"},V=F,z=f.unpack,j=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=(t=z(t,"rgba"))[0],r=t[1],i=t[2];n/=255,r/=255,i/=255;var s,a,o=Math.min(n,r,i),l=Math.max(n,r,i),c=(l+o)/2;return l===o?(s=0,a=Number.NaN):s=c<.5?(l-o)/(l+o):(l-o)/(2-l-o),n==l?a=(r-i)/(l-o):r==l?a=2+(i-n)/(l-o):i==l&&(a=4+(n-r)/(l-o)),(a*=60)<0&&(a+=360),t.length>3&&void 0!==t[3]?[a,s,c,t[3]]:[a,s,c]},U=j,B=f.unpack,q=f.last,W=V,Y=U,G=Math.round,K=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=B(t,"rgba"),r=q(t)||"rgb";return"hsl"==r.substr(0,3)?W(Y(n),r):(n[0]=G(n[0]),n[1]=G(n[1]),n[2]=G(n[2]),("rgba"===r||n.length>3&&n[3]<1)&&(n[3]=n.length>3?n[3]:1,r="rgba"),r+"("+n.slice(0,"rgb"===r?3:4).join(",")+")")},X=K,Q=f.unpack,J=Math.round,Z=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];var r,i,s,a=(e=Q(e,"hsl"))[0],o=e[1],l=e[2];if(0===o)r=i=s=255*l;else{var c=[0,0,0],u=[0,0,0],h=l<.5?l*(1+o):l+o-l*o,d=2*l-h,f=a/360;c[0]=f+1/3,c[1]=f,c[2]=f-1/3;for(var p=0;p<3;p++)c[p]<0&&(c[p]+=1),c[p]>1&&(c[p]-=1),6*c[p]<1?u[p]=d+6*(h-d)*c[p]:2*c[p]<1?u[p]=h:3*c[p]<2?u[p]=d+(h-d)*(2/3-c[p])*6:u[p]=d;r=(t=[J(255*u[0]),J(255*u[1]),J(255*u[2])])[0],i=t[1],s=t[2]}return e.length>3?[r,i,s,e[3]]:[r,i,s,1]},tt=Z,et=tt,nt=p,rt=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,it=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,st=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,at=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,ot=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,lt=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,ct=Math.round,ut=function(t){var e;if(t=t.toLowerCase().trim(),nt.format.named)try{return nt.format.named(t)}catch(p){}if(e=t.match(rt)){for(var n=e.slice(1,4),r=0;r<3;r++)n[r]=+n[r];return n[3]=1,n}if(e=t.match(it)){for(var i=e.slice(1,5),s=0;s<4;s++)i[s]=+i[s];return i}if(e=t.match(st)){for(var a=e.slice(1,4),o=0;o<3;o++)a[o]=ct(2.55*a[o]);return a[3]=1,a}if(e=t.match(at)){for(var l=e.slice(1,5),c=0;c<3;c++)l[c]=ct(2.55*l[c]);return l[3]=+l[3],l}if(e=t.match(ot)){var u=e.slice(1,4);u[1]*=.01,u[2]*=.01;var h=et(u);return h[3]=1,h}if(e=t.match(lt)){var d=e.slice(1,4);d[1]*=.01,d[2]*=.01;var f=et(d);return f[3]=+e[4],f}};ut.test=function(t){return rt.test(t)||it.test(t)||st.test(t)||at.test(t)||ot.test(t)||lt.test(t)};var ht=ut,dt=x,ft=w,pt=p,gt=f.type,vt=X,mt=ht;ft.prototype.css=function(t){return vt(this._rgb,t)},dt.css=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(ft,[null].concat(t,["css"])))},pt.format.css=mt,pt.autodetect.push({p:5,test:function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if(!e.length&&"string"===gt(t)&&mt.test(t))return"css"}});var yt=w,bt=x,wt=p,_t=f.unpack;wt.format.gl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=_t(t,"rgba");return n[0]*=255,n[1]*=255,n[2]*=255,n},bt.gl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(yt,[null].concat(t,["gl"])))},yt.prototype.gl=function(){var t=this._rgb;return[t[0]/255,t[1]/255,t[2]/255,t[3]]};var xt=f.unpack,kt=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n,r=xt(t,"rgb"),i=r[0],s=r[1],a=r[2],o=Math.min(i,s,a),l=Math.max(i,s,a),c=l-o,u=100*c/255,h=o/(255-c)*100;return 0===c?n=Number.NaN:(i===l&&(n=(s-a)/c),s===l&&(n=2+(a-i)/c),a===l&&(n=4+(i-s)/c),(n*=60)<0&&(n+=360)),[n,u,h]},St=kt,Tt=f.unpack,Ct=Math.floor,Mt=function(){for(var t,e,n,r,i,s,a=[],o=arguments.length;o--;)a[o]=arguments[o];var l,c,u,h=(a=Tt(a,"hcg"))[0],d=a[1],f=a[2];f*=255;var p=255*d;if(0===d)l=c=u=f;else{360===h&&(h=0),h>360&&(h-=360),h<0&&(h+=360);var g=Ct(h/=60),v=h-g,m=f*(1-d),y=m+p*(1-v),b=m+p*v,w=m+p;switch(g){case 0:l=(t=[w,b,m])[0],c=t[1],u=t[2];break;case 1:l=(e=[y,w,m])[0],c=e[1],u=e[2];break;case 2:l=(n=[m,w,b])[0],c=n[1],u=n[2];break;case 3:l=(r=[m,y,w])[0],c=r[1],u=r[2];break;case 4:l=(i=[b,m,w])[0],c=i[1],u=i[2];break;case 5:l=(s=[w,m,y])[0],c=s[1],u=s[2]}}return[l,c,u,a.length>3?a[3]:1]},Rt=Mt,Et=f.unpack,Ot=f.type,At=x,Pt=w,$t=p,It=St;Pt.prototype.hcg=function(){return It(this._rgb)},At.hcg=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(Pt,[null].concat(t,["hcg"])))},$t.format.hcg=Rt,$t.autodetect.push({p:1,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=Et(t,"hcg"),"array"===Ot(t)&&3===t.length)return"hcg"}});var Dt=f.unpack,Nt=f.last,Lt=Math.round,Ht=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Dt(t,"rgba"),r=n[0],i=n[1],s=n[2],a=n[3],o=Nt(t)||"auto";void 0===a&&(a=1),"auto"===o&&(o=a<1?"rgba":"rgb");var l="000000"+((r=Lt(r))<<16|(i=Lt(i))<<8|(s=Lt(s))).toString(16);l=l.substr(l.length-6);var c="0"+Lt(255*a).toString(16);switch(c=c.substr(c.length-2),o.toLowerCase()){case"rgba":return"#"+l+c;case"argb":return"#"+c+l;default:return"#"+l}},Ft=Ht,Vt=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,zt=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,jt=function(t){if(t.match(Vt)){4!==t.length&&7!==t.length||(t=t.substr(1)),3===t.length&&(t=(t=t.split(""))[0]+t[0]+t[1]+t[1]+t[2]+t[2]);var e=parseInt(t,16);return[e>>16,e>>8&255,255&e,1]}if(t.match(zt)){5!==t.length&&9!==t.length||(t=t.substr(1)),4===t.length&&(t=(t=t.split(""))[0]+t[0]+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]);var n=parseInt(t,16);return[n>>24&255,n>>16&255,n>>8&255,Math.round((255&n)/255*100)/100]}throw new Error("unknown hex color: "+t)},Ut=x,Bt=w,qt=f.type,Wt=p,Yt=Ft;Bt.prototype.hex=function(t){return Yt(this._rgb,t)},Ut.hex=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(Bt,[null].concat(t,["hex"])))},Wt.format.hex=jt,Wt.autodetect.push({p:4,test:function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if(!e.length&&"string"===qt(t)&&[3,4,5,6,7,8,9].indexOf(t.length)>=0)return"hex"}});var Gt=f.unpack,Kt=f.TWOPI,Xt=Math.min,Qt=Math.sqrt,Jt=Math.acos,Zt=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n,r=Gt(t,"rgb"),i=r[0],s=r[1],a=r[2],o=Xt(i/=255,s/=255,a/=255),l=(i+s+a)/3,c=l>0?1-o/l:0;return 0===c?n=NaN:(n=(i-s+(i-a))/2,n/=Qt((i-s)*(i-s)+(i-a)*(s-a)),n=Jt(n),a>s&&(n=Kt-n),n/=Kt),[360*n,c,l]},te=Zt,ee=f.unpack,ne=f.limit,re=f.TWOPI,ie=f.PITHIRD,se=Math.cos,ae=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n,r,i,s=(t=ee(t,"hsi"))[0],a=t[1],o=t[2];return isNaN(s)&&(s=0),isNaN(a)&&(a=0),s>360&&(s-=360),s<0&&(s+=360),(s/=360)<1/3?r=1-((i=(1-a)/3)+(n=(1+a*se(re*s)/se(ie-re*s))/3)):s<2/3?i=1-((n=(1-a)/3)+(r=(1+a*se(re*(s-=1/3))/se(ie-re*s))/3)):n=1-((r=(1-a)/3)+(i=(1+a*se(re*(s-=2/3))/se(ie-re*s))/3)),[255*(n=ne(o*n*3)),255*(r=ne(o*r*3)),255*(i=ne(o*i*3)),t.length>3?t[3]:1]},oe=ae,le=f.unpack,ce=f.type,ue=x,he=w,de=p,fe=te;he.prototype.hsi=function(){return fe(this._rgb)},ue.hsi=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(he,[null].concat(t,["hsi"])))},de.format.hsi=oe,de.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=le(t,"hsi"),"array"===ce(t)&&3===t.length)return"hsi"}});var pe=f.unpack,ge=f.type,ve=x,me=w,ye=p,be=U;me.prototype.hsl=function(){return be(this._rgb)},ve.hsl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(me,[null].concat(t,["hsl"])))},ye.format.hsl=tt,ye.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=pe(t,"hsl"),"array"===ge(t)&&3===t.length)return"hsl"}});var we=f.unpack,_e=Math.min,xe=Math.max,ke=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n,r,i,s=(t=we(t,"rgb"))[0],a=t[1],o=t[2],l=_e(s,a,o),c=xe(s,a,o),u=c-l;return i=c/255,0===c?(n=Number.NaN,r=0):(r=u/c,s===c&&(n=(a-o)/u),a===c&&(n=2+(o-s)/u),o===c&&(n=4+(s-a)/u),(n*=60)<0&&(n+=360)),[n,r,i]},Se=ke,Te=f.unpack,Ce=Math.floor,Me=function(){for(var t,e,n,r,i,s,a=[],o=arguments.length;o--;)a[o]=arguments[o];var l,c,u,h=(a=Te(a,"hsv"))[0],d=a[1],f=a[2];if(f*=255,0===d)l=c=u=f;else{360===h&&(h=0),h>360&&(h-=360),h<0&&(h+=360);var p=Ce(h/=60),g=h-p,v=f*(1-d),m=f*(1-d*g),y=f*(1-d*(1-g));switch(p){case 0:l=(t=[f,y,v])[0],c=t[1],u=t[2];break;case 1:l=(e=[m,f,v])[0],c=e[1],u=e[2];break;case 2:l=(n=[v,f,y])[0],c=n[1],u=n[2];break;case 3:l=(r=[v,m,f])[0],c=r[1],u=r[2];break;case 4:l=(i=[y,v,f])[0],c=i[1],u=i[2];break;case 5:l=(s=[f,v,m])[0],c=s[1],u=s[2]}}return[l,c,u,a.length>3?a[3]:1]},Re=Me,Ee=f.unpack,Oe=f.type,Ae=x,Pe=w,$e=p,Ie=Se;Pe.prototype.hsv=function(){return Ie(this._rgb)},Ae.hsv=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(Pe,[null].concat(t,["hsv"])))},$e.format.hsv=Re,$e.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=Ee(t,"hsv"),"array"===Oe(t)&&3===t.length)return"hsv"}});var De={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},Ne=De,Le=f.unpack,He=Math.pow,Fe=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Le(t,"rgb"),r=n[0],i=n[1],s=n[2],a=je(r,i,s),o=a[0],l=a[1],c=116*l-16;return[c<0?0:c,500*(o-l),200*(l-a[2])]},Ve=function(t){return(t/=255)<=.04045?t/12.92:He((t+.055)/1.055,2.4)},ze=function(t){return t>Ne.t3?He(t,1/3):t/Ne.t2+Ne.t0},je=function(t,e,n){return t=Ve(t),e=Ve(e),n=Ve(n),[ze((.4124564*t+.3575761*e+.1804375*n)/Ne.Xn),ze((.2126729*t+.7151522*e+.072175*n)/Ne.Yn),ze((.0193339*t+.119192*e+.9503041*n)/Ne.Zn)]},Ue=Fe,Be=De,qe=f.unpack,We=Math.pow,Ye=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n,r,i,s=(t=qe(t,"lab"))[0],a=t[1],o=t[2];return r=(s+16)/116,n=isNaN(a)?r:r+a/500,i=isNaN(o)?r:r-o/200,r=Be.Yn*Ke(r),n=Be.Xn*Ke(n),i=Be.Zn*Ke(i),[Ge(3.2404542*n-1.5371385*r-.4985314*i),Ge(-.969266*n+1.8760108*r+.041556*i),Ge(.0556434*n-.2040259*r+1.0572252*i),t.length>3?t[3]:1]},Ge=function(t){return 255*(t<=.00304?12.92*t:1.055*We(t,1/2.4)-.055)},Ke=function(t){return t>Be.t1?t*t*t:Be.t2*(t-Be.t0)},Xe=Ye,Qe=f.unpack,Je=f.type,Ze=x,tn=w,en=p,nn=Ue;tn.prototype.lab=function(){return nn(this._rgb)},Ze.lab=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(tn,[null].concat(t,["lab"])))},en.format.lab=Xe,en.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=Qe(t,"lab"),"array"===Je(t)&&3===t.length)return"lab"}});var rn=f.unpack,sn=f.RAD2DEG,an=Math.sqrt,on=Math.atan2,ln=Math.round,cn=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=rn(t,"lab"),r=n[0],i=n[1],s=n[2],a=an(i*i+s*s),o=(on(s,i)*sn+360)%360;return 0===ln(1e4*a)&&(o=Number.NaN),[r,a,o]},un=cn,hn=f.unpack,dn=Ue,fn=un,pn=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=hn(t,"rgb"),r=n[0],i=n[1],s=n[2],a=dn(r,i,s),o=a[0],l=a[1],c=a[2];return fn(o,l,c)},gn=pn,vn=f.unpack,mn=f.DEG2RAD,yn=Math.sin,bn=Math.cos,wn=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=vn(t,"lch"),r=n[0],i=n[1],s=n[2];return isNaN(s)&&(s=0),[r,bn(s*=mn)*i,yn(s)*i]},_n=wn,xn=f.unpack,kn=_n,Sn=Xe,Tn=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=(t=xn(t,"lch"))[0],r=t[1],i=t[2],s=kn(n,r,i),a=s[0],o=s[1],l=s[2],c=Sn(a,o,l);return[c[0],c[1],c[2],t.length>3?t[3]:1]},Cn=Tn,Mn=f.unpack,Rn=Cn,En=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Mn(t,"hcl").reverse();return Rn.apply(void 0,n)},On=En,An=f.unpack,Pn=f.type,$n=x,In=w,Dn=p,Nn=gn;In.prototype.lch=function(){return Nn(this._rgb)},In.prototype.hcl=function(){return Nn(this._rgb).reverse()},$n.lch=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(In,[null].concat(t,["lch"])))},$n.hcl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(In,[null].concat(t,["hcl"])))},Dn.format.lch=Cn,Dn.format.hcl=On,["lch","hcl"].forEach((function(t){return Dn.autodetect.push({p:2,test:function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(e=An(e,t),"array"===Pn(e)&&3===e.length)return t}})}));var Ln={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},Hn=w,Fn=p,Vn=f.type,zn=Ln,jn=jt,Un=Ft;Hn.prototype.name=function(){for(var t=Un(this._rgb,"rgb"),e=0,n=Object.keys(zn);e<n.length;e+=1){var r=n[e];if(zn[r]===t)return r.toLowerCase()}return t},Fn.format.named=function(t){if(t=t.toLowerCase(),zn[t])return jn(zn[t]);throw new Error("unknown color name: "+t)},Fn.autodetect.push({p:5,test:function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if(!e.length&&"string"===Vn(t)&&zn[t.toLowerCase()])return"named"}});var Bn=f.unpack,qn=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Bn(t,"rgb");return(n[0]<<16)+(n[1]<<8)+n[2]},Wn=qn,Yn=f.type,Gn=function(t){if("number"==Yn(t)&&t>=0&&t<=16777215)return[t>>16,t>>8&255,255&t,1];throw new Error("unknown num color: "+t)},Kn=x,Xn=w,Qn=p,Jn=f.type,Zn=Wn;Xn.prototype.num=function(){return Zn(this._rgb)},Kn.num=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(Xn,[null].concat(t,["num"])))},Qn.format.num=Gn,Qn.autodetect.push({p:5,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(1===t.length&&"number"===Jn(t[0])&&t[0]>=0&&t[0]<=16777215)return"num"}});var tr=x,er=w,nr=p,rr=f.unpack,ir=f.type,sr=Math.round;er.prototype.rgb=function(t){return void 0===t&&(t=!0),!1===t?this._rgb.slice(0,3):this._rgb.slice(0,3).map(sr)},er.prototype.rgba=function(t){return void 0===t&&(t=!0),this._rgb.slice(0,4).map((function(e,n){return n<3?!1===t?e:sr(e):e}))},tr.rgb=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(er,[null].concat(t,["rgb"])))},nr.format.rgb=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=rr(t,"rgba");return void 0===n[3]&&(n[3]=1),n},nr.autodetect.push({p:3,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=rr(t,"rgba"),"array"===ir(t)&&(3===t.length||4===t.length&&"number"==ir(t[3])&&t[3]>=0&&t[3]<=1))return"rgb"}});var ar=Math.log,or=function(t){var e,n,r,i=t/100;return i<66?(e=255,n=i<6?0:-155.25485562709179-.44596950469579133*(n=i-2)+104.49216199393888*ar(n),r=i<20?0:.8274096064007395*(r=i-10)-254.76935184120902+115.67994401066147*ar(r)):(e=351.97690566805693+.114206453784165*(e=i-55)-40.25366309332127*ar(e),n=325.4494125711974+.07943456536662342*(n=i-50)-28.0852963507957*ar(n),r=255),[e,n,r,1]},lr=or,cr=f.unpack,ur=Math.round,hr=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];for(var n,r=cr(t,"rgb"),i=r[0],s=r[2],a=1e3,o=4e4,l=.4;o-a>l;){var c=lr(n=.5*(o+a));c[2]/c[0]>=s/i?o=n:a=n}return ur(n)},dr=x,fr=w,pr=p,gr=hr;fr.prototype.temp=fr.prototype.kelvin=fr.prototype.temperature=function(){return gr(this._rgb)},dr.temp=dr.kelvin=dr.temperature=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(fr,[null].concat(t,["temp"])))},pr.format.temp=pr.format.kelvin=pr.format.temperature=or;var vr=f.unpack,mr=Math.cbrt,yr=Math.pow,br=Math.sign,wr=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=vr(t,"rgb"),r=n[0],i=n[1],s=n[2],a=[xr(r/255),xr(i/255),xr(s/255)],o=a[0],l=a[1],c=a[2],u=mr(.4122214708*o+.5363325363*l+.0514459929*c),h=mr(.2119034982*o+.6806995451*l+.1073969566*c),d=mr(.0883024619*o+.2817188376*l+.6299787005*c);return[.2104542553*u+.793617785*h-.0040720468*d,1.9779984951*u-2.428592205*h+.4505937099*d,.0259040371*u+.7827717662*h-.808675766*d]},_r=wr;function xr(t){var e=Math.abs(t);return e<.04045?t/12.92:(br(t)||1)*yr((e+.055)/1.055,2.4)}var kr=f.unpack,Sr=Math.pow,Tr=Math.sign,Cr=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=(t=kr(t,"lab"))[0],r=t[1],i=t[2],s=Sr(n+.3963377774*r+.2158037573*i,3),a=Sr(n-.1055613458*r-.0638541728*i,3),o=Sr(n-.0894841775*r-1.291485548*i,3);return[255*Rr(4.0767416621*s-3.3077115913*a+.2309699292*o),255*Rr(-1.2684380046*s+2.6097574011*a-.3413193965*o),255*Rr(-.0041960863*s-.7034186147*a+1.707614701*o),t.length>3?t[3]:1]},Mr=Cr;function Rr(t){var e=Math.abs(t);return e>.0031308?(Tr(t)||1)*(1.055*Sr(e,1/2.4)-.055):12.92*t}var Er=f.unpack,Or=f.type,Ar=x,Pr=w,$r=p,Ir=_r;Pr.prototype.oklab=function(){return Ir(this._rgb)},Ar.oklab=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(Pr,[null].concat(t,["oklab"])))},$r.format.oklab=Mr,$r.autodetect.push({p:3,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=Er(t,"oklab"),"array"===Or(t)&&3===t.length)return"oklab"}});var Dr=f.unpack,Nr=_r,Lr=un,Hr=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Dr(t,"rgb"),r=n[0],i=n[1],s=n[2],a=Nr(r,i,s),o=a[0],l=a[1],c=a[2];return Lr(o,l,c)},Fr=Hr,Vr=f.unpack,zr=_n,jr=Mr,Ur=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=(t=Vr(t,"lch"))[0],r=t[1],i=t[2],s=zr(n,r,i),a=s[0],o=s[1],l=s[2],c=jr(a,o,l);return[c[0],c[1],c[2],t.length>3?t[3]:1]},Br=Ur,qr=f.unpack,Wr=f.type,Yr=x,Gr=w,Kr=p,Xr=Fr;Gr.prototype.oklch=function(){return Xr(this._rgb)},Yr.oklch=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(Gr,[null].concat(t,["oklch"])))},Kr.format.oklch=Br,Kr.autodetect.push({p:3,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=qr(t,"oklch"),"array"===Wr(t)&&3===t.length)return"oklch"}});var Qr=w,Jr=f.type;Qr.prototype.alpha=function(t,e){return void 0===e&&(e=!1),void 0!==t&&"number"===Jr(t)?e?(this._rgb[3]=t,this):new Qr([this._rgb[0],this._rgb[1],this._rgb[2],t],"rgb"):this._rgb[3]},w.prototype.clipped=function(){return this._rgb._clipped||!1};var Zr=w,ti=De;Zr.prototype.darken=function(t){void 0===t&&(t=1);var e=this,n=e.lab();return n[0]-=ti.Kn*t,new Zr(n,"lab").alpha(e.alpha(),!0)},Zr.prototype.brighten=function(t){return void 0===t&&(t=1),this.darken(-t)},Zr.prototype.darker=Zr.prototype.darken,Zr.prototype.brighter=Zr.prototype.brighten,w.prototype.get=function(t){var e=t.split("."),n=e[0],r=e[1],i=this[n]();if(r){var s=n.indexOf(r)-("ok"===n.substr(0,2)?2:0);if(s>-1)return i[s];throw new Error("unknown channel "+r+" in mode "+n)}return i};var ei=w,ni=f.type,ri=Math.pow,ii=1e-7,si=20;ei.prototype.luminance=function(t){if(void 0!==t&&"number"===ni(t)){if(0===t)return new ei([0,0,0,this._rgb[3]],"rgb");if(1===t)return new ei([255,255,255,this._rgb[3]],"rgb");var e=this.luminance(),n="rgb",r=si,i=function(e,s){var a=e.interpolate(s,.5,n),o=a.luminance();return Math.abs(t-o)<ii||!r--?a:o>t?i(e,a):i(a,s)},s=(e>t?i(new ei([0,0,0]),this):i(this,new ei([255,255,255]))).rgb();return new ei(s.concat([this._rgb[3]]))}return ai.apply(void 0,this._rgb.slice(0,3))};var ai=function(t,e,n){return.2126*(t=oi(t))+.7152*(e=oi(e))+.0722*(n=oi(n))},oi=function(t){return(t/=255)<=.03928?t/12.92:ri((t+.055)/1.055,2.4)},li={},ci=w,ui=f.type,hi=li,di=function(t,e,n){void 0===n&&(n=.5);for(var r=[],i=arguments.length-3;i-- >0;)r[i]=arguments[i+3];var s=r[0]||"lrgb";if(hi[s]||r.length||(s=Object.keys(hi)[0]),!hi[s])throw new Error("interpolation mode "+s+" is not defined");return"object"!==ui(t)&&(t=new ci(t)),"object"!==ui(e)&&(e=new ci(e)),hi[s](t,e,n).alpha(t.alpha()+n*(e.alpha()-t.alpha()))},fi=w,pi=di;fi.prototype.mix=fi.prototype.interpolate=function(t,e){void 0===e&&(e=.5);for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return pi.apply(void 0,[this,t,e].concat(n))};var gi=w;gi.prototype.premultiply=function(t){void 0===t&&(t=!1);var e=this._rgb,n=e[3];return t?(this._rgb=[e[0]*n,e[1]*n,e[2]*n,n],this):new gi([e[0]*n,e[1]*n,e[2]*n,n],"rgb")};var vi=w,mi=De;vi.prototype.saturate=function(t){void 0===t&&(t=1);var e=this,n=e.lch();return n[1]+=mi.Kn*t,n[1]<0&&(n[1]=0),new vi(n,"lch").alpha(e.alpha(),!0)},vi.prototype.desaturate=function(t){return void 0===t&&(t=1),this.saturate(-t)};var yi=w,bi=f.type;yi.prototype.set=function(t,e,n){void 0===n&&(n=!1);var r=t.split("."),i=r[0],s=r[1],a=this[i]();if(s){var o=i.indexOf(s)-("ok"===i.substr(0,2)?2:0);if(o>-1){if("string"==bi(e))switch(e.charAt(0)){case"+":case"-":a[o]+=+e;break;case"*":a[o]*=+e.substr(1);break;case"/":a[o]/=+e.substr(1);break;default:a[o]=+e}else{if("number"!==bi(e))throw new Error("unsupported value for Color.set");a[o]=e}var l=new yi(a,i);return n?(this._rgb=l._rgb,this):l}throw new Error("unknown channel "+s+" in mode "+i)}return a};var wi=w,_i=function(t,e,n){var r=t._rgb,i=e._rgb;return new wi(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"rgb")};li.rgb=_i;var xi=w,ki=Math.sqrt,Si=Math.pow,Ti=function(t,e,n){var r=t._rgb,i=r[0],s=r[1],a=r[2],o=e._rgb,l=o[0],c=o[1],u=o[2];return new xi(ki(Si(i,2)*(1-n)+Si(l,2)*n),ki(Si(s,2)*(1-n)+Si(c,2)*n),ki(Si(a,2)*(1-n)+Si(u,2)*n),"rgb")};li.lrgb=Ti;var Ci=w,Mi=function(t,e,n){var r=t.lab(),i=e.lab();return new Ci(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"lab")};li.lab=Mi;var Ri=w,Ei=function(t,e,n,r){var i,s,a,o,l,c,u,h,d,f,p,g,v;return"hsl"===r?(a=t.hsl(),o=e.hsl()):"hsv"===r?(a=t.hsv(),o=e.hsv()):"hcg"===r?(a=t.hcg(),o=e.hcg()):"hsi"===r?(a=t.hsi(),o=e.hsi()):"lch"===r||"hcl"===r?(r="hcl",a=t.hcl(),o=e.hcl()):"oklch"===r&&(a=t.oklch().reverse(),o=e.oklch().reverse()),"h"!==r.substr(0,1)&&"oklch"!==r||(l=(i=a)[0],u=i[1],d=i[2],c=(s=o)[0],h=s[1],f=s[2]),isNaN(l)||isNaN(c)?isNaN(l)?isNaN(c)?g=Number.NaN:(g=c,1!=d&&0!=d||"hsv"==r||(p=h)):(g=l,1!=f&&0!=f||"hsv"==r||(p=u)):g=l+n*(c>l&&c-l>180?c-(l+360):c<l&&l-c>180?c+360-l:c-l),void 0===p&&(p=u+n*(h-u)),v=d+n*(f-d),new Ri("oklch"===r?[v,p,g]:[g,p,v],r)},Oi=Ei,Ai=function(t,e,n){return Oi(t,e,n,"lch")};li.lch=Ai,li.hcl=Ai;var Pi=w,$i=function(t,e,n){var r=t.num(),i=e.num();return new Pi(r+n*(i-r),"num")};li.num=$i;var Ii=Ei,Di=function(t,e,n){return Ii(t,e,n,"hcg")};li.hcg=Di;var Ni=Ei,Li=function(t,e,n){return Ni(t,e,n,"hsi")};li.hsi=Li;var Hi=Ei,Fi=function(t,e,n){return Hi(t,e,n,"hsl")};li.hsl=Fi;var Vi=Ei,zi=function(t,e,n){return Vi(t,e,n,"hsv")};li.hsv=zi;var ji=w,Ui=function(t,e,n){var r=t.oklab(),i=e.oklab();return new ji(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"oklab")};li.oklab=Ui;var Bi=Ei,qi=function(t,e,n){return Bi(t,e,n,"oklch")};li.oklch=qi;var Wi=w,Yi=f.clip_rgb,Gi=Math.pow,Ki=Math.sqrt,Xi=Math.PI,Qi=Math.cos,Ji=Math.sin,Zi=Math.atan2,ts=function(t,e,n){void 0===e&&(e="lrgb"),void 0===n&&(n=null);var r=t.length;n||(n=Array.from(new Array(r)).map((function(){return 1})));var i=r/n.reduce((function(t,e){return t+e}));if(n.forEach((function(t,e){n[e]*=i})),t=t.map((function(t){return new Wi(t)})),"lrgb"===e)return es(t,n);for(var s=t.shift(),a=s.get(e),o=[],l=0,c=0,u=0;u<a.length;u++)if(a[u]=(a[u]||0)*n[0],o.push(isNaN(a[u])?0:n[0]),"h"===e.charAt(u)&&!isNaN(a[u])){var h=a[u]/180*Xi;l+=Qi(h)*n[0],c+=Ji(h)*n[0]}var d=s.alpha()*n[0];t.forEach((function(t,r){var i=t.get(e);d+=t.alpha()*n[r+1];for(var s=0;s<a.length;s++)if(!isNaN(i[s]))if(o[s]+=n[r+1],"h"===e.charAt(s)){var u=i[s]/180*Xi;l+=Qi(u)*n[r+1],c+=Ji(u)*n[r+1]}else a[s]+=i[s]*n[r+1]}));for(var f=0;f<a.length;f++)if("h"===e.charAt(f)){for(var p=Zi(c/o[f],l/o[f])/Xi*180;p<0;)p+=360;for(;p>=360;)p-=360;a[f]=p}else a[f]=a[f]/o[f];return d/=r,new Wi(a,e).alpha(d>.99999?1:d,!0)},es=function(t,e){for(var n=t.length,r=[0,0,0,0],i=0;i<t.length;i++){var s=t[i],a=e[i]/n,o=s._rgb;r[0]+=Gi(o[0],2)*a,r[1]+=Gi(o[1],2)*a,r[2]+=Gi(o[2],2)*a,r[3]+=o[3]*a}return r[0]=Ki(r[0]),r[1]=Ki(r[1]),r[2]=Ki(r[2]),r[3]>.9999999&&(r[3]=1),new Wi(Yi(r))},ns=x,rs=f.type,is=Math.pow,ss=function(t){var e="rgb",n=ns("#ccc"),r=0,i=[0,1],s=[],a=[0,0],o=!1,l=[],c=!1,u=0,h=1,d=!1,f={},p=!0,g=1,v=function(t){if((t=t||["#fff","#000"])&&"string"===rs(t)&&ns.brewer&&ns.brewer[t.toLowerCase()]&&(t=ns.brewer[t.toLowerCase()]),"array"===rs(t)){1===t.length&&(t=[t[0],t[0]]),t=t.slice(0);for(var e=0;e<t.length;e++)t[e]=ns(t[e]);s.length=0;for(var n=0;n<t.length;n++)s.push(n/(t.length-1))}return _(),l=t},m=function(t){if(null!=o){for(var e=o.length-1,n=0;n<e&&t>=o[n];)n++;return n-1}return 0},y=function(t){return t},b=function(t){return t},w=function(t,r){var i,c;if(null==r&&(r=!1),isNaN(t)||null===t)return n;c=r?t:o&&o.length>2?m(t)/(o.length-2):h!==u?(t-u)/(h-u):1,c=b(c),r||(c=y(c)),1!==g&&(c=is(c,g)),c=a[0]+c*(1-a[0]-a[1]),c=Math.min(1,Math.max(0,c));var d=Math.floor(1e4*c);if(p&&f[d])i=f[d];else{if("array"===rs(l))for(var v=0;v<s.length;v++){var w=s[v];if(c<=w){i=l[v];break}if(c>=w&&v===s.length-1){i=l[v];break}if(c>w&&c<s[v+1]){c=(c-w)/(s[v+1]-w),i=ns.interpolate(l[v],l[v+1],c,e);break}}else"function"===rs(l)&&(i=l(c));p&&(f[d]=i)}return i},_=function(){return f={}};v(t);var x=function(t){var e=ns(w(t));return c&&e[c]?e[c]():e};return x.classes=function(t){if(null!=t){if("array"===rs(t))o=t,i=[t[0],t[t.length-1]];else{var e=ns.analyze(i);o=0===t?[e.min,e.max]:ns.limits(e,"e",t)}return x}return o},x.domain=function(t){if(!arguments.length)return i;u=t[0],h=t[t.length-1],s=[];var e=l.length;if(t.length===e&&u!==h)for(var n=0,r=Array.from(t);n<r.length;n+=1){var a=r[n];s.push((a-u)/(h-u))}else{for(var o=0;o<e;o++)s.push(o/(e-1));if(t.length>2){var c=t.map((function(e,n){return n/(t.length-1)})),d=t.map((function(t){return(t-u)/(h-u)}));d.every((function(t,e){return c[e]===t}))||(b=function(t){if(t<=0||t>=1)return t;for(var e=0;t>=d[e+1];)e++;var n=(t-d[e])/(d[e+1]-d[e]);return c[e]+n*(c[e+1]-c[e])})}}return i=[u,h],x},x.mode=function(t){return arguments.length?(e=t,_(),x):e},x.range=function(t,e){return v(t),x},x.out=function(t){return c=t,x},x.spread=function(t){return arguments.length?(r=t,x):r},x.correctLightness=function(t){return null==t&&(t=!0),d=t,_(),y=d?function(t){for(var e=w(0,!0).lab()[0],n=w(1,!0).lab()[0],r=e>n,i=w(t,!0).lab()[0],s=e+(n-e)*t,a=i-s,o=0,l=1,c=20;Math.abs(a)>.01&&c-- >0;)r&&(a*=-1),a<0?(o=t,t+=.5*(l-t)):(l=t,t+=.5*(o-t)),i=w(t,!0).lab()[0],a=i-s;return t}:function(t){return t},x},x.padding=function(t){return null!=t?("number"===rs(t)&&(t=[t,t]),a=t,x):a},x.colors=function(e,n){arguments.length<2&&(n="hex");var r=[];if(0===arguments.length)r=l.slice(0);else if(1===e)r=[x(.5)];else if(e>1){var s=i[0],a=i[1]-s;r=as(0,e).map((function(t){return x(s+t/(e-1)*a)}))}else{t=[];var c=[];if(o&&o.length>2)for(var u=1,h=o.length,d=1<=h;d?u<h:u>h;d?u++:u--)c.push(.5*(o[u-1]+o[u]));else c=i;r=c.map((function(t){return x(t)}))}return ns[n]&&(r=r.map((function(t){return t[n]()}))),r},x.cache=function(t){return null!=t?(p=t,x):p},x.gamma=function(t){return null!=t?(g=t,x):g},x.nodata=function(t){return null!=t?(n=ns(t),x):n},x};function as(t,e,n){for(var r=[],i=t<e,s=e,a=t;i?a<s:a>s;i?a++:a--)r.push(a);return r}var os=w,ls=ss,cs=function(t){for(var e=[1,1],n=1;n<t;n++){for(var r=[1],i=1;i<=e.length;i++)r[i]=(e[i]||0)+e[i-1];e=r}return e},us=function(t){var e,n,r,i,s,a,o;if(2===(t=t.map((function(t){return new os(t)}))).length)e=t.map((function(t){return t.lab()})),s=e[0],a=e[1],i=function(t){var e=[0,1,2].map((function(e){return s[e]+t*(a[e]-s[e])}));return new os(e,"lab")};else if(3===t.length)n=t.map((function(t){return t.lab()})),s=n[0],a=n[1],o=n[2],i=function(t){var e=[0,1,2].map((function(e){return(1-t)*(1-t)*s[e]+2*(1-t)*t*a[e]+t*t*o[e]}));return new os(e,"lab")};else if(4===t.length){var l;r=t.map((function(t){return t.lab()})),s=r[0],a=r[1],o=r[2],l=r[3],i=function(t){var e=[0,1,2].map((function(e){return(1-t)*(1-t)*(1-t)*s[e]+3*(1-t)*(1-t)*t*a[e]+3*(1-t)*t*t*o[e]+t*t*t*l[e]}));return new os(e,"lab")}}else{if(!(t.length>=5))throw new RangeError("No point in running bezier with only one color.");var c,u,h;c=t.map((function(t){return t.lab()})),h=t.length-1,u=cs(h),i=function(t){var e=1-t,n=[0,1,2].map((function(n){return c.reduce((function(r,i,s){return r+u[s]*Math.pow(e,h-s)*Math.pow(t,s)*i[n]}),0)}));return new os(n,"lab")}}return i},hs=function(t){var e=us(t);return e.scale=function(){return ls(e)},e},ds=x,fs=function(t,e,n){if(!fs[n])throw new Error("unknown blend mode "+n);return fs[n](t,e)},ps=function(t){return function(e,n){var r=ds(n).rgb(),i=ds(e).rgb();return ds.rgb(t(r,i))}},gs=function(t){return function(e,n){var r=[];return r[0]=t(e[0],n[0]),r[1]=t(e[1],n[1]),r[2]=t(e[2],n[2]),r}},vs=function(t){return t},ms=function(t,e){return t*e/255},ys=function(t,e){return t>e?e:t},bs=function(t,e){return t>e?t:e},ws=function(t,e){return 255*(1-(1-t/255)*(1-e/255))},_s=function(t,e){return e<128?2*t*e/255:255*(1-2*(1-t/255)*(1-e/255))},xs=function(t,e){return 255*(1-(1-e/255)/(t/255))},ks=function(t,e){return 255===t||(t=e/255*255/(1-t/255))>255?255:t};fs.normal=ps(gs(vs)),fs.multiply=ps(gs(ms)),fs.screen=ps(gs(ws)),fs.overlay=ps(gs(_s)),fs.darken=ps(gs(ys)),fs.lighten=ps(gs(bs)),fs.dodge=ps(gs(ks)),fs.burn=ps(gs(xs));for(var Ss=fs,Ts=f.type,Cs=f.clip_rgb,Ms=f.TWOPI,Rs=Math.pow,Es=Math.sin,Os=Math.cos,As=x,Ps=function(t,e,n,r,i){void 0===t&&(t=300),void 0===e&&(e=-1.5),void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=[0,1]);var s,a=0;"array"===Ts(i)?s=i[1]-i[0]:(s=0,i=[i,i]);var o=function(o){var l=Ms*((t+120)/360+e*o),c=Rs(i[0]+s*o,r),u=(0!==a?n[0]+o*a:n)*c*(1-c)/2,h=Os(l),d=Es(l);return As(Cs([255*(c+u*(-.14861*h+1.78277*d)),255*(c+u*(-.29227*h-.90649*d)),255*(c+u*(1.97294*h)),1]))};return o.start=function(e){return null==e?t:(t=e,o)},o.rotations=function(t){return null==t?e:(e=t,o)},o.gamma=function(t){return null==t?r:(r=t,o)},o.hue=function(t){return null==t?n:("array"===Ts(n=t)?0==(a=n[1]-n[0])&&(n=n[1]):a=0,o)},o.lightness=function(t){return null==t?i:("array"===Ts(t)?(i=t,s=t[1]-t[0]):(i=[t,t],s=0),o)},o.scale=function(){return As.scale(o)},o.hue(n),o},$s=w,Is="0123456789abcdef",Ds=Math.floor,Ns=Math.random,Ls=function(){for(var t="#",e=0;e<6;e++)t+=Is.charAt(Ds(16*Ns()));return new $s(t,"hex")},Hs=o,Fs=Math.log,Vs=Math.pow,zs=Math.floor,js=Math.abs,Us=function(t,e){void 0===e&&(e=null);var n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===Hs(t)&&(t=Object.values(t)),t.forEach((function(t){e&&"object"===Hs(t)&&(t=t[e]),null==t||isNaN(t)||(n.values.push(t),n.sum+=t,t<n.min&&(n.min=t),t>n.max&&(n.max=t),n.count+=1)})),n.domain=[n.min,n.max],n.limits=function(t,e){return Bs(n,t,e)},n},Bs=function(t,e,n){void 0===e&&(e="equal"),void 0===n&&(n=7),"array"==Hs(t)&&(t=Us(t));var r=t.min,i=t.max,s=t.values.sort((function(t,e){return t-e}));if(1===n)return[r,i];var a=[];if("c"===e.substr(0,1)&&(a.push(r),a.push(i)),"e"===e.substr(0,1)){a.push(r);for(var o=1;o<n;o++)a.push(r+o/n*(i-r));a.push(i)}else if("l"===e.substr(0,1)){if(r<=0)throw new Error("Logarithmic scales are only possible for values > 0");var l=Math.LOG10E*Fs(r),c=Math.LOG10E*Fs(i);a.push(r);for(var u=1;u<n;u++)a.push(Vs(10,l+u/n*(c-l)));a.push(i)}else if("q"===e.substr(0,1)){a.push(r);for(var h=1;h<n;h++){var d=(s.length-1)*h/n,f=zs(d);if(f===d)a.push(s[f]);else{var p=d-f;a.push(s[f]*(1-p)+s[f+1]*p)}}a.push(i)}else if("k"===e.substr(0,1)){var g,v=s.length,m=new Array(v),y=new Array(n),b=!0,w=0,_=null;(_=[]).push(r);for(var x=1;x<n;x++)_.push(r+x/n*(i-r));for(_.push(i);b;){for(var k=0;k<n;k++)y[k]=0;for(var S=0;S<v;S++)for(var T=s[S],C=Number.MAX_VALUE,M=void 0,R=0;R<n;R++){var E=js(_[R]-T);E<C&&(C=E,M=R),y[M]++,m[S]=M}for(var O=new Array(n),A=0;A<n;A++)O[A]=null;for(var P=0;P<v;P++)null===O[g=m[P]]?O[g]=s[P]:O[g]+=s[P];for(var $=0;$<n;$++)O[$]*=1/y[$];b=!1;for(var I=0;I<n;I++)if(O[I]!==_[I]){b=!0;break}_=O,++w>200&&(b=!1)}for(var D={},N=0;N<n;N++)D[N]=[];for(var L=0;L<v;L++)D[g=m[L]].push(s[L]);for(var H=[],F=0;F<n;F++)H.push(D[F][0]),H.push(D[F][D[F].length-1]);H=H.sort((function(t,e){return t-e})),a.push(H[0]);for(var V=1;V<H.length;V+=2){var z=H[V];isNaN(z)||-1!==a.indexOf(z)||a.push(z)}}return a},qs={analyze:Us,limits:Bs},Ws=w,Ys=function(t,e){t=new Ws(t),e=new Ws(e);var n=t.luminance(),r=e.luminance();return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)},Gs=w,Ks=Math.sqrt,Xs=Math.pow,Qs=Math.min,Js=Math.max,Zs=Math.atan2,ta=Math.abs,ea=Math.cos,na=Math.sin,ra=Math.exp,ia=Math.PI,sa=function(t,e,n,r,i){void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=1);var s=function(t){return 360*t/(2*ia)},a=function(t){return 2*ia*t/360};t=new Gs(t),e=new Gs(e);var o=Array.from(t.lab()),l=o[0],c=o[1],u=o[2],h=Array.from(e.lab()),d=h[0],f=h[1],p=h[2],g=(l+d)/2,v=(Ks(Xs(c,2)+Xs(u,2))+Ks(Xs(f,2)+Xs(p,2)))/2,m=.5*(1-Ks(Xs(v,7)/(Xs(v,7)+Xs(25,7)))),y=c*(1+m),b=f*(1+m),w=Ks(Xs(y,2)+Xs(u,2)),_=Ks(Xs(b,2)+Xs(p,2)),x=(w+_)/2,k=s(Zs(u,y)),S=s(Zs(p,b)),T=k>=0?k:k+360,C=S>=0?S:S+360,M=ta(T-C)>180?(T+C+360)/2:(T+C)/2,R=1-.17*ea(a(M-30))+.24*ea(a(2*M))+.32*ea(a(3*M+6))-.2*ea(a(4*M-63)),E=C-T;E=ta(E)<=180?E:C<=T?E+360:E-360,E=2*Ks(w*_)*na(a(E)/2);var O=d-l,A=_-w,P=1+.015*Xs(g-50,2)/Ks(20+Xs(g-50,2)),$=1+.045*x,I=1+.015*x*R,D=30*ra(-Xs((M-275)/25,2)),N=-2*Ks(Xs(x,7)/(Xs(x,7)+Xs(25,7)))*na(2*a(D)),L=Ks(Xs(O/(n*P),2)+Xs(A/(r*$),2)+Xs(E/(i*I),2)+N*(A/(r*$))*(E/(i*I)));return Js(0,Qs(100,L))},aa=w,oa=function(t,e,n){void 0===n&&(n="lab"),t=new aa(t),e=new aa(e);var r=t.get(n),i=e.get(n),s=0;for(var a in r){var o=(r[a]||0)-(i[a]||0);s+=o*o}return Math.sqrt(s)},la=w,ca=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];try{return new(Function.prototype.bind.apply(la,[null].concat(t))),!0}catch(n){return!1}},ua=x,ha=ss,da={cool:function(){return ha([ua.hsl(180,1,.9),ua.hsl(250,.7,.4)])},hot:function(){return ha(["#000","#f00","#ff0","#fff"]).mode("rgb")}},fa={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},pa=0,ga=Object.keys(fa);pa<ga.length;pa+=1){var va=ga[pa];fa[va.toLowerCase()]=fa[va]}var ma=fa,ya=x;return ya.average=ts,ya.bezier=hs,ya.blend=Ss,ya.cubehelix=Ps,ya.mix=ya.interpolate=di,ya.random=Ls,ya.scale=ss,ya.analyze=qs.analyze,ya.contrast=Ys,ya.deltaE=sa,ya.distance=oa,ya.limits=qs.limits,ya.valid=ca,ya.scales=da,ya.colors=Ln,ya.brewer=ma,ya}());function rv({color0:t,factor:e=2}){return t||(t="#ff0066"),[nv(t).darker(e/3).hex(),nv(t).brighter(e).hex()]}let iv=1;const sv=()=>{const t=[];return iv<16777215&&(t.push(255&iv),t.push((65280&iv)>>8),t.push((16711680&iv)>>16),iv+=100),"rgb("+t.join(",")+")"};async function av({width:t=5,height:e=5,color:n="#EEF1F3",lineWidth:r=.5}={}){let i=new Image;return i.crossOrigin="Anonymous",i.src="https://interactive.spiegel.de/gra/elections/static/placeholders/stripe.white.5.2.png",new Promise((t=>{i.onload=function(){t(i)}}))}function ov({parties:t}){if(!t)return[];let e="",n="";t.forEach((t=>{e+=`--partyColorLight-${t.id}: ${t.colorLm}; `,n+=`--partyColorDark-${t.id}: ${t.colorDm}; `}));return`\t\t\n\t\t\t${n}\n\t\t\t${e}\n\t`}function lv({parties:t=[],darkMode:e}){return t?t.map((t=>{const n=e?t.colorDm:t.colorLm;return{...t,$colorAttribute:e?`var(--partyColorDark-${t.id})`:`var(--partyColorLight-${t.id})`,$color:n,$colorGradientStops:rv({color0:n})}})):[]}const cv=function(){let t=G(void 0),e=G(void 0),n=G(void 0),r=G(void 0),i=G(void 0),s=G(void 0),a=G(void 0),o=G(0),l=G(void 0),c=G(0),u=G(0),h=Tt((()=>({isTouch:"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,isIOS:document.documentElement.className.split(" ").includes("is-ios"),isApp:document.documentElement.classList.contains("is-app")}))),d=G(!1);const f=window.matchMedia("(prefers-color-scheme: dark)"),p=t=>X(d,gt(t.matches));p(f),f.addEventListener("change",p);let g=Tt((()=>({foreground:de(d)?"#000000":"#ffffff",background:de(d)?"#ffffff":"#1f1e1c",grayDarker:de(d)?"#d2d8dc":"#696b6b",grayLighter1:de(d)?"#626466":"#c1c5c7",hatchure:de(d)?"#eef1f3":"#1f1e1c",grayFond:de(d)?"#2f2e2d":"#eef1f3",mapBackground:de(d)?"#2f2e2d":"#eef1f3",dark:"#1f1e1c"})));window&&window.visualViewport&&visualViewport.addEventListener("resize",(()=>{X(l,gt(de(h).isIOS?visualViewport.height:visualViewport.height-3))}));let v=G(void 0);return{get visualWidth(){return de(t)},set visualWidth(e){X(t,gt(e))},get visualHeight(){return de(e)},set visualHeight(t){X(e,gt(t))},get containerHeight(){return de(n)},set containerHeight(t){X(n,gt(t))},get safeHeight(){return de(r)},set safeHeight(t){X(r,gt(t))},get headerHeight(){return de(i)},set headerHeight(t){X(i,gt(t))},get footerHeight(){return de(s)},set footerHeight(t){X(s,gt(t))},get contentHeight(){return de(a)},set contentHeight(t){X(a,gt(t))},get scrollY(){return de(o)},set scrollY(t){X(o,gt(t))},get device(){return de(h)},get darkMode(){return de(d)},get colors(){return de(g)},get visualViewportHeight(){return de(l)},get viewRoot(){return de(v)},set viewRoot(t){X(v,gt(t))},get contentTop(){return de(c)},set contentTop(t){X(c,gt(t))},get contentLeft(){return de(u)},set contentLeft(t){X(u,gt(t))}}}();async function uv(t){try{return await Zc(t)}catch(e){throw e}}let hv=-1;const dv=t=>{if(t)return{turnout:t=t.map((t=>({...t,$timestamp:Ug(t.date)})))}},fv=(t,e)=>{if(t)return{results:t=t.map((t=>({...t,$timestamp:Ug(t.date)}))),parties:e}},pv=(t,e,n)=>{if(!t)return;const r=t.length,i=function(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n>r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}(t=t.map(((e,i)=>({...e,$dateStart:Ug(e.date),$dateEnd:i+1<r?Ug(t[i+1].date):n.$dateCurrent}))),(t=>t.$dateStart)),s=[i,Ws(t,(t=>t.$dateEnd))],a=ag().domain(s).range([0,100]),o=Ud().domain([0,100]).range([100,0]),l=t.map((t=>{let n=0;const r=t.values.map((r=>{const i=a(t.$dateStart),s=a(t.$dateEnd),l=100-o(r.share),c=s-i,u=e.find((t=>t.id===r.partyId)),h=n;return n+=l,{...r,left:i,bottom:h,height:l,width:c,xEnde:s,party:u}}));return{...t,$renderedValues:r}}));return{xScale:a,yScale:o,data:l}};const gv=function(){const t=Ud().domain([320,600]).range([40,70]).clamp(!0);let e=G(0),n=Tt((()=>t(de(e))));return{get chartWidth(){return de(e)},set chartWidth(t){X(e,gt(t))},get circleRadius(){return de(n)}}}();let vv=0;const mv=Tt((()=>gv.circleRadius)),yv=2*Math.asin(12/(2*de(mv))),bv=Tt((()=>gv.chartWidth)),wv=t=>t=(t=>t.map((t=>(t.relations=t.relations.map((t=>({...t,points:[...t.points,{x:de(bv)/2,y:vv/2}]}))),t))))(t=((t,e,n,r)=>{const i=de(bv)/2,s=vv/2;return t.map((t=>{let r=1.5*Math.PI+t.positiveAngleSum/2,a=(Math.PI-t.negativeAngleSum)/2;return t.relations=t.relations.map((t=>{const o=t.value>0?r:a,l=e*Math.sin(o),c=n*Math.cos(o);let u=0,h=0;t.value>0?(r-=t.angle+yv,u=i+l,h=s-c):(a+=t.angle+yv,u=i+l,h=s-c);const d={...t,points:[...t.points,{x:u,y:h}]};return d.arrowCoords={x:u,y:h,angle:o,angleDegrees:t.value>0?o*(180/Math.PI)+180:o*(180/Math.PI)},d})),t}))})(t=(t=>t.map((t=>{let e=(vv-t.positiveHeight)/2,n=(vv-t.negativeHeight)/2;return t.relations=t.relations.map((t=>{let r=t.value>0?e:n;r+=t.width/2;let i=t.value>0?0:de(bv);return t.value>0?e+=t.width+40:n+=t.width+40,{...t,points:[{x:i,y:r},{x:t.value>0?i+de(bv)/4:i-de(bv)/4,y:r}]}})),t})))(t=t.map((t=>({...t,relations:t.relations.sort(((t,e)=>Math.abs(e.value)-Math.abs(t.value)))})))),de(mv),de(mv))),_v=(t,e)=>!t||t.length<1?{}:(t=(t=>t.map((t=>{let e=0,n=0,r=0,i=0;return t.relations.forEach((t=>{t.value>0?(r++,e+=t.angle):t.value<0&&(i++,n+=t.angle)})),e+=(r-1)*yv,n+=(i-1)*yv,{...t,positiveAngleSum:e,negativeAngleSum:n}})))(t=(t=>t.map((t=>{let e=0,n=0,r=0,i=0;return t.relations.forEach((t=>{t.value>0?(e++,r+=t.width):t.value<0&&(n++,i+=t.width)})),r+=40*(e-1),i+=40*(n-1),vv=Math.max(vv,r,i),{...t,positiveHeight:r,negativeHeight:i}})))(t=(t=>{const e=Math.max(...t.map((t=>t.relations.map((t=>t.value)))).flat()),n=Math.min(...t.map((t=>t.relations.map((t=>Math.abs(t.value))))).flat()),r=Ud().domain([n,e]).range([2,10]);return t.map((t=>({...t,relations:t.relations.map((t=>{const e=r(Math.abs(t.value)),n=2*Math.asin(e/(2*de(mv)));return{...t,width:e,angle:n}}))})))})(t=t.map((t=>({...t,party:e.find((e=>e.id===t.partyId)),relations:t.relations.map((t=>({...t,party:e.find((e=>e.id===t.partyId)),valueObj:zg(t.value,0,"",!0)})))})))))),{voterFlowsNet:t=wv(t),svgHeight:vv});const xv=(t,e)=>{if(!t||t.length<1)return{};let n=0;return t.forEach((t=>{t.values.forEach((t=>{t.results.forEach((t=>{t.currentShare>n&&(n=t.currentShare),t.previousShare>n&&(n=t.previousShare)}))}))})),t=t.map((t=>{const r=t.values.map((t=>{const r=Wg({results:qg({results:t?.results,parties:e}),parties:e,maxShare:n});return{...t,$results:r}}));return{...t,$renderedValues:r}}))};function kv(t){return t}function Sv(t,e){return"string"==typeof e&&(e=t.objects[e]),"GeometryCollection"===e.type?{type:"FeatureCollection",features:e.geometries.map((function(e){return Tv(t,e)}))}:Tv(t,e)}function Tv(t,e){var n=e.id,r=e.bbox,i=null==e.properties?{}:e.properties,s=function(t,e){var n=function(t){if(null==t)return kv;var e,n,r=t.scale[0],i=t.scale[1],s=t.translate[0],a=t.translate[1];return function(t,o){o||(e=n=0);var l=2,c=t.length,u=new Array(c);for(u[0]=(e+=t[0])*r+s,u[1]=(n+=t[1])*i+a;l<c;)u[l]=t[l],++l;return u}}(t.transform),r=t.arcs;function i(t,e){e.length&&e.pop();for(var i=r[t<0?~t:t],s=0,a=i.length;s<a;++s)e.push(n(i[s],s));t<0&&function(t,e){for(var n,r=t.length,i=r-e;i<--r;)n=t[i],t[i++]=t[r],t[r]=n}(e,a)}function s(t){return n(t)}function a(t){for(var e=[],n=0,r=t.length;n<r;++n)i(t[n],e);return e.length<2&&e.push(e[0]),e}function o(t){for(var e=a(t);e.length<4;)e.push(e[0]);return e}function l(t){return t.map(o)}function c(t){var e,n=t.type;switch(n){case"GeometryCollection":return{type:n,geometries:t.geometries.map(c)};case"Point":e=s(t.coordinates);break;case"MultiPoint":e=t.coordinates.map(s);break;case"LineString":e=a(t.arcs);break;case"MultiLineString":e=t.arcs.map(a);break;case"Polygon":e=l(t.arcs);break;case"MultiPolygon":e=t.arcs.map(l);break;default:return null}return{type:n,coordinates:e}}return c(e)}(t,e);return null==n&&null==r?{type:"Feature",properties:i,geometry:s}:null==r?{type:"Feature",id:n,properties:i,geometry:s}:{type:"Feature",id:n,bbox:r,properties:i,geometry:s}}const Cv=function(){let t=G(0),e=G(!1);return{set activeCardId(e){X(t,gt(e))},get activeCardId(){return de(t)},set isScrollingOnClick(t){X(e,gt(t))},get isScrollingOnClick(){return de(e)}}}();const Mv=function(){let t=G(gt([]));function e(t,e){return t-e}return{addId:e=>(de(t).includes(e)||de(t).push(e),de(t)),removeId:e=>(X(t,gt(de(t).filter((t=>t!==e)))),de(t)),get ids(){return de(t).sort(e),de(t)},get firstId(){return de(t).sort(e),de(t).length?de(t)[0]:void 0}}}();const Rv=function(){let t=Tt((()=>Pv.elections[0]?.forecastsOptions)),e=Tt((()=>de(t)?.find((t=>t.isLatest))?.id)),n=G(void 0);return{set select(t){X(n,gt(t))},get selected(){return de(n)??de(e)},get selectedIndex(){return de(t)?.find((t=>t.id===this.selected))?.index},get options(){return de(t)}}}(),Ev=function(){let t=Tt((()=>Pv.elections[1]?.forecastsOptions)),e=Tt((()=>de(t)?.find((t=>t.isLatest))?.id)),n=G(void 0);return{set select(t){X(n,gt(t))},get selected(){return de(n)??de(e)},get selectedIndex(){return de(t)?.find((t=>t.id===this.selected))?.index},get options(){return de(t)}}}();async function Ov(t){try{return await Zc(t)}catch(e){throw e}}let Av=0;const Pv=Ig.isWidget?(()=>{let t=G(gt({}));const e=Tt((()=>tv({config:de(t)?.config})));let n=Tt((()=>Ng({configCards:de(e)?.cards}))),r=[],i=Tt((()=>de(t).elections?de(t)?.elections?.map(((t,e)=>{let n=function(t,e){const n=Tt((()=>t?.config)),r=Tt((()=>lv({parties:de(n)?.parties,darkMode:cv.darkMode}))),i=Tt((()=>Xg({forecasts:t?.resultsOverall?.forecasts,parties:de(r)}))),s=Tt((()=>Gg({results:t?.resultsOverall?.returningResults,parties:de(r)}))),a=Tt((()=>Zg({electedMps:t?.electedMps,parties:de(r)}))),o=Tt((()=>({forecasts:de(i),returningResults:de(s),electedMps:de(a)}))),l=Tt((()=>ov({parties:de(r)}))),c=Tt((()=>Qg({forecasts:t?.resultsOverall?.forecasts})));return{get electionKey(){return t?.electionKey},get election(){return t},get config(){return de(n)},get parties(){return de(r)},get results(){return de(o)},get resultsCollection(){return de(o)},get partyColors(){return de(l)},get forecastsOptions(){return de(c)}}}(t);return n.index=e,r[t.electionKey]=e,n})):[])),s=Tt((()=>de(i).map((t=>t.partyColors)))),a=Tt((()=>de(t)?.elections[0]?.config?.dictionary||{})),o=Tt((()=>de(t)?.elections[1]?.config?.dictionary||{})),l=Tt((()=>(e,n,r)=>{if(!e)return"!"+r;let i=de(t)?.elections[0].electionKey===e?de(a):de(o);return i[n]?.find((t=>t.key===r))?.value||r}));return{get isWidget(){return!0},get elections(){return de(i)},get cards(){return de(n)},get config(){return de(e)},get data(){return de(t)},get partyColors(){return de(s)},get electionIndexByElectionKey(){return r},updateFromJson:function(){if(Ig.debugUrls){const e=["https://interactive.spiegel.de/gra/elections/testdata/2024-09-19/bb_2024/widget_1.json","https://interactive.spiegel.de/gra/elections/testdata/2024-09-19/bb_2024/widget_2.json","https://interactive.spiegel.de/gra/elections/testdata/2024-09-19/bb_2024/widget_3.json","https://interactive.spiegel.de/gra/elections/testdata/2024-09-19/bb_2024/widget_4.json","https://interactive.spiegel.de/gra/elections/testdata/2024-09-19/bb_2024/widget_5.json","https://interactive.spiegel.de/gra/elections/testdata/2024-09-19/bb_2024/widget_6.json"];hv++,hv===e.length&&(hv=0);const n=e[hv];let r=document.querySelector(".cont .spinner");r&&(r.classList.add("active"),document.querySelector(".title span").innerHTML="Europawahl Live "+Number(hv),setTimeout((()=>{r.classList.remove("active")}),444)),uv(n).then((e=>{X(t,gt(e))}))}else uv(-1===location.host.indexOf("localhost")?Ig.data:Ig.data+"?d="+66666*Math.random()).then((e=>{X(t,gt(e))}))},translate:de(l)}})():function(){let t=G(gt({}));const e=Tt((()=>tv({config:de(t)?.config}))),n=Tt((()=>lv({parties:de(e)?.parties,darkMode:cv.darkMode}))),r=Tt((()=>Xg({forecasts:de(t)?.resultsOverall?.forecasts,parties:de(n)}))),i=Tt((()=>Gg({results:de(t)?.resultsOverall?.returningResults,parties:de(n)}))),s=Tt((()=>function({results:t=[],parties:e=[],configCards:n=[],settings:r={}}){const i=t.map((t=>{const n=t?.returningResults,i=Gg({results:n,parties:e,settings:r});return{...t,returningResults:i}})),s=[...new Set(i.map((t=>t.returningResults.listVotes.additionalInformation.$leadingParty)))].filter((t=>t)),a=((n.find((t=>t.elements&&t.elements.some((t=>"strongholds"===t.type))))||{}).elements?.find((t=>"strongholds"===t.type))||{}).partiesToBeShown||[],o=e.filter((t=>a.includes(t.id))),l=Yg({results:i,resultType:"constituencyVotes",parties:s}),c=Yg({results:i,resultType:"listVotes",parties:s}),u=Yg({results:i,resultType:"listVotes",parties:[...new Set([...o,...s])]}),h=i.map((t=>({...t}))),d=h.filter((t=>t.returningResults.countingProgress.isFullyCounted)).length,f=h.length;return((n.find((t=>t.elements&&t.elements.some((t=>"map"===t.type))))||{}).elements?.find((t=>"map"===t.type))||{}).minimumCountingShareForTrendResults,{additionalInformation:{countedConstituencies:d,totalConstituencies:f,leadingParties:s},aesthetics:{constituencyVotes:l,listVotes:c,strongholds:u},results:h,source:t.map((t=>t.returningResults.source)),$timestamp:Kg(h.map((t=>t.returningResults.$timestamp))),$enrichedResultsPerConstituency:i}}({results:de(t)?.resultsPerConstituency,parties:de(n),configCards:de(e)?.cards,settings:de(e)?.settings}))),a=Tt((()=>function({results:t=[],parties:e=[]}){const n=t.map((t=>{const n=t?.returningResults,r=Gg({results:n,parties:e});return{...t,returningResults:r}}));return{additionalInformation:{countedCountries:n.filter((t=>t.returningResults.countingProgress.isFullyCounted)).length,totalCountries:n.length},results:n,source:n.map((t=>t.returningResults.source)),$timestamp:Kg(n.map((t=>t.returningResults.$timestamp)))}}({results:de(t)?.resultsPerCountry,parties:de(n),configCards:de(e)?.cards}))),o=Tt((()=>function({historic:t=[],parties:e=[],settings:n={}}){const r=t.find((t=>"turnout"===t.key))?.timeline,i=t.find((t=>"vote_shares"===t.key))?.timeline,s=t.find((t=>"coalitions"===t.key))?.timeline,a=t.map((t=>t.sources)).flat(),o=Array.from(new Set(a)),l=Ws(t,(t=>jg(t.timestamp)));return{turnout:r,$renderedTurnout:dv(r),results:i,$renderedResults:fv(i,e),coalitions:s,$renderedCoalitions:pv(s,e,n),source:o||[],$timestamp:""!==l?l:null}}({historic:de(t)?.historic,parties:de(n),settings:de(e)?.settings}))),l=Tt((()=>Zg({electedMps:de(t)?.electedMps,parties:de(n)}))),c=Tt((()=>function({voterFlowsNet:t=[],parties:e=[]}){return t&&t.values?{voterFlowsNet:t,$timestamp:jg(t?.timestamp),source:t?.source,$renderedVoterFlowsNet:_v(t.values,e)}:{}}({voterFlowsNet:de(t)?.voterFlows,parties:de(n)}))),u=Tt((()=>function({voterGroups:t=[],parties:e=[]}){if(!t||!e||!t.length>0)return{};const n=xv(t,e),r=t.map((t=>t.sources)).flat(),i=Array.from(new Set(r)),s=Ws(t,(t=>jg(t.timestamp)));return{voterGroups:t,$renderedVoterGroups:n,source:i||[],$timestamp:""!==s?s:null}}({voterGroups:de(t)?.voterGroups,parties:de(n)}))),h=Tt((()=>{let e=Wg({results:de(t)?.resultsOverallComplete,parties:de(n)});return e=qg({results:e,parties:de(n)}),e})),d=Tt((()=>({forecasts:de(r),returningResults:de(i),resultsPerConstituency:de(s),resultsPerCountry:de(a),historic:de(o),electedMps:de(l),voterFlowsNet:de(c),voterGroups:de(u),resultsOverallComplete:de(h)}))),f=Tt((()=>Ng({configCards:de(e)?.cards,parties:de(n),forecasts:de(r),returningResults:de(i)}))),p=Tt((()=>ov({parties:de(n)}))),g=Tt((()=>Qg({forecasts:de(t)?.resultsOverall?.forecasts})));let v=Tt((()=>function({options:t}){let e=G(void 0),n=Tt((()=>t?.find((t=>t.isLatest))?.id));return{set select(t){X(e,gt(t))},get selected(){return de(e)??de(n)},get latestSelected(){return de(n)},get selectedIndex(){return t?.find((t=>t.id===this.selected))?.index},get options(){return t}}}({options:de(g)}))),m=Tt((()=>de(e)?.settings?.bucketPaths.map.replace("{electionKey}",de(t)?.electionKey))),y=Tt((()=>async function({url:t}){let e={};return await Zc(t).then((t=>{e={constituencies:t.objects.constituencies?Sv(t,t.objects.constituencies):Sv(t,t.objects.countries),states:t.objects.states?Sv(t,t.objects.states):!!t.objects.eu_borders&&Sv(t,t.objects.eu_borders)}})),e}({url:de(m)}))),b=Tt((()=>(t,n)=>{const r=de(e)?.dictionary;return r&&r[t]?.find((t=>t.key===n))?.value||n}));return{get electionKey(){return de(t)?.electionKey},get data(){return de(t)},get config(){return de(e)},get cards(){return de(f)},get parties(){return de(n)},get results(){return de(d)},get resultsCollection(){return de(d)},get partyColors(){return de(p)},get forecastsOptions(){return de(g)},get forecastsSelector(){return de(v)},get geojson(){return de(y)},translate:de(b),updateFromJson:function(){if(Ig.debugUrls){const n=["data/ltw_sn_2024_1_full.json","data/ltw_sn_2024_2_full.json","data/ltw_sn_2024_3_full.json"],r=n[Av];if(Av++,Av>n.length)return;try{Ov(r).then((e=>{X(t,gt(e))}))}catch(e){}}else try{Ov(Ig.data).then((e=>{X(t,gt(e))}))}catch(e){}}}}();class $v{constructor(){this.interval=Ig.interval,this.clock=Dg,this.clock.interval=this.interval,this.resetInterval=this.resetInterval.bind(this),this.websocketsHash="",this.cacheAge=0,this.updateFromWebsockets=this.updateFromWebsockets.bind(this),this.enableWebsockets=this.enableWebsockets.bind(this),this.disableWebsockets=this.disableWebsockets.bind(this),this.ablyChannel=void 0,this.ablyListener=void 0,this.clock.setCallback(Pv.updateFromJson),this.clock.runCallbacks(),this.clock.start()}resetInterval(t){this.interval=t,this.clock.interval=this.interval,this.clock.start()}updateFromWebsockets(t){this.ablyChannel&&t!==this.websocketsHash&&(this.websocketsHash=t,setTimeout((()=>this.clock.runCallbacks()),1e3*Math.random()+(this.cacheAge||0)))}async enableWebsockets(){if(this.ablyChannel)return;const{channel:t,listener:e}=await async function({updateCallback:t}){const e=e=>{t(e.data)},n=new Bi({key:Ig.wsKey,plugins:{WebSocketTransport:ms,FetchRequest:ks,RealtimePresence:Rs}}).channels.get(Ig.wsChannel);return await n.subscribe("publish",e),{channel:n,listener:e}}({updateCallback:this.updateFromWebsockets});this.ablyChannel=t,this.ablyListener=e}async disableWebsockets(){this.ablyChannel&&(this.ablyListener&&this.ablyChannel.unsubscribe(this.ablyListener),await this.ablyChannel.detach(),this.websocketsHash="",this.ablyChannel=void 0,this.ablyListener=void 0)}}var Iv=Ze('<div class="svelte-k9iwc"></div>');function Dv(t,e){let n,r;_e(e,!0);const i=()=>cv.device.isApp?0:window.innerWidth<520?100:108,s=()=>{if(!r)return;const{width:t,height:e}=r.getBoundingClientRect();cv.visualWidth=t,cv.containerHeight=e;const n=Math.abs(cv.containerHeight-cv.visualHeight)>cv.tolerance;(!cv.visualHeight||cv.containerHeight>cv.visualHeight||n)&&(cv.visualHeight=cv.containerHeight),cv.headerHeight=i(),cv.footerHeight=cv.device.isApp?59:0,cv.contentHeight=cv.visualHeight-cv.headerHeight-cv.footerHeight,cv.safeHeight&&!n||(cv.safeHeight=document.documentElement.clientHeight-cv.headerHeight-cv.footerHeight)},a=()=>{clearTimeout(n),n=setTimeout(s,125)};"article"===Ig.type&&(cv.headerHeight=0),setTimeout(s,333),nt((()=>(a(),()=>clearTimeout(n))));var o=Iv();$e("resize",Me,a,!1),$n(o,(t=>r=t),(()=>r)),function(t,e,n){var r=()=>{s=!0,clearTimeout(i),i=setTimeout(a,100),n(window.scrollY)};addEventListener("scroll",r,{passive:!0});var i,s=!1,a=()=>{s=!1},o=!0;it((()=>{var t=e();o?o=!1:s||null==t||(s=!0,clearTimeout(i),scrollTo(window.scrollX,t),i=setTimeout(a,100))})),rt(r),it((()=>()=>{removeEventListener("scroll",r)}))}(0,(()=>cv.scrollY),(t=>cv.scrollY=t)),rn(t,o),xe()}const Nv=t=>t;function Lv(t){const e=t-1;return e*e*e+1}function Hv(t,{delay:e=0,duration:n=400,easing:r=Nv}={}){const i=+getComputedStyle(t).opacity;return{delay:e,duration:n,easing:r,css:t=>"opacity: "+t*i}}function Fv(t,{delay:e=0,duration:n=400,easing:r=Lv,axis:i="y"}={}){const s=getComputedStyle(t),a=+s.opacity,o="y"===i?"height":"width",l=parseFloat(s[o]),c="y"===i?["top","bottom"]:["left","right"],u=c.map((t=>`${t[0].toUpperCase()}${t.slice(1)}`)),h=parseFloat(s[`padding${u[0]}`]),d=parseFloat(s[`padding${u[1]}`]),f=parseFloat(s[`margin${u[0]}`]),p=parseFloat(s[`margin${u[1]}`]),g=parseFloat(s[`border${u[0]}Width`]),v=parseFloat(s[`border${u[1]}Width`]);return{delay:e,duration:n,easing:r,css:t=>`overflow: hidden;opacity: ${Math.min(20*t,1)*a};${o}: ${t*l}px;padding-${c[0]}: ${t*h}px;padding-${c[1]}: ${t*d}px;margin-${c[0]}: ${t*f}px;margin-${c[1]}: ${t*p}px;border-${c[0]}-width: ${t*g}px;border-${c[1]}-width: ${t*v}px;`}}function Vv(t,e){for(const n in e)t[n]=e[n];return t}function zv({fallback:t,...e}){const n=new Map,r=new Map;function i(n,r,i){return(s,a)=>(n.set(a.key,s),()=>{if(r.has(a.key)){const t=r.get(a.key);return r.delete(a.key),function(t,n,r){const{delay:i=0,duration:s=(t=>30*Math.sqrt(t)),easing:a=Lv}=Vv(Vv({},e),r),o=t.getBoundingClientRect(),l=n.getBoundingClientRect(),c=o.left-l.left,u=o.top-l.top,h=o.width/l.width,d=o.height/l.height,f=Math.sqrt(c*c+u*u),p=getComputedStyle(n),g="none"===p.transform?"":p.transform,v=+p.opacity;return{delay:i,duration:"function"==typeof s?s(f):s,easing:a,css:(t,e)=>`\n\t\t\t opacity: ${t*v};\n\t\t\t transform-origin: top left;\n\t\t\t transform: ${g} translate(${e*c}px,${e*u}px) scale(${t+(1-t)*h}, ${t+(1-t)*d});\n\t\t `}}(t,s,a)}return n.delete(a.key),t&&t(s,a,i)})}return[i(r,n,!1),i(n,r,!0)]}const jv=3e3,Uv=3e3;const Bv=function(){let t=G(gt([]));const e=Tt((()=>de(t).filter((t=>t.isUpdating)).length));return{get cards(){return de(t)},set cards(e){X(t,gt(e))},get leftDotsOutOfView(){return 0===de(t).length?0:de(t).filter((t=>"left"===t.naviDotInView&&!0===t.isUpdating)).length},get rightDotsOutOfView(){return 0===de(t).length?0:de(t).filter((t=>"right"===t.naviDotInView&&!0===t.isUpdating)).length},get isUpdatingCards(){return de(e)},setCardInView:(e,n)=>{de(t)[e]&&(de(t)[e].cardInView=n)},setNaviDotInView:(e,n)=>{de(t)[e]&&(de(t)[e].naviDotInView=n)},setCard:(e,n,r)=>{de(t)[e]?de(t)[e].hash!==n&&(de(t)[e].hash=n,de(t)[e].isUpdating=!0):de(t)[e]=function(t){let e=G(gt(t.id)),n=G(gt(t.hash)),r=G(gt(t.navi)),i=G(!1),s=G(!1),a=G(null),o=G(null),l=G(null),c=G(!1);return{get id(){return de(e)},set id(t){X(e,gt(t))},get hash(){return de(n)},set hash(t){X(n,gt(t))},get navi(){return de(r)},set navi(t){X(r,gt(t))},get isUpdating(){return de(i)},set isUpdating(t){X(i,gt(t))},get isNaviAnimation(){return de(s)},set isNaviAnimation(t){X(s,gt(t))},get elementTarget(){return de(a)},set elementTarget(t){X(a,gt(t))},get naviDotInView(){return de(o)},set naviDotInView(t){X(o,gt(t))},get cardInView(){return de(l)},set cardInView(t){X(l,gt(t))},get isCardAnimation(){return de(c)},set isCardAnimation(t){X(c,gt(t))}}}({id:e,hash:n,navi:r})},setNaviAnimation:()=>{de(t).forEach((t=>{t.isUpdating&&(t.isNaviAnimation=!0)})),setTimeout((()=>{de(t).forEach((t=>{t.isUpdating&&(t.isNaviAnimation=!1)}))}),jv)},setIsCardAnimation:e=>{setTimeout((()=>{de(t)[e].isCardAnimation=!0,setTimeout((()=>{de(t)[e].isCardAnimation=!1,de(t)[e].isUpdating=!1}),Uv)}),jv)}}}();const qv=function(){let t=G(gt({}));return{get position(){return de(t)},set position(e){X(t,gt(e))}}}();function Wv(t){let e=G(gt(t)),n=G(!1);return{get value(){return de(e)},set value(t){de(e)!==t&&(X(e,gt(t)),X(n,!0),setTimeout((()=>{X(n,!1)}),jv))},get showLiveUpdate(){return de(n)},set showLiveUpdate(t){X(n,gt(t))}}}function Yv(t={}){const{cursor:e=!0,enabled:n=!0,axis:r="x",event:i="pointer"}=t;return{enabled:n,axes:{x:"x"===r||"both"===r,y:"y"===r||"both"===r},events:"pointer"===i?{down:"pointerdown",up:"pointerup",move:"pointermove",leave:"pointerleave"}:{down:"mousedown",up:"mouseup",move:"mousemove",leave:"mouseleave"},cursor:e}}function Gv(t,e={}){let n,r,i,s,a=!1,{enabled:o,axes:l,events:c,cursor:u}=Yv(e);function h(){const e=new CustomEvent("dragging",{bubbles:!0,cancelable:!0});t.dispatchEvent(e)}function d(e){m(!0),a=!0,n=e.pageX-t.offsetLeft,i=t.scrollLeft,r=e.pageY-t.offsetTop,s=t.scrollTop}function f(){m(),a=!1,t.style.setProperty("scroll-behavior","smooth"),function(){const e=new CustomEvent("draggingend",{bubbles:!0,cancelable:!0});t.dispatchEvent(e)}()}function p(e){if(a){if(e.preventDefault(),t.style.setProperty("scroll-behavior","auto"),l.x){const r=e.pageX-t.offsetLeft-n;t.scrollLeft=i-r,Math.abs(r)>0&&h()}if(l.y){const n=e.pageY-t.offsetTop-r;t.scrollTop=s-n,Math.abs(n)>0&&h()}}}function g(){t&&(t.addEventListener(c.down,d),t.addEventListener(c.leave,f),t.addEventListener(c.up,f),t.addEventListener(c.move,p))}function v(){t&&(t.removeEventListener(c.down,d),t.removeEventListener(c.leave,f),t.removeEventListener(c.up,f),t.removeEventListener(c.move,p))}function m(e=!1){t&&(u?t.style.cursor=e?"grabbing":"grab":t.style.removeProperty("cursor"))}return o&&(m(),g()),{update(t={}){v(),({enabled:o,axes:l,events:c,cursor:u}=Yv(t)),m(),g()},destroy(){v()}}}function Kv(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xv(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var Qv,Jv,Zv,tm,em,nm,rm,im,sm,am,om,lm={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},cm={duration:.5,overwrite:!1,delay:0},um=1e8,hm=1e-8,dm=2*Math.PI,fm=dm/4,pm=0,gm=Math.sqrt,vm=Math.cos,mm=Math.sin,ym=function(t){return"string"==typeof t},bm=function(t){return"function"==typeof t},wm=function(t){return"number"==typeof t},_m=function(t){return void 0===t},xm=function(t){return"object"==typeof t},km=function(t){return!1!==t},Sm=function(){return"undefined"!=typeof window},Tm=function(t){return bm(t)||ym(t)},Cm="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},Mm=Array.isArray,Rm=/(?:-?\.?\d|\.)+/gi,Em=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Om=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Am=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Pm=/[+-]=-?[.\d]+/,$m=/[^,'"\[\]\s]+/gi,Im=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Dm={},Nm={},Lm=function(t){return(Nm=hy(t,Dm))&&hw},Hm=function(t,e){return!e&&void 0},Fm=function(t,e){return t&&(Dm[t]=e)&&Nm&&(Nm[t]=e)||Dm},Vm=function(){return 0},zm={suppressEvents:!0,isStart:!0,kill:!1},jm={suppressEvents:!0,kill:!1},Um={suppressEvents:!0},Bm={},qm=[],Wm={},Ym={},Gm={},Km=30,Xm=[],Qm="",Jm=function(t){var e,n,r=t[0];if(xm(r)||bm(r)||(t=[t]),!(e=(r._gsap||{}).harness)){for(n=Xm.length;n--&&!Xm[n].targetTest(r););e=Xm[n]}for(n=t.length;n--;)t[n]&&(t[n]._gsap||(t[n]._gsap=new Tb(t[n],e)))||t.splice(n,1);return t},Zm=function(t){return t._gsap||Jm(jy(t))[0]._gsap},ty=function(t,e,n){return(n=t[e])&&bm(n)?t[e]():_m(n)&&t.getAttribute&&t.getAttribute(e)||n},ey=function(t,e){return(t=t.split(",")).forEach(e)||t},ny=function(t){return Math.round(1e5*t)/1e5||0},ry=function(t){return Math.round(1e7*t)/1e7||0},iy=function(t,e){var n=e.charAt(0),r=parseFloat(e.substr(2));return t=parseFloat(t),"+"===n?t+r:"-"===n?t-r:"*"===n?t*r:t/r},sy=function(t,e){for(var n=e.length,r=0;t.indexOf(e[r])<0&&++r<n;);return r<n},ay=function(){var t,e,n=qm.length,r=qm.slice(0);for(Wm={},qm.length=0,t=0;t<n;t++)(e=r[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},oy=function(t,e,n,r){qm.length&&!Jv&&ay(),t.render(e,n,Jv&&e<0&&(t._initted||t._startAt)),qm.length&&!Jv&&ay()},ly=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match($m).length<2?e:ym(t)?t.trim():t},cy=function(t){return t},uy=function(t,e){for(var n in e)n in t||(t[n]=e[n]);return t},hy=function(t,e){for(var n in e)t[n]=e[n];return t},dy=function t(e,n){for(var r in n)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(e[r]=xm(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},fy=function(t,e){var n,r={};for(n in t)n in e||(r[n]=t[n]);return r},py=function(t){var e=t.parent||tm,n=t.keyframes?function(t){return function(e,n){for(var r in n)r in e||"duration"===r&&t||"ease"===r||(e[r]=n[r])}}(Mm(t.keyframes)):uy;if(km(t.inherit))for(;e;)n(t,e.vars.defaults),e=e.parent||e._dp;return t},gy=function(t,e,n,r,i){var s,a=t[r];if(i)for(s=e[i];a&&a[i]>s;)a=a._prev;return a?(e._next=a._next,a._next=e):(e._next=t[n],t[n]=e),e._next?e._next._prev=e:t[r]=e,e._prev=a,e.parent=e._dp=t,e},vy=function(t,e,n,r){void 0===n&&(n="_first"),void 0===r&&(r="_last");var i=e._prev,s=e._next;i?i._next=s:t[n]===e&&(t[n]=s),s?s._prev=i:t[r]===e&&(t[r]=i),e._next=e._prev=e.parent=null},my=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},yy=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var n=t;n;)n._dirty=1,n=n.parent;return t},by=function(t,e,n,r){return t._startAt&&(Jv?t._startAt.revert(jm):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},wy=function t(e){return!e||e._ts&&t(e.parent)},_y=function(t){return t._repeat?xy(t._tTime,t=t.duration()+t._rDelay)*t:0},xy=function(t,e){var n=Math.floor(t/=e);return t&&n===t?n-1:n},ky=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Sy=function(t){return t._end=ry(t._start+(t._tDur/Math.abs(t._ts||t._rts||hm)||0))},Ty=function(t,e){var n=t._dp;return n&&n.smoothChildTiming&&t._ts&&(t._start=ry(n._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Sy(t),n._dirty||yy(n,t)),t},Cy=function(t,e){var n;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(n=ky(t.rawTime(),e),(!e._dur||Hy(0,e.totalDuration(),n)-e._tTime>hm)&&e.render(n,!0)),yy(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(n=t;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;t._zTime=-hm}},My=function(t,e,n,r){return e.parent&&my(e),e._start=ry((wm(n)?n:n||t!==tm?Dy(t,n,e):t._time)+e._delay),e._end=ry(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),gy(t,e,"_first","_last",t._sort?"_start":0),Ay(e)||(t._recent=e),r||Cy(t,e),t._ts<0&&Ty(t,t._tTime),t},Ry=function(t,e){return Dm.ScrollTrigger?Dm.ScrollTrigger.create(e,t):void 0},Ey=function(t,e,n,r,i){return $b(t,e,i),t._initted?!n&&t._pt&&!Jv&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&sm!==db.frame?(qm.push(t),t._lazy=[i,r],1):void 0:1},Oy=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},Ay=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},Py=function(t,e,n,r){var i=t._repeat,s=ry(e)||0,a=t._tTime/t._tDur;return a&&!r&&(t._time*=s/t._dur),t._dur=s,t._tDur=i?i<0?1e10:ry(s*(i+1)+t._rDelay*i):s,a>0&&!r&&Ty(t,t._tTime=t._tDur*a),t.parent&&Sy(t),n||yy(t.parent,t),t},$y=function(t){return t instanceof Mb?yy(t):Py(t,t._dur)},Iy={_start:0,endTime:Vm,totalDuration:Vm},Dy=function t(e,n,r){var i,s,a,o=e.labels,l=e._recent||Iy,c=e.duration()>=um?l.endTime(!1):e._dur;return ym(n)&&(isNaN(n)||n in o)?(s=n.charAt(0),a="%"===n.substr(-1),i=n.indexOf("="),"<"===s||">"===s?(i>=0&&(n=n.replace(/=/,"")),("<"===s?l._start:l.endTime(l._repeat>=0))+(parseFloat(n.substr(1))||0)*(a?(i<0?l:r).totalDuration()/100:1)):i<0?(n in o||(o[n]=c),o[n]):(s=parseFloat(n.charAt(i-1)+n.substr(i+1)),a&&r&&(s=s/100*(Mm(r)?r[0]:r).totalDuration()),i>1?t(e,n.substr(0,i-1),r)+s:c+s)):null==n?c:+n},Ny=function(t,e,n){var r,i,s=wm(e[1]),a=(s?2:1)+(t<2?0:1),o=e[a];if(s&&(o.duration=e[1]),o.parent=n,t){for(r=o,i=n;i&&!("immediateRender"in r);)r=i.vars.defaults||{},i=km(i.vars.inherit)&&i.parent;o.immediateRender=km(r.immediateRender),t<2?o.runBackwards=1:o.startAt=e[a-1]}return new Hb(e[0],o,e[a+1])},Ly=function(t,e){return t||0===t?e(t):e},Hy=function(t,e,n){return n<t?t:n>e?e:n},Fy=function(t,e){return ym(t)&&(e=Im.exec(t))?e[1]:""},Vy=[].slice,zy=function(t,e){return t&&xm(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&xm(t[0]))&&!t.nodeType&&t!==em},jy=function(t,e,n){return Zv&&!e&&Zv.selector?Zv.selector(t):!ym(t)||n||!nm&&fb()?Mm(t)?function(t,e,n){return void 0===n&&(n=[]),t.forEach((function(t){var r;return ym(t)&&!e||zy(t,1)?(r=n).push.apply(r,jy(t)):n.push(t)}))||n}(t,n):zy(t)?Vy.call(t,0):t?[t]:[]:Vy.call((e||rm).querySelectorAll(t),0)},Uy=function(t){return t=jy(t)[0]||Hm()||{},function(e){var n=t.current||t.nativeElement||t;return jy(e,n.querySelectorAll?n:n===t?Hm()||rm.createElement("div"):t)}},By=function(t){return t.sort((function(){return.5-Math.random()}))},qy=function(t){if(bm(t))return t;var e=xm(t)?t:{each:t},n=wb(e.ease),r=e.from||0,i=parseFloat(e.base)||0,s={},a=r>0&&r<1,o=isNaN(r)||a,l=e.axis,c=r,u=r;return ym(r)?c=u={center:.5,edges:.5,end:1}[r]||0:!a&&o&&(c=r[0],u=r[1]),function(t,a,h){var d,f,p,g,v,m,y,b,w,_=(h||e).length,x=s[_];if(!x){if(!(w="auto"===e.grid?0:(e.grid||[1,um])[1])){for(y=-um;y<(y=h[w++].getBoundingClientRect().left)&&w<_;);w<_&&w--}for(x=s[_]=[],d=o?Math.min(w,_)*c-.5:r%w,f=w===um?0:o?_*u/w-.5:r/w|0,y=0,b=um,m=0;m<_;m++)p=m%w-d,g=f-(m/w|0),x[m]=v=l?Math.abs("y"===l?g:p):gm(p*p+g*g),v>y&&(y=v),v<b&&(b=v);"random"===r&&By(x),x.max=y-b,x.min=b,x.v=_=(parseFloat(e.amount)||parseFloat(e.each)*(w>_?_-1:l?"y"===l?_/w:w:Math.max(w,_/w))||0)*("edges"===r?-1:1),x.b=_<0?i-_:i,x.u=Fy(e.amount||e.each)||0,n=n&&_<0?yb(n):n}return _=(x[t]-x.min)/x.max||0,ry(x.b+(n?n(_):_)*x.v)+x.u}},Wy=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(n){var r=ry(Math.round(parseFloat(n)/t)*t*e);return(r-r%1)/e+(wm(n)?0:Fy(n))}},Yy=function(t,e){var n,r,i=Mm(t);return!i&&xm(t)&&(n=i=t.radius||um,t.values?(t=jy(t.values),(r=!wm(t[0]))&&(n*=n)):t=Wy(t.increment)),Ly(e,i?bm(t)?function(e){return r=t(e),Math.abs(r-e)<=n?r:e}:function(e){for(var i,s,a=parseFloat(r?e.x:e),o=parseFloat(r?e.y:0),l=um,c=0,u=t.length;u--;)(i=r?(i=t[u].x-a)*i+(s=t[u].y-o)*s:Math.abs(t[u]-a))<l&&(l=i,c=u);return c=!n||l<=n?t[c]:e,r||c===e||wm(e)?c:c+Fy(e)}:Wy(t))},Gy=function(t,e,n,r){return Ly(Mm(t)?!e:!0===n?!!(n=0):!r,(function(){return Mm(t)?t[~~(Math.random()*t.length)]:(n=n||1e-5)&&(r=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((t-n/2+Math.random()*(e-t+.99*n))/n)*n*r)/r}))},Ky=function(t,e,n){return Ly(n,(function(n){return t[~~e(n)]}))},Xy=function(t){for(var e,n,r,i,s=0,a="";~(e=t.indexOf("random(",s));)r=t.indexOf(")",e),i="["===t.charAt(e+7),n=t.substr(e+7,r-e-7).match(i?$m:Rm),a+=t.substr(s,e-s)+Gy(i?n:+n[0],i?0:+n[1],+n[2]||1e-5),s=r+1;return a+t.substr(s,t.length-s)},Qy=function(t,e,n,r,i){var s=e-t,a=r-n;return Ly(i,(function(e){return n+((e-t)/s*a||0)}))},Jy=function(t,e,n){var r,i,s,a=t.labels,o=um;for(r in a)(i=a[r]-e)<0==!!n&&i&&o>(i=Math.abs(i))&&(s=r,o=i);return s},Zy=function(t,e,n){var r,i,s,a=t.vars,o=a[e],l=Zv,c=t._ctx;if(o)return r=a[e+"Params"],i=a.callbackScope||t,n&&qm.length&&ay(),c&&(Zv=c),s=r?o.apply(i,r):o.call(i),Zv=l,s},tb=function(t){return my(t),t.scrollTrigger&&t.scrollTrigger.kill(!!Jv),t.progress()<1&&Zy(t,"onInterrupt"),t},eb=[],nb=function(t){if(t)if(t=!t.name&&t.default||t,Sm()||t.headless){var e=t.name,n=bm(t),r=e&&!n&&t.init?function(){this._props=[]}:t,i={init:Vm,render:Yb,add:Ab,kill:Kb,modifier:Gb,rawVars:0},s={targetTest:0,get:0,getSetter:Ub,aliases:{},register:0};if(fb(),t!==r){if(Ym[e])return;uy(r,uy(fy(t,i),s)),hy(r.prototype,hy(i,fy(t,s))),Ym[r.prop=e]=r,t.targetTest&&(Xm.push(r),Bm[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}Fm(e,r),t.register&&t.register(hw,r,Jb)}else eb.push(t)},rb=255,ib={aqua:[0,rb,rb],lime:[0,rb,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,rb],navy:[0,0,128],white:[rb,rb,rb],olive:[128,128,0],yellow:[rb,rb,0],orange:[rb,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[rb,0,0],pink:[rb,192,203],cyan:[0,rb,rb],transparent:[rb,rb,rb,0]},sb=function(t,e,n){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)*rb+.5|0},ab=function(t,e,n){var r,i,s,a,o,l,c,u,h,d,f=t?wm(t)?[t>>16,t>>8&rb,t&rb]:0:ib.black;if(!f){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),ib[t])f=ib[t];else if("#"===t.charAt(0)){if(t.length<6&&(r=t.charAt(1),i=t.charAt(2),s=t.charAt(3),t="#"+r+r+i+i+s+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(f=parseInt(t.substr(1,6),16))>>16,f>>8&rb,f&rb,parseInt(t.substr(7),16)/255];f=[(t=parseInt(t.substr(1),16))>>16,t>>8&rb,t&rb]}else if("hsl"===t.substr(0,3))if(f=d=t.match(Rm),e){if(~t.indexOf("="))return f=t.match(Em),n&&f.length<4&&(f[3]=1),f}else a=+f[0]%360/360,o=+f[1]/100,r=2*(l=+f[2]/100)-(i=l<=.5?l*(o+1):l+o-l*o),f.length>3&&(f[3]*=1),f[0]=sb(a+1/3,r,i),f[1]=sb(a,r,i),f[2]=sb(a-1/3,r,i);else f=t.match(Rm)||ib.transparent;f=f.map(Number)}return e&&!d&&(r=f[0]/rb,i=f[1]/rb,s=f[2]/rb,l=((c=Math.max(r,i,s))+(u=Math.min(r,i,s)))/2,c===u?a=o=0:(h=c-u,o=l>.5?h/(2-c-u):h/(c+u),a=c===r?(i-s)/h+(i<s?6:0):c===i?(s-r)/h+2:(r-i)/h+4,a*=60),f[0]=~~(a+.5),f[1]=~~(100*o+.5),f[2]=~~(100*l+.5)),n&&f.length<4&&(f[3]=1),f},ob=function(t){var e=[],n=[],r=-1;return t.split(cb).forEach((function(t){var i=t.match(Om)||[];e.push.apply(e,i),n.push(r+=i.length+1)})),e.c=n,e},lb=function(t,e,n){var r,i,s,a,o="",l=(t+o).match(cb),c=e?"hsla(":"rgba(",u=0;if(!l)return t;if(l=l.map((function(t){return(t=ab(t,e,1))&&c+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"})),n&&(s=ob(t),(r=n.c).join(o)!==s.c.join(o)))for(a=(i=t.replace(cb,"1").split(Om)).length-1;u<a;u++)o+=i[u]+(~r.indexOf(u)?l.shift()||c+"0,0,0,0)":(s.length?s:l.length?l:n).shift());if(!i)for(a=(i=t.split(cb)).length-1;u<a;u++)o+=i[u]+l[u];return o+i[a]},cb=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in ib)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),ub=/hsl[a]?\(/,hb=function(t){var e,n=t.join(" ");if(cb.lastIndex=0,cb.test(n))return e=ub.test(n),t[1]=lb(t[1],e),t[0]=lb(t[0],e,ob(t[1])),!0},db=function(){var t,e,n,r,i,s,a=Date.now,o=500,l=33,c=a(),u=c,h=1e3/240,d=h,f=[],p=function n(p){var g,v,m,y,b=a()-u,w=!0===p;if((b>o||b<0)&&(c+=b-l),((g=(m=(u+=b)-c)-d)>0||w)&&(y=++r.frame,i=m-1e3*r.time,r.time=m/=1e3,d+=g+(g>=h?4:h-g),v=1),w||(t=e(n)),v)for(s=0;s<f.length;s++)f[s](m,i,y,p)};return r={time:0,frame:0,tick:function(){p(!0)},deltaRatio:function(t){return i/(1e3/(t||60))},wake:function(){im&&(!nm&&Sm()&&(em=nm=window,rm=em.document||{},Dm.gsap=hw,(em.gsapVersions||(em.gsapVersions=[])).push(hw.version),Lm(Nm||em.GreenSockGlobals||!em.gsap&&em||{}),eb.forEach(nb)),n="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,t&&r.sleep(),e=n||function(t){return setTimeout(t,d-1e3*r.time+1|0)},om=1,p(2))},sleep:function(){(n?cancelAnimationFrame:clearTimeout)(t),om=0,e=Vm},lagSmoothing:function(t,e){o=t||1/0,l=Math.min(e||33,o)},fps:function(t){h=1e3/(t||240),d=1e3*r.time+h},add:function(t,e,n){var i=e?function(e,n,s,a){t(e,n,s,a),r.remove(i)}:t;return r.remove(t),f[n?"unshift":"push"](i),fb(),i},remove:function(t,e){~(e=f.indexOf(t))&&f.splice(e,1)&&s>=e&&s--},_listeners:f}}(),fb=function(){return!om&&db.wake()},pb={},gb=/^[\d.\-M][\d.\-,\s]/,vb=/["']/g,mb=function(t){for(var e,n,r,i={},s=t.substr(1,t.length-3).split(":"),a=s[0],o=1,l=s.length;o<l;o++)n=s[o],e=o!==l-1?n.lastIndexOf(","):n.length,r=n.substr(0,e),i[a]=isNaN(r)?r.replace(vb,"").trim():+r,a=n.substr(e+1).trim();return i},yb=function(t){return function(e){return 1-t(1-e)}},bb=function t(e,n){for(var r,i=e._first;i;)i instanceof Mb?t(i,n):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===n||(i.timeline?t(i.timeline,n):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=n)),i=i._next},wb=function(t,e){return t&&(bm(t)?t:pb[t]||function(t){var e=(t+"").split("("),n=pb[e[0]];return n&&e.length>1&&n.config?n.config.apply(null,~t.indexOf("{")?[mb(e[1])]:function(t){var e=t.indexOf("(")+1,n=t.indexOf(")"),r=t.indexOf("(",e);return t.substring(e,~r&&r<n?t.indexOf(")",n+1):n)}(t).split(",").map(ly)):pb._CE&&gb.test(t)?pb._CE("",t):n}(t))||e},_b=function(t,e,n,r){void 0===n&&(n=function(t){return 1-e(1-t)}),void 0===r&&(r=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var i,s={easeIn:e,easeOut:n,easeInOut:r};return ey(t,(function(t){for(var e in pb[t]=Dm[t]=s,pb[i=t.toLowerCase()]=n,s)pb[i+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=pb[t+"."+e]=s[e]})),s},xb=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},kb=function t(e,n,r){var i=n>=1?n:1,s=(r||(e?.3:.45))/(n<1?n:1),a=s/dm*(Math.asin(1/i)||0),o=function(t){return 1===t?1:i*Math.pow(2,-10*t)*mm((t-a)*s)+1},l="out"===e?o:"in"===e?function(t){return 1-o(1-t)}:xb(o);return s=dm/s,l.config=function(n,r){return t(e,n,r)},l},Sb=function t(e,n){void 0===n&&(n=1.70158);var r=function(t){return t?--t*t*((n+1)*t+n)+1:0},i="out"===e?r:"in"===e?function(t){return 1-r(1-t)}:xb(r);return i.config=function(n){return t(e,n)},i};ey("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var n=e<5?e+1:e;_b(t+",Power"+(n-1),e?function(t){return Math.pow(t,n)}:function(t){return t},(function(t){return 1-Math.pow(1-t,n)}),(function(t){return t<.5?Math.pow(2*t,n)/2:1-Math.pow(2*(1-t),n)/2}))})),pb.Linear.easeNone=pb.none=pb.Linear.easeIn,_b("Elastic",kb("in"),kb("out"),kb()),function(t,e){var n=1/e,r=2*n,i=2.5*n,s=function(s){return s<n?t*s*s:s<r?t*Math.pow(s-1.5/e,2)+.75:s<i?t*(s-=2.25/e)*s+.9375:t*Math.pow(s-2.625/e,2)+.984375};_b("Bounce",(function(t){return 1-s(1-t)}),s)}(7.5625,2.75),_b("Expo",(function(t){return t?Math.pow(2,10*(t-1)):0})),_b("Circ",(function(t){return-(gm(1-t*t)-1)})),_b("Sine",(function(t){return 1===t?1:1-vm(t*fm)})),_b("Back",Sb("in"),Sb("out"),Sb()),pb.SteppedEase=pb.steps=Dm.SteppedEase={config:function(t,e){void 0===t&&(t=1);var n=1/t,r=t+(e?0:1),i=e?1:0,s=1-hm;return function(t){return((r*Hy(0,s,t)|0)+i)*n}}},cm.ease=pb["quad.out"],ey("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return Qm+=t+","+t+"Params,"}));var Tb=function(t,e){this.id=pm++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:ty,this.set=e?e.getSetter:Ub},Cb=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Py(this,+t.duration,1,1),this.data=t.data,Zv&&(this._ctx=Zv,Zv.data.push(this)),om||db.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Py(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(fb(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Ty(this,t),!n._dp||n.parent||Cy(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&My(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===hm||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),oy(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+_y(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+_y(this),e):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,e){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*n,e):this._repeat?xy(this._tTime,n)+1:1},e.timeScale=function(t,e){if(!arguments.length)return this._rts===-hm?0:this._rts;if(this._rts===t)return this;var n=this.parent&&this._ts?ky(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-hm?0:this._rts,this.totalTime(Hy(-Math.abs(this._delay),this._tDur,n),!1!==e),Sy(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(fb(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==hm&&(this._tTime-=hm)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&My(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(km(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?ky(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=Um);var e=Jv;return Jv=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),Jv=e,this},e.globalTime=function(t){for(var e=this,n=arguments.length?t:e.rawTime();e;)n=e._start+n/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):n},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,$y(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,$y(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(Dy(this,t),km(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,km(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-hm:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-hm,this},e.isActive=function(){var t,e=this.parent||this._dp,n=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=n&&t<this.endTime(!0)-hm))},e.eventCallback=function(t,e,n){var r=this.vars;return arguments.length>1?(e?(r[t]=e,n&&(r[t+"Params"]=n),"onUpdate"===t&&(this._onUpdate=e)):delete r[t],this):r[t]},e.then=function(t){var e=this;return new Promise((function(n){var r=bm(t)?t:cy,i=function(){var t=e.then;e.then=null,bm(r)&&(r=r(e))&&(r.then||r===e)&&(e.then=t),n(r),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?i():e._prom=i}))},e.kill=function(){tb(this)},t}();uy(Cb.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-hm,_prom:0,_ps:!1,_rts:1});var Mb=function(t){function e(e,n){var r;return void 0===e&&(e={}),(r=t.call(this,e)||this).labels={},r.smoothChildTiming=!!e.smoothChildTiming,r.autoRemoveChildren=!!e.autoRemoveChildren,r._sort=km(e.sortChildren),tm&&My(e.parent||tm,Kv(r),n),e.reversed&&r.reverse(),e.paused&&r.paused(!0),e.scrollTrigger&&Ry(Kv(r),e.scrollTrigger),r}Xv(e,t);var n=e.prototype;return n.to=function(t,e,n){return Ny(0,arguments,this),this},n.from=function(t,e,n){return Ny(1,arguments,this),this},n.fromTo=function(t,e,n,r){return Ny(2,arguments,this),this},n.set=function(t,e,n){return e.duration=0,e.parent=this,py(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Hb(t,e,Dy(this,n),1),this},n.call=function(t,e,n){return My(this,Hb.delayedCall(0,t,e),n)},n.staggerTo=function(t,e,n,r,i,s,a){return n.duration=e,n.stagger=n.stagger||r,n.onComplete=s,n.onCompleteParams=a,n.parent=this,new Hb(t,n,Dy(this,i)),this},n.staggerFrom=function(t,e,n,r,i,s,a){return n.runBackwards=1,py(n).immediateRender=km(n.immediateRender),this.staggerTo(t,e,n,r,i,s,a)},n.staggerFromTo=function(t,e,n,r,i,s,a,o){return r.startAt=n,py(r).immediateRender=km(r.immediateRender),this.staggerTo(t,e,r,i,s,a,o)},n.render=function(t,e,n){var r,i,s,a,o,l,c,u,h,d,f,p,g=this._time,v=this._dirty?this.totalDuration():this._tDur,m=this._dur,y=t<=0?0:ry(t),b=this._zTime<0!=t<0&&(this._initted||!m);if(this!==tm&&y>v&&t>=0&&(y=v),y!==this._tTime||n||b){if(g!==this._time&&m&&(y+=this._time-g,t+=this._time-g),r=y,h=this._start,l=!(u=this._ts),b&&(m||(g=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(f=this._yoyo,o=m+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,n);if(r=ry(y%o),y===v?(a=this._repeat,r=m):((a=~~(y/o))&&a===y/o&&(r=m,a--),r>m&&(r=m)),d=xy(this._tTime,o),!g&&this._tTime&&d!==a&&this._tTime-d*o-this._dur<=0&&(d=a),f&&1&a&&(r=m-r,p=1),a!==d&&!this._lock){var w=f&&1&d,_=w===(f&&1&a);if(a<d&&(w=!w),g=w?0:y%m?m:y,this._lock=1,this.render(g||(p?0:ry(a*o)),e,!m)._lock=0,this._tTime=y,!e&&this.parent&&Zy(this,"onRepeat"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1),g&&g!==this._time||l!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(m=this._dur,v=this._tDur,_&&(this._lock=2,g=w?m:-1e-4,this.render(g,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!l)return this;bb(this,p)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(c=function(t,e,n){var r;if(n>e)for(r=t._first;r&&r._start<=n;){if("isPause"===r.data&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=n;){if("isPause"===r.data&&r._start<e)return r;r=r._prev}}(this,ry(g),ry(r)),c&&(y-=r-(r=c._start))),this._tTime=y,this._time=r,this._act=!u,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,g=0),!g&&r&&!e&&!a&&(Zy(this,"onStart"),this._tTime!==y))return this;if(r>=g&&t>=0)for(i=this._first;i;){if(s=i._next,(i._act||r>=i._start)&&i._ts&&c!==i){if(i.parent!==this)return this.render(t,e,n);if(i.render(i._ts>0?(r-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(r-i._start)*i._ts,e,n),r!==this._time||!this._ts&&!l){c=0,s&&(y+=this._zTime=-hm);break}}i=s}else{i=this._last;for(var x=t<0?t:r;i;){if(s=i._prev,(i._act||x<=i._end)&&i._ts&&c!==i){if(i.parent!==this)return this.render(t,e,n);if(i.render(i._ts>0?(x-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(x-i._start)*i._ts,e,n||Jv&&(i._initted||i._startAt)),r!==this._time||!this._ts&&!l){c=0,s&&(y+=this._zTime=x?-hm:hm);break}}i=s}}if(c&&!e&&(this.pause(),c.render(r>=g?0:-hm)._zTime=r>=g?1:-1,this._ts))return this._start=h,Sy(this),this.render(t,e,n);this._onUpdate&&!e&&Zy(this,"onUpdate",!0),(y===v&&this._tTime>=this.totalDuration()||!y&&g)&&(h!==this._start&&Math.abs(u)===Math.abs(this._ts)||this._lock||((t||!m)&&(y===v&&this._ts>0||!y&&this._ts<0)&&my(this,1),e||t<0&&!g||!y&&!g&&v||(Zy(this,y===v&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(y<v&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(t,e){var n=this;if(wm(e)||(e=Dy(this,e,t)),!(t instanceof Cb)){if(Mm(t))return t.forEach((function(t){return n.add(t,e)})),this;if(ym(t))return this.addLabel(t,e);if(!bm(t))return this;t=Hb.delayedCall(0,t)}return this!==t?My(this,t,e):this},n.getChildren=function(t,e,n,r){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===n&&(n=!0),void 0===r&&(r=-um);for(var i=[],s=this._first;s;)s._start>=r&&(s instanceof Hb?e&&i.push(s):(n&&i.push(s),t&&i.push.apply(i,s.getChildren(!0,e,n)))),s=s._next;return i},n.getById=function(t){for(var e=this.getChildren(1,1,1),n=e.length;n--;)if(e[n].vars.id===t)return e[n]},n.remove=function(t){return ym(t)?this.removeLabel(t):bm(t)?this.killTweensOf(t):(vy(this,t),t===this._recent&&(this._recent=this._last),yy(this))},n.totalTime=function(e,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ry(db.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,n),this._forcing=0,this):this._tTime},n.addLabel=function(t,e){return this.labels[t]=Dy(this,e),this},n.removeLabel=function(t){return delete this.labels[t],this},n.addPause=function(t,e,n){var r=Hb.delayedCall(0,e||Vm,n);return r.data="isPause",this._hasPause=1,My(this,r,Dy(this,t))},n.removePause=function(t){var e=this._first;for(t=Dy(this,t);e;)e._start===t&&"isPause"===e.data&&my(e),e=e._next},n.killTweensOf=function(t,e,n){for(var r=this.getTweensOf(t,n),i=r.length;i--;)Rb!==r[i]&&r[i].kill(t,e);return this},n.getTweensOf=function(t,e){for(var n,r=[],i=jy(t),s=this._first,a=wm(e);s;)s instanceof Hb?sy(s._targets,i)&&(a?(!Rb||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&r.push(s):(n=s.getTweensOf(i,e)).length&&r.push.apply(r,n),s=s._next;return r},n.tweenTo=function(t,e){e=e||{};var n,r=this,i=Dy(r,t),s=e,a=s.startAt,o=s.onStart,l=s.onStartParams,c=s.immediateRender,u=Hb.to(r,uy({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(a&&"time"in a?a.time:r._time))/r.timeScale())||hm,onStart:function(){if(r.pause(),!n){var t=e.duration||Math.abs((i-(a&&"time"in a?a.time:r._time))/r.timeScale());u._dur!==t&&Py(u,t,0,1).render(u._time,!0,!0),n=1}o&&o.apply(u,l||[])}},e));return c?u.render(0):u},n.tweenFromTo=function(t,e,n){return this.tweenTo(e,uy({startAt:{time:Dy(this,t)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(t){return void 0===t&&(t=this._time),Jy(this,Dy(this,t))},n.previousLabel=function(t){return void 0===t&&(t=this._time),Jy(this,Dy(this,t),1)},n.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+hm)},n.shiftChildren=function(t,e,n){void 0===n&&(n=0);for(var r,i=this._first,s=this.labels;i;)i._start>=n&&(i._start+=t,i._end+=t),i=i._next;if(e)for(r in s)s[r]>=n&&(s[r]+=t);return yy(this)},n.invalidate=function(e){var n=this._first;for(this._lock=0;n;)n.invalidate(e),n=n._next;return t.prototype.invalidate.call(this,e)},n.clear=function(t){void 0===t&&(t=!0);for(var e,n=this._first;n;)e=n._next,this.remove(n),n=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),yy(this)},n.totalDuration=function(t){var e,n,r,i=0,s=this,a=s._last,o=um;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(r=s.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),(n=a._start)>o&&s._sort&&a._ts&&!s._lock?(s._lock=1,My(s,a,n-a._delay,1)._lock=0):o=n,n<0&&a._ts&&(i-=n,(!r&&!s._dp||r&&r.smoothChildTiming)&&(s._start+=n/s._ts,s._time-=n,s._tTime-=n),s.shiftChildren(-n,!1,-1/0),o=0),a._end>i&&a._ts&&(i=a._end),a=e;Py(s,s===tm&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(t){if(tm._ts&&(oy(tm,ky(t,tm)),sm=db.frame),db.frame>=Km){Km+=lm.autoSleep||120;var e=tm._first;if((!e||!e._ts)&&lm.autoSleep&&db._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||db.sleep()}}},e}(Cb);uy(Mb.prototype,{_lock:0,_hasPause:0,_forcing:0});var Rb,Eb,Ob=function(t,e,n,r,i,s,a){var o,l,c,u,h,d,f,p,g=new Jb(this._pt,t,e,0,1,Wb,null,i),v=0,m=0;for(g.b=n,g.e=r,n+="",(f=~(r+="").indexOf("random("))&&(r=Xy(r)),s&&(s(p=[n,r],t,e),n=p[0],r=p[1]),l=n.match(Am)||[];o=Am.exec(r);)u=o[0],h=r.substring(v,o.index),c?c=(c+1)%5:"rgba("===h.substr(-5)&&(c=1),u!==l[m++]&&(d=parseFloat(l[m-1])||0,g._pt={_next:g._pt,p:h||1===m?h:",",s:d,c:"="===u.charAt(1)?iy(d,u)-d:parseFloat(u)-d,m:c&&c<4?Math.round:0},v=Am.lastIndex);return g.c=v<r.length?r.substring(v,r.length):"",g.fp=a,(Pm.test(r)||f)&&(g.e=0),this._pt=g,g},Ab=function(t,e,n,r,i,s,a,o,l,c){bm(r)&&(r=r(i||0,t,s));var u,h=t[e],d="get"!==n?n:bm(h)?l?t[e.indexOf("set")||!bm(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():h,f=bm(h)?l?zb:Vb:Fb;if(ym(r)&&(~r.indexOf("random(")&&(r=Xy(r)),"="===r.charAt(1)&&((u=iy(d,r)+(Fy(d)||0))||0===u)&&(r=u)),!c||d!==r||Eb)return isNaN(d*r)||""===r?Ob.call(this,t,e,d,r,f,o||lm.stringFilter,l):(u=new Jb(this._pt,t,e,+d||0,r-(d||0),"boolean"==typeof h?qb:Bb,0,f),l&&(u.fp=l),a&&u.modifier(a,this,t),this._pt=u)},Pb=function(t,e,n,r,i,s){var a,o,l,c;if(Ym[t]&&!1!==(a=new Ym[t]).init(i,a.rawVars?e[t]:function(t,e,n,r,i){if(bm(t)&&(t=Db(t,i,e,n,r)),!xm(t)||t.style&&t.nodeType||Mm(t)||Cm(t))return ym(t)?Db(t,i,e,n,r):t;var s,a={};for(s in t)a[s]=Db(t[s],i,e,n,r);return a}(e[t],r,i,s,n),n,r,s)&&(n._pt=o=new Jb(n._pt,i,t,0,1,a.render,a,0,a.priority),n!==am))for(l=n._ptLookup[n._targets.indexOf(i)],c=a._props.length;c--;)l[a._props[c]]=o;return a},$b=function t(e,n,r){var i,s,a,o,l,c,u,h,d,f,p,g,v,m=e.vars,y=m.ease,b=m.startAt,w=m.immediateRender,_=m.lazy,x=m.onUpdate,k=m.runBackwards,S=m.yoyoEase,T=m.keyframes,C=m.autoRevert,M=e._dur,R=e._startAt,E=e._targets,O=e.parent,A=O&&"nested"===O.data?O.vars.targets:E,P="auto"===e._overwrite&&!Qv,$=e.timeline;if($&&(!T||!y)&&(y="none"),e._ease=wb(y,cm.ease),e._yEase=S?yb(wb(!0===S?y:S,cm.ease)):0,S&&e._yoyo&&!e._repeat&&(S=e._yEase,e._yEase=e._ease,e._ease=S),e._from=!$&&!!m.runBackwards,!$||T&&!m.stagger){if(g=(h=E[0]?Zm(E[0]).harness:0)&&m[h.prop],i=fy(m,Bm),R&&(R._zTime<0&&R.progress(1),n<0&&k&&w&&!C?R.render(-1,!0):R.revert(k&&M?jm:zm),R._lazy=0),b){if(my(e._startAt=Hb.set(E,uy({data:"isStart",overwrite:!1,parent:O,immediateRender:!0,lazy:!R&&km(_),startAt:null,delay:0,onUpdate:x&&function(){return Zy(e,"onUpdate")},stagger:0},b))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Jv||!w&&!C)&&e._startAt.revert(jm),w&&M&&n<=0&&r<=0)return void(n&&(e._zTime=n))}else if(k&&M&&!R)if(n&&(w=!1),a=uy({overwrite:!1,data:"isFromStart",lazy:w&&!R&&km(_),immediateRender:w,stagger:0,parent:O},i),g&&(a[h.prop]=g),my(e._startAt=Hb.set(E,a)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Jv?e._startAt.revert(jm):e._startAt.render(-1,!0)),e._zTime=n,w){if(!n)return}else t(e._startAt,hm,hm);for(e._pt=e._ptCache=0,_=M&&km(_)||_&&!M,s=0;s<E.length;s++){if(u=(l=E[s])._gsap||Jm(E)[s]._gsap,e._ptLookup[s]=f={},Wm[u.id]&&qm.length&&ay(),p=A===E?s:A.indexOf(l),h&&!1!==(d=new h).init(l,g||i,e,p,A)&&(e._pt=o=new Jb(e._pt,l,d.name,0,1,d.render,d,0,d.priority),d._props.forEach((function(t){f[t]=o})),d.priority&&(c=1)),!h||g)for(a in i)Ym[a]&&(d=Pb(a,i,e,p,l,A))?d.priority&&(c=1):f[a]=o=Ab.call(e,l,a,"get",i[a],p,A,0,m.stringFilter);e._op&&e._op[s]&&e.kill(l,e._op[s]),P&&e._pt&&(Rb=e,tm.killTweensOf(l,f,e.globalTime(n)),v=!e.parent,Rb=0),e._pt&&_&&(Wm[u.id]=1)}c&&Qb(e),e._onInit&&e._onInit(e)}e._onUpdate=x,e._initted=(!e._op||e._pt)&&!v,T&&n<=0&&$.render(um,!0,!0)},Ib=function(t,e,n,r){var i,s,a=e.ease||r||"power1.inOut";if(Mm(e))s=n[t]||(n[t]=[]),e.forEach((function(t,n){return s.push({t:n/(e.length-1)*100,v:t,e:a})}));else for(i in e)s=n[i]||(n[i]=[]),"ease"===i||s.push({t:parseFloat(t),v:e[i],e:a})},Db=function(t,e,n,r,i){return bm(t)?t.call(e,n,r,i):ym(t)&&~t.indexOf("random(")?Xy(t):t},Nb=Qm+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Lb={};ey(Nb+",id,stagger,delay,duration,paused,scrollTrigger",(function(t){return Lb[t]=1}));var Hb=function(t){function e(e,n,r,i){var s;"number"==typeof n&&(r.duration=n,n=r,r=null);var a,o,l,c,u,h,d,f,p=(s=t.call(this,i?n:py(n))||this).vars,g=p.duration,v=p.delay,m=p.immediateRender,y=p.stagger,b=p.overwrite,w=p.keyframes,_=p.defaults,x=p.scrollTrigger,k=p.yoyoEase,S=n.parent||tm,T=(Mm(e)||Cm(e)?wm(e[0]):"length"in n)?[e]:jy(e);if(s._targets=T.length?Jm(T):Hm(0,!lm.nullTargetWarn)||[],s._ptLookup=[],s._overwrite=b,w||y||Tm(g)||Tm(v)){if(n=s.vars,(a=s.timeline=new Mb({data:"nested",defaults:_||{},targets:S&&"nested"===S.data?S.vars.targets:T})).kill(),a.parent=a._dp=Kv(s),a._start=0,y||Tm(g)||Tm(v)){if(c=T.length,d=y&&qy(y),xm(y))for(u in y)~Nb.indexOf(u)&&(f||(f={}),f[u]=y[u]);for(o=0;o<c;o++)(l=fy(n,Lb)).stagger=0,k&&(l.yoyoEase=k),f&&hy(l,f),h=T[o],l.duration=+Db(g,Kv(s),o,h,T),l.delay=(+Db(v,Kv(s),o,h,T)||0)-s._delay,!y&&1===c&&l.delay&&(s._delay=v=l.delay,s._start+=v,l.delay=0),a.to(h,l,d?d(o,h,T):0),a._ease=pb.none;a.duration()?g=v=0:s.timeline=0}else if(w){py(uy(a.vars.defaults,{ease:"none"})),a._ease=wb(w.ease||n.ease||"none");var C,M,R,E=0;if(Mm(w))w.forEach((function(t){return a.to(T,t,">")})),a.duration();else{for(u in l={},w)"ease"===u||"easeEach"===u||Ib(u,w[u],l,w.easeEach);for(u in l)for(C=l[u].sort((function(t,e){return t.t-e.t})),E=0,o=0;o<C.length;o++)(R={ease:(M=C[o]).e,duration:(M.t-(o?C[o-1].t:0))/100*g})[u]=M.v,a.to(T,R,E),E+=R.duration;a.duration()<g&&a.to({},{duration:g-a.duration()})}}g||s.duration(g=a.duration())}else s.timeline=0;return!0!==b||Qv||(Rb=Kv(s),tm.killTweensOf(T),Rb=0),My(S,Kv(s),r),n.reversed&&s.reverse(),n.paused&&s.paused(!0),(m||!g&&!w&&s._start===ry(S._time)&&km(m)&&wy(Kv(s))&&"nested"!==S.data)&&(s._tTime=-hm,s.render(Math.max(0,-v)||0)),x&&Ry(Kv(s),x),s}Xv(e,t);var n=e.prototype;return n.render=function(t,e,n){var r,i,s,a,o,l,c,u,h,d=this._time,f=this._tDur,p=this._dur,g=t<0,v=t>f-hm&&!g?f:t<hm?0:t;if(p){if(v!==this._tTime||!t||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==g){if(r=v,u=this.timeline,this._repeat){if(a=p+this._rDelay,this._repeat<-1&&g)return this.totalTime(100*a+t,e,n);if(r=ry(v%a),v===f?(s=this._repeat,r=p):((s=~~(v/a))&&s===ry(v/a)&&(r=p,s--),r>p&&(r=p)),(l=this._yoyo&&1&s)&&(h=this._yEase,r=p-r),o=xy(this._tTime,a),r===d&&!n&&this._initted&&s===o)return this._tTime=v,this;s!==o&&(u&&this._yEase&&bb(u,l),this.vars.repeatRefresh&&!l&&!this._lock&&this._time!==a&&this._initted&&(this._lock=n=1,this.render(ry(a*s),!0).invalidate()._lock=0))}if(!this._initted){if(Ey(this,g?t:r,n,e,v))return this._tTime=0,this;if(!(d===this._time||n&&this.vars.repeatRefresh&&s!==o))return this;if(p!==this._dur)return this.render(t,e,n)}if(this._tTime=v,this._time=r,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(h||this._ease)(r/p),this._from&&(this.ratio=c=1-c),r&&!d&&!e&&!s&&(Zy(this,"onStart"),this._tTime!==v))return this;for(i=this._pt;i;)i.r(c,i.d),i=i._next;u&&u.render(t<0?t:u._dur*u._ease(r/this._dur),e,n)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(g&&by(this,t,0,n),Zy(this,"onUpdate")),this._repeat&&s!==o&&this.vars.onRepeat&&!e&&this.parent&&Zy(this,"onRepeat"),v!==this._tDur&&v||this._tTime!==v||(g&&!this._onUpdate&&by(this,t,0,!0),(t||!p)&&(v===this._tDur&&this._ts>0||!v&&this._ts<0)&&my(this,1),e||g&&!d||!(v||d||l)||(Zy(this,v===f?"onComplete":"onReverseComplete",!0),this._prom&&!(v<f&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,n,r){var i,s,a,o=t.ratio,l=e<0||!e&&(!t._start&&Oy(t)&&(t._initted||!Ay(t))||(t._ts<0||t._dp._ts<0)&&!Ay(t))?0:1,c=t._rDelay,u=0;if(c&&t._repeat&&(u=Hy(0,t._tDur,e),s=xy(u,c),t._yoyo&&1&s&&(l=1-l),s!==xy(t._tTime,c)&&(o=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==o||Jv||r||t._zTime===hm||!e&&t._zTime){if(!t._initted&&Ey(t,e,r,n,u))return;for(a=t._zTime,t._zTime=e||(n?hm:0),n||(n=e&&!a),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=u,i=t._pt;i;)i.r(l,i.d),i=i._next;e<0&&by(t,e,0,!0),t._onUpdate&&!n&&Zy(t,"onUpdate"),u&&t._repeat&&!n&&t.parent&&Zy(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&my(t,1),n||Jv||(Zy(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,n);return this},n.targets=function(){return this._targets},n.invalidate=function(e){return(!e||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)},n.resetTo=function(t,e,n,r,i){om||db.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||$b(this,s),function(t,e,n,r,i,s,a,o){var l,c,u,h,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],u=t._ptLookup,h=t._targets.length;h--;){if((l=u[h][e])&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==e&&l.fp!==e;)l=l._next;if(!l)return Eb=1,t.vars[e]="+=0",$b(t,a),Eb=0,o?Hm():1;d.push(l)}for(h=d.length;h--;)(l=(c=d[h])._pt||c).s=!r&&0!==r||i?l.s+(r||0)+s*l.c:r,l.c=n-l.s,c.e&&(c.e=ny(n)+Fy(c.e)),c.b&&(c.b=l.s+Fy(c.b))}(this,t,e,n,r,this._ease(s/this._dur),s,i)?this.resetTo(t,e,n,r,1):(Ty(this,0),this.parent||gy(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?tb(this):this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Rb&&!0!==Rb.vars.overwrite)._first||tb(this),this.parent&&n!==this.timeline.totalDuration()&&Py(this,this._dur*this.timeline._tDur/n,0,1),this}var r,i,s,a,o,l,c,u=this._targets,h=t?jy(t):u,d=this._ptLookup,f=this._pt;if((!e||"all"===e)&&function(t,e){for(var n=t.length,r=n===e.length;r&&n--&&t[n]===e[n];);return n<0}(u,h))return"all"===e&&(this._pt=0),tb(this);for(r=this._op=this._op||[],"all"!==e&&(ym(e)&&(o={},ey(e,(function(t){return o[t]=1})),e=o),e=function(t,e){var n,r,i,s,a=t[0]?Zm(t[0]).harness:0,o=a&&a.aliases;if(!o)return e;for(r in n=hy({},e),o)if(r in n)for(i=(s=o[r].split(",")).length;i--;)n[s[i]]=n[r];return n}(u,e)),c=u.length;c--;)if(~h.indexOf(u[c]))for(o in i=d[c],"all"===e?(r[c]=e,a=i,s={}):(s=r[c]=r[c]||{},a=e),a)(l=i&&i[o])&&("kill"in l.d&&!0!==l.d.kill(o)||vy(this,l,"_pt"),delete i[o]),"all"!==s&&(s[o]=1);return this._initted&&!this._pt&&f&&tb(this),this},e.to=function(t,n){return new e(t,n,arguments[2])},e.from=function(t,e){return Ny(1,arguments)},e.delayedCall=function(t,n,r,i){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},e.fromTo=function(t,e,n){return Ny(2,arguments)},e.set=function(t,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(t,n)},e.killTweensOf=function(t,e,n){return tm.killTweensOf(t,e,n)},e}(Cb);uy(Hb.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ey("staggerTo,staggerFrom,staggerFromTo",(function(t){Hb[t]=function(){var e=new Mb,n=Vy.call(arguments,0);return n.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,n)}}));var Fb=function(t,e,n){return t[e]=n},Vb=function(t,e,n){return t[e](n)},zb=function(t,e,n,r){return t[e](r.fp,n)},jb=function(t,e,n){return t.setAttribute(e,n)},Ub=function(t,e){return bm(t[e])?Vb:_m(t[e])&&t.setAttribute?jb:Fb},Bb=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},qb=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Wb=function(t,e){var n=e._pt,r="";if(!t&&e.b)r=e.b;else if(1===t&&e.e)r=e.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*t):Math.round(1e4*(n.s+n.c*t))/1e4)+r,n=n._next;r+=e.c}e.set(e.t,e.p,r,e)},Yb=function(t,e){for(var n=e._pt;n;)n.r(t,n.d),n=n._next},Gb=function(t,e,n,r){for(var i,s=this._pt;s;)i=s._next,s.p===r&&s.modifier(t,e,n),s=i},Kb=function(t){for(var e,n,r=this._pt;r;)n=r._next,r.p===t&&!r.op||r.op===t?vy(this,r,"_pt"):r.dep||(e=1),r=n;return!e},Xb=function(t,e,n,r){r.mSet(t,e,r.m.call(r.tween,n,r.mt),r)},Qb=function(t){for(var e,n,r,i,s=t._pt;s;){for(e=s._next,n=r;n&&n.pr>s.pr;)n=n._next;(s._prev=n?n._prev:i)?s._prev._next=s:r=s,(s._next=n)?n._prev=s:i=s,s=e}t._pt=r},Jb=function(){function t(t,e,n,r,i,s,a,o,l){this.t=e,this.s=r,this.c=i,this.p=n,this.r=s||Bb,this.d=a||this,this.set=o||Fb,this.pr=l||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,n){this.mSet=this.mSet||this.set,this.set=Xb,this.m=t,this.mt=n,this.tween=e},t}();ey(Qm+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return Bm[t]=1})),Dm.TweenMax=Dm.TweenLite=Hb,Dm.TimelineLite=Dm.TimelineMax=Mb,tm=new Mb({sortChildren:!1,defaults:cm,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),lm.stringFilter=hb;var Zb=[],tw={},ew=[],nw=0,rw=0,iw=function(t){return(tw[t]||ew).map((function(t){return t()}))},sw=function(){var t=Date.now(),e=[];t-nw>2&&(iw("matchMediaInit"),Zb.forEach((function(t){var n,r,i,s,a=t.queries,o=t.conditions;for(r in a)(n=em.matchMedia(a[r]).matches)&&(i=1),n!==o[r]&&(o[r]=n,s=1);s&&(t.revert(),i&&e.push(t))})),iw("matchMediaRevert"),e.forEach((function(t){return t.onMatch(t,(function(e){return t.add(null,e)}))})),nw=t,iw("matchMedia"))},aw=function(){function t(t,e){this.selector=e&&Uy(e),this.data=[],this._r=[],this.isReverted=!1,this.id=rw++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,n){bm(t)&&(n=e,e=t,t=bm);var r=this,i=function(){var t,i=Zv,s=r.selector;return i&&i!==r&&i.data.push(r),n&&(r.selector=Uy(n)),Zv=r,t=e.apply(r,arguments),bm(t)&&r._r.push(t),Zv=i,r.selector=s,r.isReverted=!1,t};return r.last=i,t===bm?i(r,(function(t){return r.add(null,t)})):t?r[t]=i:i},e.ignore=function(t){var e=Zv;Zv=null,t(this),Zv=e},e.getTweens=function(){var e=[];return this.data.forEach((function(n){return n instanceof t?e.push.apply(e,n.getTweens()):n instanceof Hb&&!(n.parent&&"nested"===n.parent.data)&&e.push(n)})),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var n=this;if(t?function(){for(var e,r=n.getTweens(),i=n.data.length;i--;)"isFlip"===(e=n.data[i]).data&&(e.revert(),e.getChildren(!0,!0,!1).forEach((function(t){return r.splice(r.indexOf(t),1)})));for(r.map((function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}})).sort((function(t,e){return e.g-t.g||-1/0})).forEach((function(e){return e.t.revert(t)})),i=n.data.length;i--;)(e=n.data[i])instanceof Mb?"nested"!==e.data&&(e.scrollTrigger&&e.scrollTrigger.revert(),e.kill()):!(e instanceof Hb)&&e.revert&&e.revert(t);n._r.forEach((function(e){return e(t,n)})),n.isReverted=!0}():this.data.forEach((function(t){return t.kill&&t.kill()})),this.clear(),e)for(var r=Zb.length;r--;)Zb[r].id===this.id&&Zb.splice(r,1)},e.revert=function(t){this.kill(t||{})},t}(),ow=function(){function t(t){this.contexts=[],this.scope=t,Zv&&Zv.data.push(this)}var e=t.prototype;return e.add=function(t,e,n){xm(t)||(t={matches:t});var r,i,s,a=new aw(0,n||this.scope),o=a.conditions={};for(i in Zv&&!a.selector&&(a.selector=Zv.selector),this.contexts.push(a),e=a.add("onMatch",e),a.queries=t,t)"all"===i?s=1:(r=em.matchMedia(t[i]))&&(Zb.indexOf(a)<0&&Zb.push(a),(o[i]=r.matches)&&(s=1),r.addListener?r.addListener(sw):r.addEventListener("change",sw));return s&&e(a,(function(t){return a.add(null,t)})),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach((function(e){return e.kill(t,!0)}))},t}(),lw={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e.forEach((function(t){return nb(t)}))},timeline:function(t){return new Mb(t)},getTweensOf:function(t,e){return tm.getTweensOf(t,e)},getProperty:function(t,e,n,r){ym(t)&&(t=jy(t)[0]);var i=Zm(t||{}).get,s=n?cy:ly;return"native"===n&&(n=""),t?e?s((Ym[e]&&Ym[e].get||i)(t,e,n,r)):function(e,n,r){return s((Ym[e]&&Ym[e].get||i)(t,e,n,r))}:t},quickSetter:function(t,e,n){if((t=jy(t)).length>1){var r=t.map((function(t){return hw.quickSetter(t,e,n)})),i=r.length;return function(t){for(var e=i;e--;)r[e](t)}}t=t[0]||{};var s=Ym[e],a=Zm(t),o=a.harness&&(a.harness.aliases||{})[e]||e,l=s?function(e){var r=new s;am._pt=0,r.init(t,n?e+n:e,am,0,[t]),r.render(1,r),am._pt&&Yb(1,am)}:a.set(t,o);return s?l:function(e){return l(t,o,n?e+n:e,a,1)}},quickTo:function(t,e,n){var r,i=hw.to(t,hy(((r={})[e]="+=0.1",r.paused=!0,r),n||{})),s=function(t,n,r){return i.resetTo(e,t,n,r)};return s.tween=i,s},isTweening:function(t){return tm.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=wb(t.ease,cm.ease)),dy(cm,t||{})},config:function(t){return dy(lm,t||{})},registerEffect:function(t){var e=t.name,n=t.effect,r=t.plugins,i=t.defaults,s=t.extendTimeline;(r||"").split(",").forEach((function(t){return t&&!Ym[t]&&!Dm[t]&&Hm()})),Gm[e]=function(t,e,r){return n(jy(t),uy(e||{},i),r)},s&&(Mb.prototype[e]=function(t,n,r){return this.add(Gm[e](t,xm(n)?n:(r=n)&&{},this),r)})},registerEase:function(t,e){pb[t]=wb(e)},parseEase:function(t,e){return arguments.length?wb(t,e):pb},getById:function(t){return tm.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var n,r,i=new Mb(t);for(i.smoothChildTiming=km(t.smoothChildTiming),tm.remove(i),i._dp=0,i._time=i._tTime=tm._time,n=tm._first;n;)r=n._next,!e&&!n._dur&&n instanceof Hb&&n.vars.onComplete===n._targets[0]||My(i,n,n._start-n._delay),n=r;return My(tm,i,0),i},context:function(t,e){return t?new aw(t,e):Zv},matchMedia:function(t){return new ow(t)},matchMediaRefresh:function(){return Zb.forEach((function(t){var e,n,r=t.conditions;for(n in r)r[n]&&(r[n]=!1,e=1);e&&t.revert()}))||sw()},addEventListener:function(t,e){var n=tw[t]||(tw[t]=[]);~n.indexOf(e)||n.push(e)},removeEventListener:function(t,e){var n=tw[t],r=n&&n.indexOf(e);r>=0&&n.splice(r,1)},utils:{wrap:function t(e,n,r){var i=n-e;return Mm(e)?Ky(e,t(0,e.length),n):Ly(r,(function(t){return(i+(t-e)%i)%i+e}))},wrapYoyo:function t(e,n,r){var i=n-e,s=2*i;return Mm(e)?Ky(e,t(0,e.length-1),n):Ly(r,(function(t){return e+((t=(s+(t-e)%s)%s||0)>i?s-t:t)}))},distribute:qy,random:Gy,snap:Yy,normalize:function(t,e,n){return Qy(t,e,0,1,n)},getUnit:Fy,clamp:function(t,e,n){return Ly(n,(function(n){return Hy(t,e,n)}))},splitColor:ab,toArray:jy,selector:Uy,mapRange:Qy,pipe:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce((function(t,e){return e(t)}),t)}},unitize:function(t,e){return function(n){return t(parseFloat(n))+(e||Fy(n))}},interpolate:function t(e,n,r,i){var s=isNaN(e+n)?0:function(t){return(1-t)*e+t*n};if(!s){var a,o,l,c,u,h=ym(e),d={};if(!0===r&&(i=1)&&(r=null),h)e={p:e},n={p:n};else if(Mm(e)&&!Mm(n)){for(l=[],c=e.length,u=c-2,o=1;o<c;o++)l.push(t(e[o-1],e[o]));c--,s=function(t){t*=c;var e=Math.min(u,~~t);return l[e](t-e)},r=n}else i||(e=hy(Mm(e)?[]:{},e));if(!l){for(a in n)Ab.call(d,e,a,"get",n[a]);s=function(t){return Yb(t,d)||(h?e.p:e)}}}return Ly(r,s)},shuffle:By},install:Lm,effects:Gm,ticker:db,updateRoot:Mb.updateRoot,plugins:Ym,globalTimeline:tm,core:{PropTween:Jb,globals:Fm,Tween:Hb,Timeline:Mb,Animation:Cb,getCache:Zm,_removeLinkedListItem:vy,reverting:function(){return Jv},context:function(t){return t&&Zv&&(Zv.data.push(t),t._ctx=Zv),Zv},suppressOverwrites:function(t){return Qv=t}}};ey("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return lw[t]=Hb[t]})),db.add(Mb.updateRoot),am=lw.to({},{duration:0});var cw=function(t,e){for(var n=t._pt;n&&n.p!==e&&n.op!==e&&n.fp!==e;)n=n._next;return n},uw=function(t,e){return{name:t,rawVars:1,init:function(t,n,r){r._onInit=function(t){var r,i;if(ym(n)&&(r={},ey(n,(function(t){return r[t]=1})),n=r),e){for(i in r={},n)r[i]=e(n[i]);n=r}!function(t,e){var n,r,i,s=t._targets;for(n in e)for(r=s.length;r--;)(i=t._ptLookup[r][n])&&(i=i.d)&&(i._pt&&(i=cw(i,n)),i&&i.modifier&&i.modifier(e[n],t,s[r],n))}(t,n)}}}},hw=lw.registerPlugin({name:"attr",init:function(t,e,n,r,i){var s,a,o;for(s in this.tween=n,e)o=t.getAttribute(s)||"",(a=this.add(t,"setAttribute",(o||0)+"",e[s],r,i,0,0,s)).op=s,a.b=o,this._props.push(s)},render:function(t,e){for(var n=e._pt;n;)Jv?n.set(n.t,n.p,n.b,n):n.r(t,n.d),n=n._next}},{name:"endArray",init:function(t,e){for(var n=e.length;n--;)this.add(t,n,t[n]||0,e[n],0,0,0,0,0,1)}},uw("roundProps",Wy),uw("modifiers"),uw("snap",Yy))||lw;Hb.version=Mb.version=hw.version="3.12.5",im=1,Sm()&&fb(),pb.Power0,pb.Power1,pb.Power2,pb.Power3,pb.Power4,pb.Linear,pb.Quad,pb.Cubic,pb.Quart,pb.Quint,pb.Strong,pb.Elastic,pb.Back,pb.SteppedEase,pb.Bounce,pb.Sine,pb.Expo,pb.Circ;var dw,fw,pw,gw,vw,mw,yw,bw,ww={},_w=180/Math.PI,xw=Math.PI/180,kw=Math.atan2,Sw=1e8,Tw=/([A-Z])/g,Cw=/(left|right|width|margin|padding|x)/i,Mw=/[\s,\(]\S/,Rw={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ew=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},Ow=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},Aw=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},Pw=function(t,e){var n=e.s+e.c*t;e.set(e.t,e.p,~~(n+(n<0?-.5:.5))+e.u,e)},$w=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Iw=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},Dw=function(t,e,n){return t.style[e]=n},Nw=function(t,e,n){return t.style.setProperty(e,n)},Lw=function(t,e,n){return t._gsap[e]=n},Hw=function(t,e,n){return t._gsap.scaleX=t._gsap.scaleY=n},Fw=function(t,e,n,r,i){var s=t._gsap;s.scaleX=s.scaleY=n,s.renderTransform(i,s)},Vw=function(t,e,n,r,i){var s=t._gsap;s[e]=n,s.renderTransform(i,s)},zw="transform",jw=zw+"Origin",Uw=function t(e,n){var r=this,i=this.target,s=i.style,a=i._gsap;if(e in ww&&s){if(this.tfm=this.tfm||{},"transform"===e)return Rw.transform.split(",").forEach((function(e){return t.call(r,e,n)}));if(~(e=Rw[e]||e).indexOf(",")?e.split(",").forEach((function(t){return r.tfm[t]=o_(i,t)})):this.tfm[e]=a.x?a[e]:o_(i,e),e===jw&&(this.tfm.zOrigin=a.zOrigin),this.props.indexOf(zw)>=0)return;a.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(jw,n,"")),e=zw}(s||n)&&this.props.push(e,n,s[e])},Bw=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},qw=function(){var t,e,n=this.props,r=this.target,i=r.style,s=r._gsap;for(t=0;t<n.length;t+=3)n[t+1]?r[n[t]]=n[t+2]:n[t+2]?i[n[t]]=n[t+2]:i.removeProperty("--"===n[t].substr(0,2)?n[t]:n[t].replace(Tw,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)s[e]=this.tfm[e];s.svg&&(s.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),(t=yw())&&t.isStart||i[zw]||(Bw(i),s.zOrigin&&i[jw]&&(i[jw]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},Ww=function(t,e){var n={target:t,props:[],revert:qw,save:Uw};return t._gsap||hw.core.getCache(t),e&&e.split(",").forEach((function(t){return n.save(t)})),n},Yw=function(t,e){var n=fw.createElementNS?fw.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):fw.createElement(t);return n&&n.style?n:fw.createElement(t)},Gw=function t(e,n,r){var i=getComputedStyle(e);return i[n]||i.getPropertyValue(n.replace(Tw,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&t(e,Xw(n)||n,1)||""},Kw="O,Moz,ms,Ms,Webkit".split(","),Xw=function(t,e,n){var r=(e||vw).style,i=5;if(t in r&&!n)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);i--&&!(Kw[i]+t in r););return i<0?null:(3===i?"ms":i>=0?Kw[i]:"")+t},Qw=function(){"undefined"!=typeof window&&window.document&&(dw=window,fw=dw.document,pw=fw.documentElement,vw=Yw("div")||{style:{}},Yw("div"),zw=Xw(zw),jw=zw+"Origin",vw.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",bw=!!Xw("perspective"),yw=hw.core.reverting,gw=1)},Jw=function t(e){var n,r=Yw("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,s=this.nextSibling,a=this.style.cssText;if(pw.appendChild(r),r.appendChild(this),this.style.display="block",e)try{n=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(Or){}else this._gsapBBox&&(n=this._gsapBBox());return i&&(s?i.insertBefore(this,s):i.appendChild(this)),pw.removeChild(r),this.style.cssText=a,n},Zw=function(t,e){for(var n=e.length;n--;)if(t.hasAttribute(e[n]))return t.getAttribute(e[n])},t_=function(t){var e;try{e=t.getBBox()}catch(Or){e=Jw.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Jw||(e=Jw.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+Zw(t,["x","cx","x1"])||0,y:+Zw(t,["y","cy","y1"])||0,width:0,height:0}},e_=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!t_(t))},n_=function(t,e){if(e){var n,r=t.style;e in ww&&e!==jw&&(e=zw),r.removeProperty?("ms"!==(n=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),r.removeProperty("--"===n?e:e.replace(Tw,"-$1").toLowerCase())):r.removeAttribute(e)}},r_=function(t,e,n,r,i,s){var a=new Jb(t._pt,e,n,0,1,s?Iw:$w);return t._pt=a,a.b=r,a.e=i,t._props.push(n),a},i_={deg:1,rad:1,turn:1},s_={grid:1,flex:1},a_=function t(e,n,r,i){var s,a,o,l,c=parseFloat(r)||0,u=(r+"").trim().substr((c+"").length)||"px",h=vw.style,d=Cw.test(n),f="svg"===e.tagName.toLowerCase(),p=(f?"client":"offset")+(d?"Width":"Height"),g=100,v="px"===i,m="%"===i;if(i===u||!c||i_[i]||i_[u])return c;if("px"!==u&&!v&&(c=t(e,n,r,"px")),l=e.getCTM&&e_(e),(m||"%"===u)&&(ww[n]||~n.indexOf("adius")))return s=l?e.getBBox()[d?"width":"height"]:e[p],ny(m?c/s*g:c/100*s);if(h[d?"width":"height"]=g+(v?u:i),a=~n.indexOf("adius")||"em"===i&&e.appendChild&&!f?e:e.parentNode,l&&(a=(e.ownerSVGElement||{}).parentNode),a&&a!==fw&&a.appendChild||(a=fw.body),(o=a._gsap)&&m&&o.width&&d&&o.time===db.time&&!o.uncache)return ny(c/o.width*g);if(!m||"height"!==n&&"width"!==n)(m||"%"===u)&&!s_[Gw(a,"display")]&&(h.position=Gw(e,"position")),a===e&&(h.position="static"),a.appendChild(vw),s=vw[p],a.removeChild(vw),h.position="absolute";else{var y=e.style[n];e.style[n]=g+i,s=e[p],y?e.style[n]=y:n_(e,n)}return d&&m&&((o=Zm(a)).time=db.time,o.width=a[p]),ny(v?s*c/g:s&&c?g/s*c:0)},o_=function(t,e,n,r){var i;return gw||Qw(),e in Rw&&"transform"!==e&&~(e=Rw[e]).indexOf(",")&&(e=e.split(",")[0]),ww[e]&&"transform"!==e?(i=b_(t,r),i="transformOrigin"!==e?i[e]:i.svg?i.origin:w_(Gw(t,jw))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||r||~(i+"").indexOf("calc("))&&(i=d_[e]&&d_[e](t,e,n)||Gw(t,e)||ty(t,e)||("opacity"===e?1:0)),n&&!~(i+"").trim().indexOf(" ")?a_(t,e,i,n)+n:i},l_=function(t,e,n,r){if(!n||"none"===n){var i=Xw(e,t,1),s=i&&Gw(t,i,1);s&&s!==n?(e=i,n=s):"borderColor"===e&&(n=Gw(t,"borderTopColor"))}var a,o,l,c,u,h,d,f,p,g,v,m=new Jb(this._pt,t.style,e,0,1,Wb),y=0,b=0;if(m.b=n,m.e=r,n+="","auto"===(r+="")&&(h=t.style[e],t.style[e]=r,r=Gw(t,e)||r,h?t.style[e]=h:n_(t,e)),hb(a=[n,r]),r=a[1],l=(n=a[0]).match(Om)||[],(r.match(Om)||[]).length){for(;o=Om.exec(r);)d=o[0],p=r.substring(y,o.index),u?u=(u+1)%5:"rgba("!==p.substr(-5)&&"hsla("!==p.substr(-5)||(u=1),d!==(h=l[b++]||"")&&(c=parseFloat(h)||0,v=h.substr((c+"").length),"="===d.charAt(1)&&(d=iy(c,d)+v),f=parseFloat(d),g=d.substr((f+"").length),y=Om.lastIndex-g.length,g||(g=g||lm.units[e]||v,y===r.length&&(r+=g,m.e+=g)),v!==g&&(c=a_(t,e,h,g)||0),m._pt={_next:m._pt,p:p||1===b?p:",",s:c,c:f-c,m:u&&u<4||"zIndex"===e?Math.round:0});m.c=y<r.length?r.substring(y,r.length):""}else m.r="display"===e&&"none"===r?Iw:$w;return Pm.test(r)&&(m.e=0),this._pt=m,m},c_={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},u_=function(t){var e=t.split(" "),n=e[0],r=e[1]||"50%";return"top"!==n&&"bottom"!==n&&"left"!==r&&"right"!==r||(t=n,n=r,r=t),e[0]=c_[n]||n,e[1]=c_[r]||r,e.join(" ")},h_=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var n,r,i,s=e.t,a=s.style,o=e.u,l=s._gsap;if("all"===o||!0===o)a.cssText="",r=1;else for(i=(o=o.split(",")).length;--i>-1;)n=o[i],ww[n]&&(r=1,n="transformOrigin"===n?jw:zw),n_(s,n);r&&(n_(s,zw),l&&(l.svg&&s.removeAttribute("transform"),b_(s,1),l.uncache=1,Bw(a)))}},d_={clearProps:function(t,e,n,r,i){if("isFromStart"!==i.data){var s=t._pt=new Jb(t._pt,e,n,0,0,h_);return s.u=r,s.pr=-10,s.tween=i,t._props.push(n),1}}},f_=[1,0,0,1,0,0],p_={},g_=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},v_=function(t){var e=Gw(t,zw);return g_(e)?f_:e.substr(7).match(Em).map(ny)},m_=function(t,e){var n,r,i,s,a=t._gsap||Zm(t),o=t.style,l=v_(t);return a.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?f_:l:(l!==f_||t.offsetParent||t===pw||a.svg||(i=o.display,o.display="block",(n=t.parentNode)&&t.offsetParent||(s=1,r=t.nextElementSibling,pw.appendChild(t)),l=v_(t),i?o.display=i:n_(t,"display"),s&&(r?n.insertBefore(t,r):n?n.appendChild(t):pw.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},y_=function(t,e,n,r,i,s){var a,o,l,c=t._gsap,u=i||m_(t,!0),h=c.xOrigin||0,d=c.yOrigin||0,f=c.xOffset||0,p=c.yOffset||0,g=u[0],v=u[1],m=u[2],y=u[3],b=u[4],w=u[5],_=e.split(" "),x=parseFloat(_[0])||0,k=parseFloat(_[1])||0;n?u!==f_&&(o=g*y-v*m)&&(l=x*(-v/o)+k*(g/o)-(g*w-v*b)/o,x=x*(y/o)+k*(-m/o)+(m*w-y*b)/o,k=l):(x=(a=t_(t)).x+(~_[0].indexOf("%")?x/100*a.width:x),k=a.y+(~(_[1]||_[0]).indexOf("%")?k/100*a.height:k)),r||!1!==r&&c.smooth?(b=x-h,w=k-d,c.xOffset=f+(b*g+w*m)-b,c.yOffset=p+(b*v+w*y)-w):c.xOffset=c.yOffset=0,c.xOrigin=x,c.yOrigin=k,c.smooth=!!r,c.origin=e,c.originIsAbsolute=!!n,t.style[jw]="0px 0px",s&&(r_(s,c,"xOrigin",h,x),r_(s,c,"yOrigin",d,k),r_(s,c,"xOffset",f,c.xOffset),r_(s,c,"yOffset",p,c.yOffset)),t.setAttribute("data-svg-origin",x+" "+k)},b_=function(t,e){var n=t._gsap||new Tb(t);if("x"in n&&!e&&!n.uncache)return n;var r,i,s,a,o,l,c,u,h,d,f,p,g,v,m,y,b,w,_,x,k,S,T,C,M,R,E,O,A,P,$,I,D=t.style,N=n.scaleX<0,L="px",H="deg",F=getComputedStyle(t),V=Gw(t,jw)||"0";return r=i=s=l=c=u=h=d=f=0,a=o=1,n.svg=!(!t.getCTM||!e_(t)),F.translate&&("none"===F.translate&&"none"===F.scale&&"none"===F.rotate||(D[zw]=("none"!==F.translate?"translate3d("+(F.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==F.rotate?"rotate("+F.rotate+") ":"")+("none"!==F.scale?"scale("+F.scale.split(" ").join(",")+") ":"")+("none"!==F[zw]?F[zw]:"")),D.scale=D.rotate=D.translate="none"),v=m_(t,n.svg),n.svg&&(n.uncache?(M=t.getBBox(),V=n.xOrigin-M.x+"px "+(n.yOrigin-M.y)+"px",C=""):C=!e&&t.getAttribute("data-svg-origin"),y_(t,C||V,!!C||n.originIsAbsolute,!1!==n.smooth,v)),p=n.xOrigin||0,g=n.yOrigin||0,v!==f_&&(w=v[0],_=v[1],x=v[2],k=v[3],r=S=v[4],i=T=v[5],6===v.length?(a=Math.sqrt(w*w+_*_),o=Math.sqrt(k*k+x*x),l=w||_?kw(_,w)*_w:0,(h=x||k?kw(x,k)*_w+l:0)&&(o*=Math.abs(Math.cos(h*xw))),n.svg&&(r-=p-(p*w+g*x),i-=g-(p*_+g*k))):(I=v[6],P=v[7],E=v[8],O=v[9],A=v[10],$=v[11],r=v[12],i=v[13],s=v[14],c=(m=kw(I,A))*_w,m&&(C=S*(y=Math.cos(-m))+E*(b=Math.sin(-m)),M=T*y+O*b,R=I*y+A*b,E=S*-b+E*y,O=T*-b+O*y,A=I*-b+A*y,$=P*-b+$*y,S=C,T=M,I=R),u=(m=kw(-x,A))*_w,m&&(y=Math.cos(-m),$=k*(b=Math.sin(-m))+$*y,w=C=w*y-E*b,_=M=_*y-O*b,x=R=x*y-A*b),l=(m=kw(_,w))*_w,m&&(C=w*(y=Math.cos(m))+_*(b=Math.sin(m)),M=S*y+T*b,_=_*y-w*b,T=T*y-S*b,w=C,S=M),c&&Math.abs(c)+Math.abs(l)>359.9&&(c=l=0,u=180-u),a=ny(Math.sqrt(w*w+_*_+x*x)),o=ny(Math.sqrt(T*T+I*I)),m=kw(S,T),h=Math.abs(m)>2e-4?m*_w:0,f=$?1/($<0?-$:$):0),n.svg&&(C=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!g_(Gw(t,zw)),C&&t.setAttribute("transform",C))),Math.abs(h)>90&&Math.abs(h)<270&&(N?(a*=-1,h+=l<=0?180:-180,l+=l<=0?180:-180):(o*=-1,h+=h<=0?180:-180)),e=e||n.uncache,n.x=r-((n.xPercent=r&&(!e&&n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-r)?-50:0)))?t.offsetWidth*n.xPercent/100:0)+L,n.y=i-((n.yPercent=i&&(!e&&n.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*n.yPercent/100:0)+L,n.z=s+L,n.scaleX=ny(a),n.scaleY=ny(o),n.rotation=ny(l)+H,n.rotationX=ny(c)+H,n.rotationY=ny(u)+H,n.skewX=h+H,n.skewY=d+H,n.transformPerspective=f+L,(n.zOrigin=parseFloat(V.split(" ")[2])||!e&&n.zOrigin||0)&&(D[jw]=w_(V)),n.xOffset=n.yOffset=0,n.force3D=lm.force3D,n.renderTransform=n.svg?M_:bw?C_:x_,n.uncache=0,n},w_=function(t){return(t=t.split(" "))[0]+" "+t[1]},__=function(t,e,n){var r=Fy(e);return ny(parseFloat(e)+parseFloat(a_(t,"x",n+"px",r)))+r},x_=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,C_(t,e)},k_="0deg",S_="0px",T_=") ",C_=function(t,e){var n=e||this,r=n.xPercent,i=n.yPercent,s=n.x,a=n.y,o=n.z,l=n.rotation,c=n.rotationY,u=n.rotationX,h=n.skewX,d=n.skewY,f=n.scaleX,p=n.scaleY,g=n.transformPerspective,v=n.force3D,m=n.target,y=n.zOrigin,b="",w="auto"===v&&t&&1!==t||!0===v;if(y&&(u!==k_||c!==k_)){var _,x=parseFloat(c)*xw,k=Math.sin(x),S=Math.cos(x);x=parseFloat(u)*xw,_=Math.cos(x),s=__(m,s,k*_*-y),a=__(m,a,-Math.sin(x)*-y),o=__(m,o,S*_*-y+y)}g!==S_&&(b+="perspective("+g+T_),(r||i)&&(b+="translate("+r+"%, "+i+"%) "),(w||s!==S_||a!==S_||o!==S_)&&(b+=o!==S_||w?"translate3d("+s+", "+a+", "+o+") ":"translate("+s+", "+a+T_),l!==k_&&(b+="rotate("+l+T_),c!==k_&&(b+="rotateY("+c+T_),u!==k_&&(b+="rotateX("+u+T_),h===k_&&d===k_||(b+="skew("+h+", "+d+T_),1===f&&1===p||(b+="scale("+f+", "+p+T_),m.style[zw]=b||"translate(0, 0)"},M_=function(t,e){var n,r,i,s,a,o=e||this,l=o.xPercent,c=o.yPercent,u=o.x,h=o.y,d=o.rotation,f=o.skewX,p=o.skewY,g=o.scaleX,v=o.scaleY,m=o.target,y=o.xOrigin,b=o.yOrigin,w=o.xOffset,_=o.yOffset,x=o.forceCSS,k=parseFloat(u),S=parseFloat(h);d=parseFloat(d),f=parseFloat(f),(p=parseFloat(p))&&(f+=p=parseFloat(p),d+=p),d||f?(d*=xw,f*=xw,n=Math.cos(d)*g,r=Math.sin(d)*g,i=Math.sin(d-f)*-v,s=Math.cos(d-f)*v,f&&(p*=xw,a=Math.tan(f-p),i*=a=Math.sqrt(1+a*a),s*=a,p&&(a=Math.tan(p),n*=a=Math.sqrt(1+a*a),r*=a)),n=ny(n),r=ny(r),i=ny(i),s=ny(s)):(n=g,s=v,r=i=0),(k&&!~(u+"").indexOf("px")||S&&!~(h+"").indexOf("px"))&&(k=a_(m,"x",u,"px"),S=a_(m,"y",h,"px")),(y||b||w||_)&&(k=ny(k+y-(y*n+b*i)+w),S=ny(S+b-(y*r+b*s)+_)),(l||c)&&(a=m.getBBox(),k=ny(k+l/100*a.width),S=ny(S+c/100*a.height)),a="matrix("+n+","+r+","+i+","+s+","+k+","+S+")",m.setAttribute("transform",a),x&&(m.style[zw]=a)},R_=function(t,e,n,r,i){var s,a,o=360,l=ym(i),c=parseFloat(i)*(l&&~i.indexOf("rad")?_w:1)-r,u=r+c+"deg";return l&&("short"===(s=i.split("_")[1])&&(c%=o)!==c%180&&(c+=c<0?o:-o),"cw"===s&&c<0?c=(c+o*Sw)%o-~~(c/o)*o:"ccw"===s&&c>0&&(c=(c-o*Sw)%o-~~(c/o)*o)),t._pt=a=new Jb(t._pt,e,n,r,c,Ow),a.e=u,a.u="deg",t._props.push(n),a},E_=function(t,e){for(var n in e)t[n]=e[n];return t},O_=function(t,e,n){var r,i,s,a,o,l,c,u=E_({},n._gsap),h=n.style;for(i in u.svg?(s=n.getAttribute("transform"),n.setAttribute("transform",""),h[zw]=e,r=b_(n,1),n_(n,zw),n.setAttribute("transform",s)):(s=getComputedStyle(n)[zw],h[zw]=e,r=b_(n,1),h[zw]=s),ww)(s=u[i])!==(a=r[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(o=Fy(s)!==(c=Fy(a))?a_(n,i,s,c):parseFloat(s),l=parseFloat(a),t._pt=new Jb(t._pt,r,i,o,l-o,Ew),t._pt.u=c||0,t._props.push(i));E_(r,u)};ey("padding,margin,Width,Radius",(function(t,e){var n="Top",r="Right",i="Bottom",s="Left",a=(e<3?[n,r,i,s]:[n+s,n+r,i+r,i+s]).map((function(n){return e<2?t+n:"border"+n+t}));d_[e>1?"border"+t:t]=function(t,e,n,r,i){var s,o;if(arguments.length<4)return s=a.map((function(e){return o_(t,e,n)})),5===(o=s.join(" ")).split(s[0]).length?s[0]:o;s=(r+"").split(" "),o={},a.forEach((function(t,e){return o[t]=s[e]=s[e]||s[(e-1)/2|0]})),t.init(e,o,i)}}));var A_={name:"css",register:Qw,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,n,r,i){var s,a,o,l,c,u,h,d,f,p,g,v,m,y,b,w,_=this._props,x=t.style,k=n.vars.startAt;for(h in gw||Qw(),this.styles=this.styles||Ww(t),w=this.styles.props,this.tween=n,e)if("autoRound"!==h&&(a=e[h],!Ym[h]||!Pb(h,e,n,r,t,i)))if(c=typeof a,u=d_[h],"function"===c&&(c=typeof(a=a.call(n,r,t,i))),"string"===c&&~a.indexOf("random(")&&(a=Xy(a)),u)u(this,t,h,a,n)&&(b=1);else if("--"===h.substr(0,2))s=(getComputedStyle(t).getPropertyValue(h)+"").trim(),a+="",cb.lastIndex=0,cb.test(s)||(d=Fy(s),f=Fy(a)),f?d!==f&&(s=a_(t,h,s,f)+f):d&&(a+=d),this.add(x,"setProperty",s,a,r,i,0,0,h),_.push(h),w.push(h,0,x[h]);else if("undefined"!==c){if(k&&h in k?(s="function"==typeof k[h]?k[h].call(n,r,t,i):k[h],ym(s)&&~s.indexOf("random(")&&(s=Xy(s)),Fy(s+"")||"auto"===s||(s+=lm.units[h]||Fy(o_(t,h))||""),"="===(s+"").charAt(1)&&(s=o_(t,h))):s=o_(t,h),l=parseFloat(s),(p="string"===c&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),o=parseFloat(a),h in Rw&&("autoAlpha"===h&&(1===l&&"hidden"===o_(t,"visibility")&&o&&(l=0),w.push("visibility",0,x.visibility),r_(this,x,"visibility",l?"inherit":"hidden",o?"inherit":"hidden",!o)),"scale"!==h&&"transform"!==h&&~(h=Rw[h]).indexOf(",")&&(h=h.split(",")[0])),g=h in ww)if(this.styles.save(h),v||((m=t._gsap).renderTransform&&!e.parseTransform||b_(t,e.parseTransform),y=!1!==e.smoothOrigin&&m.smooth,(v=this._pt=new Jb(this._pt,x,zw,0,1,m.renderTransform,m,0,-1)).dep=1),"scale"===h)this._pt=new Jb(this._pt,m,"scaleY",m.scaleY,(p?iy(m.scaleY,p+o):o)-m.scaleY||0,Ew),this._pt.u=0,_.push("scaleY",h),h+="X";else{if("transformOrigin"===h){w.push(jw,0,x[jw]),a=u_(a),m.svg?y_(t,a,0,y,0,this):((f=parseFloat(a.split(" ")[2])||0)!==m.zOrigin&&r_(this,m,"zOrigin",m.zOrigin,f),r_(this,x,h,w_(s),w_(a)));continue}if("svgOrigin"===h){y_(t,a,1,y,0,this);continue}if(h in p_){R_(this,m,h,l,p?iy(l,p+a):a);continue}if("smoothOrigin"===h){r_(this,m,"smooth",m.smooth,a);continue}if("force3D"===h){m[h]=a;continue}if("transform"===h){O_(this,a,t);continue}}else h in x||(h=Xw(h)||h);if(g||(o||0===o)&&(l||0===l)&&!Mw.test(a)&&h in x)o||(o=0),(d=(s+"").substr((l+"").length))!==(f=Fy(a)||(h in lm.units?lm.units[h]:d))&&(l=a_(t,h,s,f)),this._pt=new Jb(this._pt,g?m:x,h,l,(p?iy(l,p+o):o)-l,g||"px"!==f&&"zIndex"!==h||!1===e.autoRound?Ew:Pw),this._pt.u=f||0,d!==f&&"%"!==f&&(this._pt.b=s,this._pt.r=Aw);else if(h in x)l_.call(this,t,h,s,p?p+a:a);else if(h in t)this.add(t,h,s||t[h],p?p+a:a,r,i);else if("parseTransform"!==h)continue;g||(h in x?w.push(h,0,x[h]):w.push(h,1,s||t[h])),_.push(h)}b&&Qb(this)},render:function(t,e){if(e.tween._time||!yw())for(var n=e._pt;n;)n.r(t,n.d),n=n._next;else e.styles.revert()},get:o_,aliases:Rw,getSetter:function(t,e,n){var r=Rw[e];return r&&r.indexOf(",")<0&&(e=r),e in ww&&e!==jw&&(t._gsap.x||o_(t,"x"))?n&&mw===n?"scale"===e?Hw:Lw:(mw=n||{})&&("scale"===e?Fw:Vw):t.style&&!_m(t.style[e])?Dw:~e.indexOf("-")?Nw:Ub(t,e)},core:{_removeProperty:n_,_getMatrix:m_}};hw.utils.checkPrefix=Xw,hw.core.getStyleSaver=Ww,function(t,e,n,r){var i=ey(t+","+e+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){ww[t]=1}));ey(e,(function(t){lm.units[t]="deg",p_[t]=1})),Rw[i[13]]=t+","+e,ey("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");Rw[e[1]]=i[e[0]]}))}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY"),ey("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){lm.units[t]="px"})),hw.registerPlugin(A_);var P_=hw.registerPlugin(A_)||hw;P_.core.Tween;var $_=Ze('<div class="dot fixed svelte-1xkucte"></div> <div class="dot absolute svelte-1xkucte"></div>',1);var I_=Ze('<button class="nav-element svelte-zplgsj"><span class="svelte-zplgsj"> </span> <!></button>');function D_(t,e){_e(e,!0);const n=Vn(e,"isActive",3,!1),r=Vn(e,"isUpdating",3,!1),i=Vn(e,"isAnimation",3,!1),s=Vn(e,"position",11,(()=>({}))),a=Vn(e,"liveDotsDiv",11,(()=>({}))),o=Vn(e,"navMarginTop",3,0),l=Vn(e,"scrollPosition",3,0),c=Vn(e,"navWidth",3,0),u=Ln(e,["navi","isActive","onclick","isUpdating","isAnimation","position","liveDotsDiv","navMarginTop","scrollPosition","navWidth"]);var h=I_();h.__click=function(...t){const n=e.onclick;return n?.apply(this,t)};var d=Oe(h),f=Oe(d);Ue(Pe(Pe(d,!0)),(()=>s()&&Ig.liveUpdate),(t=>{var e=nn();!function(t,e){_e(e,!0);const n=Vn(e,"position",11,(()=>({}))),r=Vn(e,"liveDotsDiv",11,(()=>({}))),i=Vn(e,"navMarginTop",3,0),s=Vn(e,"id",3,0),a=Vn(e,"scrollPosition",3,0),o=Vn(e,"isUpdating",3,!1),l=Vn(e,"isAnimation",3,!1),c=Vn(e,"navWidth",3,0);let u=Tt((()=>48===i()?50:58)),h=Tt((()=>n().left+n().width+2-a())),d=Tt((()=>i()+n().top+de(u))),f=Tt((()=>r().position.x-3)),p=Tt((()=>r().position.y-3)),g=Tt((()=>n().left+n().width-12)),v=Tt((()=>n().top+de(u))),m=G(!1),y=G(!1),b=!1,w=Tt(c),_=Tt((()=>de(h)<18?"left":de(h)>c()?"right":"inView"));nt((()=>{Bv.setNaviDotInView(s(),de(_))})),nt((()=>{l()&&de(m)&&!b&&(b=!0,P_.set(de(y),{opacity:0}),P_.set(de(m),{opacity:1}),P_.fromTo(de(m),{left:de(f),top:de(p)},{left:de(h),top:de(d),duration:.6,delay:.07*s(),ease:"power1.inOut",onComplete:()=>{P_.set(de(m),{opacity:0}),P_.set(de(y),{opacity:1}),b=!1}}))}));var x=$_(),k=Ae(x);$n(k,(t=>X(m,gt(t))),(()=>de(m)));var S=Pe(Pe(k,!0));$n(S,(t=>X(y,gt(t))),(()=>de(y))),pn(S,"--leftBound","18px"),st((()=>{fn(k,"noUpdate",!1===o()),fn(S,"leftOutOfView","left"===de(_)),fn(S,"rightOutOfView","right"===de(_)),fn(S,"noUpdate",!1===o()),pn(S,"top",de(v)+"px"),pn(S,"left",de(g)+"px"),pn(S,"--rightBound",de(w)+"px"),pn(S,"--topFixed",de(d)+"px")})),rn(t,x),xe()}(Ae(e),{get position(){return s()},get liveDotsDiv(){return a()},get navMarginTop(){return o()},get scrollPosition(){return l()},get isUpdating(){return r()},get isAnimation(){return i()},get navWidth(){return c()},get id(){return u.id}}),rn(t,e)})),st((()=>{fn(h,"isUpdating",r()),fn(d,"is-active",n()),Fe(f,e.navi)})),rn(t,h),xe()}Ie(["click"]);var N_=tn('<svg width="10" height="6" viewBox="0 0 10 6" fill="none" class="svelte-v6bx06"><path d="M8.33374 5.1665L5.00041 1.83317L1.66707 5.1665" stroke-width="1.5" stroke-linecap="round" class="svelte-v6bx06"></path></svg>');function L_(t,e){const n=Vn(e,"type",3,"dark"),r=Vn(e,"direction",3,"bottom"),i=Tt((()=>"bottom"===r()?"rotate(180deg)":"top"===r()?"rotate(0deg)":"left"===r()?"rotate(-90deg)":"right"===r()?"rotate(90deg)":"rotate(180deg)"));var s=N_(),a=Oe(s);st((()=>{pn(s,"transform",de(i)),fn(a,"light","light"===n())})),rn(t,s)}var H_=Ze('<div class="indicator leftOutOfView svelte-xrhqvv"> </div>'),F_=Ze('<div class="indicator rightOutOfView svelte-xrhqvv"> </div>'),V_=Ze("<!> <!>",1);var z_=Ze('<li class="svelte-fiv6o4"><!></li>'),j_=(t,e)=>e("left"),U_=Ze('<button class="arrow left svelte-fiv6o4"><!></button>'),B_=(t,e)=>e("right"),q_=Ze('<button class="arrow right svelte-fiv6o4"><!></button>'),W_=Ze("<!> <!>",1),Y_=Ze('<div class="navigation-wrapper sticky svelte-fiv6o4"><div class="nav-content-wrapper svelte-fiv6o4"><nav class="svelte-fiv6o4"><ul class="svelte-fiv6o4"><!> <!></ul></nav> <div class="shadow left svelte-fiv6o4"></div> <div class="shadow right svelte-fiv6o4"></div> <!></div></div>');function G_(t,e){_e(e,!0);let n,r=G(!1),i=Tt((()=>Pv.cards.filter((t=>null!==t.navi&&void 0!==t.navi)))),s=gt([]),a=gt([]),o=G(0),l=G(gt([])),c=Tt((()=>de(o)<m())),u=Tt((()=>m()>de(o)/1.2)),h=G(!1),d=G(0),f=Tt((()=>de(d)>0)),p=G(!1),g=G(!0),v=Tt((()=>Math.max(0,cv.headerHeight-60)));function m(){return a.reduce(((t,e)=>t+e),0)+26*(a.length-1)}function y(t){const e=de(i).findIndex((e=>e.id===t));if(e<0||!n||!de(l).length)return;const{left:r=0}=de(l)[e]||{},{left:s=0}=n.getBoundingClientRect()||{};n.scrollTo({left:Math.max(0,r-s-0-(cv.device.isTouch?0:29)),behavior:"smooth"})}function b(){X(d,gt(n?.scrollLeft||0));const t=n?.scrollWidth-n?.clientWidth;isNaN(t)?X(p,gt(de(c))):X(p,gt(de(d)<t||de(c)&&0===de(d)))}function w(t){n&&("left"===t?n.scrollLeft=n.scrollLeft-80:"right"===t&&(n.scrollLeft=n.scrollLeft+80))}nt(b),nt((()=>{de(h)||y(Cv.activeCardId)})),nt((()=>{const t=document.getElementById("header-bar");t&&(t.style.boxShadow="none")}));var _=nn();$e("scroll",Me,(function(){X(r,gt(cv.device.isApp||window.scrollY>90))}),!1),$e("resize",Me,b,!1),Ue(Ae(_),(()=>!0),(t=>{var e=Y_();pn(e,"--min-distance-between-nav-elements",`${Ve(26)}px`);var m=Oe(e),_=Oe(m);$n(_,(t=>n=t),(()=>n));var x=Oe(_),k=Oe(x);Ye(k,65,(()=>de(i)),We,((t,e,n)=>{var r=z_();$n(r,((t,e)=>s[e]=t),(t=>s?.[t]),(()=>[Te(n)]));var i=Oe(r),c=Tt((()=>Bv.cards.find((t=>t?.navi===Te(e).navi))?.isUpdating)),u=Tt((()=>Bv.cards.find((t=>t?.navi===Te(e).navi))?.isNaviAnimation)),f=Tt((()=>Te(e).id===Cv.activeCardId)),p=Tt((()=>de(l)[Te(n)]?de(l)[Te(n)]:{}));D_(i,Fn((()=>Te(e)),{get isUpdating(){return de(c)},get isAnimation(){return de(u)},get isActive(){return de(f)},onclick:t=>function(t,e){t.preventDefault(),X(h,!0),setTimeout((()=>{X(h,!1)}),1e3);const n=document.getElementById(`card-${e.id}`).getBoundingClientRect().top+window.scrollY-cv.headerHeight-(cv.device.isApp?90:30);window.scrollTo({top:n,behavior:"smooth"}),y(e.id)}(t,Te(e)),get position(){return de(p)},liveDotsDiv:qv,get navMarginTop(){return de(v)},get scrollPosition(){return de(d)},get navWidth(){return de(o)}})),An(r,"clientWidth",(t=>a[Te(n)]=t)),rn(t,r)})),function(t,e){const n=Vn(e,"navMarginTop",3,0),r=Vn(e,"navWidth",3,0),i=Vn(e,"leftDotsOutOfView",3,0),s=Vn(e,"rightDotsOutOfView",3,0);let a=Tt((()=>48===n()?0:8)),o=Tt((()=>n()+de(a))),l=Tt((()=>r()-8));var c=V_(),u=Ae(c);Ue(u,(()=>i()>1),(t=>{var e=H_();pn(e,"--leftBound","10px");var n=Oe(e);st((()=>{pn(e,"--topFixed",de(o)+"px"),Fe(n,i())})),rn(t,e)})),Ue(Pe(Pe(u,!0)),(()=>s()>1),(t=>{var e=F_(),n=Oe(e);st((()=>{pn(e,"--rightBound",de(l)+"px"),pn(e,"--topFixed",de(o)+"px"),Fe(n,s())})),rn(t,e)})),rn(t,c)}(Pe(Pe(k,!0)),{get navMarginTop(){return de(v)},get navWidth(){return de(o)},get leftDotsOutOfView(){return Bv.leftDotsOutOfView},get rightDotsOutOfView(){return Bv.rightDotsOutOfView}});var S=Pe(Pe(_,!0)),T=Pe(Pe(S,!0));Ue(Pe(Pe(T,!0)),(()=>!cv.device.isTouch),(t=>{var e=W_(),n=Ae(e);Ue(n,(()=>de(f)),(t=>{var e=U_();Sn(3,e,(()=>Hv)),e.__click=[j_,w],L_(Oe(e),{type:"light",direction:"left"}),rn(t,e)})),Ue(Pe(Pe(n,!0)),(()=>de(p)),(t=>{var e=q_();Sn(3,e,(()=>Hv)),e.__click=[B_,w],L_(Oe(e),{type:"light",direction:"right"}),rn(t,e)})),rn(t,e)})),st((()=>{fn(e,"hideNavigation",!de(r)),pn(e,"--margin-top",`${Ve(de(v))}px`),fn(x,"is-overflow",de(c)),fn(x,"is-spreaded",de(u)),pn(x,"pointer-events",de(g)?"auto":"none"),fn(S,"hidden",cv.device.isTouch||!de(f)),fn(T,"hidden",!de(c))})),An(_,"clientWidth",(t=>X(o,t))),ln(_,((t,e)=>Gv(t,e)),(()=>({axis:"x",event:"mouse",cursor:!1}))),$e("scroll",_,b,!1),$e("dragging",_,(()=>X(g,!1)),!1),$e("draggingend",_,(()=>X(g,!0)),!1),ln(x,((t,e)=>function(t,{lis:e}){const n=t=>X(l,gt(t.map((t=>t.getBoundingClientRect()))));return n(e),{update({lis:t}){n(t)}}}(0,e)),(()=>({lis:s}))),rn(t,e)})),rn(t,_),xe()}function K_(t){return 0===t||1===t?t:t<.5?.5*Math.pow(2,20*t-10):-.5*Math.pow(2,10-20*t)+1}function X_(t){return--t*t*t*t*t+1}Ie(["click"]);var Q_=tn('<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8" fill="none" class="svelte-7yoac5"><path d="M7.16706 3.99968C7.16706 2.27869 5.81067 0.883545 4.13749 0.883545C2.4643 0.883545 1.10791 2.27869 1.10791 3.99968C1.10791 5.72067 2.4643 7.11581 4.13749 7.11581C4.91548 7.11581 5.62499 6.81418 6.16149 6.3184" stroke-width="1.5" stroke-linecap="round" class="svelte-7yoac5"></path></svg>');var J_=Ze('<div class="container svelte-15pzeyd"><div class="dot svelte-15pzeyd" style="animation-delay:0.2s;"></div></div>');function Z_(t,e){_e(e,!0);let n=G(gt({}));gt({});var r=J_();Sn(3,r,(()=>Fv),(()=>e.slideTransition)),$n(Oe(r),(t=>X(n,gt(t))),(()=>de(n))),ln(r,((t,n)=>function(t,{dotsDivs:n}){const r=t=>qv.position=t.getBoundingClientRect();return setTimeout((()=>{r(n)}),e.slideTransition.duration),{update({dotsDivs:t}){r(t)}}}(0,n)),(()=>({dotsDivs:de(n)}))),rn(t,r),xe()}var tx=Ze('<div class="animatedDots svelte-5eagh5"><!></div>');var ex=Ze('<span class="live svelte-10768wc">UPDATE&nbsp;LÄUFT<!></span>'),nx=Ze('<span class="live svelte-10768wc">Live<!></span>'),rx=Ze('<div class="live-bar-top-detector svelte-10768wc"></div> <div class="live-bar svelte-10768wc"><div class="sticky-wrapper svelte-10768wc"><!> <span class="title"> </span></div></div>',1);function ix(t,e){let n;_e(e,!0);let r=G(!1),i=Tt((()=>{if(!e.data)return"";const{title:t,dateCurrent:n}=e.data,r=n.split("-")[0];return t[0].replace("{currentElectionYear}",r)})),s=Tt((()=>cv.headerHeight+(cv.device.isTouch&&cv.device.isApp?45:-15)));const a=Tt((()=>e.data?.isLive));function o(){if(!n)return;const{top:t=0}=n.getBoundingClientRect();X(r,t<de(s))}nt((()=>{o()}));const l={duration:1500,delay:0,easing:K_,axis:"x"};let c=G(!1),u=G(0),h=G(0);nt((()=>{X(u,gt(Bv.isUpdatingCards)),de(u)>de(h)&&de(u)>0&&(X(c,!0),setTimeout((()=>{X(c,!1)}),jv+Uv)),X(h,gt(de(u)))}));var d=rx();$e("scroll",Me,o,!1);var f=Ae(d);$n(f,(t=>n=t),(()=>n));var p=Oe(Pe(Pe(f,!0))),g=Oe(p);Ue(g,(()=>de(a)),(t=>{var e=nn();Ue(Ae(e),(()=>de(c)),(t=>{var e=ex();Sn(3,e,(()=>Fv),(()=>l)),function(t,e){_e(e,!0);let n=G(!0);setTimeout((()=>{X(n,!1),Bv.setNaviAnimation()}),3345);var r=tx();Z_(Oe(r),{get slideTransition(){return e.slideTransition}}),rn(t,r),xe()}(Pe(Oe(e)),{slideTransition:l,get totalDots(){return showIsUpdating.length}}),rn(t,e)}),(t=>{var e=nx();Sn(3,e,(()=>Fv),(()=>l)),function(t){rn(t,Q_())}(Pe(Oe(e))),rn(t,e)})),rn(t,e)}));var v=Oe(Pe(Pe(g,!0)));st((()=>{fn(p,"is-fixed",de(r)),pn(p,"--top",`${Ve(de(s))}px`),Fe(v,de(i))})),rn(t,d),xe()}const sx=de(Tt((()=>Pv.translate)));const ax=de(Tt((()=>Pv.translate))),ox=function(){let t=Tt((()=>Pv?.elections[0]?.config?.dictionary||{})),e=Tt((()=>Pv?.elections[1]?.config?.dictionary||{}));return{get dictionary(){return ox},translate:(n,r,i)=>{if(!n)return"!"+i;let s=Pv?.elections[0].electionKey===n?de(t):de(e);return Pv?.elections[0].electionKey===n||Pv?.elections[1].electionKey,s[r]?.find((t=>t.key===i))?.value||i}}}();function lx(t){const e=t.flat().filter((t=>t));if(!e||!e.length)return"";const n=[...new Set(e)],r=[...new Set(n.map((t=>sx("sources",t))))];return(1===r.length?"Quelle: ":"Quellen: ")+r.join(", ")}const cx=["Jan.","Febr.","März","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."];function ux(t){if(!t)return!1;const e=new Date(t),n=e.getMinutes();let r=e.getHours();return n<10?`Stand:&nbsp;${e.getDate()}. ${cx[e.getMonth()]} ${e.getFullYear()}, ${r}.0${n}&nbsp;Uhr`:`Stand:&nbsp;${e.getDate()}. ${cx[e.getMonth()]} ${e.getFullYear()}, ${r}.${n}&nbsp;Uhr`}function hx(t,e){return(299*parseInt(t.substring(1,3),16)+587*parseInt(t.substring(3,5),16)+114*parseInt(t.substring(5,7),16))/1e3>=128?"black":"#f1efed"}function dx(t,e){const n=t.map((t=>{const n=t.searchStrings.map((n=>{const r=function(t,e){let n=t,r=e;t.length<e.length&&(n=e,r=t);const i=new RegExp(r,"ig").exec(n);if(i&&""!==i[0])return i.overlapLength=i[0].length,i}(e,n);return{...t,match:r}})).filter((t=>t&&t.match)).sort(((t,e)=>t.match?.overlapLength>e.match?.overlapLength?1:-1)).sort(((t,e)=>t.match?.index>e.match?.index?1:-1));return n[0]})).filter((t=>t&&t.match)).sort(((t,e)=>t.match.overlapLength>e.match.overlapLength?1:-1)).sort(((t,e)=>t.match.index>e.match.index?1:-1));return n}function fx(){}function px(t){const e=e=>{!t||t.contains(e.target)||e.defaultPrevented||t.dispatchEvent(new CustomEvent("clickoutside",{detail:{clicked:e.target,not_clicked:t}}))};return document.addEventListener("click",e,!1),{destroy(){document.removeEventListener("click",e,!1)}}}function gx(t){const e=e=>{!t||t.contains(e.target)||e.defaultPrevented||t.dispatchEvent(new CustomEvent("mousemoveoutside",{detail:{hovered:e.target,not_hovered:t}}))};return document.addEventListener("mousemove",e,!1),{destroy(){document.removeEventListener("mousemove",e,!1)}}}function vx({search:t,infoCard:e,button:n}={},r="header"){const{headerSnippets:i}=me(r);i.search=t,i.infoCard=e,i.button=n}function mx(t="card"){const{data:e}=me(t);return e}const yx={root:null,rootMargin:"0px",threshold:0,unobserveOnEnter:!1},bx=(t,e)=>new CustomEvent(t,{detail:e}),wx=(t,e)=>{const{root:n,rootMargin:r,threshold:i,unobserveOnEnter:s}={...yx,...e};let a={x:void 0,y:void 0},o={vertical:void 0,horizontal:void 0};const l=new IntersectionObserver(((e,n)=>{e.forEach((e=>{a.y>e.boundingClientRect.y?o.vertical="up":o.vertical="down",a.x>e.boundingClientRect.x?o.horizontal="left":o.horizontal="right",a={y:e.boundingClientRect.y,x:e.boundingClientRect.x};const r={inView:e.isIntersecting,entry:e,scrollDirection:o,node:t,observer:n};t.dispatchEvent(bx("inview_change",r)),t.dispatchEvent(bx("change",r)),e.isIntersecting?(t.dispatchEvent(bx("inview_enter",r)),t.dispatchEvent(bx("enter",r)),s&&n.unobserve(t)):(t.dispatchEvent(bx("inview_leave",r)),t.dispatchEvent(bx("leave",r)))}))}),{root:n,rootMargin:r,threshold:i});return async function(){await Promise.resolve(),he()}().then((()=>{t.dispatchEvent(bx("inview_init",{observer:l,node:t})),t.dispatchEvent(bx("init",{observer:l,node:t}))})),l.observe(t),l};function _x(t,e={}){if("undefined"!=typeof IntersectionObserver&&t){let n=wx(t,e);return{update(e){n.unobserve(t),n=wx(t,e)},destroy(){n.unobserve(t)}}}}var xx=Ze('<h2 class="svelte-1j8jfhz"><!></h2>'),kx=Ze('<div class="placeholder-container"><h2 class="placeholder svelte-1j8jfhz"> </h2></div>'),Sx=Ze('<div class="search-input-wrapper svelte-1j8jfhz"><!></div>'),Tx=Ze('<div class="button-wrapper svelte-1j8jfhz"><!></div>'),Cx=Ze('<div class="header svelte-1j8jfhz"><!> <!> <!> <!></div>');function Mx(t,e){_e(e,!0);const n=Vn(e,"wasInView",3,!1),r=Tt((()=>e.headerSnippets)),i=Tt((()=>{let{search:t,infoCard:e,button:n}=de(r);return[t,e,n]})),s=Tt((()=>de(i)[0])),a=Tt((()=>de(i)[1])),o=Tt((()=>de(i)[2]));var l=Cx(),c=Oe(l);Ue(c,(()=>e.hasData),(t=>{var n=xx();sn(Oe(n),(()=>function(t,e=[]){if(!e.length)return t;let n=t;return e.forEach((t=>{const e=new RegExp(t.substr,"gi");n=n.replace(e,`<span class="decoration" style="--highlight-color: ${t.$color}; --text-color:${hx(t.$color,t.abbr)};">$&</span>`)})),n}(e.data.text||"",e.data.parties))),rn(t,n)}),(t=>{var e=kx(),n=Oe(e);Oe(n).nodeValue=Ve("Lorem ipsum dolor sit amet, consetetur"),rn(t,e)}));var u=Pe(Pe(c,!0));Ue(u,(()=>de(s)),(t=>{var e=Sx();an((()=>de(s)),Oe(e)),rn(t,e)}));var h=Pe(Pe(u,!0));Ue(h,(()=>de(o)),(t=>{var e=Tx();an((()=>de(o)),Oe(e)),rn(t,e)})),Ue(Pe(Pe(h,!0)),(()=>de(a)),(t=>{var e=nn();an((()=>de(a)),Ae(e)),rn(t,e)})),st((()=>{fn(l,"was-in-view",n()),fn(l,"article","article"===Ig.type)})),rn(t,l),xe()}var Rx=Ze('<div class="svelte-dptpxb"><span class="text"><span class="svg"><svg width="13" height="12" viewBox="0 0 13 12" fill="none" class="svelte-dptpxb"><g transform="translate(0.5, 0.5)"><path class="s svelte-dptpxb" d="M1.15 10.705C0.51 10.705 0 10.205 0 9.55503V7.18503H2.06V8.96503H4.3V6.12503H0.01V1.43503C0.01 0.785034 0.52 0.285034 1.16 0.285034H5.2C5.84 0.285034 6.35 0.785034 6.35 1.43503V3.36503H4.29V2.02503H2.07V4.42503H6.36V9.56503C6.36 10.205 5.86 10.715 5.21 10.715H1.15V10.705Z"></path></g><g transform="translate(10, 4.95)"><rect class="s svelte-dptpxb" width="3.2" height="3.2"></rect></g></svg></span> <!></span></div>');function Ex(t,e){_e(e,!0);let n=Vn(e,"sources",3,void 0),r=Vn(e,"small",3,!1);var i=nn();Ue(Ae(i),(()=>n()&&!/^\s+$/.test(n())),(t=>{var e=Rx(),i=Oe(e);sn(Pe(Pe(Oe(i),!0)),n),st((()=>fn(e,"small",r()))),rn(t,e)})),rn(t,i),xe()}var Ox=Ze('<div class="svelte-hgan54"><!></div>');function Ax(t,e){_e(e,!0);let n=Vn(e,"status",3,void 0),r=Vn(e,"small",3,!1);var i=nn();Ue(Ae(i),(()=>n()&&!/^\s+$/.test(n())),(t=>{var e=Ox();sn(Oe(e),n),st((()=>fn(e,"small",r()))),rn(t,e)})),rn(t,i),xe()}var Px=Ze('<div class="footer svelte-ead83r"><!> <!></div>');var $x=Ze('<div class="card svelte-ekepll"><div><div class="header-wrapper svelte-ekepll"><!></div> <div class="body-wrapper svelte-ekepll"><!></div></div> <div class="footer-wrapper svelte-ekepll"><!></div></div>');function Ix(t,e){_e(e,!0);let n=Vn(e,"header",15,(()=>gt({}))),r=Vn(e,"children",3,void 0),i=Vn(e,"footer",11,(()=>({})));const s=function(t="header"){let e=G(void 0),n=G(void 0),r=G(void 0);const i={get search(){return de(e)},set search(t){X(e,gt(t))},get infoCard(){return de(n)},set infoCard(t){X(n,gt(t))},get button(){return de(r)},set button(t){X(r,gt(t))}};return ye(t,{headerSnippets:i}),i}(),a=function(t="card"){let e=G(void 0);const n={get isInView(){return de(e)},set isInView(t){X(e,gt(t))}};return ye(t,{data:n}),n}();let o=G(!1),l=G(!1),c=Tt((()=>e.hasData?"":"placeholder-card")),u=Tt((()=>{const t=-1*((cv.headerHeight??0)+(cv.device.isApp?95:35));return isNaN(t)?0:t}));"article"===Ig.type&&n(gt({text:Ig.headline||""}));const h=Tt((()=>Bv.cards.find((t=>t?.id===e.id))?.isUpdating)),d=Tt((()=>Bv.cards.find((t=>t?.id===e.id))?.cardInView));nt((()=>{e.hash&&void 0!==e.hash&&Ig.liveUpdate&&Bv.setCard(e.id,e.hash,e.navi)})),nt((()=>{Ig.liveUpdate&&Bv.setCardInView(e.id,de(o))})),nt((()=>{de(h)&&de(d)&&Ig.liveUpdate&&Bv.setIsCardAnimation(e.id)}));var f=$x(),p=Oe(f),g=Oe(p);Mx(Oe(g),{get data(){return n()},headerSnippets:s,get wasInView(){return de(l)},get hasData(){return e.hasData}});var v=Pe(Pe(g,!0));an(r,Oe(v));var m=Pe(Pe(p,!0));!function(t,e){_e(e,!0);var n=nn();Ue(Ae(n),(()=>e.hasData),(t=>{var n=Px();pn(n,"column-gap","8px");var r=Oe(n);Ex(r,{get sources(){return e.data.sources}}),Ax(Pe(Pe(r,!0)),{get status(){return e.data.status}}),rn(t,n)})),rn(t,n),xe()}(Oe(m),{get data(){return i()},get hasData(){return e.hasData}}),st((()=>{hn(f,"id",`card-${Ve(e.id)}`),dn(p,`header-and-body-wrapper ${Ve(de(c))} svelte-ekepll`),fn(p,"article","article"===Ig.type),fn(v,"article","article"===Ig.type),fn(m,"article","article"===Ig.type)})),ln(f,((t,e)=>_x(t,e)),(()=>({rootMargin:`${de(u)}px`,threshold:0}))),$e("inview_enter",f,(function(){X(o,gt(a.isInView=X(l,!0))),Mv.addId(e.id),Cv.activeCardId=Mv.firstId}),!1),$e("inview_leave",f,(function(){X(o,gt(a.isInView=!1)),Mv.removeId(e.id),Cv.activeCardId=Mv.firstId}),!1),rn(t,f),xe()}const Dx=window.SARAs_data||[],Nx=function(t){Dx.push(t)};function Lx(t){t&&t.element_name&&t.element_text&&Ig.embedded_id&&function(t){const e={event:{info:{action:"component_click",name:"infographic - engage"},attributes:{component_name:"infographic",component_type:"engagement",source:"tia|webview|infographic-tools|v0",title:"Wahl-Tool",element_name:t.element_name,element_text:t.element_text,embedded_id:Ig.embedded_id}}};Nx(e)}(t)}const Hx=function(){let t=G(18),e=G(66),n=G(0),r=G(0),i=G(!1),s=G(!1),a=Tt((()=>de(t)+" / "+de(t)/de(n))),o=Tt((()=>de(c))),l=Tt((()=>{if(Pv?.config?.cards[0]?.primaryButton&&Pv?.config?.cards[0]?.primaryButton.url||Pv?.config?.cards[0]?.secondaryButton&&Pv?.config?.cards[0]?.secondaryButton.url){let t=Pv?.config?.cards[0]?.primaryButton?.url.split("/a-")[1];return t||(t=Pv?.config?.cards[0]?.primaryButton?.url.split("-a-")[1]),t||(t=Pv?.config?.cards[0]?.primaryButton?.url.split("a-")[1]),!(location.href.indexOf(t)>=0&&!Pv?.config?.cards[0]?.secondaryButton?.url)}return!1}));const c=Tt((()=>Ig.widgetTabHeight?Ig.widgetTabHeight:de(t)<18?Math.round(2.5*de(t))-1:de(t)<20?44:40));let u=G(gt([{chartHeight:0,textHeight:0,type:null,index:0,cardHeight:0},{chartHeight:0,textHeight:0,type:null,index:1,cardHeight:0},{chartHeight:0,textHeight:0,type:null,index:2,cardHeight:0}])),h=Tt((()=>{let t=0;return de(u).map(((e,n)=>{e.index===Ig.widgetHeightIndex&&(t=Math.max(t,e.chartHeight))})),t})),d=Tt((()=>{let t=0;return de(u).map(((e,n)=>{t=Math.max(t,e.textHeight)})),t})),f=Tt((()=>{let t=Pv?.cards[0]?.elements[2]?.hasData,e=t?0:Ig.widgetNoEuDataMinus||0,n=Ig.widgetMobileMaxCardHeightMinus||0;if(Ig.isDual){const t=Ig.widgetHeightByActiveIndex?de(r):Ig.widgetHeightIndex;return de(u)[t].cardHeight-100-n}return de(h)+de(d)+de(c)-(e+n)})),p=Tt((()=>{let e=5;return de(t)<16&&(e=40),16===de(t)&&(e=0),de(t)>18&&(e=30),de(t)>24&&(e=42),Ig.widgetMaxHeightPlus&&(e=Ig.widgetMaxHeightPlus),e})),g=Tt((()=>Ig.isDual?de(l)?de(f)+3*de(c)+de(p)-30:de(f)+3*de(c)+de(p)-50:de(f)+3*de(c)+de(p)));return{get width(){return de(n)},set width(t){X(n,gt(t))},get isTwoThirds(){return de(n)<830&&de(n)>=580&&!de(i)},get isVertical(){return Ig.isDual?de(n)<624:de(n)<580},get dimensions(){return de(u)},set dimensions(t){X(u,gt(t))},get maxChartHeight(){return de(h)},get maxTextHeight(){return de(d)},get maxCardHeight(){return de(f)},get maxWidgetHeight(){return de(g)},get activeIndex(){return de(r)},set activeIndex(t){X(r,gt(t))},set titleHeight(e){X(t,gt(e))},get titleHeight(){return de(t)},get debugString(){return""},get titleWidth(){return de(e)},set titleWidth(t){X(e,gt(t))},get titleWidthRatio(){return de(a)},get widgetTabHeight(){return de(o)},get maxWidgetHeightPlus(){return de(p)},set twoCards(t){X(i,gt(t))},get twoCards(){return de(i)},get checkBoxClicked(){return de(s)},set checkBoxClicked(t){X(s,gt(t))},get isButton(){return de(l)}}}();var Fx=Ze('<input type="radio" class="svelte-mv9tlj">'),Vx=Ze('<li class="svelte-mv9tlj"><label class="svelte-mv9tlj"> </label></li>'),zx=Ze('<div class="forecasts-switch svelte-mv9tlj"><!> <ul class="svelte-mv9tlj"></ul></div>'),jx=Ze('<input type="radio" class="svelte-mv9tlj">'),Ux=Ze('<li class="svelte-mv9tlj"><label class="svelte-mv9tlj"> </label></li>'),Bx=Ze('<div class="forecasts-switch svelte-mv9tlj"><!> <ul class="svelte-mv9tlj"></ul></div>'),qx=(t,e,n,r)=>{de(e).select=n(),r({element_name:"forecasts-switch",element_text:"button"})},Wx=Ze('<input type="radio" class="svelte-mv9tlj">'),Yx=Ze('<li class="svelte-mv9tlj"><label class="svelte-mv9tlj"> </label></li>'),Gx=Ze('<div class="forecasts-switch svelte-mv9tlj"><!> <ul class="svelte-mv9tlj"></ul></div>');function Kx(t,e){_e(e,!0);const n=Vn(e,"largeFont",3,!1),r={vertical:3,horizontal:n()?8:5};let i=Tt((()=>Pv.forecastsSelector));const s=t=>t?.getBoundingClientRect().width;let a=gt([]),o=Tt((()=>{if(de(l),Ig.isWidget){if(0===e.electionIndex){if(!Rv.options||a.length!==Rv.options.length)return;return s(a[Rv.selectedIndex])}if(!Ev.options||a.length!==Ev.options.length)return;return s(a[Ev.selectedIndex])}if(de(i).options&&a.length===de(i).options.length)return s(a[de(i).selectedIndex])})),l=G(!1),c=Tt((()=>{if(de(l),!de(o))return;let t;return Ig.isWidget?0===e.electionIndex?(t=a.map((t=>s(t))).slice(0,Rv.selectedIndex).reduce(((t,e)=>t+e),0),t+Rv.selectedIndex*r.horizontal*2):(t=a.map((t=>s(t))).slice(0,Ev.selectedIndex).reduce(((t,e)=>t+e),0),t+Ev.selectedIndex*r.horizontal*2):(t=a.map((t=>s(t))).slice(0,de(i).selectedIndex).reduce(((t,e)=>t+e),0),t+de(i).selectedIndex*r.horizontal*2-1)}));setTimeout((()=>{X(l,!0)}),3);var u=nn();Ue(Ae(u),(()=>Ig.isWidget),(t=>{var i=nn();Ue(Ae(i),(()=>0===e.electionIndex),(t=>{var e=nn();Ue(Ae(e),(()=>Rv?.options&&Rv.options.length>1),(t=>{var e=zx(),i=Oe(e);Ye(i,65,(()=>Rv.options),We,((t,e,n)=>{let r=()=>Te(Te(e)).id;var i=Fx();i.__change=()=>{Ig.isDual&&(Hx.noAnimation=!0,setTimeout((()=>{Hx.noAnimation=!1}),202)),Rv.select=r()},st((()=>{hn(i,"id",`forecasts-switch-input-${Ve(Pv?.data?.hash)}-${Ve(r())}`),un(i,r()===Rv.selected)})),rn(t,i)}));var s=Pe(Pe(i,!0));Ye(s,73,(()=>Rv.options),We,((t,e,n)=>{let r=()=>Te(Te(e)).id;var i=Vx(),s=Oe(i);$n(s,((t,e)=>a[e]=t),(t=>a?.[t]),(()=>[Te(Te(e)).index]));var o=Oe(s);st((()=>{hn(s,"for",`forecasts-switch-input-${Ve(Pv?.data?.hash)}-${Ve(r())}`),fn(s,"checked",r()===Rv.selected),Fe(o,Te(Te(e)).label)})),rn(t,i)})),st((()=>{fn(e,"largeFont",n()),fn(s,"no-translate-x",void 0===de(c)),pn(s,"--translate-x",`${Ve(de(c))}px`),pn(s,"--active-label-width",`${Ve(de(o)+2*r.horizontal)}px`),pn(s,"--border-padding-vertical",`${Ve(r.vertical)}px`),pn(s,"--border-padding-horizontal",`${Ve(r.horizontal)}px`)})),rn(t,e)})),rn(t,e)}),(t=>{var e=nn();Ue(Ae(e),(()=>Ev.options&&Ev.options.length>1),(t=>{var e=Bx(),i=Oe(e);Ye(i,65,(()=>Ev.options),We,((t,e,n)=>{let r=()=>Te(Te(e)).id;var i=jx();i.__change=()=>{Ev.select=r()},st((()=>{hn(i,"id",`forecasts-switch-input-${Ve(Pv?.data?.hash)}-${Ve(r())}`),un(i,r()===Ev.selected)})),rn(t,i)}));var s=Pe(Pe(i,!0));Ye(s,73,(()=>Ev.options),We,((t,e,n)=>{let r=()=>Te(Te(e)).id;var i=Ux(),s=Oe(i);$n(s,((t,e)=>a[e]=t),(t=>a?.[t]),(()=>[Te(Te(e)).index]));var o=Oe(s);st((()=>{hn(s,"for",`forecasts-switch-input-${Ve(Pv?.data?.hash)}-${Ve(r())}`),fn(s,"checked",r()===Ev.selected),Fe(o,Te(Te(e)).label)})),rn(t,i)})),st((()=>{fn(e,"largeFont",n()),fn(s,"no-translate-x",void 0===de(c)),pn(s,"--translate-x",`${Ve(de(c))}px`),pn(s,"--active-label-width",`${Ve(de(o)+2*r.horizontal)}px`),pn(s,"--border-padding-vertical",`${Ve(r.vertical)}px`),pn(s,"--border-padding-horizontal",`${Ve(r.horizontal)}px`)})),rn(t,e)}),null,!0),rn(t,e)})),rn(t,i)}),(t=>{var e=nn();Ue(Ae(e),(()=>de(i).options&&de(i).options.length>1),(t=>{var e=Gx(),s=Oe(e);Ye(s,65,(()=>de(i).options),We,((t,e,n)=>{let r=()=>Te(Te(e)).id;var s=Wx();s.__change=[qx,i,r,Lx],st((()=>{hn(s,"id",`forecasts-switch-input-${Ve(Pv?.data?.hash)}-${Ve(r())}`),un(s,r()===de(i).selected)})),rn(t,s)}));var l=Pe(Pe(s,!0));Ye(l,73,(()=>de(i).options),We,((t,e,n)=>{let r=()=>Te(Te(e)).id;var s=Yx(),o=Oe(s);$n(o,((t,e)=>a[e]=t),(t=>a?.[t]),(()=>[Te(Te(e)).index]));var l=Oe(o);st((()=>{hn(o,"for",`forecasts-switch-input-${Ve(Pv?.data?.hash)}-${Ve(r())}`),fn(o,"checked",r()===de(i).selected),Fe(l,Te(Te(e)).label)})),rn(t,s)})),st((()=>{fn(e,"largeFont",n()),fn(l,"no-translate-x",void 0===de(c)),pn(l,"--translate-x",`${Ve(de(c))}px`),pn(l,"--active-label-width",`${Ve(de(o)+2*r.horizontal)}px`),pn(l,"--border-padding-vertical",`${Ve(r.vertical)}px`),pn(l,"--border-padding-horizontal",`${Ve(r.horizontal)}px`)})),rn(t,e)}),null,!0),rn(t,e)})),rn(t,u),xe()}Ie(["change"]);const Xx=(t,e)=>{Object.entries(e).forEach((([e,n])=>{void 0!==n&&t.style.setProperty(`--${e}`,n)}))},Qx=(t,e)=>(Xx(t,e),{update(e){Xx(t,e)}});var Jx=Ze('<div class="votes svelte-1eqovee"> </div>');var Zx=Ze('<div class="diff svelte-1t2zwfq"><span class="svelte-1t2zwfq"> </span></div>');var tk=Ze('<div class="link-line svelte-1ky3xus"></div>'),ek=Ze('<div class="year-container svelte-1ky3xus"><div class="year svelte-1ky3xus"> </div> <!></div>'),nk=Ze("<div> </div>"),rk=Ze('<div class="party svelte-1ky3xus"><div class="debug svelte-1ky3xus"> <br> </div> <div class="column svelte-1ky3xus"><div class="inner svelte-1ky3xus"></div> <!></div> <div class="bottom svelte-1ky3xus"><!> <!> <!></div></div>');function ik(t,e){_e(e,!0);let n=Vn(e,"height",3,0),r=Vn(e,"value",3,!1),i=Vn(e,"text",3,!1),s=Vn(e,"diffValue",3,!1),a=Vn(e,"color",3,"#e3adf0"),o=Vn(e,"previousResult",3,!1),l=Vn(e,"width",3,"28px"),c=Vn(e,"year",3,!1),u=Vn(e,"bordered",3,!1),h=Vn(e,"shadowedVotes",3,!1),d=Vn(e,"yearExceedColumn",7),f=Vn(e,"maxBarHeight",7),p=Vn(e,"isCardAnimation",3,!1),g=Vn(e,"forbidAnimation",3,!0),v=Vn(e,"noPreviousResult",3,!1);const m=t=>`#${Number(t[0]).toString(16).padStart(2,"0")}${Number(t[1]).toString(16).padStart(2,"0")}${Number(t[2]).toString(16).padStart(2,"0")}`,y=t=>[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16)],b=(t,e,n)=>{let r=y(t),i=y(n);return r.map(((t,n)=>Math.round(e*t+(1-e)*i[n])))},w=Tt((()=>cv.darkMode?"#1f1e1c":"#ffffff")),_=Tt((()=>cv.darkMode?.5:.4)),x=Tt((()=>(cv.darkMode,.6)));let k=Tt((()=>({height:"calc("+n()+"% - 0px)",width:l(),color:a(),colorFlatBar:m(b(a(),de(_),de(w))),colorFlatTypo:m(b(a(),de(x),de(w)))}))),S=G(0);const T=Tt((()=>{if(!c())return{yearFitsNotInColumn:!0,enoughSpaceToShowYearAbove:!0,linkLineHeight:0,showYearAbove:!1,yearAboveColor:"",yearInsideColor:""};const t=(o(),f()-70),e=gt(cv.darkMode?"white":"black");return{yearFitsNotInColumn:!0,enoughSpaceToShowYearAbove:!0,linkLineHeight:t,showYearAbove:!0,yearAboveColor:gt(o()?de(k).rgbaColor40:a()),yearInsideColor:gt(o()?e:hx(a()))}}));nt((()=>!o()&&d(de(T).yearFitsNotInColumn))),nt((()=>{(!f()||f()<de(S))&&f(de(S)),0===f()&&f(112)}));var C=rk(),M=Oe(C),R=Oe(M),E=Pe(R),O=Pe(E,!0),A=Pe(Pe(M,!0)),P=Oe(A);Ue(Pe(Pe(P,!0)),c,(t=>{var e=ek(),n=Oe(e),r=Oe(n);Ue(Pe(Pe(n,!0)),(()=>!0),(t=>{var e=tk();st((()=>fn(e,"previousResult",o()))),rn(t,e)})),st((()=>{fn(n,"previousResult",o()),Fe(r,c())})),rn(t,e)}));var $=Pe(Pe(A,!0)),I=Oe($);Ue(I,i,(t=>{var e=nk(),n=Oe(e);st((()=>{dn(e,`text ${Ve(i())} svelte-1ky3xus`),Fe(n,i())})),rn(t,e)}));var D=Pe(Pe(I,!0));!function(t,e){_e(e,!0);const n=Vn(e,"votes",3,!1),r=Vn(e,"shadowed",3,!1),i=Vn(e,"isCardAnimation",3,!1);Vn(e,"forbidAnimation",3,!0);const s=Wv(n());nt((()=>{i()&&(s.value=n())}));var a=nn();Ue(Ae(a),n,(t=>{var e=Jx(),i=Oe(e);st((()=>{fn(e,"shadowed",r()),fn(e,"liveUpdate",s.showLiveUpdate),Fe(i,n())})),rn(t,e)})),rn(t,a),xe()}(D,{get votes(){return r()},get shadowed(){return h()},get isCardAnimation(){return p()},get forbidAnimation(){return g()}}),Ue(Pe(Pe(D,!0)),s,(t=>{var e=nn();!function(t,e){_e(e,!0);const n=Vn(e,"diffValue",3,!1),r=Vn(e,"isCardAnimation",3,!1);Vn(e,"forbidAnimation",3,!0);const i=Wv(n());nt((()=>{r()&&(i.value=n())}));var s=Zx(),a=Oe(s),o=Oe(a);st((()=>{fn(a,"liveUpdate",i.showLiveUpdate),Fe(o,n())})),rn(t,s),xe()}(Ae(e),{get diffValue(){return s()},get isCardAnimation(){return p()},get forbidAnimation(){return g()}}),rn(t,e)})),st((()=>{fn(C,"previousResult",o()),Fe(R,d()?"yes":"no"),Fe(O,f()),fn(P,"previousResult",o()),fn(P,"bordered",u()),fn($,"noPreviousResult",v())})),ln(C,((t,e)=>Qx(t,e)),(()=>de(k))),An(P,"clientHeight",(t=>X(S,t))),rn(t,C),xe()}var sk=Ze('<div class="element svelte-nm91r9"><div class="svelte-nm91r9"><!></div></div>');function ak(t,e){_e(e,!0);const n=Vn(e,"width",3,"56px"),r=Vn(e,"marginPreviousResult",3,"-6px"),i=Vn(e,"noPreviousResult",3,!1),s=Vn(e,"groupMargin",3,"0"),a=Vn(e,"children",3,void 0);let o=Tt((()=>({width:n(),marginPreviousResult:r(),noPreviousResult:i(),groupMargin:s()})));var l=sk(),c=Oe(l);an(a,Oe(c)),st((()=>fn(l,"noPreviousResult",i()))),ln(l,((t,e)=>Qx(t,e)),(()=>de(o))),rn(t,l),xe()}var ok=Ze("<!> <!>",1),lk=Ze('<div class="empty svelte-5k2qa3"></div>'),ck=Ze("<!> <!>",1),uk=Ze('<div class="resultContainer svelte-5k2qa3"><!></div>');function hk(t,e){_e(e,!0);let n=Vn(e,"currentYear",3,""),r=Vn(e,"previousYear",3,""),i=Vn(e,"resultType",3,""),s=Vn(e,"scrollLeft",3,0),a=Vn(e,"showLeftShadow",7,!1),o=Vn(e,"showRightShadow",7,!1),l=Vn(e,"noTopPadding",3,!1),c=Vn(e,"isCardAnimation",3,!1),u=Vn(e,"forbidAnimation",3,!0),h=Vn(e,"hideOthersIfNotEnoughSpace",3,!1),d=G(null),f=G(0),p=G(0),g=gt([]),v=gt([]),m=gt([]),y=gt([]);nt((()=>{e.results,de(f),a(s()>0);const t=de(d)?.scrollWidth-de(d)?.clientWidth;o(s()<t-16)}));const b=Tt((()=>Ig.widthHideOthers?Ig.widthHideOthers:e.widthHideOthers?e.widthHideOthers:300));var w=uk();$n(w,(t=>X(d,gt(t))),(()=>de(d))),Ue(Oe(w),(()=>"double"===i()),(t=>{var i=nn();Ye(Ae(i),65,(()=>e.results),We,((t,i,s)=>{var a=nn();Ye(Ae(a),71,(()=>Te(i).$results),((t,e)=>Te(t).partyId+Te(e)),((t,i,a)=>{var o=nn(),l=Ae(o),h=Tt((()=>!Te(i).$previousHeightPercentage)),d=Tt((()=>1===Te(a)?e.css.groupMargin:"0"));ak(l,{get width(){return e.css.columnWidth},get marginPreviousResult(){return e.css.marginPreviousResult},get noPreviousResult(){return de(h)},get groupMargin(){return de(d)},children:(t,o)=>{var l=ok(),h=Ae(l);Ue(h,(()=>Te(i).$previousHeightPercentage),(t=>{var n=nn(),o=Ae(n),l=Tt((()=>0===Te(s)&&0===Te(a)&&r())),h=Tt((()=>1===Te(a)));ik(o,{get height(){return Te(i).$previousHeightPercentage},get width(){return e.css.columnWidth},previousResult:!0,get year(){return de(l)},get color(){return Te(i).$meta.$color},get bordered(){return de(h)},get yearExceedColumn(){return m[Te(s)]},set yearExceedColumn(t){m[Te(s)]=t},get maxBarHeight(){return y[Te(s)]},set maxBarHeight(t){y[Te(s)]=t},id:Te(s),get isCardAnimation(){return c()},get forbidAnimation(){return u()}}),rn(t,n)}));var d=Pe(Pe(h,!0)),f=Tt((()=>Te(i).$diffValue?.str)),p=Tt((()=>0===Te(s)&&0===Te(a)&&n())),b=Tt((()=>1===Te(a)));ik(d,{get height(){return Te(i).$heightPercentage},get width(){return e.css.columnWidth},get value(){return Te(i).$shareValue.str},get diffValue(){return de(f)},get text(){return Te(i).$meta.abbr},get year(){return de(p)},get color(){return Te(i).$meta.$color},get bordered(){return de(b)},shadowedVotes:!0,get yearExceedColumn(){return g[Te(s)]},set yearExceedColumn(t){g[Te(s)]=t},get maxBarHeight(){return v[Te(s)]},set maxBarHeight(t){v[Te(s)]=t},id:Te(s),get isCardAnimation(){return c()},get forbidAnimation(){return u()}}),rn(t,l)},$$slots:{default:!0}}),rn(t,o)})),rn(t,a)})),rn(t,i)}),(t=>{var i=nn();Ye(Ae(i),71,(()=>e.results),((t,e)=>Te(t).partyId),((t,i,s)=>{var a=nn();Ue(Ae(a),(()=>((t,n)=>{let r=!0;return h()&&de(f)<de(b)&&e.partyIdForOthers&&t.$meta.id===e.partyIdForOthers&&(r=!1),!Ig.isWidget||Hx.isVertical||Hx.isTwoThirds||e.results.length>7&&t.$meta.id===e.partyIdForOthers&&(r=!1),r})(Te(i),Te(s))),(t=>{var a=nn(),o=Ae(a),l=Tt((()=>!Te(i).$previousHeightPercentage));ak(o,{get width(){return e.css.columnWidth},get marginPreviousResult(){return e.css.marginPreviousResult},get noPreviousResult(){return de(l)},children:(t,a)=>{var o=ck(),l=Ae(o);Ue(l,(()=>Te(i).$previousHeightPercentage),(t=>{var n=nn(),a=Ae(n),o=Tt((()=>0===Te(s)&&r()));ik(a,{get height(){return Te(i).$previousHeightPercentage},get width(){return e.css.columnWidth},previousResult:!0,get year(){return de(o)},get color(){return Te(i).$meta.$color},get yearExceedColumn(){return m[Te(s)]},set yearExceedColumn(t){m[Te(s)]=t},get maxBarHeight(){return y[Te(s)]},set maxBarHeight(t){y[Te(s)]=t},get id(){return Te(s)},get isCardAnimation(){return c()},get forbidAnimation(){return u()}}),rn(t,n)}),(t=>{rn(t,lk())}));var h=Pe(Pe(l,!0)),d=Tt((()=>Te(i).$diffValue?.str)),f=Tt((()=>0===Te(s)&&n())),p=Tt((()=>!Te(i).$previousHeightPercentage));ik(h,{get height(){return Te(i).$heightPercentage},get width(){return e.css.columnWidth},get value(){return Te(i).$shareValue.str},get diffValue(){return de(d)},get text(){return Te(i).$meta.abbr},get year(){return de(f)},get color(){return Te(i).$meta.$color},get yearExceedColumn(){return g[Te(s)]},set yearExceedColumn(t){g[Te(s)]=t},get maxBarHeight(){return v[Te(s)]},set maxBarHeight(t){v[Te(s)]=t},get id(){return Te(s)},get isCardAnimation(){return c()},get forbidAnimation(){return u()},get noPreviousResult(){return de(p)}}),rn(t,o)},$$slots:{default:!0}}),rn(t,a)})),rn(t,a)})),rn(t,i)})),st((()=>fn(w,"no-top-padding",l()))),ln(w,((t,e)=>Qx(t,e)),(()=>e.css)),An(w,"clientWidth",(t=>X(f,t))),An(w,"clientHeight",(t=>X(p,t))),rn(t,w),xe()}var dk,fk,pk,gk,vk,mk,yk,bk,wk=function(){return"undefined"!=typeof window},_k=function(){return dk||wk()&&(dk=window.gsap)&&dk.registerPlugin&&dk},xk=function(t){return"string"==typeof t},kk=function(t){return"function"==typeof t},Sk=function(t,e){var n="x"===e?"Width":"Height",r="scroll"+n,i="client"+n;return t===pk||t===gk||t===vk?Math.max(gk[r],vk[r])-(pk["inner"+n]||gk[i]||vk[i]):t[r]-t["offset"+n]},Tk=function(t,e){var n="scroll"+("x"===e?"Left":"Top");return t===pk&&(null!=t.pageXOffset?n="page"+e.toUpperCase()+"Offset":t=null!=gk[n]?gk:vk),function(){return t[n]}},Ck=function(t,e){if(!(t=mk(t)[0])||!t.getBoundingClientRect)return{x:0,y:0};var n=t.getBoundingClientRect(),r=!e||e===pk||e===vk,i=r?{top:gk.clientTop-(pk.pageYOffset||gk.scrollTop||vk.scrollTop||0),left:gk.clientLeft-(pk.pageXOffset||gk.scrollLeft||vk.scrollLeft||0)}:e.getBoundingClientRect(),s={x:n.left-i.left,y:n.top-i.top};return!r&&e&&(s.x+=Tk(e,"x")(),s.y+=Tk(e,"y")()),s},Mk=function(t,e,n,r,i){return isNaN(t)||"object"==typeof t?xk(t)&&"="===t.charAt(1)?parseFloat(t.substr(2))*("-"===t.charAt(0)?-1:1)+r-i:"max"===t?Sk(e,n)-i:Math.min(Sk(e,n),Ck(t,e)[n]-i):parseFloat(t)-i},Rk=function(){dk=_k(),wk()&&dk&&"undefined"!=typeof document&&document.body&&(pk=window,vk=document.body,gk=document.documentElement,mk=dk.utils.toArray,dk.config({autoKillThreshold:7}),yk=dk.config(),fk=1)},Ek={version:"3.12.5",name:"scrollTo",rawVars:1,register:function(t){dk=t,Rk()},init:function(t,e,n,r,i){fk||Rk();var s=this,a=dk.getProperty(t,"scrollSnapType");s.isWin=t===pk,s.target=t,s.tween=n,e=function(t,e,n,r){if(kk(t)&&(t=t(e,n,r)),"object"!=typeof t)return xk(t)&&"max"!==t&&"="!==t.charAt(1)?{x:t,y:t}:{y:t};if(t.nodeType)return{y:t,x:t};var i,s={};for(i in t)s[i]="onAutoKill"!==i&&kk(t[i])?t[i](e,n,r):t[i];return s}(e,r,t,i),s.vars=e,s.autoKill=!!e.autoKill,s.getX=Tk(t,"x"),s.getY=Tk(t,"y"),s.x=s.xPrev=s.getX(),s.y=s.yPrev=s.getY(),bk||(bk=dk.core.globals().ScrollTrigger),"smooth"===dk.getProperty(t,"scrollBehavior")&&dk.set(t,{scrollBehavior:"auto"}),a&&"none"!==a&&(s.snap=1,s.snapInline=t.style.scrollSnapType,t.style.scrollSnapType="none"),null!=e.x?(s.add(s,"x",s.x,Mk(e.x,t,"x",s.x,e.offsetX||0),r,i),s._props.push("scrollTo_x")):s.skipX=1,null!=e.y?(s.add(s,"y",s.y,Mk(e.y,t,"y",s.y,e.offsetY||0),r,i),s._props.push("scrollTo_y")):s.skipY=1},render:function(t,e){for(var n,r,i,s,a,o=e._pt,l=e.target,c=e.tween,u=e.autoKill,h=e.xPrev,d=e.yPrev,f=e.isWin,p=e.snap,g=e.snapInline;o;)o.r(t,o.d),o=o._next;n=f||!e.skipX?e.getX():h,i=(r=f||!e.skipY?e.getY():d)-d,s=n-h,a=yk.autoKillThreshold,e.x<0&&(e.x=0),e.y<0&&(e.y=0),u&&(!e.skipX&&(s>a||s<-a)&&n<Sk(l,"x")&&(e.skipX=1),!e.skipY&&(i>a||i<-a)&&r<Sk(l,"y")&&(e.skipY=1),e.skipX&&e.skipY&&(c.kill(),e.vars.onAutoKill&&e.vars.onAutoKill.apply(c,e.vars.onAutoKillParams||[]))),f?pk.scrollTo(e.skipX?n:e.x,e.skipY?r:e.y):(e.skipY||(l.scrollTop=e.y),e.skipX||(l.scrollLeft=e.x)),!p||1!==t&&0!==t||(r=l.scrollTop,n=l.scrollLeft,g?l.style.scrollSnapType=g:l.style.removeProperty("scroll-snap-type"),l.scrollTop=r+1,l.scrollLeft=n+1,l.scrollTop=r,l.scrollLeft=n),e.xPrev=e.x,e.yPrev=e.y,bk&&bk.update()},kill:function(t){var e="scrollTo"===t,n=this._props.indexOf(t);return(e||"scrollTo_x"===t)&&(this.skipX=1),(e||"scrollTo_y"===t)&&(this.skipY=1),n>-1&&this._props.splice(n,1),!this._props.length}};Ek.max=Sk,Ek.getOffset=Ck,Ek.buildGetter=Tk,_k()&&dk.registerPlugin(Ek);var Ok=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,Ak=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,Pk=Math.PI/180,$k=Math.sin,Ik=Math.cos,Dk=Math.abs,Nk=Math.sqrt,Lk=1e5,Hk=function(t){return Math.round(t*Lk)/Lk||0};function Fk(t,e,n,r,i,s,a,o,l){if(t!==o||e!==l){n=Dk(n),r=Dk(r);var c=i%360*Pk,u=Ik(c),h=$k(c),d=Math.PI,f=2*d,p=(t-o)/2,g=(e-l)/2,v=u*p+h*g,m=-h*p+u*g,y=v*v,b=m*m,w=y/(n*n)+b/(r*r);w>1&&(n=Nk(w)*n,r=Nk(w)*r);var _=n*n,x=r*r,k=(_*x-_*b-x*y)/(_*b+x*y);k<0&&(k=0);var S=(s===a?-1:1)*Nk(k),T=S*(n*m/r),C=S*(-r*v/n),M=(t+o)/2+(u*T-h*C),R=(e+l)/2+(h*T+u*C),E=(v-T)/n,O=(m-C)/r,A=(-v-T)/n,P=(-m-C)/r,$=E*E+O*O,I=(O<0?-1:1)*Math.acos(E/Nk($)),D=(E*P-O*A<0?-1:1)*Math.acos((E*A+O*P)/Nk($*(A*A+P*P)));isNaN(D)&&(D=d),!a&&D>0?D-=f:a&&D<0&&(D+=f),I%=f,D%=f;var N,L=Math.ceil(Dk(D)/(f/4)),H=[],F=D/L,V=4/3*$k(F/2)/(1+Ik(F/2)),z=u*n,j=h*n,U=h*-r,B=u*r;for(N=0;N<L;N++)v=Ik(i=I+N*F),m=$k(i),E=Ik(i+=F),O=$k(i),H.push(v-V*m,m+V*v,E+V*O,O-V*E,E,O);for(N=0;N<H.length;N+=2)v=H[N],m=H[N+1],H[N]=v*z+m*U+M,H[N+1]=v*j+m*B+R;return H[N-2]=o,H[N-1]=l,H}}var Vk,zk,jk=function(){return Vk||"undefined"!=typeof window&&(Vk=window.gsap)&&Vk.registerPlugin&&Vk},Uk=function(){(Vk=jk())&&(Vk.registerEase("_CE",Gk.create),zk=1)},Bk=function(t){return~~(1e3*t+(t<0?-.5:.5))/1e3},qk=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,Wk=/[cLlsSaAhHvVtTqQ]/g,Yk=function t(e,n,r,i,s,a,o,l,c,u,h){var d,f=(e+r)/2,p=(n+i)/2,g=(r+s)/2,v=(i+a)/2,m=(s+o)/2,y=(a+l)/2,b=(f+g)/2,w=(p+v)/2,_=(g+m)/2,x=(v+y)/2,k=(b+_)/2,S=(w+x)/2,T=o-e,C=l-n,M=Math.abs((r-o)*C-(i-l)*T),R=Math.abs((s-o)*C-(a-l)*T);return u||(u=[{x:e,y:n},{x:o,y:l}],h=1),u.splice(h||u.length-1,0,{x:k,y:S}),(M+R)*(M+R)>c*(T*T+C*C)&&(d=u.length,t(e,n,f,p,b,w,k,S,c,u,h),t(k,S,_,x,m,y,o,l,c,u,h+1+(u.length-d))),u},Gk=function(){function t(t,e,n){zk||Uk(),this.id=t,this.setData(e,n)}var e=t.prototype;return e.setData=function(t,e){e=e||{};var n,r,i,s,a,o,l,c,u,h=(t=t||"0,0,1,1").match(qk),d=1,f=[],p=[],g=e.precision||1,v=g<=1;if(this.data=t,(Wk.test(t)||~t.indexOf("M")&&t.indexOf("C")<0)&&(h=function(t){var e,n,r,i,s,a,o,l,c,u,h,d,f,p,g,v=(t+"").replace(Ak,(function(t){var e=+t;return e<1e-4&&e>-1e-4?0:e})).match(Ok)||[],m=[],y=0,b=0,w=2/3,_=v.length,x=0,k=function(t,e,n,r){u=(n-t)/3,h=(r-e)/3,o.push(t+u,e+h,n-u,r-h,n,r)};if(!t||!isNaN(v[0])||isNaN(v[1]))return m;for(e=0;e<_;e++)if(f=s,isNaN(v[e])?a=(s=v[e].toUpperCase())!==v[e]:e--,r=+v[e+1],i=+v[e+2],a&&(r+=y,i+=b),e||(l=r,c=i),"M"===s)o&&(o.length<8?m.length-=1:x+=o.length),y=l=r,b=c=i,o=[r,i],m.push(o),e+=2,s="L";else if("C"===s)o||(o=[0,0]),a||(y=b=0),o.push(r,i,y+1*v[e+3],b+1*v[e+4],y+=1*v[e+5],b+=1*v[e+6]),e+=6;else if("S"===s)u=y,h=b,"C"!==f&&"S"!==f||(u+=y-o[o.length-4],h+=b-o[o.length-3]),a||(y=b=0),o.push(u,h,r,i,y+=1*v[e+3],b+=1*v[e+4]),e+=4;else if("Q"===s)u=y+(r-y)*w,h=b+(i-b)*w,a||(y=b=0),y+=1*v[e+3],b+=1*v[e+4],o.push(u,h,y+(r-y)*w,b+(i-b)*w,y,b),e+=4;else if("T"===s)u=y-o[o.length-4],h=b-o[o.length-3],o.push(y+u,b+h,r+(y+1.5*u-r)*w,i+(b+1.5*h-i)*w,y=r,b=i),e+=2;else if("H"===s)k(y,b,y=r,b),e+=1;else if("V"===s)k(y,b,y,b=r+(a?b-y:0)),e+=1;else if("L"===s||"Z"===s)"Z"===s&&(r=l,i=c,o.closed=!0),("L"===s||Dk(y-r)>.5||Dk(b-i)>.5)&&(k(y,b,r,i),"L"===s&&(e+=2)),y=r,b=i;else if("A"===s){if(p=v[e+4],g=v[e+5],u=v[e+6],h=v[e+7],n=7,p.length>1&&(p.length<3?(h=u,u=g,n--):(h=g,u=p.substr(2),n-=2),g=p.charAt(1),p=p.charAt(0)),d=Fk(y,b,+v[e+1],+v[e+2],+v[e+3],+p,+g,(a?y:0)+1*u,(a?b:0)+1*h),e+=n,d)for(n=0;n<d.length;n++)o.push(d[n]);y=o[o.length-2],b=o[o.length-1]}return(e=o.length)<6?(m.pop(),e=0):o[0]===o[e-2]&&o[1]===o[e-1]&&(o.closed=!0),m.totalPoints=x+e,m}(t)[0]),4===(n=h.length))h.unshift(0,0),h.push(1,1),n=8;else if((n-2)%6)throw"Invalid CustomEase";for(0==+h[0]&&1==+h[n-2]||function(t,e,n){n||0===n||(n=Math.max(+t[t.length-1],+t[1]));var r,i=-1*+t[0],s=-n,a=t.length,o=1/(+t[a-2]+i),l=-e||(Math.abs(+t[a-1]-+t[1])<.01*(+t[a-2]-+t[0])?function(t){var e,n=t.length,r=1e20;for(e=1;e<n;e+=6)+t[e]<r&&(r=+t[e]);return r}(t)+s:+t[a-1]+s);for(l=l?1/l:-o,r=0;r<a;r+=2)t[r]=(+t[r]+i)*o,t[r+1]=(+t[r+1]+s)*l}(h,e.height,e.originY),this.segment=h,s=2;s<n;s+=6)r={x:+h[s-2],y:+h[s-1]},i={x:+h[s+4],y:+h[s+5]},f.push(r,i),Yk(r.x,r.y,+h[s],+h[s+1],+h[s+2],+h[s+3],i.x,i.y,1/(2e5*g),f,f.length-1);for(n=f.length,s=0;s<n;s++)l=f[s],c=f[s-1]||l,(l.x>c.x||c.y!==l.y&&c.x===l.x||l===c)&&l.x<=1?(c.cx=l.x-c.x,c.cy=l.y-c.y,c.n=l,c.nx=l.x,v&&s>1&&Math.abs(c.cy/c.cx-f[s-2].cy/f[s-2].cx)>2&&(v=0),c.cx<d&&(c.cx?d=c.cx:(c.cx=.001,s===n-1&&(c.x-=.001,d=Math.min(d,.001),v=0)))):(f.splice(s--,1),n--);if(a=1/(n=1/d+1|0),o=0,l=f[0],v){for(s=0;s<n;s++)u=s*a,l.nx<u&&(l=f[++o]),r=l.y+(u-l.x)/l.cx*l.cy,p[s]={x:u,cx:a,y:r,cy:0,nx:9},s&&(p[s-1].cy=r-p[s-1].y);p[n-1].cy=f[f.length-1].y-r}else{for(s=0;s<n;s++)l.nx<s*a&&(l=f[++o]),p[s]=l;o<f.length-1&&(p[s-1]=f[f.length-2])}return this.ease=function(t){var e=p[t*n|0]||p[n-1];return e.nx<t&&(e=e.n),e.y+(t-e.x)/e.cx*e.cy},this.ease.custom=this,this.id&&Vk&&Vk.registerEase(this.id,this.ease),this},e.getSVGData=function(e){return t.getSVGData(this,e)},t.create=function(e,n,r){return new t(e,n,r).ease},t.register=function(t){Vk=t,Uk()},t.get=function(t){return Vk.parseEase(t)},t.getSVGData=function(e,n){var r,i,s,a,o,l,c,u,h,d,f=(n=n||{}).width||100,p=n.height||100,g=n.x||0,v=(n.y||0)+p,m=Vk.utils.toArray(n.path)[0];if(n.invert&&(p=-p,v=0),"string"==typeof e&&(e=Vk.parseEase(e)),e.custom&&(e=e.custom),e instanceof t)r=function(t){(function(t){return"number"==typeof t})(t[0])&&(t=[t]);var e,n,r,i,s="",a=t.length;for(n=0;n<a;n++){for(i=t[n],s+="M"+Hk(i[0])+","+Hk(i[1])+" C",e=i.length,r=2;r<e;r++)s+=Hk(i[r++])+","+Hk(i[r++])+" "+Hk(i[r++])+","+Hk(i[r++])+" "+Hk(i[r++])+","+Hk(i[r])+" ";i.closed&&(s+="z")}return s}(function(t,e,n,r,i,s,a){for(var o,l,c,u,h,d=t.length;--d>-1;)for(l=(o=t[d]).length,c=0;c<l;c+=2)u=o[c],h=o[c+1],o[c]=u*e+h*r+s,o[c+1]=u*n+h*i+a;return t._dirty=1,t}([e.segment],f,0,0,-p,g,v));else{for(r=[g,v],a=1/(c=Math.max(5,200*(n.precision||1))),u=5/(c+=2),h=Bk(g+a*f),i=((d=Bk(v+e(a)*-p))-v)/(h-g),s=2;s<c;s++)o=Bk(g+s*a*f),l=Bk(v+e(s*a)*-p),(Math.abs((l-d)/(o-h)-i)>u||s===c-1)&&(r.push(h,d),i=(l-d)/(o-h)),h=o,d=l;r="M"+r.join(",")}return m&&m.setAttribute("d",r),r},t}();jk()&&Vk.registerPlugin(Gk),Gk.version="3.12.5";var Kk=(t,e)=>e("left"),Xk=Ze('<button class="svelte-ac37i5"><!></button>'),Qk=Ze('<div class="shadowGradient leftShadow svelte-ac37i5"><!></div>'),Jk=(t,e)=>e("right"),Zk=Ze('<button class="svelte-ac37i5"><!></button>'),tS=Ze('<div class="shadowGradient rightShadow svelte-ac37i5"><!></div>'),eS=Ze('<div class="outerShadowed svelte-ac37i5"><!> <div class="horizontalScrollContainer svelte-ac37i5"><!></div> <!></div>');function nS(t,e){_e(e,!0);let n=Vn(e,"scrollLeft",7,0),r=Vn(e,"showLeftShadow",7),i=Vn(e,"showRightShadow",7);P_.registerPlugin(Ek,Gk);const s=Tt((()=>!cv.device.isTouch));let a,o,l=!0,c=G(null),u=G(!0),h=G(!1),d=G(0),f=G(!1),p=0;const g=t=>{v();const e=de(c);if(e){const n=e.scrollLeft;"left"===t?e.scrollLeft=n-80:"right"===t&&(e.scrollLeft=n+80)}},v=()=>{l&&(P_.killTweensOf(de(c)),l=!1,m(),y())},m=()=>{de(c)?de(c).classList.add("smooth"):setTimeout(m,303)};const y=()=>{if(Ig.noPreventScroll)return;de(c).scrollWidth-de(c).getBoundingClientRect().width<27?(X(f,!0),r(!1),i(!1),X(h,!0)):(X(f,!1),X(h,!1))};nt((()=>{if(!Ig.noPreventScroll){let t=!1;a===r()&&o===i()||(a=r(),o=i(),t=!0),de(d)!==p&&(p=de(d),t=!0),t&&!de(f)&&y(),X(f,!1)}}));var b=eS(),w=Oe(b);Ue(w,(()=>r()&&!de(h)),(t=>{var e=Qk();Sn(3,e,(()=>Hv)),Ue(Oe(e),(()=>de(s)),(t=>{var e=Xk();e.__click=[Kk,g],L_(Oe(e),{type:"dark",direction:"left"}),rn(t,e)})),rn(t,e)}));var _=Pe(Pe(w,!0));$n(_,(t=>X(c,gt(t))),(()=>de(c))),_.__touchstart=v,_.__click=v,an((()=>e.children),Oe(_)),Ue(Pe(Pe(_,!0)),(()=>i()&&!de(h)),(t=>{var e=tS();Sn(3,e,(()=>Hv)),Ue(Oe(e),(()=>de(s)),(t=>{var e=Zk();e.__click=[Jk,g],L_(Oe(e),{type:"dark",direction:"right"}),rn(t,e)})),rn(t,e)})),st((()=>{fn(b,"showLeftShadow",r()),fn(b,"showRightShadow",i()),fn(_,"overflowX",r()||i()),fn(_,"noScroll",de(h))})),ln(b,((t,e)=>_x(t,e)),(()=>({rootMargin:`-${cv.headerHeight??0}px`,threshold:0}))),$e("inview_enter",b,(function(){if(l){const t=de(c).scrollWidth-de(c).getBoundingClientRect().width;if(t>33){let e=P_.timeline();e.to(de(c),{duration:.4,ease:"power1.inOut",scrollTo:{x:t}}),e.to(de(c),{duration:.9,ease:Gk.create("custom","M0,0 C0.11,0.494 0.377,0.98 0.469,1 0.523,1.012 0.636,0.945 0.754,0.941 0.832,0.938 0.9,1 1,1 "),onComplete:v,scrollTo:{x:0}})}else v()}}),!1),An(_,"clientWidth",(t=>X(d,t))),ln(_,((t,e)=>Gv(t,e)),(()=>({axis:"x",event:"mouse",cursor:!1}))),$e("scroll",_,(()=>{n(de(c)?.scrollLeft||0)}),!1),$e("dragging",_,(()=>X(u,!1)),!1),$e("draggingend",_,(()=>X(u,!0)),!1),rn(t,b),xe()}Ie(["click","touchstart"]);var rS=Ze('<div class="footnote svelte-136berm"><!></div>');function iS(t,e){var n=rS();sn(Oe(n),(()=>e.noteStr)),rn(t,n)}var sS=Ze('<div class="list-votes svelte-965ta7"><div class="description svelte-965ta7"><span class="subline"><!></span> <!></div> <div class="body svelte-965ta7"><!> <!></div></div>');const aS=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);let n=Vn(e,"columnHeight",3,120),r=Ln(e,["results","subline","useReturningResults","columnHeight","noteStr","data"]);const i=Tt((()=>e.data.config.settings));let s=Tt((()=>e.results?.listVotes)),a=G(0),o=Tt((()=>de(a)<400)),l=Tt((()=>({listVotesHeight:n()+"px",columnHeight:n()+"px",marginParty:de(o)?"12px":"16px",marginPreviousResult:de(o)?"-3px":"-6px",columnWidth:de(o)?"22px":"28px"}))),c=G(0),u=G(!1),h=G(!1),d=Tt((()=>Bv.cards.find((t=>t?.navi===r.navi))?.isCardAnimation));var f=sS(),p=Oe(f),g=Oe(p);sn(Oe(g),(()=>e.subline?.replace(/\{partyVotes\}/g,sx("cardVariables","partyVotes")).replace(/\{resultType\}/g,sx("resultTypes",e.results?.type)))),Ue(Pe(Pe(g,!0)),(()=>!e.useReturningResults),(t=>{var e=nn();Kx(Ae(e),{}),rn(t,e)}));var v=Oe(Pe(Pe(p,!0)));nS(v,{get scrollLeft(){return de(c)},set scrollLeft(t){X(c,gt(t))},get showLeftShadow(){return de(u)},get showRightShadow(){return de(h)},children:(t,e)=>{var n=nn(),r=Ae(n),a=Tt((()=>de(s)?.results)),o=Tt((()=>!Ig.liveUpdate));hk(r,{get results(){return de(a)},get css(){return de(l)},get scrollLeft(){return de(c)},get currentYear(){return de(i).$dateCurrentYear},get previousYear(){return de(i).$datePreviousYear},get showLeftShadow(){return de(u)},set showLeftShadow(t){X(u,gt(t))},get showRightShadow(){return de(h)},set showRightShadow(t){X(h,gt(t))},get isCardAnimation(){return de(d)},get forbidAnimation(){return de(o)}}),rn(t,n)},$$slots:{default:!0}}),Ue(Pe(Pe(v,!0)),(()=>e.noteStr),(t=>{var n=nn();iS(Ae(n),{get noteStr(){return e.noteStr}}),rn(t,n)})),An(f,"clientWidth",(t=>X(a,t))),rn(t,f),xe()}},Symbol.toStringTag,{value:"Module"}));function oS({coalitionConfig:t,results:e,parties:n,totalSeats:r,threshold:i,dimensionScale:s=Lg({max:r})}){if(!t||!e)return;const{parties:a}=t,o=a.map((t=>{const r=n.find((e=>e.id===t)),i=e.find((e=>e.partyId===t)),a=s(i?.currentSeats||0).toFixed(2);return{...r,...i,widthPercentage:a,isNotInCoalition:0===i?.currentSeats}})),l=function(t,e){let n=0;if(void 0===e)for(let r of t)(r=+r)&&(n+=r);else{let r=-1;for(let i of t)(i=+e(i,++r,t))&&(n+=i)}return n}(o,(t=>t.currentSeats));return{...t,parties:o,currentSeats:l,isMajority:l>=i,isPartyMissing:o.some((t=>t.isNotInCoalition))}}var lS=tn('<svg xmlns="http://www.w3.org/2000/svg" width="11.86" height="10.86" viewBox="0 0 11.86 10.86"><circle cx="5.43" cy="5.43" r="5.43" class="svelte-eew9ia"></circle><path d="m7.89,3.38l-3.54,4.55-1.52-2.02" class="svelte-eew9ia"></path></svg>');var cS=tn('<svg width="10.9" height="10.9" viewBox="0 0 10.9 10.9" fill="none"><circle class="cls-1 svelte-eew9ia" cx="5.4" cy="5.4" r="5.4"></circle><path class="cls-2 svelte-eew9ia" d="M3.1,3.1l4.6,4.6"></path><path class="cls-2 svelte-eew9ia" d="M3.1,7.7L7.7,3.1"></path></svg>');var uS=Ze('<div class="segment svelte-1qhm78m"></div>'),hS=Ze('<div class="bar svelte-1qhm78m"><div class="segments svelte-1qhm78m"></div> <div class="majority-mark svelte-1qhm78m"></div></div>');var dS=Ze('<div class="coalition svelte-1p4ntx"><div class="description svelte-1p4ntx"><span class="name-wrapper svelte-1p4ntx"><!> <span class="name"> </span> <span class="incumbent-string svelte-1p4ntx"> </span></span> <span class="seats svelte-1p4ntx"> </span></div> <div class="bar-wrapper"><!></div></div>');function fS(t,e){_e(e,!0);const n=Wv(e.currentSeats);nt((()=>{e.isCardAnimation&&(n.value=e.currentSeats)}));var r=dS(),i=Oe(r),s=Oe(i),a=Oe(s);Ue(a,(()=>e.isMajority&&!e.isPartyMissing),(t=>{var e=nn();!function(t){rn(t,lS())}(Ae(e)),rn(t,e)}),(t=>{var e=nn();!function(t){rn(t,cS())}(Ae(e)),rn(t,e)}));var o=Pe(Pe(a,!0)),l=Oe(o),c=Pe(Pe(o,!0)),u=Oe(c),h=Pe(Pe(s,!0)),d=Oe(h);!function(t,e){var n=hS();Ye(Oe(n),73,(()=>e.parties),We,((t,e,n)=>{var r=nn();Ue(Ae(r),(()=>Te(e).$meta),(t=>{var n=uS();st((()=>{pn(n,"width",`${Ve(Te(e).widthPercentage)}%`),pn(n,"background",Te(e).$meta.$color)})),rn(t,n)})),rn(t,r)})),rn(t,n)}(Oe(Pe(Pe(i,!0))),{get parties(){return e.parties}}),st((()=>{fn(r,"smallFont",Hx.isVertical),Fe(l,e.name),fn(c,"hide",!e.isIncumbent),Fe(u,e.incumbentStr),fn(h,"is-bold",e.isMajority&&!e.isPartyMissing),fn(h,"liveUpdate",n.showLiveUpdate),Fe(d,e.currentSeats)})),rn(t,r),xe()}var pS=Ze('<div class="additionalInfo svelte-1lsm5op"><!></div>');function gS(t,e){var n=pS();sn(Oe(n),(()=>e.addInfo)),rn(t,n)}var vS=Ze('<div class="coalition-wrapper svelte-1rg7tuz"><!></div>'),mS=Ze('<div class="coalitions svelte-1rg7tuz"><div class="description svelte-1rg7tuz"><!></div> <div class="body svelte-1rg7tuz"><!> <!></div></div>');const yS=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);let n=Ln(e,["coalitions","results","parties","subline","incumbentStr"]);const r=Tt((()=>e.results.listVotes)),i=Tt((()=>de(r)?.additionalInformation?.$totalSeats)),s=Tt((()=>de(r)?.additionalInformation?.$threshold)),a=Tt((()=>{if(e.coalitions&&de(r)&&e.parties&&de(i))return e.coalitions.map((t=>oS({coalitionConfig:t,results:de(r).results,parties:e.parties,totalSeats:de(i),threshold:de(s)}))).sort(((t,e)=>t.currentSeats>e.currentSeats?-1:1))}));let o=Tt((()=>Bv.cards.find((t=>t?.navi===n.navi))?.isCardAnimation)),l=Tt((()=>Ig.addInfoCoalitions));var c=mS(),u=Oe(c);sn(Oe(u),(()=>e.subline.replace(/\{majoritySeats\}/g,de(s))));var h=Oe(Pe(Pe(u,!0)));Ye(h,65,(()=>de(a)),We,((t,n,r)=>{var i=vS();fS(Oe(i),Fn((()=>Te(n)),{get incumbentStr(){return e.incumbentStr},get isCardAnimation(){return de(o)}})),rn(t,i)})),Ue(Pe(Pe(h,!0)),(()=>de(l)&&""!==de(l)),(t=>{var e=nn();gS(Ae(e),{get addInfo(){return de(l)}}),rn(t,e)})),rn(t,c),xe()}},Symbol.toStringTag,{value:"Module"}));var bS=Ze('<li class="item svelte-14llss6"><span class="color-box svelte-14llss6"></span> <span class="label svelte-14llss6"> </span></li>'),wS=Ze('<li class="item svelte-14llss6"><span class="color-box trend-results svelte-14llss6"></span> <span class="label svelte-14llss6"> </span></li>'),_S=Ze('<ul class="legend svelte-14llss6"><!> <!></ul>');function xS(t,e){_e(e,!0);let n=Tt((()=>{let t=[];const n=e.partiesToSummarize.map((({singleParties:n,summarizedParty:r})=>{if(e.leadingParties.filter((t=>n.includes(t.id))).length===n.length)return t.push(...n),e.parties.find((t=>t.id===r))})).filter((t=>t)),r=[...e.leadingParties.filter((e=>!t.includes(e.id))),...n].sort(((t,e)=>t.abbr.localeCompare(e.abbr)));return e.partyOrder&&e.partyOrder.length>0&&r.sort(((t,n)=>e.partyOrder.indexOf(t.id)-e.partyOrder.indexOf(n.id))),r}));var r=_S(),i=Oe(r);Ye(i,65,(()=>de(n)),We,((t,e,n)=>{var r=bS(),i=Oe(r),s=Oe(Pe(Pe(i,!0)));st((()=>{pn(i,"background",Te(Te(e)).$color),Fe(s,Te(Te(e)).abbr)})),rn(t,r)})),Ue(Pe(Pe(i,!0)),(()=>e.showTrendResults),(t=>{var n=wS(),r=Oe(n),i=Oe(Pe(Pe(r,!0)));st((()=>Fe(i,e.trendResultsStr))),rn(t,n)})),rn(t,r),xe()}var kS=Ze('<div class="description svelte-r60wiv"><div class="subline-and-counted-wrapper svelte-r60wiv"><div class="subline"><!></div> <div class="counted"> </div></div> <div class="legend"><!></div></div>');const SS=function(){let t=G(!1),e=G(gt({})),n=G(void 0);return document.addEventListener("mousemove",(t=>{X(e,gt({x:t.pageX,y:t.pageY}))})),{get show(){return de(t)},set show(e){X(t,gt(e))},get mousePosition(){return de(e)},set mousePosition(t){X(e,gt(t))},get item(){return de(n)},set item(t){X(n,gt(t))}}}();function TS(t,e,n,r){t.preventDefault();const i=e(t);X(n,null!==i),r()({event:t,data:i})}function CS(t,e,n){t.preventDefault(),e()({event:t,data:n(t)})}var MS=Ze('<canvas class="svelte-tnp0pk"></canvas> <!>',1);function RS(t,e){_e(e,!0);let n=Vn(e,"transform",3,xg),r=Vn(e,"hide",3,!1),i=Vn(e,"alpha",3,!1),s=Vn(e,"onmousemove",3,(()=>{})),a=Vn(e,"onclick",3,(()=>{})),o=Vn(e,"contextName",3,"spiegel-canvas");const l=[],c=Math.max(2,window&&window.devicePixelRatio||1);let u,h,d,f=!1,p=G(!1);function g(){h&&(h.clearRect(0,0,e.width,e.height),l.forEach((t=>{h.save(),h.translate(n().x,n().y),h.scale(n().k,n().k),t(h),h.restore()})),f=!1)}function v({offsetX:t,offsetY:e}){if(!h||!t||!e)return;const{data:n}=h.getImageData(t*c,e*c,1,1),[r,i,s]=n;return r+i+s===0?null:`rgb(${r},${i},${s})`}ye(o(),{register(t){l.push(t)},deregister(t){l.splice(l.indexOf(t),1)},invalidate:function(){f||(f=!0,d=requestAnimationFrame(g))}}),nt((()=>(h=u.getContext("2d",{willReadFrequently:!0,alpha:i()}),()=>{d&&cancelAnimationFrame(d)}))),nt((()=>{var t,n,r,i;u&&h&&(t=u,n=h,r=e.width,i=e.height,t.width=r*c,t.height=i*c,t.style.width=r+"px",t.style.height=i+"px",n.scale(c,c))}));var m=MS(),y=Ae(m);$n(y,(t=>u=t),(()=>u)),y.__mousemove=[TS,v,p,s],y.__click=[CS,a,v],an((()=>e.children),Pe(Pe(y,!0))),st((()=>{fn(y,"hide",r()),fn(y,"is-hovered",de(p))})),rn(t,m),xe()}Ie(["mousemove","click"]);var ES=Ze('<div class="interactive-canvas svelte-rbn3tz"><!> <!> <!> <!></div>');function OS(t,e){_e(e,!0);let n=Vn(e,"outlines",11,(()=>[])),r=Vn(e,"checkPropertyForInteractivity",3,"results");function i(t){if(t){if(de(c).includes(t)){const e=de(u).find((e=>e.fill===t));return X(o,gt(e)),e}return de(o)}}function s(t){const{event:n,data:r}=t;e.onmousemove({event:n,data:i(r)})}function a(t){const{event:n,data:r}=t;e.onclick({event:n,data:i(r)})}let o=G(void 0),l=Tt((()=>{if(!e.activeIds)return e.data;const t=e.data.filter((t=>e.activeIds.includes(t.id)));return[...e.data.filter((e=>!t.map((t=>t.id)).includes(e.id))),...t]})),c=Tt((()=>e.data.map((t=>t[r()].length?sv():null)))),u=Tt((()=>e.data.map(((t,e)=>{const n=de(c)[e];return{...t,showStroke:!1,fixedStroke:n,fixedStrokeWidth:1,showFill:!0,fill:n}})))),h=Tt((()=>de(l).map((t=>({...t,showStroke:!0,showFill:!1}))))),d=Tt((()=>de(l).map((t=>({...t,showStroke:!1,showFill:!0}))))),f=Tt((()=>n().map((t=>({...t,showStroke:!0,stroke:e.outlinesColor,showFill:!1})))));var p=ES();pn(p,"position","var(--position, relative)"),pn(p,"z-index","var(--z-index, 0)");var g=Oe(p);Be(g,0,(()=>({"--pointer-events":"none"})),(t=>RS(t,{get width(){return e.width},get height(){return e.height},alpha:!0,children:(t,n)=>{var r=nn();an((()=>e.children),Ae(r),(()=>de(d))),rn(t,r)},$$slots:{default:!0}})));var v=Pe(Pe(g,!0));Ue(v,(()=>de(f).length),(t=>{var n=nn();Be(Ae(n),0,(()=>({"--position":"absolute","--z-index":"4","--pointer-events":"none"})),(t=>RS(t,{get width(){return e.width},get height(){return e.height},alpha:!0,children:(t,n)=>{var r=nn();an((()=>e.children),Ae(r),(()=>de(f))),rn(t,r)},$$slots:{default:!0}}))),rn(t,n)}));var m=Pe(Pe(v,!0));Be(m,0,(()=>({"--position":"absolute","--z-index":"5","--pointer-events":"none"})),(t=>RS(t,{get width(){return e.width},get height(){return e.height},alpha:!0,children:(t,n)=>{var r=nn();an((()=>e.children),Ae(r),(()=>de(h))),rn(t,r)},$$slots:{default:!0}}))),Be(Pe(Pe(m,!0)),0,(()=>({"--position":"absolute","--z-index":"10"})),(t=>RS(t,{get width(){return e.width},get height(){return e.height},hide:!0,onmousemove:s,onclick:a,children:(t,n)=>{var r=nn();an((()=>e.children),Ae(r),(()=>de(u))),rn(t,r)},$$slots:{default:!0}}))),st((()=>{pn(p,"width",`${Ve(e.width)}px`),pn(p,"height",`${Ve(e.height)}px`)})),rn(t,p),xe()}var AS=Ze('<div class="tooltipResults svelte-1xd9bxg"><!></div>');var PS=Ze('<div class="tooltip-content svelte-pcyb4s"><div class="header svelte-pcyb4s"><h3 class="svelte-pcyb4s"> </h3></div> <div class="body svelte-pcyb4s"><div class="description svelte-pcyb4s"><span> </span> <span><!></span></div> <!></div></div>');function $S(t,e){_e(e,!0);const n=Ln(e,["name","returningResults","partyVotesStr","countingProgressStr","countingProgressFullyStr"]),r=Tt((()=>e.returningResults?.listVotes?.results.slice(0,5))),i=Tt((()=>e.returningResults?.countingProgress.isFullyCounted)),s=Tt((()=>e.returningResults?.countingProgress.countingType));var a=PS(),o=Oe(a),l=Oe(o),c=Oe(l),u=Oe(Pe(Pe(o,!0))),h=Oe(u),d=Oe(h);st((()=>Fe(d,e.partyVotesStr.replace(/{constituencyDescription}/g,sx("cardVariables","constituencyDescription")).replace(/{partyVotes}/g,sx("cardVariables","partyVotes")).replace(/{personalVotes}/g,sx("cardVariables","personalVotes"))))),Ue(Oe(Pe(Pe(h,!0))),(()=>de(i)),(t=>{var n=en();st((()=>Fe(n,e.countingProgressFullyStr.replace(/{constituencyDescription}/g,sx("cardVariables","constituencyDescription"))))),rn(t,n)}),(t=>{var n=en();st((()=>Fe(n,e.countingProgressStr.replace(/{countingShare}/g,e.returningResults?.countingProgress.share).replace(/{countingType}/g,sx("countingTypes",de(s)))))),rn(t,n)})),function(t,e){_e(e,!0);let n=Tt((()=>({listVotesHeight:"60px",columnHeight:"60px",marginParty:"13px",marginPreviousResult:"-3px",columnWidth:"22px"})));const r=Tt((()=>e.data.config.settings)),i=Tt((()=>e.results.slice(0,5)));var s=AS(),a=Oe(s),o=Tt((()=>de(r)?.$dateCurrentYear)),l=Tt((()=>de(r)?.$datePreviousYear));hk(a,{get results(){return de(i)},get css(){return de(n)},get currentYear(){return de(o)},get previousYear(){return de(l)}}),rn(t,s),xe()}(Pe(Pe(u,!0)),Fn({get results(){return de(r)}},(()=>n))),st((()=>Fe(c,e.name))),rn(t,a),xe()}function IS(t,e){e.onplus(t)}function DS(t,e){e.onminus(t)}function NS(t,e){e.onreset(t)}var LS=Ze('<div class="plus-minus svelte-hzkox1"><button class="svelte-hzkox1"><svg width="12" height="12" class="svelte-hzkox1"><path d="M1,5 h4 v-4 h2 v4 h4 v2 h-4 v4 h-2 v-4 h-4 v-2 Z" class="svelte-hzkox1"></path></svg></button> <button class="svelte-hzkox1"><svg width="12" height="12" class="svelte-hzkox1"><path d="M1,5 h10 v2 h-10 v-2 Z" class="svelte-hzkox1"></path></svg></button></div>'),HS=Ze('<div class="map-navigation svelte-hzkox1"><div class="reset svelte-hzkox1"><button class="svelte-hzkox1"><svg width="12" height="12" class="svelte-hzkox1"><path d="M0,2h2v-2h2v4h-4v-2Z M0,8h4v4h-2v-2h-2v-2z M8,0h2v2h2v2h-4v-4z M8,8h4v2h-2v2h-2v-4z" class="svelte-hzkox1"></path></svg></button></div> <!></div>');Ie(["click"]);var FS=Ze("<div></div>"),VS=Ze("<!> <!>",1),zS=Ze('<div class="map svelte-1agfi7z"><!></div>');function jS(t,e){_e(e,!0);var n=t=>{var e=nn();$S(Ae(e),Fn(s,(()=>u))),rn(t,e)};let r,i,s=Vn(e,"hoveredFeature",7),a=Vn(e,"selectedFeature",7),o=Vn(e,"onclear",3,fx),l=Vn(e,"clickable",3,!1),c=Vn(e,"enableZoom",3,!1),u=Ln(e,["mapData","geojson","geojsonOutlines","showTrendResults","hoveredFeature","selectedFeature","onclear","clickable","enableZoom"]),h=av(),d=G(void 0),f=G(void 0),p=G(gt(xg)),g=Tt((()=>Od().fitSize([de(d),de(f)],e.geojson))),v=Tt((()=>{if(!de(d)||!de(f))return xg;const[t,e]=de(g).translate();return xg.translate(t,e).scale(de(g).scale())})),m=Tt((()=>{if(!c())return de(g);const{x:t,y:e,k:n}=de(p);return de(g).translate([t,e]).scale(n)})),y=Tt((()=>(de(p),yd().projection(de(m))))),b=Tt((()=>de(v).k!==de(p).k||de(v).x!==de(p).x||de(v).y!==de(p).y));const w=Tt((()=>Ag().scaleExtent([de(v).k,8*de(v).k]).filter((t=>!(t.touches&&t.touches.length<=1))).on("zoom",(t=>{X(p,gt(t.transform))}))));let _=Tt((()=>e.mapData&&e.geojson?e.mapData.map((t=>{const n=e.geojson.features.find((e=>e.properties.id===t.id));return{...t,path:de(y)(n),fill:t.leadingData&&t.enoughCountingProgressShare?t.leadingData.$meta.$relColor:cv.colors.mapBackground,strokeWidth:1,backgroundStrokeWidth:2}})):[])),x=Tt((()=>e.geojsonOutlines?e.geojsonOutlines.features.map((t=>({...t,path:de(y)(t),stroke:cv.colors.foreground,strokeWidth:1}))):[]));function k(t){cv.device.isTouch||(!t.data||t.data.results.length&&t.data.enoughCountingProgressShare?(s(t.data),SS.item=n):s(null),SS.show=!!s())}function S(t){l()&&t.data&&t.data.results.length&&t.data.enoughCountingProgressShare?(a(t.data),a()||o()()):("clickoutside"!==t.type&&a(null),o()())}const T="resultsMap";function C(){i?.transition().duration(400).call(de(w).scaleBy,2),Lx({element_name:T,element_text:T+"-zoom-plus"})}function M(){i?.transition().duration(400).call(de(w).scaleBy,.5),Lx({element_name:T,element_text:T+"-zoom-minus"})}function R({animation:t=!0}={}){t?i?.transition().duration(400).call(de(w).transform,de(v)):i?.call(de(w).transform,de(v)),Lx({element_name:T,element_text:T+"-zoom-reset"})}nt((()=>{c()&&(i=fo(r),i.call(de(w)),R({animation:!1}))}));var E=zS();return $n(E,(t=>r=t),(()=>r)),je(Oe(E),(()=>h),(t=>{rn(t,FS())}),((t,e)=>{var n=VS(),r=Ae(n);OS(r,{get width(){return de(d)},get height(){return de(f)},get data(){return de(_)},get outlines(){return de(x)},get outlinesColor(){return cv.colors.foreground},onmousemove:k,onclick:S,children:(t,n=yt)=>{var r=nn();Ye(Ae(r),65,n,We,((t,n,r)=>{let i=()=>Te(Te(n)).id,o=()=>Te(Te(n)).strokeWidth,l=()=>Te(Te(n)).backgroundStrokeWidth;var c=nn();const u=Tt((()=>s()&&s().id===i())),h=Tt((()=>a()&&a().id===i()));Ae(c);var d=Tt((()=>de(h)||de(u)?cv.colors.background:Te(Te(n)).stroke)),f=Tt((()=>de(h)?2*o():o())),p=Tt((()=>de(h)?cv.colors.foreground:void 0)),g=Tt((()=>de(h)?2*l():l())),v=Tt((()=>Te(Te(n)).enoughCountingProgressShare&&!Te(Te(n)).isFullyCounted?e:void 0));!function(t,e){_e(e,!0);const n=Vn(e,"strokeWidth",3,1),r=Vn(e,"backgroundStroke",3,void 0),i=Vn(e,"backgroundStrokeWidth",3,3),s=Vn(e,"fixedStroke",3,void 0),a=Vn(e,"fixedStrokeWidth",3,1),o=Vn(e,"miterLimit",3,5),l=Vn(e,"showStroke",3,!1),c=Vn(e,"showFill",3,!1),u=Vn(e,"pattern",3,void 0),h=Vn(e,"contextName",3,"spiegel-canvas"),{register:d,deregister:f,invalidate:p}=me(h());function g(t){const h=new Path2D(e.path);t.globalAlpha=1,c()&&e.fill&&(t.fillStyle=e.fill,t.fill(h),u()&&(t.fillStyle=t.createPattern(u(),"repeat"),t.fill(h))),l()&&e.stroke&&(t.miterLimit=o(),r()&&(t.strokeStyle=r(),t.lineWidth=i(),t.stroke(h)),t.strokeStyle=e.stroke,t.lineWidth=n(),t.stroke(h)),s()&&(t.strokeStyle=s(),t.lineWidth=a(),t.stroke(h))}nt((()=>(d(g),p(),()=>f(g)))),nt((()=>{e.path,e.stroke,n(),e.fill,l(),c(),p()})),xe()}(0,Fn((()=>we(Te(Te(n)),["id","stroke","strokeWidth","backgroundStrokeWidth","isFullyCounted","enoughCountingProgressShare"])),{get stroke(){return de(d)},get strokeWidth(){return de(f)},get backgroundStroke(){return de(p)},get backgroundStrokeWidth(){return de(g)},get pattern(){return de(v)}})),rn(t,c)})),rn(t,r)}}),Ue(Pe(Pe(r,!0)),c,(t=>{var e=nn(),n=Ae(e),r=Tt((()=>!cv.device.isTouch));!function(t,e){_e(e,!0);let n=Vn(e,"showPlusMinus",3,!0),r=Vn(e,"showReset",3,!0);var i=HS(),s=Oe(i);Oe(s).__click=[NS,e],Ue(Pe(Pe(s,!0)),n,(t=>{var n=LS(),r=Oe(n);r.__click=[IS,e],Pe(Pe(r,!0)).__click=[DS,e],rn(t,n)})),st((()=>fn(s,"show",r()))),rn(t,i),xe()}(n,{get showPlusMinus(){return de(r)},get showReset(){return de(b)},onplus:C,onminus:M,onreset:R}),rn(t,e)})),rn(t,n)})),st((()=>fn(E,"zoomed",de(b)))),An(E,"clientWidth",(t=>X(d,t))),An(E,"clientHeight",(t=>X(f,t))),ln(E,(t=>px(t))),ln(E,(t=>gx(t))),$e("clickoutside",E,S,!1),$e("mousemoveoutside",E,k,!1),rn(t,E),xe({zoomReset:R})}var US=tn('<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none"><path d="M1.50098 1.42383L12.5001 12.4229" stroke-width="1.5" stroke-linecap="round" class="svelte-15lzsbe"></path><path d="M1.5 12.5215L12.4991 1.5224" stroke-width="1.5" stroke-linecap="round" class="svelte-15lzsbe"></path></svg>'),BS=Ze('<button class="svelte-15lzsbe"><!></button>');function qS(t,e){var n=t=>{rn(t,US())};const r=Vn(e,"isInteractive",3,!0);var i=nn();Ue(Ae(i),r,(t=>{var r=BS();r.__click=function(...t){const n=e.onclick;return n?.apply(this,t)};var i=Oe(r);n(i),rn(t,r)}),(t=>{var e=nn(),r=Ae(e);n(r),rn(t,e)})),rn(t,i)}Ie(["click"]);var WS=tn('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" viewBox="0 0 16 15" fill="none" class="svelte-1g05xs"><circle cx="6.46556" cy="6.093" r="4.98753" stroke-width="1.5" class="svelte-1g05xs"></circle><path d="M10.2314 9.85791L14.4794 14.1059" stroke-width="1.5" stroke-linecap="round" class="svelte-1g05xs"></path></svg>'),YS=Ze('<button class="svelte-1g05xs"><!></button>');function GS(t,e){"Enter"===t.key&&e()}function KS(t,e){t.stopPropagation(),e()(t)}function XS(t,e,n,r){t.preventDefault(),e(t),n()(t),r().blur()}Ie(["click"]);var QS=Ze('<div class="autocomplete-value svelte-128rsk0"> </div>'),JS=Ze('<div class="cancel svelte-128rsk0"><button class="svelte-128rsk0">Abbrechen</button></div>'),ZS=Ze('<form class="svelte-128rsk0"><div class="input-wrapper svelte-128rsk0"><input id="search-input" type="text" enterkeyhint="go" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" class="svelte-128rsk0"> <!> <div class="controls svelte-128rsk0"><!> <!></div> <div class="shadow svelte-128rsk0"></div></div> <!></form> <span class="hidden-value svelte-128rsk0"> </span>',1);function tT(t,e){_e(e,!0);let n=Vn(e,"value",7,""),r=Vn(e,"autocompleteValue",3,void 0),i=Vn(e,"onfocus",3,fx),s=Vn(e,"onselect",3,fx),a=Vn(e,"onclear",3,fx),o=Vn(e,"oncancel",3,fx),l=Vn(e,"onclick",3,fx),c=Vn(e,"onblur",3,fx),u=Vn(e,"input",7),h=G(!1),d=G(0),f=Tt((()=>n().length>0)),p=Tt((()=>0===n().length));function g(t){X(h,!0),t&&(t.preventDefault(),t.stopPropagation()),u().focus(),n(""),a()(t)}function v(){u().blur(),s()()}var m=ZS(),y=Ae(m),b=Oe(y),w=Oe(b);$n(w,(t=>u(t)),(()=>u())),w.__keydown=[GS,v],w.__click=[KS,l];var _=Pe(Pe(w,!0));Ue(_,r,(t=>{var e=QS();e.__click=v;var n=Oe(e);st((()=>{pn(e,"left",`${Ve(de(d))}px`),Fe(n,`— ${Ve(r())}`)})),rn(t,e)}));var x=Oe(Pe(Pe(_,!0)));Ue(x,(()=>de(f)),(t=>{var e=nn();qS(Ae(e),{onclick:g}),rn(t,e)})),Ue(Pe(Pe(x,!0)),(()=>de(p)),(t=>{var n=nn();!function(t,e){var n=(t,e=yt)=>{var n=WS();st((()=>fn(n,"has-focus",e()))),rn(t,n)};const r=Vn(e,"isInteractive",3,!0),i=Vn(e,"hasFocus",3,!1);var s=nn();Ue(Ae(s),r,(t=>{var r=YS();r.__click=function(...t){const n=e.onclick;return n?.apply(this,t)};var s=Oe(r);n(s,i),rn(t,r)}),(t=>{var e=nn(),r=Ae(e);n(r,i),rn(t,e)})),rn(t,s)}(Ae(n),{isInteractive:!1,get hasFocus(){return e.hasFocus}}),rn(t,n)})),Ue(Pe(Pe(b,!0)),(()=>e.hasFocus&&cv.device.isTouch),(t=>{var e=JS();Oe(e).__click=[XS,g,o,u],rn(t,e)}));var k=Pe(Pe(y,!0)),S=Oe(k);st((()=>{fn(b,"has-focus",e.hasFocus),hn(w,"placeholder",e.placeholder),hn(w,"tabindex",cv.device.isTouch?-1:0),Fe(S,n())})),function(t,e,n){Cn(t,"input",(()=>{n(Mn(t)?Rn(t.value):t.value)})),it((()=>{var n=e();t.__value=n,Mn(t)&&n===Rn(t.value)||("date"!==t.type||n||t.value)&&(t.value=Ve(n))}))}(w,n,(t=>n(t))),$e("focus",w,(function(t){X(h,!0),i()(t)}),!1),$e("blur",w,(function(t){X(h,!1),setTimeout((()=>{de(h)||c()(t)}),200)}),!1),An(k,"clientWidth",(t=>X(d,t))),rn(t,m),xe()}Ie(["keydown","click"]);var eT=Ze('<div class="additional-elements svelte-1qu5bs6"><!></div>'),nT=Ze('<div class="search svelte-1qu5bs6"><!> <!></div>');function rT(t,e){_e(e,!0);let n,r,i=Vn(e,"value",7,""),s=Vn(e,"autocompleteValue",3,void 0),a=Vn(e,"placeholder",3,"Suchen..."),o=Vn(e,"onfocus",3,fx),l=Vn(e,"onselect",3,fx),c=Vn(e,"onclear",3,fx),u=Vn(e,"onblur",3,fx),h=Vn(e,"immediateFocus",3,!1),d=G(!1);function f(t){X(d,!1),u()(t),r&&r.blur()}nt((()=>{h()&&r&&r.focus()}));var p=nT();$n(p,(t=>n=t),(()=>n));var g=Oe(p);Ue(g,(()=>cv.device.isTouch&&de(d)),(t=>{var n=eT();n.__click=f,Ue(Oe(n),(()=>e.children),(t=>{var n=nn();an((()=>e.children),Ae(n)),rn(t,n)})),st((()=>pn(n,"--header-height",`${Ve(cv.headerHeight)}px`))),rn(t,n)})),tT(Pe(Pe(g,!0)),{get value(){return i()},set value(t){i(t)},get input(){return r},set input(t){r=t},get placeholder(){return a()},get autocompleteValue(){return s()},get hasFocus(){return de(d)},get forceImmediateFocus(){return h()},onfocus:function(){X(d,!0),o()()},onselect:function(t){l()(t),f(t)},get onclear(){return c()},oncancel:f,onblur:f,get immediateFocus(){return h()}}),st((()=>{fn(p,"is-touch",cv.device.isTouch),fn(p,"has-focus",de(d)),pn(p,"--visual-height",`${Ve(cv.visualViewportHeight||300)}px`)})),rn(t,p),xe()}Ie(["click"]);var iT=t=>t.stopPropagation(),sT=t=>t.stopPropagation(),aT=(t,e,n,r)=>de(e)?n(t,Te(r)):void 0,oT=Ze('<li class="svelte-17h0cvw"><button class="svelte-17h0cvw"><div class="background svelte-17h0cvw"></div> <div class="foreground svelte-17h0cvw"> </div></button></li>'),lT=Ze('<li class="no-results svelte-17h0cvw"><strong class="svelte-17h0cvw">0</strong>&nbsp;Vorschläge gefunden</li>'),cT=(t,e)=>e("left"),uT=Ze('<button class="arrow left svelte-17h0cvw"><!></button>'),hT=(t,e)=>e("right"),dT=Ze('<button class="arrow right svelte-17h0cvw"><!></button>'),fT=Ze("<!> <!>",1),pT=Ze('<div class="feature-accessor svelte-17h0cvw"><div class="feature-accessor-scroll-container svelte-17h0cvw"><ul class="feature-list svelte-17h0cvw"><!></ul></div> <!></div>');function gT(t,e){_e(e,!0);let n,r=Vn(e,"hoveredFeature",7),i=Vn(e,"selectedFeature",7),s=Vn(e,"highlightedFeature",3,void 0),a=Vn(e,"onclick",3,fx),o=Vn(e,"vertical",3,!1),l=[],c=G(0),u=Tt((()=>de(c)>0)),h=G(!1),d=G(!0),f=Tt((()=>l.length!==e.data.length?[]:l.map((t=>t.getBoundingClientRect()))));function p(t,e){t.preventDefault(),r(e)}function g(t,e){t.preventDefault(),i(e),a()(t)}function v(){X(c,gt(n?.scrollLeft||0));const t=n?.scrollWidth-n?.clientWidth;isNaN(t)||X(h,de(c)<t)}function m(t){n&&("left"===t?n.scrollLeft=n.scrollLeft-80:"right"===t&&(n.scrollLeft=n.scrollLeft+80))}nt((()=>{e.data,v()})),nt((()=>{s()?n.scrollTo({top:0,left:0,behavior:"smooth"}):function(t){const r=e.data.findIndex((e=>e.id===t?.id));if(r<0||!n||!de(f).length)return;const{left:i=0}=de(f)[r]||{},{left:s=0}=n.getBoundingClientRect()||{};n.scrollTo({left:Math.max(0,i-s-13),behavior:"smooth"})}(i())}));var y=pT(),b=Oe(y);$n(b,(t=>n=t),(()=>n)),b.__touchmove=[iT];var w=Oe(b);Ue(Oe(w),(()=>e.data.length),(t=>{var n=nn();Ye(Ae(n),71,(()=>e.data),((t,e)=>Te(t).id),((t,e,n)=>{var a=oT();const o=Tt((()=>{const{id:t,name:n,leadingData:r,results:i,enoughCountingProgressShare:s}=Te(e)||{};return{id:t,name:n,leadingData:r,results:i,enoughCountingProgressShare:s}})),c=Tt((()=>r()&&r().id===de(o).id)),u=Tt((()=>i()&&i().id===de(o).id)),h=Tt((()=>de(o).results&&de(o).results.length>0&&de(o).enoughCountingProgressShare)),d=Tt((()=>s()&&s().id===de(o).id));$n(a,((t,e)=>l[e]=t),(t=>l?.[t]),(()=>[Te(n)]));var f=Oe(a);f.__mousemove=[sT],f.__click=[aT,h,g,e];var v=Oe(f),m=Oe(Pe(Pe(v,!0)));st((()=>{fn(a,"is-hovered",de(c)),fn(a,"is-selected",de(u)),fn(a,"is-highlighted",de(d)),pn(a,"--color",de(o).leadingData?.$meta.$relColor||(de(h)?"var(--int-color-selectable)":"var(--int-font-color-gray-lighter)")),fn(f,"is-selectable",de(h)),Fe(m,de(o).name)})),$e("mouseenter",f,(t=>de(h)?p(t,Te(e)):void 0),!1),$e("mouseleave",f,(t=>p(t,null)),!1),rn(t,a)})),rn(t,n)}),(t=>{rn(t,lT())})),Ue(Pe(Pe(b,!0)),(()=>!cv.device.isTouch),(t=>{var e=fT(),n=Ae(e);Ue(n,(()=>de(u)),(t=>{var e=uT();Sn(3,e,(()=>Hv)),e.__click=[cT,m],L_(Oe(e),{type:"dark",direction:"left"}),rn(t,e)})),Ue(Pe(Pe(n,!0)),(()=>de(h)),(t=>{var e=dT();Sn(3,e,(()=>Hv)),e.__click=[hT,m],L_(Oe(e),{type:"dark",direction:"right"}),rn(t,e)})),rn(t,e)})),st((()=>{fn(y,"is-vertical",o()),fn(b,"is-vertical",o()),pn(w,"pointer-events",de(d)?"auto":"none")})),ln(b,((t,e)=>Gv(t,e)),(()=>({axis:"x",event:"mouse",cursor:!1}))),$e("scroll",b,v,!1),$e("dragging",b,(()=>X(d,!1)),!1),$e("draggingend",b,(()=>X(d,!0)),!1),rn(t,y),xe()}Ie(["touchmove","mousemove","click"]);var vT=Ze('<div class="handle svelte-1c6gh49"></div>');class mT{#i=G();get value(){return de(this.#i)}set value(t){X(this.#i,gt(t))}key="";constructor(t,e){this.key=t,this.#i.v=gt(e);const n=localStorage.getItem(t);n&&(this.#i.v=gt(this.deserialize(n))),nt((()=>{localStorage.setItem(this.key,this.serialize(this.value))}))}serialize(t){return JSON.stringify(t)}deserialize(t){return JSON.parse(t)}}var yT=Ze('<div class="merken svelte-1yvxya4"><div class="button svelte-1yvxya4"><div class="icon svelte-1yvxya4"><svg width="13" height="16" viewBox="0 0 13 16" class="svelte-1yvxya4"><path d="M2.34766 14.5152V1.08032H10.3477V14.5152L6.34766 11.0559L2.34766 14.5152Z" class="svelte-1yvxya4"></path></svg></div> <span>merken</span></div></div>');function bT(t,e){_e(e,!0);let n=Vn(e,"onSavedConstituencty",7),r=G(void 0),i=function(t,e){return new mT(t,e)}("savedConstituencies",""),s=Tt((()=>{n();let t=localStorage.getItem("savedConstituencies");if(!t)return[];let e=t.split('"').join("");return e&&e.length>0?e.split(",").filter((t=>t)):[]})),a=Tt((()=>de(s).includes(e.id)));var o=yT(),l=Oe(o);l.__click=()=>{de(a)?("0"===i.value&&(i.value=""),i.value=i.value.replace(e.id+",",""),setTimeout((()=>{n(!n())}),3)):de(r)!==e.id&&(X(r,gt(e.id)),i.value=i.value+e.id+",",setTimeout((()=>{n(!n())}),3))},st((()=>{fn(o,"slidable",e.slidable),fn(l,"active",de(a))})),rn(t,o),xe()}Ie(["click"]);var wT=t=>t.stopPropagation(),_T=()=>{},xT=Ze('<div class="infocard svelte-cmaean" tabindex="-1"><div class="header no-touch-action svelte-cmaean"><!> <div class="title-bar svelte-cmaean"><h3 class="svelte-cmaean"> </h3> <!> <!></div></div> <div class="body svelte-cmaean"><!></div> <!></div>');function kT(t,e){_e(e,!0);let n=Vn(e,"show",3,!1),r=Vn(e,"fullShow",3,!1),i=Vn(e,"desktopFull",3,!1),s=Vn(e,"onclose",3,(()=>{})),a=Vn(e,"onSavedConstituencty",7),o=Vn(e,"bookmarkable",3,!1);let l,c=0,u=0,h=0,d=Tt((()=>"article"===Ig.type||cv.visualWidth<886)),f=G(!1),p=G(void 0),g=G(0),v=Tt((()=>[cv.headerHeight-cv.contentHeight-cv.headerHeight,-300,10]));function m(t){return t-cv.contentHeight-cv.headerHeight}function y(t){t.stopPropagation(),X(f,!0);const{clientY:e}=t.touches?t.touches[0]:t,{y:n}=l.getBoundingClientRect();c=e-n}function b(t){if(!de(f))return;t.preventDefault();const{clientX:e=0,clientY:n=0}=t.touches?t.touches[0]:t;if(Math.abs(h-n)<Math.abs(u-e))return;u=e,h=n;const r=Math.max(m(n)-c,de(v)[0]);X(g,gt(r))}function w(){if(!de(f))return;X(f,!1);const{y:t}=l.getBoundingClientRect(),e=m(t);if(Math.abs(e-de(p))<1)return;const n=e>de(p)?1:-1,r=de(v).findIndex((t=>t===de(p))),i=Math.max(0,Math.min(de(v).length-1,r+n));X(g,gt(X(p,gt(de(v)[i]))))}nt((()=>{n()?r()?de(d)&&X(g,gt(X(p,gt(de(v)[0])))):de(d)&&X(g,gt(X(p,gt(de(v)[1])))):de(d)&&X(g,gt(X(p,gt(de(v)[2]))))})),nt((()=>{de(d)&&de(p)===de(v)[2]&&s()()}));var _=nn();$e("mousemove",Re,b,!1),$e("touchmove",Re,b,!1,!0),Ue(Ae(_),(()=>de(d)||n()),(t=>{var n=xT();$n(n,(t=>l=t),(()=>l)),n.__touchstart=y,n.__mousedown=y,n.__touchend=w,n.__mouseup=w,n.__click=[wT],n.__keyup=[_T],pn(n,"--infocard-margin",`${Ve(17)}px`);var r=Oe(n),c=Oe(r);Ue(c,(()=>de(d)),(t=>{var e=nn();!function(t){rn(t,vT())}(Ae(e)),rn(t,e)}));var u=Oe(Pe(Pe(c,!0))),h=Oe(u),p=Pe(Pe(u,!0));Ue(p,(()=>o()&&de(d)),(t=>{var n=nn();bT(Ae(n),{get onSavedConstituencty(){return a()},set onSavedConstituencty(t){a(t)},get slidable(){return de(d)},get id(){return e.id}}),rn(t,n)})),qS(Pe(Pe(p,!0)),{get onclick(){return s()}});var v=Pe(Pe(r,!0));Ue(Oe(v),(()=>e.children),(t=>{var n=nn();an((()=>e.children),Ae(n),(()=>de(d))),rn(t,n)})),Ue(Pe(Pe(v,!0)),(()=>o()&&!de(d)),(t=>{var n=nn();bT(Ae(n),{get onSavedConstituencty(){return a()},set onSavedConstituencty(t){a(t)},get slidable(){return de(d)},get id(){return e.id}}),rn(t,n)})),st((()=>{fn(n,"slidable",de(d)),fn(n,"with-transition",de(d)&&!de(f)),fn(n,"is-full-on-desktop",i()),pn(n,"top",`${Ve(de(d)?cv.headerHeight+cv.contentHeight:17)}px`),pn(n,"transform",`translate(${Ve(de(d)?-50:0)}%, ${Ve(de(d)?de(g):0)}px)`),pn(n,"--content-height",`${Ve(cv.contentHeight)}px`),fn(u,"slidable",de(d)),Fe(h,e.title)})),$e("dragstart",n,(()=>!1),!1),rn(t,n)})),rn(t,_),xe()}Ie(["touchstart","mousedown","touchend","mouseup","click","keyup"]);var ST=Ze('<span class="state svelte-1kmi26o"> </span>'),TT=Ze('<div class="description svelte-1kmi26o"><!> <span><!></span> <span class="votes svelte-1kmi26o"> </span></div>');const CT=(t,e,n,r,i,s)=>{e(!e()),n(),r()&&i({element_name:"collapisble-container",element_text:"cc-"+s()})};var MT=Ze('<div class="collapsible svelte-t9kdfz"><input class="hide svelte-t9kdfz" type="checkbox"> <label class="label svelte-t9kdfz"><div class="label-content svelte-t9kdfz"><div class="title svelte-t9kdfz"> </div> <div><!></div></div></label> <div class="content svelte-t9kdfz"><!></div></div>');function RT(t,e){_e(e,!0);let n=Vn(e,"children",3,void 0),r=Vn(e,"title",3,""),i=Vn(e,"type",3,"uniqueId"),s=Vn(e,"infoCard",3,!1),a=Vn(e,"collapsed",7,!0),o=Vn(e,"lastItem",3,!1),l=Vn(e,"tracking",3,!1);const c=Tt((()=>a()?"bottom":"top"));let u,h=!1;const d=()=>{h&&(a()?h.style.height="0px":h.style.height=h.scrollHeight+"px")};nt((()=>{new ResizeObserver((()=>{!a()&&h&&(h.style.height=h.scrollHeight+"px")})).observe(h),a()?u.removeAttribute("checked"):(u.setAttribute("checked","checked"),d())}));var f=MT(),p=Oe(f);$n(p,(t=>u=t),(()=>u)),p.__change=[CT,a,d,l,Lx,r];var g=Pe(Pe(p,!0)),v=Oe(g),m=Oe(v),y=Oe(m);L_(Oe(Pe(Pe(m,!0))),{get direction(){return de(c)}});var b=Pe(Pe(g,!0));$n(b,(t=>h=t),(()=>h)),an(n,Oe(b)),st((()=>{fn(f,"infoCard",s()),fn(f,"lastItem",o()),hn(p,"id",i()),hn(g,"for",i()),fn(g,"hidden","article"===Ig.type&&1===e.nrItems),Fe(y,r())})),rn(t,f),xe()}Ie(["change"]);var ET=(t,e,n)=>de(e)?X(n,!de(n)):null,OT=Ze('<div class="arrow svelte-bgxpj5"><!></div>'),AT=Ze("<span> </span>"),PT=Ze('<span class="row-extra svelte-bgxpj5"><span> </span></span>'),$T=Ze('<div class="row svelte-bgxpj5"><button class="partyLong svelte-bgxpj5"><!> <!></button> <div class="shareValue svelte-bgxpj5"> </div> <div class="diffValue svelte-bgxpj5"> </div></div> <!>',1);Ie(["click"]);var IT=(t,e,n)=>de(e)?X(n,!de(n)):null,DT=Ze('<div class="arrow svelte-1tdw7ij"><!></div>'),NT=Ze("<span> </span>"),LT=Ze('<span class="row-extra svelte-1tdw7ij"><span> </span></span>'),HT=Ze('<div class="row svelte-1tdw7ij"><button class="partyLong svelte-1tdw7ij"><!> <!></button> <div class="partyAbbr svelte-1tdw7ij"> </div> <div class="shareValue svelte-1tdw7ij"> </div> <div class="diffValue svelte-1tdw7ij"> </div></div> <!>',1);Ie(["click"]);var FT=Ze('<div class="overview-table svelte-14vwwlo"></div>');function VT(t,e){let n=Vn(e,"type",3,!1);var r=FT();Ye(r,73,(()=>e.results),We,((t,e,r)=>{let i=()=>Te(Te(e)).$meta,s=()=>Te(Te(e)).$shareValue,a=()=>Te(Te(e)).$diffValue;var o=nn();Ue(Ae(o),(()=>!1===n()),(t=>{var e=nn();!function(t,e){_e(e,!0);let n=G(!1),r=G(null),i=G(null),s=Tt((()=>de(r)&&de(r).scrollWidth>de(i)));const a="tableRow"+e.party.id,[o,l]=zv({fallback(t,e){const n=getComputedStyle(t),r="none"===n.transform?"":n.transform;return{duration:300,easing:X_,css:t=>`\n\t\t\t\t\ttransform: ${r} scale(${t});\n\t\t\t\t\topacity: ${t}\n\t\t\t\t`}}});var c=$T(),u=Ae(c);Sn(3,u,(()=>Fv));var h=Oe(u);$n(h,(t=>X(r,gt(t))),(()=>de(r))),h.__click=[ET,s,n];var d=Oe(h);Ue(d,(()=>de(s)),(t=>{var e=OT(),r=Oe(e),i=Tt((()=>de(n)?"top":"bottom"));L_(r,{type:"light",get direction(){return de(i)}}),rn(t,e)})),Ue(Pe(Pe(d,!0)),(()=>!de(n)),(t=>{var n=AT();Sn(1,n,(()=>l),(()=>({key:a}))),Sn(2,n,(()=>o),(()=>({key:a})));var r=Oe(n);st((()=>Fe(r,e.party.name))),rn(t,n)}));var f=Pe(Pe(h,!0)),p=Oe(f),g=Oe(Pe(Pe(f,!0)));Ue(Pe(Pe(u,!0)),(()=>de(n)),(t=>{var n=PT(),r=Oe(n);Sn(1,r,(()=>l),(()=>({key:a}))),Sn(2,r,(()=>o),(()=>({key:a})));var i=Oe(r);st((()=>{fn(n,"even",e.even),Fe(i,e.party.name)})),rn(t,n)})),st((()=>{fn(u,"even",e.even),fn(h,"overflowing",de(s)),pn(h,"padding-right",de(s)?"10px":"0px"),Fe(p,e.shareValue),Fe(g,e.diffValue)})),An(h,"clientWidth",(t=>X(i,t))),rn(t,c),xe()}(Ae(e),{get party(){return i()},get shareValue(){return s().str},get diffValue(){return a().str},even:Te(r)%2==0}),rn(t,e)}),(t=>{var o=nn();Ue(Ae(o),(()=>"constituency"===n()),(t=>{var n=nn();!function(t,e){_e(e,!0);let n=G(!1),r=G(null),i=G(null),s=Tt((()=>de(r)&&de(r).scrollWidth>de(i)));const a="tableRowConstituency"+e.party.id,[o,l]=zv({fallback(t,e){const n=getComputedStyle(t),r="none"===n.transform?"":n.transform;return{duration:300,easing:X_,css:t=>`\n\t\t\t\t\ttransform: ${r} scale(${t});\n\t\t\t\t\topacity: ${t}\n\t\t\t\t`}}});var c=HT(),u=Ae(c);Sn(3,u,(()=>Fv));var h=Oe(u);$n(h,(t=>X(r,gt(t))),(()=>de(r))),h.__click=[IT,s,n];var d=Oe(h);Ue(d,(()=>de(s)),(t=>{var e=DT(),r=Oe(e),i=Tt((()=>de(n)?"top":"bottom"));L_(r,{type:"light",get direction(){return de(i)}}),rn(t,e)})),Ue(Pe(Pe(d,!0)),(()=>!de(n)),(t=>{var n=NT();Sn(1,n,(()=>l),(()=>({key:a}))),Sn(2,n,(()=>o),(()=>({key:a})));var r=Oe(n);st((()=>Fe(r,e.candidateName))),rn(t,n)}));var f=Pe(Pe(h,!0)),p=Oe(f),g=Pe(Pe(f,!0)),v=Oe(g),m=Oe(Pe(Pe(g,!0)));Ue(Pe(Pe(u,!0)),(()=>de(n)),(t=>{var n=LT(),r=Oe(n);Sn(1,r,(()=>l),(()=>({key:a}))),Sn(2,r,(()=>o),(()=>({key:a})));var i=Oe(r);st((()=>{fn(n,"even",e.even),Fe(i,e.candidateName)})),rn(t,n)})),st((()=>{fn(u,"even",e.even),fn(h,"overflowing",de(s)),pn(h,"padding-right",de(s)?"10px":"0px"),Fe(p,e.party.abbr),Fe(v,e.shareValue),Fe(m,e.diffValue)})),An(h,"clientWidth",(t=>X(i,t))),rn(t,c),xe()}(Ae(n),{get party(){return i()},get shareValue(){return s().str},get diffValue(){return a().str},even:Te(r)%2==0,get candidateName(){return Te(Te(e)).candidateName}}),rn(t,n)}),null,!0),rn(t,o)})),rn(t,o)})),rn(t,r)}var zT=Ze('<div class="separator svelte-lsenct"></div>');function jT(t){rn(t,zT())}var UT=Ze('<div class="vertical-seperator svelte-1677x5w"></div> <div class="tout svelte-1677x5w"><div class="year svelte-1677x5w"> </div> <div class="value svelte-1677x5w"> </div></div>',1),BT=Ze('<div class="infocard-turnout svelte-1677x5w"><div class="title">Wahlbeteiligung, in Prozent</div> <div class="turnouts svelte-1677x5w"><div class="tout svelte-1677x5w"><div class="year svelte-1677x5w"> </div> <div class="value svelte-1677x5w"> </div></div> <!></div></div>');function qT(t,e){_e(e,!0);var n=BT(),r=Oe(n),i=Oe(Pe(Pe(r,!0))),s=Oe(i),a=Oe(s),o=Oe(Pe(Pe(s,!0)));Ue(Pe(Pe(i,!0)),(()=>e.previousTurnout&&e.previousYear),(t=>{var n=UT(),r=Oe(Pe(Pe(Ae(n),!0))),i=Oe(r),s=Oe(Pe(Pe(r,!0)));st((()=>{Fe(i,e.previousYear),Fe(s,e.previousTurnout.str)})),rn(t,n)})),st((()=>{Fe(a,e.currentYear),Fe(o,e.currentTurnout.str)})),rn(t,n),xe()}var WT=Ze('<div class="name svelte-al6059"> </div>'),YT=Ze('<div class="row name svelte-al6059"><!> <div class="party svelte-al6059"> </div></div> <div class="row svelte-al6059"><div class="bar svelte-al6059"></div> <div class="votes svelte-al6059"> </div></div>',1);var GT=Ze("<!> <!>",1),KT=Ze('<div class="description svelte-jkf3g2"><span class="votes"> </span></div> <div class="results svelte-jkf3g2"><!> <!></div>',1);function XT(t,e){_e(e,!0);const n=Tt((()=>e.results.slice(0,5))),r=Tt((()=>e.results.slice(5))),i=Tt((()=>de(r)&&de(r).length>0));let s=G(!0);const a=Tt((()=>de(s)?e.showOtherCandidatesStr:e.hideOtherCandidatesStr));var o=KT(),l=Ae(o),c=Oe(l),u=Oe(c);st((()=>Fe(u,e.personalVotesStr.replace(/{personalVotes}/g,sx("cardVariables","personalVotes")))));var h=Oe(Pe(Pe(l,!0)));Ye(h,65,(()=>de(n)),We,((t,e,n)=>{var r=nn();!function(t,e){_e(e,!0);const n=Tt((()=>e.result.candidateName)),r=Tt((()=>e.result.$meta.abbr)),i=Tt((()=>e.result.$heightPercentage+"%")),s=Tt((()=>e.result.$meta.$color)),a=Tt((()=>e.result.$shareValue.str));var o=YT(),l=Ae(o),c=Oe(l);Ue(c,(()=>de(n)),(t=>{var e=WT(),r=Oe(e);st((()=>Fe(r,de(n)))),rn(t,e)}));var u=Oe(Pe(Pe(c,!0))),h=Oe(Pe(Pe(l,!0))),d=Oe(Pe(Pe(h,!0)));st((()=>{Fe(u,de(r)),pn(h,"background-color",de(s)),pn(h,"width",de(i)),Fe(d,de(a))})),rn(t,o),xe()}(Ae(r),{get result(){return Te(e)}}),rn(t,r)})),Ue(Pe(Pe(h,!0)),(()=>de(i)),(t=>{var e=GT(),n=Ae(e);Be(n,0,(()=>({"--color-separator":"var(--int-font-color-gray-fond)"})),(t=>jT(t))),RT(Pe(Pe(n,!0)),{type:"InfocardResultConstituencyCollapsible",get title(){return de(a)},infoCard:!0,get collapsed(){return de(s)},set collapsed(t){X(s,gt(t))},children:(t,e)=>{var n=nn();VT(Ae(n),{get results(){return de(r)},type:"constituency"}),rn(t,n)},$$slots:{default:!0}}),rn(t,e)})),rn(t,o),xe()}var QT=Ze("<!> <!>",1),JT=Ze("<!> <!>",1),ZT=Ze('<div class="infocardResults svelte-webhjs"><div class="few-results svelte-webhjs"><!></div> <div class="infocardResults__margin svelte-webhjs"></div> <!> <!> <!> <!></div>');var tC=Ze("<!> <!>",1),eC=Ze('<div class="body svelte-1vgfhza"><!></div>');function nC(t,e){_e(e,!0);const n=Ln(e,[]);let r;var i=eC();$n(i,(t=>r=t),(()=>r)),i.__touchmove=function(t){r.scrollTop>0&&t.stopPropagation()},Ue(Oe(i),(()=>n&&n.partyVotesStr&&n.electionKey),(t=>{var e=tC(),r=Ae(e);!function(t,e){_e(e,!0);const n=Vn(e,"stateName",3,!1),r=Tt((()=>e.returningResults?.countingProgress?.isFullyCounted)),i=Tt((()=>e.returningResults?.countingProgress?.countingType));var s=TT(),a=Oe(s);Ue(a,n,(t=>{var e=ST(),r=Oe(e);st((()=>Fe(r,n()))),rn(t,e)}));var o=Pe(Pe(a,!0));Ue(Oe(o),(()=>de(r)),(t=>{var n=en();st((()=>Fe(n,e.countingProgressFullyStr.replace(/{constituencyDescription}/g,sx("cardVariables","constituencyDescription"))))),rn(t,n)}),(t=>{var n=en();st((()=>Fe(n,e.countingProgressStr.replace(/{countingShare}/g,e.returningResults?.countingProgress?.share).replace(/{countingType}/g,sx("countingTypes",de(i)))))),rn(t,n)}));var l=Oe(Pe(Pe(o,!0)));st((()=>Fe(l,e.partyVotesStr.replace(/{constituencyDescription}/g,sx("cardVariables","constituencyDescription")).replace(/{partyVotes}/g,sx("cardVariables","partyVotes")).replace(/{personalVotes}/g,sx("cardVariables","personalVotes"))))),rn(t,s),xe()}(r,Fn((()=>n))),function(t,e){_e(e,!0);const n=Ln(e,["results","constituencyVotes","data","showOtherPartiesStr","hideOtherPartiesStr","returningResults"]);let r=G(0);const i=Tt((()=>de(r)<400));let s=Tt((()=>({listVotesHeight:"60px",columnHeight:"60px",marginParty:de(i)?"13px":"32px",marginPreviousResult:de(i)?"-3px":"4px",columnWidth:(de(i),"22px")})));const a=Tt((()=>e.data.config.settings)),o=Tt((()=>e.results.slice(0,5))),l=Tt((()=>de(a)?.partyIdForOthers)),c=Tt((()=>e.results.slice(5).filter((t=>t.partyId!==de(l))))),u=Tt((()=>e.results.find((t=>t.partyId===de(l)))));let h=G(!0);const d=Tt((()=>{const t=de(u)?.$shareValue,n=de(u)?.$meta?.name,r=de(h)?e.showOtherPartiesStr:e.hideOtherPartiesStr;return n+": "+t.str+t.suffix+" "+r})),f=Tt((()=>!!e.returningResults?.additionalInformation?.currentTurnout&&zg(e.returningResults.additionalInformation.currentTurnout,1))),p=Tt((()=>!!e.returningResults?.additionalInformation?.previousTurnout&&zg(e.returningResults.additionalInformation.previousTurnout))),g=Tt((()=>n.showPersonalVotes));var v=ZT(),m=Oe(v),y=Oe(m),b=Tt((()=>de(a)?.$dateCurrentYear)),w=Tt((()=>de(a)?.$datePreviousYear));hk(y,{get results(){return de(o)},get css(){return de(s)},get currentYear(){return de(b)},get previousYear(){return de(w)}});var _=Pe(Pe(m,!0)),x=Pe(Pe(_,!0));Be(x,0,(()=>({"--color-separator":"var(--int-font-color-gray-fond)"})),(t=>jT(t)));var k=Pe(Pe(x,!0));RT(k,{type:"InfocardResultCollapsible",get title(){return de(d)},infoCard:!0,get collapsed(){return de(h)},set collapsed(t){X(h,gt(t))},children:(t,e)=>{var n=nn();VT(Ae(n),{get results(){return de(c)}}),rn(t,n)},$$slots:{default:!0}});var S=Pe(Pe(k,!0));Ue(S,(()=>de(g)),(t=>{var r=QT(),i=Ae(r);Be(i,0,(()=>({"--color-separator":"var(--int-font-color-gray-fond)"})),(t=>jT(t)));var s=Pe(Pe(i,!0)),a=Tt((()=>e.constituencyVotes?.$results));XT(s,Fn({get results(){return de(a)}},(()=>n))),rn(t,r)})),Ue(Pe(Pe(S,!0)),(()=>de(f)&&de(a)?.$dateCurrentYear),(t=>{var e=JT(),n=Ae(e);Be(n,0,(()=>({"--color-separator":"var(--int-font-color-gray-fond)"})),(t=>jT(t)));var r=Pe(Pe(n,!0)),i=Tt((()=>de(a)?.$dateCurrentYear)),s=Tt((()=>de(a)?.$datePreviousYear));qT(r,{get currentTurnout(){return de(f)},get previousTurnout(){return de(p)},get currentYear(){return de(i)},get previousYear(){return de(s)}}),rn(t,e)})),An(v,"clientWidth",(t=>X(r,t))),rn(t,v),xe()}(Pe(Pe(r,!0)),Fn((()=>n))),rn(t,e)})),rn(t,i),xe()}Ie(["touchmove"]);var rC=(t,e,n)=>e.onclick(Te(n)),iC=Ze('<div class="item svelte-kg0xs2"><span> </span> <div class="icon svelte-kg0xs2"><svg width="13" height="16" viewBox="0 0 13 16" class="svelte-kg0xs2"><path d="M2.34766 14.5152V1.08032H10.3477V14.5152L6.34766 11.0559L2.34766 14.5152Z" class="svelte-kg0xs2"></path></svg></div></div>'),sC=Ze('<div class="constituencies svelte-kg0xs2"><div class="inner svelte-kg0xs2"></div></div>');function aC(t,e){_e(e,!0),Ln(e,["onSavedConstituencty","mapData","onclick"]);let n=Tt((()=>{e.onSavedConstituencty;let t=localStorage.getItem("savedConstituencies");if(!t)return[];let n=t.split('"').join("");return n&&n.length>0?(n=n.split(",").filter((t=>t)),n.map((t=>{if(t)return e.mapData.find((e=>e.id===t))})).filter((t=>t))):[]}));const r=Tt((()=>cv.visualWidth<599&&cv.visualWidth>449?500:cv.visualWidth<450&&cv.visualWidth>393?cv.visualWidth:Math.min(cv.visualWidth,395)));var i=sC(),s=Oe(i);Ye(s,73,(()=>de(n)),We,((t,n,r)=>{var i=iC();i.__click=[rC,e,n];var s=Oe(i),a=Oe(s);st((()=>Fe(a,Te(n).name))),rn(t,i)})),st((()=>{fn(i,"slidable",cv.visualWidth<869),fn(i,"tablet",cv.visualWidth<869&&cv.visualWidth>598),pn(i,"--items",de(n).length),pn(s,"--width",de(r)+"px")})),rn(t,i),xe()}Ie(["click"]);var oC=Ze("Lädt...",1),lC=Ze('<div class="search-input-children-wrapper svelte-1f0azib"><div class="map-wrapper svelte-1f0azib"><!></div> <div class="region-accessor-wrapper svelte-1f0azib"><!></div></div>'),cC=Ze("<!> <!>",1),uC=Ze("Lädt...",1),hC=Ze('<div class="results-map svelte-1f0azib"><div class="description-and-map-wrapper svelte-1f0azib"><div class="description-wrapper svelte-1f0azib"><!></div> <div class="map-wrapper svelte-1f0azib"><!></div></div> <!> <div class="search-and-accessor-wrapper svelte-1f0azib"><div class="search-input-wrapper svelte-1f0azib"><!></div> <div class="region-accessor-wrapper-inline svelte-1f0azib"><!></div></div></div>');const dC=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);var n=t=>{var n=cC(),i=Ae(n);Ue(i,(()=>!de(w)),(t=>{var e=nn();aC(Ae(e),{onclick:b,get onSavedConstituencty(){return de(m)},get mapData(){return de(d)}}),rn(t,e)})),Ue(Pe(Pe(i,!0)),(()=>"constituency_search"===e.interaction),(t=>{var n=nn(),i=Ae(n),s=Tt((()=>de(v)?.name)),a=Tt((()=>e.searchStr.replace("{constituencyDescription}",sx("cardVariables","constituencyDescription"))));rT(i,{get value(){return de(p)},set value(t){X(p,gt(t))},get autocompleteValue(){return de(s)},get placeholder(){return de(a)},onselect:c,onclear:h,onblur:u,children:(t,n)=>{var i=lC(),s=Oe(i);je(Oe(s),(()=>e.geojson),(t=>{rn(t,oC())}),((t,e)=>{var n=nn();const i=Tt((()=>{const{constituencies:t,states:n}=e||{};return{constituencies:t,states:n}}));jS(Ae(n),Fn((()=>r),{get mapData(){return de(d)},get geojson(){return de(i).constituencies},get geojsonOutlines(){return de(i).states},get selectedFeature(){return de(v)}})),rn(t,n)}));var a=Oe(Pe(Pe(s,!0))),c=Tt((()=>""!==de(p)?de(g):de(d)));gT(a,{get data(){return de(c)},get hoveredFeature(){return de(o)},set hoveredFeature(t){X(o,gt(t))},get selectedFeature(){return de(l)},set selectedFeature(t){X(l,gt(t))},get highlightedFeature(){return de(v)},vertical:!0}),rn(t,i)},$$slots:{default:!0}}),rn(t,n)})),rn(t,n)};let r=Ln(e,["results","geojson","showTrendResults","minimumCountingShareForTrendResults","searchStr","interaction","headerSnippets"]);const i="listVotes";vx({search:n,infoCard:t=>{var e=nn(),n=Ae(e),i=Tt((()=>de(l)&&s.isInView)),a=Tt((()=>de(l)?.name)),o=Tt((()=>de(l)?.id));kT(n,{get show(){return de(i)},slidable:!1,bookmarkable:!0,get onSavedConstituencty(){return de(m)},set onSavedConstituencty(t){X(m,gt(t))},get title(){return de(a)},get id(){return de(o)},onclose:h,children:(t,e=yt)=>{var n=nn();Ue(Ae(n),(()=>de(l)),(t=>{var n=nn();nC(Ae(n),Fn((()=>de(l)),(()=>r),{get slidable(){return e()},onclose:h})),rn(t,n)})),rn(t,n)}}),rn(t,e)}});const s=mx();let a,o=G(void 0),l=G(void 0);function c(){X(l,gt(de(v))),X(p,"")}function u(){X(p,"")}function h(){y||(X(p,""),X(l,null))}const d=Tt((()=>e.results.results.map((t=>{const n=t.returningResults.countingProgress.isFullyCounted,r=n?100:t.returningResults.countingProgress.share;let s=e.showTrendResults&&e.minimumCountingShareForTrendResults&&r&&r>=e.minimumCountingShareForTrendResults&&e.minimumCountingShareForTrendResults>=0||!1;n&&(s=!0);const a=t.returningResults[i],o=a.results.map((t=>({...t,$meta:{...t.$meta,$relColor:e.results.aesthetics[i][t.partyId]?.$totalColorScale(t.currentShare)}}))).find((t=>t.partyId===a.additionalInformation.$leadingParty.id)),l=t.returningResults.constituencyVotes;return{...t,...a,isFullyCounted:n,leadingData:o,enoughCountingProgressShare:s,constituencyVotes:l}})).sort(((t,e)=>(t.leadingData?.currentShare||0)-(e.leadingData?.currentShare||0)<0?1:-1))));let f=Tt((()=>!de(d).every((t=>t.isFullyCounted))&&e.showTrendResults)),p=G(""),g=Tt((()=>dx(de(d),de(p)))),v=Tt((()=>{const t=de(g).filter((t=>t.results.length>0&&t.enoughCountingProgressShare));return t.length?t[0]:void 0})),m=G(!1),y=!1;const b=t=>{y=!0,s.isInView=!0,X(l,gt(t)),setTimeout((()=>{y=!1}),33)},w=Tt((()=>cv.visualWidth<869&&cv.visualWidth>598)),_=Tt((()=>de(d).filter((t=>t.enoughCountingProgressShare||t.isFullyCounted)).length));var x=hC(),k=Oe(x),S=Oe(k);Ue(Oe(S),(()=>de(_)),(t=>{var n=nn();!function(t,e){_e(e,!0);const n=Ln(e,["subline","countedStr","showTrendResults","trendResultsStr","countedConstituencies","totalConstituencies"]);var r=kS(),i=Oe(r),s=Oe(i);sn(Oe(s),(()=>e.subline.replace(/{constituencyDescription}/g,sx("cardVariables","constituencyDescription")).replace(/{partyVotes}/g,sx("cardVariables","partyVotes"))));var a=Oe(Pe(Pe(s,!0)));st((()=>Fe(a,e.countedStr.replace(/{countedConstituencies}/g,e.countedConstituencies).replace(/{totalConstituencies}/g,e.totalConstituencies)))),xS(Oe(Pe(Pe(i,!0))),Fn({get showTrendResults(){return e.showTrendResults},get trendResultsStr(){return e.trendResultsStr}},(()=>n))),rn(t,r),xe()}(Ae(n),Fn((()=>r),(()=>e.results.additionalInformation),{get showTrendResults(){return de(f)}})),rn(t,n)})),je(Oe(Pe(Pe(S,!0))),(()=>e.geojson),(t=>{rn(t,uC())}),((t,e)=>{var n=nn();const i=Tt((()=>{const{constituencies:t,states:n}=e||{};return{constituencies:t,states:n}}));$n(jS(Ae(n),Fn((()=>r),{get mapData(){return de(d)},get geojson(){return de(i).constituencies},get geojsonOutlines(){return de(i).states},get showTrendResults(){return de(f)},get hoveredFeature(){return de(o)},set hoveredFeature(t){X(o,gt(t))},get selectedFeature(){return de(l)},set selectedFeature(t){X(l,gt(t))},onclear:h,clickable:!0,enableZoom:!0})),(t=>a=t),(()=>a)),rn(t,n)}));var T=Pe(Pe(k,!0));Ue(T,(()=>de(w)),(t=>{var e=nn();aC(Ae(e),{onclick:b,get onSavedConstituencty(){return de(m)},get mapData(){return de(d)}}),rn(t,e)}));var C=Oe(Pe(Pe(T,!0)));n(Oe(C));var M=Oe(Pe(Pe(C,!0))),R=Tt((()=>""!==de(p)?de(g):de(d)));gT(M,{get data(){return de(R)},get hoveredFeature(){return de(o)},set hoveredFeature(t){X(o,gt(t))},get selectedFeature(){return de(l)},set selectedFeature(t){X(l,gt(t))},get highlightedFeature(){return de(v)},onclick:function(){a&&a.zoomReset({animation:!0})}}),rn(t,x),xe()}},Symbol.toStringTag,{value:"Module"}));var fC=Ze('<li class="item svelte-76k18"><span></span> <span class="label svelte-76k18"> </span></li>'),pC=Ze('<ul class="legend svelte-76k18"></ul>');function gC(t,e){let n=Tt((()=>[{label:e.legendSeatStr,show:!0},{label:e.legendHatchStr,colorClassName:"has-hatch",show:e.showTrendResults}]));var r=pC();Ye(r,73,(()=>de(n)),We,((t,e,n)=>{var r=nn();Ue(Ae(r),(()=>Te(Te(e)).show),(t=>{var n=fC(),r=Oe(n),i=Oe(Pe(Pe(r,!0)));st((()=>{dn(r,`color-box ${Ve(Te(Te(e)).colorClassName)} svelte-76k18`),Fe(i,Te(Te(e)).label)})),rn(t,n)})),rn(t,r)})),rn(t,r)}var vC=Ze('<div class="description svelte-1mcozfo"><div class="subline-and-counted-wrapper svelte-1mcozfo"><div class="subline svelte-1mcozfo"><!></div></div> <div class="legend"><!></div></div>');function mC(t,e){_e(e,!0);let n=Vn(e,"strokeWidth",3,1),r=Vn(e,"backgroundStroke",3,void 0),i=Vn(e,"backgroundStrokeWidth",3,3),s=Vn(e,"fixedStroke",3,void 0),a=Vn(e,"fixedStrokeWidth",3,1),o=Vn(e,"showStroke",3,!1),l=Vn(e,"showFill",3,!1),c=Vn(e,"pattern",3,void 0),u=Vn(e,"contextName",3,"spiegel-canvas");const{register:h,deregister:d,invalidate:f}=me(u());function p(t){const u=new Path2D(e.path);t.globalAlpha=1,l()&&e.fill&&(t.fillStyle=e.fill,t.fill(u),c()&&(t.fillStyle=t.createPattern(c(),"repeat"),t.fill(u))),o()&&e.stroke&&(r()&&(t.strokeStyle=r(),t.lineWidth=i(),t.stroke(u)),t.strokeStyle=e.stroke,t.lineWidth=n(),t.stroke(u)),s()&&(t.strokeStyle=s(),t.lineWidth=a(),t.stroke(u))}nt((()=>(h(p),f(),()=>d(p)))),nt((()=>{e.path,e.stroke,n(),e.fill,o(),l(),f()})),xe()}var yC=Ze('<div class="tooltipResults svelte-uyt2fa"><!></div>');var bC=Ze('<div class="description svelte-1s9sa0h"><span class="sending-seats svelte-1s9sa0h"> </span> <span> </span> <span><!></span></div> <!>',1),wC=Ze('<p class="svelte-1s9sa0h"> </p>'),_C=Ze('<div class="tooltip-content svelte-1s9sa0h"><div class="header svelte-1s9sa0h"><h3 class="svelte-1s9sa0h"> </h3></div> <div class="body svelte-1s9sa0h"><!></div></div>');function xC(t,e){_e(e,!0);const n=Ln(e,["name","numSeats","returningResults","partyVotesStr","countingProgressStr","countingProgressFullyStr","seatsPerCountryStr","additionalInformation","missingVoteShareStr"]),r=Tt((()=>e.returningResults?.listVotes?.results.slice(0,5))),i=Tt((()=>e.returningResults?.countingProgress.isFullyCounted)),s=Tt((()=>e.returningResults?.countingProgress.countingType)),a=Tt((()=>e.returningResults?.listVotes?.results.length>0));var o=_C(),l=Oe(o),c=Oe(l),u=Oe(c);Ue(Oe(Pe(Pe(l,!0))),(()=>de(a)),(t=>{var a=bC(),o=Ae(a),l=Oe(o),c=Oe(l);st((()=>Fe(c,e.seatsPerCountryStr.replace(/{totalCountrySeats}/g,e.numSeats))));var u=Pe(Pe(l,!0)),h=Oe(u);st((()=>Fe(h,e.partyVotesStr.replace(/{constituencyDescription}/g,sx("cardVariables","constituencyDescription")).replace(/{partyVotes}/g,sx("cardVariables","partyVotes")).replace(/{personalVotes}/g,sx("cardVariables","personalVotes"))))),Ue(Oe(Pe(Pe(u,!0))),(()=>de(i)&&e.countingProgressFullyStr),(t=>{var n=en();st((()=>Fe(n,e.countingProgressFullyStr.replace(/{constituencyDescription}/g,sx("cardVariables","constituencyDescription"))))),rn(t,n)}),(t=>{var n=nn();Ue(Ae(n),(()=>e.countingProgressStr),(t=>{var n=en();st((()=>Fe(n,e.countingProgressStr.replace(/{countingShare}/g,e.returningResults?.countingProgress.share).replace(/{countingType}/g,sx("countingTypes",de(s)))))),rn(t,n)}),null,!0),rn(t,n)})),function(t,e){_e(e,!0);let n=Tt((()=>({listVotesHeight:"70px",columnHeight:"70px",marginParty:"13px",marginPreviousResult:"-3px",columnWidth:"22px"})));const r=Tt((()=>e.data.config.settings)),i=Tt((()=>e.results.slice(0,5)));var s=yC(),a=Oe(s),o=Tt((()=>de(r)?.$dateCurrentYear)),l=Tt((()=>de(r)?.$datePreviousYear));hk(a,{get results(){return de(i)},get css(){return de(n)},get currentYear(){return de(o)},get previousYear(){return de(l)}}),rn(t,s),xe()}(Pe(Pe(o,!0)),Fn({get results(){return de(r)}},(()=>n))),rn(t,a)}),(t=>{var n=wC(),r=Oe(n);st((()=>Fe(r,e.missingVoteShareStr))),rn(t,n)})),st((()=>{fn(o,"fixed-dimensions",de(a)),Fe(u,e.name)})),rn(t,o),xe()}var kC=Ze('<div class="non-interactive-canvas svelte-ky96s5"><!> <!></div>');function SC(t,e){_e(e,!0);let n=Vn(e,"isGrayScale",3,!1),r=Vn(e,"isHalfTransparent",3,!1),i=Tt((()=>e.data.map((t=>({...t,showStroke:!1,showFill:!0}))))),s=Tt((()=>e.data.map((t=>({...t,showStroke:!0,showFill:!1})))));var a=kC();pn(a,"position","var(--position, relative)"),pn(a,"z-index","var(--z-index, 0)");var o=Oe(a);Be(o,0,(()=>({"--pointer-events":"none"})),(t=>RS(t,{get width(){return e.width},get height(){return e.height},alpha:!0,children:(t,n)=>{var r=nn();an((()=>e.children),Ae(r),(()=>de(i))),rn(t,r)},$$slots:{default:!0}}))),Be(Pe(Pe(o,!0)),0,(()=>({"--position":"absolute","--z-index":"5","--pointer-events":"none"})),(t=>RS(t,{get width(){return e.width},get height(){return e.height},alpha:!0,children:(t,n)=>{var r=nn();an((()=>e.children),Ae(r),(()=>de(s))),rn(t,r)},$$slots:{default:!0}}))),st((()=>{fn(a,"is-gray-scale",n()),fn(a,"is-half-transparent",r())})),rn(t,a),xe()}var TC=Ze('<div class="cartogram svelte-lunw6z"><!> <!> <!></div>');function CC(t,e){_e(e,!0);var n=t=>{var e=nn(),n=Ae(e),i=Tt((()=>de(f).find((t=>t.id===r().id))?.numSeats));xC(n,Fn(r,{get numSeats(){return de(i)}},(()=>a))),rn(t,e)};let r=Vn(e,"hoveredFeature",7),i=Vn(e,"selectedFeature",7),s=Vn(e,"clickable",3,!1),a=Ln(e,["mapData","geojson","partials","showTrendResults","hoveredFeature","selectedFeature","onclear","clickable"]);const o=av();let l=G(void 0),c=G(void 0);setTimeout((()=>{const t=de(l);X(l,0),X(l,gt(t))}),500);let u=Tt((()=>Od().fitExtent([[1,1],[de(l)-2,de(c)-2]],e.geojson))),h=Tt((()=>yd().projection(de(u)))),d=Tt((()=>[r()?.id,i()?.id].filter((t=>t)))),f=Tt((()=>Fs(e.partials.features,(t=>t.length),(t=>t.properties.Layer)).map((([t,e])=>({id:t,numSeats:e}))))),p=Tt((()=>e.mapData&&e.geojson?e.mapData.map((t=>{const n=e.geojson.features.find((e=>e.properties.Layer===`${t.id}_border`));return{...t,path:de(h)(n),stroke:cv.colors.grayDarker,strokeWidth:1.5,backgroundStrokeWidth:4,fill:void 0}})):[])),g=Tt((()=>e.mapData&&e.partials?e.mapData.map((t=>{const n=t.returningResults.type,r=t.id,i=t.returningResults.countingProgress.isFullyCounted;let s=1;return t.euSeats.map((a=>{const o=a.currentSeats;return Array.from({length:o}).map(((o,l)=>{const c=e.partials.features.find((e=>e.properties.Layer===t.id&&e.properties.number===s));return s+=1,{...a,resultType:n,isFullyCounted:i,countryId:r,path:de(h)(c),fill:a?.$meta?.$color,stroke:cv.colors.foreground,strokeWidth:.5,seatNumber:l+1,seatCounter:s}}))})).filter((t=>t.length)).flat()})).flat():[]));function v(t){cv.device.isTouch||(r(t.data),SS.item=n,SS.show=!!r())}function m(t){s()&&(i(t.data),i()||e.onclear())}var y=TC(),b=Oe(y),w=(t,e=yt)=>{var n=nn();Ye(Ae(n),65,(()=>e().filter((t=>!de(d).includes(t.countryId)))),We,((t,e,n)=>{var r=nn(),i=(Ae(r),Tt((()=>Te(Te(e)).resultType&&!Te(Te(e)).isFullyCounted?o:void 0)));mC(0,Fn((()=>we(Te(Te(e)),["resultType","isFullyCounted"])),{get pattern(){return de(i)}})),rn(t,r)})),rn(t,n)};SC(b,{get width(){return de(l)},get height(){return de(c)},get data(){return de(g)},isHalfTransparent:!0,children:w});var _=Pe(Pe(b,!0));Ue(_,(()=>de(d).length),(t=>{var e=nn(),n=Ae(e),r=(t,e=yt)=>{var n=nn();Ye(Ae(n),65,(()=>e().filter((t=>de(d).includes(t.countryId)))),We,((t,e,n)=>{var r=nn(),i=(Ae(r),Tt((()=>Te(Te(e)).resultType&&!Te(Te(e)).isFullyCounted?o:void 0)));mC(0,Fn((()=>we(Te(Te(e)),["resultType","isFullyCounted"])),{get pattern(){return de(i)}})),rn(t,r)})),rn(t,n)};Be(n,0,(()=>({"--position":"absolute","--z-index":"1"})),(t=>SC(t,{get width(){return de(l)},get height(){return de(c)},get data(){return de(g)},children:r}))),rn(t,e)}));var x=Pe(Pe(_,!0));w=(t,e=yt)=>{var n=nn();Ye(Ae(n),65,e,We,((t,e,n)=>{let s=()=>Te(Te(e)).id,a=()=>Te(Te(e)).strokeWidth,o=()=>Te(Te(e)).backgroundStrokeWidth;var l=nn();const c=Tt((()=>r()&&r().id===s())),u=Tt((()=>i()&&i().id===s()));Ae(l);var h=Tt((()=>de(u)||de(c)?cv.colors.background:Te(Te(e)).stroke)),d=Tt((()=>de(u)?2*a():a())),f=Tt((()=>de(u)?cv.colors.foreground:void 0)),p=Tt((()=>de(u)?2*o():o()));mC(0,Fn((()=>we(Te(Te(e)),["id","stroke","strokeWidth","backgroundStrokeWidth"])),{get stroke(){return de(h)},get strokeWidth(){return de(d)},get backgroundStroke(){return de(f)},get backgroundStrokeWidth(){return de(p)}})),rn(t,l)})),rn(t,n)};Be(x,0,(()=>({"--position":"absolute","--z-index":"2"})),(t=>OS(t,{get width(){return de(l)},get height(){return de(c)},get data(){return de(p)},get activeIds(){return de(d)},checkPropertyForInteractivity:"euSeats",onmousemove:v,onclick:m,children:w}))),An(y,"clientWidth",(t=>X(l,t))),An(y,"clientHeight",(t=>X(c,t))),ln(y,(t=>px(t))),ln(y,(t=>gx(t))),$e("clickoutside",y,m,!1),$e("mousemoveoutside",y,v,!1),rn(t,y),xe()}var MC=Ze('<span class="state svelte-5930gq"> </span>'),RC=Ze('<div class="description svelte-5930gq"><!> <span><!></span> <span class="votes svelte-5930gq"> </span></div>');var EC=(t,e)=>X(e,!de(e)),OC=Ze('<button class="arrow svelte-1x6cw8n"><!></button>'),AC=Ze("<span> </span>"),PC=Ze('<span class="row-extra svelte-1x6cw8n"><span> </span></span>'),$C=Ze('<div class="row svelte-1x6cw8n"><div class="partyLong svelte-1x6cw8n"><!> <!></div> <div class="shareValue svelte-1x6cw8n"> </div> <div class="diffValue svelte-1x6cw8n"> </div></div> <!>',1);Ie(["click"]);var IC=Ze('<div class="overview-table svelte-14vwwlo"></div>');function DC(t,e){var n=IC();Ye(n,73,(()=>e.results),We,((t,e,n)=>{var r=nn();!function(t,e){_e(e,!0);let n=G(!1),r=G(null),i=G(null),s=Tt((()=>de(r)&&de(r).scrollWidth>de(i)));const a="tableRow"+e.party.id,[o,l]=zv({fallback(t,e){const n=getComputedStyle(t),r="none"===n.transform?"":n.transform;return{duration:300,easing:X_,css:t=>`\n\t\t\t\t\ttransform: ${r} scale(${t});\n\t\t\t\t\topacity: ${t}\n\t\t\t\t`}}}),c=Tt((()=>e.party.name?e.party.name:e.party.abbr));var u=$C(),h=Ae(u);Sn(3,h,(()=>Fv));var d=Oe(h);$n(d,(t=>X(r,gt(t))),(()=>de(r)));var f=Oe(d);Ue(f,(()=>de(s)),(t=>{var e=OC();e.__click=[EC,n],L_(Oe(e),{type:"light"}),st((()=>fn(e,"rotated",de(n)))),rn(t,e)})),Ue(Pe(Pe(f,!0)),(()=>!de(n)),(t=>{var e=AC();Sn(1,e,(()=>l),(()=>({key:a}))),Sn(2,e,(()=>o),(()=>({key:a})));var n=Oe(e);st((()=>Fe(n,de(c)))),rn(t,e)}));var p=Pe(Pe(d,!0)),g=Oe(p),v=Oe(Pe(Pe(p,!0)));Ue(Pe(Pe(h,!0)),(()=>de(n)),(t=>{var n=PC(),r=Oe(n);Sn(1,r,(()=>l),(()=>({key:a}))),Sn(2,r,(()=>o),(()=>({key:a})));var i=Oe(r);st((()=>{fn(n,"even",e.even),Fe(i,e.party.name)})),rn(t,n)})),st((()=>{fn(h,"even",e.even),pn(d,"padding-right",de(s)?"10px":"0px"),Fe(g,e.shareValue),Fe(v,e.diffValue)})),An(d,"clientWidth",(t=>X(i,t))),rn(t,u),xe()}(Ae(r),{get party(){return Te(Te(e)).$meta},get shareValue(){return Te(Te(e)).$shareValue.str},get diffValue(){return Te(Te(e)).$diffValue.str},even:Te(n)%2==0}),rn(t,r)})),rn(t,n)}var NC=Ze("<!> <!>",1),LC=Ze("<!> <!>",1),HC=Ze('<div class="infocardResults svelte-1spxdm"><div class="few-results svelte-1spxdm"><!></div> <div class="infocardResults__margin svelte-1spxdm"></div> <!> <!></div>');var FC=Ze("<!> <!>",1),VC=Ze('<p class="svelte-1do1vj5"> </p>'),zC=Ze('<div class="body svelte-1do1vj5"><!></div>');function jC(t,e){_e(e,!0);const n=Ln(e,["missingVoteShareStr"]);let r;var i=zC();$n(i,(t=>r=t),(()=>r)),i.__touchmove=function(t){r.scrollTop>0&&t.stopPropagation()},Ue(Oe(i),(()=>n&&n.partyVotesStr&&n.electionKey&&n.results.length),(t=>{var e=FC(),r=Ae(e);!function(t,e){_e(e,!0);const n=Vn(e,"stateName",3,!1),r=Tt((()=>e.returningResults?.countingProgress?.isFullyCounted)),i=Tt((()=>e.returningResults?.countingProgres?.countingType));var s=RC(),a=Oe(s);Ue(a,n,(t=>{var e=MC(),r=Oe(e);st((()=>Fe(r,n()))),rn(t,e)}));var o=Pe(Pe(a,!0));Ue(Oe(o),(()=>de(r)&&e.countingProgressFullyStr),(t=>{var n=en();st((()=>Fe(n,e.countingProgressFullyStr.replace(/{constituencyDescription}/g,sx("cardVariables","constituencyDescription"))))),rn(t,n)}),(t=>{var n=nn();Ue(Ae(n),(()=>e.countingProgressStr),(t=>{var n=en();st((()=>Fe(n,e.countingProgressStr.replace(/{countingShare}/g,e.returningResults?.countingProgress?.share).replace(/{countingType}/g,sx("countingTypes",de(i)))))),rn(t,n)}),null,!0),rn(t,n)}));var l=Oe(Pe(Pe(o,!0)));st((()=>Fe(l,e.partyVotesStr.replace(/{constituencyDescription}/g,sx("cardVariables","constituencyDescription")).replace(/{partyVotes}/g,sx("cardVariables","partyVotes")).replace(/{personalVotes}/g,sx("cardVariables","personalVotes"))))),rn(t,s),xe()}(r,Fn((()=>n))),function(t,e){_e(e,!0);let n=G(0);const r=Tt((()=>de(n)<400));let i=Tt((()=>({listVotesHeight:"70px",columnHeight:"70px",marginParty:de(r)?"13px":"32px",marginPreviousResult:de(r)?"-3px":"4px",columnWidth:(de(r),"22px")})));const s=Tt((()=>e.data.config.settings)),a=Tt((()=>e.results.slice(0,5))),o=Tt((()=>e.results.slice(5).filter((t=>t.partyId!==e.deviatingPartyIdForOthers)))),l=Tt((()=>e.results.find((t=>t.partyId===e.deviatingPartyIdForOthers)))),c=Tt((()=>{const t=de(l)?.$shareValue,e=de(l)?.$meta?.name;return e+": "+t?.str+t?.suffix})),u=Tt((()=>!!e.returningResults?.additionalInformation?.currentTurnout&&zg(e.returningResults.additionalInformation.currentTurnout))),h=Tt((()=>!!e.returningResults?.additionalInformation?.previousTurnout&&zg(e.returningResults.additionalInformation.previousTurnout)));var d=HC(),f=Oe(d),p=Oe(f),g=Tt((()=>de(s)?.$dateCurrentYear)),v=Tt((()=>de(s)?.$datePreviousYear));hk(p,{get results(){return de(a)},get css(){return de(i)},get currentYear(){return de(g)},get previousYear(){return de(v)}});var m=Pe(Pe(f,!0)),y=Pe(Pe(m,!0));Ue(y,(()=>de(o)&&de(o).length>0),(t=>{var e=NC(),n=Ae(e);Be(n,0,(()=>({"--color-separator":"var(--int-font-color-gray-fond)"})),(t=>jT(t))),RT(Pe(Pe(n,!0)),{type:"InfocardResultCollapsible",get title(){return de(c)},infoCard:!0,children:(t,e)=>{var n=nn();DC(Ae(n),{get results(){return de(o)}}),rn(t,n)},$$slots:{default:!0}}),rn(t,e)})),Ue(Pe(Pe(y,!0)),(()=>de(u)&&de(s)?.$dateCurrentYear),(t=>{var e=LC(),n=Ae(e);Be(n,0,(()=>({"--color-separator":"var(--int-font-color-gray-fond)"})),(t=>jT(t)));var r=Pe(Pe(n,!0)),i=Tt((()=>de(s)?.$dateCurrentYear)),a=Tt((()=>de(s)?.$datePreviousYear));qT(r,{get currentTurnout(){return de(u)},get previousTurnout(){return de(h)},get currentYear(){return de(i)},get previousYear(){return de(a)}}),rn(t,e)})),An(d,"clientWidth",(t=>X(n,t))),rn(t,d),xe()}(Pe(Pe(r,!0)),Fn((()=>n))),rn(t,e)}),(t=>{var n=VC(),r=Oe(n);st((()=>Fe(r,e.missingVoteShareStr))),rn(t,n)})),rn(t,i),xe()}Ie(["touchmove"]);var UC=Ze("Lädt...",1),BC=Ze('<div class="search-input-children-wrapper svelte-8sobs7"><div class="cartogram-wrapper svelte-8sobs7"><!></div> <div class="region-accessor-wrapper svelte-8sobs7"><!></div></div>'),qC=Ze("Lädt...",1),WC=Ze('<div class="results-cartogram svelte-8sobs7"><div class="description-and-cartogram-wrapper svelte-8sobs7"><div class="description-wrapper svelte-8sobs7"><!></div> <div class="cartogram-wrapper svelte-8sobs7"><!></div></div> <div class="search-and-accessor-wrapper svelte-8sobs7"><div class="search-input-wrapper svelte-8sobs7"><!></div> <div class="region-accessor-wrapper-inline svelte-8sobs7"><!></div></div></div>');const YC=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);var n=t=>{var n=nn();Ue(Ae(n),(()=>"country_search"===e.interaction),(t=>{var n=nn(),r=Ae(n),s=Tt((()=>de(p)?.name)),g=Tt((()=>e.searchStr.replace("{constituencyDescription}",sx("cardVariables","constituencyDescription"))));rT(r,{get value(){return de(d)},set value(t){X(d,gt(t))},get autocompleteValue(){return de(s)},get placeholder(){return de(g)},onselect:l,onclear:u,onblur:c,children:(t,n)=>{var r=BC(),s=Oe(r);je(Oe(s),(()=>e.geojson),(t=>{rn(t,UC())}),((t,e)=>{var n=nn();const r=Tt((()=>{const{constituencies:t,states:n}=e||{};return{constituencies:t,states:n}}));CC(Ae(n),Fn((()=>i),{get mapData(){return de(h)},get geojson(){return de(r).states},get partials(){return de(r).constituencies},get selectedFeature(){return de(p)}})),rn(t,n)}));var l=Oe(Pe(Pe(s,!0))),c=Tt((()=>""!==de(d)?de(f):de(h)));gT(l,{get data(){return de(c)},get hoveredFeature(){return de(a)},set hoveredFeature(t){X(a,gt(t))},get selectedFeature(){return de(o)},set selectedFeature(t){X(o,gt(t))},get highlightedFeature(){return de(p)},vertical:!0}),rn(t,r)},$$slots:{default:!0}}),rn(t,n)})),rn(t,n)};let r,i=Ln(e,["results","geojson","showTrendResults","searchStr","interaction"]);vx({search:n,infoCard:t=>{var e=nn(),n=Ae(e),r=Tt((()=>de(o)&&s.isInView)),a=Tt((()=>de(o)?.name));kT(n,{get show(){return de(r)},slidable:!1,get title(){return de(a)},onclose:u,children:(t,e=yt)=>{var n=nn();Ue(Ae(n),(()=>de(o)),(t=>{var n=nn();jC(Ae(n),Fn((()=>de(o)),(()=>i),{get slidable(){return e()},onclose:u})),rn(t,n)})),rn(t,n)}}),rn(t,e)}});const s=mx();let a=G(void 0),o=G(void 0);function l(){X(o,gt(de(p))),X(d,"")}function c(){X(d,"")}function u(){X(d,""),X(o,null)}const h=Tt((()=>e.results.results.map((t=>{const e=t.returningResults.countingProgress.isFullyCounted,n=t.returningResults.listVotes;return{...t,...n,isFullyCounted:e,searchStrings:[t.name]}}))));let d=G(""),f=Tt((()=>dx(de(h),de(d)))),p=Tt((()=>de(f).length?de(f)[0]:void 0)),g=Tt((()=>!Ig.type||"article"!==Ig.type||!!cv.device.isTouch));var v=WC();$n(v,(t=>r=t),(()=>r));var m=Oe(v),y=Oe(m),b=Oe(y),w=Tt((()=>de(h).some((t=>!t.isFullyCounted))));!function(t,e){_e(e,!0);const n=Ln(e,["subline"]);var r=vC(),i=Oe(r),s=Oe(i);sn(Oe(s),(()=>e.subline)),gC(Oe(Pe(Pe(i,!0))),Fn((()=>n))),st((()=>fn(s,"article","article"===Ig.type))),rn(t,r),xe()}(b,Fn((()=>i),(()=>e.results.additionalInformation),{get showTrendResults(){return de(w)}})),je(Oe(Pe(Pe(y,!0))),(()=>e.geojson),(t=>{rn(t,qC())}),((t,n)=>{var r=nn();const s=Tt((()=>{const{states:t,constituencies:e}=n||{};return{states:t,constituencies:e}}));CC(Ae(r),Fn((()=>i),{get mapData(){return de(h)},get geojson(){return de(s).states},get partials(){return de(s).constituencies},get showTrendResults(){return e.showTrendResults},get hoveredFeature(){return de(a)},set hoveredFeature(t){X(a,gt(t))},get selectedFeature(){return de(o)},set selectedFeature(t){X(o,gt(t))},onclear:u,get clickable(){return de(g)}})),rn(t,r)}));var _=Pe(Pe(m,!0)),x=Oe(_);n(Oe(x));var k=Oe(Pe(Pe(x,!0))),S=Tt((()=>""!==de(d)?de(f):de(h)));gT(k,{get data(){return de(S)},get hoveredFeature(){return de(a)},set hoveredFeature(t){X(a,gt(t))},get selectedFeature(){return de(o)},set selectedFeature(t){X(o,gt(t))},get highlightedFeature(){return de(p)}}),st((()=>{fn(v,"article","article"===Ig.type),fn(_,"article","article"===Ig.type),fn(x,"article","article"===Ig.type)})),rn(t,v),xe()}},Symbol.toStringTag,{value:"Module"}));ng({...{...gu,decimal:".",currency:["","  €"],percent:" %",nan:"—",thousands:",",grouping:[3]},dateTime:"%a %b %e %X %Y",date:"%d.%m.%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],shortDays:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],shortMonths:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"]}).format;const GC={year:Nf("%Y"),"month-short":Nf("%b"),"month-year":Nf("%b. %y"),"day-month-year":Nf("%e.%m.%y")},KC=(t,e)=>(0,GC[e])(t);Lf("%Y-%m-%d");var XC=Ze('<div class="x-tick svelte-120yrbv"><span class="tick-line svelte-120yrbv"></span> <span class="tick-label svelte-120yrbv"> </span></div>'),QC=Ze('<span class="tick-line coalition svelte-120yrbv"></span>'),JC=Ze('<span class="tick-line svelte-120yrbv"></span>'),ZC=Ze('<div class="y-tick svelte-120yrbv"><!> <span class="tick-label svelte-120yrbv"> </span></div>'),tM=Ze('<div class="x-axis-ticks svelte-120yrbv"></div> <div class="y-axis-ticks svelte-120yrbv"></div>',1);function eM(t,e){_e(e,!0);const n=Vn(e,"xaxisFormat",3,"year"),r=Vn(e,"paddingLeft",3,"0px"),i=Vn(e,"paddingRight",3,"0px"),s=Vn(e,"coalitions",3,!1);let a=G(0);const o=Tt((()=>e.xScale.range())),l=[...new Set([...e.xScale.ticks(5),e.xScale.domain()[1]])],c=s()?[100,75,50,25,0]:e.yScale.ticks(5).reverse(),u=Tt((()=>l.map((t=>.7*KC(t,n()).length))));var h=tM(),d=Ae(h);Ye(d,73,(()=>l),We,((t,r,i)=>{var s=XC();const a=Tt((()=>e.xScale(Te(r)))),l=Tt((()=>de(u)[Te(i)]));var c=Pe(Pe(Oe(s),!0)),h=Oe(c);st((()=>Fe(h,KC(Te(r),n()).replace(".0",".")))),st((()=>{pn(s,"left",`${Ve(de(a))}%`),pn(c,"transform",`translateX(${Ve(de(a)-de(l)<de(o)[0]?de(l):de(a)+de(l)>de(o)[1]?-de(l):0)}%)`)})),rn(t,s)}));Ye(Pe(Pe(d,!0)),73,(()=>c),We,((t,n,a)=>{var o=ZC();const l=Tt((()=>(t=>s()?0===t||50===t?"100%":"-10px":"100%")(Te(n))));st((()=>pn(o,"top",e.yScale(Te(n))+"%")));var c=Oe(o);Ue(c,(()=>s()&&50===Te(n)),(t=>{rn(t,QC())}),(t=>{rn(t,JC())}));var u=Oe(Pe(Pe(c,!0)));st((()=>Fe(u,[zg(Te(n)).str,(Te(a),"")].join(" ")))),st((()=>{pn(o,"width","calc("+de(l)+" + "+r()+" + "+i()+")"),pn(o,"left","calc(-1 * "+r()+")")})),rn(t,o)})),An(d,"clientWidth",(t=>X(a,t))),rn(t,h),xe()}var nM=Ze('<div class="point svelte-zni7ym"></div>');function rM(t,e){const n=Vn(e,"color",3,!1);var r=nM();st((()=>{fn(r,"nocolor",!n()),pn(r,"top",e.y+"%"),pn(r,"left",e.x+"%"),pn(r,"background-color",n())})),rn(t,r)}var iM=tn('<svg viewBox="0 0 100 100" preserveAspectRatio="none" class="svelte-4rsqqi"><!></svg>');function sM(t,e){_e(e,!0);const n=Vn(e,"children",3,void 0);var r=iM();an(n,Oe(r)),rn(t,r),xe()}var aM=Ze('<div class="chartOuter svelte-pnvfcx"><div class="chart svelte-pnvfcx"><div class="chartInner svelte-pnvfcx"><!></div></div></div>');function oM(t,e){_e(e,!0);const n=Vn(e,"chartHeight",3,"237px"),r=Vn(e,"paddingLeft",3,"32px"),i=Vn(e,"paddingRight",3,"0px"),s=Vn(e,"paddingTop",3,"16px"),a=Vn(e,"paddingBottom",3,"16px"),o=Vn(e,"children",3,void 0);var l=aM(),c=Oe(l),u=Oe(c);an(o,Oe(u)),st((()=>{pn(l,"margin-bottom",a()),pn(c,"height",n()),pn(c,"padding-left",r()),pn(c,"padding-right",i()),pn(c,"padding-top",s()),pn(c,"padding-bottom",a())})),rn(t,l),xe()}var lM=Ze('<div class="container svelte-4sp5fa"><!></div>');function cM(t,e){_e(e,!0);const n=Vn(e,"children",3,void 0);var r=lM();an(n,Oe(r)),rn(t,r),xe()}var uM=Ze('<li class="item svelte-7a4lom"><span class="color-box svelte-7a4lom"></span> <span class="label svelte-7a4lom"> </span></li>'),hM=Ze('<ul class="legend svelte-7a4lom"></ul>');function dM(t,e){const n=Vn(e,"type",3,"quad");var r=hM();Ye(r,73,(()=>e.groups),We,((t,e,r)=>{var i=uM(),s=Oe(i),a=Oe(Pe(Pe(s,!0)));st((()=>{hn(s,"style",`background-color: ${Ve(Te(Te(e)).color)}`),fn(s,"line","line"===n()),Fe(a,Te(Te(e)).label)})),rn(t,i)})),rn(t,r)}var fM=Ze('<div class="currentTurnout svelte-1su7ruc"><div class="svelte-1su7ruc"> </div></div>');function pM(t,e){_e(e,!0);const n=Tt((()=>e.rectWidth<90));var r=fM(),i=Oe(r),s=Oe(i);st((()=>{pn(r,"width",e.rectWidth+"px"),pn(r,"top","-"+e.css.paddingTop),pn(r,"right","-"+e.css.paddingRight),pn(r,"height","calc(100% + "+e.css.paddingTop+")"),fn(i,"overflow",de(n)),pn(i,"top","calc(4px + "+e.css.paddingTop+")"),Fe(s,e.text)})),rn(t,r),xe()}var gM=tn('<g class="party"><path class="svelte-b95wzh"></path></g>'),vM=tn('<g class="party"><path class="svelte-b95wzh"></path></g>'),mM=tn("<!><!>",1),yM=Ze("<!> <!> <!>",1),bM=Ze("<!> <!> <!> <!>",1),wM=Ze('<div class="historicResults svelte-b95wzh"><div class="description svelte-b95wzh"><!></div> <div class="body svelte-b95wzh"><!> <!></div></div>');const _M=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);const n=Vn(e,"isInCollapsible",3,!1),r=Tt((()=>e.results.resultsOverall?.listVotes?.results)),i=Tt((()=>e.data?.config?.settings?.$dateCurrent)),s=Tt((()=>!(!de(r)||!de(i)))),a=Tt((()=>e.data?.config?.settings?.partyIdForOthers)),o=Tt((()=>e.results.historic.$renderedResults.parties)),l=Tt((()=>{let t;if(de(s)){const n=de(r).map((t=>t.partyId));t=e.results.historic.$renderedResults.results.map((t=>{const e=t.values.filter((t=>n.includes(t.partyId)));return{...t,values:e}}))}else t=e.results.historic.$renderedResults.results;return t})),c=Tt((()=>{if(!de(s))return!1;const t=de(l)[de(l).length-1],e=de(r).filter((t=>t.partyId!==de(a))),n=[{$timestamp:t.$timestamp,values:[]},{$timestamp:de(i),values:[]}];return t.values.map((t=>{const r=e.find((e=>e.partyId===t.partyId));r&&(n[0].values.push({partyId:t.partyId,share:t.share}),n[1].values.push({partyId:t.partyId,share:r.currentShare}))})),n})),u=Tt((()=>{if(!de(s))return!1;const t=de(l)[de(l).length-1]?.values;return de(r).filter((t=>t.partyId!==de(a))).filter((e=>!t.some((t=>t.partyId===e.partyId)))).map((t=>({partyId:t.partyId,share:t.currentShare,party:de(o).find((e=>e.id===t.partyId))})))})),h=Tt((()=>{let t=1;if(de(s)&&de(l)){const e=de(l).concat(de(c));t=Math.max(...e.map((t=>t.values.map((t=>t.share)))).flat())}else t=Math.max(...de(l).map((t=>t.values.map((t=>t.share)))).flat());return t})),d=Tt((()=>de(i)?Is([...de(l),{$timestamp:de(i)}].map((t=>t.$timestamp))):Is(de(l),(t=>t.$timestamp)))),f=Tt((()=>[0,de(h)])),p=Tt((()=>ag().domain(de(d)).range([0,100]))),g=Tt((()=>Ud().domain(de(f)).range([100,0]))),v=Tt((()=>dg().x((t=>de(p)(t.timestamp))).y((t=>de(g)(t.share))).curve(yg))),m=t=>t.reduce(((t,e)=>(e.values.forEach((({partyId:n,share:r})=>{const i=t.find((t=>t.partyId===n)),s={timestamp:e.$timestamp,share:r};i?i.shares.push(s):t.push({partyId:n,party:de(o).find((t=>t.id===n)),shares:[s]})})),t)),[]),y=t=>t.map((t=>{const e=de(v)(t.shares),n=t.shares.map((t=>({x:de(p)(t.timestamp),y:de(g)(t.share),timestamp:t.timestamp,share:t.share})));return{...t,path:e,points:n}})),b=Tt((()=>m(de(l)))),w=Tt((()=>y(de(b)))),_=Tt((()=>m(de(c)))),x=Tt((()=>y(de(_)))),k=Tt((()=>!(!de(s)&&!de(u))&&de(u).map((t=>{const e=[{x:de(p)(de(i)),y:de(g)(t.share)}];return{...t,points:e}})))),S=Tt((()=>!!(de(s)&&e.labelForcastStr&&e.results?.resultsOverall?.type)&&e.labelForcastStr.replace(/\{resultType\}/g,sx("resultTypes",e.results?.resultsOverall?.type))));let T=G(0);const C=Ud().domain([320,600]).range([55,112]).clamp(!0),M=Tt((()=>C(de(T)))),R=Tt((()=>({chartHeight:"327px",paddingLeft:"32px",paddingRight:de(M)/2+"px",paddingTop:"16px",paddingBottom:"16px"}))),E=Tt((()=>{let t=[];return de(w).map((e=>{t.push({label:e.party.abbr,color:e.party.$color})})),de(s)&&de(x).length>0&&de(x).map((e=>{void 0===t.find((t=>t.label===e.party.abbr))&&t.push({label:e.party.abbr,color:e.party.$color})})),de(s)&&de(k)&&de(k).length>0&&de(k).map((e=>{void 0===t.find((t=>t.label===e.party.abbr))&&t.push({label:e.party.abbr,color:e.party.$color})})),t}));var O=wM(),A=Oe(O);sn(Oe(A),(()=>e.subline));var P=Pe(Pe(A,!0)),$=Oe(P);dM($,{get groups(){return de(E)},type:"line"}),oM(Pe(Pe($,!0)),{get chartHeight(){return de(R).chartHeight},get paddingLeft(){return de(R).paddingLeft},get paddingRight(){return de(R).paddingRight},get paddingTop(){return de(R).paddingTop},get paddingBottom(){return de(R).paddingBottom},children:(t,n)=>{var r=bM(),i=Ae(r);Ue(i,(()=>de(s)&&de(S)),(t=>{var e=nn();pM(Ae(e),{get rectWidth(){return de(M)},get css(){return de(R)},get text(){return de(S)}}),rn(t,e)}));var a=Pe(Pe(i,!0));Ue(a,(()=>de(p)&&de(g)),(t=>{var e=nn();eM(Ae(e),{get xScale(){return de(p)},get yScale(){return de(g)},get paddingLeft(){return de(R).paddingLeft},get paddingRight(){return de(R).paddingRight}}),rn(t,e)}));var o=Pe(Pe(a,!0));sM(o,{children:(t,n)=>{var r=mM(),i=Ae(r);Ye(i,65,(()=>de(w)),We,((t,e,n)=>{var r=gM(),i=Oe(r);st((()=>{hn(i,"d",Te(Te(e)).path),pn(i,"stroke",Te(Te(e)).party.$color)})),rn(t,r)})),Ue(Pe(i),(()=>de(s)),(t=>{var n=nn();Ye(Ae(n),65,(()=>de(x)),We,((t,n,r)=>{var i=vM(),a=Oe(i);st((()=>{hn(a,"d",Te(Te(n)).path),fn(a,"lined",de(s)&&!1===e.useReturningResults),pn(a,"stroke",Te(Te(n)).party.$color)})),rn(t,i)})),rn(t,n)})),rn(t,r)},$$slots:{default:!0}}),cM(Pe(Pe(o,!0)),{children:(t,e)=>{var n=yM(),r=Ae(n);Ye(r,65,(()=>de(w)),We,((t,e,n)=>{var r=nn();Ye(Ae(r),65,(()=>Te(Te(e)).points),We,((t,n,r)=>{var i=nn();rM(Ae(i),{get x(){return Te(Te(n)).x},get y(){return Te(Te(n)).y},get color(){return Te(Te(e)).party.$color}}),rn(t,i)})),rn(t,r)}));var i=Pe(Pe(r,!0));Ue(i,(()=>de(s)),(t=>{var e=nn();Ye(Ae(e),65,(()=>de(x)),We,((t,e,n)=>{var r=nn();Ye(Ae(r),65,(()=>Te(Te(e)).points),We,((t,n,r)=>{var i=nn();rM(Ae(i),{get x(){return Te(Te(n)).x},get y(){return Te(Te(n)).y},get color(){return Te(Te(e)).party.$color}}),rn(t,i)})),rn(t,r)})),rn(t,e)})),Ue(Pe(Pe(i,!0)),(()=>de(s)&&de(k)),(t=>{var e=nn();Ye(Ae(e),65,(()=>de(k)),We,((t,e,n)=>{var r=nn();Ye(Ae(r),65,(()=>Te(Te(e)).points),We,((t,n,r)=>{var i=nn();rM(Ae(i),{get x(){return Te(Te(n)).x},get y(){return Te(Te(n)).y},get color(){return Te(Te(e)).party.$color}}),rn(t,i)})),rn(t,r)})),rn(t,e)})),rn(t,n)},$$slots:{default:!0}}),rn(t,r)},$$slots:{default:!0}}),st((()=>fn(O,"reduced-padding",n()))),An(P,"clientWidth",(t=>X(T,t))),rn(t,O),xe()}},Symbol.toStringTag,{value:"Module"}));var xM=Ze('<div class="box svelte-1ljd0dl"><div class="column svelte-1ljd0dl"></div></div>'),kM=Ze("<!> <!>",1),SM=Ze('<div class="historicCoalitions svelte-1ljd0dl"><div class="description svelte-1ljd0dl"><!></div> <div class="body svelte-1ljd0dl"><!> <!></div></div>');const TM=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);let n=Tt((()=>e.results.historic.$renderedCoalitions.xScale)),r=Tt((()=>e.results.historic.$renderedCoalitions.yScale)),i=Tt((()=>e.results.historic.$renderedCoalitions.data));const s="327px",a="32px",o="0px",l="16px",c="16px",u=Tt((()=>{let t=[],e=[];return de(i).map((n=>{n.$renderedValues.map((n=>{n&&!t.includes(n.party.abbr)&&(t.push(n.party.abbr),e.push({label:n.party.abbr,color:n.party.$color}))}))})),e}));var h=SM(),d=Oe(h);sn(Oe(d),(()=>e.subline));var f=Oe(Pe(Pe(d,!0)));dM(f,{get groups(){return de(u)}}),oM(Pe(Pe(f,!0)),{get chartHeight(){return s},get paddingLeft(){return a},get paddingRight(){return o},get paddingTop(){return l},get paddingBottom(){return c},children:(t,e)=>{var s=kM(),o=Ae(s);cM(o,{children:(t,e)=>{var n=nn();Ye(Ae(n),65,(()=>de(i)),We,((t,e,n)=>{var r=nn();Ye(Ae(r),65,(()=>Te(Te(e)).$renderedValues),We,((t,e,n)=>{var r=xM();st((()=>{pn(r,"left",Te(Te(e)).left+"%"),pn(r,"bottom",Te(Te(e)).bottom+"%"),pn(r,"width",Te(Te(e)).width+"%"),pn(r,"height",Te(Te(e)).height+"%"),pn(r,"background-color",Te(Te(e)).party.$color)})),rn(t,r)})),rn(t,r)})),rn(t,n)},$$slots:{default:!0}}),Ue(Pe(Pe(o,!0)),(()=>de(n)&&de(r)),(t=>{var e=nn();eM(Ae(e),{coalitions:!0,get xScale(){return de(n)},get yScale(){return de(r)},get paddingLeft(){return a}}),rn(t,e)})),rn(t,s)},$$slots:{default:!0}}),rn(t,h),xe()}},Symbol.toStringTag,{value:"Module"}));var CM=tn('<path class="svelte-1hg88s4"></path>'),MM=tn('<!><path class="svelte-1hg88s4"></path>',1),RM=Ze("<!> <!>",1),EM=Ze("<!> <!> <!> <!>",1),OM=Ze('<div class="historicTurnouts svelte-1hg88s4"><div class="description svelte-1hg88s4"><!></div> <div class="body svelte-1hg88s4"><!></div></div>');const AM=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);const n=Tt((()=>e.results.historic.$renderedTurnout.turnout)),r=Tt((()=>e.results.resultsOverall?.additionalInformation?.currentTurnout)),i=Tt((()=>e.data?.config?.settings?.$dateCurrent)),s=Tt((()=>!(!de(r)||!de(i)))),a=Tt((()=>!!de(s)&&[...de(n),{$timestamp:de(i),share:de(r)}])),o=Tt((()=>de(s)?Is(de(a),(t=>t.$timestamp)):Is(de(n),(t=>t.$timestamp)))),l=Tt((()=>ag().domain(de(o)).range([0,100]))),c=Ud().domain([0,100]).range([100,0]),u=Tt((()=>dg().x((t=>de(l)(t.$timestamp))).y((t=>c(t.share))).curve(yg))),h=Tt((()=>de(u)(de(n)))),d=Tt((()=>de(n).map((t=>({x:de(l)(t.$timestamp),y:c(t.share),timestamp:t.$timestamp,turnout:t.share}))))),f=Tt((()=>!!de(s)&&de(u)(de(a).slice(-2)))),p=Tt((()=>!!de(s)&&{x:de(l)(de(i)),y:c(de(r)),turnout:de(r)})),g=Tt((()=>!!(de(s)&&e.labelForcastStr&&e.results?.resultsOverall?.type)&&e.labelForcastStr.replace(/\{resultType\}/g,sx("resultTypes",e.results?.resultsOverall?.type))));let v=G(0);const m=Ud().domain([320,600]).range([55,112]).clamp(!0),y=Tt((()=>m(de(v))));let b=Tt((()=>({chartHeight:"237px",paddingLeft:"32px",paddingRight:de(y)/2+"px",paddingTop:"16px",paddingBottom:"16px"})));var w=OM(),_=Oe(w);sn(Oe(_),(()=>e.subline));var x=Pe(Pe(_,!0));oM(Oe(x),{get chartHeight(){return de(b).chartHeight},get paddingLeft(){return de(b).paddingLeft},get paddingRight(){return de(b).paddingRight},get paddingTop(){return de(b).paddingTop},get paddingBottom(){return de(b).paddingBottom},children:(t,e)=>{var n=EM(),r=Ae(n);Ue(r,(()=>de(s)&&de(g)),(t=>{var e=nn();pM(Ae(e),{get rectWidth(){return de(y)},get css(){return de(b)},get text(){return de(g)}}),rn(t,e)}));var i=Pe(Pe(r,!0));eM(i,{get xScale(){return de(l)},yScale:c,get paddingLeft(){return de(b).paddingLeft},get paddingRight(){return de(b).paddingRight}});var a=Pe(Pe(i,!0));sM(a,{children:(t,e)=>{var n=MM(),r=Ae(n);Ue(r,(()=>de(f)),(t=>{var e=CM();st((()=>{hn(e,"d",de(f)),fn(e,"lined",de(s)&&de(g))})),rn(t,e)}));var i=Pe(r);st((()=>hn(i,"d",de(h)))),rn(t,n)},$$slots:{default:!0}}),cM(Pe(Pe(a,!0)),{children:(t,e)=>{var n=RM(),r=Ae(n);Ye(r,65,(()=>de(d)),We,((t,e,n)=>{var r=nn();rM(Ae(r),{get x(){return Te(Te(e)).x},get y(){return Te(Te(e)).y}}),rn(t,r)})),Ue(Pe(Pe(r,!0)),(()=>de(p)),(t=>{var e=nn();rM(Ae(e),{get x(){return de(p).x},get y(){return de(p).y}}),rn(t,e)})),rn(t,n)},$$slots:{default:!0}}),rn(t,n)},$$slots:{default:!0}}),An(x,"clientWidth",(t=>X(v,t))),rn(t,w),xe()}},Symbol.toStringTag,{value:"Module"})),PM=(t,{sections:e,sectionGap:n,seatRadius:r,rowHeight:i},s)=>{const a=s/2,o=Math.min(t,e),l=Math.PI/o,c=Array(o).fill({seats:Math.floor(t/o)}).map(((t,e)=>({...t,startRad:e*l,endRad:(e+1)*l})));let u=t%o;if(0!==u){const t=Array(o).fill(null).map(((t,e)=>e)),e=t.splice(0,Math.floor(o/2)).reverse();for(;u>0;)e.length>=t.length?c[e.shift()].seats+=1:c[t.shift()].seats+=1,u-=1}return c.map((t=>(({seats:t,startRad:e,endRad:n,seatRadius:r,rowHeight:i,graphicHeight:s,sectionGap:a})=>{const o=s-r;let l=[],c=0;for(;l.length<t;){const u=o-i*c,h=Math.atan((r+a/2)/u),d=e+h,f=n-h;if(f<=d||u<=0)break;const p=Math.atan(2.5*r/u),g=Math.min(Math.floor((f-d)/p),t-l.length-1),v=g?(f-d)/g:0;for(let t=0;t<=g;t+=1){const e=g?t*v+d:(d+f)/2;l=l.concat([{x:Math.cos(e)*(o-i*c)+s,y:s-(Math.sin(e)*(o-i*c)+r)+r+a/4,angle:e}])}c+=1}return l})({...t,seatRadius:r,rowHeight:i,graphicHeight:a,sectionGap:n}))).reduce(((t,e)=>[...t,...e]),[]).sort(((t,e)=>e.angle-t.angle)).map((t=>{const{angle:e,...n}=t;return n}))};var $M=tn("<circle></circle>"),IM=Ze('<div class="totalSeats svelte-1p92yjx"> </div>'),DM=Ze('<div class="plenum svelte-1p92yjx"><svg class="svelte-1p92yjx"></svg> <!> <div class="center svelte-1p92yjx"></div></div>');function NM(t,e){_e(e,!0);let n=Vn(e,"isNoData",3,!1),r=G(358);const i=Tt((()=>{const{seatRadius:t,rowHeight:n}=(t=>{let e={seatRadius:6.5,rowHeight:16.25};return 6===t?e={seatRadius:27.4,rowHeight:18.5}:45===t?e={seatRadius:8.6,rowHeight:25}:t>=80&&t<=83?e={seatRadius:8.3,rowHeight:20.75}:t>=84&&t<=91?e={seatRadius:7.76,rowHeight:19.4}:t>=92&&t<=93?e={seatRadius:7.7,rowHeight:19.25}:t>=94&&t<=98?e={seatRadius:7.4,rowHeight:18.5}:t>=99&&t<=102?e={seatRadius:7,rowHeight:20}:t>=103&&t<=105?e={seatRadius:7,rowHeight:17.25}:t>=106&&t<=114?e={seatRadius:6.5,rowHeight:16.25}:t>=115&&t<=121?e={seatRadius:6.2,rowHeight:15.5}:t>=122&&t<=124?e={seatRadius:6.05,rowHeight:15.125}:t>=125&&t<=129?e={seatRadius:6,rowHeight:15}:t>=538&&t<=640?e={seatRadius:3.1,rowHeight:8.875}:643===t?e={seatRadius:3.33,rowHeight:8.2425}:678===t?e={seatRadius:3,rowHeight:8.475}:t>=646&&t<=743&&(e={seatRadius:2.9,rowHeight:8.625}),e})(e.totalSeats+0);return{sections:1,sectionGap:0,seatRadius:t,rowHeight:n}}));let s=Tt((()=>{const t=e.results?.filter((t=>t.currentSeats)),n=[];if(e.results){const r=PM(e.totalSeats+0,de(i),358);let s=0;t.map((t=>{let e=t.currentSeats;0===s&&(e+=0);for(let i=0;i<e;i++){const{$meta:e}=t,{x:i,y:a}=r[s]?r[s]:{x:-999,y:999};n.push({$meta:e,x:i,y:a}),s++}}))}return n}));var a=DM(),o=Oe(a);hn(o,"viewBox","0 0 358 179"),Ye(o,73,(()=>de(s)),We,((t,e,n)=>{var r=$M();st((()=>{hn(r,"cx",Te(Te(e)).x),hn(r,"cy",Te(Te(e)).y),hn(r,"r",de(i).seatRadius),hn(r,"fill",Te(Te(e)).$meta.$color)})),rn(t,r)}));var l=Pe(Pe(o,!0));Ue(l,(()=>e.totalSeats>0),(t=>{var n=IM(),r=Oe(n);st((()=>Fe(r,`${Ve(e.totalSeats+0)} Sitze`))),rn(t,n)}));var c=Pe(Pe(l,!0));st((()=>{fn(a,"isNoData",n()),hn(o,"width",de(r)),hn(o,"height",de(r)/2),fn(c,"isNoData",n())})),An(a,"clientWidth",(t=>X(r,t))),rn(t,a),xe()}var LM=Ze("+",1),HM=Ze("±",1),FM=Ze('<div class="values svelte-orgtbe"><div class="seats svelte-orgtbe"> </div> <div class="seatsDiff svelte-orgtbe"><!> </div></div>');var VM=Ze('<div class="party svelte-13hj128"><div class="dot svelte-13hj128"></div> <div class="name svelte-13hj128"> </div> <!></div>'),zM=Ze('<div class="legendContainer svelte-13hj128"></div>');function jM(t,e){_e(e,!0);let n=Vn(e,"widget",3,!1),r=Vn(e,"isNoData",3,!1),i=Vn(e,"isCardAnimation",3,!1),s=Tt((()=>e.results?.filter((t=>t.currentSeats)))),a=G(0),o=Tt((()=>n()?"7px 7px":de(a)>745||de(a)>564?"13px 34px":de(a)>436?"13px 45px":de(a)>276?"13px 12px":"13px 40px"));var l=zM();Ye(l,73,(()=>de(s)),We,((t,e,s)=>{let a=()=>Te(Te(e)).$meta;var o=nn();Ue(Ae(o),(()=>!Ig.plenumLegendMax||Ig.plenumLegendMax&&Te(s)<9),(t=>{var s=VM(),o=Oe(s),l=Pe(Pe(o,!0)),c=Oe(l);!function(t,e){_e(e,!0);let n=Vn(e,"isCardAnimation",3,!1);Vn(e,"forbidAnimation",3,!0);const r=Wv(e.currentSeats);nt((()=>{n()&&(r.value=e.currentSeats)}));var i=FM(),s=Oe(i),a=Oe(s),o=Oe(Pe(Pe(s,!0)));Ue(o,(()=>e.seatsDiff>0),(t=>{rn(t,LM())}),(t=>{var n=nn();Ue(Ae(n),(()=>0===e.seatsDiff),(t=>{rn(t,HM())}),null,!0),rn(t,n)}));var l=Pe(o,!0);st((()=>{fn(i,"widget",e.widget),fn(i,"isNoData",e.isNoData),fn(i,"liveUpdate",r.showLiveUpdate),pn(s,"color",e.color),Fe(a,e.currentSeats),Fe(l,e.seatsDiff)})),rn(t,i),xe()}(Pe(Pe(l,!0)),{get color(){return a().$color},get currentSeats(){return Te(Te(e)).currentSeats},get seatsDiff(){return Te(Te(e)).seatsDiff},get widget(){return n()},get isNoData(){return r()},get isCardAnimation(){return i()},get forbidAnimation(){return n()}}),st((()=>{pn(o,"background-color",a().$color),Fe(c,a().abbr)})),rn(t,s)})),rn(t,o)})),st((()=>{hn(l,"style",n()?"--dotWidth: 6px;":""),fn(l,"widget",n()),fn(l,"isNoData",r()),fn(l,"large",de(a)>340),fn(l,"extraLarge",de(a)>440),fn(l,"small",de(a)<257),fn(l,"spaceBetween",de(a)<436&&!n()),pn(l,"gap",de(o))})),An(l,"clientWidth",(t=>X(a,t))),rn(t,l),xe()}var UM=Ze('<div class="seatsContainer svelte-r9cohc"><div class="svelte-r9cohc"><!></div> <div class="svelte-r9cohc"><!></div></div>');function BM(t,e){_e(e,!0);let n=Vn(e,"widget",3,!1),r=Vn(e,"isNoData",3,!1),i=Vn(e,"noDataTotalSeats",3,null),s=Vn(e,"isCardAnimation",3,!1);const a=Tt((()=>e.results?.listVotes?.additionalInformation.$totalSeats||i()));var o=UM(),l=Oe(o);jM(Oe(l),{get results(){return e.resultsWithMicroParties},get widget(){return n()},get isNoData(){return r()},get isCardAnimation(){return s()}}),NM(Oe(Pe(Pe(l,!0))),{get results(){return e.resultsWithMicroParties},get totalSeats(){return de(a)},get isNoData(){return r()}}),st((()=>fn(o,"reversed",n()))),rn(t,o),xe()}var qM=Ze('<button class="svelte-1esbs1i"><span> </span> <span><svg width="10" height="6" viewBox="0 0 10 6" fill="none" class="svelte-1esbs1i"><path d="M8.33374 5.1665L5.00041 1.83317L1.66707 5.1665" stroke-width="1.5" stroke-linecap="round" class="svelte-1esbs1i"></path></svg></span></button>');Ie(["click"]);var WM=(t,e,n)=>e.onclick?e.onclick(de(n)):null,YM=(t,e)=>e.onmousemove?e.onmousemove(t):null,GM=Ze('<div class="closeContainer svelte-ltfayz"><svg viewBox="0 0 47 46" fill="none" xmlns="http://www.w3.org/2000/svg" class="closeButton svelte-ltfayz"><circle cx="23.3606" cy="23" r="22.5" class="svelte-ltfayz"></circle><path d="M17.8617 17.4512L28.8608 28.4503" stroke-width="1.5" stroke-linecap="round" class="svelte-ltfayz"></path><path d="M17.8606 28.5488L28.8597 17.5497" stroke-width="1.5" stroke-linecap="round" class="svelte-ltfayz"></path></svg></div>'),KM=tn('<path opacity="0.1" d="M23 42.9296C34.0067 42.9296 42.9294 34.0069 42.9294 23.0002C42.9294 11.9934 34.0067 3.07074 23 3.07074C11.9933 3.07074 3.07056 11.9934 3.07056 23.0002C3.07056 34.0069 11.9933 42.9296 23 42.9296Z"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M23.0259 28.9013C28.0859 28.9013 32.0847 24.9025 32.0847 19.8425C32.0847 14.7825 28.0859 10.7837 23.0259 10.7837C17.9659 10.7837 13.967 14.7825 13.967 19.8425C13.967 24.9025 17.9659 28.9013 23.0259 28.9013Z"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M28.5 30.3376H17.5777C13.4235 30.3376 9.86471 32.8482 8.32471 36.4459C11.9741 40.4318 17.1894 42.9424 23.0129 42.9424C28.8365 42.9424 34.0906 40.4059 37.74 36.4071C36.1871 32.8482 32.6412 30.3506 28.5129 30.3506L28.5 30.3376Z"></path>',1),XM=Ze('<img alt="" class="svelte-ltfayz">'),QM=Ze('<svg viewBox="0 0 46 46" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M23 45C35.1503 45 45 35.1503 45 23C45 10.8497 35.1503 1 23 1C10.8497 1 1 10.8497 1 23C1 35.1503 10.8497 45 23 45Z" fill="none"></path><!></svg> <!>',1),JM=Ze('<button class="headIcon svelte-ltfayz"><!></button>');function ZM(t,e){_e(e,!0);let n=Vn(e,"size",3,44),r=Vn(e,"clickedMp",3,null),i=Vn(e,"showPic",3,!1),s=Vn(e,"imgUrl",3,!1),a=G(null),o=Tt((()=>"https://interactive.spiegel.de/gra//elections/specific/"+e.electionKey+"/candidates/"+s()));var l=JM();$n(l,(t=>X(a,gt(t))),(()=>de(a))),l.__click=[WM,e,a],l.__mousemove=[YM,e],Ue(Oe(l),(()=>r()&&r().id===e.id),(t=>{var e=GM(),r=Oe(e);st((()=>{hn(r,"width",n()),hn(r,"height",n())})),rn(t,e)}),(t=>{var r=QM(),a=Ae(r),l=Oe(a);Ue(Pe(l),(()=>!(i()&&s())),(t=>{var n=KM(),r=Ae(n),i=Pe(r),s=Pe(i);st((()=>{pn(r,"fill",e.color),pn(i,"fill",e.color),pn(s,"fill",e.color)})),rn(t,n)})),Ue(Pe(Pe(a,!0)),(()=>i()&&s()),(t=>{var e=XM();st((()=>hn(e,"src",de(o)))),rn(t,e)})),st((()=>{hn(a,"width",n()),hn(a,"height",n()),pn(l,"stroke",e.color)})),rn(t,r)})),st((()=>{hn(l,"data-mpid",e.id),fn(l,"inheritFlex",r()&&r().id===e.id),pn(l,"height",n()+"px")})),$e("mouseenter",l,(()=>e.onmouseenter?e.onmouseenter():null),!1),$e("mouseleave",l,(()=>e.onmouseleave?e.onmouseleave():null),!1),rn(t,l),xe()}Ie(["click","mousemove"]);var tR=Ze('<div class="name svelte-1hlckq7"> </div>'),eR=Ze('<div class="other svelte-1hlckq7"> </div>'),nR=Ze('<div class="other birth svelte-1hlckq7"> </div>'),rR=Ze("<div> </div>"),iR=Ze("<div> </div>"),sR=Ze('<div class="credit svelte-1hlckq7"> </div>'),aR=Ze('<div class="mpDetail svelte-1hlckq7"><div class="head"><!></div> <div class="body svelte-1hlckq7"><!> <div class="inforow svelte-1hlckq7"><div class="party svelte-1hlckq7"> </div> <!> <!></div> <div> </div> <!> <!> <!></div></div>');function oR(t,e){_e(e,!0);let n=Vn(e,"show",3,!1),r=Vn(e,"element",7,null),i=Vn(e,"type",3,""),s=Tt((()=>e.data?.$party?.$color)),a=Tt((()=>e.data?.name)),o=Tt((()=>e.data?.$party?.abbr)),l=Tt((()=>!!e.data?.yearOfBirth&&e.data.$yearOfBirth)),c=Tt((()=>e.data?.electedVia)),u=Tt((()=>e.data?.electedAs)),h=Tt((()=>e.data?.electedFrom)),d=Tt((()=>e.data?.$showPic)),f=Tt((()=>!(!e.data?.imgCredit||!de(d))&&e.data.$imgCredit)),p=Tt((()=>!(!e.data?.imgUrl||!de(d))&&e.data.imgUrl));var g=aR();$n(g,(t=>r(t)),(()=>r())),Sn(3,g,(()=>Fv));var v=Oe(g);ZM(Oe(v),{get color(){return de(s)},size:"74",onclick:null,get showPic(){return de(d)},get imgUrl(){return de(p)},get electionKey(){return e.electionKey}});var m=Oe(Pe(Pe(v,!0)));Ue(m,(()=>""===i()),(t=>{var e=tR(),n=Oe(e);st((()=>Fe(n,de(a)))),rn(t,e)}));var y=Pe(Pe(m,!0)),b=Oe(y),w=Oe(b),_=Pe(Pe(b,!0));Ue(_,(()=>de(c)),(t=>{var e=eR(),n=Oe(e);st((()=>Fe(n,sx("electedAs",de(u))))),rn(t,e)})),Ue(Pe(Pe(_,!0)),(()=>de(l)),(t=>{var e=nR(),n=Oe(e);st((()=>Fe(n,de(l)))),rn(t,e)}));var x=Pe(Pe(y,!0)),k=Oe(x);st((()=>Fe(k,sx("electedVia",de(c)))));var S=Pe(Pe(x,!0));Ue(S,(()=>de(h)&&de(c)&&"constituency"===de(c)),(t=>{var e=rR(),n=Oe(e);st((()=>Fe(n,de(h)))),rn(t,e)}));var T=Pe(Pe(S,!0));Ue(T,(()=>de(h)),(t=>{var e=iR(),n=Oe(e);st((()=>Fe(n,de(h)))),rn(t,e)})),Ue(Pe(Pe(T,!0)),(()=>de(f)),(t=>{var e=sR(),n=Oe(e);st((()=>Fe(n,de(f)))),rn(t,e)})),st((()=>{fn(g,"show",n()),pn(b,"background-color",de(s)),Fe(w,de(o))})),rn(t,g),xe()}var lR=Ze('<div class="tooltip-content svelte-1f2bal2"><div class="header svelte-1f2bal2"><h3 class="svelte-1f2bal2"> </h3></div> <div class="body svelte-1f2bal2"><!></div></div>');var cR=Ze('<div class="tooltip svelte-1bhut8"><div class="inner-wrapper svelte-1bhut8"><div class="background svelte-1bhut8"></div> <div class="contents svelte-1bhut8"><!></div></div></div>');var uR=Ze('<div class="partyList svelte-fz44er"><div class="party svelte-fz44er"> </div> <div class="mps svelte-fz44er"></div></div>'),hR=Ze('<div class="mpList svelte-fz44er"><!> <!></div>');function dR(t,e){_e(e,!0);var n=t=>{var n=nn();!function(t,e){_e(e,!0);var n=lR(),r=Oe(n),i=Oe(r),s=Oe(i);oR(Oe(Pe(Pe(r,!0))),{get data(){return e.data},show:!0,type:"tooltip",get electionKey(){return e.electionKey}}),st((()=>Fe(s,e.data.name))),rn(t,n),xe()}(Ae(n),{get data(){return de(u)},get electionKey(){return e.electionKey}}),rn(t,n)};let r=Vn(e,"selectedFeature",7);const i="mp-list";let s=G(gt({})),a=G(null),o=G(!1),l=G(null),c=G(null),u=G(null);nt((()=>{r()&&(t=>{const n=t.id,r=de(c).querySelector("button[data-mpid='"+n+"']");if(r&&(r.click(),e.scrollContainer)){const t=r.getBoundingClientRect().top,n=de(c).getBoundingClientRect().top,i=Math.round(t-n-23);e.scrollContainer.scrollTo({top:i,behavior:"smooth"})}})(r())}));var h=nn();Ue(Ae(h),(()=>e.expanded),(t=>{var h=hR();Sn(3,h,(()=>Fv)),$n(h,(t=>X(c,gt(t))),(()=>de(c)));var d=Oe(h);Ye(d,65,(()=>e.groupedMps),We,((t,c,h)=>{let d=()=>Te(Te(c)).party;var f=uR(),p=Oe(f),g=Oe(p);Ye(Pe(Pe(p,!0)),73,(()=>Te(Te(c)).mps),We,((t,c,h)=>{var f=nn();ZM(Ae(f),{get color(){return d().$color},get clickedMp(){return de(s)},get showPic(){return Te(c).$showPic},get imgUrl(){return Te(c).imgUrl},get electionKey(){return e.electionKey},onclick:t=>{de(s)?.id===Te(c).id?(r(null),X(o,!1),X(s,gt({})),Lx({element_name:"icons-mp-list",element_text:"icon-"+i+"-"+Te(c).id})):(r(t),((t,e)=>{X(s,gt(t)),X(a,null);const n=e.closest(".mps").querySelectorAll("button"),r=Array.from(n).indexOf(e),i=n.length;for(let s=r;s<i;s++)n[s].getBoundingClientRect().top===e.getBoundingClientRect().top&&X(a,gt(n[s]));de(a)||X(a,gt(e)),de(a).parentNode.insertBefore(de(l),de(a).nextSibling),X(o,!0)})(Te(c),t),SS.show=!1,Lx({element_name:"icons-mp-list",element_text:"icon-"+i+"-"+Te(c).id}))},onmousemove:t=>{t.stopPropagation(),cv.device.isTouch||de(s)?.id===Te(c).id||(X(u,gt(Te(c))),SS.item=n,SS.show=!0)},onmouseleave:()=>{cv.device.isTouch||(X(u,null),SS.show=!1)},size:"44",get id(){return Te(c).id}}),rn(t,f)})),st((()=>{pn(p,"color",d().$color),Fe(g,d().abbr)})),rn(t,f)})),oR(Pe(Pe(d,!0)),{get data(){return de(s)},get show(){return de(o)},get electionKey(){return e.electionKey},get element(){return de(l)},set element(t){X(l,gt(t))}}),rn(t,h)})),rn(t,h),xe()}var fR=Ze('<div class="name svelte-18o9rdw"> </div>'),pR=Ze("<div> </div>"),gR=Ze('<div class="mpDetail svelte-18o9rdw"><div class="head"><!></div> <div class="body svelte-18o9rdw"><!> <!></div></div>');var vR=t=>t.stopPropagation(),mR=t=>t.stopPropagation(),yR=(t,e,n,r)=>de(e)?n(t,Te(r)):void 0,bR=Ze('<li class="svelte-7dezy5"><button class="svelte-7dezy5"><div class="background svelte-7dezy5"></div> <div class="foreground svelte-7dezy5"><!></div></button></li> <!>',1),wR=Ze('<ul class="feature-list svelte-7dezy5"></ul>'),_R=Ze('<div class="no-results svelte-7dezy5"><strong class="svelte-7dezy5">0</strong> Vorschläge gefunden</div>'),xR=Ze('<div class="mp-list-detail svelte-7dezy5"><!></div>');function kR(t,e){_e(e,!0);let n,r=Vn(e,"hoveredFeature",7),i=Vn(e,"selectedFeature",7);function s(t,e){t.preventDefault(),r(e)}function a(t,e){t.preventDefault(),i(e)}var o=xR();$n(o,(t=>n=t),(()=>n)),o.__touchmove=[vR],Ue(Oe(o),(()=>e.data.length),(t=>{var n=wR();Ye(n,79,(()=>e.data),((t,e)=>Te(t).id),((t,n,o)=>{var l=bR();const c=Tt((()=>{const{id:t,name:e}=Te(n)||{};return{id:t,name:e}})),u=Tt((()=>r()&&r().id===de(c).id)),h=Tt((()=>i()&&i().id===de(c).id)),d=Tt((()=>e.highlightedFeature&&e.highlightedFeature.id===de(c).id)),f=Tt((()=>de(c).name&&""!==de(c).name));var p=Ae(l);pn(p,"--color","var(--int-font-color-gray-lighter)");var g=Oe(p);g.__mousemove=[mR],g.__click=[yR,f,a,n];var v=Oe(g);!function(t,e){_e(e,!0);let n=Vn(e,"element",7,null),r=Vn(e,"type",3,""),i=Tt((()=>e.data?.$party?.$color)),s=Tt((()=>e.data?.name)),a=Tt((()=>e.data?.electedFrom));var o=gR();$n(o,(t=>n(t)),(()=>n())),Sn(3,o,(()=>Fv));var l=Oe(o),c=Oe(l),u=Tt((()=>Ig.showDeputyPics&&e.data?.imgUrl)),h=Tt((()=>e.data?.imgUrl));ZM(c,{get color(){return de(i)},size:"29",get showPic(){return de(u)},get imgUrl(){return de(h)},get electionKey(){return e.electionKey},onclick:null,onmouseenter:null,onmouseleave:null});var d=Oe(Pe(Pe(l,!0)));Ue(d,(()=>""===r()),(t=>{var e=fR(),n=Oe(e);st((()=>Fe(n,de(s)))),rn(t,e)})),Ue(Pe(Pe(d,!0)),(()=>de(a)),(t=>{var e=pR(),n=Oe(e);st((()=>Fe(n,de(a)))),rn(t,e)})),rn(t,o),xe()}(Oe(Pe(Pe(v,!0))),{get data(){return Te(n)},get isHighlighted(){return de(d)},get electionKey(){return e.electionKey}}),Ue(Pe(Pe(p,!0)),(()=>Te(o)<e.data.length-1),(t=>{var e=nn();jT(Ae(e)),rn(t,e)})),st((()=>{fn(p,"is-hovered",de(u)),fn(p,"is-selected",de(h)),fn(p,"is-highlighted",de(d)),fn(g,"is-selectable",de(f))})),$e("mouseenter",g,(t=>de(f)?s(t,Te(n)):void 0),!1),$e("mouseleave",g,(t=>s(t,null)),!1),rn(t,l)})),rn(t,n)}),(t=>{rn(t,_R())})),rn(t,o),xe()}function SR(t,e){de(e).scrollTop>0&&t.stopPropagation()}Ie(["touchmove","mousemove","click"]);var TR=Ze('<div class="search-input-children-wrapper svelte-1nemr1g"><!></div>'),CR=Ze('<div class="fake-search svelte-1nemr1g"><!></div>'),MR=Ze('<div class="sticky svelte-1nemr1g"><!></div>'),RR=Ze('<div class="scroll-container svelte-1nemr1g"><!> <!> <!></div>');Ie(["touchmove"]);var ER=Ze('<div class="seats svelte-1818mc6"><div class="description svelte-1818mc6"><span class="subline"><!></span> <!></div> <div class="body svelte-1818mc6"><!> <!></div> <div class="button-wrapper svelte-1818mc6"><!></div> <div class="hidden-search-wrapper svelte-1818mc6"><!></div></div>');const OR=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);var n=t=>{var n=nn();Ue(Ae(n),(()=>"mps_button"===e.interaction),(t=>{var n=nn();!function(t,e){let n=Vn(e,"expanded",3,!1);var r=qM();r.__click=function(...t){const n=e.onclick;return n?.apply(this,t)};var i=Oe(r),s=Oe(i),a=Oe(Pe(Pe(i,!0)));st((()=>{Fe(s,e.text),fn(a,"expanded",n())})),rn(t,r)}(Ae(n),{get text(){return e.buttonStr},onclick:m,get expanded(){return de(s)}}),rn(t,n)})),rn(t,n)};let r=Ln(e,["subline","results","useReturningResults","data","buttonStr","searchStr","yearOfBirthStr","photoCreditStr","noteStr","interaction"]),i=G(void 0),s=G(!1),a=G(!1);const o=Tt((()=>e.data.config.settings)),l=Tt((()=>de(o)?.partyIdForOthers)),c=Tt((()=>{if(!e.results?.resultsOverall)return;const t=e.results.resultsOverall.listVotes,n=t.resultsSeats&&t.resultsSeats.length>0?t.results.filter((t=>t.partyId!==de(l))):t.results;return t.resultsSeats.forEach((t=>{n.push(t)})),n})),u=Tt((()=>de(c)&&de(c).length>0?de(c).map((t=>t.partyId)):[])),h=Tt((()=>{const t=[];return e.results?.electedMps?.map((e=>{e.mps.map((e=>{if(e.name&&""!==e.name){const n=[e.name];e.electedFrom&&""!==e.electedFrom&&n.push(e.electedFrom),t.push({...e,searchStrings:n})}}))})),t})),d=Tt((()=>de(u)&&de(u).length>0&&de(h)&&de(h).length>0?de(h).sort(((t,e)=>de(u).indexOf(t.partyId)-de(u).indexOf(e.partyId))):de(h))),f=Tt((()=>{let t=[];const n=e.results?.electedMps&&e.results?.electedMps.length>0?e.results.electedMps.map((t=>{const n=t.mps.map((t=>({...t,$showPic:Ig.showDeputyPics&&t.imgUrl&&""!==t.imgUrl,$yearOfBirth:t.yearOfBirth&&""!==t.yearOfBirth?e.yearOfBirthStr+" "+t.yearOfBirth:null,$imgCredit:t.imgCredit&&""!==t.imgCredit?e.photoCreditStr+" "+t.imgCredit:null})));return{...t,mps:n}})):[];return t=de(u)&&de(u).length&&e.results?.electedMps&&e.results?.electedMps.length>0?n.sort(((t,e)=>de(u).indexOf(t.partyId)-de(u).indexOf(e.partyId))):n,t}));vx({infoCard:t=>{var n=nn(),o=Ae(n),l=Tt((()=>de(s)&&p.isInView));kT(o,{get show(){return de(l)},onclose:v,get title(){return r.listTitleStr},fullShow:!0,desktopFull:!0,children:(t,n=yt)=>{var r=nn();!function(t,e){_e(e,!0);var n=t=>{var n=nn(),i=Ae(n),a=Tt((()=>de(h)?.name));rT(i,{get value(){return de(l)},set value(t){X(l,gt(t))},get autocompleteValue(){return de(a)},get placeholder(){return de(c)},onselect:g,onclear:f,get onblur(){return s()},immediateFocus:!0,children:(t,n)=>{var i=TR(),s=Oe(i),a=Tt((()=>""===de(l)?e.results:de(u)));kR(s,{get data(){return de(a)},get selectedFeature(){return r()},set selectedFeature(t){r(t)},get highlightedFeature(){return de(h)},get electionKey(){return e.electionKey}}),rn(t,i)},$$slots:{default:!0}}),rn(t,n)};let r=Vn(e,"selectedFeature",7),i=Vn(e,"onfakesearchstart",3,fx),s=Vn(e,"onfakesearchend",3,fx),a=G(null),o=G(!1),l=G(""),c=Tt((()=>e.searchStr?.replace("{constituencyDescription}",sx("cardVariables","constituencyDescription")))),u=Tt((()=>dx(e.results,de(l)))),h=Tt((()=>de(u).length?de(u)[0]:void 0));function d(t){X(o,!0)}function f(){X(l,"")}function p(t){setTimeout((()=>X(o,!1)),500)}function g(){r(de(h)),X(l,"")}function v(){i()({overlaySearch:n})}var m=RR();$n(m,(t=>X(a,gt(t))),(()=>de(a))),m.__touchmove=[SR,a];var y=Oe(m);Ue(y,(()=>cv.device.isTouch),(t=>{var e=CR();tT(Oe(e),{get placeholder(){return de(c)},onclick:v}),rn(t,e)}));var b=Pe(Pe(y,!0));Ue(b,(()=>de(o)),(t=>{var n=nn(),i=Ae(n),s=Tt((()=>""===de(l)?e.results:de(u)));kR(i,{get data(){return de(s)},get selectedFeature(){return r()},set selectedFeature(t){r(t)},get highlightedFeature(){return de(h)},get electionKey(){return e.electionKey}}),rn(t,n)}),(t=>{var n=nn();dR(Ae(n),{get groupedMps(){return e.groupedResults},get selectedFeature(){return r()},set selectedFeature(t){r(t)},expanded:!0,get scrollContainer(){return de(a)},get electionKey(){return e.electionKey}}),rn(t,n)})),Ue(Pe(Pe(b,!0)),(()=>!cv.device.isTouch),(t=>{var e=MR(),n=Oe(e),r=Tt((()=>de(h)?.name));tT(n,{get value(){return de(l)},set value(t){X(l,gt(t))},get placeholder(){return de(c)},get autocompleteValue(){return de(r)},onfocus:d,onblur:p,onselect:g,onclear:f,get hasFocus(){return de(o)}}),rn(t,e)})),st((()=>fn(m,"is-touch",cv.device.isTouch))),rn(t,m),xe()}(Ae(r),{get groupedResults(){return de(f)},get results(){return de(d)},get searchStr(){return e.searchStr},get electionKey(){return e.data.electionKey},get yearOfBirthStr(){return e.yearOfBirthStr},get photoCreditStr(){return e.photoCreditStr},get selectedFeature(){return de(g)},set selectedFeature(t){X(g,gt(t))},onfakesearchstart:t=>{X(a,!0),X(i,gt(t.overlaySearch))},onfakesearchend:()=>{X(a,!1),X(i,void 0)}}),rn(t,r)}}),rn(t,n)},button:n});const p=mx();let g=G(void 0);function v(){X(g,null),X(s,!1)}function m(){X(s,!de(s))}let y=Tt((()=>Bv.cards.find((t=>t?.navi===r.navi))?.isCardAnimation));var b=ER(),w=Oe(b),_=Oe(w);sn(Oe(_),(()=>e.subline?.replace(/\{resultType\}/g,sx("resultTypes",e.results?.resultsOverall?.type)).replace(/\{previousElectionYear\}/g,de(o).$datePreviousYear))),Ue(Pe(Pe(_,!0)),(()=>!e.useReturningResults),(t=>{var e=nn();Kx(Ae(e),{}),rn(t,e)}));var x=Pe(Pe(w,!0)),k=Oe(x);BM(k,{get results(){return e.results.resultsOverall},get resultsWithMicroParties(){return de(c)},get isCardAnimation(){return de(y)}}),Ue(Pe(Pe(k,!0)),(()=>e.noteStr),(t=>{var n=nn();iS(Ae(n),{get noteStr(){return e.noteStr}}),rn(t,n)}));var S=Pe(Pe(x,!0));n(Oe(S));var T=Pe(Pe(S,!0));Ue(Oe(T),(()=>de(i)),(t=>{var e=nn();an((()=>de(i)),Ae(e)),rn(t,e)})),st((()=>fn(T,"show",de(a)))),rn(t,b),xe()}},Symbol.toStringTag,{value:"Module"}));var AR=Ze('<img alt="" class="link-image svelte-aeffqx">');var PR=Ze('<a target="_top" class="link svelte-1eleqwp"><!></a>'),$R=Ze('<div class="link-container svelte-1eleqwp"><!> <svg width="6" height="9" viewBox="0 0 6 9" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.3335 1.44531L4.66683 4.77865L1.3335 8.11198" stroke="var(--int-font-color-default)" stroke-width="1.5" stroke-linecap="round"></path></svg></div>');function IR(t,e){_e(e,!0);const n=Vn(e,"children",3,void 0);var r=$R();Ue(Oe(r),(()=>e.link),(t=>{var r=PR(),i=Oe(r);an(n,i),st((()=>hn(r,"href",e.link))),rn(t,r)})),rn(t,r),xe()}var DR=Ze('<div class="linkBox svelte-189h3vc"><!> <div class="text svelte-189h3vc"><div class="title svelte-189h3vc"><!></div> <div class="linkable svelte-189h3vc"><!></div></div></div>');const NR=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);const n=Tt((()=>e.data.config.settings)),r=Tt((()=>cv.darkMode?"dm":"lm")),i=Tt((()=>de(n)?de(n).bucketPaths.thumbnails.replace("{basePath}",de(n).bucketPaths.basePath).replace("{electionKey}",e.data.electionKey)+"/"+e.thumbnail.replace("{color_scheme}",de(r)):""));var s=DR(),a=Oe(s);!function(t,e){var n=AR();st((()=>hn(n,"src",e.url))),rn(t,n)}(a,{get url(){return de(i)}});var o=Oe(Pe(Pe(a,!0)));sn(Oe(o),(()=>e.title)),IR(Oe(Pe(Pe(o,!0))),{get link(){return e.url},children:(t,n)=>{var r=nn();sn(Ae(r),(()=>e.button)),rn(t,r)},$$slots:{default:!0}}),rn(t,s),xe()}},Symbol.toStringTag,{value:"Module"}));var LR=Ze('<img alt="" class="link-image svelte-m1w9e1">');var HR=Ze('<div class="linkable-small svelte-1cq47um"><!></div>'),FR=Ze('<div class="linkable svelte-1cq47um"><!></div>'),VR=Ze('<div class="linkBox svelte-1cq47um"><a target="_top" class="svelte-1cq47um"><!> <div class="text svelte-1cq47um"><div><!></div> <div class="status-container svelte-1cq47um"><div class="separator svelte-1cq47um"><svg width="1" height="38"><line x1="0" y1="0" x2="0" y2="38" style="stroke:var(--color-separator, var(--int-font-color-shade-lighter));stroke-width:1"></line></svg></div> <div> </div></div> <!></div> <!></a></div>');const zR=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);let n=G(0);const r=Tt((()=>de(n)<847)),i=Tt((()=>de(r)?"":"text-width")),s=Tt((()=>e.data.config.settings)),a=Tt((()=>de(s)?de(s).bucketPaths.flags.replace("{basePath}",de(s).bucketPaths.basePath)+"/"+e.flag+".svg":""));var o=VR(),l=Oe(o),c=Oe(l);!function(t,e){var n=LR();st((()=>hn(n,"src",e.url))),rn(t,n)}(c,{get url(){return de(a)}});var u=Pe(Pe(c,!0)),h=Oe(u);sn(Oe(h),(()=>e.title));var d=Pe(Pe(h,!0)),f=Pe(Pe(Oe(d),!0)),p=Oe(f);st((()=>Fe(p,sx("linkCardStatuses",e.status)))),Ue(Pe(Pe(d,!0)),(()=>de(r)),(t=>{var n=HR();IR(Oe(n),{get link(){return e.url},children:(t,n)=>{var r=nn();sn(Ae(r),(()=>e.button)),rn(t,r)},$$slots:{default:!0}}),rn(t,n)})),Ue(Pe(Pe(u,!0)),(()=>!de(r)),(t=>{var n=FR();IR(Oe(n),{get link(){return e.url},children:(t,n)=>{var r=nn();sn(Ae(r),(()=>e.button)),rn(t,r)},$$slots:{default:!0}}),rn(t,n)})),st((()=>{hn(l,"href",e.url),dn(h,`title ${Ve(de(i))} svelte-1cq47um`),dn(f,`status ${Ve(de(i))} svelte-1cq47um`)})),An(o,"clientWidth",(t=>X(n,t))),rn(t,o),xe()}},Symbol.toStringTag,{value:"Module"}));var jR=Ze('<div class="description svelte-18hdfda"><div class="subline-and-counted-wrapper svelte-18hdfda"><div class="subline svelte-18hdfda"><!></div> <div class="counted"> </div></div></div>');var UR=tn('<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="0.5" y="1.02759" width="13" height="13" rx="6.5"></rect><rect x="0.5" y="1.02759" width="13" height="13" rx="6.5"></rect><path d="M7 4.53149L10 9.76001L4 9.76001L7 4.53149Z"></path></svg>');const BR=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){const n=Vn(e,"fillColor",3,"#61574E"),r=Vn(e,"strokeColor",3,"white"),i=Vn(e,"arrowColor",3,"white");var s=UR(),a=Oe(s),o=Pe(a),l=Pe(o);st((()=>{pn(a,"fill",n()),pn(o,"stroke",r()),pn(l,"fill",i())})),rn(t,s)}},Symbol.toStringTag,{value:"Module"}));var qR=tn('<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="13.5" y="14.0276" width="13" height="13" rx="6.5" transform="rotate(-180 13.5 14.0276)"></rect><rect x="13.5" y="14.0276" width="13" height="13" rx="6.5" transform="rotate(-180 13.5 14.0276)"></rect><path d="M7 10.6426L4 5.4126L10 5.4126L7 10.6426Z"></path></svg>');const WR=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){const n=Vn(e,"fillColor",3,"#61574E"),r=Vn(e,"strokeColor",3,"white"),i=Vn(e,"arrowColor",3,"white");var s=qR(),a=Oe(s),o=Pe(a),l=Pe(o);st((()=>{pn(a,"fill",n()),pn(o,"stroke",r()),pn(l,"fill",i())})),rn(t,s)}},Symbol.toStringTag,{value:"Module"}));var YR=tn('<svg width="22" height="25" viewBox="0 0 22 25" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-18xhaa8"><path d="M10.9998 18.2395L8.31104 14.2988H13.6886L10.9998 18.2395Z" class="bgColorFill svelte-18xhaa8"></path><rect x="4.5" y="2.5" width="13" height="13" rx="6.5"></rect><rect x="4.5" y="2.5" width="13" height="13" rx="6.5" class="bgColorStroke svelte-18xhaa8"></rect><path d="M11 6.00391L14 11.2324L8 11.2324L11 6.00391Z" fill="white"></path></svg>');const GR=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){const n=Vn(e,"fillColor",3,"#61574E");Vn(e,"strokeColor",3,"white"),Vn(e,"arrowColor",3,"white");var r=YR(),i=Pe(Oe(r));st((()=>pn(i,"fill",n()))),rn(t,r)}},Symbol.toStringTag,{value:"Module"}));var KR=tn('<svg width="22" height="25" viewBox="0 0 22 25" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-18xhaa8"><path d="M10.9998 19.2395L8.31104 15.2988H13.6886L10.9998 19.2395Z" class="bgColorFill svelte-18xhaa8"></path><rect x="17.5" y="16.5" width="13" height="13" rx="6.5" transform="rotate(-180 17.5 16.5)"></rect><rect x="17.5" y="16.5" width="13" height="13" rx="6.5" transform="rotate(-180 17.5 16.5)" class="bgColorStroke svelte-18xhaa8"></rect><path d="M11 13.1148L8 7.88477L14 7.88477L11 13.1148Z"></path></svg>');const XR=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){const n=Vn(e,"fillColor",3,"#61574E");Vn(e,"strokeColor",3,"white");const r=Vn(e,"arrowColor",3,"white");var i=KR(),s=Pe(Oe(i)),a=Pe(s),o=Pe(a);st((()=>{pn(s,"fill",n()),pn(o,"fill",r())})),rn(t,i)}},Symbol.toStringTag,{value:"Module"}));var QR=Ze('<div class="svelte-hkvyz4"><!></div>'),JR=Ze('<div class="map svelte-hkvyz4"><!> <div class="leading svelte-hkvyz4"></div></div>');function ZR(t,e){_e(e,!0);const n=av();let r=G(void 0),i=G(void 0);let s=Tt((()=>Od().fitSize([de(r)+0,de(i)+0],e.geojson))),a=Tt((()=>yd().projection(de(s)))),o=Tt((()=>e.data&&e.geojson?e.data.map((t=>{const n=e.geojson.features.find((e=>e.properties.id===t.id));return{...t,path:de(a)(n),fill:t.data?.$meta.$relColor,centroid:de(a).centroid(n)}})):[])),l=Tt((()=>{if(!de(o)||!e.maxConstituency||!e.minConstituency)return[];return de(o).filter((t=>t.id===e.maxConstituency.id||t.id===e.minConstituency.id)).map((t=>{const n=t.id===e.maxConstituency.id?e.maxConstituency.data?.$meta.$colorGradientStops[0]:e.minConstituency.data?.$meta.$colorGradientStops[1],r=t.id===e.maxConstituency.id?"white":"black",i=t.id===e.maxConstituency.id?GR:XR;return{x:t.centroid[0],y:t.centroid[1],fillColor:n,strokeColor:n,arrowColor:r,icon:i}}))}));var c=JR(),u=Oe(c);SC(u,{get width(){return de(r)},get height(){return de(i)},get data(){return de(o)},children:(t,e=yt)=>{var r=nn();Ye(Ae(r),65,e,We,((t,e,r)=>{var i=nn();const s=Tt((()=>{})),a=Tt((()=>{}));Ae(i);var o=Tt((()=>de(a)?cv.colors.background:de(s)?cv.colors.grayDarker:Te(Te(e)).stroke)),l=Tt((()=>de(a)?cv.colors.foreground:void 0)),c=Tt((()=>Te(Te(e)).isFullyCounted?void 0:n));!function(t,e){_e(e,!0);const n=Vn(e,"strokeWidth",3,1),r=Vn(e,"backgroundStroke",3,void 0),i=Vn(e,"backgroundStrokeWidth",3,3),s=Vn(e,"fixedStroke",3,void 0),a=Vn(e,"fixedStrokeWidth",3,1),o=Vn(e,"showStroke",3,!1),l=Vn(e,"showFill",3,!1),c=Vn(e,"pattern",3,void 0),u=Vn(e,"contextName",3,"spiegel-canvas"),{register:h,deregister:d,invalidate:f}=me(u());function p(t){const u=new Path2D(e.path);t.globalAlpha=1,l()&&e.fill&&(t.fillStyle=e.fill,t.fill(u),c()&&(t.fillStyle=t.createPattern(c(),"repeat"),t.fill(u))),o()&&e.stroke&&(r()&&(t.strokeStyle=r(),t.lineWidth=i(),t.stroke(u)),t.strokeStyle=e.stroke,t.lineWidth=n(),t.stroke(u)),s()&&(t.strokeStyle=s(),t.lineWidth=a(),t.stroke(u))}nt((()=>(h(p),f(),()=>d(p)))),nt((()=>{e.path,e.stroke,n(),e.fill,o(),l(),f()})),xe()}(0,Fn((()=>we(Te(Te(e)),["id","stroke","isFullyCounted"])),{get stroke(){return de(o)},get backgroundStroke(){return de(l)},get pattern(){return de(c)}})),rn(t,i)})),rn(t,r)}}),Ye(Pe(Pe(u,!0)),73,(()=>de(l)),We,((t,e,n)=>{var r=QR(),i=Oe(r);on(0,(()=>Te(Te(e)).icon.default),(t=>{t(i,{get fillColor(){return Te(Te(e)).fillColor},get strokeColor(){return Te(Te(e)).strokeColor},get arrowColor(){return Te(Te(e)).arrowColor}})})),st((()=>{pn(r,"top",Te(Te(e)).y+"px"),pn(r,"left",Te(Te(e)).x+"px")})),rn(t,r)})),An(c,"clientWidth",(t=>X(r,t))),An(c,"clientHeight",(t=>X(i,t))),rn(t,c),xe()}var tE=Ze('<div class="element svelte-y6r6io"><div class="leading-row svelte-y6r6io"><div class="value svelte-y6r6io"><!></div> <div class="icon svelte-y6r6io"><!></div></div> <div class="leading-row svelte-y6r6io"><div class="name svelte-y6r6io"> </div></div></div>');function eE(t,e){_e(e,!0);const n=Tt((()=>e.constituency?.data?.$shareValue.str+"&nbsp;"+e.constituency?.data?.$shareValue.suffix)),r=Tt((()=>e.constituency?.name)),i=Tt((()=>e.element));var s=tE(),a=Oe(s),o=Oe(a);sn(Oe(o),(()=>de(n)));var l=Oe(Pe(Pe(o,!0)));on(0,(()=>de(i).default),(t=>{t(l,{get fillColor(){return e.fillColor},get strokeColor(){return e.strokeColor},get arrowColor(){return e.arrowColor}})}));var c=Oe(Pe(Pe(a,!0))),u=Oe(c);st((()=>Fe(u,de(r)))),rn(t,s),xe()}var nE=Ze('<div class="leading-hoods svelte-9r5f24"><!> <!></div>');var rE=Ze("Lädt...",1),iE=Ze('<div class="name svelte-1421gp5"> </div> <div class="map-wrapper svelte-1421gp5"><!></div> <div><!></div>',1),sE=Ze('<div class="party-map svelte-1421gp5"><!></div>'),aE=Ze('<div class="strongholds svelte-1421gp5"><!> <div class="body svelte-1421gp5"><!></div> <!></div>');const oE=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);const n=Ln(e,["results","geojson","parties","partiesToBeShown","noteStr","partiesToSummarize"]),r="listVotes",i=Tt((()=>{const t=Yg({results:e.results.$enrichedResultsPerConstituency.map((t=>{const n=t.returningResults[r].results.map((t=>{const n=e.partiesToSummarize.find((e=>e.singleParties.includes(t.partyId))),r=void 0!==n?n.summarizedParty:t.partyId,i=void 0!==n?e.parties.find((t=>t.id===n.summarizedParty)):t.$meta;return{...t,partyId:r,$meta:i}})),i=JSON.parse(JSON.stringify(t));return i.returningResults[r].results=n,i})),resultType:"listVotes",parties:e.partiesToBeShown.map((t=>e.parties.find((e=>e.id===t))))});return e.results.results.map((n=>{const i=n.returningResults.countingProgress.isFullyCounted,s=n.returningResults[r],a=s.results.map((n=>{const r=e.partiesToSummarize.find((t=>t.singleParties.includes(n.partyId))),i=void 0!==r?r.summarizedParty:n.partyId,s=void 0!==r?e.parties.find((t=>t.id===r.summarizedParty)):n.$meta;return{...n,$potentialSummarizedPartyId:i,$meta:{...s,$relColor:t[i]?.$partyColorScale(n.currentShare)}}}));return{...n,...s,isFullyCounted:i,styledResult:a}}))})),s=Tt((()=>{let t=!0;const n=e.partiesToBeShown.map((e=>de(i).map((n=>{const r=n.styledResult.find((t=>t.$potentialSummarizedPartyId===e));return void 0!==r&&n.isFullyCounted||(t=!1),{...n,data:r}}))));let r=null,s=null;return n.map((e=>(r=e&&e.length?e.reduce(((t,e)=>t.data?.currentShare>e.data?.currentShare?t:e)):void 0,s=e&&e.length?e.reduce(((t,e)=>t.data?.currentShare<e.data?.currentShare?t:e)):void 0,{mapData:e,party:r?.data?.$meta,maxConstituency:r,minConstituency:s,showMap:t})))}));var a=aE(),o=Oe(a);!function(t,e){_e(e,!0),Ln(e,["subline","countedStr","countedConstituencies","totalConstituencies"]);var n=jR(),r=Oe(n),i=Oe(r);sn(Oe(i),(()=>e.subline.replace(/{constituencyDescription}/g,sx("cardVariables","constituencyDescription")).replace(/{partyVotes}/g,sx("cardVariables","partyVotes")).replace(/{iconTop}/g,'<svg width="15" height="15" viewBox="0 0 15 15"><rect x="1.30664" y="0.552979" width="13" height="13" rx="6.5" fill="#61574E"/><rect x="1.30664" y="0.552979" width="13" height="13" rx="6.5" stroke="white"/><path d="M7.80664 4.05688L10.8066 9.2854L4.80664 9.2854L7.80664 4.05688Z" fill="white"/></svg>').replace(/{iconLow}/g,'<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="14.3066" y="13.553" width="13" height="13" rx="6.5" transform="rotate(-180 14.3066 13.553)" fill="#DAD9D7"/><rect x="14.3066" y="13.553" width="13" height="13" rx="6.5" transform="rotate(-180 14.3066 13.553)" stroke="white"/><path d="M7.80664 10.168L4.80664 4.93799L10.8066 4.93799L7.80664 10.168Z" fill="black"/></svg>')));var s=Oe(Pe(Pe(i,!0)));st((()=>Fe(s,e.countedStr.replace(/{countedConstituencies}/g,e.countedConstituencies).replace(/{totalConstituencies}/g,e.totalConstituencies)))),rn(t,n),xe()}(o,Fn((()=>n),(()=>e.results.additionalInformation)));var l=Pe(Pe(o,!0));je(Oe(l),(()=>e.geojson),(t=>{rn(t,rE())}),((t,e)=>{var n=nn();Ye(Ae(n),65,(()=>de(s)),We,((t,n,r)=>{let i=()=>Te(Te(n)).party,s=()=>Te(Te(n)).maxConstituency,a=()=>Te(Te(n)).minConstituency;var o=sE();Ue(Oe(o),(()=>(Te(Te(n)).showMap,i())),(t=>{var r=iE(),o=Ae(r),l=Oe(o),c=Pe(Pe(o,!0));ZR(Oe(c),{get data(){return Te(Te(n)).mapData},get geojson(){return e.constituencies},get maxConstituency(){return s()},get minConstituency(){return a()}}),function(t,e){_e(e,!0);const n=BR,r=WR;var i=nE(),s=Oe(i),a=Tt((()=>e.maxConstituency?.data?.$meta.$colorGradientStops[0])),o=Tt((()=>e.maxConstituency?.data?.$meta.$colorGradientStops[0]));eE(s,{get constituency(){return e.maxConstituency},get fillColor(){return de(a)},get strokeColor(){return de(o)},arrowColor:"white",element:n});var l=Pe(Pe(s,!0)),c=Tt((()=>e.minConstituency?.data?.$meta.$colorGradientStops[1])),u=Tt((()=>e.minConstituency?.data?.$meta.$colorGradientStops[1]));eE(l,{get constituency(){return e.minConstituency},get fillColor(){return de(c)},get strokeColor(){return de(u)},arrowColor:"black",element:r}),rn(t,i),xe()}(Oe(Pe(Pe(c,!0))),{get maxConstituency(){return s()},get minConstituency(){return a()}}),st((()=>Fe(l,i()?.abbr))),rn(t,r)})),rn(t,o)})),rn(t,n)})),Ue(Pe(Pe(l,!0)),(()=>e.noteStr),(t=>{var n=nn();iS(Ae(n),{get noteStr(){return e.noteStr}}),rn(t,n)})),rn(t,a),xe()}},Symbol.toStringTag,{value:"Module"}));var lE=Ze('<li class="item svelte-16hxuug"><span class="color-box svelte-16hxuug"></span> <span class="label svelte-16hxuug"> </span></li>'),cE=Ze('<ul class="legend svelte-16hxuug"></ul>');function uE(t,e){var n=cE();Ye(n,73,(()=>e.groups),We,((t,e,n)=>{var r=lE(),i=Oe(r);fn(i,"bordered",1===Te(n));var s=Oe(Pe(Pe(i,!0)));st((()=>Fe(s,Te(Te(e)).label))),rn(t,r)})),rn(t,n)}var hE=(t,e,n,r,i)=>{e.select(n()),r({element_name:"tabs-switch",element_text:"tab"+i()+"-"+n()})},dE=Ze('<input type="radio" class="svelte-111l8uh">'),fE=(t,e,n)=>e(de(n)),pE=Ze('<div class="separator svelte-111l8uh"></div>'),gE=Ze('<li class="svelte-111l8uh"><!> <label class="svelte-111l8uh"> </label></li>'),vE=Ze('<div class="tabs-switch svelte-111l8uh"><!> <ul class="svelte-111l8uh"></ul></div>');function mE(t,e){_e(e,!0);let n=Vn(e,"componentName",3,""),r=Vn(e,"selectedIndex",7),i=gt({options:e.options,selected:e.options[0]?.id,selectedIndex:0,select:t=>{i.selected=t,i.selectedIndex=t,r(t)}}),s=G(!0);const a=3,o=20;let l=G(void 0);function c(t){i.selected,function(t){const e=document.getElementById(t);if(e){const t=de(l).clientWidth,n=de(l).scrollWidth,r=e.offsetLeft+e.clientWidth/2-t/2,i=n-t,s=Math.max(0,Math.min(r,i));de(l).scrollTo({left:Math.max(0,Math.min(r,s)),behavior:"smooth"}),e.classList.contains("last")}}(t)}let u=gt([]),h=Tt((()=>{if(i.options&&u.length===i.options.length)return u[i.selectedIndex]})),d=Tt((()=>de(l)&&de(l).clientWidth===de(l).scrollWidth?de(l).clientWidth/u.length-2*o:Math.max(...u))),f=Tt((()=>{if(!de(h))return;return u.slice(0,i.selectedIndex).reduce(((t,e)=>t+e),0)+i.selectedIndex*o*2}));var p=vE();$n(p,(t=>X(l,gt(t))),(()=>de(l)));var g=Oe(p);Ye(g,65,(()=>i.options),We,((t,e,r)=>{let s=()=>Te(Te(e)).id;var a=dE();a.__change=[hE,i,s,Lx,n],st((()=>{hn(a,"id",`tabs-switch-input-${Ve(n())}-${Ve(s())}`),un(a,s()===i.selected)})),rn(t,a)}));var v=Pe(Pe(g,!0));Ye(v,73,(()=>i.options),We,((t,e,r)=>{let s=()=>Te(Te(e)).id,a=()=>Te(Te(e)).label;var o=gE();const l=Tt((()=>`${a()}-${s()}`));o.__click=[fE,c,l];var h=Oe(o);Ue(h,(()=>Te(r)>0&&s()!==i.selected&&s()!==i.selected+1),(t=>{rn(t,pE())}));var f=Pe(Pe(h,!0)),p=Oe(f);st((()=>{hn(o,"id",de(l)),fn(o,"last",Te(r)===i.options.length-1),hn(f,"for",`tabs-switch-input-${Ve(n())}-${Ve(s())}`),fn(f,"checked",s()===i.selected),pn(f,"min-width",`${Ve(de(d))}px`),Fe(p,a())})),An(f,"clientWidth",(t=>u[Te(Te(e)).index]=t)),rn(t,o)})),st((()=>{fn(v,"no-translate-x",void 0===de(f)),pn(v,"--translate-x",`${Ve(de(f))}px`),pn(v,"--active-label-width",`${Ve(de(h)+2*o)}px`),pn(v,"--border-padding-vertical",`${Ve(a)}px`),pn(v,"--border-padding-horizontal",`${Ve(o)}px`),pn(v,"pointer-events",de(s)?"auto":"none")})),ln(p,((t,e)=>Gv(t,e)),(()=>({axis:"x",event:"mouse",cursor:!1}))),$e("dragging",p,(()=>X(s,!1)),!1),$e("draggingend",p,(()=>X(s,!0)),!1),rn(t,p),xe()}Ie(["change","click"]);var yE=Ze("<!> <!>",1),bE=Ze("<!> <!>",1),wE=Ze('<div class="list-votes svelte-z9mtnl"><div class="body svelte-z9mtnl"><!></div></div>');const _E=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);let n=Vn(e,"columnHeight",3,120);const r=Tt((()=>e.data.config.settings));let i=G(0),s=Tt((()=>de(i)<400)),a=Tt((()=>({listVotesHeight:n()+"px",columnHeight:n()+"px",marginParty:de(s)?"16px":"32px",marginPreviousResult:de(s)?"-3px":"-6px",columnWidth:(de(s),"22px"),groupMargin:de(s)?"-10px":"-24px"})));const o=Tt((()=>e.results.$renderedVoterGroups.find((t=>t.key===e.key)).$renderedValues)),l=Tt((()=>2===de(o).length?"double":"tabs")),c=Tt((()=>{if("tabs"===de(l))return!1;const t=[];return de(o).forEach(((e,n)=>{e.$results.forEach(((e,r)=>{t[r]||(t[r]={$results:[]}),t[r].$results[n]=e}))})),t}));let u=G(0);const h=Tt((()=>de(o).map(((t,e)=>({index:e,id:e,label:t.value})))));let d=G(0),f=G(!1),p=G(!1);var g=wE(),v=Oe(g);Ue(Oe(v),(()=>"tabs"===de(l)),(t=>{var n=yE(),i=Ae(n),s=Tt((()=>"voterGroups"+e.key));mE(i,{get options(){return de(h)},get selectedIndex(){return de(u)},set selectedIndex(t){X(u,gt(t))},get componentName(){return de(s)}}),nS(Pe(Pe(i,!0)),{get scrollLeft(){return de(d)},set scrollLeft(t){X(d,gt(t))},get showLeftShadow(){return de(f)},get showRightShadow(){return de(p)},children:(t,e)=>{var n=nn();hk(Ae(n),{get results(){return de(o)[de(u)].$results},get css(){return de(a)},get scrollLeft(){return de(d)},get currentYear(){return de(r).$dateCurrentYear},get previousYear(){return de(r).$datePreviousYear},get showLeftShadow(){return de(f)},set showLeftShadow(t){X(f,gt(t))},get showRightShadow(){return de(p)},set showRightShadow(t){X(p,gt(t))},noTopPadding:!1}),rn(t,n)},$$slots:{default:!0}}),rn(t,n)}),(t=>{var e=nn();Ue(Ae(e),(()=>"double"===de(l)),(t=>{var e=bE(),n=Ae(e);uE(n,{get groups(){return de(h)}}),nS(Pe(Pe(n,!0)),{get scrollLeft(){return de(d)},set scrollLeft(t){X(d,gt(t))},get showLeftShadow(){return de(f)},get showRightShadow(){return de(p)},children:(t,e)=>{var n=nn();hk(Ae(n),{get results(){return de(c)},get css(){return de(a)},get scrollLeft(){return de(d)},get currentYear(){return de(r).$dateCurrentYear},get previousYear(){return de(r).$datePreviousYear},get resultType(){return de(l)},get showLeftShadow(){return de(f)},set showLeftShadow(t){X(f,gt(t))},get showRightShadow(){return de(p)},set showRightShadow(t){X(p,gt(t))}}),rn(t,n)},$$slots:{default:!0}}),rn(t,e)}),null,!0),rn(t,e)})),An(g,"clientWidth",(t=>X(i,t))),rn(t,g),xe()}},Symbol.toStringTag,{value:"Module"}));var xE=tn('<path fill="none" class="svelte-wvb17h"></path><rect></rect>',1),kE=tn('<g class="arrow svelte-wvb17h"><polygon points="12.9,6.4 6.4,0 0,6.4 " class="svelte-wvb17h"></polygon></g>'),SE=tn('<svg class="svelte-wvb17h"><!><circle class="svelte-wvb17h"></circle><!></svg>');function TE(t,e){_e(e,!0);const n=Vn(e,"relation",11,(()=>[])),r=Vn(e,"svgHeight",3,200),i=Vn(e,"svgWidth",3,472),s=Vn(e,"circleRadius",3,70),a=dg().x((t=>t.x)).y((t=>t.y)).curve(yg);var o=SE(),l=Oe(o);Ye(l,65,n,We,((t,e,n)=>{let r=()=>Te(Te(e)).points,i=()=>Te(Te(e)).width,s=()=>Te(Te(e)).party;var o=xE();const l=Tt((()=>Te(Te(e)).value>0?r()[0].x:r()[0].x-8)),c=Tt((()=>r()[0].y-i()/2));var u=Ae(o);st((()=>hn(u,"d",a(r()))));var h=Pe(u);hn(h,"width",8),st((()=>{hn(u,"stroke",s().$color),hn(u,"stroke-width",i()),hn(h,"x",de(l)),hn(h,"y",de(c)),hn(h,"height",i()),hn(h,"fill",s().$color)})),rn(t,o)}));var c=Pe(l);Ye(Pe(c),65,n,We,((t,e,n)=>{let r=()=>Te(Te(e)).arrowCoords;var i=kE(),s=Oe(i);st((()=>{hn(i,"transform",`translate(${Ve(r().x)},${Ve(r().y)}) rotate(${Ve(r().angleDegrees)})`),hn(s,"fill",Te(Te(e)).party.$color),fn(s,"negative",Te(Te(e)).value<0)})),rn(t,i)})),st((()=>{hn(o,"height",r()),hn(o,"width",i()),hn(c,"cx",i()/2),hn(c,"cy",r()/2),hn(c,"r",s())})),rn(t,o),xe()}var CE=Ze('<div class="values svelte-sisu63"><div class="party"> </div> <div class="value svelte-sisu63"> </div></div>'),ME=Ze('<div class="info svelte-sisu63"><!> <div class="partyName svelte-sisu63"> </div></div>');function RE(t,e){_e(e,!0);const n=Vn(e,"relation",11,(()=>[])),r=Vn(e,"height",3,200),i=Vn(e,"party",11,(()=>({})));var s=ME(),a=Oe(s);Ye(a,65,n,We,((t,e,n)=>{let r=()=>Te(Te(e)).value;var i=CE();const s=Tt((()=>(r(),12))),a=Tt((()=>r()>0?de(s):null)),o=Tt((()=>r()>0?null:de(s)));var l=Oe(i),c=Oe(l),u=Oe(Pe(Pe(l,!0)));st((()=>{fn(i,"right",r()<0),pn(i,"top",Te(Te(e)).points[0].y+"px"),pn(i,"left",de(a)?de(a)+"px":null),pn(i,"right",de(o)?de(o)+"px":null),Fe(c,Te(Te(e)).party.abbr),Fe(u,Te(Te(e)).valueObj.str)})),rn(t,i)}));var o=Oe(Pe(Pe(a,!0)));st((()=>{pn(s,"height",r()+"px"),Fe(o,i().abbr)})),rn(t,s),xe()}var EE=Ze("<!> <!>",1),OE=Ze('<div class="voterFlowsNet svelte-1vqrgm5"><div class="description svelte-1vqrgm5"><span class="subline svelte-1vqrgm5"><!></span></div> <div class="body svelte-1vqrgm5"><!> <div class="chartContainer svelte-1vqrgm5"><!></div></div> <!></div>');const AE=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);const n=Tt((()=>e.data.config.settings)),r=Tt((()=>e.results?.$renderedVoterFlowsNet?.svgHeight)),i=Tt((()=>gv.chartWidth-1)),s=Tt((()=>e.results?.$renderedVoterFlowsNet?.voterFlowsNet));let a=G(0);const o=Tt((()=>de(s)?de(s).map(((t,e)=>({index:e,id:e,label:t.party.abbr}))):[])),l=Tt((()=>e.results?.$renderedVoterFlowsNet?.voterFlowsNet[de(a)].relations)),c=Tt((()=>e.results?.$renderedVoterFlowsNet?.voterFlowsNet[de(a)].party));var u=OE(),h=Oe(u),d=Oe(h);sn(Oe(d),(()=>e.subline.replace(/\{yearForComparison\}/g,e.yearForComparisonStr.replace("{previousElectionYear}",de(n).$datePreviousYear)).replace("{currentElectionYear}",de(n).$dateCurrentYear)));var f=Pe(Pe(h,!0)),p=Oe(f);mE(p,{get options(){return de(o)},get selectedIndex(){return de(a)},set selectedIndex(t){X(a,gt(t))},componentName:"voterFlowsNet"});var g=Pe(Pe(p,!0));Ue(Oe(g),(()=>gv.chartWidth>0),(t=>{var e=EE(),n=Ae(e);TE(n,{get relation(){return de(l)},get svgHeight(){return de(r)},get svgWidth(){return de(i)},get circleRadius(){return gv.circleRadius}}),RE(Pe(Pe(n,!0)),{get relation(){return de(l)},get height(){return de(r)},get party(){return de(c)}}),rn(t,e)})),Ue(Pe(Pe(f,!0)),(()=>e.noteStr),(t=>{var n=nn();iS(Ae(n),{get noteStr(){return e.noteStr}}),rn(t,n)})),st((()=>pn(g,"height",de(r)+"px"))),An(g,"clientWidth",(t=>gv.chartWidth=t)),rn(t,u),xe()}},Symbol.toStringTag,{value:"Module"}));var PE=tn('<svg width="100%" height="10" viewBox="0 0 10 8" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-1muvajc"><path d="M1 1H9" class="svelte-1muvajc"></path><path d="M1 4H9" class="svelte-1muvajc"></path><path d="M1 7H9" class="svelte-1muvajc"></path></svg>');var $E=(t,e)=>e(!e()),IE=Ze('<div class="icon svelte-1tfat4u"><!></div> ',1),DE=Ze('<div class="icon svelte-1tfat4u"><!></div> ',1),NE=Ze('<div class="button-show-all svelte-1tfat4u"><button class="button-show-all__button svelte-1tfat4u"><!></button></div>');function LE(t,e){let n=Vn(e,"showMore",7,!1);var r=NE(),i=Oe(r);i.__click=[$E,n],Ue(Oe(i),n,(t=>{var n=IE(),r=Ae(n);qS(Oe(r),{isInteractive:!1});var i=Pe(r,!0);st((()=>Fe(i,` ${Ve(e.showLessStr)}`))),rn(t,n)}),(t=>{var n=DE(),r=Ae(n);!function(t){rn(t,PE())}(Oe(r));var i=Pe(r,!0);st((()=>Fe(i,` ${Ve(e.showMoreStr)}`))),rn(t,n)})),st((()=>fn(i,"showMore",n()))),rn(t,r)}Ie(["click"]);var HE=(t,e,n)=>de(e)?X(n,!de(n)):null,FE=Ze('<div class="arrow svelte-mpjn77"><!></div>'),VE=Ze("<span> </span>"),zE=Ze('<div class="currentVotes svelte-mpjn77"> </div>'),jE=Ze('<span class="row-extra svelte-mpjn77"><span> </span></span>'),UE=Ze('<div class="row svelte-mpjn77"><div class="partyShort svelte-mpjn77"> </div> <button class="partyLong svelte-mpjn77"><!> <!></button> <!> <div class="shareValue svelte-mpjn77"> </div> <div class="diffValue svelte-mpjn77"> </div></div> <!>',1);Ie(["click"]);var BE=Ze('<div class="currentVotes svelte-1nfm03u"> </div>'),qE=Ze('<div><div class="row svelte-1nfm03u"><div class="partyShort svelte-1nfm03u"> </div> <div class="partyLong svelte-1nfm03u"> </div> <!> <div class="shareValue svelte-1nfm03u"> </div> <div class="diffValue svelte-1nfm03u"> </div></div> <!></div>');function WE(t,e){_e(e,!0);let n=G(0);const r=Tt((()=>de(n)<334?"mobile":de(n)<600?"tablet":"desktop")),i=Tt((()=>{let t=!0;return e.results.forEach((e=>{e.currentVotes||(t=!1)})),t})),s=Tt((()=>e.config.settings));var a=qE(),o=Oe(a),l=Oe(o),c=Oe(l),u=Pe(Pe(l,!0)),h=Oe(u),d=Pe(Pe(u,!0));Ue(d,(()=>de(i)),(t=>{var n=BE(),r=Oe(n);st((()=>Fe(r,e.tableHeaderVotesStr))),rn(t,n)}));var f=Pe(Pe(d,!0)),p=Oe(f),g=Oe(Pe(Pe(f,!0)));st((()=>Fe(g,e.tableHeaderDiffStr?.replace("{previousElectionYear}",de(s).$datePreviousYear)))),Ye(Pe(Pe(o,!0)),65,(()=>e.results),We,((t,n,i)=>{var s=nn(),a=Ae(s),o=Tt((()=>Te(Te(n)).$shareValue?.str)),l=Tt((()=>Te(Te(n)).$diffValue?.str)),c=Tt((()=>Te(i)<5||e.showMore));!function(t,e){_e(e,!0);let n=G(!1),r=G(null),i=G(null),s=Tt((()=>de(r)&&de(r).scrollWidth>de(i)));const a="tableRow"+e.party.id,[o,l]=zv({fallback(t,e){const n=getComputedStyle(t),r="none"===n.transform?"":n.transform;return{duration:300,easing:X_,css:t=>`\n\t\t\t\t\ttransform: ${r} scale(${t});\n\t\t\t\t\topacity: ${t}\n\t\t\t\t`}}});var c=nn();Ue(Ae(c),(()=>e.show),(t=>{var c=UE(),u=Ae(c);Sn(3,u,(()=>Fv));var h=Oe(u),d=Oe(h),f=Pe(Pe(h,!0));$n(f,(t=>X(r,gt(t))),(()=>de(r))),f.__click=[HE,s,n];var p=Oe(f);Ue(p,(()=>de(s)),(t=>{var e=FE(),r=Oe(e),i=Tt((()=>de(n)?"top":"bottom"));L_(r,{get direction(){return de(i)}}),st((()=>fn(e,"rotated",de(n)))),rn(t,e)})),Ue(Pe(Pe(p,!0)),(()=>!de(n)),(t=>{var n=VE();Sn(1,n,(()=>l),(()=>({key:a}))),Sn(2,n,(()=>o),(()=>({key:a})));var r=Oe(n);st((()=>Fe(r,e.party.name))),rn(t,n)}));var g=Pe(Pe(f,!0));Ue(g,(()=>e.currentVotes),(t=>{var n=zE(),r=Oe(n);st((()=>Fe(r,e.currentVotes))),rn(t,n)}));var v=Pe(Pe(g,!0)),m=Oe(v),y=Oe(Pe(Pe(v,!0)));Ue(Pe(Pe(u,!0)),(()=>de(n)),(t=>{var n=jE(),r=Oe(n);Sn(1,r,(()=>l),(()=>({key:a}))),Sn(2,r,(()=>o),(()=>({key:a})));var i=Oe(r);st((()=>{fn(n,"even",e.even),Fe(i,e.party.name)})),rn(t,n)})),st((()=>{fn(u,"even",e.even),Fe(d,e.party.abbr),fn(f,"overflowing",de(s)),pn(f,"padding-right",de(s)?"10px":"0px"),Fe(m,e.shareValue),Fe(y,e.diffValue)})),An(f,"clientWidth",(t=>X(i,t))),rn(t,c)})),rn(t,c),xe()}(a,{get party(){return Te(Te(n)).$meta},get shareValue(){return de(o)},get diffValue(){return de(l)},get currentVotes(){return Te(Te(n)).$currentVotes.str},get tableClass(){return de(r)},get show(){return de(c)},even:Te(i)%2==0}),rn(t,s)})),st((()=>{dn(a,`overview-table ${Ve(de(r))} svelte-1nfm03u`),fn(a,"noCurrentVotes",!e.useReturningResults),Fe(c,e.tableHeaderAbbrStr),Fe(h,e.tableHeaderNameStr),Fe(p,e.tableHeaderShareStr)})),An(a,"clientWidth",(t=>X(n,t))),rn(t,a),xe()}var YE=Ze('<div class="table svelte-dhguvr"><div class="description svelte-dhguvr"><span class="subline svelte-dhguvr"><!></span> <!></div> <div class="body svelte-dhguvr"><!></div></div>');const GE=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);let n=Ln(e,["results","subline","showMoreStr","showLessStr","useReturningResults","data"]),r=Tt((()=>e.results?.resultsOverall?.listVotes)),i=Tt((()=>e.results?.resultsOverallComplete)),s=Tt((()=>e.useReturningResults&&de(i)&&de(i).length>0?de(i):de(r)?.results)),a=G(!1),o=Tt((()=>de(r)?.results?.length>5));var l=YE(),c=Oe(l),u=Oe(c);sn(Oe(u),(()=>e.subline?.replace(/\{resultType\}/g,sx("resultTypes",e.results?.resultsOverall?.type)))),Ue(Pe(Pe(u,!0)),(()=>de(o)),(t=>{var n=nn();LE(Ae(n),{get showMoreStr(){return e.showMoreStr},get showLessStr(){return e.showLessStr},get showMore(){return de(a)},set showMore(t){X(a,gt(t))}}),rn(t,n)})),WE(Oe(Pe(Pe(c,!0))),Fn({get results(){return de(s)},get useReturningResults(){return e.useReturningResults},get showMore(){return de(a)}},(()=>n))),rn(t,l),xe()}},Symbol.toStringTag,{value:"Module"}));var KE=Ze('<div class="seats svelte-xg28nx"><div class="description svelte-xg28nx"><span class="subline"><!></span> <div class="switch svelte-xg28nx"><!></div></div> <div class="body svelte-xg28nx"><!></div></div>');const XE=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);let n=Vn(e,"index",3,0);const r=Tt((()=>e.election?.config)),i=Tt((()=>e.data?.config?.cards[0].elements[n()]?.partyIdForOthers)),s=Tt((()=>{if(!e.results?.resultsOverall)return;const t=e.results.resultsOverall.listVotes,n=t.resultsSeats&&t.resultsSeats.length>0?t.results.filter((t=>t.partyId!==de(i))):t.results;return t.resultsSeats.forEach((t=>{n.push(t)})),n}));Hx.dimensions[n()].type="electedMps";let a=Tt((()=>Hx.isVertical?!e.useReturningResults&&n()===Hx.activeIndex:!e.useReturningResults)),o=Tt((()=>Hx.dimensions[n()].textHeight<Hx.maxTextHeight?Hx.maxTextHeight-2+"px":"0px")),l=Tt((()=>Hx.dimensions[n()].chartHeight<Hx.maxChartHeight?Hx.maxChartHeight-2+"px":"0px"));const c=Tt((()=>!e.data?.config?.cards[0].elements[n()].hasData)),u=Tt((()=>Ig.noDataTotalSeats||1===n()?96:720)),h=Tt((()=>{const t=cv.darkMode?"#2F2E2D":"#EEF1F3";return de(c)?[{$meta:{$color:t,abbr:" ",id:"par_eu_20",name:" "},currentSeats:de(u)/7},{$meta:{$color:t,abbr:" ",id:"par_eu_20",name:" "},currentSeats:de(u)/7},{$meta:{$color:t,abbr:" ",id:"par_eu_20",name:" "},currentSeats:de(u)/7},{$meta:{$color:t,abbr:" ",id:"par_eu_20",name:" "},currentSeats:de(u)/7},{$meta:{$color:t,abbr:" ",id:"par_eu_20",name:" "},currentSeats:de(u)/7},{$meta:{$color:t,abbr:" ",id:"par_eu_20",name:" "},currentSeats:de(u)/7},{$meta:{$color:t,abbr:" ",id:"par_eu_20",name:" "},currentSeats:de(u)/7}]:[]})),d=Tt((()=>{const t=e.data?.config?.cards[0].elements[n()].electionKey;let r;return e.data?.elections?.forEach(((e,n)=>{e.electionKey===t&&(r=n)})),r}));let f,p,g=G(0),v=G(0);const m=()=>{de(g)&&(Hx.dimensions[n()].textHeight=de(g))},y=()=>{de(v)&&(Hx.dimensions[n()].chartHeight=de(v))};nt((()=>(de(g),clearTimeout(f),f=setTimeout(m,33),de(v),clearTimeout(p),p=setTimeout(y,33),()=>{clearTimeout(p),clearTimeout(f)})));var b=KE(),w=Oe(b),_=Oe(w);sn(Oe(_),(()=>e.subline.replace(/\{resultType\}/g,ax(e.data?.config?.cards[0].elements[n()].electionKey,"resultTypes",e.results?.resultsOverall?.type)).replace(/\{previousElectionYear\}/g,de(r)?.$datePreviousYear)));var x=Pe(Pe(_,!0));Kx(Oe(x),{get electionIndex(){return de(d)},largeFont:!0});var k=Pe(Pe(w,!0)),S=Oe(k),T=Tt((()=>de(c)?de(h):de(s)));BM(S,{get results(){return e.results.resultsOverall},get resultsWithMicroParties(){return de(T)},widget:!0,get isNoData(){return de(c)},get noDataTotalSeats(){return de(u)}}),st((()=>{fn(w,"isNoData",de(c)),pn(w,"min-height",de(o)),pn(w,"margin-bottom","0px"===de(o)?"0":"2px"),fn(x,"active",de(a)),pn(x,"top",Hx.isVertical?"-12px":"-10px"),pn(x,"right",Hx.isVertical?"4px":"2px"),pn(k,"min-height",de(l)),pn(k,"margin-bottom","0px"===de(l)?"0":"2px")})),An(w,"clientHeight",(t=>X(g,t))),An(k,"clientHeight",(t=>X(v,t))),rn(t,b),xe()}},Symbol.toStringTag,{value:"Module"}));var QE=Ze('<div class="item svelte-14ojgid"><div class="head svelte-14ojgid"></div> <div class="bar svelte-14ojgid"></div> <div class="prev svelte-14ojgid"></div> <div class="bottom svelte-14ojgid"></div> <div class="bottom svelte-14ojgid"></div></div>'),JE=Ze('<div class="nodata svelte-14ojgid"></div>');var ZE=Ze('<div class="list-votes svelte-1smb0ok"><div class="description svelte-1smb0ok"><span class="subline"> </span> <div class="switch svelte-1smb0ok"><!></div></div> <div class="body svelte-1smb0ok"><!></div></div>');const tO=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);let n=Vn(e,"index",3,0),r=Tt((()=>e.results?.listVotes)),i=Tt((()=>{if(Hx.isTwoThirds)return 112;return(Hx.maxChartHeight||190)-Hx.dimensions[n()].textHeight+Hx.dimensions[Ig.widgetHeightIndex].textHeight-68}));Hx.dimensions[n()].type="listVotes";let s=Tt((()=>({listVotesHeight:de(i)+"px",columnHeight:de(i)+"px",marginParty:"8px",marginPreviousResult:Hx.isVertical?"-8px":"-6px",columnWidth:"19px",fontSize:Hx.isVertical?"12px":"14px"}))),a=G(0),o=G(!1),l=G(!1),c=Tt((()=>Hx.isVertical?!e.useReturningResults&&n()===Hx.activeIndex:!e.useReturningResults)),u=Tt((()=>Hx.isTwoThirds||Hx.isVertical?"15px":"13px")),h=Tt((()=>Hx.isTwoThirds?"8px":Hx.isVertical?"13px":"5px"));const d=Tt((()=>!e.data?.config?.cards[0].elements[n()].hasData)),f=Tt((()=>e.data?.config?.cards[0].elements[n()].hideOthersIfNotEnoughSpace)),p=Tt((()=>e.data?.config?.cards[0].elements[n()].partyIdForOthers)),g=Tt((()=>e.data?.config?.cards[0].elements[n()].widthHideOthers)),v=Tt((()=>{const t=e.data?.config?.cards[0].elements[n()].electionKey;let r;return e.data?.elections?.forEach((e=>{e.electionKey===t&&(r=e.config.settings.datePrevious)})),r.indexOf("-")>-1&&(r=r.split("-")[0]),r})),m=Tt((()=>{const t=e.data?.config?.cards[0].elements[n()].electionKey;let r;return e.data?.elections?.forEach((e=>{e.electionKey===t&&(r=e.config.settings.dateCurrent)})),r.indexOf("-")>-1&&(r=r.split("-")[0]),r})),y=Tt((()=>{const t=e.data?.config?.cards[0].elements[n()].electionKey;let r;return e.data?.elections?.forEach(((e,n)=>{e.electionKey===t&&(r=n)})),r}));let b,w,_=G(0),x=G(0);const k=()=>{de(_)&&(Hx.dimensions[n()].textHeight=de(_))},S=()=>{de(x)&&(Hx.dimensions[n()].chartHeight=de(x))};nt((()=>(de(_),clearTimeout(b),b=setTimeout(k,33),de(x),clearTimeout(w),w=setTimeout(S,33),()=>{clearTimeout(w),clearTimeout(b)})));var T=ZE(),C=Oe(T),M=Oe(C),R=Oe(M);st((()=>Fe(R,e.subline.replace(/\{partyVotes\}/g,ax(e.data?.config?.cards[0].elements[n()].electionKey,"cardVariables","partyVotes")).replace(/\{resultType\}/g,ax(e.data?.config?.cards[0].elements[n()].electionKey,"resultTypes",e.results?.type)))));var E=Pe(Pe(M,!0));Kx(Oe(E),{get electionIndex(){return de(y)},largeFont:!0});var O=Pe(Pe(C,!0));Ue(Oe(O),(()=>de(d)),(t=>{var e=nn();!function(t,e){_e(e,!0);let n=G(100),r=[40,60,50,20,17,9,5,10,20];var i=JE();Ye(i,73,(()=>r),We,((t,e,n)=>{var r=QE(),i=Pe(Pe(Oe(r),!0)),s=Pe(Pe(i,!0));st((()=>{hn(i,"style",`height: ${Ve(Te(e))}%`),hn(s,"style",`height: ${Ve(.7*Te(e))}%`)})),rn(t,r)})),st((()=>{fn(i,"twoThirds",Hx.isTwoThirds),fn(i,"small",de(n)<400),pn(i,"height",Hx.maxChartHeight+"px")})),An(i,"clientWidth",(t=>X(n,t))),rn(t,i),xe()}(Ae(e),{}),rn(t,e)}),(t=>{var e=nn();nS(Ae(e),{get scrollLeft(){return de(a)},set scrollLeft(t){X(a,gt(t))},get showLeftShadow(){return de(o)},get showRightShadow(){return de(l)},children:(t,e)=>{var n=nn(),i=Ae(n),c=Tt((()=>de(r)?.results));hk(i,{get results(){return de(c)},get css(){return de(s)},get scrollLeft(){return de(a)},get previousYear(){return de(v)},get currentYear(){return de(m)},get hideOthersIfNotEnoughSpace(){return de(f)},get partyIdForOthers(){return de(p)},get widthHideOthers(){return de(g)},get showLeftShadow(){return de(o)},set showLeftShadow(t){X(o,gt(t))},get showRightShadow(){return de(l)},set showRightShadow(t){X(l,gt(t))}}),rn(t,n)},$$slots:{default:!0}}),rn(t,e)})),st((()=>{fn(C,"isNoData",de(d)),fn(E,"active",de(c)),pn(E,"top",de(h)),pn(E,"right",de(u)),fn(O,"isNoData",de(d))})),An(C,"clientHeight",(t=>X(_,t))),An(O,"clientHeight",(t=>X(x,t))),rn(t,T),xe()}},Symbol.toStringTag,{value:"Module"}));var eO=Ze('<div class="bar second svelte-r2s106"><div class="segments svelte-r2s106"><div class="segment svelte-r2s106"></div> <div class="segment svelte-r2s106"></div></div></div> <div class="bar svelte-r2s106"><div class="segments svelte-r2s106"><div class="segment svelte-r2s106"></div></div></div>',1),nO=Ze('<div class="nodata svelte-r2s106"></div>');var rO=Ze('<div class="coalition-wrapper svelte-1smxmmj"><!></div>'),iO=Ze("<!> <!>",1),sO=Ze('<div class="coalitions svelte-1smxmmj"><div class="description svelte-1smxmmj"><span class="subline"><!></span> <div class="switch svelte-1smxmmj"><!></div></div> <div class="body svelte-1smxmmj"><!></div></div>');const aO=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);const n=Tt((()=>e.results?.listVotes)),r=Tt((()=>e.election?.config)),i=Tt((()=>{const t=e.data?.config?.cards[0].elements[e.index].electionKey;let n=[];return e.data?.elections?.forEach((e=>{e.electionKey===t&&(n=e.config.parties)})),n})),s=Tt((()=>de(n)?.additionalInformation?.$totalSeats)),a=Tt((()=>de(n)?.additionalInformation?.$threshold)),o=Tt((()=>{if(e.coalitions&&de(n)&&de(i)&&de(s))return e.coalitions.map((t=>oS({coalitionConfig:t,results:de(n).results,parties:de(i),totalSeats:de(s),threshold:de(a)}))).sort(((t,e)=>t.currentSeats>e.currentSeats?-1:1))})),l=Tt((()=>!e.data?.config?.cards[0].elements[e.index].hasData));Hx.dimensions[e.index].type="coalitions";let c=Tt((()=>Hx.isVertical?!e.useReturningResults&&e.index===Hx.activeIndex:!e.useReturningResults)),u=Tt((()=>Hx.dimensions[e.index].textHeight<Hx.maxTextHeight?Hx.maxTextHeight-2+"px":"0px")),h=Tt((()=>Hx.dimensions[e.index].chartHeight<Hx.maxChartHeight?Hx.maxChartHeight-2+"px":"0px"));const d=Tt((()=>{const t=e.data?.config?.cards[0].elements[e.index].electionKey;let n;return e.data?.elections?.forEach(((e,r)=>{e.electionKey===t&&(n=r)})),n}));let f,p,g=G(0),v=G(0);const m=()=>{de(g)&&(Hx.dimensions[e.index].textHeight=de(g))},y=()=>{de(v)&&(Hx.dimensions[e.index].chartHeight=de(v))};nt((()=>(de(g),clearTimeout(f),f=setTimeout(m,33),de(v),clearTimeout(p),p=setTimeout(y,33),()=>{clearTimeout(p),clearTimeout(f)})));let b=Tt((()=>Ig.addInfoCoalitions));var w=sO(),_=Oe(w),x=Oe(_);sn(Oe(x),(()=>e.subline.replace(/\{resultType\}/g,ax(e.data?.config?.cards[0].elements[e.index].electionKey,"resultTypes",e.results?.type)).replace(/\{previousElectionYear\}/g,de(r)?.$datePreviousYear).replace(/\{majoritySeats\}/g,de(a))));var k=Pe(Pe(x,!0));Kx(Oe(k),{get electionIndex(){return de(d)},largeFont:!0});var S=Pe(Pe(_,!0));Ue(Oe(S),(()=>de(l)),(t=>{var e=nn();!function(t){const e=K([1,2,3,4]);var n=nO();Ye(n,9,(()=>de(e)),We,((t,e,n)=>{var r=eO(),i=Ae(r),s=Oe(i),a=Oe(s);pn(a,"width","30%"),pn(Pe(Pe(a,!0)),"width","10%");var o=Oe(Pe(Pe(i,!0)));pn(Oe(o),"width","0%"),rn(t,r)})),rn(t,n)}(Ae(e)),rn(t,e)}),(t=>{var n=iO(),r=Ae(n);Ye(r,65,(()=>de(o)),We,((t,n,r)=>{var i=rO();fS(Oe(i),Fn((()=>Te(n)),{get incumbentStr(){return e.incumbentStr}})),rn(t,i)})),Ue(Pe(Pe(r,!0)),(()=>de(b)&&""!==de(b)),(t=>{var e=nn();gS(Ae(e),{get addInfo(){return de(b)}}),rn(t,e)})),rn(t,n)})),st((()=>{fn(_,"isNoData",de(l)),pn(_,"min-height",de(u)),pn(_,"margin-bottom","0px"===de(u)?"0":"2px"),fn(k,"active",de(c)),pn(k,"top",Hx.isVertical?"15px":"5px"),pn(k,"right",Hx.isVertical?"14px":"12px"),fn(S,"isNoData",de(l)),pn(S,"min-height",de(h)),pn(S,"margin-bottom","0px"===de(h)?"0":"2px")})),An(_,"clientHeight",(t=>X(g,t))),An(S,"clientHeight",(t=>X(v,t))),rn(t,w),xe()}},Symbol.toStringTag,{value:"Module"}));function oO(t,e){if(!t||!e)return 0;let n=t;!1===e.find((t=>"seats"===t.type)).useReturningResults&&(n=Gs(t.map((t=>t.listVotes?.results||[]))));return Ws(n,(t=>t.currentSeats||t.currentSeatsMax||0))}var lO=tn('<circle class="svelte-wgbi2a"></circle>'),cO=Ze('<span class="svelte-wgbi2a"> </span>'),uO=Ze('<div class="plotDots svelte-wgbi2a"><svg class="svelte-wgbi2a"></svg> <!></div>');var hO=Ze('<span class="svelte-natg78"> </span>'),dO=Ze('<div class="bar svelte-natg78"><!></div>');var fO=Ze('<span class="svelte-1ktmzbq"> </span>'),pO=Ze('<div class="row svelte-1ktmzbq"><!> <div class="value svelte-1ktmzbq"> <!></div></div>');function gO(t,e){_e(e,!0);const n=Tt((()=>{let t="";if("seats"===e.type){if(!e.data.$seatsMax)return"";t=e.data.$useSeatsMinMax&&e.data.$seatsMax!==e.data.$seatsMin?e.data.$seatsMin+" bis "+e.data.$seatsMax+(0===e.i?" Sitze":""):(e.data.$seatsMax?e.data.$seatsMax:0)+(0===e.i?" Sitze":"")}else t=e.data.$shareValue?.str;return t})),r=Tt((()=>{let t="";return"seats"===e.type?(e.data.seatsDiff||0===e.data.seatsDiff)&&(t=0===e.data.seatsDiff?"±0":e.data.seatsDiff>0?"+"+e.data.seatsDiff:e.data.seatsDiff):t=e.data.$diffValue?.str,t&&""!==t&&(t="("+t+")"),t}));var i=pO(),s=Oe(i);Ue(s,(()=>"seats"===e.type),(t=>{var n=nn();!function(t,e){_e(e,!0);const n=Tt((()=>!e.data.$seatsMax)),r=Tt((()=>de(n)?4:2*e.radius)),i=Tt((()=>de(n)?163:e.data.$seatsMax)),s=Tt((()=>Math.floor(e.height/de(r))*de(r))),a=Tt((()=>de(i)/Math.floor(e.height/de(r))*de(r)+de(r))),o=Tt((()=>{let t=[];for(let a=0;a<de(i);a++){const i=Math.floor(a/(de(s)/de(r))),o=a%(de(s)/de(r)),l=de(n)?a<80?1:.5:e.data.$useSeatsMinMax?a<e.data.$seatsMin?1:.5:1;t.push({x:i*de(r)+de(r)/2,y:o*de(r)+de(r)/2,opacity:l})}return t}));var l=uO(),c=Oe(l);Ye(c,73,(()=>de(o)),We,((t,n,i)=>{var s=lO();st((()=>{hn(s,"cx",Te(n).x),hn(s,"cy",Te(n).y),hn(s,"r",de(r)/2-.5),hn(s,"fill",e.data.$meta.$color),hn(s,"fill-opacity",Te(n).opacity)})),rn(t,s)})),Ue(Pe(Pe(c,!0)),(()=>de(n)&&0===e.i),(t=>{var n=cO(),r=Oe(n);st((()=>Fe(r,e.placeholderStr))),rn(t,n)})),st((()=>{fn(l,"phantom",de(n)),pn(l,"--size",de(r)+"px"),hn(c,"width",de(a)),hn(c,"height",de(s))})),rn(t,l),xe()}(Ae(n),{get data(){return e.data},get radius(){return e.radius},get radiusUnrounded(){return e.radiusUnrounded},get height(){return e.height},get i(){return e.i},get placeholderStr(){return e.placeholderStr}}),rn(t,n)}),(t=>{var n=nn();!function(t,e){_e(e,!0);const n=Tt((()=>e.data.currentShare?e.data.$meta.$color:"transparent")),r=Tt((()=>!e.data.currentShare));var i=dO();Ue(Oe(i),(()=>de(r)&&0===e.i),(t=>{var n=hO(),r=Oe(n);st((()=>Fe(r,e.placeholderStr))),rn(t,n)})),st((()=>{fn(i,"phantom",de(r)),pn(i,"width",e.data.$heightPercentage+"%"),pn(i,"background-color",de(n))})),rn(t,i),xe()}(Ae(n),{get data(){return e.data},get i(){return e.i},get placeholderStr(){return e.placeholderStr}}),rn(t,n)}));var a=Oe(Pe(Pe(s,!0)));Ue(Pe(a),(()=>Ig.widgetShowDiff),(t=>{var e=fO(),n=Oe(e);st((()=>Fe(n,` ${Ve(de(r))}`))),rn(t,e)})),st((()=>{fn(i,"showDiff",Ig.widgetShowDiff),pn(i,"--barHeight",e.height+"px"),Fe(a,de(n))})),rn(t,i),xe()}var vO=Ze('<div class="desc svelte-1kaihai"><input class="hide svelte-1kaihai" type="checkbox"> <label class="label svelte-1kaihai"><div class="label-content svelte-1kaihai"><div class="arro svelte-1kaihai"><!></div> <div class="title"> </div></div></label> <div class="measure svelte-1kaihai"><div class="text svelte-1kaihai"><!></div></div> <div class="content svelte-1kaihai"><div class="text svelte-1kaihai"><!></div></div></div>');Ie(["change"]);var mO=Ze('<div class="hiddenseatsText"> </div>'),yO=Ze('<div class="right svelte-akmt8l"><!> <div class="line svelte-akmt8l"></div></div>'),bO=Ze('<div class="row svelte-akmt8l"><div class="collapsible"><!></div> <div class="flex svelte-akmt8l"><div class="left svelte-akmt8l"><!> <div class="line svelte-akmt8l"></div></div> <!></div></div>'),wO=Ze('<div class="chart svelte-akmt8l"><div class="row hideMe svelte-akmt8l"><div class="flex svelte-akmt8l"><div class="left svelte-akmt8l"><!></div> <div class="right svelte-akmt8l"><!></div></div></div> <!></div>');function _O(t,e){_e(e,!0);var n=t=>{var e=mO(),n=Oe(e);st((()=>Fe(n,de(l)))),An(e,"clientWidth",(t=>X(r,t))),rn(t,e)};let r=G(0),i=G(0),s=G(0);const a=Tt((()=>Hx.width>623)),o=Tt((()=>{if(!e.elements)return"";let t=!1;return e.elements.map(((e,n)=>{"seats"===e.type&&(t=0===n?"left":"right")})),t})),l=Tt((()=>{if(!e.preparedResults||!e.preparedResults.length>0)return"";const t=Ws(e.preparedResults,(t=>t.pot2.$seatsMax));let n=Ws(e.preparedResults,(t=>t.pot2.$seatsMin))+" bis "+t+" Sitze";if(Ig.widgetShowDiff){n=t+" (+"+Ws(e.preparedResults,(t=>t.pot2.seatsDiff))+")"}return n})),c=Tt((()=>{const t="right"===de(o)?de(i)-de(r)-32:de(s)-de(r)-32,n=e.maxSeats;let a=Math.floor(Math.sqrt(n*t/22)),l=t/a,c=22/Math.ceil(n/a);return{rounded10:Math.min(l,c)/2,rounded100:Math.min(l,c)/2}})),u=Tt((()=>"right"===de(o)?de(i):de(s)));var h=wO(),d=Oe(h),f=Oe(d),p=Oe(f);Ue(Oe(p),(()=>"left"===de(o)),(t=>{var e=nn(),r=Ae(e);n(r),rn(t,e)}));var g=Pe(Pe(p,!0));Ue(Oe(g),(()=>"right"===de(o)),(t=>{var e=nn(),r=Ae(e);n(r),rn(t,e)})),Ue(Pe(Pe(d,!0)),(()=>de(r)>0&&de(u)>0),(t=>{var n=nn();Ye(Ae(n),65,(()=>e.preparedResults),We,((t,n,r)=>{var i=bO(),s=Oe(i);!function(t,e){let n;_e(e,!0);let r=G(!0),i=G(0),s=G(0);const a=Tt((()=>de(r)?"right":"bottom")),o=t=>{X(r,gt(t))};nt((()=>{0!==de(i)&&X(s,gt(de(i))),n&&!n.setCollapsed&&(n.setCollapsed=o)}));var l=vO(),c=Oe(l);$n(c,(t=>n=t),(()=>n)),c.__change=t=>{const i=0===e.index?1:0,s=n.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.querySelector("#desc_"+i+"_"+e.party.$meta.id+"__"+Pv?.data?.hash);s?s.hasAttribute("checked")?(X(r,!0),s.removeAttribute("checked"),n.parentNode.querySelector(".content").classList.remove("show"),s.parentNode.querySelector(".content").classList.remove("show")):(X(r,!1),s.setAttribute("checked","checked"),n.setAttribute("checked","checked"),n.parentNode.querySelector(".content").classList.add("show"),s.parentNode.querySelector(".content").classList.add("show")):(X(r,!de(r)),de(r)?(n.removeAttribute("checked"),n.parentNode.querySelector(".content").classList.remove("show")):(n.setAttribute("checked","checked"),n.parentNode.querySelector(".content").classList.add("show"))),setTimeout((()=>{Hx.noAnimation=!0}),0),setTimeout((()=>{Hx.noAnimation=!1,o(de(r)),s&&s.setCollapsed(de(r))}),202)};var u=Pe(Pe(c,!0)),h=Oe(u),d=Oe(h);L_(Oe(d),{get direction(){return de(a)}});var f=Oe(Pe(Pe(d,!0))),p=Pe(Pe(u,!0)),g=Oe(p);sn(Oe(g),(()=>e.party.$meta.description));var v=Oe(Pe(Pe(p,!0)));sn(Oe(v),(()=>e.party.$meta.description)),st((()=>{fn(l,"fast",!e.sideBySide),fn(l,"noData",!e.party.$meta.description),pn(l,"--maxHeight",de(s)+"px"),hn(c,"id","desc_"+e.index+"_"+e.party.$meta.id+"__"+Pv?.data?.hash),hn(u,"for","desc_"+e.index+"_"+e.party.$meta.id+"__"+Pv?.data?.hash),Fe(f,e.party.$meta.name)})),An(p,"clientHeight",(t=>X(i,t))),rn(t,l),xe()}(Oe(s),{get party(){return Te(n).pot1},get index(){return e.index},get sideBySide(){return de(a)}});var o=Oe(Pe(Pe(s,!0)));gO(Oe(o),{get data(){return Te(n).pot1},get type(){return e.elements[e.index].type},get radius(){return de(c).rounded10},get radiusUnrounded(){return de(c).rounded1000},height:22,i:Te(r),get placeholderStr(){return e.placeholderStr}}),Ue(Pe(Pe(o,!0)),(()=>de(a)&&0===e.index&&e.elements.length>1),(t=>{var i=yO();gO(Oe(i),{get data(){return Te(n).pot2},get type(){return e.elements[e.index+1].type},get radius(){return de(c).rounded10},get radiusUnrounded(){return de(c).rounded1000},height:22,i:Te(r),get placeholderStr(){return e.placeholderStr}}),rn(t,i)})),rn(t,i)})),rn(t,n)})),st((()=>{fn(h,"isVertical",Hx.isVertical),fn(h,"justOneElement",1===e.elements.length),pn(h,"--leftWidth",Ig.leftWidth||"39%"),pn(h,"--rightWidth",Ig.rightWidth||"59%"),fn(d,"single",!de(a)),fn(d,"hiddenTextLeftOrRight","left"===de(o))})),An(p,"clientWidth",(t=>X(s,t))),An(g,"clientWidth",(t=>X(i,t))),rn(t,h),xe()}var xO=Ze('<div class="switch svelte-jswr9m"><!></div>'),kO=Ze('<div><div class="description svelte-jswr9m"><span class="subline svelte-jswr9m"><!></span> <!></div> <div class="body svelte-jswr9m"><!></div></div>');const SO=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0),Vn(e,"isInCollapsible",3,!1);const n=Tt((()=>e.results.resultsOverall?.listVotes?.results)),r=Tt((()=>e.results.returningResults?.listVotes?.results)),i=Tt((()=>e.results.forecastResults?.listVotes?.results)),s=Tt((()=>oO(e.data?.elections[0]?.resultsOverall?.forecasts,e.elements))),a=Tt((()=>0!==e.index||Hx.isVertical?e.placeholderStr:e.data?.config?.cards[0].elements[1].placeholderStr)),o=Tt((()=>!e.data?.config?.cards[0].elements[e.index].hasData)),l=Tt((()=>{if(!de(n))return!1;return de(n).map((t=>{const n=t.currentSeatsMax?t.currentSeatsMax:!!t.currentSeats&&t.currentSeats,s=e.elements[1].useReturningResults?de(r).find((e=>e.partyId===t.partyId)):!!de(i)&&de(i).find((e=>e.partyId===t.partyId)),a=!!s&&(s.currentSeatsMax?s.currentSeatsMax:!!s.currentSeats&&s.currentSeats),o=!!s&&(!!s.currentSeatsMin&&s.currentSeatsMin),l=!!s&&(s.currentSeatsMax>0&&s.currentSeatsMin>0);return{pot1:{...t,$seatsMax:n,$seatsMin:!!t.currentSeatsMin&&t.currentSeatsMin,$useSeatsMinMax:t.currentSeatsMax>0&&t.currentSeatsMin>0},pot2:(e.elements[1].useReturningResults,{...s,$seatsMax:a,$seatsMin:o,$useSeatsMinMax:l})}}))})),c=Tt((()=>{let t=e.subline.replace(/\{resultType\}/g,ax(e.data?.config?.cards[0].elements[e.index].electionKey,"resultTypes",e.results?.resultsOverall?.type));if(!Hx.isVertical){const n=e.elements[0].useReturningResults?e.results.returningResults:e.results.forecastResults,r=e.elements[1].useReturningResults?e.results.returningResults:e.results.forecastResults,i=e.elements[0].subline.replace(/\{resultType\}/g,ax(e.data?.config?.cards[0].elements[0].electionKey,"resultTypes",n?.type)),s=e.elements[1].subline.replace(/\{resultType\}/g,ax(e.data?.config?.cards[0].elements[1].electionKey,"resultTypes",r?.type));if(e.data?.config?.settings?.combineSublinesOnDesktop)t="<b>"+e.elements[0].title+"</b>&nbsp;"+(i?" ("+i+")":"")+"und&nbsp;<b>"+e.elements[1].title+"</b>&nbsp;"+(s?" ("+s+")":"");else if(e.cardSubline){const i=[...new Set([ax(e.data?.config?.cards[0].elements[0].electionKey,"resultTypes",n?.type),ax(e.data?.config?.cards[0].elements[1].electionKey,"resultTypes",r?.type)])].join("&nbsp;und&nbsp;");t=e.cardSubline.replace(/\{resultType\}/g,i)}else t="<b>"+e.elements[0].title+"</b>&nbsp;und&nbsp;<b>"+e.elements[1].title+"</b>&nbsp;"+(i?" ("+i+")":"")}return t}));let u,h,d=G(0),f=G(0),p=G(0);const g=()=>{de(d)&&(Hx.dimensions[e.index].textHeight=de(d))},v=()=>{de(f)&&(Hx.dimensions[e.index].chartHeight=de(f))};nt((()=>(de(d),clearTimeout(u),u=setTimeout(g,33),de(f),clearTimeout(h),h=setTimeout(v,33),()=>{clearTimeout(h),clearTimeout(u)})));const m=Tt((()=>Hx.isVertical?!e.elements[e.index].useReturningResults:!e.elements[0].useReturningResults||!e.elements[1].useReturningResults));let y=Tt((()=>Hx.dimensions[e.index].textHeight<Hx.maxTextHeight?Hx.maxTextHeight-3+"px":"0px"));var b=kO(),w=Oe(b),_=Oe(w);sn(Oe(_),(()=>de(c))),Ue(Pe(Pe(_,!0)),(()=>de(m)),(t=>{var e=xO();Kx(Oe(e),{electionIndex:0}),An(e,"clientWidth",(t=>X(p,t))),rn(t,e)}));var x=Pe(Pe(w,!0));_O(Oe(x),{get width(){return 0},get elements(){return e.elements},get index(){return e.index},get preparedResults(){return de(l)},get placeholderStr(){return de(a)},get maxSeats(){return de(s)}}),st((()=>{dn(b,`dualCharts el${Ve(e.index)} svelte-jswr9m`),fn(b,"isVertical",Hx.isVertical),fn(w,"isNoData",de(o)),fn(w,"twoCards",Ig.isDual),pn(w,"--switchWidth",de(p)+"px"),pn(w,"--minHeight",de(y))})),An(w,"clientHeight",(t=>X(d,t))),An(x,"clientHeight",(t=>X(f,t))),rn(t,b),xe()}},Symbol.toStringTag,{value:"Module"}));var TO=Ze('<div class="switch svelte-1lfp4ss"><!></div>'),CO=Ze('<div><div class="description svelte-1lfp4ss"><span class="subline svelte-1lfp4ss"><!></span> <!></div> <div class="body svelte-1lfp4ss"><!></div></div>');const MO=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0),Vn(e,"isInCollapsible",3,!1);const n=Tt((()=>e.results.resultsOverall?.listVotes?.results)),r=Tt((()=>e.results.returningResults?.listVotes?.results)),i=Tt((()=>e.useReturningResults?oO(de(r),e.elements):oO(e.data?.elections[0]?.resultsOverall?.forecasts,e.elements))),s=Tt((()=>!e.data?.config?.cards[0].elements[e.index].hasData)),a=Tt((()=>{if(!de(n))return!1;return de(n).map((t=>{const e=t.currentSeatsMax?t.currentSeatsMax:!!t.currentSeats&&t.currentSeats,n={...t,$seatsMax:e,$seatsMin:!!t.currentSeatsMin&&t.currentSeatsMin,$useSeatsMinMax:t.currentSeatsMax>0&&t.currentSeatsMin>0};return{pot1:n,pot2:n}}))})),o=Tt((()=>{const t=e.subline.replace(/\{resultType\}/g,ax(e.data?.config?.cards[0].elements[e.index].electionKey,"resultTypes",e.results?.resultsOverall?.type)),n=e.elements[0].title+"</b>&nbsp;"+(t?" ("+t+")":"");return Hx.isVertical?t:n}));let l,c,u=G(0),h=G(0);const d=()=>{de(u)&&(Hx.dimensions[e.index].textHeight=de(u))},f=()=>{de(h)&&(Hx.dimensions[e.index].chartHeight=de(h))};nt((()=>(de(u),clearTimeout(l),l=setTimeout(d,33),de(h),clearTimeout(c),c=setTimeout(f,33),()=>{clearTimeout(c),clearTimeout(l)})));const p=Tt((()=>Hx.isVertical?!e.elements[e.index].useReturningResults:1===e.elements.length?!e.elements[0].useReturningResults:!e.elements[0].useReturningResults||!e.elements[1].useReturningResults));var g=CO(),v=Oe(g),m=Oe(v);sn(Oe(m),(()=>de(o))),Ue(Pe(Pe(m,!0)),(()=>de(p)),(t=>{var e=TO();Kx(Oe(e),{electionIndex:0}),rn(t,e)}));var y=Pe(Pe(v,!0));_O(Oe(y),{get width(){return 0},get elements(){return e.elements},get index(){return e.index},get preparedResults(){return de(a)},get placeholderStr(){return e.placeholderStr},get maxSeats(){return de(i)}}),st((()=>{dn(g,`dualCharts el${Ve(e.index)} svelte-1lfp4ss`),fn(g,"isVertical",Hx.isVertical),fn(v,"isNoData",de(s)),fn(v,"twoCards",Ig.isDual)})),An(v,"clientHeight",(t=>X(u,t))),An(y,"clientHeight",(t=>X(h,t))),rn(t,g),xe()}},Symbol.toStringTag,{value:"Module"})),RO=Object.freeze(Object.defineProperty({__proto__:null,coalitions:yS,historic_coalitions:TM,historic_turnout:AM,historic_vote_shares:_M,link_analysis:NR,map:dC,map_eu:YC,other_election:zR,results_map:dC,seats:OR,strongholds:oE,table:GE,vote_shares:aS,voter_flows_net:AE,voter_groups:_E,widget_coalitions:aO,widget_dual_seats:SO,widget_dual_vote_shares:SO,widget_seats:XE,widget_single_chart:MO,widget_vote_shares:tO},Symbol.toStringTag,{value:"Module"}));var EO=Ze('<div class="placeholder-container svelte-1l4yvjq"><img alt="" class="placeholder-svg svelte-1l4yvjq"> <div class="placeholder-str svelte-1l4yvjq"> </div></div>');function OO(t,e){_e(e,!0);let n=Vn(e,"isWidget",3,!1),r=Vn(e,"isDual",3,!1),i=Vn(e,"enablePlaceholder",3,!0),s=Vn(e,"onSourceAndStatusChange",3,fx),a=Ln(e,["type","hasData","sourceId","isWidget","isDual","enablePlaceholder","election","elements","onSourceAndStatusChange"]);const o=Tt((()=>{let t={};if(n()){if(t=0===e.election.index?a.useReturningResults?e.election.resultsCollection.returningResults:e.election.resultsCollection.forecasts[Rv.selectedIndex]:a.useReturningResults?e.election.resultsCollection.returningResults:e.election.resultsCollection.forecasts[Ev.selectedIndex],r()){t=a.useReturningResults?e.election.resultsCollection.returningResults:e.election.resultsCollection.forecasts[Rv.selectedIndex];return{resultsOverall:t,returningResults:e.election.resultsCollection.returningResults,forecastResults:e.election.resultsCollection.forecasts[Rv.selectedIndex]}}return"seats"===e.type?{resultsOverall:t,electedMps:e.election.resultsCollection.electedMps}:t}return t=a.useReturningResults?Pv.resultsCollection.returningResults:Pv.resultsCollection.forecasts[Pv.forecastsSelector.selectedIndex],"map"===e.type?Pv.resultsCollection.resultsPerConstituency:"map_eu"===e.type?Pv.resultsCollection.resultsPerCountry:"strongholds"===e.type?Pv.resultsCollection.resultsPerConstituency:"seats"===e.type?{resultsOverall:t,electedMps:Pv.resultsCollection.electedMps}:["historic_vote_shares","historic_coalitions","historic_turnout"].includes(e.type)?{resultsOverall:t,historic:Pv.resultsCollection.historic}:"voter_flows_gross"===e.type?Pv.resultsCollection.voterFlowsGross:"voter_flows_net"===e.type?Pv.resultsCollection.voterFlowsNet:"voter_groups"===e.type?Pv.resultsCollection.voterGroups:"table"===e.type?{resultsOverall:t,resultsOverallComplete:Pv.resultsCollection.resultsOverallComplete}:t}));nt((()=>{if(!de(o))return;let t,n;t=de(o)?.resultsOverall?.source?de(o).resultsOverall.source:de(o).source,de(o)?.resultsOverall?.$timestamp?n=de(o).resultsOverall.$timestamp:de(o)?.$timestamp&&(n=de(o).$timestamp),["historic_vote_shares","historic_coalitions","historic_turnout"].includes(e.type)&&(t&&Pv.resultsCollection.historic.source?t=Array.from(new Set([t,...Pv.resultsCollection.historic.source])):Pv.resultsCollection.historic.source&&(t=Pv.resultsCollection.historic.source),n&&Pv.resultsCollection?.historic?.$timestamp?n=Ws(Array.from(new Set([n,Pv.resultsCollection?.historic?.$timestamp]))):Pv.resultsCollection?.historic?.$timestamp&&(n=Pv.resultsCollection?.historic?.$timestamp)),r()&&(n=de(o).returningResults.$timestamp,n||(n=e.election.resultsCollection?.forecasts[Rv.selectedIndex]?.$timestamp)),s()({sourceId:t,timestamp:n})}));const l=n()?r()?1===e.elements.length?"widget_single_chart":"widget_dual_"+e.type:"widget_"+e.type:e.type;var c=nn();Ue(Ae(c),(()=>!e.hasData&&!n()),(t=>{var n=nn();Ue(Ae(n),i,(t=>{var n=nn();!function(t,e){_e(e,!0),Vn(e,"children",3,void 0);const n=e.placeholderStr?e.placeholderStr.replace(/{constituencyDescription}/g,sx("cardVariables","constituencyDescription")):"",r=Tt((()=>e.data.config.settings)),i=Tt((()=>e.placeholderSvg?e.placeholderSvg.replace("{placeholdersSpecific}",de(r).bucketPaths.placeholdersSpecific).replace("{placeholdersStatic}",de(r).bucketPaths.placeholdersStatic).replace("{basePath}",de(r).bucketPaths.basePath).replace("{electionKey}",e.data.electionKey):""));var s=EO(),a=Oe(s);Oe(Pe(Pe(a,!0))).nodeValue=Ve(n),st((()=>hn(a,"src",de(i)))),rn(t,s),xe()}(Ae(n),Fn(Pv,{get elements(){return e.elements}},(()=>a))),rn(t,n)})),rn(t,n)}),(t=>{var n=nn(),r=Ae(n);on(0,(()=>RO[l].default),(t=>{t(r,Fn(Pv,{get elements(){return e.elements}},(()=>a),{get results(){return de(o)}}))})),rn(t,n)})),rn(t,c),xe()}var AO=Ze("<!> <!>",1);const PO=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);const n=Vn(e,"onstatuschange",3,fx),r=Ln(e,["id","headline","subline","elements","onstatuschange"]);let i=gt([]),s=Tt((()=>lx(i))),a=G(!1),o=Tt((()=>ux(de(a))));nt((()=>{n()({status:de(o)})}));var l=nn(),c=Ae(l),u=Tt((()=>({sources:de(s),status:de(o)})));Ix(c,{get id(){return e.id},get header(){return e.headline},get footer(){return de(u)},get hasData(){return r.hasData},get hash(){return r.hash},get navi(){return r.navi},children:(t,n)=>{var s=nn();Ue(Ae(s),(()=>e.elements?.length>0),(t=>{var n=nn();Ye(Ae(n),65,(()=>e.elements),We,((t,n,s)=>{var o=AO(),l=Ae(o);OO(l,Fn((()=>Te(n)),(()=>r),{enablePlaceholder:0===Te(s),onSourceAndStatusChange:({sourceId:t,timestamp:e})=>{i[Te(s)]=t,X(a,gt(e))}})),Ue(Pe(Pe(l,!0)),(()=>Te(s)<e.elements.length-1&&r.hasData),(t=>{var e=nn();jT(Ae(e)),rn(t,e)})),rn(t,o)})),rn(t,n)}),(t=>{var e=nn();OO(Ae(e),Fn((()=>r))),rn(t,e)})),rn(t,s)},$$slots:{default:!0}}),rn(t,l),xe()}},Symbol.toStringTag,{value:"Module"}));var $O=Ze('<div class="subline svelte-7u6zvk"><!></div>'),IO=Ze("<!> <!>",1),DO=Ze("<!> <!>",1);const NO=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);const n=Vn(e,"onstatuschange",3,fx),r=Ln(e,["id","headline","subline","elements","hasData","onstatuschange"]);let i=gt([]),s=Tt((()=>lx(i))),a=G(!1),o=Tt((()=>ux(de(a))));const l=Tt((()=>Pv.config.settings));nt((()=>{n()({status:de(o)})}));var c=nn(),u=Ae(c),h=Tt((()=>({sources:de(s),status:de(o)})));Ix(u,{get id(){return e.id},get header(){return e.headline},get footer(){return de(h)},get hasData(){return e.hasData},get hash(){return r.hash},get navi(){return r.navi},children:(t,n)=>{var s=DO(),o=Ae(s);Ue(o,(()=>e.hasData),(t=>{var n=$O();sn(Oe(n),(()=>e.subline.replace("{currentElectionYear}",de(l).$dateCurrentYear))),st((()=>fn(n,"article","article"===Ig.type))),rn(t,n)})),Ue(Pe(Pe(o,!0)),(()=>e.elements?.length>0),(t=>{var n=nn();Ye(Ae(n),65,(()=>e.elements),We,((t,n,r)=>{let s=()=>Te(Te(n)).type,o=()=>Te(Te(n)).key,l=()=>we(Te(Te(n)),["type","key","title"]);var c=IO(),u=Ae(c),h=Tt((()=>s()+o())),d=Tt((()=>Te(r)===e.elements.length-1));RT(u,{get type(){return de(h)},get title(){return Te(Te(n)).title},get subline(){return e.subline},collapsed:Te(r)>0,get nrItems(){return e.elements.length},get lastItem(){return de(d)},tracking:!0,children:(t,n)=>{var c=nn();OO(Ae(c),Fn({get type(){return s()},get key(){return o()},get hasData(){return e.hasData}},l,{enablePlaceholder:0===Te(r),onSourceAndStatusChange:({sourceId:t,timestamp:e})=>{void 0!==Te(r)&&(i[Te(r)]=t,X(a,gt(e)))}})),rn(t,c)},$$slots:{default:!0}}),Ue(Pe(Pe(u,!0)),(()=>Te(r)<e.elements.length-1&&l().hasData),(t=>{var e=nn();jT(Ae(e)),rn(t,e)})),rn(t,c)})),rn(t,n)}),(t=>{var n=nn();OO(Ae(n),Fn({get hasData(){return e.hasData}},(()=>r))),rn(t,n)})),rn(t,s)},$$slots:{default:!0}}),rn(t,c),xe()}},Symbol.toStringTag,{value:"Module"}));var LO=Ze('<div class="card svelte-4bikkm"><div class="header-and-body-wrapper svelte-4bikkm"><div><!></div></div> <div class="footer-wrapper svelte-4bikkm"></div></div>');var HO=Ze('<div class="horizontal-separator svelte-1nawq08"><!></div>'),FO=Ze("<!> <!>",1);const VO=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);let n=gt([]),r=Tt((()=>lx(n))),i=G(!1),s=Tt((()=>ux(de(i)))),a=e.elements.length%2==0;var o=nn(),l=Ae(o),c=Tt((()=>({sources:de(r),status:de(s)})));!function(t,e){_e(e,!0);const n=Vn(e,"children",3,void 0),r=Tt((()=>!0===e.order?"element-order":""));var i=LO(),s=Oe(i),a=Oe(s);an(n,Oe(a)),st((()=>{hn(i,"id",`card-${Ve(e.id)}`),dn(a,`body-wrapper ${Ve(de(r))} svelte-4bikkm`)})),rn(t,i),xe()}(l,{get id(){return e.id},get header(){return e.headline},get footer(){return de(c)},get order(){return a},get hasData(){return e.hasData},children:(t,r)=>{var s=nn();Ye(Ae(s),65,(()=>e.elements),We,((t,r,s)=>{var a=FO(),o=Ae(a);OO(o,Fn((()=>Te(r)),{get hasData(){return e.hasData},onSourceAndStatusChange:({sourceId:t,timestamp:e})=>{n[Te(s)]=t,X(i,gt(e))}})),Ue(Pe(Pe(o,!0)),(()=>Te(s)<e.elements.length-1),(t=>{var e=HO();jT(Oe(e)),rn(t,e)})),rn(t,a)})),rn(t,s)},$$slots:{default:!0}}),rn(t,o),xe()}},Symbol.toStringTag,{value:"Module"}));var zO=Ze("<!><!>",1),jO=Ze("<span><!></span>"),UO=Ze("<span><!></span>"),BO=Ze('<div class="svelte-9kolkt"><!> <!></div>');function qO(t,e){_e(e,!0);let n=Vn(e,"data",3,void 0),r=Vn(e,"small",3,!1),i=Vn(e,"turnoutExists",7);const s=Tt((()=>n()?.config?.cards)),a=Tt((()=>{if(!de(s))return!1;let t="";return de(s).forEach((e=>{e.elements.forEach((e=>{e.turnoutStr&&(t=e.turnoutStr)}))})),t})),o=Tt((()=>{if(!de(s))return!1;let t=!1;return de(s).forEach((e=>{e.elements.forEach((e=>{e.useReturningResults&&(t=!0)}))})),t})),l=Tt((()=>n()?.elections[0]?.resultsCollection?.returningResults)),c=Tt((()=>{if(!(de(s)&&de(o)&&de(a)&&de(l)))return!1;let t=de(l)?.additionalInformation?.currentTurnout;if(!t)return!1;const e=zg(t,1);return de(a).replace("{turnout}",e.str)}));nt((()=>{de(c)&&!/^\s+$/.test(de(c))||n()?.config?.cards[0]?.elements[0]?.majorityStr?i(!0):i(!1)}));let u=G(0);var h=nn();Ue(Ae(h),(()=>de(c)&&!/^\s+$/.test(de(c))||n()?.config?.cards[0]?.elements[0]?.majorityStr),(t=>{var e=BO(),i=Oe(e);Ue(i,(()=>n()?.config?.cards[0]?.elements[0]?.majorityStr),(t=>{var e=jO();Ue(Oe(e),(()=>de(c)&&!/^\s+$/.test(de(c))),(t=>{var e=zO(),r=Ae(e);sn(r,(()=>n()?.config?.cards[0]?.elements[0]?.majorityStr)),sn(Pe(r),(()=>de(u)<330?"<br>":",")),rn(t,e)}),(t=>{var e=nn();sn(Ae(e),(()=>n()?.config?.cards[0]?.elements[0]?.majorityStr)),rn(t,e)})),rn(t,e)})),Ue(Pe(Pe(i,!0)),(()=>de(c)&&!/^\s+$/.test(de(c))),(t=>{var e=UO();sn(Oe(e),(()=>de(c))),rn(t,e)})),st((()=>{fn(e,"small",r()),fn(e,"morePadding",Hx.isVertical)})),An(e,"clientWidth",(t=>X(u,t))),rn(t,e)})),rn(t,h),xe()}var WO=(t,e,n)=>{e()(n(),t)},YO=Ze('<div class="noDataStr svelte-1uzfzng"> </div>'),GO=Ze('<div class="tab_inner svelte-1uzfzng"><div class="title svelte-1uzfzng"> </div> <div class="content svelte-1uzfzng"><!></div> <!> <div class="source svelte-1uzfzng"><div><!> <!></div> <!></div></div> <div class="shadow svelte-1uzfzng"></div>',1);function KO(t,e){_e(e,!0);const n=Vn(e,"children",3,void 0),r=Vn(e,"title",3,""),i=Vn(e,"index",3,0),s=Vn(e,"twoCards",3,!1),a=Vn(e,"last",3,!1),o=Vn(e,"first",3,!1),l=Vn(e,"isNoData",3,!1),c=Vn(e,"someData",3,!1),u=Vn(e,"onClick",3,(()=>{})),h=Tt((()=>Pv?.config?.cards[0].elements[i()].placeholderStr));let d=Tt((()=>{if(e.sources)return de(f)?e.sources:e.sources+"; "+e.status}));const f=Tt((()=>!Hx.isTwoThirds&&(Ig.widgetBindFast?de(v):de(m))<30));let p,g,v=G(0),m=G(0),y=G(0);const b=()=>{de(v)&&X(m,gt(de(v)))},w=()=>{de(y)&&(Hx.dimensions[i()].cardHeight=de(y))};let _;nt((()=>(de(v),clearTimeout(p),p=setTimeout(b,33),de(y),clearTimeout(p),g=setTimeout(w,0),de(x),de(k),T(),()=>{clearTimeout(p),clearTimeout(g),clearTimeout(_)})));let x=G(0),k=G(0);const S=()=>{de(x)&&(Hx.titleHeight=de(x),1===i()&&(Hx.titleWidth=de(k)))},T=()=>{clearTimeout(_),_=setTimeout(S,33)};var C=GO(),M=Ae(C);M.__click=[WO,u,i];var R=Oe(M),E=Oe(R),O=Pe(Pe(R,!0));an(n,Oe(O));var A=Pe(Pe(O,!0));Ue(A,(()=>c()&&0!==i()&&!s()),(t=>{var e=YO(),n=Oe(e);st((()=>Fe(n,de(h)))),rn(t,e)}));var P=Oe(Pe(Pe(A,!0))),$=Oe(P);Ue($,(()=>Ig.isDual),(t=>{var e=nn(),n=Ae(e),r=Tt((()=>!Ig.isDual&&!Ig.largeCredit));qO(n,{data:Pv,get small(){return de(r)}}),rn(t,e)}));var I=Pe(Pe($,!0)),D=Tt((()=>!Ig.isDual&&!Ig.largeCredit));Ex(I,{get sources(){return de(d)},get small(){return de(D)}}),Ue(Pe(Pe(P,!0)),(()=>de(f)),(t=>{var n=nn(),r=Ae(n),i=Tt((()=>!Ig.isDual&&!Ig.largeCredit));Ax(r,{get status(){return e.status},get small(){return de(i)}}),rn(t,n)}));var N=Pe(Pe(M,!0));st((()=>{fn(M,"active",Hx.activeIndex===i()),fn(M,"first",o()),fn(M,"isHorizontal",!Hx.isVertical),fn(M,"isNoData",l()),fn(M,"isVertical",Hx.isVertical),fn(M,"last",a()),fn(M,"twoCards",s()),Fe(E,r()),fn(N,"first",o()),fn(N,"isVertical",Hx.isVertical)})),An(M,"clientHeight",(t=>X(y,t))),An(R,"clientHeight",(t=>X(x,t))),An(R,"clientWidth",(t=>X(k,t))),An(P,"clientHeight",(t=>X(v,t))),rn(t,C),xe()}Ie(["click"]);var XO=Ze('<button class="svelte-mzlt49"><span class="svelte-mzlt49"> </span></button>');function QO(t,e){let n=Vn(e,"type",3,"primary");var r=XO();r.__click=function(...t){const n=e.onclick;return n?.apply(this,t)};var i=Oe(r),s=Oe(i);st((()=>{fn(r,"primary","primary"===n()),fn(r,"secondary","secondary"===n()),Fe(s,e.text)})),rn(t,r)}Ie(["click"]);var JO=Ze('<a target="_top" class="svelte-76s4jo"><!></a>'),ZO=Ze('<a target="_top" class="svelte-76s4jo"><!></a>'),tA=Ze("<!> <!>",1),eA=Ze('<div class="source svelte-76s4jo"><div><!> <!></div> <!></div>'),nA=Ze('<div class="footer svelte-76s4jo"><div class="buttons svelte-76s4jo"><!></div></div> <!>',1);function rA(t,e){_e(e,!0);const n=Vn(e,"twoCards",3,!1);let r=Tt((()=>e.data?.config?.cards[0]?.primaryButton)),i=Tt((()=>e.data?.config?.cards[0]?.secondaryButton)),s=G(!1);let a,o=G(0),l=G(0),c=Tt((()=>{if(e.sources)return de(u)?e.sources:e.sources+"; "+e.status}));const u=Tt((()=>!(Ig.turnout&&n()&&Ig.isDual)&&(!Hx.isTwoThirds&&(Ig.widgetBindFast?de(o):de(l))<30))),h=()=>{de(o)&&X(l,gt(de(o)))};nt((()=>(de(o),clearTimeout(a),a=setTimeout(h,3),()=>{clearTimeout(a)})));const d=Tt((()=>Hx.isButton?Ig.turnout&&de(s)&&n()&&Ig.isDual&&!Hx.isVertical?de(o)>37?0:12:e.data?.cards[0].elements.length<=2&&!de(s)&&Ig.isDual&&!Hx.isVertical&&de(o)<20?13:0:e.data?.cards[0].elements.length<=2&&!de(s)&&Ig.isDual&&!Hx.isVertical?-10:0));var f=nA(),p=Ae(f),g=Oe(p);Ue(Oe(g),(()=>Hx.isButton),(t=>{var e=tA(),n=Ae(e);Ue(n,(()=>de(r)&&de(r).url),(t=>{var e=JO();QO(Oe(e),{get text(){return de(r).label},type:"primary",onclick:()=>location.href=de(r).url}),st((()=>hn(e,"href",de(r).url))),rn(t,e)})),Ue(Pe(Pe(n,!0)),(()=>de(i)&&de(i).url),(t=>{var e=ZO();QO(Oe(e),{get text(){return de(i).label},type:"secondary",onclick:()=>location.href=de(i).url}),st((()=>hn(e,"href",de(i).url))),rn(t,e)})),rn(t,e)})),Ue(Pe(Pe(p,!0)),(()=>!Hx.isVertical&&de(c)),(t=>{var r=eA(),i=Oe(r),a=Oe(i);Ue(a,(()=>Ig.isDual&&Ig.turnout),(t=>{var n=nn(),r=Ae(n),i=Tt((()=>!Ig.isDual&&!Ig.largeCredit));qO(r,{get data(){return e.data},get small(){return de(i)},get turnoutExists(){return de(s)},set turnoutExists(t){X(s,gt(t))}}),rn(t,n)}));var l=Pe(Pe(a,!0)),h=Tt((()=>!Ig.isDual&&!Ig.largeCredit));Ex(l,{get sources(){return de(c)},get small(){return de(h)}}),Ue(Pe(Pe(i,!0)),(()=>de(u)),(t=>{var n=nn(),r=Ae(n),i=Tt((()=>!Ig.isDual&&!Ig.largeCredit));Ax(r,{get status(){return e.status},get small(){return de(i)}}),rn(t,n)})),st((()=>{fn(r,"inline",!Hx.isTwoThirds),fn(r,"twoCards",n()),fn(r,"noButtons",!Hx.isButton),fn(r,"turnoutExists",de(s)),fn(r,"singleCard",1===e.data?.cards[0].elements.length),fn(r,"threeRows",0===de(d)&&de(o)>50),fn(r,"noButtons",!Hx.isButton),pn(r,"--paddingBottom",de(d)+"px")})),An(i,"clientHeight",(t=>X(o,t))),rn(t,r)})),st((()=>{fn(p,"isVertical",Hx.isVertical),fn(p,"isTwoThirds",Hx.isTwoThirds),fn(p,"twoCards",n()),fn(p,"noButtons",!Hx.isButton),fn(p,"isNoSource",!de(c)),fn(p,"singleCard",1===e.data?.cards[0].elements.length),fn(p,"isNoData",e.isNoData)})),rn(t,f),xe()}var iA=Ze('<div class="separator svelte-el720n"></div>');function sA(t){rn(t,iA())}var aA=tn('<svg width="11" height="11" viewBox="0 0 11 11" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-1m3qgib"><path d="M9.10547 5.09521C9.10547 2.92275 7.34434 1.16162 5.17188 1.16162C2.99941 1.16162 1.23828 2.92275 1.23828 5.09521C1.23828 7.26768 2.99941 9.02881 5.17188 9.02881C6.18203 9.02881 7.10324 8.64804 7.79983 8.02221" class="svelte-1m3qgib"></path></svg>');function oA(t,e){let n=Vn(e,"isDual",3,!1);var r=aA();st((()=>fn(r,"isDual",n()))),rn(t,r)}var lA=Ze("<!> <!> <!>",1),cA=Ze("<!> <!>",1),uA=Ze('<div class="sep hori svelte-8ajsop"><!></div>'),hA=Ze('<div class="sep twoThirds svelte-8ajsop"><!></div>'),dA=Ze('<div class="sep svelte-8ajsop"><!></div>'),fA=Ze('<div class="tab svelte-8ajsop"><!></div> <!>',1),pA=Ze('<div class="noDataText svelte-8ajsop"><!></div>'),gA=Ze('<div class="cont svelte-8ajsop"><div class="title svelte-8ajsop"><!></div> <div class="widget svelte-8ajsop"></div> <!> <!></div>');const vA=Object.freeze(Object.defineProperty({__proto__:null,default:function(t,e){_e(e,!0);let n=gt([]),r=gt([]),i=Tt((()=>function(t,e){const n=t.flat().filter((t=>t));if(!n||!n.length)return"";const r=e.flat().filter((t=>t));let i=[];n.forEach(((t,e)=>{i.push(ox.translate(r[e],"sources",t))}));const s=[...new Set(i)];return(1===s.length?"Quelle: ":"Quellen: ")+s.join(", ")}(n,r))),s=G(!1),a=Tt((()=>ux(de(s))||"")),o=gt([]),l=G(!1);const c=Tt((()=>Pv?.config?.settings?.isLive)),u=Tt((()=>Pv?.config?.liveStr)),h=Tt((()=>{const t=Pv?.config?.cards[0].elements[0].hasData,e=Pv?.config?.cards[0].elements.length>1&&Pv?.config?.cards[0].elements[1].hasData,n=Pv?.config?.cards[0].elements.length>2&&Pv?.config?.cards[0].elements[2].hasData;return!t&&!e&&!n})),d=Tt((()=>{const t=Pv?.config?.cards[0].elements[0].hasData,e=!(Pv?.config?.cards[0].elements.length>1)||Pv?.config?.cards[0].elements[1].hasData,n=!(Pv?.config?.cards[0].elements.length>2)||Pv?.config?.cards[0].elements[2].hasData;return t&&(!e||!n)})),f=Tt((()=>Ig.isDual?de(d)?Pv?.config?.cards[0].elements[0].placeholderStr:Pv?.config?.placeholderStr:Pv?.config?.cards[0].elements[0].placeholderStr));let p=Tt((()=>({widgetMaxWidth:Math.abs(Hx.width)+"px",widgetMaxHeight:Hx.maxWidgetHeight+"px",widgetItemWidth:Math.abs(Hx.width/e.elements.length-6/e.elements.length)+"px",widgetPaddingMinus:(Ig.widgetPaddingMinus||0)+"px"}))),g=Tt((()=>{if(de(h))return[0,-4,20-Hx.maxCardHeight];let t;return t=0===Hx.activeIndex?[0,-4,-Hx.maxCardHeight]:1===Hx.activeIndex?[0,-Hx.maxCardHeight,-Hx.maxCardHeight]:[0,-Hx.maxCardHeight,2*-Hx.maxCardHeight],t}));const v=(t,e)=>{t!==Hx.activeIndex&&(e.target.classList.contains("title")||e.target.classList.contains("tab_inner"))&&!de(h)&&e.target&&(Hx.activeIndex=t)};let m;nt((()=>{Ig.turnout=e.elements.length<=2,(Ig.isDual||Ig.data.indexOf("euw_2024")>=0)&&(Ig.widgetHeightIndex=1===e.elements.length?0:(e.elements.length,1)),Ig.isDual&&1===e.elements.length&&(Ig.leftWidth="100%",Ig.rightWidth="0%"),de(h)&&e.elements.length>2?(m||(m=Ig.widgetHeightIndex),Ig.widgetHeightIndex=1):Hx.widgetHeightIndex=m,Hx.twoCards=e.elements.length<=2,Ig.widgetStartTab&&!de(h)&&(Hx.activeIndex=Ig.widgetStartTab),setTimeout((()=>{X(l,!0)}),303),Hx.maxWidgetHeight,Hx.maxCardHeight}));var y=gA(),b=Oe(y);Ue(Oe(b),(()=>Ig.isDual),(t=>{var e=nn();Ue(Ae(e),(()=>de(u)&&de(c)),(t=>{var e=lA(),n=Ae(e);sn(n,(()=>de(u)));var r=Pe(Pe(n,!0));oA(r,{get isDual(){return Ig.isDual}}),sn(Pe(Pe(r,!0)),(()=>Pv?.config?.headline)),rn(t,e)}),(t=>{var e=nn();sn(Ae(e),(()=>Pv?.config?.headline)),rn(t,e)})),rn(t,e)}),(t=>{var e=cA(),n=Ae(e);sn(n,(()=>Pv?.config?.headline)),Ue(Pe(Pe(n,!0)),(()=>de(c)),(t=>{var e=nn();oA(Ae(e),{}),rn(t,e)})),rn(t,e)}));var w=Pe(Pe(b,!0));Ye(w,73,(()=>e.elements),We,((t,c,u)=>{let f=()=>Te(Te(c)).type,p=()=>Te(Te(c)).key,m=()=>Te(Te(c)).electionKey,y=()=>we(Te(Te(c)),["type","key","title","electionKey"]);var b=fA();const w=Tt((()=>Pv.elections.find((t=>t.electionKey===m()))));var _=Ae(b);pn(_,"z-index",Te(u));var x=Oe(_),k=Tt((()=>f()+p())),S=Tt((()=>Te(u)===e.elements.length-1)),T=Tt((()=>e.elements.length<=2));KO(x,{onClick:v,get sources(){return de(i)},get status(){return de(a)},get isNoData(){return de(h)},get someData(){return de(d)},index:Te(u),get title(){return Te(Te(c)).title},get type(){return de(k)},first:0===Te(u),get last(){return de(S)},get twoCards(){return de(T)},children:(t,i)=>{var a=nn();OO(Ae(a),Fn({get key(){return p()},get type(){return f()},index:Te(u)},y,{get cardSubline(){return e.subline},get election(){return de(w)},isWidget:!0,onSourceAndStatusChange:({sourceId:t,timestamp:e})=>{n[Te(u)]=t,r[Te(u)]=m(),e&&X(s,gt(e))},get isDual(){return Ig.isDual},get elements(){return e.elements}})),rn(t,a)},$$slots:{default:!0}}),Ue(Pe(Pe(_,!0)),(()=>Hx.isTwoThirds&&Te(u)<e.elements.length-1),(t=>{var e=nn();Ue(Ae(e),(()=>0===Te(u)),(t=>{var e=uA();jT(Oe(e)),rn(t,e)}),(t=>{var e=hA();sA(Oe(e)),st((()=>pn(e,"height",Hx.maxChartHeight+55+"px"))),rn(t,e)})),rn(t,e)}),(t=>{var n=nn();Ue(Ae(n),(()=>!Hx.isVertical&&Te(u)<e.elements.length-1&&2!==e.elements.length),(t=>{var e=dA();sA(Oe(e)),rn(t,e)}),null,!0),rn(t,n)})),st((()=>{fn(_,"ani",de(l)&&!Hx.noAnimation),pn(_,"transform",`translateY(${de(g)[Te(u)]}px)`)})),An(_,"clientHeight",(t=>o[Te(u)]=t)),rn(t,b)}));var _=Pe(Pe(w,!0)),x=Tt((()=>e.elements.length<=2));rA(_,{get sources(){return de(i)},get status(){return de(a)},data:Pv,get isNoData(){return de(h)},get twoCards(){return de(x)}}),Ue(Pe(Pe(_,!0)),(()=>de(h)),(t=>{var e=pA();sn(Oe(e),(()=>de(f))),st((()=>{fn(e,"large",!Hx.isTwoThirds&&!Hx.isVertical),fn(e,"twoThirds",Hx.isTwoThirds)})),rn(t,e)})),st((()=>{fn(y,"twoThirds",Hx.isTwoThirds),fn(y,"twoCards",e.elements.length<=2),fn(w,"isVertical",Hx.isVertical),fn(w,"isHorizontal",!Hx.isVertical),fn(w,"noData",de(h)),fn(w,"noButtons",!Hx.isButton)})),An(y,"clientWidth",(t=>Hx.width=t)),ln(w,((t,e)=>Qx(t,e)),(()=>de(p))),rn(t,y),xe()}},Symbol.toStringTag,{value:"Module"})),mA=Object.freeze(Object.defineProperty({__proto__:null,collapsible:NO,link_box:VO,standard:PO,widget:vA},Symbol.toStringTag,{value:"Module"}));var yA=Ze("<!> <!>",1),bA=Ze('<div class="footer svelte-2je7l6"><!> <!></div>'),wA=Ze('<!> <!> <main class="svelte-2je7l6"><!> <div class="components-wrapper svelte-2je7l6"><!> <!></div> <!></main>',1);const _A=((t={})=>document.currentScript||(()=>{const e=(t.url||"").replace(/^.+?(\/src\/.+?.js)+?/,"$1");return document.querySelector("script[src='"+e+"']")})())();!function(t,n){const r=n.anchor??n.target.appendChild(Ee());he((()=>function(t,{target:n,anchor:r,props:i={},events:s,context:a,intro:o=!1}){!function(){if(void 0===Me){Me=window,Re=document;var t=Element.prototype;t.__click=void 0,t.__className="",t.__attributes=null,t.__e=void 0,Text.prototype.__nodeValue=" "}}();const l=new Set,c=De.bind(null,n),u=De.bind(null,document),h=t=>{for(let e=0;e<t.length;e++){const r=t[e];l.has(r)||(l.add(r),n.addEventListener(r,c,Y.includes(r)?{passive:!0}:void 0),document.addEventListener(r,u,Y.includes(r)?{passive:!0}:void 0))}};let d;h(e(Ne)),Le.add(h);const f=function(t){const e=et(g,t,!0);return()=>{ct(e)}}((()=>(ot((()=>{a&&(_e({}),Xt.c=a);s&&(i.$$events=s),He=o,d=t(r,i)||{},He=!0,a&&xe()})),()=>{for(const t of l)n.removeEventListener(t,c);Le.delete(h),ze.delete(d)})));return ze.set(d,f),d}(t,{...n,anchor:r})),!1)}((function(t,e){_e(e,!0);const n=new $v;let r=G(void 0),i=G(!0),s=Tt((()=>Pv?.cards[0]?.source?.indexOf(",")>=0?"Quellen: "+Pv?.cards[0]?.source:"Quelle: "+Pv?.cards[0]?.source)),a=G(void 0),o=G(void 0);function l(){"article"===Ig.type&&de(o)&&(cv.contentTop=de(o).getBoundingClientRect().top,cv.contentLeft=de(o).getBoundingClientRect().left)}nt((()=>{const{useWebsockets:t=!1,pollingFrequency:e=Ig.interval,cacheAge:r=0}=Pv.config.settings||{};n.cacheAge=1e3*r,t?n.enableWebsockets():n.disableWebsockets(),n.resetInterval(1e3*e)})),setTimeout(l,1e3);var c=wA();$e("scroll",Me,(function(){X(i,window.scrollY<de(r)),l()}),!1),$e("resize",Me,l,!1);var u=Ae(c);Ue(u,(()=>Ig.iframe),(t=>{var e=nn();Ae(e);!function(t,e){if(_e(e,!1),Ig.iframe){const t=document.querySelector("body");t.style.margin="1px",t.style.padding=0;let e=document.createElement("script");e.src="//interactive.spiegel.de/int/pub/common/js/embedbridge/embedbridge.v0.js",t.append(e);let n=document.createElement("style");n.rel="stylesheet",n.type="text/css",n.href="//interactive.spiegel.de/gra/common/css/grafik.base.v0.css",n.innerHTML='@font-face{\n font-family:\'SpiegelSlabCdUI\';\n font-weight:800;\n font-display: swap;\n src:url("https://cdn.prod.www.spiegel.de/public/shared/fonts/SpiegelSlab4UICd-ExtraBold.woff2") format("woff2"),\n url("https://cdn.prod.www.spiegel.de/public/shared/fonts/SpiegelSlab4UICd-ExtraBold.woff") format("woff")\n}\n\n@font-face {\n font-family:\'SpiegelSansUI\';\n font-weight:400;\n font-display: swap;\n src:url("https://cdn.prod.www.spiegel.de/public/shared/fonts/SpiegelSans4UI-Regular.woff2") format("woff2"),\n url("https://cdn.prod.www.spiegel.de/public/shared/fonts/SpiegelSans4UI-Regular.woff") format("woff")}\n\n@media (prefers-color-scheme: dark) {\n body {\n background-color: #1f1e1c;\n }\n}\n\n@font-face {\n font-family:\'SpiegelSansUI\';\n font-weight:700;\n font-display: swap;\n src:url("https://cdn.prod.www.spiegel.de/public/shared/fonts/SpiegelSans4UI-Bold.woff2") format("woff2"),\n url("https://cdn.prod.www.spiegel.de/public/shared/fonts/SpiegelSans4UI-Bold.woff") format("woff")\n}',t.append(n);const r=()=>{window.EmbedBridge?window.EmbedBridge({autoResize:!0}).resize():setTimeout(r,666)};setTimeout(r,333)}In(),xe()}(0,{}),rn(t,e)}));var h=Pe(Pe(u,!0));Dv(h,{});var d=Pe(Pe(h,!0));$n(d,(t=>X(o,gt(t))),(()=>de(o)));var f=Oe(d);Ue(f,(()=>"article"!==Ig.type&&de(i)),(t=>{var e=yA(),n=Ae(e);G_(n,{}),ix(Pe(Pe(n,!0)),{get data(){return Pv.config.settings}}),rn(t,e)}));var p=Pe(Pe(f,!0)),g=Oe(p);Ye(g,65,(()=>Pv.cards),We,((t,e,n)=>{var r=nn();!function(t,e){_e(e,!0);const n=Ln(e,["type"]),r=Tt((()=>mA[e.type]?.default));var i=nn();Ue(Ae(i),(()=>de(r)),(t=>{var e=nn(),i=Ae(e);on(0,(()=>de(r)),(t=>{t(i,Fn((()=>n)))})),rn(t,e)})),rn(t,i),xe()}(Ae(r),Fn((()=>Te(e)),{onstatuschange:t=>X(a,gt(t.status))})),rn(t,r)})),Ue(Pe(Pe(g,!0)),(()=>"article"===Ig.type),(t=>{var e=bA(),n=Oe(e);Ex(n,{get sources(){return de(s)}}),Ax(Pe(Pe(n,!0)),{get status(){return de(a)}}),rn(t,e)})),function(t,e){_e(e,!0);let n=G(void 0),r=G(void 0),i=Tt((()=>SS.mousePosition.x)),s=Tt((()=>SS.mousePosition.y-cv.headerHeight)),a=Tt((()=>"article"===Ig.type?cv.contentTop+150:0)),o=Tt((()=>"article"===Ig.type?cv.contentLeft+66:12)),l=Tt((()=>"article"!==Ig.type?de(s)+de(a)<0?0:de(s)+de(a)+de(r)>cv.visualHeight+cv.scrollY-cv.headerHeight?de(s)-de(r)-de(a):de(s)+de(a):de(a))),c=Tt((()=>"article"!==Ig.type?de(i)+de(o)<0?0:de(i)+de(o)+de(n)>cv.visualWidth?cv.visualWidth-de(n):de(i)+de(o):de(o)));var u=nn();Ue(Ae(u),(()=>SS.show&&!cv.device.isTouch),(t=>{var e=cR(),i=Oe(e),s=Oe(i);Ue(Oe(Pe(Pe(s,!0))),(()=>SS.item),(t=>{var e=nn();an((()=>SS.item),Ae(e)),rn(t,e)})),st((()=>{fn(e,"article","article"===Ig.type),pn(e,"top",`${Ve(de(l))}px`),pn(e,"left",`${Ve(de(c))}px`)})),An(e,"clientWidth",(t=>X(n,t))),An(e,"clientHeight",(t=>X(r,t))),rn(t,e)})),rn(t,u),xe()}(Pe(Pe(p,!0)),{}),st((()=>{fn(d,"article","article"===Ig.type),fn(p,"more-margin",cv.device.isApp),pn(p,"--margin-top",`${Ve(cv.headerHeight)}px`)})),An(d,"clientHeight",(t=>X(r,t))),ln(p,(t=>function(t){cv.viewRoot=t}(t))),rn(t,c),xe()}),{target:_A.previousElementSibling}); })()</script></div> </div> </div> </div> <script>if (typeof(Event) === 'function') {window.dispatchEvent(new Event('POLYGON_DOM_LARGEST_CONTENTFUL_PAINT_READY'));}</script> </div> </div> <div class="absolute top-0 bottom-0 left-0 right-0 pointer-events-none"> <div class="absolute left-0 right-0 bottom-0"> <div class="relative w-full mx-auto sm:max-w-sm md:max-w-md lg:max-w-lg lg:px-8 lg:pb-48 md:pb-48 sm:pb-32"> <div class="lg:w-10/12 md:w-10/12 lg:mx-auto md:mx-auto lg:px-24 md:px-24 sm:px-16 text-center text-white text-shadow-sm dark:text-shade-lightest"> <h2 class="mb-24"> <span class="font-brandUI font-extrabold lg:text-8xl md:text-5xl sm:text-4xl leading-tight"> </span> </h2> </div> </div> </div> </div> </div> </div> <div class="relative pb-24 bg-white dark:bg-dm-shade-darkest"> <div class="w-full mx-auto sm:max-w-sm md:max-w-md lg:max-w-lg lg:px-8"> <div class="lg:w-10/12 md:w-10/12 lg:mx-auto md:mx-auto lg:px-24 md:px-24 sm:px-16 text-center flex flex-col"> <div class="font-sansUI lg:text-base md:text-base sm:text-s text-shade-dark dark:text-shade-light sm:mt-32 md:mt-48 lg:mt-48"> <span class="block mb-4"> Von <a class="text-black dark:text-shade-lightest font-bold border-b border-shade-light hover:border-black dark:hover:border-white" href="https://www.spiegel.de/impressum/autor-a717122a-d118-46f0-b4dc-8b48b56fd2a7" target="_self" title="Max Heber"> Max Heber</a><span>, </span> <a class="text-black dark:text-shade-lightest font-bold border-b border-shade-light hover:border-black dark:hover:border-white" href="https://www.spiegel.de/impressum/autor-fd795d58-0001-0003-0000-000000015762" target="_self" title="Chris Kurt"> Chris Kurt</a><span>, </span> <a class="text-black dark:text-shade-lightest font-bold border-b border-shade-light hover:border-black dark:hover:border-white" href="https://www.spiegel.de/impressum/autor-bd770b61-0001-0003-0000-000000020442" target="_self" title="Dawood Ohdah"> Dawood Ohdah</a><span>, </span> <a class="text-black dark:text-shade-lightest font-bold border-b border-shade-light hover:border-black dark:hover:border-white" href="https://www.spiegel.de/impressum/autor-5fe068b7-62a0-4035-9f5a-de562cb18dfb" target="_self" title="Matthias Stahl"> Matthias Stahl</a><span>, </span> <a class="text-black dark:text-shade-lightest font-bold border-b border-shade-light hover:border-black dark:hover:border-white" href="https://www.spiegel.de/impressum/autor-3715af49-0001-0003-0000-000000020400" target="_self" title="Marcel Pauly"> Marcel Pauly</a><span> und </span> <a class="text-black dark:text-shade-lightest font-bold border-b border-shade-light hover:border-black dark:hover:border-white" href="https://www.spiegel.de/impressum/autor-0024f2af-7c1e-46f9-a460-255dc64e3edb" target="_self" title="Rina Wilkin"> Rina Wilkin</a></span> <div class="font-sansUI lg:text-base md:text-base sm:text-s text-shade-dark dark:text-shade-light"> <time class="timeformat" datetime="2024-09-22 22:16:00">22.09.2024, 22.16 Uhr</time> </div> </div> </div> </div> </div> </header> <div class="relative bg-white dark:bg-dm-shade-darkest"> <div class="relative z-20 w-full mx-auto sm:max-w-sm md:max-w-md lg:max-w-lg"> <div class="lg:h-8 md:h-8 sm:h-4"></div> <div class="iqdcontainer md:advertisement-filled:overflow-hidden sm:advertisement-filled:overflow-hidden" data-placement="pos_header" data-device="desktop" data-advertisement="pos_header desktop pos_header:desktop lg md sm"></div> <div class="iqdcontainer md:advertisement-filled:overflow-hidden sm:advertisement-filled:overflow-hidden" data-placement="pos_header" data-device="mobile" data-advertisement="pos_header mobile pos_header:mobile lg md sm"></div> <div class="relative lg:pt-8 md:pt-8 sm:pt-4 lg:px-6 bg-white dark:bg-dm-shade-darkest"> <main id="Inhalt" class="z-20 relative"> <article class="bg-white dark:bg-dm-shade-darkest" aria-label="Landtagswahl: Ergebnisse der Landtagswahl in Brandenburg" data-featurebar-height> <div class="relative" data-article-el="body"> <div class="sticky z-20" style="top: var(--polygon-headerbar-height, 0px);" data-headerbar-height data-app-hidden> <div class="bg-white dark:bg-dm-shade-darkest mx-auto sm:max-w-sm md:max-w-md lg:max-w-lg relative lg:px-12 md:px-12 sm:px-4 flex items-center justify-between" id="feature-bar" data-area="feature-bar" data-sara-component="{&#34;name&#34;:&#34;feature-bar&#34;,&#34;type&#34;:&#34;generic&#34;}" x-data="{shareUrl: 'https://www.spiegel.de/politik/deutschland/landtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078',showContextMenu: false,}" x-app-ignore> <hr class="absolute top-0 lg:left-24 md:left-24 sm:left-16 lg:right-24 md:right-24 sm:right-16 h-px border-0 border-separator-t" aria-hidden="true"> <ul class="flex flex-row items-center"> <li> <button class="flex hover:opacity-distinct text-black dark:text-shade-lightest lg:py-16 md:py-16 sm:py-12 px-12" data-component="BookmarkButton" data-settings="{&#34;collection&#34;:&#34;article&#34;,&#34;documentId&#34;:&#34;19755ff0-6966-46f3-979c-2ee2f57eb078&#34;}" data-area="bookmark_button" data-sara-click-el="button" data-sara-click-suppress title="Zur Merkliste hinzufügen"> <span class="sr-only" data-bookmark-button-el="label">Zur Merkliste hinzufügen</span> <span class="leading-none" data-bookmark-button-el="icon-inactive"><svg id="spon-bookmark-xl" class="stroke-current" width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="xl-bookmark-aa83ff47-a1d7-45bc-8f74-abc41d55df63"> <path id="bookmark-aa83ff47-a1d7-45bc-8f74-abc41d55df63" d="M12.81 18.257L7.5 23.33V4.5h12v18.83l-5.31-5.073a1 1 0 00-1.38 0z" stroke-linecap="round" stroke-linejoin="round"/> </g> </svg> </span> <span class="leading-none hidden" data-bookmark-button-el="icon-active"><svg id="spon-bookmark-f-xl" width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="xl-bookmark-f-7a7e24c6-1c6a-47a5-8dc7-17741582f11d"> <g id="xl-bookmark-7a7e24c6-1c6a-47a5-8dc7-17741582f11d"> <path id="bookmark-7a7e24c6-1c6a-47a5-8dc7-17741582f11d" d="M13.155 18.618l-5.31 5.074A.5.5 0 017 23.331V4.5a.5.5 0 01.5-.5h12a.5.5 0 01.5.5v18.83a.5.5 0 01-.846.362l-5.309-5.074a.5.5 0 00-.69 0z" class="fill-current"/> </g> </g> </svg> </span> </button> </li> </ul> <ul class="flex items-center"> <li class="sm:hidden"> <a class="inline-flex items-center text-black dark:text-shade-lightest hover:opacity-distinct lg:py-16 md:py-16 sm:py-12 px-12" href="https://twitter.com/intent/tweet?lang=de&text=Landtagswahl%3A+Ergebnisse+der+Landtagswahl+in+Brandenburg&url=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078%3Fsara_ref%3Dre-so-tw-sh&via=derspiegel" target="_self" rel="nofollow" title="X.com" data-sara-click-el="button" @click="if (!$userAgentUtils.isMobile) {$event.preventDefault();window.open($el.href, 'Beitrag teilen', 'height=500,width=600');}" data-sara-cta="sharing:X.com"><svg id="spon-twitter-xl" width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <path d="M15.8619 12.4686L23.1472 4H21.4208L15.095 11.3532L10.0425 4H4.21509L11.8554 15.1193L4.21509 24H5.94158L12.6219 16.2348L17.9576 24H23.785L15.8619 12.4686ZM6.56366 5.29968H9.21546L21.4216 22.7594H18.7698L6.56366 5.29968Z" shape-rendering="geometricPrecision" class="fill-current"/> </svg> <span class="sr-only">X.com</span> </a> </li> <li class="sm:hidden"> <a class="inline-flex items-center text-black dark:text-shade-lightest hover:opacity-distinct lg:py-16 md:py-16 sm:py-12 px-12" href="https://www.facebook.com/share.php?t=Landtagswahl%3A+Ergebnisse+der+Landtagswahl+in+Brandenburg&u=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078%3Fsara_ref%3Dre-so-fb-sh" target="_self" rel="nofollow" title="Facebook" data-sara-click-el="button" @click="if (!$userAgentUtils.isMobile) {$event.preventDefault();window.open($el.href, 'Beitrag teilen', 'height=500,width=600');}" data-sara-cta="sharing:Facebook"><svg id="spon-facebook-xl" width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <path d="M10.802 25.083v-9.576H7.467v-4.412h3.335v-3.12c0-3.337 2.152-5.058 5.165-5.058 1.4 0 2.69.107 3.013.107v3.551h-2.044c-1.614 0-2.045.754-2.045 1.937v2.583h4.412l-1.506 4.412H14.89v9.576h-4.089z" class="stroke-current" stroke-miterlimit="10" stroke-linejoin="round"/> </svg> <span class="sr-only">Facebook</span> </a> </li> <li class="sm:hidden"> <a class="inline-flex items-center text-black dark:text-shade-lightest hover:opacity-distinct lg:py-16 md:py-16 sm:py-12 px-12" href="mailto:?subject=Landtagswahl:%20Ergebnisse%20der%20Landtagswahl%20in%20Brandenburg%20%28DER%20SPIEGEL%29&body=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078%3Fsara_ref%3Dre-em-em-sh" target="_self" rel="nofollow" title="E-Mail" data-sara-click-el="button" data-sara-cta="sharing:E-Mail"><svg id="spon-mail-xl" class="stroke-current" width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="xl-mail-5c620372-8989-48da-b7b6-a591406210de"> <path id="rectangle-5c620372-8989-48da-b7b6-a591406210de" d="M4.5 6.5h19m-19 0v15m0-15l6.5 7m12.5-7v15m0-15l-6.5 7m6.5 8h-19m19 0l-6.5-8m-12.5 8l6.5-8m0 0l3 2.833 3-2.833" stroke-linecap="round" stroke-linejoin="round"/> </g> </svg> <span class="sr-only">E-Mail</span> </a> </li> <li class="sm:hidden"> <button class="inline-flex items-center text-black dark:text-shade-lightest hover:opacity-distinct lg:py-16 md:py-16 sm:py-12 px-12" data-sara-click-el="button" @click.prevent="const shareUrlObject = new URL(shareUrl);shareUrlObject.searchParams.set('sara_ref', 're-xx-cp-sh');if ($webUtils.copyToClipboard(shareUrlObject.href)) {$notificationService.addNotification({type: 'NOTIFICATION_TYPE_SUCCESS',headline: 'Link kopiert',description: 'Die Artikel-URL wurde erfolgreich in Ihrer Zwischenablage gespeichert.',});}" data-sara-cta="sharing:Link kopieren" title="Link kopieren"><svg id="spon-copylink-xl" class="stroke-current" width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="xl-copylink-60326eeb-93c0-4e45-afd0-8cee430d93d2" stroke-width="1.1" stroke-linecap="round"> <path id="rectangle-60326eeb-93c0-4e45-afd0-8cee430d93d2" d="M14.47 17.3s.945.944-.1 1.989l-2.137 2.137a3.5 3.5 0 01-4.95 0l-.354-.354-.354-.354a3.5 3.5 0 010-4.95l2.137-2.137c1.045-1.045 1.987-.102 1.987-.102" stroke-miterlimit="10"/> <path id="rectangle_2-60326eeb-93c0-4e45-afd0-8cee430d93d2" d="M17.299 14.471s.944.945 1.989-.1l2.137-2.137a3.5 3.5 0 000-4.95l-.354-.354-.354-.354a3.5 3.5 0 00-4.95 0L13.63 8.713c-1.045 1.045-.102 1.987-.102 1.987" stroke-miterlimit="10"/> <path id="vector-60326eeb-93c0-4e45-afd0-8cee430d93d2" d="M10.293 17.707l7.414-7.414"/> </g> </svg> <span class="sr-only">Link kopieren</span> </button> </li> <li class="md:hidden lg:hidden relative"> <button class="inline-flex items-center text-black dark:text-shade-lightest hover:opacity-distinct lg:py-16 md:py-16 sm:py-12 px-12" title="Weitere Optionen zum Teilen" data-sara-click-el="button" @click.prevent.stop="showContextMenu = !showContextMenu;if (!showContextMenu) {return;}if ($refs.firstShareLink && $userAgentUtils.isMobile) {$focus($refs.firstShareLink);} else {$focus($refs.copyLink);}"><svg id="spon-share-xl" width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <path d="M15.667 9.833V4.654l8.102 7.596-8.102 7.596v-5.18h-.5c-3.207 0-5.801 1.373-7.775 3.06-1.787 1.528-3.083 3.328-3.894 4.65.212-2.734.887-5.781 2.53-8.182 1.72-2.51 4.528-4.36 9.139-4.36h.5zm-.253-5.416l.103-.11-.103.11zm8.472 7.942z" class="stroke-current"/> </svg> <span class="sr-only">Weitere Optionen zum Teilen</span> </button> </li> </ul> <hr class="absolute bottom-0 lg:left-24 md:left-24 sm:left-16 lg:right-24 md:right-24 sm:right-16 h-px border-0 border-separator-b" aria-hidden="true"> <div class="absolute right-0 top-12/12 lg:mr-8 border border-shade-lighter inline-block shadow-sm rounded min-w-s font-sansUI bg-white dark:bg-dm-shade-darkest text-base py-12 text-left z-10 md:hidden lg:hidden" x-show="showContextMenu" x-cloak @click.away="showContextMenu = false"> <ul> <li> <a class="flex items-center leading-normal px-16 py-12 text-black dark:text-shade-lightest hover:bg-shade-lightest dark:hover:bg-black w-full disabled:opacity-slight disabled:cursor-not-allowed" href="https://twitter.com/intent/tweet?lang=de&text=Landtagswahl%3A+Ergebnisse+der+Landtagswahl+in+Brandenburg&url=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078%3Fsara_ref%3Dre-so-tw-sh&via=derspiegel" target="_self" rel="nofollow" title="X.com" data-sara-click-el="button" x-ref="firstShareLink" data-sara-cta="sharing:X.com"> <span> <span class="mr-16 inline-flex align-middle"><svg id="spon-twitter-l" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <path d="M13.675 10.6229L20.228 3.00488H18.675L12.985 9.61888L8.44 3.00488H3.198L10.071 13.0069L3.198 20.9949H4.751L10.761 14.0099L15.56 20.9949H20.802L13.675 10.6219V10.6229ZM5.31 4.17288H7.695L18.675 19.8799H16.29L5.31 4.17288Z" shape-rendering="geometricPrecision" class="fill-current"/> </svg> </span> <span class="align-middle">X.com</span> </span> </a> </li> <li> <a class="flex items-center leading-normal px-16 py-12 text-black dark:text-shade-lightest hover:bg-shade-lightest dark:hover:bg-black w-full disabled:opacity-slight disabled:cursor-not-allowed" href="https://www.facebook.com/share.php?t=Landtagswahl%3A+Ergebnisse+der+Landtagswahl+in+Brandenburg&u=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078%3Fsara_ref%3Dre-so-fb-sh" target="_self" rel="nofollow" title="Facebook" data-sara-click-el="button" data-sara-cta="sharing:Facebook"> <span> <span class="mr-16 inline-flex align-middle"><svg id="spon-facebook-l" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <path d="M9.26 21.5v-8.209H6.4V9.51h2.86V6.835c0-2.86 1.844-4.335 4.426-4.335 1.2 0 2.306.092 2.583.092v3.044h-1.752c-1.384 0-1.753.646-1.753 1.66V9.51h3.782l-1.292 3.781h-2.49V21.5H9.26z" class="stroke-current" stroke-miterlimit="10" stroke-linejoin="round"/> </svg> </span> <span class="align-middle">Facebook</span> </span> </a> </li> <li> <a class="flex items-center leading-normal px-16 py-12 text-black dark:text-shade-lightest hover:bg-shade-lightest dark:hover:bg-black w-full disabled:opacity-slight disabled:cursor-not-allowed" href="mailto:?subject=Landtagswahl:%20Ergebnisse%20der%20Landtagswahl%20in%20Brandenburg%20%28DER%20SPIEGEL%29&body=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078%3Fsara_ref%3Dre-em-em-sh" target="_self" rel="nofollow" title="E-Mail" data-sara-click-el="button" data-sara-cta="sharing:E-Mail"> <span> <span class="mr-16 inline-flex align-middle"><svg id="spon-mail-l" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <path class="stroke-current" d="M3.5 5.5H20.5M3.5 5.5V18.5M3.5 5.5L10 12M20.5 5.5V18.5M20.5 5.5L14 12M20.5 18.5H3.5M20.5 18.5L14 12M3.5 18.5L10 12M10 12L12 14L14 12" stroke-linecap="round" stroke-linejoin="round"/> </svg> </span> <span class="align-middle">E-Mail</span> </span> </a> </li> <li data-not-mobile-hidden> <a class="flex items-center leading-normal px-16 py-12 text-black dark:text-shade-lightest hover:bg-shade-lightest dark:hover:bg-black w-full disabled:opacity-slight disabled:cursor-not-allowed" href="fb-messenger://share?link=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078%3Fsara_ref%3Dre-so-fm-sh&app_id=2309869772" target="_self" rel="nofollow" title="Messenger" data-sara-click-el="button" data-sara-cta="sharing:Messenger"> <span> <span class="mr-16 inline-flex align-middle"><svg id="spon-messenger-l" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <path d="M6.563 18.418c0-.314-.148-.602-.382-.79-1.894-1.522-3.08-3.765-3.08-6.257C3.1 6.835 7.05 3.1 12 3.1c4.948 0 8.9 3.734 8.9 8.27 0 4.535-3.952 8.27-8.9 8.27-.852 0-1.674-.11-2.452-.317a1.014 1.014 0 00-.762.096l-2.224 1.265v-2.267z" class="stroke-current"/> <path d="M10.996 8.968l-5.069 5.368 4.614-2.532 2.41 2.532 5.04-5.368-4.561 2.487-2.434-2.487z" class="fill-current"/> </svg> </span> <span class="align-middle">Messenger</span> </span> </a> </li> <li data-not-mobile-hidden> <a class="flex items-center leading-normal px-16 py-12 text-black dark:text-shade-lightest hover:bg-shade-lightest dark:hover:bg-black w-full disabled:opacity-slight disabled:cursor-not-allowed" href="whatsapp://send?text=Landtagswahl%3A+Ergebnisse+der+Landtagswahl+in+Brandenburg+%28DER+SPIEGEL%29+https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078%3Fsara_ref%3Dre-so-wa-sh" target="_self" rel="nofollow" title="WhatsApp" data-sara-click-el="button" data-sara-cta="sharing:WhatsApp"> <span> <span class="mr-16 inline-flex align-middle"><svg id="spon-whatsapp-l" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <path d="M2.87 11.86v-.002C2.85 6.848 6.932 2.8 11.974 2.8c5.042 0 9.126 4.05 9.126 9.039 0 4.99-4.084 9.038-9.126 9.038a9.185 9.185 0 01-4.24-1.04l-.23.444.23-.444a1.014 1.014 0 00-.78-.067l-4.16 1.347 1.346-3.953a1.015 1.015 0 00-.082-.831A9.006 9.006 0 012.87 11.86z" class="stroke-current"/> <path d="M16.774 13.84c-.062-.083-.206-.145-.434-.27-.227-.103-1.322-.64-1.53-.723-.206-.082-.35-.103-.495.104-.145.227-.579.723-.703.868-.124.144-.268.165-.475.062-.227-.104-.95-.351-1.798-1.095-.661-.58-1.116-1.323-1.24-1.53-.124-.227-.02-.351.103-.454.104-.104.228-.27.33-.393.104-.124.146-.228.228-.372.083-.145.042-.269-.02-.393-.062-.103-.496-1.199-.682-1.653-.186-.434-.372-.372-.496-.372s-.29-.02-.434-.02a.89.89 0 00-.6.268c-.206.227-.785.764-.785 1.86 0 1.095.806 2.15.91 2.294.103.144 1.55 2.46 3.823 3.348 2.273.889 2.273.6 2.686.558.414-.041 1.323-.537 1.509-1.054.165-.496.165-.93.103-1.034z" class="fill-current"/> </svg> </span> <span class="align-middle">WhatsApp</span> </span> </a> </li> <li> <button class="flex items-center leading-normal px-16 py-12 text-black dark:text-shade-lightest hover:bg-shade-lightest dark:hover:bg-black w-full disabled:opacity-slight disabled:cursor-not-allowed" title="Link kopieren" data-sara-click-el="button" @click.prevent="const shareUrlObject = new URL(shareUrl);shareUrlObject.searchParams.set('sara_ref', 're-xx-cp-sh');if ($webUtils.copyToClipboard(shareUrlObject.href)) {$notificationService.addNotification({type: 'NOTIFICATION_TYPE_SUCCESS',headline: 'Link kopiert',description: 'Die Artikel-URL wurde erfolgreich in Ihrer Zwischenablage gespeichert.',});}" x-ref="copyLink" data-sara-cta="sharing:Link kopieren"> <span> <span class="mr-16 inline-flex align-middle"><svg id="spon-copylink-l" class="stroke-current" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="l-copylink-ebf09dd5-acb5-4c7e-b59a-3c5aca575572" stroke-width="1.1" stroke-linecap="round"> <path id="rectangle-ebf09dd5-acb5-4c7e-b59a-3c5aca575572" d="M12.403 14.828s.81.81-.086 1.705l-1.832 1.832a3 3 0 01-4.242 0l-.304-.303-.304-.304a3 3 0 010-4.243l1.833-1.832c.895-.895 1.703-.087 1.703-.087" stroke-miterlimit="10"/> <path id="rectangle_2-ebf09dd5-acb5-4c7e-b59a-3c5aca575572" d="M14.828 12.404s.81.81 1.704-.086l1.832-1.832a3 3 0 000-4.243l-.303-.303-.304-.304a3 3 0 00-4.242 0l-1.832 1.832c-.896.896-.088 1.704-.088 1.704" stroke-miterlimit="10"/> <path id="vector-ebf09dd5-acb5-4c7e-b59a-3c5aca575572" d="M8.822 15.178l6.355-6.355"/> </g> </svg> </span> <span class="align-middle">Link kopieren</span> </span> </button> </li> </ul> </div> </div> </div> <section class="relative"> <div class="lg:mt-32 md:mt-32 sm:mt-24 md:pb-48 lg:pb-48 sm:pb-32"> <div data-area="body"> </div> </div> </section> </div> <footer data-area="article-footer"> <div class="border-separator-b h-px clear-both lg:w-8/12 md:w-10/12 lg:mx-auto md:mx-auto sm:mx-16"></div> <div class="flex justify-between items-start lg:w-8/12 md:w-10/12 lg:px-24 md:px-24 sm:px-16 lg:pb-32 md:pb-32 sm:pb-24 mt-24 mx-auto"> <div class="flex items-center"> <a href="https://www.spiegel.de/" class="flex mr-8 text-black dark:text-shade-lightest" aria-label="Zur Startseite"><svg id="spon-home-l" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <path d="M4.5 10.5v9h6v-3a1 1 0 011-1h1a1 1 0 011 1v3h6v-9l-7.5-7-7.5 7z" class="stroke-current" stroke-width="1.1"/> </svg> </a> <a class="border-b border-shade-light text-black dark:text-shade-lightest hover:border-black dark:hover:border-white focus:border-transparent font-normal font-sansUI text-s" href="https://www.spiegel.de/"> Startseite </a> </div> <button x-data @click="$publish('FEEDBACK_LAYER_OPEN_LAYER');" class="border-b border-shade-light text-black dark:text-shade-lightest hover:border-black dark:hover:border-white focus:border-transparent font-normal font-sansUI text-s" title="Feedback"> Feedback </button> </div> </footer></article> </main> </div> </div> </div> <div class="sm:bg-shade-lightest sm:dark:bg-black md:bg-shade-lightest md:dark:bg-black"> <div class="relative z-10 lg:bg-shade-lightest lg:dark:bg-black dark:text-shade-lightest w-full lg:px-6 mx-auto sm:max-w-sm md:max-w-md lg:max-w-lg"> <div class="h-px -mb-px"></div> <aside data-sara-component="{&#34;name&#34;:&#34;article-end&#34;,&#34;title&#34;:&#34;Outbrain Feed&#34;,&#34;type&#34;:&#34;recommendation&#34;}" class="overflow-x-hidden" x-data="{isInitialized: false,consentDisabled: false,consentGloballyDisabled: false,outbrainId: '',partnerKeyOutbrain: '',partnerKeysOutbrain: {&#34;androidMobile&#34;:&#34;DESPI13CHC08M35BM5P1M5HEB&#34;,&#34;androidTablet&#34;:&#34;DESPI2ML0D4D4DNMCCE09O2IA&#34;,&#34;iosMobile&#34;:&#34;DESPI1K04H7B0LJHONLQMQI4A&#34;,&#34;iosTablet&#34;:&#34;DESPI139BHM11JGONGOC4CFEL&#34;,&#34;noAdsAccess&#34;:&#34;DESPI6NIEG0EPH2F086DGOIC6&#34;},src: 'https://www.spiegel.de/politik/deutschland/landtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078',guaranteed: false,type: 'article',noAds: true,widgetIDs: {&#34;default&#34;:[{&#34;ads&#34;:true,&#34;device&#34;:&#34;web&#34;,&#34;guaranteed&#34;:true,&#34;id&#34;:&#34;AR_8&#34;,&#34;type&#34;:&#34;article&#34;},{&#34;ads&#34;:true,&#34;device&#34;:&#34;web&#34;,&#34;guaranteed&#34;:false,&#34;id&#34;:&#34;AR_8&#34;,&#34;type&#34;:&#34;article&#34;},{&#34;ads&#34;:false,&#34;device&#34;:&#34;web&#34;,&#34;guaranteed&#34;:false,&#34;id&#34;:&#34;AR_10&#34;,&#34;type&#34;:&#34;article&#34;},{&#34;ads&#34;:true,&#34;device&#34;:&#34;web&#34;,&#34;guaranteed&#34;:false,&#34;id&#34;:&#34;AR_11&#34;,&#34;type&#34;:&#34;article_paid&#34;},{&#34;ads&#34;:true,&#34;device&#34;:&#34;web&#34;,&#34;guaranteed&#34;:true,&#34;id&#34;:&#34;VR_8&#34;,&#34;type&#34;:&#34;video&#34;},{&#34;ads&#34;:true,&#34;device&#34;:&#34;web&#34;,&#34;guaranteed&#34;:false,&#34;id&#34;:&#34;VR_8&#34;,&#34;type&#34;:&#34;video&#34;},{&#34;ads&#34;:false,&#34;device&#34;:&#34;web&#34;,&#34;guaranteed&#34;:false,&#34;id&#34;:&#34;VR_10&#34;,&#34;type&#34;:&#34;video&#34;},{&#34;ads&#34;:true,&#34;device&#34;:&#34;web&#34;,&#34;guaranteed&#34;:false,&#34;id&#34;:&#34;VR_11&#34;,&#34;type&#34;:&#34;video_paid&#34;},{&#34;ads&#34;:true,&#34;device&#34;:&#34;ios&#34;,&#34;guaranteed&#34;:true,&#34;id&#34;:&#34;MB_8&#34;,&#34;type&#34;:&#34;article&#34;},{&#34;ads&#34;:true,&#34;device&#34;:&#34;ios&#34;,&#34;guaranteed&#34;:false,&#34;id&#34;:&#34;MB_8&#34;,&#34;type&#34;:&#34;article&#34;},{&#34;ads&#34;:false,&#34;device&#34;:&#34;ios&#34;,&#34;guaranteed&#34;:false,&#34;id&#34;:&#34;MB_10&#34;,&#34;type&#34;:&#34;article&#34;},{&#34;ads&#34;:true,&#34;device&#34;:&#34;ios&#34;,&#34;guaranteed&#34;:false,&#34;id&#34;:&#34;MB_11&#34;,&#34;type&#34;:&#34;article_paid&#34;},{&#34;ads&#34;:true,&#34;device&#34;:&#34;ios&#34;,&#34;guaranteed&#34;:true,&#34;id&#34;:&#34;MB_12&#34;,&#34;type&#34;:&#34;video&#34;},{&#34;ads&#34;:true,&#34;device&#34;:&#34;ios&#34;,&#34;guaranteed&#34;:false,&#34;id&#34;:&#34;MB_12&#34;,&#34;type&#34;:&#34;video&#34;},{&#34;ads&#34;:false,&#34;device&#34;:&#34;ios&#34;,&#34;guaranteed&#34;:false,&#34;id&#34;:&#34;MB_14&#34;,&#34;type&#34;:&#34;video&#34;},{&#34;ads&#34;:true,&#34;device&#34;:&#34;ios&#34;,&#34;guaranteed&#34;:false,&#34;id&#34;:&#34;MB_15&#34;,&#34;type&#34;:&#34;video_paid&#34;},{&#34;ads&#34;:true,&#34;device&#34;:&#34;android&#34;,&#34;guaranteed&#34;:true,&#34;id&#34;:&#34;MB_18&#34;,&#34;type&#34;:&#34;article&#34;},{&#34;ads&#34;:true,&#34;device&#34;:&#34;android&#34;,&#34;guaranteed&#34;:false,&#34;id&#34;:&#34;MB_18&#34;,&#34;type&#34;:&#34;article&#34;},{&#34;ads&#34;:false,&#34;device&#34;:&#34;android&#34;,&#34;guaranteed&#34;:false,&#34;id&#34;:&#34;MB_20&#34;,&#34;type&#34;:&#34;article&#34;},{&#34;ads&#34;:true,&#34;device&#34;:&#34;android&#34;,&#34;guaranteed&#34;:false,&#34;id&#34;:&#34;MB_21&#34;,&#34;type&#34;:&#34;article_paid&#34;},{&#34;ads&#34;:true,&#34;device&#34;:&#34;android&#34;,&#34;guaranteed&#34;:true,&#34;id&#34;:&#34;MB_22&#34;,&#34;type&#34;:&#34;video&#34;},{&#34;ads&#34;:true,&#34;device&#34;:&#34;android&#34;,&#34;guaranteed&#34;:false,&#34;id&#34;:&#34;MB_23&#34;,&#34;type&#34;:&#34;video&#34;},{&#34;ads&#34;:false,&#34;device&#34;:&#34;android&#34;,&#34;guaranteed&#34;:false,&#34;id&#34;:&#34;MB_24&#34;,&#34;type&#34;:&#34;video&#34;},{&#34;ads&#34;:true,&#34;device&#34;:&#34;android&#34;,&#34;guaranteed&#34;:false,&#34;id&#34;:&#34;MB_25&#34;,&#34;type&#34;:&#34;video_paid&#34;}],&#34;noAdsAccess&#34;:[{&#34;device&#34;:&#34;web&#34;,&#34;id&#34;:&#34;AR_10&#34;},{&#34;device&#34;:&#34;ios&#34;,&#34;id&#34;:&#34;MB_10&#34;},{&#34;device&#34;:&#34;android&#34;,&#34;id&#34;:&#34;MB_20&#34;}]},CONSENT_INIT_TIMEOUT: 2000,async init() {await $waitForConsent();if (!this.noAds & this.consentGloballyDisabled) {this.noAds = true;const consentForSpecificPurpose = await new Promise((resolve) => {setTimeout(() => resolve(false), this.CONSENT_INIT_TIMEOUT);$waitForConsent([$tcfv2Purposes.store_and_access_information_on_a_device]).then(() => resolve(true)).catch(() => resolve(false));});this.noAds = !consentForSpecificPurpose;}if (this.isInitialized) {return;}this.determinePartnerKey();this.determineOutbrainId();this.isInitialized = true;},determinePartnerKey() {if ($store.User.hasNoAdsAccess) {this.partnerKeyOutbrain = this.partnerKeysOutbrain['noAdsAccess'];return;}if (!$appUtils.isApp || !($appUtils.isAndroidApp || $appUtils.isIOSApp)) {return;}const device = $userAgentUtils.isTablet ? 'Tablet' : 'Mobile';this.partnerKeyOutbrain = this.partnerKeysOutbrain[`${$appUtils.appCode}${device}`];},determineOutbrainId() {const device = $appUtils.isApp ? $appUtils.appCode : 'web';const widgetsToFilter = $store.User.hasNoAdsAccess ? this.widgetIDs.noAdsAccess : this.widgetIDs.default;const widgetIds = Array.from(widgetsToFilter).filter((config) => {return ((typeof config.ads === 'undefined' || config.ads === !this.noAds)&& (typeof config.guaranteed === 'undefined' || config.guaranteed === this.guaranteed)&& (typeof config.type === 'undefined' || config.type === this.type)&& config.device === device) ? config.id : null;});this.outbrainId = (widgetIds[0] && widgetIds[0].id) ? widgetIds[0].id : null;if (this.outbrainId) {this.setTrackingReducedVersion();}},setTrackingReducedVersion() {if (!this.consentDisabled) return;const key = 'OB_ContextKeyValue';const value = 'notracking';if (!window[key]) {window[key] = value;}},}"> <template x-if="isInitialized && !$store.User.hasNoAdsAccess && !$appUtils.isApp"> <div class="OUTBRAIN" :data-src="src" :data-widget-id="outbrainId"></div> </template> <template x-if="isInitialized && !$store.User.hasNoAdsAccess && $appUtils.isApp"> <div class="OUTBRAIN" :data-src="src" :data-widget-id="outbrainId" :data-ob-installation-key="partnerKeyOutbrain" :data-ob-user-id="$appBridge.advertisingId ? $appBridge.advertisingId : 'null'" :data-ob-app-ver="$appUtils.appVersionName ? $appUtils.appVersionName : ''"></div> </template> <template x-if="isInitialized && $store.User.hasNoAdsAccess && !$appUtils.isApp"> <div class="OUTBRAIN" :data-ob-contenturl="src" :data-widget-id="outbrainId" :data-ob-installation-key="partnerKeyOutbrain"></div> </template> <template x-if="isInitialized && $store.User.hasNoAdsAccess && $appUtils.isApp"> <div class="OUTBRAIN" :data-ob-contenturl="src" :data-widget-id="outbrainId" :data-ob-installation-key="partnerKeyOutbrain" :data-ob-user-id="$appBridge.advertisingId ? $appBridge.advertisingId : 'null'" :data-ob-app-ver="$appUtils.appVersionName ? $appUtils.appVersionName : ''"></div> </template> <template x-if="isInitialized"> <script defer src="//widgets.outbrain.com/outbrain.js"></script> </template> </aside> <div class="lg:h-16 md:h-16 sm:h-8" x-data="{outbrainFurtherReadsReady: false,}" :class="{'lg:h-16 md:h-16 sm:h-8': !outbrainFurtherReadsReady,}" x-subscribe.outbrain_further_reads_ready="outbrainFurtherReadsReady = true"></div> <div class="lg:p-24 md:p-24 sm:px-16 sm:py-24 rounded shadow bg-white dark:bg-dm-shade-darkest" data-outbrain="FurtherReads" x-data="{outbrainFurtherReadsReady: false,adPositionIds: [&#34;pos_15&#34;],}" x-subscribe.outbrain_further_reads_ready="if ($payload[0] instanceof Element) {$payload[0].appendChild($el);outbrainFurtherReadsReady = true;adPositionIds.forEach((id) => $publish('AD_POSITION_INIT', id));}"> <div class="flex lg:flex-row md:flex-col sm:block"> <div class="grow overflow-hidden"> <section> <h3 class="block text-primary-base dark:text-dm-primary-base font-brandUI font-extrabold lg:text-xl md:text-xl sm:text-l mb-24 leading-tight">Mehr lesen über</h3> <div class="flex flex-row shrink-0 overflow-hidden relative font-sans" x-data x-swiper="{freeMode: true,roundLengths: true,slidesPerView: 'auto',watchOverflow: true}" x-lazyload x-subscribe.ad_position_loaded="if (adPositionIds.includes($payload[0])) $swiper.update()"> <div class="polygon-swiper-button-prev hidden absolute bottom-0 left-0 top-0 z-10"> <span class="flex items-center h-full"> <span class="md:hidden sm:hidden bg-white dark:bg-dm-shade-darkest w-48 text-center cursor-pointer py-20 leading-none"><svg width="12" height="12"><use xlink:href="#spon-chevron-left-f-s"/></svg> </span> <span class="bg-gradient-to-r from-white dark:from-dm-shade-darkest lg:w-24 md:w-24 sm:w-16 h-full"></span> </span> </div> <div class="polygon-swiper w-full pr-px"> <div class="polygon-swiper-wrapper flex"> <a href="https://www.spiegel.de/thema/landtagswahl-in-brandenburg-2024/" target="_self" title="Landtagswahl in Brandenburg 2024" class="polygon-swiper-slide leading-normal whitespace-nowrap cursor-pointer bg-white dark:bg-dm-shade-darkest text-black dark:text-shade-lightest border border-shade-lighter hover:border-black dark:hover:border-white focus:bg-shade-lightest dark:focus:bg-black focus:border-black dark:focus:border-white active:bg-shade-lightest dark:active:bg-black active:border-black dark:active:border-white disabled:bg-white dark:disabled:bg-dm-shade-darkest disabled:text-shade-base disabled:cursor-not-allowed disabled:border-shade-lighter font-sansUI px-16 py-6 text-base rounded shrink-0 mr-16"> <span class="relative bottom-px">Landtagswahl in Brandenburg 2024</span> </a> <a href="https://www.spiegel.de/thema/daten-und-visualisierungen/" target="_self" title="Daten und Visualisierungen" class="polygon-swiper-slide leading-normal whitespace-nowrap cursor-pointer bg-white dark:bg-dm-shade-darkest text-black dark:text-shade-lightest border border-shade-lighter hover:border-black dark:hover:border-white focus:bg-shade-lightest dark:focus:bg-black focus:border-black dark:focus:border-white active:bg-shade-lightest dark:active:bg-black active:border-black dark:active:border-white disabled:bg-white dark:disabled:bg-dm-shade-darkest disabled:text-shade-base disabled:cursor-not-allowed disabled:border-shade-lighter font-sansUI px-16 py-6 text-base rounded shrink-0 mr-16"> <span class="relative bottom-px">Daten und Visualisierungen</span> </a> <a href="https://www.spiegel.de/thema/brandenburg/" target="_self" title="Brandenburg" class="polygon-swiper-slide leading-normal whitespace-nowrap cursor-pointer bg-white dark:bg-dm-shade-darkest text-black dark:text-shade-lightest border border-shade-lighter hover:border-black dark:hover:border-white focus:bg-shade-lightest dark:focus:bg-black focus:border-black dark:focus:border-white active:bg-shade-lightest dark:active:bg-black active:border-black dark:active:border-white disabled:bg-white dark:disabled:bg-dm-shade-darkest disabled:text-shade-base disabled:cursor-not-allowed disabled:border-shade-lighter font-sansUI px-16 py-6 text-base rounded shrink-0"> <span class="relative bottom-px">Brandenburg</span> </a> </div> </div> <div class="polygon-swiper-button-next absolute bottom-0 right-0 top-0 z-10"> <span class="flex items-center h-full"> <span class="bg-gradient-to-l from-white dark:from-dm-shade-darkest lg:w-24 md:w-24 sm:w-16 h-full"></span> <span class="md:hidden sm:hidden bg-white dark:bg-dm-shade-darkest w-48 text-center cursor-pointer py-20 leading-none"><svg width="12" height="12"><use xlink:href="#spon-chevron-right-f-s"/></svg> </span> </span> </div> </div> </section> </div> <div x-show="outbrainFurtherReadsReady" x-cloak> <div class="iqdcontainer md:advertisement-filled:overflow-hidden sm:advertisement-filled:overflow-hidden lg:advertisement-filled:pl-24 md:advertisement-filled:mt-16 md:advertisement-filled:mb-32 sm:advertisement-filled:mt-16 sm:advertisement-filled:mb-32" data-placement="pos_15" data-device="desktop" data-advertisement="pos_15 desktop pos_15:desktop lg md sm"></div> <div class="iqdcontainer md:advertisement-filled:overflow-hidden sm:advertisement-filled:overflow-hidden lg:advertisement-filled:pl-24 md:advertisement-filled:mt-16 md:advertisement-filled:mb-32 sm:advertisement-filled:mt-16 sm:advertisement-filled:mb-32" data-placement="pos_15" data-device="mobile" data-advertisement="pos_15 mobile pos_15:mobile lg md sm" data-cls="352"></div> </div> </div> </div> <section data-outbrain="TopReads"></section> <div class="lg:h-8 md:h-8 sm:h-4"></div> <div class="iqdcontainer md:advertisement-filled:overflow-hidden sm:advertisement-filled:overflow-hidden relative z-10 lg:advertisement-filled:py-8 md:advertisement-filled:py-8 sm:advertisement-filled:py-4" data-placement="pos_footer" data-device="desktop" data-advertisement="pos_footer desktop pos_footer:desktop lg md sm"></div> <div class="iqdcontainer md:advertisement-filled:overflow-hidden sm:advertisement-filled:overflow-hidden relative z-10 lg:advertisement-filled:py-8 md:advertisement-filled:py-8 sm:advertisement-filled:py-4" data-placement="pos_footer" data-device="mobile" data-advertisement="pos_footer mobile pos_footer:mobile lg md sm" data-cls="352"></div> <div class="lg:h-8 md:h-8 sm:h-4"></div> <footer class="relative z-10" data-area="footer"> <div class="shadow bg-shade-darkest pt-24 lg:pb-40 md:pb-32 sm:py-24 sm:mb-4 md:mb-4" data-app-article-issue-context-hidden> <div class="flex justify-between lg:px-24 md:px-24 sm:px-16"> <span class="font-normal grow"> <a href="https://www.spiegel.de/games/" title="Neueste SPIEGEL Games" class="text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base block" target="_self"> <span class="flex items-center font-sansUI font-bold text-base"> <span>Neueste SPIEGEL Games</span> <span class="ml-8 leading-none mt-px"><svg width="12" height="12"><use xlink:href="#spon-chevron-right-f-s"/></svg> </span> </span> </a> </span> <a href="https://www.spiegel.de/games/" class="inline-block border-b border-shade-light text-white dark:text-shade-lightest hover:border-white focus:border-transparent font-sansUI font-normal text-s" target="_self"> Alle Games </a> </div> <div class="relative" x-data x-swiper="{roundLengths: true,slidesPerView: 'auto',watchOverflow: false,}" x-lazyload> <div class="polygon-swiper-button-prev absolute top-0 left-0 bottom-0 z-10 flex items-stretch focus:outline-none select-none text-black lg:hover:cursor-pointer"> <button class="bg-white flex items-center justify-around bg-white dark:bg-dm-shade-darkest text-black dark:text-shade-lightest border border-shade-base dark:border-shade-light hover:border-black dark:hover:border-white focus:bg-shade-lightest dark:focus:bg-black focus:border-black dark:focus:border-white rounded-circle cursor-pointer flex my-auto md:hidden sm:hidden w-32 h-32 ml-16 z-10" tabindex="-1" aria-hidden="true"><svg id="spon-chevron-left-l" class="stroke-current" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="l-chevron-left-3ee54b02-3ef3-45f5-961f-9aaa74eb0d76"> <g id="l-chevron-right-3ee54b02-3ef3-45f5-961f-9aaa74eb0d76"> <path id="vector-3ee54b02-3ef3-45f5-961f-9aaa74eb0d76" d="M15 6l-6 6 6 6" stroke-width="1.3" stroke-linecap="round"/> </g> </g> </svg> </button> <span class="absolute bg-gradient-to-r h-full left-0 w-28 from-shade-darkest"></span> </div> <div class="polygon-swiper overflow-hidden"> <div class="polygon-swiper-wrapper flex flex-nowrap"> <ul class="polygon-swiper-slide flex shrink-0 lg:p-24 md:p-24 sm:p-16"> <li class="polygon-swiper-slide shrink-0 lg:mr-32 md:mr-32 sm:mr-24"> <a href="https://www.spiegel.de/games/wordle-auf-deutsch-kostenlos-online-spielen-a-cbfa309d-a8ad-4d7d-9234-28b09b945834" title="Wordle" target="_self" class="flex flex-row gap-x-8 items-center"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_wordle_24.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' %3E%3C/svg%3E" width="24" height="24" alt="Öffnen Sie das Spiel Wordle"> <span class="text-s text-white font-bold dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base"> Wordle </span> </a> </li> <li class="polygon-swiper-slide shrink-0 lg:mr-32 md:mr-32 sm:mr-24"> <a href="https://www.spiegel.de/games/wortsuche-auf-deutsch-kostenlos-online-spielen-a-ee74d451-8ba7-4971-9624-00b858fbe671" title="Wortsuche" target="_self" class="flex flex-row gap-x-8 items-center"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_wortsuche_24.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' %3E%3C/svg%3E" width="24" height="24" alt="Öffnen Sie das Spiel Wortsuche"> <span class="text-s text-white font-bold dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base"> Wortsuche </span> </a> </li> <li class="polygon-swiper-slide shrink-0 lg:mr-32 md:mr-32 sm:mr-24"> <a href="https://www.spiegel.de/games/paarsuche-auf-deutsch-kostenlos-online-spielen-a-381cc67b-8016-4a82-b6b8-9a7066db7f83" title="Paarsuche" target="_self" class="flex flex-row gap-x-8 items-center"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_paarsuche_24.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' %3E%3C/svg%3E" width="24" height="24" alt="Öffnen Sie das Spiel Paarsuche"> <span class="text-s text-white font-bold dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base"> Paarsuche </span> </a> </li> <li class="polygon-swiper-slide shrink-0"> <a href="https://www.spiegel.de/games/taegliches-quiz-beim-spiegel-7-fragen-zum-allgemeinwissen-pro-tag-a-8a9692b2-4462-4192-942c-fd7809c7519c" title="Das tägliche Quiz" target="_self" class="flex flex-row gap-x-8 items-center"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_quizdestages_24.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' %3E%3C/svg%3E" width="24" height="24" alt="Öffnen Sie das Spiel Das tägliche Quiz"> <span class="text-s text-white font-bold dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base"> Das tägliche Quiz </span> </a> </li> </ul> </div> </div> <div class="polygon-swiper-button-next absolute top-0 right-0 bottom-0 z-10 flex items-stretch focus:outline-none select-none text-black lg:hover:cursor-pointer"> <span class="absolute bg-gradient-to-l h-full right-0 w-28 from-shade-darkest"></span> <button class="bg-white flex items-center justify-around bg-white dark:bg-dm-shade-darkest text-black dark:text-shade-lightest border border-shade-base dark:border-shade-light hover:border-black dark:hover:border-white focus:bg-shade-lightest dark:focus:bg-black focus:border-black dark:focus:border-white rounded-circle cursor-pointer flex my-auto md:hidden sm:hidden w-32 h-32 mr-16 z-10" tabindex="-1" aria-hidden="true"><svg id="spon-chevron-right-l" class="stroke-current" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="l-chevron-right-9d5e847c-16ec-423a-bd44-814191b6e806"> <path id="vector-9d5e847c-16ec-423a-bd44-814191b6e806" d="M9 6l6 6-6 6" stroke-width="1.3" stroke-linecap="round"/> </g> </svg> </button> </div> </div> <div class="flex justify-between lg:px-24 md:px-24 sm:px-16 lg:mb-40 md:mb-32 sm:mb-24 mt-8"> <span class="font-normal grow"> <a href="https://spiele.spiegel.de" title="Spiele" class="text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base block" target="_self"> <span class="flex items-center font-sansUI font-bold text-base"> <span>Kostenlose Online-Spiele</span> <span class="ml-8 leading-none mt-px"><svg width="12" height="12"><use xlink:href="#spon-chevron-right-f-s"/></svg> </span> </span> </a> </span> <a href="https://spiele.spiegel.de" class="inline-block border-b border-shade-light text-white dark:text-shade-lightest hover:border-white focus:border-transparent font-sansUI font-normal text-s" target="_self"> mehr Spiele </a> </div> <div class="relative lg:mx-24 md:mx-24 sm:mx-16 font-sansUI lg:mt-32 md:mt-32 sm:mt-24 text-white dark:text-shade-lightest" x-data x-swiper="{roundLengths: true,slidesPerView: 'auto',watchOverflow: false,}" x-lazyload> <div class="polygon-swiper-button-prev absolute top-0 bottom-0 left-0 z-10 flex items-stretch focus:outline-none select-none"> <span class="md:hidden sm:hidden bg-shade-darkest text-center pr-8 -ml-8 cursor-pointer pt-32"><svg width="24" height="24"><use xlink:href="#spon-chevron-left-l"/></svg> </span> <span class="bg-gradient-to-r from-shade-darkest w-24"></span> </div> <div class="polygon-swiper grow overflow-hidden"> <ul class="polygon-swiper-wrapper flex flex-nowrap relative font-sansUI text-s font-bold text-center"> <li class="polygon-swiper-slide shrink-0 lg:mr-24 md:mr-24 sm:mr-16"> <a href="https://spiele.spiegel.de/kreuzwortraetsel/?utm_campaign=kreuzwortraetsel&utm_medium=footer_rondell&utm_source=spiegel_de" title="Kreuzworträtsel" target="_self" class="relative block min-h-full text-black dark:text-shade-lightest flex flex-col items-center"> <span class="block overflow-hidden mb-8 w-88 h-88"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_kreuzwortraetsel_88.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88' width='88' height='88' %3E%3C/svg%3E" width="88" height="88" alt="Öffnen Sie das Spiel Kreuzworträtsel"> </span> <span class="text-center text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base w-88"> Kreuzworträt&shy;sel </span> </a> </li> <li class="polygon-swiper-slide shrink-0 lg:mr-24 md:mr-24 sm:mr-16"> <a href="https://spiele.spiegel.de/solitaer/?utm_campaign=solitaer&utm_medium=footer_rondell&utm_source=spiegel_de" title="Solitär" target="_self" class="relative block min-h-full text-black dark:text-shade-lightest flex flex-col items-center"> <span class="block overflow-hidden mb-8 w-88 h-88"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_solitaer_88.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88' width='88' height='88' %3E%3C/svg%3E" width="88" height="88" alt="Öffnen Sie das Spiel Solitär"> </span> <span class="text-center text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base w-88"> Solitär </span> </a> </li> <li class="polygon-swiper-slide shrink-0 lg:mr-24 md:mr-24 sm:mr-16"> <a href="https://spiele.spiegel.de/sudoku/?utm_campaign=sudoku&utm_medium=footer_rondell&utm_source=spiegel_de" title="Sudoku" target="_self" class="relative block min-h-full text-black dark:text-shade-lightest flex flex-col items-center"> <span class="block overflow-hidden mb-8 w-88 h-88"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_sudoku_88.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88' width='88' height='88' %3E%3C/svg%3E" width="88" height="88" alt="Öffnen Sie das Spiel Sudoku"> </span> <span class="text-center text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base w-88"> Sudoku </span> </a> </li> <li class="polygon-swiper-slide shrink-0 lg:mr-24 md:mr-24 sm:mr-16"> <a href="https://spiele.spiegel.de/mahjong/?utm_campaign=mahjong&utm_medium=footer_rondell&utm_source=spiegel_de" title="Mahjong" target="_self" class="relative block min-h-full text-black dark:text-shade-lightest flex flex-col items-center"> <span class="block overflow-hidden mb-8 w-88 h-88"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_mahjong_88.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88' width='88' height='88' %3E%3C/svg%3E" width="88" height="88" alt="Öffnen Sie das Spiel Mahjong"> </span> <span class="text-center text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base w-88"> Mahjong </span> </a> </li> <li class="polygon-swiper-slide shrink-0 lg:mr-24 md:mr-24 sm:mr-16"> <a href="https://spiele.spiegel.de/bubble-shooter/?utm_campaign=bubble-shooter&utm_medium=footer_rondell&utm_source=spiegel_de" title="Bubble-Shooter" target="_self" class="relative block min-h-full text-black dark:text-shade-lightest flex flex-col items-center"> <span class="block overflow-hidden mb-8 w-88 h-88"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_bubble-shooter_88.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88' width='88' height='88' %3E%3C/svg%3E" width="88" height="88" alt="Öffnen Sie das Spiel Bubble-Shooter"> </span> <span class="text-center text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base w-88"> Bubble-Shooter </span> </a> </li> <li class="polygon-swiper-slide shrink-0 lg:mr-24 md:mr-24 sm:mr-16"> <a href="https://spiele.spiegel.de/jackpot-spiele/?utm_campaign=jackpot-spiele&utm_medium=footer_rondell&utm_source=spiegel_de" title="Jackpot" target="_self" class="relative block min-h-full text-black dark:text-shade-lightest flex flex-col items-center"> <span class="block overflow-hidden mb-8 w-88 h-88"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_jackpot_88.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88' width='88' height='88' %3E%3C/svg%3E" width="88" height="88" alt="Öffnen Sie das Spiel Jackpot"> </span> <span class="text-center text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base w-88"> Jackpot </span> </a> </li> <li class="polygon-swiper-slide shrink-0 lg:mr-24 md:mr-24 sm:mr-16"> <a href="https://spiele.spiegel.de/snake/?utm_campaign=snake&utm_medium=footer_rondell&utm_source=spiegel_de" title="Snake" target="_self" class="relative block min-h-full text-black dark:text-shade-lightest flex flex-col items-center"> <span class="block overflow-hidden mb-8 w-88 h-88"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_snake_88.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88' width='88' height='88' %3E%3C/svg%3E" width="88" height="88" alt="Öffnen Sie das Spiel Snake"> </span> <span class="text-center text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base w-88"> Snake </span> </a> </li> <li class="polygon-swiper-slide shrink-0 lg:mr-24 md:mr-24 sm:mr-16"> <a href="https://spiele.spiegel.de/exchange/?utm_campaign=exchange&utm_medium=footer_rondell&utm_source=spiegel_de" title="Exchange" target="_self" class="relative block min-h-full text-black dark:text-shade-lightest flex flex-col items-center"> <span class="block overflow-hidden mb-8 w-88 h-88"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_exchange_88.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88' width='88' height='88' %3E%3C/svg%3E" width="88" height="88" alt="Öffnen Sie das Spiel Exchange"> </span> <span class="text-center text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base w-88"> Exchange </span> </a> </li> <li class="polygon-swiper-slide shrink-0 lg:mr-24 md:mr-24 sm:mr-16"> <a href="https://spiele.spiegel.de/2048/?utm_campaign=2048&utm_medium=footer_rondell&utm_source=spiegel_de" title="2048" target="_self" class="relative block min-h-full text-black dark:text-shade-lightest flex flex-col items-center"> <span class="block overflow-hidden mb-8 w-88 h-88"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_2048_88.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88' width='88' height='88' %3E%3C/svg%3E" width="88" height="88" alt="Öffnen Sie das Spiel 2048"> </span> <span class="text-center text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base w-88"> 2048 </span> </a> </li> <li class="polygon-swiper-slide shrink-0 lg:mr-24 md:mr-24 sm:mr-16"> <a href="https://spiele.spiegel.de/doppel/?utm_campaign=doppel&utm_medium=footer_rondell&utm_source=spiegel_de" title="Doppel" target="_self" class="relative block min-h-full text-black dark:text-shade-lightest flex flex-col items-center"> <span class="block overflow-hidden mb-8 w-88 h-88"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_doppel_88.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88' width='88' height='88' %3E%3C/svg%3E" width="88" height="88" alt="Öffnen Sie das Spiel Doppel"> </span> <span class="text-center text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base w-88"> Doppel </span> </a> </li> <li class="polygon-swiper-slide shrink-0 lg:mr-24 md:mr-24 sm:mr-16"> <a href="https://spiele.spiegel.de/rushtower/?utm_campaign=rushtower&utm_medium=footer_rondell&utm_source=spiegel_de" title="Rushtower" target="_self" class="relative block min-h-full text-black dark:text-shade-lightest flex flex-col items-center"> <span class="block overflow-hidden mb-8 w-88 h-88"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_rushtower_88.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88' width='88' height='88' %3E%3C/svg%3E" width="88" height="88" alt="Öffnen Sie das Spiel Rushtower"> </span> <span class="text-center text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base w-88"> Rushtower </span> </a> </li> <li class="polygon-swiper-slide shrink-0 lg:mr-24 md:mr-24 sm:mr-16"> <a href="https://spiele.spiegel.de/sudoken/?utm_campaign=sudoken&utm_medium=footer_rondell&utm_source=spiegel_de" title="Sudoken" target="_self" class="relative block min-h-full text-black dark:text-shade-lightest flex flex-col items-center"> <span class="block overflow-hidden mb-8 w-88 h-88"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_sudoken_88.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88' width='88' height='88' %3E%3C/svg%3E" width="88" height="88" alt="Öffnen Sie das Spiel Sudoken"> </span> <span class="text-center text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base w-88"> Sudoken </span> </a> </li> <li class="polygon-swiper-slide shrink-0 lg:mr-24 md:mr-24 sm:mr-16"> <a href="https://spiele.spiegel.de/street/?utm_campaign=street&utm_medium=footer_rondell&utm_source=spiegel_de" title="Street" target="_self" class="relative block min-h-full text-black dark:text-shade-lightest flex flex-col items-center"> <span class="block overflow-hidden mb-8 w-88 h-88"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_street_88.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88' width='88' height='88' %3E%3C/svg%3E" width="88" height="88" alt="Öffnen Sie das Spiel Street"> </span> <span class="text-center text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base w-88"> Street </span> </a> </li> <li class="polygon-swiper-slide shrink-0 lg:mr-24 md:mr-24 sm:mr-16"> <a href="https://spiele.spiegel.de/wortblitz/?utm_campaign=wortblitz&utm_medium=footer_rondell&utm_source=spiegel_de" title="Wortblitz" target="_self" class="relative block min-h-full text-black dark:text-shade-lightest flex flex-col items-center"> <span class="block overflow-hidden mb-8 w-88 h-88"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_wortblitz_88.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88' width='88' height='88' %3E%3C/svg%3E" width="88" height="88" alt="Öffnen Sie das Spiel Wortblitz"> </span> <span class="text-center text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base w-88"> Wortblitz </span> </a> </li> <li class="polygon-swiper-slide shrink-0 lg:mr-24 md:mr-24 sm:mr-16"> <a href="https://spiele.spiegel.de/fibonacci/?utm_campaign=fibonacci&utm_medium=footer_rondell&utm_source=spiegel_de" title="Fibonacci" target="_self" class="relative block min-h-full text-black dark:text-shade-lightest flex flex-col items-center"> <span class="block overflow-hidden mb-8 w-88 h-88"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_fibonacci_88.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88' width='88' height='88' %3E%3C/svg%3E" width="88" height="88" alt="Öffnen Sie das Spiel Fibonacci"> </span> <span class="text-center text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base w-88"> Fibonacci </span> </a> </li> <li class="polygon-swiper-slide shrink-0 lg:mr-24 md:mr-24 sm:mr-16"> <a href="https://spiele.spiegel.de/shooter/?utm_campaign=shooter&utm_medium=footer_rondell&utm_source=spiegel_de" title="Gumblast" target="_self" class="relative block min-h-full text-black dark:text-shade-lightest flex flex-col items-center"> <span class="block overflow-hidden mb-8 w-88 h-88"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_gumblast_88.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88' width='88' height='88' %3E%3C/svg%3E" width="88" height="88" alt="Öffnen Sie das Spiel Gumblast"> </span> <span class="text-center text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base w-88"> Gumblast </span> </a> </li> <li class="polygon-swiper-slide shrink-0 lg:mr-24 md:mr-24 sm:mr-16"> <a href="https://spiele.spiegel.de/wimmelbild/?utm_campaign=wimmelbild&utm_medium=footer_rondell&utm_source=spiegel_de" title="Wimmelbild" target="_self" class="relative block min-h-full text-black dark:text-shade-lightest flex flex-col items-center"> <span class="block overflow-hidden mb-8 w-88 h-88"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_wimmelbild_88.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88' width='88' height='88' %3E%3C/svg%3E" width="88" height="88" alt="Öffnen Sie das Spiel Wimmelbild"> </span> <span class="text-center text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base w-88"> Wimmelbild </span> </a> </li> <li class="polygon-swiper-slide shrink-0 lg:mr-24 md:mr-24 sm:mr-16"> <a href="https://spiele.spiegel.de/skiracer/?utm_campaign=skiracer&utm_medium=footer_rondell&utm_source=spiegel_de" title="Skiracer" target="_self" class="relative block min-h-full text-black dark:text-shade-lightest flex flex-col items-center"> <span class="block overflow-hidden mb-8 w-88 h-88"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_skiracer_88.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88' width='88' height='88' %3E%3C/svg%3E" width="88" height="88" alt="Öffnen Sie das Spiel Skiracer"> </span> <span class="text-center text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base w-88"> Skiracer </span> </a> </li> <li class="polygon-swiper-slide shrink-0"> <a href="https://www.spiegel.de/netzwelt/spiele/trivial-pursuit-auf-spiegel-online-was-wissen-sie-wirklich-von-der-welt-a-1292479.html" title="Trivial Pursuit" target="_self" class="relative block min-h-full text-black dark:text-shade-lightest flex flex-col items-center"> <span class="block overflow-hidden mb-8 w-88 h-88"> <img class="lazyload mx-auto" data-src="https://cdn.prod.www.spiegel.de/public/spon/images/games-icons/pic_trivial-pursuit_88.svg" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88' width='88' height='88' %3E%3C/svg%3E" width="88" height="88" alt="Öffnen Sie das Spiel Trivial Pursuit"> </span> <span class="text-center text-white dark:text-shade-lightest hover:text-shade-lighter focus:text-shade-base w-88"> Trivial Pursuit </span> </a> </li> </ul> </div> <div class="polygon-swiper-button-next absolute top-0 right-0 bottom-0 z-10 flex items-stretch focus:outline-none select-none"> <span class="bg-gradient-to-l from-shade-darkest w-24"></span> <span class="md:hidden sm:hidden bg-shade-darkest text-center pl-8 -mr-8 cursor-pointer pt-32"><svg width="24" height="24"><use xlink:href="#spon-chevron-right-l"/></svg> </span> </div> </div> </div> <div class="shadow bg-shade-darkest lg:py-32 md:py-32 sm:pt-24 sm:pb-4"> <div class="lg:px-24 md:px-24 sm:px-16 lg:mb-24 md:mb-24 sm:mb-16"> <div class="text-white dark:text-shade-lightest font-sansUI font-bold text-base lg:mb-32 md:mb-32 sm:mb-24"> Serviceangebote von SPIEGEL-Partnern </div> </div> <div x-data data-area="vouchers" class="sm:overflow-hidden" data-app-article-issue-context-hidden> <div class="lg:px-24 md:px-24 sm:px-16 lg:mb-24 md:mb-24 sm:mb-16"> <div class="flex items-center lg:mb-24 md:mb-24 sm:mb-16"> <div class="text-white dark:text-shade-lightest font-brandUI font-extrabold text-l leading-tight"> Gutscheine </div> <div class="grow border-separator-light h-px ml-8 mt-2"></div> </div> </div> <div class="lg:px-24 md:px-24 sm:px-16 mb-16" x-show="!$store.User.hasNoAdsAccess" x-cloak> <span class="font-sansUI text-xs text-shade-light dark:text-shade-dark uppercase tracking-wider"> Anzeige </span> </div> <div class="lg:px-24 md:px-24 sm:px-16" x-show="!$store.User.hasNoAdsAccess" x-cloak> <div class="flex flex-wrap"> <div class="lg:w-6/12 md:w-6/12 mb-16 lg:pr-8 md:pr-8"> <a href="https://gutscheine.spiegel.de/ikea" target="_self" rel="nofollow" title="IKEA Angebote"> <div class="relative overflow-hidden"> <img class="lazyload h-88 rounded object-none" data-src="https://cdn-assets-widget-production.imgix.net/uploads/syndication/5fb6602610546.jpeg?fit=crop&w=472&h=88&lossless=true&q=100" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 472 88' width='472' height='88' %3E%3C/svg%3E" width="472" height="88" title alt> <div class="absolute rounded bg-gradient-to-t from-black top-0 bottom-0 left-0 right-0"></div> <div class="absolute top-0 bottom-0 left-0 right-0 flex align-items justify-between pr-120 overflow-hidden"> <span class="pb-16 pl-16 self-end font-sansUI text-base font-bold text-white dark:text-shade-lightest leading-normal"> IKEA Angebote </span> <div class="absolute right-0 bottom-0 mx-16 mb-16 bg-white p-8 shrink-0 rounded"> <img class="lazyload rounded" data-src="https://cdn-assets-widget-production.imgix.net/uploads/provider/5fcf4a1aa5b09.png?fit=crop&w=78&h=39&lossless=true&q=100" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78 39' width='78' height='39' %3E%3C/svg%3E" width="78" height="39" title alt="IKEA"> </div> </div> </div> </a> </div> <div class="lg:w-6/12 md:w-6/12 mb-16 lg:pl-8 md:pl-8"> <a href="https://gutscheine.spiegel.de/amazon" target="_self" rel="nofollow" title="Amazon Gutscheine"> <div class="relative overflow-hidden"> <img class="lazyload h-88 rounded object-none" data-src="https://cdn-assets-widget-production.imgix.net/uploads/syndication/5fb660354e58d.jpeg?fit=crop&w=472&h=88&lossless=true&q=100" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 472 88' width='472' height='88' %3E%3C/svg%3E" width="472" height="88" title alt> <div class="absolute rounded bg-gradient-to-t from-black top-0 bottom-0 left-0 right-0"></div> <div class="absolute top-0 bottom-0 left-0 right-0 flex align-items justify-between pr-120 overflow-hidden"> <span class="pb-16 pl-16 self-end font-sansUI text-base font-bold text-white dark:text-shade-lightest leading-normal"> Amazon Gutscheine </span> <div class="absolute right-0 bottom-0 mx-16 mb-16 bg-white p-8 shrink-0 rounded"> <img class="lazyload rounded" data-src="https://cdn-assets-widget-production.imgix.net/uploads/provider/618be54d01886.png?fit=crop&w=78&h=39&lossless=true&q=100" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78 39' width='78' height='39' %3E%3C/svg%3E" width="78" height="39" title alt="Amazon"> </div> </div> </div> </a> </div> <div class="lg:w-6/12 md:w-6/12 mb-16 lg:pr-8 md:pr-8"> <a href="https://gutscheine.spiegel.de/lampenwelt" target="_self" rel="nofollow" title="Lampenwelt Gutscheine"> <div class="relative overflow-hidden"> <img class="lazyload h-88 rounded object-none" data-src="https://cdn-assets-widget-production.imgix.net/uploads/syndication/6005b2bbb7202.jpeg?fit=crop&w=472&h=88&lossless=true&q=100" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 472 88' width='472' height='88' %3E%3C/svg%3E" width="472" height="88" title alt> <div class="absolute rounded bg-gradient-to-t from-black top-0 bottom-0 left-0 right-0"></div> <div class="absolute top-0 bottom-0 left-0 right-0 flex align-items justify-between pr-120 overflow-hidden"> <span class="pb-16 pl-16 self-end font-sansUI text-base font-bold text-white dark:text-shade-lightest leading-normal"> Lampenwelt Gutscheine </span> <div class="absolute right-0 bottom-0 mx-16 mb-16 bg-white p-8 shrink-0 rounded"> <img class="lazyload rounded" data-src="https://cdn-assets-widget-production.imgix.net/uploads/provider/618bde573a696.png?fit=crop&w=78&h=39&lossless=true&q=100" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78 39' width='78' height='39' %3E%3C/svg%3E" width="78" height="39" title alt="Lampenwelt"> </div> </div> </div> </a> </div> <div class="lg:w-6/12 md:w-6/12 mb-16 lg:pl-8 md:pl-8"> <a href="https://gutscheine.spiegel.de/belvini-weinversand" target="_self" rel="nofollow" title="BELViNi Gutscheine"> <div class="relative overflow-hidden"> <img class="lazyload h-88 rounded object-none" data-src="https://cdn-assets-widget-production.imgix.net/uploads/syndication/623dd10ae2cb8.jpeg?fit=crop&w=472&h=88&lossless=true&q=100" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 472 88' width='472' height='88' %3E%3C/svg%3E" width="472" height="88" title alt> <div class="absolute rounded bg-gradient-to-t from-black top-0 bottom-0 left-0 right-0"></div> <div class="absolute top-0 bottom-0 left-0 right-0 flex align-items justify-between pr-120 overflow-hidden"> <span class="pb-16 pl-16 self-end font-sansUI text-base font-bold text-white dark:text-shade-lightest leading-normal"> BELViNi Gutscheine </span> <div class="absolute right-0 bottom-0 mx-16 mb-16 bg-white p-8 shrink-0 rounded"> <img class="lazyload rounded" data-src="https://cdn-assets-widget-production.imgix.net/uploads/provider/6368b2b648b4f.png?fit=crop&w=78&h=39&lossless=true&q=100" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78 39' width='78' height='39' %3E%3C/svg%3E" width="78" height="39" title alt="BELViNi"> </div> </div> </div> </a> </div> </div> </div> <div class="lg:px-24 md:px-24 sm:px-16 lg:mb-24 md:mb-24 sm:mb-16 text-right"> <a href="https://gutscheine.spiegel.de/exklusiv" target="_self" rel="nofollow" title="Top Gutscheine" class="border-b border-shade-light w-full text-white dark:text-shade-lightest hover:border-white focus:border-transparent font-sansUI font-normal text-s mr-16"> Top Gutscheine </a> <a href="https://gutscheine.spiegel.de/alle-shops" target="_self" rel="nofollow" title="Alle Shops" class="border-b border-shade-light w-full text-white dark:text-shade-lightest hover:border-white focus:border-transparent font-sansUI font-normal text-s"> Alle Shops </a> </div> </div> <nav role="navigation" data-area="services" data-app-article-issue-context-hidden> <div class="flex sm:flex-col lg:mb-40 md:mb-40 sm:mx-16"> <div class="lg:w-4/12 md:w-4/12 lg:px-24 md:px-24"> <section x-data="{ expanded: $store.MediaQuery.breakpoint !== 'sm' }" x-subscribe.media_query_breakpoint_changed="expanded = $store.MediaQuery.breakpoint !== 'sm'" x-lazyload> <h3 class="flex sm:flex-col-reverse lg:items-center md:items-center lg:mb-24 md:mb-24 lg:pointer-events-none md:pointer-events-none"> <button class="sm:flex sm:justify-between text-white dark:text-shade-lightest font-brandUI font-extrabold text-l leading-tight sm:pt-18 sm:pb-16 outline-focus" @click="expanded = !expanded" :aria-expanded="expanded" role="button"> Auto <span class="pr-8 lg:hidden md:hidden" x-show="expanded"><svg id="spon-chevron-up-f-s" class="stroke-current" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="s-chevron-up-f-27ca7d20-e41b-4ad0-af6d-4b4a3179d27e"> <g id="s-chevron-right-f-27ca7d20-e41b-4ad0-af6d-4b4a3179d27e"> <g id="s-chevron-right-27ca7d20-e41b-4ad0-af6d-4b4a3179d27e"> <path id="vector-27ca7d20-e41b-4ad0-af6d-4b4a3179d27e" d="M2.667 7.667L6 4.333l3.333 3.334" stroke-width="1.5" stroke-linecap="round"/> </g> </g> </g> </svg> </span> <span class="pr-8 lg:hidden md:hidden" x-show="!expanded" x-cloak><svg id="spon-chevron-down-f-s" class="stroke-current" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="s-chevron-down-f-000cdb59-bf68-4b5b-9ed9-023db8fee50f"> <g id="s-chevron-right-f-000cdb59-bf68-4b5b-9ed9-023db8fee50f"> <g id="s-chevron-right-000cdb59-bf68-4b5b-9ed9-023db8fee50f"> <path id="vector-000cdb59-bf68-4b5b-9ed9-023db8fee50f" d="M9.333 4.333L6 7.667 2.667 4.333" stroke-width="1.5" stroke-linecap="round"/> </g> </g> </g> </svg> </span> </button> <div class="grow border-separator-light h-px lg:ml-8 md:ml-8 lg:mt-2 md:mt-2"></div> </h3> <div class="overflow-hidden" x-show="expanded" :aria-hidden="!expanded"> <ul class="sm:mb-24 font-sansUI font-normal sm:mt-8"> <li> <a href="https://www.spiegel.de/auto/aktuell/bussgeldrechner-was-zu-schnelles-fahren-kostet-a-244772.html" target="_self" title="Bußgeldrechner" class="block text-shade-light hover:text-shade-lightest focus:text-white text-s sm:pb-8 outline-focus">Bußgeldrechner</a> </li> <li> <a href="https://www.spiegel.de/auto/aktuell/firmenwagenrechner-geldwerten-vorteil-und-steuern-berechnen-a-519713.html" target="_self" title="Firmenwagenrechner" class="block text-shade-light hover:text-shade-lightest focus:text-white text-s sm:pb-8 outline-focus">Firmenwagenrechner</a> </li> </ul> </div> </section> </div> <div class="lg:w-4/12 md:w-4/12 lg:px-24 md:px-24"> <section x-data="{ expanded: $store.MediaQuery.breakpoint !== 'sm' }" x-subscribe.media_query_breakpoint_changed="expanded = $store.MediaQuery.breakpoint !== 'sm'" x-lazyload> <h3 class="flex sm:flex-col-reverse lg:items-center md:items-center lg:mb-24 md:mb-24 lg:pointer-events-none md:pointer-events-none"> <button class="sm:flex sm:justify-between text-white dark:text-shade-lightest font-brandUI font-extrabold text-l leading-tight sm:pt-18 sm:pb-16 outline-focus" @click="expanded = !expanded" :aria-expanded="expanded" role="button"> Job <span class="pr-8 lg:hidden md:hidden" x-show="expanded"><svg width="12" height="12"><use xlink:href="#spon-chevron-up-f-s"/></svg> </span> <span class="pr-8 lg:hidden md:hidden" x-show="!expanded" x-cloak><svg width="12" height="12"><use xlink:href="#spon-chevron-down-f-s"/></svg> </span> </button> <div class="grow border-separator-light h-px lg:ml-8 md:ml-8 lg:mt-2 md:mt-2"></div> </h3> <div class="overflow-hidden" x-show="expanded" :aria-hidden="!expanded"> <ul class="sm:mb-24 font-sansUI font-normal sm:mt-8"> <li> <a href="https://www.spiegel.de/wirtschaft/service/brutto-netto-rechner-was-von-lohn-und-gehalt-uebrig-bleibt-a-223811.html" target="_self" title="Brutto-Netto-Rechner" class="block text-shade-light hover:text-shade-lightest focus:text-white text-s sm:pb-8 outline-focus">Brutto-Netto-Rechner</a> </li> <li> <a href="https://www.spiegel.de/wirtschaft/service/kurzarbeitergeld-rechner-so-viel-geld-gibt-es-in-der-kurzarbeit-a-8d856701-4951-4e34-a500-c3ac8ffcc717" target="_self" title="Kurzarbeitergeld-Rechner" class="block text-shade-light hover:text-shade-lightest focus:text-white text-s sm:pb-8 outline-focus">Kurzarbeitergeld-Rechner</a> </li> <li> <a href="https://www.spiegel.de/thema/studienfaecher-erklaert/" target="_self" title="Studienfächer erklärt" class="block text-shade-light hover:text-shade-lightest focus:text-white text-s sm:pb-8 outline-focus">Studienfächer erklärt</a> </li> </ul> </div> </section> </div> <div class="lg:w-4/12 md:w-4/12 lg:px-24 md:px-24"> <section x-data="{ expanded: $store.MediaQuery.breakpoint !== 'sm' }" x-subscribe.media_query_breakpoint_changed="expanded = $store.MediaQuery.breakpoint !== 'sm'" x-lazyload> <h3 class="flex sm:flex-col-reverse lg:items-center md:items-center lg:mb-24 md:mb-24 lg:pointer-events-none md:pointer-events-none"> <button class="sm:flex sm:justify-between text-white dark:text-shade-lightest font-brandUI font-extrabold text-l leading-tight sm:pt-18 sm:pb-16 outline-focus" @click="expanded = !expanded" :aria-expanded="expanded" role="button"> Finanzen <span class="pr-8 lg:hidden md:hidden" x-show="expanded"><svg width="12" height="12"><use xlink:href="#spon-chevron-up-f-s"/></svg> </span> <span class="pr-8 lg:hidden md:hidden" x-show="!expanded" x-cloak><svg width="12" height="12"><use xlink:href="#spon-chevron-down-f-s"/></svg> </span> </button> <div class="grow border-separator-light h-px lg:ml-8 md:ml-8 lg:mt-2 md:mt-2"></div> </h3> <div class="overflow-hidden" x-show="expanded" :aria-hidden="!expanded"> <ul class="sm:mb-24 font-sansUI font-normal sm:mt-8"> <li> <a href="https://www.spiegel.de/wirtschaft/service/gehaltsrechner-gehoeren-sie-zu-den-oberen-zehn-prozent-a-f5a19d00-84b3-407f-aff2-bce27e8088cf" target="_self" title="Gehaltsvergleich" class="block text-shade-light hover:text-shade-lightest focus:text-white text-s sm:pb-8 outline-focus">Gehaltsvergleich</a> </li> <li> <a href="https://www.spiegel.de/wirtschaft/service/versicherung-check-fuer-haftpflicht-hausrat-berufsunfaehigkeit-a-960380.html" target="_self" title="Versicherungen" class="block text-shade-light hover:text-shade-lightest focus:text-white text-s sm:pb-8 outline-focus">Versicherungen</a> </li> <li> <a href="https://boersen.manager-magazin.de/spon/devisen_uebersicht.htn#rechner" target="_self" title="Währungsrechner" class="block text-shade-light hover:text-shade-lightest focus:text-white text-s sm:pb-8 outline-focus">Währungsrechner</a> </li> </ul> </div> </section> </div> </div> <div class="flex sm:flex-col lg:mb-56 md:mb-32 sm:mx-16"> <div class="w-full lg:px-24 md:px-24"> <section x-data="{ expanded: $store.MediaQuery.breakpoint !== 'sm' }" x-subscribe.media_query_breakpoint_changed="expanded = $store.MediaQuery.breakpoint !== 'sm'" x-lazyload> <h3 class="flex sm:flex-col-reverse lg:items-center md:items-center lg:mb-24 md:mb-24 lg:pointer-events-none md:pointer-events-none"> <button class="sm:flex sm:justify-between text-white dark:text-shade-lightest font-brandUI font-extrabold text-l leading-tight sm:pt-18 sm:pb-16 outline-focus" @click="expanded = !expanded" :aria-expanded="expanded" role="button"> Freizeit <span class="pr-8 lg:hidden md:hidden" x-show="expanded"><svg width="12" height="12"><use xlink:href="#spon-chevron-up-f-s"/></svg> </span> <span class="pr-8 lg:hidden md:hidden" x-show="!expanded" x-cloak><svg width="12" height="12"><use xlink:href="#spon-chevron-down-f-s"/></svg> </span> </button> <div class="grow border-separator-light h-px lg:ml-8 md:ml-8 lg:mt-2 md:mt-2"></div> </h3> <div class="flex overflow-hidden sm:flex-col" x-show="expanded" :aria-hidden="!expanded"> <div class="lg:w-4/12 md:w-4/12"> <ul class="font-sansUI font-normal sm:mt-8"> <li> <a href="https://www.amazon.de/stores/page/9A033B74-B98E-4CE4-BB30-C47BD542801B?_encoding=UTF8&camp=1638&creative=6742&linkCode=ur2&linkId=ddec9c715dda90b1e0d431bb3abc5d3c&tag=wwwspiegelde-21" target="_self" title="Bücher bestellen" class="block text-shade-light hover:text-shade-lightest focus:text-white text-s sm:pb-8 outline-focus">Bücher bestellen</a> </li> <li> <a href="https://ad3.adfarm1.adition.com/redi?bid=10752058&kid=3485247&sid=4117394" target="_self" title="Eurojackpot" class="block text-shade-light hover:text-shade-lightest focus:text-white text-s sm:pb-8 outline-focus">Eurojackpot</a> </li> <li> <a href="https://ad3.adfarm1.adition.com/redi?bid=10752059&kid=3485249&sid=4117394" target="_self" title="GlücksSpirale" class="block text-shade-light hover:text-shade-lightest focus:text-white text-s sm:pb-8 outline-focus">GlücksSpirale</a> </li> </ul> </div> <div class="lg:w-4/12 md:w-4/12"> <ul class="font-sansUI font-normal"> <li> <a href="https://ad3.adfarm1.adition.com/redi?bid=10752060&kid=3485248&sid=4117394" target="_self" title="LOTTO 6aus49" class="block text-shade-light hover:text-shade-lightest focus:text-white text-s sm:pb-8 outline-focus">LOTTO 6aus49</a> </li> <li> <a href="https://seniorenportal.spiegel.de/" target="_self" title="Seniorenportal" class="block text-shade-light hover:text-shade-lightest focus:text-white text-s sm:pb-8 outline-focus">Seniorenportal</a> </li> <li> <a href="https://spiele.spiegel.de/?utm_campaign=startseite&utm_medium=footer_navigation&utm_source=spiegel_de" target="_self" title="Spiele" class="block text-shade-light hover:text-shade-lightest focus:text-white text-s sm:pb-8 outline-focus">Spiele</a> </li> </ul> </div> <div class="lg:w-4/12 md:w-4/12"> <ul class="font-sansUI font-normal sm:mb-24"> <li> <a href="https://streaming-guide.spiegel.de/" target="_self" title="Streaming Guide" class="block text-shade-light hover:text-shade-lightest focus:text-white text-s sm:pb-8 outline-focus">Streaming Guide</a> </li> <li> <a href="https://www.spiegel.de/panorama/taegliches-quiz-beim-spiegel-7-fragen-zum-allgemeinwissen-pro-tag-a-8a9692b2-4462-4192-942c-fd7809c7519c" target="_self" title="Das tägliche Quiz" class="block text-shade-light hover:text-shade-lightest focus:text-white text-s sm:pb-8 outline-focus">Das tägliche Quiz</a> </li> </ul> </div> </div> </section> </div> </nav> <div class="bg-black lg:py-40 md:py-32 sm:py-24 sm:mt-8" data-area="magazine-slider" data-app-article-issue-context-hidden> <div class="text-white dark:text-shade-lightest font-brandUI font-extrabold text-l leading-tight lg:text-center md:text-center sm:text-left"> <div class="text-white dark:text-shade-lightest font-brandUI font-extrabold text-l leading-tight lg:text-center md:text-center sm:px-16"> Alle Magazine des SPIEGEL </div> <div class="relative lg:mx-24 md:mx-24 sm:mx-16 font-sansUI lg:mt-32 md:mt-32 sm:mt-24" x-data x-swiper="{roundLengths: true,slidesPerView: 'auto',watchOverflow: false,}" x-lazyload> <div class="polygon-swiper-button-prev absolute top-0 bottom-0 left-0 z-10 flex items-stretch focus:outline-none select-none"> <span class="md:hidden sm:hidden bg-black text-center pr-8 -ml-8 cursor-pointer pt-80"><svg width="24" height="24"><use xlink:href="#spon-chevron-left-l"/></svg> </span> <span class="bg-gradient-to-r from-black w-24"></span> </div> <div class="polygon-swiper grow overflow-hidden"> <ul class="polygon-swiper-wrapper flex flex-nowrap relative font-sansUI text-s font-bold text-center"> <li class="polygon-swiper-slide shrink-0 leading-normal sm:mr-16 md:mr-32 lg:mr-32"> <a href="https://www.spiegel.de/spiegel/print/index-2025.html" target="_self" class="block min-h-full text-black dark:text-shade-lightest lg:w-136 md:w-136 sm:w-120" title="DER SPIEGEL" style="outline-offset: -3px;"> <span class="block lg:h-180 md:h-180 sm:h-160 mb-8"> <img class="block lazyload lg:max-h-180 md:max-h-180 sm:max-h-160 mx-auto" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 136 181' width='136' height='181' %3E%3C/svg%3E" data-src="https://cdn.magazin.spiegel.de/EpubDelivery/image/title/SP/-1/-1/136" data-srcset="https://cdn.magazin.spiegel.de/EpubDelivery/image/title/SP/-1/-1/136 1x, https://cdn.magazin.spiegel.de/EpubDelivery/image/title/SP/-1/-1/272 2x" width="136" height="181" alt="Cover: DER SPIEGEL"> </span> <span class="focus:text-shade-base hover:text-shade-lighter text-white dark:text-shade-lightest">DER SPIEGEL</span> </a> </li> <li class="polygon-swiper-slide shrink-0 leading-normal sm:mr-16 md:mr-32 lg:mr-32"> <a href="https://www.spiegel.de/spiegel/print/index-2025-54.html" target="_self" class="block min-h-full text-black dark:text-shade-lightest lg:w-136 md:w-136 sm:w-120" title="SPIEGEL SPEZIAL" style="outline-offset: -3px;"> <span class="block lg:h-180 md:h-180 sm:h-160 mb-8"> <img class="block lazyload lg:max-h-180 md:max-h-180 sm:max-h-160 mx-auto" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 136 181' width='136' height='181' %3E%3C/svg%3E" data-src="https://cdn.prod.www.spiegel.de/images/0dce4bbb-f2c0-4f4f-a09a-e8ab2def5fd2_w136_r0.75_fpx50_fpy52.52.jpg" data-srcset="https://cdn.prod.www.spiegel.de/images/0dce4bbb-f2c0-4f4f-a09a-e8ab2def5fd2_w136_r0.75_fpx50_fpy52.52.jpg 1x, https://cdn.prod.www.spiegel.de/images/0dce4bbb-f2c0-4f4f-a09a-e8ab2def5fd2_w272_r0.75_fpx50_fpy52.52.jpg 2x" width="136" height="181" alt="Cover: SPIEGEL SPEZIAL"> </span> <span class="focus:text-shade-base hover:text-shade-lighter text-white dark:text-shade-lightest">SPIEGEL SPEZIAL</span> </a> </li> <li class="polygon-swiper-slide shrink-0 leading-normal sm:mr-16 md:mr-32 lg:mr-32"> <a href="https://www.spiegel.de/spiegel/spiegelgeschichte/index-2025.html" target="_self" class="block min-h-full text-black dark:text-shade-lightest lg:w-136 md:w-136 sm:w-120" title="SPIEGEL GESCHICHTE" style="outline-offset: -3px;"> <span class="block lg:h-180 md:h-180 sm:h-160 mb-8"> <img class="block lazyload lg:max-h-180 md:max-h-180 sm:max-h-160 mx-auto" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 136 181' width='136' height='181' %3E%3C/svg%3E" data-src="https://cdn.magazin.spiegel.de/EpubDelivery/image/title/SPGE/-1/-1/136" data-srcset="https://cdn.magazin.spiegel.de/EpubDelivery/image/title/SPGE/-1/-1/136 1x, https://cdn.magazin.spiegel.de/EpubDelivery/image/title/SPGE/-1/-1/272 2x" width="136" height="181" alt="Cover: SPIEGEL GESCHICHTE"> </span> <span class="focus:text-shade-base hover:text-shade-lighter text-white dark:text-shade-lightest">SPIEGEL GESCHICHTE</span> </a> </li> <li class="polygon-swiper-slide shrink-0 leading-normal sm:mr-16 md:mr-32 lg:mr-32"> <a href="https://www.amazon.de/dp/B0DS5CRSZ6?tag=spiegel1-21" target="_blank" class="block min-h-full text-black dark:text-shade-lightest lg:w-136 md:w-136 sm:w-120" title="SPIEGEL COACHING" style="outline-offset: -3px;"> <span class="block lg:h-180 md:h-180 sm:h-160 mb-8"> <img class="block lazyload lg:max-h-180 md:max-h-180 sm:max-h-160 mx-auto" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 136 181' width='136' height='181' %3E%3C/svg%3E" data-src="https://cdn.prod.www.spiegel.de/images/e37344a9-8126-4082-9c0f-d5167f3654f4_w136_r0.75_fpx50_fpy52.52.jpg" data-srcset="https://cdn.prod.www.spiegel.de/images/e37344a9-8126-4082-9c0f-d5167f3654f4_w136_r0.75_fpx50_fpy52.52.jpg 1x, https://cdn.prod.www.spiegel.de/images/e37344a9-8126-4082-9c0f-d5167f3654f4_w272_r0.75_fpx50_fpy52.52.jpg 2x" width="136" height="181" alt="Cover: SPIEGEL COACHING"> </span> <span class="focus:text-shade-base hover:text-shade-lighter text-white dark:text-shade-lightest">SPIEGEL COACHING</span> </a> </li> <li class="polygon-swiper-slide shrink-0 leading-normal sm:mr-16 md:mr-32 lg:mr-32"> <a href="https://www.spiegel.de/spiegel/deinspiegel/index-2025.html" target="_self" class="block min-h-full text-black dark:text-shade-lightest lg:w-136 md:w-136 sm:w-120" title="Dein SPIEGEL" style="outline-offset: -3px;"> <span class="block lg:h-180 md:h-180 sm:h-160 mb-8"> <img class="block lazyload lg:max-h-180 md:max-h-180 sm:max-h-160 mx-auto" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 136 175' width='136' height='175' %3E%3C/svg%3E" data-src="https://cdn.magazin.spiegel.de/EpubDelivery/image/title/DEIN/-1/-1/136" data-srcset="https://cdn.magazin.spiegel.de/EpubDelivery/image/title/DEIN/-1/-1/136 1x, https://cdn.magazin.spiegel.de/EpubDelivery/image/title/DEIN/-1/-1/272 2x" width="136" height="175" alt="Cover: Dein SPIEGEL"> </span> <span class="focus:text-shade-base hover:text-shade-lighter text-white dark:text-shade-lightest">Dein SPIEGEL</span> </a> </li> <li class="polygon-swiper-slide shrink-0 leading-normal sm:mr-16 md:mr-32 lg:mr-32"> <a href="https://www.spiegel.de/spiegel/spjc/index-2024-1.html" target="_self" class="block min-h-full text-black dark:text-shade-lightest lg:w-136 md:w-136 sm:w-120" title="SPIEGEL CHRONIK" style="outline-offset: -3px;"> <span class="block lg:h-180 md:h-180 sm:h-160 mb-8"> <img class="block lazyload lg:max-h-180 md:max-h-180 sm:max-h-160 mx-auto" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 136 181' width='136' height='181' %3E%3C/svg%3E" data-src="https://cdn.prod.www.spiegel.de/images/03826a3e-1734-4bb8-85c6-82ff31da8d2d_w136_r0.75_fpx50_fpy60.jpg" data-srcset="https://cdn.prod.www.spiegel.de/images/03826a3e-1734-4bb8-85c6-82ff31da8d2d_w136_r0.75_fpx50_fpy60.jpg 1x, https://cdn.prod.www.spiegel.de/images/03826a3e-1734-4bb8-85c6-82ff31da8d2d_w272_r0.75_fpx50_fpy60.jpg 2x" width="136" height="181" alt="Cover: SPIEGEL CHRONIK"> </span> <span class="focus:text-shade-base hover:text-shade-lighter text-white dark:text-shade-lightest">SPIEGEL CHRONIK</span> </a> </li> <li class="polygon-swiper-slide shrink-0 leading-normal sm:mr-16 md:mr-32 lg:mr-32"> <a href="https://www.spiegel.de/spiegel/spsm/index-2024.html" target="_self" class="block min-h-full text-black dark:text-shade-lightest lg:w-136 md:w-136 sm:w-120" title="S-Magazin" style="outline-offset: -3px;"> <span class="block lg:h-180 md:h-180 sm:h-160 mb-8"> <img class="block lazyload lg:max-h-180 md:max-h-180 sm:max-h-160 mx-auto" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 136 198' width='136' height='198' %3E%3C/svg%3E" data-src="https://cdn.magazin.spiegel.de/EpubDelivery/image/title/SPSM/-1/-1/136" data-srcset="https://cdn.magazin.spiegel.de/EpubDelivery/image/title/SPSM/-1/-1/136 1x, https://cdn.magazin.spiegel.de/EpubDelivery/image/title/SPSM/-1/-1/272 2x" width="136" height="198" alt="Cover: S-Magazin"> </span> <span class="focus:text-shade-base hover:text-shade-lighter text-white dark:text-shade-lightest">S-Magazin</span> </a> </li> <li class="polygon-swiper-slide shrink-0 leading-normal sm:mr-16 md:mr-32 lg:mr-32"> <a href="https://www.spiegel.de/spiegel/spbest/index-2024.html" target="_self" class="block min-h-full text-black dark:text-shade-lightest lg:w-136 md:w-136 sm:w-120" title="SPIEGEL BESTSELLER" style="outline-offset: -3px;"> <span class="block lg:h-180 md:h-180 sm:h-160 mb-8"> <img class="block lazyload lg:max-h-180 md:max-h-180 sm:max-h-160 mx-auto" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 136 181' width='136' height='181' %3E%3C/svg%3E" data-src="https://cdn.prod.www.spiegel.de/images/de7bbbb9-21bc-416a-b0fe-740dfb047529_w136_r0.75_fpx44.98_fpy41.78.jpg" data-srcset="https://cdn.prod.www.spiegel.de/images/de7bbbb9-21bc-416a-b0fe-740dfb047529_w136_r0.75_fpx44.98_fpy41.78.jpg 1x, https://cdn.prod.www.spiegel.de/images/de7bbbb9-21bc-416a-b0fe-740dfb047529_w272_r0.75_fpx44.98_fpy41.78.jpg 2x" width="136" height="181" alt="Cover: SPIEGEL BESTSELLER"> </span> <span class="focus:text-shade-base hover:text-shade-lighter text-white dark:text-shade-lightest">SPIEGEL BESTSELLER</span> </a> </li> <li class="polygon-swiper-slide shrink-0 leading-normal sm:mr-16 md:mr-32 lg:mr-32"> <a href="https://www.spiegel.de/spiegel/spiegelwissen/index-2024.html" target="_self" class="block min-h-full text-black dark:text-shade-lightest lg:w-136 md:w-136 sm:w-120" title="SPIEGEL WISSEN" style="outline-offset: -3px;"> <span class="block lg:h-180 md:h-180 sm:h-160 mb-8"> <img class="block lazyload lg:max-h-180 md:max-h-180 sm:max-h-160 mx-auto" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 136 181' width='136' height='181' %3E%3C/svg%3E" data-src="https://cdn.magazin.spiegel.de/EpubDelivery/image/title/SPWI/-1/-1/136" data-srcset="https://cdn.magazin.spiegel.de/EpubDelivery/image/title/SPWI/-1/-1/136 1x, https://cdn.magazin.spiegel.de/EpubDelivery/image/title/SPWI/-1/-1/272 2x" width="136" height="181" alt="Cover: SPIEGEL WISSEN"> </span> <span class="focus:text-shade-base hover:text-shade-lighter text-white dark:text-shade-lightest">SPIEGEL WISSEN</span> </a> </li> </ul> </div> <div class="polygon-swiper-button-next absolute top-0 right-0 bottom-0 z-10 flex items-stretch focus:outline-none select-none"> <span class="bg-gradient-to-l from-black w-24"></span> <span class="md:hidden sm:hidden bg-black text-center pl-8 -mr-8 cursor-pointer pt-80"><svg width="24" height="24"><use xlink:href="#spon-chevron-right-l"/></svg> </span> </div> </div> </div> </div> <nav role="navigation" class="lg:pt-40 md:pt-32 sm:pt-32 lg:px-24 md:px-24 sm:px-16" data-area="spiegel-group" data-app-article-issue-context-hidden> <h2 class="text-white dark:text-shade-lightest font-brandUI font-extrabold text-l leading-tight md:text-center lg:text-center mb-16"> SPIEGEL Gruppe </h2> <ul class="font-normal font-sansUI lg:text-center md:text-center"> <li class="inline-block pr-8 sm:pr-16 sm:pb-18"> <a href="https://abo.spiegel.de/?b=SPOHFOOTER&utm_campaign=abbinder&utm_content=SPOHFOOTER&utm_medium=text&utm_source=spon" target="_blank" title="Abo" class="text-shade-light text-s hover:text-shade-lightest focus:text-white" data-app-hidden>Abo</a> </li> <li class="inline-block pr-8 sm:pr-16 sm:pb-18"> <a href="https://gruppenkonto.spiegel.de/kuendigung.html" target="_blank" title="Abo kündigen" class="text-shade-light text-s hover:text-shade-lightest focus:text-white" data-app-hidden>Abo kündigen</a> </li> <li class="inline-block pr-8 sm:pr-16 sm:pb-18"> <a href="https://www.amazon.de/stores/page/9A033B74-B98E-4CE4-BB30-C47BD542801B?_encoding=UTF8&camp=1638&creative=6742&linkCode=ur2&linkId=ddec9c715dda90b1e0d431bb3abc5d3c&tag=wwwspiegelde-21" target="_blank" title="Shop" class="text-shade-light text-s hover:text-shade-lightest focus:text-white">Shop</a> </li> <li class="inline-block pr-8 sm:pr-16 sm:pb-18"> <a href="https://www.manager-magazin.de/" target="_blank" title="manager magazin" class="text-shade-light text-s hover:text-shade-lightest focus:text-white" data-app-hidden>manager magazin</a> </li> <li class="inline-block pr-8 sm:pr-16 sm:pb-18"> <a href="https://www.manager-magazin.de/hbm/" target="_blank" title="Harvard Business manager" class="text-shade-light text-s hover:text-shade-lightest focus:text-white" data-app-hidden>Harvard Business manager</a> </li> <li class="inline-block pr-8 sm:pr-16 sm:pb-18"> <a href="https://www.11freunde.de" target="_blank" title="11FREUNDE" class="text-shade-light text-s hover:text-shade-lightest focus:text-white" data-app-hidden>11FREUNDE</a> </li> <li class="inline-block pr-8 sm:pr-16 sm:pb-18"> <a href="https://spiegel.media/" target="_blank" title="Werbung" class="text-shade-light text-s hover:text-shade-lightest focus:text-white">Werbung</a> </li> <li class="inline-block pr-8 sm:pr-16 sm:pb-18"> <a href="https://www.spiegelgruppe.de/karriere/stellenboerse-in-der-spiegel-gruppe" target="_blank" title="Jobs" class="text-shade-light text-s hover:text-shade-lightest focus:text-white">Jobs</a> </li> <li class="inline-block pr-8 sm:pr-16 sm:pb-18"> <a href="https://manufaktur.spiegel.de/" target="_blank" title="MANUFAKTUR" class="text-shade-light text-s hover:text-shade-lightest focus:text-white">MANUFAKTUR</a> </li> <li class="inline-block pr-8 sm:pr-16 sm:pb-18"> <a href="https://akademie.spiegel.de/" target="_blank" title="SPIEGEL Akademie" class="text-shade-light text-s hover:text-shade-lightest focus:text-white">SPIEGEL Akademie</a> </li> <li class="inline-block pr-8 sm:pr-16 sm:pb-18"> <a href="https://ed.spiegel.de" target="_blank" title="SPIEGEL Ed" class="text-shade-light text-s hover:text-shade-lightest focus:text-white">SPIEGEL Ed</a> </li> </ul> </nav> <div class="border-separator-light h-px my-24 lg:mx-24 md:mx-24 sm:mx-16" data-app-article-issue-context-hidden data-is-first-child-hidden></div> <nav role="navigation" class="lg:px-24 md:px-24 sm:px-16" data-area="more-links"> <ul class="lg:text-center md:text-center font-sansUI font-normal"> <li class="inline-block pr-16 sm:pb-18"> <a href="https://www.spiegel.de/impressum" target="_self" title="Impressum" class="text-s text-shade-light hover:text-shade-lightest focus:text-white">Impressum</a> </li> <li class="inline-block pr-16 sm:pb-18"> <a href="https://www.spiegel.de/datenschutz-spiegel" target="_self" title="Datenschutz" class="text-s text-shade-light hover:text-shade-lightest focus:text-white">Datenschutz</a> </li> <li class="inline-block pr-16 sm:pb-18"> <a href="https://www.spiegel.de/nutzungsbedingungen" target="_self" title="Nutzungsbedingungen" class="text-s text-shade-light hover:text-shade-lightest focus:text-white">Nutzungsbedingungen</a> </li> <li class="inline-block pr-16 sm:pb-18"> <a href="https://www.spiegel.de/teilnahmebedingungen" target="_self" title="Teilnahmebedingungen" class="text-s text-shade-light hover:text-shade-lightest focus:text-white">Teilnahmebedingungen</a> </li> <li class="inline-block pr-16 sm:pb-18"> <a href="#sp_privacy_manager" target="_self" title="Cookies & Tracking" class="text-s text-shade-light hover:text-shade-lightest focus:text-white">Cookies & Tracking</a> </li> <li class="inline-block pr-16 sm:pb-18"> <a href="https://www.spiegel.de/newsletter" target="_self" title="Newsletter" class="text-s text-shade-light hover:text-shade-lightest focus:text-white">Newsletter</a> </li> <li class="inline-block pr-16 sm:pb-18"> <a href="https://www.spiegel.de/kontakt" target="_self" title="Kontakt" class="text-s text-shade-light hover:text-shade-lightest focus:text-white">Kontakt</a> </li> <li class="inline-block pr-16 sm:pb-18"> <a href="https://www.spiegel.de/services/" target="_self" title="Hilfe & Service" class="text-s text-shade-light hover:text-shade-lightest focus:text-white">Hilfe & Service</a> </li> <li class="inline-block pr-16 sm:pb-18"> <a href="https://www.spiegelgruppe.de/syndication" target="_blank" title="Text- & Nutzungsrechte" class="text-s text-shade-light hover:text-shade-lightest focus:text-white">Text- & Nutzungsrechte</a> </li> </ul> <ul class="flex lg:justify-center md:justify-center sm:justify-start lg:text-center md:text-center sm:flex-wrap lg:mt-12 md:mt-12" data-app-article-issue-context-hidden> <li class="lg:px-12 md:px-12 sm:pr-24 sm:pb-18"> <a href="https://www.facebook.com/DerSpiegel/" target="_blank" title="Facebook" class="flex items-center text-s font-sansUI font-normal text-shade-light hover:text-shade-lightest focus:text-white"><svg width="24" height="24"><use xlink:href="#spon-facebook-l"/></svg> <span class="ml-8 text-left">Facebook</span> </a> </li> <li class="lg:px-12 md:px-12 sm:pr-24 sm:pb-18"> <a href="https://www.instagram.com/spiegelmagazin/" target="_blank" title="Instagram" class="flex items-center text-s font-sansUI font-normal text-shade-light hover:text-shade-lightest focus:text-white"><svg id="spon-instagram-l" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <rect x="9" y="9" width="6" height="6" rx="3" class="stroke-current"/> <rect x="4.5" y="4.5" width="15" height="15" rx="3.5" class="stroke-current"/> <rect x="15.5" y="6.5" width="2" height="2" rx="1" class="fill-current"/> </svg> <span class="ml-8 text-left">Instagram</span> </a> </li> <li class="lg:px-12 md:px-12 sm:pr-24 sm:pb-18"> <a href="https://www.spiegel.de/backstage/bei-diesen-diensten-koennen-sie-dem-spiegel-folgen-a-a68cce85-8be8-4707-bd6e-0706090cbbbe" target="_self" title="Wo Sie uns noch folgen können" class="flex items-center text-s font-sansUI font-normal text-shade-light hover:text-shade-lightest focus:text-white"><svg id="spon-website-l" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <circle cx="12" cy="11.984" r="8.65" class="stroke-current" stroke-width=".7"/> <path class="stroke-current" stroke-width=".7" d="M3 11.634h18M12.069 2.984v18M17.05 11.984c0 2.433-.592 4.619-1.532 6.184-.943 1.573-2.198 2.466-3.518 2.466-1.32 0-2.575-.893-3.518-2.466-.94-1.565-1.532-3.75-1.532-6.184 0-2.432.592-4.618 1.532-6.184C9.425 4.228 10.68 3.334 12 3.334c1.32 0 2.575.894 3.518 2.466.94 1.566 1.532 3.752 1.532 6.184z"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M19.163 17.434c-1.644-1.295-4.24-2.13-7.163-2.13-2.922 0-5.52.835-7.163 2.13.141.185.29.365.445.54a7.03 7.03 0 01.714-.489C7.5 16.584 9.62 16.003 12 16.003c2.38 0 4.501.58 6.004 1.482.26.156.498.32.714.488.155-.174.304-.354.445-.54zM12 7.684c-2.38 0-4.501-.58-6.004-1.481-.2-.12-.388-.245-.562-.374-.16.17-.314.348-.46.53C6.624 7.594 9.158 8.384 12 8.384c2.842 0 5.377-.79 7.026-2.025-.146-.182-.3-.36-.46-.53a7.227 7.227 0 01-.562.374C16.5 7.104 14.38 7.684 12 7.684z" class="fill-current"/> </svg> <span class="ml-8 text-left"> Wo Sie uns noch folgen können </span> </a> </li> </ul> </nav> <div style="height: var(--polygon-app-bottombar-height, 0px)"></div> </div> </footer> </div> </div> <script>if (typeof(Event) === 'function') {window.dispatchEvent(new Event('POLYGON_DOM_FOOTER_READY'));}</script> <div data-area="menu-drawer" x-cloak x-app-ignore aria-hidden="true" :aria-hidden="!isOpen" x-data="{isOpen: false,lastActiveElement: null,initialX: null,initialY: null,onTouchStart: (event) => {$data.initialX = event.touches[0].clientX;$data.initialY = event.touches[0].clientY;},onTouchMove: (event) => {if ($data.initialX === null || $data.initialY === null) {return;}const currentX = event.touches[0].clientX;const currentY = event.touches[0].clientY;const diffX = $data.initialX - currentX;const diffY = $data.initialY - currentY;const tolerance = 5;const yTolerance = (diffY > -Math.abs(tolerance)) && (diffY < Math.abs(tolerance));if (Math.abs(diffX) > Math.abs(diffY)) {$data.isOpen = !(diffX > 0 && yTolerance);}$data.initialX = null;$data.initialY = null;},}" x-subscribe.open_menu_drawer="isOpen = true;" @keyup.escape="if (!$event.defaultPrevented && isOpen) { $event.preventDefault(); isOpen = false; }" @touchstart.passive="onTouchStart($event)" @touchmove.passive="onTouchMove($event)"> <div class="z-overlay w-full h-full top-0 left-0 bg-shade-darkest dark:bg-shade-darker opacity-slight" :class="isOpen ? 'fixed' : ''" @click="isOpen = false"> </div> <div class="fixed h-screen left-0 top-0 w-12 z-max" @touchstart.passive="onTouchStart($event)" @touchmove.passive="onTouchMove($event)"> </div> <nav role="navigation" class="h-full bg-white dark:bg-dm-shade-darkest scrolling-touch py-24 fixed z-overlay top-0 left-0 overflow-y-scroll overflow-x-hidden lg:w-320 md:w-320 sm:w-10/12 sm:max-w-320 shadow" x-show="isOpen" x-transition:enter="transition-transform duration-300" x-transition:enter-start="-translate-x-320" x-transition:leave="transition-transform duration-300" x-transition:leave-end="-translate-x-320"> <a class="absolute opacity-none pointer-events-none" aria-hidden="true" tabindex="-1" x-effect="if (isOpen) { lastActiveElement = document.activeElement; $focus(); } else if (lastActiveElement) { $focus(lastActiveElement) }" role="none"></a> <ul> <li class="mb-24 mx-16" data-logged-in-hidden="true" data-app-hidden> <a href="https://gruppenkonto.spiegel.de/authenticate?requestAccessToken=true&targetUrl=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078" class="inline-flex items-center font-bold font-sansUI rounded bg-primary-base dark:bg-dm-primary-base text-white dark:text-shade-lightest hover:bg-primary-dark focus:bg-primary-darker px-24 min-h-46 w-full justify-center gap-12" title="Anmelden" data-sara-link="gruppenkonto" target="_self"> <span data-label class="text-base leading-18">Anmelden</span> <span class="leading-none"><svg width="12" height="12"><use xlink:href="#spon-chevron-right-f-s"/></svg> </span> </a> </li> <li class="mb-24 mx-16" data-app-hidden> <a href="https://abo.spiegel.de/?b=SPOHNAVABO&requestAccessToken=true&sara_icid=disp_upd_29XQyizZpONhof5Y1Ofij2PEnvwIG6&targetUrl=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078" class="inline-flex items-center font-bold font-sansUI rounded bg-white hover:border-black border border-shade-base text-black focus:border-black focus:bg-shade-lightest dark:bg-dm-shade-darkest dark:text-shade-lightest dark:focus:border-white dark:border-shade-light dark:hover:border-white dark:focus:bg-black px-24 min-h-46 w-full justify-center gap-12" title="Abonnement" target="_blank"> <span data-label class="text-base leading-18">Abonnement</span> <span class="leading-none"><svg width="12" height="12"><use xlink:href="#spon-chevron-right-f-s"/></svg> </span> </a> </li> <li class="mb-32 mx-16"> <form action="https://www.spiegel.de/suche/" role="search" class="relative"> <div class="inline-flex flex-col w-full"> <div class="group relative flex flex-col"> <input id="search-menu-field" name="suchbegriff" placeholder="spiegel.de durchsuchen ..." x-ref="input" class="peer appearance-none rounded placeholder-shade-base dark:disabled:placeholder-shade-dark outline-focus disabled:cursor-not-allowed pl-12 pr-48 py-12 font-sansUI leading-normal text-black dark:text-shade-lightest text-base bg-white dark:bg-shade-darkest dark:disabled:bg-dm-shade-darkest read-only:bg-shade-lightest dark:read-only:bg-black border border-shade-base hover:border-black disabled:border-shade-lighter read-only:border-shade-lighter dark:read-only:border-shade-dark dark:border-shade-light dark:hover:border-shade-lightest dark:disabled:border-shade-dark autofill:transition-colors autofill:duration-max"> <span class="absolute top-0 bottom-0 right-0 pr-12 pointer-events-none flex items-center text-shade-darker dark:text-shade-lightest group-hover:text-shade-darkest dark:group-hover:text-shade-lightest peer-disabled:text-shade-base dark:peer-disabled:text-shade-dark" data-input-el="icon"><svg width="24" height="24"><use xlink:href="#spon-search-l"/></svg> </span> </div> </div> <button class="absolute top-0 right-0 bottom-0 w-48" title="Suche starten" data-sara-click-el="button"> <span class="sr-only">Suche starten</span> </button> </form> </li> <li> <a href="https://www.spiegel.de/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Startseite"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Startseite</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <a href="https://www.spiegel.de/schlagzeilen/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Schlagzeilen"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Schlagzeilen</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <a href="https://www.spiegel.de/thema/nahostkonflikt/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Nahostkonflikt"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Nahostkonflikt</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <a href="https://www.spiegel.de/thema/bundestagswahl-2025/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Bundestagswahl"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Bundestagswahl</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <a href="https://www.spiegel.de/thema/ukraine_konflikt/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Ukrainekrieg"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Ukrainekrieg</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <a href="https://www.spiegel.de/newsletter" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Newsletter"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Newsletter</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <a href="https://www.spiegel.de/debatten/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Debatte"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Debatte</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <a href="https://www.spiegel.de/extra" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="SPIEGEL Extra"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">SPIEGEL Extra</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <a href="https://www.spiegel.de/games/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Games und Quiz"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Games und Quiz</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li class="mb-16 mt-32"> <a href="https://www.spiegel.de/plus/" class="bg-primary-base dark:bg-dm-primary-base focus:bg-primary-darker font-bold font-sansUI hover:bg-primary-dark inline-block leading-normal py-16 pl-16 pr-20 text-base text-white dark:text-shade-lightest w-full" target="_self" title="SPIEGEL+"> <span class="flex justify-between"> <span class="relative bottom-px">SPIEGEL+</span> <span class="flex leading-none items-center ml-12"><svg width="12" height="12"><use xlink:href="#spon-chevron-right-f-s"/></svg> </span> </span> </a> </li> <li class="mb-16 mt-32"> <a href="https://www.spiegel.de/magazine" class="bg-primary-base dark:bg-dm-primary-base focus:bg-primary-darker font-bold font-sansUI hover:bg-primary-dark inline-block leading-normal py-16 pl-16 pr-20 text-base text-white dark:text-shade-lightest w-full" target="_self" title="Magazine"> <span class="flex justify-between"> <span class="relative bottom-px">Magazine</span> <span class="flex leading-none items-center ml-12"><svg width="12" height="12"><use xlink:href="#spon-chevron-right-f-s"/></svg> </span> </span> </a> </li> <li> <a href="https://www.spiegel.de/thema/meinung/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Meinung"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Meinung</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://www.spiegel.de/politik/deutschland/" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-primary-base dark:text-dm-primary-base" title="Politik" target="_self"> <span class="block font-sansUI font-bold py-16">Politik</span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base outline-focus hover:text-primary-dark focus:text-primary-darker active:text-primary-darker" @click="expanded = !expanded"> <span class="flex items-center py-18 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg id="spon-chevron-up-f-m" class="stroke-current" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="m-chevron-up-f-8c022a68-43da-4f0f-8e28-65ff01415c50"> <g id="m-chevron-right-f-8c022a68-43da-4f0f-8e28-65ff01415c50"> <g id="m-chevron-right-8c022a68-43da-4f0f-8e28-65ff01415c50"> <path id="vector-8c022a68-43da-4f0f-8e28-65ff01415c50" d="M4 10l4-4 4 4" stroke-width="1.8" stroke-linecap="round"/> </g> </g> </g> </svg> </span> <span class="leading-none" x-show="!expanded"><svg id="spon-chevron-down-f-m" class="stroke-current" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="m-chevron-down-f-20792cce-352a-4d45-8ed4-e2b57a2607a9"> <g id="m-chevron-right-f-20792cce-352a-4d45-8ed4-e2b57a2607a9"> <g id="m-chevron-right-20792cce-352a-4d45-8ed4-e2b57a2607a9"> <path id="vector-20792cce-352a-4d45-8ed4-e2b57a2607a9" d="M12 6l-4 4-4-4" stroke-width="1.8" stroke-linecap="round"/> </g> </g> </g> </svg> </span> </span> <span class="sr-only">Menü Politik aufklappen</span> </button> </span> <ul class="overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li> <a href="https://www.spiegel.de/thema/bundesregierung/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Bundesregierung"> <span class="block font-sansUI font-normal py-12 px-32">Bundesregierung</span> </a> </li> <li class="mb-20"> <a href="https://www.spiegel.de/thema/bundestag/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Bundestag"> <span class="block font-sansUI font-normal py-12 px-32">Bundestag</span> </a> </li> </ul> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://www.spiegel.de/ausland/" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" title="Ausland" target="_self"> <span class="block font-sansUI font-bold py-16">Ausland</span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base outline-focus hover:text-primary-dark focus:text-primary-darker active:text-primary-darker" @click="expanded = !expanded"> <span class="flex items-center py-18 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg width="16" height="16"><use xlink:href="#spon-chevron-up-f-m"/></svg> </span> <span class="leading-none" x-show="!expanded"><svg width="16" height="16"><use xlink:href="#spon-chevron-down-f-m"/></svg> </span> </span> <span class="sr-only">Menü Ausland aufklappen</span> </button> </span> <ul class="overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li> <a href="https://www.spiegel.de/thema/usa/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="USA"> <span class="block font-sansUI font-normal py-12 px-32">USA</span> </a> </li> <li> <a href="https://www.spiegel.de/thema/europa/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Europa"> <span class="block font-sansUI font-normal py-12 px-32">Europa</span> </a> </li> <li> <a href="https://www.spiegel.de/thema/nahost/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Nahost"> <span class="block font-sansUI font-normal py-12 px-32">Nahost</span> </a> </li> <li> <a href="https://www.spiegel.de/thema/globale_gesellschaft/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Globale Gesellschaft"> <span class="block font-sansUI font-normal py-12 px-32">Globale Gesellschaft</span> </a> </li> <li> <a href="https://www.spiegel.de/thema/asien/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Asien"> <span class="block font-sansUI font-normal py-12 px-32">Asien</span> </a> </li> <li class="mb-20"> <a href="https://www.spiegel.de/thema/afrika/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Afrika"> <span class="block font-sansUI font-normal py-12 px-32">Afrika</span> </a> </li> </ul> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://www.spiegel.de/panorama/" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" title="Panorama" target="_self"> <span class="block font-sansUI font-bold py-16">Panorama</span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base outline-focus hover:text-primary-dark focus:text-primary-darker active:text-primary-darker" @click="expanded = !expanded"> <span class="flex items-center py-18 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg width="16" height="16"><use xlink:href="#spon-chevron-up-f-m"/></svg> </span> <span class="leading-none" x-show="!expanded"><svg width="16" height="16"><use xlink:href="#spon-chevron-down-f-m"/></svg> </span> </span> <span class="sr-only">Menü Panorama aufklappen</span> </button> </span> <ul class="overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li> <a href="https://www.spiegel.de/panorama/justiz/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Justiz & Kriminalität"> <span class="block font-sansUI font-normal py-12 px-32">Justiz & Kriminalität</span> </a> </li> <li> <a href="https://www.spiegel.de/panorama/leute/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Leute"> <span class="block font-sansUI font-normal py-12 px-32">Leute</span> </a> </li> <li> <a href="https://www.spiegel.de/panorama/gesellschaft/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Gesellschaft"> <span class="block font-sansUI font-normal py-12 px-32">Gesellschaft</span> </a> </li> <li class="mb-20"> <a href="https://www.spiegel.de/panorama/bildung/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Bildung"> <span class="block font-sansUI font-normal py-12 px-32">Bildung</span> </a> </li> </ul> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://www.spiegel.de/sport/" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" title="Sport" target="_self"> <span class="block font-sansUI font-bold py-16">Sport</span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base outline-focus hover:text-primary-dark focus:text-primary-darker active:text-primary-darker" @click="expanded = !expanded"> <span class="flex items-center py-18 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg width="16" height="16"><use xlink:href="#spon-chevron-up-f-m"/></svg> </span> <span class="leading-none" x-show="!expanded"><svg width="16" height="16"><use xlink:href="#spon-chevron-down-f-m"/></svg> </span> </span> <span class="sr-only">Menü Sport aufklappen</span> </button> </span> <ul class="overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li> <a href="https://sportdaten.spiegel.de/fussball/bundesliga/ergebnisse-und-tabelle/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Ergebnisse & Tabellen"> <span class="block font-sansUI font-normal py-12 px-32">Ergebnisse & Tabellen</span> </a> </li> <li> <a href="https://sportdaten.spiegel.de/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Liveticker"> <span class="block font-sansUI font-normal py-12 px-32">Liveticker</span> </a> </li> <li> <a href="https://www.spiegel.de/sport/fussball/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Fußball"> <span class="block font-sansUI font-normal py-12 px-32">Fußball</span> </a> </li> <li> <a href="https://www.spiegel.de/thema/fussball_bundesliga/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Bundesliga"> <span class="block font-sansUI font-normal py-12 px-32">Bundesliga</span> </a> </li> <li> <a href="https://www.spiegel.de/thema/champions_league/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Champions League"> <span class="block font-sansUI font-normal py-12 px-32">Champions League</span> </a> </li> <li> <a href="https://www.spiegel.de/sport/formel1/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Formel 1"> <span class="block font-sansUI font-normal py-12 px-32">Formel 1</span> </a> </li> <li> <a href="https://sportdaten.spiegel.de/formel-1/kalender/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Formel 1 – Liveticker, Kalender, WM-Stand"> <span class="block font-sansUI font-normal py-12 px-32">Formel 1 – Liveticker, Kalender, WM-Stand</span> </a> </li> <li class="mb-20"> <a href="https://www.spiegel.de/sport/wintersport/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Wintersport"> <span class="block font-sansUI font-normal py-12 px-32">Wintersport</span> </a> </li> </ul> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://www.spiegel.de/wirtschaft/" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" title="Wirtschaft" target="_blank"> <span class="block font-sansUI font-bold py-16">Wirtschaft</span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base outline-focus hover:text-primary-dark focus:text-primary-darker active:text-primary-darker" @click="expanded = !expanded"> <span class="flex items-center py-18 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg width="16" height="16"><use xlink:href="#spon-chevron-up-f-m"/></svg> </span> <span class="leading-none" x-show="!expanded"><svg width="16" height="16"><use xlink:href="#spon-chevron-down-f-m"/></svg> </span> </span> <span class="sr-only">Menü Wirtschaft aufklappen</span> </button> </span> <ul class="overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li> <a href="https://boersen.manager-magazin.de/spon/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_blank" title="Börse"> <span class="block font-sansUI font-normal py-12 px-32">Börse</span> </a> </li> <li> <a href="https://www.spiegel.de/wirtschaft/service/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Verbraucher & Service"> <span class="block font-sansUI font-normal py-12 px-32">Verbraucher & Service</span> </a> </li> <li> <a href="https://www.spiegel.de/wirtschaft/service/das-abc-der-versicherungen-a-7cf4cd3d-218c-424a-9066-6a89b7b32639" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Versicherungen"> <span class="block font-sansUI font-normal py-12 px-32">Versicherungen</span> </a> </li> <li> <a href="https://www.spiegel.de/wirtschaft/unternehmen/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Unternehmen & Märkte"> <span class="block font-sansUI font-normal py-12 px-32">Unternehmen & Märkte</span> </a> </li> <li> <a href="https://www.spiegel.de/wirtschaft/soziales/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Staat & Soziales"> <span class="block font-sansUI font-normal py-12 px-32">Staat & Soziales</span> </a> </li> <li class="mb-20"> <a href="https://www.spiegel.de/wirtschaft/service/brutto-netto-rechner-was-von-lohn-und-gehalt-uebrig-bleibt-a-223811.html" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Brutto-Netto-Rechner"> <span class="block font-sansUI font-normal py-12 px-32">Brutto-Netto-Rechner</span> </a> </li> </ul> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://www.spiegel.de/wissenschaft/" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" title="Wissenschaft" target="_self"> <span class="block font-sansUI font-bold py-16">Wissenschaft</span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base outline-focus hover:text-primary-dark focus:text-primary-darker active:text-primary-darker" @click="expanded = !expanded"> <span class="flex items-center py-18 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg width="16" height="16"><use xlink:href="#spon-chevron-up-f-m"/></svg> </span> <span class="leading-none" x-show="!expanded"><svg width="16" height="16"><use xlink:href="#spon-chevron-down-f-m"/></svg> </span> </span> <span class="sr-only">Menü Wissenschaft aufklappen</span> </button> </span> <ul class="overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li> <a href="https://www.spiegel.de/thema/klimawandel/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Klimakrise"> <span class="block font-sansUI font-normal py-12 px-32">Klimakrise</span> </a> </li> <li> <a href="https://www.spiegel.de/wissenschaft/mensch/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Mensch"> <span class="block font-sansUI font-normal py-12 px-32">Mensch</span> </a> </li> <li> <a href="https://www.spiegel.de/wissenschaft/natur/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Natur"> <span class="block font-sansUI font-normal py-12 px-32">Natur</span> </a> </li> <li> <a href="https://www.spiegel.de/wissenschaft/technik/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Technik"> <span class="block font-sansUI font-normal py-12 px-32">Technik</span> </a> </li> <li> <a href="https://www.spiegel.de/wissenschaft/weltall/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Weltall"> <span class="block font-sansUI font-normal py-12 px-32">Weltall</span> </a> </li> <li class="mb-20"> <a href="https://www.spiegel.de/wissenschaft/medizin/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Medizin"> <span class="block font-sansUI font-normal py-12 px-32">Medizin</span> </a> </li> </ul> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://www.spiegel.de/netzwelt/" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" title="Netzwelt" target="_self"> <span class="block font-sansUI font-bold py-16">Netzwelt</span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base outline-focus hover:text-primary-dark focus:text-primary-darker active:text-primary-darker" @click="expanded = !expanded"> <span class="flex items-center py-18 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg width="16" height="16"><use xlink:href="#spon-chevron-up-f-m"/></svg> </span> <span class="leading-none" x-show="!expanded"><svg width="16" height="16"><use xlink:href="#spon-chevron-down-f-m"/></svg> </span> </span> <span class="sr-only">Menü Netzwelt aufklappen</span> </button> </span> <ul class="overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li> <a href="https://www.spiegel.de/netzwelt/netzpolitik/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Netzpolitik"> <span class="block font-sansUI font-normal py-12 px-32">Netzpolitik</span> </a> </li> <li> <a href="https://www.spiegel.de/netzwelt/web/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Web"> <span class="block font-sansUI font-normal py-12 px-32">Web</span> </a> </li> <li> <a href="https://www.spiegel.de/netzwelt/gadgets/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Gadgets"> <span class="block font-sansUI font-normal py-12 px-32">Gadgets</span> </a> </li> <li> <a href="https://www.spiegel.de/netzwelt/games/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Games"> <span class="block font-sansUI font-normal py-12 px-32">Games</span> </a> </li> <li class="mb-20"> <a href="https://www.spiegel.de/netzwelt/apps/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Apps"> <span class="block font-sansUI font-normal py-12 px-32">Apps</span> </a> </li> </ul> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://www.spiegel.de/kultur/" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" title="Kultur" target="_self"> <span class="block font-sansUI font-bold py-16">Kultur</span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base outline-focus hover:text-primary-dark focus:text-primary-darker active:text-primary-darker" @click="expanded = !expanded"> <span class="flex items-center py-18 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg width="16" height="16"><use xlink:href="#spon-chevron-up-f-m"/></svg> </span> <span class="leading-none" x-show="!expanded"><svg width="16" height="16"><use xlink:href="#spon-chevron-down-f-m"/></svg> </span> </span> <span class="sr-only">Menü Kultur aufklappen</span> </button> </span> <ul class="overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li> <a href="https://www.spiegel.de/kultur/kino/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Kino"> <span class="block font-sansUI font-normal py-12 px-32">Kino</span> </a> </li> <li> <a href="https://www.spiegel.de/kultur/musik/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Musik"> <span class="block font-sansUI font-normal py-12 px-32">Musik</span> </a> </li> <li> <a href="https://www.spiegel.de/kultur/tv/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="TV"> <span class="block font-sansUI font-normal py-12 px-32">TV</span> </a> </li> <li> <a href="https://www.spiegel.de/kultur/literatur/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Literatur"> <span class="block font-sansUI font-normal py-12 px-32">Literatur</span> </a> </li> <li class="mb-20"> <a href="https://www.spiegel.de/kultur/bestseller-buecher-belletristik-sachbuch-auf-spiegel-liste-a-458623.html" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="SPIEGEL-Bestseller"> <span class="block font-sansUI font-normal py-12 px-32">SPIEGEL-Bestseller</span> </a> </li> </ul> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://www.spiegel.de/thema/leben/" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" title="Leben" target="_self"> <span class="block font-sansUI font-bold py-16">Leben</span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base outline-focus hover:text-primary-dark focus:text-primary-darker active:text-primary-darker" @click="expanded = !expanded"> <span class="flex items-center py-18 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg width="16" height="16"><use xlink:href="#spon-chevron-up-f-m"/></svg> </span> <span class="leading-none" x-show="!expanded"><svg width="16" height="16"><use xlink:href="#spon-chevron-down-f-m"/></svg> </span> </span> <span class="sr-only">Menü Leben aufklappen</span> </button> </span> <ul class="overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li> <a href="https://www.spiegel.de/reise/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Reise"> <span class="block font-sansUI font-normal py-12 px-32">Reise</span> </a> </li> <li> <a href="https://www.spiegel.de/stil/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Stil"> <span class="block font-sansUI font-normal py-12 px-32">Stil</span> </a> </li> <li> <a href="https://www.spiegel.de/gesundheit/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Gesundheit"> <span class="block font-sansUI font-normal py-12 px-32">Gesundheit</span> </a> </li> <li> <a href="https://www.spiegel.de/familie/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Familie"> <span class="block font-sansUI font-normal py-12 px-32">Familie</span> </a> </li> <li> <a href="https://www.spiegel.de/psychologie/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Psychologie"> <span class="block font-sansUI font-normal py-12 px-32">Psychologie</span> </a> </li> <li class="mb-20"> <a href="https://www.spiegel.de/thema/spiegel_wissen_coaching/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="SPIEGEL Coaching"> <span class="block font-sansUI font-normal py-12 px-32">SPIEGEL Coaching</span> </a> </li> </ul> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li> <a href="https://www.spiegel.de/thema/reporter/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Reporter"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Reporter</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <a href="https://www.spiegel.de/thema/daten-und-visualisierungen/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Daten & Visualisierungen"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Daten & Visualisierungen</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <a href="https://www.spiegel.de/karriere/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Job & Karriere"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Job & Karriere</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <a href="https://www.spiegel.de/start/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Start"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Start</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://www.spiegel.de/geschichte/" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" title="Geschichte" target="_self"> <span class="block font-sansUI font-bold py-16">Geschichte</span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base outline-focus hover:text-primary-dark focus:text-primary-darker active:text-primary-darker" @click="expanded = !expanded"> <span class="flex items-center py-18 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg width="16" height="16"><use xlink:href="#spon-chevron-up-f-m"/></svg> </span> <span class="leading-none" x-show="!expanded"><svg width="16" height="16"><use xlink:href="#spon-chevron-down-f-m"/></svg> </span> </span> <span class="sr-only">Menü Geschichte aufklappen</span> </button> </span> <ul class="overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li> <a href="https://www.spiegel.de/thema/zeitzeugen/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Zeitzeugen"> <span class="block font-sansUI font-normal py-12 px-32">Zeitzeugen</span> </a> </li> <li> <a href="https://www.spiegel.de/thema/erster_weltkrieg/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Erster Weltkrieg"> <span class="block font-sansUI font-normal py-12 px-32">Erster Weltkrieg</span> </a> </li> <li> <a href="https://www.spiegel.de/thema/zweiter_weltkrieg/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Zweiter Weltkrieg"> <span class="block font-sansUI font-normal py-12 px-32">Zweiter Weltkrieg</span> </a> </li> <li> <a href="https://www.spiegel.de/thema/ddr/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="DDR"> <span class="block font-sansUI font-normal py-12 px-32">DDR</span> </a> </li> <li class="mb-20"> <a href="https://www.spiegel.de/thema/film/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Film"> <span class="block font-sansUI font-normal py-12 px-32">Film</span> </a> </li> </ul> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://www.spiegel.de/auto/" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" title="Mobilität" target="_self"> <span class="block font-sansUI font-bold py-16">Mobilität</span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base outline-focus hover:text-primary-dark focus:text-primary-darker active:text-primary-darker" @click="expanded = !expanded"> <span class="flex items-center py-18 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg width="16" height="16"><use xlink:href="#spon-chevron-up-f-m"/></svg> </span> <span class="leading-none" x-show="!expanded"><svg width="16" height="16"><use xlink:href="#spon-chevron-down-f-m"/></svg> </span> </span> <span class="sr-only">Menü Mobilität aufklappen</span> </button> </span> <ul class="overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li> <a href="https://www.spiegel.de/auto/fahrberichte/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Fahrberichte"> <span class="block font-sansUI font-normal py-12 px-32">Fahrberichte</span> </a> </li> <li class="mb-20"> <a href="https://www.spiegel.de/auto/fahrkultur/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Fahrkultur"> <span class="block font-sansUI font-normal py-12 px-32">Fahrkultur</span> </a> </li> </ul> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li> <a href="https://www.spiegel.de/international/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="SPIEGEL in English"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">SPIEGEL in English</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <a href="https://www.spiegel.de/deinspiegel/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Dein SPIEGEL"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Dein SPIEGEL</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <a href="https://www.spiegel.de/audio/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Audio"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Audio</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <a href="https://www.spiegel.de/video/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Video"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Video</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <a href="https://www.spiegel.de/thema/spiegel-events/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="SPIEGEL-Events"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">SPIEGEL-Events</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://www.spiegel.de/tests/" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" title="Tests" target="_self"> <span class="block font-sansUI font-bold py-16">Tests</span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base outline-focus hover:text-primary-dark focus:text-primary-darker active:text-primary-darker" @click="expanded = !expanded"> <span class="flex items-center py-18 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg width="16" height="16"><use xlink:href="#spon-chevron-up-f-m"/></svg> </span> <span class="leading-none" x-show="!expanded"><svg width="16" height="16"><use xlink:href="#spon-chevron-down-f-m"/></svg> </span> </span> <span class="sr-only">Menü Tests aufklappen</span> </button> </span> <ul class="overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li> <a href="https://www.spiegel.de/tests/elektronik/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Elektronik"> <span class="block font-sansUI font-normal py-12 px-32">Elektronik</span> </a> </li> <li> <a href="https://www.spiegel.de/tests/haushalt/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Haushalt"> <span class="block font-sansUI font-normal py-12 px-32">Haushalt</span> </a> </li> <li> <a href="https://www.spiegel.de/tests/fahrrad-zubehoer/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Fahrrad & Zubehör"> <span class="block font-sansUI font-normal py-12 px-32">Fahrrad & Zubehör</span> </a> </li> <li> <a href="https://www.spiegel.de/tests/kueche/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Küche"> <span class="block font-sansUI font-normal py-12 px-32">Küche</span> </a> </li> <li> <a href="https://www.spiegel.de/tests/camping/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Camping"> <span class="block font-sansUI font-normal py-12 px-32">Camping</span> </a> </li> <li> <a href="https://www.spiegel.de/tests/garten/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Garten"> <span class="block font-sansUI font-normal py-12 px-32">Garten</span> </a> </li> <li> <a href="https://www.spiegel.de/tests/auto-zubehoer/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Auto-Zubehör"> <span class="block font-sansUI font-normal py-12 px-32">Auto-Zubehör</span> </a> </li> <li class="mb-20"> <a href="https://www.spiegel.de/tests/brettspiele/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Brettspiele"> <span class="block font-sansUI font-normal py-12 px-32">Brettspiele</span> </a> </li> </ul> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li> <a href="https://www.spiegel.de/kultur/bestseller-buecher-belletristik-sachbuch-auf-spiegel-liste-a-458623.html" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Bestseller"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Bestseller</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <a href="https://www.spiegel.de/backstage/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Backstage"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Backstage</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <a href="https://www.spiegel.de/thema/index-a/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Themen"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Themen</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <a href="https://www.spiegel.de/thema/abovorteile/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Vorteile mit S+"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Vorteile mit S+</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li class="bg-shade-lightest dark:bg-black mt-16" x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="block border-separator-b h-px"></span> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://www.spiegel.de/thema/marktplatz/" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Marktplatz"> <span class="flex items-center justify-between"> <span class="block font-sansUI font-bold py-16">Marktplatz</span> <span class="block text-shade-dark dark:text-shade-light uppercase font-sansUI font-normal mr-16 text-xs">Anzeige</span> </span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus" @click="expanded = !expanded"> <span class="flex items-center py-16 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg width="16" height="16"><use xlink:href="#spon-chevron-up-f-m"/></svg> </span> <span class="leading-none" x-show="!expanded"><svg width="16" height="16"><use xlink:href="#spon-chevron-down-f-m"/></svg> </span> </span> <span class="sr-only">Menü Marktplatz aufklappen</span> </button> </span> <ul class="bg-shade-lightest dark:bg-black overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li class="pt-8 pb-20"> <a href="https://seniorenportal.spiegel.de/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Seniorenportal"> <span class="block font-sansUI font-normal py-12 px-32">Seniorenportal</span> </a> </li> </ul> </li> <li class="bg-shade-lightest dark:bg-black" x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="block border-separator-b h-px"></span> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://ad3.adfarm1.adition.com/redi?bid=10752033&kid=3485173&sid=4117394" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Lotto"> <span class="flex items-center justify-between"> <span class="block font-sansUI font-bold py-16">Lotto</span> <span class="block text-shade-dark dark:text-shade-light uppercase font-sansUI font-normal mr-16 text-xs">Anzeige</span> </span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus" @click="expanded = !expanded"> <span class="flex items-center py-16 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg width="16" height="16"><use xlink:href="#spon-chevron-up-f-m"/></svg> </span> <span class="leading-none" x-show="!expanded"><svg width="16" height="16"><use xlink:href="#spon-chevron-down-f-m"/></svg> </span> </span> <span class="sr-only">Menü Lotto aufklappen</span> </button> </span> <ul class="bg-shade-lightest dark:bg-black overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li class="pt-8"> <a href="https://ad3.adfarm1.adition.com/redi?bid=10752055&kid=3485174&sid=4117394" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Eurojackpot"> <span class="block font-sansUI font-normal py-12 px-32">Eurojackpot</span> </a> </li> <li> <a href="https://ad3.adfarm1.adition.com/redi?bid=10752057&kid=3485211&sid=4117394" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="LOTTO 6aus49"> <span class="block font-sansUI font-normal py-12 px-32">LOTTO 6aus49</span> </a> </li> <li class="pb-20"> <a href="https://ad3.adfarm1.adition.com/redi?bid=10752056&kid=3485212&sid=4117394" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="GlücksSpirale"> <span class="block font-sansUI font-normal py-12 px-32">GlücksSpirale</span> </a> </li> </ul> </li> <li class="bg-shade-lightest dark:bg-black" x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="block border-separator-b h-px"></span> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://streaming-guide.spiegel.de/" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Streaming Guide"> <span class="flex items-center justify-between"> <span class="block font-sansUI font-bold py-16">Streaming Guide</span> <span class="block text-shade-dark dark:text-shade-light uppercase font-sansUI font-normal mr-16 text-xs">Verlagsangebot</span> </span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus" @click="expanded = !expanded"> <span class="flex items-center py-16 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg width="16" height="16"><use xlink:href="#spon-chevron-up-f-m"/></svg> </span> <span class="leading-none" x-show="!expanded"><svg width="16" height="16"><use xlink:href="#spon-chevron-down-f-m"/></svg> </span> </span> <span class="sr-only">Menü Streaming Guide aufklappen</span> </button> </span> <ul class="bg-shade-lightest dark:bg-black overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li class="pt-8"> <a href="https://streaming-guide.spiegel.de/streamingdienste/amazon-prime-video/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Amazon Prime Video"> <span class="block font-sansUI font-normal py-12 px-32">Amazon Prime Video</span> </a> </li> <li> <a href="https://streaming-guide.spiegel.de/streamingdienste/apple-tv-plus/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Apple TV +"> <span class="block font-sansUI font-normal py-12 px-32">Apple TV +</span> </a> </li> <li> <a href="https://streaming-guide.spiegel.de/streamingdienste/disney-plus/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Disney+"> <span class="block font-sansUI font-normal py-12 px-32">Disney+</span> </a> </li> <li> <a href="https://streaming-guide.spiegel.de/streamingdienste/magenta-tv/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="MagentaTV"> <span class="block font-sansUI font-normal py-12 px-32">MagentaTV</span> </a> </li> <li> <a href="https://streaming-guide.spiegel.de/streamingdienste/netflix/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Netflix"> <span class="block font-sansUI font-normal py-12 px-32">Netflix</span> </a> </li> <li> <a href="https://streaming-guide.spiegel.de/streamingdienste/paramount-plus/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Paramount+"> <span class="block font-sansUI font-normal py-12 px-32">Paramount+</span> </a> </li> <li class="pb-20"> <a href="https://streaming-guide.spiegel.de/streamingdienste/wow/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="WOW"> <span class="block font-sansUI font-normal py-12 px-32">WOW</span> </a> </li> </ul> </li> <li class="bg-shade-lightest dark:bg-black" x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="block border-separator-b h-px"></span> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://spiele.spiegel.de/" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Spiele"> <span class="flex items-center justify-between"> <span class="block font-sansUI font-bold py-16">Spiele</span> <span class="block text-shade-dark dark:text-shade-light uppercase font-sansUI font-normal mr-16 text-xs">Verlagsangebot</span> </span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus" @click="expanded = !expanded"> <span class="flex items-center py-16 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg width="16" height="16"><use xlink:href="#spon-chevron-up-f-m"/></svg> </span> <span class="leading-none" x-show="!expanded"><svg width="16" height="16"><use xlink:href="#spon-chevron-down-f-m"/></svg> </span> </span> <span class="sr-only">Menü Spiele aufklappen</span> </button> </span> <ul class="bg-shade-lightest dark:bg-black overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li class="pt-8"> <a href="https://www.spiegel.de/panorama/taegliches-quiz-beim-spiegel-7-fragen-zum-allgemeinwissen-pro-tag-a-8a9692b2-4462-4192-942c-fd7809c7519c" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Das tägliche Quiz"> <span class="block font-sansUI font-normal py-12 px-32">Das tägliche Quiz</span> </a> </li> <li> <a href="https://spiele.spiegel.de/kreuzwortraetsel/?utm_campaign=kreuzwortraetsel&utm_medium=navigation_link&utm_source=spiegel_de" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Kreuzworträtsel"> <span class="block font-sansUI font-normal py-12 px-32">Kreuzworträtsel</span> </a> </li> <li> <a href="https://spiele.spiegel.de/solitaer/?utm_campaign=solitaer&utm_medium=navigation_link&utm_source=spiegel_de" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Solitär"> <span class="block font-sansUI font-normal py-12 px-32">Solitär</span> </a> </li> <li> <a href="https://spiele.spiegel.de/sudoku/?utm_campaign=sudoku&utm_medium=navigation_link&utm_source=spiegel_de" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Sudoku"> <span class="block font-sansUI font-normal py-12 px-32">Sudoku</span> </a> </li> <li> <a href="https://spiele.spiegel.de/mahjong/?utm_campaign=mahjong&utm_medium=navigation_link&utm_source=spiegel_de" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Mahjong"> <span class="block font-sansUI font-normal py-12 px-32">Mahjong</span> </a> </li> <li> <a href="https://spiele.spiegel.de/snake/?utm_campaign=snake&utm_medium=navigation_link&utm_source=spiegel_de" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Snake"> <span class="block font-sansUI font-normal py-12 px-32">Snake</span> </a> </li> <li class="pb-20"> <a href="https://spiele.spiegel.de/jackpot-spiele/?utm_campaign=jackpot&utm_medium=navigation_link&utm_source=spiegel_de" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Jackpot"> <span class="block font-sansUI font-normal py-12 px-32">Jackpot</span> </a> </li> </ul> </li> <li class="bg-shade-lightest dark:bg-black mb-16" x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="block border-separator-b h-px"></span> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://kaufradar.spiegel.de/" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Kaufradar"> <span class="flex items-center justify-between"> <span class="block font-sansUI font-bold py-16">Kaufradar</span> <span class="block text-shade-dark dark:text-shade-light uppercase font-sansUI font-normal mr-16 text-xs">Anzeige</span> </span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus" @click="expanded = !expanded"> <span class="flex items-center py-16 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg width="16" height="16"><use xlink:href="#spon-chevron-up-f-m"/></svg> </span> <span class="leading-none" x-show="!expanded"><svg width="16" height="16"><use xlink:href="#spon-chevron-down-f-m"/></svg> </span> </span> <span class="sr-only">Menü Kaufradar aufklappen</span> </button> </span> <ul class="bg-shade-lightest dark:bg-black overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li class="pt-8"> <a href="https://kaufradar.spiegel.de/auto-fahrrad/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Auto & Fahrrad"> <span class="block font-sansUI font-normal py-12 px-32">Auto & Fahrrad</span> </a> </li> <li> <a href="https://kaufradar.spiegel.de/technik-elektronik/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Technik & Elektronik"> <span class="block font-sansUI font-normal py-12 px-32">Technik & Elektronik</span> </a> </li> <li> <a href="https://kaufradar.spiegel.de/finanzen-versicherungen/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Finanzen & Versicherungen"> <span class="block font-sansUI font-normal py-12 px-32">Finanzen & Versicherungen</span> </a> </li> <li> <a href="https://kaufradar.spiegel.de/leben/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Leben"> <span class="block font-sansUI font-normal py-12 px-32">Leben</span> </a> </li> <li> <a href="https://kaufradar.spiegel.de/freizeit-reise/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Freizeit & Reise"> <span class="block font-sansUI font-normal py-12 px-32">Freizeit & Reise</span> </a> </li> <li> <a href="https://kaufradar.spiegel.de/haus-garten/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Haus & Garten"> <span class="block font-sansUI font-normal py-12 px-32">Haus & Garten</span> </a> </li> <li> <a href="https://kaufradar.spiegel.de/energiesysteme/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Energiesysteme"> <span class="block font-sansUI font-normal py-12 px-32">Energiesysteme</span> </a> </li> <li> <a href="https://kaufradar.spiegel.de/haushalt-kueche/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Haushalt & Küche"> <span class="block font-sansUI font-normal py-12 px-32">Haushalt & Küche</span> </a> </li> <li class="pb-20"> <a href="https://kaufradar.spiegel.de/tarife/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Tarife"> <span class="block font-sansUI font-normal py-12 px-32">Tarife</span> </a> </li> </ul> <span class="block border-separator-b h-px"></span> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://www.spiegel.de/spiegel/print/" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" title="SPIEGEL-Heft" target="_self"> <span class="block font-sansUI font-bold py-16">SPIEGEL-Heft</span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base outline-focus hover:text-primary-dark focus:text-primary-darker active:text-primary-darker" @click="expanded = !expanded"> <span class="flex items-center py-18 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg width="16" height="16"><use xlink:href="#spon-chevron-up-f-m"/></svg> </span> <span class="leading-none" x-show="!expanded"><svg width="16" height="16"><use xlink:href="#spon-chevron-down-f-m"/></svg> </span> </span> <span class="sr-only">Menü SPIEGEL-Heft aufklappen</span> </button> </span> <ul class="overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li> <a href="https://www.spiegel.de/spiegel/print/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Heftarchiv"> <span class="block font-sansUI font-normal py-12 px-32">Heftarchiv</span> </a> </li> <li class="mb-20"> <a href="https://www.amazon.de/stores/page/9A033B74-B98E-4CE4-BB30-C47BD542801B?_encoding=UTF8&camp=1638&creative=6742&linkCode=ur2&linkId=ddec9c715dda90b1e0d431bb3abc5d3c&tag=spiegelverlag-21" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_blank" title="Shop"> <span class="block font-sansUI font-normal py-12 px-32">Shop</span> </a> </li> </ul> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://www.spiegel.de/magazine" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" title="Alle Magazine" target="_self"> <span class="block font-sansUI font-bold py-16">Alle Magazine</span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base outline-focus hover:text-primary-dark focus:text-primary-darker active:text-primary-darker" @click="expanded = !expanded"> <span class="flex items-center py-18 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg width="16" height="16"><use xlink:href="#spon-chevron-up-f-m"/></svg> </span> <span class="leading-none" x-show="!expanded"><svg width="16" height="16"><use xlink:href="#spon-chevron-down-f-m"/></svg> </span> </span> <span class="sr-only">Menü Alle Magazine aufklappen</span> </button> </span> <ul class="overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li> <a href="https://www.spiegel.de/spiegel/spiegelwissen/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="SPIEGEL WISSEN"> <span class="block font-sansUI font-normal py-12 px-32">SPIEGEL WISSEN</span> </a> </li> <li> <a href="https://www.spiegel.de/spiegel/deinspiegel/" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Dein SPIEGEL"> <span class="block font-sansUI font-normal py-12 px-32">Dein SPIEGEL</span> </a> </li> <li> <a href="https://www.spiegel.de/spiegel/spiegelgeschichte" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="SPIEGEL GESCHICHTE"> <span class="block font-sansUI font-normal py-12 px-32">SPIEGEL GESCHICHTE</span> </a> </li> <li> <a href="https://www.amazon.de/stores/page/5A51BB7A-F093-490A-A88B-0B8DAD2BD31F?_encoding=UTF8&camp=1638&creative=6742&linkCode=ur2&linkId=bebfea2a767e9b6fa4032067aac689c6&tag=wwwspiegelde-21" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_blank" title="SPIEGEL EDITION"> <span class="block font-sansUI font-normal py-12 px-32">SPIEGEL EDITION</span> </a> </li> <li> <a href="https://www.amazon.de/dp/B084H7TJ2J?_encoding=UTF8&camp=1638&creative=6742&linkCode=ur2&linkId=2b0869ebe8a71aa295f61f936c59ae13&tag=wwwspiegelde-21" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_blank" title="SPIEGEL LESEZEICHEN"> <span class="block font-sansUI font-normal py-12 px-32">SPIEGEL LESEZEICHEN</span> </a> </li> <li class="mb-20"> <a href="https://www.amazon.de/stores/page/7A4C6628-433D-4F60-9E2A-2559D87EBE96?_encoding=UTF8&camp=1638&creative=6742&ingress=3&linkCode=ur2&linkId=e7aab828241dc9c24162f8f4af873651&tag=spiegel200-21&visitId=6c8f0a76-9d4a-4e47-94ca-0f6231dcaf22" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_blank" title="SPIEGEL COACHING"> <span class="block font-sansUI font-normal py-12 px-32">SPIEGEL COACHING</span> </a> </li> </ul> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li> <a href="https://tv.spiegel.de" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_blank" title="SPIEGEL TV"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">SPIEGEL TV</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <a href="https://www.spiegel.de/dienste/besser-surfen-auf-spiegel-online-so-funktioniert-rss-a-1040321.html" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="RSS-Feed"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">RSS-Feed</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://gruppe.spiegel.de/spiegel-media" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" title="SPIEGEL Media" target="_blank"> <span class="block font-sansUI font-bold py-16">SPIEGEL Media</span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base outline-focus hover:text-primary-dark focus:text-primary-darker active:text-primary-darker" @click="expanded = !expanded"> <span class="flex items-center py-18 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg width="16" height="16"><use xlink:href="#spon-chevron-up-f-m"/></svg> </span> <span class="leading-none" x-show="!expanded"><svg width="16" height="16"><use xlink:href="#spon-chevron-down-f-m"/></svg> </span> </span> <span class="sr-only">Menü SPIEGEL Media aufklappen</span> </button> </span> <ul class="overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li> <a href="https://manufaktur.spiegel.de" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_blank" title="MANUFAKTUR"> <span class="block font-sansUI font-normal py-12 px-32">MANUFAKTUR</span> </a> </li> <li> <a href="https://gruppe.spiegel.de/spiegel-media/bereiche/affiliate-und-integrations" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_blank" title="Affiliate & Integrations"> <span class="block font-sansUI font-normal py-12 px-32">Affiliate & Integrations</span> </a> </li> <li class="mb-20"> <a href="https://gruppe.spiegel.de/spiegel-media/bereiche/media-products" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_blank" title="Media Products"> <span class="block font-sansUI font-normal py-12 px-32">Media Products</span> </a> </li> </ul> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li> <a href="https://ed.spiegel.de/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_blank" title="SPIEGEL Ed"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">SPIEGEL Ed</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <a href="https://akademie.spiegel.de/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_blank" title="SPIEGEL Akademie"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">SPIEGEL Akademie</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li x-data="{ expanded: false }" :aria-expanded="expanded" x-lazyload> <span class="flex justify-between items-center pl-16 cursor-pointer"> <a href="https://www.spiegel.de/services/" class="grow text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" title="Services" target="_self"> <span class="block font-sansUI font-bold py-16">Services</span> </a> <span class="block border-separator-r h-24 w-px"></span> <button class="text-shade-light dark:text-shade-dark text-base outline-focus hover:text-primary-dark focus:text-primary-darker active:text-primary-darker" @click="expanded = !expanded"> <span class="flex items-center py-18 px-20 h-56 w-56"> <span class="leading-none" x-show="expanded" x-cloak><svg width="16" height="16"><use xlink:href="#spon-chevron-up-f-m"/></svg> </span> <span class="leading-none" x-show="!expanded"><svg width="16" height="16"><use xlink:href="#spon-chevron-down-f-m"/></svg> </span> </span> <span class="sr-only">Menü Services aufklappen</span> </button> </span> <ul class="overflow-hidden" x-show="expanded" :aria-hidden="!expanded" x-cloak> <li> <a href="https://www.spiegel.de/auto/aktuell/bussgeldrechner-was-zu-schnelles-fahren-kostet-a-244772.html" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Bußgeldrechner"> <span class="block font-sansUI font-normal py-12 px-32">Bußgeldrechner</span> </a> </li> <li> <a href="https://www.spiegel.de/lebenundlernen/uni/studium-tipps-und-hilfe-fuer-uni-und-studentenleben-a-640620.html" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Uni-Tools"> <span class="block font-sansUI font-normal py-12 px-32">Uni-Tools</span> </a> </li> <li> <a href="https://boersen.manager-magazin.de/spon/devisen_uebersicht.htn#rechner" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Währungsrechner"> <span class="block font-sansUI font-normal py-12 px-32">Währungsrechner</span> </a> </li> <li class="mb-20"> <a href="https://www.spiegel.de/wirtschaft/service/versicherung-check-fuer-haftpflicht-hausrat-berufsunfaehigkeit-a-960380.html" class="text-base hover:text-primary-dark focus:text-primary-darker active:text-primary-darker outline-focus text-black dark:text-shade-lightest" target="_self" title="Versicherungen"> <span class="block font-sansUI font-normal py-12 px-32">Versicherungen</span> </a> </li> </ul> </li> <li> <span class="block border-separator-b h-px"></span> </li> <li> <a href="https://www.spiegel.de/nachrichtenarchiv/" class="group flex justify-between items-center pl-16 cursor-pointer text-base group-hover:text-primary-dark group-focus:text-primary-darker group-active:text-primary-darker text-black dark:text-shade-lightest" target="_self" title="Nachrichtenarchiv"> <span class="grow"> <span class="block font-sansUI font-bold py-16 group-active:text-primary-darker group-hover:text-primary-dark group-focus:text-primary-darker">Nachrichtenarchiv</span> </span> <span class="text-shade-light dark:text-shade-dark text-base group-hover:text-primary-dark group-active:text-primary-darker group-focus:text-primary-darker"> <span class="flex items-center py-18 px-20 leading-none"><svg width="16" height="16"><use xlink:href="#spon-chevron-right-f-m"/></svg> </span> </span> </a> </li> <li class="my-16"> <span class="block border-separator-b h-px mx-16"></span> </li> <li class="pl-2"> <a href="https://www.facebook.com/DerSpiegel/" rel="nofollow" class="text-black dark:text-shade-lightest text-base hover:text-primary-dark focus:text-primary-darker" target="_blank" title="Facebook"> <span class="flex justify-start items-center py-16 pl-8 pr-16"> <span class="flex items-center"><svg width="24" height="24"><use xlink:href="#spon-facebook-l"/></svg> </span> <span class="block font-sansUI ml-16">Facebook</span> </span> </a> </li> <li class="pl-2"> <a href="https://www.instagram.com/spiegelmagazin/" rel="nofollow" class="text-black dark:text-shade-lightest text-base hover:text-primary-dark focus:text-primary-darker" target="_blank" title="Instagram"> <span class="flex justify-start items-center py-16 pl-8 pr-16"> <span class="flex items-center"><svg width="24" height="24"><use xlink:href="#spon-instagram-l"/></svg> </span> <span class="block font-sansUI ml-16">Instagram</span> </span> </a> </li> <li class="pl-2"> <a href="https://www.spiegel.de/backstage/bei-diesen-diensten-koennen-sie-dem-spiegel-folgen-a-a68cce85-8be8-4707-bd6e-0706090cbbbe" class="text-black dark:text-shade-lightest text-base hover:text-primary-dark focus:text-primary-darker" target="_self" title="Wo Sie uns noch folgen können"> <span class="flex justify-start items-center py-16 pl-8 pr-16"> <span class="flex items-center"><svg width="24" height="24"><use xlink:href="#spon-website-l"/></svg> </span> <span class="block font-sansUI ml-16"> Wo Sie uns noch folgen können </span> </span> </a> </li> </ul> </nav> </div> <template x-data="{isPlayerAttached: $store.WebAudio.isClipFromLocalStorage,onClipChanged() {this.isPlayerAttached = this.isPlayerAttached || !!$store.WebAudio.clip;}}" x-init="$watch('$store.WebAudio.clip', () => onClipChanged())" x-if="isPlayerAttached"> <div x-data="{isInitialized: false,isExpanded: false,get canOpen() {return this.isInitialized || $store.WebAudio.isClipFromLocalStorage;},get isOpen() {return !!$store.WebAudio.clip && this.canOpen;},}" x-init="$nextTick(() => isInitialized = true)" x-effect="document.documentElement.classList.toggle('audio-player-open', isOpen)" data-app-hidden data-area="audio-player"> <div class="fixed w-full bottom-0 sm:mb-8 md:mb-16 lg:mb-16 z-20 pointer-events-none" x-show="isOpen && !isExpanded" x-transition:enter="transition-transform duration-500 ease-out" x-transition:enter-start="translate-y-3/2" x-transition:leave="transition-transform duration-500 ease-out" x-transition:leave-end="translate-y-3/2"> <div class="justify-center"> <div class="relative z-20 w-full mx-auto sm:max-w-sm md:max-w-md lg:max-w-lg sm:px-16 md:px-16 lg:px-24"> <div class="pointer-events-auto"> <div class="shadow-lg rounded-pill bg-sec2-lightest dark:bg-sec2-darker w-full z-max relative cursor-pointer" @click="isExpanded = true; $focus($refs.audioPlayerCollapse)"> <div class="flex items-center pl-8"> <button class="shrink-0 mr-12 outline-focus" title="Audio Player maximieren" x-ref="audioPlayerExpand"> <div class="relative" aria-hidden="true" data-sara-component="{&#34;name&#34;:&#34;image&#34;,&#34;title&#34;:&#34;&#34;,&#34;type&#34;:&#34;media&#34;}"> <img class="lazyload md:hidden lg:hidden rounded py-8" x-data="{onSrcChanged(newSrc) {if (newSrc) {$el.classList.remove('loaded');$el.classList.remove('entered');$el.removeAttribute('data-ll-status');$publish('LAZYLOADING_UPDATE');} else {$el.src = `data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' width='36' height='36' %3E%3C/svg%3E`;}}}" x-effect="onSrcChanged($store.WebAudio.clip ? $store.WebAudio.clip.posterUrl : '')" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' width='36' height='36' %3E%3C/svg%3E" :data-src="$store.WebAudio.clip ? $store.WebAudio.clip.posterUrl : ''" width="36" height="36" alt> </div> <div class="relative" aria-hidden="true" data-sara-component="{&#34;name&#34;:&#34;image&#34;,&#34;title&#34;:&#34;&#34;,&#34;type&#34;:&#34;media&#34;}"> <img class="lazyload sm:hidden rounded py-8" x-data="{onSrcChanged(newSrc) {if (newSrc) {$el.classList.remove('loaded');$el.classList.remove('entered');$el.removeAttribute('data-ll-status');$publish('LAZYLOADING_UPDATE');} else {$el.src = `data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' width='40' height='40' %3E%3C/svg%3E`;}}}" x-effect="onSrcChanged($store.WebAudio.clip ? $store.WebAudio.clip.posterUrl : '')" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' width='40' height='40' %3E%3C/svg%3E" :data-src="$store.WebAudio.clip ? $store.WebAudio.clip.posterUrl : ''" width="40" height="40" alt> </div> <span class="sr-only">Audio Player maximieren</span> </button> <div class="flex flex-col overflow-hidden font-sansUI sm:text-xs md:text-s lg:text-s text-left relative w-full py-8"> <div x-show="!$store.WebAudio.isRestored"> <div class="font-bold text-primary-base dark:text-dm-primary-base whitespace-nowrap" x-text="$store.WebAudio.clip ? $store.WebAudio.clip.kicker : ''"></div> <div class="font-bold whitespace-nowrap" x-text="$store.WebAudio.clip ? $store.WebAudio.clip.headline : ''"></div> </div> <div x-show="$store.WebAudio.isRestored"> <div class="font-bold whitespace-nowrap tracking-wide"> Die Wiedergabe wurde unterbrochen. </div> <button class="underline whitespace-nowrap" title="Wiedergabe fortsetzen" @click.stop="$publish('AUDIO_PLAYER_RESUME')"> Wiedergabe fortsetzen? </button> </div> <div class="absolute right-0 bottom-0 shrink-0 bg-gradient-to-l dark:from-sec2-darker from-sec2-lightest h-full w-16"></div> </div> <div class="flex items-center ml-18"> <button class="lg:px-12 md:px-12 sm:px-6 text-sec2-dark dark:text-shade-lighter hover:text-sec2-darker dark:hover:text-shade-lightest" :title="$store.WebAudio.isPlaying ? 'Wiedergabe pausieren' : 'Wiedergabe starten'" x-show="!$store.WebAudio.isLoading" @click.stop="$store.WebAudio.isPlaying ? $publish('AUDIO_PLAYER_PAUSE') : $publish('AUDIO_PLAYER_RESUME')" data-sara-click-el="button"> <span x-show="!$store.WebAudio.isPlaying" class="flex h-48 items-center"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="l-play-f-82e43d1c-07ff-440d-ba60-6f25cff2b6f7"> <g id="l-play-82e43d1c-07ff-440d-ba60-6f25cff2b6f7"> <path id="vector-82e43d1c-07ff-440d-ba60-6f25cff2b6f7" d="M6 5.763a.75.75 0 011.11-.658l11.433 6.237a.75.75 0 010 1.316L7.109 18.895A.75.75 0 016 18.237V5.763z" class="fill-current"/> </g> </g> </svg> </span> <span x-show="$store.WebAudio.isPlaying" class="flex h-48 items-center"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="l-pause-f-3f73961d-1153-4b01-bd32-293aaaf8c9a4"> <rect id="rectangle-3f73961d-1153-4b01-bd32-293aaaf8c9a4" x="7" y="4" width="3" height="16" rx="1.5" class="fill-current"/> <rect id="rectangle_2-3f73961d-1153-4b01-bd32-293aaaf8c9a4" x="14" y="4" width="3" height="16" rx="1.5" class="fill-current"/> </g> </svg> </span> <span class="sr-only" x-text="$store.WebAudio.isPlaying ? 'Wiedergabe pausieren' : 'Wiedergabe starten'"></span> </button> <div class="flex h-48 items-center lg:px-12 md:px-12 sm:px-6" x-show="$store.WebAudio.isLoading"> <span class="rounded-circle w-20 h-20 m-2 border-2 border-shade-base dark:border-shade-light animate-spin" style="border-top-color:transparent;"></span> </div> <button class="flex h-48 items-center lg:px-12 md:px-12 sm:px-6 text-sec2-dark dark:text-shade-lighter hover:text-sec2-darker dark:hover:text-shade-lightest" title="Wiedergabe beenden" @click.stop="$publish('AUDIO_PLAYER_CLEAR')" data-sara-click-el="button"><svg class="stroke-current" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="l-close-d30b217d-b97e-4c96-978a-0ee5423262f4"> <path id="vector-d30b217d-b97e-4c96-978a-0ee5423262f4" d="M18 18L6 6m12 0L6 18" stroke-width="1.3" stroke-linecap="round"/> </g> </svg> <span class="sr-only">Wiedergabe beenden</span> </button> </div> </div> <div class="absolute bottom-0 left-8 right-8"> <div class="absolute bottom-0 w-full bg-opacity-slight dark:bg-opacity-slight sm:h-2 md:h-4 lg:h-4 bg-sec2-dark dark:bg-sec2-lightest"></div> <div class="absolute bottom-0 left-0 right-0 sm:h-2 md:h-4 lg:h-4 max-w-full bg-sec2-dark dark:bg-sec2-lightest" :style="{ width: ($store.WebAudio.currentTime / $store.WebAudio.duration * 100) + '%' }"></div> </div> </div> </div> </div> </div> </div> <div class="fixed w-full bottom-0 sm:mb-8 md:mb-16 lg:mb-16 z-20 pointer-events-none" x-show="isOpen && isExpanded" x-transition:enter="transition-transform duration-500 ease-out" x-transition:enter-start="translate-y-3/2" x-transition:leave="transition-transform duration-500 ease-out" x-transition:leave-end="translate-y-3/2"> <div class="justify-center"> <div class="relative z-20 w-full mx-auto sm:max-w-sm md:max-w-md lg:max-w-lg sm:px-16 md:px-16 lg:px-24"> <div class="pointer-events-auto"> <div class="shadow-lg rounded-pill bg-sec2-lightest dark:bg-sec2-darker lg:pb-16 md:pb-16 sm:pb-16 z-max"> <button class="text-right pt-16 pb-12 lg:pr-24 md:pr-24 sm:pr-16 w-full outline-focus text-sec2-dark dark:text-shade-lightest" title="Audio Player minimieren" @click="isExpanded = false; $focus($refs.audioPlayerExpand)" x-ref="audioPlayerCollapse"><svg class="stroke-current" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="l-chevron-down-ccaea802-fb85-4303-8bd8-794b90277f0a"> <g id="l-chevron-right-ccaea802-fb85-4303-8bd8-794b90277f0a"> <path id="vector-ccaea802-fb85-4303-8bd8-794b90277f0a" d="M18 9l-6 6-6-6" stroke-width="1.3" stroke-linecap="round"/> </g> </g> </svg> <span class="sr-only">Audio Player minimieren</span> </button> <div class="flex items-center justify-between mb-24 sm:flex-col lg:px-24 md:px-24 sm:px-16"> <div class="w-full flex items-center sm:mb-16"> <div class="shrink-0 mr-16"> <div class="relative" aria-hidden="true" data-sara-component="{&#34;name&#34;:&#34;image&#34;,&#34;title&#34;:&#34;&#34;,&#34;type&#34;:&#34;media&#34;}"> <img class="lazyload rounded" x-data="{onSrcChanged(newSrc) {if (newSrc) {$el.classList.remove('loaded');$el.classList.remove('entered');$el.removeAttribute('data-ll-status');$publish('LAZYLOADING_UPDATE');} else {$el.src = `data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72' width='72' height='72' %3E%3C/svg%3E`;}}}" x-effect="onSrcChanged($store.WebAudio.clip ? $store.WebAudio.clip.posterUrl : '')" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72' width='72' height='72' %3E%3C/svg%3E" :data-src="$store.WebAudio.clip ? $store.WebAudio.clip.posterUrl : ''" width="72" height="72" alt> </div> </div> <div class="flex flex-col font-bold font-sansUI"> <div class="text-s text-primary-base dark:text-dm-primary-base lg:mb-4 md:mb-4" x-text="$store.WebAudio.clip ? $store.WebAudio.clip.kicker : ''" x-show="$store.WebAudio.clip && $store.WebAudio.clip.kicker"></div> <div class="text-base lg:mb-4 md:mb-4" x-text="$store.WebAudio.clip ? $store.WebAudio.clip.headline : ''"></div> <div class="text-s font-normal opacity-distinct sm:hidden" x-text="$store.WebAudio.chapter ? $store.WebAudio.chapter.title : ''" x-show="$store.WebAudio.chapter && $store.WebAudio.chapter.title"></div> </div> </div> <div class="flex shrink-0 items-center lg:justify-end md:justify-end sm:justify-between sm:w-full w-5/12"> <div class="sm:min-w-48 sm:w-full"> <button x-data="{playbackRates: [ 0.8, 0.9, 1, 1.1, 1.2, 1.5, 1.7, 2.0, 2.5 ],get nextPlaybackRate() {const index = this.playbackRates.findIndex((playbackRate) => playbackRate === $store.WebAudio.playbackRate);const nextIndex = (index + 1) % this.playbackRates.length;return this.playbackRates[nextIndex];}}" class="border font-bold font-sansUI h-24 px-6 rounded-oval text-xs border-sec2-dark dark:border-shade-lighter hover:border-sec2-darker dark:hover:border-shade-lightest text-sec2-dark dark:text-shade-lighter hover:text-sec2-darker dark:hover:text-shade-lightest" title="Wiedergabegeschwindigkeit ändern" @click="$publish('AUDIO_PLAYER_SET_PLAYBACK_RATE', nextPlaybackRate)" data-sara-click-el="button"> <span x-text="($store.WebAudio.playbackRate).toFixed(1) + 'x'"></span> <span class="sr-only">Wiedergabegeschwindigkeit ändern</span> </button> </div> <div class="flex shrink-0 items-stretch"> <button class="lg:px-12 md:px-12 sm:pr-12 lg:mx-12 md:mx-12 sm:mr-12 text-sec2-dark dark:text-shade-lighter hover:text-sec2-darker dark:hover:text-shade-lightest" title="15 Sekunden zurück" @click="$publish('AUDIO_PLAYER_SET_TIME', $store.WebAudio.currentTime - 15)" data-sara-click-el="button"><svg width="32" height="24" viewBox="0 0 32 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <path d="M5.65 3.5C11.8333 3.5 12.8167 3.5 19 3.5C24.2467 3.5 28.5 7.75329 28.5 13C28.5 18.2467 24.2467 22.5 19 22.5H15" class="stroke-current" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/> <path d="M2.64507 2.93557L4.75612 1.08839C5.24106 0.664074 6 1.00846 6 1.65283V5.34717C6 5.99154 5.24106 6.33593 4.75612 5.91161L2.64507 4.06443C2.30357 3.76562 2.30357 3.23438 2.64507 2.93557Z" class="fill-current"/> <path d="M10.1245 15.62V17H15.4165V15.62H13.7605V9.044H12.2725L10.0765 9.944L10.4845 11.156L12.0445 10.52V15.62H10.1245ZM16.309 13.508C16.597 13.46 17.449 13.424 18.001 13.424C19.441 13.424 20.137 13.736 20.137 14.66C20.137 15.452 19.693 15.86 18.901 15.86C18.073 15.86 17.689 15.476 17.773 14.684H16.045C15.781 16.364 16.633 17.156 18.757 17.156C20.917 17.156 21.901 16.124 21.901 14.528C21.901 12.788 20.797 12.14 18.685 12.14C18.433 12.14 18.157 12.152 17.905 12.164L18.037 10.544H21.349L21.481 9.044H16.597L16.309 13.508Z" class="fill-current"/> </svg> <span class="sr-only">15 Sekunden zurück</span> </button> <button class="shrink-0 w-48 h-48 rounded-circle px-12 bg-sec2-dark dark:bg-sec2-lightest hover:bg-sec2-darker dark:hover:bg-shade-lightest text-white dark:text-sec2-dark" :title="$store.WebAudio.isPlaying ? 'Wiedergabe pausieren' : 'Wiedergabe starten'" :disabled="$store.WebAudio.isLoading" @click="$store.WebAudio.isPlaying ? $publish('AUDIO_PLAYER_PAUSE') : $publish('AUDIO_PLAYER_RESUME')" data-sara-click-el="button"> <span x-show="!$store.WebAudio.isPlaying && !$store.WebAudio.isLoading" class="flex items-center justify-around"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="l-play-f-c37160de-002e-4c3f-869b-2228675b9078"> <g id="l-play-c37160de-002e-4c3f-869b-2228675b9078"> <path id="vector-c37160de-002e-4c3f-869b-2228675b9078" d="M6 5.763a.75.75 0 011.11-.658l11.433 6.237a.75.75 0 010 1.316L7.109 18.895A.75.75 0 016 18.237V5.763z" class="fill-current"/> </g> </g> </svg> </span> <span x-show="$store.WebAudio.isPlaying && !$store.WebAudio.isLoading" class="flex items-center justify-around"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="l-pause-f-c1803a2b-6ca3-4d11-9363-86b51e629af2"> <rect id="rectangle-c1803a2b-6ca3-4d11-9363-86b51e629af2" x="7" y="4" width="3" height="16" rx="1.5" class="fill-current"/> <rect id="rectangle_2-c1803a2b-6ca3-4d11-9363-86b51e629af2" x="14" y="4" width="3" height="16" rx="1.5" class="fill-current"/> </g> </svg> </span> <span x-show="$store.WebAudio.isLoading" class="flex rounded-circle w-20 h-20 m-2 border-2 border-white dark:border-sec2-dark animate-spin" style="border-top-color:transparent;"></span> <span class="sr-only" x-text="$store.WebAudio.isPlaying ? 'Wiedergabe pausieren' : 'Wiedergabe starten'"></span> </button> <button class="lg:pr-12 pl-12 ml-12 text-sec2-dark dark:text-shade-lighter hover:text-sec2-darker dark:hover:text-shade-lightest" title="30 Sekunden vor" @click="$publish('AUDIO_PLAYER_SET_TIME', $store.WebAudio.currentTime + 30)" data-sara-click-el="button"><svg width="32" height="24" viewBox="0 0 32 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <path d="M26.35 3.5C20.1667 3.5 19.1833 3.5 13 3.5C7.75329 3.5 3.5 7.75329 3.5 13C3.5 18.2467 7.75329 22.5 13 22.5H17" class="stroke-current" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/> <path d="M29.3549 2.93557L27.2439 1.08839C26.7589 0.664074 26 1.00846 26 1.65283V5.34717C26 5.99154 26.7589 6.33593 27.2439 5.91161L29.3549 4.06443C29.6964 3.76562 29.6964 3.23438 29.3549 2.93557Z" class="fill-current"/> <path d="M11.9726 13.604C13.1366 13.604 13.4606 14.036 13.4606 14.732C13.4606 15.368 13.1006 15.86 12.1646 15.86C11.2766 15.86 10.8686 15.488 10.9406 14.672H9.20064C8.96064 16.376 9.83664 17.156 12.0686 17.156C14.2406 17.156 15.2246 16.184 15.2246 14.72C15.2246 13.532 14.5886 12.944 13.4966 12.8V12.776C14.3726 12.548 14.9846 11.888 14.9846 10.952C14.9846 9.716 14.2646 8.888 12.2246 8.888C10.3046 8.888 9.21264 9.68 9.28464 11.288H10.9886C10.9646 10.652 11.2526 10.172 12.1166 10.172C12.8606 10.172 13.2206 10.52 13.2206 11.204C13.2206 11.816 12.8726 12.26 11.9726 12.26H10.8806V13.604H11.9726ZM19.2417 17.156C21.1977 17.156 22.5057 15.968 22.5057 12.908C22.5057 9.98 21.4257 8.888 19.3737 8.888C17.4057 8.888 16.0977 10.064 16.0977 13.124C16.0977 16.052 17.1897 17.156 19.2417 17.156ZM19.2897 15.824C18.3657 15.824 17.8737 15.248 17.8737 13.04C17.8737 10.856 18.4017 10.22 19.3137 10.22C20.2377 10.22 20.7417 10.796 20.7417 12.992C20.7417 15.2 20.2017 15.824 19.2897 15.824Z" class="fill-current"/> </svg> <span class="sr-only">30 Sekunden vor</span> </button> <button x-data="{ lastVolume: $store.WebAudio.volume }" x-effect="this.lastVolume = $store.WebAudio.volume > 0 ? $store.WebAudio.volume : this.lastVolume" class="md:hidden sm:hidden px-12 text-sec2-dark dark:text-shade-lighter hover:text-sec2-darker dark:hover:text-shade-lightest" :title="$store.WebAudio.volume === 0 ? 'Stummschaltung aufheben' : 'Stummschalten'" @click="$store.WebAudio.volume = $store.WebAudio.volume === 0 ? this.lastVolume : 0" data-sara-click-el="button"> <span x-show="$store.WebAudio.volume !== 0"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <path d="M17 16C18.1956 15.2016 19 13.7092 19 12C19 10.2908 18.1956 8.79844 17 8" class="stroke-current" stroke-width="1.3" stroke-linecap="round"/> <path d="M15 13C15.2989 12.8004 15.5 12.4273 15.5 12C15.5 11.5727 15.2989 11.1996 15 11" class="stroke-current" stroke-width="1.3" stroke-linecap="round"/> <path d="M19 18.5C20.8569 17.2025 22.5 14.7775 22.5 12C22.5 9.2225 20.8569 6.79746 19 5.5" class="stroke-current" stroke-width="1.3" stroke-linecap="round"/> <path d="M2.65 8.75C2.65 8.69477 2.69477 8.65 2.75 8.65H5.73691C6.05481 8.65 6.36325 8.54181 6.61149 8.34322L11.2006 4.67191C11.2183 4.65773 11.2404 4.65 11.2631 4.65H12.25C12.3052 4.65 12.35 4.69477 12.35 4.75V19.25C12.35 19.3052 12.3052 19.35 12.25 19.35H11.2631C11.2404 19.35 11.2183 19.3423 11.2006 19.3281L6.61149 15.6568C6.36325 15.4582 6.05481 15.35 5.73691 15.35H2.75C2.69477 15.35 2.65 15.3052 2.65 15.25V8.75Z" class="stroke-current" stroke-width="1.3"/> </svg> <span class="sr-only">Stummschalten</span> </span> <span x-show="$store.WebAudio.volume === 0"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <path d="M2.65 8.75C2.65 8.69477 2.69477 8.65 2.75 8.65H5.73691C6.05481 8.65 6.36325 8.54181 6.61149 8.34322L11.2006 4.67191C11.2183 4.65773 11.2404 4.65 11.2631 4.65H12.25C12.3052 4.65 12.35 4.69477 12.35 4.75V19.25C12.35 19.3052 12.3052 19.35 12.25 19.35H11.2631C11.2404 19.35 11.2183 19.3423 11.2006 19.3281L6.61149 15.6568C6.36325 15.4582 6.05481 15.35 5.73691 15.35H2.75C2.69477 15.35 2.65 15.3052 2.65 15.25V8.75Z" class="stroke-current" stroke-width="1.3"/> <path d="M15.5 14.5L20.5 9.5" class="stroke-current" stroke-width="1.3" stroke-linecap="round"/> <path d="M20.5 14.5L15.5 9.5" class="stroke-current" stroke-width="1.3" stroke-linecap="round"/> </svg> <span class="sr-only">Stummschaltung aufheben</span> </span> </button> <div x-data="{ get progress() { return Math.min(($store.WebAudio.volume - 0) / 1 - 0, 1); } }" class="relative h-2 self-center bottom-px md:hidden sm:hidden w-64" :style="{ '--polygon-range-progress': progress }"> <input class="audio-player-range-thumb hover:cursor-pointer absolute w-full appearance-none h-2 bg-opacity-slight dark:bg-opacity-slight bg-no-repeat bg-gradient-to-r bg-sec2-dark dark:bg-sec2-lightest from-sec2-dark dark:from-sec2-lightest to-sec2-dark dark:to-sec2-lightest" type="range" x-model="$store.WebAudio.volume" :min="0" :max="1" :step="0.01" style="background-size: calc(100% * var(--polygon-range-progress)) 100%;" title="Lautstärke"> <span class="absolute left-0 bottom-0 top-0 my-auto rounded-pill w-12 h-12 pointer-events-none bg-sec2-dark dark:bg-sec2-lightest" style="left: calc(100% * var(--polygon-range-progress) - var(--polygon-range-progress) * 8px);"></span> </div> </div> <div class="sm:min-w-48 sm:w-full"> </div> </div> </div> <div class="lg:px-24 md:px-24 sm:px-16"> <div x-data="{ get progress() { return Math.min(($store.WebAudio.currentTime - 0) / $store.WebAudio.duration - 0, 1); } }" class="relative h-2 w-full mb-12" :style="{ '--polygon-range-progress': progress }"> <input class="audio-player-range-thumb hover:cursor-pointer absolute w-full appearance-none h-2 bg-opacity-slight dark:bg-opacity-slight bg-no-repeat bg-gradient-to-r bg-sec2-dark dark:bg-sec2-lightest from-sec2-dark dark:from-sec2-lightest to-sec2-dark dark:to-sec2-lightest" type="range" x-model="$store.WebAudio.currentTime" :min="0" :max="$store.WebAudio.duration" :step="1" style="background-size: calc(100% * var(--polygon-range-progress)) 100%;" title="Abspielposition" :disabled="$store.WebAudio.isLoading"> <template x-for="marker in $store.WebAudio.chapterPositions"><svg width="4" height="2" class="absolute text-sec2-lightest dark:text-sec2-darker" :style="{ 'left': `${ marker * 100 / $store.WebAudio.duration }%` }" role="img" aria-hidden="true" > <rect width="4" height="2" class="fill-current"/> </svg> </template> <span class="absolute left-0 bottom-0 top-0 my-auto rounded-pill w-12 h-12 pointer-events-none bg-sec2-dark dark:bg-sec2-lightest" style="left: calc(100% * var(--polygon-range-progress) - var(--polygon-range-progress) * 8px);"></span> </div> <div class="relative flex justify-between font-sansUI text-s text-sec2-darker dark:text-shade-lightest mb-12"> <div x-text="$dateUtils.formatTime($store.WebAudio.currentTime)"></div> <div class="absolute left-48 right-48 whitespace-nowrap overflow-hidden text-center text-black dark:text-shade-lightest opacity-distinct md:hidden lg:hidden" x-show="$store.WebAudio.chapter && $store.WebAudio.chapter.title"> <span x-text="$store.WebAudio.chapter ? $store.WebAudio.chapter.title : ''"></span> <div class="absolute top-0 right-0 w-32 h-full bg-gradient-to-l from-sec2-lightest dark:from-sec2-darker"></div> </div> <div x-text="$dateUtils.formatTime($store.WebAudio.duration)"></div> </div> </div> </div> </div> </div> </div> </div> </div> </template> <div x-data="{isOpen: false,returnFocusElement: null,type: '',get title() {return $settings?.translations?.loginLayer?.[this.type]?.title || '';},get imageSrc() {if (this.type) {return 'https://cdn.prod.www.spiegel.de/public/spon/images/modal/' + this.type + '-login_720.png';} else {return '';}},get imageSrcset() {if (this.type) {return ('https://cdn.prod.www.spiegel.de/public/spon/images/modal/' + this.type + '-login_460.png 460w, ' +'https://cdn.prod.www.spiegel.de/public/spon/images/modal/' + this.type + '-login_720.png 720w, ' +'https://cdn.prod.www.spiegel.de/public/spon/images/modal/' + this.type + '-login_920.png 920w, ' +'https://cdn.prod.www.spiegel.de/public/spon/images/modal/' + this.type + '-login_1440.png 1440w');} else {return '';}},get text() {return $settings?.translations?.loginLayer?.[this.type]?.text || '';},preventScrolling: true,id: '9201aaa3-e9b8-4ff2-a7d5-0f8fb447ea6c',open() {if (this.isOpen) {return;}this.isOpen = true;this.returnFocusElement = window.document.activeElement;$focus($refs.closeButton);$publish('LOGIN_LAYER_OPENED');$publish('OVERLAY_OPENED', this);},close() {if (!this.isOpen) {return;}this.isOpen = false;$focus(this.returnFocusElement);this.returnFocusElement = null;this.type = '';$publish('LOGIN_LAYER_CLOSED');$publish('OVERLAY_CLOSED', this);},}" x-subscribe.login_layer_open_layer="const args = $payload[0];if (args.type) {type = args.type;open();}" x-subscribe.login_layer_close_layer="close()" @keydown.escape.capture.window="if ($event.defaultPrevented || !isOpen) {return;}$event.preventDefault();close();" x-cloak> <template x-if="isOpen"> <div class="fixed left-0 top-0 h-full w-full z-overlay animate-fade-in" :data-area="`login-layer>${type}`"> <div class="bg-black opacity-distinct h-full w-full" @click.prevent="close();"></div> <div class="absolute top-0 bottom-0 left-0 right-0 flex items-center mx-auto sm:max-w-sm md:max-w-md lg:max-w-lg pointer-events-none lg:px-8" style="bottom: var(--polygon-app-bottombar-height, 0px)"> <div class="bg-white border border-shade-lighter dark:bg-dm-shade-darkest lg:mx-auto md:mx-auto sm:mx-16 lg:p-24 lg:w-8/12 md:p-24 md:w-10/12 rounded shadow sm:px-16 sm:pt-16 sm:pb-24 max-h-full overflow-x-hidden overflow-y-auto pointer-events-auto"> <div class="flex justify-between lg:mb-24 md:mb-24 sm:mb-16"> <div class="font-brandUI font-extrabold lg:text-2xl md:text-2xl sm:text-xl leading-tight lg:mr-24 md:mr-24 sm:mr-16 sm:pt-px" x-text="title"></div> <button class="text-black dark:text-shade-lightest outline-focus cursor-pointer leading-none" data-sara-click-el="button" x-ref="closeButton" @click.prevent="close();"><svg class="stroke-current" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="l-close-f31f6114-754c-4ff5-bf2c-d9ef260f9a1a"> <path id="vector-f31f6114-754c-4ff5-bf2c-d9ef260f9a1a" d="M18 18L6 6m12 0L6 18" stroke-width="1.3" stroke-linecap="round"/> </g> </svg> <span class="sr-only">Dialog schließen</span> </button> </div> <div class="mb-8"> <span class="block bg-transparent dark:bg-black"> <img aria-hidden="true" class="rounded" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 327' width='720' height='327' %3E%3C/svg%3E" :src="imageSrc" :srcset="imageSrcset" sizes="(max-width: 719px) 460px, 720px" width="720" height="327"> </span> <div class="RichTextCredit font-sansUI text-s text-shade-light dark:text-shade-dark pt-4"> © Patrick Mariathasan / DER SPIEGEL </div> </div> <div class="font-sansUI text-black dark:text-shade-lightest text-base mb-16" x-text="text"></div> <a href="https://gruppenkonto.spiegel.de/authenticate?requestAccessToken=true&targetUrl=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078" class="inline-flex items-center font-bold font-sansUI rounded bg-primary-base dark:bg-dm-primary-base text-white dark:text-shade-lightest hover:bg-primary-dark focus:bg-primary-darker px-16 min-h-44 gap-8" title="Anmelden oder Konto erstellen" data-consent-el="loginLink" data-sara-link="gruppenkonto" x-data @click.prevent="if ($appUtils.isApp) {$appBridge.triggerLogin({ targetUrl: '{{url(requestPath)}}' });} else {window.location.href = $el.href;}"> <span data-label class="text-s leading-18">Anmelden oder Konto erstellen</span> <span class="leading-none"><svg width="12" height="12"><use xlink:href="#spon-chevron-right-f-s"/></svg> </span> </a> </div> </div> </div> </template> </div> <div x-data="{isOpen: false,returnFocusElement: null,preventScrolling: true,id: 'fcbe6816-7974-4217-aeb2-0e0e7038c9d4',open() {if (this.isOpen) {return;}this.isOpen = true;this.returnFocusElement = window.document.activeElement;$focus($refs.closeButton);$publish('FEEDBACK_LAYER_OPENED');$publish('OVERLAY_OPENED', this);},close() {if (!this.isOpen) {return;}this.isOpen = false;$focus(this.returnFocusElement);this.returnFocusElement = null;$publish('FEEDBACK_LAYER_CLOSED');$publish('OVERLAY_CLOSED', this);},}" x-subscribe.feedback_layer_open_layer="open()" x-subscribe.feedback_layer_close_layer="close()" @keydown.escape.capture.window="if ($event.defaultPrevented || !isOpen) {return;}$event.preventDefault();close();" x-cloak> <template x-if="isOpen"> <div class="fixed left-0 top-0 h-full w-full z-overlay animate-fade-in" data-area="feedback-layer"> <div class="bg-black opacity-distinct h-full w-full" @click.prevent="close();"></div> <div class="absolute top-0 bottom-0 left-0 right-0 flex items-center mx-auto sm:max-w-sm md:max-w-md lg:max-w-lg pointer-events-none lg:px-8" style="bottom: var(--polygon-app-bottombar-height, 0px)"> <div class="bg-white border border-shade-lighter dark:bg-dm-shade-darkest lg:mx-auto md:mx-auto sm:mx-16 lg:p-24 lg:w-8/12 md:p-24 md:w-10/12 rounded shadow sm:p-16 max-h-full overflow-x-hidden overflow-y-auto pointer-events-auto"> <div class="flex justify-between lg:mb-24 md:mb-24 sm:mb-16"> <div class="font-brandUI font-extrabold lg:text-2xl md:text-2xl sm:text-xl leading-tight lg:mr-24 md:mr-24 sm:mr-16 sm:pt-px"> Helfen Sie uns, besser zu werden </div> <button class="text-black dark:text-shade-lightest outline-focus cursor-pointer leading-none" data-sara-click-el="button" x-ref="closeButton" @click.prevent="close();"><svg id="spon-close-l" class="stroke-current" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="l-close-9e6e8fca-396e-4a68-95a6-6093fa92a0cf"> <path id="vector-9e6e8fca-396e-4a68-95a6-6093fa92a0cf" d="M18 18L6 6m12 0L6 18" stroke-width="1.3" stroke-linecap="round"/> </g> </svg> <span class="sr-only">Dialog schließen</span> </button> </div> <div class="mb-8"> <span class="block bg-transparent dark:bg-black"> <img aria-hidden="true" class="rounded" src="https://cdn.prod.www.spiegel.de/public/spon/images/modal/feedback_720.png" srcset="https://cdn.prod.www.spiegel.de/public/spon/images/modal/feedback_460.png 460w,https://cdn.prod.www.spiegel.de/public/spon/images/modal/feedback_920.png 920w,https://cdn.prod.www.spiegel.de/public/spon/images/modal/feedback_720.png 720w,https://cdn.prod.www.spiegel.de/public/spon/images/modal/feedback_1440.png 1440w" sizes="(max-width: 719px) 460px, 720px" width="720" height="328"> </span> <div class="RichTextCredit font-sansUI text-s text-shade-light dark:text-shade-dark pt-4"> © Patrick Mariathasan / DER SPIEGEL </div> </div> <div class="font-sansUI text-black dark:text-shade-lightest text-base mb-16"> Haben Sie einen Fehler im Text gefunden, auf den Sie uns hinweisen wollen? Oder gibt es ein technisches Problem? Melden Sie sich gern mit Ihrem Anliegen. </div> <div class="flex lg:flex-wrap md:flex-wrap sm:flex-col items-start"> <span class="lg:mr-16 md:mr-16 mb-16"> <a href="https://www.spiegel.de/kontakt?betreff=Ergebnisse+der+Landtagswahl+in+Brandenburg&channel=Politik&id=19755ff0-6966-46f3-979c-2ee2f57eb078&reason=Fehlerhinweis+an+die+Redaktion" class="inline-flex items-center font-bold font-sansUI rounded bg-white hover:border-black border border-shade-base text-black focus:border-black focus:bg-shade-lightest dark:bg-dm-shade-darkest dark:text-shade-lightest dark:focus:border-white dark:border-shade-light dark:hover:border-white dark:focus:bg-black px-24 min-h-46 gap-12" title="Redaktionellen Fehler melden"> <span data-label class="text-base leading-18">Redaktionellen Fehler melden</span> <span class="leading-none"><svg width="12" height="12"><use xlink:href="#spon-chevron-right-f-s"/></svg> </span> </a> </span> <span class="mb-16"> <a href="https://www.spiegel.de/kontakt?betreff=Ergebnisse+der+Landtagswahl+in+Brandenburg&channel=Politik&id=19755ff0-6966-46f3-979c-2ee2f57eb078&reason=Technische+Fragen+und+Probleme" class="inline-flex items-center font-bold font-sansUI rounded bg-white hover:border-black border border-shade-base text-black focus:border-black focus:bg-shade-lightest dark:bg-dm-shade-darkest dark:text-shade-lightest dark:focus:border-white dark:border-shade-light dark:hover:border-white dark:focus:bg-black px-24 min-h-46 gap-12" title="Technisches Problem melden"> <span data-label class="text-base leading-18">Technisches Problem melden</span> <span class="leading-none"><svg width="12" height="12"><use xlink:href="#spon-chevron-right-f-s"/></svg> </span> </a> </span> </div> <div class="font-sansUI text-shade-dark dark:text-shade-light text-s"> <span>Sie haben weiteres inhaltliches Feedback oder eine Frage an uns?</span> <a href="https://www.spiegel.de/kontakt?betreff=Ergebnisse+der+Landtagswahl+in+Brandenburg&channel=Politik&id=19755ff0-6966-46f3-979c-2ee2f57eb078" title="Zum Kontaktformular" target="_self" class="border-b border-shade-light text-black dark:text-shade-lightest hover:border-black dark:hover:border-white focus:border-transparent font-normal font-sansUI text-s leading-normal"> Zum Kontaktformular </a> </div> </div> </div> </div> </template> </div> <div class="fixed top-0 left-0 right-0 z-overlay" data-notification-el="container" data-notification-position="overlay"></div> <div x-data="{isOpen: false,returnFocusElement: null,preventScrolling: true,id: '5bb562ad-1872-49be-b3ec-5a254199807d',open() {if (this.isOpen) {return;}this.isOpen = true;this.returnFocusElement = window.document.activeElement;$publish('OVERLAY_OPENED', this);},close() {if (!this.isOpen) {return;}this.isOpen = false;$focus(this.returnFocusElement);this.returnFocusElement = null;$publish('OVERLAY_CLOSED', this);}}" x-subscribe.user_capping_limit_exceeded="open()" x-subscribe.user_capping_limit_ok="close()" x-cloak> <template x-if="isOpen"> <div class="fixed left-0 top-0 h-full w-full z-overlay animate-fade-in"> <div class="bg-black opacity-distinct h-full w-full"></div> <div class="absolute top-0 bottom-0 left-0 right-0 flex items-center mx-auto sm:max-w-sm md:max-w-md lg:max-w-lg pointer-events-none lg:px-8" style="bottom: var(--polygon-app-bottombar-height, 0px)"> <div class="bg-white border border-shade-lighter dark:bg-dm-shade-darkest lg:mx-auto md:mx-auto sm:mx-16 lg:p-24 lg:w-8/12 md:p-24 md:w-10/12 rounded shadow sm:p-16 max-h-full overflow-x-hidden overflow-y-auto pointer-events-auto"> <div class="flex justify-between lg:mb-24 md:mb-24 sm:mb-16"> <div class="font-brandUI font-extrabold lg:text-2xl md:text-2xl sm:text-xl leading-tight lg:mr-24 md:mr-24 sm:mr-16 sm:pt-px"> Mehrfachnutzung erkannt </div> </div> <div class="mb-16"> <span class="block bg-transparent dark:bg-black"> <img aria-hidden="true" class="rounded" src="https://cdn.prod.www.spiegel.de/public/spon/images/modal/user-capping_720.png" srcset="https://cdn.prod.www.spiegel.de/public/spon/images/modal/user-capping_460.png 460w,https://cdn.prod.www.spiegel.de/public/spon/images/modal/user-capping_920.png 920w,https://cdn.prod.www.spiegel.de/public/spon/images/modal/user-capping_720.png 720w,https://cdn.prod.www.spiegel.de/public/spon/images/modal/user-capping_1440.png 1440w" sizes="(max-width: 719px) 460px, 720px" width="720" height="327"> </span> </div> <div class="font-sansUI text-black dark:text-shade-lightest text-base lg:mb-24 md:mb-24 sm:mb-16"> <span class="block mb-8">Die gleichzeitige Nutzung von SPIEGEL+-Inhalten ist auf ein Gerät beschränkt.</span> Sie können SPIEGEL+ auf diesem Gerät weiterlesen oder sich abmelden, um Ihr Abo auf einem anderen Gerät zu nutzen. </div> <span class="mr-24"> <button x-data @click="$publish('USER_CAPPING_ALLOW');" data-sara-click-el="button" class="inline-flex items-center font-bold font-sansUI rounded bg-primary-base dark:bg-dm-primary-base text-white dark:text-shade-lightest hover:bg-primary-dark focus:bg-primary-darker dark:disabled:bg-shade-darker dark:disabled:text-shade-base px-16 min-h-44 gap-8 disabled:cursor-not-allowed disabled:bg-shade-lighter disabled:text-shade-dark" title="Auf diesem Gerät weiterlesen"> <span data-label class="text-s leading-18">Auf diesem Gerät weiterlesen</span> <span class="leading-none"><svg width="12" height="12"><use xlink:href="#spon-chevron-right-f-s"/></svg> </span> </button> </span> <a href="https://gruppenkonto.spiegel.de/abmelden.html?targetUrl=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078" class="inline-flex items-center font-bold font-sansUI rounded bg-white hover:border-black border border-shade-base text-black focus:border-black focus:bg-shade-lightest dark:bg-dm-shade-darkest dark:text-shade-lightest dark:focus:border-white dark:border-shade-light dark:hover:border-white dark:focus:bg-black px-16 min-h-44 sm:mt-16 gap-8" title="Dieses Gerät abmelden" x-data @click.prevent="$appUtils.isApp ? $appBridge.triggerLogout() : window.location.href = $el.href" data-sara-link="gruppenkonto"> <span data-label class="text-s leading-18">Dieses Gerät abmelden</span> <span class="leading-none"><svg width="12" height="12"><use xlink:href="#spon-chevron-right-f-s"/></svg> </span> </a> <div class="font-sansUI text-shade-dark dark:text-shade-light text-s mt-16"> Sie möchten SPIEGEL+ auf mehreren Geräten zeitgleich nutzen? <a href="https://abo.spiegel.de/de/c/microsites/pl/standard/multiuser-angebote?requestAccessToken=true&sara_icid=dirl_upd_mlzsU4aCciELHQtVaYhZOZC4L12zii&targetUrl=https%3A%2F%2Fwww.spiegel.de%2Fpolitik%2Fdeutschland%2Flandtagswahl-in-brandenburg-2024-alle-ergebnisse-im-ueberblick-a-19755ff0-6966-46f3-979c-2ee2f57eb078" title="Zu unseren Angeboten" target="_self" class="border-b border-shade-light text-black dark:text-shade-lightest hover:border-black dark:hover:border-white focus:border-transparent font-normal font-sansUI text-s leading-normal"> Zu unseren Angeboten </a> </div> </div> </div> </template> </div> <script defer x-data="{init() {if (window.adobe && window.adobe.target) {this.$publish('ADOBELAUNCH_SOURCE_READY');} else {$el.src = 'https://assets.adobedtm.com/cc10f7b4369d/32ae8c3350c5/launch-8a2e39fde471.min.js';}},}" @load="$publish('ADOBELAUNCH_SOURCE_READY')"></script> <script>window.AdPositions = window.AdPositions || [];window.AdPositions.push({"id":"pos_header","sitetype":"desktop"});window.AdPositions.push({"id":"pos_header","sitetype":"mobile"});window.AdPositions.push({"id":"pos_15","sitetype":"desktop"});window.AdPositions.push({"cls":352,"id":"pos_15","sitetype":"mobile"});window.AdPositions.push({"id":"pos_footer","sitetype":"desktop"});window.AdPositions.push({"cls":352,"id":"pos_footer","sitetype":"mobile"});</script> <script>var IQDComplete = {init: function () {return true;}};</script> <script defer src="https://cdn.prod.www.spiegel.de/public/shared/generated/js/vendors.f1c4f8bff0ebc606b86f.js"></script> <script defer src="https://cdn.prod.www.spiegel.de/public/shared/generated/js/index.0db2974cb13de0675ef9.js"></script> <div class="hidden" data-el="footerSvgs"><svg id="spon-checkbox-f-l" class="stroke-current" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="l-checkbox-f-78874344-a977-4ddc-8295-53681606111d"> <g id="l-checkbox-f_2-78874344-a977-4ddc-8295-53681606111d"> <path id="check-78874344-a977-4ddc-8295-53681606111d" d="M17 7l-7 9-3-4" stroke-width="2.2" stroke-linecap="round"/> </g> </g> </svg><svg id="spon-warning-f-l" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="l-warning-f-1a052608-9a93-458d-91eb-c9b8c37a0ee3"> <path id="rectangle-3-1a052608-9a93-458d-91eb-c9b8c37a0ee3" d="M10.345 6.633A1.5 1.5 0 0111.84 5h.322a1.5 1.5 0 011.494 1.633l-.566 6.37a1.093 1.093 0 01-2.178 0l-.566-6.37z" class="fill-current"/> <circle id="ellipse-3-1a052608-9a93-458d-91eb-c9b8c37a0ee3" cx="12" cy="17.5" r="1.5" class="fill-current"/> </g> </svg><svg id="spon-close-m" class="stroke-current" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"> <g id="m-close-7e55523e-0962-498d-a62b-bafa1a819260"> <path id="vector-7e55523e-0962-498d-a62b-bafa1a819260" d="M12 12L4 4m8 0l-8 8" stroke-linecap="round"/> </g> </svg> </div> <template id="prototype-notification-failure"> <div class="hidden bg-sec2-dark dark:bg-sec2-darker transition-opacity duration-100"> <div class="mx-auto lg:max-w-lg flex py-16 lg:px-24 md:px-24 sm:px-16"> <div class="flex items-center lg:ml-8 lg:mr-24 md:mr-24 sm:mr-16"> <span class="h-32 w-32 rounded-circle border border-white inline-flex items-center justify-center text-white dark:text-shade-lightest"><svg width="24" height="24"><use xlink:href="#spon-warning-f-l"/></svg> </span> </div> <div class="grow flex flex-col justify-center font-sansUI text-white dark:text-shade-lightest lg:mr-24 md:mr-24 sm:mr-16"> <div class="text-base font-bold" data-notification-el="headline"> __proto_headline__ </div> <div class="text-s mt-4 RichTextSystem RichTextSystem--inverted" data-notification-el="description"> __proto_description__ </div> </div> <div class="flex flex-col lg:mr-4"> <button class="text-white dark:text-shade-lightest block leading-none outline-focus" data-notification-el="closeIcon" data-sara-click-el="button"><svg width="16" height="16"><use xlink:href="#spon-close-m"/></svg> <span class="sr-only">Hinweis schließen</span> </button> </div> </div> </div> </template> <template id="prototype-notification-success"> <div class="hidden bg-sec2-dark dark:bg-sec2-darker transition-opacity duration-100"> <div class="mx-auto lg:max-w-lg flex py-16 lg:px-24 md:px-24 sm:px-16"> <div class="flex items-center lg:ml-8 lg:mr-24 md:mr-24 sm:mr-16"> <span class="h-32 w-32 rounded-circle border border-white inline-flex items-center justify-center text-white dark:text-shade-lightest"><svg width="24" height="24"><use xlink:href="#spon-checkbox-f-l"/></svg> </span> </div> <div class="grow flex flex-col justify-center font-sansUI text-white dark:text-shade-lightest lg:mr-24 md:mr-24 sm:mr-16"> <div class="text-base font-bold" data-notification-el="headline"> __proto_headline__ </div> <div class="text-s mt-4 RichTextSystem RichTextSystem--inverted" data-notification-el="description"> __proto_description__ </div> </div> <div class="flex flex-col lg:mr-4"> <button class="text-white dark:text-shade-lightest block leading-none outline-focus" data-notification-el="closeIcon" data-sara-click-el="button"><svg width="16" height="16"><use xlink:href="#spon-close-m"/></svg> <span class="sr-only">Hinweis schließen</span> </button> </div> </div> </div> </template> <script>if (typeof(Event) === 'function') {window.dispatchEvent(new Event('POLYGON_DOM_READY'));}</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10