@postnord/pn-marketweb-components 2.0.101 → 2.0.103

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 (78) hide show
  1. package/cjs/{MarketWebLoginManager-dd31646e.js → MarketWebLoginManager-088ada10.js} +2 -2
  2. package/cjs/loader.cjs.js +1 -1
  3. package/cjs/pn-breakpoints.cjs.entry.js +28 -0
  4. package/cjs/pn-language-selector_9.cjs.entry.js +1 -1
  5. package/cjs/pn-market-web-components.cjs.js +1 -1
  6. package/cjs/pn-marketweb-siteheader.cjs.entry.js +1 -1
  7. package/cjs/pn-quick-cta.cjs.entry.js +22 -0
  8. package/cjs/pn-spotlight.cjs.entry.js +22 -0
  9. package/cjs/pn-stats-info.cjs.entry.js +1 -1
  10. package/cjs/pn-teaser-card.cjs.entry.js +6 -2
  11. package/collection/collection-manifest.json +3 -0
  12. package/collection/components/cards/pn-teaser-card/pn-teaser-card.css +11 -1
  13. package/collection/components/cards/pn-teaser-card/pn-teaser-card.js +11 -4
  14. package/collection/components/cards/pn-teaser-card/pn-teaser-card.stories.js +2 -2
  15. package/collection/components/cta/pn-quick-cta/pn-quick-cta.css +37 -0
  16. package/collection/components/cta/pn-quick-cta/pn-quick-cta.js +60 -0
  17. package/collection/components/cta/pn-quick-cta/pn-quick-cta.stories.js +28 -0
  18. package/collection/components/cta/pn-spotlight/pn-spotlight.css +96 -0
  19. package/collection/components/cta/pn-spotlight/pn-spotlight.js +62 -0
  20. package/collection/components/cta/pn-spotlight/pn-spotlight.stories.js +60 -0
  21. package/collection/components/data-visualization/pn-stats-info/pn-stats-info.css +0 -2
  22. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +1 -1
  23. package/collection/components/utilities/pn-breakpoints/pn-breakpoints.css +72 -0
  24. package/collection/components/utilities/pn-breakpoints/pn-breakpoints.js +58 -0
  25. package/collection/globals/MarketWebLoginManager.js +2 -2
  26. package/custom-elements/index.d.ts +18 -0
  27. package/custom-elements/index.js +71 -7
  28. package/esm/{MarketWebLoginManager-163d8a0c.js → MarketWebLoginManager-a893e8cc.js} +2 -2
  29. package/esm/loader.js +1 -1
  30. package/esm/pn-breakpoints.entry.js +24 -0
  31. package/esm/pn-language-selector_9.entry.js +1 -1
  32. package/esm/pn-market-web-components.js +1 -1
  33. package/esm/pn-marketweb-siteheader.entry.js +1 -1
  34. package/esm/pn-quick-cta.entry.js +18 -0
  35. package/esm/pn-spotlight.entry.js +18 -0
  36. package/esm/pn-stats-info.entry.js +1 -1
  37. package/esm/pn-teaser-card.entry.js +6 -2
  38. package/esm-es5/{MarketWebLoginManager-163d8a0c.js → MarketWebLoginManager-a893e8cc.js} +1 -1
  39. package/esm-es5/loader.js +1 -1
  40. package/esm-es5/pn-breakpoints.entry.js +1 -0
  41. package/esm-es5/pn-language-selector_9.entry.js +1 -1
  42. package/esm-es5/pn-market-web-components.js +1 -1
  43. package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
  44. package/esm-es5/pn-quick-cta.entry.js +1 -0
  45. package/esm-es5/pn-spotlight.entry.js +1 -0
  46. package/esm-es5/pn-stats-info.entry.js +1 -1
  47. package/esm-es5/pn-teaser-card.entry.js +1 -1
  48. package/package.json +1 -1
  49. package/pn-market-web-components/{p-b2624f72.js → p-042c00df.js} +1 -1
  50. package/pn-market-web-components/p-08c6f817.entry.js +1 -0
  51. package/pn-market-web-components/p-08ea20b0.system.entry.js +1 -0
  52. package/pn-market-web-components/{p-a138243f.entry.js → p-35490eef.entry.js} +1 -1
  53. package/pn-market-web-components/p-42079183.system.js +1 -0
  54. package/pn-market-web-components/p-42e0465b.system.entry.js +1 -0
  55. package/pn-market-web-components/p-447ef543.system.entry.js +1 -0
  56. package/pn-market-web-components/p-67887512.system.js +1 -1
  57. package/pn-market-web-components/p-910eb3c2.entry.js +1 -0
  58. package/pn-market-web-components/{p-d9b16b94.entry.js → p-9f0bbb52.entry.js} +1 -1
  59. package/pn-market-web-components/p-a2824f3b.entry.js +1 -0
  60. package/pn-market-web-components/p-a57ed38c.entry.js +1 -0
  61. package/pn-market-web-components/{p-1692b76b.system.entry.js → p-bfb93a57.system.entry.js} +1 -1
  62. package/pn-market-web-components/p-d7e3d918.entry.js +1 -0
  63. package/pn-market-web-components/p-dab1d7d7.system.entry.js +1 -0
  64. package/pn-market-web-components/p-e0a7ab9e.system.entry.js +1 -0
  65. package/pn-market-web-components/{p-4b484dcd.system.entry.js → p-ff97b8ef.system.entry.js} +1 -1
  66. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  67. package/types/components/cards/pn-teaser-card/pn-teaser-card.d.ts +2 -0
  68. package/types/components/cta/pn-quick-cta/pn-quick-cta.d.ts +6 -0
  69. package/types/components/cta/pn-spotlight/pn-spotlight.d.ts +6 -0
  70. package/types/components/utilities/pn-breakpoints/pn-breakpoints.d.ts +8 -0
  71. package/types/components.d.ts +49 -0
  72. package/umd/pn-marketweb-init.js +1 -1
  73. package/umd/pn-marketweb-salesforce.js +2 -2
  74. package/pn-market-web-components/p-18e220ae.system.js +0 -1
  75. package/pn-market-web-components/p-89e47f9e.system.entry.js +0 -1
  76. package/pn-market-web-components/p-d29c9c5d.entry.js +0 -1
  77. package/pn-market-web-components/p-d943f88e.entry.js +0 -1
  78. package/pn-market-web-components/p-db6984c0.system.entry.js +0 -1
