@postnord/pn-marketweb-components 2.8.1 → 2.8.2
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-e2a3b779.js → FetchHelper-11da3221.js} +4 -1
- package/cjs/pn-address-autofill.cjs.entry.js +1 -1
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +1 -1
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +1 -1
- package/cjs/pn-proxio-findprice.cjs.entry.js +1 -1
- package/cjs/pn-proxio-pricegroup.cjs.entry.js +1 -1
- package/collection/globals/MarketWebContextService.js +4 -1
- package/components/FetchHelper.js +4 -1
- package/esm/{FetchHelper-90e30133.js → FetchHelper-121931ed.js} +4 -1
- package/esm/pn-address-autofill.entry.js +1 -1
- package/esm/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm/pn-marketweb-siteheader.entry.js +1 -1
- package/esm/pn-proxio-findprice.entry.js +1 -1
- package/esm/pn-proxio-pricegroup.entry.js +1 -1
- package/esm-es5/FetchHelper-121931ed.js +1 -0
- package/esm-es5/pn-address-autofill.entry.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-proxio-findprice.entry.js +1 -1
- package/esm-es5/pn-proxio-pricegroup.entry.js +1 -1
- package/package.json +18 -10
- package/pn-market-web-components/{p-2c448c7e.system.entry.js → p-2ccbef09.system.entry.js} +1 -1
- package/pn-market-web-components/{p-e9d7d7af.system.entry.js → p-52637e34.system.entry.js} +1 -1
- package/pn-market-web-components/p-6a96db2f.js +1 -0
- package/pn-market-web-components/p-6bdc811d.system.js +1 -0
- package/pn-market-web-components/{p-4bf57a22.entry.js → p-742d27ff.entry.js} +1 -1
- package/pn-market-web-components/{p-fedeefd9.entry.js → p-88d22b1c.entry.js} +1 -1
- package/pn-market-web-components/p-a28fce54.system.js +1 -1
- package/pn-market-web-components/{p-9c477df8.entry.js → p-a7371325.entry.js} +1 -1
- package/pn-market-web-components/{p-9f856003.entry.js → p-cc1b4ca3.entry.js} +1 -1
- package/pn-market-web-components/{p-517602ef.system.entry.js → p-d11f771e.system.entry.js} +1 -1
- package/pn-market-web-components/{p-66f50e2c.system.entry.js → p-d6a38c36.system.entry.js} +1 -1
- package/pn-market-web-components/{p-936eab9c.system.entry.js → p-d97d1501.system.entry.js} +1 -1
- package/pn-market-web-components/{p-53e8427d.entry.js → p-f9388b7c.entry.js} +1 -1
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/types/components/animation/pn-play-on-scroll/pn-play-on-scroll.d.ts +1 -1
- package/types/components/animation/pn-scroll/pn-scroll.d.ts +2 -2
- package/types/components/data-visualization/pn-stats-info/pn-stats-info-data/pn-stats-info-data.d.ts +2 -2
- package/types/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.d.ts +1 -1
- package/types/components/input/pn-multi-formfield/pn-multi-formfield.d.ts +1 -1
- package/types/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown-row.d.ts +1 -1
- package/types/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.d.ts +1 -1
- package/types/components/input/pn-multiple-input/pn-multiple-input.d.ts +1 -1
- package/collection/components/charts/pn-chart/pn-chart.stories.js +0 -0
- package/esm-es5/FetchHelper-90e30133.js +0 -1
- package/pn-market-web-components/p-602484e1.system.js +0 -1
- package/pn-market-web-components/p-dbfeae15.js +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@postnord/pn-marketweb-components",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.2",
|
|
4
4
|
"description": "PostNord Market Websites Components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -28,21 +28,25 @@
|
|
|
28
28
|
"test:watch": "stencil test --spec --e2e --watchAll",
|
|
29
29
|
"stencil": "cross-env STENCIL_ENV=dev stencil build --dev --watch --serve --docs",
|
|
30
30
|
"generate": "plop",
|
|
31
|
-
"storybook": "
|
|
32
|
-
"build-storybook": "build
|
|
31
|
+
"storybook": "storybook dev -p 6001 -s dist",
|
|
32
|
+
"build-storybook": "storybook build",
|
|
33
33
|
"post:build": "node ./scripts/post_build.js",
|
|
34
34
|
"format": "cd src && npx prettier --write ."
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@babel/core": "7.17.4",
|
|
38
|
+
"@babel/preset-env": "^7.23.9",
|
|
39
|
+
"@babel/preset-react": "^7.23.3",
|
|
40
|
+
"@babel/preset-typescript": "^7.23.3",
|
|
38
41
|
"@postnord/web-components": "^4.0.6",
|
|
39
42
|
"@stencil/sass": "1.5.2",
|
|
40
43
|
"@stencil/store": "1.5.0",
|
|
41
|
-
"@storybook/addon-actions": "6.
|
|
42
|
-
"@storybook/addon-docs": "^6.
|
|
43
|
-
"@storybook/addon-essentials": "6.
|
|
44
|
-
"@storybook/addon-links": "6.
|
|
45
|
-
"@storybook/html": "6.
|
|
44
|
+
"@storybook/addon-actions": "^7.6.10",
|
|
45
|
+
"@storybook/addon-docs": "^7.6.10",
|
|
46
|
+
"@storybook/addon-essentials": "^7.6.10",
|
|
47
|
+
"@storybook/addon-links": "^7.6.10",
|
|
48
|
+
"@storybook/html": "^7.6.10",
|
|
49
|
+
"@storybook/html-webpack5": "^7.6.10",
|
|
46
50
|
"@storybook/preset-scss": "1.0.3",
|
|
47
51
|
"@types/chart.js": "^2.9.37",
|
|
48
52
|
"@types/jest": "26.0.24",
|
|
@@ -57,21 +61,25 @@
|
|
|
57
61
|
"fs-extra": "10.0.0",
|
|
58
62
|
"jest": "26.6.3",
|
|
59
63
|
"jest-cli": "26.6.3",
|
|
60
|
-
"node-sass": "6.0.1",
|
|
61
64
|
"npm-run-all": "4.1.5",
|
|
62
65
|
"plop": "2.7.4",
|
|
63
66
|
"pn-design-assets": "1.6.24",
|
|
64
67
|
"puppeteer": "10.0.0",
|
|
68
|
+
"react": "^18.2.0",
|
|
69
|
+
"react-dom": "^18.2.0",
|
|
65
70
|
"sass-loader": "10.2.0",
|
|
71
|
+
"storybook": "^7.6.10",
|
|
66
72
|
"style-loader": "2.0.0",
|
|
67
73
|
"uuid": "^9.0.0"
|
|
68
74
|
},
|
|
69
75
|
"license": "MIT",
|
|
70
76
|
"dependencies": {
|
|
71
77
|
"@stencil/core": "2.22.2",
|
|
78
|
+
"@storybook/addon-a11y": "^7.6.10",
|
|
72
79
|
"@types/node": "^18.11.18",
|
|
73
80
|
"debounce": "^1.2.1",
|
|
74
81
|
"marked": "^4.0.12",
|
|
75
|
-
"read-excel-file": "5.2.28"
|
|
82
|
+
"read-excel-file": "5.2.28",
|
|
83
|
+
"sass": "^1.69.7"
|
|
76
84
|
}
|
|
77
85
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,s,r){function i(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,n){function o(e){try{u(r.next(e))}catch(t){n(t)}}function l(e){try{u(r["throw"](e))}catch(t){n(t)}}function u(e){e.done?s(e.value):i(e.value).then(o,l)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var s={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(e){return function(t){return u([e,t])}}function u(l){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,l[0]&&(s=0)),s)try{if(r=1,i&&(n=l[0]&2?i["return"]:l[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,l[1])).done)return n;if(i=0,n)l=[l[0]&2,n.value];switch(l[0]){case 0:case 1:n=l;break;case 4:s.label++;return{value:l[1],done:false};case 5:s.label++;i=l[1];l=[0];continue;case 7:l=s.ops.pop();s.trys.pop();continue;default:if(!(n=s.trys,n=n.length>0&&n[n.length-1])&&(l[0]===6||l[0]===2)){s=0;continue}if(l[0]===3&&(!n||l[1]>n[0]&&l[1]<n[3])){s.label=l[1];break}if(l[0]===6&&s.label<n[1]){s.label=n[1];n=l;break}if(n&&s.label<n[2]){s.label=n[2];s.ops.push(l);break}if(n[2])s.ops.pop();s.trys.pop();continue}l=t.call(e,s)}catch(u){l=[6,u];i=0}finally{r=n=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-6259e4f4.system.js","./p-602484e1.system.js","./p-296637c0.system.js"],(function(e){"use strict";var t,s,r,i,n,o,l,u;return{setters:[function(e){t=e.r;s=e.c;r=e.h;i=e.a;n=e.g},function(e){o=e.F;l=e.M},function(e){u=e.d}],execute:function(){var a="pn-address-autofill pn-marketweb-input{width:50%}pn-address-autofill .input-container-row{display:-ms-flexbox;display:flex;gap:1rem;margin-bottom:1rem}pn-address-autofill .label-container{color:#5E554A;font-size:0.875em;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:end;align-items:flex-end}pn-address-autofill .autocomplete-items{position:absolute;border-radius:0.8rem;border:0.1rem solid #5E554A;width:100%;max-height:30rem;overflow-y:auto}pn-address-autofill .autocomplete-items:hover,pn-address-autofill .autocomplete-items :focus{border:0.1rem solid #00A0D6}pn-address-autofill .autocomplete-items div{padding:1.6rem;cursor:pointer;background-color:#fff;border:0.1rem solid transparent}pn-address-autofill .autocomplete-items div:first-child{border-radius:0.8rem 0.8rem 0 0}pn-address-autofill .autocomplete-items div:last-child{border-radius:0 0 0.8rem 0.8rem}pn-address-autofill .autocomplete-items div:hover{background-color:#e0f8ff}pn-address-autofill .autocomplete-items .autocomplete-active{background-color:#e0f8ff}";var d=e("pn_address_autofill",function(){function e(e){var r=this;t(this,e);this.addresscomplete=s(this,"addresscomplete",7);this.pnInputPostalCode=null;this.pnInputCity=null;this.pnInputStreetAddress=null;this.pnInputStreetNumber=null;this.postalCodeInputField=null;this.streetAddressInputField=null;this.streetNumberInputField=null;this.pnInputHiddenValue=null;this.endpointPath="/api/location/get-by-location";this._postalCodeProps=null;this._cityProps=null;this._streetAddressProps=null;this._streetNumberProps=null;this.fetchHelper=new o("PostalCodeCityAutofill");this.filterStreetNames=function(e){var t=[];r.streetAdressArr=null;e.addresses.forEach((function(e){if(e.postalCode.postalCity===r.city&&!t.includes(e.street)){t.push(e.street)}}));r.streetAdressArr=t};this.filterStreetNumbers=function(e){var t=[];e.addresses.forEach((function(e){if(e.postalCode.postalCode===r.postalCode){var s=e.numberFrom,i=e.numberTo;var n=parseInt(s);var o=parseInt(i);for(var l=n;l<=o;l++){var u=l.toString();if(!t.includes(u)){t.push(l.toString())}}}}));r.streetNumberArr=t};this.market=null;this.environment=null;this.endpoint=null;this.cache=true;this.countryCode=null;this.postalCodeProps=null;this.cityProps=null;this.streetAddressProps=null;this.streetNumberProps=null;this.streetAdressArr=null;this.streetNumberArr=null;this.city=null;this.postalCode=null;this.streetAddress=null;this.streetNumber=null;this.fullAddress=null}e.prototype.componentWillLoad=function(){this.setInitialValues();this._postalCodeProps=this.setProps(this.postalCodeProps);this._cityProps=this.setProps(this.cityProps);this._streetAddressProps=this.setProps(this.streetAddressProps);this._streetNumberProps=this.setProps(this.streetNumberProps)};e.prototype.setProps=function(e){if(typeof e==="string"){return JSON.parse(e)}else{return e}};e.prototype.componentDidLoad=function(){this.postalCodeInputField=this.pnInputPostalCode.querySelector("input");this.streetAddressInputField=this.pnInputStreetAddress.querySelector("input");this.streetNumberInputField=this.pnInputStreetNumber.querySelector("input");this.addEventHandlers()};e.prototype.setInitialValues=function(e){if(e===void 0){e=window.location.href}return __awaiter(this,void 0,void 0,(function(){var t,s,r,i;return __generator(this,(function(n){switch(n.label){case 0:s=new l(e);if(!!this.environment)return[3,2];r=this;return[4,s.getEnvironmentName()];case 1:r.environment=n.sent();n.label=2;case 2:if(!(!this.endpoint&&((t=this.environment)===null||t===void 0?void 0:t.indexOf("local"))===-1))return[3,4];i=this;return[4,s.getEndpoint(this.environment,this.market)];case 3:i.endpoint=n.sent();n.label=4;case 4:if(!this.endpoint){this.endpoint=""}return[2]}}))}))};e.prototype.addEventHandlers=function(){var e=u.debounce(this.fetchData.bind(this,this.postalCodeInputField),1e3);this.postalCodeInputField.addEventListener("keyup",e);this.streetAddressInputField.addEventListener("keyup",this.handleStreetAddressDropdown.bind(this));this.streetNumberInputField.addEventListener("focus",this.handleStreetNumberDropdown.bind(this));this.addFormFieldEvent()};e.prototype.addFormFieldEvent=function(){var e=this;var t=this.hostElement.querySelectorAll("input");t.forEach((function(t){["keyup","change"].forEach((function(s){var r=u.debounce(e.updateHiddenValue.bind(e),1e3);t.addEventListener(s,r)}))}))};e.prototype.updateHiddenValue=function(e){if(e.target===this.streetNumberInputField){this.streetNumber=this.streetNumberInputField.value}if(this.postalCode&&this.city&&this.streetAddress&&this.streetNumber){this.fullAddress="".concat(this.streetAddress," ").concat(this.streetNumber,", ").concat(this.city," ").concat(this.postalCode)}else{this.fullAddress=""}this.addresscomplete.emit(this.fullAddress)};e.prototype.fetchData=function(e,t){return __awaiter(this,void 0,void 0,(function(){var s,r,i,n,o,l,u,a;return __generator(this,(function(d){switch(d.label){case 0:if(t){t.preventDefault();if(t.key==="Tab"){if(this.city){return[2]}}}r="";i=t&&t.target===this.postalCodeInputField;n=e===this.streetAddressInputField&&this.city&&this.city.length;o=e===this.streetNumberInputField&&this.city&&this.city.length&&this.streetAddress&&this.streetAddress.length;if(i){r=this.postalCodeInputField.value;this.streetAdressArr=null;this.streetAddressInputField.value="";this.streetNumberArr=null;this.streetNumberInputField.value="";this.city=null;this.streetAddress=null;this.streetNumber=null}if(n){r="".concat(this.streetAddressInputField.value,", ").concat(this.city);this.streetNumberArr=null;this.streetNumberInputField.value="";this.streetNumber=null}if(o){this.streetAdressArr=null;r="".concat(this.streetAddress,", ").concat(this.city)}if(!(r.length>0))return[3,2];l=this.endpoint.lastIndexOf("/")===this.endpoint.length-1?this.endpoint.substring(0,this.endpoint.length-1):this.endpoint;u="".concat(l).concat(this.endpointPath,"?countryCode=").concat(this.countryCode,"&query=").concat(r);return[4,this.fetchHelper.fetchJson(u,{mode:"cors"},this.cache)];case 1:a=d.sent();if(a){if(i){this.city=a.postalCodes?(s=a.postalCodes[0])===null||s===void 0?void 0:s.postalCity:null}if(n&&a.addresses){this.postalCode=this.postalCodeInputField.value;this.filterStreetNames(a)}if(o&&a.addresses){this.filterStreetNumbers(a)}}d.label=2;case 2:return[2]}}))}))};e.prototype.handleStreetAddressDropdown=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(s){switch(s.label){case 0:t=e.target;if(!(t===this.streetAddressInputField&&t.value.length))return[3,2];if(!(!this.streetAdressArr||!this.streetAdressArr.length))return[3,2];return[4,this.fetchData(this.streetAddressInputField,null)];case 1:s.sent();s.label=2;case 2:if(!t.value||!t.value.length){this.streetAdressArr=null}if(this.streetAdressArr&&this.streetAdressArr.length){this.autoComplete(e,this.streetAdressArr)}return[2]}}))}))};e.prototype.handleStreetNumberDropdown=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(s){switch(s.label){case 0:e.preventDefault();t=e.target;if(!(t===this.streetNumberInputField))return[3,3];if(!(!this.streetNumberArr||!this.streetNumberArr.length))return[3,2];return[4,this.fetchData(this.streetNumberInputField,null)];case 1:s.sent();s.label=2;case 2:if(this.streetNumberArr){this.autoComplete(e,this.streetNumberArr)}s.label=3;case 3:return[2]}}))}))};e.prototype.autoComplete=function(e,t){var s=this;var r=e.target;if(t.length<1){return}var i=0;r.addEventListener("input",(function(){var e=r.value;s.closeAllLists(r);if(!e){return}i=-1;var n=document.createElement("div");n.setAttribute("id","autocomplete-list"+r.name);n.setAttribute("class","autocomplete-items");r.parentElement.appendChild(n);for(var o=0;o<t.length;o++){if(t[o].substring(0,e.length).toUpperCase()==e.toUpperCase()){var l=document.createElement("div");l.innerHTML="<strong>"+t[o].substring(0,e.length)+"</strong>";l.innerHTML+=t[o].substring(e.length);l.innerHTML+="<input type='hidden' value='"+t[o]+"'>";l.addEventListener("click",(function(e){var t=r.closest("pn-marketweb-input");var i=e.target;if(i.nodeName==="STRONG"){i=i.parentElement}t.value=i.getElementsByTagName("input")[0].value;if(r===s.streetNumberInputField){s.streetNumber=t.value}if(r===s.streetAddressInputField){s.streetAddress=t.value}s.closeAllLists(e.target);r.focus()}));n.appendChild(l)}}}));r.addEventListener("keydown",(function(e){var t=document.getElementById("autocomplete-list"+r.name);var n;if(t){n=t.getElementsByTagName("div")}else{n=t}if(e.keyCode==40){i++;s.addActive(n,i)}if(e.keyCode==38){i--;s.addActive(n,i)}if(e.keyCode==13){e.preventDefault();if(i>-1){if(n){n[i].click()}}}}))};e.prototype.closeAllLists=function(e){var t=document.getElementsByClassName("autocomplete-items");for(var s=0;s<t.length;s++){if(e!=t[s]){t[s].parentNode.removeChild(t[s])}}};e.prototype.addActive=function(e,t){if(!e)return;this.removeActive(e);if(t>=e.length)t=0;if(t<0)t=e.length-1;e[t].classList.add("autocomplete-active")};e.prototype.removeActive=function(e){for(var t=0;t<e.length;t++){e[t].classList.remove("autocomplete-active")}};e.prototype.render=function(){var e=this;var t,s,n,o,l,u,a,d,p,h,c,f,m,v,b,y,A;return r(i,{class:"pn-address-autofill"},((t=this._postalCodeProps)===null||t===void 0?void 0:t.postalCodeCityLabel)?r("div",{class:"label-container"},r("label",null,"".concat(this._postalCodeProps.postalCodeCityLabel))):null,r("div",{class:"input-container-row"},r("pn-marketweb-input",{type:"text",name:(s=this._postalCodeProps)===null||s===void 0?void 0:s.postalCodeInputName,required:(n=this._postalCodeProps)===null||n===void 0?void 0:n.postalCodeInputRequired,placeholder:(o=this._postalCodeProps)===null||o===void 0?void 0:o.postalCodeInputPlaceholder,ref:function(t){return e.pnInputPostalCode=t},autocomplete:"off",helpertext:(l=this._postalCodeProps)===null||l===void 0?void 0:l.postalCodeInputHelpertext}),r("pn-marketweb-input",{type:"text",name:(u=this._cityProps)===null||u===void 0?void 0:u.cityInputName,disabled:true,value:this.city,placeholder:(a=this._cityProps)===null||a===void 0?void 0:a.cityInputPlaceholder,autocomplete:"off",helpertext:(d=this._cityProps)===null||d===void 0?void 0:d.cityInputHelpertext})),((p=this._streetAddressProps)===null||p===void 0?void 0:p.streetAddressNumberLabel)?r("div",{class:"label-container"},r("label",null,"".concat(this._streetAddressProps.streetAddressNumberLabel))):null,r("div",{class:"input-container-row"},r("pn-marketweb-input",{type:"text",name:(h=this._streetAddressProps)===null||h===void 0?void 0:h.streetAddressInputName,required:(c=this._streetAddressProps)===null||c===void 0?void 0:c.streetAddressInputRequired,value:this.streetAddress,placeholder:(f=this._streetAddressProps)===null||f===void 0?void 0:f.streetAddressInputPlaceholder,ref:function(t){return e.pnInputStreetAddress=t},autocomplete:"off",helpertext:(m=this._streetAddressProps)===null||m===void 0?void 0:m.streetAddressInputHelpertext}),r("pn-marketweb-input",{type:"text",name:(v=this._streetNumberProps)===null||v===void 0?void 0:v.streetNumberInputName,required:(b=this._streetNumberProps)===null||b===void 0?void 0:b.streetNumberInputRequired,value:this.streetNumber,placeholder:(y=this._streetNumberProps)===null||y===void 0?void 0:y.streetNumberInputPlaceholder,ref:function(t){return e.pnInputStreetNumber=t},autocomplete:"off",helpertext:(A=this._streetNumberProps)===null||A===void 0?void 0:A.streetNumberInputHelpertext})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());d.style=a}}}));
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,s,r){function i(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,n){function o(e){try{u(r.next(e))}catch(t){n(t)}}function l(e){try{u(r["throw"](e))}catch(t){n(t)}}function u(e){e.done?s(e.value):i(e.value).then(o,l)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var s={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(e){return function(t){return u([e,t])}}function u(l){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,l[0]&&(s=0)),s)try{if(r=1,i&&(n=l[0]&2?i["return"]:l[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,l[1])).done)return n;if(i=0,n)l=[l[0]&2,n.value];switch(l[0]){case 0:case 1:n=l;break;case 4:s.label++;return{value:l[1],done:false};case 5:s.label++;i=l[1];l=[0];continue;case 7:l=s.ops.pop();s.trys.pop();continue;default:if(!(n=s.trys,n=n.length>0&&n[n.length-1])&&(l[0]===6||l[0]===2)){s=0;continue}if(l[0]===3&&(!n||l[1]>n[0]&&l[1]<n[3])){s.label=l[1];break}if(l[0]===6&&s.label<n[1]){s.label=n[1];n=l;break}if(n&&s.label<n[2]){s.label=n[2];s.ops.push(l);break}if(n[2])s.ops.pop();s.trys.pop();continue}l=t.call(e,s)}catch(u){l=[6,u];i=0}finally{r=n=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-6259e4f4.system.js","./p-6bdc811d.system.js","./p-296637c0.system.js"],(function(e){"use strict";var t,s,r,i,n,o,l,u;return{setters:[function(e){t=e.r;s=e.c;r=e.h;i=e.a;n=e.g},function(e){o=e.F;l=e.M},function(e){u=e.d}],execute:function(){var d="pn-address-autofill pn-marketweb-input{width:50%}pn-address-autofill .input-container-row{display:-ms-flexbox;display:flex;gap:1rem;margin-bottom:1rem}pn-address-autofill .label-container{color:#5E554A;font-size:0.875em;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:end;align-items:flex-end}pn-address-autofill .autocomplete-items{position:absolute;border-radius:0.8rem;border:0.1rem solid #5E554A;width:100%;max-height:30rem;overflow-y:auto}pn-address-autofill .autocomplete-items:hover,pn-address-autofill .autocomplete-items :focus{border:0.1rem solid #00A0D6}pn-address-autofill .autocomplete-items div{padding:1.6rem;cursor:pointer;background-color:#fff;border:0.1rem solid transparent}pn-address-autofill .autocomplete-items div:first-child{border-radius:0.8rem 0.8rem 0 0}pn-address-autofill .autocomplete-items div:last-child{border-radius:0 0 0.8rem 0.8rem}pn-address-autofill .autocomplete-items div:hover{background-color:#e0f8ff}pn-address-autofill .autocomplete-items .autocomplete-active{background-color:#e0f8ff}";var a=e("pn_address_autofill",function(){function e(e){var r=this;t(this,e);this.addresscomplete=s(this,"addresscomplete",7);this.pnInputPostalCode=null;this.pnInputCity=null;this.pnInputStreetAddress=null;this.pnInputStreetNumber=null;this.postalCodeInputField=null;this.streetAddressInputField=null;this.streetNumberInputField=null;this.pnInputHiddenValue=null;this.endpointPath="/api/location/get-by-location";this._postalCodeProps=null;this._cityProps=null;this._streetAddressProps=null;this._streetNumberProps=null;this.fetchHelper=new o("PostalCodeCityAutofill");this.filterStreetNames=function(e){var t=[];r.streetAdressArr=null;e.addresses.forEach((function(e){if(e.postalCode.postalCity===r.city&&!t.includes(e.street)){t.push(e.street)}}));r.streetAdressArr=t};this.filterStreetNumbers=function(e){var t=[];e.addresses.forEach((function(e){if(e.postalCode.postalCode===r.postalCode){var s=e.numberFrom,i=e.numberTo;var n=parseInt(s);var o=parseInt(i);for(var l=n;l<=o;l++){var u=l.toString();if(!t.includes(u)){t.push(l.toString())}}}}));r.streetNumberArr=t};this.market=null;this.environment=null;this.endpoint=null;this.cache=true;this.countryCode=null;this.postalCodeProps=null;this.cityProps=null;this.streetAddressProps=null;this.streetNumberProps=null;this.streetAdressArr=null;this.streetNumberArr=null;this.city=null;this.postalCode=null;this.streetAddress=null;this.streetNumber=null;this.fullAddress=null}e.prototype.componentWillLoad=function(){this.setInitialValues();this._postalCodeProps=this.setProps(this.postalCodeProps);this._cityProps=this.setProps(this.cityProps);this._streetAddressProps=this.setProps(this.streetAddressProps);this._streetNumberProps=this.setProps(this.streetNumberProps)};e.prototype.setProps=function(e){if(typeof e==="string"){return JSON.parse(e)}else{return e}};e.prototype.componentDidLoad=function(){this.postalCodeInputField=this.pnInputPostalCode.querySelector("input");this.streetAddressInputField=this.pnInputStreetAddress.querySelector("input");this.streetNumberInputField=this.pnInputStreetNumber.querySelector("input");this.addEventHandlers()};e.prototype.setInitialValues=function(e){if(e===void 0){e=window.location.href}return __awaiter(this,void 0,void 0,(function(){var t,s,r,i;return __generator(this,(function(n){switch(n.label){case 0:s=new l(e);if(!!this.environment)return[3,2];r=this;return[4,s.getEnvironmentName()];case 1:r.environment=n.sent();n.label=2;case 2:if(!(!this.endpoint&&((t=this.environment)===null||t===void 0?void 0:t.indexOf("local"))===-1))return[3,4];i=this;return[4,s.getEndpoint(this.environment,this.market)];case 3:i.endpoint=n.sent();n.label=4;case 4:if(!this.endpoint){this.endpoint=""}return[2]}}))}))};e.prototype.addEventHandlers=function(){var e=u.debounce(this.fetchData.bind(this,this.postalCodeInputField),1e3);this.postalCodeInputField.addEventListener("keyup",e);this.streetAddressInputField.addEventListener("keyup",this.handleStreetAddressDropdown.bind(this));this.streetNumberInputField.addEventListener("focus",this.handleStreetNumberDropdown.bind(this));this.addFormFieldEvent()};e.prototype.addFormFieldEvent=function(){var e=this;var t=this.hostElement.querySelectorAll("input");t.forEach((function(t){["keyup","change"].forEach((function(s){var r=u.debounce(e.updateHiddenValue.bind(e),1e3);t.addEventListener(s,r)}))}))};e.prototype.updateHiddenValue=function(e){if(e.target===this.streetNumberInputField){this.streetNumber=this.streetNumberInputField.value}if(this.postalCode&&this.city&&this.streetAddress&&this.streetNumber){this.fullAddress="".concat(this.streetAddress," ").concat(this.streetNumber,", ").concat(this.city," ").concat(this.postalCode)}else{this.fullAddress=""}this.addresscomplete.emit(this.fullAddress)};e.prototype.fetchData=function(e,t){return __awaiter(this,void 0,void 0,(function(){var s,r,i,n,o,l,u,d;return __generator(this,(function(a){switch(a.label){case 0:if(t){t.preventDefault();if(t.key==="Tab"){if(this.city){return[2]}}}r="";i=t&&t.target===this.postalCodeInputField;n=e===this.streetAddressInputField&&this.city&&this.city.length;o=e===this.streetNumberInputField&&this.city&&this.city.length&&this.streetAddress&&this.streetAddress.length;if(i){r=this.postalCodeInputField.value;this.streetAdressArr=null;this.streetAddressInputField.value="";this.streetNumberArr=null;this.streetNumberInputField.value="";this.city=null;this.streetAddress=null;this.streetNumber=null}if(n){r="".concat(this.streetAddressInputField.value,", ").concat(this.city);this.streetNumberArr=null;this.streetNumberInputField.value="";this.streetNumber=null}if(o){this.streetAdressArr=null;r="".concat(this.streetAddress,", ").concat(this.city)}if(!(r.length>0))return[3,2];l=this.endpoint.lastIndexOf("/")===this.endpoint.length-1?this.endpoint.substring(0,this.endpoint.length-1):this.endpoint;u="".concat(l).concat(this.endpointPath,"?countryCode=").concat(this.countryCode,"&query=").concat(r);return[4,this.fetchHelper.fetchJson(u,{mode:"cors"},this.cache)];case 1:d=a.sent();if(d){if(i){this.city=d.postalCodes?(s=d.postalCodes[0])===null||s===void 0?void 0:s.postalCity:null}if(n&&d.addresses){this.postalCode=this.postalCodeInputField.value;this.filterStreetNames(d)}if(o&&d.addresses){this.filterStreetNumbers(d)}}a.label=2;case 2:return[2]}}))}))};e.prototype.handleStreetAddressDropdown=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(s){switch(s.label){case 0:t=e.target;if(!(t===this.streetAddressInputField&&t.value.length))return[3,2];if(!(!this.streetAdressArr||!this.streetAdressArr.length))return[3,2];return[4,this.fetchData(this.streetAddressInputField,null)];case 1:s.sent();s.label=2;case 2:if(!t.value||!t.value.length){this.streetAdressArr=null}if(this.streetAdressArr&&this.streetAdressArr.length){this.autoComplete(e,this.streetAdressArr)}return[2]}}))}))};e.prototype.handleStreetNumberDropdown=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(s){switch(s.label){case 0:e.preventDefault();t=e.target;if(!(t===this.streetNumberInputField))return[3,3];if(!(!this.streetNumberArr||!this.streetNumberArr.length))return[3,2];return[4,this.fetchData(this.streetNumberInputField,null)];case 1:s.sent();s.label=2;case 2:if(this.streetNumberArr){this.autoComplete(e,this.streetNumberArr)}s.label=3;case 3:return[2]}}))}))};e.prototype.autoComplete=function(e,t){var s=this;var r=e.target;if(t.length<1){return}var i=0;r.addEventListener("input",(function(){var e=r.value;s.closeAllLists(r);if(!e){return}i=-1;var n=document.createElement("div");n.setAttribute("id","autocomplete-list"+r.name);n.setAttribute("class","autocomplete-items");r.parentElement.appendChild(n);for(var o=0;o<t.length;o++){if(t[o].substring(0,e.length).toUpperCase()==e.toUpperCase()){var l=document.createElement("div");l.innerHTML="<strong>"+t[o].substring(0,e.length)+"</strong>";l.innerHTML+=t[o].substring(e.length);l.innerHTML+="<input type='hidden' value='"+t[o]+"'>";l.addEventListener("click",(function(e){var t=r.closest("pn-marketweb-input");var i=e.target;if(i.nodeName==="STRONG"){i=i.parentElement}t.value=i.getElementsByTagName("input")[0].value;if(r===s.streetNumberInputField){s.streetNumber=t.value}if(r===s.streetAddressInputField){s.streetAddress=t.value}s.closeAllLists(e.target);r.focus()}));n.appendChild(l)}}}));r.addEventListener("keydown",(function(e){var t=document.getElementById("autocomplete-list"+r.name);var n;if(t){n=t.getElementsByTagName("div")}else{n=t}if(e.keyCode==40){i++;s.addActive(n,i)}if(e.keyCode==38){i--;s.addActive(n,i)}if(e.keyCode==13){e.preventDefault();if(i>-1){if(n){n[i].click()}}}}))};e.prototype.closeAllLists=function(e){var t=document.getElementsByClassName("autocomplete-items");for(var s=0;s<t.length;s++){if(e!=t[s]){t[s].parentNode.removeChild(t[s])}}};e.prototype.addActive=function(e,t){if(!e)return;this.removeActive(e);if(t>=e.length)t=0;if(t<0)t=e.length-1;e[t].classList.add("autocomplete-active")};e.prototype.removeActive=function(e){for(var t=0;t<e.length;t++){e[t].classList.remove("autocomplete-active")}};e.prototype.render=function(){var e=this;var t,s,n,o,l,u,d,a,p,h,c,f,m,v,b,y,A;return r(i,{class:"pn-address-autofill"},((t=this._postalCodeProps)===null||t===void 0?void 0:t.postalCodeCityLabel)?r("div",{class:"label-container"},r("label",null,"".concat(this._postalCodeProps.postalCodeCityLabel))):null,r("div",{class:"input-container-row"},r("pn-marketweb-input",{type:"text",name:(s=this._postalCodeProps)===null||s===void 0?void 0:s.postalCodeInputName,required:(n=this._postalCodeProps)===null||n===void 0?void 0:n.postalCodeInputRequired,placeholder:(o=this._postalCodeProps)===null||o===void 0?void 0:o.postalCodeInputPlaceholder,ref:function(t){return e.pnInputPostalCode=t},autocomplete:"off",helpertext:(l=this._postalCodeProps)===null||l===void 0?void 0:l.postalCodeInputHelpertext}),r("pn-marketweb-input",{type:"text",name:(u=this._cityProps)===null||u===void 0?void 0:u.cityInputName,disabled:true,value:this.city,placeholder:(d=this._cityProps)===null||d===void 0?void 0:d.cityInputPlaceholder,autocomplete:"off",helpertext:(a=this._cityProps)===null||a===void 0?void 0:a.cityInputHelpertext})),((p=this._streetAddressProps)===null||p===void 0?void 0:p.streetAddressNumberLabel)?r("div",{class:"label-container"},r("label",null,"".concat(this._streetAddressProps.streetAddressNumberLabel))):null,r("div",{class:"input-container-row"},r("pn-marketweb-input",{type:"text",name:(h=this._streetAddressProps)===null||h===void 0?void 0:h.streetAddressInputName,required:(c=this._streetAddressProps)===null||c===void 0?void 0:c.streetAddressInputRequired,value:this.streetAddress,placeholder:(f=this._streetAddressProps)===null||f===void 0?void 0:f.streetAddressInputPlaceholder,ref:function(t){return e.pnInputStreetAddress=t},autocomplete:"off",helpertext:(m=this._streetAddressProps)===null||m===void 0?void 0:m.streetAddressInputHelpertext}),r("pn-marketweb-input",{type:"text",name:(v=this._streetNumberProps)===null||v===void 0?void 0:v.streetNumberInputName,required:(b=this._streetNumberProps)===null||b===void 0?void 0:b.streetNumberInputRequired,value:this.streetNumber,placeholder:(y=this._streetNumberProps)===null||y===void 0?void 0:y.streetNumberInputPlaceholder,ref:function(t){return e.pnInputStreetNumber=t},autocomplete:"off",helpertext:(A=this._streetNumberProps)===null||A===void 0?void 0:A.streetNumberInputHelpertext})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());a.style=d}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(M,i,e,N){function t(M){return M instanceof e?M:new e((function(i){i(M)}))}return new(e||(e=Promise))((function(e,g){function D(M){try{j(N.next(M))}catch(i){g(i)}}function I(M){try{j(N["throw"](M))}catch(i){g(i)}}function j(M){M.done?e(M.value):t(M.value).then(D,I)}j((N=N.apply(M,i||[])).next())}))};var __generator=this&&this.__generator||function(M,i){var e={label:0,sent:function(){if(g[0]&1)throw g[1];return g[1]},trys:[],ops:[]},N,t,g,D;return D={next:I(0),throw:I(1),return:I(2)},typeof Symbol==="function"&&(D[Symbol.iterator]=function(){return this}),D;function I(M){return function(i){return j([M,i])}}function j(I){if(N)throw new TypeError("Generator is already executing.");while(D&&(D=0,I[0]&&(e=0)),e)try{if(N=1,t&&(g=I[0]&2?t["return"]:I[0]?t["throw"]||((g=t["return"])&&g.call(t),0):t.next)&&!(g=g.call(t,I[1])).done)return g;if(t=0,g)I=[I[0]&2,g.value];switch(I[0]){case 0:case 1:g=I;break;case 4:e.label++;return{value:I[1],done:false};case 5:e.label++;t=I[1];I=[0];continue;case 7:I=e.ops.pop();e.trys.pop();continue;default:if(!(g=e.trys,g=g.length>0&&g[g.length-1])&&(I[0]===6||I[0]===2)){e=0;continue}if(I[0]===3&&(!g||I[1]>g[0]&&I[1]<g[3])){e.label=I[1];break}if(I[0]===6&&e.label<g[1]){e.label=g[1];g=I;break}if(g&&e.label<g[2]){e.label=g[2];e.ops.push(I);break}if(g[2])e.ops.pop();e.trys.pop();continue}I=i.call(M,e)}catch(j){I=[6,j];t=0}finally{N=g=0}if(I[0]&5)throw I[1];return{value:I[0]?I[1]:void 0,done:true}}};System.register(["./p-6259e4f4.system.js","./p-602484e1.system.js","./p-bdcedfe9.system.js"],(function(M){"use strict";var i,e,N,t,g;return{setters:[function(M){i=M.r;e=M.h},function(M){N=M.F;t=M.M},function(M){g=M.c}],execute:function(){var D={sv:{componentheading:"Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?",deliveryscopeheading:"Endast leveranser inom Sverige",resultlistheading:"Några bra alternativ för dig",sizeheading:"Uppskatta storleken på din försändelse",weightheading:"Uppskatta vikten på din försändelse",weightlabel:"Vikt",maxweightlabel:"Maxvikt",maxmeasurementlabel:"Maxvolym",senddirectcta:"Köp online",stampshopcta:"Till butiken",message:"*Vid köp hos valfritt ombud",servicePointHeader:"Eller hitta närmaste serviceställe",servicePointLink:"Hitta Serviceställe",realPostcard:"Köp Riktiga Vykort",realPostcardMobile:"Ladda ner appen",ombudHeader:"Köp via ombud",from:"Från ",labelMaxDimensionsRoll:"Rulle",labelMaxDimensions:"Maxmått",noResultMessage:"Inga produkter matchar dina kriterier",clearFilterButton:"Rensa alla filter",compensateUpTo:"Ersättning upp till",countryToSendTo:"Vilket land vill du skicka till?"},en:{componentheading:"Our prices and terms and conditions for domestic shipments for you as a direct paying customer",deliveryscopeheading:"Deliveries within Sweden only",resultlistheading:"Some suitable options for you",sizeheading:"Estimate the size of your shipment",weightheading:"Estimate the weight of your shipment",weightlabel:"Weight",maxweightlabel:"Max weight",maxmeasurementlabel:"Maximum measurement",senddirectcta:"Buy Online",stampshopcta:"To the Store",message:"When buying from any agent",servicePointHeader:"Find service point",servicePointLink:"Find service point",realPostcard:"Buy Postcards",realPostcardMobile:"Download the app",ombudHeader:"Purchase by agent",from:"From ",labelMaxDimensionsRoll:"Roll",labelMaxDimensions:"Maximum dimensions",noResultMessage:"No products match your criterias",clearFilterButton:"Clear all filters",compensateUpTo:"Compensated up to",countryToSendTo:"To which country do you want to send?"},da:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveringer indenfor Sverige",resultlistheading:"Dine muligheder",sizeheading:"Hvor stor er din forsendelse?",weightheading:"Hvor meget vejer din forsendelse?",weightlabel:"Vægt",maxweightlabel:"Max vægt",maxmeasurementlabel:"Maks. Volumen",senddirectcta:"Køb Online",stampshopcta:"Til butikken",message:"When buying from any agent",servicePointHeader:"Find nærmeste servicested",servicePointLink:"Find nærmeste servicested",realPostcard:"Køb Riktiga Vykort",ombudHeader:"Køb af agent",from:"Fra ",labelMaxDimensionsRoll:"Rulle",labelMaxDimensions:"Maks. mål og vægt",noResultMessage:"Ingen produkter matcher dine kriterier",clearFilterButton:"Ryd alle filtre",compensateUpTo:"Erstatning op til",countryToSendTo:"Hvilket land vil du sende til?"},no:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveranser innen Sverige",resultlistheading:"Some suitable options for you",weightlabel:"Vekt",maxweightlabel:"Maks vekt",maxmeasurementlabel:"Maks volum",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop",noResultMessage:"No products match your criterias",clearFilterButton:"Clear all filters",compensateUpTo:"Kompensert inntil",countryToSendTo:"Hvilket land vil du sende til?"},fi:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Toimitukset vain Ruotsin sisällä",resultlistheading:"Some suitable options for you",weightlabel:"Paino",maxweightlabel:"Max paino",maxmeasurementlabel:"Max äänenvoimakkuus",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop",noResultMessage:"No products match your criterias",clearFilterButton:"Clear all filters",compensateUpTo:"Korvaus asti",countryToSendTo:"Mihin maahan haluaisit lähettää?"}};var I={se:{currency:"kr",country:"Sweden",servicePoint:"https://www.postnord.se/vara-verktyg/sok-brevlada-eller-servicestalle"},dk:{currency:"dk",country:"Denmark",servicePoint:"https://www.postnord.dk/varktojer/find-os"},fi:{currency:" €",country:"Finland",servicePoint:""},no:{currency:"kr",country:"Norway",servicePoint:""}};var j=[{name:"S",value:"S",illustration:"eli1n",unit:"S"},{name:"M",value:"M",illustration:"medium-package",unit:"M"},{name:"L",value:"L",illustration:"large-package",unit:"L"}];var a={se:{S:[{name:"50 g",abbreviation:"g",value:50},{name:"100 g",abbreviation:"g",value:100},{name:"250 g",abbreviation:"g",value:250},{name:"500 g",abbreviation:"g",value:500},{name:"1 kg",abbreviation:"kg",value:1e3},{name:"2 kg",abbreviation:"kg",value:2e3}],M:[{name:"1 kg",abbreviation:"kg",value:1e3},{name:"2 kg",abbreviation:"kg",value:2e3},{name:"3 kg",abbreviation:"kg",value:3e3},{name:"5 kg",abbreviation:"kg",value:5e3},{name:"10 kg",abbreviation:"kg",value:1e4},{name:"15 kg",abbreviation:"kg",value:15e3},{name:"20 kg",abbreviation:"kg",value:2e4}],L:[{name:"3 kg",abbreviation:"kg",value:3e3},{name:"5 kg",abbreviation:"kg",value:5e3},{name:"10 kg",abbreviation:"kg",value:1e4},{name:"15 kg",abbreviation:"kg",value:15e3},{name:"20 kg",abbreviation:"kg",value:2e4}]},dk:{S:[{name:"50 g",abbreviation:"g",value:50},{name:"100 g",abbreviation:"g",value:100},{name:"250 g",abbreviation:"g",value:250},{name:"500 g",abbreviation:"g",value:500},{name:"1 kg",abbreviation:"kg",value:1e3},{name:"2 kg",abbreviation:"kg",value:2e3}],M:[],L:[{name:"2 kg",abbreviation:"kg",value:2e3},{name:"5 kg",abbreviation:"kg",value:5e3},{name:"10 kg",abbreviation:"kg",value:1e4},{name:"15 kg",abbreviation:"kg",value:15e3},{name:"20 kg",abbreviation:"kg",value:2e4},{name:"25 kg",abbreviation:"kg",value:25e3},{name:"30 kg",abbreviation:"kg",value:3e4},{name:"35 kg",abbreviation:"kg",value:35e3}]},dk01012024:{S:[{name:"100 g",abbreviation:"g",value:100},{name:"250 g",abbreviation:"g",value:250},{name:"500 g",abbreviation:"g",value:500},{name:"1 kg",abbreviation:"kg",value:1e3},{name:"2 kg",abbreviation:"kg",value:2e3}],M:[],L:[{name:"2 kg",abbreviation:"kg",value:2e3},{name:"5 kg",abbreviation:"kg",value:5e3},{name:"10 kg",abbreviation:"kg",value:1e4},{name:"15 kg",abbreviation:"kg",value:15e3},{name:"20 kg",abbreviation:"kg",value:2e4},{name:"25 kg",abbreviation:"kg",value:25e3},{name:"30 kg",abbreviation:"kg",value:3e4},{name:"35 kg",abbreviation:"kg",value:35e3}]}};var n=g({i18n:{componentheading:"",deliveryscopeheading:"",resultlistheading:"",sizeheading:"",weightheading:"",weightlabel:"",maxweightlabel:"",maxmeasurementlabel:"",senddirectcta:"",stampshopcta:"",message:"",servicePointHeader:"",servicePointLink:"",realPostcard:"",realPostcardMobile:"",ombudHeader:"",noResultMessage:"",clearFilterButton:"",countryToSendTo:""},market:{currency:"",country:"",servicePoint:""}}),z=n.state,u=n.onChange;var o="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTQiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCA1NCAzOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQ0LjM4NDggMzhINTAuMzAxN0M1MS45MzM5IDM4IDUzLjMxMTEgMzYuMjM1NyA1My4zMTExIDMzLjk5NjRWNC4wMDM1N0M1My4zMTExIDEuODMyMTQgNTEuOTg0OSAwIDUwLjMwMTcgMEg0NC4zODQ4VjM4WiIgZmlsbD0iIzAwNUQ5MiIvPgo8cGF0aCBkPSJNNDcuMzQzMyAzOEgxMy4zMjFDMTEuNjg4NyAzOCAxMC4zMTE1IDM2LjIzNTcgMTAuMzExNSAzMy45OTY0VjQuMDAzNTdDMTAuMzExNSAxLjgzMjE0IDExLjYzNzcgMCAxMy4zMjEgMEg0NC44NDM5QzQ2LjIyMTEgMCA0Ny4zNDMzIDEuNDkyODYgNDcuMzQzMyAzLjMyNVYzOFoiIGZpbGw9IiMwMEEwRDYiLz4KPHBhdGggZD0iTTQzLjMxNDMgMTAuNzg5NUM0My4zMTQzIDEyLjk2MDkgNDEuOTg4MSAxNC43MjUyIDQwLjM1NTkgMTQuNzI1MkgzNS45NjkyQzM0LjMzNjkgMTQuNzI1MiAzMy4wMTA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lDMTMyLjA2MiAwLjI2NzA5IDEyOC4wMTIgNC43MDUzMyAxMjcuNTYzIDEwLjM3NTNIMTI0LjUyOEMxMTkuNTEgMTAuMzc1MyAxMTUuNDYzIDE1LjUyNDcgMTE1LjQ2MyAyMS44MTg0VjI2LjU4NjRIMTMxLjA1NloiIGZpbGw9IiNFMEY4RkYiLz4KPC9zdmc+Cg==";var T='@charset "UTF-8";pn-proxio-findprice .findprice-form{margin:0em auto 3em auto}pn-proxio-findprice .findprice-form-wrapper{background-color:#EFFBFF;padding:3.2rem}pn-proxio-findprice .sizeTable{border-style:none !important;border:0 !important;position:relative}pn-proxio-findprice .sizeTable>tr td{margin-bottom:1em;text-align:center;vertical-align:bottom;padding-right:1em;padding-top:1em;position:relative;z-index:1}pn-proxio-findprice .sizeTable #clouds{position:absolute;top:3rem;width:100%}pn-proxio-findprice .firstCell{margin-right:0;margin-left:auto}pn-proxio-findprice [slot=title]{margin-bottom:1rem}pn-proxio-findprice h2{text-align:center}pn-proxio-findprice .findprice__heading{text-align:center;line-height:1.1;font-weight:bold;color:#000000;font-size:3.2rem;font-weight:700}pn-proxio-findprice .findprice__subheading{font-size:2.4rem;margin-bottom:2.4rem}pn-proxio-findprice .resultHeading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:2em}pn-proxio-findprice .findprice__clear-all-filters{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:2.4rem;color:#005D92}pn-proxio-findprice .findprice__clear-all-filters .findprice__clear-all-filters__btn{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;cursor:pointer}pn-proxio-findprice .sizecategory{margin-top:1em;margin-bottom:3rem;font-size:0.9em;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}pn-proxio-findprice .weightoption{font-size:0.9em;margin:0 auto}pn-proxio-findprice .shipmentcountry{margin-top:3rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-proxio-findprice .shipmentcountry .shipmentcountry-header{text-align:center;font-size:2rem;font-weight:700;line-height:2.2rem}pn-proxio-findprice .shipmentcountry select{color:#005D92;font-size:1.6rem;font-weight:500;border-radius:0.8rem;cursor:pointer;outline:none;position:relative;display:-ms-flexbox;display:flex;padding:0.6em 1em;z-index:0;-webkit-transition:z-index 0s 0.5s;transition:z-index 0s 0.5s;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%}@media screen and (min-width: 500px){pn-proxio-findprice .shipmentcountry select{min-width:47.3rem;width:inherit}}pn-proxio-findprice .shipmentcountry .shipmentcountry-select-container{max-width:inherit;position:relative;margin-top:1.2rem;width:100%}@media screen and (min-width: 500px){pn-proxio-findprice .shipmentcountry .shipmentcountry-select-container{margin:0 auto;margin-top:1.2rem;width:inherit}}pn-proxio-findprice .shipmentcountry .shipmentcountry-select-container svg{position:absolute;z-index:1;right:1rem;top:1.5rem;pointer-events:none}pn-proxio-findprice .shipmentcountry .shipmentcountry-select-container svg path{fill:#005D92}pn-proxio-findprice .findprice-form-wrapper .weightoption .weightoption-content{text-align:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:row;flex-direction:row}pn-proxio-findprice .findprice-form-wrapper .weightoption .weightoption-content pn-choice-button{width:7em;line-height:3.3em;font-size:0.9em;vertical-align:bottom;background:#FFFFFF;border-radius:1rem}pn-proxio-findprice .findprice-form-wrapper .weightoption .weightoption-content pn-choice-button>label{-ms-flex-line-pack:center;align-content:center;-ms-flex-pack:center;justify-content:center;color:#000000;margin-bottom:0}pn-proxio-findprice .findprice-form-wrapper .weightoption .weightoption-content pn-choice-button ::before{content:"Max ";font-weight:lighter;color:#5E554A}pn-proxio-findprice .resultlist{max-width:60em;margin:3.2rem auto 3.2rem auto}pn-proxio-findprice .servicePoint{text-align:center}pn-proxio-findprice .servicePoint pn-illustration{display:block;max-width:5em;max-height:5em;margin:1.5em auto 0 auto}pn-proxio-findprice .servicePoint h3{margin-top:0.8em;margin-bottom:0.9em}pn-proxio-findprice .servicePoint a{color:#005D92;text-decoration:none}pn-proxio-findprice .servicePoint a:hover{color:#0D234B;text-decoration:underline}';var s=M("pn_proxio_findprice",function(){function M(M){i(this,M);this.fetchHelper=new N("proxiopricegroups");this.endpoint=null;this.language="da";this.market="dk";this.showMedium=false;this.showInternational=false;this.maxAbroadKg=0;this.weightListName="";this.cache=false;this.filteredItems=[];this.weight={value:0,name:""};this.weightvalue=0;this.countrycodevalue="";this.sizecategory={value:"",name:"",icon:"",unit:""};this.data={proxioProducts:[],shipmentCountries:[]}}M.prototype.componentWillLoad=function(){var M=this;this.setInitialValues().then((function(){M.init()}))};M.prototype.setInitialValues=function(M){if(M===void 0){M=window.location.href}return __awaiter(this,void 0,void 0,(function(){var i,e,N,g;return __generator(this,(function(D){switch(D.label){case 0:i=new t(M);return[4,i.getEnvironmentName()];case 1:e=D.sent();if(!(!this.endpoint&&(e===null||e===void 0?void 0:e.indexOf("local"))===-1))return[3,4];return[4,i.getMarket()];case 2:N=D.sent();this.market=this.market?this.market:N;g=this;return[4,i.getEndpoint(e,N)];case 3:g.endpoint=D.sent();D.label=4;case 4:if(!this.endpoint){this.endpoint=""}if(this.countrycodevalue===""){this.countrycodevalue=this.market.toLowerCase()}return[2]}}))}))};M.prototype.init=function(){var M=this;this.setState();this.fetchData().then((function(){M.getDataSource()}))};M.prototype.getDataSource=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(M){try{this.sizecategory=j.filter((function(M){return M.value==="S"}))[0];this.filterItems()}catch(i){console.log("Unable to parse data")}return[2]}))}))};M.prototype.fetchData=function(){return __awaiter(this,void 0,void 0,(function(){var M,i,e;return __generator(this,(function(N){switch(N.label){case 0:if(!this.market||!this.language){return[2]}M=this.endpoint.lastIndexOf("/")===this.endpoint.length-1?this.endpoint.substring(0,this.endpoint.length-1):this.endpoint;i="".concat(M,"/api/proxio/price-list-groups?market=").concat(this.market,"&language=").concat(this.language,"&cached=").concat(this.cache);return[4,this.fetchHelper.fetchJson(i,{mode:"cors"},false,this.onFetchData.bind(this))];case 1:e=N.sent();if(e){this.data=e;this.data.proxioProducts=e.proxioProducts}this.filterItems();return[2]}}))}))};M.prototype.onFetchData=function(M){this.data=M};M.prototype.setState=function(){this.market=this.market?this.market:"dk";if(this.market){z.market=I[this.market]}if(this.language&&D[this.language]){z.i18n=D[this.language]}};M.prototype.filterItems=function(){var M=this;var i,e;var N=this.data.proxioProducts.filter((function(i){return i.proxioProduct.productWeightGroupList.some((function(i){return i.item3.includes(M.sizecategory.value)}))}));if(!this.weight){return}var t=this.weight.value;var g=N===null||N===void 0?void 0:N.filter((function(M){return M.proxioProduct.productWeightGroupList.some((function(M){return M.item1===t}))}));var D=this.showInternational&&((e=((i=this.countrycodevalue)===null||i===void 0?void 0:i.trim())!=="")!==null&&e!==void 0?e:false);if(D){g=g===null||g===void 0?void 0:g.filter((function(i){return i.proxioProduct.weightPriceCountryList.some((function(i){return i.item3.includes(M.countrycodevalue.toUpperCase())}))}))}g=this.sortWeightItems(g,D);this.filteredItems=g};M.prototype.parseFloatFromString=function(M){var i;return parseFloat((i=M===null||M===void 0?void 0:M.replace(/[^\d\.\,]*/g,""))!==null&&i!==void 0?i:1e5)};M.prototype.sortWeightItems=function(M,i){var e=this;var N;(N=M===null||M===void 0?void 0:M.sort((function(M,N){var t=e.getSortNumber(M,i);var g=e.getSortNumber(N,i);if(t&&g){return t-g}if(t<g){return-1}if(t>g){return 1}return 0})))!==null&&N!==void 0?N:[];return M};M.prototype.getSortNumber=function(M,i){var e=this;var N,t,g,D,I,j,a,n,z,u,o,r;var c=(g=(t=(N=M===null||M===void 0?void 0:M.proxioProduct)===null||N===void 0?void 0:N.productWeightGroupList)===null||t===void 0?void 0:t.findIndex((function(M){return M.item1===e.weight.value})))!==null&&g!==void 0?g:0;if(c<0){c=0}var y=(a=(j=(I=(D=M===null||M===void 0?void 0:M.proxioProduct)===null||D===void 0?void 0:D.weightAndPriceList[c])===null||I===void 0?void 0:I.item2)===null||j===void 0?void 0:j.toLowerCase())!==null&&a!==void 0?a:"";if(i){var l=(z=(n=M===null||M===void 0?void 0:M.proxioProduct)===null||n===void 0?void 0:n.weightPriceCountryList)===null||z===void 0?void 0:z.filter((function(M){return M.item3.includes(e.countrycodevalue.toUpperCase())}));y=(r=(o=(u=l[c])===null||u===void 0?void 0:u.item2)===null||o===void 0?void 0:o.toLowerCase())!==null&&r!==void 0?r:""}var T=this.parseFloatFromString(y);return T};M.prototype.resetFilters=function(){var M,i,e;this.weight={value:0,name:""};this.sizecategory=j.filter((function(M){return M.value==="S"}))[0];this.weightvalue=0;this.countrycodevalue=(e=(i=(M=this.data)===null||M===void 0?void 0:M.shipmentCountries[0])===null||i===void 0?void 0:i.countryCode)!==null&&e!==void 0?e:this.market};M.prototype.getWeights=function(){var M=this;var i;var e=this.market+this.weightListName;var N=(i=a[e])!==null&&i!==void 0?i:{S:[],M:[],L:[]};var t=N[this.sizecategory.unit];var g=this.maxAbroadKg!=0&&this.countrycodevalue.toLowerCase()!==this.market.toLowerCase();t=g?t.filter((function(i){return i.value/1e3<=M.maxAbroadKg})):t;return t};M.prototype.handleDropdownChange=function(M){var i=M.target;var e=i.value;this.countrycodevalue=e};M.prototype.render=function(){var M=this;var i,N;return e("div",{class:"findprice-form"},e("div",{class:"findprice-form-wrapper"},e("h4",{class:"findprice__heading"},z.i18n.sizeheading),e("div",{class:"sizecategory"},e("table",{class:"sizeTable"},e("img",{id:"clouds",src:l}),e("tr",null,e("td",null,e("img",{class:"firstCell",src:y})),e("td",null,e("img",{src:o})),this.showMedium?e("td",null,e("img",{src:r})):null,e("td",null,e("img",{src:c}))),e("tr",null,e("td",null),j.map((function(i){return!M.showMedium&&i.value==="M"?null:e("td",null,e("pn-radio-button",{id:"findpricecategory-"+i.value,radioid:i.value,value:i.value,name:"sizecategory",checked:i.value===M.sizecategory.value,onChange:function(){M.sizecategory=j.filter((function(M){return M.value===i.value}))[0];M.weight={value:0,name:""};M.weightvalue=M.weight.value}}))}))))),e("h4",{class:"findprice__heading findprice__subheading"},z.i18n.weightheading),this.sizecategory.value&&this.getWeights()?e("div",{class:"weightoption"},e("div",{class:"weightoption-content"},this.getWeights().map((function(i){return e("pn-choice-button",{id:"findpriceweight-"+i.value,choiceid:M.sizecategory.value+i.value,name:"weight",type:"radio",value:!M.weight.value?0:M.getWeights().findIndex((function(i){return i.value===M.weightvalue})),checked:i.value===M.weight.value,onChange:function(){M.weight=M.getWeights().filter((function(M){return M.value===i.value}))[0];M.weightvalue=M.weight.value}},i.name)})))):null,this.showInternational&&((N=(i=this.data)===null||i===void 0?void 0:i.shipmentCountries)!==null&&N!==void 0?N:false)?e("div",{class:"shipmentcountry"},e("h4",{class:"shipmentcountry-header"},z.i18n.countryToSendTo),e("div",{class:"shipmentcountry-select-container"},e("svg",{class:"arrow",width:"18",height:"10",viewBox:"0 0 18 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.70711 9.70711C9.31658 10.0976 8.68342 10.0976 8.29289 9.70711L0.292892 1.70711C-0.0976315 1.31658 -0.0976315 0.683417 0.292892 0.292893C0.683418 -0.0976315 1.31658 -0.0976315 1.70711 0.292893L9 7.58579L16.2929 0.292893C16.6834 -0.0976315 17.3166 -0.0976315 17.7071 0.292893C18.0976 0.683417 18.0976 1.31658 17.7071 1.70711L9.70711 9.70711Z"})),e("select",{name:"shipmentCountry-select",id:"proxio-shipmentcountry",onChange:this.handleDropdownChange.bind(this)},this.data.shipmentCountries.map((function(i){return e("option",{selected:i.countryCode.toLowerCase()===M.countrycodevalue.toLowerCase(),value:i.countryCode},i.countryName)}))))):null,e("div",{class:"findprice__clear-all-filters",role:"button"},e("div",{class:"findprice__clear-all-filters__btn",onClick:function(){return M.resetFilters()}},e("pn-icon",{symbol:"trash-can",color:"blue700"}),e("span",{class:"clear-all-filters__text"},z.i18n.clearFilterButton)))),this.filteredItems&&this.filteredItems.length>0?e("div",{class:"resultlist"},z.i18n.resultlistheading?e("div",{class:"resultHeading"},z.i18n.resultlistheading):null,this.filteredItems.map((function(i){return e("div",null,e("pn-proxio-findprice-result",{activeweight:M.weight.value,item:i,language:M.language,"selected-countrycode":M.countrycodevalue,"show-international":M.showInternational,market:M.market}))}))):this.weightvalue!==0?e("h4",{class:"resultHeading"},z.i18n.noResultMessage):null)};Object.defineProperty(M,"watchers",{get:function(){return{market:["setState"],language:["setState"],sizecategory:["filterItems"],weightvalue:["filterItems"],countrycodevalue:["filterItems"]}},enumerable:false,configurable:true});return M}());s.style=T}}}));
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(M,i,e,N){function t(M){return M instanceof e?M:new e((function(i){i(M)}))}return new(e||(e=Promise))((function(e,g){function D(M){try{j(N.next(M))}catch(i){g(i)}}function I(M){try{j(N["throw"](M))}catch(i){g(i)}}function j(M){M.done?e(M.value):t(M.value).then(D,I)}j((N=N.apply(M,i||[])).next())}))};var __generator=this&&this.__generator||function(M,i){var e={label:0,sent:function(){if(g[0]&1)throw g[1];return g[1]},trys:[],ops:[]},N,t,g,D;return D={next:I(0),throw:I(1),return:I(2)},typeof Symbol==="function"&&(D[Symbol.iterator]=function(){return this}),D;function I(M){return function(i){return j([M,i])}}function j(I){if(N)throw new TypeError("Generator is already executing.");while(D&&(D=0,I[0]&&(e=0)),e)try{if(N=1,t&&(g=I[0]&2?t["return"]:I[0]?t["throw"]||((g=t["return"])&&g.call(t),0):t.next)&&!(g=g.call(t,I[1])).done)return g;if(t=0,g)I=[I[0]&2,g.value];switch(I[0]){case 0:case 1:g=I;break;case 4:e.label++;return{value:I[1],done:false};case 5:e.label++;t=I[1];I=[0];continue;case 7:I=e.ops.pop();e.trys.pop();continue;default:if(!(g=e.trys,g=g.length>0&&g[g.length-1])&&(I[0]===6||I[0]===2)){e=0;continue}if(I[0]===3&&(!g||I[1]>g[0]&&I[1]<g[3])){e.label=I[1];break}if(I[0]===6&&e.label<g[1]){e.label=g[1];g=I;break}if(g&&e.label<g[2]){e.label=g[2];e.ops.push(I);break}if(g[2])e.ops.pop();e.trys.pop();continue}I=i.call(M,e)}catch(j){I=[6,j];t=0}finally{N=g=0}if(I[0]&5)throw I[1];return{value:I[0]?I[1]:void 0,done:true}}};System.register(["./p-6259e4f4.system.js","./p-6bdc811d.system.js","./p-bdcedfe9.system.js"],(function(M){"use strict";var i,e,N,t,g;return{setters:[function(M){i=M.r;e=M.h},function(M){N=M.F;t=M.M},function(M){g=M.c}],execute:function(){var D={sv:{componentheading:"Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?",deliveryscopeheading:"Endast leveranser inom Sverige",resultlistheading:"Några bra alternativ för dig",sizeheading:"Uppskatta storleken på din försändelse",weightheading:"Uppskatta vikten på din försändelse",weightlabel:"Vikt",maxweightlabel:"Maxvikt",maxmeasurementlabel:"Maxvolym",senddirectcta:"Köp online",stampshopcta:"Till butiken",message:"*Vid köp hos valfritt ombud",servicePointHeader:"Eller hitta närmaste serviceställe",servicePointLink:"Hitta Serviceställe",realPostcard:"Köp Riktiga Vykort",realPostcardMobile:"Ladda ner appen",ombudHeader:"Köp via ombud",from:"Från ",labelMaxDimensionsRoll:"Rulle",labelMaxDimensions:"Maxmått",noResultMessage:"Inga produkter matchar dina kriterier",clearFilterButton:"Rensa alla filter",compensateUpTo:"Ersättning upp till",countryToSendTo:"Vilket land vill du skicka till?"},en:{componentheading:"Our prices and terms and conditions for domestic shipments for you as a direct paying customer",deliveryscopeheading:"Deliveries within Sweden only",resultlistheading:"Some suitable options for you",sizeheading:"Estimate the size of your shipment",weightheading:"Estimate the weight of your shipment",weightlabel:"Weight",maxweightlabel:"Max weight",maxmeasurementlabel:"Maximum measurement",senddirectcta:"Buy Online",stampshopcta:"To the Store",message:"When buying from any agent",servicePointHeader:"Find service point",servicePointLink:"Find service point",realPostcard:"Buy Postcards",realPostcardMobile:"Download the app",ombudHeader:"Purchase by agent",from:"From ",labelMaxDimensionsRoll:"Roll",labelMaxDimensions:"Maximum dimensions",noResultMessage:"No products match your criterias",clearFilterButton:"Clear all filters",compensateUpTo:"Compensated up to",countryToSendTo:"To which country do you want to send?"},da:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveringer indenfor Sverige",resultlistheading:"Dine muligheder",sizeheading:"Hvor stor er din forsendelse?",weightheading:"Hvor meget vejer din forsendelse?",weightlabel:"Vægt",maxweightlabel:"Max vægt",maxmeasurementlabel:"Maks. Volumen",senddirectcta:"Køb Online",stampshopcta:"Til butikken",message:"When buying from any agent",servicePointHeader:"Find nærmeste servicested",servicePointLink:"Find nærmeste servicested",realPostcard:"Køb Riktiga Vykort",ombudHeader:"Køb af agent",from:"Fra ",labelMaxDimensionsRoll:"Rulle",labelMaxDimensions:"Maks. mål og vægt",noResultMessage:"Ingen produkter matcher dine kriterier",clearFilterButton:"Ryd alle filtre",compensateUpTo:"Erstatning op til",countryToSendTo:"Hvilket land vil du sende til?"},no:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveranser innen Sverige",resultlistheading:"Some suitable options for you",weightlabel:"Vekt",maxweightlabel:"Maks vekt",maxmeasurementlabel:"Maks volum",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop",noResultMessage:"No products match your criterias",clearFilterButton:"Clear all filters",compensateUpTo:"Kompensert inntil",countryToSendTo:"Hvilket land vil du sende til?"},fi:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Toimitukset vain Ruotsin sisällä",resultlistheading:"Some suitable options for you",weightlabel:"Paino",maxweightlabel:"Max paino",maxmeasurementlabel:"Max äänenvoimakkuus",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop",noResultMessage:"No products match your criterias",clearFilterButton:"Clear all filters",compensateUpTo:"Korvaus asti",countryToSendTo:"Mihin maahan haluaisit lähettää?"}};var I={se:{currency:"kr",country:"Sweden",servicePoint:"https://www.postnord.se/vara-verktyg/sok-brevlada-eller-servicestalle"},dk:{currency:"dk",country:"Denmark",servicePoint:"https://www.postnord.dk/varktojer/find-os"},fi:{currency:" €",country:"Finland",servicePoint:""},no:{currency:"kr",country:"Norway",servicePoint:""}};var j=[{name:"S",value:"S",illustration:"eli1n",unit:"S"},{name:"M",value:"M",illustration:"medium-package",unit:"M"},{name:"L",value:"L",illustration:"large-package",unit:"L"}];var a={se:{S:[{name:"50 g",abbreviation:"g",value:50},{name:"100 g",abbreviation:"g",value:100},{name:"250 g",abbreviation:"g",value:250},{name:"500 g",abbreviation:"g",value:500},{name:"1 kg",abbreviation:"kg",value:1e3},{name:"2 kg",abbreviation:"kg",value:2e3}],M:[{name:"1 kg",abbreviation:"kg",value:1e3},{name:"2 kg",abbreviation:"kg",value:2e3},{name:"3 kg",abbreviation:"kg",value:3e3},{name:"5 kg",abbreviation:"kg",value:5e3},{name:"10 kg",abbreviation:"kg",value:1e4},{name:"15 kg",abbreviation:"kg",value:15e3},{name:"20 kg",abbreviation:"kg",value:2e4}],L:[{name:"3 kg",abbreviation:"kg",value:3e3},{name:"5 kg",abbreviation:"kg",value:5e3},{name:"10 kg",abbreviation:"kg",value:1e4},{name:"15 kg",abbreviation:"kg",value:15e3},{name:"20 kg",abbreviation:"kg",value:2e4}]},dk:{S:[{name:"50 g",abbreviation:"g",value:50},{name:"100 g",abbreviation:"g",value:100},{name:"250 g",abbreviation:"g",value:250},{name:"500 g",abbreviation:"g",value:500},{name:"1 kg",abbreviation:"kg",value:1e3},{name:"2 kg",abbreviation:"kg",value:2e3}],M:[],L:[{name:"2 kg",abbreviation:"kg",value:2e3},{name:"5 kg",abbreviation:"kg",value:5e3},{name:"10 kg",abbreviation:"kg",value:1e4},{name:"15 kg",abbreviation:"kg",value:15e3},{name:"20 kg",abbreviation:"kg",value:2e4},{name:"25 kg",abbreviation:"kg",value:25e3},{name:"30 kg",abbreviation:"kg",value:3e4},{name:"35 kg",abbreviation:"kg",value:35e3}]},dk01012024:{S:[{name:"100 g",abbreviation:"g",value:100},{name:"250 g",abbreviation:"g",value:250},{name:"500 g",abbreviation:"g",value:500},{name:"1 kg",abbreviation:"kg",value:1e3},{name:"2 kg",abbreviation:"kg",value:2e3}],M:[],L:[{name:"2 kg",abbreviation:"kg",value:2e3},{name:"5 kg",abbreviation:"kg",value:5e3},{name:"10 kg",abbreviation:"kg",value:1e4},{name:"15 kg",abbreviation:"kg",value:15e3},{name:"20 kg",abbreviation:"kg",value:2e4},{name:"25 kg",abbreviation:"kg",value:25e3},{name:"30 kg",abbreviation:"kg",value:3e4},{name:"35 kg",abbreviation:"kg",value:35e3}]}};var n=g({i18n:{componentheading:"",deliveryscopeheading:"",resultlistheading:"",sizeheading:"",weightheading:"",weightlabel:"",maxweightlabel:"",maxmeasurementlabel:"",senddirectcta:"",stampshopcta:"",message:"",servicePointHeader:"",servicePointLink:"",realPostcard:"",realPostcardMobile:"",ombudHeader:"",noResultMessage:"",clearFilterButton:"",countryToSendTo:""},market:{currency:"",country:"",servicePoint:""}}),z=n.state,u=n.onChange;var o="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTQiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCA1NCAzOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQ0LjM4NDggMzhINTAuMzAxN0M1MS45MzM5IDM4IDUzLjMxMTEgMzYuMjM1NyA1My4zMTExIDMzLjk5NjRWNC4wMDM1N0M1My4zMTExIDEuODMyMTQgNTEuOTg0OSAwIDUwLjMwMTcgMEg0NC4zODQ4VjM4WiIgZmlsbD0iIzAwNUQ5MiIvPgo8cGF0aCBkPSJNNDcuMzQzMyAzOEgxMy4zMjFDMTEuNjg4NyAzOCAxMC4zMTE1IDM2LjIzNTcgMTAuMzExNSAzMy45OTY0VjQuMDAzNTdDMTAuMzExNSAxLjgzMjE0IDExLjYzNzcgMCAxMy4zMjEgMEg0NC44NDM5QzQ2LjIyMTEgMCA0Ny4z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ggMjEuNjI3NyAxNjYuMjA5IDE4LjQ4MDggMTYyLjg5MSAxOC40ODA4SDE1OS45MDdDMTU4Ljc3NyAxMy44MDE1IDE1NS4zMyAxMC4zNzUzIDE1MS4yMzYgMTAuMzc1M0gxNDYuNDJDMTQ1Ljk3MSA0LjcwNTMzIDE0MS45MjEgMC4yNjcwOSAxMzYuOTkxIDAuMjY3MDlDMTMyLjA2MiAwLjI2NzA5IDEyOC4wMTIgNC43MDUzMyAxMjcuNTYzIDEwLjM3NTNIMTI0LjUyOEMxMTkuNTEgMTAuMzc1MyAxMTUuNDYzIDE1LjUyNDcgMTE1LjQ2MyAyMS44MTg0VjI2LjU4NjRIMTMxLjA1NloiIGZpbGw9IiNFMEY4RkYiLz4KPC9zdmc+Cg==";var T='@charset "UTF-8";pn-proxio-findprice .findprice-form{margin:0em auto 3em auto}pn-proxio-findprice .findprice-form-wrapper{background-color:#EFFBFF;padding:3.2rem}pn-proxio-findprice .sizeTable{border-style:none !important;border:0 !important;position:relative}pn-proxio-findprice .sizeTable>tr td{margin-bottom:1em;text-align:center;vertical-align:bottom;padding-right:1em;padding-top:1em;position:relative;z-index:1}pn-proxio-findprice .sizeTable #clouds{position:absolute;top:3rem;width:100%}pn-proxio-findprice .firstCell{margin-right:0;margin-left:auto}pn-proxio-findprice [slot=title]{margin-bottom:1rem}pn-proxio-findprice h2{text-align:center}pn-proxio-findprice .findprice__heading{text-align:center;line-height:1.1;font-weight:bold;color:#000000;font-size:3.2rem;font-weight:700}pn-proxio-findprice .findprice__subheading{font-size:2.4rem;margin-bottom:2.4rem}pn-proxio-findprice .resultHeading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:2em}pn-proxio-findprice .findprice__clear-all-filters{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:2.4rem;color:#005D92}pn-proxio-findprice .findprice__clear-all-filters .findprice__clear-all-filters__btn{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;cursor:pointer}pn-proxio-findprice .sizecategory{margin-top:1em;margin-bottom:3rem;font-size:0.9em;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}pn-proxio-findprice .weightoption{font-size:0.9em;margin:0 auto}pn-proxio-findprice .shipmentcountry{margin-top:3rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-proxio-findprice .shipmentcountry .shipmentcountry-header{text-align:center;font-size:2rem;font-weight:700;line-height:2.2rem}pn-proxio-findprice .shipmentcountry select{color:#005D92;font-size:1.6rem;font-weight:500;border-radius:0.8rem;cursor:pointer;outline:none;position:relative;display:-ms-flexbox;display:flex;padding:0.6em 1em;z-index:0;-webkit-transition:z-index 0s 0.5s;transition:z-index 0s 0.5s;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%}@media screen and (min-width: 500px){pn-proxio-findprice .shipmentcountry select{min-width:47.3rem;width:inherit}}pn-proxio-findprice .shipmentcountry .shipmentcountry-select-container{max-width:inherit;position:relative;margin-top:1.2rem;width:100%}@media screen and (min-width: 500px){pn-proxio-findprice .shipmentcountry .shipmentcountry-select-container{margin:0 auto;margin-top:1.2rem;width:inherit}}pn-proxio-findprice .shipmentcountry .shipmentcountry-select-container svg{position:absolute;z-index:1;right:1rem;top:1.5rem;pointer-events:none}pn-proxio-findprice .shipmentcountry .shipmentcountry-select-container svg path{fill:#005D92}pn-proxio-findprice .findprice-form-wrapper .weightoption .weightoption-content{text-align:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:row;flex-direction:row}pn-proxio-findprice .findprice-form-wrapper .weightoption .weightoption-content pn-choice-button{width:7em;line-height:3.3em;font-size:0.9em;vertical-align:bottom;background:#FFFFFF;border-radius:1rem}pn-proxio-findprice .findprice-form-wrapper .weightoption .weightoption-content pn-choice-button>label{-ms-flex-line-pack:center;align-content:center;-ms-flex-pack:center;justify-content:center;color:#000000;margin-bottom:0}pn-proxio-findprice .findprice-form-wrapper .weightoption .weightoption-content pn-choice-button ::before{content:"Max ";font-weight:lighter;color:#5E554A}pn-proxio-findprice .resultlist{max-width:60em;margin:3.2rem auto 3.2rem auto}pn-proxio-findprice .servicePoint{text-align:center}pn-proxio-findprice .servicePoint pn-illustration{display:block;max-width:5em;max-height:5em;margin:1.5em auto 0 auto}pn-proxio-findprice .servicePoint h3{margin-top:0.8em;margin-bottom:0.9em}pn-proxio-findprice .servicePoint a{color:#005D92;text-decoration:none}pn-proxio-findprice .servicePoint a:hover{color:#0D234B;text-decoration:underline}';var s=M("pn_proxio_findprice",function(){function M(M){i(this,M);this.fetchHelper=new N("proxiopricegroups");this.endpoint=null;this.language="da";this.market="dk";this.showMedium=false;this.showInternational=false;this.maxAbroadKg=0;this.weightListName="";this.cache=false;this.filteredItems=[];this.weight={value:0,name:""};this.weightvalue=0;this.countrycodevalue="";this.sizecategory={value:"",name:"",icon:"",unit:""};this.data={proxioProducts:[],shipmentCountries:[]}}M.prototype.componentWillLoad=function(){var M=this;this.setInitialValues().then((function(){M.init()}))};M.prototype.setInitialValues=function(M){if(M===void 0){M=window.location.href}return __awaiter(this,void 0,void 0,(function(){var i,e,N,g;return __generator(this,(function(D){switch(D.label){case 0:i=new t(M);return[4,i.getEnvironmentName()];case 1:e=D.sent();if(!(!this.endpoint&&(e===null||e===void 0?void 0:e.indexOf("local"))===-1))return[3,4];return[4,i.getMarket()];case 2:N=D.sent();this.market=this.market?this.market:N;g=this;return[4,i.getEndpoint(e,N)];case 3:g.endpoint=D.sent();D.label=4;case 4:if(!this.endpoint){this.endpoint=""}if(this.countrycodevalue===""){this.countrycodevalue=this.market.toLowerCase()}return[2]}}))}))};M.prototype.init=function(){var M=this;this.setState();this.fetchData().then((function(){M.getDataSource()}))};M.prototype.getDataSource=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(M){try{this.sizecategory=j.filter((function(M){return M.value==="S"}))[0];this.filterItems()}catch(i){console.log("Unable to parse data")}return[2]}))}))};M.prototype.fetchData=function(){return __awaiter(this,void 0,void 0,(function(){var M,i,e;return __generator(this,(function(N){switch(N.label){case 0:if(!this.market||!this.language){return[2]}M=this.endpoint.lastIndexOf("/")===this.endpoint.length-1?this.endpoint.substring(0,this.endpoint.length-1):this.endpoint;i="".concat(M,"/api/proxio/price-list-groups?market=").concat(this.market,"&language=").concat(this.language,"&cached=").concat(this.cache);return[4,this.fetchHelper.fetchJson(i,{mode:"cors"},false,this.onFetchData.bind(this))];case 1:e=N.sent();if(e){this.data=e;this.data.proxioProducts=e.proxioProducts}this.filterItems();return[2]}}))}))};M.prototype.onFetchData=function(M){this.data=M};M.prototype.setState=function(){this.market=this.market?this.market:"dk";if(this.market){z.market=I[this.market]}if(this.language&&D[this.language]){z.i18n=D[this.language]}};M.prototype.filterItems=function(){var M=this;var i,e;var N=this.data.proxioProducts.filter((function(i){return i.proxioProduct.productWeightGroupList.some((function(i){return i.item3.includes(M.sizecategory.value)}))}));if(!this.weight){return}var t=this.weight.value;var g=N===null||N===void 0?void 0:N.filter((function(M){return M.proxioProduct.productWeightGroupList.some((function(M){return M.item1===t}))}));var D=this.showInternational&&((e=((i=this.countrycodevalue)===null||i===void 0?void 0:i.trim())!=="")!==null&&e!==void 0?e:false);if(D){g=g===null||g===void 0?void 0:g.filter((function(i){return i.proxioProduct.weightPriceCountryList.some((function(i){return i.item3.includes(M.countrycodevalue.toUpperCase())}))}))}g=this.sortWeightItems(g,D);this.filteredItems=g};M.prototype.parseFloatFromString=function(M){var i;return parseFloat((i=M===null||M===void 0?void 0:M.replace(/[^\d\.\,]*/g,""))!==null&&i!==void 0?i:1e5)};M.prototype.sortWeightItems=function(M,i){var e=this;var N;(N=M===null||M===void 0?void 0:M.sort((function(M,N){var t=e.getSortNumber(M,i);var g=e.getSortNumber(N,i);if(t&&g){return t-g}if(t<g){return-1}if(t>g){return 1}return 0})))!==null&&N!==void 0?N:[];return M};M.prototype.getSortNumber=function(M,i){var e=this;var N,t,g,D,I,j,a,n,z,u,o,r;var c=(g=(t=(N=M===null||M===void 0?void 0:M.proxioProduct)===null||N===void 0?void 0:N.productWeightGroupList)===null||t===void 0?void 0:t.findIndex((function(M){return M.item1===e.weight.value})))!==null&&g!==void 0?g:0;if(c<0){c=0}var y=(a=(j=(I=(D=M===null||M===void 0?void 0:M.proxioProduct)===null||D===void 0?void 0:D.weightAndPriceList[c])===null||I===void 0?void 0:I.item2)===null||j===void 0?void 0:j.toLowerCase())!==null&&a!==void 0?a:"";if(i){var l=(z=(n=M===null||M===void 0?void 0:M.proxioProduct)===null||n===void 0?void 0:n.weightPriceCountryList)===null||z===void 0?void 0:z.filter((function(M){return M.item3.includes(e.countrycodevalue.toUpperCase())}));y=(r=(o=(u=l[c])===null||u===void 0?void 0:u.item2)===null||o===void 0?void 0:o.toLowerCase())!==null&&r!==void 0?r:""}var T=this.parseFloatFromString(y);return T};M.prototype.resetFilters=function(){var M,i,e;this.weight={value:0,name:""};this.sizecategory=j.filter((function(M){return M.value==="S"}))[0];this.weightvalue=0;this.countrycodevalue=(e=(i=(M=this.data)===null||M===void 0?void 0:M.shipmentCountries[0])===null||i===void 0?void 0:i.countryCode)!==null&&e!==void 0?e:this.market};M.prototype.getWeights=function(){var M=this;var i;var e=this.market+this.weightListName;var N=(i=a[e])!==null&&i!==void 0?i:{S:[],M:[],L:[]};var t=N[this.sizecategory.unit];var g=this.maxAbroadKg!=0&&this.countrycodevalue.toLowerCase()!==this.market.toLowerCase();t=g?t.filter((function(i){return i.value/1e3<=M.maxAbroadKg})):t;return t};M.prototype.handleDropdownChange=function(M){var i=M.target;var e=i.value;this.countrycodevalue=e};M.prototype.render=function(){var M=this;var i,N;return e("div",{class:"findprice-form"},e("div",{class:"findprice-form-wrapper"},e("h4",{class:"findprice__heading"},z.i18n.sizeheading),e("div",{class:"sizecategory"},e("table",{class:"sizeTable"},e("img",{id:"clouds",src:l}),e("tr",null,e("td",null,e("img",{class:"firstCell",src:y})),e("td",null,e("img",{src:o})),this.showMedium?e("td",null,e("img",{src:r})):null,e("td",null,e("img",{src:c}))),e("tr",null,e("td",null),j.map((function(i){return!M.showMedium&&i.value==="M"?null:e("td",null,e("pn-radio-button",{id:"findpricecategory-"+i.value,radioid:i.value,value:i.value,name:"sizecategory",checked:i.value===M.sizecategory.value,onChange:function(){M.sizecategory=j.filter((function(M){return M.value===i.value}))[0];M.weight={value:0,name:""};M.weightvalue=M.weight.value}}))}))))),e("h4",{class:"findprice__heading findprice__subheading"},z.i18n.weightheading),this.sizecategory.value&&this.getWeights()?e("div",{class:"weightoption"},e("div",{class:"weightoption-content"},this.getWeights().map((function(i){return e("pn-choice-button",{id:"findpriceweight-"+i.value,choiceid:M.sizecategory.value+i.value,name:"weight",type:"radio",value:!M.weight.value?0:M.getWeights().findIndex((function(i){return i.value===M.weightvalue})),checked:i.value===M.weight.value,onChange:function(){M.weight=M.getWeights().filter((function(M){return M.value===i.value}))[0];M.weightvalue=M.weight.value}},i.name)})))):null,this.showInternational&&((N=(i=this.data)===null||i===void 0?void 0:i.shipmentCountries)!==null&&N!==void 0?N:false)?e("div",{class:"shipmentcountry"},e("h4",{class:"shipmentcountry-header"},z.i18n.countryToSendTo),e("div",{class:"shipmentcountry-select-container"},e("svg",{class:"arrow",width:"18",height:"10",viewBox:"0 0 18 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.70711 9.70711C9.31658 10.0976 8.68342 10.0976 8.29289 9.70711L0.292892 1.70711C-0.0976315 1.31658 -0.0976315 0.683417 0.292892 0.292893C0.683418 -0.0976315 1.31658 -0.0976315 1.70711 0.292893L9 7.58579L16.2929 0.292893C16.6834 -0.0976315 17.3166 -0.0976315 17.7071 0.292893C18.0976 0.683417 18.0976 1.31658 17.7071 1.70711L9.70711 9.70711Z"})),e("select",{name:"shipmentCountry-select",id:"proxio-shipmentcountry",onChange:this.handleDropdownChange.bind(this)},this.data.shipmentCountries.map((function(i){return e("option",{selected:i.countryCode.toLowerCase()===M.countrycodevalue.toLowerCase(),value:i.countryCode},i.countryName)}))))):null,e("div",{class:"findprice__clear-all-filters",role:"button"},e("div",{class:"findprice__clear-all-filters__btn",onClick:function(){return M.resetFilters()}},e("pn-icon",{symbol:"trash-can",color:"blue700"}),e("span",{class:"clear-all-filters__text"},z.i18n.clearFilterButton)))),this.filteredItems&&this.filteredItems.length>0?e("div",{class:"resultlist"},z.i18n.resultlistheading?e("div",{class:"resultHeading"},z.i18n.resultlistheading):null,this.filteredItems.map((function(i){return e("div",null,e("pn-proxio-findprice-result",{activeweight:M.weight.value,item:i,language:M.language,"selected-countrycode":M.countrycodevalue,"show-international":M.showInternational,market:M.market}))}))):this.weightvalue!==0?e("h4",{class:"resultHeading"},z.i18n.noResultMessage):null)};Object.defineProperty(M,"watchers",{get:function(){return{market:["setState"],language:["setState"],sizecategory:["filterItems"],weightvalue:["filterItems"],countrycodevalue:["filterItems"]}},enumerable:false,configurable:true});return M}());s.style=T}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
class t{constructor(t=window.location.href){this.href="",this.market="",this.language="",this.environment="",this.url=null,this.allowedLanguages=["sv","da","fi","no","en","de","zh","fr","es","it","nl"],this.allowedMarkets=["se","dk","fi","no","com","de","tpl"],this.wwwMarkets=["se","dk","fi","no","de","com"],this.developmentDomains=["localhost",".local","local.",".dev","dev."],this.markets={se:{fallbackLanguage:"sv",integration:"se-inte.postnord.com",preproduction:"se-prep.postnord.com",production:"se-prod.postnord.com",live:"www.postnord.se"},dk:{fallbackLanguage:"da",integration:"dk-inte.postnord.com",preproduction:"dk-prep.postnord.com",production:"dk-prod.postnord.com",live:"www.postnord.dk"},fi:{fallbackLanguage:"fi",integration:"fi-inte.postnord.com",preproduction:"fi-prep.postnord.com",production:"fi-prod.postnord.com",live:"www.postnord.fi"},no:{fallbackLanguage:"no",integration:"no-inte.postnord.com",preproduction:"no-prep.postnord.com",production:"no-prod.postnord.com",live:"www.postnord.no"},com:{fallbackLanguage:"en",integration:"com-inte.postnord.com",preproduction:"com-prep.postnord.com",production:"com-prod.postnord.com",live:"www.postnord.com"},de:{fallbackLanguage:"en",integration:"de-inte.postnord.com",preproduction:"de-prep.postnord.com",production:"de-prod.postnord.com",live:"www.postnord.de"},tpl:{fallbackLanguage:"sv",integration:"tpl-inte.postnord.com",preproduction:"tpl-prep.postnord.com",production:"tpl-prod.postnord.com",live:"www.tpl.postnord.com"}},this.environmentTypes=["integration","preproduction","production","inte","prep","prod"],this.environments={production:{name:"production",url:"https://www.postnord.xx/"},preproduction:{name:"preproduction",url:"https://com-prep.postnord.com/"},integration:{name:"integration",url:"https://com-inte.postnord.com/"}},this.href=t,this.url=new URL(this.href)}async getLanguage(){return this.language||await this.resolveLanguage(),this.language}async getMarket(){return this.market||await this.resolveMarket(),this.market}async getEndpoint(t,o=""){let i=this.environments.production.url;if(this.markets[o]&&this.markets[o][t]){if("production"===t&&0===window.location.hostname.indexOf(this.markets[o].live))return"https://"+this.markets[o].live;if(0===window.location.hostname.indexOf(this.markets[o][t]))return"https://"+this.markets[o][t]}return this.environments[t]&&(i=this.environments[t].url,t===this.environments.production.name&&(-1!==this.wwwMarkets.indexOf(o)?i=i.replace(".xx","."+o):(i=i.replace(".xx",".com"),i=i.replace("www.",o+"."),"tpl"===o&&(i=i.replace("tpl.","www.tpl."))))),i}async getEnvironmentName(){const t=this.environmentTypes.filter((t=>-1!==this.url.hostname.indexOf("-"+t)))[0];return t?(this.environment=t,this.environment):-1!==this.url.hostname.indexOf("www.")?(this.environment=this.environments.production.name,this.environment):(this.environment=this.environments.integration.name,this.environment)}isDevEnvironment(){return this.developmentDomains.filter((t=>-1!==this.url.hostname.indexOf(t)))[0].length>0}async resolveMarket(){if(-1!==this.href.indexOf("//www.")){const t=this.url.hostname.substring(this.url.hostname.lastIndexOf(".")+1,this.url.hostname.length);t&&this.markets[t]?this.market=t:console.warn("Unable to define market from www. domain",this.href)}const t=this.environmentTypes.filter((t=>-1!==this.url.hostname.indexOf("-"+t)));if(!this.market&&t&&t.length>0){const o=this.url.hostname.substring(0,this.url.hostname.indexOf("-"+t[0]));o&&this.markets[o]?this.market=o:console.warn("Unable to define market from preset environment names",this.href)}if(!this.market&&-1===this.url.hostname.indexOf("www")&&this.url.hostname.indexOf(".postnord.")>0){const t=this.url.hostname.indexOf(".")!==this.url.hostname.indexOf(".postnord")?this.url.hostname.indexOf("."):0,o=this.url.hostname.substring(t,this.url.hostname.indexOf(".postnord."));if(-1!==this.allowedMarkets.indexOf(o))return void(this.market=o)}if(!this.market){const t=this.developmentDomains.filter((t=>-1!==this.url.hostname.indexOf(t)))[0];if(!t)return void(this.market=this.allowedMarkets[0]);const o=this.href.replace(t,"");let i=this.allowedMarkets.filter((t=>["."+t,t+".","/"+t+"/"].filter((t=>-1!==o.indexOf(t))).length>0))[0];if(i)this.market=i;else{let t=Object.entries(this.markets).filter((t=>["."+t[1].fallbackLanguage,t[1].fallbackLanguage+".","/"+t[1].fallbackLanguage+"/"].filter((t=>-1!==o.indexOf(t))).length>0))[0];t&&t[0]&&(this.market=t[0])}}this.market||(console.info("Was unable to detect market, used fallback"),this.market=this.allowedMarkets[0])}async resolveLanguage(){var t,o,i,n;this.language||([null===(t=document.querySelector("html[lang]"))||void 0===t?void 0:t.getAttribute("lang"),null===(o=document.querySelector('[http-equiv="content-language"][content]'))||void 0===o?void 0:o.getAttribute("content"),null===(i=document.querySelector('[property="og:locale"][content]'))||void 0===i?void 0:i.getAttribute("content"),null===(n=document.querySelector("[lang]"))||void 0===n?void 0:n.getAttribute("lang")].filter((t=>t)).forEach((t=>{this.allowedLanguages.indexOf(t)&&(this.language=t)})),!this.language&&this.market&&(this.language=this.markets[this.market].fallbackLanguage))}}class o{constructor(t=""){this.storagePrefix="",this.store={get:(t,o=!1)=>{const i=o?window.localStorage:window.sessionStorage,n=o?window.sessionStorage:window.localStorage;let s=i.getItem(`${this.storagePrefix}-${t}`);if(s||(s=n.getItem(`${this.storagePrefix}-${t}`)),!s)return s;if(0===s.indexOf("{"))try{return JSON.parse(s)}catch(e){}return-1!==s.indexOf(",")?s.split(","):s},set:(t,o,i=!1)=>{(i?window.localStorage:window.sessionStorage).setItem(`${this.storagePrefix}-${t}`,"object"!=typeof o||void 0!==o.length?o:JSON.stringify(o))},remove:t=>{window.sessionStorage.removeItem(`${this.storagePrefix}-${t}`)}},this.storagePrefix=t}async fetchJson(t,o={},i=!1,n=null){return new Promise((async s=>{let e=!0;const r="string"==typeof t?t:t.url;let p=null,d=null;if(i&&(d=this.store.get(r),d&&!d.permanent&&(e=!1),d&&d.data&&(p=d.data,s(p))),e){const e=await window.fetch(t,o);p=await e.json(),s(p),i&&("function"==typeof n&&null!=d&&n(p),this.store.set(r,this.wrapJson(p,!0),!0),this.store.set(r,this.wrapJson(p,!1),!1))}}))}wrapJson(t,o=!1){const i=new Date;return{timestamp:i.getTime(),time:i.toISOString(),data:t,permanent:o}}}export{o as F,t as M}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function a(t){try{u(r.next(t))}catch(e){i(e)}}function s(t){try{u(r["throw"](t))}catch(e){i(e)}}function u(t){t.done?n(t.value):o(t.value).then(a,s)}u((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return u([t,e])}}function u(s){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(n=0)),n)try{if(r=1,o&&(i=s[0]&2?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;if(o=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++;o=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=e.call(t,n)}catch(u){s=[6,u];o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register([],(function(t){"use strict";return{execute:function(){var e=function(){function t(t){if(t===void 0){t=window.location.href}this.href="";this.market="";this.language="";this.environment="";this.url=null;this.allowedLanguages=["sv","da","fi","no","en","de","zh","fr","es","it","nl"];this.allowedMarkets=["se","dk","fi","no","com","de","tpl"];this.wwwMarkets=["se","dk","fi","no","de","com"];this.developmentDomains=["localhost",".local","local.",".dev","dev."];this.markets={se:{fallbackLanguage:"sv",integration:"se-inte.postnord.com",preproduction:"se-prep.postnord.com",production:"se-prod.postnord.com",live:"www.postnord.se"},dk:{fallbackLanguage:"da",integration:"dk-inte.postnord.com",preproduction:"dk-prep.postnord.com",production:"dk-prod.postnord.com",live:"www.postnord.dk"},fi:{fallbackLanguage:"fi",integration:"fi-inte.postnord.com",preproduction:"fi-prep.postnord.com",production:"fi-prod.postnord.com",live:"www.postnord.fi"},no:{fallbackLanguage:"no",integration:"no-inte.postnord.com",preproduction:"no-prep.postnord.com",production:"no-prod.postnord.com",live:"www.postnord.no"},com:{fallbackLanguage:"en",integration:"com-inte.postnord.com",preproduction:"com-prep.postnord.com",production:"com-prod.postnord.com",live:"www.postnord.com"},de:{fallbackLanguage:"en",integration:"de-inte.postnord.com",preproduction:"de-prep.postnord.com",production:"de-prod.postnord.com",live:"www.postnord.de"},tpl:{fallbackLanguage:"sv",integration:"tpl-inte.postnord.com",preproduction:"tpl-prep.postnord.com",production:"tpl-prod.postnord.com",live:"www.tpl.postnord.com"}};this.environmentTypes=["integration","preproduction","production","inte","prep","prod"];this.environments={production:{name:"production",url:"https://www.postnord.xx/"},preproduction:{name:"preproduction",url:"https://com-prep.postnord.com/"},integration:{name:"integration",url:"https://com-inte.postnord.com/"}};this.href=t;this.url=new URL(this.href)}t.prototype.getLanguage=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(this.language){return[2,this.language]}return[4,this.resolveLanguage()];case 1:t.sent();return[2,this.language]}}))}))};t.prototype.getMarket=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(this.market){return[2,this.market]}return[4,this.resolveMarket()];case 1:t.sent();return[2,this.market]}}))}))};t.prototype.getEndpoint=function(t,e){if(e===void 0){e=""}return __awaiter(this,void 0,void 0,(function(){var n;return __generator(this,(function(r){n=this.environments.production.url;if(this.markets[e]&&this.markets[e][t]){if(t==="production"&&window.location.hostname.indexOf(this.markets[e]["live"])===0){return[2,"https://"+this.markets[e]["live"]]}if(window.location.hostname.indexOf(this.markets[e][t])===0){return[2,"https://"+this.markets[e][t]]}}if(this.environments[t]){n=this.environments[t].url;if(t===this.environments.production.name){if(this.wwwMarkets.indexOf(e)!==-1){n=n.replace(".xx","."+e)}else{n=n.replace(".xx",".com");n=n.replace("www.",e+".");if(e==="tpl"){n=n.replace("tpl.","www.tpl.")}}}}return[2,n]}))}))};t.prototype.getEnvironmentName=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(n){t=this.environmentTypes.filter((function(t){return e.url.hostname.indexOf("-"+t)!==-1}))[0];if(t){this.environment=t;return[2,this.environment]}if(this.url.hostname.indexOf("www.")!==-1){this.environment=this.environments.production.name;return[2,this.environment]}this.environment=this.environments.integration.name;return[2,this.environment]}))}))};t.prototype.isDevEnvironment=function(){var t=this;var e=this.developmentDomains.filter((function(e){return t.url.hostname.indexOf(e)!==-1}))[0];return e.length>0};t.prototype.resolveMarket=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,n,r,o,i,a,s,u,l;var c=this;return __generator(this,(function(f){if(this.href.indexOf("//www.")!==-1){t=this.url.hostname.substring(this.url.hostname.lastIndexOf(".")+1,this.url.hostname.length);if(t&&this.markets[t]){this.market=t}else{console.warn("Unable to define market from www. domain",this.href)}}e=this.environmentTypes.filter((function(t){return c.url.hostname.indexOf("-"+t)!==-1}));if(!this.market&&e&&e.length>0){n=e[0];r=this.url.hostname.substring(0,this.url.hostname.indexOf("-"+n));if(r&&this.markets[r]){this.market=r}else{console.warn("Unable to define market from preset environment names",this.href)}}if(!this.market){if(this.url.hostname.indexOf("www")===-1&&this.url.hostname.indexOf(".postnord.")>0){o=this.url.hostname.indexOf(".")!==this.url.hostname.indexOf(".postnord")?this.url.hostname.indexOf("."):0;i=this.url.hostname.substring(o,this.url.hostname.indexOf(".postnord."));if(this.allowedMarkets.indexOf(i)!==-1){this.market=i;return[2]}}}if(!this.market){a=this.developmentDomains.filter((function(t){return c.url.hostname.indexOf(t)!==-1}))[0];if(!a){this.market=this.allowedMarkets[0];return[2]}s=this.href.replace(a,"");u=this.allowedMarkets.filter((function(t){var e=["."+t,t+".","/"+t+"/"];var n=e.filter((function(t){return s.indexOf(t)!==-1}));return n.length>0}))[0];if(u){this.market=u}else{l=Object.entries(this.markets).filter((function(t){var e=["."+t[1].fallbackLanguage,t[1].fallbackLanguage+".","/"+t[1].fallbackLanguage+"/"];var n=e.filter((function(t){return s.indexOf(t)!==-1}));return n.length>0}))[0];if(l&&l[0]){this.market=l[0]}}}if(!this.market){console.info("Was unable to detect market, used fallback");this.market=this.allowedMarkets[0]}return[2]}))}))};t.prototype.resolveLanguage=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,n,r,o;var i=this;return __generator(this,(function(a){if(this.language){return[2]}o=[(t=document.querySelector("html[lang]"))===null||t===void 0?void 0:t.getAttribute("lang"),(e=document.querySelector('[http-equiv="content-language"][content]'))===null||e===void 0?void 0:e.getAttribute("content"),(n=document.querySelector('[property="og:locale"][content]'))===null||n===void 0?void 0:n.getAttribute("content"),(r=document.querySelector("[lang]"))===null||r===void 0?void 0:r.getAttribute("lang")];o.filter((function(t){return t})).forEach((function(t){if(i.allowedLanguages.indexOf(t)){i.language=t;return}}));if(!this.language&&this.market){this.language=this.markets[this.market].fallbackLanguage}return[2]}))}))};return t}();t("M",e);var n=function(){function t(t){if(t===void 0){t=""}var e=this;this.storagePrefix="";this.store={get:function(t,n){if(n===void 0){n=false}var r=n?window.localStorage:window.sessionStorage;var o=n?window.sessionStorage:window.localStorage;var i=r.getItem("".concat(e.storagePrefix,"-").concat(t));if(!i){i=o.getItem("".concat(e.storagePrefix,"-").concat(t))}if(!i){return i}if(i.indexOf("{")===0){try{return JSON.parse(i)}catch(a){}}if(i.indexOf(",")!==-1){return i.split(",")}return i},set:function(t,n,r){if(r===void 0){r=false}var o=r?window.localStorage:window.sessionStorage;if(typeof n==="object"&&typeof n.length==="undefined"){o.setItem("".concat(e.storagePrefix,"-").concat(t),JSON.stringify(n));return}o.setItem("".concat(e.storagePrefix,"-").concat(t),n)},remove:function(t){window.sessionStorage.removeItem("".concat(e.storagePrefix,"-").concat(t))}};this.storagePrefix=t}t.prototype.fetchJson=function(t,e,n,r){if(e===void 0){e={}}if(n===void 0){n=false}if(r===void 0){r=null}return __awaiter(this,void 0,void 0,(function(){var o;var i=this;return __generator(this,(function(a){o=new Promise((function(o){return __awaiter(i,void 0,void 0,(function(){var i,a,s,u,l,c;return __generator(this,(function(f){switch(f.label){case 0:i=true;a=typeof t==="string"?t:t.url;s=a;u=null;l=null;if(n){l=this.store.get(s);if(l&&!l.permanent){i=false}if(l&&l.data){u=l.data;o(u)}}if(!i)return[3,3];return[4,window.fetch(t,e)];case 1:c=f.sent();return[4,c.json()];case 2:u=f.sent();o(u);if(n){if(typeof r==="function"&&l!=null){r(u)}this.store.set(s,this.wrapJson(u,true),true);this.store.set(s,this.wrapJson(u,false),false)}f.label=3;case 3:return[2]}}))}))}));return[2,o]}))}))};t.prototype.wrapJson=function(t,e){if(e===void 0){e=false}var n=new Date;return{timestamp:n.getTime(),time:n.toISOString(),data:t,permanent:e}};return t}();t("F",n)}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,a as o,g as i}from"./p-d0e65d70.js";import{F as r,M as n}from"./p-dbfeae15.js";const a=(t="",e="#005D92")=>{switch(t){case"facebook":return`<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">\n <circle cx="28" cy="28" r="28" fill="${e}" />\n <path fill-rule="evenodd" clip-rule="evenodd" d="M38.6754 16H17.3246C16.593 16 16 16.5929 16 17.3246V38.6754C16 39.407 16.593 40 17.3246 40H28.8191V30.706H25.6915V27.0839H28.8191V24.4127C28.8191 21.3128 30.7124 19.6248 33.4778 19.6248C34.8023 19.6248 35.9409 19.7235 36.2726 19.7675V23.0071L34.3547 23.008C32.8507 23.008 32.5596 23.7226 32.5596 24.7713V27.0839H36.1463L35.6793 30.706H32.5596V40H38.6754C39.407 40 40 39.407 40 38.6754V17.3246C40 16.5929 39.407 16 38.6754 16Z" fill="white" />\n </svg>`;case"twitter":return`<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">\n <circle cx="28" cy="28" r="28" fill="${e}"/>\n <path d="M34.8996 17.5H38.5996L30.5996 26.4L39.9996 38.6H32.5996L26.7996 31.2L20.1996 38.6H16.4996L25.0996 29L16.0996 17.5H23.5996L28.7996 24.2L34.8996 17.5ZM33.5996 36.4H35.5996L22.4996 19.5H20.2996L33.5996 36.4Z" fill="white"/>\n </svg>`;case"linkedin":return`<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">\n <circle cx="28" cy="28" r="28" fill="${e}" />\n <path d="M37.5809 16H18.4191C17.0832 16 16 17.0747 16 18.399V37.601C16 38.9267 17.0832 40 18.4191 40H37.5809C38.9182 40 40 38.9253 40 37.601V18.399C40 17.0747 38.9182 16 37.5809 16ZM23.7013 34.9895H20.4725V24.7229H23.7013V34.9895ZM22.0653 23.4634C21.0462 23.4634 20.3874 22.7487 20.3874 21.8672C20.3874 20.965 21.0672 20.2711 22.1085 20.2711C23.1499 20.2711 23.7864 20.9636 23.8074 21.8672C23.8074 22.7501 23.1485 23.4634 22.0653 23.4634ZM35.4912 34.9895H32.2624V29.3002C32.2624 27.9772 31.7948 27.075 30.6264 27.075C29.7344 27.075 29.204 27.6834 28.9695 28.2711C28.8843 28.4808 28.8634 28.7746 28.8634 29.0685V34.9881H25.6332V27.9979C25.6332 26.7177 25.5913 25.6472 25.5481 24.7229H28.3525L28.5018 26.1507H28.566C28.9904 25.4789 30.0318 24.4925 31.7739 24.4925C33.8984 24.4925 35.4912 25.8996 35.4912 28.9222V34.9895Z" fill="white" />\n </svg>`;case"instagram":return`<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">\n <circle cx="28" cy="28" r="28" fill="${e}" />\n <path fill-rule="evenodd" clip-rule="evenodd" d="M27.9995 18.1621C31.2037 18.1621 31.5829 18.1745 32.8485 18.2321C34.0183 18.2854 34.6538 18.4807 35.0767 18.6451C35.6369 18.8628 36.0365 19.1228 36.4566 19.5425C36.8768 19.9626 37.1368 20.3623 37.354 20.9224C37.5184 21.3454 37.7137 21.9808 37.767 23.1507C37.8246 24.4158 37.837 24.7955 37.837 27.9998C37.837 31.204 37.8246 31.5832 37.767 32.8488C37.7137 34.0187 37.5184 34.6541 37.354 35.0771C37.1363 35.6373 36.8763 36.0369 36.4566 36.457C36.0365 36.8772 35.6369 37.1372 35.0767 37.3545C34.6538 37.5188 34.0183 37.7141 32.8485 37.7674C31.5834 37.8251 31.2037 37.8375 27.9995 37.8375C24.7953 37.8375 24.4157 37.8251 23.1506 37.7674C21.9807 37.7141 21.3453 37.5188 20.9223 37.3545C20.3622 37.1368 19.9625 36.8767 19.5424 36.457C19.1223 36.0369 18.8622 35.6373 18.645 35.0771C18.4807 34.6541 18.2854 34.0187 18.232 32.8488C18.1744 31.5837 18.162 31.204 18.162 27.9998C18.162 24.7955 18.1744 24.4163 18.232 23.1507C18.2854 21.9808 18.4807 21.3454 18.645 20.9224C18.8627 20.3623 19.1228 19.9626 19.5424 19.5425C19.9625 19.1224 20.3622 18.8623 20.9223 18.6451C21.3453 18.4807 21.9807 18.2854 23.1506 18.2321C24.4161 18.1745 24.7953 18.1621 27.9995 18.1621ZM27.9995 16C24.7405 16 24.3318 16.0138 23.052 16.0724C21.7749 16.1305 20.9028 16.3334 20.1392 16.6302C19.35 16.9369 18.6807 17.3471 18.0139 18.0144C17.347 18.6813 16.9365 19.3505 16.6302 20.1393C16.3334 20.9029 16.1305 21.7751 16.0724 23.0521C16.0138 24.332 16 24.7407 16 27.9998C16 31.2588 16.0138 31.6675 16.0724 32.9474C16.1305 34.2245 16.3334 35.0966 16.6302 35.8602C16.9369 36.6495 17.347 37.3187 18.0144 37.9856C18.6817 38.6529 19.3505 39.0631 20.1397 39.3698C20.9028 39.6666 21.7754 39.8695 23.0524 39.9276C24.3323 39.9862 24.741 40 28 40C31.259 40 31.6677 39.9862 32.9476 39.9276C34.2246 39.8695 35.0972 39.6666 35.8603 39.3698C36.6495 39.0631 37.3188 38.6529 37.9856 37.9856C38.653 37.3182 39.0631 36.6495 39.3698 35.8602C39.6666 35.0971 39.8695 34.2245 39.9276 32.9474C39.9862 31.6675 40 31.2588 40 27.9998C40 24.7407 39.9862 24.332 39.9276 23.0521C39.8695 21.7751 39.6666 20.9024 39.3698 20.1393C39.0631 19.35 38.653 18.6808 37.9856 18.0139C37.3183 17.3466 36.6495 16.9365 35.8603 16.6297C35.0963 16.3334 34.2241 16.1305 32.9471 16.0724C31.6672 16.0138 31.2585 16 27.9995 16ZM27.9996 21.8379C24.5963 21.8379 21.8379 24.5969 21.8379 27.9998C21.8379 31.4027 24.5968 34.1616 27.9996 34.1616C31.4025 34.1616 34.1613 31.4027 34.1613 27.9998C34.1613 24.5969 31.4029 21.8379 27.9996 21.8379ZM27.9996 31.9995C25.7904 31.9995 23.9999 30.2085 23.9999 27.9998C23.9999 25.7905 25.7909 24 27.9996 24C30.2083 24 31.9993 25.791 31.9993 27.9998C31.9993 30.209 30.2088 31.9995 27.9996 31.9995ZM35.845 21.594C35.845 22.3892 35.2003 23.0339 34.4051 23.0339C33.6098 23.0339 32.9651 22.3892 32.9651 21.594C32.9651 20.7987 33.6098 20.154 34.4051 20.154C35.2003 20.154 35.845 20.7987 35.845 21.594Z" fill="white" />\n </svg>`;case"youtube":return`<svg width="56" height="56" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 56 56" style="enable-background:new 0 0 56 56;" xml:space="preserve">\n <circle fill="${e}" cx="28" cy="28" r="28"></circle>\n <g transform="translate(9937 4831.656)">\n <path fill="#fff" d="M-9909-4793.8c0,0-2.2,0-4.7-0.1c-1.4,0-2.7-0.1-3.7-0.2c-1.3-0.1-2.1-0.2-2.6-0.3\n c-0.3-0.1-0.6-0.2-0.9-0.4c-0.3-0.2-0.5-0.3-0.7-0.6s-0.4-0.5-0.6-0.7c-0.2-0.3-0.3-0.6-0.4-0.9c-0.4-1.7-0.6-4-0.6-6.7\n c0-1.2,0.1-2.4,0.2-3.6c0.1-0.6,0.1-1.1,0.2-1.7c0.1-0.5,0.1-1.1,0.2-1.5c0.1-0.3,0.2-0.6,0.4-0.9c0.2-0.3,0.3-0.5,0.6-0.7\n s0.5-0.4,0.7-0.6c0.3-0.2,0.6-0.3,0.9-0.4c0.5-0.1,1.4-0.3,2.6-0.3c1-0.1,2.2-0.1,3.7-0.2c2.4-0.1,4.6-0.1,4.7-0.1\n c0,0,2.2,0,4.7,0.1c1.4,0,2.7,0.1,3.7,0.2c1.3,0.1,2.1,0.2,2.6,0.3c0.3,0.1,0.6,0.2,0.9,0.4c0.3,0.2,0.5,0.3,0.7,0.6\n s0.4,0.5,0.6,0.7c0.2,0.3,0.3,0.6,0.4,0.9c0.2,0.9,0.4,2,0.5,3.1c0.1,1.1,0.1,2.3,0.1,3.6c0,1.2-0.1,2.4-0.2,3.6\n c-0.1,0.6-0.1,1.1-0.2,1.7c-0.1,0.5-0.2,1.1-0.2,1.5c-0.1,0.3-0.2,0.6-0.4,0.9c-0.2,0.3-0.3,0.5-0.6,0.7c-0.2,0.2-0.5,0.4-0.7,0.6\n c-0.3,0.2-0.6,0.3-0.9,0.4c-0.5,0.1-1.4,0.3-2.6,0.3c-1,0.1-2.2,0.1-3.7,0.2C-9906.8-4793.8-9909-4793.8-9909-4793.8z\n M-9911.8-4807.9v8.4l7.3-4.2L-9911.8-4807.9z"></path>\n </g>\n </svg>`;default:return""}},s={sv:{searchlabel:"Sök",searchplaceholder:"Vad letar du efter?",searchbuttontext:"Sök",menuHomeButton:"Hem",menuGoBackButton:"Gå tillbaka",mainMenuButton:"Meny",menuStartButton:"Start"},en:{searchlabel:"Search",searchplaceholder:"Search",searchbuttontext:"Search",menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start"},da:{searchlabel:"Søg",searchplaceholder:"Søg",searchbuttontext:"Søg",menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbage",mainMenuButton:"Menu",menuStartButton:"Start"},no:{searchlabel:"Søk",searchplaceholder:"Søk",searchbuttontext:"Søk",menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbake",mainMenuButton:"Meny",menuStartButton:"Start"},fi:{searchlabel:"Hae",searchplaceholder:"Hae",searchbuttontext:"Hae",menuHomeButton:"Koti",menuGoBackButton:"Mene takaisin",mainMenuButton:"Valikko",menuStartButton:"Alkaa"},zh:{searchlabel:"Search",searchplaceholder:"Search",searchbuttontext:"Search",menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start"},it:{searchlabel:"Search",searchplaceholder:"Search",searchbuttontext:"Search",menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start"},nl:{searchlabel:"Search",searchplaceholder:"Search",searchbuttontext:"Search",menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start"}},l=class{constructor(e){t(this,e),this.fetchHelper=new r("sitefooter"),this.endpointPath="/api/footer/footer",this.market="se",this.language="sv",this.environment=null,this.endpoint=null,this.siteDomainInUrls=!1,this.cache=!1,this.theme="default",this.backgroundcolor="darkestblue",this.showSwan=!1,this.siteDefinition=void 0,this.footerContent=void 0,this.i18n=void 0,this.gotData=!1,this.fetchingData=!1}componentWillLoad(){this.setInitialValues().then((()=>{this.init()}))}async setInitialValues(t=window.location.href){var e;const o=new n(t);if(!this.market){const t=await o.getMarket();this.market=t}if(!this.language){const t=await o.getLanguage();this.language=t}this.environment||(this.environment=await o.getEnvironmentName()),this.endpoint||-1!==(null===(e=this.environment)||void 0===e?void 0:e.indexOf("local"))||(this.endpoint=await o.getEndpoint(this.environment,this.market)),this.endpoint||(this.endpoint="")}async init(){this.setTranslations(),await this.fetchData()}setTranslations(){this.language&&s[this.language]&&(this.i18n=s[this.language])}onLanguageChange(){this.setTranslations(),this.fetchData()}onMarketChange(){this.fetchData()}setFetchUrl(t){return"dotcom"===this.theme?`${t}${this.endpointPath}?market=${this.market}&language=${this.language}&breakOutSocialMedia=true&extendColumns=true`:`${t}${this.endpointPath}?market=${this.market}&language=${this.language}`}async fetchData(){if(null===this.endpoint||!this.market||!this.language)return;this.fetchingData=!0;const t=this.endpoint.lastIndexOf("/")===this.endpoint.length-1?this.endpoint.substring(0,this.endpoint.length-1):this.endpoint,e=this.setFetchUrl(t),o=await this.fetchHelper.fetchJson(e,{mode:"cors"},this.cache,this.onFetchRefreshed.bind(this));await this.setStateFromData(o)}onFetchRefreshed(t){this.setStateFromData(t)}setStateFromData(t){"object"!=typeof t&&console.warn("Data was not valid",t),this.siteDefinition=t.sitedefinition,this.footerContent=t.footer,this.siteDomainInUrls&&this.adjustLinks(),this.gotData=!0,this.fetchingData=!0}adjustLinks(){this.footerContent.bottomLinks.forEach((t=>{t.linkHref=this.adjustHref(t.linkHref)})),this.footerContent.columns.forEach((t=>{t.links.forEach((t=>{t.linkHref=this.adjustHref(t.linkHref)}))}))}adjustHref(t){return t&&0!==t.indexOf("http")?(this.siteDefinition.url.lastIndexOf("/")===this.siteDefinition.url.length-1?this.siteDefinition.url.substring(0,this.siteDefinition.url.length-1):this.siteDefinition.url)+t:t}uniqueId(t){return"footer-"+t.replace(/[^A-Za-z0-9.\\\/]/gim,"")}renderCols(){var t;return this.gotData&&(null===(t=this.footerContent)||void 0===t?void 0:t.columns)?this.footerContent.columns.map((t=>e("pn-site-footer-col",{theme:this.theme},t.firstLinkAsHeader&&t.links&&t.links[0]?e("a",{href:t.links[0].linkHref,target:t.links[0].openInNewWindow?"_blank":null,rel:t.links[0].openInNewWindow?"noopener nofollower noreferrer":null,title:t.links[0].linkText,id:this.uniqueId(t.links[0].linkText)},e("h3",null,t.links[0].linkText)):e("h3",null,t.heading),!t.links||t.body&&"tpl"!==this.theme?null:e("ul",Object.assign({},t.links&&t.links[0]&&t.links[0].linkType&&{class:"social-media"}),t.links.map(((o,i)=>{if(!o.linkHref||t.firstLinkAsHeader&&0==i)return!1;let r=o.linkText;o.linkType&&(r=a(o.linkType));let n=this.uniqueId(r);return e("li",null,e("a",Object.assign({href:o.linkHref},o.openInNewWindow&&{target:"_blank"},{title:o.linkText,innerHTML:r,id:n}),"tpl"===this.theme?e("span",{class:"footer-tpl-links"},o.linkText):null))}))),t.body?e("div",{innerHTML:t.body}):null,e("slot",{name:"bottomsocialmediadesktop"}),e("slot",{name:"bottomsocialmediamobile"})))):null}renderBottomLinks(){return this.footerContent.bottomLinks.map((t=>{if(!t.linkHref)return e("li",null,t.linkText);let o=this.uniqueId(t.linkText);return e("li",null,e("a",Object.assign({href:t.linkHref},t.openInNewWindow&&{target:"_blank"},{title:t.linkText,id:o}),t.linkText))}))}renderDefaultFooter(){var t,i,r,n;return e(o,{language:this.language,market:this.market,environment:this.environment},e("pn-site-footer",{url:null!==(i=null===(t=this.siteDefinition)||void 0===t?void 0:t.url)&&void 0!==i?i:""},e("slot",{name:"logo"}),this.renderCols(),e("div",{slot:"bottom"},this.gotData&&(null===(r=this.footerContent)||void 0===r?void 0:r.copyrightText)?e("span",null,this.footerContent.copyrightText):null,this.gotData&&(null===(n=this.footerContent)||void 0===n?void 0:n.bottomLinks)?e("span",null,this.footerContent.bottomLinks.map((t=>{if(!t.linkHref)return e("span",null,t.linkText);let o=this.uniqueId(t.linkText);return e("a",Object.assign({href:t.linkHref},t.openInNewWindow&&{target:"_blank"},{title:t.linkText,id:o}),t.linkText)}))):null)))}renderSocialMeidaIconListElements(){var t;return this.gotData&&(null===(t=this.footerContent)||void 0===t?void 0:t.socialmedialinks.map((t=>{let o=a(t.linkType,"#00A0D6"),i=this.uniqueId(t.linkText);return e("li",null,e("a",Object.assign({href:t.linkHref},t.openInNewWindow&&{target:"_blank"},{title:t.linkText,innerHTML:o,id:i})))})))}renderSwanComponent(){var t,o,i,r;return this.showSwan&&e("div",{class:"swan-wrapper"},e("div",{class:"separator"}),e("pn-swan",{language:this.language,"license-number":null===(o=null===(t=this.footerContent)||void 0===t?void 0:t.swanInfo)||void 0===o?void 0:o.swanLicense,"link-to":null===(r=null===(i=this.footerContent)||void 0===i?void 0:i.swanInfo)||void 0===r?void 0:r.swanLink}))}renderDotComFooter(){var t,i,r,n;return e(o,{language:this.language,market:this.market,environment:this.environment},e("pn-site-footer",{theme:this.theme,url:null!==(i=null===(t=this.siteDefinition)||void 0===t?void 0:t.url)&&void 0!==i?i:""},this.renderCols(),e("slot",{name:"middle-extra"}),e("slot",{name:"middle-extra-mobile"}),e("div",{slot:"bottom"},e("div",{class:"social-media "+(this.showSwan?"social-media--swan":"")},e("ul",null,this.renderSocialMeidaIconListElements()),this.renderSwanComponent()),e("div",{class:"copyright"},this.gotData&&(null===(r=this.footerContent)||void 0===r?void 0:r.copyrightText)?e("span",null,this.footerContent.copyrightText):null,this.gotData&&(null===(n=this.footerContent)||void 0===n?void 0:n.bottomLinks)?e("ul",null,this.renderBottomLinks()):null))))}render(){return"dotcom"===this.theme?this.renderDotComFooter():this.renderDefaultFooter()}get hostElement(){return i(this)}static get watchers(){return{language:["onLanguageChange"],market:["onMarketChange"]}}};l.style="pn-marketweb-sitefooter .social-media a[target=_blank]:not(.pn-button):after{content:none}@media screen and (min-width: 60em){pn-marketweb-sitefooter:not([theme=dotcom]) pn-site-footer-col:has(div[slot=bottomsocialmediadesktop]){display:-ms-flexbox;display:flex;-ms-flex-line-pack:start;align-content:flex-start;-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content}pn-marketweb-sitefooter:not([theme=dotcom]) pn-site-footer-col:has(div[slot=bottomsocialmediadesktop]) div[slot=bottomsocialmediadesktop]{display:block;margin-top:auto;margin-bottom:1.6rem}pn-marketweb-sitefooter:not([theme=dotcom]) pn-site-footer-col:has(div[slot=bottomsocialmediadesktop]) div[slot=bottomsocialmediadesktop] .trustpilot-widget{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start}}pn-marketweb-sitefooter:not([theme=dotcom]) [slot=bottomsocialmediamobile]{display:block;margin-top:1rem;margin-bottom:2.3rem}pn-marketweb-sitefooter:not([theme=dotcom]) [slot=bottomsocialmediamobile] .trustpilot-widget{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}@media screen and (min-width: 33.125em){pn-marketweb-sitefooter:not([theme=dotcom]) [slot=bottomsocialmediamobile] .trustpilot-widget{-ms-flex-pack:start;justify-content:flex-start}}@media screen and (min-width: 60em){pn-marketweb-sitefooter:not([theme=dotcom]) [slot=bottomsocialmediamobile]{display:none}}div[slot=middle-extra-mobile],div[slot=middle-extra]{display:none}pn-marketweb-sitefooter[theme=dotcom]{width:100%}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottomsocialmediamobile],pn-marketweb-sitefooter[theme=dotcom] div[slot=bottomsocialmediadesktop]{display:none}pn-marketweb-sitefooter[theme=dotcom] div[slot=middle-extra-mobile]{display:block;width:100%;text-align:-webkit-center;margin:2.4rem 0}@media screen and (min-width: 1024px){pn-marketweb-sitefooter[theme=dotcom] div[slot=middle-extra-mobile]{display:none}pn-marketweb-sitefooter[theme=dotcom] div[slot=middle-extra]{display:block;width:100%;text-align:-webkit-center;margin:3.2rem 0}}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}@media screen and (min-width: 769px){pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan{-ms-flex-direction:row;flex-direction:row}}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan ul{margin-bottom:1.6rem}@media screen and (min-width: 768px){pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan ul{margin-bottom:0;margin-right:4.8rem}}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan .swan-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%}@media screen and (min-width: 768px){pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan .swan-wrapper{width:auto;-ms-flex-direction:row;flex-direction:row}}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan .swan-wrapper .separator{border-top:1px solid #d3cecb;margin-bottom:1.6rem}@media screen and (min-width: 768px){pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan .swan-wrapper .separator{display:-ms-flexbox;display:flex;width:1px;height:auto;min-height:90%;background-color:#d3cecb;margin-right:4.8rem;margin-bottom:0}}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan .swan-wrapper .swan{justify-self:center;-ms-flex-item-align:center;align-self:center}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=bluedarkest] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] svg path{fill:#FFFFFF}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=bluedarkest] pn-site-footer[theme=dotcom] pn-swan *{color:white}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom]{background-color:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] .pn-sitefooter-top,pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom{background-color:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom]>svg path{fill:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media{border-top:0.1rem solid #D3CECB;border-bottom:0.1rem solid #D3CECB}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media>ul>li:hover svg>circle{fill:#8EDDF9}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] svg path{fill:#FFFFFF}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] pn-swan *{color:white}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom]{background-color:#F3F2F2}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom]>svg path{fill:#F3F2F2}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-top,pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom{background-color:#F3F2F2}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media{border-top:0.1rem solid #D3CECB;border-bottom:0.1rem solid #D3CECB}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media li svg circle{fill:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media li svg:hover>circle{fill:#00A0D6}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom>[slot=bottom]>.copyright *{color:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] *{color:#0D234B}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] svg path{fill:#0D234B}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] a:not(h3){color:#005D92}pn-marketweb-sitefooter[theme=tpl] pn-site-footer{background-color:#0D234B;padding-top:6rem}@media screen and (max-width: 33.125em){pn-marketweb-sitefooter[theme=tpl] pn-site-footer{padding-left:2.6rem;padding-right:2.6rem}}pn-marketweb-sitefooter[theme=tpl] pn-site-footer>svg{display:none}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-bottom{background-color:#0D234B;color:#FFFFFF;margin:2.5rem 0}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-bottom div[slot=bottom]{border-top:1px solid #005D92;border-bottom:1px solid #005D92}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-bottom a{color:#FFFFFF}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-bottom a:hover{text-decoration:underline;color:#FFFFFF}pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top,pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-logo{background-color:#0D234B;color:#FFFFFF}pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top a,pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-logo a{color:#FBC2C1}pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top a:hover,pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-logo a:hover{text-decoration:underline;color:#FBC2C1}@media screen and (max-width: 60em){pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top .pn-sitefooter-cols{padding:0 8rem}}@media screen and (max-width: 60em){pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top .pn-sitefooter-cols{padding:0 5rem}}@media screen and (max-width: 48em){pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top .pn-sitefooter-cols{padding:0 3rem}}@media screen and (min-width: 33.125em){pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top .pn-sitefooter-cols{width:114rem;-ms-flex-pack:justify;justify-content:space-between}}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-logo a svg path{fill:#00A0D6}@media screen and (min-width: 33.125em){pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col{width:unset;min-width:unset}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col:first-child{min-width:45%}}@media screen and (max-width: 60em){pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col:first-child{min-width:100%;padding-top:0}}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a{display:-ms-inline-flexbox;display:inline-flex;gap:0.7rem;-ms-flex-align:start;align-items:flex-start}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a h3{color:#FFFFFF}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a span.footer-tpl-links{display:none}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a:hover{text-decoration:underline;color:#FBC2C1}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a pn-icon svg{background-color:#FBC2C1;border-radius:0.3rem;height:1.7rem;width:1.7rem;margin-top:0.3rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a pn-icon svg path{fill:#0D234B}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col h3{margin-bottom:3.5rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media{-ms-flex-direction:column;flex-direction:column;gap:0.5rem;row-gap:0rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media li{max-height:4rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a{-ms-flex-align:center;align-items:center;gap:0}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a circle{display:none}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a span.footer-tpl-links{display:block}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a svg{height:3.7rem;width:3.7rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a svg path{fill:#FBC2C1}";export{l as pn_marketweb_sitefooter}
|
|
1
|
+
import{r as t,h as e,a as o,g as i}from"./p-d0e65d70.js";import{F as r,M as n}from"./p-6a96db2f.js";const a=(t="",e="#005D92")=>{switch(t){case"facebook":return`<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">\n <circle cx="28" cy="28" r="28" fill="${e}" />\n <path fill-rule="evenodd" clip-rule="evenodd" d="M38.6754 16H17.3246C16.593 16 16 16.5929 16 17.3246V38.6754C16 39.407 16.593 40 17.3246 40H28.8191V30.706H25.6915V27.0839H28.8191V24.4127C28.8191 21.3128 30.7124 19.6248 33.4778 19.6248C34.8023 19.6248 35.9409 19.7235 36.2726 19.7675V23.0071L34.3547 23.008C32.8507 23.008 32.5596 23.7226 32.5596 24.7713V27.0839H36.1463L35.6793 30.706H32.5596V40H38.6754C39.407 40 40 39.407 40 38.6754V17.3246C40 16.5929 39.407 16 38.6754 16Z" fill="white" />\n </svg>`;case"twitter":return`<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">\n <circle cx="28" cy="28" r="28" fill="${e}"/>\n <path d="M34.8996 17.5H38.5996L30.5996 26.4L39.9996 38.6H32.5996L26.7996 31.2L20.1996 38.6H16.4996L25.0996 29L16.0996 17.5H23.5996L28.7996 24.2L34.8996 17.5ZM33.5996 36.4H35.5996L22.4996 19.5H20.2996L33.5996 36.4Z" fill="white"/>\n </svg>`;case"linkedin":return`<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">\n <circle cx="28" cy="28" r="28" fill="${e}" />\n <path d="M37.5809 16H18.4191C17.0832 16 16 17.0747 16 18.399V37.601C16 38.9267 17.0832 40 18.4191 40H37.5809C38.9182 40 40 38.9253 40 37.601V18.399C40 17.0747 38.9182 16 37.5809 16ZM23.7013 34.9895H20.4725V24.7229H23.7013V34.9895ZM22.0653 23.4634C21.0462 23.4634 20.3874 22.7487 20.3874 21.8672C20.3874 20.965 21.0672 20.2711 22.1085 20.2711C23.1499 20.2711 23.7864 20.9636 23.8074 21.8672C23.8074 22.7501 23.1485 23.4634 22.0653 23.4634ZM35.4912 34.9895H32.2624V29.3002C32.2624 27.9772 31.7948 27.075 30.6264 27.075C29.7344 27.075 29.204 27.6834 28.9695 28.2711C28.8843 28.4808 28.8634 28.7746 28.8634 29.0685V34.9881H25.6332V27.9979C25.6332 26.7177 25.5913 25.6472 25.5481 24.7229H28.3525L28.5018 26.1507H28.566C28.9904 25.4789 30.0318 24.4925 31.7739 24.4925C33.8984 24.4925 35.4912 25.8996 35.4912 28.9222V34.9895Z" fill="white" />\n </svg>`;case"instagram":return`<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">\n <circle cx="28" cy="28" r="28" fill="${e}" />\n <path fill-rule="evenodd" clip-rule="evenodd" d="M27.9995 18.1621C31.2037 18.1621 31.5829 18.1745 32.8485 18.2321C34.0183 18.2854 34.6538 18.4807 35.0767 18.6451C35.6369 18.8628 36.0365 19.1228 36.4566 19.5425C36.8768 19.9626 37.1368 20.3623 37.354 20.9224C37.5184 21.3454 37.7137 21.9808 37.767 23.1507C37.8246 24.4158 37.837 24.7955 37.837 27.9998C37.837 31.204 37.8246 31.5832 37.767 32.8488C37.7137 34.0187 37.5184 34.6541 37.354 35.0771C37.1363 35.6373 36.8763 36.0369 36.4566 36.457C36.0365 36.8772 35.6369 37.1372 35.0767 37.3545C34.6538 37.5188 34.0183 37.7141 32.8485 37.7674C31.5834 37.8251 31.2037 37.8375 27.9995 37.8375C24.7953 37.8375 24.4157 37.8251 23.1506 37.7674C21.9807 37.7141 21.3453 37.5188 20.9223 37.3545C20.3622 37.1368 19.9625 36.8767 19.5424 36.457C19.1223 36.0369 18.8622 35.6373 18.645 35.0771C18.4807 34.6541 18.2854 34.0187 18.232 32.8488C18.1744 31.5837 18.162 31.204 18.162 27.9998C18.162 24.7955 18.1744 24.4163 18.232 23.1507C18.2854 21.9808 18.4807 21.3454 18.645 20.9224C18.8627 20.3623 19.1228 19.9626 19.5424 19.5425C19.9625 19.1224 20.3622 18.8623 20.9223 18.6451C21.3453 18.4807 21.9807 18.2854 23.1506 18.2321C24.4161 18.1745 24.7953 18.1621 27.9995 18.1621ZM27.9995 16C24.7405 16 24.3318 16.0138 23.052 16.0724C21.7749 16.1305 20.9028 16.3334 20.1392 16.6302C19.35 16.9369 18.6807 17.3471 18.0139 18.0144C17.347 18.6813 16.9365 19.3505 16.6302 20.1393C16.3334 20.9029 16.1305 21.7751 16.0724 23.0521C16.0138 24.332 16 24.7407 16 27.9998C16 31.2588 16.0138 31.6675 16.0724 32.9474C16.1305 34.2245 16.3334 35.0966 16.6302 35.8602C16.9369 36.6495 17.347 37.3187 18.0144 37.9856C18.6817 38.6529 19.3505 39.0631 20.1397 39.3698C20.9028 39.6666 21.7754 39.8695 23.0524 39.9276C24.3323 39.9862 24.741 40 28 40C31.259 40 31.6677 39.9862 32.9476 39.9276C34.2246 39.8695 35.0972 39.6666 35.8603 39.3698C36.6495 39.0631 37.3188 38.6529 37.9856 37.9856C38.653 37.3182 39.0631 36.6495 39.3698 35.8602C39.6666 35.0971 39.8695 34.2245 39.9276 32.9474C39.9862 31.6675 40 31.2588 40 27.9998C40 24.7407 39.9862 24.332 39.9276 23.0521C39.8695 21.7751 39.6666 20.9024 39.3698 20.1393C39.0631 19.35 38.653 18.6808 37.9856 18.0139C37.3183 17.3466 36.6495 16.9365 35.8603 16.6297C35.0963 16.3334 34.2241 16.1305 32.9471 16.0724C31.6672 16.0138 31.2585 16 27.9995 16ZM27.9996 21.8379C24.5963 21.8379 21.8379 24.5969 21.8379 27.9998C21.8379 31.4027 24.5968 34.1616 27.9996 34.1616C31.4025 34.1616 34.1613 31.4027 34.1613 27.9998C34.1613 24.5969 31.4029 21.8379 27.9996 21.8379ZM27.9996 31.9995C25.7904 31.9995 23.9999 30.2085 23.9999 27.9998C23.9999 25.7905 25.7909 24 27.9996 24C30.2083 24 31.9993 25.791 31.9993 27.9998C31.9993 30.209 30.2088 31.9995 27.9996 31.9995ZM35.845 21.594C35.845 22.3892 35.2003 23.0339 34.4051 23.0339C33.6098 23.0339 32.9651 22.3892 32.9651 21.594C32.9651 20.7987 33.6098 20.154 34.4051 20.154C35.2003 20.154 35.845 20.7987 35.845 21.594Z" fill="white" />\n </svg>`;case"youtube":return`<svg width="56" height="56" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 56 56" style="enable-background:new 0 0 56 56;" xml:space="preserve">\n <circle fill="${e}" cx="28" cy="28" r="28"></circle>\n <g transform="translate(9937 4831.656)">\n <path fill="#fff" d="M-9909-4793.8c0,0-2.2,0-4.7-0.1c-1.4,0-2.7-0.1-3.7-0.2c-1.3-0.1-2.1-0.2-2.6-0.3\n c-0.3-0.1-0.6-0.2-0.9-0.4c-0.3-0.2-0.5-0.3-0.7-0.6s-0.4-0.5-0.6-0.7c-0.2-0.3-0.3-0.6-0.4-0.9c-0.4-1.7-0.6-4-0.6-6.7\n c0-1.2,0.1-2.4,0.2-3.6c0.1-0.6,0.1-1.1,0.2-1.7c0.1-0.5,0.1-1.1,0.2-1.5c0.1-0.3,0.2-0.6,0.4-0.9c0.2-0.3,0.3-0.5,0.6-0.7\n s0.5-0.4,0.7-0.6c0.3-0.2,0.6-0.3,0.9-0.4c0.5-0.1,1.4-0.3,2.6-0.3c1-0.1,2.2-0.1,3.7-0.2c2.4-0.1,4.6-0.1,4.7-0.1\n c0,0,2.2,0,4.7,0.1c1.4,0,2.7,0.1,3.7,0.2c1.3,0.1,2.1,0.2,2.6,0.3c0.3,0.1,0.6,0.2,0.9,0.4c0.3,0.2,0.5,0.3,0.7,0.6\n s0.4,0.5,0.6,0.7c0.2,0.3,0.3,0.6,0.4,0.9c0.2,0.9,0.4,2,0.5,3.1c0.1,1.1,0.1,2.3,0.1,3.6c0,1.2-0.1,2.4-0.2,3.6\n c-0.1,0.6-0.1,1.1-0.2,1.7c-0.1,0.5-0.2,1.1-0.2,1.5c-0.1,0.3-0.2,0.6-0.4,0.9c-0.2,0.3-0.3,0.5-0.6,0.7c-0.2,0.2-0.5,0.4-0.7,0.6\n c-0.3,0.2-0.6,0.3-0.9,0.4c-0.5,0.1-1.4,0.3-2.6,0.3c-1,0.1-2.2,0.1-3.7,0.2C-9906.8-4793.8-9909-4793.8-9909-4793.8z\n M-9911.8-4807.9v8.4l7.3-4.2L-9911.8-4807.9z"></path>\n </g>\n </svg>`;default:return""}},s={sv:{searchlabel:"Sök",searchplaceholder:"Vad letar du efter?",searchbuttontext:"Sök",menuHomeButton:"Hem",menuGoBackButton:"Gå tillbaka",mainMenuButton:"Meny",menuStartButton:"Start"},en:{searchlabel:"Search",searchplaceholder:"Search",searchbuttontext:"Search",menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start"},da:{searchlabel:"Søg",searchplaceholder:"Søg",searchbuttontext:"Søg",menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbage",mainMenuButton:"Menu",menuStartButton:"Start"},no:{searchlabel:"Søk",searchplaceholder:"Søk",searchbuttontext:"Søk",menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbake",mainMenuButton:"Meny",menuStartButton:"Start"},fi:{searchlabel:"Hae",searchplaceholder:"Hae",searchbuttontext:"Hae",menuHomeButton:"Koti",menuGoBackButton:"Mene takaisin",mainMenuButton:"Valikko",menuStartButton:"Alkaa"},zh:{searchlabel:"Search",searchplaceholder:"Search",searchbuttontext:"Search",menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start"},it:{searchlabel:"Search",searchplaceholder:"Search",searchbuttontext:"Search",menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start"},nl:{searchlabel:"Search",searchplaceholder:"Search",searchbuttontext:"Search",menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start"}},l=class{constructor(e){t(this,e),this.fetchHelper=new r("sitefooter"),this.endpointPath="/api/footer/footer",this.market="se",this.language="sv",this.environment=null,this.endpoint=null,this.siteDomainInUrls=!1,this.cache=!1,this.theme="default",this.backgroundcolor="darkestblue",this.showSwan=!1,this.siteDefinition=void 0,this.footerContent=void 0,this.i18n=void 0,this.gotData=!1,this.fetchingData=!1}componentWillLoad(){this.setInitialValues().then((()=>{this.init()}))}async setInitialValues(t=window.location.href){var e;const o=new n(t);if(!this.market){const t=await o.getMarket();this.market=t}if(!this.language){const t=await o.getLanguage();this.language=t}this.environment||(this.environment=await o.getEnvironmentName()),this.endpoint||-1!==(null===(e=this.environment)||void 0===e?void 0:e.indexOf("local"))||(this.endpoint=await o.getEndpoint(this.environment,this.market)),this.endpoint||(this.endpoint="")}async init(){this.setTranslations(),await this.fetchData()}setTranslations(){this.language&&s[this.language]&&(this.i18n=s[this.language])}onLanguageChange(){this.setTranslations(),this.fetchData()}onMarketChange(){this.fetchData()}setFetchUrl(t){return"dotcom"===this.theme?`${t}${this.endpointPath}?market=${this.market}&language=${this.language}&breakOutSocialMedia=true&extendColumns=true`:`${t}${this.endpointPath}?market=${this.market}&language=${this.language}`}async fetchData(){if(null===this.endpoint||!this.market||!this.language)return;this.fetchingData=!0;const t=this.endpoint.lastIndexOf("/")===this.endpoint.length-1?this.endpoint.substring(0,this.endpoint.length-1):this.endpoint,e=this.setFetchUrl(t),o=await this.fetchHelper.fetchJson(e,{mode:"cors"},this.cache,this.onFetchRefreshed.bind(this));await this.setStateFromData(o)}onFetchRefreshed(t){this.setStateFromData(t)}setStateFromData(t){"object"!=typeof t&&console.warn("Data was not valid",t),this.siteDefinition=t.sitedefinition,this.footerContent=t.footer,this.siteDomainInUrls&&this.adjustLinks(),this.gotData=!0,this.fetchingData=!0}adjustLinks(){this.footerContent.bottomLinks.forEach((t=>{t.linkHref=this.adjustHref(t.linkHref)})),this.footerContent.columns.forEach((t=>{t.links.forEach((t=>{t.linkHref=this.adjustHref(t.linkHref)}))}))}adjustHref(t){return t&&0!==t.indexOf("http")?(this.siteDefinition.url.lastIndexOf("/")===this.siteDefinition.url.length-1?this.siteDefinition.url.substring(0,this.siteDefinition.url.length-1):this.siteDefinition.url)+t:t}uniqueId(t){return"footer-"+t.replace(/[^A-Za-z0-9.\\\/]/gim,"")}renderCols(){var t;return this.gotData&&(null===(t=this.footerContent)||void 0===t?void 0:t.columns)?this.footerContent.columns.map((t=>e("pn-site-footer-col",{theme:this.theme},t.firstLinkAsHeader&&t.links&&t.links[0]?e("a",{href:t.links[0].linkHref,target:t.links[0].openInNewWindow?"_blank":null,rel:t.links[0].openInNewWindow?"noopener nofollower noreferrer":null,title:t.links[0].linkText,id:this.uniqueId(t.links[0].linkText)},e("h3",null,t.links[0].linkText)):e("h3",null,t.heading),!t.links||t.body&&"tpl"!==this.theme?null:e("ul",Object.assign({},t.links&&t.links[0]&&t.links[0].linkType&&{class:"social-media"}),t.links.map(((o,i)=>{if(!o.linkHref||t.firstLinkAsHeader&&0==i)return!1;let r=o.linkText;o.linkType&&(r=a(o.linkType));let n=this.uniqueId(r);return e("li",null,e("a",Object.assign({href:o.linkHref},o.openInNewWindow&&{target:"_blank"},{title:o.linkText,innerHTML:r,id:n}),"tpl"===this.theme?e("span",{class:"footer-tpl-links"},o.linkText):null))}))),t.body?e("div",{innerHTML:t.body}):null,e("slot",{name:"bottomsocialmediadesktop"}),e("slot",{name:"bottomsocialmediamobile"})))):null}renderBottomLinks(){return this.footerContent.bottomLinks.map((t=>{if(!t.linkHref)return e("li",null,t.linkText);let o=this.uniqueId(t.linkText);return e("li",null,e("a",Object.assign({href:t.linkHref},t.openInNewWindow&&{target:"_blank"},{title:t.linkText,id:o}),t.linkText))}))}renderDefaultFooter(){var t,i,r,n;return e(o,{language:this.language,market:this.market,environment:this.environment},e("pn-site-footer",{url:null!==(i=null===(t=this.siteDefinition)||void 0===t?void 0:t.url)&&void 0!==i?i:""},e("slot",{name:"logo"}),this.renderCols(),e("div",{slot:"bottom"},this.gotData&&(null===(r=this.footerContent)||void 0===r?void 0:r.copyrightText)?e("span",null,this.footerContent.copyrightText):null,this.gotData&&(null===(n=this.footerContent)||void 0===n?void 0:n.bottomLinks)?e("span",null,this.footerContent.bottomLinks.map((t=>{if(!t.linkHref)return e("span",null,t.linkText);let o=this.uniqueId(t.linkText);return e("a",Object.assign({href:t.linkHref},t.openInNewWindow&&{target:"_blank"},{title:t.linkText,id:o}),t.linkText)}))):null)))}renderSocialMeidaIconListElements(){var t;return this.gotData&&(null===(t=this.footerContent)||void 0===t?void 0:t.socialmedialinks.map((t=>{let o=a(t.linkType,"#00A0D6"),i=this.uniqueId(t.linkText);return e("li",null,e("a",Object.assign({href:t.linkHref},t.openInNewWindow&&{target:"_blank"},{title:t.linkText,innerHTML:o,id:i})))})))}renderSwanComponent(){var t,o,i,r;return this.showSwan&&e("div",{class:"swan-wrapper"},e("div",{class:"separator"}),e("pn-swan",{language:this.language,"license-number":null===(o=null===(t=this.footerContent)||void 0===t?void 0:t.swanInfo)||void 0===o?void 0:o.swanLicense,"link-to":null===(r=null===(i=this.footerContent)||void 0===i?void 0:i.swanInfo)||void 0===r?void 0:r.swanLink}))}renderDotComFooter(){var t,i,r,n;return e(o,{language:this.language,market:this.market,environment:this.environment},e("pn-site-footer",{theme:this.theme,url:null!==(i=null===(t=this.siteDefinition)||void 0===t?void 0:t.url)&&void 0!==i?i:""},this.renderCols(),e("slot",{name:"middle-extra"}),e("slot",{name:"middle-extra-mobile"}),e("div",{slot:"bottom"},e("div",{class:"social-media "+(this.showSwan?"social-media--swan":"")},e("ul",null,this.renderSocialMeidaIconListElements()),this.renderSwanComponent()),e("div",{class:"copyright"},this.gotData&&(null===(r=this.footerContent)||void 0===r?void 0:r.copyrightText)?e("span",null,this.footerContent.copyrightText):null,this.gotData&&(null===(n=this.footerContent)||void 0===n?void 0:n.bottomLinks)?e("ul",null,this.renderBottomLinks()):null))))}render(){return"dotcom"===this.theme?this.renderDotComFooter():this.renderDefaultFooter()}get hostElement(){return i(this)}static get watchers(){return{language:["onLanguageChange"],market:["onMarketChange"]}}};l.style="pn-marketweb-sitefooter .social-media a[target=_blank]:not(.pn-button):after{content:none}@media screen and (min-width: 60em){pn-marketweb-sitefooter:not([theme=dotcom]) pn-site-footer-col:has(div[slot=bottomsocialmediadesktop]){display:-ms-flexbox;display:flex;-ms-flex-line-pack:start;align-content:flex-start;-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content}pn-marketweb-sitefooter:not([theme=dotcom]) pn-site-footer-col:has(div[slot=bottomsocialmediadesktop]) div[slot=bottomsocialmediadesktop]{display:block;margin-top:auto;margin-bottom:1.6rem}pn-marketweb-sitefooter:not([theme=dotcom]) pn-site-footer-col:has(div[slot=bottomsocialmediadesktop]) div[slot=bottomsocialmediadesktop] .trustpilot-widget{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start}}pn-marketweb-sitefooter:not([theme=dotcom]) [slot=bottomsocialmediamobile]{display:block;margin-top:1rem;margin-bottom:2.3rem}pn-marketweb-sitefooter:not([theme=dotcom]) [slot=bottomsocialmediamobile] .trustpilot-widget{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}@media screen and (min-width: 33.125em){pn-marketweb-sitefooter:not([theme=dotcom]) [slot=bottomsocialmediamobile] .trustpilot-widget{-ms-flex-pack:start;justify-content:flex-start}}@media screen and (min-width: 60em){pn-marketweb-sitefooter:not([theme=dotcom]) [slot=bottomsocialmediamobile]{display:none}}div[slot=middle-extra-mobile],div[slot=middle-extra]{display:none}pn-marketweb-sitefooter[theme=dotcom]{width:100%}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottomsocialmediamobile],pn-marketweb-sitefooter[theme=dotcom] div[slot=bottomsocialmediadesktop]{display:none}pn-marketweb-sitefooter[theme=dotcom] div[slot=middle-extra-mobile]{display:block;width:100%;text-align:-webkit-center;margin:2.4rem 0}@media screen and (min-width: 1024px){pn-marketweb-sitefooter[theme=dotcom] div[slot=middle-extra-mobile]{display:none}pn-marketweb-sitefooter[theme=dotcom] div[slot=middle-extra]{display:block;width:100%;text-align:-webkit-center;margin:3.2rem 0}}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}@media screen and (min-width: 769px){pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan{-ms-flex-direction:row;flex-direction:row}}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan ul{margin-bottom:1.6rem}@media screen and (min-width: 768px){pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan ul{margin-bottom:0;margin-right:4.8rem}}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan .swan-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%}@media screen and (min-width: 768px){pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan .swan-wrapper{width:auto;-ms-flex-direction:row;flex-direction:row}}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan .swan-wrapper .separator{border-top:1px solid #d3cecb;margin-bottom:1.6rem}@media screen and (min-width: 768px){pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan .swan-wrapper .separator{display:-ms-flexbox;display:flex;width:1px;height:auto;min-height:90%;background-color:#d3cecb;margin-right:4.8rem;margin-bottom:0}}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan .swan-wrapper .swan{justify-self:center;-ms-flex-item-align:center;align-self:center}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=bluedarkest] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] svg path{fill:#FFFFFF}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=bluedarkest] pn-site-footer[theme=dotcom] pn-swan *{color:white}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom]{background-color:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] .pn-sitefooter-top,pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom{background-color:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom]>svg path{fill:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media{border-top:0.1rem solid #D3CECB;border-bottom:0.1rem solid #D3CECB}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media>ul>li:hover svg>circle{fill:#8EDDF9}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] svg path{fill:#FFFFFF}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] pn-swan *{color:white}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom]{background-color:#F3F2F2}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom]>svg path{fill:#F3F2F2}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-top,pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom{background-color:#F3F2F2}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media{border-top:0.1rem solid #D3CECB;border-bottom:0.1rem solid #D3CECB}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media li svg circle{fill:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media li svg:hover>circle{fill:#00A0D6}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom>[slot=bottom]>.copyright *{color:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] *{color:#0D234B}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] svg path{fill:#0D234B}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] a:not(h3){color:#005D92}pn-marketweb-sitefooter[theme=tpl] pn-site-footer{background-color:#0D234B;padding-top:6rem}@media screen and (max-width: 33.125em){pn-marketweb-sitefooter[theme=tpl] pn-site-footer{padding-left:2.6rem;padding-right:2.6rem}}pn-marketweb-sitefooter[theme=tpl] pn-site-footer>svg{display:none}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-bottom{background-color:#0D234B;color:#FFFFFF;margin:2.5rem 0}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-bottom div[slot=bottom]{border-top:1px solid #005D92;border-bottom:1px solid #005D92}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-bottom a{color:#FFFFFF}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-bottom a:hover{text-decoration:underline;color:#FFFFFF}pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top,pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-logo{background-color:#0D234B;color:#FFFFFF}pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top a,pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-logo a{color:#FBC2C1}pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top a:hover,pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-logo a:hover{text-decoration:underline;color:#FBC2C1}@media screen and (max-width: 60em){pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top .pn-sitefooter-cols{padding:0 8rem}}@media screen and (max-width: 60em){pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top .pn-sitefooter-cols{padding:0 5rem}}@media screen and (max-width: 48em){pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top .pn-sitefooter-cols{padding:0 3rem}}@media screen and (min-width: 33.125em){pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top .pn-sitefooter-cols{width:114rem;-ms-flex-pack:justify;justify-content:space-between}}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-logo a svg path{fill:#00A0D6}@media screen and (min-width: 33.125em){pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col{width:unset;min-width:unset}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col:first-child{min-width:45%}}@media screen and (max-width: 60em){pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col:first-child{min-width:100%;padding-top:0}}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a{display:-ms-inline-flexbox;display:inline-flex;gap:0.7rem;-ms-flex-align:start;align-items:flex-start}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a h3{color:#FFFFFF}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a span.footer-tpl-links{display:none}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a:hover{text-decoration:underline;color:#FBC2C1}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a pn-icon svg{background-color:#FBC2C1;border-radius:0.3rem;height:1.7rem;width:1.7rem;margin-top:0.3rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a pn-icon svg path{fill:#0D234B}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col h3{margin-bottom:3.5rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media{-ms-flex-direction:column;flex-direction:column;gap:0.5rem;row-gap:0rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media li{max-height:4rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a{-ms-flex-align:center;align-items:center;gap:0}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a circle{display:none}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a span.footer-tpl-links{display:block}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a svg{height:3.7rem;width:3.7rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a svg path{fill:#FBC2C1}";export{l as pn_marketweb_sitefooter}
|