@itcenteratunihelsinki/huds-lib 0.5.37 → 0.5.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/cjs/huds-lib.cjs.js +1 -1
  2. package/dist/cjs/hy-footer_5.cjs.entry.js +19 -8
  3. package/dist/cjs/hy-opening-hours-content.cjs.entry.js +2 -1
  4. package/dist/cjs/hy-opening-hours.cjs.entry.js +1 -1
  5. package/dist/cjs/hy-site-header_3.cjs.entry.js +9 -4
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/collection/components/footer/hy-footer-info/hy-footer-info.css +55 -0
  8. package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js +118 -9
  9. package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.css +36 -40
  10. package/dist/collection/components/hy-opening-hours/hy-opening-hours.js +1 -1
  11. package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js +20 -1
  12. package/dist/collection/components/site-header/site-header.js +22 -3
  13. package/dist/collection/components/site-header/site-logo/site-logo.css +8 -6
  14. package/dist/collection/components/site-header/site-logo/site-logo.js +27 -2
  15. package/dist/esm/huds-lib.js +1 -1
  16. package/dist/esm/hy-footer_5.entry.js +19 -8
  17. package/dist/esm/hy-opening-hours-content.entry.js +2 -1
  18. package/dist/esm/hy-opening-hours.entry.js +1 -1
  19. package/dist/esm/hy-site-header_3.entry.js +9 -4
  20. package/dist/esm/loader.js +1 -1
  21. package/dist/huds-lib/huds-lib.esm.js +1 -1
  22. package/dist/huds-lib/p-43301ec9.entry.js +1 -0
  23. package/dist/huds-lib/p-db25d5b5.entry.js +1 -0
  24. package/dist/huds-lib/p-de9a3ec8.entry.js +1 -0
  25. package/dist/huds-lib/p-f309375a.entry.js +1 -0
  26. package/dist/types/components/footer/hy-footer-info/hy-footer-info.d.ts +20 -0
  27. package/dist/types/components/hy-opening-hours-content/hy-opening-hours-content.d.ts +1 -0
  28. package/dist/types/components/site-header/site-header.d.ts +1 -0
  29. package/dist/types/components/site-header/site-logo/site-logo.d.ts +1 -0
  30. package/dist/types/components.d.ts +35 -1
  31. package/package.json +1 -1
  32. package/dist/huds-lib/p-2517134c.entry.js +0 -1
  33. package/dist/huds-lib/p-33ffdffe.entry.js +0 -1
  34. package/dist/huds-lib/p-51b159ea.entry.js +0 -1
  35. package/dist/huds-lib/p-8081f6df.entry.js +0 -1
