@postnord/pn-marketweb-components 2.4.29 → 2.4.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (414) hide show
  1. package/cjs/{index-95e5b7f9.js → index-7ebb05d7.js} +1 -1
  2. package/cjs/{index-4199ff85.js → index-d6f2e2f9.js} +6 -0
  3. package/cjs/loader.cjs.js +2 -2
  4. package/cjs/pn-address-autofill.cjs.entry.js +1 -1
  5. package/cjs/pn-animated-tile.cjs.entry.js +1 -1
  6. package/cjs/pn-app-banner.cjs.entry.js +1 -1
  7. package/cjs/pn-bonus-progressbar-level.cjs.entry.js +1 -1
  8. package/cjs/pn-bonus-progressbar.cjs.entry.js +1 -1
  9. package/cjs/pn-breakpoints.cjs.entry.js +1 -1
  10. package/cjs/pn-chart.cjs.entry.js +1 -1
  11. package/cjs/pn-charts-card.cjs.entry.js +1 -1
  12. package/cjs/pn-choice-button.cjs.entry.js +1 -1
  13. package/cjs/pn-cta-block.cjs.entry.js +1 -1
  14. package/cjs/pn-customernumber-selector-option.cjs.entry.js +1 -1
  15. package/cjs/pn-customernumber-selector.cjs.entry.js +1 -1
  16. package/cjs/pn-date-and-time.cjs.entry.js +1 -1
  17. package/cjs/pn-dropdown-choice-adds-row.cjs.entry.js +1 -1
  18. package/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js +1 -1
  19. package/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js +1 -1
  20. package/cjs/pn-filter-checkbox.cjs.entry.js +1 -1
  21. package/cjs/pn-find-price-result.cjs.entry.js +3 -3
  22. package/cjs/{pn-find-price-store-e0d1e412.js → pn-find-price-store-1f005e0d.js} +1 -1
  23. package/cjs/pn-find-price.cjs.entry.js +3 -3
  24. package/cjs/pn-find-service-and-price-result.cjs.entry.js +3 -3
  25. package/cjs/{pn-find-service-and-price-store-6e26630d.js → pn-find-service-and-price-store-0b544d1e.js} +1 -1
  26. package/cjs/pn-find-service-and-price.cjs.entry.js +3 -3
  27. package/cjs/pn-language-selector_9.cjs.entry.js +4 -4
  28. package/cjs/pn-line-shape.cjs.entry.js +1 -1
  29. package/cjs/pn-link-list.cjs.entry.js +57 -0
  30. package/cjs/pn-mainnav-link.cjs.entry.js +3 -3
  31. package/cjs/{pn-mainnav-store-8c337865.js → pn-mainnav-store-a31c1d1e.js} +1 -1
  32. package/cjs/pn-market-web-components.cjs.js +2 -2
  33. package/cjs/pn-marketweb-input.cjs.entry.js +1 -1
  34. package/cjs/pn-marketweb-search.cjs.entry.js +1 -1
  35. package/cjs/pn-marketweb-sitefooter.cjs.entry.js +1 -1
  36. package/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js +3 -3
  37. package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +3 -3
  38. package/cjs/{pn-marketweb-siteheader-store-5ced6902.js → pn-marketweb-siteheader-store-a939014c.js} +1 -1
  39. package/cjs/pn-marketweb-siteheader.cjs.entry.js +3 -3
  40. package/cjs/pn-multi-formfield.cjs.entry.js +1 -1
  41. package/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js +1 -1
  42. package/cjs/pn-multi-row-connected-dropdown.cjs.entry.js +2 -2
  43. package/cjs/pn-multiple-input.cjs.entry.js +1 -1
  44. package/cjs/pn-parcel-tracker.cjs.entry.js +1 -1
  45. package/cjs/pn-pex-pricefinder.cjs.entry.js +1 -1
  46. package/cjs/pn-play-on-scroll.cjs.entry.js +1 -1
  47. package/cjs/pn-product-card_3.cjs.entry.js +1 -1
  48. package/cjs/pn-product-pricelist-result.cjs.entry.js +2 -2
  49. package/cjs/pn-product-pricelist.cjs.entry.js +3 -3
  50. package/cjs/pn-product-tile-info_2.cjs.entry.js +1 -1
  51. package/cjs/pn-product-tile.cjs.entry.js +1 -1
  52. package/cjs/pn-profile-modal-customernumber.cjs.entry.js +1 -1
  53. package/cjs/pn-profile-modal-profile.cjs.entry.js +3 -3
  54. package/cjs/{pn-profile-modal-store-947b08ae.js → pn-profile-modal-store-2525eee2.js} +1 -1
  55. package/cjs/pn-profile-modal-type.cjs.entry.js +3 -3
  56. package/cjs/pn-profile-modal.cjs.entry.js +3 -3
  57. package/cjs/pn-profile-selector-option.cjs.entry.js +1 -1
  58. package/cjs/pn-profile-selector.cjs.entry.js +1 -1
  59. package/cjs/pn-proxio-findprice-result.cjs.entry.js +1 -1
  60. package/cjs/pn-proxio-findprice.cjs.entry.js +25 -3
  61. package/cjs/pn-proxio-pricegroup.cjs.entry.js +1 -1
  62. package/cjs/pn-proxio-productcard_4.cjs.entry.js +1 -1
  63. package/cjs/pn-quick-cta.cjs.entry.js +1 -1
  64. package/cjs/pn-quote-card.cjs.entry.js +1 -1
  65. package/cjs/pn-scroll_2.cjs.entry.js +1 -1
  66. package/cjs/pn-share-item.cjs.entry.js +1 -1
  67. package/cjs/pn-share.cjs.entry.js +1 -1
  68. package/cjs/pn-sidenav-level.cjs.entry.js +3 -3
  69. package/cjs/pn-sidenav-link.cjs.entry.js +3 -3
  70. package/cjs/{pn-sidenav-store-d2389306.js → pn-sidenav-store-18b8c3ff.js} +1 -1
  71. package/cjs/pn-sidenav-togglebutton.cjs.entry.js +3 -3
  72. package/cjs/pn-sidenav.cjs.entry.js +3 -3
  73. package/cjs/pn-site-footer_3.cjs.entry.js +1 -1
  74. package/cjs/pn-spotlight.cjs.entry.js +1 -1
  75. package/cjs/pn-stats-info-data.cjs.entry.js +1 -1
  76. package/cjs/pn-stats-info.cjs.entry.js +1 -1
  77. package/cjs/pn-teaser-card.cjs.entry.js +1 -1
  78. package/cjs/pn-titletag.cjs.entry.js +1 -1
  79. package/collection/collection-manifest.json +1 -0
  80. package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.js +1 -1
  81. package/collection/components/widgets/pn-link-list/link-list.stories.js +50 -0
  82. package/collection/components/widgets/pn-link-list/pn-link-list.css +140 -0
  83. package/collection/components/widgets/pn-link-list/pn-link-list.js +185 -0
  84. package/collection/components/widgets/pn-proxio-findprice/data.js +20 -0
  85. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +21 -1
  86. package/components/index.d.ts +1 -0
  87. package/components/index.js +1 -0
  88. package/components/pn-link-list.d.ts +11 -0
  89. package/components/pn-link-list.js +80 -0
  90. package/components/pn-multi-row-connected-dropdown.js +1 -1
  91. package/components/pn-proxio-findprice.js +24 -1
  92. package/esm/{index-ee44c065.js → index-be8c3299.js} +6 -0
  93. package/esm/{index-b71e0f8e.js → index-e6fbe66d.js} +1 -1
  94. package/esm/loader.js +3 -3
  95. package/esm/pn-address-autofill.entry.js +1 -1
  96. package/esm/pn-animated-tile.entry.js +1 -1
  97. package/esm/pn-app-banner.entry.js +1 -1
  98. package/esm/pn-bonus-progressbar-level.entry.js +1 -1
  99. package/esm/pn-bonus-progressbar.entry.js +1 -1
  100. package/esm/pn-breakpoints.entry.js +1 -1
  101. package/esm/pn-chart.entry.js +1 -1
  102. package/esm/pn-charts-card.entry.js +1 -1
  103. package/esm/pn-choice-button.entry.js +1 -1
  104. package/esm/pn-cta-block.entry.js +1 -1
  105. package/esm/pn-customernumber-selector-option.entry.js +1 -1
  106. package/esm/pn-customernumber-selector.entry.js +1 -1
  107. package/esm/pn-date-and-time.entry.js +1 -1
  108. package/esm/pn-dropdown-choice-adds-row.entry.js +1 -1
  109. package/esm/pn-dropdown-with-multi-input-rows-row.entry.js +1 -1
  110. package/esm/pn-dropdown-with-multi-input-rows.entry.js +1 -1
  111. package/esm/pn-filter-checkbox.entry.js +1 -1
  112. package/esm/pn-find-price-result.entry.js +3 -3
  113. package/esm/{pn-find-price-store-5810a2b9.js → pn-find-price-store-9d2df21a.js} +1 -1
  114. package/esm/pn-find-price.entry.js +3 -3
  115. package/esm/pn-find-service-and-price-result.entry.js +3 -3
  116. package/esm/{pn-find-service-and-price-store-0b1b3ab7.js → pn-find-service-and-price-store-60025dfc.js} +1 -1
  117. package/esm/pn-find-service-and-price.entry.js +3 -3
  118. package/esm/pn-language-selector_9.entry.js +4 -4
  119. package/esm/pn-line-shape.entry.js +1 -1
  120. package/esm/pn-link-list.entry.js +53 -0
  121. package/esm/pn-mainnav-link.entry.js +3 -3
  122. package/esm/{pn-mainnav-store-8c221c2f.js → pn-mainnav-store-35a91e97.js} +1 -1
  123. package/esm/pn-market-web-components.js +3 -3
  124. package/esm/pn-marketweb-input.entry.js +1 -1
  125. package/esm/pn-marketweb-search.entry.js +1 -1
  126. package/esm/pn-marketweb-sitefooter.entry.js +1 -1
  127. package/esm/pn-marketweb-siteheader-login-button_5.entry.js +3 -3
  128. package/esm/pn-marketweb-siteheader-login-linklist.entry.js +3 -3
  129. package/esm/{pn-marketweb-siteheader-store-cea5016e.js → pn-marketweb-siteheader-store-aba9e86a.js} +1 -1
  130. package/esm/pn-marketweb-siteheader.entry.js +3 -3
  131. package/esm/pn-multi-formfield.entry.js +1 -1
  132. package/esm/pn-multi-row-connected-dropdown-row.entry.js +1 -1
  133. package/esm/pn-multi-row-connected-dropdown.entry.js +2 -2
  134. package/esm/pn-multiple-input.entry.js +1 -1
  135. package/esm/pn-parcel-tracker.entry.js +1 -1
  136. package/esm/pn-pex-pricefinder.entry.js +1 -1
  137. package/esm/pn-play-on-scroll.entry.js +1 -1
  138. package/esm/pn-product-card_3.entry.js +1 -1
  139. package/esm/pn-product-pricelist-result.entry.js +2 -2
  140. package/esm/pn-product-pricelist.entry.js +3 -3
  141. package/esm/pn-product-tile-info_2.entry.js +1 -1
  142. package/esm/pn-product-tile.entry.js +1 -1
  143. package/esm/pn-profile-modal-customernumber.entry.js +1 -1
  144. package/esm/pn-profile-modal-profile.entry.js +3 -3
  145. package/esm/{pn-profile-modal-store-e08316b5.js → pn-profile-modal-store-12c5acf9.js} +1 -1
  146. package/esm/pn-profile-modal-type.entry.js +3 -3
  147. package/esm/pn-profile-modal.entry.js +3 -3
  148. package/esm/pn-profile-selector-option.entry.js +1 -1
  149. package/esm/pn-profile-selector.entry.js +1 -1
  150. package/esm/pn-proxio-findprice-result.entry.js +1 -1
  151. package/esm/pn-proxio-findprice.entry.js +25 -3
  152. package/esm/pn-proxio-pricegroup.entry.js +1 -1
  153. package/esm/pn-proxio-productcard_4.entry.js +1 -1
  154. package/esm/pn-quick-cta.entry.js +1 -1
  155. package/esm/pn-quote-card.entry.js +1 -1
  156. package/esm/pn-scroll_2.entry.js +1 -1
  157. package/esm/pn-share-item.entry.js +1 -1
  158. package/esm/pn-share.entry.js +1 -1
  159. package/esm/pn-sidenav-level.entry.js +3 -3
  160. package/esm/pn-sidenav-link.entry.js +3 -3
  161. package/esm/{pn-sidenav-store-9530b0da.js → pn-sidenav-store-a515dd69.js} +1 -1
  162. package/esm/pn-sidenav-togglebutton.entry.js +3 -3
  163. package/esm/pn-sidenav.entry.js +3 -3
  164. package/esm/pn-site-footer_3.entry.js +1 -1
  165. package/esm/pn-spotlight.entry.js +1 -1
  166. package/esm/pn-stats-info-data.entry.js +1 -1
  167. package/esm/pn-stats-info.entry.js +1 -1
  168. package/esm/pn-teaser-card.entry.js +1 -1
  169. package/esm/pn-titletag.entry.js +1 -1
  170. package/esm-es5/{index-ee44c065.js → index-be8c3299.js} +1 -1
  171. package/esm-es5/{index-b71e0f8e.js → index-e6fbe66d.js} +1 -1
  172. package/esm-es5/loader.js +1 -1
  173. package/esm-es5/pn-address-autofill.entry.js +1 -1
  174. package/esm-es5/pn-animated-tile.entry.js +1 -1
  175. package/esm-es5/pn-app-banner.entry.js +1 -1
  176. package/esm-es5/pn-bonus-progressbar-level.entry.js +1 -1
  177. package/esm-es5/pn-bonus-progressbar.entry.js +1 -1
  178. package/esm-es5/pn-breakpoints.entry.js +1 -1
  179. package/esm-es5/pn-chart.entry.js +1 -1
  180. package/esm-es5/pn-charts-card.entry.js +1 -1
  181. package/esm-es5/pn-choice-button.entry.js +1 -1
  182. package/esm-es5/pn-cta-block.entry.js +1 -1
  183. package/esm-es5/pn-customernumber-selector-option.entry.js +1 -1
  184. package/esm-es5/pn-customernumber-selector.entry.js +1 -1
  185. package/esm-es5/pn-date-and-time.entry.js +1 -1
  186. package/esm-es5/pn-dropdown-choice-adds-row.entry.js +1 -1
  187. package/esm-es5/pn-dropdown-with-multi-input-rows-row.entry.js +1 -1
  188. package/esm-es5/pn-dropdown-with-multi-input-rows.entry.js +1 -1
  189. package/esm-es5/pn-filter-checkbox.entry.js +1 -1
  190. package/esm-es5/pn-find-price-result.entry.js +1 -1
  191. package/esm-es5/{pn-find-price-store-5810a2b9.js → pn-find-price-store-9d2df21a.js} +1 -1
  192. package/esm-es5/pn-find-price.entry.js +1 -1
  193. package/esm-es5/pn-find-service-and-price-result.entry.js +1 -1
  194. package/esm-es5/{pn-find-service-and-price-store-0b1b3ab7.js → pn-find-service-and-price-store-60025dfc.js} +1 -1
  195. package/esm-es5/pn-find-service-and-price.entry.js +1 -1
  196. package/esm-es5/pn-language-selector_9.entry.js +1 -1
  197. package/esm-es5/pn-line-shape.entry.js +1 -1
  198. package/esm-es5/pn-link-list.entry.js +1 -0
  199. package/esm-es5/pn-mainnav-link.entry.js +1 -1
  200. package/esm-es5/{pn-mainnav-store-8c221c2f.js → pn-mainnav-store-35a91e97.js} +1 -1
  201. package/esm-es5/pn-market-web-components.js +1 -1
  202. package/esm-es5/pn-marketweb-input.entry.js +1 -1
  203. package/esm-es5/pn-marketweb-search.entry.js +1 -1
  204. package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
  205. package/esm-es5/pn-marketweb-siteheader-login-button_5.entry.js +1 -1
  206. package/esm-es5/pn-marketweb-siteheader-login-linklist.entry.js +1 -1
  207. package/esm-es5/pn-marketweb-siteheader-store-aba9e86a.js +1 -0
  208. package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
  209. package/esm-es5/pn-multi-formfield.entry.js +1 -1
  210. package/esm-es5/pn-multi-row-connected-dropdown-row.entry.js +1 -1
  211. package/esm-es5/pn-multi-row-connected-dropdown.entry.js +1 -1
  212. package/esm-es5/pn-multiple-input.entry.js +1 -1
  213. package/esm-es5/pn-parcel-tracker.entry.js +1 -1
  214. package/esm-es5/pn-pex-pricefinder.entry.js +1 -1
  215. package/esm-es5/pn-play-on-scroll.entry.js +1 -1
  216. package/esm-es5/pn-product-card_3.entry.js +1 -1
  217. package/esm-es5/pn-product-pricelist-result.entry.js +1 -1
  218. package/esm-es5/pn-product-pricelist.entry.js +1 -1
  219. package/esm-es5/pn-product-tile-info_2.entry.js +1 -1
  220. package/esm-es5/pn-product-tile.entry.js +1 -1
  221. package/esm-es5/pn-profile-modal-customernumber.entry.js +1 -1
  222. package/esm-es5/pn-profile-modal-profile.entry.js +1 -1
  223. package/esm-es5/{pn-profile-modal-store-e08316b5.js → pn-profile-modal-store-12c5acf9.js} +1 -1
  224. package/esm-es5/pn-profile-modal-type.entry.js +1 -1
  225. package/esm-es5/pn-profile-modal.entry.js +1 -1
  226. package/esm-es5/pn-profile-selector-option.entry.js +1 -1
  227. package/esm-es5/pn-profile-selector.entry.js +1 -1
  228. package/esm-es5/pn-proxio-findprice-result.entry.js +1 -1
  229. package/esm-es5/pn-proxio-findprice.entry.js +1 -1
  230. package/esm-es5/pn-proxio-pricegroup.entry.js +1 -1
  231. package/esm-es5/pn-proxio-productcard_4.entry.js +1 -1
  232. package/esm-es5/pn-quick-cta.entry.js +1 -1
  233. package/esm-es5/pn-quote-card.entry.js +1 -1
  234. package/esm-es5/pn-scroll_2.entry.js +1 -1
  235. package/esm-es5/pn-share-item.entry.js +1 -1
  236. package/esm-es5/pn-share.entry.js +1 -1
  237. package/esm-es5/pn-sidenav-level.entry.js +1 -1
  238. package/esm-es5/pn-sidenav-link.entry.js +1 -1
  239. package/esm-es5/{pn-sidenav-store-9530b0da.js → pn-sidenav-store-a515dd69.js} +1 -1
  240. package/esm-es5/pn-sidenav-togglebutton.entry.js +1 -1
  241. package/esm-es5/pn-sidenav.entry.js +1 -1
  242. package/esm-es5/pn-site-footer_3.entry.js +1 -1
  243. package/esm-es5/pn-spotlight.entry.js +1 -1
  244. package/esm-es5/pn-stats-info-data.entry.js +1 -1
  245. package/esm-es5/pn-stats-info.entry.js +1 -1
  246. package/esm-es5/pn-teaser-card.entry.js +1 -1
  247. package/esm-es5/pn-titletag.entry.js +1 -1
  248. package/package.json +1 -1
  249. package/pn-market-web-components/{p-cde2fce7.entry.js → p-00d87476.entry.js} +1 -1
  250. package/pn-market-web-components/{p-b28cf3a3.system.entry.js → p-027911c8.system.entry.js} +1 -1
  251. package/pn-market-web-components/{p-e3a65e18.js → p-03d7d79b.js} +1 -1
  252. package/pn-market-web-components/{p-4fbea675.entry.js → p-0412e417.entry.js} +1 -1
  253. package/pn-market-web-components/{p-83c85053.system.entry.js → p-05257edc.system.entry.js} +1 -1
  254. package/pn-market-web-components/{p-fba780f8.system.entry.js → p-087a6e41.system.entry.js} +1 -1
  255. package/pn-market-web-components/{p-3f2bc920.entry.js → p-0a3aa74f.entry.js} +1 -1
  256. package/pn-market-web-components/{p-f9b8baf0.system.entry.js → p-0f6f212a.system.entry.js} +1 -1
  257. package/pn-market-web-components/{p-e47abff1.system.entry.js → p-0f73d268.system.entry.js} +1 -1
  258. package/pn-market-web-components/{p-c2415b38.entry.js → p-103c054e.entry.js} +1 -1
  259. package/pn-market-web-components/{p-e5d994ff.system.js → p-11f6fb30.system.js} +1 -1
  260. package/pn-market-web-components/{p-1b282c2b.entry.js → p-132feb89.entry.js} +1 -1
  261. package/pn-market-web-components/{p-b1527c0c.entry.js → p-13f2cbda.entry.js} +1 -1
  262. package/pn-market-web-components/{p-bbcd8889.system.entry.js → p-14ebd1f5.system.entry.js} +1 -1
  263. package/pn-market-web-components/{p-3a897643.system.entry.js → p-1565d46e.system.entry.js} +1 -1
  264. package/pn-market-web-components/{p-9d517155.entry.js → p-15fd32d4.entry.js} +1 -1
  265. package/pn-market-web-components/{p-16fedd71.entry.js → p-1998b5b1.entry.js} +1 -1
  266. package/pn-market-web-components/{p-267fc52b.entry.js → p-1e0fd641.entry.js} +1 -1
  267. package/pn-market-web-components/{p-57957809.entry.js → p-26869f6d.entry.js} +1 -1
  268. package/pn-market-web-components/{p-af1be0d9.entry.js → p-294cb592.entry.js} +1 -1
  269. package/pn-market-web-components/{p-62bceebe.system.entry.js → p-29a7c74f.system.entry.js} +1 -1
  270. package/pn-market-web-components/{p-0be5cbf5.entry.js → p-2e6d5633.entry.js} +1 -1
  271. package/pn-market-web-components/p-2ef39f23.entry.js +1 -0
  272. package/pn-market-web-components/{p-c954c090.entry.js → p-2f4aa8c6.entry.js} +1 -1
  273. package/pn-market-web-components/{p-70ef1b2d.system.entry.js → p-30571cc1.system.entry.js} +1 -1
  274. package/pn-market-web-components/{p-0ee378ea.system.entry.js → p-332d070d.system.entry.js} +1 -1
  275. package/pn-market-web-components/{p-e00b1afa.entry.js → p-335d95b7.entry.js} +1 -1
  276. package/pn-market-web-components/{p-436857a8.entry.js → p-345648e8.entry.js} +1 -1
  277. package/pn-market-web-components/{p-38c861d5.system.entry.js → p-35b5ea63.system.entry.js} +1 -1
  278. package/pn-market-web-components/{p-ad952e14.system.entry.js → p-390895ec.system.entry.js} +1 -1
  279. package/pn-market-web-components/{p-738c179b.system.entry.js → p-39f2c4d3.system.entry.js} +1 -1
  280. package/pn-market-web-components/{p-a953d346.entry.js → p-3c2b6fb6.entry.js} +1 -1
  281. package/pn-market-web-components/{p-ca04e415.system.entry.js → p-3d0c3caa.system.entry.js} +1 -1
  282. package/pn-market-web-components/{p-7877ce39.system.entry.js → p-3ee0f67f.system.entry.js} +1 -1
  283. package/pn-market-web-components/{p-8e9e0c04.entry.js → p-4069761c.entry.js} +1 -1
  284. package/pn-market-web-components/{p-e5d9f268.entry.js → p-42ea5bd1.entry.js} +1 -1
  285. package/pn-market-web-components/{p-7364721d.system.entry.js → p-43b76595.system.entry.js} +1 -1
  286. package/pn-market-web-components/{p-1bf35bf0.entry.js → p-4572f290.entry.js} +1 -1
  287. package/pn-market-web-components/{p-1b4a75b3.system.entry.js → p-463a5975.system.entry.js} +1 -1
  288. package/pn-market-web-components/{p-e247fdf4.system.entry.js → p-476c4f58.system.entry.js} +1 -1
  289. package/pn-market-web-components/{p-6fe471aa.system.entry.js → p-48a38770.system.entry.js} +1 -1
  290. package/pn-market-web-components/{p-420c307b.system.js → p-48da3826.system.js} +1 -1
  291. package/pn-market-web-components/{p-759a2b20.system.entry.js → p-49896e47.system.entry.js} +1 -1
  292. package/pn-market-web-components/{p-4b510969.entry.js → p-4e73bb67.entry.js} +1 -1
  293. package/pn-market-web-components/{p-96729f36.system.entry.js → p-550b2b29.system.entry.js} +1 -1
  294. package/pn-market-web-components/p-583df48e.system.entry.js +1 -0
  295. package/pn-market-web-components/{p-7bf30d19.entry.js → p-5840be2e.entry.js} +1 -1
  296. package/pn-market-web-components/{p-153b4454.system.entry.js → p-592360ba.system.entry.js} +1 -1
  297. package/pn-market-web-components/{p-196b2316.system.entry.js → p-595e8f54.system.entry.js} +1 -1
  298. package/pn-market-web-components/{p-2744b30a.entry.js → p-5e61eb13.entry.js} +1 -1
  299. package/pn-market-web-components/{p-3e5d59f2.system.entry.js → p-609f1695.system.entry.js} +1 -1
  300. package/pn-market-web-components/{p-c02fc405.entry.js → p-6125c132.entry.js} +1 -1
  301. package/pn-market-web-components/{p-7ffa5533.system.js → p-6259e4f4.system.js} +1 -1
  302. package/pn-market-web-components/{p-59d44719.entry.js → p-63679401.entry.js} +1 -1
  303. package/pn-market-web-components/{p-c0961278.system.entry.js → p-63b48e94.system.entry.js} +1 -1
  304. package/pn-market-web-components/{p-4afba818.entry.js → p-64048a03.entry.js} +1 -1
  305. package/pn-market-web-components/{p-4f2bdae2.entry.js → p-64691d51.entry.js} +1 -1
  306. package/pn-market-web-components/{p-fec3dc66.entry.js → p-666d2bfb.entry.js} +1 -1
  307. package/pn-market-web-components/{p-4d2d81b8.system.entry.js → p-688d183e.system.entry.js} +1 -1
  308. package/pn-market-web-components/{p-ad7a00b6.system.entry.js → p-69342caf.system.entry.js} +1 -1
  309. package/pn-market-web-components/{p-a7d52aee.js → p-6a230cb1.js} +1 -1
  310. package/pn-market-web-components/{p-e6e7e18a.entry.js → p-6a71dc95.entry.js} +1 -1
  311. package/pn-market-web-components/{p-e05b6e0c.entry.js → p-6aab92c0.entry.js} +1 -1
  312. package/pn-market-web-components/{p-3aef506c.entry.js → p-6aaf35c7.entry.js} +1 -1
  313. package/pn-market-web-components/{p-f074da8f.system.js → p-6b02dc02.system.js} +1 -1
  314. package/pn-market-web-components/p-6d945626.system.entry.js +1 -0
  315. package/pn-market-web-components/{p-f02617fc.entry.js → p-6d9f011f.entry.js} +1 -1
  316. package/pn-market-web-components/{p-fdb1905d.js → p-746a2620.js} +1 -1
  317. package/pn-market-web-components/{p-7c1e5042.entry.js → p-7e6853a7.entry.js} +1 -1
  318. package/pn-market-web-components/{p-1024c80b.entry.js → p-80b04869.entry.js} +1 -1
  319. package/pn-market-web-components/{p-2ee328d2.entry.js → p-81876fba.entry.js} +1 -1
  320. package/pn-market-web-components/{p-81902554.system.entry.js → p-825bdb78.system.entry.js} +1 -1
  321. package/pn-market-web-components/{p-d3511e86.entry.js → p-83d7a808.entry.js} +1 -1
  322. package/pn-market-web-components/p-85101fc7.entry.js +1 -0
  323. package/pn-market-web-components/{p-ce1805f0.entry.js → p-865ee8f6.entry.js} +1 -1
  324. package/pn-market-web-components/{p-b3831534.entry.js → p-88fb2035.entry.js} +1 -1
  325. package/pn-market-web-components/p-8bafabe5.js +1 -0
  326. package/pn-market-web-components/{p-7c876907.entry.js → p-8c7787eb.entry.js} +1 -1
  327. package/pn-market-web-components/{p-9482937b.system.entry.js → p-8cb21818.system.entry.js} +1 -1
  328. package/pn-market-web-components/p-8d5a041f.js +1 -0
  329. package/pn-market-web-components/{p-0739fdcf.system.entry.js → p-8eb8e8b2.system.entry.js} +1 -1
  330. package/pn-market-web-components/{p-47576a14.system.entry.js → p-8f28f717.system.entry.js} +1 -1
  331. package/pn-market-web-components/{p-8cc12089.entry.js → p-9294451c.entry.js} +1 -1
  332. package/pn-market-web-components/{p-37abc8d3.system.entry.js → p-944d00e3.system.entry.js} +1 -1
  333. package/pn-market-web-components/{p-c86c624a.entry.js → p-94e96fcf.entry.js} +1 -1
  334. package/pn-market-web-components/{p-eab25822.entry.js → p-9556936e.entry.js} +1 -1
  335. package/pn-market-web-components/{p-62de103d.system.entry.js → p-9685af07.system.entry.js} +1 -1
  336. package/pn-market-web-components/{p-d2ebaf52.system.entry.js → p-98690006.system.entry.js} +1 -1
  337. package/pn-market-web-components/{p-b4416838.entry.js → p-9cfde6aa.entry.js} +1 -1
  338. package/pn-market-web-components/{p-83f39020.entry.js → p-9d0074fb.entry.js} +1 -1
  339. package/pn-market-web-components/{p-4e7d4e69.entry.js → p-9d331ab6.entry.js} +1 -1
  340. package/pn-market-web-components/{p-4529f4b7.system.entry.js → p-9db7d43b.system.entry.js} +1 -1
  341. package/pn-market-web-components/{p-38183dee.system.js → p-a0a92f86.system.js} +1 -1
  342. package/pn-market-web-components/p-a28fce54.system.js +1 -0
  343. package/pn-market-web-components/{p-4f1df02c.entry.js → p-a2ced6e6.entry.js} +1 -1
  344. package/pn-market-web-components/{p-1afc6f8f.entry.js → p-a53b3be1.entry.js} +1 -1
  345. package/pn-market-web-components/{p-1dc6c4ac.system.entry.js → p-a83c758d.system.entry.js} +1 -1
  346. package/pn-market-web-components/{p-3bc31e82.system.entry.js → p-a8c25cad.system.entry.js} +1 -1
  347. package/pn-market-web-components/{p-01a37a82.entry.js → p-aa485f7f.entry.js} +1 -1
  348. package/pn-market-web-components/{p-85ce2d47.system.entry.js → p-aad5018c.system.entry.js} +1 -1
  349. package/pn-market-web-components/{p-9e47435e.entry.js → p-b2fc3594.entry.js} +1 -1
  350. package/pn-market-web-components/{p-220140a0.entry.js → p-b407caff.entry.js} +1 -1
  351. package/pn-market-web-components/{p-28912c0c.system.entry.js → p-b49d0553.system.entry.js} +1 -1
  352. package/pn-market-web-components/{p-169ccf69.entry.js → p-b6301b42.entry.js} +1 -1
  353. package/pn-market-web-components/{p-7787ca3b.entry.js → p-b8266eeb.entry.js} +1 -1
  354. package/pn-market-web-components/{p-47239bce.system.entry.js → p-ba1cce09.system.entry.js} +1 -1
  355. package/pn-market-web-components/{p-52e8d0ec.system.entry.js → p-bb93f102.system.entry.js} +1 -1
  356. package/pn-market-web-components/p-bdcedfe9.system.js +1 -0
  357. package/pn-market-web-components/{p-612adfb3.system.entry.js → p-bf1f69fa.system.entry.js} +1 -1
  358. package/pn-market-web-components/{p-f1962610.js → p-c02ddf82.js} +1 -1
  359. package/pn-market-web-components/{p-a8aff7ab.system.entry.js → p-c1204325.system.entry.js} +1 -1
  360. package/pn-market-web-components/{p-d2ba5b69.entry.js → p-c1ec42a6.entry.js} +1 -1
  361. package/pn-market-web-components/{p-2cc52ba6.entry.js → p-c3015b3f.entry.js} +1 -1
  362. package/pn-market-web-components/{p-c06e3588.system.entry.js → p-c3899747.system.entry.js} +1 -1
  363. package/pn-market-web-components/{p-8aec3e9e.entry.js → p-c633a40e.entry.js} +1 -1
  364. package/pn-market-web-components/{p-5d2a19e3.entry.js → p-c6409b81.entry.js} +1 -1
  365. package/pn-market-web-components/{p-31b84367.system.entry.js → p-c6f91f94.system.entry.js} +1 -1
  366. package/pn-market-web-components/{p-81608e33.system.entry.js → p-cb9d36ab.system.entry.js} +1 -1
  367. package/pn-market-web-components/{p-3fab06aa.system.entry.js → p-cc5c611e.system.entry.js} +1 -1
  368. package/pn-market-web-components/{p-7a33e360.entry.js → p-cd8185a6.entry.js} +1 -1
  369. package/pn-market-web-components/{p-5afd892a.entry.js → p-cd8ae615.entry.js} +1 -1
  370. package/pn-market-web-components/{p-592b66fc.system.entry.js → p-d0c8d951.system.entry.js} +1 -1
  371. package/pn-market-web-components/{p-57d37022.js → p-d0e65d70.js} +1 -1
  372. package/pn-market-web-components/{p-969d310d.system.entry.js → p-d5c43a05.system.entry.js} +1 -1
  373. package/pn-market-web-components/{p-1bd7e641.entry.js → p-d6492b8a.entry.js} +1 -1
  374. package/pn-market-web-components/{p-e2613cc5.system.entry.js → p-d6893c90.system.entry.js} +1 -1
  375. package/pn-market-web-components/{p-4bd36d2c.system.entry.js → p-dc91c260.system.entry.js} +1 -1
  376. package/pn-market-web-components/{p-356a937e.system.entry.js → p-dd4efba9.system.entry.js} +1 -1
  377. package/pn-market-web-components/{p-793bb22f.system.entry.js → p-dda5e084.system.entry.js} +1 -1
  378. package/pn-market-web-components/{p-41f5086b.system.entry.js → p-e07ff731.system.entry.js} +1 -1
  379. package/pn-market-web-components/{p-46a4dbdd.system.entry.js → p-e13a6bab.system.entry.js} +1 -1
  380. package/pn-market-web-components/{p-2156e251.entry.js → p-e2892448.entry.js} +1 -1
  381. package/pn-market-web-components/{p-4b71d79d.system.entry.js → p-e4e67dad.system.entry.js} +1 -1
  382. package/pn-market-web-components/{p-d1150166.system.entry.js → p-e5c7627c.system.entry.js} +1 -1
  383. package/pn-market-web-components/{p-f4adb442.system.js → p-e5f99384.system.js} +1 -1
  384. package/pn-market-web-components/{p-5032302f.entry.js → p-e62c4259.entry.js} +1 -1
  385. package/pn-market-web-components/{p-743b1d06.system.entry.js → p-e64e95a8.system.entry.js} +1 -1
  386. package/pn-market-web-components/{p-0d0e9547.system.js → p-e76bd03c.system.js} +1 -1
  387. package/pn-market-web-components/{p-71740e7e.system.entry.js → p-e7a1e178.system.entry.js} +1 -1
  388. package/pn-market-web-components/{p-0c1a0814.system.entry.js → p-eaad04e5.system.entry.js} +1 -1
  389. package/pn-market-web-components/p-eb110830.js +1 -0
  390. package/pn-market-web-components/{p-56ac01d0.entry.js → p-eb42a545.entry.js} +1 -1
  391. package/pn-market-web-components/{p-1135350f.system.entry.js → p-eb9a3c2d.system.entry.js} +1 -1
  392. package/pn-market-web-components/{p-a400365f.entry.js → p-eba15c54.entry.js} +1 -1
  393. package/pn-market-web-components/{p-313658e7.entry.js → p-ed9dd574.entry.js} +1 -1
  394. package/pn-market-web-components/{p-e8b144ff.system.entry.js → p-eea5ac80.system.entry.js} +1 -1
  395. package/pn-market-web-components/{p-7e81b501.system.entry.js → p-f737524e.system.entry.js} +1 -1
  396. package/pn-market-web-components/{p-70cc4002.system.entry.js → p-f80e46eb.system.entry.js} +1 -1
  397. package/pn-market-web-components/{p-a4fcfc3c.entry.js → p-fab635c7.entry.js} +1 -1
  398. package/pn-market-web-components/{p-00287dc7.entry.js → p-fba12f1d.entry.js} +1 -1
  399. package/pn-market-web-components/{p-bed03b9c.system.entry.js → p-fbafd07a.system.entry.js} +1 -1
  400. package/pn-market-web-components/{p-76ce7256.entry.js → p-fc583d96.entry.js} +1 -1
  401. package/pn-market-web-components/{p-794af3d3.system.entry.js → p-fce10fa7.system.entry.js} +1 -1
  402. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  403. package/pn-market-web-components/pn-market-web-components.js +1 -1
  404. package/types/components/widgets/pn-link-list/pn-link-list.d.ts +17 -0
  405. package/types/components/widgets/pn-proxio-findprice/pn-proxio-findprice.d.ts +1 -0
  406. package/types/components.d.ts +25 -0
  407. package/esm-es5/pn-marketweb-siteheader-store-cea5016e.js +0 -1
  408. package/pn-market-web-components/p-18aca162.system.entry.js +0 -1
  409. package/pn-market-web-components/p-372b4cad.entry.js +0 -1
  410. package/pn-market-web-components/p-6f2e839c.js +0 -1
  411. package/pn-market-web-components/p-ba06f541.system.js +0 -1
  412. package/pn-market-web-components/p-d8e0d7e7.js +0 -1
  413. package/pn-market-web-components/p-f5eddbe2.js +0 -1
  414. package/pn-market-web-components/p-fcdb7381.system.js +0 -1
