@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
@@ -28,6 +28,9 @@ export namespace Components {
28
28
  "value": number;
29
29
  "visualpercentage": number;
30
30
  }
31
+ interface PnBreakpoints {
32
+ "breakPointClass": string;
33
+ }
31
34
  interface PnChoiceButton {
32
35
  "checked"?: boolean;
33
36
  /**
@@ -499,6 +502,10 @@ export namespace Components {
499
502
  "linktext": string;
500
503
  "price": string;
501
504
  }
505
+ interface PnQuickCta {
506
+ "heading": string;
507
+ "preamble": string;
508
+ }
502
509
  interface PnSidenav {
503
510
  /**
504
511
  * Specifies which language we want to show navigation in (sv,da,fi,no,en)
@@ -568,6 +575,10 @@ export namespace Components {
568
575
  "newwindow": boolean;
569
576
  "url": string;
570
577
  }
578
+ interface PnSpotlight {
579
+ "heading": string;
580
+ "preamble": string;
581
+ }
571
582
  interface PnStatsInfo {
572
583
  "backgroundUrl": string;
573
584
  "dataArray": string;
@@ -611,6 +622,12 @@ declare global {
611
622
  prototype: HTMLPnBonusProgressbarLevelElement;
612
623
  new (): HTMLPnBonusProgressbarLevelElement;
613
624
  };
625
+ interface HTMLPnBreakpointsElement extends Components.PnBreakpoints, HTMLStencilElement {
626
+ }
627
+ var HTMLPnBreakpointsElement: {
628
+ prototype: HTMLPnBreakpointsElement;
629
+ new (): HTMLPnBreakpointsElement;
630
+ };
614
631
  interface HTMLPnChoiceButtonElement extends Components.PnChoiceButton, HTMLStencilElement {
615
632
  }
616
633
  var HTMLPnChoiceButtonElement: {
@@ -869,6 +886,12 @@ declare global {
869
886
  prototype: HTMLPnProxioProductcardPricelinkElement;
870
887
  new (): HTMLPnProxioProductcardPricelinkElement;
871
888
  };
889
+ interface HTMLPnQuickCtaElement extends Components.PnQuickCta, HTMLStencilElement {
890
+ }
891
+ var HTMLPnQuickCtaElement: {
892
+ prototype: HTMLPnQuickCtaElement;
893
+ new (): HTMLPnQuickCtaElement;
894
+ };
872
895
  interface HTMLPnSidenavElement extends Components.PnSidenav, HTMLStencilElement {
873
896
  }
874
897
  var HTMLPnSidenavElement: {
@@ -917,6 +940,12 @@ declare global {
917
940
  prototype: HTMLPnSiteSelectorItemElement;
918
941
  new (): HTMLPnSiteSelectorItemElement;
919
942
  };
943
+ interface HTMLPnSpotlightElement extends Components.PnSpotlight, HTMLStencilElement {
944
+ }
945
+ var HTMLPnSpotlightElement: {
946
+ prototype: HTMLPnSpotlightElement;
947
+ new (): HTMLPnSpotlightElement;
948
+ };
920
949
  interface HTMLPnStatsInfoElement extends Components.PnStatsInfo, HTMLStencilElement {
921
950
  }
922
951
  var HTMLPnStatsInfoElement: {
@@ -944,6 +973,7 @@ declare global {
944
973
  interface HTMLElementTagNameMap {
945
974
  "pn-bonus-progressbar": HTMLPnBonusProgressbarElement;
946
975
  "pn-bonus-progressbar-level": HTMLPnBonusProgressbarLevelElement;
976
+ "pn-breakpoints": HTMLPnBreakpointsElement;
947
977
  "pn-choice-button": HTMLPnChoiceButtonElement;
948
978
  "pn-customernumber-selector": HTMLPnCustomernumberSelectorElement;
949
979
  "pn-customernumber-selector-option": HTMLPnCustomernumberSelectorOptionElement;
@@ -987,6 +1017,7 @@ declare global {
987
1017
  "pn-proxio-productcard-description": HTMLPnProxioProductcardDescriptionElement;
988
1018
  "pn-proxio-productcard-information": HTMLPnProxioProductcardInformationElement;
989
1019
  "pn-proxio-productcard-pricelink": HTMLPnProxioProductcardPricelinkElement;
1020
+ "pn-quick-cta": HTMLPnQuickCtaElement;
990
1021
  "pn-sidenav": HTMLPnSidenavElement;
991
1022
  "pn-sidenav-level": HTMLPnSidenavLevelElement;
992
1023
  "pn-sidenav-link": HTMLPnSidenavLinkElement;
@@ -995,6 +1026,7 @@ declare global {
995
1026
  "pn-site-footer-col": HTMLPnSiteFooterColElement;
996
1027
  "pn-site-selector": HTMLPnSiteSelectorElement;
997
1028
  "pn-site-selector-item": HTMLPnSiteSelectorItemElement;
1029
+ "pn-spotlight": HTMLPnSpotlightElement;
998
1030
  "pn-stats-info": HTMLPnStatsInfoElement;
999
1031
  "pn-stats-info-data": HTMLPnStatsInfoDataElement;
1000
1032
  "pn-teaser-card": HTMLPnTeaserCardElement;
@@ -1019,6 +1051,9 @@ declare namespace LocalJSX {
1019
1051
  "value"?: number;
1020
1052
  "visualpercentage"?: number;
1021
1053
  }
1054
+ interface PnBreakpoints {
1055
+ "breakPointClass"?: string;
1056
+ }
1022
1057
  interface PnChoiceButton {
1023
1058
  "checked"?: boolean;
1024
1059
  /**
@@ -1509,6 +1544,10 @@ declare namespace LocalJSX {
1509
1544
  "linktext"?: string;
1510
1545
  "price"?: string;
1511
1546
  }
1547
+ interface PnQuickCta {
1548
+ "heading"?: string;
1549
+ "preamble"?: string;
1550
+ }
1512
1551
  interface PnSidenav {
1513
1552
  /**
1514
1553
  * Specifies which language we want to show navigation in (sv,da,fi,no,en)
@@ -1578,6 +1617,10 @@ declare namespace LocalJSX {
1578
1617
  "newwindow"?: boolean;
1579
1618
  "url"?: string;
1580
1619
  }
1620
+ interface PnSpotlight {
1621
+ "heading"?: string;
1622
+ "preamble"?: string;
1623
+ }
1581
1624
  interface PnStatsInfo {
1582
1625
  "backgroundUrl"?: string;
1583
1626
  "dataArray"?: string;
@@ -1610,6 +1653,7 @@ declare namespace LocalJSX {
1610
1653
  interface IntrinsicElements {
1611
1654
  "pn-bonus-progressbar": PnBonusProgressbar;
1612
1655
  "pn-bonus-progressbar-level": PnBonusProgressbarLevel;
1656
+ "pn-breakpoints": PnBreakpoints;
1613
1657
  "pn-choice-button": PnChoiceButton;
1614
1658
  "pn-customernumber-selector": PnCustomernumberSelector;
1615
1659
  "pn-customernumber-selector-option": PnCustomernumberSelectorOption;
@@ -1653,6 +1697,7 @@ declare namespace LocalJSX {
1653
1697
  "pn-proxio-productcard-description": PnProxioProductcardDescription;
1654
1698
  "pn-proxio-productcard-information": PnProxioProductcardInformation;
1655
1699
  "pn-proxio-productcard-pricelink": PnProxioProductcardPricelink;
1700
+ "pn-quick-cta": PnQuickCta;
1656
1701
  "pn-sidenav": PnSidenav;
1657
1702
  "pn-sidenav-level": PnSidenavLevel;
1658
1703
  "pn-sidenav-link": PnSidenavLink;
@@ -1661,6 +1706,7 @@ declare namespace LocalJSX {
1661
1706
  "pn-site-footer-col": PnSiteFooterCol;
1662
1707
  "pn-site-selector": PnSiteSelector;
1663
1708
  "pn-site-selector-item": PnSiteSelectorItem;
1709
+ "pn-spotlight": PnSpotlight;
1664
1710
  "pn-stats-info": PnStatsInfo;
1665
1711
  "pn-stats-info-data": PnStatsInfoData;
1666
1712
  "pn-teaser-card": PnTeaserCard;
@@ -1673,6 +1719,7 @@ declare module "@stencil/core" {
1673
1719
  interface IntrinsicElements {
1674
1720
  "pn-bonus-progressbar": LocalJSX.PnBonusProgressbar & JSXBase.HTMLAttributes<HTMLPnBonusProgressbarElement>;
1675
1721
  "pn-bonus-progressbar-level": LocalJSX.PnBonusProgressbarLevel & JSXBase.HTMLAttributes<HTMLPnBonusProgressbarLevelElement>;
1722
+ "pn-breakpoints": LocalJSX.PnBreakpoints & JSXBase.HTMLAttributes<HTMLPnBreakpointsElement>;
1676
1723
  "pn-choice-button": LocalJSX.PnChoiceButton & JSXBase.HTMLAttributes<HTMLPnChoiceButtonElement>;
1677
1724
  "pn-customernumber-selector": LocalJSX.PnCustomernumberSelector & JSXBase.HTMLAttributes<HTMLPnCustomernumberSelectorElement>;
1678
1725
  "pn-customernumber-selector-option": LocalJSX.PnCustomernumberSelectorOption & JSXBase.HTMLAttributes<HTMLPnCustomernumberSelectorOptionElement>;
@@ -1716,6 +1763,7 @@ declare module "@stencil/core" {
1716
1763
  "pn-proxio-productcard-description": LocalJSX.PnProxioProductcardDescription & JSXBase.HTMLAttributes<HTMLPnProxioProductcardDescriptionElement>;
1717
1764
  "pn-proxio-productcard-information": LocalJSX.PnProxioProductcardInformation & JSXBase.HTMLAttributes<HTMLPnProxioProductcardInformationElement>;
1718
1765
  "pn-proxio-productcard-pricelink": LocalJSX.PnProxioProductcardPricelink & JSXBase.HTMLAttributes<HTMLPnProxioProductcardPricelinkElement>;
1766
+ "pn-quick-cta": LocalJSX.PnQuickCta & JSXBase.HTMLAttributes<HTMLPnQuickCtaElement>;
1719
1767
  "pn-sidenav": LocalJSX.PnSidenav & JSXBase.HTMLAttributes<HTMLPnSidenavElement>;
1720
1768
  "pn-sidenav-level": LocalJSX.PnSidenavLevel & JSXBase.HTMLAttributes<HTMLPnSidenavLevelElement>;
1721
1769
  "pn-sidenav-link": LocalJSX.PnSidenavLink & JSXBase.HTMLAttributes<HTMLPnSidenavLinkElement>;
@@ -1724,6 +1772,7 @@ declare module "@stencil/core" {
1724
1772
  "pn-site-footer-col": LocalJSX.PnSiteFooterCol & JSXBase.HTMLAttributes<HTMLPnSiteFooterColElement>;
1725
1773
  "pn-site-selector": LocalJSX.PnSiteSelector & JSXBase.HTMLAttributes<HTMLPnSiteSelectorElement>;
1726
1774
  "pn-site-selector-item": LocalJSX.PnSiteSelectorItem & JSXBase.HTMLAttributes<HTMLPnSiteSelectorItemElement>;
1775
+ "pn-spotlight": LocalJSX.PnSpotlight & JSXBase.HTMLAttributes<HTMLPnSpotlightElement>;
1727
1776
  "pn-stats-info": LocalJSX.PnStatsInfo & JSXBase.HTMLAttributes<HTMLPnStatsInfoElement>;
1728
1777
  "pn-stats-info-data": LocalJSX.PnStatsInfoData & JSXBase.HTMLAttributes<HTMLPnStatsInfoDataElement>;
1729
1778
  "pn-teaser-card": LocalJSX.PnTeaserCard & JSXBase.HTMLAttributes<HTMLPnTeaserCardElement>;
@@ -32,7 +32,7 @@
32
32
 
33
33
  const s = document.createElement('script');
34
34
  const currentScriptTag = document.querySelector('script[src*="pn-marketweb-init.js"]');
35
- const currentScriptSrc = currentScriptTag.getAttribute('src').replace('@latest','@2.0.101');
35
+ const currentScriptSrc = currentScriptTag.getAttribute('src').replace('@latest','@2.0.103');
36
36
  checkParameters(currentScriptSrc);
37
37
  const loaderScriptSrc = currentScriptSrc.replace('pn-marketweb-init.js', 'standalone-loader.js');
38
38
  s.setAttribute("type", "module");
@@ -24,12 +24,12 @@
24
24
 
25
25
  const s = document.createElement('script');
26
26
  s.setAttribute('type', 'module');
27
- s.setAttribute('src', 'https://cdn.jsdelivr.net/npm/@postnord/pn-marketweb-components@2.0.101/umd/standalone-loader-salesforce.js');
27
+ s.setAttribute('src', 'https://cdn.jsdelivr.net/npm/@postnord/pn-marketweb-components@2.0.103/umd/standalone-loader-salesforce.js');
28
28
  document.querySelector('head').appendChild(s);
29
29
 
30
30
  const style = document.createElement('link');
31
31
  style.setAttribute('rel', 'stylesheet');
32
- style.setAttribute('href', 'https://cdn.jsdelivr.net/npm/@postnord/pn-marketweb-components@2.0.101/umd/pn-marketweb-wrongrembase.css');
32
+ style.setAttribute('href', 'https://cdn.jsdelivr.net/npm/@postnord/pn-marketweb-components@2.0.103/umd/pn-marketweb-wrongrembase.css');
33
33
  document.querySelector('head').appendChild(style);
34
34
 
35
35
  window['bindLanguageSelector'] = function () {
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,o){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function s(e){try{c(o.next(e))}catch(t){i(t)}}function a(e){try{c(o["throw"](e))}catch(t){i(t)}}function c(e){e.done?n(e.value):r(e.value).then(s,a)}c((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,r,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(e){return function(t){return c([e,t])}}function c(s){if(o)throw new TypeError("Generator is already executing.");while(n)try{if(o=1,r&&(i=s[0]&2?r["return"]:s[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;if(r=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){n.label=s[1];break}if(s[0]===6&&n.label<i[1]){n.label=i[1];i=s;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(s);break}if(i[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(a){s=[6,a];r=0}finally{o=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register([],(function(e){"use strict";return{execute:function(){var t=function(){function e(e){var t=this;if(e===void 0){e=null}var n;this.eventTarget=window!==null&&window!==void 0?window:document===null||document===void 0?void 0:document.body;this.endpoint="";this.storagePrefix="pn-user";this.baseUrls={at:"https://atportal.postnord.com/api/unified-login/backend",prod:"https://portal.postnord.com/api/unified-login/backend"};this.events={loginstatechange:"loginstatechange"};this.endpoints={authorizationEndpoint:"/authorization",tokenExchangeEndpoint:"/token",userInfoEndpoint:"/user",logoutEndpoint:"/logout"};this.keys={tokensource:"tokensource",token:"token",user:"user",expire:"expire",expireDate:"expiredate"};this.overridetokenValue="overridetokenValue";this.store={get:function(e){var n=window.sessionStorage.getItem("".concat(t.storagePrefix,"-").concat(e));if(!n){return n}if(n.indexOf("{")===0){try{return JSON.parse(n)}catch(o){}}if(n.indexOf(",")!==-1){return n.split(",")}return n},set:function(e,n){if(typeof n==="object"&&typeof n.length==="undefined"){window.sessionStorage.setItem("".concat(t.storagePrefix,"-").concat(e),JSON.stringify(n));return}window.sessionStorage.setItem("".concat(t.storagePrefix,"-").concat(e),n)},remove:function(e){window.sessionStorage.removeItem("".concat(t.storagePrefix,"-").concat(e))}};if(!e){return}this.eventTarget=e.eventTarget?e.eventTarget:this.eventTarget;this.endpoint=e.endpoint?e.endpoint:"".concat(window.location.protocol,"//").concat(window.location.host);(n=this.storagePrefix)!==null&&n!==void 0?n:this.storagePrefix=e.storagePrefix;if(e.userInfo){this.store.set(this.keys.user,e.userInfo);this.registerToken(this.overridetokenValue,"override")}}e.prototype.init=function(e){if(e===void 0){e=true}if(e){this.checkParameters();this.checkPNTopbar();this.checkExpireTime();if(this.store.get(this.keys.token)&&!this.store.get(this.keys.user)){this.fetchUserInfo()}this.loginStateChange()}};e.prototype.isLoggedIn=function(e){if(e===void 0){e=false}if(e){return e}var t=this.store.get(this.keys.token)&&this.store.get(this.keys.user)?true:false;if(!t&&this.store.get(this.keys.token)===this.overridetokenValue){t=true}return t};e.prototype.registerToken=function(e,t){if(e===void 0){e=""}if(t===void 0){t="frontend"}if(!e||e===this.getToken()){return}this.clearUserData();this.store.set(this.keys.tokensource,t);this.store.set(this.keys.token,e);this.fetchUserInfo()};e.prototype.invalidateTokenOfType=function(e){if(e===void 0){e="frontend"}var t=this.store.get(this.keys.token);if(!t){return}var n=this.store.get(this.keys.tokensource);if(n!==e){return}this.clearUserData()};e.prototype.getLoginUrl=function(e){if(e===void 0){e=""}var t=window.location.href;e=e?e:t;return"".concat(this.getBaseUrl()).concat(this.endpoints.authorizationEndpoint,"?redirectionUrl=").concat(e)};e.prototype.getLogoutUrl=function(e){if(e===void 0){e=""}e=window.location.origin+"/logout";return"".concat(e,"?logoutUrl=").concat(this.getBaseUrl()).concat(this.endpoints.logoutEndpoint,"?redirectionUrl=").concat(e,"%26authorization=").concat(this.store.get(this.keys.token))};e.prototype.getUserInfo=function(){if(this.isLoggedIn()){return this.store.get(this.keys.user)}};e.prototype.getEventTarget=function(){return this.eventTarget};e.prototype.checkExpireTime=function(){var e=this.store.get(this.keys.expire);if(!e){return}var t=new Date;var n=new Date(Math.floor(parseInt(e,10)*1e3));if(t>n){console.info("Login time has expired");this.clearUserData();this.loginStateChange()}};e.prototype.checkPNTopbar=function(){if(this.isLoggedIn()||!window["pnTopbar"]||!window["pnTopbar"]["access_token"]){return}this.store.set(this.keys.token,window["pnTopbar"]["access_token"]);this.fetchUserInfo()};e.prototype.checkParameters=function(){if(!(window===null||window===void 0?void 0:window.location)){return}var e=new URLSearchParams(window.location.search);if(e.get("oneTimeCode")){var t=e.get("oneTimeCode");this.exchangeToken(t).then((function(){var e=window.location.href;var n=e.indexOf("?oneTimeCode")!==-1?"?":"&";var o=e.replace("".concat(n,"oneTimeCode=").concat(t),"");history.replaceState({},document.querySelector("title").innerText,o)}))}};e.prototype.fetchUserInfo=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n,o,r,i,s;return __generator(this,(function(a){switch(a.label){case 0:e=this.store.get(this.keys.token);if(this.store.get(this.keys.token)===this.overridetokenValue){console.info("Did not fetch user data since it was set by an override");return[2]}t={method:"GET",headers:{Accept:"application/json","Content-Type":"application/json",Authorization:e}};return[4,fetch("".concat(this.getBaseUrl()).concat(this.endpoints.userInfoEndpoint),t)];case 1:n=a.sent();return[4,n.json()];case 2:o=a.sent();if(o&&o["idToken"]){try{r=o.idToken,i=o.expiryTime;s=this.parseUserInfo(r);if(!s){console.error("Userdata is not valid");this.clearUserData();return[2]}this.store.set(this.keys.user,s);this.store.set(this.keys.expire,i);this.store.set(this.keys.expireDate,new Date(Math.floor(parseInt(i,10)*1e3)));this.loginStateChange()}catch(c){console.error("Unable to get user information",c)}}else{console.error("Unable to get user information. Clearing login state");this.clearUserData()}return[2]}}))}))};e.prototype.clearUserData=function(){this.store.remove(this.keys.user);this.store.remove(this.keys.tokensource);this.store.remove(this.keys.token);this.store.remove(this.keys.expire);this.store.remove(this.keys.expireDate)};e.prototype.getToken=function(){return this.store.get(this.keys.token)};e.prototype.exchangeToken=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(o){switch(o.label){case 0:this.clearUserData();return[4,fetch("".concat(this.getBaseUrl()).concat(this.endpoints.tokenExchangeEndpoint,"?oneTimeCode=").concat(e))];case 1:t=o.sent();return[4,t.json()];case 2:n=o.sent().token;if(typeof n==="string"&&n){this.store.set(this.keys.token,n)}this.fetchUserInfo();return[2]}}))}))};e.prototype.loginStateChange=function(){if(!this.eventTarget){return}this.eventTarget.dispatchEvent(new CustomEvent(this.events.loginstatechange,{detail:this.isLoggedIn()}))};e.prototype.getBaseUrl=function(){var e=this;var t=["localhost","integration.","local."];var n=t.filter((function(t){return e.endpoint.indexOf(t)!==-1})).length>0;if(n){return this.baseUrls.at}return this.baseUrls.prod};e.prototype.parseUserInfo=function(e){if(!e){return null}var t=e.split(".")[1];var n=t.replace(/-/g,"+").replace(/_/g,"/");var o=decodeURIComponent(atob(n).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""));return JSON.parse(o)};return e}();e("M",t)}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-36654f2a.system.js"],(function(n){"use strict";var t,a,e;return{setters:[function(n){t=n.r;a=n.h;e=n.a}],execute:function(){var i=".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}}";var r='[{ "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 }]';var o=n("pn_stats_info",function(){function n(n){t(this,n);this.heading="Heading";this.dataArray=r;this.backgroundUrl=null;this.myParsedArray=JSON.parse(this.dataArray)}n.prototype.parseMyArrayProp=function(n){if(n)this.myParsedArray=JSON.parse(n)};n.prototype.render=function(){return a(e,null,a("div",{class:"pn-stats-info__container"},a("div",{class:"pn-stats-info__container__map",style:{backgroundImage:"url(".concat(this.backgroundUrl,")")}}),a("div",{class:"pn-stats-info__container__content",style:{backgroundImage:"url(".concat(this.backgroundUrl,")")}},a("h3",{class:"pn-stats-info__container__content__heading"},this.heading),a("div",{class:"pn-stats-info__container__content__data"},this.myParsedArray&&this.myParsedArray.map((function(n,t){return a("pn-stats-info-data",{"comp-id":t,data:n.data,unit:n.unit,preamble:n.preamble,duration:n.duration})}))))))};Object.defineProperty(n,"watchers",{get:function(){return{dataArray:["parseMyArrayProp"]}},enumerable:false,configurable:true});return n}());o.style=i}}}));
@@ -1 +0,0 @@
1
- import{r as e,h as t,a as n,g as r}from"./p-58e8d7d5.js";let a=class{constructor(t){var n;e(this,t),this.text=null,this.heading=null,this.label=null,this.dataCardColor="coral",this.dataCardAlignment="left",this.labelToCapitals=null===(n=this.label)||void 0===n?void 0:n.toUpperCase()}render(){return t(n,null,t("slot",{name:"clickable-block-wrapper"}),t("div",{class:"pn-teaser-card__container"},t("div",{class:"pn-teaser-card__container__image__container"},t("slot",{name:"illustration"})),t("div",{class:"pn-teaser-card__container__content"},t("div",{class:"pn-teaser-card__container__content__text__container"},t("span",{class:"pn-teaser-card__container__content__text__container__label"},this.labelToCapitals),t("h1",null,this.heading),t("p",null,this.text)),t("div",{class:"pn-teaser-card__container__content__cta"},t("slot",{name:"cta"})))))}get hostElement(){return r(this)}};a.style="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}";export{a as pn_teaser_card}
@@ -1 +0,0 @@
1
- import{r as n,h as t,a as i}from"./p-58e8d7d5.js";let a=class{constructor(t){n(this,t),this.heading="Heading",this.dataArray='[{ "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 }]',this.backgroundUrl=null,this.myParsedArray=JSON.parse(this.dataArray)}parseMyArrayProp(n){n&&(this.myParsedArray=JSON.parse(n))}render(){return t(i,null,t("div",{class:"pn-stats-info__container"},t("div",{class:"pn-stats-info__container__map",style:{backgroundImage:`url(${this.backgroundUrl})`}}),t("div",{class:"pn-stats-info__container__content",style:{backgroundImage:`url(${this.backgroundUrl})`}},t("h3",{class:"pn-stats-info__container__content__heading"},this.heading),t("div",{class:"pn-stats-info__container__content__data"},this.myParsedArray&&this.myParsedArray.map(((n,i)=>t("pn-stats-info-data",{"comp-id":i,data:n.data,unit:n.unit,preamble:n.preamble,duration:n.duration})))))))}static get watchers(){return{dataArray:["parseMyArrayProp"]}}};a.style=".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}}";export{a as pn_stats_info}
@@ -1 +0,0 @@
1
- System.register(["./p-36654f2a.system.js"],(function(e){"use strict";var t,n,r,a;return{setters:[function(e){t=e.r;n=e.h;r=e.a;a=e.g}],execute:function(){var i="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}";var c=e("pn_teaser_card",function(){function e(e){t(this,e);var n;this.text=null;this.heading=null;this.label=null;this.dataCardColor="coral";this.dataCardAlignment="left";this.labelToCapitals=(n=this.label)===null||n===void 0?void 0:n.toUpperCase()}e.prototype.render=function(){return n(r,null,n("slot",{name:"clickable-block-wrapper"}),n("div",{class:"pn-teaser-card__container"},n("div",{class:"pn-teaser-card__container__image__container"},n("slot",{name:"illustration"})),n("div",{class:"pn-teaser-card__container__content"},n("div",{class:"pn-teaser-card__container__content__text__container"},n("span",{class:"pn-teaser-card__container__content__text__container__label"},this.labelToCapitals),n("h1",null,this.heading),n("p",null,this.text)),n("div",{class:"pn-teaser-card__container__content__cta"},n("slot",{name:"cta"})))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());c.style=i}}}));