@postnord/pn-marketweb-components 1.0.49-beta4 → 2.0.1
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/{index-9027dc96.js → index-28bbc937.js} +1 -1
- package/cjs/{index-0a6b1eef.js → index-e3e27c79.js} +6 -0
- package/cjs/loader.cjs.js +2 -2
- package/cjs/pn-bonus-progressbar-level.cjs.entry.js +1 -1
- package/cjs/pn-bonus-progressbar.cjs.entry.js +1 -1
- package/cjs/pn-choice-button.cjs.entry.js +1 -1
- package/cjs/pn-filter-checkbox.cjs.entry.js +1 -1
- package/cjs/pn-find-price-result.cjs.entry.js +5 -5
- package/cjs/{pn-find-price-store-f9766c41.js → pn-find-price-store-6aab7fd0.js} +1 -2
- package/cjs/pn-find-price.cjs.entry.js +9 -12
- package/cjs/pn-find-service-and-price-result.cjs.entry.js +3 -3
- package/cjs/{pn-find-service-and-price-store-914d170b.js → pn-find-service-and-price-store-16a7936c.js} +1 -1
- package/cjs/pn-find-service-and-price.cjs.entry.js +3 -3
- package/cjs/pn-language-selector_9.cjs.entry.js +65 -5
- package/cjs/pn-mainnav-link.cjs.entry.js +3 -3
- package/cjs/{pn-mainnav-store-f8bacb50.js → pn-mainnav-store-61a75ea0.js} +1 -1
- package/cjs/pn-market-web-components.cjs.js +2 -2
- package/cjs/pn-marketweb-input.cjs.entry.js +76 -0
- package/cjs/pn-marketweb-search.cjs.entry.js +103 -0
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +1 -1
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +6 -4
- package/cjs/pn-pex-pricefinder.cjs.entry.js +11 -3
- package/cjs/pn-product-card_3.cjs.entry.js +9 -9
- package/cjs/pn-product-pricelist-result.cjs.entry.js +3 -3
- package/cjs/{pn-product-pricelist-store-d101b50e.js → pn-product-pricelist-store-86310b5a.js} +1 -1
- package/cjs/pn-product-pricelist.cjs.entry.js +4 -4
- package/cjs/pn-product-tile_3.cjs.entry.js +1 -1
- package/cjs/pn-profile-selector-option.cjs.entry.js +1 -1
- package/cjs/pn-profile-selector.cjs.entry.js +1 -1
- package/cjs/pn-sidenav-level.cjs.entry.js +3 -3
- package/cjs/pn-sidenav-link.cjs.entry.js +3 -3
- package/cjs/{pn-sidenav-store-eed02285.js → pn-sidenav-store-d9bd9e00.js} +1 -1
- package/cjs/pn-sidenav.cjs.entry.js +3 -3
- package/cjs/pn-site-footer_2.cjs.entry.js +1 -1
- package/collection/collection-manifest.json +2 -1
- package/collection/components/input/pn-marketweb-input/marketweb-input.stories.js +51 -0
- package/collection/components/input/pn-marketweb-input/pn-marketweb-input.css +156 -0
- package/collection/components/input/pn-marketweb-input/pn-marketweb-input.js +412 -0
- package/collection/components/input/{pn-filter-search/search-field.stories.js → pn-marketweb-search/marketweb-search-field.stories.js} +15 -3
- package/collection/components/input/{pn-filter-search/pn-filter-search.css → pn-marketweb-search/pn-marketweb-search.css} +22 -17
- package/collection/components/input/{pn-filter-search/pn-filter-search.js → pn-marketweb-search/pn-marketweb-search.js} +67 -9
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search-store.js +9 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.js +79 -3
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +23 -3
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +3 -3
- package/collection/components/widgets/pn-find-price/img/clouds.svg +5 -0
- package/collection/components/widgets/pn-find-price/pn-find-price-result.js +2 -2
- package/collection/components/widgets/pn-find-price/pn-find-price-store.js +0 -1
- package/collection/components/widgets/pn-find-price/pn-find-price-translations.js +1 -6
- package/collection/components/widgets/pn-find-price/pn-find-price.css +14 -4
- package/collection/components/widgets/pn-find-price/pn-find-price.js +4 -3
- package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +10 -2
- package/collection/components/widgets/pn-product-card/pn-product-card-info.css +6 -7
- package/collection/components/widgets/pn-product-card/pn-product-card-info.js +2 -3
- package/collection/components/widgets/pn-product-card/pn-product-card-price.css +22 -5
- package/collection/components/widgets/pn-product-card/pn-product-card-price.js +1 -1
- package/collection/components/widgets/pn-product-card/pn-product-card.css +88 -30
- package/collection/components/widgets/pn-product-card/pn-product-card.js +1 -1
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.css +1 -0
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.stories.js +1 -1
- package/custom-elements/index.d.ts +12 -6
- package/custom-elements/index.js +298 -126
- package/esm/{index-70b099b5.js → index-5397620b.js} +7 -1
- package/esm/{index-d3007e8f.js → index-7b21ecff.js} +1 -1
- package/esm/loader.js +2 -2
- package/esm/pn-bonus-progressbar-level.entry.js +1 -1
- package/esm/pn-bonus-progressbar.entry.js +1 -1
- package/esm/pn-choice-button.entry.js +1 -1
- package/esm/pn-filter-checkbox.entry.js +1 -1
- package/esm/pn-find-price-result.entry.js +5 -5
- package/esm/{pn-find-price-store-ddd3f427.js → pn-find-price-store-3301df0a.js} +1 -2
- package/esm/pn-find-price.entry.js +9 -12
- package/esm/pn-find-service-and-price-result.entry.js +3 -3
- package/esm/{pn-find-service-and-price-store-012f2e49.js → pn-find-service-and-price-store-65df46a0.js} +1 -1
- package/esm/pn-find-service-and-price.entry.js +3 -3
- package/esm/pn-language-selector_9.entry.js +79 -19
- package/esm/pn-mainnav-link.entry.js +3 -3
- package/esm/{pn-mainnav-store-395ee066.js → pn-mainnav-store-28571e54.js} +1 -1
- package/esm/pn-market-web-components.js +2 -2
- package/esm/pn-marketweb-input.entry.js +72 -0
- package/esm/pn-marketweb-search.entry.js +99 -0
- package/esm/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm/pn-marketweb-siteheader.entry.js +6 -4
- package/esm/pn-pex-pricefinder.entry.js +11 -3
- package/esm/pn-product-card_3.entry.js +9 -9
- package/esm/pn-product-pricelist-result.entry.js +3 -3
- package/esm/{pn-product-pricelist-store-909c5238.js → pn-product-pricelist-store-2c336043.js} +1 -1
- package/esm/pn-product-pricelist.entry.js +4 -4
- package/esm/pn-product-tile_3.entry.js +1 -1
- package/esm/pn-profile-selector-option.entry.js +1 -1
- package/esm/pn-profile-selector.entry.js +1 -1
- package/esm/pn-sidenav-level.entry.js +3 -3
- package/esm/pn-sidenav-link.entry.js +3 -3
- package/esm/{pn-sidenav-store-f0db4a1f.js → pn-sidenav-store-50b186d6.js} +1 -1
- package/esm/pn-sidenav.entry.js +3 -3
- package/esm/pn-site-footer_2.entry.js +1 -1
- package/esm-es5/{index-70b099b5.js → index-5397620b.js} +1 -1
- package/esm-es5/{index-d3007e8f.js → index-7b21ecff.js} +1 -1
- package/esm-es5/loader.js +1 -1
- package/esm-es5/pn-bonus-progressbar-level.entry.js +1 -1
- package/esm-es5/pn-bonus-progressbar.entry.js +1 -1
- package/esm-es5/pn-choice-button.entry.js +1 -1
- package/esm-es5/pn-filter-checkbox.entry.js +1 -1
- package/esm-es5/pn-find-price-result.entry.js +1 -1
- package/esm-es5/pn-find-price-store-3301df0a.js +1 -0
- package/esm-es5/pn-find-price.entry.js +1 -1
- package/esm-es5/pn-find-service-and-price-result.entry.js +1 -1
- package/esm-es5/{pn-find-service-and-price-store-012f2e49.js → pn-find-service-and-price-store-65df46a0.js} +1 -1
- package/esm-es5/pn-find-service-and-price.entry.js +1 -1
- package/esm-es5/pn-language-selector_9.entry.js +1 -1
- package/esm-es5/pn-mainnav-link.entry.js +1 -1
- package/esm-es5/{pn-mainnav-store-395ee066.js → pn-mainnav-store-28571e54.js} +1 -1
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-marketweb-input.entry.js +1 -0
- package/esm-es5/pn-marketweb-search.entry.js +1 -0
- package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
- package/esm-es5/pn-pex-pricefinder.entry.js +1 -1
- package/esm-es5/pn-product-card_3.entry.js +1 -1
- package/esm-es5/pn-product-pricelist-result.entry.js +1 -1
- package/esm-es5/{pn-product-pricelist-store-909c5238.js → pn-product-pricelist-store-2c336043.js} +1 -1
- package/esm-es5/pn-product-pricelist.entry.js +1 -1
- package/esm-es5/pn-product-tile_3.entry.js +1 -1
- package/esm-es5/pn-profile-selector-option.entry.js +1 -1
- package/esm-es5/pn-profile-selector.entry.js +1 -1
- package/esm-es5/pn-sidenav-level.entry.js +1 -1
- package/esm-es5/pn-sidenav-link.entry.js +1 -1
- package/esm-es5/{pn-sidenav-store-f0db4a1f.js → pn-sidenav-store-50b186d6.js} +1 -1
- package/esm-es5/pn-sidenav.entry.js +1 -1
- package/esm-es5/pn-site-footer_2.entry.js +1 -1
- package/package.json +1 -1
- package/pn-market-web-components/{p-b49c9d34.system.entry.js → p-01fbbbbc.system.entry.js} +1 -1
- package/pn-market-web-components/{p-7ce21cb3.system.js → p-02ea55ad.system.js} +1 -1
- package/pn-market-web-components/{p-71a31b15.entry.js → p-045a349a.entry.js} +1 -1
- package/pn-market-web-components/p-07cc9f6b.system.entry.js +1 -0
- package/pn-market-web-components/{p-24df62a2.js → p-0cacf9fb.js} +1 -1
- package/pn-market-web-components/{p-d26967cb.entry.js → p-10b95894.entry.js} +1 -1
- package/pn-market-web-components/p-13eb4c66.system.entry.js +1 -0
- package/pn-market-web-components/{p-9aac6bd5.entry.js → p-15112837.entry.js} +1 -1
- package/pn-market-web-components/{p-69b751a8.system.entry.js → p-1ce871c5.system.entry.js} +1 -1
- package/pn-market-web-components/{p-d546d0c3.entry.js → p-227e1d46.entry.js} +1 -1
- package/pn-market-web-components/{p-39760c45.system.entry.js → p-2718b89a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-702f06b7.system.entry.js → p-2870b0c5.system.entry.js} +1 -1
- package/pn-market-web-components/p-36654f2a.system.js +1 -0
- package/pn-market-web-components/p-3971ddb9.system.js +1 -0
- package/pn-market-web-components/{p-5d34bb8f.system.entry.js → p-401b57b1.system.entry.js} +1 -1
- package/pn-market-web-components/{p-7598c3ac.entry.js → p-40264b65.entry.js} +1 -1
- package/pn-market-web-components/{p-aea09ac6.entry.js → p-51df9292.entry.js} +1 -1
- package/pn-market-web-components/{p-a439468a.system.entry.js → p-57cc0679.system.entry.js} +1 -1
- package/pn-market-web-components/p-58e8d7d5.js +1 -0
- package/pn-market-web-components/{p-3ba257c5.entry.js → p-5c41acb2.entry.js} +1 -1
- package/pn-market-web-components/p-5d587499.js +1 -0
- package/pn-market-web-components/p-5e78891a.entry.js +1 -0
- package/pn-market-web-components/{p-42da096a.system.entry.js → p-625fb7fb.system.entry.js} +1 -1
- package/pn-market-web-components/p-67887512.system.js +1 -0
- package/pn-market-web-components/{p-544f8fb9.entry.js → p-715d1ef7.entry.js} +1 -1
- package/pn-market-web-components/p-72195bd8.entry.js +1 -0
- package/pn-market-web-components/{p-4d5aa13e.entry.js → p-774b7a9f.entry.js} +1 -1
- package/pn-market-web-components/{p-802afa1f.system.entry.js → p-7b93d570.system.entry.js} +1 -1
- package/pn-market-web-components/{p-56ba3951.entry.js → p-7d75ea68.entry.js} +1 -1
- package/pn-market-web-components/p-7e494e9d.system.entry.js +1 -0
- package/pn-market-web-components/p-80dce81e.system.entry.js +1 -0
- package/pn-market-web-components/{p-acd9d186.system.entry.js → p-8144bcbc.system.entry.js} +1 -1
- package/pn-market-web-components/{p-ac5a749b.entry.js → p-81d764a0.entry.js} +1 -1
- package/pn-market-web-components/p-825b8fb8.system.js +1 -0
- package/pn-market-web-components/{p-99e471b8.js → p-84699999.js} +1 -1
- package/pn-market-web-components/{p-ab699e09.entry.js → p-86b271f4.entry.js} +1 -1
- package/pn-market-web-components/p-86f06e26.js +1 -0
- package/pn-market-web-components/{p-38e0dc75.system.entry.js → p-885bc8d7.system.entry.js} +1 -1
- package/pn-market-web-components/p-8fc7732d.system.entry.js +1 -0
- package/pn-market-web-components/p-996d8a6a.entry.js +1 -0
- package/pn-market-web-components/p-9e8c5793.system.entry.js +1 -0
- package/pn-market-web-components/p-9edaf6b6.system.entry.js +1 -0
- package/pn-market-web-components/p-a5bc1695.system.js +1 -0
- package/pn-market-web-components/{p-b4f843da.system.js → p-a5f75560.system.js} +1 -1
- package/pn-market-web-components/{p-8897e421.entry.js → p-adc639c8.entry.js} +1 -1
- package/pn-market-web-components/{p-6fea1ae6.system.js → p-add7d76c.system.js} +1 -1
- package/pn-market-web-components/{p-9ae8e043.js → p-ae2bd55f.js} +1 -1
- package/pn-market-web-components/{p-2c361d9e.system.entry.js → p-aeb26d10.system.entry.js} +1 -1
- package/pn-market-web-components/{p-3552ae09.entry.js → p-b4f0228c.entry.js} +1 -1
- package/pn-market-web-components/p-bb626ab4.js +1 -0
- package/pn-market-web-components/p-c0c52dc6.entry.js +1 -0
- package/pn-market-web-components/{p-8325d608.entry.js → p-c240b614.entry.js} +1 -1
- package/pn-market-web-components/p-c34db063.entry.js +1 -0
- package/pn-market-web-components/{p-da2fa398.system.entry.js → p-c418bb48.system.entry.js} +1 -1
- package/pn-market-web-components/{p-3f8b459a.system.entry.js → p-d46d9b6e.system.entry.js} +1 -1
- package/pn-market-web-components/{p-0b796318.system.entry.js → p-d7776336.system.entry.js} +1 -1
- package/pn-market-web-components/{p-7fca7510.entry.js → p-e056d2c6.entry.js} +1 -1
- package/pn-market-web-components/p-e474b831.entry.js +1 -0
- package/pn-market-web-components/p-e5fffc92.entry.js +1 -0
- package/pn-market-web-components/p-e9fe5c54.entry.js +1 -0
- package/pn-market-web-components/p-f4cb2104.system.entry.js +1 -0
- package/pn-market-web-components/{p-00d6033e.entry.js → p-f774e2cc.entry.js} +1 -1
- package/pn-market-web-components/{p-4f0f8e9f.system.entry.js → p-f7b013a7.system.entry.js} +1 -1
- package/pn-market-web-components/{p-2b120338.system.entry.js → p-fc1083d2.system.entry.js} +1 -1
- package/pn-market-web-components/p-fc6a09e0.system.entry.js +1 -0
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/pn-market-web-components/pn-market-web-components.js +1 -1
- package/types/components/input/pn-marketweb-input/pn-marketweb-input.d.ts +32 -0
- package/types/components/input/{pn-filter-search/pn-filter-search.d.ts → pn-marketweb-search/pn-marketweb-search.d.ts} +9 -1
- package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search-store.d.ts +11 -0
- package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.d.ts +6 -0
- package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-types.d.ts +1 -0
- package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.d.ts +2 -0
- package/types/components/widgets/pn-find-price/pn-find-price-store.d.ts +0 -2
- package/types/components/widgets/pn-find-price/pn-find-price-translations.d.ts +0 -5
- package/types/components/widgets/pn-find-price/pn-find-price-types.d.ts +0 -1
- package/types/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.d.ts +1 -0
- package/types/components.d.ts +156 -65
- package/cjs/pn-filter-search.cjs.entry.js +0 -69
- package/esm/pn-filter-search.entry.js +0 -65
- package/esm-es5/pn-filter-search.entry.js +0 -1
- package/esm-es5/pn-find-price-store-ddd3f427.js +0 -1
- package/pn-market-web-components/p-15836764.js +0 -1
- package/pn-market-web-components/p-1ccd3831.entry.js +0 -1
- package/pn-market-web-components/p-208a0a7b.entry.js +0 -1
- package/pn-market-web-components/p-28316927.js +0 -1
- package/pn-market-web-components/p-39ecfda9.system.entry.js +0 -1
- package/pn-market-web-components/p-39ff2013.system.entry.js +0 -1
- package/pn-market-web-components/p-4c9b1ae9.system.js +0 -1
- package/pn-market-web-components/p-4f8537fb.system.js +0 -1
- package/pn-market-web-components/p-58623439.entry.js +0 -1
- package/pn-market-web-components/p-66fb0f57.entry.js +0 -1
- package/pn-market-web-components/p-6df0b06e.entry.js +0 -1
- package/pn-market-web-components/p-731efb7b.system.entry.js +0 -1
- package/pn-market-web-components/p-7a7f380b.system.js +0 -1
- package/pn-market-web-components/p-87a4810e.system.entry.js +0 -1
- package/pn-market-web-components/p-ad5b20ce.js +0 -1
- package/pn-market-web-components/p-b4a0e5fd.system.entry.js +0 -1
- package/pn-market-web-components/p-b4b6ab95.system.js +0 -1
- package/pn-market-web-components/p-cf516409.js +0 -1
- package/pn-market-web-components/p-cfa3be4a.entry.js +0 -1
- package/pn-market-web-components/p-dc48d8f8.system.entry.js +0 -1
- package/pn-market-web-components/p-e732c60a.system.entry.js +0 -1
- package/pn-market-web-components/p-fbdc9ea5.system.entry.js +0 -1
- package/pn-market-web-components/p-fdad9fb6.entry.js +0 -1
- package/pn-market-web-components/p-ff678bef.system.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(M,i,I,N){function e(M){return M instanceof I?M:new I((function(i){i(M)}))}return new(I||(I=Promise))((function(I,g){function D(M){try{z(N.next(M))}catch(i){g(i)}}function j(M){try{z(N["throw"](M))}catch(i){g(i)}}function z(M){M.done?I(M.value):e(M.value).then(D,j)}z((N=N.apply(M,i||[])).next())}))};var __generator=this&&this.__generator||function(M,i){var I={label:0,sent:function(){if(g[0]&1)throw g[1];return g[1]},trys:[],ops:[]},N,e,g,D;return D={next:j(0),throw:j(1),return:j(2)},typeof Symbol==="function"&&(D[Symbol.iterator]=function(){return this}),D;function j(M){return function(i){return z([M,i])}}function z(D){if(N)throw new TypeError("Generator is already executing.");while(I)try{if(N=1,e&&(g=D[0]&2?e["return"]:D[0]?e["throw"]||((g=e["return"])&&g.call(e),0):e.next)&&!(g=g.call(e,D[1])).done)return g;if(e=0,g)D=[D[0]&2,g.value];switch(D[0]){case 0:case 1:g=D;break;case 4:I.label++;return{value:D[1],done:false};case 5:I.label++;e=D[1];D=[0];continue;case 7:D=I.ops.pop();I.trys.pop();continue;default:if(!(g=I.trys,g=g.length>0&&g[g.length-1])&&(D[0]===6||D[0]===2)){I=0;continue}if(D[0]===3&&(!g||D[1]>g[0]&&D[1]<g[3])){I.label=D[1];break}if(D[0]===6&&I.label<g[1]){I.label=g[1];g=D;break}if(g&&I.label<g[2]){I.label=g[2];I.ops.push(D);break}if(g[2])I.ops.pop();I.trys.pop();continue}D=i.call(M,I)}catch(j){D=[6,j];e=0}finally{N=g=0}if(D[0]&5)throw D[1];return{value:D[0]?D[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(M,i,I){if(I||arguments.length===2)for(var N=0,e=i.length,g;N<e;N++){if(g||!(N in i)){if(!g)g=Array.prototype.slice.call(i,0,N);g[N]=i[N]}}return M.concat(g||Array.prototype.slice.call(i))};System.register(["./p-ff678bef.system.js","./p-0ea97ca0.system.js","./p-4f8537fb.system.js","./p-b4b6ab95.system.js"],(function(M){"use strict";var i,I,N,e;return{setters:[function(M){i=M.r;I=M.h},function(M){N=M.c},function(M){e=M.s},function(){}],execute:function(){var g={sv:{componentheading:"Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?",deliveryscopeheading:"Endast leveranser inom Sverige",sizeheading:"Uppskatta storlek och vikt på din försändelse",resultlistheading:"Några bra alternativ för dig",weightlabel:"Vikt",maxweightlabel:"Maxvikt",maxmeasurementlabel:"Maxvolym",senddirectcta:"Köp portokod online",stampshopcta:"Beställ fysiska frimärken",message:"*Vid köp hos valfritt ombud",servicePointHeader:"Eller hitta närmaste serviceställe",servicePointLink:"Sök brevlåda eller serviceställe"},en:{componentheading:"Our prices and terms and conditions for domestic shipments for you as a direct paying customer",deliveryscopeheading:"Deliveries within Sweden only",sizeheading:"Estimate the size and weight of your shipment",resultlistheading:"Some suitable options for you",weightlabel:"Weight",maxweightlabel:"Max weight",maxmeasurementlabel:"Maximum measurement",senddirectcta:"Buy postcode online",stampshopcta:"Order physical stamps",message:"When buying from any agent",servicePointHeader:"Or find nearest service point",servicePointLink:"Search letter-box or service point"},da:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveringer indenfor Sverige",sizeheading:"How much does it weigh?",resultlistheading:"Some suitable options for you",weightlabel:"Vægt",maxweightlabel:"Max vægt",maxmeasurementlabel:"Maks. Volumen",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},no:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveranser innen Sverige",sizeheading:"How much does it weigh?",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"},fi:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Toimitukset vain Ruotsin sisällä",sizeheading:"How much does it weigh?",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"}};var D={se:{currency:"kr"},dk:{currency:"dk"},fi:{currency:" €"},no:{currency:"kr"}};var j=[{name:"Small",value:"Small",illustration:"eli1n",unit:"small",maxWeight:2,img:"./small-package.svg"},{name:"Medium",value:"Medium",illustration:"medium-package",unit:"medium",maxWeight:5,img:"./medium-package.svg"},{name:"Large",value:"Large",illustration:"large-package",unit:"large",maxWeight:20,img:"./large-package.svg"}];var z={small:[{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:1},{name:"2 kg",abbreviation:"kg",value:2}],medium:[{name:"1 kg",abbreviation:"kg",value:1},{name:"2 kg",abbreviation:"kg",value:2},{name:"3 kg",abbreviation:"kg",value:3},{name:"5 kg",abbreviation:"kg",value:5},{name:"10 kg",abbreviation:"kg",value:10},{name:"15 kg",abbreviation:"kg",value:15},{name:"20 kg",abbreviation:"kg",value:20}],large:[{name:"3 kg",abbreviation:"kg",value:3},{name:"5 kg",abbreviation:"kg",value:5},{name:"10 kg",abbreviation:"kg",value:10},{name:"15 kg",abbreviation:"kg",value:15},{name:"20 kg",abbreviation:"kg",value:20}]};var u="https://com-integration.postnord.com/globalassets/global/prices/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izeTable{border-style:none !important;border:0 !important}pn-find-price .sizeTable>tr td{margin-bottom:1em;text-align:center;vertical-align:bottom;padding-right:1em}pn-find-price .firstCell{margin-right:0;margin-left:auto}pn-find-price .findprice-form{max-width:60em;margin:0 auto 3em auto}pn-find-price h2,pn-find-price .heading,pn-find-price .resultHeading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-find-price .sizeheading{text-align:center;font-size:1.25em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-find-price .sizecategory{margin-top:5em;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-find-price .weightoption{font-size:0.9em;max-width:41rem;margin:0 auto}pn-find-price .weightoption-content{text-align:center}pn-find-price .weightoption-content pn-choice-button{width:7em;line-height:3.3em;font-size:0.9em;vertical-align:bottom}pn-find-price .weightoption-content pn-choice-button>label{-ms-flex-line-pack:center;align-content:center;-ms-flex-pack:center;justify-content:center}pn-find-price .weightoption-content pn-choice-button ::before{content:"Max ";font-weight:lighter}pn-find-price .resultlist{margin:3em 0}pn-find-price .servicePoint{text-align:center}pn-find-price .servicePoint pn-illustration{display:block;max-width:5em;max-height:5em;margin:1.5em auto 0 auto}pn-find-price .servicePoint h3{margin-top:1.8em;margin-bottom:0.9em}pn-find-price .servicePoint a{color:#005D92}';var A=M("pn_find_price",function(){function M(M){i(this,M);this.source=u;this.language="sv";this.market="se";this.filteredItems=[];this.weight={value:0,name:""};this.weightvalue=0;this.sourceData={types:[],data:[]};this.sizecategory={value:"",name:"",icon:"",unit:""}}M.prototype.componentWillLoad=function(){this.setState();this.getDataSource()};M.prototype.getDataSource=function(){return __awaiter(this,void 0,void 0,(function(){var M,i,I,e,g;return __generator(this,(function(D){switch(D.label){case 0:M="?cache=".concat(Math.floor(Math.random()*(1e4-1)+1));return[4,fetch(this.source+M)];case 1:i=D.sent();return[4,i.blob()];case 2:I=D.sent();D.label=3;case 3:D.trys.push([3,5,,6]);return[4,N(I)];case 4:e=D.sent();this.sourceData=e;this.sizecategory=j.filter((function(M){return M.value==="Small"}))[0];this.filterItems();return[3,6];case 5:g=D.sent();console.log("Unable to parse data");return[3,6];case 6:return[2]}}))}))};M.prototype.setState=function(){if(this.market){e.market=D[this.market]}if(this.language&&g[this.language]){e.i18n=g[this.language]}};M.prototype.filterItems=function(){var M=this;var i;if(!((i=this.sourceData)===null||i===void 0?void 0:i.data)){console.log("Data has not yet been loaded");return}var I=this.sourceData.data.filter((function(M){return M.deliveryscope.toLocaleLowerCase()==="sweden"}));if(!this.sizecategory){return}var N=I.filter((function(i){return i.sizecategory.toLocaleLowerCase()===M.sizecategory.value.toLocaleLowerCase()}));if(!this.weight){return}var e=this.weight.value<=20?this.weight.value*1e3:this.weight.value;var g=N.filter((function(M){return(M.maxweight<=20?M.maxweight*1e3:M.maxweight)===e}));if(g.length===0&&this.weightvalue!==0){g=N.filter((function(M){return(M.maxweight<=20?M.maxweight*1e3:M.maxweight)>=e}));if(g.length>0){g.sort((function(M,i){return M.maxweight-i.maxweight}));var D=__spreadArray([],new Map(g.reverse().map((function(M){return[M["id"],M]}))).values(),true);if(D.length>0){g=D}}}g.sort((function(M,i){var I=M.highestrankusp?M.highestrankusp.toLowerCase():"z";var N=i.highestrankusp?i.highestrankusp.toLowerCase():"z";return I.localeCompare(N)}));this.filteredItems=g};M.prototype.render=function(){var M=this;return I("div",{class:"findprice-form"},I("div",null,I("div",{class:"sizeheading"},e.i18n.sizeheading),I("div",{class:"sizecategory"},I("table",{class:"sizeTable"},I("tr",null,I("td",null,I("img",{class:"firstCell",src:n})),I("td",null,I("img",{src:t})),I("td",null,I("img",{src:a})),I("td",null,I("img",{src:y}))),I("tr",null,I("td",null),j.map((function(i){return I("td",null,I("pn-radio-button",{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}}))})))))),this.sizecategory.value&&z[this.sizecategory.unit]?I("div",{class:"weightoption"},I("div",{class:"weightoption-content"},z[this.sizecategory.unit].map((function(i){return I("pn-choice-button",{choiceid:M.sizecategory.value+i.value,name:"weight",type:"radio",value:!M.weight.value?0:z[M.sizecategory.unit].findIndex((function(i){return i.value===M.weightvalue})),checked:i.value===M.weight.value,onChange:function(){M.weight=z[M.sizecategory.unit].filter((function(M){return M.value===i.value}))[0];M.weightvalue=M.weight.value}},i.name)})))):null,this.filteredItems&&this.filteredItems.length>0?I("div",{class:"resultlist"},e.i18n.resultlistheading?I("div",{class:"resultHeading"},e.i18n.resultlistheading):null,this.filteredItems.map((function(M){return I("div",null,I("pn-find-price-result",{item:M}))})),I("div",{class:"servicePoint"},I("pn-illustration",{illustration:"character-box-letters-house"}),I("h3",null,e.i18n.servicePointHeader),I("a",{href:T,target:"_blank"},e.i18n.servicePointLink,I("pn-icon",{symbol:"map-marker",color:"blue700"})))):null)};Object.defineProperty(M,"watchers",{get:function(){return{market:["setState"],language:["setState"],sizecategory:["filterItems"],weightvalue:["filterItems"]}},enumerable:false,configurable:true});return M}());A.style=c}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-ff678bef.system.js"],(function(t){"use strict";var e,n,i;return{setters:[function(t){e=t.r;n=t.h;i=t.a}],execute:function(){var l="pn-product-card{margin-bottom:1em;border:0.1rem solid #D3CECB;outline:none;background:#FFFFFF;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);display:-ms-flexbox;display:flex;padding:1.5em;word-break:break-word;text-decoration:none;border-radius:0.8rem}pn-product-card [slot=title]{display:-ms-flexbox;display:flex;width:100%;margin-bottom:0.5em}pn-product-card [slot=title]>[slot=Biligast]{color:#005E41;background:#DCF6E7;border-radius:0.37em;width:6.3em;height:2em;margin-left:1.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding-top:0.25em}pn-product-card [slot=title]>[slot=Biligast] pn-icon{vertical-align:middle;margin-left:0.6em}pn-product-card [slot=title]>[slot=Snabbast]{background:#E0F8FF;color:#005D92;border-radius:0.37em;width:7em;height:2em;margin-left:1.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding-top:0.25em}pn-product-card [slot=title]>[slot=Snabbast] pn-icon{vertical-align:middle;margin-left:0.6em}pn-product-card [slot=note]{margin-top:1em;margin-bottom:1em}pn-product-card [slot=additionalUSP]{display:-ms-flexbox;display:flex}pn-product-card [slot=additionalUSP] :first-child{margin-left:0em}pn-product-card [slot=additionalUSP] span{margin-left:1em;background:#D3CECB;color:#2D2013;border-radius:0.25em;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0.3em;margin-top:0.5em;font-size:0.75em}pn-product-card>pn-illustration{min-width:8rem;width:8rem;height:8rem;margin-right:3rem;-ms-flex-item-align:center;align-self:center}pn-product-card .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}pn-product-card [slot=cardprice]{display:block;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}pn-product-card .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:100%}pn-product-card .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;-ms-flex-flow:wrap;flex-flow:wrap;padding:0 1em 0 0}pn-product-card .info>*{min-width:6em;margin:0.5em 2em 0.5em 0}";var r=t("pn_product_card",function(){function t(t){e(this,t)}t.prototype.render=function(){return n(i,null,n("slot",{name:"illustration"}),n("div",{class:"cardcontent"},n("div",{class:"details"},n("slot",{name:"title"}),n("slot",{name:"content"}),n("div",{class:"info"},n("slot",null)),n("slot",{name:"note"}),n("slot",{name:"additionalUSP"})),n("div",null,n("slot",{name:"cardprice"}))))};return t}());r.style=l;var o='pn-product-card-info{-ms-flex-item-align:center;align-self:center}.cardinfocontent{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;font-size:0.875em}.cardinfocontent>div p{margin:0.25em 0.25em 0 0}.cardinfocontent #sp{width:5em}[slot=formatPre]{font-family:"PostNordSans", "Verdana";margin:0.5em 3em 0 0}[slot=formatPre]>strong{font-weight:bold}.cardinfoprice{display:-ms-flexbox;display:flex;font-size:1em;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}';var a=t("pn_product_card_info",function(){function t(t){e(this,t)}t.prototype.render=function(){return this.label?n(i,null,n("div",{class:"cardinfocontent"},this.text?n("pre",{slot:"formatPre"},this.text):null)):n(i,null,n("div",{class:"cardinfocontent"},n("div",null,n("strong",null,"Paket:"),this.paket.split("/").map((function(t){return t.split(":").length>0?n("p",null,n("strong",null,t.split(":")[0]+": ")," ",t.split(":")[1]):n("p",null,t)}))),n("div",{id:"sp"}),this.rulle?n("div",null,n("strong",null,"Rulle:"),this.rulle.split("/").map((function(t){return t.split(":").length>0?n("p",null,n("strong",null,t.split(":")[0]+": ")," ",t.split(":")[1]):n("p",null,t)}))):null))};return t}());n("pn-icon",{symbol:"align-center",small:"false",color:"black"});a.style=o;var c="pn-product-card-price{margin-top:1em;white-space:nowrap;text-align:center}pn-product-card-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-card-price+pn-product-card-price{margin-right:0}pn-product-card-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-card-price pn-button{width:12.8em;margin-bottom:1em;margin-top:0.5em;font-size:1.25}pn-product-card-price p{font-weight:lighter;font-size:0.875em;-ms-flex-item-align:center;align-self:center;margin-top:0.5em}pn-product-card-price a{text-decoration:none;color:#005D92}pn-product-card-price a h3{text-decoration:underline}";var s=t("pn_product_card_price",function(){function t(t){e(this,t)}t.prototype.render=function(){if(!this.amount){return}return this.url?n(i,null,n("h3",null,this.amount?n("span",null,this.amount):null,this.currency?n("span",null," "+this.currency):null),this.note?n("p",null,this.note):null,this.label?n("pn-button",{small:"true",icon:"arrow-right",appearance:"secondary",href:this.url,target:"_blank",id:this.service.split(" ").join("-").toLocaleLowerCase()},this.label):null):n(i,null,n("h3",null,this.amount?n("span",null,this.amount):null,this.currency?n("span",null,this.currency):null))};return t}());s.style=c}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-b4b6ab95.system.js"],(function(e){"use strict";var t;return{setters:[function(e){t=e.c}],execute:function(){var a=t({i18n:{maxweightlabel:"",weightlabel:"",maxmeasurementlabel:"",sizeheading:"",senddirectcta:"",stampshopcta:""},market:{currency:""}}),s=a.state,n=a.onChange;e("s",s)}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-b4b6ab95.system.js"],(function(e){"use strict";var t;return{setters:[function(e){t=e.c}],execute:function(){var s=t({i18n:{componentheading:"",deliveryscopeheading:"",sizeheading:"",resultlistheading:"",weightlabel:"",maxweightlabel:"",maxmeasurementlabel:"",senddirectcta:"",stampshopcta:"",message:"",servicePointHeader:"",servicePointLink:""},market:{currency:""}}),n=s.state,a=s.onChange;e("s",n)}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as s,a as l}from"./p-cf516409.js";import{s as i}from"./p-28316927.js";import"./p-ad5b20ce.js";let n=class{constructor(s){t(this,s),this.item=null,this.shownitems=[],this.description=[],this.weightText=""}componentWillLoad(){this.composeItems()}composeItems(){if(this.item.additionalusp){var t=this.item.additionalusp.split("/");this.Usp1=t.length>0?t[0]:null,this.Usp2=t.length>1?t[1]:null,this.Usp3=t.length>2?t[2]:null}this.item.description&&(this.description=this.item.description.split("#bullet").filter((t=>""!==t)))}render(){return s(l,null,s("pn-product-card",null,s("pn-illustration",{slot:"illustration",illustration:this.item.illustration}),s("div",{slot:"title"},s("h2",null,this.item.name," "),this.item.highestrankusp?"Billigast"===this.item.highestrankusp?s("span",{slot:"Biligast"},this.item.highestrankusp,s("pn-icon",{symbol:"box-label",small:"false",color:"green700"})):s("span",{slot:"Snabbast"},this.item.highestrankusp,s("pn-icon",{symbol:"bolt",small:"false",color:"blue700"})):null),s("div",{slot:"content"},s("div",{class:"content"},this.item.description?s("div",{class:"description"},this.description.map((t=>s("li",null,t)))):null,this.item.info?s("div",{class:"description"},this.item.info):null)),this.item.note?s("small",{slot:"note"},s("p",null,this.item.note)):null,this.item.additionalusp?s("div",{slot:"additionalUSP"},this.Usp1?s("span",null,this.Usp1):null,this.Usp2?s("span",null,this.Usp2):null,this.Usp3?s("span",null,this.Usp3):null):null,this.item.paket?s("pn-product-card-info",{paket:this.item.paket,rulle:this.item.rulle}):null,s("div",{slot:"cardprice"},this.item.priceagent?s("pn-product-card-price",{slot:"price",label:"",amount:this.item.priceagent+"",currency:i.market.currency,url:"https://shop.postnord.se/ebutik/default.aspx",service:this.item.name+"-eshop"}):null,this.item.pricesenddirect?s("pn-product-card-price",{slot:"sendDirectPrice",label:i.i18n.senddirectcta,amount:this.item.pricesenddirect+"",currency:i.market.currency,url:"https://portal.postnord.com/skickadirekt/",service:this.item.name+"-portal"}):null,this.item.pricestamps?s("pn-product-card-price",{slot:"stampPrice",label:i.i18n.stampshopcta,amount:this.item.pricestamps+"",currency:i.market.currency,url:"https://shop.postnord.se/ebutik/default.aspx",service:this.item.name+"-eshop",note:i.i18n.message}):null)))}static get watchers(){return{item:["composeItems"]}}};n.style="pn-find-price-result .test{margin:3em 0}.resultcontent{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}";export{n as pn_find_price_result}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as n,h as o,a as i,g as s}from"./p-cf516409.js";let e=class{constructor(o){t(this,o),this.search=n(this,"search",7),this.update=n(this,"update",7),this.disabled=!1,this.placeholder=null,this.inputid=null,this.name=null,this.autocomplete=null,this.value=null,this.label=null,this.loading=!1,this.button="",this.light=!1}inputHandler(){this.update.emit(this.value)}emitSearch(t){("click"===t.type||"keydown"===t.type&&"Enter"===t.key)&&(t.preventDefault(),this.search.emit(this.value))}setVal(t){this.value=t.target.value}clearInput(){this.value="",this.update.emit(this.value),this.hostElement.querySelector("input").focus()}getClassNames(){let t="";return this.value&&(t+="searching "),this.loading&&(t+="loading "),["none","icon","icon-inline"].includes(this.button)&&(t+=`button-${this.button} `),t}render(){return o(i,{class:this.getClassNames()},o("div",{class:"input-container"},o("input",{type:"search",value:this.value,id:this.inputid,name:this.name,placeholder:this.placeholder,disabled:this.disabled,autocomplete:this.autocomplete,onKeyDown:t=>this.emitSearch(t),onInput:t=>this.setVal(t)}),o("div",{class:"button-container"},("none"===this.button||"icon-inline"===this.button)&&o("button",{class:"search",tabindex:"icon-inline"===this.button?"0":"-1",onClick:t=>this.emitSearch(t),"aria-label":"search",title:"search"},o("pn-icon",{symbol:"search",color:"blue700"})),"icon-inline"!==this.button&&o("button",{class:"clear","aria-label":"clear",title:"clear search field",tabindex:!this.value||this.loading&&"none"===this.button?"-1":"0",onClick:()=>this.clearInput()},o("pn-icon",{symbol:"close-small",color:"blue700"})),"none"===this.button||"icon-inline"===this.button&&o("pn-spinner",null))),"none"!==this.button&&"icon-inline"!==this.button&&o("pn-button",{onClick:t=>this.emitSearch(t),loading:this.loading,icon:"search",appearance:this.light?"light":"dark","icon-only":"icon"===this.button},this.label))}get hostElement(){return s(this)}};e.style=":host{display:-ms-inline-flexbox;display:inline-flex}:host>pn-button{margin-left:0.35em}:host>pn-button button .pn-button-bg{-webkit-transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, left 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, left 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, left 0.2s, transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, left 0.2s, transform 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s}:host>pn-button[data-loading=true] .pn-button-bg{left:0;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, -webkit-box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, -webkit-box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, -webkit-box-shadow 0.1s}:host>pn-button[data-loading=true] pn-spinner{left:0.75em}:host input{padding:0.75em;min-height:3em;font-size:1em;height:100%;font-weight:500;-webkit-font-smoothing:antialiased;outline:none;border-radius:3em;border:0.1rem solid #5E554A;-webkit-transition:border 0.15s, -webkit-box-shadow 0.15s;transition:border 0.15s, -webkit-box-shadow 0.15s;transition:box-shadow 0.15s, border 0.15s;transition:box-shadow 0.15s, border 0.15s, -webkit-box-shadow 0.15s;color:#000000;width:100%}:host input::-webkit-search-cancel-button{display:none}:host input::-webkit-input-placeholder{color:#969087;font-weight:normal}:host input::-moz-placeholder{color:#969087;font-weight:normal}:host input:-ms-input-placeholder{color:#969087;font-weight:normal}:host input::-ms-input-placeholder{color:#969087;font-weight:normal}:host input::placeholder{color:#969087;font-weight:normal}:host input:focus{border:0.1rem solid #005D92;-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92}:host input:hover{border:0.1rem solid #00A0D6}:host input:disabled{background:#F3F2F2;border:none}:host>.input-container{width:100%;position:relative}:host>.input-container .button-container{position:absolute;top:0;right:0;background:transparent;width:3em;height:100%;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host>.input-container button{position:absolute;left:50%;top:50%;-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%);background:none;border:none;color:#005D92;padding:0.3rem;border-radius:50%;outline:none;-webkit-transition:border 0.1s, background 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:border 0.1s, background 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:border 0.1s, background 0.2s, box-shadow 0.1s, transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, opacity 0.2s;transition:border 0.1s, background 0.2s, box-shadow 0.1s, transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;border:0.1rem solid transparent}:host>.input-container button.clear,:host>.input-container button.search{cursor:pointer}:host>.input-container button:focus{-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;background:#8EDDF9}:host>.input-container button:hover{background:#E0F8FF}:host>.input-container button:active{background:#005D92}:host>.input-container button:active pn-icon svg,:host>.input-container button:active pn-icon svg path{fill:white}:host.searching button.search{-webkit-transform:translate(150%, -50%);transform:translate(150%, -50%)}:host.searching button.clear{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host.button-none input,:host.button-icon-inline input{padding-right:3.3em}:host.button-none pn-spinner,:host.button-icon-inline pn-spinner{position:absolute;left:50%;top:50%;-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%);-webkit-transition:-webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:-webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s}:host.button-none button.search,:host.button-icon-inline button.search{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host.button-none.loading button,:host.button-icon-inline.loading button{-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}:host.button-none.loading pn-spinner,:host.button-icon-inline.loading pn-spinner{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host.button-none.searching button.search{-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}:host.button-icon>pn-button[data-loading=true] .pn-button-bg{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}";export{e as pn_filter_search}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as M,h as I}from"./p-cf516409.js";import{c as N}from"./p-9adc3940.js";import{s as i}from"./p-28316927.js";import"./p-ad5b20ce.js";const D={sv:{componentheading:"Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?",deliveryscopeheading:"Endast leveranser inom Sverige",sizeheading:"Uppskatta storlek och vikt på din försändelse",resultlistheading:"Några bra alternativ för dig",weightlabel:"Vikt",maxweightlabel:"Maxvikt",maxmeasurementlabel:"Maxvolym",senddirectcta:"Köp portokod online",stampshopcta:"Beställ fysiska frimärken",message:"*Vid köp hos valfritt ombud",servicePointHeader:"Eller hitta närmaste serviceställe",servicePointLink:"Sök brevlåda eller serviceställe"},en:{componentheading:"Our prices and terms and conditions for domestic shipments for you as a direct paying customer",deliveryscopeheading:"Deliveries within Sweden only",sizeheading:"Estimate the size and weight of your shipment",resultlistheading:"Some suitable options for you",weightlabel:"Weight",maxweightlabel:"Max weight",maxmeasurementlabel:"Maximum measurement",senddirectcta:"Buy postcode online",stampshopcta:"Order physical stamps",message:"When buying from any agent",servicePointHeader:"Or find nearest service point",servicePointLink:"Search letter-box or service point"},da:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveringer indenfor Sverige",sizeheading:"How much does it weigh?",resultlistheading:"Some suitable options for you",weightlabel:"Vægt",maxweightlabel:"Max vægt",maxmeasurementlabel:"Maks. Volumen",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},no:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveranser innen Sverige",sizeheading:"How much does it weigh?",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"},fi:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Toimitukset vain Ruotsin sisällä",sizeheading:"How much does it weigh?",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"}},j={se:{currency:"kr"},dk:{currency:"dk"},fi:{currency:" €"},no:{currency:"kr"}},g=[{name:"Small",value:"Small",illustration:"eli1n",unit:"small",maxWeight:2,img:"./small-package.svg"},{name:"Medium",value:"Medium",illustration:"medium-package",unit:"medium",maxWeight:5,img:"./medium-package.svg"},{name:"Large",value:"Large",illustration:"large-package",unit:"large",maxWeight:20,img:"./large-package.svg"}],z={small:[{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:1},{name:"2 kg",abbreviation:"kg",value:2}],medium:[{name:"1 kg",abbreviation:"kg",value:1},{name:"2 kg",abbreviation:"kg",value:2},{name:"3 kg",abbreviation:"kg",value:3},{name:"5 kg",abbreviation:"kg",value:5},{name:"10 kg",abbreviation:"kg",value:10},{name:"15 kg",abbreviation:"kg",value:15},{name:"20 kg",abbreviation:"kg",value:20}],large:[{name:"3 kg",abbreviation:"kg",value:3},{name:"5 kg",abbreviation:"kg",value:5},{name:"10 kg",abbreviation:"kg",value:10},{name:"15 kg",abbreviation:"kg",value:15},{name:"20 kg",abbreviation:"kg",value:20}]};let T=class{constructor(I){M(this,I),this.source="https://com-integration.postnord.com/globalassets/global/prices/sv-findprice-first.xlsx",this.language="sv",this.market="se",this.filteredItems=[],this.weight={value:0,name:""},this.weightvalue=0,this.sourceData={types:[],data:[]},this.sizecategory={value:"",name:"",icon:"",unit:""}}componentWillLoad(){this.setState(),this.getDataSource()}async getDataSource(){const M=`?cache=${Math.floor(9999*Math.random()+1)}`,I=await fetch(this.source+M),i=await I.blob();try{const M=await N(i);this.sourceData=M,this.sizecategory=g.filter((M=>"Small"===M.value))[0],this.filterItems()}catch(D){console.log("Unable to parse data")}}setState(){this.market&&(i.market=j[this.market]),this.language&&D[this.language]&&(i.i18n=D[this.language])}filterItems(){var M;if(!(null===(M=this.sourceData)||void 0===M?void 0:M.data))return void console.log("Data has not yet been loaded");const I=this.sourceData.data.filter((M=>"sweden"===M.deliveryscope.toLocaleLowerCase()));if(!this.sizecategory)return;const N=I.filter((M=>M.sizecategory.toLocaleLowerCase()===this.sizecategory.value.toLocaleLowerCase()));if(!this.weight)return;const i=this.weight.value<=20?1e3*this.weight.value:this.weight.value;let D=N.filter((M=>(M.maxweight<=20?1e3*M.maxweight:M.maxweight)===i));if(0===D.length&&0!==this.weightvalue&&(D=N.filter((M=>(M.maxweight<=20?1e3*M.maxweight:M.maxweight)>=i)),D.length>0)){D.sort(((M,I)=>M.maxweight-I.maxweight));const M=[...new Map(D.reverse().map((M=>[M.id,M]))).values()];M.length>0&&(D=M)}D.sort(((M,I)=>{var N=M.highestrankusp?M.highestrankusp.toLowerCase():"z",i=I.highestrankusp?I.highestrankusp.toLowerCase():"z";return N.localeCompare(i)})),this.filteredItems=D}render(){return I("div",{class:"findprice-form"},I("div",null,I("div",{class:"sizeheading"},i.i18n.sizeheading),I("div",{class:"sizecategory"},I("table",{class:"sizeTable"},I("tr",null,I("td",null,I("img",{class:"firstCell",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTA0IiBoZWlnaHQ9IjE2MiIgdmlld0JveD0iMCAwIDEwNCAxNjIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0yOS4wMDE2IDE0My4zOTlIMTkuNjAxNlYxNTIuMTk5SDI5LjAwMTZWMTQzLjM5OVoiIGZpbGw9IiM5OTI5MEEiLz4KPHBhdGggZD0iTTE5LjYgMTUyLjJMMTcgMTU5SDMyTDI4LjkgMTUwLjNMMTkuNiAxNTIuMloiIGZpbGw9IiMwRDIzNEIiLz4KPHBhdGggZD0iTTQ5LjEgMTQ3LjVIMzlWMTU0LjhINDkuMVYxNDcuNVoiIGZpbGw9IiM5OTI5MEEiLz4KPHBhdGggZD0iTTM5IDE1Mi45VjE1OS4ySDY1LjVMNDkuMSAxNTEuNVYxNDkuM0wzOSAxNTIuOVoiIGZpbGw9IiMwRDIzNEIiLz4KPHBhdGggZD0iTTY1LjUgMTU5LjE5OUgzOVYxNjEuNzk5SDY1LjVWMTU5LjE5OVoiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik00NC41MDE2IDE1Ny4xQzQ1LjU1MDkgMTU3LjEgNDYuNDAxNiAxNTYuMjQ5IDQ2LjQwMTYgMTU1LjJDNDYuNDAxNiAxNTQuMTUgNDUuNTUwOSAxNTMuMyA0NC41MDE2IDE1My4zQzQzLjQ1MjIgMTUzLjMgNDIuNjAxNiAxNTQuMTUgNDIuNjAxNiAxNTUuMkM0Mi42MDE2IDE1Ni4yNDkgNDMuNDUyMiAx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iBmaWxsPSIjMEQyMzRCIi8+CjxwYXRoIGQ9Ik03MC40OTE3IDY1LjcwNEg1LjgxMDU1VjY3LjIwNDFINzAuNDkxN1Y2NS43MDRaIiBmaWxsPSIjMEQyMzRCIi8+Cjwvc3ZnPgo="}))),I("tr",null,I("td",null),g.map((M=>I("td",null,I("pn-radio-button",{radioid:M.value,value:M.value,name:"sizecategory",checked:M.value===this.sizecategory.value,onChange:()=>{this.sizecategory=g.filter((I=>I.value===M.value))[0],this.weight={value:0,name:""},this.weightvalue=this.weight.value}})))))))),this.sizecategory.value&&z[this.sizecategory.unit]?I("div",{class:"weightoption"},I("div",{class:"weightoption-content"},z[this.sizecategory.unit].map((M=>I("pn-choice-button",{choiceid:this.sizecategory.value+M.value,name:"weight",type:"radio",value:this.weight.value?z[this.sizecategory.unit].findIndex((M=>M.value===this.weightvalue)):0,checked:M.value===this.weight.value,onChange:()=>{this.weight=z[this.sizecategory.unit].filter((I=>I.value===M.value))[0],this.weightvalue=this.weight.value}},M.name))))):null,this.filteredItems&&this.filteredItems.length>0?I("div",{class:"resultlist"},i.i18n.resultlistheading?I("div",{class:"resultHeading"},i.i18n.resultlistheading):null,this.filteredItems.map((M=>I("div",null,I("pn-find-price-result",{item:M})))),I("div",{class:"servicePoint"},I("pn-illustration",{illustration:"character-box-letters-house"}),I("h3",null,i.i18n.servicePointHeader),I("a",{href:"https://www.postnord.se/vara-verktyg/sok-brevlada-eller-servicestalle",target:"_blank"},i.i18n.servicePointLink,I("pn-icon",{symbol:"map-marker",color:"blue700"})))):null)}static get watchers(){return{market:["setState"],language:["setState"],sizecategory:["filterItems"],weightvalue:["filterItems"]}}};T.style='@charset "UTF-8";pn-find-price .sizeTable{border-style:none !important;border:0 !important}pn-find-price .sizeTable>tr td{margin-bottom:1em;text-align:center;vertical-align:bottom;padding-right:1em}pn-find-price .firstCell{margin-right:0;margin-left:auto}pn-find-price .findprice-form{max-width:60em;margin:0 auto 3em auto}pn-find-price h2,pn-find-price .heading,pn-find-price .resultHeading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-find-price .sizeheading{text-align:center;font-size:1.25em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-find-price .sizecategory{margin-top:5em;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-find-price .weightoption{font-size:0.9em;max-width:41rem;margin:0 auto}pn-find-price .weightoption-content{text-align:center}pn-find-price .weightoption-content pn-choice-button{width:7em;line-height:3.3em;font-size:0.9em;vertical-align:bottom}pn-find-price .weightoption-content pn-choice-button>label{-ms-flex-line-pack:center;align-content:center;-ms-flex-pack:center;justify-content:center}pn-find-price .weightoption-content pn-choice-button ::before{content:"Max ";font-weight:lighter}pn-find-price .resultlist{margin:3em 0}pn-find-price .servicePoint{text-align:center}pn-find-price .servicePoint pn-illustration{display:block;max-width:5em;max-height:5em;margin:1.5em auto 0 auto}pn-find-price .servicePoint h3{margin-top:1.8em;margin-bottom:0.9em}pn-find-price .servicePoint a{color:#005D92}';export{T as pn_find_price}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-ff678bef.system.js","./p-4f8537fb.system.js","./p-b4b6ab95.system.js"],(function(t){"use strict";var i,e,s,n;return{setters:[function(t){i=t.r;e=t.h;s=t.a},function(t){n=t.s},function(){}],execute:function(){var l="pn-find-price-result .test{margin:3em 0}.resultcontent{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}";var r=t("pn_find_price_result",function(){function t(t){i(this,t);this.item=null;this.shownitems=[];this.description=[];this.weightText=""}t.prototype.componentWillLoad=function(){this.composeItems()};t.prototype.composeItems=function(){if(this.item.additionalusp){var t=this.item.additionalusp.split("/");this.Usp1=t.length>0?t[0]:null;this.Usp2=t.length>1?t[1]:null;this.Usp3=t.length>2?t[2]:null}if(this.item.description){this.description=this.item.description.split("#bullet").filter((function(t){return t!==""}))}};t.prototype.render=function(){return e(s,null,e("pn-product-card",null,e("pn-illustration",{slot:"illustration",illustration:this.item.illustration}),e("div",{slot:"title"},e("h2",null,this.item.name," "),this.item.highestrankusp?this.item.highestrankusp==="Billigast"?e("span",{slot:"Biligast"},this.item.highestrankusp,e("pn-icon",{symbol:"box-label",small:"false",color:"green700"})):e("span",{slot:"Snabbast"},this.item.highestrankusp,e("pn-icon",{symbol:"bolt",small:"false",color:"blue700"})):null),e("div",{slot:"content"},e("div",{class:"content"},this.item.description?e("div",{class:"description"},this.description.map((function(t){return e("li",null,t)}))):null,this.item.info?e("div",{class:"description"},this.item.info):null)),this.item.note?e("small",{slot:"note"},e("p",null,this.item.note)):null,this.item.additionalusp?e("div",{slot:"additionalUSP"},this.Usp1?e("span",null,this.Usp1):null,this.Usp2?e("span",null,this.Usp2):null,this.Usp3?e("span",null,this.Usp3):null):null,this.item.paket?e("pn-product-card-info",{paket:this.item.paket,rulle:this.item.rulle}):null,e("div",{slot:"cardprice"},this.item.priceagent?e("pn-product-card-price",{slot:"price",label:"",amount:this.item.priceagent+"",currency:n.market.currency,url:"https://shop.postnord.se/ebutik/default.aspx",service:this.item.name+"-eshop"}):null,this.item.pricesenddirect?e("pn-product-card-price",{slot:"sendDirectPrice",label:n.i18n.senddirectcta,amount:this.item.pricesenddirect+"",currency:n.market.currency,url:"https://portal.postnord.com/skickadirekt/",service:this.item.name+"-portal"}):null,this.item.pricestamps?e("pn-product-card-price",{slot:"stampPrice",label:n.i18n.stampshopcta,amount:this.item.pricestamps+"",currency:n.market.currency,url:"https://shop.postnord.se/ebutik/default.aspx",service:this.item.name+"-eshop",note:n.i18n.message}):null)))};Object.defineProperty(t,"watchers",{get:function(){return{item:["composeItems"]}},enumerable:false,configurable:true});return t}());r.style=l}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-ff678bef.system.js"],(function(){"use strict";var e,n,t,a,i,r;return{setters:[function(s){e=s.d;n=s.N;t=s.w;a=s.p;i=s.H;r=s.b}],execute:function(){var s=function(){{l(i.prototype)}var r=Array.from(e.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(n,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===n}));var s={};if("onbeforeload"in r&&!history.scrollRestoration){return{then:function(){}}}{s.resourcesUrl=new URL(".",new URL(r.getAttribute("data-resources-url")||r.src,t.location.href)).href}return a(s)};var l=function(e){var n=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return n.call(this,e)}var t=n.call(this,false);var a=this.childNodes;if(e){for(var i=0;i<a.length;i++){if(a[i].nodeType!==2){t.appendChild(a[i].cloneNode(true))}}}return t}};s().then((function(e){return r([["p-dc48d8f8.system",[[4,"pn-marketweb-siteheader",{market:[1537],language:[1537],environment:[1537],token:[1],endpoint:[1],hideSiteSelector:[1540,"hide-site-selector"],hideLanguageSelector:[1540,"hide-language-selector"],hideSearch:[1540,"hide-search"],hideLogin:[1540,"hide-login"],sessionForward:[4,"session-forward"],cache:[4],spaMode:[4,"spa-mode"],i18n:[32],gotData:[32],fetchingData:[32],homePageLink:[32],menuItems:[32],siteDefinition:[32],search:[32],siteSelector:[32],languageSelector:[32],languageOptions:[32],loginDialog:[32],minimizeSearch:[32],loggedIn:[32],loginManager:[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["p-39ecfda9.system",[[0,"pn-find-price",{source:[1],language:[1025],market:[1025],filteredItems:[32],weight:[32],weightvalue:[32],sourceData:[32],sizecategory:[32]}]]],["p-acd9d186.system",[[0,"pn-find-service-and-price",{source:[1],language:[1025],market:[1025],filteredItems:[32],postagetype:[32],weight:[32],weightvalue:[32],deliveryscope:[32],sourceData:[32]}]]],["p-87a4810e.system",[[4,"pn-product-pricelist",{source:[1],language:[1025],market:[1025],productid:[1],filteredItems:[32],sourceData:[32],gotData:[32],loading:[32],postagetype:[32],weight:[32],weightvalue:[32]}]]],["p-da2fa398.system",[[0,"pn-marketweb-sitefooter",{market:[1537],language:[1537],environment:[1537],endpoint:[1],cache:[4],siteDefinition:[32],footerContent:[32],i18n:[32],gotData:[32],fetchingData:[32]}]]],["p-0b796318.system",[[4,"pn-bonus-progressbar",{icon:[1],heading:[1],theme:[513],bonuspercentage:[1],currency:[513],value:[1538],min:[1538],max:[1538],valuepercentage:[32],progresspercentage:[32],levelValues:[32],currentLevelAdjustedValue:[32]}]]],["p-39760c45.system",[[1,"pn-filter-checkbox",{value:[520],name:[1],checkboxid:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-e732c60a.system",[[1,"pn-filter-search",{disabled:[4],placeholder:[1],inputid:[1],name:[1],autocomplete:[1],value:[1],label:[1],loading:[4],button:[1],light:[4]},[[0,"input","inputHandler"]]]]],["p-b4a0e5fd.system",[[0,"pn-pex-pricefinder",{language:[1],currency:[1],apiUrl:[1,"api-url"],i18n:[32],fromzip:[32],tozip:[32],weight:[32],when:[32],response:[32]},[[0,"language","setLanguage"]]]]],["p-a439468a.system",[[4,"pn-profile-selector",{language:[1537],returnUrl:[1,"return-url"],i18n:[32],isLoading:[32],numberOfProfiles:[32]}]]],["p-5d34bb8f.system",[[0,"pn-profile-selector-option",{name:[1],identifier:[1],url:[1]}]]],["p-702f06b7.system",[[4,"pn-sidenav",{language:[1],navLabel:[1,"nav-label"],i18n:[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["p-38e0dc75.system",[[4,"pn-sidenav-level",{level:[32],levelId:[32],isOpen:[32],parentName:[32],parentHref:[32],parentLinkId:[32],alignment:[32]}]]],["p-42da096a.system",[[4,"pn-sidenav-link",{name:[1],href:[1],target:[1],linkid:[1],icon:[1],current:[4],levelId:[32],open:[32],hasChildren:[32]}]]],["p-731efb7b.system",[[0,"pn-find-price-result",{item:[1040],shownitems:[16],Usp1:[1,"usp-1"],Usp2:[1,"usp-2"],Usp3:[1,"usp-3"],description:[16],weightText:[32]}]]],["p-2c361d9e.system",[[0,"pn-find-service-and-price-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-802afa1f.system",[[0,"pn-product-pricelist-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-4f0f8e9f.system",[[0,"pn-bonus-progressbar-level",{current:[516],value:[1538],bonuspercentage:[1537],visualpercentage:[1538],percentage:[32],max:[32],min:[32],currency:[32]}]]],["p-b49c9d34.system",[[4,"pn-site-footer",{url:[1],linktitle:[1]}],[4,"pn-site-footer-col"]]],["p-69b751a8.system",[[4,"pn-choice-button",{value:[520],name:[1],choiceid:[1],type:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-2b120338.system",[[4,"pn-mainnav-link",{name:[1],href:[1],target:[1],linkid:[1],levelId:[32],open:[32],hasChildren:[32]}]]],["p-39ff2013.system",[[4,"pn-product-card"],[0,"pn-product-card-info",{rulle:[1],paket:[1],label:[1],text:[1]}],[0,"pn-product-card-price",{label:[1],amount:[1],currency:[1],note:[1],url:[1],service:[1]}]]],["p-fbdc9ea5.system",[[4,"pn-mainnav-level",{level:[32],levelId:[32],isOpen:[32],parentName:[32],parentHref:[32],parentLinkId:[32],listCount:[32],alignment:[32]}],[4,"pn-language-selector",{value:[1537],selectedLanguageName:[32],options:[32],i18n:[32]}],[0,"pn-language-selector-option",{name:[1],code:[1],url:[1],selected:[4],currentLanguage:[1,"current-language"]}],[4,"pn-mainnav",{market:[1],language:[1],navigationId:[1,"navigation-id"],openMenu:[1028,"open-menu"],navLabel:[1,"nav-label"]},[[0,"language","setLanguage"],[0,"market","setMarket"],[0,"menuLanguageChange","onLanguageChange"],[0,"setmenuopenstate","setMenuOpenState"],[0,"openMenuLevelChange","onOpenMenuLevelChange"]]],[4,"pn-mainnav-list",{heading:[1],linkCount:[32]}],[0,"pn-marketweb-siteheader-login",{endpoint:[1],token:[1],i18n:[8,"i-1-8n"],emitEvents:[4,"emit-events"],loginDialog:[1040],loginManager:[32],loggedIn:[32],toggleButtonText:[32],username:[32]}],[0,"pn-marketweb-siteheader-search",{i18n:[8,"i-1-8n"],showOnlyLink:[1028,"show-only-link"],hideSearch:[1028,"hide-search"],search:[1040]}],[4,"pn-site-selector",{buttontext:[1537],heading:[1537],language:[1537],i18n:[32]}],[0,"pn-site-selector-item",{url:[1],heading:[1],description:[1],newwindow:[4]}]]],["p-3f8b459a.system",[[4,"pn-product-tile"],[0,"pn-product-tile-info",{label:[1],text:[1],icon:[1]}],[0,"pn-product-tile-price",{label:[1],amount:[1],currency:[1],url:[1]}]]]],e)}))}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,i,a){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function s(e){try{l(a.next(e))}catch(t){r(t)}}function o(e){try{l(a["throw"](e))}catch(t){r(t)}}function l(e){e.done?i(e.value):n(e.value).then(s,o)}l((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,r,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,n&&(r=s[0]&2?n["return"]:s[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;if(n=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(s[0]===6&&i.label<r[1]){i.label=r[1];r=s;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(s);break}if(r[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(o){s=[6,o];n=0}finally{a=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var a=0,n=t.length,r;a<n;a++){if(r||!(a in t)){if(!r)r=Array.prototype.slice.call(t,0,a);r[a]=t[a]}}return e.concat(r||Array.prototype.slice.call(t))};System.register(["./p-ff678bef.system.js","./p-0ea97ca0.system.js","./p-4c9b1ae9.system.js","./p-b4b6ab95.system.js"],(function(e){"use strict";var t,i,a,n,r;return{setters:[function(e){t=e.r;i=e.h;a=e.a},function(e){n=e.a},function(e){r=e.s},function(){}],execute:function(){var s={sv:{maxweightlabel:"Maxvikt",weightlabel:"Vikt",maxmeasurementlabel:"Maxvolym",sizeheading:"Hur mycket väger det?",senddirectcta:"Köp frakt via Skicka Direkt",stampshopcta:"Köp frimärken via vår webshop"},en:{maxweightlabel:"Max weight",weightlabel:"Weight",maxmeasurementlabel:"Maximum measurement",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},da:{maxweightlabel:"Max vægt",weightlabel:"Vægt",maxmeasurementlabel:"Maks. Volumen",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},no:{maxweightlabel:"Maks vekt",weightlabel:"Vekt",maxmeasurementlabel:"Maks volum",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},fi:{maxweightlabel:"Max paino",weightlabel:"Piano",maxmeasurementlabel:"Max äänenvoimakkuus",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"}};var o={se:{currency:"kr"},dk:{currency:"dk"},fi:{currency:" €"},no:{currency:"kr"}};var l={letter:[{name:"50g",abbreviation:"g",value:50},{name:"100g",abbreviation:"g",value:100},{name:"250g",abbreviation:"g",value:250},{name:"500g",abbreviation:"g",value:500},{name:"1kg",abbreviation:"kg",value:1},{name:"2kg",abbreviation:"kg",value:2}],parcel:[{name:"1kg",abbreviation:"kg",value:1},{name:"2kg",abbreviation:"kg",value:2},{name:"3kg",abbreviation:"kg",value:3},{name:"4kg",abbreviation:"kg",value:4},{name:"5kg",abbreviation:"kg",value:5},{name:"6kg",abbreviation:"kg",value:6},{name:"7Kg",abbreviation:"kg",value:7},{name:"8kg",abbreviation:"kg",value:8},{name:"9kg",abbreviation:"kg",value:9},{name:"10kg",abbreviation:"kg",value:10},{name:"11kg",abbreviation:"kg",value:11},{name:"12kg",abbreviation:"kg",value:12},{name:"13kg",abbreviation:"kg",value:13},{name:"14kg",abbreviation:"kg",value:14},{name:"15kg",abbreviation:"kg",value:15},{name:"16kg",abbreviation:"kg",value:16},{name:"17kg",abbreviation:"kg",value:17},{name:"18kg",abbreviation:"kg",value:18},{name:"20kg",abbreviation:"kg",value:20}]};var u='pn-product-pricelist pn-spinner{margin:1em auto}pn-product-pricelist h2,pn-product-pricelist .heading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-product-pricelist .content,pn-product-pricelist .weightselection{max-width:50em;margin:0 auto 1em}pn-product-pricelist .weightoption{display:-ms-flexbox;display:flex;gap:1em}pn-product-pricelist .weightoption-input{width:5em;position:relative}pn-product-pricelist .weightoption-input input::-webkit-outer-spin-button,pn-product-pricelist .weightoption-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}pn-product-pricelist .weightoption-input-abbreviation{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:1.2em;margin-top:1.55rem;font-weight:500}pn-product-pricelist .weightoption-range{-ms-flex-positive:1;flex-grow:1;-ms-flex-item-align:end;align-self:flex-end;position:relative;top:0.5em}pn-product-pricelist .weightoption-range input{width:calc(100% - 1.5em)}pn-product-pricelist .weightoption-range datalist{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75em}pn-product-pricelist .resultlist:not([data-list-count="0"]){margin-top:2em}';var p=e("pn_product_pricelist",function(){function e(e){t(this,e);this.source="https://com-integration.postnord.com/globalassets/global/prices/sv-se-findprice.xlsx";this.language="sv";this.market="se";this.productid="";this.filteredItems=[];this.sourceData={types:[],data:[]};this.gotData=false;this.loading=false;this.postagetype={value:""};this.weight={value:0,name:""};this.weightvalue=0}e.prototype.componentWillLoad=function(){this.setState();this.getDataSource().then((function(){}))};e.prototype.setState=function(){if(this.market){r.market=o[this.market]}if(this.language&&s[this.language]){r.i18n=s[this.language]}};e.prototype.getDataSource=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i,a,r;return __generator(this,(function(s){switch(s.label){case 0:if(!this.productid){return[2]}this.loading=true;e="?cache=".concat(Math.floor(Math.random()*(1e4-1)+1));return[4,fetch(this.source+e)];case 1:t=s.sent();return[4,t.blob()];case 2:i=s.sent();s.label=3;case 3:s.trys.push([3,5,,6]);return[4,n(i)];case 4:a=s.sent();this.sourceData=a;this.filterItems();return[3,6];case 5:r=s.sent();this.loading=false;console.warn("Unable to parse data");return[3,6];case 6:return[2]}}))}))};e.prototype.filterItems=function(){var e=this;var t;if(!((t=this.sourceData)===null||t===void 0?void 0:t.data)){console.info("Data has not yet been loaded");return}this.loading=false;var i=this.sourceData.data.filter((function(t){return t.id===e.productid}));if(i.length===0){return}this.postagetype.value=i[0].what;if(!l[this.postagetype.value]||l[this.postagetype.value].length===0){return}if(this.weightvalue===0){this.weight=l[this.postagetype.value][0];this.weightvalue=this.weight.value}var a=this.weight.abbreviation.toLocaleLowerCase()==="kg"&&this.postagetype.value==="letter"?this.weight.value*1e3:this.weight.value;var n=i.filter((function(e){return e.maxweight===a}));if(n.length===0){n=i.filter((function(e){return e.maxweight>=a}));if(n.length>0){var r=__spreadArray([],new Map(n.reverse().map((function(e){return[e["id"],e]}))).values(),true);if(r.length>0){n=r}}}this.filteredItems=n;this.gotData=this.filteredItems.length>0};e.prototype.render=function(){var e=this;return i(a,null,i("div",{class:"content"},i("slot",null)),this.loading?i("pn-spinner",null):null,this.postagetype.value&&l[this.postagetype.value]?i("div",{class:"weightselection"},r.i18n.sizeheading?i("div",{class:"heading"},r.i18n.sizeheading):null,i("div",{class:"weightoption"},i("div",{class:"weightoption-input"},i("pn-input",{inputid:"weightvalue",name:"weightvalue",type:"number",label:r.i18n.weightlabel,value:this.weightvalue,onChange:function(t){if(t&&t.target&&t.target.value){var i=parseInt(t.target.value,10);if(!isNaN(i)){var a=l[e.postagetype.value].filter((function(e){var t=e.abbreviation==="kg"?e.value*1e3:e.value;return t>=i}));if(a&&a.length>0){e.weight=a[0];e.weightvalue=e.weight.value}}}}}),i("span",{class:"weightoption-input-abbreviation"},this.weight.abbreviation)),i("div",{class:"weightoption-range"},i("input",{type:"range",id:"weightrange",name:"weightrange",list:"weightlist",value:!this.weight.value?0:l[this.postagetype.value].findIndex((function(t){return t.value===e.weightvalue})),onChange:function(t){var i=t.target.value;e.weight=l[e.postagetype.value][i];e.weightvalue=e.weight.value},min:"0",max:l[this.postagetype.value].length-1}),i("datalist",{id:"weightlist"},l[this.postagetype.value].map((function(t,a){var n=t.name;if(l[e.postagetype.value].length>6){n=a%5===0||a===0||a===l[e.postagetype.value].length-1?t.name:""}return i("option",Object.assign({value:a},n?{label:n}:{}))})))))):null,i("div",{class:"resultlist","data-list-count":this.filteredItems.length},this.filteredItems.map((function(e){return i("div",null,i("pn-product-pricelist-result",{item:e}))}))))};Object.defineProperty(e,"watchers",{get:function(){return{market:["setState"],language:["setState"],postagetype:["filterItems"],weightvalue:["filterItems"]}},enumerable:false,configurable:true});return e}());p.style=u}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e,f as t}from"./p-cf516409.js";const s=e=>!("isConnected"in e)||e.isConnected,n=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(s))})(...t)}),2e3)}})(),o=(s,o)=>{const r=((e,t=((e,t)=>e!==t))=>{let s=new Map(Object.entries(null!=e?e:{}));const n={dispose:[],get:[],set:[],reset:[]},o=()=>{s=new Map(Object.entries(null!=e?e:{})),n.reset.forEach((e=>e()))},r=e=>(n.get.forEach((t=>t(e))),s.get(e)),c=(e,o)=>{const r=s.get(e);t(o,r,e)&&(s.set(e,o),n.set.forEach((t=>t(e,o,r))))},u="undefined"==typeof Proxy?{}:new Proxy(e,{get:(e,t)=>r(t),ownKeys:()=>Array.from(s.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>s.has(t),set:(e,t,s)=>(c(t,s),!0)}),p=(e,t)=>(n[e].push(t),()=>{((e,t)=>{const s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)})(n[e],t)});return{state:u,get:r,set:c,on:p,onChange:(t,s)=>{const n=p("set",((e,n)=>{e===t&&s(n)})),o=p("reset",(()=>s(e[t])));return()=>{n(),o()}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(p("set",t.set)),t.get&&e.push(p("get",t.get)),t.reset&&e.push(p("reset",t.reset)),t.dispose&&e.push(p("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{n.dispose.forEach((e=>e())),o()},reset:o,forceUpdate:e=>{const t=s.get(e);n.set.forEach((s=>s(e,t,t)))}}})(s,o);return r.use((()=>{if("function"!=typeof e)return{};const s=new Map;return{dispose:()=>s.clear(),get:t=>{const n=e();n&&((e,t,s)=>{const n=e.get(t);n?n.includes(s)||n.push(s):e.set(t,[s])})(s,t,n)},set:e=>{const o=s.get(e);o&&s.set(e,o.filter(t)),n(s)},reset:()=>{s.forEach((e=>e.forEach(t))),n(s)}}})()),r};export{o as c}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function l(e){try{s(n.next(e))}catch(t){o(t)}}function a(e){try{s(n["throw"](e))}catch(t){o(t)}}function s(e){e.done?i(e.value):r(e.value).then(l,a)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,l;return l={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function a(e){return function(t){return s([e,t])}}function s(l){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,r&&(o=l[0]&2?r["return"]:l[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;if(r=0,o)l=[l[0]&2,o.value];switch(l[0]){case 0:case 1:o=l;break;case 4:i.label++;return{value:l[1],done:false};case 5:i.label++;r=l[1];l=[0];continue;case 7:l=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){i.label=l[1];break}if(l[0]===6&&i.label<o[1]){i.label=o[1];o=l;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(l);break}if(o[2])i.ops.pop();i.trys.pop();continue}l=t.call(e,i)}catch(a){l=[6,a];r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-ff678bef.system.js"],(function(e,t){"use strict";var i,n,r,o;return{setters:[function(e){i=e.r;n=e.h;r=e.a;o=e.g}],execute:function(){var l={sv:{heading:"Beräkna kostnad med PEX Bud",labelFrom:"Från postkod",labelTo:"Till postkod",zipPlaceholder:"Ex. 12831",labelWeight:"Vikt (i gram)",weightPlaceholder:"Ex. 1000",labelWhen:"När",submitButtonText:"Beräkna pris"},en:{heading:"Calculate cost with PEX Bud",labelFrom:"From zip",labelTo:"To zip",zipPlaceholder:"Ex. 12831",labelWeight:"Weight (in grams)",weightPlaceholder:"Ex. 1000",labelWhen:"When",submitButtonText:"Calculate price"}};var a=".pex-pricefinder-top{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.pex-pricefinder-top pn-illustration{width:5.5rem;height:5.5rem;margin-right:1.6rem}.pex-pricefinder-form{margin:1.6rem 0 0 0;padding:0;border:0}.pex-pricefinder-form fieldset{margin:0;padding:0;border:0}.pex-pricefinder-form fieldset+fieldset{margin-top:1.6rem}.pex-pricefinder-form fieldset>div{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:1em}.pex-pricefinder-form fieldset>div>*{-ms-flex-positive:1;flex-grow:1;width:100%}.pex-pricefinder-form pn-button{-ms-flex-item-align:end;align-self:end;margin-left:auto}.pex-pricefinder-form .datepicker{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}.pex-pricefinder-form .datepicker label{margin-bottom:0.4rem;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;cursor:pointer;-webkit-transition:color 0.2s;transition:color 0.2s}.pex-pricefinder-form .datepicker pn-date-picker{width:100%}.pex-pricefinder-response{margin-top:2.4rem;text-align:center;font-size:2.4em}";var s=e("pn_pex_pricefinder",function(){function e(e){i(this,e);this.language="sv";this.currency="Kr";this.apiUrl="/api/pex/order";this.i18n=l.sv;this.fromzip=null;this.tozip=null;this.weight=100;this.when=(new Date).toISOString().split("T")[0];this.response=null}e.prototype.componentWillLoad=function(){this.init()};e.prototype.init=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.checkParameters();this.setLanguage();return[2]}))}))};e.prototype.checkParameters=function(){var e=this;var t=new URLSearchParams(window.location.href);if(!t){return}var i=["fromzip","tozip","weight","when"];i.forEach((function(i){if(t.get(i)){e[i]=t.get(i)}}))};e.prototype.setLanguage=function(){if(l[this.language]){this.i18n=l[this.language]}};e.prototype.onSubmit=function(e){e.preventDefault();var t=new FormData(e.target);var i=this.compileRequestQuery(t);this.fetchResult(i)};e.prototype.compileRequestQuery=function(e){var t={from:e.get("fromzip"),to:e.get("tozip"),weight:e.get("weight"),when:e.get("when")};if(!t.when){t.when=this.hostElement.querySelector("input.date-input").value}if(!e.get("fromzip")||!e.get("tozip")||!e.get("weight")){console.error("Form data is not compliant");return}return t};e.prototype.fetchResult=function(e){return __awaiter(this,void 0,void 0,(function(){var i,n,r;return __generator(this,(function(o){switch(o.label){case 0:this.response=null;i=new URLSearchParams(e);return[4,fetch("".concat(this.apiUrl,"?").concat(i.toString()),{method:"get",headers:{"Content-Type":"application/json"}}).catch(this.onFetchError.bind(this))];case 1:n=o.sent();return[4,n.json().catch(this.onFetchError.bind(this))];case 2:r=o.sent();if(!!r)return[3,5];return[4,t.import("./p-84d9f552.system.js")];case 3:return[4,o.sent().default];case 4:r=o.sent();o.label=5;case 5:if(r){this.response=r}return[2]}}))}))};e.prototype.onFetchError=function(e){console.error("onFetchError(error",e)};e.prototype.render=function(){return n(r,null,n("div",{class:"pex-pricefinder-top"},n("pn-illustration",{illustration:"PEX-truck"}),n("h2",null,this.i18n.heading)),n("form",{method:"get",action:"",class:"pex-pricefinder-form",onSubmit:this.onSubmit.bind(this)},n("fieldset",null,n("div",null,n("pn-input",{type:"number",label:this.i18n.labelFrom,inputid:"fromzip",name:"fromzip",placeholder:this.i18n.zipPlaceholder,required:true,value:this.fromzip}),n("pn-input",{type:"number",label:this.i18n.labelTo,inputid:"tozip",name:"tozip",placeholder:this.i18n.zipPlaceholder,required:true,value:this.tozip}))),n("fieldset",null,n("div",null,n("pn-input",{type:"number",label:this.i18n.labelWeight,inputid:"weight",name:"weight",placeholder:this.i18n.weightPlaceholder,required:true,value:this.weight}),n("div",{class:"datepicker"},n("label",{htmlFor:"when"},this.i18n.labelWhen),n("pn-date-picker",{inputid:"when",name:"when","start-of-week":"1",min:(new Date).toISOString().split("T")[0],language:this.language,value:this.when})))),n("fieldset",null,n("div",null,n("pn-button",{type:"submit"},this.i18n.submitButtonText)))),this.response?n("div",{class:"pex-pricefinder-response"},n("strong",null,this.response.data.value," ",this.currency)):null)};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());s.style=a}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-ff678bef.system.js"],(function(e){"use strict";var n,t;return{setters:[function(e){n=e.e;t=e.f}],execute:function(){var r=function(e,n,t){var r=e.get(n);if(!r){e.set(n,[t])}else if(!r.includes(t)){r.push(t)}};var u=function(e,n){var t;return function(){var r=[];for(var u=0;u<arguments.length;u++){r[u]=arguments[u]}if(t){clearTimeout(t)}t=setTimeout((function(){t=0;e.apply(void 0,r)}),n)}};var i=function(e){return!("isConnected"in e)||e.isConnected};var f=u((function(e){for(var n=0,t=e.keys();n<t.length;n++){var r=t[n];e.set(r,e.get(r).filter(i))}}),2e3);var o=function(){if(typeof n!=="function"){return{}}var e=new Map;return{dispose:function(){return e.clear()},get:function(t){var u=n();if(u){r(e,t,u)}},set:function(n){var r=e.get(n);if(r){e.set(n,r.filter(t))}f(e)},reset:function(){e.forEach((function(e){return e.forEach(t)}));f(e)}}};var c=function(e,n){if(n===void 0){n=function(e,n){return e!==n}}var t=new Map(Object.entries(e!==null&&e!==void 0?e:{}));var r={dispose:[],get:[],set:[],reset:[]};var u=function(){t=new Map(Object.entries(e!==null&&e!==void 0?e:{}));r.reset.forEach((function(e){return e()}))};var i=function(){r.dispose.forEach((function(e){return e()}));u()};var f=function(e){r.get.forEach((function(n){return n(e)}));return t.get(e)};var o=function(e,u){var i=t.get(e);if(n(u,i,e)){t.set(e,u);r.set.forEach((function(n){return n(e,u,i)}))}};var c=typeof Proxy==="undefined"?{}:new Proxy(e,{get:function(e,n){return f(n)},ownKeys:function(e){return Array.from(t.keys())},getOwnPropertyDescriptor:function(){return{enumerable:true,configurable:true}},has:function(e,n){return t.has(n)},set:function(e,n,t){o(n,t);return true}});var a=function(e,n){r[e].push(n);return function(){s(r[e],n)}};var v=function(n,t){var r=a("set",(function(e,r){if(e===n){t(r)}}));var u=a("reset",(function(){return t(e[n])}));return function(){r();u()}};var p=function(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}var t=e.reduce((function(e,n){if(n.set){e.push(a("set",n.set))}if(n.get){e.push(a("get",n.get))}if(n.reset){e.push(a("reset",n.reset))}if(n.dispose){e.push(a("dispose",n.dispose))}return e}),[]);return function(){return t.forEach((function(e){return e()}))}};var g=function(e){var n=t.get(e);r.set.forEach((function(t){return t(e,n,n)}))};return{state:c,get:f,set:o,on:a,onChange:v,use:p,dispose:i,reset:u,forceUpdate:g}};var s=function(e,n){var t=e.indexOf(n);if(t>=0){e[t]=e[e.length-1];e.length--}};var a=e("c",(function(e,n){var t=c(e,n);t.use(o());return t}))}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e="pn-market-web-components";let t,n,l,s=!1,o=!1,r=!1,i=!1,c=null,f=!1;const a="undefined"!=typeof window?window:{},u=a.document||{head:{}},d=a.HTMLElement||class{},h={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},p=e=>Promise.resolve(e),$=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),m=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=b(e,n),r=y(t,s),i=w(n);h.ael(o,l,r,i),(t.o=t.o||[]).push((()=>h.rel(o,l,r,i)))}))},y=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(l){be(l)}},b=(e,t)=>8&t?a:e,w=e=>0!=(2&e),g="http://www.w3.org/1999/xlink",v=new WeakMap,k=e=>"sc-"+e.h,j={},O=e=>"object"==(e=typeof e)||"function"===e,S=(e,t,...n)=>{let l=null,s=null,o=null,r=!1,i=!1,c=[];const f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((r="function"!=typeof e&&!O(l))&&(l+=""),r&&i?c[c.length-1].p+=l:c.push(r?x(null,l):l),i=r)};if(f(n),t){t.key&&(s=t.key),t.name&&(o=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,C);const a=x(e,null);return a.$=t,c.length>0&&(a.m=c),a.g=s,a.v=o,a},x=(e,t)=>({t:0,k:e,p:t,j:null,m:null,$:null,g:null,v:null}),M={},C={forEach:(e,t)=>e.map(E).forEach(t),map:(e,t)=>e.map(E).map(t).map(N)},E=e=>({vattrs:e.$,vchildren:e.m,vkey:e.g,vname:e.v,vtag:e.k,vtext:e.p}),N=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),S(e.vtag,t,...e.vchildren||[])}const t=x(e.vtag,e.vtext);return t.$=e.vattrs,t.m=e.vchildren,t.g=e.vkey,t.v=e.vname,t},R=(e,t,n,l,s,o)=>{if(n!==l){let i=ye(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,s=L(n),o=L(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const f=O(l);if((i||f&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{let s=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(r){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(g,t):e.removeAttribute(t)):(!i||4&o||s)&&!f&&(l=!0===l?"":l,a?e.setAttributeNS(g,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):ye(a,c)?c.slice(2):c[2]+t.slice(3),n&&h.rel(e,t,n,!1),l&&h.ael(e,t,l,!1)}},T=/\s/,L=e=>e?e.split(T):[],P=(e,t,n,l)=>{const s=11===t.j.nodeType&&t.j.host?t.j.host:t.j,o=e&&e.$||j,r=t.$||j;for(l in o)l in r||R(s,l,o[l],void 0,n,t.t);for(l in r)R(s,l,o[l],r[l],n,t.t)},A=(e,o,c,f)=>{let a,d,h,p=o.m[c],$=0;if(s||(r=!0,"slot"===p.k&&(t&&f.classList.add(t+"-s"),p.t|=p.m?2:1)),null!==p.p)a=p.j=u.createTextNode(p.p);else if(1&p.t)a=p.j=u.createTextNode("");else{if(i||(i="svg"===p.k),a=p.j=u.createElementNS(i?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&p.t?"slot-fb":p.k),i&&"foreignObject"===p.k&&(i=!1),P(null,p,i),null!=t&&a["s-si"]!==t&&a.classList.add(a["s-si"]=t),p.m)for($=0;$<p.m.length;++$)d=A(e,p,$,a),d&&a.appendChild(d);"svg"===p.k?i=!1:"foreignObject"===a.tagName&&(i=!0)}return a["s-hn"]=l,3&p.t&&(a["s-sr"]=!0,a["s-cr"]=n,a["s-sn"]=p.v||"",h=e&&e.m&&e.m[c],h&&h.k===p.k&&e.j&&U(e.j,!1)),a},U=(e,t)=>{h.t|=1;const n=e.childNodes;for(let s=n.length-1;s>=0;s--){const e=n[s];e["s-hn"]!==l&&e["s-ol"]&&(H(e).insertBefore(e,q(e)),e["s-ol"].remove(),e["s-ol"]=void 0,r=!0),t&&U(e,t)}h.t&=-2},W=(e,t,n,s,o,r)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===l&&(c=c.shadowRoot);o<=r;++o)s[o]&&(i=A(null,n,o,e),i&&(s[o].j=i,c.insertBefore(i,q(t))))},D=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.j,I(l),o=!0,s["s-ol"]?s["s-ol"].remove():U(s,!0),s.remove())},F=(e,t)=>e.k===t.k&&("slot"===e.k?e.v===t.v:e.g===t.g),q=e=>e&&e["s-ol"]||e,H=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,V=(e,t)=>{const n=t.j=e.j,l=e.m,s=t.m,o=t.k,r=t.p;let c;null===r?(i="svg"===o||"foreignObject"!==o&&i,"slot"===o||P(e,t,i),null!==l&&null!==s?((e,t,n,l)=>{let s,o,r=0,i=0,c=0,f=0,a=t.length-1,u=t[0],d=t[a],h=l.length-1,p=l[0],$=l[h];for(;r<=a&&i<=h;)if(null==u)u=t[++r];else if(null==d)d=t[--a];else if(null==p)p=l[++i];else if(null==$)$=l[--h];else if(F(u,p))V(u,p),u=t[++r],p=l[++i];else if(F(d,$))V(d,$),d=t[--a],$=l[--h];else if(F(u,$))"slot"!==u.k&&"slot"!==$.k||U(u.j.parentNode,!1),V(u,$),e.insertBefore(u.j,d.j.nextSibling),u=t[++r],$=l[--h];else if(F(d,p))"slot"!==u.k&&"slot"!==$.k||U(d.j.parentNode,!1),V(d,p),e.insertBefore(d.j,u.j),d=t[--a],p=l[++i];else{for(c=-1,f=r;f<=a;++f)if(t[f]&&null!==t[f].g&&t[f].g===p.g){c=f;break}c>=0?(o=t[c],o.k!==p.k?s=A(t&&t[i],n,c,e):(V(o,p),t[c]=void 0,s=o.j),p=l[++i]):(s=A(t&&t[i],n,i,e),p=l[++i]),s&&H(u.j).insertBefore(s,q(u.j))}r>a?W(e,null==l[h+1]?null:l[h+1].j,n,l,i,h):i>h&&D(t,r,a)})(n,l,t,s):null!==s?(null!==e.p&&(n.textContent=""),W(n,null,t,s,0,s.length-1)):null!==l&&D(l,0,l.length-1),i&&"svg"===o&&(i=!1)):(c=n["s-cr"])?c.parentNode.textContent=r:e.p!==r&&(n.data=r)},_=e=>{let t,n,l,s,o,r,i=e.childNodes;for(n=0,l=i.length;n<l;n++)if(t=i[n],1===t.nodeType){if(t["s-sr"])for(o=t["s-sn"],t.hidden=!1,s=0;s<l;s++)if(r=i[s].nodeType,i[s]["s-hn"]!==t["s-hn"]||""!==o){if(1===r&&o===i[s].getAttribute("slot")){t.hidden=!0;break}}else if(1===r||3===r&&""!==i[s].textContent.trim()){t.hidden=!0;break}_(t)}},z=[],B=e=>{let t,n,l,s,r,i,c=0,f=e.childNodes,a=f.length;for(;c<a;c++){if(t=f[c],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(l=n.parentNode.childNodes,s=t["s-sn"],i=l.length-1;i>=0;i--)n=l[i],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(G(n,s)?(r=z.find((e=>e.O===n)),o=!0,n["s-sn"]=n["s-sn"]||s,r?r.S=t:z.push({S:t,O:n}),n["s-sr"]&&z.map((e=>{G(e.O,n["s-sn"])&&(r=z.find((e=>e.O===n)),r&&!e.S&&(e.S=r.S))}))):z.some((e=>e.O===n))||z.push({O:n}));1===t.nodeType&&B(t)}},G=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,I=e=>{e.$&&e.$.ref&&e.$.ref(null),e.m&&e.m.map(I)},J=e=>pe(e).M,K=(e,t,n)=>{const l=J(e);return{emit:e=>Q(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},Q=(e,t,n)=>{const l=h.ce(t,n);return e.dispatchEvent(l),l},X=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},Y=(e,t)=>{if(e.t|=16,!(4&e.t))return X(e,e.N),Ce((()=>Z(e,t)));e.t|=512},Z=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>re(n,e,t))),e.u=null),l=re(n,"componentWillLoad")),ie(l,(()=>ee(e,n,t)))},ee=async(e,t,n)=>{const l=e.M,s=l["s-rc"];n&&(e=>{const t=e.R,n=e.M,l=t.t,s=((e,t)=>{let n=k(t),l=ve.get(n);if(e=11===e.nodeType?e:u,l)if("string"==typeof l){let t,s=v.get(e=e.head||e);s||v.set(e,s=new Set),s.has(n)||(t=u.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),s&&s.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);te(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>le(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},te=(e,i)=>{try{c=i,i=i.render(),e.t&=-17,e.t|=2,((e,i)=>{const c=e.M,f=e.R,a=e.T||x(null,null),d=(e=>e&&e.k===M)(i)?i:S(null,null,i);if(l=c.tagName,f.L&&(d.$=d.$||{},f.L.map((([e,t])=>d.$[t]=c[e]))),d.k=null,d.t|=4,e.T=d,d.j=a.j=c.shadowRoot||c,t=c["s-sc"],n=c["s-cr"],s=0!=(1&f.t),o=!1,V(a,d),h.t|=1,r){let e,t,n,l,s,o;B(d.j);let r=0;for(;r<z.length;r++)e=z[r],t=e.O,t["s-ol"]||(n=u.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(r=0;r<z.length;r++)if(e=z[r],t=e.O,e.S){for(l=e.S.parentNode,s=e.S.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(o=n["s-nr"],o&&o["s-sn"]===t["s-sn"]&&l===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){s=o;break}(!s&&l!==t.parentNode||t.nextSibling!==s)&&t!==s&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,s))}else 1===t.nodeType&&(t.hidden=!0)}o&&_(d.j),h.t&=-2,z.length=0})(e,i)}catch(f){be(f,e.M)}return c=null,null},ne=()=>c,le=e=>{const t=e.M,n=e.i,l=e.N;64&e.t?re(n,"componentDidUpdate"):(e.t|=64,ce(t),re(n,"componentDidLoad"),e.P(t),l||oe()),e.C&&(e.C(),e.C=void 0),512&e.t&&Me((()=>Y(e,!1))),e.t&=-517},se=e=>{{const t=pe(e),n=t.M.isConnected;return n&&2==(18&t.t)&&Y(t,!1),n}},oe=()=>{ce(u.documentElement),Me((()=>Q(a,"appload",{detail:{namespace:"pn-market-web-components"}})))},re=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(l){be(l)}},ie=(e,t)=>e&&e.then?e.then(t):t(),ce=e=>e.classList.add("hydrated"),fe=(e,t,n)=>{if(t.A){e.watchers&&(t.U=e.watchers);const l=Object.entries(t.A),s=e.prototype;if(l.map((([e,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(s,e,{get(){return((e,t)=>pe(this).W.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=pe(e),o=s.M,r=s.W.get(t),i=s.t,c=s.i;if(n=((e,t)=>null==e||O(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.A[t][0]),!(8&i&&void 0!==r||n===r)&&(s.W.set(t,n),c)){if(l.U&&128&i){const e=l.U[t];e&&e.map((e=>{try{c[e](n,r,t)}catch(l){be(l,o)}}))}2==(18&i)&&Y(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){h.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.L.push([e,s]),s}))}}return e},ae=e=>{const t=e.cloneNode;e.cloneNode=function(e){const n=this,l=n.shadowRoot&&!0,s=t.call(n,!!l&&e);if(!l&&e){let e,t,l=0,o=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si"];for(;l<n.childNodes.length;l++)e=n.childNodes[l]["s-nr"],t=o.every((e=>!n.childNodes[l][e])),e&&s.appendChild(e.cloneNode(!0)),t&&s.appendChild(n.childNodes[l].cloneNode(!0))}return s}},ue=(e,t)=>{class n extends Array{item(e){return this[e]}}if(8&t.t){const t=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get(){return this.childNodes.map((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get:()=>e.children.length}),Object.defineProperty(e,"childNodes",{get(){const e=t.call(this);if(0==(1&h.t)&&2&pe(this).t){const t=new n;for(let n=0;n<e.length;n++){const l=e[n]["s-nr"];l&&t.push(l)}return t}return n.from(e)}})}},de=(e,t={})=>{const n=[],l=t.exclude||[],s=a.customElements,o=u.head,r=o.querySelector("meta[charset]"),i=u.createElement("style"),c=[];let f,d=!0;Object.assign(h,t),h.l=new URL(t.resourcesUrl||"./",u.baseURI).href,e.map((e=>{e[1].map((t=>{const o={t:t[0],h:t[1],A:t[2],D:t[3]};o.A=t[2],o.D=t[3],o.L=[],o.U={};const r=o.h,i=class extends HTMLElement{constructor(e){super(e),me(e=this,o),1&o.t&&e.attachShadow({mode:"open"}),ue(e,o)}connectedCallback(){f&&(clearTimeout(f),f=null),d?c.push(this):h.jmp((()=>(e=>{if(0==(1&h.t)){const t=pe(e),n=t.R,l=()=>{};if(1&t.t)m(e,t,n.D);else{t.t|=1,12&n.t&&(e=>{const t=e["s-cr"]=u.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){X(t,t.N=n);break}}n.A&&Object.entries(n.A).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.t)){{if(t.t|=32,(s=ge(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.U=s.watchers,fe(s,n,2),s.isProxied=!0);const e=()=>{};t.t|=8;try{new s(t)}catch(i){be(i)}t.t&=-9,t.t|=128,e()}if(s.style){let e=s.style;const t=k(n);if(!ve.has(t)){const l=()=>{};((e,t,n)=>{let l=ve.get(e);$&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,ve.set(e,l)})(t,e,!!(1&n.t)),l()}}}const o=t.N,r=()=>Y(t,!0);o&&o["s-rc"]?o["s-rc"].push(r):r()})(0,t,n)}l()}})(this)))}disconnectedCallback(){h.jmp((()=>(()=>{if(0==(1&h.t)){const e=pe(this);e.o&&(e.o.map((e=>e())),e.o=void 0)}})()))}componentOnReady(){return pe(this).F}};ae(i.prototype),o.q=e[0],l.includes(r)||s.get(r)||(n.push(r),s.define(r,fe(i,o,1)))}))})),i.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",i.setAttribute("data-styles",""),o.insertBefore(i,r?r.nextSibling:o.firstChild),d=!1,c.length?c.map((e=>e.connectedCallback())):h.jmp((()=>f=setTimeout(oe,30)))},he=new WeakMap,pe=e=>he.get(e),$e=(e,t)=>he.set(t.i=e,t),me=(e,t)=>{const n={t:0,M:e,R:t,W:new Map};return n.F=new Promise((e=>n.P=e)),e["s-p"]=[],e["s-rc"]=[],m(e,n,t.D),he.set(e,n)},ye=(e,t)=>t in e,be=(e,t)=>(0,console.error)(e,t),we=new Map,ge=e=>{const t=e.h.replace(/-/g,"_"),n=e.q,l=we.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(we.set(n,e),e[t])),be)},ve=new Map,ke=[],je=[],Oe=(e,t)=>n=>{e.push(n),f||(f=!0,t&&4&h.t?Me(xe):h.raf(xe))},Se=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(t){be(t)}e.length=0},xe=()=>{Se(ke),Se(je),(f=ke.length>0)&&h.raf(xe)},Me=e=>p().then(e),Ce=Oe(je,!0);export{d as H,e as N,M as a,de as b,K as c,u as d,ne as e,se as f,J as g,S as h,p,$e as r,a as w}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t,h as n,a as i,g as a}from"./p-cf516409.js";import{s,o as l}from"./p-99e471b8.js";import{M as o}from"./p-6423bacf.js";import"./p-ad5b20ce.js";const r={sv:{heading:"Språk"},en:{heading:"Language"},da:{heading:"Sprog"},no:{heading:"Språk"},fi:{heading:"Kieli"}};let d=class{constructor(n){e(this,n),this.setLanguage=t(this,"setLanguage",7),this.value="",this.selectedLanguageName="",this.options=[]}componentWillLoad(){this.setInitialSelectedLanguageName(),this.setTranslations()}componentDidLoad(){this.initialize()}initialize(){this.setSelectedLanguageName(),this.addEventBindingsToOptions()}setInitialSelectedLanguageName(){if(!window.Intl||!this.value)return;const e=new Intl.DisplayNames([this.value],{type:"language"});if(!e)return;const t=e.of(this.value);t&&(this.selectedLanguageName=t.charAt(0).toUpperCase()+t.slice(1))}addEventBindingsToOptions(){[].slice.apply(this.hostElement.querySelectorAll("pn-language-selector-option")).map((e=>{e.removeEventListener("setCurrentLanguage",(e=>{this.onSetCurrentLanguage(e.detail)})),e.addEventListener("setCurrentLanguage",(e=>{this.onSetCurrentLanguage(e.detail)}))}))}setSelectedLanguageName(){[].slice.apply(this.hostElement.querySelectorAll("pn-language-selector-option")).map((e=>{e.getAttribute("code")==this.value&&(this.selectedLanguageName=e.getAttribute("name"))}))}onSetCurrentLanguage(e){this.value=e.code,this.selectedLanguageName=e.name,this.setLanguage.emit(this.value)}setTranslations(){r[this.value]&&(this.i18n=r[this.value])}onValueChange(){var e;(null!==(e=this.hostElement.querySelectorAll("pn-language-selector-option"))&&void 0!==e?e:[]).forEach((e=>{const t=(e.getAttribute("code")===this.value)+"";e.getAttribute("selected")+""!==t&&e.setAttribute("selected",t)}))}render(){return n(i,{value:this.value},n("pn-nav-dropdown",{label:this.selectedLanguageName,icon:"globe"},n("nav",{class:"languageselector-nav","aria-label":this.i18n.heading},n("strong",{class:"languageselector-title"},this.i18n.heading),n("div",{class:"languageselector-list",role:"list"},n("slot",null)))))}get hostElement(){return a(this)}static get watchers(){return{value:["setSelectedLanguageName","setTranslations","onValueChange"]}}};d.style="pn-language-selector{max-height:5.2rem}pn-language-selector pn-nav-dropdown:not([data-open]) .nav-dropdown-content-container,pn-language-selector pn-nav-dropdown[data-open=false] .nav-dropdown-content-container{display:none}pn-language-selector pn-nav-dropdown{display:block}.languageselector{position:relative}.languageselector-togglebtn{cursor:pointer;border:0;padding:0.64rem 0;background-color:#FFFFFF;color:#005D92;font-size:1.6rem}.languageselector-togglebtn:hover,.languageselector-togglebtn:focus,.languageselector-togglebtn:active{color:#0D234B;text-decoration:underline}.languageselector-togglebtn svg{width:1.9rem;height:1.9rem}.languageselector-title{padding:0.8rem 1.6rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.languageselector-list{margin:0;padding:0;list-style:none}";let m=class{constructor(n){e(this,n),this.setCurrentLanguage=t(this,"setCurrentLanguage",7),this.name="",this.code="",this.url="",this.selected=!1}onOptionClick(){this.setCurrentLanguage.emit({name:this.name,code:this.code,url:this.url,current:!0})}render(){return n(i,{role:"listitem",selected:this.selected+"",code:this.code,name:this.name},this.url?n("a",{href:this.url,target:"_self",class:"languageselector-link","data-langcode":this.code},n("span",{class:"languageselector-radio-outer"},n("span",{class:"languageselector-radio-inner"})),n("span",{class:"languageselector-itemtext"},this.name," - ",this.code)):n("button",{class:"languageselector-button","data-langcode":this.code,onClick:this.onOptionClick.bind(this)},n("span",{class:"languageselector-radio-outer"},n("span",{class:"languageselector-radio-inner"})),n("span",{class:"languageselector-itemtext"},this.name," - ",this.code)))}};m.style="pn-language-selector-option{margin:0;padding:0;list-style:none}.languageselector-button,.languageselector-link{width:100%;padding:1.1rem 1.6rem 1.1rem 1.4rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:relative;text-decoration:none;border:0;cursor:pointer;background-color:#FFFFFF;color:#005D92;font-size:1.6rem;font-weight:bold;border-radius:0}.languageselector-button:hover,.languageselector-button:focus,.languageselector-button:active,.languageselector-link:hover,.languageselector-link:focus,.languageselector-link:active{color:#0D234B;text-decoration:underline;-webkit-box-shadow:none;box-shadow:none;background-color:#F3F2F2;color:#005D92;outline:none}.languageselector-itemtext{display:inline-block;margin-left:1rem}.languageselector-radio-outer{background:#fff;border:0.1em solid #D3CECB;border-radius:50%;height:1.5em;width:1.5em;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, -webkit-box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, -webkit-box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.1s, -webkit-box-shadow 0.1s;cursor:pointer}.languageselector-radio-outer:focus>.languageselector-radio-outer,.languageselector-radio-outer:active>.languageselector-radio-outer{-webkit-box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92;box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92}.languageselector-radio-outer:hover>.languageselector-radio-outer{border:0.1rem solid #005D92;background:#E0F8FF}[selected=true] .languageselector-radio-outer{border:0.1rem solid #005D92}.languageselector-radio-inner{-webkit-transform:scale(0);transform:scale(0);height:1em;width:1em;background-color:#005D92;border-radius:50%;-webkit-transform-origin:center center;transform-origin:center center;-webkit-transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92), -webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92)}[selected=true] .languageselector-radio-inner{-webkit-transform:scale(1);transform:scale(1)}";const h={sv:{menuHomeButton:"Hem",menuGoBackButton:"Gå tillbaka",mainMenuButton:"Meny",menuStartButton:"Start",navLabel:"Huvudnavigation"},en:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"},da:{menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbage",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Hovednavigation"},no:{menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbake",mainMenuButton:"Meny",menuStartButton:"Start",navLabel:"Hovednavigasjon"},fi:{menuHomeButton:"Koti",menuGoBackButton:"Mene takaisin",mainMenuButton:"Valikko",menuStartButton:"Alkaa",navLabel:"Päänavigointi"}};let c=class{constructor(n){e(this,n),this.menuLanguageChange=t(this,"menuLanguageChange",7),this.marketChange=t(this,"marketChange",7),this.menuOpenChange=t(this,"menuOpenChange",7),this.market="se",this.language="sv",this.navigationId="mainnav",this.openMenu=!1,this.navLabel=""}componentWillLoad(){this.init(),document.removeEventListener("mousedown",this._onClickOutside.bind(this)),document.addEventListener("mousedown",this._onClickOutside.bind(this))}async init(){this.setLanguage(),this.setMarket()}_onClickOutside(e){!this.hostElement.contains(e.target)&&(s.openLevel="")}setLanguage(){this.menuLanguageChange.emit(this.language)}setMarket(){this.marketChange.emit(this.market)}onLanguageChange(e){h[e.detail]&&(s.i18n=h[e.detail],this.navLabel||(this.navLabel=s.i18n.navLabel))}setMenuOpenState(){s.openMenu=!s.openMenu,this.menuOpenChange.emit(s.openMenu)}onOpenMenuLevelChange(e){s.openLevel=e.detail}render(){return n(i,null,n("div",{class:"mainnav-toggle"},n("button",{"aria-controls":this.navigationId,"aria-expanded":s.openMenu+"",onClick:this.setMenuOpenState.bind(this)},s.i18n.mainMenuButton,n("pn-icon",{symbol:s.openMenu?"close":"bars",color:"white"}))),n("nav",{class:"mainnav","aria-label":this.navLabel,"data-menu-open":s.openMenu+"","data-menu-currentlevel":s.currentLevel,id:this.navigationId},n("slot",null)))}get hostElement(){return a(this)}};c.style="pn-mainnav{display:-ms-flexbox;display:flex;-ms-flex-flow:row-reverse;flex-flow:row-reverse;position:relative;width:100%;min-height:5.1rem}@media screen and (min-width: 48em){pn-mainnav{-ms-flex-flow:row;flex-flow:row}}@media screen and (min-width: 64em){pn-mainnav{-ms-flex-flow:column;flex-flow:column}}@media screen and (min-width: 64em){pn-mainnav [slot=footer]{display:none}}pn-mainnav>nav{height:auto;width:100vw;background-color:#FFFFFF;z-index:2;-webkit-transform:translateX(100vw);transform:translateX(100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;visibility:hidden;position:fixed;top:3em;bottom:0;left:0}@media screen and (min-width: 48em){pn-mainnav>nav{top:6.5em}}pn-mainnav>nav[data-menu-open=true]{visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}@media screen and (min-width: 64em){pn-mainnav>nav{-ms-flex-flow:row-reverse;flex-flow:row-reverse;top:0;position:static;height:auto;width:100%;-ms-flex-pack:justify;justify-content:space-between;visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}}pn-mainnav>nav a{text-decoration:none}pn-mainnav>nav button{cursor:pointer}.mainnav-toggle{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center}@media screen and (min-width: 64em){.mainnav-toggle{display:none}}.mainnav-toggle>button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:#005D92;color:#FFFFFF;border-radius:2.4rem;border:none;padding:0.6rem 1.6rem;cursor:pointer;font-size:1.6rem}.mainnav-toggle>button:focus{outline:0}.mainnav-toggle>button pn-icon{margin-left:0.8rem;display:block}.mainnav-toggle>button svg{display:block;margin:-0.2rem -0.5rem -0.2rem 0;height:1.9rem;width:1.9rem}";let g=class{constructor(t){e(this,t),this.level=1,this.levelId="",this.isOpen=!1,this.parentName="",this.parentHref="",this.parentLinkId="",this.listCount=0,this.alignment="right"}async componentWillLoad(){this.listCount=this.hostElement.querySelectorAll(":scope > pn-mainnav-list").length;const e=this.hostElement.parentElement;if("nav"!==e.tagName.toLowerCase()&&(this.level=2),"pn-mainnav-link"===e.tagName.toLowerCase()){this.parentName=e.getAttribute("name")+"",this.parentHref=e.getAttribute("href")+"",this.parentLinkId=e.getAttribute("linkid")+"";const t=this.parentName.toLowerCase().replace(/\W/gi,"_");this.levelId=`mainnav-lvl${this.level}-${t}`}l("openLevel",(()=>{this.onChangeOpenLevel()}))}onOpen(){2===this.level&&requestAnimationFrame((()=>{const e=this.hostElement.getClientRects()[0];if(!e)return;const t=this.hostElement.parentElement.parentElement.parentElement.parentElement;if(t&&"nav"===t.tagName.toLowerCase()){if(!t.getClientRects()[0])return;if(e.right>window.innerWidth){const t=this.hostElement.parentElement.getClientRects()[0];this.alignment=t.left-e.width<0?"center":"left"}}}))}onChangeOpenLevel(){this.isOpen=s.openLevel===this.levelId,s.currentLevel=this.level}render(){return n(i,Object.assign({role:"navigation"},this.level>1&&this.levelId?{"aria-hidden":!this.isOpen+""}:{},{"data-level-listcount":this.listCount+"","data-level-alignment":this.alignment,"data-level":this.level+""},this.levelId?{id:this.levelId}:{}),this.level>1?n("div",{class:"mainnav-level-header"},n("label",{htmlFor:this.levelId},s.i18n.menuGoBackButton),n("button",{class:"secondlevel-backbtn",onClick:()=>{s.openLevel="",s.currentLevel=1},"aria-expanded":(s.openLevel===this.levelId)+""},n("pn-icon",{symbol:"arrow-left",color:"blue700"}),s.i18n.menuStartButton),this.parentHref&&this.parentName?n("pn-mainnav-link",{href:this.parentHref,name:this.parentName,linkid:this.parentLinkId}):null):null,n("slot",{name:"top"}),n("slot",null),n("slot",{name:"additional"}),n("slot",{name:"footer"}))}get hostElement(){return a(this)}static get watchers(){return{isOpen:["onOpen"]}}};g.style='pn-mainnav-level{display:block}pn-mainnav-level:not(.hydrated){max-height:5.6rem;overflow:hidden}pn-mainnav-level[data-level="1"]{width:100%;right:0;overflow-y:scroll;overflow-x:hidden;-ms-flex:1;flex:1}@media screen and (min-width: 64em){pn-mainnav-level[data-level="1"]{width:auto;overflow:initial}pn-mainnav-level[data-level="1"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level="2"]{position:absolute;top:0;bottom:0;left:0;width:100vw;padding:0;background-color:#FFFFFF;z-index:1;-webkit-transform:translateX(100vw);transform:translateX(100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;overflow:scroll;visibility:hidden}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"]{left:0;top:calc(100% + 1rem);bottom:auto;border-radius:1.6rem;width:auto;padding:1.6rem 1.6rem 0 1.6rem;-webkit-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);-moz-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);height:auto;z-index:3;display:none}pn-mainnav-level[data-level="2"][data-menuitem-rightaligned=true]{right:0;left:unset}}@media screen and (max-height: 33.125em){pn-mainnav-level[data-level="2"]{-ms-overflow-style:none;scrollbar-width:none}pn-mainnav-level[data-level="2"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level="2"][aria-hidden=false]{-webkit-transform:translateX(0);transform:translateX(0);visibility:visible}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][aria-hidden=false]{display:block;overflow:visible}pn-mainnav-level[data-level="2"][aria-hidden=false]:not([data-level-listcount="1"]){display:grid;grid-template-columns:minmax(12em, 20em) 1fr;grid-template-rows:auto auto;gap:0px 1.6rem;grid-template-areas:"top top" "left right"}}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][data-level-alignment=left]{right:0;left:unset}}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][data-level-alignment=center]{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}}pn-mainnav-level[data-level="2"] a{color:#005D92;text-decoration:none}pn-mainnav-level [slot=top]{display:-ms-flexbox;display:flex}@media screen and (min-width: 48em){pn-mainnav-level [slot=top]{display:none}}[data-menu-currentlevel="2"] pn-mainnav-level [slot=footer]{display:none;-ms-scroll-chaining:none;overscroll-behavior:contain}.mainnav-level-header{grid-area:top}.mainnav-level-header>label{position:absolute;width:0.1rem;height:0.1rem;padding:0;margin:-0.1rem;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;white-space:nowrap}.mainnav-level-header>button{display:block;position:relative;border:none;background-color:transparent;color:#005D92;padding:2.4rem 0 2.4rem 6.2rem;width:100%;text-align:left}@media screen and (min-width: 64em){.mainnav-level-header>button{display:none;speak:none}}.mainnav-level-header>button>pn-icon{speak:none;position:absolute;height:2.4rem;width:2.4rem;left:3rem;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}[data-level="2"] .mainnav-level-header>pn-mainnav-link>a{font-size:2.4rem}';let u=class{constructor(t){e(this,t),this.heading="",this.linkCount=0}componentWillLoad(){this.linkCount=this.hostElement.querySelectorAll(":scope > pn-mainnav-link").length}render(){return n(i,{class:"mainnav-list",role:"list","data-navlist-itemcount":this.linkCount+"","data-navlist-showcolumns":(this.linkCount>=8)+""},this.heading?n("div",{class:"mainnav-list-heading"},this.heading):null,n("slot",null))}get hostElement(){return a(this)}};u.style='pn-mainnav-list{display:block;overflow:visible;list-style:none;margin:0;padding:0;grid-area:right}@media screen and (min-width: 64em){pn-mainnav-list+pn-mainnav-list{grid-area:left;border-right:0.1rem solid #D3CECB;margin-bottom:1.6rem;margin-right:-0.7rem;padding-right:0.7rem}}[data-level="1"]>pn-mainnav-list{overflow:scroll;-webkit-overflow-scrolling:touch}@media screen and (min-width: 64em){[data-level="1"]>pn-mainnav-list{height:100%;display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;overflow:visible;padding:0}}@media screen and (min-width: 64em){[data-level="2"]>pn-mainnav-list[data-navlist-showcolumns=true]{-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:1.6rem;-moz-column-gap:1.6rem;column-gap:1.6rem;padding-bottom:1.6rem}}.mainnav-list-heading{display:none;font-weight:bold;-webkit-column-span:all;-moz-column-span:all;column-span:all;font-size:1.8rem;padding:1.4rem 1.4rem 1.4rem 4.8rem}@media screen and (min-width: 64em){.mainnav-list-heading{display:block;padding:0 1.4rem 1.4rem 1.4rem}}';let p=class{constructor(n){e(this,n),this.loginStateChange=t(this,"loginStateChange",7),this.endpoint="",this.token="",this.emitEvents=!0,this.loginDialog=null,this.loginManager=null,this.loggedIn=!1,this.toggleButtonText="",this.username=""}componentWillLoad(){this.loginManager=new o({endpoint:this.endpoint,eventTarget:this.hostElement}),this.hostElement.loginmanager=this.loginManager,this.token?this.loginManager.registerToken(this.token,"backend"):this.emitEvents&&this.loginManager.invalidateTokenOfType("backend"),this.hostElement.addEventListener(this.loginManager.events.loginstatechange,this.onLoginStateChange.bind(this)),this.init()}async init(){this.toggleButtonText=this.loginDialog.loginMenuLinkText,this.loginManager.init(this.emitEvents),this.setToggleButtonText()}setUserName(){const e=this.loginManager.getUserInfo();let t="";this.loggedIn&&e||(this.username=t),e.given_name&&(t=e.given_name+((null==e?void 0:e.family_name)?` ${null==e?void 0:e.family_name}`:"")),!t&&e.email&&(t=e.email),this.username=t}setToggleButtonText(){this.loggedIn?(this.toggleButtonText=this.username,this.toggleButtonText||(this.toggleButtonText=this.loginDialog.loggedInButtonText)):this.toggleButtonText=this.loginDialog.loginMenuLinkText}onLoginStateChange(e){this.loggedIn!==e.detail&&this.emitEvents&&(this.loggedIn=e.detail,this.loginStateChange.emit({loggedIn:this.loggedIn,token:this.loginManager.getToken()}),this.setUserName(),this.setToggleButtonText())}uniqueId(e){return"loginlink-"+e.replace(/[^A-Za-z0-9.\\\/]/gim,"")+"-"+(this.emitEvents?"1":"2")}linkAppearanceAttributes(e){let t={};if(e.linkType){switch(e.linkType){case"primary":t={appearance:"",variant:""};break;case"secondary":t={appearance:"light",variant:"outlined"};break;case"regularlink":default:t={appearance:"light",variant:"borderless",icon:"arrow-right"}}return t}return e.linkType||(t={appearance:e.primaryLinkApperance?"dark":"light"}),t}render(){var e,t,a;if(!this.loginDialog)return;let s={username:null};return this.username&&(s.username=this.username),n(i,Object.assign({},s),n("pn-nav-dropdown",{label:this.toggleButtonText,icon:"user",class:"siteheader-logindialog"},this.loginDialog.overrideLoginMenu?n("div",null,n("ul",null,null===(a=this.loginDialog.loginMenuLinks)||void 0===a?void 0:a.map((e=>n("li",null,n("a",{href:e.href,target:e.openInNewWindow?"_blank":"_self",class:"btn btn-link"},e.linkText)))))):n("div",{"data-loggedin":this.loggedIn+""},this.loggedIn?n("div",null,n("ul",null,this.loginDialog.loggedInLinks.map((e=>{const t=-1!==e.href.indexOf("logout"),i=t?this.loginManager.getLogoutUrl(e.href.replace("logout","").replace("http://window.location.href/?","").replace("https://window.location.href/?","")):e.href;return n("li",null,n("pn-button",Object.assign({href:i,id:this.uniqueId(e.linkText)},e.openInNewWindow&&{target:"_blank"},this.linkAppearanceAttributes(e),{onClick:()=>{t&&this.loginManager.clearUserData()}}),e.linkText))})))):n("div",null,null!==(e=this.loginDialog.loginTitle)&&void 0!==e?e:n("strong",null,this.loginDialog.loginTitle),(null===(t=this.loginDialog.loginMenuLinks)||void 0===t?void 0:t.length)>0?n("ul",null,this.loginDialog.loginMenuLinks.map(((e,t)=>{const i=0!==t||e.href?e.href:this.loginManager.getLoginUrl();return n("li",null,n("pn-button",Object.assign({href:i,id:this.uniqueId(e.linkText)},this.linkAppearanceAttributes(e),e.openInNewWindow&&{target:"_blank"}),e.linkText))}))):n("ul",null,n("li",null,n("pn-button",{href:this.loginManager.getLoginUrl(this.loginDialog.loginUrl),target:"_top"},this.loginDialog.loginLinkText)),n("li",null,n("pn-button",{href:this.loginDialog.registerUrl,target:"_top",appearance:"light",variant:"outlined"},this.loginDialog.createLoginLinkText)))))))}get hostElement(){return a(this)}static get watchers(){return{i18n:["init"],loginDialog:["init"]}}};p.style="pn-marketweb-siteheader-login{padding:1rem 0;max-height:5.2rem;position:relative}pn-marketweb-siteheader-login strong{padding:0.8rem 1.6rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}pn-marketweb-siteheader-login ul,pn-marketweb-siteheader-login li{list-style:none;margin:0;padding:0}pn-marketweb-siteheader-login li{padding:0.8rem 1.6rem}pn-marketweb-siteheader-login li pn-button{display:block;width:100%}pn-marketweb-siteheader-login pn-nav-dropdown{display:none}pn-marketweb-siteheader-login.hydrated pn-nav-dropdown{display:block}";let b=class{constructor(t){e(this,t),this.showOnlyLink=!1,this.hideSearch=!1,this.search={}}componentWillLoad(){}render(){if(this.search.formActionUrl&&!this.hideSearch)return n("div",{class:"siteheader-search"},this.showOnlyLink?n("a",{href:this.search.formActionUrl,title:this.i18n.searchlabel},n("pn-button",{appearance:"light",icon:"search"})):n("form",{method:"get",action:this.search.formActionUrl,role:"search"},n("pn-search-field",{label:this.i18n.searchlabel,name:"q",button:"icon",onSearch:()=>{const e=this.hostElement.querySelector("form");e&&e.submit()},placeholder:this.i18n.searchplaceholder})))}get hostElement(){return a(this)}};b.style=".siteheader-search a{display:none}@media screen and (min-width: 48em){.siteheader-search a{display:block}}.siteheader-search pn-search-field.button-icon pn-button,.siteheader-search pn-button{display:-ms-inline-flexbox;display:inline-flex}.siteheader-search pn-search-field.button-icon pn-button button,.siteheader-search pn-button button{-ms-flex-item-align:center;align-self:center;padding:0;height:2.3em;width:2.3em;line-height:0;min-height:unset;min-width:unset}.siteheader-search pn-search-field.button-icon pn-button pn-icon,.siteheader-search pn-button pn-icon{margin-left:0}.siteheader-search form{-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:auto;-ms-flex:none;flex:none;display:-ms-flexbox;display:flex;padding:0;margin:0 0 0 0.4rem;position:relative}@media screen and (min-width: 60em){.siteheader-search form{margin-right:1.6rem}}.siteheader-search form pn-search-field{min-width:13.5em}.siteheader-search form pn-search-field .input-container{-ms-flex-item-align:center;align-self:center}.siteheader-search form pn-search-field input{height:auto;min-height:1em;padding:0.6em 0.75em}";const v={sv:{navlabel:"Webbplatsväljare"},en:{navlabel:"Website selector"},da:{navlabel:"Webstedsvælger"},no:{navlabel:"Nettstedsvelger"},fi:{navlabel:"Verkkosivun valitsin"}};let f=class{constructor(t){e(this,t),this.buttontext="postnord",this.heading="PostNord",this.language="sv",this.i18n={navlabel:"Site selector"}}componentWillLoad(){this.setLanguage()}setLanguage(){v[this.language]&&(this.i18n=v[this.language])}render(){return n(i,null,n("pn-nav-dropdown",{label:this.buttontext,icon:"angle-small-down"},n("nav",{class:"siteselector-nav","aria-label":this.i18n.navlabel},this.heading?n("strong",{class:"siteselector-heading"},this.heading):null,n("ul",{class:"siteselector-list"},n("slot",null)))))}get hostElement(){return a(this)}};f.style="pn-site-selector{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;max-height:5.2rem}@media screen and (min-width: 75em){pn-site-selector{display:block}}.siteselector-heading{display:block;padding:0;margin-bottom:1.6rem}@media screen and (min-width: 75em){.siteselector-heading{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-top:0.8rem}}.siteselector-list{list-style:none;margin:0;padding:0}";let w=class{constructor(t){e(this,t),this.url="",this.heading="",this.description="",this.newwindow=!1}render(){return n(i,{role:"listitem"},this.url?n("a",{class:"siteselector-item-link",href:this.url,target:this.newwindow?"_blank":"self",rel:this.newwindow?"nofollow noopener":""},n("span",null,this.heading&&n("span",{class:"siteselector-item-title"},this.heading),this.description&&n("small",{class:"siteselector-item-description"},this.description)),n("pn-icon",{symbol:"angle-small-right",color:"blue700"})):n("div",null,this.heading&&n("span",{class:"siteselector-item-title"},this.heading),this.description&&n("small",{class:"siteselector-item-description"},this.description)))}};w.style="pn-site-selector-item{display:block}pn-site-selector-item>div,pn-site-selector-item>a{padding:0.8rem 0;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;position:relative}.siteselector-item-link{border-radius:0;text-decoration:none;color:#005D92;-ms-flex-direction:row;flex-direction:row}.siteselector-item-link:hover,.siteselector-item-link:focus{background-color:#F3F2F2;color:#005D92;text-decoration:underline;outline:none;-webkit-box-shadow:none;box-shadow:none}.siteselector-item-link:active{background-color:#F3F2F2;color:#00A0D6;outline:none}.siteselector-item-link>span{-ms-flex-positive:1;flex-grow:1}.siteselector-item-link pn-icon{right:3.2rem;height:1.9rem;width:1.9rem;-ms-flex-item-align:center;align-self:center}.siteselector-item-link pn-icon svg{width:100%;height:auto}.siteselector-item-title{display:block}.siteselector-item-description{color:#2D2013;font-size:1.28rem}a:hover>.siteselector-item-description,a:focus>.siteselector-item-description{background-color:#F3F2F2;color:#005D92;text-decoration:underline;outline:none}a:active>.siteselector-item-description{background-color:#F3F2F2;color:#00A0D6;outline:none}";export{d as pn_language_selector,m as pn_language_selector_option,c as pn_mainnav,g as pn_mainnav_level,u as pn_mainnav_list,p as pn_marketweb_siteheader_login,b as pn_marketweb_siteheader_search,f as pn_site_selector,w as pn_site_selector_item}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function o(e){try{l(i.next(e))}catch(t){r(t)}}function s(e){try{l(i["throw"](e))}catch(t){r(t)}}function l(e){e.done?n(e.value):a(e.value).then(o,s)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,a,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;a=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){n.label=o[1];break}if(o[0]===6&&n.label<r[1]){n.label=r[1];r=o;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(o);break}if(r[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(s){o=[6,s];a=0}finally{i=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-ff678bef.system.js","./p-d437da74.system.js","./p-55513980.system.js"],(function(e){"use strict";var t,n,i,a,r,o,s,l;return{setters:[function(e){t=e.r;n=e.c;i=e.h;a=e.a;r=e.g},function(e){o=e.F;s=e.M},function(e){l=e.M}],execute:function(){var h={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"}};var d="body[data-siteheader-menuopen=true]{max-height:100vh;overflow:hidden}@media screen and (min-width: 60em){body[data-siteheader-menuopen=true]{max-height:initial;overflow:initial}}pn-marketweb-siteheader{display:block;background:#FFFFFF}pn-marketweb-siteheader header{position:relative;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-webkit-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}@media screen and (min-width: 48em){pn-marketweb-siteheader header{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:initial;justify-content:initial}}pn-marketweb-siteheader .siteheader-row{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;-ms-flex-align:center;align-items:center;width:100%;padding:0 1.6rem;min-height:2em}pn-marketweb-siteheader .siteheader-row:not(:last-child){border-bottom:0.1rem solid #F3F2F2}@media screen and (min-width: 48em){pn-marketweb-siteheader .siteheader-row{-ms-flex-pack:justify;justify-content:space-between;min-height:3.2em}}pn-marketweb-siteheader .siteheader-topright{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}pn-marketweb-siteheader .siteheader-logocontainer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:relative;min-height:3em;background:#FFFFFF;z-index:1}@media screen and (min-width: 48em){pn-marketweb-siteheader .siteheader-logocontainer{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}}pn-marketweb-siteheader .siteheader-logolink{height:100%;max-height:6.4rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}pn-marketweb-siteheader .siteheader-logolink:hover,pn-marketweb-siteheader .siteheader-logolink:focus,pn-marketweb-siteheader .siteheader-logolink:active{-webkit-box-shadow:none;box-shadow:none}pn-marketweb-siteheader .siteheader-row>pn-marketweb-siteheader-search{display:none}@media screen and (min-width: 48em){pn-marketweb-siteheader .siteheader-row>pn-marketweb-siteheader-search{display:block}}pn-marketweb-siteheader pn-spinner{display:none}pn-marketweb-siteheader pn-nav-dropdown:not(.hydrated) .nav-dropdown-content-container{display:none}.siteheader-topleft pn-site-selector{padding:1rem 0;display:none}@media screen and (min-width: 48em){.siteheader-topleft pn-site-selector{display:block}}@media screen and (min-width: 60em){.siteheader-topleft pn-site-selector{margin-left:1.3rem}}@media screen and (min-width: 60em){.siteheader-topright{margin-right:1.6rem}}.siteheader-topright>pn-language-selector,.siteheader-topright>pn-marketweb-siteheader-login,.siteheader-topright>a{padding:1rem 0;display:none;-ms-flex-item-align:center;align-self:center}@media screen and (min-width: 48em){.siteheader-topright>pn-language-selector,.siteheader-topright>pn-marketweb-siteheader-login,.siteheader-topright>a{display:block;margin-left:1rem}}@media screen and (min-width: 60em){.siteheader-topright>pn-language-selector,.siteheader-topright>pn-marketweb-siteheader-login,.siteheader-topright>a{margin-left:1.6rem}}.siteheader-topright>pn-language-selector .pn-nav-dropdown-label,.siteheader-topright>pn-language-selector:is(a),.siteheader-topright>pn-marketweb-siteheader-login .pn-nav-dropdown-label,.siteheader-topright>pn-marketweb-siteheader-login:is(a),.siteheader-topright>a .pn-nav-dropdown-label,.siteheader-topright>a:is(a){font-size:0}.siteheader-topright>pn-language-selector .pn-nav-dropdown-label pn-icon,.siteheader-topright>pn-language-selector:is(a) pn-icon,.siteheader-topright>pn-marketweb-siteheader-login .pn-nav-dropdown-label pn-icon,.siteheader-topright>pn-marketweb-siteheader-login:is(a) pn-icon,.siteheader-topright>a .pn-nav-dropdown-label pn-icon,.siteheader-topright>a:is(a) pn-icon{font-size:initial;margin-left:0}@media screen and (min-width: 60em){.siteheader-topright>pn-language-selector .pn-nav-dropdown-label,.siteheader-topright>pn-language-selector:is(a),.siteheader-topright>pn-marketweb-siteheader-login .pn-nav-dropdown-label,.siteheader-topright>pn-marketweb-siteheader-login:is(a),.siteheader-topright>a .pn-nav-dropdown-label,.siteheader-topright>a:is(a){font-size:initial}.siteheader-topright>pn-language-selector .pn-nav-dropdown-label pn-icon,.siteheader-topright>pn-language-selector:is(a) pn-icon,.siteheader-topright>pn-marketweb-siteheader-login .pn-nav-dropdown-label pn-icon,.siteheader-topright>pn-marketweb-siteheader-login:is(a) pn-icon,.siteheader-topright>a .pn-nav-dropdown-label pn-icon,.siteheader-topright>a:is(a) pn-icon{margin-left:0.4em}}.siteheader-menu{max-width:100%;width:100%;overflow:visible;overflow-x:clip}@media screen and (min-width: 60em){.siteheader-menu{margin-top:auto;overflow:visible}}.siteheader-menu pn-mainnav-link a[target]::after{content:none}.siteheader-menu pn-marketweb-siteheader-search{padding:0.3rem 1.6rem;width:100%}.siteheader-menu [slot=top] pn-search-field{width:100%}.siteheader-menu-footer{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.siteheader-menu-footer>*{margin:1.6rem}";var u=e("pn_marketweb_siteheader",function(){function e(e){t(this,e);this.changeLanguage=n(this,"changeLanguage",7);this.changeMarket=n(this,"changeMarket",7);this.endpointPath="/api/navigation/header";this.market=null;this.language=null;this.environment=null;this.token="";this.endpoint=null;this.hideSiteSelector=false;this.hideLanguageSelector=false;this.hideSearch=false;this.hideLogin=false;this.sessionForward=false;this.cache=false;this.spaMode=false;this.gotData=false;this.fetchingData=false;this.homePageLink="/";this.menuItems=[];this.search={};this.siteSelector=null;this.languageSelector=null;this.languageOptions=[];this.loginDialog=null;this.minimizeSearch=false;this.loggedIn=false;this.fetchHelper=new o("siteheader");this.loginManager=null}e.prototype.componentWillLoad=function(){var e=this;this.loginManager=new l({eventTarget:this.hostElement});this.setInitialValues().then((function(){e.init()}))};e.prototype.setInitialValues=function(e){if(e===void 0){e=window.location.href}return __awaiter(this,void 0,void 0,(function(){var t,n,i,i,a,r;return __generator(this,(function(o){switch(o.label){case 0:n=new s(e);if(!!this.market)return[3,2];return[4,n.getMarket()];case 1:i=o.sent();this.market=i;o.label=2;case 2:if(!!this.language)return[3,4];return[4,n.getLanguage()];case 3:i=o.sent();this.language=i;o.label=4;case 4:if(!!this.environment)return[3,6];a=this;return[4,n.getEnvironmentName()];case 5:a.environment=o.sent();o.label=6;case 6:if(!(!this.endpoint&&((t=this.environment)===null||t===void 0?void 0:t.indexOf("local"))===-1))return[3,8];r=this;return[4,n.getEndpoint(this.environment,this.market)];case 7:r.endpoint=o.sent();o.label=8;case 8:if(!this.endpoint){this.endpoint=""}return[2]}}))}))};e.prototype.init=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(t){switch(t.label){case 0:this.setTranslations();return[4,this.fetchData()];case 1:t.sent();window.setTimeout((function(){e.checkMenuOverflow()}),50);return[2]}}))}))};e.prototype.setTranslations=function(){if(this.language&&h[this.language]){this.i18n=h[this.language]}};e.prototype.onLanguageSelectorChange=function(e){this.language=e.detail;window.dispatchEvent(new CustomEvent("marketweb-languagechange",{detail:this.language}))};e.prototype.onLanguageChange=function(){this.setTranslations();this.changeLanguage.emit(this.language);this.fetchData()};e.prototype.onMarketChange=function(){this.changeMarket.emit(this.market);this.fetchData()};e.prototype.fetchData=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n;return __generator(this,(function(i){switch(i.label){case 0:if(this.endpoint===null||!this.market||!this.language){return[2]}this.fetchingData=true;e=this.endpoint.lastIndexOf("/")===this.endpoint.length-1?this.endpoint.substring(0,this.endpoint.length-1):this.endpoint;t="".concat(e).concat(this.endpointPath,"?market=").concat(this.market,"&language=").concat(this.language);return[4,this.fetchHelper.fetchJson(t,{mode:"cors"},this.cache,this.onFetchRefreshed.bind(this))];case 1:n=i.sent();return[4,this.setStateFromData(n)];case 2:i.sent();return[2]}}))}))};e.prototype.onFetchRefreshed=function(e){this.setStateFromData(e)};e.prototype.getLanguageVersionUrl=function(e){if(this.spaMode){return null}var t=document.querySelector('link[rel="alternate"][hreflang="'.concat(e.twoLetterISOLanguageName,'"]'));if(t){return t.getAttribute("href")}var n=this.siteDefinition.url;return n+(n.lastIndexOf("/")!==n.length-1?"/":"")+e.twoLetterISOLanguageName};e.prototype.setStateFromData=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i;var a=this;return __generator(this,(function(r){switch(r.label){case 0:if(typeof e!=="object"){console.warn("Data was not valid",e)}this.siteDefinition=e.sitedefinition;this.menuItems=e.mainMenu.menuItems;if(!this.menuItems[0]||((t=this.menuItems[0])===null||t===void 0?void 0:t.name)!==this.i18n.menuHomeButton){this.menuItems.unshift({href:this.siteDefinition.url,name:this.i18n.menuHomeButton,id:"homelink",open:false,selected:false,children:[]})}this.search=e.search;this.siteSelector=e.siteSelectorViewModel;this.languageSelector=e.languageSelectorViewModel;this.setLanguageOptions();this.loginDialog=e.loginViewModel;return[4,this.spaModeAdjustments()];case 1:r.sent();this.gotData=true;this.fetchingData=true;this.homePageLink=(i=(n=this.siteDefinition)===null||n===void 0?void 0:n.url)!==null&&i!==void 0?i:document.location.hostname;window.setTimeout((function(){a.checkMenuOverflow()}),100);return[2]}}))}))};e.prototype.setLanguageOptions=function(){var e;if(!this.languageSelector||!this.languageSelector.languages){return}var t=(e=Array.prototype.slice.call(document.querySelectorAll('link[rel="alternate"][hreflang]')))!==null&&e!==void 0?e:[];var n=t.map((function(e){return e.getAttribute("hreflang")}));var i=[];this.languageSelector.languages.map((function(e){if(n&&n.length>0){if(n.includes(e.twoLetterISOLanguageName)){i.push(e)}}else{i.push(e)}}));this.languageOptions=i};e.prototype.spaModeAdjustments=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(!this.spaMode){return[2]}return[2]}))}))};e.prototype.onLoginStateChange=function(e){var t,n,i;if(((t=e.detail)===null||t===void 0?void 0:t.loggedIn)&&((n=e.detail)===null||n===void 0?void 0:n.token)){this.loggedIn=((i=e.detail)===null||i===void 0?void 0:i.loggedIn)===true}};e.prototype.promotedItemId=function(e){return"promo-"+e.linkText.replace(/[^A-Za-z0-9.\\\/]/gim,"")};e.prototype.handleResize=function(){var e=this;requestAnimationFrame((function(){e.checkMenuOverflow()}))};e.prototype.checkMenuOverflow=function(){var e=this.hostElement.querySelectorAll(".siteheader-row")[1];if(!e){return}var t=e.querySelector("pn-mainnav-level");if(!t){return}var n=t.parentElement;if(n.tagName.toLocaleLowerCase()!=="nav"){return}var i=n.scrollWidth;var a=t.clientWidth;var r=i<a;if(r&&this.minimizeSearch===false){this.minimizeSearch=true}};e.prototype.adjustSiteSelectorUrl=function(e){if(!this.loggedIn){return e}var t=["portal.postnord.com"];var n=t.filter((function(t){return e.indexOf(t)!==-1}));if(n.length===0){return e}return this.loginManager.getLoginUrl(e)};e.prototype.render=function(){var e=this;var t,n,r,o,s,l;return i(a,{language:this.language,market:this.market,environment:this.environment},i("header",null,i("div",{class:"siteheader-row"},i("div",{class:"siteheader-topleft"},i("slot",{name:"topleft"}),this.gotData&&this.siteSelector&&!this.hideSiteSelector&&i("pn-site-selector",{language:this.language,buttontext:(n=(t=this.siteSelector)===null||t===void 0?void 0:t.currentSiteTitle)!==null&&n!==void 0?n:"postnord"},this.gotData&&((r=this.siteSelector)===null||r===void 0?void 0:r.currentSiteTitle)&&i("pn-site-selector-item",{heading:this.siteSelector.currentSiteTitle+" ",description:this.siteSelector.currentSiteDescription}),this.gotData&&((o=this.siteSelector)===null||o===void 0?void 0:o.siteSelections)&&this.siteSelector.siteSelections.map((function(t){return i("pn-site-selector-item",{heading:t.linkText+" ",description:t.linkDescription,url:e.adjustSiteSelectorUrl(t.href),newwindow:t.openInNewWindow})})))),i("div",{class:"siteheader-logocontainer"},i("a",{href:this.homePageLink,title:"Home",class:"siteheader-logolink"},i("svg",{class:"siteheader-logo",xmlns:"http://www.w3.org/2000/svg",width:"12.7rem",height:"2.4rem",viewBox:"0 0 141.73 26.65"},i("path",{d:"M108.84,13.35c0,6.34-5.17,9-10,9S89,19.76,89,13.63c0-6.28,5.08-9,10-9S108.84,7.25,108.84,13.35Zm-6.56.18a3.4,3.4,0,1,0-6.8,0,3.29,3.29,0,0,0,3.42,3.41A3.24,3.24,0,0,0,102.28,13.54Zm-83,0c0,4.83-3.32,8.82-8.49,8.82a6.54,6.54,0,0,1-4.65-1.57v5.86H0V5.16H6.17V6.8a6.43,6.43,0,0,1,5.11-2.18C16.41,4.62,19.31,8.58,19.31,13.54Zm-6.53,0A3.27,3.27,0,0,0,9.4,10,3.28,3.28,0,0,0,6,13.54,3.29,3.29,0,0,0,9.4,16.95,3.24,3.24,0,0,0,12.78,13.54Zm103.69,0.27c0-2.54,1.54-3.32,3.6-3.32a6.56,6.56,0,0,1,2.08.3L122.3,5.1a3.92,3.92,0,0,0-1.45-.18c-3.45,0-4.38,2.18-4.38,2.18V5.16H110.3V21.84h6.17v-8ZM141.73,0V21.84h-6.16V20.21a6.43,6.43,0,0,1-5.11,2.18c-5.14,0-8-4-8-8.91s3.32-8.82,8.49-8.82a6.54,6.54,0,0,1,4.65,1.57v-5Zm-6,13.48a3.28,3.28,0,0,0-3.41-3.41A3.24,3.24,0,0,0,129,13.47,3.4,3.4,0,1,0,135.75,13.47ZM81.35,4.62c-3.6,0-4.9,2.18-4.9,2.18V5.16H70.29V21.84h6.16V13.29c0-2.11.79-3.08,2.69-3.08s2.18,1.57,2.18,3.57v8.07h6.22V11.6C87.55,7,85.34,4.62,81.35,4.62ZM64.07,1.42H57.9V21.84h6.16V10.36H67l2.81-5.2H64.07V1.42ZM50.26,11.21c-2-.3-2.87-0.3-2.87-1.09s0.81-.94,2.42-0.94a16.15,16.15,0,0,1,5.11.91L56,5.41a24.56,24.56,0,0,0-6.13-.75c-5.89,0-9,2.27-9,5.89,0,2.81,1.66,4.47,6.53,5.11,2.06,0.27,2.81.39,2.81,1.15s-0.82,1-2.24,1a16.67,16.67,0,0,1-6-1.3L40.77,21.3a22.14,22.14,0,0,0,6.68,1c6.35,0,9.28-2.24,9.28-5.89C56.72,13.54,55.15,12,50.26,11.21ZM40.19,13.35c0,6.34-5.17,9-10,9s-9.82-2.6-9.82-8.73c0-6.28,5.08-9,10-9S40.19,7.25,40.19,13.35Zm-6.56.18a3.4,3.4,0,1,0-6.8,0,3.28,3.28,0,0,0,3.41,3.41A3.24,3.24,0,0,0,33.63,13.54Z",fill:"#00A0D6",transform:"translate(0 0)"})))),i("div",{class:"siteheader-topright"},i("slot",{name:"toprightstart"}),this.gotData&&this.loginDialog&&!this.hideLogin&&i("pn-marketweb-siteheader-login",{token:this.token,loginDialog:this.loginDialog,endpoint:this.endpoint,i18n:this.i18n}),this.gotData&&this.languageOptions&&this.languageOptions.length&&!this.hideLanguageSelector&&i("pn-language-selector",{value:this.language},this.languageOptions.map((function(t){return i("pn-language-selector-option",{name:t.nativeName,code:t.twoLetterISOLanguageName,selected:t.isCurrent,url:e.getLanguageVersionUrl(t)})}))),i("slot",{name:"toprightend"}))),i("div",{class:"siteheader-row"},i("div",{class:"siteheader-menu"},this.gotData&&this.menuItems&&i("pn-mainnav",{market:this.market,language:this.language,onMenuOpenChange:function(e){document.body.setAttribute("data-siteheader-menuopen",e.detail+"")}},i("pn-mainnav-level",null,i("pn-mainnav-list",null,this.menuItems.map((function(t){var n,a;return i("pn-mainnav-link",{name:t.name,href:t.href,itemid:t.id,target:(n=t.linkTarget)!==null&&n!==void 0?n:"_self",linkid:t.trackingId},(t.promotedMenuItems&&t.promotedMenuItems.length>0||t.children&&t.children.length>0)&&i("pn-mainnav-level",null,t.children.length>0&&i("pn-mainnav-list",{heading:(a=t.navigationHeading)!==null&&a!==void 0?a:""},t.children.map((function(e){var t;return i("pn-mainnav-link",{name:e.name,href:e.href,target:(t=e.linkTarget)!==null&&t!==void 0?t:"_self",linkid:e.trackingId})}))),t.promotedMenuItems&&t.promotedMenuItems.length>0&&i("pn-mainnav-list",{heading:t.promotedMenuItemsHeader},t.promotedMenuItems.map((function(n){return i("pn-mainnav-link",{href:n.href,name:n.linkText,target:n.openInNewWindow?"_blank":"_self",linkid:e.promotedItemId(n)+t.id})})))))}))),i("div",{slot:"footer",class:"siteheader-menu-footer"},this.gotData&&this.loginDialog&&!this.hideLogin&&i("pn-marketweb-siteheader-login",{emitEvents:false,loginDialog:this.loginDialog,endpoint:this.endpoint,i18n:this.i18n}),this.gotData&&this.languageOptions&&this.languageOptions.length&&!this.hideLanguageSelector&&i("pn-language-selector",{value:this.language},this.languageOptions.map((function(t){return i("pn-language-selector-option",{name:t.nativeName,code:t.twoLetterISOLanguageName,selected:t.isCurrent,url:e.getLanguageVersionUrl(t)})}))),!this.hideSiteSelector&&i("pn-site-selector",{language:this.language},this.gotData&&((s=this.siteSelector)===null||s===void 0?void 0:s.currentSiteTitle)&&i("pn-site-selector-item",{heading:this.siteSelector.currentSiteTitle,description:this.siteSelector.currentSiteDescription}),this.gotData&&((l=this.siteSelector)===null||l===void 0?void 0:l.siteSelections)&&this.siteSelector.siteSelections.map((function(e){return i("pn-site-selector-item",{heading:e.linkText,description:e.linkDescription,url:e.pageLink,newwindow:e.openInNewWindow})})))),i("div",{slot:"top",class:"siteheader-menu-top"},i("pn-marketweb-siteheader-search",{search:this.search,"hide-search":this.hideSearch,i18n:this.i18n}))))),i("pn-marketweb-siteheader-search",{search:this.search,"hide-search":this.hideSearch,"show-only-link":this.minimizeSearch,i18n:this.i18n}))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{language:["onLanguageChange"],market:["onMarketChange"]}},enumerable:false,configurable:true});return e}());u.style=d}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-ff678bef.system.js"],(function(t){"use strict";var n,o,e,i,s;return{setters:[function(t){n=t.r;o=t.c;e=t.h;i=t.a;s=t.g}],execute:function(){var r=":host{display:-ms-inline-flexbox;display:inline-flex}:host>pn-button{margin-left:0.35em}:host>pn-button button .pn-button-bg{-webkit-transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, left 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, left 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, left 0.2s, transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, left 0.2s, transform 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s}:host>pn-button[data-loading=true] .pn-button-bg{left:0;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, -webkit-box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, -webkit-box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, -webkit-box-shadow 0.1s}:host>pn-button[data-loading=true] pn-spinner{left:0.75em}:host input{padding:0.75em;min-height:3em;font-size:1em;height:100%;font-weight:500;-webkit-font-smoothing:antialiased;outline:none;border-radius:3em;border:0.1rem solid #5E554A;-webkit-transition:border 0.15s, -webkit-box-shadow 0.15s;transition:border 0.15s, -webkit-box-shadow 0.15s;transition:box-shadow 0.15s, border 0.15s;transition:box-shadow 0.15s, border 0.15s, -webkit-box-shadow 0.15s;color:#000000;width:100%}:host input::-webkit-search-cancel-button{display:none}:host input::-webkit-input-placeholder{color:#969087;font-weight:normal}:host input::-moz-placeholder{color:#969087;font-weight:normal}:host input:-ms-input-placeholder{color:#969087;font-weight:normal}:host input::-ms-input-placeholder{color:#969087;font-weight:normal}:host input::placeholder{color:#969087;font-weight:normal}:host input:focus{border:0.1rem solid #005D92;-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92}:host input:hover{border:0.1rem solid #00A0D6}:host input:disabled{background:#F3F2F2;border:none}:host>.input-container{width:100%;position:relative}:host>.input-container .button-container{position:absolute;top:0;right:0;background:transparent;width:3em;height:100%;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host>.input-container button{position:absolute;left:50%;top:50%;-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%);background:none;border:none;color:#005D92;padding:0.3rem;border-radius:50%;outline:none;-webkit-transition:border 0.1s, background 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:border 0.1s, background 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:border 0.1s, background 0.2s, box-shadow 0.1s, transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, opacity 0.2s;transition:border 0.1s, background 0.2s, box-shadow 0.1s, transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;border:0.1rem solid transparent}:host>.input-container button.clear,:host>.input-container button.search{cursor:pointer}:host>.input-container button:focus{-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;background:#8EDDF9}:host>.input-container button:hover{background:#E0F8FF}:host>.input-container button:active{background:#005D92}:host>.input-container button:active pn-icon svg,:host>.input-container button:active pn-icon svg path{fill:white}:host.searching button.search{-webkit-transform:translate(150%, -50%);transform:translate(150%, -50%)}:host.searching button.clear{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host.button-none input,:host.button-icon-inline input{padding-right:3.3em}:host.button-none pn-spinner,:host.button-icon-inline pn-spinner{position:absolute;left:50%;top:50%;-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%);-webkit-transition:-webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:-webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s}:host.button-none button.search,:host.button-icon-inline button.search{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host.button-none.loading button,:host.button-icon-inline.loading button{-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}:host.button-none.loading pn-spinner,:host.button-icon-inline.loading pn-spinner{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host.button-none.searching button.search{-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}:host.button-icon>pn-button[data-loading=true] .pn-button-bg{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}";var a=t("pn_filter_search",function(){function t(t){n(this,t);this.search=o(this,"search",7);this.update=o(this,"update",7);this.disabled=false;this.placeholder=null;this.inputid=null;this.name=null;this.autocomplete=null;this.value=null;this.label=null;this.loading=false;this.button="";this.light=false}t.prototype.inputHandler=function(){this.update.emit(this.value)};t.prototype.emitSearch=function(t){if(t.type==="click"||t.type==="keydown"&&t.key==="Enter"){t.preventDefault();this.search.emit(this.value)}};t.prototype.setVal=function(t){this.value=t.target.value};t.prototype.clearInput=function(){this.value="";this.update.emit(this.value);this.hostElement.querySelector("input").focus()};t.prototype.getClassNames=function(){var t="";var n=["none","icon","icon-inline"];if(this.value)t+="searching ";if(this.loading)t+="loading ";if(n.includes(this.button))t+="button-".concat(this.button," ");return t};t.prototype.render=function(){var t=this;return e(i,{class:this.getClassNames()},e("div",{class:"input-container"},e("input",{type:"search",value:this.value,id:this.inputid,name:this.name,placeholder:this.placeholder,disabled:this.disabled,autocomplete:this.autocomplete,onKeyDown:function(n){return t.emitSearch(n)},onInput:function(n){return t.setVal(n)}}),e("div",{class:"button-container"},(this.button==="none"||this.button==="icon-inline")&&e("button",{class:"search",tabindex:this.button==="icon-inline"?"0":"-1",onClick:function(n){return t.emitSearch(n)},"aria-label":"search",title:"search"},e("pn-icon",{symbol:"search",color:"blue700"})),this.button!=="icon-inline"&&e("button",{class:"clear","aria-label":"clear",title:"clear search field",tabindex:this.value&&(!this.loading||this.button!=="none")?"0":"-1",onClick:function(){return t.clearInput()}},e("pn-icon",{symbol:"close-small",color:"blue700"})),this.button==="none"||this.button==="icon-inline"&&e("pn-spinner",null))),this.button!=="none"&&this.button!=="icon-inline"&&e("pn-button",{onClick:function(n){return t.emitSearch(n)},loading:this.loading,icon:"search",appearance:this.light?"light":"dark","icon-only":this.button==="icon"},this.label))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return s(this)},enumerable:false,configurable:true});return t}());a.style=r}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function r(e){try{s(i.next(e))}catch(t){o(t)}}function l(e){try{s(i["throw"](e))}catch(t){o(t)}}function s(e){e.done?n(e.value):a(e.value).then(r,l)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(e){return function(t){return s([e,t])}}function s(r){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;a=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){n.label=r[1];break}if(r[0]===6&&n.label<o[1]){n.label=o[1];o=r;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(r);break}if(o[2])n.ops.pop();n.trys.pop();continue}r=t.call(e,n)}catch(l){r=[6,l];a=0}finally{i=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};System.register(["./p-ff678bef.system.js","./p-6fea1ae6.system.js","./p-55513980.system.js","./p-b4b6ab95.system.js"],(function(e){"use strict";var t,n,i,a,o,r,l,s;return{setters:[function(e){t=e.r;n=e.c;i=e.h;a=e.a;o=e.g},function(e){r=e.s;l=e.o},function(e){s=e.M},function(){}],execute:function(){var u={sv:{heading:"Språk"},en:{heading:"Language"},da:{heading:"Sprog"},no:{heading:"Språk"},fi:{heading:"Kieli"}};var c="pn-language-selector{max-height:5.2rem}pn-language-selector pn-nav-dropdown:not([data-open]) .nav-dropdown-content-container,pn-language-selector pn-nav-dropdown[data-open=false] .nav-dropdown-content-container{display:none}pn-language-selector pn-nav-dropdown{display:block}.languageselector{position:relative}.languageselector-togglebtn{cursor:pointer;border:0;padding:0.64rem 0;background-color:#FFFFFF;color:#005D92;font-size:1.6rem}.languageselector-togglebtn:hover,.languageselector-togglebtn:focus,.languageselector-togglebtn:active{color:#0D234B;text-decoration:underline}.languageselector-togglebtn svg{width:1.9rem;height:1.9rem}.languageselector-title{padding:0.8rem 1.6rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.languageselector-list{margin:0;padding:0;list-style:none}";var d=e("pn_language_selector",function(){function e(e){t(this,e);this.setLanguage=n(this,"setLanguage",7);this.value="";this.selectedLanguageName="";this.options=[]}e.prototype.componentWillLoad=function(){this.setInitialSelectedLanguageName();this.setTranslations()};e.prototype.componentDidLoad=function(){this.initialize()};e.prototype.initialize=function(){this.setSelectedLanguageName();this.addEventBindingsToOptions()};e.prototype.setInitialSelectedLanguageName=function(){if(!window.Intl||!this.value){return}var e=new Intl.DisplayNames([this.value],{type:"language"});if(!e){return}var t=e.of(this.value);if(!t){return}this.selectedLanguageName=t.charAt(0).toUpperCase()+t.slice(1)};e.prototype.addEventBindingsToOptions=function(){var e=this;var t=[].slice.apply(this.hostElement.querySelectorAll("pn-language-selector-option"));t.map((function(t){t.removeEventListener("setCurrentLanguage",(function(t){e.onSetCurrentLanguage(t.detail)}));t.addEventListener("setCurrentLanguage",(function(t){e.onSetCurrentLanguage(t.detail)}))}))};e.prototype.setSelectedLanguageName=function(){var e=this;var t=[].slice.apply(this.hostElement.querySelectorAll("pn-language-selector-option"));t.map((function(t){if(t.getAttribute("code")==e.value){e.selectedLanguageName=t.getAttribute("name")}}))};e.prototype.onSetCurrentLanguage=function(e){this.value=e.code;this.selectedLanguageName=e.name;this.setLanguage.emit(this.value)};e.prototype.setTranslations=function(){if(u[this.value]){this.i18n=u[this.value]}};e.prototype.onValueChange=function(){var e=this;var t;var n=(t=this.hostElement.querySelectorAll("pn-language-selector-option"))!==null&&t!==void 0?t:[];n.forEach((function(t){var n=(t.getAttribute("code")===e.value)+"";if(t.getAttribute("selected")+""!==n){t.setAttribute("selected",n)}}))};e.prototype.render=function(){return i(a,{value:this.value},i("pn-nav-dropdown",{label:this.selectedLanguageName,icon:"globe"},i("nav",{class:"languageselector-nav","aria-label":this.i18n.heading},i("strong",{class:"languageselector-title"},this.i18n.heading),i("div",{class:"languageselector-list",role:"list"},i("slot",null)))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["setSelectedLanguageName","setTranslations","onValueChange"]}},enumerable:false,configurable:true});return e}());d.style=c;var m="pn-language-selector-option{margin:0;padding:0;list-style:none}.languageselector-button,.languageselector-link{width:100%;padding:1.1rem 1.6rem 1.1rem 1.4rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:relative;text-decoration:none;border:0;cursor:pointer;background-color:#FFFFFF;color:#005D92;font-size:1.6rem;font-weight:bold;border-radius:0}.languageselector-button:hover,.languageselector-button:focus,.languageselector-button:active,.languageselector-link:hover,.languageselector-link:focus,.languageselector-link:active{color:#0D234B;text-decoration:underline;-webkit-box-shadow:none;box-shadow:none;background-color:#F3F2F2;color:#005D92;outline:none}.languageselector-itemtext{display:inline-block;margin-left:1rem}.languageselector-radio-outer{background:#fff;border:0.1em solid #D3CECB;border-radius:50%;height:1.5em;width:1.5em;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, -webkit-box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, -webkit-box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.1s, -webkit-box-shadow 0.1s;cursor:pointer}.languageselector-radio-outer:focus>.languageselector-radio-outer,.languageselector-radio-outer:active>.languageselector-radio-outer{-webkit-box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92;box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92}.languageselector-radio-outer:hover>.languageselector-radio-outer{border:0.1rem solid #005D92;background:#E0F8FF}[selected=true] .languageselector-radio-outer{border:0.1rem solid #005D92}.languageselector-radio-inner{-webkit-transform:scale(0);transform:scale(0);height:1em;width:1em;background-color:#005D92;border-radius:50%;-webkit-transform-origin:center center;transform-origin:center center;-webkit-transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92), -webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92)}[selected=true] .languageselector-radio-inner{-webkit-transform:scale(1);transform:scale(1)}";var g=e("pn_language_selector_option",function(){function e(e){t(this,e);this.setCurrentLanguage=n(this,"setCurrentLanguage",7);this.name="";this.code="";this.url="";this.selected=false}e.prototype.onOptionClick=function(){var e={name:this.name,code:this.code,url:this.url,current:true};this.setCurrentLanguage.emit(e)};e.prototype.render=function(){return i(a,{role:"listitem",selected:this.selected+"",code:this.code,name:this.name},!this.url?i("button",{class:"languageselector-button","data-langcode":this.code,onClick:this.onOptionClick.bind(this)},i("span",{class:"languageselector-radio-outer"},i("span",{class:"languageselector-radio-inner"})),i("span",{class:"languageselector-itemtext"},this.name," - ",this.code)):i("a",{href:this.url,target:"_self",class:"languageselector-link","data-langcode":this.code},i("span",{class:"languageselector-radio-outer"},i("span",{class:"languageselector-radio-inner"})),i("span",{class:"languageselector-itemtext"},this.name," - ",this.code)))};return e}());g.style=m;var h={sv:{menuHomeButton:"Hem",menuGoBackButton:"Gå tillbaka",mainMenuButton:"Meny",menuStartButton:"Start",navLabel:"Huvudnavigation"},en:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"},da:{menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbage",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Hovednavigation"},no:{menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbake",mainMenuButton:"Meny",menuStartButton:"Start",navLabel:"Hovednavigasjon"},fi:{menuHomeButton:"Koti",menuGoBackButton:"Mene takaisin",mainMenuButton:"Valikko",menuStartButton:"Alkaa",navLabel:"Päänavigointi"}};var p="pn-mainnav{display:-ms-flexbox;display:flex;-ms-flex-flow:row-reverse;flex-flow:row-reverse;position:relative;width:100%;min-height:5.1rem}@media screen and (min-width: 48em){pn-mainnav{-ms-flex-flow:row;flex-flow:row}}@media screen and (min-width: 64em){pn-mainnav{-ms-flex-flow:column;flex-flow:column}}@media screen and (min-width: 64em){pn-mainnav [slot=footer]{display:none}}pn-mainnav>nav{height:auto;width:100vw;background-color:#FFFFFF;z-index:2;-webkit-transform:translateX(100vw);transform:translateX(100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;visibility:hidden;position:fixed;top:3em;bottom:0;left:0}@media screen and (min-width: 48em){pn-mainnav>nav{top:6.5em}}pn-mainnav>nav[data-menu-open=true]{visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}@media screen and (min-width: 64em){pn-mainnav>nav{-ms-flex-flow:row-reverse;flex-flow:row-reverse;top:0;position:static;height:auto;width:100%;-ms-flex-pack:justify;justify-content:space-between;visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}}pn-mainnav>nav a{text-decoration:none}pn-mainnav>nav button{cursor:pointer}.mainnav-toggle{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center}@media screen and (min-width: 64em){.mainnav-toggle{display:none}}.mainnav-toggle>button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:#005D92;color:#FFFFFF;border-radius:2.4rem;border:none;padding:0.6rem 1.6rem;cursor:pointer;font-size:1.6rem}.mainnav-toggle>button:focus{outline:0}.mainnav-toggle>button pn-icon{margin-left:0.8rem;display:block}.mainnav-toggle>button svg{display:block;margin:-0.2rem -0.5rem -0.2rem 0;height:1.9rem;width:1.9rem}";var f=e("pn_mainnav",function(){function e(e){t(this,e);this.menuLanguageChange=n(this,"menuLanguageChange",7);this.marketChange=n(this,"marketChange",7);this.menuOpenChange=n(this,"menuOpenChange",7);this.market="se";this.language="sv";this.navigationId="mainnav";this.openMenu=false;this.navLabel=""}e.prototype.componentWillLoad=function(){this.init();document.removeEventListener("mousedown",this._onClickOutside.bind(this));document.addEventListener("mousedown",this._onClickOutside.bind(this))};e.prototype.init=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.setLanguage();this.setMarket();return[2]}))}))};e.prototype._onClickOutside=function(e){var t=!this.hostElement.contains(e.target);if(t){r.openLevel=""}};e.prototype.setLanguage=function(){this.menuLanguageChange.emit(this.language)};e.prototype.setMarket=function(){this.marketChange.emit(this.market)};e.prototype.onLanguageChange=function(e){if(h[e.detail]){r.i18n=h[e.detail];if(!this.navLabel){this.navLabel=r.i18n.navLabel}}};e.prototype.setMenuOpenState=function(){r.openMenu=!r.openMenu;this.menuOpenChange.emit(r.openMenu)};e.prototype.onOpenMenuLevelChange=function(e){r.openLevel=e.detail};e.prototype.render=function(){return i(a,null,i("div",{class:"mainnav-toggle"},i("button",{"aria-controls":this.navigationId,"aria-expanded":r.openMenu+"",onClick:this.setMenuOpenState.bind(this)},r.i18n.mainMenuButton,i("pn-icon",{symbol:r.openMenu?"close":"bars",color:"white"}))),i("nav",{class:"mainnav","aria-label":this.navLabel,"data-menu-open":r.openMenu+"","data-menu-currentlevel":r.currentLevel,id:this.navigationId},i("slot",null)))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());f.style=p;var v='pn-mainnav-level{display:block}pn-mainnav-level:not(.hydrated){max-height:5.6rem;overflow:hidden}pn-mainnav-level[data-level="1"]{width:100%;right:0;overflow-y:scroll;overflow-x:hidden;-ms-flex:1;flex:1}@media screen and (min-width: 64em){pn-mainnav-level[data-level="1"]{width:auto;overflow:initial}pn-mainnav-level[data-level="1"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level="2"]{position:absolute;top:0;bottom:0;left:0;width:100vw;padding:0;background-color:#FFFFFF;z-index:1;-webkit-transform:translateX(100vw);transform:translateX(100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;overflow:scroll;visibility:hidden}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"]{left:0;top:calc(100% + 1rem);bottom:auto;border-radius:1.6rem;width:auto;padding:1.6rem 1.6rem 0 1.6rem;-webkit-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);-moz-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);height:auto;z-index:3;display:none}pn-mainnav-level[data-level="2"][data-menuitem-rightaligned=true]{right:0;left:unset}}@media screen and (max-height: 33.125em){pn-mainnav-level[data-level="2"]{-ms-overflow-style:none;scrollbar-width:none}pn-mainnav-level[data-level="2"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level="2"][aria-hidden=false]{-webkit-transform:translateX(0);transform:translateX(0);visibility:visible}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][aria-hidden=false]{display:block;overflow:visible}pn-mainnav-level[data-level="2"][aria-hidden=false]:not([data-level-listcount="1"]){display:grid;grid-template-columns:minmax(12em, 20em) 1fr;grid-template-rows:auto auto;gap:0px 1.6rem;grid-template-areas:"top top" "left right"}}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][data-level-alignment=left]{right:0;left:unset}}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][data-level-alignment=center]{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}}pn-mainnav-level[data-level="2"] a{color:#005D92;text-decoration:none}pn-mainnav-level [slot=top]{display:-ms-flexbox;display:flex}@media screen and (min-width: 48em){pn-mainnav-level [slot=top]{display:none}}[data-menu-currentlevel="2"] pn-mainnav-level [slot=footer]{display:none;-ms-scroll-chaining:none;overscroll-behavior:contain}.mainnav-level-header{grid-area:top}.mainnav-level-header>label{position:absolute;width:0.1rem;height:0.1rem;padding:0;margin:-0.1rem;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;white-space:nowrap}.mainnav-level-header>button{display:block;position:relative;border:none;background-color:transparent;color:#005D92;padding:2.4rem 0 2.4rem 6.2rem;width:100%;text-align:left}@media screen and (min-width: 64em){.mainnav-level-header>button{display:none;speak:none}}.mainnav-level-header>button>pn-icon{speak:none;position:absolute;height:2.4rem;width:2.4rem;left:3rem;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}[data-level="2"] .mainnav-level-header>pn-mainnav-link>a{font-size:2.4rem}';var b=e("pn_mainnav_level",function(){function e(e){t(this,e);this.level=1;this.levelId="";this.isOpen=false;this.parentName="";this.parentHref="";this.parentLinkId="";this.listCount=0;this.alignment="right"}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var n=this;return __generator(this,(function(i){this.listCount=this.hostElement.querySelectorAll(":scope > pn-mainnav-list").length;e=this.hostElement.parentElement;if(e.tagName.toLowerCase()!=="nav"){this.level=2}if(e.tagName.toLowerCase()==="pn-mainnav-link"){this.parentName=e.getAttribute("name")+"";this.parentHref=e.getAttribute("href")+"";this.parentLinkId=e.getAttribute("linkid")+"";t=this.parentName.toLowerCase().replace(/\W/gi,"_");this.levelId="mainnav-lvl".concat(this.level,"-").concat(t)}l("openLevel",(function(){n.onChangeOpenLevel()}));return[2]}))}))};e.prototype.onOpen=function(){var e=this;if(this.level===2){requestAnimationFrame((function(){var t=e.hostElement.getClientRects()[0];if(!t){return}var n=e.hostElement.parentElement.parentElement.parentElement.parentElement;if(n&&n.tagName.toLowerCase()==="nav"){var i=n.getClientRects()[0];if(!i){return}if(t.right>window.innerWidth){var a=e.hostElement.parentElement.getClientRects()[0];if(a.left-t.width<0){e.alignment="center"}else{e.alignment="left"}}}}))}};e.prototype.onChangeOpenLevel=function(){this.isOpen=r.openLevel===this.levelId;r.currentLevel=this.level};e.prototype.render=function(){return i(a,Object.assign({role:"navigation"},this.level>1&&this.levelId?{"aria-hidden":!this.isOpen+""}:{},{"data-level-listcount":this.listCount+"","data-level-alignment":this.alignment,"data-level":this.level+""},this.levelId?{id:this.levelId}:{}),this.level>1?i("div",{class:"mainnav-level-header"},i("label",{htmlFor:this.levelId},r.i18n.menuGoBackButton),i("button",{class:"secondlevel-backbtn",onClick:function(){r.openLevel="";r.currentLevel=1},"aria-expanded":(r.openLevel===this.levelId)+""},i("pn-icon",{symbol:"arrow-left",color:"blue700"}),r.i18n.menuStartButton),this.parentHref&&this.parentName?i("pn-mainnav-link",{href:this.parentHref,name:this.parentName,linkid:this.parentLinkId}):null):null,i("slot",{name:"top"}),i("slot",null),i("slot",{name:"additional"}),i("slot",{name:"footer"}))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{isOpen:["onOpen"]}},enumerable:false,configurable:true});return e}());b.style=v;var w='pn-mainnav-list{display:block;overflow:visible;list-style:none;margin:0;padding:0;grid-area:right}@media screen and (min-width: 64em){pn-mainnav-list+pn-mainnav-list{grid-area:left;border-right:0.1rem solid #D3CECB;margin-bottom:1.6rem;margin-right:-0.7rem;padding-right:0.7rem}}[data-level="1"]>pn-mainnav-list{overflow:scroll;-webkit-overflow-scrolling:touch}@media screen and (min-width: 64em){[data-level="1"]>pn-mainnav-list{height:100%;display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;overflow:visible;padding:0}}@media screen and (min-width: 64em){[data-level="2"]>pn-mainnav-list[data-navlist-showcolumns=true]{-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:1.6rem;-moz-column-gap:1.6rem;column-gap:1.6rem;padding-bottom:1.6rem}}.mainnav-list-heading{display:none;font-weight:bold;-webkit-column-span:all;-moz-column-span:all;column-span:all;font-size:1.8rem;padding:1.4rem 1.4rem 1.4rem 4.8rem}@media screen and (min-width: 64em){.mainnav-list-heading{display:block;padding:0 1.4rem 1.4rem 1.4rem}}';var y=e("pn_mainnav_list",function(){function e(e){t(this,e);this.heading="";this.linkCount=0}e.prototype.componentWillLoad=function(){this.linkCount=this.hostElement.querySelectorAll(":scope > pn-mainnav-link").length};e.prototype.render=function(){return i(a,{class:"mainnav-list",role:"list","data-navlist-itemcount":this.linkCount+"","data-navlist-showcolumns":(this.linkCount>=8)+""},this.heading?i("div",{class:"mainnav-list-heading"},this.heading):null,i("slot",null))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());y.style=w;var k="pn-marketweb-siteheader-login{padding:1rem 0;max-height:5.2rem;position:relative}pn-marketweb-siteheader-login strong{padding:0.8rem 1.6rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}pn-marketweb-siteheader-login ul,pn-marketweb-siteheader-login li{list-style:none;margin:0;padding:0}pn-marketweb-siteheader-login li{padding:0.8rem 1.6rem}pn-marketweb-siteheader-login li pn-button{display:block;width:100%}pn-marketweb-siteheader-login pn-nav-dropdown{display:none}pn-marketweb-siteheader-login.hydrated pn-nav-dropdown{display:block}";var x=e("pn_marketweb_siteheader_login",function(){function e(e){t(this,e);this.loginStateChange=n(this,"loginStateChange",7);this.endpoint="";this.token="";this.emitEvents=true;this.loginDialog=null;this.loginManager=null;this.loggedIn=false;this.toggleButtonText="";this.username=""}e.prototype.componentWillLoad=function(){this.loginManager=new s({endpoint:this.endpoint,eventTarget:this.hostElement});this.hostElement["loginmanager"]=this.loginManager;if(this.token){this.loginManager.registerToken(this.token,"backend")}else if(this.emitEvents){this.loginManager.invalidateTokenOfType("backend")}this.hostElement.addEventListener(this.loginManager.events.loginstatechange,this.onLoginStateChange.bind(this));this.init()};e.prototype.init=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.toggleButtonText=this.loginDialog.loginMenuLinkText;this.loginManager.init(this.emitEvents);this.setToggleButtonText();return[2]}))}))};e.prototype.setUserName=function(){var e=this.loginManager.getUserInfo();var t="";if(!this.loggedIn||!e){this.username=t}if(e.given_name){t=e.given_name+((e===null||e===void 0?void 0:e.family_name)?" ".concat(e===null||e===void 0?void 0:e.family_name):"")}if(!t&&e.email){t=e.email}this.username=t};e.prototype.setToggleButtonText=function(){if(this.loggedIn){this.toggleButtonText=this.username;if(!this.toggleButtonText){this.toggleButtonText=this.loginDialog.loggedInButtonText}}else{this.toggleButtonText=this.loginDialog.loginMenuLinkText}};e.prototype.onLoginStateChange=function(e){if(this.loggedIn!==e.detail&&this.emitEvents){this.loggedIn=e.detail;this.loginStateChange.emit({loggedIn:this.loggedIn,token:this.loginManager.getToken()});this.setUserName();this.setToggleButtonText()}};e.prototype.uniqueId=function(e){return"loginlink-"+e.replace(/[^A-Za-z0-9.\\\/]/gim,"")+"-"+(this.emitEvents?"1":"2")};e.prototype.linkAppearanceAttributes=function(e){var t={};if(e.linkType){switch(e.linkType){case"primary":t={appearance:"",variant:""};break;case"secondary":t={appearance:"light",variant:"outlined"};break;case"regularlink":default:t={appearance:"light",variant:"borderless",icon:"arrow-right"};break}return t}if(!e.linkType){t={appearance:e.primaryLinkApperance?"dark":"light"}}return t};e.prototype.render=function(){var e=this;var t,n,o;if(!this.loginDialog){return}var r={username:null};if(this.username){r.username=this.username}return i(a,Object.assign({},r),i("pn-nav-dropdown",{label:this.toggleButtonText,icon:"user",class:"siteheader-logindialog"},!this.loginDialog.overrideLoginMenu?i("div",{"data-loggedin":this.loggedIn+""},!this.loggedIn?i("div",null,(t=this.loginDialog.loginTitle)!==null&&t!==void 0?t:i("strong",null,this.loginDialog.loginTitle),((n=this.loginDialog.loginMenuLinks)===null||n===void 0?void 0:n.length)>0?i("ul",null,this.loginDialog.loginMenuLinks.map((function(t,n){var a=n===0&&!t.href?e.loginManager.getLoginUrl():t.href;return i("li",null,i("pn-button",Object.assign({href:a,id:e.uniqueId(t.linkText)},e.linkAppearanceAttributes(t),t.openInNewWindow&&{target:"_blank"}),t.linkText))}))):i("ul",null,i("li",null,i("pn-button",{href:this.loginManager.getLoginUrl(this.loginDialog.loginUrl),target:"_top"},this.loginDialog.loginLinkText)),i("li",null,i("pn-button",{href:this.loginDialog.registerUrl,target:"_top",appearance:"light",variant:"outlined"},this.loginDialog.createLoginLinkText)))):i("div",null,i("ul",null,this.loginDialog.loggedInLinks.map((function(t){var n=t.href.indexOf("logout")!==-1;var a=n?e.loginManager.getLogoutUrl(t.href.replace("logout","").replace("http://window.location.href/?","").replace("https://window.location.href/?","")):t.href;return i("li",null,i("pn-button",Object.assign({href:a,id:e.uniqueId(t.linkText)},t.openInNewWindow&&{target:"_blank"},e.linkAppearanceAttributes(t),{onClick:function(){if(n){e.loginManager.clearUserData()}}}),t.linkText))}))))):i("div",null,i("ul",null,(o=this.loginDialog.loginMenuLinks)===null||o===void 0?void 0:o.map((function(e){return i("li",null,i("a",{href:e.href,target:e.openInNewWindow?"_blank":"_self",class:"btn btn-link"},e.linkText))}))))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{i18n:["init"],loginDialog:["init"]}},enumerable:false,configurable:true});return e}());x.style=k;var L=".siteheader-search a{display:none}@media screen and (min-width: 48em){.siteheader-search a{display:block}}.siteheader-search pn-search-field.button-icon pn-button,.siteheader-search pn-button{display:-ms-inline-flexbox;display:inline-flex}.siteheader-search pn-search-field.button-icon pn-button button,.siteheader-search pn-button button{-ms-flex-item-align:center;align-self:center;padding:0;height:2.3em;width:2.3em;line-height:0;min-height:unset;min-width:unset}.siteheader-search pn-search-field.button-icon pn-button pn-icon,.siteheader-search pn-button pn-icon{margin-left:0}.siteheader-search form{-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:auto;-ms-flex:none;flex:none;display:-ms-flexbox;display:flex;padding:0;margin:0 0 0 0.4rem;position:relative}@media screen and (min-width: 60em){.siteheader-search form{margin-right:1.6rem}}.siteheader-search form pn-search-field{min-width:13.5em}.siteheader-search form pn-search-field .input-container{-ms-flex-item-align:center;align-self:center}.siteheader-search form pn-search-field input{height:auto;min-height:1em;padding:0.6em 0.75em}";var _=e("pn_marketweb_siteheader_search",function(){function e(e){t(this,e);this.showOnlyLink=false;this.hideSearch=false;this.search={}}e.prototype.componentWillLoad=function(){};e.prototype.render=function(){var e=this;if(!this.search.formActionUrl||this.hideSearch){return}return i("div",{class:"siteheader-search"},this.showOnlyLink?i("a",{href:this.search.formActionUrl,title:this.i18n.searchlabel},i("pn-button",{appearance:"light",icon:"search"})):i("form",{method:"get",action:this.search.formActionUrl,role:"search"},i("pn-search-field",{label:this.i18n.searchlabel,name:"q",button:"icon",onSearch:function(){var t=e.hostElement.querySelector("form");if(t){t.submit()}},placeholder:this.i18n.searchplaceholder})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());_.style=L;var C={sv:{navlabel:"Webbplatsväljare"},en:{navlabel:"Website selector"},da:{navlabel:"Webstedsvælger"},no:{navlabel:"Nettstedsvelger"},fi:{navlabel:"Verkkosivun valitsin"}};var F="pn-site-selector{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;max-height:5.2rem}@media screen and (min-width: 75em){pn-site-selector{display:block}}.siteselector-heading{display:block;padding:0;margin-bottom:1.6rem}@media screen and (min-width: 75em){.siteselector-heading{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-top:0.8rem}}.siteselector-list{list-style:none;margin:0;padding:0}";var B=e("pn_site_selector",function(){function e(e){t(this,e);this.buttontext="postnord";this.heading="PostNord";this.language="sv";this.i18n={navlabel:"Site selector"}}e.prototype.componentWillLoad=function(){this.setLanguage()};e.prototype.setLanguage=function(){if(C[this.language]){this.i18n=C[this.language]}};e.prototype.render=function(){return i(a,null,i("pn-nav-dropdown",{label:this.buttontext,icon:"angle-small-down"},i("nav",{class:"siteselector-nav","aria-label":this.i18n.navlabel},this.heading?i("strong",{class:"siteselector-heading"},this.heading):null,i("ul",{class:"siteselector-list"},i("slot",null)))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());B.style=F;var E="pn-site-selector-item{display:block}pn-site-selector-item>div,pn-site-selector-item>a{padding:0.8rem 0;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;position:relative}.siteselector-item-link{border-radius:0;text-decoration:none;color:#005D92;-ms-flex-direction:row;flex-direction:row}.siteselector-item-link:hover,.siteselector-item-link:focus{background-color:#F3F2F2;color:#005D92;text-decoration:underline;outline:none;-webkit-box-shadow:none;box-shadow:none}.siteselector-item-link:active{background-color:#F3F2F2;color:#00A0D6;outline:none}.siteselector-item-link>span{-ms-flex-positive:1;flex-grow:1}.siteselector-item-link pn-icon{right:3.2rem;height:1.9rem;width:1.9rem;-ms-flex-item-align:center;align-self:center}.siteselector-item-link pn-icon svg{width:100%;height:auto}.siteselector-item-title{display:block}.siteselector-item-description{color:#2D2013;font-size:1.28rem}a:hover>.siteselector-item-description,a:focus>.siteselector-item-description{background-color:#F3F2F2;color:#005D92;text-decoration:underline;outline:none}a:active>.siteselector-item-description{background-color:#F3F2F2;color:#00A0D6;outline:none}";var M=e("pn_site_selector_item",function(){function e(e){t(this,e);this.url="";this.heading="";this.description="";this.newwindow=false}e.prototype.render=function(){return i(a,{role:"listitem"},this.url?i("a",{class:"siteselector-item-link",href:this.url,target:this.newwindow?"_blank":"self",rel:this.newwindow?"nofollow noopener":""},i("span",null,this.heading&&i("span",{class:"siteselector-item-title"},this.heading),this.description&&i("small",{class:"siteselector-item-description"},this.description)),i("pn-icon",{symbol:"angle-small-right",color:"blue700"})):i("div",null,this.heading&&i("span",{class:"siteselector-item-title"},this.heading),this.description&&i("small",{class:"siteselector-item-description"},this.description)))};return e}());M.style=E}}}));
|