@@ -1 +1 @@
1
- import{r as registerInstance,h,a as Host,g as getElement}from"./index-ee44c065.js";var pnFilterCheckboxCss=":host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host input{opacity:0;position:absolute}:host input[type=checkbox]+label.pn-checkbox{width:1.5em;min-width:1.5em;height:1.5em;min-height:1.5em;background:#fff;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:relative;border:0.1rem solid #969087;cursor:pointer;border-radius:0.4rem;cursor:pointer;-webkit-transition-duration:220ms;transition-duration:220ms;-webkit-transition-timing-function:cubic-bezier(0.79, 0.14, 0.15, 0.86);transition-timing-function:cubic-bezier(0.79, 0.14, 0.15, 0.86);-webkit-transition-property:border, background, -webkit-box-shadow;transition-property:border, background, -webkit-box-shadow;transition-property:border, background, box-shadow;transition-property:border, background, box-shadow, -webkit-box-shadow}:host input[type=checkbox]+label.pn-checkbox svg{width:80%;fill:none}:host input[type=checkbox]+label.pn-checkbox svg polyline{stroke:#FFF;-webkit-transform-origin:0 0;transform-origin:0 0;stroke-linecap:round;stroke-dasharray:23;stroke-dashoffset:23;-webkit-transition-delay:none;transition-delay:none;-webkit-transition:stroke-dashoffset 180ms cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:stroke-dashoffset 180ms cubic-bezier(0.79, 0.14, 0.15, 0.86)}:host input[type=checkbox]:hover+label.pn-checkbox{border:0.1rem solid #005D92;background:#E0F8FF}:host input[type=checkbox]:checked+label.pn-checkbox,:host input[type=checkbox]:indeterminate+label.pn-checkbox{background:#005D92;border:0.1rem solid #005D92}:host input[type=checkbox]:checked+label.pn-checkbox svg polyline,:host input[type=checkbox]:indeterminate+label.pn-checkbox svg polyline{-webkit-transition-delay:220ms;transition-delay:220ms}:host input[type=checkbox]:checked+label.pn-checkbox svg polyline.checkmark-path{stroke-dashoffset:0}:host input[type=checkbox]:indeterminate+label.pn-checkbox svg polyline.indeterminate-path{stroke-dashoffset:0}:host input[type=checkbox]:focus+label.pn-checkbox,:host input[type=checkbox]:active+label.pn-checkbox{-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}:host input[type=checkbox]:disabled+label.pn-checkbox{background-color:#D3CECB;border:0.1rem solid #969087;cursor:not-allowed}:host input[type=checkbox]:disabled+label.pn-checkbox svg polyline{stroke:#969087}:host input[type=checkbox]:disabled:checked+label.pn-checkbox{border:0.1rem solid transparent}:host input[type=checkbox]:disabled:active+label.pn-checkbox{-webkit-box-shadow:none;box-shadow:none}";var PnFilterCheckbox=function(){function e(e){registerInstance(this,e);this.value=undefined;this.name=undefined;this.checkboxid=undefined;this.disabled=false;this.checked=false;this.indeterminate=false}e.prototype.handlechange=function(){this.indeterminate=false};e.prototype.componentDidLoad=function(){this.checkAndSetIndeterminateState();this.bindEvents()};e.prototype.componentDidUpdate=function(){this.checkAndSetIndeterminateState()};e.prototype.bindEvents=function(){var e=this;var t=document.querySelectorAll('label[for="'+this.checkboxid+'"]');t.forEach((function(t){t.addEventListener("click",(function(){e.hostElement.shadowRoot.querySelector("label").click()}))}));var o=this.hostElement.shadowRoot.querySelector("input");o.addEventListener("change",this.onCheckboxChange.bind(this,o))};e.prototype.onCheckboxChange=function(e){var t=this.hostElement.querySelector("input.hidden-"+this.checkboxid);if(t){t.value=e.checked?this.value:"";t.dispatchEvent(new CustomEvent("change",{detail:t}))}};e.prototype.checkAndSetIndeterminateState=function(){var e=this.hostElement.querySelector("#".concat(this.checkboxid));if(e){e.indeterminate=this.indeterminate}};e.prototype.renderInputOutsideShadowRoot=function(){var e;var t=this.hostElement.querySelector("input.hidden-"+this.checkboxid);if(!t){t=this.hostElement.ownerDocument.createElement("input");t.type="hidden";t.classList.add("hidden-"+this.checkboxid);this.hostElement.appendChild(t)}t.name=(e=this.name)!==null&&e!==void 0?e:this.checkboxid};e.prototype.render=function(){this.renderInputOutsideShadowRoot();return h(Host,{checked:this.checked,id:this.checkboxid},h("input",{type:"checkbox",id:this.checkboxid,value:this.value,name:this.name||this.checkboxid,disabled:this.disabled,checked:this.checked}),h("label",{htmlFor:this.checkboxid,class:"pn-checkbox"},h("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none"},h("polyline",{class:"checkmark-path",points:"4,12 9,17 20,6","stroke-width":"3"}),h("polyline",{class:"indeterminate-path",points:"4,12 20,12","stroke-width":"3"}))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnFilterCheckbox.style=pnFilterCheckboxCss;export{PnFilterCheckbox as pn_filter_checkbox};
1
+ import{r as registerInstance,h,a as Host,g as getElement}from"./index-be8c3299.js";var pnFilterCheckboxCss=":host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host input{opacity:0;position:absolute}:host input[type=checkbox]+label.pn-checkbox{width:1.5em;min-width:1.5em;height:1.5em;min-height:1.5em;background:#fff;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:relative;border:0.1rem solid #969087;cursor:pointer;border-radius:0.4rem;cursor:pointer;-webkit-transition-duration:220ms;transition-duration:220ms;-webkit-transition-timing-function:cubic-bezier(0.79, 0.14, 0.15, 0.86);transition-timing-function:cubic-bezier(0.79, 0.14, 0.15, 0.86);-webkit-transition-property:border, background, -webkit-box-shadow;transition-property:border, background, -webkit-box-shadow;transition-property:border, background, box-shadow;transition-property:border, background, box-shadow, -webkit-box-shadow}:host input[type=checkbox]+label.pn-checkbox svg{width:80%;fill:none}:host input[type=checkbox]+label.pn-checkbox svg polyline{stroke:#FFF;-webkit-transform-origin:0 0;transform-origin:0 0;stroke-linecap:round;stroke-dasharray:23;stroke-dashoffset:23;-webkit-transition-delay:none;transition-delay:none;-webkit-transition:stroke-dashoffset 180ms cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:stroke-dashoffset 180ms cubic-bezier(0.79, 0.14, 0.15, 0.86)}:host input[type=checkbox]:hover+label.pn-checkbox{border:0.1rem solid #005D92;background:#E0F8FF}:host input[type=checkbox]:checked+label.pn-checkbox,:host input[type=checkbox]:indeterminate+label.pn-checkbox{background:#005D92;border:0.1rem solid #005D92}:host input[type=checkbox]:checked+label.pn-checkbox svg polyline,:host input[type=checkbox]:indeterminate+label.pn-checkbox svg polyline{-webkit-transition-delay:220ms;transition-delay:220ms}:host input[type=checkbox]:checked+label.pn-checkbox svg polyline.checkmark-path{stroke-dashoffset:0}:host input[type=checkbox]:indeterminate+label.pn-checkbox svg polyline.indeterminate-path{stroke-dashoffset:0}:host input[type=checkbox]:focus+label.pn-checkbox,:host input[type=checkbox]:active+label.pn-checkbox{-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}:host input[type=checkbox]:disabled+label.pn-checkbox{background-color:#D3CECB;border:0.1rem solid #969087;cursor:not-allowed}:host input[type=checkbox]:disabled+label.pn-checkbox svg polyline{stroke:#969087}:host input[type=checkbox]:disabled:checked+label.pn-checkbox{border:0.1rem solid transparent}:host input[type=checkbox]:disabled:active+label.pn-checkbox{-webkit-box-shadow:none;box-shadow:none}";var PnFilterCheckbox=function(){function e(e){registerInstance(this,e);this.value=undefined;this.name=undefined;this.checkboxid=undefined;this.disabled=false;this.checked=false;this.indeterminate=false}e.prototype.handlechange=function(){this.indeterminate=false};e.prototype.componentDidLoad=function(){this.checkAndSetIndeterminateState();this.bindEvents()};e.prototype.componentDidUpdate=function(){this.checkAndSetIndeterminateState()};e.prototype.bindEvents=function(){var e=this;var t=document.querySelectorAll('label[for="'+this.checkboxid+'"]');t.forEach((function(t){t.addEventListener("click",(function(){e.hostElement.shadowRoot.querySelector("label").click()}))}));var o=this.hostElement.shadowRoot.querySelector("input");o.addEventListener("change",this.onCheckboxChange.bind(this,o))};e.prototype.onCheckboxChange=function(e){var t=this.hostElement.querySelector("input.hidden-"+this.checkboxid);if(t){t.value=e.checked?this.value:"";t.dispatchEvent(new CustomEvent("change",{detail:t}))}};e.prototype.checkAndSetIndeterminateState=function(){var e=this.hostElement.querySelector("#".concat(this.checkboxid));if(e){e.indeterminate=this.indeterminate}};e.prototype.renderInputOutsideShadowRoot=function(){var e;var t=this.hostElement.querySelector("input.hidden-"+this.checkboxid);if(!t){t=this.hostElement.ownerDocument.createElement("input");t.type="hidden";t.classList.add("hidden-"+this.checkboxid);this.hostElement.appendChild(t)}t.name=(e=this.name)!==null&&e!==void 0?e:this.checkboxid};e.prototype.render=function(){this.renderInputOutsideShadowRoot();return h(Host,{checked:this.checked,id:this.checkboxid},h("input",{type:"checkbox",id:this.checkboxid,value:this.value,name:this.name||this.checkboxid,disabled:this.disabled,checked:this.checked}),h("label",{htmlFor:this.checkboxid,class:"pn-checkbox"},h("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none"},h("polyline",{class:"checkmark-path",points:"4,12 9,17 20,6","stroke-width":"3"}),h("polyline",{class:"indeterminate-path",points:"4,12 20,12","stroke-width":"3"}))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnFilterCheckbox.style=pnFilterCheckboxCss;export{PnFilterCheckbox as pn_filter_checkbox};
@@ -1 +1 @@
1
- import{r as registerInstance,h,a as Host}from"./index-ee44c065.js";import{s as state}from"./pn-find-price-store-5810a2b9.js";import{a as stampShopUrl,b as sendDirectUrl,R as RealValues}from"./data-059c2a58.js";import"./index-b71e0f8e.js";var pnFindPriceResultCss="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 PnfindPriceResult=function(){function t(t){registerInstance(this,t);this.item=null;this.shownitems=[];this.Usp1=undefined;this.Usp2=undefined;this.Usp3=undefined;this.description=[];this.showMeasurement=false;this.weightText="";this.linkId="";this.shopLabel="";this.shopUrl="";this.shopId=""}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!==""}))}this.showMeasurement=this.item.maxmått!==null||this.item.rulle!==null;this.linkId="".concat(this.item.id,"-").concat(this.item.maxweight,"-").concat(this.item.sizecategory,"-").concat(this.item.name.toLocaleLowerCase().replace(/[^a-zA-Z0-9]/g,""));var i=this.item.ombudpurchase==="Yes";this.shopLabel=i?state.i18n.ombudHeader:state.i18n.stampshopcta;this.shopUrl=i?state.market.servicePoint:stampShopUrl;this.shopId=i?"-servicepoint":"-stampshop"};t.prototype.render=function(){return h(Host,null,h("pn-product-card",{"data-productid":this.item.id},h("pn-illustration",{slot:"illustration",illustration:this.item.illustration}),h("div",{slot:"title"},this.item.infopagelink?h("h2",null,h("a",{href:this.item.infopagelink,target:"_blank"},this.item.name)):h("h2",null,this.item.name),this.item.highestrankusp==="Snabbast"?h("pn-titletag",{slot:"Snabbast",icon:"bolt",color:"blue700"},this.item.highestrankusp):this.item.highestrankusp==="Billigast"?h("pn-titletag",{slot:"Billigast",icon:"box-label",color:"green700"},this.item.highestrankusp):null),h("div",{slot:"content"},h("div",{class:"content"},this.item.description?h("div",{class:"description"},this.description.map((function(t){return h("li",null,t)}))):null,this.item.info?h("div",{class:"description"},this.item.info):null)),this.item.note?h("div",{slot:"note"},h("p",null,this.item.note)):null,this.item.additionalusp?h("div",{slot:"additionalUSP"},this.Usp1?h("span",null,this.Usp1):null,this.Usp2?h("span",null,this.Usp2):null,this.Usp3?h("span",null,this.Usp3):null):null,this.showMeasurement?h("pn-product-card-info",{paket:this.item.maxmått,rulle:this.item.rulle}):null,h("div",{slot:"cardprice"},this.item.pricesenddirect?h("pn-product-card-price",{slot:"sendDirectPrice",label:state.i18n.senddirectcta,amount:this.item.pricesenddirect+"",currency:state.market.currency,url:sendDirectUrl,linkid:this.linkId+"-portal"}):null,this.item.pricestamps?this.item.name.toLocaleLowerCase()!=="riktiga vykort"?h("pn-product-card-price",{slot:"stampPrice",label:this.shopLabel,amount:this.item.pricestamps+"",currency:state.market.currency,url:this.shopUrl,linkid:this.linkId+this.shopId}):h("pn-product-card-price",{slot:"riktiga",label:state.i18n.realPostcard,amount:this.item.pricestamps+"",currency:state.market.currency,url:RealValues["WebUrl"],linkid:this.linkId+"-riktiga"}):null),h("div",{slot:"servicepoint"},this.item.showservicepointlink?h("a",{href:state.market.servicePoint,target:"_blank"},h("pn-icon",{symbol:"map-marker",color:"blue700"}),state.i18n.servicePointLink):null),h("div",{slot:"mobiledownload"},this.item.name.toLocaleLowerCase()==="riktiga vykort"?h("div",{id:"riktiga"},h("h4",null,state.i18n.realPostcardMobile),h("div",null,h("a",{href:RealValues["AndroidAppUrl"],target:"_blank"},h("img",{class:"riktigaAndroidImg",src:RealValues["AndroidImg"]})),h("a",{href:RealValues["IosAppUrl"],target:"_blank"},h("img",{class:"riktigaAppleImg",src:RealValues["IosImg"]})))):null)))};Object.defineProperty(t,"watchers",{get:function(){return{item:["composeItems"]}},enumerable:false,configurable:true});return t}();PnfindPriceResult.style=pnFindPriceResultCss;export{PnfindPriceResult as pn_find_price_result};
1
+ import{r as registerInstance,h,a as Host}from"./index-be8c3299.js";import{s as state}from"./pn-find-price-store-9d2df21a.js";import{a as stampShopUrl,b as sendDirectUrl,R as RealValues}from"./data-059c2a58.js";import"./index-e6fbe66d.js";var pnFindPriceResultCss="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 PnfindPriceResult=function(){function t(t){registerInstance(this,t);this.item=null;this.shownitems=[];this.Usp1=undefined;this.Usp2=undefined;this.Usp3=undefined;this.description=[];this.showMeasurement=false;this.weightText="";this.linkId="";this.shopLabel="";this.shopUrl="";this.shopId=""}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!==""}))}this.showMeasurement=this.item.maxmått!==null||this.item.rulle!==null;this.linkId="".concat(this.item.id,"-").concat(this.item.maxweight,"-").concat(this.item.sizecategory,"-").concat(this.item.name.toLocaleLowerCase().replace(/[^a-zA-Z0-9]/g,""));var i=this.item.ombudpurchase==="Yes";this.shopLabel=i?state.i18n.ombudHeader:state.i18n.stampshopcta;this.shopUrl=i?state.market.servicePoint:stampShopUrl;this.shopId=i?"-servicepoint":"-stampshop"};t.prototype.render=function(){return h(Host,null,h("pn-product-card",{"data-productid":this.item.id},h("pn-illustration",{slot:"illustration",illustration:this.item.illustration}),h("div",{slot:"title"},this.item.infopagelink?h("h2",null,h("a",{href:this.item.infopagelink,target:"_blank"},this.item.name)):h("h2",null,this.item.name),this.item.highestrankusp==="Snabbast"?h("pn-titletag",{slot:"Snabbast",icon:"bolt",color:"blue700"},this.item.highestrankusp):this.item.highestrankusp==="Billigast"?h("pn-titletag",{slot:"Billigast",icon:"box-label",color:"green700"},this.item.highestrankusp):null),h("div",{slot:"content"},h("div",{class:"content"},this.item.description?h("div",{class:"description"},this.description.map((function(t){return h("li",null,t)}))):null,this.item.info?h("div",{class:"description"},this.item.info):null)),this.item.note?h("div",{slot:"note"},h("p",null,this.item.note)):null,this.item.additionalusp?h("div",{slot:"additionalUSP"},this.Usp1?h("span",null,this.Usp1):null,this.Usp2?h("span",null,this.Usp2):null,this.Usp3?h("span",null,this.Usp3):null):null,this.showMeasurement?h("pn-product-card-info",{paket:this.item.maxmått,rulle:this.item.rulle}):null,h("div",{slot:"cardprice"},this.item.pricesenddirect?h("pn-product-card-price",{slot:"sendDirectPrice",label:state.i18n.senddirectcta,amount:this.item.pricesenddirect+"",currency:state.market.currency,url:sendDirectUrl,linkid:this.linkId+"-portal"}):null,this.item.pricestamps?this.item.name.toLocaleLowerCase()!=="riktiga vykort"?h("pn-product-card-price",{slot:"stampPrice",label:this.shopLabel,amount:this.item.pricestamps+"",currency:state.market.currency,url:this.shopUrl,linkid:this.linkId+this.shopId}):h("pn-product-card-price",{slot:"riktiga",label:state.i18n.realPostcard,amount:this.item.pricestamps+"",currency:state.market.currency,url:RealValues["WebUrl"],linkid:this.linkId+"-riktiga"}):null),h("div",{slot:"servicepoint"},this.item.showservicepointlink?h("a",{href:state.market.servicePoint,target:"_blank"},h("pn-icon",{symbol:"map-marker",color:"blue700"}),state.i18n.servicePointLink):null),h("div",{slot:"mobiledownload"},this.item.name.toLocaleLowerCase()==="riktiga vykort"?h("div",{id:"riktiga"},h("h4",null,state.i18n.realPostcardMobile),h("div",null,h("a",{href:RealValues["AndroidAppUrl"],target:"_blank"},h("img",{class:"riktigaAndroidImg",src:RealValues["AndroidImg"]})),h("a",{href:RealValues["IosAppUrl"],target:"_blank"},h("img",{class:"riktigaAppleImg",src:RealValues["IosImg"]})))):null)))};Object.defineProperty(t,"watchers",{get:function(){return{item:["composeItems"]}},enumerable:false,configurable:true});return t}();PnfindPriceResult.style=pnFindPriceResultCss;export{PnfindPriceResult as pn_find_price_result};
@@ -1 +1 @@
1
- import{c as createStore}from"./index-b71e0f8e.js";var _a=createStore({i18n:{componentheading:"",deliveryscopeheading:"",resultlistheading:"",sizeheading:"",weightheading:"",weightlabel:"",maxweightlabel:"",maxmeasurementlabel:"",senddirectcta:"",stampshopcta:"",message:"",servicePointHeader:"",servicePointLink:"",realPostcard:"",realPostcardMobile:"",ombudHeader:""},market:{currency:"",country:"",servicePoint:""}}),state=_a.state,onChange=_a.onChange;export{state as s};
1
+ import{c as createStore}from"./index-e6fbe66d.js";var _a=createStore({i18n:{componentheading:"",deliveryscopeheading:"",resultlistheading:"",sizeheading:"",weightheading:"",weightlabel:"",maxweightlabel:"",maxmeasurementlabel:"",senddirectcta:"",stampshopcta:"",message:"",servicePointHeader:"",servicePointLink:"",realPostcard:"",realPostcardMobile:"",ombudHeader:""},market:{currency:"",country:"",servicePoint:""}}),state=_a.state,onChange=_a.onChange;export{state as s};
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(M,i,I,N){function D(M){return M instanceof I?M:new I((function(i){i(M)}))}return new(I||(I=Promise))((function(I,j){function g(M){try{z(N.next(M))}catch(i){j(i)}}function e(M){try{z(N["throw"](M))}catch(i){j(i)}}function z(M){M.done?I(M.value):D(M.value).then(g,e)}z((N=N.apply(M,i||[])).next())}))};var __generator=this&&this.__generator||function(M,i){var I={label:0,sent:function(){if(j[0]&1)throw j[1];return j[1]},trys:[],ops:[]},N,D,j,g;return g={next:e(0),throw:e(1),return:e(2)},typeof Symbol==="function"&&(g[Symbol.iterator]=function(){return this}),g;function e(M){return function(i){return z([M,i])}}function z(e){if(N)throw new TypeError("Generator is already executing.");while(g&&(g=0,e[0]&&(I=0)),I)try{if(N=1,D&&(j=e[0]&2?D["return"]:e[0]?D["throw"]||((j=D["return"])&&j.call(D),0):D.next)&&!(j=j.call(D,e[1])).done)return j;if(D=0,j)e=[e[0]&2,j.value];switch(e[0]){case 0:case 1:j=e;break;case 4:I.label++;return{value:e[1],done:false};case 5:I.label++;D=e[1];e=[0];continue;case 7:e=I.ops.pop();I.trys.pop();continue;default:if(!(j=I.trys,j=j.length>0&&j[j.length-1])&&(e[0]===6||e[0]===2)){I=0;continue}if(e[0]===3&&(!j||e[1]>j[0]&&e[1]<j[3])){I.label=e[1];break}if(e[0]===6&&I.label<j[1]){I.label=j[1];j=e;break}if(j&&I.label<j[2]){I.label=j[2];I.ops.push(e);break}if(j[2])I.ops.pop();I.trys.pop();continue}e=i.call(M,I)}catch(z){e=[6,z];D=0}finally{N=j=0}if(e[0]&5)throw e[1];return{value:e[0]?e[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(M,i,I){if(I||arguments.length===2)for(var N=0,D=i.length,j;N<D;N++){if(j||!(N in i)){if(!j)j=Array.prototype.slice.call(i,0,N);j[N]=i[N]}}return M.concat(j||Array.prototype.slice.call(i))};import{r as registerInstance,h}from"./index-ee44c065.js";import{f as fileLocation,s as sizeCategories,w as weights}from"./data-059c2a58.js";import{c as convertFileForSizeCategogy}from"./convert-f6377d13.js";import{s as state}from"./pn-find-price-store-5810a2b9.js";import"./_commonjsHelpers-27f122dd.js";import"./index-b71e0f8e.js";var translations={sv:{componentheading:"Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?",deliveryscopeheading:"Endast leveranser inom Sverige",resultlistheading:"Några bra alternativ för dig",sizeheading:"Uppskatta storleken på din försändelse",weightheading:"Uppskatta vikten på din försändelse",weightlabel:"Vikt",maxweightlabel:"Maxvikt",maxmeasurementlabel:"Maxvolym",senddirectcta:"Köp online",stampshopcta:"Till butiken",message:"*Vid köp hos valfritt ombud",servicePointHeader:"Eller hitta närmaste serviceställe",servicePointLink:"Hitta Serviceställe",realPostcard:"Köp Riktiga Vykort",realPostcardMobile:"Ladda ner appen",ombudHeader:"Köp via ombud"},en:{componentheading:"Our prices and terms and conditions for domestic shipments for you as a direct paying customer",deliveryscopeheading:"Deliveries within Sweden only",resultlistheading:"Some suitable options for you",sizeheading:"Estimate the size of your shipment",weightheading:"Estimate the weight of your shipment",weightlabel:"Weight",maxweightlabel:"Max weight",maxmeasurementlabel:"Maximum measurement",senddirectcta:"Buy Online",stampshopcta:"To the Store",message:"When buying from any agent",servicePointHeader:"Find service point",servicePointLink:"Find service point",realPostcard:"Buy Postcards",realPostcardMobile:"Download the app",ombudHeader:"Purchase by agent"},da:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveringer indenfor Sverige",resultlistheading:"Nogle passende muligheder for dig",sizeheading:"Anslå størrelsen på din forsendelse",weightheading:"Anslå vægten af din forsendelse",weightlabel:"Vægt",maxweightlabel:"Max vægt",maxmeasurementlabel:"Maks. Volumen",senddirectcta:"Køb Online",stampshopcta:"Til butikken",message:"When buying from any agent",servicePointHeader:"Find nærmeste servicested",servicePointLink:"Find nærmeste servicested",realPostcard:"Køb Riktiga Vykort",ombudHeader:"Køb af agent"},no:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveranser innen Sverige",resultlistheading:"Some suitable options for you",weightlabel:"Vekt",maxweightlabel:"Maks vekt",maxmeasurementlabel:"Maks volum",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},fi:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Toimitukset vain Ruotsin sisällä",resultlistheading:"Some suitable options for you",weightlabel:"Paino",maxweightlabel:"Max paino",maxmeasurementlabel:"Max äänenvoimakkuus",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"}};var markets={se:{currency:"kr",country:"Sweden",servicePoint:"https://www.postnord.se/vara-verktyg/sok-brevlada-eller-servicestalle"},dk:{currency:"dk",country:"Denmark",servicePoint:"https://www.postnord.dk/varktojer/find-os"},fi:{currency:" €",country:"Finland",servicePoint:""},no:{currency:"kr",country:"Norway",servicePoint:""}};var smallPackageSvg="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTQiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCA1NCAzOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQ0LjM4NDggMzhINTAuMzAxN0M1MS45MzM5IDM4IDUzLjMxMTEgMzYuMjM1NyA1My4zMTExIDMzLjk5NjRWNC4wMDM1N0M1My4zMTExIDEuODMyMTQgNTEuOTg0OSAwIDUwLjMwMTcgMEg0NC4zODQ4VjM4WiIgZmlsbD0iIzAwNUQ5MiIvPgo8cGF0aCBkPSJNNDcuMzQzMyAzOEgxMy4zMjFDMTEuNjg4NyAzOCAxMC4zMTE1IDM2LjIzNTcgMTAuMzExNSAzMy45OTY0VjQuMDAzNTdDMTAuMzExNSAxLjgzMjE0IDExLjYzNzcgMCAxMy4zMjEgMEg0NC44NDM5QzQ2LjIyMTEgMCA0Ny4zNDMzIDEuNDkyODYgNDcuMzQzMyAzLjMyNVYzOFoiIGZpbGw9IiMwMEEwRDYiLz4KPHBhdGggZD0iTTQzLjMxNDMgMTAuNzg5NUM0My4zMTQzIDEyLjk2MDkgNDEuOTg4MSAxNC43MjUyIDQwLjM1NTkgMTQuNzI1MkgzNS45NjkyQzM0LjMzNjkgMTQuNzI1MiAzMy4wMTA3IDEyLjk2MD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AyMS44MTg0VjI2LjU4NjRIMTMxLjA1NloiIGZpbGw9IiNFMEY4RkYiLz4KPC9zdmc+Cg==";var pnFindPriceCss='@charset "UTF-8";pn-find-price .sizeTable{border-style:none !important;border:0 !important;position:relative}pn-find-price .sizeTable>tr td{margin-bottom:1em;text-align:center;vertical-align:bottom;padding-right:1em;padding-top:1em}pn-find-price .sizeTable #clouds{position:absolute;top:0em;left:4em;z-index:-1}pn-find-price .firstCell{margin-right:0;margin-left:auto}pn-find-price .findprice-form{max-width:60em;margin:0em auto 3em auto}pn-find-price [slot=title]{margin-bottom:1rem}pn-find-price h2{text-align:center}pn-find-price .heading{text-align:center;line-height:1.1;font-weight:bold;margin-bottom:1rem;color:#005D92}pn-find-price .resultHeading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:2em}pn-find-price .sizecategory{margin-top:1em;margin-bottom:3rem;font-size:0.9em;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}pn-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:3.2rem 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:0.8em;margin-bottom:0.9em}pn-find-price .servicePoint a{color:#005D92;text-decoration:none}pn-find-price .servicePoint a:hover{color:#0D234B;text-decoration:underline}';var PnfindPrice=function(){function M(M){registerInstance(this,M);this.source=fileLocation;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,N,D;return __generator(this,(function(j){switch(j.label){case 0:M="?cache=".concat(Math.floor(Math.random()*(1e4-1)+1));return[4,fetch(this.source+M)];case 1:i=j.sent();return[4,i.blob()];case 2:I=j.sent();j.label=3;case 3:j.trys.push([3,5,,6]);return[4,convertFileForSizeCategogy(I)];case 4:N=j.sent();this.sourceData=N;this.sizecategory=sizeCategories.filter((function(M){return M.value==="Small"}))[0];this.filterItems();return[3,6];case 5:D=j.sent();console.log("Unable to parse data");return[3,6];case 6:return[2]}}))}))};M.prototype.setState=function(){if(this.market){state.market=markets[this.market]}if(this.language&&translations[this.language]){state.i18n=translations[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()===state.market.country.toLocaleLowerCase()}));if(!this.sizecategory){return}var N=I.filter((function(i){return i.sizecategory.toLocaleLowerCase()===M.sizecategory.value.toLocaleLowerCase()}));if(!this.weight){return}var D=this.weight.value<=20?this.weight.value*1e3:this.weight.value;var j=N.filter((function(M){return(M.maxweight<=20?M.maxweight*1e3:M.maxweight)===D}));if(this.weightvalue!==0){var g=N.filter((function(M){return M.maxweight.toString().includes("upto")})).filter((function(M){return Number(M.maxweight.toString().toLocaleLowerCase().replace("upto",""))-D>=0}));j=j.concat(g)}if(j.length===0&&this.weightvalue!==0){j=N.filter((function(M){return(M.maxweight<=20?M.maxweight*1e3:M.maxweight)>=D}));if(j.length>0){j.sort((function(M,i){return M.maxweight-i.maxweight}));var e=__spreadArray([],new Map(j.reverse().map((function(M){return[M["id"],M]}))).values(),true);if(e.length>0){j=e}}}j.sort((function(M,i){var I=M.rank?M.rank:1e4;var N=i.rank?i.rank:1e4;var D=M.highestrankusp?M.highestrankusp:"z";var j=i.highestrankusp?i.highestrankusp:"z";var g=D.localeCompare(j);var e=I-N;return g||e}));this.filteredItems=j};M.prototype.render=function(){var M=this;return h("div",{class:"findprice-form"},h("div",null,h("h4",{class:"heading"},state.i18n.sizeheading),h("div",{class:"sizecategory"},h("table",{class:"sizeTable"},h("img",{id:"clouds",src:cloudsSvg}),h("tr",null,h("td",null,h("img",{class:"firstCell",src:postnordPerson1Svg})),h("td",null,h("img",{src:smallPackageSvg})),h("td",null,h("img",{src:mediumPackageSvg})),h("td",null,h("img",{src:largePackageSvg}))),h("tr",null,h("td",null),sizeCategories.map((function(i){return h("td",null,h("pn-radio-button",{id:"findpricecategory-"+i.value,radioid:i.value,value:i.value,name:"sizecategory",checked:i.value===M.sizecategory.value,onChange:function(){M.sizecategory=sizeCategories.filter((function(M){return M.value===i.value}))[0];M.weight={value:0,name:""};M.weightvalue=M.weight.value}}))})))))),h("h4",{class:"heading"},state.i18n.weightheading),this.sizecategory.value&&weights[this.sizecategory.unit]?h("div",{class:"weightoption"},h("div",{class:"weightoption-content"},weights[this.sizecategory.unit].map((function(i){return h("pn-choice-button",{id:"findpriceweight-"+i.value,choiceid:M.sizecategory.value+i.value,name:"weight",type:"radio",value:!M.weight.value?0:weights[M.sizecategory.unit].findIndex((function(i){return i.value===M.weightvalue})),checked:i.value===M.weight.value,onChange:function(){M.weight=weights[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?h("div",{class:"resultlist"},state.i18n.resultlistheading?h("div",{class:"resultHeading"},state.i18n.resultlistheading):null,this.filteredItems.map((function(M){return h("div",null,h("pn-find-price-result",{item:M}))}))):null)};Object.defineProperty(M,"watchers",{get:function(){return{market:["setState"],language:["setState"],sizecategory:["filterItems"],weightvalue:["filterItems"]}},enumerable:false,configurable:true});return M}();PnfindPrice.style=pnFindPriceCss;export{PnfindPrice as pn_find_price};
1
+ var __awaiter=this&&this.__awaiter||function(M,i,I,N){function D(M){return M instanceof I?M:new I((function(i){i(M)}))}return new(I||(I=Promise))((function(I,j){function g(M){try{z(N.next(M))}catch(i){j(i)}}function e(M){try{z(N["throw"](M))}catch(i){j(i)}}function z(M){M.done?I(M.value):D(M.value).then(g,e)}z((N=N.apply(M,i||[])).next())}))};var __generator=this&&this.__generator||function(M,i){var I={label:0,sent:function(){if(j[0]&1)throw j[1];return j[1]},trys:[],ops:[]},N,D,j,g;return g={next:e(0),throw:e(1),return:e(2)},typeof Symbol==="function"&&(g[Symbol.iterator]=function(){return this}),g;function e(M){return function(i){return z([M,i])}}function z(e){if(N)throw new TypeError("Generator is already executing.");while(g&&(g=0,e[0]&&(I=0)),I)try{if(N=1,D&&(j=e[0]&2?D["return"]:e[0]?D["throw"]||((j=D["return"])&&j.call(D),0):D.next)&&!(j=j.call(D,e[1])).done)return j;if(D=0,j)e=[e[0]&2,j.value];switch(e[0]){case 0:case 1:j=e;break;case 4:I.label++;return{value:e[1],done:false};case 5:I.label++;D=e[1];e=[0];continue;case 7:e=I.ops.pop();I.trys.pop();continue;default:if(!(j=I.trys,j=j.length>0&&j[j.length-1])&&(e[0]===6||e[0]===2)){I=0;continue}if(e[0]===3&&(!j||e[1]>j[0]&&e[1]<j[3])){I.label=e[1];break}if(e[0]===6&&I.label<j[1]){I.label=j[1];j=e;break}if(j&&I.label<j[2]){I.label=j[2];I.ops.push(e);break}if(j[2])I.ops.pop();I.trys.pop();continue}e=i.call(M,I)}catch(z){e=[6,z];D=0}finally{N=j=0}if(e[0]&5)throw e[1];return{value:e[0]?e[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(M,i,I){if(I||arguments.length===2)for(var N=0,D=i.length,j;N<D;N++){if(j||!(N in i)){if(!j)j=Array.prototype.slice.call(i,0,N);j[N]=i[N]}}return M.concat(j||Array.prototype.slice.call(i))};import{r as registerInstance,h}from"./index-be8c3299.js";import{f as fileLocation,s as sizeCategories,w as weights}from"./data-059c2a58.js";import{c as convertFileForSizeCategogy}from"./convert-f6377d13.js";import{s as state}from"./pn-find-price-store-9d2df21a.js";import"./_commonjsHelpers-27f122dd.js";import"./index-e6fbe66d.js";var translations={sv:{componentheading:"Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?",deliveryscopeheading:"Endast leveranser inom Sverige",resultlistheading:"Några bra alternativ för dig",sizeheading:"Uppskatta storleken på din försändelse",weightheading:"Uppskatta vikten på din försändelse",weightlabel:"Vikt",maxweightlabel:"Maxvikt",maxmeasurementlabel:"Maxvolym",senddirectcta:"Köp online",stampshopcta:"Till butiken",message:"*Vid köp hos valfritt ombud",servicePointHeader:"Eller hitta närmaste serviceställe",servicePointLink:"Hitta Serviceställe",realPostcard:"Köp Riktiga Vykort",realPostcardMobile:"Ladda ner appen",ombudHeader:"Köp via ombud"},en:{componentheading:"Our prices and terms and conditions for domestic shipments for you as a direct paying customer",deliveryscopeheading:"Deliveries within Sweden only",resultlistheading:"Some suitable options for you",sizeheading:"Estimate the size of your shipment",weightheading:"Estimate the weight of your shipment",weightlabel:"Weight",maxweightlabel:"Max weight",maxmeasurementlabel:"Maximum measurement",senddirectcta:"Buy Online",stampshopcta:"To the Store",message:"When buying from any agent",servicePointHeader:"Find service point",servicePointLink:"Find service point",realPostcard:"Buy Postcards",realPostcardMobile:"Download the app",ombudHeader:"Purchase by agent"},da:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveringer indenfor Sverige",resultlistheading:"Nogle passende muligheder for dig",sizeheading:"Anslå størrelsen på din forsendelse",weightheading:"Anslå vægten af din forsendelse",weightlabel:"Vægt",maxweightlabel:"Max vægt",maxmeasurementlabel:"Maks. Volumen",senddirectcta:"Køb Online",stampshopcta:"Til butikken",message:"When buying from any agent",servicePointHeader:"Find nærmeste servicested",servicePointLink:"Find nærmeste servicested",realPostcard:"Køb Riktiga Vykort",ombudHeader:"Køb af agent"},no:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveranser innen Sverige",resultlistheading:"Some suitable options for you",weightlabel:"Vekt",maxweightlabel:"Maks vekt",maxmeasurementlabel:"Maks volum",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},fi:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Toimitukset vain Ruotsin sisällä",resultlistheading:"Some suitable options for you",weightlabel:"Paino",maxweightlabel:"Max paino",maxmeasurementlabel:"Max äänenvoimakkuus",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"}};var markets={se:{currency:"kr",country:"Sweden",servicePoint:"https://www.postnord.se/vara-verktyg/sok-brevlada-eller-servicestalle"},dk:{currency:"dk",country:"Denmark",servicePoint:"https://www.postnord.dk/varktojer/find-os"},fi:{currency:" €",country:"Finland",servicePoint:""},no:{currency:"kr",country:"Norway",servicePoint:""}};var smallPackageSvg="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTQiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCA1NCAzOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQ0LjM4NDggMzhINTAuMzAxN0M1MS45MzM5IDM4IDUzLjMxMTEgMzYuMjM1NyA1My4zMTExIDMzLjk5NjRWNC4wMDM1N0M1My4zMTExIDEuODMyMTQgNTEuOTg0OSAwIDUwLjMwMTcgMEg0NC4zODQ4VjM4WiIgZmlsbD0iIzAwNUQ5MiIvPgo8cGF0aCBkPSJNNDcuMzQzMyAzOEgxMy4zMjFDMTEuNjg4NyAzOCAxMC4zMTE1IDM2LjIzNTcgMTAuMzExNSAzMy45OTY0VjQuMDAzNTdDMTAuMzExNSAxLjgzMjE0IDExLjYzNzcgMCAxMy4zMjEgMEg0NC44NDM5QzQ2LjIyMTEgMCA0Ny4zNDMzIDEuNDkyODYgNDcuMzQzMyAzLjMyNVYzOFoiIGZpbGw9IiMwMEEwRDYiLz4KPHBhdGggZD0iTTQ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Y3MDlDMTMyLjA2MiAwLjI2NzA5IDEyOC4wMTIgNC43MDUzMyAxMjcuNTYzIDEwLjM3NTNIMTI0LjUyOEMxMTkuNTEgMTAuMzc1MyAxMTUuNDYzIDE1LjUyNDcgMTE1LjQ2MyAyMS44MTg0VjI2LjU4NjRIMTMxLjA1NloiIGZpbGw9IiNFMEY4RkYiLz4KPC9zdmc+Cg==";var pnFindPriceCss='@charset "UTF-8";pn-find-price .sizeTable{border-style:none !important;border:0 !important;position:relative}pn-find-price .sizeTable>tr td{margin-bottom:1em;text-align:center;vertical-align:bottom;padding-right:1em;padding-top:1em}pn-find-price .sizeTable #clouds{position:absolute;top:0em;left:4em;z-index:-1}pn-find-price .firstCell{margin-right:0;margin-left:auto}pn-find-price .findprice-form{max-width:60em;margin:0em auto 3em auto}pn-find-price [slot=title]{margin-bottom:1rem}pn-find-price h2{text-align:center}pn-find-price .heading{text-align:center;line-height:1.1;font-weight:bold;margin-bottom:1rem;color:#005D92}pn-find-price .resultHeading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:2em}pn-find-price .sizecategory{margin-top:1em;margin-bottom:3rem;font-size:0.9em;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}pn-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:3.2rem 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:0.8em;margin-bottom:0.9em}pn-find-price .servicePoint a{color:#005D92;text-decoration:none}pn-find-price .servicePoint a:hover{color:#0D234B;text-decoration:underline}';var PnfindPrice=function(){function M(M){registerInstance(this,M);this.source=fileLocation;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,N,D;return __generator(this,(function(j){switch(j.label){case 0:M="?cache=".concat(Math.floor(Math.random()*(1e4-1)+1));return[4,fetch(this.source+M)];case 1:i=j.sent();return[4,i.blob()];case 2:I=j.sent();j.label=3;case 3:j.trys.push([3,5,,6]);return[4,convertFileForSizeCategogy(I)];case 4:N=j.sent();this.sourceData=N;this.sizecategory=sizeCategories.filter((function(M){return M.value==="Small"}))[0];this.filterItems();return[3,6];case 5:D=j.sent();console.log("Unable to parse data");return[3,6];case 6:return[2]}}))}))};M.prototype.setState=function(){if(this.market){state.market=markets[this.market]}if(this.language&&translations[this.language]){state.i18n=translations[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()===state.market.country.toLocaleLowerCase()}));if(!this.sizecategory){return}var N=I.filter((function(i){return i.sizecategory.toLocaleLowerCase()===M.sizecategory.value.toLocaleLowerCase()}));if(!this.weight){return}var D=this.weight.value<=20?this.weight.value*1e3:this.weight.value;var j=N.filter((function(M){return(M.maxweight<=20?M.maxweight*1e3:M.maxweight)===D}));if(this.weightvalue!==0){var g=N.filter((function(M){return M.maxweight.toString().includes("upto")})).filter((function(M){return Number(M.maxweight.toString().toLocaleLowerCase().replace("upto",""))-D>=0}));j=j.concat(g)}if(j.length===0&&this.weightvalue!==0){j=N.filter((function(M){return(M.maxweight<=20?M.maxweight*1e3:M.maxweight)>=D}));if(j.length>0){j.sort((function(M,i){return M.maxweight-i.maxweight}));var e=__spreadArray([],new Map(j.reverse().map((function(M){return[M["id"],M]}))).values(),true);if(e.length>0){j=e}}}j.sort((function(M,i){var I=M.rank?M.rank:1e4;var N=i.rank?i.rank:1e4;var D=M.highestrankusp?M.highestrankusp:"z";var j=i.highestrankusp?i.highestrankusp:"z";var g=D.localeCompare(j);var e=I-N;return g||e}));this.filteredItems=j};M.prototype.render=function(){var M=this;return h("div",{class:"findprice-form"},h("div",null,h("h4",{class:"heading"},state.i18n.sizeheading),h("div",{class:"sizecategory"},h("table",{class:"sizeTable"},h("img",{id:"clouds",src:cloudsSvg}),h("tr",null,h("td",null,h("img",{class:"firstCell",src:postnordPerson1Svg})),h("td",null,h("img",{src:smallPackageSvg})),h("td",null,h("img",{src:mediumPackageSvg})),h("td",null,h("img",{src:largePackageSvg}))),h("tr",null,h("td",null),sizeCategories.map((function(i){return h("td",null,h("pn-radio-button",{id:"findpricecategory-"+i.value,radioid:i.value,value:i.value,name:"sizecategory",checked:i.value===M.sizecategory.value,onChange:function(){M.sizecategory=sizeCategories.filter((function(M){return M.value===i.value}))[0];M.weight={value:0,name:""};M.weightvalue=M.weight.value}}))})))))),h("h4",{class:"heading"},state.i18n.weightheading),this.sizecategory.value&&weights[this.sizecategory.unit]?h("div",{class:"weightoption"},h("div",{class:"weightoption-content"},weights[this.sizecategory.unit].map((function(i){return h("pn-choice-button",{id:"findpriceweight-"+i.value,choiceid:M.sizecategory.value+i.value,name:"weight",type:"radio",value:!M.weight.value?0:weights[M.sizecategory.unit].findIndex((function(i){return i.value===M.weightvalue})),checked:i.value===M.weight.value,onChange:function(){M.weight=weights[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?h("div",{class:"resultlist"},state.i18n.resultlistheading?h("div",{class:"resultHeading"},state.i18n.resultlistheading):null,this.filteredItems.map((function(M){return h("div",null,h("pn-find-price-result",{item:M}))}))):null)};Object.defineProperty(M,"watchers",{get:function(){return{market:["setState"],language:["setState"],sizecategory:["filterItems"],weightvalue:["filterItems"]}},enumerable:false,configurable:true});return M}();PnfindPrice.style=pnFindPriceCss;export{PnfindPrice as pn_find_price};
@@ -1 +1 @@
1
- import{r as registerInstance,h,a as Host}from"./index-ee44c065.js";import{s as state}from"./pn-find-service-and-price-store-0b1b3ab7.js";import"./index-b71e0f8e.js";var pnFindServiceAndPriceResultCss="";var PnfindServiceAndPriceResult=function(){function e(e){registerInstance(this,e);this.item=null;this.shownitems=[];this.weightText=""}e.prototype.componentWillLoad=function(){this.composeItems()};e.prototype.composeItems=function(){this.shownitems=[this.item]};e.prototype.render=function(){var e=this;return h(Host,null,this.shownitems.map((function(t){return h("pn-product-card",null,h("pn-illustration",{slot:"illustration",illustration:t.illustration}),h("div",{slot:"content"},h("div",{class:"content"},h("h3",null,t.name),t.description?h("div",{class:"description"},t.description):null,t.info?h("div",{class:"description"},t.info):null)),t.maxweight?h("pn-product-tile-info",{label:state.i18n.maxweightlabel,text:e.weightText}):null,t.pricestamps?h("pn-product-tile-price",{slot:"price",label:state.i18n.stampshopcta,amount:t.pricestamps+"",currency:state.market.currency}):null,t.pricesenddirect?h("pn-product-tile-price",{slot:"price",label:state.i18n.senddirectcta,amount:t.pricesenddirect+"",currency:state.market.currency,url:"https://portal.postnord.com/skickadirekt/"}):null,t.note?h("small",{slot:"note"},h("p",null,t.note)):null)})))};Object.defineProperty(e,"watchers",{get:function(){return{item:["composeItems"]}},enumerable:false,configurable:true});return e}();PnfindServiceAndPriceResult.style=pnFindServiceAndPriceResultCss;export{PnfindServiceAndPriceResult as pn_find_service_and_price_result};
1
+ import{r as registerInstance,h,a as Host}from"./index-be8c3299.js";import{s as state}from"./pn-find-service-and-price-store-60025dfc.js";import"./index-e6fbe66d.js";var pnFindServiceAndPriceResultCss="";var PnfindServiceAndPriceResult=function(){function t(t){registerInstance(this,t);this.item=null;this.shownitems=[];this.weightText=""}t.prototype.componentWillLoad=function(){this.composeItems()};t.prototype.composeItems=function(){this.shownitems=[this.item]};t.prototype.render=function(){var t=this;return h(Host,null,this.shownitems.map((function(e){return h("pn-product-card",null,h("pn-illustration",{slot:"illustration",illustration:e.illustration}),h("div",{slot:"content"},h("div",{class:"content"},h("h3",null,e.name),e.description?h("div",{class:"description"},e.description):null,e.info?h("div",{class:"description"},e.info):null)),e.maxweight?h("pn-product-tile-info",{label:state.i18n.maxweightlabel,text:t.weightText}):null,e.pricestamps?h("pn-product-tile-price",{slot:"price",label:state.i18n.stampshopcta,amount:e.pricestamps+"",currency:state.market.currency}):null,e.pricesenddirect?h("pn-product-tile-price",{slot:"price",label:state.i18n.senddirectcta,amount:e.pricesenddirect+"",currency:state.market.currency,url:"https://portal.postnord.com/skickadirekt/"}):null,e.note?h("small",{slot:"note"},h("p",null,e.note)):null)})))};Object.defineProperty(t,"watchers",{get:function(){return{item:["composeItems"]}},enumerable:false,configurable:true});return t}();PnfindServiceAndPriceResult.style=pnFindServiceAndPriceResultCss;export{PnfindServiceAndPriceResult as pn_find_service_and_price_result};
@@ -1 +1 @@
1
- import{c as createStore}from"./index-b71e0f8e.js";var _a=createStore({i18n:{componentheading:"",deliveryscopeheading:"",sizeheading:"",resultlistheading:"",weightlabel:"",maxweightlabel:"",maxmeasurementlabel:"",senddirectcta:"",stampshopcta:""},market:{currency:""}}),state=_a.state,onChange=_a.onChange;export{state as s};
1
+ import{c as createStore}from"./index-e6fbe66d.js";var _a=createStore({i18n:{componentheading:"",deliveryscopeheading:"",sizeheading:"",resultlistheading:"",weightlabel:"",maxweightlabel:"",maxmeasurementlabel:"",senddirectcta:"",stampshopcta:""},market:{currency:""}}),state=_a.state,onChange=_a.onChange;export{state as s};
@@ -1 +1 @@
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{o(a.next(e))}catch(t){r(t)}}function l(e){try{o(a["throw"](e))}catch(t){r(t)}}function o(e){e.done?i(e.value):n(e.value).then(s,l)}o((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:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(t){return o([e,t])}}function o(l){if(a)throw new TypeError("Generator is already executing.");while(s&&(s=0,l[0]&&(i=0)),i)try{if(a=1,n&&(r=l[0]&2?n["return"]:l[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,l[1])).done)return r;if(n=0,r)l=[l[0]&2,r.value];switch(l[0]){case 0:case 1:r=l;break;case 4:i.label++;return{value:l[1],done:false};case 5:i.label++;n=l[1];l=[0];continue;case 7:l=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1];r=l;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(l);break}if(r[2])i.ops.pop();i.trys.pop();continue}l=t.call(e,i)}catch(o){l=[6,o];n=0}finally{a=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[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))};import{r as registerInstance,h}from"./index-ee44c065.js";import{a as convertFileFromStream}from"./convert-f6377d13.js";import{s as state}from"./pn-find-service-and-price-store-0b1b3ab7.js";import"./_commonjsHelpers-27f122dd.js";import"./index-b71e0f8e.js";var translations={sv:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Hit eller dit?",sizeheading:"Hur mycket väger det?",resultlistheading:"Några utvalda val",weightlabel:"Vikt",maxweightlabel:"Maxvikt",maxmeasurementlabel:"Maxvolym",senddirectcta:"Köp frakt via Skicka Direkt",stampshopcta:"Köp frimärken via vår webshop"},en:{componentheading:"What do you want to send?",deliveryscopeheading:"Here or there?",sizeheading:"How much does it weigh?",resultlistheading:"Some suitable options for you",weightlabel:"Weight",maxweightlabel:"Max weight",maxmeasurementlabel:"Maximum measurement",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},da:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Here or there?",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:"Here or there?",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:"Here or there?",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 markets={se:{currency:"kr"},dk:{currency:"dk"},fi:{currency:" €"},no:{currency:"kr"}};var postagetypes=[{name:"Brev",value:"letter",illustration:"letterbox-reply-letter-plants"},{name:"Paket",value:"parcel",illustration:"tracking"}];var deliveryscopes={letter:[{name:"Sweden",value:"sweden",illustration:"letterboxes"},{name:"Abroad",value:"abroad",illustration:"character-box-letters-globe"}],parcel:[{name:"Sweden",value:"sweden",illustration:"letterboxes"},{name:"Within Europe",value:"withineurope",illustration:"character-box-letters-globe"},{name:"Outside Europe",value:"outsideeurope",illustration:"discover"}]};var weights={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 pnFindServiceAndPriceCss="pn-find-service-and-price .findprice-form{max-width:50em;margin:0 auto}pn-find-service-and-price h2,pn-find-service-and-price .heading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-find-service-and-price .postagetypes,pn-find-service-and-price .deliveryscope{text-align:center;margin-bottom:3rem}pn-find-service-and-price .weightoption{display:-ms-flexbox;display:flex;gap:1em}pn-find-service-and-price .weightoption-input{width:5em;position:relative}pn-find-service-and-price .weightoption-input input::-webkit-outer-spin-button,pn-find-service-and-price .weightoption-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}pn-find-service-and-price .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-find-service-and-price .weightoption-range{-ms-flex-positive:1;flex-grow:1;-ms-flex-item-align:end;align-self:flex-end;position:relative;top:0.5em}pn-find-service-and-price .weightoption-range input{width:calc(100% - 1.5em)}pn-find-service-and-price .weightoption-range datalist{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75em}pn-find-service-and-price .resultlist{margin:3em 0}";var PnfindServiceAndPrice=function(){function e(e){registerInstance(this,e);this.source="https://com-integration.postnord.com/globalassets/global/prices/sv-se-findprice.xlsx";this.language="sv";this.market="se";this.filteredItems=[];this.postagetype={value:"",name:"",icon:""};this.weight={value:0,name:""};this.weightvalue=0;this.deliveryscope={value:"",name:"",icon:""};this.sourceData={types:[],data:[]}}e.prototype.componentWillLoad=function(){this.setState();this.getDataSource()};e.prototype.getDataSource=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i,a,n;return __generator(this,(function(r){switch(r.label){case 0:e="?cache=".concat(Math.floor(Math.random()*(1e4-1)+1));return[4,fetch(this.source+e)];case 1:t=r.sent();return[4,t.blob()];case 2:i=r.sent();r.label=3;case 3:r.trys.push([3,5,,6]);return[4,convertFileFromStream(i)];case 4:a=r.sent();this.sourceData=a;this.filterItems();return[3,6];case 5:n=r.sent();console.log("Unable to parse data");return[3,6];case 6:return[2]}}))}))};e.prototype.setState=function(){if(this.market){state.market=markets[this.market]}if(this.language&&translations[this.language]){state.i18n=translations[this.language]}};e.prototype.filterItems=function(){var e=this;var t;if(!((t=this.sourceData)===null||t===void 0?void 0:t.data)){console.log("Data has not yet been loaded");return}if(!this.postagetype){return}var i=this.sourceData.data.filter((function(t){return t.what===e.postagetype.value}));if(!this.deliveryscope){return}var a=i.filter((function(t){return t.deliveryscope===e.deliveryscope.value}));if(!this.weight||!this.weight.value){return}var n=this.weight.abbreviation.toLocaleLowerCase()==="kg"&&this.postagetype.value==="letter"?this.weight.value*1e3:this.weight.value;var r=a.filter((function(e){return e.maxweight===n}));if(r.length===0){r=a.filter((function(e){return e.maxweight>=n}));if(r.length>0){var s=__spreadArray([],new Map(r.reverse().map((function(e){return[e["id"],e]}))).values(),true);if(s.length>0){r=s}}}this.filteredItems=r};e.prototype.render=function(){var e=this;return h("div",null,h("div",{class:"findprice-form"},state.i18n.componentheading?h("h2",null,state.i18n.componentheading):null,h("div",{class:"postagetypes"},postagetypes.map((function(t){return h("pn-choice-button",{choiceid:t.value,value:t.value,name:"postagetype",type:"radio",checked:t.value===e.postagetype.value,onChange:function(){e.postagetype=postagetypes.filter((function(e){return e.value===t.value}))[0];e.deliveryscope={value:"",name:"",icon:""};e.weight={value:0,name:""};e.weightvalue=e.weight.value}},h("pn-illustration",{illustration:t.illustration})," ",t.name)}))),this.postagetype.value&&deliveryscopes[this.postagetype.value]?h("div",null,state.i18n.deliveryscopeheading?h("div",{class:"heading"},state.i18n.deliveryscopeheading):null,h("div",{class:"deliveryscope"},deliveryscopes[this.postagetype.value].map((function(t){return h("pn-choice-button",{choiceid:e.postagetype.value+t.value,value:t.value,name:"deliveryscope",type:"radio",checked:t.value===e.deliveryscope.value,onChange:function(){e.deliveryscope=deliveryscopes[e.postagetype.value].filter((function(e){return e.value===t.value}))[0];if(e.weight.value===0){e.weight=weights[e.postagetype.value][0];e.weightvalue=e.weight.value}}},h("pn-illustration",{illustration:t.illustration})," ",t.name)})))):null,this.postagetype.value&&weights[this.postagetype.value]&&this.deliveryscope.value?h("div",null,state.i18n.sizeheading?h("div",{class:"heading"},state.i18n.sizeheading):null,h("div",{class:"weightoption"},h("div",{class:"weightoption-input"},h("pn-input",{inputid:"weightvalue",name:"weightvalue",type:"number",label:state.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=weights[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}}}}}),h("span",{class:"weightoption-input-abbreviation"},this.weight.abbreviation)),h("div",{class:"weightoption-range"},h("input",{type:"range",id:"weightrange",name:"weightrange",list:"weightlist",value:!this.weight.value?0:weights[this.postagetype.value].findIndex((function(t){return t.value===e.weightvalue})),onChange:function(t){var i=t.target.value;e.weight=weights[e.postagetype.value][i];e.weightvalue=e.weight.value},min:"0",max:weights[this.postagetype.value].length-1}),h("datalist",{id:"weightlist"},weights[this.postagetype.value].map((function(t,i){var a=t.name;if(weights[e.postagetype.value].length>6){a=i%5===0||i===0||i===weights[e.postagetype.value].length-1?t.name:""}return h("option",Object.assign({value:i},a?{label:a}:{}))})))))):null),this.filteredItems&&this.filteredItems.length>0?h("div",{class:"resultlist"},state.i18n.resultlistheading?h("div",{class:"heading"},state.i18n.resultlistheading):null,this.filteredItems.map((function(e){return h("div",null,h("pn-find-service-and-price-result",{item:e}))}))):null)};Object.defineProperty(e,"watchers",{get:function(){return{market:["setState"],language:["setState"],postagetype:["filterItems"],deliveryscope:["filterItems"],weightvalue:["filterItems"]}},enumerable:false,configurable:true});return e}();PnfindServiceAndPrice.style=pnFindServiceAndPriceCss;export{PnfindServiceAndPrice as pn_find_service_and_price};
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{o(a.next(e))}catch(t){r(t)}}function l(e){try{o(a["throw"](e))}catch(t){r(t)}}function o(e){e.done?i(e.value):n(e.value).then(s,l)}o((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:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(t){return o([e,t])}}function o(l){if(a)throw new TypeError("Generator is already executing.");while(s&&(s=0,l[0]&&(i=0)),i)try{if(a=1,n&&(r=l[0]&2?n["return"]:l[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,l[1])).done)return r;if(n=0,r)l=[l[0]&2,r.value];switch(l[0]){case 0:case 1:r=l;break;case 4:i.label++;return{value:l[1],done:false};case 5:i.label++;n=l[1];l=[0];continue;case 7:l=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1];r=l;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(l);break}if(r[2])i.ops.pop();i.trys.pop();continue}l=t.call(e,i)}catch(o){l=[6,o];n=0}finally{a=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[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))};import{r as registerInstance,h}from"./index-be8c3299.js";import{a as convertFileFromStream}from"./convert-f6377d13.js";import{s as state}from"./pn-find-service-and-price-store-60025dfc.js";import"./_commonjsHelpers-27f122dd.js";import"./index-e6fbe66d.js";var translations={sv:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Hit eller dit?",sizeheading:"Hur mycket väger det?",resultlistheading:"Några utvalda val",weightlabel:"Vikt",maxweightlabel:"Maxvikt",maxmeasurementlabel:"Maxvolym",senddirectcta:"Köp frakt via Skicka Direkt",stampshopcta:"Köp frimärken via vår webshop"},en:{componentheading:"What do you want to send?",deliveryscopeheading:"Here or there?",sizeheading:"How much does it weigh?",resultlistheading:"Some suitable options for you",weightlabel:"Weight",maxweightlabel:"Max weight",maxmeasurementlabel:"Maximum measurement",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},da:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Here or there?",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:"Here or there?",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:"Here or there?",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 markets={se:{currency:"kr"},dk:{currency:"dk"},fi:{currency:" €"},no:{currency:"kr"}};var postagetypes=[{name:"Brev",value:"letter",illustration:"letterbox-reply-letter-plants"},{name:"Paket",value:"parcel",illustration:"tracking"}];var deliveryscopes={letter:[{name:"Sweden",value:"sweden",illustration:"letterboxes"},{name:"Abroad",value:"abroad",illustration:"character-box-letters-globe"}],parcel:[{name:"Sweden",value:"sweden",illustration:"letterboxes"},{name:"Within Europe",value:"withineurope",illustration:"character-box-letters-globe"},{name:"Outside Europe",value:"outsideeurope",illustration:"discover"}]};var weights={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 pnFindServiceAndPriceCss="pn-find-service-and-price .findprice-form{max-width:50em;margin:0 auto}pn-find-service-and-price h2,pn-find-service-and-price .heading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-find-service-and-price .postagetypes,pn-find-service-and-price .deliveryscope{text-align:center;margin-bottom:3rem}pn-find-service-and-price .weightoption{display:-ms-flexbox;display:flex;gap:1em}pn-find-service-and-price .weightoption-input{width:5em;position:relative}pn-find-service-and-price .weightoption-input input::-webkit-outer-spin-button,pn-find-service-and-price .weightoption-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}pn-find-service-and-price .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-find-service-and-price .weightoption-range{-ms-flex-positive:1;flex-grow:1;-ms-flex-item-align:end;align-self:flex-end;position:relative;top:0.5em}pn-find-service-and-price .weightoption-range input{width:calc(100% - 1.5em)}pn-find-service-and-price .weightoption-range datalist{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75em}pn-find-service-and-price .resultlist{margin:3em 0}";var PnfindServiceAndPrice=function(){function e(e){registerInstance(this,e);this.source="https://com-integration.postnord.com/globalassets/global/prices/sv-se-findprice.xlsx";this.language="sv";this.market="se";this.filteredItems=[];this.postagetype={value:"",name:"",icon:""};this.weight={value:0,name:""};this.weightvalue=0;this.deliveryscope={value:"",name:"",icon:""};this.sourceData={types:[],data:[]}}e.prototype.componentWillLoad=function(){this.setState();this.getDataSource()};e.prototype.getDataSource=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i,a,n;return __generator(this,(function(r){switch(r.label){case 0:e="?cache=".concat(Math.floor(Math.random()*(1e4-1)+1));return[4,fetch(this.source+e)];case 1:t=r.sent();return[4,t.blob()];case 2:i=r.sent();r.label=3;case 3:r.trys.push([3,5,,6]);return[4,convertFileFromStream(i)];case 4:a=r.sent();this.sourceData=a;this.filterItems();return[3,6];case 5:n=r.sent();console.log("Unable to parse data");return[3,6];case 6:return[2]}}))}))};e.prototype.setState=function(){if(this.market){state.market=markets[this.market]}if(this.language&&translations[this.language]){state.i18n=translations[this.language]}};e.prototype.filterItems=function(){var e=this;var t;if(!((t=this.sourceData)===null||t===void 0?void 0:t.data)){console.log("Data has not yet been loaded");return}if(!this.postagetype){return}var i=this.sourceData.data.filter((function(t){return t.what===e.postagetype.value}));if(!this.deliveryscope){return}var a=i.filter((function(t){return t.deliveryscope===e.deliveryscope.value}));if(!this.weight||!this.weight.value){return}var n=this.weight.abbreviation.toLocaleLowerCase()==="kg"&&this.postagetype.value==="letter"?this.weight.value*1e3:this.weight.value;var r=a.filter((function(e){return e.maxweight===n}));if(r.length===0){r=a.filter((function(e){return e.maxweight>=n}));if(r.length>0){var s=__spreadArray([],new Map(r.reverse().map((function(e){return[e["id"],e]}))).values(),true);if(s.length>0){r=s}}}this.filteredItems=r};e.prototype.render=function(){var e=this;return h("div",null,h("div",{class:"findprice-form"},state.i18n.componentheading?h("h2",null,state.i18n.componentheading):null,h("div",{class:"postagetypes"},postagetypes.map((function(t){return h("pn-choice-button",{choiceid:t.value,value:t.value,name:"postagetype",type:"radio",checked:t.value===e.postagetype.value,onChange:function(){e.postagetype=postagetypes.filter((function(e){return e.value===t.value}))[0];e.deliveryscope={value:"",name:"",icon:""};e.weight={value:0,name:""};e.weightvalue=e.weight.value}},h("pn-illustration",{illustration:t.illustration})," ",t.name)}))),this.postagetype.value&&deliveryscopes[this.postagetype.value]?h("div",null,state.i18n.deliveryscopeheading?h("div",{class:"heading"},state.i18n.deliveryscopeheading):null,h("div",{class:"deliveryscope"},deliveryscopes[this.postagetype.value].map((function(t){return h("pn-choice-button",{choiceid:e.postagetype.value+t.value,value:t.value,name:"deliveryscope",type:"radio",checked:t.value===e.deliveryscope.value,onChange:function(){e.deliveryscope=deliveryscopes[e.postagetype.value].filter((function(e){return e.value===t.value}))[0];if(e.weight.value===0){e.weight=weights[e.postagetype.value][0];e.weightvalue=e.weight.value}}},h("pn-illustration",{illustration:t.illustration})," ",t.name)})))):null,this.postagetype.value&&weights[this.postagetype.value]&&this.deliveryscope.value?h("div",null,state.i18n.sizeheading?h("div",{class:"heading"},state.i18n.sizeheading):null,h("div",{class:"weightoption"},h("div",{class:"weightoption-input"},h("pn-input",{inputid:"weightvalue",name:"weightvalue",type:"number",label:state.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=weights[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}}}}}),h("span",{class:"weightoption-input-abbreviation"},this.weight.abbreviation)),h("div",{class:"weightoption-range"},h("input",{type:"range",id:"weightrange",name:"weightrange",list:"weightlist",value:!this.weight.value?0:weights[this.postagetype.value].findIndex((function(t){return t.value===e.weightvalue})),onChange:function(t){var i=t.target.value;e.weight=weights[e.postagetype.value][i];e.weightvalue=e.weight.value},min:"0",max:weights[this.postagetype.value].length-1}),h("datalist",{id:"weightlist"},weights[this.postagetype.value].map((function(t,i){var a=t.name;if(weights[e.postagetype.value].length>6){a=i%5===0||i===0||i===weights[e.postagetype.value].length-1?t.name:""}return h("option",Object.assign({value:i},a?{label:a}:{}))})))))):null),this.filteredItems&&this.filteredItems.length>0?h("div",{class:"resultlist"},state.i18n.resultlistheading?h("div",{class:"heading"},state.i18n.resultlistheading):null,this.filteredItems.map((function(e){return h("div",null,h("pn-find-service-and-price-result",{item:e}))}))):null)};Object.defineProperty(e,"watchers",{get:function(){return{market:["setState"],language:["setState"],postagetype:["filterItems"],deliveryscope:["filterItems"],weightvalue:["filterItems"]}},enumerable:false,configurable:true});return e}();PnfindServiceAndPrice.style=pnFindServiceAndPriceCss;export{PnfindServiceAndPrice as pn_find_service_and_price};
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function r(e){try{l(i.next(e))}catch(t){a(t)}}function s(e){try{l(i["throw"](e))}catch(t){a(t)}}function l(e){e.done?n(e.value):o(e.value).then(r,s)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return l([e,t])}}function l(s){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(n=0)),n)try{if(i=1,o&&(a=s[0]&2?o["return"]:s[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,s[1])).done)return a;if(o=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(l){s=[6,l];o=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,a as Host,g as getElement}from"./index-ee44c065.js";import{s as state$1,o as onChange$1}from"./pn-mainnav-store-8c221c2f.js";import{s as state$2}from"./pn-marketweb-siteheader-store-cea5016e.js";import{c as createStore}from"./index-b71e0f8e.js";var translations$1={sv:{heading:"Språk"},en:{heading:"Language"},da:{heading:"Sprog"},no:{heading:"Språk"},fi:{heading:"Kieli"},de:{heading:"Sprache"},zh:{heading:"语言"},fr:{heading:"Langue"},es:{heading:"Idioma"},nl:{heading:"Spraak"},it:{heading:"Idioma"}};var pnLanguageSelectorCss="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 PnlanguageSelector=function(){function e(e){registerInstance(this,e);this.setLanguage=createEvent(this,"setLanguage",7);this.value="";this.selectedLanguageName="";this.options=[];this.i18n=undefined}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(translations$1[this.value]){this.i18n=translations$1[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 h(Host,{value:this.value},h("pn-nav-dropdown",{label:this.selectedLanguageName,icon:"globe"},h("nav",{class:"languageselector-nav","aria-label":this.i18n.heading},h("strong",{class:"languageselector-title"},this.i18n.heading),h("div",{class:"languageselector-list",role:"list"},h("slot",null)))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["setSelectedLanguageName","setTranslations","onValueChange"]}},enumerable:false,configurable:true});return e}();PnlanguageSelector.style=pnLanguageSelectorCss;var pnLanguageSelectorOptionCss="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 PnlanguageSelectorOption=function(){function e(e){registerInstance(this,e);this.setCurrentLanguage=createEvent(this,"setCurrentLanguage",7);this.name="";this.code="";this.url="";this.selected=false;this.currentLanguage=undefined}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 h(Host,{role:"listitem",selected:this.selected+"",code:this.code,name:this.name},!this.url?h("button",{class:"languageselector-button","data-langcode":this.code,onClick:this.onOptionClick.bind(this)},h("span",{class:"languageselector-radio-outer"},h("span",{class:"languageselector-radio-inner"})),h("span",{class:"languageselector-itemtext"},this.name," - ",this.code)):h("a",{href:this.url,target:"_self",class:"languageselector-link","data-langcode":this.code},h("span",{class:"languageselector-radio-outer"},h("span",{class:"languageselector-radio-inner"})),h("span",{class:"languageselector-itemtext"},this.name," - ",this.code)))};return e}();PnlanguageSelectorOption.style=pnLanguageSelectorOptionCss;var translations={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"},de:{menuHomeButton:"Home",menuGoBackButton:"Geh zurück",mainMenuButton:"Menü",menuStartButton:"Start",navLabel:"Hauptnavigation"},zh:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"},it:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"},nl:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"}};var pnMainnavCss="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 PnMainnav=function(){function e(e){registerInstance(this,e);this.menuLanguageChange=createEvent(this,"menuLanguageChange",7);this.marketChange=createEvent(this,"marketChange",7);this.menuOpenChange=createEvent(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){state$1.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(translations[e.detail]){state$1.i18n=translations[e.detail];if(!this.navLabel){this.navLabel=state$1.i18n.navLabel}}};e.prototype.setMenuOpenState=function(){state$1.openMenu=!state$1.openMenu;this.menuOpenChange.emit(state$1.openMenu)};e.prototype.onOpenMenuLevelChange=function(e){state$1.openLevel=e.detail};e.prototype.render=function(){return h(Host,null,h("div",{class:"mainnav-toggle"},h("button",{"aria-controls":this.navigationId,"aria-expanded":state$1.openMenu+"",onClick:this.setMenuOpenState.bind(this)},state$1.i18n.mainMenuButton,h("pn-icon",{symbol:state$1.openMenu?"close":"bars",color:"white"}))),h("nav",{class:"mainnav","aria-label":this.navLabel,"data-menu-open":state$1.openMenu+"","data-menu-currentlevel":state$1.currentLevel,id:this.navigationId},h("slot",null)))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnMainnav.style=pnMainnavCss;var pnMainnavLevelCss='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 PnMainnavLevel=function(){function e(e){registerInstance(this,e);this.label="";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=this;return __generator(this,(function(t){this.setState();onChange$1("openLevel",(function(){e.onChangeOpenLevel()}));return[2]}))}))};e.prototype.setState=function(){this.listCount=this.hostElement.querySelectorAll(":scope > pn-mainnav-list").length;var e=this.hostElement.parentElement;if(e.tagName.toLowerCase()!=="nav"){this.level=2}if(e.tagName.toLowerCase()==="pn-mainnav-link"){this.parentName=e.getAttribute("name")+"";if(!this.label&&this.parentName){this.label=this.parentName}this.parentHref=e.getAttribute("href")+"";this.parentLinkId=e.getAttribute("linkid")+"";var t=this.parentName.toLowerCase().replace(/\W/gi,"_");this.levelId="mainnav-lvl".concat(this.level,"-").concat(t)}};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 o=e.hostElement.parentElement.getClientRects()[0];if(o.left-t.width<0){e.alignment="center"}else{e.alignment="left"}}}}))}};e.prototype.onChangeOpenLevel=function(){this.isOpen=state$1.openLevel===this.levelId;state$1.currentLevel=this.level};e.prototype.render=function(){return h(Host,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?h("div",{class:"mainnav-level-header"},h("label",{htmlFor:this.levelId},state$1.i18n.menuGoBackButton),h("button",{class:"secondlevel-backbtn",onClick:function(){state$1.openLevel="";state$1.currentLevel=1},"aria-expanded":(state$1.openLevel===this.levelId)+""},h("pn-icon",{symbol:"arrow-left",color:"blue700"}),state$1.i18n.menuStartButton),this.parentHref&&this.label?h("pn-mainnav-link",{href:this.parentHref,name:this.label,linkid:this.parentLinkId}):null):null,h("slot",{name:"top"}),h("slot",null),h("slot",{name:"additional"}),h("slot",{name:"footer"}))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{label:["setState"],isOpen:["onOpen"]}},enumerable:false,configurable:true});return e}();PnMainnavLevel.style=pnMainnavLevelCss;var pnMainnavListCss='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 PnMainnavList=function(){function e(e){registerInstance(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 h(Host,{class:"mainnav-list",role:"list","data-navlist-itemcount":this.linkCount+"","data-navlist-showcolumns":(this.linkCount>=8)+""},this.heading?h("div",{class:"mainnav-list-heading"},this.heading):null,h("slot",null))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnMainnavList.style=pnMainnavListCss;var MarketWebLoginManager=function(){function e(e){if(e===void 0){e=null}var t=this;var n;this.eventTarget=window!==null&&window!==void 0?window:document===null||document===void 0?void 0:document.body;this.endpoint="";this.storagePrefix="pn-user";this.checkUserLoggedInStateInterval=0;this.baseUrls={at:"https://atportal.postnord.com/api/unified-login/backend",prod:"https://portal.postnord.com/api/unified-login/backend"};this.events={loginstatechange:"loginstatechange"};this.endpoints={authorizationEndpoint:"/authorization",tokenExchangeEndpoint:"/token",userInfoEndpoint:"/user",logoutEndpoint:"/logout"};this.keys={tokensource:"tokensource",token:"token",accessToken:"accessToken",user:"user",expire:"expire",expireDate:"expiredate"};this.overridetokenValue="overridetokenValue";this.siteUrl=window.location.origin;this.abortSignalForLoginCheck=null;this.loginCheckInProgress=false;this.loginCheckTimer=null;this.store={get:function(e){var n=window.sessionStorage.getItem("".concat(t.storagePrefix,"-").concat(e));if(!n){return n}if(n.indexOf("{")===0){try{return JSON.parse(n)}catch(i){}}if(n.indexOf(",")!==-1){return n.split(",")}return n},set:function(e,n){if(typeof n==="object"&&typeof n.length==="undefined"){window.sessionStorage.setItem("".concat(t.storagePrefix,"-").concat(e),JSON.stringify(n));return}window.sessionStorage.setItem("".concat(t.storagePrefix,"-").concat(e),n)},remove:function(e){window.sessionStorage.removeItem("".concat(t.storagePrefix,"-").concat(e))}};if(!e){return}this.eventTarget=e.eventTarget?e.eventTarget:this.eventTarget;this.endpoint=e.endpoint?e.endpoint:"".concat(window.location.protocol,"//").concat(window.location.host);(n=this.storagePrefix)!==null&&n!==void 0?n:this.storagePrefix=e.storagePrefix;this.checkUserLoggedInStateInterval=e.checkUserLoggedInStateInterval&&e.checkUserLoggedInStateInterval>0?parseInt(e.checkUserLoggedInStateInterval+"",10):0;if(e.userInfo){this.store.set(this.keys.user,e.userInfo);this.registerToken(this.overridetokenValue,"override")}}e.prototype.init=function(e){if(e===void 0){e=true}if(e){this.checkParameters();this.checkPNTopbar();this.checkExpireTime();if(this.store.get(this.keys.token)&&!this.store.get(this.keys.user)){this.fetchUserInfo()}this.loginStateChange();if(this.checkUserLoggedInStateInterval>0){this.initiateLoggedInCheck()}}};e.prototype.setSiteUrl=function(e){if(e){this.siteUrl=e}};e.prototype.initiateLoggedInCheck=function(){var e=this;if(this.isLoggedIn()){if(window&&window["AbortController"]){this.abortSignalForLoginCheck=new AbortController}this.loginCheckTimer=window.setInterval((function(){e.doExternalLoggedInCheck().then((function(){})).catch((function(){}))}),this.checkUserLoggedInStateInterval)}};e.prototype.doExternalLoggedInCheck=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n;return __generator(this,(function(i){switch(i.label){case 0:if(!window.navigator.onLine){return[2]}if(!this.getToken()){window.clearInterval(this.checkUserLoggedInStateInterval);return[2]}if(this.loginCheckInProgress&&this.abortSignalForLoginCheck){this.abortSignalForLoginCheck.abort();this.abortSignalForLoginCheck=new AbortController}this.loginCheckInProgress=true;e={method:"GET",headers:{Accept:"application/json","Content-Type":"application/json",Authorization:this.getToken()}};if(this.abortSignalForLoginCheck&&this.abortSignalForLoginCheck["signal"]){e["signal"]=this.abortSignalForLoginCheck["signal"]}return[4,fetch("".concat(this.getBaseUrl()).concat(this.endpoints.userInfoEndpoint),e)];case 1:t=i.sent();if(t.status===409){window.clearInterval(this.checkUserLoggedInStateInterval);console.log("Cleared out user data due to bad response from authentication endpoint");this.LogoutUser();return[2]}if(!t.ok){return[2]}return[4,t.json()];case 2:n=i.sent();if(!n||!n["accessToken"]){window.clearInterval(this.checkUserLoggedInStateInterval);console.log("Cleared out user data due to bad response from authentication endpoint");this.LogoutUser()}this.loginCheckInProgress=false;return[2]}}))}))};e.prototype.LogoutUser=function(){this.clearUserData();if(this.eventTarget){var e=this.eventTarget.querySelector("#pn-marketweb-header-logoutlink");if(e){e.click();return}}var t=window.location.href;window.location.href=this.getLogoutUrl(t)};e.prototype.isLoggedIn=function(e){if(e===void 0){e=false}if(e){return e}var t=this.store.get(this.keys.token)&&this.store.get(this.keys.user)?true:false;if(!t&&this.store.get(this.keys.token)===this.overridetokenValue){t=true}return t};e.prototype.registerToken=function(e,t){if(e===void 0){e=""}if(t===void 0){t="frontend"}if(!e||e===this.getToken()){return}this.clearUserData();this.store.set(this.keys.tokensource,t);this.store.set(this.keys.token,e);this.fetchUserInfo()};e.prototype.invalidateTokenOfType=function(e){if(e===void 0){e="frontend"}var t=this.store.get(this.keys.token);if(!t){return}var n=this.store.get(this.keys.tokensource);if(n!==e){return}this.clearUserData()};e.prototype.getLoginUrl=function(e){if(e===void 0){e=""}var t=window.location.href;e=e?e:t;return"".concat(this.getBaseUrl()).concat(this.endpoints.authorizationEndpoint,"?redirectionUrl=").concat(e)};e.prototype.getLogoutUrl=function(e){if(e===void 0){e=""}if(e.indexOf("logout?logoutUrl")!==-1){return e}var t=e.replace("logout","").replace("http://window.location.href/?",window.location.href).replace("https://window.location.href/?",window.location.href);var n=this.siteUrl;try{var i=new URL(this.siteUrl+"");n=i.origin}catch(l){}var o=n.lastIndexOf("/")!==n.length-1;var a=n+(o?"/":"")+"logout";var r="".concat(this.getBaseUrl()).concat(this.endpoints.logoutEndpoint,"?authorization=").concat(this.store.get(this.keys.token),"%26redirectionUrl=").concat(t);var s="".concat(a,"?logoutUrl=").concat(r);return s};e.prototype.getUserInfo=function(){if(this.isLoggedIn()){return this.store.get(this.keys.user)}};e.prototype.getEventTarget=function(){return this.eventTarget};e.prototype.checkExpireTime=function(){var e=this.store.get(this.keys.expire);if(!e){return}var t=new Date;var n=new Date(Math.floor(parseInt(e,10)*1e3));if(t>n){console.info("Login time has expired");this.clearUserData();this.loginStateChange()}};e.prototype.checkPNTopbar=function(){if(this.isLoggedIn()||!window["pnTopbar"]||!window["pnTopbar"]["session_id"]){return}this.store.set(this.keys.token,window["pnTopbar"]["session_id"]);this.fetchUserInfo()};e.prototype.checkParameters=function(){if(!(window===null||window===void 0?void 0:window.location)){return}var e=new URLSearchParams(window.location.search);if(e.get("oneTimeCode")){var t=e.get("oneTimeCode");this.exchangeToken(t).then((function(){var e=window.location.href;var n=e.indexOf("?oneTimeCode")!==-1?"?":"&";var i=e.replace("".concat(n,"oneTimeCode=").concat(t),"");history.replaceState({},document.querySelector("title").innerText,i)}))}};e.prototype.fetchUserInfo=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n,i,o,a,r,s;return __generator(this,(function(l){switch(l.label){case 0:e=this.store.get(this.keys.token);if(this.store.get(this.keys.token)===this.overridetokenValue){console.info("Did not fetch user data since it was set by an override");return[2]}t={method:"GET",headers:{Accept:"application/json","Content-Type":"application/json",Authorization:e}};return[4,fetch("".concat(this.getBaseUrl()).concat(this.endpoints.userInfoEndpoint),t)];case 1:n=l.sent();return[4,n.json()];case 2:i=l.sent();if(i&&i["idToken"]){try{o=i.idToken,a=i.expiryTime,r=i.accessToken;s=this.parseUserInfo(o);if(!s){console.error("Userdata is not valid");this.clearUserData();return[2]}this.store.set(this.keys.user,s);this.store.set(this.keys.accessToken,r);this.store.set(this.keys.expire,a);this.store.set(this.keys.expireDate,new Date(Math.floor(parseInt(a,10)*1e3)));this.loginStateChange()}catch(c){console.error("Unable to get user information",c)}}else{console.error("Unable to get user information. Clearing login state");this.clearUserData()}return[2]}}))}))};e.prototype.clearUserData=function(){this.store.remove(this.keys.user);this.store.remove(this.keys.tokensource);this.store.remove(this.keys.accessToken);this.store.remove(this.keys.token);this.store.remove(this.keys.expire);this.store.remove(this.keys.expireDate)};e.prototype.getToken=function(){return this.store.get(this.keys.token)};e.prototype.getAccessToken=function(){return this.store.get(this.keys.accessToken)};e.prototype.exchangeToken=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(i){switch(i.label){case 0:this.clearUserData();return[4,fetch("".concat(this.getBaseUrl()).concat(this.endpoints.tokenExchangeEndpoint,"?oneTimeCode=").concat(e))];case 1:t=i.sent();return[4,t.json()];case 2:n=i.sent().token;if(typeof n==="string"&&n){this.store.set(this.keys.token,n)}this.fetchUserInfo();return[2]}}))}))};e.prototype.loginStateChange=function(){if(!this.eventTarget){return}this.eventTarget.dispatchEvent(new CustomEvent(this.events.loginstatechange,{detail:this.isLoggedIn()}))};e.prototype.getBaseUrl=function(){var e=this;var t=["localhost","integration.","local."];var n=t.filter((function(t){return e.endpoint.indexOf(t)!==-1})).length>0;if(["devportal.postnord.com","atportal.postnord.com"].indexOf(window.location.hostname)!==-1){n=true}if(n){return this.baseUrls.at}return this.baseUrls.prod};e.prototype.parseUserInfo=function(e){if(!e){return null}var t=e.split(".")[1];var n=t.replace(/-/g,"+").replace(/_/g,"/");var i=decodeURIComponent(atob(n).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""));return JSON.parse(i)};return e}();var pnMarketwebSiteheaderLoginCss='pn-marketweb-siteheader-login{padding:1rem 0;max-height:5.2rem;position:relative}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content{max-width:350px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:2.4rem;padding:4rem}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content pn-button{width:100%}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content pn-marketweb-siteheader-unified-login::after{display:block;content:"";height:2px;background:#F9F8F8;width:100%;margin-top:2.4rem}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span::before{display:block;content:"";height:2px;background:#F9F8F8;width:100%;margin-bottom:2.4rem}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span{font-size:1.4rem;color:#2D2013}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span a{text-decoration:none;color:#005D92}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span a:hover{text-decoration:underline}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span *{margin-bottom:0}pn-marketweb-siteheader-login pn-nav-dropdown{display:none}pn-marketweb-siteheader-login.hydrated pn-nav-dropdown{display:block}';var PnMarketwebSiteheaderLogin=function(){function e(e){registerInstance(this,e);this.loginStateChange=createEvent(this,"loginStateChange",7);var t;this.endpoint="";this.token="";this.i18n={searchlabel:"",searchplaceholder:"",searchbuttontext:"",menuHomeButton:"",menuGoBackButton:"",mainMenuButton:"",menuStartButton:"",profileSelectionFlyoutHeading:"",unifiedLoginButton:"",unifiedMyPagesButton:""};this.siteUrl="";this.emitEvents=true;this.loginDialog=null;this.fullname="";this.loggedin=false;this.showProfileSelection=false;this.showUnifiedLogin=false;this.checkUserLoggedInStateInterval=0;this.environment=undefined;this.loginLinks=undefined;this.toggleButtonText=((t=this.loginDialog)===null||t===void 0?void 0:t.loginMenuLinkText)?this.loginDialog.loginMenuLinkText:"";this.username=this.fullname}e.prototype.componentWillLoad=function(){var e=this.loggedin&&this.fullname?{given_name:this.fullname}:null;state$2.loginManager=new MarketWebLoginManager({endpoint:this.endpoint,eventTarget:this.hostElement,checkUserLoggedInStateInterval:this.checkUserLoggedInStateInterval,userInfo:e});state$2.loginManager.setSiteUrl(this.siteUrl);this.hostElement["loginmanager"]=state$2.loginManager;if(this.token){state$2.loginManager.registerToken(this.token,"backend")}else if(this.emitEvents){state$2.loginManager.invalidateTokenOfType("backend")}this.hostElement.addEventListener(state$2.loginManager.events.loginstatechange,this.onLoginStateChange.bind(this));this.init();this.setUserName();this.setToggleButtonText()};e.prototype.init=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){state$2.loginManager.init(this.emitEvents);this.setToggleButtonText();this.adjustLoginLinks();return[2]}))}))};e.prototype.adjustLoginLinks=function(){var e;if(!((e=this.loginDialog)===null||e===void 0?void 0:e.loginMenuLinks)){return}var t=function(e,t){if(!e.isLogoutLink){e.isLogoutLink=e.pageLink.indexOf("location.href")!==-1&&e.pageLink.indexOf("logout")!==-1}if(e.isLogoutLink){e.href=state$2.loginManager.getLogoutUrl(e.href)}if(t===0&&!e.href){e.href=state$2.loginManager.getLoginUrl();e.linkType="primary"}if(e.primaryLinkApperance&&!e.linkType){e.linkType="primary"}return e};if(this.loginDialog){this.loginDialog.loginMenuLinks=this.loginDialog.loginMenuLinks.map(t);this.loginDialog.loggedInLinks=this.loginDialog.loggedInLinks.map(t)}this.loginDialog.legacyLoginLinks=[{href:state$2.loginManager.getLoginUrl(this.loginDialog.loginUrl),linkText:this.loginDialog.loginLinkText,openInNewWindow:false,isLogoutLink:false,pageLink:null,linkType:"primary",primaryLinkApperance:true},{href:state$2.loginManager.getLoginUrl(this.loginDialog.registerUrl),linkText:this.loginDialog.createLoginLinkText,openInNewWindow:false,isLogoutLink:false,pageLink:null,primaryLinkApperance:false}]};e.prototype.setUserName=function(){var e=state$2.loginManager.getUserInfo();var t="";if(!this.loggedin||!e){this.username=t}if(e&&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&&e.email){t=e.email}if(!t&&this.fullname){t=this.fullname}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:state$2.loginManager.getToken()});this.setUserName();this.setToggleButtonText()}};e.prototype.render=function(){if(!this.loginDialog){return}var e={username:null,loggedin:"false"};if(this.username){e.username=this.username;e.loggedin=this.loggedin+""}return h(Host,Object.assign({},e),h("pn-nav-dropdown",{label:this.toggleButtonText,icon:"user",class:"siteheader-logindialog"},this.showUnifiedLogin&&h("pn-marketweb-siteheader-unified-login",{loggedIn:this.loggedin,myPageLabel:this.i18n.unifiedMyPagesButton,myPageUrl:"https://account.postnord.com/secure/profile",logInLabel:this.i18n.unifiedLoginButton}),this.loggedin&&this.showProfileSelection?h("pn-marketweb-siteheader-login-profileselection",{loginDialog:this.loginDialog,loggedin:this.loggedin,i18n:this.i18n,idNamespace:this.emitEvents?"1":"2",endpoint:this.endpoint}):h("pn-marketweb-siteheader-login-links",{loginDialog:this.loginDialog,loggedin:this.loggedin,idNamespace:this.emitEvents?"1":"2",username:this.username,showUnifiedLogin:this.showUnifiedLogin}),!this.loggedin&&h("span",{innerHTML:"".concat(this.loginDialog.loginInfo)})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{i18n:["init"],loginDialog:["init"]}},enumerable:false,configurable:true});return e}();PnMarketwebSiteheaderLogin.style=pnMarketwebSiteheaderLoginCss;var _b=createStore({searchValue:"",autocompleteSuggestions:{},requestAbortController:new AbortController}),state=_b.state,onChange=_b.onChange;var pnMarketwebSiteheaderSearchCss=".siteheader-search a{display:none}@media screen and (min-width: 48em){.siteheader-search a{display:block}}.siteheader-search pn-search-field>.input-container button{background:#FFFFFF}.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:end;justify-content:flex-end;-ms-flex-align:stretch;align-items:stretch;width:auto;-ms-flex:none;flex:none;display:-ms-flexbox;display:flex;padding:0;margin:0 0 0 0.4rem;position:relative;-ms-flex-direction:column;flex-direction:column}@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 PnMarketwebSiteheaderSearch=function(){function e(e){registerInstance(this,e);this.i18n=undefined;this.showOnlyLink=false;this.hideSearch=false;this.language=null;this.siteid=null;this.search={};this.primary=false;this.icononly=true;this.autoCompleteOptions=[]}e.prototype.onSearchValueUpdate=function(){this.getAutocomplete(state.searchValue)};e.prototype.getAutocomplete=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,o;return __generator(this,(function(a){switch(a.label){case 0:if(!this.search.AutocompleteEndpoint||e.length<2){this.autoCompleteOptions=[];return[2]}if(state.autocompleteSuggestions[e]){this.setAutocompleteSuggestions(state.autocompleteSuggestions[e]);return[2]}t="".concat(this.search.AutocompleteEndpoint,"?prefix=").concat(e,"&size=10");if(this.language||this.siteid){t+="&tags=";if(this.language){t+="language:".concat(this.language)}if(this.language&&this.siteid){t+=","}if(this.siteid){t+="siteid:".concat(this.siteid)}}return[4,fetch(t,{signal:state.requestAbortController.signal}).catch((function(e){console.warn("Unable to fetch autocomplete suggestions",e)}))];case 1:n=a.sent();if(!n){return[2]}return[4,n.json()];case 2:i=a.sent();if(!i||!i.hits||!i.hits.length){return[2]}o=i.hits.filter((function(e){return e.type==="editorial"})).map((function(e){return e.query}));state.autocompleteSuggestions[e]=o;this.setAutocompleteSuggestions(o);return[2]}}))}))};e.prototype.setAutocompleteSuggestions=function(e){if(typeof e!=="object"||typeof e.length!=="number"||e.length===0){return}this.autoCompleteOptions=e};e.prototype.componentWillLoad=function(){var e=this;onChange("searchValue",(function(){e.onSearchValueUpdate()}))};e.prototype.componentDidRender=function(){var e=this.hostElement.querySelector("pn-search-field input:not([list])");if(e&&this.search.AutocompleteEndpoint){e.setAttribute("list","siteheader-search-autocomplete")}};e.prototype.render=function(){var e=this;if(!this.search.formActionUrl||this.hideSearch){return}var t=this.search.AutocompleteEndpoint?{list:"siteheader-search-autocomplete"}:{};return h("div",{class:"siteheader-search"},this.showOnlyLink?h("a",{href:this.search.formActionUrl,title:this.i18n.searchlabel},h("pn-button",{appearance:"light",icon:"search"})):h("form",{method:"get",action:this.search.formActionUrl,role:"search"},h("pn-search-field",Object.assign({label:this.i18n.searchlabel,name:"q",button:this.icononly?"icon":null},t,{onUpdate:function(e){state.searchValue=e.detail},onSearch:function(){var t=e.hostElement.querySelector("form");if(t){t.submit()}},placeholder:this.i18n.searchplaceholder})),this.primary&&this.search.AutocompleteEndpoint?h("datalist",{id:"siteheader-search-autocomplete"},this.autoCompleteOptions.map((function(e){return h("option",null,e)}))):null))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnMarketwebSiteheaderSearch.style=pnMarketwebSiteheaderSearchCss;var languageData={sv:{navlabel:"Webbplatsväljare"},en:{navlabel:"Website selector"},da:{navlabel:"Webstedsvælger"},no:{navlabel:"Nettstedsvelger"},fi:{navlabel:"Verkkosivun valitsin"},de:{navlabel:"Website-Selektor"}};var pnSiteSelectorCss="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 PnSiteSelector=function(){function e(e){registerInstance(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(languageData[this.language]){this.i18n=languageData[this.language]}};e.prototype.render=function(){return h(Host,null,h("pn-nav-dropdown",{label:this.buttontext,icon:"angle-small-down"},h("nav",{class:"siteselector-nav","aria-label":this.i18n.navlabel},this.heading?h("strong",{class:"siteselector-heading"},this.heading):null,h("ul",{class:"siteselector-list"},h("slot",null)))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnSiteSelector.style=pnSiteSelectorCss;var pnSiteSelectorItemCss="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 PnSiteSelectorItem=function(){function e(e){registerInstance(this,e);this.url="";this.heading="";this.description="";this.newwindow=false}e.prototype.render=function(){return h(Host,{role:"listitem"},this.url?h("a",{class:"siteselector-item-link",href:this.url,target:this.newwindow?"_blank":"self",rel:this.newwindow?"nofollow noopener":""},h("span",null,this.heading&&h("span",{class:"siteselector-item-title"},this.heading),this.description&&h("small",{class:"siteselector-item-description"},this.description)),h("pn-icon",{symbol:"angle-small-right",color:"blue700"})):h("div",null,this.heading&&h("span",{class:"siteselector-item-title"},this.heading),this.description&&h("small",{class:"siteselector-item-description"},this.description)))};return e}();PnSiteSelectorItem.style=pnSiteSelectorItemCss;export{PnlanguageSelector as pn_language_selector,PnlanguageSelectorOption as pn_language_selector_option,PnMainnav as pn_mainnav,PnMainnavLevel as pn_mainnav_level,PnMainnavList as pn_mainnav_list,PnMarketwebSiteheaderLogin as pn_marketweb_siteheader_login,PnMarketwebSiteheaderSearch as pn_marketweb_siteheader_search,PnSiteSelector as pn_site_selector,PnSiteSelectorItem as pn_site_selector_item};
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function r(e){try{l(i.next(e))}catch(t){a(t)}}function s(e){try{l(i["throw"](e))}catch(t){a(t)}}function l(e){e.done?n(e.value):o(e.value).then(r,s)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return l([e,t])}}function l(s){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(n=0)),n)try{if(i=1,o&&(a=s[0]&2?o["return"]:s[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,s[1])).done)return a;if(o=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(l){s=[6,l];o=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,a as Host,g as getElement}from"./index-be8c3299.js";import{s as state$1,o as onChange$1}from"./pn-mainnav-store-35a91e97.js";import{s as state$2}from"./pn-marketweb-siteheader-store-aba9e86a.js";import{c as createStore}from"./index-e6fbe66d.js";var translations$1={sv:{heading:"Språk"},en:{heading:"Language"},da:{heading:"Sprog"},no:{heading:"Språk"},fi:{heading:"Kieli"},de:{heading:"Sprache"},zh:{heading:"语言"},fr:{heading:"Langue"},es:{heading:"Idioma"},nl:{heading:"Spraak"},it:{heading:"Idioma"}};var pnLanguageSelectorCss="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 PnlanguageSelector=function(){function e(e){registerInstance(this,e);this.setLanguage=createEvent(this,"setLanguage",7);this.value="";this.selectedLanguageName="";this.options=[];this.i18n=undefined}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(translations$1[this.value]){this.i18n=translations$1[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 h(Host,{value:this.value},h("pn-nav-dropdown",{label:this.selectedLanguageName,icon:"globe"},h("nav",{class:"languageselector-nav","aria-label":this.i18n.heading},h("strong",{class:"languageselector-title"},this.i18n.heading),h("div",{class:"languageselector-list",role:"list"},h("slot",null)))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["setSelectedLanguageName","setTranslations","onValueChange"]}},enumerable:false,configurable:true});return e}();PnlanguageSelector.style=pnLanguageSelectorCss;var pnLanguageSelectorOptionCss="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 PnlanguageSelectorOption=function(){function e(e){registerInstance(this,e);this.setCurrentLanguage=createEvent(this,"setCurrentLanguage",7);this.name="";this.code="";this.url="";this.selected=false;this.currentLanguage=undefined}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 h(Host,{role:"listitem",selected:this.selected+"",code:this.code,name:this.name},!this.url?h("button",{class:"languageselector-button","data-langcode":this.code,onClick:this.onOptionClick.bind(this)},h("span",{class:"languageselector-radio-outer"},h("span",{class:"languageselector-radio-inner"})),h("span",{class:"languageselector-itemtext"},this.name," - ",this.code)):h("a",{href:this.url,target:"_self",class:"languageselector-link","data-langcode":this.code},h("span",{class:"languageselector-radio-outer"},h("span",{class:"languageselector-radio-inner"})),h("span",{class:"languageselector-itemtext"},this.name," - ",this.code)))};return e}();PnlanguageSelectorOption.style=pnLanguageSelectorOptionCss;var translations={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"},de:{menuHomeButton:"Home",menuGoBackButton:"Geh zurück",mainMenuButton:"Menü",menuStartButton:"Start",navLabel:"Hauptnavigation"},zh:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"},it:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"},nl:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"}};var pnMainnavCss="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 PnMainnav=function(){function e(e){registerInstance(this,e);this.menuLanguageChange=createEvent(this,"menuLanguageChange",7);this.marketChange=createEvent(this,"marketChange",7);this.menuOpenChange=createEvent(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){state$1.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(translations[e.detail]){state$1.i18n=translations[e.detail];if(!this.navLabel){this.navLabel=state$1.i18n.navLabel}}};e.prototype.setMenuOpenState=function(){state$1.openMenu=!state$1.openMenu;this.menuOpenChange.emit(state$1.openMenu)};e.prototype.onOpenMenuLevelChange=function(e){state$1.openLevel=e.detail};e.prototype.render=function(){return h(Host,null,h("div",{class:"mainnav-toggle"},h("button",{"aria-controls":this.navigationId,"aria-expanded":state$1.openMenu+"",onClick:this.setMenuOpenState.bind(this)},state$1.i18n.mainMenuButton,h("pn-icon",{symbol:state$1.openMenu?"close":"bars",color:"white"}))),h("nav",{class:"mainnav","aria-label":this.navLabel,"data-menu-open":state$1.openMenu+"","data-menu-currentlevel":state$1.currentLevel,id:this.navigationId},h("slot",null)))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnMainnav.style=pnMainnavCss;var pnMainnavLevelCss='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 PnMainnavLevel=function(){function e(e){registerInstance(this,e);this.label="";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=this;return __generator(this,(function(t){this.setState();onChange$1("openLevel",(function(){e.onChangeOpenLevel()}));return[2]}))}))};e.prototype.setState=function(){this.listCount=this.hostElement.querySelectorAll(":scope > pn-mainnav-list").length;var e=this.hostElement.parentElement;if(e.tagName.toLowerCase()!=="nav"){this.level=2}if(e.tagName.toLowerCase()==="pn-mainnav-link"){this.parentName=e.getAttribute("name")+"";if(!this.label&&this.parentName){this.label=this.parentName}this.parentHref=e.getAttribute("href")+"";this.parentLinkId=e.getAttribute("linkid")+"";var t=this.parentName.toLowerCase().replace(/\W/gi,"_");this.levelId="mainnav-lvl".concat(this.level,"-").concat(t)}};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 o=e.hostElement.parentElement.getClientRects()[0];if(o.left-t.width<0){e.alignment="center"}else{e.alignment="left"}}}}))}};e.prototype.onChangeOpenLevel=function(){this.isOpen=state$1.openLevel===this.levelId;state$1.currentLevel=this.level};e.prototype.render=function(){return h(Host,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?h("div",{class:"mainnav-level-header"},h("label",{htmlFor:this.levelId},state$1.i18n.menuGoBackButton),h("button",{class:"secondlevel-backbtn",onClick:function(){state$1.openLevel="";state$1.currentLevel=1},"aria-expanded":(state$1.openLevel===this.levelId)+""},h("pn-icon",{symbol:"arrow-left",color:"blue700"}),state$1.i18n.menuStartButton),this.parentHref&&this.label?h("pn-mainnav-link",{href:this.parentHref,name:this.label,linkid:this.parentLinkId}):null):null,h("slot",{name:"top"}),h("slot",null),h("slot",{name:"additional"}),h("slot",{name:"footer"}))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{label:["setState"],isOpen:["onOpen"]}},enumerable:false,configurable:true});return e}();PnMainnavLevel.style=pnMainnavLevelCss;var pnMainnavListCss='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 PnMainnavList=function(){function e(e){registerInstance(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 h(Host,{class:"mainnav-list",role:"list","data-navlist-itemcount":this.linkCount+"","data-navlist-showcolumns":(this.linkCount>=8)+""},this.heading?h("div",{class:"mainnav-list-heading"},this.heading):null,h("slot",null))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnMainnavList.style=pnMainnavListCss;var MarketWebLoginManager=function(){function e(e){if(e===void 0){e=null}var t=this;var n;this.eventTarget=window!==null&&window!==void 0?window:document===null||document===void 0?void 0:document.body;this.endpoint="";this.storagePrefix="pn-user";this.checkUserLoggedInStateInterval=0;this.baseUrls={at:"https://atportal.postnord.com/api/unified-login/backend",prod:"https://portal.postnord.com/api/unified-login/backend"};this.events={loginstatechange:"loginstatechange"};this.endpoints={authorizationEndpoint:"/authorization",tokenExchangeEndpoint:"/token",userInfoEndpoint:"/user",logoutEndpoint:"/logout"};this.keys={tokensource:"tokensource",token:"token",accessToken:"accessToken",user:"user",expire:"expire",expireDate:"expiredate"};this.overridetokenValue="overridetokenValue";this.siteUrl=window.location.origin;this.abortSignalForLoginCheck=null;this.loginCheckInProgress=false;this.loginCheckTimer=null;this.store={get:function(e){var n=window.sessionStorage.getItem("".concat(t.storagePrefix,"-").concat(e));if(!n){return n}if(n.indexOf("{")===0){try{return JSON.parse(n)}catch(i){}}if(n.indexOf(",")!==-1){return n.split(",")}return n},set:function(e,n){if(typeof n==="object"&&typeof n.length==="undefined"){window.sessionStorage.setItem("".concat(t.storagePrefix,"-").concat(e),JSON.stringify(n));return}window.sessionStorage.setItem("".concat(t.storagePrefix,"-").concat(e),n)},remove:function(e){window.sessionStorage.removeItem("".concat(t.storagePrefix,"-").concat(e))}};if(!e){return}this.eventTarget=e.eventTarget?e.eventTarget:this.eventTarget;this.endpoint=e.endpoint?e.endpoint:"".concat(window.location.protocol,"//").concat(window.location.host);(n=this.storagePrefix)!==null&&n!==void 0?n:this.storagePrefix=e.storagePrefix;this.checkUserLoggedInStateInterval=e.checkUserLoggedInStateInterval&&e.checkUserLoggedInStateInterval>0?parseInt(e.checkUserLoggedInStateInterval+"",10):0;if(e.userInfo){this.store.set(this.keys.user,e.userInfo);this.registerToken(this.overridetokenValue,"override")}}e.prototype.init=function(e){if(e===void 0){e=true}if(e){this.checkParameters();this.checkPNTopbar();this.checkExpireTime();if(this.store.get(this.keys.token)&&!this.store.get(this.keys.user)){this.fetchUserInfo()}this.loginStateChange();if(this.checkUserLoggedInStateInterval>0){this.initiateLoggedInCheck()}}};e.prototype.setSiteUrl=function(e){if(e){this.siteUrl=e}};e.prototype.initiateLoggedInCheck=function(){var e=this;if(this.isLoggedIn()){if(window&&window["AbortController"]){this.abortSignalForLoginCheck=new AbortController}this.loginCheckTimer=window.setInterval((function(){e.doExternalLoggedInCheck().then((function(){})).catch((function(){}))}),this.checkUserLoggedInStateInterval)}};e.prototype.doExternalLoggedInCheck=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n;return __generator(this,(function(i){switch(i.label){case 0:if(!window.navigator.onLine){return[2]}if(!this.getToken()){window.clearInterval(this.checkUserLoggedInStateInterval);return[2]}if(this.loginCheckInProgress&&this.abortSignalForLoginCheck){this.abortSignalForLoginCheck.abort();this.abortSignalForLoginCheck=new AbortController}this.loginCheckInProgress=true;e={method:"GET",headers:{Accept:"application/json","Content-Type":"application/json",Authorization:this.getToken()}};if(this.abortSignalForLoginCheck&&this.abortSignalForLoginCheck["signal"]){e["signal"]=this.abortSignalForLoginCheck["signal"]}return[4,fetch("".concat(this.getBaseUrl()).concat(this.endpoints.userInfoEndpoint),e)];case 1:t=i.sent();if(t.status===409){window.clearInterval(this.checkUserLoggedInStateInterval);console.log("Cleared out user data due to bad response from authentication endpoint");this.LogoutUser();return[2]}if(!t.ok){return[2]}return[4,t.json()];case 2:n=i.sent();if(!n||!n["accessToken"]){window.clearInterval(this.checkUserLoggedInStateInterval);console.log("Cleared out user data due to bad response from authentication endpoint");this.LogoutUser()}this.loginCheckInProgress=false;return[2]}}))}))};e.prototype.LogoutUser=function(){this.clearUserData();if(this.eventTarget){var e=this.eventTarget.querySelector("#pn-marketweb-header-logoutlink");if(e){e.click();return}}var t=window.location.href;window.location.href=this.getLogoutUrl(t)};e.prototype.isLoggedIn=function(e){if(e===void 0){e=false}if(e){return e}var t=this.store.get(this.keys.token)&&this.store.get(this.keys.user)?true:false;if(!t&&this.store.get(this.keys.token)===this.overridetokenValue){t=true}return t};e.prototype.registerToken=function(e,t){if(e===void 0){e=""}if(t===void 0){t="frontend"}if(!e||e===this.getToken()){return}this.clearUserData();this.store.set(this.keys.tokensource,t);this.store.set(this.keys.token,e);this.fetchUserInfo()};e.prototype.invalidateTokenOfType=function(e){if(e===void 0){e="frontend"}var t=this.store.get(this.keys.token);if(!t){return}var n=this.store.get(this.keys.tokensource);if(n!==e){return}this.clearUserData()};e.prototype.getLoginUrl=function(e){if(e===void 0){e=""}var t=window.location.href;e=e?e:t;return"".concat(this.getBaseUrl()).concat(this.endpoints.authorizationEndpoint,"?redirectionUrl=").concat(e)};e.prototype.getLogoutUrl=function(e){if(e===void 0){e=""}if(e.indexOf("logout?logoutUrl")!==-1){return e}var t=e.replace("logout","").replace("http://window.location.href/?",window.location.href).replace("https://window.location.href/?",window.location.href);var n=this.siteUrl;try{var i=new URL(this.siteUrl+"");n=i.origin}catch(l){}var o=n.lastIndexOf("/")!==n.length-1;var a=n+(o?"/":"")+"logout";var r="".concat(this.getBaseUrl()).concat(this.endpoints.logoutEndpoint,"?authorization=").concat(this.store.get(this.keys.token),"%26redirectionUrl=").concat(t);var s="".concat(a,"?logoutUrl=").concat(r);return s};e.prototype.getUserInfo=function(){if(this.isLoggedIn()){return this.store.get(this.keys.user)}};e.prototype.getEventTarget=function(){return this.eventTarget};e.prototype.checkExpireTime=function(){var e=this.store.get(this.keys.expire);if(!e){return}var t=new Date;var n=new Date(Math.floor(parseInt(e,10)*1e3));if(t>n){console.info("Login time has expired");this.clearUserData();this.loginStateChange()}};e.prototype.checkPNTopbar=function(){if(this.isLoggedIn()||!window["pnTopbar"]||!window["pnTopbar"]["session_id"]){return}this.store.set(this.keys.token,window["pnTopbar"]["session_id"]);this.fetchUserInfo()};e.prototype.checkParameters=function(){if(!(window===null||window===void 0?void 0:window.location)){return}var e=new URLSearchParams(window.location.search);if(e.get("oneTimeCode")){var t=e.get("oneTimeCode");this.exchangeToken(t).then((function(){var e=window.location.href;var n=e.indexOf("?oneTimeCode")!==-1?"?":"&";var i=e.replace("".concat(n,"oneTimeCode=").concat(t),"");history.replaceState({},document.querySelector("title").innerText,i)}))}};e.prototype.fetchUserInfo=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n,i,o,a,r,s;return __generator(this,(function(l){switch(l.label){case 0:e=this.store.get(this.keys.token);if(this.store.get(this.keys.token)===this.overridetokenValue){console.info("Did not fetch user data since it was set by an override");return[2]}t={method:"GET",headers:{Accept:"application/json","Content-Type":"application/json",Authorization:e}};return[4,fetch("".concat(this.getBaseUrl()).concat(this.endpoints.userInfoEndpoint),t)];case 1:n=l.sent();return[4,n.json()];case 2:i=l.sent();if(i&&i["idToken"]){try{o=i.idToken,a=i.expiryTime,r=i.accessToken;s=this.parseUserInfo(o);if(!s){console.error("Userdata is not valid");this.clearUserData();return[2]}this.store.set(this.keys.user,s);this.store.set(this.keys.accessToken,r);this.store.set(this.keys.expire,a);this.store.set(this.keys.expireDate,new Date(Math.floor(parseInt(a,10)*1e3)));this.loginStateChange()}catch(c){console.error("Unable to get user information",c)}}else{console.error("Unable to get user information. Clearing login state");this.clearUserData()}return[2]}}))}))};e.prototype.clearUserData=function(){this.store.remove(this.keys.user);this.store.remove(this.keys.tokensource);this.store.remove(this.keys.accessToken);this.store.remove(this.keys.token);this.store.remove(this.keys.expire);this.store.remove(this.keys.expireDate)};e.prototype.getToken=function(){return this.store.get(this.keys.token)};e.prototype.getAccessToken=function(){return this.store.get(this.keys.accessToken)};e.prototype.exchangeToken=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(i){switch(i.label){case 0:this.clearUserData();return[4,fetch("".concat(this.getBaseUrl()).concat(this.endpoints.tokenExchangeEndpoint,"?oneTimeCode=").concat(e))];case 1:t=i.sent();return[4,t.json()];case 2:n=i.sent().token;if(typeof n==="string"&&n){this.store.set(this.keys.token,n)}this.fetchUserInfo();return[2]}}))}))};e.prototype.loginStateChange=function(){if(!this.eventTarget){return}this.eventTarget.dispatchEvent(new CustomEvent(this.events.loginstatechange,{detail:this.isLoggedIn()}))};e.prototype.getBaseUrl=function(){var e=this;var t=["localhost","integration.","local."];var n=t.filter((function(t){return e.endpoint.indexOf(t)!==-1})).length>0;if(["devportal.postnord.com","atportal.postnord.com"].indexOf(window.location.hostname)!==-1){n=true}if(n){return this.baseUrls.at}return this.baseUrls.prod};e.prototype.parseUserInfo=function(e){if(!e){return null}var t=e.split(".")[1];var n=t.replace(/-/g,"+").replace(/_/g,"/");var i=decodeURIComponent(atob(n).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""));return JSON.parse(i)};return e}();var pnMarketwebSiteheaderLoginCss='pn-marketweb-siteheader-login{padding:1rem 0;max-height:5.2rem;position:relative}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content{max-width:350px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:2.4rem;padding:4rem}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content pn-button{width:100%}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content pn-marketweb-siteheader-unified-login::after{display:block;content:"";height:2px;background:#F9F8F8;width:100%;margin-top:2.4rem}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span::before{display:block;content:"";height:2px;background:#F9F8F8;width:100%;margin-bottom:2.4rem}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span{font-size:1.4rem;color:#2D2013}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span a{text-decoration:none;color:#005D92}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span a:hover{text-decoration:underline}pn-marketweb-siteheader-login pn-nav-dropdown .nav-dropdown-content-container .nav-dropdown-content span *{margin-bottom:0}pn-marketweb-siteheader-login pn-nav-dropdown{display:none}pn-marketweb-siteheader-login.hydrated pn-nav-dropdown{display:block}';var PnMarketwebSiteheaderLogin=function(){function e(e){registerInstance(this,e);this.loginStateChange=createEvent(this,"loginStateChange",7);var t;this.endpoint="";this.token="";this.i18n={searchlabel:"",searchplaceholder:"",searchbuttontext:"",menuHomeButton:"",menuGoBackButton:"",mainMenuButton:"",menuStartButton:"",profileSelectionFlyoutHeading:"",unifiedLoginButton:"",unifiedMyPagesButton:""};this.siteUrl="";this.emitEvents=true;this.loginDialog=null;this.fullname="";this.loggedin=false;this.showProfileSelection=false;this.showUnifiedLogin=false;this.checkUserLoggedInStateInterval=0;this.environment=undefined;this.loginLinks=undefined;this.toggleButtonText=((t=this.loginDialog)===null||t===void 0?void 0:t.loginMenuLinkText)?this.loginDialog.loginMenuLinkText:"";this.username=this.fullname}e.prototype.componentWillLoad=function(){var e=this.loggedin&&this.fullname?{given_name:this.fullname}:null;state$2.loginManager=new MarketWebLoginManager({endpoint:this.endpoint,eventTarget:this.hostElement,checkUserLoggedInStateInterval:this.checkUserLoggedInStateInterval,userInfo:e});state$2.loginManager.setSiteUrl(this.siteUrl);this.hostElement["loginmanager"]=state$2.loginManager;if(this.token){state$2.loginManager.registerToken(this.token,"backend")}else if(this.emitEvents){state$2.loginManager.invalidateTokenOfType("backend")}this.hostElement.addEventListener(state$2.loginManager.events.loginstatechange,this.onLoginStateChange.bind(this));this.init();this.setUserName();this.setToggleButtonText()};e.prototype.init=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){state$2.loginManager.init(this.emitEvents);this.setToggleButtonText();this.adjustLoginLinks();return[2]}))}))};e.prototype.adjustLoginLinks=function(){var e;if(!((e=this.loginDialog)===null||e===void 0?void 0:e.loginMenuLinks)){return}var t=function(e,t){if(!e.isLogoutLink){e.isLogoutLink=e.pageLink.indexOf("location.href")!==-1&&e.pageLink.indexOf("logout")!==-1}if(e.isLogoutLink){e.href=state$2.loginManager.getLogoutUrl(e.href)}if(t===0&&!e.href){e.href=state$2.loginManager.getLoginUrl();e.linkType="primary"}if(e.primaryLinkApperance&&!e.linkType){e.linkType="primary"}return e};if(this.loginDialog){this.loginDialog.loginMenuLinks=this.loginDialog.loginMenuLinks.map(t);this.loginDialog.loggedInLinks=this.loginDialog.loggedInLinks.map(t)}this.loginDialog.legacyLoginLinks=[{href:state$2.loginManager.getLoginUrl(this.loginDialog.loginUrl),linkText:this.loginDialog.loginLinkText,openInNewWindow:false,isLogoutLink:false,pageLink:null,linkType:"primary",primaryLinkApperance:true},{href:state$2.loginManager.getLoginUrl(this.loginDialog.registerUrl),linkText:this.loginDialog.createLoginLinkText,openInNewWindow:false,isLogoutLink:false,pageLink:null,primaryLinkApperance:false}]};e.prototype.setUserName=function(){var e=state$2.loginManager.getUserInfo();var t="";if(!this.loggedin||!e){this.username=t}if(e&&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&&e.email){t=e.email}if(!t&&this.fullname){t=this.fullname}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:state$2.loginManager.getToken()});this.setUserName();this.setToggleButtonText()}};e.prototype.render=function(){if(!this.loginDialog){return}var e={username:null,loggedin:"false"};if(this.username){e.username=this.username;e.loggedin=this.loggedin+""}return h(Host,Object.assign({},e),h("pn-nav-dropdown",{label:this.toggleButtonText,icon:"user",class:"siteheader-logindialog"},this.showUnifiedLogin&&h("pn-marketweb-siteheader-unified-login",{loggedIn:this.loggedin,myPageLabel:this.i18n.unifiedMyPagesButton,myPageUrl:"https://account.postnord.com/secure/profile",logInLabel:this.i18n.unifiedLoginButton}),this.loggedin&&this.showProfileSelection?h("pn-marketweb-siteheader-login-profileselection",{loginDialog:this.loginDialog,loggedin:this.loggedin,i18n:this.i18n,idNamespace:this.emitEvents?"1":"2",endpoint:this.endpoint}):h("pn-marketweb-siteheader-login-links",{loginDialog:this.loginDialog,loggedin:this.loggedin,idNamespace:this.emitEvents?"1":"2",username:this.username,showUnifiedLogin:this.showUnifiedLogin}),!this.loggedin&&h("span",{innerHTML:"".concat(this.loginDialog.loginInfo)})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{i18n:["init"],loginDialog:["init"]}},enumerable:false,configurable:true});return e}();PnMarketwebSiteheaderLogin.style=pnMarketwebSiteheaderLoginCss;var _b=createStore({searchValue:"",autocompleteSuggestions:{},requestAbortController:new AbortController}),state=_b.state,onChange=_b.onChange;var pnMarketwebSiteheaderSearchCss=".siteheader-search a{display:none}@media screen and (min-width: 48em){.siteheader-search a{display:block}}.siteheader-search pn-search-field>.input-container button{background:#FFFFFF}.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:end;justify-content:flex-end;-ms-flex-align:stretch;align-items:stretch;width:auto;-ms-flex:none;flex:none;display:-ms-flexbox;display:flex;padding:0;margin:0 0 0 0.4rem;position:relative;-ms-flex-direction:column;flex-direction:column}@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 PnMarketwebSiteheaderSearch=function(){function e(e){registerInstance(this,e);this.i18n=undefined;this.showOnlyLink=false;this.hideSearch=false;this.language=null;this.siteid=null;this.search={};this.primary=false;this.icononly=true;this.autoCompleteOptions=[]}e.prototype.onSearchValueUpdate=function(){this.getAutocomplete(state.searchValue)};e.prototype.getAutocomplete=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,o;return __generator(this,(function(a){switch(a.label){case 0:if(!this.search.AutocompleteEndpoint||e.length<2){this.autoCompleteOptions=[];return[2]}if(state.autocompleteSuggestions[e]){this.setAutocompleteSuggestions(state.autocompleteSuggestions[e]);return[2]}t="".concat(this.search.AutocompleteEndpoint,"?prefix=").concat(e,"&size=10");if(this.language||this.siteid){t+="&tags=";if(this.language){t+="language:".concat(this.language)}if(this.language&&this.siteid){t+=","}if(this.siteid){t+="siteid:".concat(this.siteid)}}return[4,fetch(t,{signal:state.requestAbortController.signal}).catch((function(e){console.warn("Unable to fetch autocomplete suggestions",e)}))];case 1:n=a.sent();if(!n){return[2]}return[4,n.json()];case 2:i=a.sent();if(!i||!i.hits||!i.hits.length){return[2]}o=i.hits.filter((function(e){return e.type==="editorial"})).map((function(e){return e.query}));state.autocompleteSuggestions[e]=o;this.setAutocompleteSuggestions(o);return[2]}}))}))};e.prototype.setAutocompleteSuggestions=function(e){if(typeof e!=="object"||typeof e.length!=="number"||e.length===0){return}this.autoCompleteOptions=e};e.prototype.componentWillLoad=function(){var e=this;onChange("searchValue",(function(){e.onSearchValueUpdate()}))};e.prototype.componentDidRender=function(){var e=this.hostElement.querySelector("pn-search-field input:not([list])");if(e&&this.search.AutocompleteEndpoint){e.setAttribute("list","siteheader-search-autocomplete")}};e.prototype.render=function(){var e=this;if(!this.search.formActionUrl||this.hideSearch){return}var t=this.search.AutocompleteEndpoint?{list:"siteheader-search-autocomplete"}:{};return h("div",{class:"siteheader-search"},this.showOnlyLink?h("a",{href:this.search.formActionUrl,title:this.i18n.searchlabel},h("pn-button",{appearance:"light",icon:"search"})):h("form",{method:"get",action:this.search.formActionUrl,role:"search"},h("pn-search-field",Object.assign({label:this.i18n.searchlabel,name:"q",button:this.icononly?"icon":null},t,{onUpdate:function(e){state.searchValue=e.detail},onSearch:function(){var t=e.hostElement.querySelector("form");if(t){t.submit()}},placeholder:this.i18n.searchplaceholder})),this.primary&&this.search.AutocompleteEndpoint?h("datalist",{id:"siteheader-search-autocomplete"},this.autoCompleteOptions.map((function(e){return h("option",null,e)}))):null))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnMarketwebSiteheaderSearch.style=pnMarketwebSiteheaderSearchCss;var languageData={sv:{navlabel:"Webbplatsväljare"},en:{navlabel:"Website selector"},da:{navlabel:"Webstedsvælger"},no:{navlabel:"Nettstedsvelger"},fi:{navlabel:"Verkkosivun valitsin"},de:{navlabel:"Website-Selektor"}};var pnSiteSelectorCss="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 PnSiteSelector=function(){function e(e){registerInstance(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(languageData[this.language]){this.i18n=languageData[this.language]}};e.prototype.render=function(){return h(Host,null,h("pn-nav-dropdown",{label:this.buttontext,icon:"angle-small-down"},h("nav",{class:"siteselector-nav","aria-label":this.i18n.navlabel},this.heading?h("strong",{class:"siteselector-heading"},this.heading):null,h("ul",{class:"siteselector-list"},h("slot",null)))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnSiteSelector.style=pnSiteSelectorCss;var pnSiteSelectorItemCss="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 PnSiteSelectorItem=function(){function e(e){registerInstance(this,e);this.url="";this.heading="";this.description="";this.newwindow=false}e.prototype.render=function(){return h(Host,{role:"listitem"},this.url?h("a",{class:"siteselector-item-link",href:this.url,target:this.newwindow?"_blank":"self",rel:this.newwindow?"nofollow noopener":""},h("span",null,this.heading&&h("span",{class:"siteselector-item-title"},this.heading),this.description&&h("small",{class:"siteselector-item-description"},this.description)),h("pn-icon",{symbol:"angle-small-right",color:"blue700"})):h("div",null,this.heading&&h("span",{class:"siteselector-item-title"},this.heading),this.description&&h("small",{class:"siteselector-item-description"},this.description)))};return e}();PnSiteSelectorItem.style=pnSiteSelectorItemCss;export{PnlanguageSelector as pn_language_selector,PnlanguageSelectorOption as pn_language_selector_option,PnMainnav as pn_mainnav,PnMainnavLevel as pn_mainnav_level,PnMainnavList as pn_mainnav_list,PnMarketwebSiteheaderLogin as pn_marketweb_siteheader_login,PnMarketwebSiteheaderSearch as pn_marketweb_siteheader_search,PnSiteSelector as pn_site_selector,PnSiteSelectorItem as pn_site_selector_item};
@@ -1 +1 @@
1
- import{r as registerInstance,h,a as Host,g as getElement}from"./index-ee44c065.js";var pnLineShapeCss="pn-line-shape .pn-line-shape__container{display:-ms-flexbox;display:flex}pn-line-shape .pn-line-shape__line{border-style:solid;border-width:0.4rem;border-radius:1.6rem;border-color:#00A0D6}pn-line-shape .pn-line-shape__dot{width:0.8rem;border-style:solid;border-width:0.4rem;border-radius:1.6rem;height:0.8rem;border-color:#00A0D6}pn-line-shape[slot=horizontal-line] .pn-line-shape__container{-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:100%;gap:0.8rem;padding:2.4rem 0}pn-line-shape[slot=horizontal-line] .pn-line-shape__line{height:0.8rem;width:100%}pn-line-shape[slot=vertical-line] .pn-line-shape__container{height:100%;-ms-flex-direction:column;flex-direction:column;gap:0.8rem;padding:0.8rem 0.5rem}pn-line-shape[slot=vertical-line] .pn-line-shape__line{height:100%;width:0.8rem}";var PnLineShape=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,null,h("div",{class:"pn-line-shape__container"},h("canvas",{class:"pn-line-shape__line"}),h("canvas",{class:"pn-line-shape__dot"})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnLineShape.style=pnLineShapeCss;export{PnLineShape as pn_line_shape};
1
+ import{r as registerInstance,h,a as Host,g as getElement}from"./index-be8c3299.js";var pnLineShapeCss="pn-line-shape .pn-line-shape__container{display:-ms-flexbox;display:flex}pn-line-shape .pn-line-shape__line{border-style:solid;border-width:0.4rem;border-radius:1.6rem;border-color:#00A0D6}pn-line-shape .pn-line-shape__dot{width:0.8rem;border-style:solid;border-width:0.4rem;border-radius:1.6rem;height:0.8rem;border-color:#00A0D6}pn-line-shape[slot=horizontal-line] .pn-line-shape__container{-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:100%;gap:0.8rem;padding:2.4rem 0}pn-line-shape[slot=horizontal-line] .pn-line-shape__line{height:0.8rem;width:100%}pn-line-shape[slot=vertical-line] .pn-line-shape__container{height:100%;-ms-flex-direction:column;flex-direction:column;gap:0.8rem;padding:0.8rem 0.5rem}pn-line-shape[slot=vertical-line] .pn-line-shape__line{height:100%;width:0.8rem}";var PnLineShape=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,null,h("div",{class:"pn-line-shape__container"},h("canvas",{class:"pn-line-shape__line"}),h("canvas",{class:"pn-line-shape__dot"})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnLineShape.style=pnLineShapeCss;export{PnLineShape as pn_line_shape};
@@ -0,0 +1 @@
1
+ import{r as registerInstance,h,a as Host}from"./index-be8c3299.js";var pnLinkListCss='pn-link-list .link-list__heading{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin-bottom:0.8rem}@media screen and (min-width: 992px){pn-link-list .link-list__heading{margin-bottom:1.6rem}}pn-link-list .link-list{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:relative;overflow:hidden;margin:0;margin-bottom:2.4rem;padding:0}pn-link-list .link-list__container{overflow-x:auto;text-align:center;white-space:nowrap;scrollbar-color:#005D92 #d3cecb}pn-link-list .link-list__container.link-list__active a,pn-link-list .link-list__container.link-list__active li,pn-link-list .link-list__container.link-list__active ul{cursor:grab;cursor:-webkit-grab}pn-link-list .link-list__container::-webkit-scrollbar{height:0.4rem;margin-top:2rem;-webkit-appearance:none}@media screen and (min-width: 768px){pn-link-list .link-list__container::-webkit-scrollbar{height:0.6rem}}pn-link-list .link-list__container::-webkit-scrollbar-thumb{background:#005D92;border-radius:2rem}pn-link-list .link-list__container::-webkit-scrollbar-track{background:#d3cecb;border-radius:2rem;width:100%;margin:0 5rem}@media screen and (min-width: 768px){pn-link-list .link-list__container::-webkit-scrollbar-track{margin:0 10rem}}@media screen and (min-width: 1140px){pn-link-list .link-list__container::-webkit-scrollbar-track{margin:0 15rem}}@media screen and (min-width: 1440px){pn-link-list .link-list__container::-webkit-scrollbar-track{margin:0 20rem}}pn-link-list .link-list__container::-webkit-resizer{display:none}pn-link-list .link-list__container::before,pn-link-list .link-list__container::after{content:"";position:absolute;top:0;bottom:0;height:85%;width:10%}pn-link-list .link-list__container::before{background:-webkit-gradient(linear, right top, left top, color-stop(50%, rgba(255, 255, 255, 0)), color-stop(95%, #FFF));background:linear-gradient(270deg, rgba(255, 255, 255, 0) 50%, #FFF 95%);left:0}pn-link-list .link-list__container::after{background:-webkit-gradient(linear, left top, right top, color-stop(50%, rgba(255, 255, 255, 0)), color-stop(95%, #FFF));background:linear-gradient(90deg, rgba(255, 255, 255, 0) 50%, #FFF 95%);right:0}pn-link-list .link-list__scrollable{display:inline-block;padding:2rem 0 1rem}@media screen and (min-width: 992px){pn-link-list .link-list__scrollable{padding:2rem 2rem 1rem}}pn-link-list [slot=linklist] ul{display:-ms-flexbox;display:flex;list-style:none;margin:0;padding:0 1.6rem}pn-link-list [slot=linklist] li>a{display:block;color:#2D2013;font-size:1.4rem;font-weight:500;line-height:140%;text-decoration:none;cursor:pointer;background-color:#FFFFFF;border:0.1rem solid #D3CECB;border-radius:0.8rem;margin:0 0.8rem;padding:1rem}@media screen and (min-width: 1410px){pn-link-list [slot=linklist] li>a{font-size:1.6rem}}pn-link-list [slot=linklist] li>a:hover,pn-link-list [slot=linklist] li>a:active,pn-link-list [slot=linklist] li>a:focus{color:#FFF}pn-link-list [slot=linklist] li>a:hover,pn-link-list [slot=linklist] li>a:focus{background-color:#005D92}pn-link-list [slot=linklist] li>a:active{background-color:#0D234B}pn-link-list [slot=linklist] li>a:focus{outline:2px solid #005D92;outline-offset:2px}pn-link-list .link-list__button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}@-moz-document url-prefix(){pn-link-list .link-list__scrollable{padding:2rem}}';var PnLinkList=function(){function i(i){registerInstance(this,i);this.slider=null;this.heading=null;this.label=null;this.url=null;this.showMoreLabel=null;this.showMoreUrl=null;this.isDown=false;this.startX=0;this.scrollLeft=0}i.prototype.componentDidLoad=function(){this.slider=document.querySelector(".link-list__container")};i.prototype.handleMouseDown=function(i){var l,n,t;this.isDown=true;(l=this.slider)===null||l===void 0?void 0:l.classList.add("link-list__active");this.startX=i.pageX-((n=this.slider)===null||n===void 0?void 0:n.offsetLeft);this.scrollLeft=(t=this.slider)===null||t===void 0?void 0:t.scrollLeft};i.prototype.handleMouseLeave=function(){var i;this.isDown=false;(i=this.slider)===null||i===void 0?void 0:i.classList.remove("link-list__active")};i.prototype.handleMouseUp=function(){var i;this.isDown=false;(i=this.slider)===null||i===void 0?void 0:i.classList.remove("link-list__active")};i.prototype.handleMouseMove=function(i){var l;if(!this.isDown)return;i.preventDefault();var n=i.pageX-((l=this.slider)===null||l===void 0?void 0:l.offsetLeft);var t=(n-this.startX)*2;this.slider.scrollLeft=this.scrollLeft-t};i.prototype.render=function(){return h(Host,null,h("div",{class:"link-list__heading"},h("h2",null,this.heading)),h("div",{class:"link-list"},h("div",{class:"link-list__container"},h("div",{class:"link-list__scrollable"},h("slot",{name:"linklist"})))),this.showMoreUrl?h("div",{class:"link-list__button"},h("pn-button",{appearance:"light",href:this.showMoreUrl},this.showMoreLabel)," "):"")};return i}();PnLinkList.style=pnLinkListCss;export{PnLinkList as pn_link_list};