@postnord/pn-marketweb-components 2.0.10 → 2.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/{FetchHelper-33d3c535.js → FetchHelper-c6cee722.js} +44 -3
- package/cjs/loader.cjs.js +1 -1
- package/cjs/pn-find-price-result.cjs.entry.js +2 -2
- package/cjs/pn-market-web-components.cjs.js +1 -1
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +1 -1
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +2 -2
- package/cjs/{pn-product-card_3.cjs.entry.js → pn-product-card_4.cjs.entry.js} +19 -1
- package/cjs/pn-product-pricelist-result.cjs.entry.js +2 -2
- package/collection/collection-manifest.json +1 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +3 -2
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +32 -4
- package/collection/components/minor/pn-titletag/pn-titletag.css +19 -0
- package/collection/components/minor/pn-titletag/pn-titletag.js +60 -0
- package/collection/components/minor/pn-titletag/title-tag.stories.js +24 -0
- package/collection/components/widgets/pn-find-price/pn-find-price-result.js +3 -7
- package/collection/components/widgets/pn-product-card/pn-product-card.css +25 -46
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +2 -6
- package/collection/globals/MarketWebContextService.js +44 -3
- package/custom-elements/index.d.ts +6 -0
- package/custom-elements/index.js +72 -11
- package/esm/{FetchHelper-aa15fc6b.js → FetchHelper-1dfe8514.js} +44 -3
- package/esm/loader.js +1 -1
- package/esm/pn-find-price-result.entry.js +2 -2
- package/esm/pn-market-web-components.js +1 -1
- package/esm/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm/pn-marketweb-siteheader.entry.js +2 -2
- package/esm/{pn-product-card_3.entry.js → pn-product-card_4.entry.js} +20 -3
- package/esm/pn-product-pricelist-result.entry.js +2 -2
- package/esm-es5/FetchHelper-1dfe8514.js +1 -0
- package/esm-es5/loader.js +1 -1
- package/esm-es5/pn-find-price-result.entry.js +1 -1
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
- package/esm-es5/pn-product-card_4.entry.js +1 -0
- package/esm-es5/pn-product-pricelist-result.entry.js +1 -1
- package/package.json +1 -1
- package/pn-market-web-components/p-0780aaab.system.entry.js +1 -0
- package/pn-market-web-components/p-17c4004f.entry.js +1 -0
- package/pn-market-web-components/{p-2cdede77.system.entry.js → p-32dce26f.system.entry.js} +1 -1
- package/pn-market-web-components/{p-0351965d.system.entry.js → p-3a4b70d1.system.entry.js} +1 -1
- package/pn-market-web-components/p-6174a610.system.js +1 -0
- package/pn-market-web-components/p-67887512.system.js +1 -1
- package/pn-market-web-components/p-723b9901.system.entry.js +1 -0
- package/pn-market-web-components/p-96491220.entry.js +1 -0
- package/pn-market-web-components/p-99c929aa.system.entry.js +1 -0
- package/pn-market-web-components/p-adfb38e0.entry.js +1 -0
- package/pn-market-web-components/p-ea39d576.entry.js +1 -0
- package/pn-market-web-components/p-f0f58646.js +1 -0
- package/pn-market-web-components/{p-45735570.entry.js → p-f18674eb.entry.js} +1 -1
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/types/components/minor/pn-titletag/pn-titletag.d.ts +8 -0
- package/types/components.d.ts +29 -0
- package/types/globals/MarketWebContextService.d.ts +31 -0
- package/umd/pn-marketweb-salesforce.js +1 -1
- package/umd/standalone-loader-salesforce.js +5 -11
- package/esm-es5/FetchHelper-aa15fc6b.js +0 -1
- package/esm-es5/pn-product-card_3.entry.js +0 -1
- package/pn-market-web-components/p-1ecf47ed.entry.js +0 -1
- package/pn-market-web-components/p-2a624d21.entry.js +0 -1
- package/pn-market-web-components/p-2a695f6f.js +0 -1
- package/pn-market-web-components/p-6f556e76.system.entry.js +0 -1
- package/pn-market-web-components/p-ae775ba5.system.entry.js +0 -1
- package/pn-market-web-components/p-b2840380.entry.js +0 -1
- package/pn-market-web-components/p-c2fada23.entry.js +0 -1
- package/pn-market-web-components/p-d437da74.system.js +0 -1
- package/pn-market-web-components/p-e7f8da0b.system.entry.js +0 -1
|
@@ -44,38 +44,17 @@ pn-product-card [slot=title] h2 > a {
|
|
|
44
44
|
pn-product-card [slot=title] h2 > a::after {
|
|
45
45
|
content: "" !important;
|
|
46
46
|
}
|
|
47
|
-
pn-product-card [slot=title]
|
|
48
|
-
border-radius: 0.4rem;
|
|
49
|
-
height: 2.5em;
|
|
50
|
-
font-weight: normal;
|
|
51
|
-
font-size: 0.75em;
|
|
52
|
-
text-align: center;
|
|
53
|
-
vertical-align: bottom;
|
|
54
|
-
padding: 0.6rem;
|
|
55
|
-
}
|
|
56
|
-
pn-product-card [slot=title] > [slot] pn-icon {
|
|
57
|
-
vertical-align: middle;
|
|
58
|
-
margin-left: 0.6em;
|
|
59
|
-
}
|
|
60
|
-
pn-product-card [slot=title] > [slot=Billigast] {
|
|
61
|
-
color: #005E41;
|
|
62
|
-
background: #DCF6E7;
|
|
63
|
-
}
|
|
64
|
-
pn-product-card [slot=title] > [slot=Snabbast] {
|
|
65
|
-
background: #E0F8FF;
|
|
66
|
-
color: #005D92;
|
|
67
|
-
}
|
|
68
|
-
pn-product-card [slot=note] {
|
|
47
|
+
pn-product-card [slot=title] [slot=note] {
|
|
69
48
|
margin-top: 1em;
|
|
70
49
|
margin-bottom: 1em;
|
|
71
50
|
}
|
|
72
|
-
pn-product-card [slot=additionalUSP] {
|
|
51
|
+
pn-product-card [slot=title] [slot=additionalUSP] {
|
|
73
52
|
display: flex;
|
|
74
53
|
}
|
|
75
|
-
pn-product-card [slot=additionalUSP] :first-child {
|
|
54
|
+
pn-product-card [slot=title] [slot=additionalUSP] :first-child {
|
|
76
55
|
margin-left: 0em;
|
|
77
56
|
}
|
|
78
|
-
pn-product-card [slot=additionalUSP] span {
|
|
57
|
+
pn-product-card [slot=title] [slot=additionalUSP] span {
|
|
79
58
|
margin-left: 1em;
|
|
80
59
|
background: #D3CECB;
|
|
81
60
|
color: #2D2013;
|
|
@@ -85,7 +64,7 @@ pn-product-card [slot=additionalUSP] span {
|
|
|
85
64
|
margin-top: 0.5em;
|
|
86
65
|
font-size: 0.75em;
|
|
87
66
|
}
|
|
88
|
-
pn-product-card > pn-illustration {
|
|
67
|
+
pn-product-card [slot=title] > pn-illustration {
|
|
89
68
|
min-width: 8rem;
|
|
90
69
|
width: 8rem;
|
|
91
70
|
height: 8rem;
|
|
@@ -98,7 +77,7 @@ pn-product-card > pn-illustration {
|
|
|
98
77
|
border-radius: 100%;
|
|
99
78
|
}
|
|
100
79
|
@media screen and (min-width: 36em) {
|
|
101
|
-
pn-product-card > pn-illustration {
|
|
80
|
+
pn-product-card [slot=title] > pn-illustration {
|
|
102
81
|
box-shadow: none;
|
|
103
82
|
top: 1.6rem;
|
|
104
83
|
right: 1.6rem;
|
|
@@ -107,26 +86,26 @@ pn-product-card > pn-illustration {
|
|
|
107
86
|
}
|
|
108
87
|
}
|
|
109
88
|
@media screen and (min-width: 48em) {
|
|
110
|
-
pn-product-card > pn-illustration {
|
|
89
|
+
pn-product-card [slot=title] > pn-illustration {
|
|
111
90
|
position: static;
|
|
112
91
|
top: auto;
|
|
113
92
|
right: auto;
|
|
114
93
|
margin-right: 3rem;
|
|
115
94
|
}
|
|
116
95
|
}
|
|
117
|
-
pn-product-card .cardcontent {
|
|
96
|
+
pn-product-card [slot=title] .cardcontent {
|
|
118
97
|
display: flex;
|
|
119
98
|
flex-direction: column;
|
|
120
99
|
justify-content: center;
|
|
121
100
|
flex-grow: 1;
|
|
122
101
|
}
|
|
123
102
|
@media screen and (min-width: 48em) {
|
|
124
|
-
pn-product-card .cardcontent {
|
|
103
|
+
pn-product-card [slot=title] .cardcontent {
|
|
125
104
|
flex-direction: row;
|
|
126
105
|
gap: 1.6rem;
|
|
127
106
|
}
|
|
128
107
|
}
|
|
129
|
-
pn-product-card [slot=cardprice] {
|
|
108
|
+
pn-product-card [slot=title] [slot=cardprice] {
|
|
130
109
|
display: flex;
|
|
131
110
|
flex-direction: column;
|
|
132
111
|
justify-content: center;
|
|
@@ -134,48 +113,48 @@ pn-product-card [slot=cardprice] {
|
|
|
134
113
|
flex-grow: 1;
|
|
135
114
|
}
|
|
136
115
|
@media screen and (min-width: 36em) {
|
|
137
|
-
pn-product-card [slot=cardprice] {
|
|
116
|
+
pn-product-card [slot=title] [slot=cardprice] {
|
|
138
117
|
flex-direction: row;
|
|
139
118
|
justify-content: space-between;
|
|
140
119
|
}
|
|
141
120
|
}
|
|
142
121
|
@media screen and (min-width: 48em) {
|
|
143
|
-
pn-product-card [slot=cardprice] {
|
|
122
|
+
pn-product-card [slot=title] [slot=cardprice] {
|
|
144
123
|
flex-direction: column;
|
|
145
124
|
justify-content: center;
|
|
146
125
|
align-items: flex-end;
|
|
147
126
|
}
|
|
148
127
|
}
|
|
149
|
-
pn-product-card [slot=mobiledownload] {
|
|
128
|
+
pn-product-card [slot=title] [slot=mobiledownload] {
|
|
150
129
|
margin-top: 1rem;
|
|
151
130
|
white-space: nowrap;
|
|
152
131
|
text-align: center;
|
|
153
132
|
display: flex;
|
|
154
133
|
flex-direction: column;
|
|
155
134
|
}
|
|
156
|
-
pn-product-card [slot=mobiledownload] #riktiga {
|
|
135
|
+
pn-product-card [slot=title] [slot=mobiledownload] #riktiga {
|
|
157
136
|
order: 4;
|
|
158
137
|
margin-top: 1em;
|
|
159
138
|
}
|
|
160
|
-
pn-product-card [slot=mobiledownload] #riktiga > div > a::after {
|
|
139
|
+
pn-product-card [slot=title] [slot=mobiledownload] #riktiga > div > a::after {
|
|
161
140
|
content: "" !important;
|
|
162
141
|
}
|
|
163
|
-
pn-product-card [slot=mobiledownload] .riktigaAndroidImg {
|
|
142
|
+
pn-product-card [slot=title] [slot=mobiledownload] .riktigaAndroidImg {
|
|
164
143
|
width: 6em;
|
|
165
144
|
margin: 0.5em;
|
|
166
145
|
}
|
|
167
|
-
pn-product-card [slot=mobiledownload] .riktigaAppleImg {
|
|
146
|
+
pn-product-card [slot=title] [slot=mobiledownload] .riktigaAppleImg {
|
|
168
147
|
width: 5.6em;
|
|
169
148
|
margin: 0.5em;
|
|
170
149
|
}
|
|
171
|
-
pn-product-card [slot=mobiledownload] a {
|
|
150
|
+
pn-product-card [slot=title] [slot=mobiledownload] a {
|
|
172
151
|
text-decoration: none;
|
|
173
152
|
color: #005D92;
|
|
174
153
|
}
|
|
175
|
-
pn-product-card [slot=mobiledownload] a h3 {
|
|
154
|
+
pn-product-card [slot=title] [slot=mobiledownload] a h3 {
|
|
176
155
|
text-decoration: underline;
|
|
177
156
|
}
|
|
178
|
-
pn-product-card [slot=servicepoint] {
|
|
157
|
+
pn-product-card [slot=title] [slot=servicepoint] {
|
|
179
158
|
flex-direction: column;
|
|
180
159
|
justify-content: center;
|
|
181
160
|
flex-grow: 2;
|
|
@@ -183,32 +162,32 @@ pn-product-card [slot=servicepoint] {
|
|
|
183
162
|
text-align: center;
|
|
184
163
|
}
|
|
185
164
|
@media screen and (min-width: 36em) {
|
|
186
|
-
pn-product-card [slot=servicepoint] {
|
|
165
|
+
pn-product-card [slot=title] [slot=servicepoint] {
|
|
187
166
|
flex-direction: row;
|
|
188
167
|
justify-content: space-between;
|
|
189
168
|
}
|
|
190
169
|
}
|
|
191
170
|
@media screen and (min-width: 48em) {
|
|
192
|
-
pn-product-card [slot=servicepoint] {
|
|
171
|
+
pn-product-card [slot=title] [slot=servicepoint] {
|
|
193
172
|
flex-direction: column;
|
|
194
173
|
justify-content: center;
|
|
195
174
|
align-items: flex-end;
|
|
196
175
|
}
|
|
197
176
|
}
|
|
198
|
-
pn-product-card .details {
|
|
177
|
+
pn-product-card [slot=title] .details {
|
|
199
178
|
display: flex;
|
|
200
179
|
flex-direction: column;
|
|
201
180
|
justify-content: space-between;
|
|
202
181
|
width: 100%;
|
|
203
182
|
}
|
|
204
|
-
pn-product-card .info {
|
|
183
|
+
pn-product-card [slot=title] .info {
|
|
205
184
|
display: flex;
|
|
206
185
|
justify-content: space-between;
|
|
207
186
|
flex-grow: 1;
|
|
208
187
|
flex-flow: wrap;
|
|
209
188
|
padding: 0 1em 0 0;
|
|
210
189
|
}
|
|
211
|
-
pn-product-card .info > * {
|
|
190
|
+
pn-product-card [slot=title] .info > * {
|
|
212
191
|
min-width: 6em;
|
|
213
192
|
margin: 0.5em 1em 0.5em 0;
|
|
214
193
|
}
|
|
@@ -40,12 +40,8 @@ export class PnFindProductPricelistResult {
|
|
|
40
40
|
" "),
|
|
41
41
|
(this.item.highestrankusp) ?
|
|
42
42
|
(this.item.highestrankusp === "Billigast") ?
|
|
43
|
-
(h("
|
|
44
|
-
|
|
45
|
-
h("pn-icon", { symbol: "box-label", small: "false", color: "green700" })))
|
|
46
|
-
: (h("span", { slot: "Snabbast" },
|
|
47
|
-
this.item.highestrankusp,
|
|
48
|
-
h("pn-icon", { symbol: "bolt", small: "false", color: "blue700" }))) : null),
|
|
43
|
+
(h("pn-titletag", { slot: "Billigast", icon: "box-label" }, this.item.highestrankusp))
|
|
44
|
+
: (h("pn-titletag", { slot: "Snabbast", icon: "bolt", color: "blue700" }, this.item.highestrankusp)) : null),
|
|
49
45
|
h("div", { slot: "content" },
|
|
50
46
|
h("div", { class: "content" },
|
|
51
47
|
(this.item.description) ? (h("div", { class: "description" }, this.description.map((desc) => (h("li", null, desc))))) : null,
|
|
@@ -5,28 +5,59 @@ class MarketWebContextService {
|
|
|
5
5
|
this.language = "";
|
|
6
6
|
this.environment = "";
|
|
7
7
|
this.url = null;
|
|
8
|
-
this.allowedLanguages = ["sv", "da", "fi", "no", "en"];
|
|
9
|
-
this.allowedMarkets = ["se", "dk", "fi", "no", "com", "tpl"];
|
|
10
|
-
this.wwwMarkets = ["se", "dk", "fi", "no", "com"];
|
|
8
|
+
this.allowedLanguages = ["sv", "da", "fi", "no", "en", "de"];
|
|
9
|
+
this.allowedMarkets = ["se", "dk", "fi", "no", "com", "de", "tpl"];
|
|
10
|
+
this.wwwMarkets = ["se", "dk", "fi", "no", "de", "com"];
|
|
11
11
|
this.developmentDomains = ["localhost", ".local", "local.", ".dev", "dev."];
|
|
12
12
|
this.markets = {
|
|
13
13
|
"se": {
|
|
14
14
|
fallbackLanguage: "sv",
|
|
15
|
+
integration: 'se-integration.postnord.com',
|
|
16
|
+
preproduction: 'se-preproduction.postnord.com',
|
|
17
|
+
production: 'se-production.postnord.com',
|
|
18
|
+
live: 'www.postnord.se'
|
|
15
19
|
},
|
|
16
20
|
"dk": {
|
|
17
21
|
fallbackLanguage: "da",
|
|
22
|
+
integration: 'dk-integration.postnord.com',
|
|
23
|
+
preproduction: 'dk-preproduction.postnord.com',
|
|
24
|
+
production: 'dk-production.postnord.com',
|
|
25
|
+
live: 'www.postnord.dk'
|
|
18
26
|
},
|
|
19
27
|
"fi": {
|
|
20
28
|
fallbackLanguage: "fi",
|
|
29
|
+
integration: 'fi-integration.postnord.com',
|
|
30
|
+
preproduction: 'fi-preproduction.postnord.com',
|
|
31
|
+
production: 'fi-production.postnord.com',
|
|
32
|
+
live: 'www.postnord.fi'
|
|
21
33
|
},
|
|
22
34
|
"no": {
|
|
23
35
|
fallbackLanguage: "no",
|
|
36
|
+
integration: 'no-integration.postnord.com',
|
|
37
|
+
preproduction: 'no-preproduction.postnord.com',
|
|
38
|
+
production: 'no-production.postnord.com',
|
|
39
|
+
live: 'www.postnord.no'
|
|
24
40
|
},
|
|
25
41
|
"com": {
|
|
26
42
|
fallbackLanguage: "en",
|
|
43
|
+
integration: 'com-integration.postnord.com',
|
|
44
|
+
preproduction: 'com-preproduction.postnord.com',
|
|
45
|
+
production: 'com-production.postnord.com',
|
|
46
|
+
live: 'www.postnord.com'
|
|
47
|
+
},
|
|
48
|
+
"de": {
|
|
49
|
+
fallbackLanguage: "en",
|
|
50
|
+
integration: 'de-integration.postnord.com',
|
|
51
|
+
preproduction: 'de-preproduction.postnord.com',
|
|
52
|
+
production: 'de-production.postnord.com',
|
|
53
|
+
live: 'www.postnord.de'
|
|
27
54
|
},
|
|
28
55
|
"tpl": {
|
|
29
56
|
fallbackLanguage: "sv",
|
|
57
|
+
integration: 'tpl-integration.postnord.com',
|
|
58
|
+
preproduction: 'tpl-preproduction.postnord.com',
|
|
59
|
+
production: 'tpl-production.postnord.com',
|
|
60
|
+
live: 'tpl.postnord.com'
|
|
30
61
|
},
|
|
31
62
|
};
|
|
32
63
|
this.environmentTypes = ["integration", "preproduction", "production"];
|
|
@@ -63,6 +94,16 @@ class MarketWebContextService {
|
|
|
63
94
|
}
|
|
64
95
|
async getEndpoint(environmentName, marketName = "") {
|
|
65
96
|
let url = this.environments.production.url;
|
|
97
|
+
if (this.markets[marketName] && this.markets[marketName][environmentName]) {
|
|
98
|
+
if (environmentName === 'production' && window.location.hostname.indexOf(this.markets[marketName]['live']) === 0) {
|
|
99
|
+
// If the environment is production and we're on the www domain we'll use that
|
|
100
|
+
return `https://` + this.markets[marketName]['live'];
|
|
101
|
+
}
|
|
102
|
+
if (window.location.hostname.indexOf(this.markets[marketName][environmentName]) === 0) {
|
|
103
|
+
return `https://` + this.markets[marketName][environmentName];
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
// Old solution to match URLs. Not bulletproof
|
|
66
107
|
if (this.environments[environmentName]) {
|
|
67
108
|
url = this.environments[environmentName].url;
|
|
68
109
|
if (environmentName === this.environments.production.name) {
|
|
@@ -230,6 +230,12 @@ export const PnSiteSelectorItem: {
|
|
|
230
230
|
new (): PnSiteSelectorItem;
|
|
231
231
|
};
|
|
232
232
|
|
|
233
|
+
interface PnTitletag extends Components.PnTitletag, HTMLElement {}
|
|
234
|
+
export const PnTitletag: {
|
|
235
|
+
prototype: PnTitletag;
|
|
236
|
+
new (): PnTitletag;
|
|
237
|
+
};
|
|
238
|
+
|
|
233
239
|
/**
|
|
234
240
|
* Utility to define all custom elements within this package using the tag name provided in the component's source.
|
|
235
241
|
* When defining each custom element, it will also check it's safe to define by:
|
package/custom-elements/index.js
CHANGED
|
@@ -2524,8 +2524,8 @@ let PnfindPriceResult = class extends HTMLElement {
|
|
|
2524
2524
|
this.weightText = "";
|
|
2525
2525
|
this.linkId = '';
|
|
2526
2526
|
this.usp = {
|
|
2527
|
-
Billigast: h("
|
|
2528
|
-
Snabbast: h("
|
|
2527
|
+
Billigast: h("pn-titletag", { slot: "Billigast", icon: "box-label" }, this.item.highestrankusp),
|
|
2528
|
+
Snabbast: h("pn-titletag", { slot: "Snabbast", icon: "box-label", color: "blue700" }, this.item.highestrankusp)
|
|
2529
2529
|
};
|
|
2530
2530
|
}
|
|
2531
2531
|
componentWillLoad() {
|
|
@@ -3473,28 +3473,59 @@ class MarketWebContextService {
|
|
|
3473
3473
|
this.language = "";
|
|
3474
3474
|
this.environment = "";
|
|
3475
3475
|
this.url = null;
|
|
3476
|
-
this.allowedLanguages = ["sv", "da", "fi", "no", "en"];
|
|
3477
|
-
this.allowedMarkets = ["se", "dk", "fi", "no", "com", "tpl"];
|
|
3478
|
-
this.wwwMarkets = ["se", "dk", "fi", "no", "com"];
|
|
3476
|
+
this.allowedLanguages = ["sv", "da", "fi", "no", "en", "de"];
|
|
3477
|
+
this.allowedMarkets = ["se", "dk", "fi", "no", "com", "de", "tpl"];
|
|
3478
|
+
this.wwwMarkets = ["se", "dk", "fi", "no", "de", "com"];
|
|
3479
3479
|
this.developmentDomains = ["localhost", ".local", "local.", ".dev", "dev."];
|
|
3480
3480
|
this.markets = {
|
|
3481
3481
|
"se": {
|
|
3482
3482
|
fallbackLanguage: "sv",
|
|
3483
|
+
integration: 'se-integration.postnord.com',
|
|
3484
|
+
preproduction: 'se-preproduction.postnord.com',
|
|
3485
|
+
production: 'se-production.postnord.com',
|
|
3486
|
+
live: 'www.postnord.se'
|
|
3483
3487
|
},
|
|
3484
3488
|
"dk": {
|
|
3485
3489
|
fallbackLanguage: "da",
|
|
3490
|
+
integration: 'dk-integration.postnord.com',
|
|
3491
|
+
preproduction: 'dk-preproduction.postnord.com',
|
|
3492
|
+
production: 'dk-production.postnord.com',
|
|
3493
|
+
live: 'www.postnord.dk'
|
|
3486
3494
|
},
|
|
3487
3495
|
"fi": {
|
|
3488
3496
|
fallbackLanguage: "fi",
|
|
3497
|
+
integration: 'fi-integration.postnord.com',
|
|
3498
|
+
preproduction: 'fi-preproduction.postnord.com',
|
|
3499
|
+
production: 'fi-production.postnord.com',
|
|
3500
|
+
live: 'www.postnord.fi'
|
|
3489
3501
|
},
|
|
3490
3502
|
"no": {
|
|
3491
3503
|
fallbackLanguage: "no",
|
|
3504
|
+
integration: 'no-integration.postnord.com',
|
|
3505
|
+
preproduction: 'no-preproduction.postnord.com',
|
|
3506
|
+
production: 'no-production.postnord.com',
|
|
3507
|
+
live: 'www.postnord.no'
|
|
3492
3508
|
},
|
|
3493
3509
|
"com": {
|
|
3494
3510
|
fallbackLanguage: "en",
|
|
3511
|
+
integration: 'com-integration.postnord.com',
|
|
3512
|
+
preproduction: 'com-preproduction.postnord.com',
|
|
3513
|
+
production: 'com-production.postnord.com',
|
|
3514
|
+
live: 'www.postnord.com'
|
|
3515
|
+
},
|
|
3516
|
+
"de": {
|
|
3517
|
+
fallbackLanguage: "en",
|
|
3518
|
+
integration: 'de-integration.postnord.com',
|
|
3519
|
+
preproduction: 'de-preproduction.postnord.com',
|
|
3520
|
+
production: 'de-production.postnord.com',
|
|
3521
|
+
live: 'www.postnord.de'
|
|
3495
3522
|
},
|
|
3496
3523
|
"tpl": {
|
|
3497
3524
|
fallbackLanguage: "sv",
|
|
3525
|
+
integration: 'tpl-integration.postnord.com',
|
|
3526
|
+
preproduction: 'tpl-preproduction.postnord.com',
|
|
3527
|
+
production: 'tpl-production.postnord.com',
|
|
3528
|
+
live: 'tpl.postnord.com'
|
|
3498
3529
|
},
|
|
3499
3530
|
};
|
|
3500
3531
|
this.environmentTypes = ["integration", "preproduction", "production"];
|
|
@@ -3531,6 +3562,16 @@ class MarketWebContextService {
|
|
|
3531
3562
|
}
|
|
3532
3563
|
async getEndpoint(environmentName, marketName = "") {
|
|
3533
3564
|
let url = this.environments.production.url;
|
|
3565
|
+
if (this.markets[marketName] && this.markets[marketName][environmentName]) {
|
|
3566
|
+
if (environmentName === 'production' && window.location.hostname.indexOf(this.markets[marketName]['live']) === 0) {
|
|
3567
|
+
// If the environment is production and we're on the www domain we'll use that
|
|
3568
|
+
return `https://` + this.markets[marketName]['live'];
|
|
3569
|
+
}
|
|
3570
|
+
if (window.location.hostname.indexOf(this.markets[marketName][environmentName]) === 0) {
|
|
3571
|
+
return `https://` + this.markets[marketName][environmentName];
|
|
3572
|
+
}
|
|
3573
|
+
}
|
|
3574
|
+
// Old solution to match URLs. Not bulletproof
|
|
3534
3575
|
if (this.environments[environmentName]) {
|
|
3535
3576
|
url = this.environments[environmentName].url;
|
|
3536
3577
|
if (environmentName === this.environments.production.name) {
|
|
@@ -4426,7 +4467,7 @@ let PnMarketwebSiteheader$1 = class extends HTMLElement {
|
|
|
4426
4467
|
var _a, _b, _c, _d, _e, _f;
|
|
4427
4468
|
return (h(Host, { language: this.language, market: this.market, environment: this.environment }, h("header", null, h("div", { class: "siteheader-row" }, h("div", { class: "siteheader-topleft" }, h("slot", { name: "topleft" }), (this.gotData && this.siteSelector && !this.hideSiteSelector) &&
|
|
4428
4469
|
h("pn-site-selector", { language: this.language, buttontext: (_b = (_a = this.siteSelector) === null || _a === void 0 ? void 0 : _a.currentSiteTitle) !== null && _b !== void 0 ? _b : 'postnord' }, (this.gotData && ((_c = this.siteSelector) === null || _c === void 0 ? void 0 : _c.currentSiteTitle)) &&
|
|
4429
|
-
h("pn-site-selector-item", { heading: this.siteSelector.currentSiteTitle + ' ', description: this.siteSelector.currentSiteDescription }), (this.gotData && ((_d = this.siteSelector) === null || _d === void 0 ? void 0 : _d.siteSelections)) && this.siteSelector.siteSelections.map((site) => h("pn-site-selector-item", { heading: site.linkText + ' ', description: site.linkDescription, url: this.adjustSiteSelectorUrl(site.href), newwindow: site.openInNewWindow })))), h("div", { class: "siteheader-logocontainer" }, h("a", { href: this.homePageLink, title: "Home", class: "siteheader-logolink" }, h("svg", { class: "siteheader-logo", xmlns: "http://www.w3.org/2000/svg", width: "12.7rem", height: "2.4rem", viewBox: "0 0 141.73 26.65" }, h("path", { d: "M108.84,13.35c0,6.34-5.17,9-10,9S89,19.76,89,13.63c0-6.28,5.08-9,10-9S108.84,7.25,108.84,13.35Zm-6.56.18a3.4,3.4,0,1,0-6.8,0,3.29,3.29,0,0,0,3.42,3.41A3.24,3.24,0,0,0,102.28,13.54Zm-83,0c0,4.83-3.32,8.82-8.49,8.82a6.54,6.54,0,0,1-4.65-1.57v5.86H0V5.16H6.17V6.8a6.43,6.43,0,0,1,5.11-2.18C16.41,4.62,19.31,8.58,19.31,13.54Zm-6.53,0A3.27,3.27,0,0,0,9.4,10,3.28,3.28,0,0,0,6,13.54,3.29,3.29,0,0,0,9.4,16.95,3.24,3.24,0,0,0,12.78,13.54Zm103.69,0.27c0-2.54,1.54-3.32,3.6-3.32a6.56,6.56,0,0,1,2.08.3L122.3,5.1a3.92,3.92,0,0,0-1.45-.18c-3.45,0-4.38,2.18-4.38,2.18V5.16H110.3V21.84h6.17v-8ZM141.73,0V21.84h-6.16V20.21a6.43,6.43,0,0,1-5.11,2.18c-5.14,0-8-4-8-8.91s3.32-8.82,8.49-8.82a6.54,6.54,0,0,1,4.65,1.57v-5Zm-6,13.48a3.28,3.28,0,0,0-3.41-3.41A3.24,3.24,0,0,0,129,13.47,3.4,3.4,0,1,0,135.75,13.47ZM81.35,4.62c-3.6,0-4.9,2.18-4.9,2.18V5.16H70.29V21.84h6.16V13.29c0-2.11.79-3.08,2.69-3.08s2.18,1.57,2.18,3.57v8.07h6.22V11.6C87.55,7,85.34,4.62,81.35,4.62ZM64.07,1.42H57.9V21.84h6.16V10.36H67l2.81-5.2H64.07V1.42ZM50.26,11.21c-2-.3-2.87-0.3-2.87-1.09s0.81-.94,2.42-0.94a16.15,16.15,0,0,1,5.11.91L56,5.41a24.56,24.56,0,0,0-6.13-.75c-5.89,0-9,2.27-9,5.89,0,2.81,1.66,4.47,6.53,5.11,2.06,0.27,2.81.39,2.81,1.15s-0.82,1-2.24,1a16.67,16.67,0,0,1-6-1.3L40.77,21.3a22.14,22.14,0,0,0,6.68,1c6.35,0,9.28-2.24,9.28-5.89C56.72,13.54,55.15,12,50.26,11.21ZM40.19,13.35c0,6.34-5.17,9-10,9s-9.82-2.6-9.82-8.73c0-6.28,5.08-9,10-9S40.19,7.25,40.19,13.35Zm-6.56.18a3.4,3.4,0,1,0-6.8,0,3.28,3.28,0,0,0,3.41,3.41A3.24,3.24,0,0,0,33.63,13.54Z", fill: "#00A0D6", transform: "translate(0 0)" })))), h("div", { class: "siteheader-topright" }, h("slot", { name: "toprightstart" }), (this.gotData && this.loginDialog && !this.hideLogin) && (h("pn-marketweb-siteheader-login", { token: this.userToken, fullname: this.userFullname, loggedin: this.userLoggedin, loginDialog: this.loginDialog, endpoint: this.endpoint, i18n: this.i18n })), (this.gotData && this.languageOptions && this.languageOptions.length) && !this.hideLanguageSelector &&
|
|
4470
|
+
h("pn-site-selector-item", { heading: this.siteSelector.currentSiteTitle + ' ', description: this.siteSelector.currentSiteDescription }), (this.gotData && ((_d = this.siteSelector) === null || _d === void 0 ? void 0 : _d.siteSelections)) && this.siteSelector.siteSelections.map((site) => h("pn-site-selector-item", { heading: site.linkText + ' ', description: site.linkDescription, url: this.adjustSiteSelectorUrl(site.href), newwindow: site.openInNewWindow })))), h("div", { class: "siteheader-logocontainer" }, h("a", { href: this.homePageLink, title: "Home", class: "siteheader-logolink" }, h("slot", { name: "logo" }, h("svg", { class: "siteheader-logo", xmlns: "http://www.w3.org/2000/svg", width: "12.7rem", height: "2.4rem", viewBox: "0 0 141.73 26.65" }, h("path", { d: "M108.84,13.35c0,6.34-5.17,9-10,9S89,19.76,89,13.63c0-6.28,5.08-9,10-9S108.84,7.25,108.84,13.35Zm-6.56.18a3.4,3.4,0,1,0-6.8,0,3.29,3.29,0,0,0,3.42,3.41A3.24,3.24,0,0,0,102.28,13.54Zm-83,0c0,4.83-3.32,8.82-8.49,8.82a6.54,6.54,0,0,1-4.65-1.57v5.86H0V5.16H6.17V6.8a6.43,6.43,0,0,1,5.11-2.18C16.41,4.62,19.31,8.58,19.31,13.54Zm-6.53,0A3.27,3.27,0,0,0,9.4,10,3.28,3.28,0,0,0,6,13.54,3.29,3.29,0,0,0,9.4,16.95,3.24,3.24,0,0,0,12.78,13.54Zm103.69,0.27c0-2.54,1.54-3.32,3.6-3.32a6.56,6.56,0,0,1,2.08.3L122.3,5.1a3.92,3.92,0,0,0-1.45-.18c-3.45,0-4.38,2.18-4.38,2.18V5.16H110.3V21.84h6.17v-8ZM141.73,0V21.84h-6.16V20.21a6.43,6.43,0,0,1-5.11,2.18c-5.14,0-8-4-8-8.91s3.32-8.82,8.49-8.82a6.54,6.54,0,0,1,4.65,1.57v-5Zm-6,13.48a3.28,3.28,0,0,0-3.41-3.41A3.24,3.24,0,0,0,129,13.47,3.4,3.4,0,1,0,135.75,13.47ZM81.35,4.62c-3.6,0-4.9,2.18-4.9,2.18V5.16H70.29V21.84h6.16V13.29c0-2.11.79-3.08,2.69-3.08s2.18,1.57,2.18,3.57v8.07h6.22V11.6C87.55,7,85.34,4.62,81.35,4.62ZM64.07,1.42H57.9V21.84h6.16V10.36H67l2.81-5.2H64.07V1.42ZM50.26,11.21c-2-.3-2.87-0.3-2.87-1.09s0.81-.94,2.42-0.94a16.15,16.15,0,0,1,5.11.91L56,5.41a24.56,24.56,0,0,0-6.13-.75c-5.89,0-9,2.27-9,5.89,0,2.81,1.66,4.47,6.53,5.11,2.06,0.27,2.81.39,2.81,1.15s-0.82,1-2.24,1a16.67,16.67,0,0,1-6-1.3L40.77,21.3a22.14,22.14,0,0,0,6.68,1c6.35,0,9.28-2.24,9.28-5.89C56.72,13.54,55.15,12,50.26,11.21ZM40.19,13.35c0,6.34-5.17,9-10,9s-9.82-2.6-9.82-8.73c0-6.28,5.08-9,10-9S40.19,7.25,40.19,13.35Zm-6.56.18a3.4,3.4,0,1,0-6.8,0,3.28,3.28,0,0,0,3.41,3.41A3.24,3.24,0,0,0,33.63,13.54Z", fill: "#00A0D6", transform: "translate(0 0)" }))))), h("div", { class: "siteheader-topright" }, h("slot", { name: "toprightstart" }), (this.gotData && this.loginDialog && !this.hideLogin) && (h("pn-marketweb-siteheader-login", { token: this.userToken, fullname: this.userFullname, loggedin: this.userLoggedin, loginDialog: this.loginDialog, endpoint: this.endpoint, i18n: this.i18n })), (this.gotData && this.languageOptions && this.languageOptions.length) && !this.hideLanguageSelector &&
|
|
4430
4471
|
h("pn-language-selector", { value: this.language }, this.languageOptions.map(language => h("pn-language-selector-option", { name: language.nativeName, code: language.twoLetterISOLanguageName, selected: language.isCurrent, url: this.getLanguageVersionUrl(language) }))), h("slot", { name: "toprightend" }))), h("div", { class: "siteheader-row" }, h("div", { class: "siteheader-menu" }, (this.gotData && this.menuItems) && (h("pn-mainnav", { market: this.market, language: this.language, onMenuOpenChange: (e) => {
|
|
4431
4472
|
document.body.setAttribute("data-siteheader-menuopen", (e.detail + ''));
|
|
4432
4473
|
} }, h("pn-mainnav-level", null, h("pn-mainnav-list", null, this.menuItems.map((item) => {
|
|
@@ -4824,7 +4865,7 @@ let PnPexPricefinder$1 = class extends HTMLElement {
|
|
|
4824
4865
|
static get style() { return pnPexPricefinderCss; }
|
|
4825
4866
|
};
|
|
4826
4867
|
|
|
4827
|
-
const pnProductCardCss = "pn-product-card{border:0.1rem solid #D3CECB;outline:none;background:#FFFFFF;-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);display:-ms-flexbox;display:flex;word-break:break-word;text-decoration:none;border-radius:0.8rem;position:relative;padding:11rem 2.4rem 2.4rem;margin-bottom:1.6rem}@media screen and (min-width: 36em){pn-product-card{padding:2.4rem}}pn-product-card [slot=title]{display:-ms-flexbox;display:flex;width:100%;margin-bottom:0.8rem;gap:1.6rem;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}@media screen and (min-width: 36em){pn-product-card [slot=title]{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:inherit;align-items:inherit}}pn-product-card [slot=title] h2{width:100%}@media screen and (min-width: 36em){pn-product-card [slot=title] h2{width:auto}}pn-product-card [slot=title] h2>a{color:#000000}pn-product-card [slot=title] h2>a::after{content:\"\" !important}pn-product-card [slot=title]
|
|
4868
|
+
const pnProductCardCss = "pn-product-card{border:0.1rem solid #D3CECB;outline:none;background:#FFFFFF;-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);display:-ms-flexbox;display:flex;word-break:break-word;text-decoration:none;border-radius:0.8rem;position:relative;padding:11rem 2.4rem 2.4rem;margin-bottom:1.6rem}@media screen and (min-width: 36em){pn-product-card{padding:2.4rem}}pn-product-card [slot=title]{display:-ms-flexbox;display:flex;width:100%;margin-bottom:0.8rem;gap:1.6rem;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}@media screen and (min-width: 36em){pn-product-card [slot=title]{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:inherit;align-items:inherit}}pn-product-card [slot=title] h2{width:100%}@media screen and (min-width: 36em){pn-product-card [slot=title] h2{width:auto}}pn-product-card [slot=title] h2>a{color:#000000}pn-product-card [slot=title] h2>a::after{content:\"\" !important}pn-product-card [slot=title] [slot=note]{margin-top:1em;margin-bottom:1em}pn-product-card [slot=title] [slot=additionalUSP]{display:-ms-flexbox;display:flex}pn-product-card [slot=title] [slot=additionalUSP] :first-child{margin-left:0em}pn-product-card [slot=title] [slot=additionalUSP] span{margin-left:1em;background:#D3CECB;color:#2D2013;border-radius:0.25em;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0.3em;margin-top:0.5em;font-size:0.75em}pn-product-card [slot=title]>pn-illustration{min-width:8rem;width:8rem;height:8rem;-ms-flex-item-align:center;align-self:center;position:absolute;top:1.6rem;-webkit-transform:translateX(-50%);transform:translateX(-50%);left:50%;-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);border-radius:100%}@media screen and (min-width: 36em){pn-product-card [slot=title]>pn-illustration{-webkit-box-shadow:none;box-shadow:none;top:1.6rem;right:1.6rem;left:auto;-webkit-transform:none;transform:none}}@media screen and (min-width: 48em){pn-product-card [slot=title]>pn-illustration{position:static;top:auto;right:auto;margin-right:3rem}}pn-product-card [slot=title] .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 48em){pn-product-card [slot=title] .cardcontent{-ms-flex-direction:row;flex-direction:row;gap:1.6rem}}pn-product-card [slot=title] [slot=cardprice]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding:0.6em;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 36em){pn-product-card [slot=title] [slot=cardprice]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=title] [slot=cardprice]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card [slot=title] [slot=mobiledownload]{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card [slot=title] [slot=mobiledownload] #riktiga{-ms-flex-order:4;order:4;margin-top:1em}pn-product-card [slot=title] [slot=mobiledownload] #riktiga>div>a::after{content:\"\" !important}pn-product-card [slot=title] [slot=mobiledownload] .riktigaAndroidImg{width:6em;margin:0.5em}pn-product-card [slot=title] [slot=mobiledownload] .riktigaAppleImg{width:5.6em;margin:0.5em}pn-product-card [slot=title] [slot=mobiledownload] a{text-decoration:none;color:#005D92}pn-product-card [slot=title] [slot=mobiledownload] a h3{text-decoration:underline}pn-product-card [slot=title] [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:2;flex-grow:2;-ms-flex-align:end;align-items:flex-end;text-align:center}@media screen and (min-width: 36em){pn-product-card [slot=title] [slot=servicepoint]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=title] [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card [slot=title] .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:100%}pn-product-card [slot=title] .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;-ms-flex-flow:wrap;flex-flow:wrap;padding:0 1em 0 0}pn-product-card [slot=title] .info>*{min-width:6em;margin:0.5em 1em 0.5em 0}";
|
|
4828
4869
|
|
|
4829
4870
|
let PnProductCard$1 = class extends HTMLElement {
|
|
4830
4871
|
constructor() {
|
|
@@ -5155,8 +5196,8 @@ let PnFindProductPricelistResult = class extends HTMLElement {
|
|
|
5155
5196
|
render() {
|
|
5156
5197
|
return (h(Host, null, this.shownitems.map((item) => (h("pn-product-card", { "data-productid": item.id }, h("pn-illustration", { slot: "illustration", illustration: this.item.illustration }), h("div", { slot: "title" }, h("h2", null, item.name, " "), (this.item.highestrankusp) ?
|
|
5157
5198
|
(this.item.highestrankusp === "Billigast") ?
|
|
5158
|
-
(h("
|
|
5159
|
-
: (h("
|
|
5199
|
+
(h("pn-titletag", { slot: "Billigast", icon: "box-label" }, this.item.highestrankusp))
|
|
5200
|
+
: (h("pn-titletag", { slot: "Snabbast", icon: "bolt", color: "blue700" }, this.item.highestrankusp)) : null), h("div", { slot: "content" }, h("div", { class: "content" }, (this.item.description) ? (h("div", { class: "description" }, this.description.map((desc) => (h("li", null, desc))))) : null, (this.item.info) ? (h("div", { class: "description" }, this.item.info)) : null)), this.item.note ? (h("small", { slot: "note" }, h("p", null, this.item.note))) : null, this.item.additionalusp ? (h("div", { slot: "additionalUSP" })) : null, this.showMeasurement ? (h("pn-product-card-info", { paket: this.item.maxmått, rulle: this.item.rulle })) : null, h("div", { slot: "cardprice" }, this.item.pricesenddirect ? (h("pn-product-card-price", { slot: "sendDirectPrice", label: state$1.i18n.senddirectcta, amount: this.item.pricesenddirect + '', currency: state$1.market.currency, url: sendDirectUrl, service: this.item.name + "-portal" })) : null, this.item.pricestamps ? (h("pn-product-card-price", { slot: "stampPrice", label: state$1.i18n.stampshopcta, amount: this.item.pricestamps + '', currency: state$1.market.currency, url: stampShopUrl, service: this.item.name + "-eshop" })) : null))
|
|
5160
5201
|
// <pn-product-tile>
|
|
5161
5202
|
// <pn-illustration slot="illustration" illustration={ item.illustration }></pn-illustration>
|
|
5162
5203
|
// <div slot="content">
|
|
@@ -5582,6 +5623,24 @@ let PnSiteSelectorItem$1 = class extends HTMLElement {
|
|
|
5582
5623
|
static get style() { return pnSiteSelectorItemCss; }
|
|
5583
5624
|
};
|
|
5584
5625
|
|
|
5626
|
+
const pnTitletagCss = "pn-titletag{display:-ms-inline-flexbox;display:inline-flex;border-radius:0.4rem;height:2.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding:0.6rem;gap:0.6em}pn-titletag[color=green700]{color:#005E41;background:#DCF6E7}pn-titletag[color=blue700]{background:#E0F8FF;color:#005D92}";
|
|
5627
|
+
|
|
5628
|
+
let PnTiletag = class extends HTMLElement {
|
|
5629
|
+
constructor() {
|
|
5630
|
+
super();
|
|
5631
|
+
this.__registerHost();
|
|
5632
|
+
/** Icon of the tag */
|
|
5633
|
+
this.icon = null;
|
|
5634
|
+
/** Icon of the tag */
|
|
5635
|
+
this.color = "green700";
|
|
5636
|
+
}
|
|
5637
|
+
render() {
|
|
5638
|
+
return (h(Host, null, h("slot", null), this.icon ? (h("pn-icon", { symbol: this.icon, small: "false", color: this.color })) : null));
|
|
5639
|
+
}
|
|
5640
|
+
get hostElement() { return this; }
|
|
5641
|
+
static get style() { return pnTitletagCss; }
|
|
5642
|
+
};
|
|
5643
|
+
|
|
5585
5644
|
const PnBonusProgressbar = /*@__PURE__*/proxyCustomElement(PnBonusProgressbar$1, [4,"pn-bonus-progressbar",{"icon":[1],"heading":[1],"theme":[513],"bonuspercentage":[1],"currency":[513],"value":[1538],"min":[1538],"max":[1538],"valuepercentage":[32],"progresspercentage":[32],"levelValues":[32],"currentLevelAdjustedValue":[32]}]);
|
|
5586
5645
|
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]}]);
|
|
5587
5646
|
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"]]]);
|
|
@@ -5620,6 +5679,7 @@ const PnSiteFooter = /*@__PURE__*/proxyCustomElement(PnSiteFooter$1, [4,"pn-site
|
|
|
5620
5679
|
const PnSiteFooterCol = /*@__PURE__*/proxyCustomElement(PnSiteFooterCol$1, [4,"pn-site-footer-col"]);
|
|
5621
5680
|
const PnSiteSelector = /*@__PURE__*/proxyCustomElement(PnSiteSelector$1, [4,"pn-site-selector",{"buttontext":[1537],"heading":[1537],"language":[1537],"i18n":[32]}]);
|
|
5622
5681
|
const PnSiteSelectorItem = /*@__PURE__*/proxyCustomElement(PnSiteSelectorItem$1, [0,"pn-site-selector-item",{"url":[1],"heading":[1],"description":[1],"newwindow":[4]}]);
|
|
5682
|
+
const PnTitletag = /*@__PURE__*/proxyCustomElement(PnTiletag, [4,"pn-titletag",{"icon":[1],"color":[1537]}]);
|
|
5623
5683
|
const defineCustomElements = (opts) => {
|
|
5624
5684
|
if (typeof customElements !== 'undefined') {
|
|
5625
5685
|
[
|
|
@@ -5660,7 +5720,8 @@ const defineCustomElements = (opts) => {
|
|
|
5660
5720
|
PnSiteFooter,
|
|
5661
5721
|
PnSiteFooterCol,
|
|
5662
5722
|
PnSiteSelector,
|
|
5663
|
-
PnSiteSelectorItem
|
|
5723
|
+
PnSiteSelectorItem,
|
|
5724
|
+
PnTitletag
|
|
5664
5725
|
].forEach(cmp => {
|
|
5665
5726
|
if (!customElements.get(cmp.is)) {
|
|
5666
5727
|
customElements.define(cmp.is, cmp, opts);
|
|
@@ -5669,4 +5730,4 @@ const defineCustomElements = (opts) => {
|
|
|
5669
5730
|
}
|
|
5670
5731
|
};
|
|
5671
5732
|
|
|
5672
|
-
export { PnBonusProgressbar, PnBonusProgressbarLevel, PnChoiceButton, PnFilterCheckbox, PnFindPrice, PnFindPriceResult, PnFindServiceAndPrice, PnFindServiceAndPriceResult, PnLanguageSelector, PnLanguageSelectorOption, PnMainnav, PnMainnavLevel, PnMainnavLink, PnMainnavList, PnMarketwebInput, PnMarketwebSearch, PnMarketwebSitefooter, PnMarketwebSiteheader, PnMarketwebSiteheaderLogin, PnMarketwebSiteheaderSearch, PnPexPricefinder, PnProductCard, PnProductCardInfo, PnProductCardPrice, PnProductPricelist, PnProductPricelistResult, PnProductTile, PnProductTileInfo, PnProductTilePrice, PnProfileSelector, PnProfileSelectorOption, PnSidenav, PnSidenavLevel, PnSidenavLink, PnSiteFooter, PnSiteFooterCol, PnSiteSelector, PnSiteSelectorItem, defineCustomElements };
|
|
5733
|
+
export { PnBonusProgressbar, PnBonusProgressbarLevel, PnChoiceButton, PnFilterCheckbox, PnFindPrice, PnFindPriceResult, PnFindServiceAndPrice, PnFindServiceAndPriceResult, PnLanguageSelector, PnLanguageSelectorOption, PnMainnav, PnMainnavLevel, PnMainnavLink, PnMainnavList, PnMarketwebInput, PnMarketwebSearch, PnMarketwebSitefooter, PnMarketwebSiteheader, PnMarketwebSiteheaderLogin, PnMarketwebSiteheaderSearch, PnPexPricefinder, PnProductCard, PnProductCardInfo, PnProductCardPrice, PnProductPricelist, PnProductPricelistResult, PnProductTile, PnProductTileInfo, PnProductTilePrice, PnProfileSelector, PnProfileSelectorOption, PnSidenav, PnSidenavLevel, PnSidenavLink, PnSiteFooter, PnSiteFooterCol, PnSiteSelector, PnSiteSelectorItem, PnTitletag, defineCustomElements };
|
|
@@ -5,28 +5,59 @@ class MarketWebContextService {
|
|
|
5
5
|
this.language = "";
|
|
6
6
|
this.environment = "";
|
|
7
7
|
this.url = null;
|
|
8
|
-
this.allowedLanguages = ["sv", "da", "fi", "no", "en"];
|
|
9
|
-
this.allowedMarkets = ["se", "dk", "fi", "no", "com", "tpl"];
|
|
10
|
-
this.wwwMarkets = ["se", "dk", "fi", "no", "com"];
|
|
8
|
+
this.allowedLanguages = ["sv", "da", "fi", "no", "en", "de"];
|
|
9
|
+
this.allowedMarkets = ["se", "dk", "fi", "no", "com", "de", "tpl"];
|
|
10
|
+
this.wwwMarkets = ["se", "dk", "fi", "no", "de", "com"];
|
|
11
11
|
this.developmentDomains = ["localhost", ".local", "local.", ".dev", "dev."];
|
|
12
12
|
this.markets = {
|
|
13
13
|
"se": {
|
|
14
14
|
fallbackLanguage: "sv",
|
|
15
|
+
integration: 'se-integration.postnord.com',
|
|
16
|
+
preproduction: 'se-preproduction.postnord.com',
|
|
17
|
+
production: 'se-production.postnord.com',
|
|
18
|
+
live: 'www.postnord.se'
|
|
15
19
|
},
|
|
16
20
|
"dk": {
|
|
17
21
|
fallbackLanguage: "da",
|
|
22
|
+
integration: 'dk-integration.postnord.com',
|
|
23
|
+
preproduction: 'dk-preproduction.postnord.com',
|
|
24
|
+
production: 'dk-production.postnord.com',
|
|
25
|
+
live: 'www.postnord.dk'
|
|
18
26
|
},
|
|
19
27
|
"fi": {
|
|
20
28
|
fallbackLanguage: "fi",
|
|
29
|
+
integration: 'fi-integration.postnord.com',
|
|
30
|
+
preproduction: 'fi-preproduction.postnord.com',
|
|
31
|
+
production: 'fi-production.postnord.com',
|
|
32
|
+
live: 'www.postnord.fi'
|
|
21
33
|
},
|
|
22
34
|
"no": {
|
|
23
35
|
fallbackLanguage: "no",
|
|
36
|
+
integration: 'no-integration.postnord.com',
|
|
37
|
+
preproduction: 'no-preproduction.postnord.com',
|
|
38
|
+
production: 'no-production.postnord.com',
|
|
39
|
+
live: 'www.postnord.no'
|
|
24
40
|
},
|
|
25
41
|
"com": {
|
|
26
42
|
fallbackLanguage: "en",
|
|
43
|
+
integration: 'com-integration.postnord.com',
|
|
44
|
+
preproduction: 'com-preproduction.postnord.com',
|
|
45
|
+
production: 'com-production.postnord.com',
|
|
46
|
+
live: 'www.postnord.com'
|
|
47
|
+
},
|
|
48
|
+
"de": {
|
|
49
|
+
fallbackLanguage: "en",
|
|
50
|
+
integration: 'de-integration.postnord.com',
|
|
51
|
+
preproduction: 'de-preproduction.postnord.com',
|
|
52
|
+
production: 'de-production.postnord.com',
|
|
53
|
+
live: 'www.postnord.de'
|
|
27
54
|
},
|
|
28
55
|
"tpl": {
|
|
29
56
|
fallbackLanguage: "sv",
|
|
57
|
+
integration: 'tpl-integration.postnord.com',
|
|
58
|
+
preproduction: 'tpl-preproduction.postnord.com',
|
|
59
|
+
production: 'tpl-production.postnord.com',
|
|
60
|
+
live: 'tpl.postnord.com'
|
|
30
61
|
},
|
|
31
62
|
};
|
|
32
63
|
this.environmentTypes = ["integration", "preproduction", "production"];
|
|
@@ -63,6 +94,16 @@ class MarketWebContextService {
|
|
|
63
94
|
}
|
|
64
95
|
async getEndpoint(environmentName, marketName = "") {
|
|
65
96
|
let url = this.environments.production.url;
|
|
97
|
+
if (this.markets[marketName] && this.markets[marketName][environmentName]) {
|
|
98
|
+
if (environmentName === 'production' && window.location.hostname.indexOf(this.markets[marketName]['live']) === 0) {
|
|
99
|
+
// If the environment is production and we're on the www domain we'll use that
|
|
100
|
+
return `https://` + this.markets[marketName]['live'];
|
|
101
|
+
}
|
|
102
|
+
if (window.location.hostname.indexOf(this.markets[marketName][environmentName]) === 0) {
|
|
103
|
+
return `https://` + this.markets[marketName][environmentName];
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
// Old solution to match URLs. Not bulletproof
|
|
66
107
|
if (this.environments[environmentName]) {
|
|
67
108
|
url = this.environments[environmentName].url;
|
|
68
109
|
if (environmentName === this.environments.production.name) {
|
package/esm/loader.js
CHANGED
|
@@ -10,7 +10,7 @@ const patchEsm = () => {
|
|
|
10
10
|
const defineCustomElements = (win, options) => {
|
|
11
11
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
12
|
return patchEsm().then(() => {
|
|
13
|
-
return bootstrapLazy([["pn-marketweb-siteheader",[[4,"pn-marketweb-siteheader",{"market":[1537],"language":[1537],"environment":[1537],"userToken":[1,"user-token"],"userFullname":[1,"user-fullname"],"userLoggedin":[4,"user-loggedin"],"endpoint":[1],"hideSiteSelector":[1540,"hide-site-selector"],"hideLanguageSelector":[1540,"hide-language-selector"],"hideSearch":[1540,"hide-search"],"hideLogin":[1540,"hide-login"],"AutocompleteEndpoint":[1,"autocomplete-endpoint"],"sessionForward":[4,"session-forward"],"cache":[4],"spaMode":[4,"spa-mode"],"i18n":[32],"gotData":[32],"fetchingData":[32],"homePageLink":[32],"menuItems":[32],"siteDefinition":[32],"search":[32],"siteSelector":[32],"languageSelector":[32],"languageOptions":[32],"loginDialog":[32],"minimizeSearch":[32],"loggedIn":[32],"loginManager":[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["pn-find-price",[[0,"pn-find-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sourceData":[32],"sizecategory":[32]}]]],["pn-find-service-and-price",[[0,"pn-find-service-and-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"postagetype":[32],"weight":[32],"weightvalue":[32],"deliveryscope":[32],"sourceData":[32]}]]],["pn-product-pricelist",[[4,"pn-product-pricelist",{"source":[1],"language":[1025],"market":[1025],"productid":[1],"filteredItems":[32],"sourceData":[32],"gotData":[32],"loading":[32],"postagetype":[32],"weight":[32],"weightvalue":[32]}]]],["pn-product-pricelist-result",[[0,"pn-product-pricelist-result",{"item":[1040],"description":[16],"shownitems":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32]}]]],["pn-marketweb-sitefooter",[[0,"pn-marketweb-sitefooter",{"market":[1537],"language":[1537],"environment":[1537],"endpoint":[1],"cache":[4],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[32]}]]],["pn-bonus-progressbar",[[4,"pn-bonus-progressbar",{"icon":[1],"heading":[1],"theme":[513],"bonuspercentage":[1],"currency":[513],"value":[1538],"min":[1538],"max":[1538],"valuepercentage":[32],"progresspercentage":[32],"levelValues":[32],"currentLevelAdjustedValue":[32]}]]],["pn-pex-pricefinder",[[0,"pn-pex-pricefinder",{"language":[1],"currency":[1],"apiUrl":[1,"api-url"],"i18n":[32],"fromzip":[32],"tozip":[32],"weight":[32],"when":[32],"response":[32]},[[0,"language","setLanguage"]]]]],["pn-filter-checkbox",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-marketweb-search",[[1,"pn-marketweb-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"list":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4],"suggestionObserver":[32],"hasClonedInput":[32],"listSuggestion":[32]},[[0,"input","inputHandler"]]]]],["pn-product-tile",[[4,"pn-product-tile"]]],["pn-profile-selector",[[4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["pn-profile-selector-option",[[0,"pn-profile-selector-option",{"name":[1],"identifier":[1],"url":[1]}]]],["pn-sidenav",[[4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["pn-sidenav-level",[[4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]]],["pn-sidenav-link",[[4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-product-
|
|
13
|
+
return bootstrapLazy([["pn-marketweb-siteheader",[[4,"pn-marketweb-siteheader",{"market":[1537],"language":[1537],"environment":[1537],"userToken":[1,"user-token"],"userFullname":[1,"user-fullname"],"userLoggedin":[4,"user-loggedin"],"endpoint":[1],"hideSiteSelector":[1540,"hide-site-selector"],"hideLanguageSelector":[1540,"hide-language-selector"],"hideSearch":[1540,"hide-search"],"hideLogin":[1540,"hide-login"],"AutocompleteEndpoint":[1,"autocomplete-endpoint"],"sessionForward":[4,"session-forward"],"cache":[4],"spaMode":[4,"spa-mode"],"i18n":[32],"gotData":[32],"fetchingData":[32],"homePageLink":[32],"menuItems":[32],"siteDefinition":[32],"search":[32],"siteSelector":[32],"languageSelector":[32],"languageOptions":[32],"loginDialog":[32],"minimizeSearch":[32],"loggedIn":[32],"loginManager":[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["pn-find-price",[[0,"pn-find-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sourceData":[32],"sizecategory":[32]}]]],["pn-find-service-and-price",[[0,"pn-find-service-and-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"postagetype":[32],"weight":[32],"weightvalue":[32],"deliveryscope":[32],"sourceData":[32]}]]],["pn-product-pricelist",[[4,"pn-product-pricelist",{"source":[1],"language":[1025],"market":[1025],"productid":[1],"filteredItems":[32],"sourceData":[32],"gotData":[32],"loading":[32],"postagetype":[32],"weight":[32],"weightvalue":[32]}]]],["pn-product-pricelist-result",[[0,"pn-product-pricelist-result",{"item":[1040],"description":[16],"shownitems":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32]}]]],["pn-marketweb-sitefooter",[[0,"pn-marketweb-sitefooter",{"market":[1537],"language":[1537],"environment":[1537],"endpoint":[1],"cache":[4],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[32]}]]],["pn-bonus-progressbar",[[4,"pn-bonus-progressbar",{"icon":[1],"heading":[1],"theme":[513],"bonuspercentage":[1],"currency":[513],"value":[1538],"min":[1538],"max":[1538],"valuepercentage":[32],"progresspercentage":[32],"levelValues":[32],"currentLevelAdjustedValue":[32]}]]],["pn-pex-pricefinder",[[0,"pn-pex-pricefinder",{"language":[1],"currency":[1],"apiUrl":[1,"api-url"],"i18n":[32],"fromzip":[32],"tozip":[32],"weight":[32],"when":[32],"response":[32]},[[0,"language","setLanguage"]]]]],["pn-filter-checkbox",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-marketweb-search",[[1,"pn-marketweb-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"list":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4],"suggestionObserver":[32],"hasClonedInput":[32],"listSuggestion":[32]},[[0,"input","inputHandler"]]]]],["pn-product-tile",[[4,"pn-product-tile"]]],["pn-profile-selector",[[4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["pn-profile-selector-option",[[0,"pn-profile-selector-option",{"name":[1],"identifier":[1],"url":[1]}]]],["pn-sidenav",[[4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["pn-sidenav-level",[[4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]]],["pn-sidenav-link",[[4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-product-card_4",[[0,"pn-product-card-info",{"rulle":[1],"paket":[1],"label":[1],"text":[1]}],[0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1],"service":[1],"linkid":[1]}],[4,"pn-titletag",{"icon":[1],"color":[1537]}],[4,"pn-product-card"]]],["pn-find-service-and-price-result",[[0,"pn-find-service-and-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-bonus-progressbar-level",[[0,"pn-bonus-progressbar-level",{"current":[516],"value":[1538],"bonuspercentage":[1537],"visualpercentage":[1538],"percentage":[32],"max":[32],"min":[32],"currency":[32]}]]],["pn-marketweb-input",[[0,"pn-marketweb-input",{"disabled":[4],"error":[1],"invalid":[4],"helpertext":[1],"label":[1],"placeholder":[1],"inputid":[1],"name":[1],"required":[4],"type":[1025],"autocomplete":[1],"valid":[4],"value":[1],"maxlength":[1],"min":[1],"max":[1],"step":[1],"pattern":[1],"showText":[32]}]]],["pn-find-price-result",[[0,"pn-find-price-result",{"item":[1040],"shownitems":[16],"Usp1":[1,"usp-1"],"Usp2":[1,"usp-2"],"Usp3":[1,"usp-3"],"description":[16],"showMeasurement":[4,"show-measurement"],"usp":[16],"weightText":[32],"linkId":[32]}]]],["pn-site-footer_2",[[4,"pn-site-footer",{"url":[1],"linktitle":[1]}],[4,"pn-site-footer-col"]]],["pn-choice-button",[[4,"pn-choice-button",{"value":[520],"name":[1],"choiceid":[1],"type":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-mainnav-link",[[4,"pn-mainnav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-product-tile-info_2",[[0,"pn-product-tile-info",{"label":[1],"text":[1],"icon":[1]}],[0,"pn-product-tile-price",{"label":[1],"amount":[1],"currency":[1],"url":[1]}]]],["pn-language-selector_9",[[4,"pn-mainnav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"listCount":[32],"alignment":[32]}],[4,"pn-language-selector",{"value":[1537],"selectedLanguageName":[32],"options":[32],"i18n":[32]}],[0,"pn-language-selector-option",{"name":[1],"code":[1],"url":[1],"selected":[4],"currentLanguage":[1,"current-language"]}],[4,"pn-mainnav",{"market":[1],"language":[1],"navigationId":[1,"navigation-id"],"openMenu":[1028,"open-menu"],"navLabel":[1,"nav-label"]},[[0,"language","setLanguage"],[0,"market","setMarket"],[0,"menuLanguageChange","onLanguageChange"],[0,"setmenuopenstate","setMenuOpenState"],[0,"openMenuLevelChange","onOpenMenuLevelChange"]]],[4,"pn-mainnav-list",{"heading":[1],"linkCount":[32]}],[0,"pn-marketweb-siteheader-login",{"endpoint":[1],"token":[1],"i18n":[8,"i-1-8n"],"emitEvents":[4,"emit-events"],"loginDialog":[1040],"fullname":[1],"loggedin":[4],"loginManager":[32],"toggleButtonText":[32],"username":[32]}],[0,"pn-marketweb-siteheader-search",{"i18n":[8,"i-1-8n"],"showOnlyLink":[1028,"show-only-link"],"hideSearch":[1028,"hide-search"],"language":[1537],"search":[1040],"primary":[4],"autoCompleteOptions":[32]}],[4,"pn-site-selector",{"buttontext":[1537],"heading":[1537],"language":[1537],"i18n":[32]}],[0,"pn-site-selector-item",{"url":[1],"heading":[1],"description":[1],"newwindow":[4]}]]]], options);
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|