@@ -0,0 +1,96 @@
1
+ pn-spotlight .pn-spotlight__container {
2
+ overflow: hidden;
3
+ }
4
+ @media screen and (max-width: 991px) {
5
+ pn-spotlight .pn-spotlight__container {
6
+ margin-left: calc(-50vw + 50%);
7
+ margin-right: calc(-50vw + 50%);
8
+ }
9
+ }
10
+ pn-spotlight [slot=mobile-heading] {
11
+ text-align: center;
12
+ padding-bottom: 1.6rem;
13
+ font-weight: 500;
14
+ }
15
+ @media screen and (min-width: 769px) {
16
+ pn-spotlight [slot=mobile-heading] {
17
+ display: none;
18
+ }
19
+ }
20
+ pn-spotlight .pn-spotlight__container__wrapper {
21
+ position: relative;
22
+ max-width: 100%;
23
+ }
24
+ @media screen and (min-width: 1640px) {
25
+ pn-spotlight .pn-spotlight__container__wrapper {
26
+ margin: 0 auto;
27
+ max-width: 80%;
28
+ }
29
+ }
30
+ pn-spotlight .pn-spotlight__container__wrapper__content {
31
+ position: relative;
32
+ margin: 0 auto;
33
+ display: flex;
34
+ flex-direction: row;
35
+ left: -37.5px;
36
+ width: calc(100% + 37.5px);
37
+ }
38
+ @media screen and (min-width: 768px) {
39
+ pn-spotlight .pn-spotlight__container__wrapper__content {
40
+ left: -50px;
41
+ width: calc(100% + 50px);
42
+ }
43
+ }
44
+ @media screen and (min-width: 992px) {
45
+ pn-spotlight .pn-spotlight__container__wrapper__content {
46
+ left: 0;
47
+ width: 100%;
48
+ }
49
+ }
50
+ pn-spotlight .pn-spotlight__container__wrapper__content__ball {
51
+ border-radius: 50%;
52
+ min-height: 75px;
53
+ aspect-ratio: 1/1;
54
+ margin-right: 2.5rem;
55
+ }
56
+ @media screen and (min-width: 768px) {
57
+ pn-spotlight .pn-spotlight__container__wrapper__content__ball {
58
+ min-height: 85px;
59
+ }
60
+ }
61
+ pn-spotlight [slot=content] {
62
+ display: flex;
63
+ border-top-left-radius: 10rem;
64
+ border-bottom-left-radius: 10rem;
65
+ align-items: center;
66
+ justify-content: right;
67
+ padding: 0 2rem;
68
+ padding-left: 50px;
69
+ width: 100%;
70
+ }
71
+ @media screen and (min-width: 992px) {
72
+ pn-spotlight [slot=content] {
73
+ border-radius: 10rem;
74
+ }
75
+ }
76
+
77
+ pn-spotlight[data-cta-color=green] [slot=content] {
78
+ background-color: #DCF6E7;
79
+ }
80
+ pn-spotlight[data-cta-color=green] .pn-spotlight__container__wrapper__content__ball {
81
+ background-color: #DCF6E7;
82
+ }
83
+
84
+ pn-spotlight[data-cta-color=coral] [slot=content] {
85
+ background-color: #FDEFEE;
86
+ }
87
+ pn-spotlight[data-cta-color=coral] .pn-spotlight__container__wrapper__content__ball {
88
+ background-color: #FDEFEE;
89
+ }
90
+
91
+ pn-spotlight[data-cta-color=blue] [slot=content] {
92
+ background-color: #EFFBFF;
93
+ }
94
+ pn-spotlight[data-cta-color=blue] .pn-spotlight__container__wrapper__content__ball {
95
+ background-color: #EFFBFF;
96
+ }
@@ -0,0 +1,62 @@
1
+ import { Component, Element, h, Host, Prop, } from '@stencil/core';
2
+ export class PnSpotlight {
3
+ constructor() {
4
+ this.heading = null;
5
+ this.preamble = null;
6
+ }
7
+ render() {
8
+ return (h(Host, null,
9
+ h("div", { class: "pn-spotlight__container" },
10
+ h("slot", { name: "mobile-heading" }),
11
+ h("div", { class: "pn-spotlight__container__wrapper" },
12
+ h("div", { class: "pn-spotlight__container__wrapper__content" },
13
+ h("div", { class: "pn-spotlight__container__wrapper__content__ball" }),
14
+ h("slot", { name: "content" }))))));
15
+ }
16
+ static get is() { return "pn-spotlight"; }
17
+ static get originalStyleUrls() { return {
18
+ "$": ["pn-spotlight.scss"]
19
+ }; }
20
+ static get styleUrls() { return {
21
+ "$": ["pn-spotlight.css"]
22
+ }; }
23
+ static get properties() { return {
24
+ "heading": {
25
+ "type": "string",
26
+ "mutable": false,
27
+ "complexType": {
28
+ "original": "string",
29
+ "resolved": "string",
30
+ "references": {}
31
+ },
32
+ "required": false,
33
+ "optional": false,
34
+ "docs": {
35
+ "tags": [],
36
+ "text": ""
37
+ },
38
+ "attribute": "heading",
39
+ "reflect": false,
40
+ "defaultValue": "null"
41
+ },
42
+ "preamble": {
43
+ "type": "string",
44
+ "mutable": false,
45
+ "complexType": {
46
+ "original": "string",
47
+ "resolved": "string",
48
+ "references": {}
49
+ },
50
+ "required": false,
51
+ "optional": false,
52
+ "docs": {
53
+ "tags": [],
54
+ "text": ""
55
+ },
56
+ "attribute": "preamble",
57
+ "reflect": false,
58
+ "defaultValue": "null"
59
+ }
60
+ }; }
61
+ static get elementRef() { return "hostElement"; }
62
+ }
@@ -0,0 +1,60 @@
1
+ import readme from './readme.md';
2
+
3
+ export default {
4
+ title: 'CTA/Spotlight',
5
+ parameters: {
6
+ notes: readme,
7
+ layout: 'fullscreen',
8
+ },
9
+ };
10
+
11
+ const TemplatePrimary = ({ ...args }) => {
12
+ return `
13
+ <pn-breakpoints break-point-class="dotcom"></pn-breakpoints>
14
+ <div id="container" style="margin: 0 auto;">
15
+ <pn-spotlight data-cta-color="blue">
16
+ <h2 slot="mobile-heading">${args.heading}</h2>
17
+ <div slot="content">
18
+ <pn-quick-cta heading="${args.heading}" preamble="${args.preamble}">
19
+ <pn-button slot="quick-cta-cta" href="${args.ctaUrl}">${args.ctaLabel}</pn-button>
20
+ </pn-quick-cta>
21
+ </div>
22
+ </pn-spotlight>
23
+ </div>
24
+
25
+ <br/>
26
+
27
+ <div id="container" style="margin: 0 auto;">
28
+ <pn-spotlight data-cta-color="coral">
29
+ <h2 slot="mobile-heading">${args.heading}</h2>
30
+ <div slot="content">
31
+ <pn-quick-cta heading="${args.heading}" preamble="${args.preamble}">
32
+ <pn-button slot="quick-cta-cta" href="${args.ctaUrl}">${args.ctaLabel}</pn-button>
33
+ </pn-quick-cta>
34
+ </div>
35
+ </pn-spotlight>
36
+ </div>
37
+
38
+ <br />
39
+
40
+ <div id="container" style="margin: 0 auto;">
41
+ <pn-spotlight data-cta-color="green">
42
+ <h2 slot="mobile-heading">${args.heading}</h2>
43
+ <div slot="content">
44
+ <pn-quick-cta heading="${args.heading}" preamble="${args.preamble}">
45
+ <pn-button slot="quick-cta-cta" href="${args.ctaUrl}">${args.ctaLabel}</pn-button>
46
+ </pn-quick-cta>
47
+ </div>
48
+ </pn-spotlight>
49
+ </div>
50
+ `;
51
+ };
52
+
53
+ export const Primary = TemplatePrimary.bind({});
54
+
55
+ Primary.args = {
56
+ heading: 'A Spotlight component',
57
+ preamble: 'With quick-cta component as content',
58
+ ctaUrl: 'http://www.google.se',
59
+ ctaLabel: 'Read more',
60
+ };
@@ -1,6 +1,4 @@
1
1
  .bleed-container:has(pn-stats-info) {
2
- border-bottom-left-radius: 2.4rem;
3
- border-bottom-right-radius: 2.4rem;
4
2
  padding: 0;
5
3
  margin-bottom: 3rem;
6
4
  overflow: hidden;
@@ -471,7 +471,7 @@ DotComSiteHeader.args = {
471
471
  const ATLoginTestTemplate = ({ ...args }) => {
472
472
  return `
473
473
  <script>
474
- window['pnTopbar'] = { access_token : 'b54237185e06db83b1d6467895ba774328d6d3a8dd6b22f7305af65' };
474
+ window['pnTopbar'] = { session_id : 'b54237185e06db83b1d6467895ba774328d6d3a8dd6b22f7305af65' };
475
475
  </script>
476
476
  <header>
477
477
  <pn-marketweb-siteheader
@@ -0,0 +1,72 @@
1
+ pn-breakpoints {
2
+ width: 100%;
3
+ }
4
+ pn-breakpoints .breakpoints--dotcom {
5
+ width: 100%;
6
+ background-color: aliceblue;
7
+ text-align: center;
8
+ margin-bottom: 2.4rem;
9
+ background-color: aliceblue;
10
+ }
11
+ pn-breakpoints .breakpoints--dotcom .reference::before {
12
+ content: "less than 321";
13
+ }
14
+ @media screen and (min-width: 321px) {
15
+ pn-breakpoints .breakpoints--dotcom {
16
+ background-color: yellow;
17
+ }
18
+ pn-breakpoints .breakpoints--dotcom .reference::before {
19
+ content: "321 (xs)";
20
+ }
21
+ }
22
+ @media screen and (min-width: 576px) {
23
+ pn-breakpoints .breakpoints--dotcom {
24
+ background-color: aqua;
25
+ }
26
+ pn-breakpoints .breakpoints--dotcom .reference::before {
27
+ content: "576 (sm)";
28
+ }
29
+ }
30
+ @media screen and (min-width: 768px) {
31
+ pn-breakpoints .breakpoints--dotcom {
32
+ background-color: red;
33
+ color: #fff;
34
+ }
35
+ pn-breakpoints .breakpoints--dotcom .reference::before {
36
+ content: "768 (md)";
37
+ }
38
+ }
39
+ @media screen and (min-width: 992px) {
40
+ pn-breakpoints .breakpoints--dotcom {
41
+ background-color: green;
42
+ color: #fff;
43
+ }
44
+ pn-breakpoints .breakpoints--dotcom .reference::before {
45
+ content: "992 (lg)";
46
+ }
47
+ }
48
+ @media screen and (min-width: 1200px) {
49
+ pn-breakpoints .breakpoints--dotcom {
50
+ background-color: blue;
51
+ color: #fff;
52
+ }
53
+ pn-breakpoints .breakpoints--dotcom .reference::before {
54
+ content: "1200 (xl)";
55
+ }
56
+ }
57
+ @media screen and (min-width: 1640px) {
58
+ pn-breakpoints .breakpoints--dotcom {
59
+ background-color: pink;
60
+ }
61
+ pn-breakpoints .breakpoints--dotcom .reference::before {
62
+ content: "1640 (xxl)";
63
+ }
64
+ }
65
+ @media screen and (min-width: 1920px) {
66
+ pn-breakpoints .breakpoints--dotcom {
67
+ background-color: orange;
68
+ }
69
+ pn-breakpoints .breakpoints--dotcom .reference::before {
70
+ content: "1920 (fhd)";
71
+ }
72
+ }
@@ -0,0 +1,58 @@
1
+ import { Component, Element, h, Host, Listen, Prop, State, } from '@stencil/core';
2
+ export class PnBreakpoints {
3
+ constructor() {
4
+ this.currentWidth = window.innerWidth;
5
+ this.breakPointClass = 'dotcom';
6
+ }
7
+ handleViewportSizeChange(event) {
8
+ this.currentWidth = event.target.innerWidth;
9
+ }
10
+ createBreakpointClass() {
11
+ return `breakpoints--${this.breakPointClass}`;
12
+ }
13
+ render() {
14
+ return (h(Host, null,
15
+ h("div", { class: `breakpoints ${this.createBreakpointClass()} ` },
16
+ `${this.currentWidth} px`,
17
+ ' min-width: ',
18
+ h("span", { class: "reference" }, ' px'))));
19
+ }
20
+ static get is() { return "pn-breakpoints"; }
21
+ static get originalStyleUrls() { return {
22
+ "$": ["pn-breakpoints.scss"]
23
+ }; }
24
+ static get styleUrls() { return {
25
+ "$": ["pn-breakpoints.css"]
26
+ }; }
27
+ static get properties() { return {
28
+ "breakPointClass": {
29
+ "type": "string",
30
+ "mutable": false,
31
+ "complexType": {
32
+ "original": "string",
33
+ "resolved": "string",
34
+ "references": {}
35
+ },
36
+ "required": false,
37
+ "optional": false,
38
+ "docs": {
39
+ "tags": [],
40
+ "text": ""
41
+ },
42
+ "attribute": "break-point-class",
43
+ "reflect": false,
44
+ "defaultValue": "'dotcom'"
45
+ }
46
+ }; }
47
+ static get states() { return {
48
+ "currentWidth": {}
49
+ }; }
50
+ static get elementRef() { return "hostElement"; }
51
+ static get listeners() { return [{
52
+ "name": "resize",
53
+ "method": "handleViewportSizeChange",
54
+ "target": "window",
55
+ "capture": false,
56
+ "passive": true
57
+ }]; }
58
+ }
@@ -138,10 +138,10 @@ class MarketWebLoginManager {
138
138
  }
139
139
  }
140
140
  checkPNTopbar() {
141
- if (this.isLoggedIn() || !window['pnTopbar'] || !window['pnTopbar']['access_token']) {
141
+ if (this.isLoggedIn() || !window['pnTopbar'] || !window['pnTopbar']['session_id']) {
142
142
  return;
143
143
  }
144
- this.store.set(this.keys.token, window['pnTopbar']['access_token']);
144
+ this.store.set(this.keys.token, window['pnTopbar']['session_id']);
145
145
  this.fetchUserInfo();
146
146
  }
147
147
  checkParameters() {
@@ -14,6 +14,12 @@ export const PnBonusProgressbarLevel: {
14
14
  new (): PnBonusProgressbarLevel;
15
15
  };
16
16
 
17
+ interface PnBreakpoints extends Components.PnBreakpoints, HTMLElement {}
18
+ export const PnBreakpoints: {
19
+ prototype: PnBreakpoints;
20
+ new (): PnBreakpoints;
21
+ };
22
+
17
23
  interface PnChoiceButton extends Components.PnChoiceButton, HTMLElement {}
18
24
  export const PnChoiceButton: {
19
25
  prototype: PnChoiceButton;
@@ -272,6 +278,12 @@ export const PnProxioProductcardPricelink: {
272
278
  new (): PnProxioProductcardPricelink;
273
279
  };
274
280
 
281
+ interface PnQuickCta extends Components.PnQuickCta, HTMLElement {}
282
+ export const PnQuickCta: {
283
+ prototype: PnQuickCta;
284
+ new (): PnQuickCta;
285
+ };
286
+
275
287
  interface PnSidenav extends Components.PnSidenav, HTMLElement {}
276
288
  export const PnSidenav: {
277
289
  prototype: PnSidenav;
@@ -320,6 +332,12 @@ export const PnSiteSelectorItem: {
320
332
  new (): PnSiteSelectorItem;
321
333
  };
322
334
 
335
+ interface PnSpotlight extends Components.PnSpotlight, HTMLElement {}
336
+ export const PnSpotlight: {
337
+ prototype: PnSpotlight;
338
+ new (): PnSpotlight;
339
+ };
340
+
323
341
  interface PnStatsInfo extends Components.PnStatsInfo, HTMLElement {}
324
342
  export const PnStatsInfo: {
325
343
  prototype: PnStatsInfo;
@@ -131,6 +131,28 @@ let PnBonusProgressbarLevel$1 = class extends HTMLElement {
131
131
  static get style() { return pnBonusProgressbarLevelCss; }
132
132
  };
133
133
 
134
+ const pnBreakpointsCss = "pn-breakpoints{width:100%}pn-breakpoints .breakpoints--dotcom{width:100%;background-color:aliceblue;text-align:center;margin-bottom:2.4rem;background-color:aliceblue}pn-breakpoints .breakpoints--dotcom .reference::before{content:\"less than 321\"}@media screen and (min-width: 321px){pn-breakpoints .breakpoints--dotcom{background-color:yellow}pn-breakpoints .breakpoints--dotcom .reference::before{content:\"321 (xs)\"}}@media screen and (min-width: 576px){pn-breakpoints .breakpoints--dotcom{background-color:aqua}pn-breakpoints .breakpoints--dotcom .reference::before{content:\"576 (sm)\"}}@media screen and (min-width: 768px){pn-breakpoints .breakpoints--dotcom{background-color:red;color:#fff}pn-breakpoints .breakpoints--dotcom .reference::before{content:\"768 (md)\"}}@media screen and (min-width: 992px){pn-breakpoints .breakpoints--dotcom{background-color:green;color:#fff}pn-breakpoints .breakpoints--dotcom .reference::before{content:\"992 (lg)\"}}@media screen and (min-width: 1200px){pn-breakpoints .breakpoints--dotcom{background-color:blue;color:#fff}pn-breakpoints .breakpoints--dotcom .reference::before{content:\"1200 (xl)\"}}@media screen and (min-width: 1640px){pn-breakpoints .breakpoints--dotcom{background-color:pink}pn-breakpoints .breakpoints--dotcom .reference::before{content:\"1640 (xxl)\"}}@media screen and (min-width: 1920px){pn-breakpoints .breakpoints--dotcom{background-color:orange}pn-breakpoints .breakpoints--dotcom .reference::before{content:\"1920 (fhd)\"}}";
135
+
136
+ let PnBreakpoints$1 = class extends HTMLElement {
137
+ constructor() {
138
+ super();
139
+ this.__registerHost();
140
+ this.currentWidth = window.innerWidth;
141
+ this.breakPointClass = 'dotcom';
142
+ }
143
+ handleViewportSizeChange(event) {
144
+ this.currentWidth = event.target.innerWidth;
145
+ }
146
+ createBreakpointClass() {
147
+ return `breakpoints--${this.breakPointClass}`;
148
+ }
149
+ render() {
150
+ return (h(Host, null, h("div", { class: `breakpoints ${this.createBreakpointClass()} ` }, `${this.currentWidth} px`, ' min-width: ', h("span", { class: "reference" }, ' px'))));
151
+ }
152
+ get hostElement() { return this; }
153
+ static get style() { return pnBreakpointsCss; }
154
+ };
155
+
134
156
  const pnChoiceButtonCss = "pn-choice-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:none;display:inline-block;background:#fff;position:relative;margin:0.2em 0.4em}pn-choice-button input{opacity:0;position:absolute;top:0;left:0;pointer-events:none;margin:0;width:100%;height:100%}pn-choice-button label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:0.4rem 0.8rem;border:0.1rem solid #D3CECB;color:#005D92;font-weight:500;border-radius:0.8rem;text-align:center;cursor:pointer;-webkit-transition:background 0.2s, -webkit-box-shadow 0.1s;transition:background 0.2s, -webkit-box-shadow 0.1s;transition:box-shadow 0.1s, background 0.2s;transition:box-shadow 0.1s, background 0.2s, -webkit-box-shadow 0.1s}pn-choice-button label pn-illustration{display:inline-block;width:3rem;height:3rem;margin-right:0.9rem}pn-choice-button>input:checked+label.pn-choice-button{background:#E0F8FF;color:#005D92;border-color:#005D92;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13)}pn-choice-button>input:indeterminate+label.pn-choice-button{background:#FFFFFF;color:#005D92}pn-choice-button>input:hover+label.pn-choice-button{background:#E0F8FF}pn-choice-button>input:focus+label.pn-choice-button,pn-choice-button>input:active+label.pn-choice-button{-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92}pn-choice-button>input:active+label.pn-choice-button{background:#8EDDF9}pn-choice-button>input:disabled+label.pn-choice-button{background-color:#D3CECB}pn-choice-button>input:checked+label.pn-choice-button:hover{background:#8EDDF9}pn-choice-button>input:checked+label.pn-choice-button:active{background:#8EDDF9;border:0.1rem solid #00A0D6}";
135
157
 
136
158
  let PnChoiceButton$1 = class extends HTMLElement {
@@ -4270,10 +4292,10 @@ class MarketWebLoginManager {
4270
4292
  }
4271
4293
  }
4272
4294
  checkPNTopbar() {
4273
- if (this.isLoggedIn() || !window['pnTopbar'] || !window['pnTopbar']['access_token']) {
4295
+ if (this.isLoggedIn() || !window['pnTopbar'] || !window['pnTopbar']['session_id']) {
4274
4296
  return;
4275
4297
  }
4276
- this.store.set(this.keys.token, window['pnTopbar']['access_token']);
4298
+ this.store.set(this.keys.token, window['pnTopbar']['session_id']);
4277
4299
  this.fetchUserInfo();
4278
4300
  }
4279
4301
  checkParameters() {
@@ -6358,6 +6380,22 @@ let PnProxioProductcardPricelink$1 = class extends HTMLElement {
6358
6380
  static get style() { return pnProxioProductcardPricelinkCss; }
6359
6381
  };
6360
6382
 
6383
+ const pnQuickCtaCss = "pn-quick-cta .quick-cta__content{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:2.4rem;width:100%}pn-quick-cta .quick-cta__content .quick-cta__content__heading{padding:0;margin:0;font-size:2.4rem;font-weight:500}@media screen and (max-width: 768px){pn-quick-cta .quick-cta__content .quick-cta__content__heading{display:none}}@media screen and (min-width: 1640px){pn-quick-cta .quick-cta__content .quick-cta__content__heading{font-size:2.8rem;font-weight:700}}pn-quick-cta .quick-cta__content .quick-cta__content__preamble{font-weight:400;font-size:1.6rem;line-height:140%;padding:0;margin:0}pn-quick-cta .quick-cta__content [slot=quick-cta-cta] a{white-space:nowrap}pn-quick-cta .quick-cta__content [slot=quick-cta-cta] a:hover{text-decoration:none}";
6384
+
6385
+ let PnQuickCta$1 = class extends HTMLElement {
6386
+ constructor() {
6387
+ super();
6388
+ this.__registerHost();
6389
+ this.heading = null;
6390
+ this.preamble = null;
6391
+ }
6392
+ render() {
6393
+ return (h(Host, null, h("div", { class: "quick-cta__content" }, h("h2", { class: "quick-cta__content__heading" }, this.heading), h("p", { class: "quick-cta__content__preamble" }, this.preamble), h("slot", { name: "quick-cta-cta" }))));
6394
+ }
6395
+ get hostElement() { return this; }
6396
+ static get style() { return pnQuickCtaCss; }
6397
+ };
6398
+
6361
6399
  const translations = {
6362
6400
  'sv': {
6363
6401
  "open": "Öppna",
@@ -6685,7 +6723,23 @@ let PnSiteSelectorItem$1 = class extends HTMLElement {
6685
6723
  static get style() { return pnSiteSelectorItemCss; }
6686
6724
  };
6687
6725
 
6688
- const pnStatsInfoCss = ".bleed-container:has(pn-stats-info){border-bottom-left-radius:2.4rem;border-bottom-right-radius:2.4rem;padding:0;margin-bottom:3rem;overflow:hidden}.bleed-container:has(pn-stats-info) .container>.mb-5{margin-bottom:0 !important}.bleed-container:has(pn-stats-info) .statsblock{margin-bottom:0 !important}pn-stats-info{width:100%}pn-stats-info .pn-stats-info__container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;padding-top:2rem}@media screen and (min-width: 768px){pn-stats-info .pn-stats-info__container{padding-top:6rem}}@media screen and (min-width: 1200px){pn-stats-info .pn-stats-info__container{padding-top:8rem}}pn-stats-info .pn-stats-info__container__map{display:none}@media screen and (min-width: 768px){pn-stats-info .pn-stats-info__container__map{display:block;max-width:46rem;width:100%;background-color:#0D234B;background-repeat:no-repeat;background-position:bottom center;background-size:55%}}@media screen and (min-width: 1200px){pn-stats-info .pn-stats-info__container__map{background-size:contain}}pn-stats-info .pn-stats-info__container__content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;padding:1rem;width:100%;background-color:#0D234B;background-repeat:no-repeat;background-position:bottom left;background-size:50%;background-blend-mode:overlay;padding-bottom:2rem}@media screen and (min-width: 768px){pn-stats-info .pn-stats-info__container__content{max-width:540px;background-position:-999px -999px;background-size:0;padding-bottom:4rem;padding-right:4rem}}@media screen and (min-width: 1200px){pn-stats-info .pn-stats-info__container__content{max-width:100%;padding-bottom:6rem;padding-right:6rem}}pn-stats-info .pn-stats-info__container__content__heading{color:#F06365;margin-bottom:2.4rem;-ms-flex-item-align:center;align-self:center;text-align:center;font-size:3rem;line-height:110%}@media screen and (min-width: 1200px){pn-stats-info .pn-stats-info__container__content__heading{font-weight:700;font-size:4.8rem}}pn-stats-info .pn-stats-info__container__content__data{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;min-height:20rem}@media screen and (min-width: 1640px){pn-stats-info .pn-stats-info__container__content__data{width:65rem}}";
6726
+ const pnSpotlightCss = "pn-spotlight .pn-spotlight__container{overflow:hidden}@media screen and (max-width: 991px){pn-spotlight .pn-spotlight__container{margin-left:calc(-50vw + 50%);margin-right:calc(-50vw + 50%)}}pn-spotlight [slot=mobile-heading]{text-align:center;padding-bottom:1.6rem;font-weight:500}@media screen and (min-width: 769px){pn-spotlight [slot=mobile-heading]{display:none}}pn-spotlight .pn-spotlight__container__wrapper{position:relative;max-width:100%}@media screen and (min-width: 1640px){pn-spotlight .pn-spotlight__container__wrapper{margin:0 auto;max-width:80%}}pn-spotlight .pn-spotlight__container__wrapper__content{position:relative;margin:0 auto;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;left:-37.5px;width:calc(100% + 37.5px)}@media screen and (min-width: 768px){pn-spotlight .pn-spotlight__container__wrapper__content{left:-50px;width:calc(100% + 50px)}}@media screen and (min-width: 992px){pn-spotlight .pn-spotlight__container__wrapper__content{left:0;width:100%}}pn-spotlight .pn-spotlight__container__wrapper__content__ball{border-radius:50%;min-height:75px;aspect-ratio:1/1;margin-right:2.5rem}@media screen and (min-width: 768px){pn-spotlight .pn-spotlight__container__wrapper__content__ball{min-height:85px}}pn-spotlight [slot=content]{display:-ms-flexbox;display:flex;border-top-left-radius:10rem;border-bottom-left-radius:10rem;-ms-flex-align:center;align-items:center;-ms-flex-pack:right;justify-content:right;padding:0 2rem;padding-left:50px;width:100%}@media screen and (min-width: 992px){pn-spotlight [slot=content]{border-radius:10rem}}pn-spotlight[data-cta-color=green] [slot=content]{background-color:#DCF6E7}pn-spotlight[data-cta-color=green] .pn-spotlight__container__wrapper__content__ball{background-color:#DCF6E7}pn-spotlight[data-cta-color=coral] [slot=content]{background-color:#FDEFEE}pn-spotlight[data-cta-color=coral] .pn-spotlight__container__wrapper__content__ball{background-color:#FDEFEE}pn-spotlight[data-cta-color=blue] [slot=content]{background-color:#EFFBFF}pn-spotlight[data-cta-color=blue] .pn-spotlight__container__wrapper__content__ball{background-color:#EFFBFF}";
6727
+
6728
+ let PnSpotlight$1 = class extends HTMLElement {
6729
+ constructor() {
6730
+ super();
6731
+ this.__registerHost();
6732
+ this.heading = null;
6733
+ this.preamble = null;
6734
+ }
6735
+ render() {
6736
+ return (h(Host, null, h("div", { class: "pn-spotlight__container" }, h("slot", { name: "mobile-heading" }), h("div", { class: "pn-spotlight__container__wrapper" }, h("div", { class: "pn-spotlight__container__wrapper__content" }, h("div", { class: "pn-spotlight__container__wrapper__content__ball" }), h("slot", { name: "content" }))))));
6737
+ }
6738
+ get hostElement() { return this; }
6739
+ static get style() { return pnSpotlightCss; }
6740
+ };
6741
+
6742
+ const pnStatsInfoCss = ".bleed-container:has(pn-stats-info){padding:0;margin-bottom:3rem;overflow:hidden}.bleed-container:has(pn-stats-info) .container>.mb-5{margin-bottom:0 !important}.bleed-container:has(pn-stats-info) .statsblock{margin-bottom:0 !important}pn-stats-info{width:100%}pn-stats-info .pn-stats-info__container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;padding-top:2rem}@media screen and (min-width: 768px){pn-stats-info .pn-stats-info__container{padding-top:6rem}}@media screen and (min-width: 1200px){pn-stats-info .pn-stats-info__container{padding-top:8rem}}pn-stats-info .pn-stats-info__container__map{display:none}@media screen and (min-width: 768px){pn-stats-info .pn-stats-info__container__map{display:block;max-width:46rem;width:100%;background-color:#0D234B;background-repeat:no-repeat;background-position:bottom center;background-size:55%}}@media screen and (min-width: 1200px){pn-stats-info .pn-stats-info__container__map{background-size:contain}}pn-stats-info .pn-stats-info__container__content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;padding:1rem;width:100%;background-color:#0D234B;background-repeat:no-repeat;background-position:bottom left;background-size:50%;background-blend-mode:overlay;padding-bottom:2rem}@media screen and (min-width: 768px){pn-stats-info .pn-stats-info__container__content{max-width:540px;background-position:-999px -999px;background-size:0;padding-bottom:4rem;padding-right:4rem}}@media screen and (min-width: 1200px){pn-stats-info .pn-stats-info__container__content{max-width:100%;padding-bottom:6rem;padding-right:6rem}}pn-stats-info .pn-stats-info__container__content__heading{color:#F06365;margin-bottom:2.4rem;-ms-flex-item-align:center;align-self:center;text-align:center;font-size:3rem;line-height:110%}@media screen and (min-width: 1200px){pn-stats-info .pn-stats-info__container__content__heading{font-weight:700;font-size:4.8rem}}pn-stats-info .pn-stats-info__container__content__data{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;min-height:20rem}@media screen and (min-width: 1640px){pn-stats-info .pn-stats-info__container__content__data{width:65rem}}";
6689
6743
 
6690
6744
  const mockStringArray = '[{ "preamble": "Million parcels", "data": 226, "unit": null, "duration": 1000 }, { "preamble": "weighted parcel delivery quality", "data": 94.5, "unit": "%", "duration": 2500 },{ "preamble": "billion letters and other mail items", "data": 1.5, "unit": "", "duration": 3000 },{ "preamble": "carbon dioxide emissions since 2009", "data": -44, "unit": "%", "duration": 2000 }]';
6691
6745
  let PnStatsInfo$1 = class extends HTMLElement {
@@ -6773,7 +6827,7 @@ let PnStatsInfoData$1 = class extends HTMLElement {
6773
6827
  static get style() { return pnStatsInfoDataCss; }
6774
6828
  };
6775
6829
 
6776
- const pnTeaserCardCss = "pn-teaser-card{width:100%;height:100%;display:-ms-flexbox;display:flex}pn-teaser-card .pn-teaser-card__container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:start;justify-content:flex-start;border-radius:2.4rem}pn-teaser-card .pn-teaser-card__container__image__container{width:100%;position:relative}pn-teaser-card .pn-teaser-card__container__image__container>[slot=illustration]{-webkit-clip-path:ellipse(100% 90% at 50% 0%);clip-path:ellipse(100% 90% at 50% 0%);height:100%;overflow:hidden;border-top-left-radius:2.4rem;border-top-right-radius:2.4rem}pn-teaser-card .pn-teaser-card__container__image__container>[slot=illustration]>picture>img{width:100%;height:auto;-webkit-transition:0.4s ease-in-out;transition:0.4s ease-in-out;-webkit-transform:scale(1);transform:scale(1);aspect-ratio:16/9}pn-teaser-card .pn-teaser-card__container__content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;-ms-flex:1 1 100%;flex:1 1 100%;gap:3.2rem;padding:2.4rem 2.4rem;padding-top:0}pn-teaser-card .pn-teaser-card__container__content__text__container>h1{font-weight:700;font-size:2.4rem;line-height:2.64rem}pn-teaser-card .pn-teaser-card__container__content__text__container>p{padding-top:1.6rem;font-weight:400;font-size:1.6rem;line-height:2.24rem}pn-teaser-card .pn-teaser-card__container__content__text__container__label{display:block;margin-bottom:1.6rem;font-weight:400;font-size:1.2rem;line-height:140%}pn-teaser-card .pn-teaser-card__container__content__cta>pn-button{-ms-flex-item-align:end;align-self:flex-end;width:100%}pn-teaser-card .pn-teaser-card__container__content__cta>pn-button a:hover{text-decoration:none}pn-teaser-card .pn-teaser-card__container__content__cta>pn-button>button>.pn-button-bg,pn-teaser-card .pn-teaser-card__container__content__cta>pn-button>a>.pn-button-bg{-webkit-transition:0.4s ease-in-out;transition:0.4s ease-in-out}@media screen and (min-width: 768px){pn-teaser-card .pn-teaser-card__container__content__cta>pn-button{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}}pn-teaser-card[data-card-color=coral]>.pn-teaser-card__container{background-color:#FDEFEE}pn-teaser-card[data-card-color=green]>.pn-teaser-card__container{background-color:#DCF6E7}pn-teaser-card[data-card-color=blue]>.pn-teaser-card__container{background-color:#EFFBFF}@media screen and (min-width: 1200px){.halfwidth pn-teaser-card .pn-teaser-card__container__content{padding:0 5.6rem 5.6rem}.halfwidth pn-teaser-card .pn-teaser-card__container__content__text__container>h1{font-weight:700;font-size:3.2rem;line-height:3.52rem}.halfwidth pn-teaser-card .pn-teaser-card__container__content__text__container>p{font-weight:400;font-size:2rem;line-height:2.8rem}}@media screen and (min-width: 768px){.fullwidth pn-teaser-card{min-height:35rem}.fullwidth pn-teaser-card .pn-teaser-card__container{-ms-flex-direction:row;flex-direction:row}.fullwidth pn-teaser-card .pn-teaser-card__container__content{-ms-flex-item-align:center;align-self:center;gap:2.4rem;padding:3.2rem 3.2rem 3.2rem 2.4rem}.fullwidth pn-teaser-card .pn-teaser-card__container__image__container>[slot=illustration]{border-top-left-radius:2.4rem;border-bottom-left-radius:2.4rem;-webkit-clip-path:ellipse(100% 100% at 0% 50%);clip-path:ellipse(100% 100% at 0% 50%)}.fullwidth pn-teaser-card .pn-teaser-card__container__image__container>[slot=illustration]>picture>img{height:100%;-o-object-fit:cover;object-fit:cover}}@media screen and (min-width: 1200px){.fullwidth pn-teaser-card{min-height:52rem}.fullwidth pn-teaser-card .pn-teaser-card__container__content{padding:4rem 4rem 4rem 3.2rem}.fullwidth pn-teaser-card .pn-teaser-card__container__content__text__container>h1{font-weight:700;font-size:4.8rem;line-height:5.28rem}.fullwidth pn-teaser-card .pn-teaser-card__container__content__text__container>p{font-size:2rem;line-height:2.8rem}}@media screen and (min-width: 768px){.fullwidth pn-teaser-card[data-card-alignment=right] .pn-teaser-card__container{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.fullwidth pn-teaser-card[data-card-alignment=right] .pn-teaser-card__container__content{padding:3.2rem 2.4rem 3.2rem 3.2rem}.fullwidth pn-teaser-card[data-card-alignment=right] .pn-teaser-card__container__image__container>[slot=illustration]{border-bottom-right-radius:2.4rem;-webkit-clip-path:ellipse(100% 100% at 100% 50%);clip-path:ellipse(100% 100% at 100% 50%)}}@media screen and (min-width: 1200px){.fullwidth pn-teaser-card[data-card-alignment=right] .pn-teaser-card__container__content{padding:4rem 3.2rem 4rem 4rem}}pn-teaser-card.teaser-card--hover-effect:hover{cursor:pointer}pn-teaser-card.teaser-card--hover-effect:hover .pn-teaser-card__container__image__container [slot=illustration] picture>img{-webkit-transform:scale(1.02);transform:scale(1.02);-webkit-filter:brightness(0.85);filter:brightness(0.85)}pn-teaser-card.teaser-card--hover-effect:hover pn-button button .pn-button-bg,pn-teaser-card.teaser-card--hover-effect:hover pn-button a .pn-button-bg{background-color:#0D234B}";
6830
+ const pnTeaserCardCss = ".block.teasercardblock a[data-block-clickable-link=true]{z-index:1}pn-teaser-card{width:100%;height:100%;display:-ms-flexbox;display:flex}pn-teaser-card .pn-teaser-card__container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:start;justify-content:flex-start;border-radius:2.4rem}pn-teaser-card .pn-teaser-card__container__image__container{width:100%;position:relative}pn-teaser-card .pn-teaser-card__container__image__container>[slot=illustration]{-webkit-clip-path:ellipse(100% 90% at 50% 0%);clip-path:ellipse(100% 90% at 50% 0%);height:100%;overflow:hidden;border-top-left-radius:2.4rem;border-top-right-radius:2.4rem}pn-teaser-card .pn-teaser-card__container__image__container>[slot=illustration]>picture>img{width:100%;height:auto;-webkit-transition:0.4s ease-in-out;transition:0.4s ease-in-out;-webkit-transform:scale(1);transform:scale(1);aspect-ratio:16/9}pn-teaser-card .pn-teaser-card__container__content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;-ms-flex:1 1 100%;flex:1 1 100%;gap:3.2rem;padding:2.4rem 2.4rem;padding-top:0}pn-teaser-card .pn-teaser-card__container__content__text__container>h1{font-weight:700;font-size:2.4rem;line-height:2.64rem}pn-teaser-card .pn-teaser-card__container__content__text__container>p{padding-top:1.6rem;font-weight:400;font-size:1.6rem;line-height:2.24rem}pn-teaser-card .pn-teaser-card__container__content__text__container__label{display:block;margin-bottom:1.6rem;font-weight:400;font-size:1.2rem;line-height:140%}pn-teaser-card .pn-teaser-card__container__content__cta>pn-button{-ms-flex-item-align:end;align-self:flex-end;width:100%}pn-teaser-card .pn-teaser-card__container__content__cta>pn-button a:hover{text-decoration:none}pn-teaser-card .pn-teaser-card__container__content__cta>pn-button>button>.pn-button-bg,pn-teaser-card .pn-teaser-card__container__content__cta>pn-button>a>.pn-button-bg{-webkit-transition:0.4s ease-in-out;transition:0.4s ease-in-out}@media screen and (min-width: 768px){pn-teaser-card .pn-teaser-card__container__content__cta>pn-button{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}}pn-teaser-card[data-card-color=coral]>.pn-teaser-card__container{background-color:#FDEFEE}pn-teaser-card[data-card-color=green]>.pn-teaser-card__container{background-color:#DCF6E7}pn-teaser-card[data-card-color=blue]>.pn-teaser-card__container{background-color:#EFFBFF}@media screen and (min-width: 1200px){.halfwidth pn-teaser-card .pn-teaser-card__container__content{padding:0 4rem 4rem}.halfwidth pn-teaser-card .pn-teaser-card__container__content__text__container>h1{font-weight:700;font-size:3.2rem;line-height:3.52rem}.halfwidth pn-teaser-card .pn-teaser-card__container__content__text__container>p{font-weight:400;font-size:2rem;line-height:2.8rem}}@media screen and (min-width: 1640px){.halfwidth pn-teaser-card .pn-teaser-card__container__content{padding:0 5.6rem 5.6rem}}@media screen and (min-width: 768px){.fullwidth pn-teaser-card{min-height:35rem}.fullwidth pn-teaser-card .pn-teaser-card__container{-ms-flex-direction:row;flex-direction:row}.fullwidth pn-teaser-card .pn-teaser-card__container__content{-ms-flex-item-align:center;align-self:center;gap:2.4rem;padding:3.2rem 3.2rem 3.2rem 2.4rem}.fullwidth pn-teaser-card .pn-teaser-card__container__image__container>[slot=illustration]{border-top-left-radius:2.4rem;border-bottom-left-radius:2.4rem;-webkit-clip-path:ellipse(100% 100% at 0% 50%);clip-path:ellipse(100% 100% at 0% 50%)}.fullwidth pn-teaser-card .pn-teaser-card__container__image__container>[slot=illustration]>picture>img{height:100%;-o-object-fit:cover;object-fit:cover}}@media screen and (min-width: 1200px){.fullwidth pn-teaser-card{min-height:52rem}.fullwidth pn-teaser-card .pn-teaser-card__container__content{padding:4rem 4rem 4rem 3.2rem}.fullwidth pn-teaser-card .pn-teaser-card__container__content__text__container>h1{font-weight:700;font-size:4.8rem;line-height:5.28rem}.fullwidth pn-teaser-card .pn-teaser-card__container__content__text__container>p{font-size:2rem;line-height:2.8rem}}@media screen and (min-width: 768px){.fullwidth pn-teaser-card[data-card-alignment=right] .pn-teaser-card__container{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.fullwidth pn-teaser-card[data-card-alignment=right] .pn-teaser-card__container__content{padding:3.2rem 2.4rem 3.2rem 3.2rem}.fullwidth pn-teaser-card[data-card-alignment=right] .pn-teaser-card__container__image__container>[slot=illustration]{border-bottom-right-radius:2.4rem;-webkit-clip-path:ellipse(100% 100% at 100% 50%);clip-path:ellipse(100% 100% at 100% 50%)}}@media screen and (min-width: 1200px){.fullwidth pn-teaser-card[data-card-alignment=right] .pn-teaser-card__container__content{padding:4rem 3.2rem 4rem 4rem}}pn-teaser-card.teaser-card--hover-effect:hover{cursor:pointer}pn-teaser-card.teaser-card--hover-effect:hover .pn-teaser-card__container__image__container [slot=illustration] picture>img{-webkit-transform:scale(1.02);transform:scale(1.02);-webkit-filter:brightness(0.85);filter:brightness(0.85)}pn-teaser-card.teaser-card--hover-effect:hover pn-button button .pn-button-bg,pn-teaser-card.teaser-card--hover-effect:hover pn-button a .pn-button-bg{background-color:#0D234B}";
6777
6831
 
6778
6832
  let PnTeaserCard$1 = class extends HTMLElement {
6779
6833
  constructor() {
@@ -6787,10 +6841,14 @@ let PnTeaserCard$1 = class extends HTMLElement {
6787
6841
  this.dataCardColor = 'coral';
6788
6842
  this.dataCardAlignment = 'left';
6789
6843
  this.labelToCapitals = (_a = this.label) === null || _a === void 0 ? void 0 : _a.toUpperCase();
6844
+ this.hasCtaSlotContent = false;
6845
+ }
6846
+ componentWillLoad() {
6847
+ this.hasCtaSlotContent = !!this.hostElement.querySelector('[slot="cta"]');
6790
6848
  }
6791
6849
  //render
6792
6850
  render() {
6793
- return (h(Host, null, h("slot", { name: "clickable-block-wrapper" }), h("div", { class: "pn-teaser-card__container" }, h("div", { class: "pn-teaser-card__container__image__container" }, h("slot", { name: "illustration" })), h("div", { class: "pn-teaser-card__container__content" }, h("div", { class: "pn-teaser-card__container__content__text__container" }, h("span", { class: "pn-teaser-card__container__content__text__container__label" }, this.labelToCapitals), h("h1", null, this.heading), h("p", null, this.text)), h("div", { class: "pn-teaser-card__container__content__cta" }, h("slot", { name: "cta" }))))));
6851
+ return (h(Host, null, h("slot", { name: "clickable-block-wrapper" }), h("div", { class: "pn-teaser-card__container" }, h("div", { class: "pn-teaser-card__container__image__container" }, h("slot", { name: "illustration" })), h("div", { class: "pn-teaser-card__container__content" }, h("div", { class: "pn-teaser-card__container__content__text__container" }, this.labelToCapitals && h("span", { class: "pn-teaser-card__container__content__text__container__label" }, this.labelToCapitals), h("h1", null, this.heading), h("p", null, this.text)), this.hasCtaSlotContent && (h("div", { class: "pn-teaser-card__container__content__cta" }, h("slot", { name: "cta" })))))));
6794
6852
  }
6795
6853
  get hostElement() { return this; }
6796
6854
  static get style() { return pnTeaserCardCss; }
@@ -6816,6 +6874,7 @@ let PnTiletag = class extends HTMLElement {
6816
6874
 
6817
6875
  const PnBonusProgressbar = /*@__PURE__*/proxyCustomElement(PnBonusProgressbar$1, [4,"pn-bonus-progressbar",{"icon":[1],"heading":[1],"sumtext":[513],"theme":[513],"bonuspercentage":[1],"currency":[513],"value":[1538],"min":[1538],"max":[1538],"valuepercentage":[32],"progresspercentage":[32],"levelValues":[32],"currentLevelAdjustedValue":[32]}]);
6818
6876
  const PnBonusProgressbarLevel = /*@__PURE__*/proxyCustomElement(PnBonusProgressbarLevel$1, [0,"pn-bonus-progressbar-level",{"current":[516],"value":[1538],"bonuspercentage":[1537],"visualpercentage":[1538],"percentage":[32],"max":[32],"min":[32],"currency":[32]}]);
6877
+ const PnBreakpoints = /*@__PURE__*/proxyCustomElement(PnBreakpoints$1, [0,"pn-breakpoints",{"breakPointClass":[1,"break-point-class"],"currentWidth":[32]},[[9,"resize","handleViewportSizeChange"]]]);
6819
6878
  const PnChoiceButton = /*@__PURE__*/proxyCustomElement(PnChoiceButton$1, [4,"pn-choice-button",{"value":[520],"name":[1],"choiceid":[1],"type":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]);
6820
6879
  const PnCustomernumberSelector = /*@__PURE__*/proxyCustomElement(PnCustomernumberSelector$1, [4,"pn-customernumber-selector",{"language":[1537],"open":[1540],"heading":[1],"description":[1],"i18n":[32]}]);
6821
6880
  const PnCustomernumberSelectorOption = /*@__PURE__*/proxyCustomElement(PnProfileSelectorOption$2, [4,"pn-customernumber-selector-option",{"heading":[1],"description":[1],"url":[1]}]);
@@ -6859,6 +6918,7 @@ const PnProxioProductcard = /*@__PURE__*/proxyCustomElement(PnProxioProductcard$
6859
6918
  const PnProxioProductcardDescription = /*@__PURE__*/proxyCustomElement(PnProxioProductcardDescription$1, [0,"pn-proxio-productcard-description",{"heading":[1],"highlight":[1],"description":[1],"list":[1040]}]);
6860
6919
  const PnProxioProductcardInformation = /*@__PURE__*/proxyCustomElement(PnProxioProductcardInformation$1, [0,"pn-proxio-productcard-information",{"label":[1],"information":[16]}]);
6861
6920
  const PnProxioProductcardPricelink = /*@__PURE__*/proxyCustomElement(PnProxioProductcardPricelink$1, [0,"pn-proxio-productcard-pricelink",{"price":[1],"link":[1],"linktext":[1]}]);
6921
+ const PnQuickCta = /*@__PURE__*/proxyCustomElement(PnQuickCta$1, [4,"pn-quick-cta",{"heading":[1],"preamble":[1]}]);
6862
6922
  const PnSidenav = /*@__PURE__*/proxyCustomElement(PnSidenav$1, [4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]);
6863
6923
  const PnSidenavLevel = /*@__PURE__*/proxyCustomElement(PnSidenavLevel$1, [4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]);
6864
6924
  const PnSidenavLink = /*@__PURE__*/proxyCustomElement(PnSidenavLink$1, [4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]);
@@ -6867,15 +6927,17 @@ const PnSiteFooter = /*@__PURE__*/proxyCustomElement(PnSiteFooter$1, [4,"pn-site
6867
6927
  const PnSiteFooterCol = /*@__PURE__*/proxyCustomElement(PnSiteFooterCol$1, [4,"pn-site-footer-col",{"theme":[513]}]);
6868
6928
  const PnSiteSelector = /*@__PURE__*/proxyCustomElement(PnSiteSelector$1, [4,"pn-site-selector",{"buttontext":[1537],"heading":[1537],"language":[1537],"i18n":[32]}]);
6869
6929
  const PnSiteSelectorItem = /*@__PURE__*/proxyCustomElement(PnSiteSelectorItem$1, [0,"pn-site-selector-item",{"url":[1],"heading":[1],"description":[1],"newwindow":[4]}]);
6930
+ const PnSpotlight = /*@__PURE__*/proxyCustomElement(PnSpotlight$1, [4,"pn-spotlight",{"heading":[1],"preamble":[1]}]);
6870
6931
  const PnStatsInfo = /*@__PURE__*/proxyCustomElement(PnStatsInfo$1, [0,"pn-stats-info",{"heading":[1],"dataArray":[1,"data-array"],"backgroundUrl":[1,"background-url"],"myParsedArray":[32]}]);
6871
6932
  const PnStatsInfoData = /*@__PURE__*/proxyCustomElement(PnStatsInfoData$1, [0,"pn-stats-info-data",{"data":[2],"unit":[1],"preamble":[1],"compId":[2,"comp-id"],"duration":[2],"hasBeenShown":[32]}]);
6872
- const PnTeaserCard = /*@__PURE__*/proxyCustomElement(PnTeaserCard$1, [4,"pn-teaser-card",{"text":[1],"heading":[1],"label":[1],"dataCardColor":[513,"data-card-color"],"dataCardAlignment":[513,"data-card-alignment"]}]);
6933
+ const PnTeaserCard = /*@__PURE__*/proxyCustomElement(PnTeaserCard$1, [4,"pn-teaser-card",{"text":[1],"heading":[1],"label":[1],"dataCardColor":[513,"data-card-color"],"dataCardAlignment":[513,"data-card-alignment"],"hasCtaSlotContent":[32]}]);
6873
6934
  const PnTitletag = /*@__PURE__*/proxyCustomElement(PnTiletag, [4,"pn-titletag",{"icon":[1],"color":[1537]}]);
6874
6935
  const defineCustomElements = (opts) => {
6875
6936
  if (typeof customElements !== 'undefined') {
6876
6937
  [
6877
6938
  PnBonusProgressbar,
6878
6939
  PnBonusProgressbarLevel,
6940
+ PnBreakpoints,
6879
6941
  PnChoiceButton,
6880
6942
  PnCustomernumberSelector,
6881
6943
  PnCustomernumberSelectorOption,
@@ -6919,6 +6981,7 @@ const defineCustomElements = (opts) => {
6919
6981
  PnProxioProductcardDescription,
6920
6982
  PnProxioProductcardInformation,
6921
6983
  PnProxioProductcardPricelink,
6984
+ PnQuickCta,
6922
6985
  PnSidenav,
6923
6986
  PnSidenavLevel,
6924
6987
  PnSidenavLink,
@@ -6927,6 +6990,7 @@ const defineCustomElements = (opts) => {
6927
6990
  PnSiteFooterCol,
6928
6991
  PnSiteSelector,
6929
6992
  PnSiteSelectorItem,
6993
+ PnSpotlight,
6930
6994
  PnStatsInfo,
6931
6995
  PnStatsInfoData,
6932
6996
  PnTeaserCard,
@@ -6939,4 +7003,4 @@ const defineCustomElements = (opts) => {
6939
7003
  }
6940
7004
  };
6941
7005
 
6942
- export { PnBonusProgressbar, PnBonusProgressbarLevel, PnChoiceButton, PnCustomernumberSelector, PnCustomernumberSelectorOption, PnFilterCheckbox, PnFindPrice, PnFindPriceResult, PnFindServiceAndPrice, PnFindServiceAndPriceResult, PnLanguageSelector, PnLanguageSelectorOption, PnMainnav, PnMainnavLevel, PnMainnavLink, PnMainnavList, PnMarketwebInput, PnMarketwebSearch, PnMarketwebSitefooter, PnMarketwebSiteheader, PnMarketwebSiteheaderLogin, PnMarketwebSiteheaderLoginLinklist, PnMarketwebSiteheaderLoginLinks, PnMarketwebSiteheaderLoginProfileselection, PnMarketwebSiteheaderSearch, PnPexPricefinder, PnProductCard, PnProductCardInfo, PnProductCardPrice, PnProductPricelist, PnProductPricelistResult, PnProductTile, PnProductTileInfo, PnProductTilePrice, PnProfileModal, PnProfileModalCustomernumber, PnProfileModalProfile, PnProfileModalType, PnProfileSelector, PnProfileSelectorOption, PnProxioPricegroup, PnProxioProductcard, PnProxioProductcardDescription, PnProxioProductcardInformation, PnProxioProductcardPricelink, PnSidenav, PnSidenavLevel, PnSidenavLink, PnSidenavTogglebutton, PnSiteFooter, PnSiteFooterCol, PnSiteSelector, PnSiteSelectorItem, PnStatsInfo, PnStatsInfoData, PnTeaserCard, PnTitletag, defineCustomElements };
7006
+ export { PnBonusProgressbar, PnBonusProgressbarLevel, PnBreakpoints, PnChoiceButton, PnCustomernumberSelector, PnCustomernumberSelectorOption, PnFilterCheckbox, PnFindPrice, PnFindPriceResult, PnFindServiceAndPrice, PnFindServiceAndPriceResult, PnLanguageSelector, PnLanguageSelectorOption, PnMainnav, PnMainnavLevel, PnMainnavLink, PnMainnavList, PnMarketwebInput, PnMarketwebSearch, PnMarketwebSitefooter, PnMarketwebSiteheader, PnMarketwebSiteheaderLogin, PnMarketwebSiteheaderLoginLinklist, PnMarketwebSiteheaderLoginLinks, PnMarketwebSiteheaderLoginProfileselection, PnMarketwebSiteheaderSearch, PnPexPricefinder, PnProductCard, PnProductCardInfo, PnProductCardPrice, PnProductPricelist, PnProductPricelistResult, PnProductTile, PnProductTileInfo, PnProductTilePrice, PnProfileModal, PnProfileModalCustomernumber, PnProfileModalProfile, PnProfileModalType, PnProfileSelector, PnProfileSelectorOption, PnProxioPricegroup, PnProxioProductcard, PnProxioProductcardDescription, PnProxioProductcardInformation, PnProxioProductcardPricelink, PnQuickCta, PnSidenav, PnSidenavLevel, PnSidenavLink, PnSidenavTogglebutton, PnSiteFooter, PnSiteFooterCol, PnSiteSelector, PnSiteSelectorItem, PnSpotlight, PnStatsInfo, PnStatsInfoData, PnTeaserCard, PnTitletag, defineCustomElements };
@@ -138,10 +138,10 @@ class MarketWebLoginManager {
138
138
  }
139
139
  }
140
140
  checkPNTopbar() {
141
- if (this.isLoggedIn() || !window['pnTopbar'] || !window['pnTopbar']['access_token']) {
141
+ if (this.isLoggedIn() || !window['pnTopbar'] || !window['pnTopbar']['session_id']) {
142
142
  return;
143
143
  }
144
- this.store.set(this.keys.token, window['pnTopbar']['access_token']);
144
+ this.store.set(this.keys.token, window['pnTopbar']['session_id']);
145
145
  this.fetchUserInfo();
146
146
  }
147
147
  checkParameters() {