@@ -18,6 +18,7 @@ import { MenuType } from '../../utils/utils';
18
18
  export declare class SiteHeader {
19
19
  el: HTMLElement;
20
20
  isGroup: boolean;
21
+ isLuomusGroup: boolean;
21
22
  researchGroupLabel: string;
22
23
  groupType: string;
23
24
  groupLogoUrl: string;
@@ -3,6 +3,7 @@ export declare class SiteLogo {
3
3
  type: FooterVariant;
4
4
  color: ColorVariant;
5
5
  isGroup: boolean;
6
+ isLuomusGroup: boolean;
6
7
  label?: string;
7
8
  size: SiteLogoSize;
8
9
  url?: string;
@@ -14,7 +14,7 @@ import { DesktopLinks } from "./components/site-header/hy-desktop-menu-links/hy-
14
14
  import { IDropdownItem } from "./components/hy-dropdown/hy-dropdown";
15
15
  import { IFilterGroupFilter } from "./components/hy-filter-group/hy-filter-group";
16
16
  import { FooterBaseLinks, FooterBaseSome } from "./components/footer/hy-footer-base/hy-footer-base";
17
- import { FooterInfoLinks } from "./components/footer/hy-footer-info/hy-footer-info";
17
+ import { FooterInfoLinks, LuomusFooterContent } from "./components/footer/hy-footer-info/hy-footer-info";
18
18
  import { ListItemValue } from "./components/hy-general-list/hy-general-list";
19
19
  import { ImageSrcSet as ImageSrcSet1 } from "./components/hy-hero/hy-hero";
20
20
  import { ImageSrcSet as ImageSrcSet2 } from "./components/image/image";
@@ -397,7 +397,12 @@ export namespace Components {
397
397
  * Data for links to be displayed.
398
398
  */
399
399
  "dataFooterInfoLinks": FooterInfoLinks[] | string;
400
+ /**
401
+ * Luomus group Logo url for footer
402
+ */
403
+ "groupLogoUrl"?: string;
400
404
  "isGroup": boolean;
405
+ "isLuomusGroup": boolean;
401
406
  "linkIsExternal": boolean;
402
407
  "linkScLabel"?: string;
403
408
  /**
@@ -408,6 +413,15 @@ export namespace Components {
408
413
  * Content area link button url.
409
414
  */
410
415
  "linkUrl": string;
416
+ /**
417
+ * Logo label
418
+ */
419
+ "logoLabel"?: string;
420
+ /**
421
+ * Logo url
422
+ */
423
+ "logoUrl"?: string;
424
+ "luomusFooterContent": LuomusFooterContent[] | string;
411
425
  /**
412
426
  * Content area text.
413
427
  */
@@ -816,6 +830,7 @@ export namespace Components {
816
830
  "dataItems": items[] | string;
817
831
  "multiple": boolean;
818
832
  "selfServiceLabel": string;
833
+ "venueType": string;
819
834
  }
820
835
  interface HyPager {
821
836
  }
@@ -930,6 +945,7 @@ export namespace Components {
930
945
  "groupLogoUrl": string;
931
946
  "groupType": string;
932
947
  "isGroup": boolean;
948
+ "isLuomusGroup": boolean;
933
949
  "logoLabel"?: string;
934
950
  "logoUrl"?: string;
935
951
  "menuLabel": string;
@@ -945,6 +961,7 @@ export namespace Components {
945
961
  interface HySiteLogo {
946
962
  "color": ColorVariant;
947
963
  "isGroup": boolean;
964
+ "isLuomusGroup": boolean;
948
965
  "label"?: string;
949
966
  "size": SiteLogoSize;
950
967
  "type": FooterVariant;
@@ -2114,7 +2131,12 @@ declare namespace LocalJSX {
2114
2131
  * Data for links to be displayed.
2115
2132
  */
2116
2133
  "dataFooterInfoLinks"?: FooterInfoLinks[] | string;
2134
+ /**
2135
+ * Luomus group Logo url for footer
2136
+ */
2137
+ "groupLogoUrl"?: string;
2117
2138
  "isGroup"?: boolean;
2139
+ "isLuomusGroup"?: boolean;
2118
2140
  "linkIsExternal"?: boolean;
2119
2141
  "linkScLabel"?: string;
2120
2142
  /**
@@ -2125,6 +2147,15 @@ declare namespace LocalJSX {
2125
2147
  * Content area link button url.
2126
2148
  */
2127
2149
  "linkUrl"?: string;
2150
+ /**
2151
+ * Logo label
2152
+ */
2153
+ "logoLabel"?: string;
2154
+ /**
2155
+ * Logo url
2156
+ */
2157
+ "logoUrl"?: string;
2158
+ "luomusFooterContent"?: LuomusFooterContent[] | string;
2128
2159
  /**
2129
2160
  * Content area text.
2130
2161
  */
@@ -2546,6 +2577,7 @@ declare namespace LocalJSX {
2546
2577
  "dataItems"?: items[] | string;
2547
2578
  "multiple"?: boolean;
2548
2579
  "selfServiceLabel"?: string;
2580
+ "venueType"?: string;
2549
2581
  }
2550
2582
  interface HyPager {
2551
2583
  }
@@ -2660,6 +2692,7 @@ declare namespace LocalJSX {
2660
2692
  "groupLogoUrl"?: string;
2661
2693
  "groupType"?: string;
2662
2694
  "isGroup"?: boolean;
2695
+ "isLuomusGroup"?: boolean;
2663
2696
  "logoLabel"?: string;
2664
2697
  "logoUrl"?: string;
2665
2698
  "menuLabel"?: string;
@@ -2679,6 +2712,7 @@ declare namespace LocalJSX {
2679
2712
  interface HySiteLogo {
2680
2713
  "color"?: ColorVariant;
2681
2714
  "isGroup"?: boolean;
2715
+ "isLuomusGroup"?: boolean;
2682
2716
  "label"?: string;
2683
2717
  "size"?: SiteLogoSize;
2684
2718
  "type"?: FooterVariant;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcenteratunihelsinki/huds-lib",
3
- "version": "0.5.37",
3
+ "version": "0.5.38",
4
4
  "description": "Helsinki University Design System library",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1 +0,0 @@
1
- import{r as e,h as t,H as a}from"./p-bb24c6b5.js";import{r}from"./p-e20f6203.js";const o=class{constructor(t){e(this,t),this.blockTitle=null,this.date=null,this.dateTitle=null,this.dateType="day",this.multiple=!1,this.customLinkTitle=null,this.customLink=null,this.exceptional=!1}render(){const e=["hy-open-hours--container",this.exceptional?"hy-open-hours--container--exceptional":""].join(" ");return t(a,null,t("div",{class:e,"data-lang":this.language,"data-id":this.blockId,"data-date":this.date,"data-type":this.dateType,"data-multiple":this.multiple},this.blockTitle&&t("h3",{class:"open-hours__title"},this.blockTitle),!this.exceptional&&t("div",{class:"open-hours__date-change"},t("button",{"aria-label":this.prevLabel,class:"icon--arrow-left open-hours__prev-date"},t("hy-icon",{icon:"hy-icon-caret-left",size:18})),t("span",{class:"open-hours__date-change--title"},this.dateTitle),t("button",{"aria-label":this.nextLabel,class:"icon--arrow-right open-hours__next-date"},t("hy-icon",{icon:"hy-icon-caret-right",size:18}))),t("div",{class:"open-hours__content__top"},t("span",{class:"open-hours__content__top-label"},this.listLabel),t("span",{class:"open-hours__content__top-label"},this.buildingLabel),t("span",{class:"open-hours__content__top-label"},this.customerServiceLabel)),t("div",{class:"open-hours__content"},t("slot",null)),this.customLink&&t("div",{class:"open-hours__links"},t("hy-cta-link",{"full-width":!0,"link-content":this.customLinkTitle,"sc-label":this.customLinkTitle,url:this.customLink,variant:r.linkList},this.customLinkTitle))),t("hy-box",{mb:"1.75, 1.75, 2, 2.5"}))}};o.style=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-open-hours--container{font-family:var(--main-font-family);max-width:50rem;overflow:hidden}.hy-open-hours--container--exceptional{max-width:100%}.open-hours__title{text-transform:uppercase}.open-hours__date-change{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--grayscale-background-box);color:var(--brand-main);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.open-hours__date-change--title{font-size:1.25rem;line-height:24px;font-weight:700;color:var(--grayscale-black);font-family:var(--main-font-family);letter-spacing:-0.5px;text-align:center;text-transform:uppercase}.open-hours__date-change .open-hours__prev-date,.open-hours__date-change .open-hours__next-date{background:none;border:0;color:var(--brand-main);display:-webkit-box;display:-ms-flexbox;display:flex;height:44px;outline:5px solid var(--grayscale-white);position:relative;width:44px}.open-hours__date-change .open-hours__prev-date:hover,.open-hours__date-change .open-hours__next-date:hover{background-color:var(--hover-gray);color:var(--brand-main-active);cursor:pointer}.open-hours__date-change .open-hours__prev-date:focus,.open-hours__date-change .open-hours__next-date:focus{background-color:var(--hover-gray);color:var(--brand-main-active)}.open-hours__date-change .open-hours__prev-date:disabled,.open-hours__date-change .open-hours__next-date:disabled{cursor:none}.open-hours__date-change .open-hours__prev-date hy-icon,.open-hours__date-change .open-hours__next-date hy-icon{color:var(--link-blue);left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.open-hours__date-change .open-hours__prev-date svg,.open-hours__date-change .open-hours__next-date svg{fill:currentColor;height:20px;width:20px}.open-hours__date-change .open-hours__prev-date{border-right:1px solid var(--link-blue)}.open-hours__date-change .open-hours__next-date{border-left:1px solid var(--link-blue)}.open-hours__content__top{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;font-size:0.9rem;font-weight:700;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0.5rem 0}.open-hours__content__top-label{margin:0.5rem 0 0.5rem 0;text-align:left;width:calc(100vw / 3);word-break:break-word}.open-hours__content__top-label:first-child(){margin-right:1rem}.open-hours__content{position:relative}.open-hours__content.open-hours__loading:after{-webkit-animation-duration:1s;animation-duration:1s;font-size:3.2rem;position:absolute;left:45%;top:35%;z-index:2}.open-hours__content.slide-left{-webkit-animation:slide-left 0.2s ease-in-out both;animation:slide-left 0.2s ease-in-out both}.open-hours__content.slide-left-reverse{-webkit-animation:slide-left-reverse 0.2s ease-in-out reverse both;animation:slide-left-reverse 0.2s ease-in-out reverse both}.open-hours__content.slide-right{-webkit-animation:slide-right 0.2s ease-in-out both;animation:slide-right 0.2s ease-in-out both}.open-hours__content.slide-right-reverse{-webkit-animation:slide-right-reverse 0.2s ease-in-out reverse both;animation:slide-right-reverse 0.2s ease-in-out reverse both}.open-hours__links{margin:1.5rem 0 1rem 0}.open-hours__links .open-hours__link .hy-cta-link{width:100% !important;-webkit-box-pack:start !important;-ms-flex-pack:start !important;justify-content:flex-start !important}.open-hours__links .open-hours__link .hy-cta-link .text{width:100% !important}@-webkit-keyframes slide-right{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(200px);transform:translateX(200px);opacity:0}}@keyframes slide-right{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(200px);transform:translateX(200px);opacity:0}}@-webkit-keyframes slide-right-reverse{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(200px);transform:translateX(200px);opacity:0}}@keyframes slide-right-reverse{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(200px);transform:translateX(200px);opacity:0}}@-webkit-keyframes slide-left{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(-200px);transform:translateX(-200px);opacity:0}}@keyframes slide-left{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(-200px);transform:translateX(-200px);opacity:0}}@-webkit-keyframes slide-left-reverse{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(-200px);transform:translateX(-200px);opacity:0}}@keyframes slide-left-reverse{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(-200px);transform:translateX(-200px);opacity:0}}";export{o as hy_opening_hours}
@@ -1 +0,0 @@
1
- import{r as e,h as i,H as t,g as o}from"./p-bb24c6b5.js";import{a,S as r,F as n,C as l,H as s,b as d,c as m,d as h}from"./p-e20f6203.js";import{j as c}from"./p-fd1edbd5.js";import{R as f}from"./p-a82d4779.js";const b=class{constructor(i){e(this,i)}render(){return i("footer",{class:["hy-footer"].join(" ")},i("slot",null))}};b.style=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.hy-footer{display:block}";const g=class{constructor(i){e(this,i)}scrollTop(){window.scrollTo({top:0,behavior:"smooth"})}render(){const e=["hy-footer-action"].join(" ");return i(t,{class:e},i("span",{class:"hy-footer-action__updated-text"},this.updatedText),this.upButtonLabel&&i("span",{class:"hy-footer-action__scroll-up"},i("label",{htmlFor:"scroll-up"},this.upButtonLabel),i("button",{name:"scroll-up",onClick:()=>this.scrollTop(),class:"hy-footer-action__up-button",type:"button"},i("hy-icon",{class:"hy-footer-action__up-icon",icon:"hy-icon-arrow-up",size:26}))))}};g.style=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.hy-footer-action{-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-top:1px solid var(--grayscale-medium-dark);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:8px 16px 16px 16px;place-content:center space-between;width:100%}@media (min-width: 30rem){.hy-footer-action{margin:0 auto;max-width:120.0625rem;padding:16px 24px 16px 24px}}@media (min-width: 60rem){.hy-footer-action{padding:16px 32px 24px 32px}}.hy-footer-action__updated-text{font-size:0.875rem;line-height:24px;color:var(--grayscale-dark);font-family:var(--main-font-family);letter-spacing:0}@media (min-width: 30rem){.hy-footer-action__updated-text{font-size:1rem;line-height:24px}}.hy-footer-action__scroll-up{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.hy-footer-action__scroll-up .hy-footer-action__up-button{background-color:var(--brand-main-light);border:0;-webkit-box-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.05);box-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.05);padding:8px}.hy-footer-action__scroll-up .hy-footer-action__up-button:hover{cursor:pointer}.hy-footer-action__scroll-up label{font-size:1rem;line-height:24px;color:var(--grayscale-dark);font-family:var(--main-font-family);letter-spacing:0;margin-right:8px}.hy-footer-action__scroll-up svg{fill:var(--grayscale-white)}.hy-footer-action__scroll-up:hover label{text-decoration:underline}.hy-footer-action__scroll-up:hover .hy-footer-action__up-button{background-color:var(--brand-main)}";const x=class{constructor(i){e(this,i),this.color=a.white,this.size=r.big}async componentWillLoad(){this._dataFooterBaseLinks=await c(this.dataFooterBaseLinks),this._dataFooterBaseSome=await c(this.dataFooterBaseSome)}render(){const e=l.white,o=["hy-footer-base--content-container"].join(" "),r=this._dataFooterBaseLinks,s=this._dataFooterBaseSome;return i(t,{class:o},i("div",{class:"hy-footer-base"},i("div",{class:"hy-footer-base__left"},i("div",{class:"hy-footer-base__logo"},i("hy-site-logo",{type:n.footer,size:56,color:e,url:this.logoUrl,label:this.logoLabel})),i("div",{class:"hy-footer-base__content"},i("slot",{name:"content"})),i("div",{class:"hy-footer-base__some"},i("span",{class:"hy-footer-base__some__label"},this.someLabel),i("div",{class:"hy-footer-base__some__items"},s&&s.map((e=>i("a",{"aria-label":e.label,href:e.url,class:"hy-footer-base__some__item",title:e.label,target:"_blank"},i("hy-icon",{icon:`hy-icon-some-${e.type}`,size:36}))))))),i("div",{class:"hy-footer-base__right"},r&&r.map((e=>i("hy-footer-link-item",{label:e.label,url:e.url,color:a.white}))),this.copyrightText&&i("span",{class:"hy-footer-base__copy"},this.copyrightText))))}};x.style=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.hy-footer-base--content-container{background-color:var(--grayscale-black);display:block;max-width:100%}.hy-footer-base{background-color:var(--grayscale-black);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;max-height:100%;padding:32px 16px 32px 16px;place-content:center space-between;position:relative;width:100%}@media (min-width: 30rem){.hy-footer-base{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;margin:0 auto;max-width:120.0625rem;padding:32px 24px 32px 24px}}@media (min-width: 60rem){.hy-footer-base{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:36px 32px 36px 32px}}@media (min-width: 75.0625rem){.hy-footer-base{padding:40px 32px 40px 32px}}.hy-footer-base__left{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:24px}@media (min-width: 30rem){.hy-footer-base__left{-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%}}@media (min-width: 60rem){.hy-footer-base__left{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;width:31.11%}}.hy-footer-base__logo{font-size:1.125rem;line-height:16px;font-family:var(--main-font-family);font-weight:bold;letter-spacing:-0.9px}.hy-footer-base__logo .hy-site-logo__label{min-width:-webkit-max-content;min-width:-moz-max-content;min-width:max-content;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}.hy-footer-base__content{font-size:1rem;line-height:24px;color:var(--grayscale-white);font-family:var(--main-font-family);font-weight:600;letter-spacing:-0.1px;margin:32px 0;white-space:pre-line}@media (min-width: 30rem){.hy-footer-base__content{margin:32px 0}}@media (min-width: 60rem){.hy-footer-base__content{margin:42px 0}}@media (min-width: 75.0625rem){.hy-footer-base__content{margin:54px 0}}.hy-footer-base__some{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-bottom:64px;z-index:2}@media (min-width: 60rem){.hy-footer-base__some{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-bottom:0}}@media (min-width: 75.0625rem){.hy-footer-base__some{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-footer-base__some__label{font-size:1rem;line-height:24px;color:var(--grayscale-white);font-family:var(--main-font-family);font-weight:600;letter-spacing:-0.1px;margin-bottom:8px;margin-right:24px}@media (min-width: 60rem){.hy-footer-base__some__label{margin-bottom:8px}}.hy-footer-base__some__items{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.hy-footer-base__some__item{margin-right:24px}.hy-footer-base__some__item :last-child(){margin-right:0}.hy-footer-base__some__item:hover{color:var(--grayscale-medium) !important}.hy-footer-base__some__item:hover svg{fill:var(--grayscale-medium)}.hy-footer-base__some svg{fill:var(--grayscale-white)}.hy-footer-base__right{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;max-height:100%;width:100%}@media (min-width: 30rem){.hy-footer-base__right{margin-bottom:32px;max-height:300px;width:calc(100% + 24px)}}@media (min-width: 60rem){.hy-footer-base__right{max-height:350px;width:65.56%}}.hy-footer-base__copy{font-size:1rem;line-height:24px;bottom:40px;color:var(--grayscale-white);display:inline-block;font-family:var(--main-font-family);font-weight:600;letter-spacing:-0.1px;position:absolute;right:50%;text-align:center;-webkit-transform:translateX(50%);transform:translateX(50%);width:100%}@media (min-width: 30rem){.hy-footer-base__copy{bottom:32px;right:50%;-webkit-transform:translateX(50%);transform:translateX(50%)}}@media (min-width: 60rem){.hy-footer-base__copy{bottom:36px;right:32px;text-align:right;-webkit-transform:none;transform:none}}@media (min-width: 75.0625rem){.hy-footer-base__copy{bottom:40px}}";const p=class{constructor(i){e(this,i),this.linkIsExternal=!1}async componentWillLoad(){this._dataFooterInfoLinks=await c(this.dataFooterInfoLinks)}componentDidLoad(){this.ro=new f((e=>{for(const i of e)this.checkForMobile(i.contentRect.width)})),this.ro.observe(document.body)}disconnectedCallback(){this.ro.disconnect()}checkForMobile(e){this.isMobile=e<=479}render(){const e=["hy-footer-info"].join(" "),o=this._dataFooterInfoLinks,r=this.isGroup?m.group:m.campus,n=this.isGroup?"group":"campus",l=this.linkScLabel&&this.linkScLabel.length>0?this.linkScLabel:this.linkText;return i(t,{class:e},i("div",{class:{"hy-footer-info__content":!0,"is-group":this.isGroup}},i("hy-heading",{heading:s.h2,section:this.isGroup?h.groupFooterInfo:h.defaultFooterInfo},this.textTitle),i("div",{class:{"hy-footer-info__ingress":!0,"is-group":this.isGroup},innerHTML:this.textDescription}),this.linkUrl&&i("hy-cta-button",{"link-content":this.linkText,"sc-label":l,"is-external":this.linkIsExternal,url:this.linkUrl,variant:d.onWhiteBkgd})),i("div",{class:{"hy-footer-info__links":!0,"is-group":this.isGroup}},this.isMobile&&!1===this.isGroup?i("hy-accordion-container",{accordionid:"test"},o&&o.map((e=>i("hy-accordion-item",{accordiontitle:e.label},i("hy-footer-link-item",{class:n,variant:r,color:a.black,label:e.label,url:e.url,"main-link":e.mainlink,items:e.items,isMobile:this.isMobile}))))):o&&o.map((e=>i("hy-footer-link-item",{class:n,variant:r,color:a.black,label:e.label,url:e.url,"is-external":"external"===e.isExternal,"main-link":e.mainlink,items:e.items,isMobile:this.isMobile})))))}get el(){return o(this)}};p.style=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-footer-info{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-height:auto;padding:0 16px 40px 16px;place-content:center space-between}@media (min-width: 30rem){.hy-footer-info{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:0 auto;max-width:120.0625rem;padding:0 24px 32px 24px}}@media (min-width: 60rem){.hy-footer-info{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:0 32px 36px 32px}}@media (min-width: 75.0625rem){.hy-footer-info{padding:0 32px 40px 32px}}.hy-footer-info__content{margin-bottom:24px;width:100%}@media (min-width: 30rem){.hy-footer-info__content{margin-bottom:32px;width:100%}}@media (min-width: 60rem){.hy-footer-info__content{width:31.11%}}.hy-footer-info__content .hy-heading{padding-top:0 !important}.hy-footer-info__ingress{font-size:0.9375rem;line-height:20px;font-weight:400;letter-spacing:-0.09px;color:var(--grayscale-black);font-family:var(--main-font-family);padding-bottom:24px}@media (min-width: 60rem){.hy-footer-info__ingress{font-size:1rem;line-height:22px;letter-spacing:-0.1px;padding-bottom:16px}}@media (min-width: 1601px){.hy-footer-info__ingress{font-size:1.0625rem;line-height:26px}}@media (min-width: 75.0625rem){.hy-footer-info__ingress{padding-bottom:24px}}.hy-footer-info__ingress a{font-size:0.875rem;line-height:20px;color:var(--link-blue);font-family:var(--main-font-family);font-weight:600;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}@media (min-width: 30rem){.hy-footer-info__ingress a{font-size:1rem;line-height:24px;letter-spacing:-0.1px}}@media (min-width: 1601px){.hy-footer-info__ingress a{font-size:1.0625rem;line-height:26px}}.hy-footer-info__ingress a:hover{color:var(--brand-main)}.hy-footer-info__ingress a[target=_blank]:after{display:block;content:url(\"data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 30 29' fill='rgb(4,121,165)'> <polygon points='29.207 13.783 14.756 .717 14.055 0 11.402 3.118 10.732 3.835 19.665 11.974 0 11.974 0 17.026 19.756 17.026 11.494 24.447 10.823 25.071 11.402 25.882 13.476 28.189 14.055 29 30 14.594' /> </svg>\");margin-left:3px;-webkit-transform:rotate(315deg);transform:rotate(315deg)}.hy-footer-info__ingress a[target=_blank]:after:hover{content:url(\"data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 30 29' fill='pink'> <polygon points='29.207 13.783 14.756 .717 14.055 0 11.402 3.118 10.732 3.835 19.665 11.974 0 11.974 0 17.026 19.756 17.026 11.494 24.447 10.823 25.071 11.402 25.882 13.476 28.189 14.055 29 30 14.594' /> </svg>\")}.hy-footer-info__ingress a[target=_blank]:hover:after{content:url(\"data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 30 29' fill='rgb(14,104,139)'> <polygon points='29.207 13.783 14.756 .717 14.055 0 11.402 3.118 10.732 3.835 19.665 11.974 0 11.974 0 17.026 19.756 17.026 11.494 24.447 10.823 25.071 11.402 25.882 13.476 28.189 14.055 29 30 14.594' /> </svg>\")}.hy-footer-info__links{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;max-height:auto;overflow:hidden;width:100%}@media (min-width: 30rem){.hy-footer-info__links{-ms-flex-line-pack:justify;align-content:space-between;max-height:555px;width:100%}}@media (min-width: 60rem){.hy-footer-info__links{max-height:530px;width:65.56%}}@media (min-width: 87.5rem){.hy-footer-info__links{max-height:460px}}@media (min-width: 30rem){.hy-footer-info__links.is-group{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;max-height:none}}.hy-footer-info .hy-accordion__content--inner-wrapper{width:100%}";const y=class{constructor(i){e(this,i),this.isExternal=!1,this.mainLink=!1,this.color=a.black,this.variant=m.base}render(){const e=["hy-footer-link-item--container",`hy-footer-link-item__${this.variant}`,this.items&&"hy-footer-link-item__has-children"].join(" "),t=["hy-footer-link-item",this.mainLink&&"hy-footer-link-item__main",`hy-footer-link-item__color-${this.color}`].join(" ");return this.items?this.isMobile&&this.variant!==m.group?i("div",{class:e},this.items.map((e=>i("a",{class:`hy-footer-link-item hy-footer-link-item__color-${this.color}`,href:e.url,target:"external"===e.isExternal?"_blank":"_self",style:{color:this.color}},e.label,i("hy-icon",{class:"hy-footer-link-item__icon",icon:"hy-icon-arrow-right",size:16}))))):i("div",{class:e},i("hy-heading",{class:t,heading:s.h3},this.url.length>0&&i("a",{class:"hy-footer-link-item__link",href:this.url,style:{color:this.color}},this.label),0==this.url.length&&i("div",{class:"hy-footer-link-item__link"},this.label)),this.items.map((e=>i("a",{class:`hy-footer-link-item hy-footer-link-item__color-${this.color}`,href:e.url,target:"external"===e.isExternal?"_blank":"_self",style:{color:this.color}},e.label,i("hy-icon",{class:"hy-footer-link-item__icon",icon:"hy-icon-arrow-right",size:16}))))):i("a",{class:t,href:this.url,style:{color:this.color},target:this.isExternal?"_blank":"_self"},this.label,i("hy-icon",{class:"hy-footer-link-item__icon",icon:"hy-icon-arrow-right",size:16}))}};y.style=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}hy-footer-link-item:not([main-link]){width:100%}@media (min-width: 30rem){hy-footer-link-item:not([main-link]){width:50%}}hy-footer-link-item[main-link]{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;min-width:200px;width:100%}@media (min-width: 30rem){hy-footer-link-item[main-link]{width:50%}}hy-footer-link-item.group[main-link]{-ms-flex-preferred-size:100%;flex-basis:100%;margin-top:1rem}@media (min-width: 30rem){hy-footer-link-item.group[main-link]{-ms-flex-preferred-size:50%;flex-basis:50%;margin:0}}.hy-footer-link-item--container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hy-footer-link-item--container .hy-footer-link-item:last-child{margin-bottom:16px}.hy-footer-link-item{display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--main-font-family);margin-left:0;margin-right:0;position:relative;text-decoration:none}@media (min-width: 30rem){.hy-footer-link-item{margin-left:0;margin-right:24px}}@media (min-width: 60rem){.hy-footer-link-item{margin-left:32px;margin-right:0}}@media (min-width: 1601px){.hy-footer-link-item{margin-left:48px}}.hy-footer-link-item__color-white{font-size:0.875rem;line-height:18px;font-weight:600;border-bottom:1px solid var(--grayscale-white);color:var(--grayscale-white);letter-spacing:-0.5px;padding:15px 20px 15px 0}.hy-footer-link-item__color-white .hy-footer-link-item__icon svg{fill:var(--grayscale-white)}.hy-footer-link-item__color-white:hover{color:var(--grayscale-medium) !important}.hy-footer-link-item__color-white:hover svg{fill:var(--grayscale-medium)}.hy-footer-link-item__color-black{font-size:0.875rem;line-height:18px;font-weight:400;border-bottom:1px solid var(--grayscale-black);color:var(--grayscale-black);letter-spacing:-0.5px;padding:16px 20px 14px 0}.hy-footer-link-item__color-black .hy-footer-link-item__icon svg{fill:var(--brand-main-nearly-black);height:12px;margin-right:2px;width:12px}.hy-footer-link-item__color-blacka:hover{color:var(--brand-main) !important;text-decoration:underline}.hy-footer-link-item__color-blacka:hover svg{fill:var(--brand-main)}.hy-footer-link-item__main{border:0;padding:0;margin-right:-32px}.hy-footer-link-item__main .hy-heading__container>h3.hy-heading{font-size:1.125rem;line-height:22px;letter-spacing:-0.45px;padding:0 0 1px 0 !important}@media (min-width: 30rem){.hy-footer-link-item__main .hy-heading__container>h3.hy-heading{font-size:1.375rem;line-height:28px;letter-spacing:-0.44px}}.hy-footer-link-item__main .hy-heading__container>h3.hy-heading .hy-footer-link-item__link{color:var(--grayscale-black);font-family:var(--main-font-family);text-decoration:none;margin-bottom:12px}.hy-footer-link-item__icon{position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.hy-footer-link-item:hover h3 a{color:var(--brand-main) !important}";export{b as hy_footer,g as hy_footer_action,x as hy_footer_base,p as hy_footer_info,y as hy_footer_link_item}
@@ -1 +0,0 @@
1
- import{r as e,h as a,H as t}from"./p-bb24c6b5.js";const r=class{constructor(a){e(this,a),this.multiple=!1,this.selfServiceLabel=null}dataItemsWatcher(e){this._dataItems="string"==typeof e?JSON.parse(e):e}componentWillLoad(){this.dataItemsWatcher(this.dataItems)}render(){return a(t,null,this._dataItems.map((e=>{if(!e.service)return;const t=["open-hours__list-item",e.today?"open-hours__list-item--today":""].join(" ");return a("div",{class:t},a("span",{class:"open-hours__list-item--office"},e.today?e.today:e.dateLibrary),a("span",{class:"open-hours__list-item--hours"},e.building),a("span",{class:"open-hours__list-item--service"},e.service))})),this.selfServiceLabel&&a("div",{class:"open-hours__content__top"},a("span",{class:"open-hours__content__top-label"},this.selfServiceLabel)),this._dataItems.map((e=>{if(e.service)return;const t=["open-hours__list-item",e.today?"open-hours__list-item--today":""].join(" ");return a("div",{class:t},a("span",{class:"open-hours__list-item--office"},e.today?e.today:e.dateLibrary),a("span",{class:"open-hours__list-item--hours"},e.building),a("span",{class:"open-hours__list-item--service"},"-"))})))}static get watchers(){return{dataItems:["dataItemsWatcher"]}}};r.style=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.open-hours__list-item{border-top:1px solid var(--grayscale-medium);color:var(--grayscale-dark-text);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;font-size:0.875rem;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0.5rem 0;font-family:var(--main-font-family);text-align:start}.open-hours__list-item--today{background-color:var(--grayscale-light)}.open-hours__list-item--today span:first-child{margin-left:4px;padding-left:4px;margin-right:-8px;font-weight:bold;border-left:2px solid var(--grayscale-black)}.open-hours__list-item>span{text-align:left;width:calc(100vw / 3)}.open-hours__list-item--date{margin-right:1rem}.open-hours__list-item--hours{margin-right:0.2rem}";export{r as hy_opening_hours_content}
@@ -1 +0,0 @@
1
- import{r as e,c as i,h as t,F as a,g as s,H as r}from"./p-bb24c6b5.js";import{R as n}from"./p-a82d4779.js";import{M as o,C as l,S as h,F as d}from"./p-e20f6203.js";import{j as c}from"./p-fd1edbd5.js";const p=class{constructor(t){e(this,t),this.headerScrollUp=i(this,"headerScrollUp",7),this.headerScrollDown=i(this,"headerScrollDown",7),this.menuMobileToggled=i(this,"menuMobileToggled",7),this.menuMobileTopToggled=i(this,"menuMobileTopToggled",7),this.isGroup=!1,this.researchGroupLabel="",this.groupType="",this.groupLogoUrl="",this.showSearchLabel=!0,this.noSearch=!1,this.menuLabel="Menu",this.menuType=null,this.isMenuOpen=!1,this.isDesktopMenuOpen=!1,this.isDesktopMenuDropdown=!1,this.isTopMenuOpen=!1,this.lastScrollTop=0,this.delta=5,this.navbarHeight=0,this.check=()=>window.requestAnimationFrame((()=>{this.hasScrolled()}))}mobileMenuToggle(){this.isMenuOpen=!this.isMenuOpen,this.menuMobileToggled.emit(),document.getElementsByTagName("body")[0].style.overflow=this.isMenuOpen?"hidden":"initial"}mobileMenuTopToggle(){this.isTopMenuOpen=!this.isTopMenuOpen,this.menuMobileTopToggled.emit()}handleScroll(){this.check()}componentDidLoad(){this.ro=new n((e=>{for(const i of e)this.applySizeClasses(i.contentRect.width)})),this.ro.observe(document.body),this.el.children[0].setAttribute("data-menu-language",this.dataMenuLanguage),this.navbarHeight=this.el.getBoundingClientRect().height}async componentWillLoad(){if(this.dataSiteHeaderLabels){const e=await c(this.dataSiteHeaderLabels);this.menuLabels=e.menu_labels,this.languageLabels=e.language_labels,this.searchLabels=e.search_labels,this.groupPages=e.group_pages,this.el.children[0].setAttribute("menu-button-breadcrumb-home",this.menuLabels.home),this.el.children[0].setAttribute("menu-button-breadcrumb-main",this.menuLabels.main),this.el.children[0].setAttribute("menu-button-breadcrumb-logourl",this.logoUrl)}this.dataMenuDonate&&(this.donateLink=await c(this.dataMenuDonate),this.el.children[0].setAttribute("data-menu-donate",this.dataMenuDonate)),this.el.children[0].setAttribute("open",this.isMenuOpen.toString()),this.el.children[0].setAttribute("logo-label",this.logoLabel),this.el.children[0].setAttribute("logo-url",this.logoUrl),this.el.children[0].setAttribute("site-label",this.siteLabel),this.el.children[0].setAttribute("site-url",this.siteUrl),this.el.children[0].setAttribute("menu-button-submenu-expand",this.menuLabels.expand),this.el.children[0].setAttribute("menu-button-breadcrumb-return",this.menuLabels.return),this.el.children[0].setAttribute("menu-button-breadcrumb-home",this.menuLabels.home),this.el.children[0].setAttribute("menu-button-breadcrumb-main",this.menuLabels.main),this.el.children[0].setAttribute("menu-button-breadcrumb-logourl",this.logoUrl),this.el.children[0].setAttribute("menu-language-label-open",this.languageLabels.open),this.el.children[0].setAttribute("menu-language-label-close",this.languageLabels.close),this.el.children[0].setAttribute("label-front-page",this.menuLabels.front_page),""!==this.groupType&&(this.isDesktopMenuDropdown=!0)}hasScrolled(){let e=window.pageYOffset;const i=document.querySelector("body").classList;if(i.contains("hy-menu-sidepanel__no-scroll")||i.contains("hy-menu-sidebar__no-scroll"))return;if(Math.abs(this.lastScrollTop-e)<=this.delta)return;let t=this.el.shadowRoot.querySelector(".hy-site-header");t&&(e>this.lastScrollTop&&e>this.navbarHeight?(t.classList.remove("hy-site-header--sticky-visible"),t.classList.remove("has-toolbar","has-toolbar--large"),this.headerScrollDown.emit()):e<this.el.offsetTop+this.navbarHeight?(t.classList.remove("hy-site-header--sticky-active"),t.classList.remove("hy-site-header--sticky-visible"),t.classList.remove("hy-site-header--sticky-hidden"),t.classList.remove("has-toolbar","has-toolbar--large")):(t.classList.add("hy-site-header--sticky-active"),t.classList.remove("hy-site-header--sticky-hidden"),t.classList.add("hy-site-header--sticky-visible"),i.contains("toolbar-horizontal")&&(t.classList.add("has-toolbar"),i.contains("toolbar-tray-open")&&t.classList.add("has-toolbar--large"))),this.lastScrollTop=e)}disconnectedCallback(){this.ro.disconnect()}applySizeClasses(e){this.menuType=e<=1200?o.mobile:o.desktop,this.isMobile=this.menuType===(o.mobile||o.tablet),this.el.children[0].setAttribute("menu-type",this.menuType)}render(){var e;if(null===this.menuType)return;const i=this.isMobile?h.small:h.big,s=h.small,r=l.black,n=l.white;let d=["hy-site-header",`hy-site-header--${this.menuType}`,this.isGroup?"is-group":""];const c=()=>{window.removeEventListener("click",p),this.mobileMenuToggle()},p=e=>{const[i]=e.composedPath();i.classList.contains("hy-backdrop")&&c()};switch(this.isMenuOpen&&window.addEventListener("click",p),this.menuType){case o.desktop:return[t("header",{class:`${d.join(" ")}`},t("div",{class:{"hy-backdrop":!0,"is-active":this.isMenuOpen&&!this.isDesktopMenuDropdown||this.isTopMenuOpen&&!this.isDesktopMenuDropdown}}),this.isGroup&&t("section",{class:"hy-site-header__content-top "+(this.isTopMenuOpen?"is-open":"")},t("div",{class:"hy-site-header__container"},t("div",{class:"hy-site-header__branding"},t("hy-site-logo",{"is-group":!0,size:s,color:n,url:this.siteUrl,label:this.siteLabel})),t("hy-menu-main-group",{tabindex:"0","is-mobile":!1,"menu-label":null!==(e=this.groupPages.university_main_menu)&&void 0!==e?e:null,"data-main-menu":this.dataMainMenuLinks}),t("div",{class:"hy-site-header__actions"},t("hy-menu-language",{"data-menu-language":this.dataMenuLanguage,labels:this.languageLabels,isGroup:!0}),!this.noSearch&&t("hy-site-search",{class:"menu--secondary__item group",size:18,color:n,"is-group":!0,"show-label":this.showSearchLabel,labels:this.searchLabels,"search-labels":this.dataSiteSearchLabels,"search-tools":this.dataSearchTools}),this.donateLink.map((({label:e,url:i})=>t("a",{class:"hy-site-header__donate-link",href:i},t("hy-icon",{icon:"hy-icon-heart-support",size:14,fill:l.black}),t("span",null,e))))))),t("section",{class:`hy-site-header__container ${this.isGroup?"is-group":""} ${"research_group_menu"===this.groupType?"is-research-group":""}`},t("div",{class:"hy-site-header__branding"},this.isGroup&&"research_group_menu"==this.groupType&&t("p",null,this.researchGroupLabel),this.isGroup?t("a",{href:this.logoUrl},"generic_site_group_menu"==this.groupType&&this.groupLogoUrl?t("img",{src:this.groupLogoUrl,alt:`${this.logoLabel} logo`}):this.logoLabel):t("hy-site-logo",{size:i,color:r,url:this.logoUrl,label:this.logoLabel})),"research_group_menu"!=this.groupType&&t("hy-desktop-menu-links",{"data-desktop-links":this.dataDesktopLinks,isGroup:this.isGroup,isDropdown:this.isDesktopMenuDropdown}),!this.isGroup&&t("div",{class:"hy-site-header__actions"},t("hy-menu-language",{"data-menu-language":this.dataMenuLanguage,labels:this.languageLabels}),!this.noSearch&&t("hy-site-search",{size:14,color:l.black,"show-label":this.showSearchLabel,labels:this.searchLabels,"search-labels":this.dataSiteSearchLabels,"search-tools":this.dataSearchTools}),this.donateLink.map((({label:e,url:i})=>t("a",{class:"hy-site-header__donate-link",href:i},t("hy-icon",{icon:"hy-icon-heart-support",size:14,fill:l.black}),t("span",null,e)))))))];case o.mobile:return t("header",{class:d.join(" ")},t("div",{class:{"hy-backdrop":!0,"is-active":this.isMenuOpen}}),t("div",{class:{"hy-backdrop":!0,"is-active-top":this.isTopMenuOpen}}),this.isGroup&&t("section",{class:"hy-site-header__content-top "+(this.isTopMenuOpen?"is-open":"")},t("div",{class:"hy-site-header__container"},t("div",{class:"hy-site-header__branding"},t("hy-site-logo",{"is-group":!0,size:s,color:n,url:this.siteUrl,label:this.siteLabel})),t("div",{class:"hy-site-header__actions"},t("hy-menu-language",{"data-menu-language":this.dataMenuLanguage,labels:this.languageLabels,isGroup:!0}),!this.noSearch&&t("hy-site-search",{class:"menu--secondary__item group",size:18,color:n,"is-group":!0,"show-label":this.showSearchLabel,labels:this.searchLabels,"search-labels":this.dataSiteSearchLabels,"search-tools":this.dataSearchTools}),t("hy-menu-main-group",{"site-label":this.siteLabel,"site-url":this.siteUrl,"logo-label":this.logoLabel,"logo-url":this.logoUrl,"is-mobile":!0,donate:this.donateLink,"data-main-menu":this.dataMainMenuLinks})))),t("section",{class:"hy-site-header__container"},t("div",{class:"hy-site-header__branding"},"research_group_menu"==this.groupType&&t("p",null,this.researchGroupLabel),this.isGroup?t("a",{href:this.logoUrl},"generic_site_group_menu"==this.groupType&&this.groupLogoUrl?t("img",{src:this.groupLogoUrl,alt:`${this.logoLabel} logo`}):this.logoLabel):t("hy-site-logo",{size:i,color:r,url:this.logoUrl,label:this.logoLabel})),t("div",{class:"hy-site-header__actions"},!this.isGroup&&t("hy-menu-language",{"data-menu-language":this.dataMenuLanguage,labels:this.languageLabels}),!this.isGroup&&!this.noSearch&&t("hy-site-search",{size:24,color:l.black,"show-label":this.showSearchLabel,labels:this.searchLabels,"search-labels":this.dataSiteSearchLabels,"search-tools":this.dataSearchTools}),t("button",{onClick:()=>c(),class:"hy-site-header__menu-open-button","aria-label":this.menuLabels.open,"aria-expanded":`${this.isMenuOpen}`},!this.isMenuOpen&&t("hy-icon",{icon:"hy-icon-hamburger",size:24,fill:l.black}),this.isMenuOpen&&t(a,null,t("span",null,"Close"),t("hy-icon",{icon:"hy-icon-remove",size:16})))),t("div",{class:{"is-open":this.isMenuOpen,"hy-site-header__panel":!0},"aria-hidden":`${!this.isMenuOpen}`},t("slot",{name:"menu"}))))}}get el(){return s(this)}};p.style=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-site-header{background-color:var(--grayscale-white);z-index:100;border-bottom:2px solid var(--grayscale-dark)}@media (min-width: 75.0625rem){.hy-site-header{border-bottom:1px solid var(--grayscale-black);margin:0 auto;max-width:120.0625rem}}.hy-site-header.hy-site-header--sticky-active{-webkit-transition:-webkit-transform 200ms linear;transition:-webkit-transform 200ms linear;transition:transform 200ms linear;transition:transform 200ms linear, -webkit-transform 200ms linear;-webkit-transition-duration:0.2s;transition-duration:0.2s;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-box-shadow:rgba(14, 104, 139, 0.2) 0 20px 20px -20px;box-shadow:rgba(14, 104, 139, 0.2) 0 20px 20px -20px}.hy-site-header.hy-site-header--sticky-visible{left:0;position:fixed;right:0;top:0}.hy-site-header.hy-site-header--sticky-visible.has-toolbar{top:39px}.hy-site-header.hy-site-header--sticky-visible.has-toolbar--large{top:79px}.hy-site-header.hy-site-header--sticky-hidden{top:0}@media (min-width: 75.0625rem){.hy-site-header.is-group hy-desktop-menu-links{margin-left:-10px}}.hy-site-header__container{padding:0 8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}@media (min-width: 75.0625rem){.hy-site-header__container{padding:0 32px}}.hy-site-header__container.is-group{-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}@media (min-width: 75.0625rem){.hy-site-header__container.is-group{min-height:82px}}.hy-site-header__branding{padding:12px 0}@media (min-width: 75.0625rem){.hy-site-header__branding{padding:26px 0}}.hy-site-header__content-top .hy-site-header__branding{padding:8px 0}@media (min-width: 75.0625rem){.hy-site-header__content-top .hy-site-header__branding{padding:8px 0}}.hy-site-header__branding>p{font-size:0.75rem;line-height:14px;font-weight:400;font-family:var(--main-font-family);color:var(--grayscale-dark-text);letter-spacing:-0.1px;margin-bottom:4px;text-transform:uppercase}.hy-site-header__branding>p+a{min-height:auto}@media (min-width: 75.0625rem){.hy-site-header__branding>p{margin-bottom:8px}}.hy-site-header__branding>a{font-size:1rem;line-height:16px;font-weight:700;font-family:var(--main-font-family);color:var(--brand-main-nearly-black);letter-spacing:-0.6px;text-transform:uppercase;text-decoration:none;min-height:48px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}@media (min-width: 75.0625rem){.hy-site-header__branding>a{font-size:1.625rem;line-height:30px;letter-spacing:-0.8px;min-height:auto}}.hy-site-header__branding>a img{height:100%;max-height:48px}@media (min-width: 75.0625rem){.hy-site-header__branding>a img{-webkit-transform:translateY(-10px);transform:translateY(-10px)}}@media (min-width: 75.0625rem){.is-group:not(.is-research-group)>.hy-site-header__branding{margin-right:42px;padding-bottom:0;margin-bottom:-10px}}.hy-site-header__actions{display:inline-grid;gap:4px;grid-template-columns:repeat(3, auto);-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}@media (min-width: 1601px){.hy-site-header__actions{gap:16px}}.hy-site-header__menu-open-button{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:44px;background-color:transparent;border:0;padding:0;margin:0}.hy-site-header__menu-open-button[aria-expanded=true]{font-size:1rem;line-height:18px;font-weight:700;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:transparent;border:none;color:var(--brand-main);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-family:var(--main-font-family);height:auto;letter-spacing:-0.3px;margin-left:auto;margin-right:-16px;padding:16px;position:fixed;right:16px;top:12px;z-index:101;width:auto}.hy-site-header__menu-open-button[aria-expanded=true]:hover{cursor:pointer}.hy-site-header__menu-open-button[aria-expanded=true] hy-icon{margin-left:8px}.hy-site-header__menu-open-button[aria-expanded=true] hy-icon svg{fill:var(--brand-main)}.hy-site-header__donate-link{font-size:0.75rem;line-height:24px;font-weight:400;display:inline-grid;font-family:var(--main-font-family);-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:4px;grid-template-columns:repeat(2, auto);color:var(--brand-main-nearly-black);letter-spacing:-0.5px;padding:0;text-decoration:none}@media (min-width: 1601px){.hy-site-header__donate-link{font-size:0.875rem;line-height:24px}}.hy-site-header__donate-link:hover{color:var(--brand-main);cursor:pointer}.hy-site-header__donate-link:hover svg{fill:var(--brand-main)}.hy-site-header__donate-link:focus{outline:solid 2px var(--additional-yellow);outline-offset:2px}.hy-site-header__content-top .hy-site-header__donate-link{color:var(--grayscale-white)}.hy-site-header__content-top .hy-site-header__donate-link svg{fill:var(--grayscale-white)}.hy-site-header__content-top .hy-site-header__donate-link:hover{color:var(--grayscale-medium);cursor:pointer}.hy-site-header__content-top .hy-site-header__donate-link:hover svg{fill:var(--grayscale-medium)}.hy-site-header__content-top{background-color:var(--grayscale-black);border-bottom:2px solid rgba(0, 0, 0, 0.7);position:relative}.hy-backdrop{bottom:0;left:0;position:fixed;right:0;top:0;visibility:hidden}.hy-backdrop.is-active{background-color:rgba(0, 0, 0, 0.4);-webkit-transition:background-color 300ms;transition:background-color 300ms;visibility:visible;z-index:99}.hy-backdrop.is-active-top{background-color:rgba(0, 0, 0, 0.4);-webkit-transition:background-color 300ms;transition:background-color 300ms;visibility:visible;z-index:98}.hy-site-header__panel{background:var(--grayscale-white);bottom:0;overflow:hidden;position:fixed;right:0;top:0;visibility:visible;width:90%;z-index:100}@media (min-width: 30rem){.hy-site-header__panel{width:400px}}.hy-site-header__panel[aria-hidden=true]{visibility:hidden;padding:0;width:0}";const g=class{constructor(i){e(this,i),this.type=d.header,this.color=l.black,this.isGroup=!1,this.size=h.big}render(){const e=["hy-site-logo",`hy-site-logo__${this.type}__${this.isGroup?"group":"page"}`,`hy-site-logo__${this.type}`].join(" ");return this.url?t(r,{class:e},t("a",{href:this.url},t("hy-icon",{class:{"hy-site-logo__icon":!0,group:this.isGroup},icon:"hy-icon-hy-logo",size:this.size,fill:this.color}),t("span",{class:{"hy-site-logo__label":!0,group:this.isGroup},style:{color:this.color}},this.label))):this.label?t(r,{class:e},t("hy-icon",{class:{"hy-site-logo__icon":!0,group:this.isGroup},icon:"hy-icon-hy-logo",size:this.size,fill:this.color}),t("span",{class:{"hy-site-logo__label":!0,group:this.isGroup},style:{color:this.color}},this.label)):""}};g.style=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{--site-logo-color:var(--brand-main-nearly-black)}:host(.hy-site-logo--mobile){--site-logo-color:var(--brand-main-nearly-black)}.hy-site-logo a{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;text-decoration:none}.hy-site-logo a:focus{outline:solid 2px var(--additional-yellow);outline-offset:2px}.hy-site-logo__label{font-size:0.875rem;line-height:14px;font-weight:700;color:var(--site-logo-color);font-family:var(--main-font-family);letter-spacing:-0.7px;margin-left:8px;max-width:90px;text-transform:uppercase}@media (min-width: 30rem){.hy-site-header__branding .hy-site-logo__label{min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content;white-space:nowrap}}@media (min-width: 75.0625rem){.hy-site-header__branding .hy-site-logo__label{min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;max-width:90px;white-space:initial}}@media (min-width: 1601px){.hy-site-header__branding .hy-site-logo__label{min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content;white-space:nowrap}}@media (min-width: 30rem){.hy-site-logo__label{font-size:0.9375rem;line-height:16px;letter-spacing:-0.75px;margin-left:6px}}@media (min-width: 75.0625rem){.hy-site-logo__label{font-size:0.875rem;line-height:14px;letter-spacing:-0.6px;margin-left:4px}}@media (min-width: 1601px){.hy-site-logo__label{font-size:1rem;line-height:16px;letter-spacing:-0.7px;margin-left:4px}}.hy-site-logo__label.group{font-size:0.75rem;line-height:14px;color:var(--grayscale-white);letter-spacing:-0.6px;margin-left:3px}@media (min-width: 60rem){.hy-site-logo__label.group{font-size:0.875rem;line-height:14px;letter-spacing:-0.7px}}@media (min-width: 1601px){.hy-site-logo__label.group{margin-left:8px}}.hy-site-logo__icon.group svg{height:32px !important;width:33.41px}.hy-site-logo__icon:not(.group) svg{height:32px;width:33.41px}@media (min-width: 30rem){.hy-site-logo__icon:not(.group) svg{height:48px;width:51px}}@media (min-width: 1601px){.hy-site-logo__icon:not(.group) svg{height:60px;width:64px}}.hy-site-logo__header__page:hover{color:var(--brand-main)}.hy-site-logo__header__page:hover a,.hy-site-logo__header__page:hover span{color:var(--brand-main) !important}.hy-site-logo__header__page:hover svg{fill:var(--brand-main)}.hy-site-logo__header__group:hover{color:var(--grayscale-medium)}.hy-site-logo__header__group:hover a,.hy-site-logo__header__group:hover span{color:var(--grayscale-medium) !important}.hy-site-logo__header__group:hover svg{fill:var(--grayscale-medium)}.hy-site-logo__footer:hover span{color:var(--grayscale-medium) !important}.hy-site-logo__footer:hover svg{fill:var(--grayscale-medium) !important}.hy-site-header__logo-container a.group{font-size:0.875rem;line-height:16px;font-weight:700;color:var(--grayscale-black);font-family:var(--main-font-family);letter-spacing:-0.5px;text-decoration:none;text-transform:uppercase}@media (min-width: 30rem){.hy-site-header__logo-container a.group{font-size:1.5rem;line-height:28px;letter-spacing:-0.8px}}@media (min-width: 1601px){.hy-site-header__logo-container a.group{font-size:1.625rem;line-height:30px}}";const m=class{constructor(t){e(this,t),this.searchPanelToggled=i(this,"searchPanelToggled",7),this.color=l.black,this.isAlternative=!1,this.isGroup=!1,this.showLabel=!1,this.isSearchPanelOpen=!1}async componentWillLoad(){this._labels=await c(this.labels),this.searchTools&&(this._searchTools=await c(this.searchTools)),this.searchLabels&&(this._searchLabels=await c(this.searchLabels),this.searchTitleLabel=this._searchLabels.search_label,this.searchCloseLabel=this._searchLabels.search_close_label,this.searchToolsLabel=this._searchLabels.search_tools_label,this.searchDescriptionLabel=this._searchLabels.search_description)}desktopMenuToggled(){this.closeSearchPanel()}mobileMenuToggled(){this.closeSearchPanel()}menuLanguageToggled(){this.closeSearchPanel()}universityMainMenuPanelToggled(){this.closeSearchPanel()}handleWindowClick(e){0!=e.detail&&this.isSearchPanelOpen&&(e.path||e.composedPath&&e.composedPath())[0].classList.contains("hy-backdrop")&&(this.closeSearchPanel(),e.stopPropagation())}closeSearchPanel(){if(this.isSearchPanelOpen=!1,document.querySelectorAll("stencil-cludo-sayt")[0]){let e=window.CludoSayt;void 0!==e&&e.hide()}this.showBackdropShadow()}handleSearchPanelToggle(e){if(this.isSearchPanelOpen=!this.isSearchPanelOpen,this.isSearchPanelOpen){this.searchPanelToggled.emit(),this.adjustPosition(this.el);let e=document.querySelectorAll("stencil-cludo-sayt")[0];if(e){const i=this.el.shadowRoot.querySelector("#cludo-search-content-form");e.classList.remove("hidden"),i.append(e),e.shadowRoot.querySelector("#cludo-reli-flexi-wrapper").style.position="relative",e.shadowRoot.querySelector("#cludo-reli-flexi").style.position="relative",e.shadowRoot.querySelector("#cludo-reli-flexi").style.maxWidth="none"}setTimeout((()=>{this.el.shadowRoot.querySelector("input#search").focus()}))}else this.closeSearchPanel();e.stopPropagation()}adjustPosition(e){let i="0",t=0;const a=e.shadowRoot.querySelectorAll(".site-search__panel")[0];let s=a.style.display;if(this.isGroup){let s=e.closest(".hy-site-header__content-top");if(s){let e=s.offsetHeight;i=`${e}px`;let r=s.offsetTop;a.style.display="flex",t=e+r+a.offsetHeight}}else{let s=e.closest(".hy-site-header");if(s){let e=s.classList.contains("hy-site-header--sticky-active")?s.offsetHeight:s.offsetTop+s.offsetHeight;i=`${e}px`,a.style.display="flex",t=a.offsetHeight+e}}a.style.display=s,a.style.top=i,this.showBackdropShadow("open",t)}showBackdropShadow(e="close",i=0){let t=this.el.closest(".hy-site-header").children[0];if(t)if("open"===e){let e=window.outerHeight-i;t.style.height=`${e}px`,t.style.top=`${i}px`,t.style.position="absolute",t.classList.add("is-active")}else t.removeAttribute("style"),t.classList.remove("is-active")}render(){const e=window.location.pathname,i=["/fi/haku","/en/search","/sv/sök"];return t("div",{class:{"site-search":!0,"site-search__is-open":this.isSearchPanelOpen,"is-group":this.isGroup}},t("button",{"aria-label":this.showLabel?this._labels.open:"","aria-expanded":`${this.isSearchPanelOpen}`,class:{"button--search":!0,"is-open--menu":this.isAlternative,"is-open":this.isSearchPanelOpen,"is-active":i.some((i=>i===e))},onClick:e=>this.handleSearchPanelToggle(e),disabled:!!i.some((i=>i===e))},this.showLabel?t("span",{class:{"button--search__label":!0,"button--search__label__group":this.isGroup}},this._labels.label):"",t("hy-icon",{icon:"hy-icon-search",size:this.size,fill:this.color})),t("div",{class:{"site-search__panel":!0,"site-search__panel__is-open":this.isSearchPanelOpen},"aria-hidden":`${!this.isSearchPanelOpen}`},t("div",{class:"site-search__panel__wrapper"},t("div",{class:"site-search__panel__title"},t("div",{class:"site-search__panel__title__group"},t("h1",null,this.searchTitleLabel),t("div",{class:"description"},this.searchDescriptionLabel))),t("div",{id:"cludo-search-results",class:"container_12"},t("div",{class:"search-banner"}),t("div",{class:"search-filters search-filters-mobile"}),t("div",{class:"col-md-12"},t("div",{style:{margin:"20px 0 32px"},id:"cludo-search-content-form"},t("hy-search-field",{"input-id":"search",label:""}))),t("div",{class:"col-md-3"},t("div",{class:"search-filters","aria-controls":"search-results"})),t("div",{class:"col-md-9"},t("div",{class:"search-results-container"},t("hy-paragraph-text",null,t("div",{class:"search-result-count"})),t("div",{class:"search-did-you-mean",role:"Complementary"}),t("div",{class:"search-results",role:"region",id:"search-results","aria-live":"polite"})))),this._searchTools&&this._searchTools.length>0&&t("div",{class:"site-search__panel__tools"},t("div",{class:"title"},this.searchToolsLabel),t("div",{class:"list"},this._searchTools.map((e=>t("a",{class:"search-special-tool",href:e.url,target:e.isExternal?"_blank":"_self"},t("hy-icon",{icon:"hy-icon-arrow-to-right",size:14,fill:l.black}),t("span",{class:"label"},e.label),t("span",{class:"description"},e.description)))))),t("button",{onClick:()=>this.closeSearchPanel(),class:{"site-search__panel__panel-toggle":!0},"aria-label":this.searchCloseLabel,"aria-expanded":`${this.isSearchPanelOpen}`},t("span",{class:"site-search__panel__panel-toggle__label"},t("span",{class:"site-search__panel__panel-toggle__label__title",tabindex:"0"},this.searchCloseLabel),t("hy-icon",{icon:"hy-icon-remove",size:16,fill:l.black}))))))}get el(){return s(this)}};m.style=':root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.button--search{font-size:0.75rem;line-height:24px;font-weight:400;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:transparent;border:0 none;color:var(--brand-main-nearly-black);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;font-family:var(--main-font-family);height:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;letter-spacing:-0.5px;width:44px}@media (min-width: 75.0625rem){.button--search{display:inline-grid;grid-template-columns:repeat(2, auto);gap:4px;width:auto}}@media (min-width: 1601px){.button--search{font-size:0.875rem;line-height:24px}}.button--search:hover:not([disabled]){color:var(--brand-main);cursor:pointer}.button--search:hover:not([disabled]) svg{fill:var(--brand-main)}.button--search:focus:not([disabled]){outline:solid 2px var(--additional-yellow);outline-offset:2px}.button--search.is-active,.button--search[aria-expanded=true]{position:relative}.button--search.is-active:after,.button--search[aria-expanded=true]:after{content:"";position:absolute;height:4px;right:0;bottom:-1px;left:0;background-color:var(--grayscale-black)}.is-group .button--search{color:var(--grayscale-white)}.is-group .button--search:hover:not([disabled]){color:var(--grayscale-medium);cursor:pointer}.is-group .button--search:hover:not([disabled]) svg{fill:var(--grayscale-medium)}.button--search.is-open--menu{position:absolute;right:50px;top:15px;z-index:101}.button--search__label{display:none;visibility:hidden}@media (min-width: 75.0625rem){.button--search__label{display:block;visibility:visible;-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}}.site-search{height:100%}.site-search__panel{display:none}.site-search__panel__is-open{background-color:#f8f8f8;border:1px solid rgba(0, 0, 0, 0.1);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;font-family:var(--main-font-family);left:0;position:absolute;width:100%;z-index:520}.site-search__panel__title__group{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (min-width: 60rem){.site-search__panel__title__group{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}}.site-search__panel__title h1{font-size:2rem;line-height:32px;font-weight:700;color:var(--grayscale-black);letter-spacing:-1px;margin-bottom:12px;margin-top:20px;text-transform:uppercase}@media (min-width: 30rem){.site-search__panel__title h1{font-size:2.875rem;line-height:48px;letter-spacing:-1.5px;margin-top:24px}}@media (min-width: 1601px){.site-search__panel__title h1{font-size:3.25rem;line-height:54px;letter-spacing:-1.6px}}.site-search__panel__title .description{font-size:0.75rem;line-height:16px;color:var(--grayscale-black);letter-spacing:-0.2px;margin-bottom:16px;padding:0}@media (min-width: 30rem){.site-search__panel__title .description{font-size:1rem;line-height:22px;letter-spacing:-0.1px;margin-bottom:18px}}@media (min-width: 60rem){.site-search__panel__title .description{font-size:1.125rem;line-height:24px;letter-spacing:-0.1px;padding-left:8px}}@media (min-width: 1601px){.site-search__panel__title .description{font-size:1.25rem;line-height:28px;letter-spacing:-0.2px;padding-left:12px}}.site-search__panel__wrapper{margin:0 auto;max-width:100%;padding:0 1rem 2rem;width:100%}@media (min-width: 30rem){.site-search__panel__wrapper{max-width:1216px;padding:0 0 2rem}}@media (min-width: 1601px){.site-search__panel__wrapper{padding:0 0 4rem}}.site-search__panel__panel-toggle{background-color:transparent;border:none;position:absolute;right:1rem;top:25px}@media (min-width: 30rem){.site-search__panel__panel-toggle{right:2rem;top:36px}}@media (min-width: 1601px){.site-search__panel__panel-toggle{top:45px}}.site-search__panel__panel-toggle__label{font-size:0.875rem;line-height:22px;font-weight:700;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--grayscale-black);display:-webkit-box;display:-ms-flexbox;display:flex;letter-spacing:-0.44px;text-transform:uppercase}.site-search__panel__panel-toggle__label__title{padding-right:8px}@media (min-width: 1601px){.site-search__panel__panel-toggle__label{font-size:1.125rem;line-height:22px;letter-spacing:-0.56px}}.site-search__panel__panel-toggle:focus:not([disabled]),.site-search__panel__panel-toggle:hover:not([disabled]){cursor:pointer}.site-search__panel__panel-toggle:focus:not([disabled]) span,.site-search__panel__panel-toggle:hover:not([disabled]) span{color:var(--brand-main)}.site-search__panel__panel-toggle:focus:not([disabled]) svg,.site-search__panel__panel-toggle:hover:not([disabled]) svg{fill:var(--brand-main)}.site-search__panel__tools .title{font-size:1rem;line-height:20px;font-weight:700;color:var(--brand-main-nearly-black);letter-spacing:-0.5px;text-transform:uppercase}@media (min-width: 30rem){.site-search__panel__tools .title{font-size:1.125rem;line-height:24px;letter-spacing:-0.56px;margin:32px 0 16px}}.site-search__panel__tools .list a.search-special-tool{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--grayscale-white);display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:8px;text-decoration:none}.site-search__panel__tools .list a.search-special-tool .label{font-size:0.875rem;line-height:16px;font-weight:700;color:var(--brand-main-nearly-black);letter-spacing:-0.44px;padding-left:8px}@media (min-width: 30rem){.site-search__panel__tools .list a.search-special-tool .label{font-size:1rem;line-height:20px;letter-spacing:-0.5px;padding-left:12px}}.site-search__panel__tools .list a.search-special-tool .description{display:none}@media (min-width: 60rem){.site-search__panel__tools .list a.search-special-tool .description{font-size:0.875rem;line-height:18px;color:var(--grayscale-dark);display:-webkit-box;display:-ms-flexbox;display:flex;letter-spacing:-0.2px;padding-left:12px}}@media (min-width: 1601px){.site-search__panel__tools .list a.search-special-tool .description{font-size:1rem;line-height:24px;color:var(--grayscale-dark);display:-webkit-box;display:-ms-flexbox;display:flex;letter-spacing:0;padding-left:12px}}.site-search__panel__tools .list a.search-special-tool hy-icon{height:40px;width:40px}.site-search__panel__tools .list a.search-special-tool hy-icon svg{background-color:var(--brand-main-light);fill:var(--grayscale-white);height:40px;padding:8px;width:40px}';export{p as hy_site_header,g as hy_site_logo,m as hy_site_search}