@postnord/pn-marketweb-components 4.0.3 → 4.0.4-test

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 (1163) hide show
  1. package/dist/cjs/{MarketWebContextService-0fdc43c8.js → FetchHelper-e951824f.js} +82 -1
  2. package/dist/cjs/FetchHelper-e951824f.js.map +1 -0
  3. package/dist/cjs/{index-4067c6a5.js → index-1d8c9211.js} +2 -2
  4. package/dist/cjs/{index-4067c6a5.js.map → index-1d8c9211.js.map} +1 -1
  5. package/dist/cjs/{index-b02670c2.js → index-34e1c673.js} +4 -53
  6. package/dist/cjs/index-34e1c673.js.map +1 -0
  7. package/dist/cjs/index.cjs.js +1 -1
  8. package/dist/cjs/loader.cjs.js +2 -2
  9. package/dist/cjs/pn-address-autofill.cjs.entry.js +75 -51
  10. package/dist/cjs/pn-address-autofill.cjs.entry.js.map +1 -1
  11. package/dist/cjs/pn-animated-tile.cjs.entry.js +2 -2
  12. package/dist/cjs/pn-animated-tile.cjs.entry.js.map +1 -1
  13. package/dist/cjs/pn-app-banner.cjs.entry.js +3 -3
  14. package/dist/cjs/pn-app-banner.cjs.entry.js.map +1 -1
  15. package/dist/cjs/pn-bonus-progressbar-level.cjs.entry.js +2 -2
  16. package/dist/cjs/pn-bonus-progressbar-level.cjs.entry.js.map +1 -1
  17. package/dist/cjs/pn-bonus-progressbar.cjs.entry.js +2 -2
  18. package/dist/cjs/pn-bonus-progressbar.cjs.entry.js.map +1 -1
  19. package/dist/cjs/pn-breakpoints.cjs.entry.js +3 -3
  20. package/dist/cjs/pn-breakpoints.cjs.entry.js.map +1 -1
  21. package/dist/cjs/pn-chart.cjs.entry.js +2 -2
  22. package/dist/cjs/pn-chart.cjs.entry.js.map +1 -1
  23. package/dist/cjs/pn-charts-card.cjs.entry.js +2 -2
  24. package/dist/cjs/pn-charts-card.cjs.entry.js.map +1 -1
  25. package/dist/cjs/pn-choice-button.cjs.entry.js +2 -2
  26. package/dist/cjs/pn-choice-button.cjs.entry.js.map +1 -1
  27. package/dist/cjs/pn-cta-block.cjs.entry.js +2 -2
  28. package/dist/cjs/pn-cta-block.cjs.entry.js.map +1 -1
  29. package/dist/cjs/pn-customernumber-selector-option.cjs.entry.js +3 -3
  30. package/dist/cjs/pn-customernumber-selector-option.cjs.entry.js.map +1 -1
  31. package/dist/cjs/pn-customernumber-selector.cjs.entry.js +9 -4
  32. package/dist/cjs/pn-customernumber-selector.cjs.entry.js.map +1 -1
  33. package/dist/cjs/pn-date-and-time.cjs.entry.js +2 -2
  34. package/dist/cjs/pn-date-and-time.cjs.entry.js.map +1 -1
  35. package/dist/cjs/pn-dropdown-choice-adds-row.cjs.entry.js +8 -20
  36. package/dist/cjs/pn-dropdown-choice-adds-row.cjs.entry.js.map +1 -1
  37. package/dist/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js +2 -2
  38. package/dist/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js.map +1 -1
  39. package/dist/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js +2 -2
  40. package/dist/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js.map +1 -1
  41. package/dist/cjs/pn-filter-checkbox.cjs.entry.js +2 -2
  42. package/dist/cjs/pn-filter-checkbox.cjs.entry.js.map +1 -1
  43. package/dist/cjs/pn-find-price-result.cjs.entry.js +5 -5
  44. package/dist/cjs/pn-find-price-result.cjs.entry.js.map +1 -1
  45. package/dist/cjs/{pn-find-price-store-0c8256c7.js → pn-find-price-store-051e931b.js} +2 -2
  46. package/dist/cjs/{pn-find-price-store-0c8256c7.js.map → pn-find-price-store-051e931b.js.map} +1 -1
  47. package/dist/cjs/pn-find-price.cjs.entry.js +6 -6
  48. package/dist/cjs/pn-find-price.cjs.entry.js.map +1 -1
  49. package/dist/cjs/pn-find-service-and-price-result.cjs.entry.js +5 -5
  50. package/dist/cjs/pn-find-service-and-price-result.cjs.entry.js.map +1 -1
  51. package/dist/cjs/{pn-find-service-and-price-store-13f060e0.js → pn-find-service-and-price-store-3cec3d31.js} +2 -2
  52. package/dist/cjs/{pn-find-service-and-price-store-13f060e0.js.map → pn-find-service-and-price-store-3cec3d31.js.map} +1 -1
  53. package/dist/cjs/pn-find-service-and-price.cjs.entry.js +5 -5
  54. package/dist/cjs/pn-find-service-and-price.cjs.entry.js.map +1 -1
  55. package/dist/cjs/pn-hero-block-international.cjs.entry.js +3 -3
  56. package/dist/cjs/pn-hero-block-international.cjs.entry.js.map +1 -1
  57. package/dist/cjs/pn-language-selector_9.cjs.entry.js +27 -25
  58. package/dist/cjs/pn-language-selector_9.cjs.entry.js.map +1 -1
  59. package/dist/cjs/pn-line-shape.cjs.entry.js +2 -2
  60. package/dist/cjs/pn-line-shape.cjs.entry.js.map +1 -1
  61. package/dist/cjs/pn-link-list.cjs.entry.js +3 -3
  62. package/dist/cjs/pn-link-list.cjs.entry.js.map +1 -1
  63. package/dist/cjs/pn-mainnav-link.cjs.entry.js +5 -5
  64. package/dist/cjs/pn-mainnav-link.cjs.entry.js.map +1 -1
  65. package/dist/cjs/{pn-mainnav-store-5732f3ca.js → pn-mainnav-store-1a8153fd.js} +2 -2
  66. package/dist/cjs/{pn-mainnav-store-5732f3ca.js.map → pn-mainnav-store-1a8153fd.js.map} +1 -1
  67. package/dist/cjs/pn-market-web-components.cjs.js +2 -2
  68. package/dist/cjs/pn-marketweb-icon.cjs.entry.js +3 -3
  69. package/dist/cjs/pn-marketweb-icon.cjs.entry.js.map +1 -1
  70. package/dist/cjs/pn-marketweb-input.cjs.entry.js +6 -4
  71. package/dist/cjs/pn-marketweb-input.cjs.entry.js.map +1 -1
  72. package/dist/cjs/pn-marketweb-search.cjs.entry.js +5 -6
  73. package/dist/cjs/pn-marketweb-search.cjs.entry.js.map +1 -1
  74. package/dist/cjs/pn-marketweb-sitefooter.cjs.entry.js +10 -7
  75. package/dist/cjs/pn-marketweb-sitefooter.cjs.entry.js.map +1 -1
  76. package/dist/cjs/{pn-marketweb-siteheader-login-button_4.cjs.entry.js → pn-marketweb-siteheader-login-button_5.cjs.entry.js} +26 -8
  77. package/dist/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js.map +1 -0
  78. package/dist/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +4 -4
  79. package/dist/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js.map +1 -1
  80. package/dist/cjs/{pn-marketweb-siteheader-store-ce9d9ac7.js → pn-marketweb-siteheader-store-75853609.js} +2 -2
  81. package/dist/cjs/{pn-marketweb-siteheader-store-ce9d9ac7.js.map → pn-marketweb-siteheader-store-75853609.js.map} +1 -1
  82. package/dist/cjs/pn-marketweb-siteheader.cjs.entry.js +10 -11
  83. package/dist/cjs/pn-marketweb-siteheader.cjs.entry.js.map +1 -1
  84. package/dist/cjs/pn-media-block.cjs.entry.js +6 -6
  85. package/dist/cjs/pn-media-block.cjs.entry.js.map +1 -1
  86. package/dist/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js +2 -2
  87. package/dist/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js.map +1 -1
  88. package/dist/cjs/pn-multi-row-connected-dropdown.cjs.entry.js +2 -2
  89. package/dist/cjs/pn-multi-row-connected-dropdown.cjs.entry.js.map +1 -1
  90. package/dist/cjs/pn-multiple-input.cjs.entry.js +1 -1
  91. package/dist/cjs/pn-parcel-tracker.cjs.entry.js +2 -2
  92. package/dist/cjs/pn-parcel-tracker.cjs.entry.js.map +1 -1
  93. package/dist/cjs/pn-pex-pricefinder.cjs.entry.js +3 -3
  94. package/dist/cjs/pn-pex-pricefinder.cjs.entry.js.map +1 -1
  95. package/dist/cjs/pn-play-on-scroll.cjs.entry.js +1 -1
  96. package/dist/cjs/pn-product-card_3.cjs.entry.js +5 -5
  97. package/dist/cjs/pn-product-card_3.cjs.entry.js.map +1 -1
  98. package/dist/cjs/pn-product-pricelist-result.cjs.entry.js +4 -4
  99. package/dist/cjs/pn-product-pricelist-result.cjs.entry.js.map +1 -1
  100. package/dist/cjs/pn-product-pricelist.cjs.entry.js +6 -6
  101. package/dist/cjs/pn-product-pricelist.cjs.entry.js.map +1 -1
  102. package/dist/cjs/pn-product-tile-info_2.cjs.entry.js +4 -4
  103. package/dist/cjs/pn-product-tile-info_2.cjs.entry.js.map +1 -1
  104. package/dist/cjs/pn-product-tile.cjs.entry.js +3 -3
  105. package/dist/cjs/pn-product-tile.cjs.entry.js.map +1 -1
  106. package/dist/cjs/pn-profile-modal-customernumber.cjs.entry.js +3 -3
  107. package/dist/cjs/pn-profile-modal-customernumber.cjs.entry.js.map +1 -1
  108. package/dist/cjs/pn-profile-modal-profile.cjs.entry.js +6 -6
  109. package/dist/cjs/pn-profile-modal-profile.cjs.entry.js.map +1 -1
  110. package/dist/cjs/{pn-profile-modal-store-16f8092a.js → pn-profile-modal-store-3b6fea24.js} +2 -2
  111. package/dist/cjs/{pn-profile-modal-store-16f8092a.js.map → pn-profile-modal-store-3b6fea24.js.map} +1 -1
  112. package/dist/cjs/pn-profile-modal-type.cjs.entry.js +5 -5
  113. package/dist/cjs/pn-profile-modal-type.cjs.entry.js.map +1 -1
  114. package/dist/cjs/pn-profile-modal.cjs.entry.js +5 -5
  115. package/dist/cjs/pn-profile-modal.cjs.entry.js.map +1 -1
  116. package/dist/cjs/pn-profile-selector-option.cjs.entry.js +3 -3
  117. package/dist/cjs/pn-profile-selector-option.cjs.entry.js.map +1 -1
  118. package/dist/cjs/pn-profile-selector.cjs.entry.js +3 -3
  119. package/dist/cjs/pn-profile-selector.cjs.entry.js.map +1 -1
  120. package/dist/cjs/pn-proxio-findprice-result.cjs.entry.js +3 -3
  121. package/dist/cjs/pn-proxio-findprice-result.cjs.entry.js.map +1 -1
  122. package/dist/cjs/pn-proxio-findprice.cjs.entry.js +8 -9
  123. package/dist/cjs/pn-proxio-findprice.cjs.entry.js.map +1 -1
  124. package/dist/cjs/pn-proxio-pricegroup.cjs.entry.js +5 -6
  125. package/dist/cjs/pn-proxio-pricegroup.cjs.entry.js.map +1 -1
  126. package/dist/cjs/pn-proxio-productcard_4.cjs.entry.js +8 -8
  127. package/dist/cjs/pn-proxio-productcard_4.cjs.entry.js.map +1 -1
  128. package/dist/cjs/pn-quick-cta.cjs.entry.js +2 -2
  129. package/dist/cjs/pn-quick-cta.cjs.entry.js.map +1 -1
  130. package/dist/cjs/pn-quote-card.cjs.entry.js +2 -2
  131. package/dist/cjs/pn-quote-card.cjs.entry.js.map +1 -1
  132. package/dist/cjs/pn-scroll_2.cjs.entry.js +2 -2
  133. package/dist/cjs/pn-scroll_2.cjs.entry.js.map +1 -1
  134. package/dist/cjs/pn-share-item.cjs.entry.js +2 -2
  135. package/dist/cjs/pn-share-item.cjs.entry.js.map +1 -1
  136. package/dist/cjs/pn-share.cjs.entry.js +2 -2
  137. package/dist/cjs/pn-share.cjs.entry.js.map +1 -1
  138. package/dist/cjs/pn-sidenav-level.cjs.entry.js +5 -5
  139. package/dist/cjs/pn-sidenav-level.cjs.entry.js.map +1 -1
  140. package/dist/cjs/pn-sidenav-link.cjs.entry.js +5 -5
  141. package/dist/cjs/pn-sidenav-link.cjs.entry.js.map +1 -1
  142. package/dist/cjs/{pn-sidenav-store-236c8806.js → pn-sidenav-store-cf9c4996.js} +2 -2
  143. package/dist/cjs/{pn-sidenav-store-236c8806.js.map → pn-sidenav-store-cf9c4996.js.map} +1 -1
  144. package/dist/cjs/pn-sidenav-togglebutton.cjs.entry.js +5 -5
  145. package/dist/cjs/pn-sidenav-togglebutton.cjs.entry.js.map +1 -1
  146. package/dist/cjs/pn-sidenav.cjs.entry.js +5 -5
  147. package/dist/cjs/pn-sidenav.cjs.entry.js.map +1 -1
  148. package/dist/cjs/pn-site-footer_3.cjs.entry.js +7 -7
  149. package/dist/cjs/pn-site-footer_3.cjs.entry.js.map +1 -1
  150. package/dist/cjs/pn-spotlight.cjs.entry.js +2 -2
  151. package/dist/cjs/pn-spotlight.cjs.entry.js.map +1 -1
  152. package/dist/cjs/pn-stats-info-data.cjs.entry.js +2 -2
  153. package/dist/cjs/pn-stats-info-data.cjs.entry.js.map +1 -1
  154. package/dist/cjs/pn-stats-info.cjs.entry.js +2 -2
  155. package/dist/cjs/pn-stats-info.cjs.entry.js.map +1 -1
  156. package/dist/cjs/pn-teaser-card.cjs.entry.js +9 -5
  157. package/dist/cjs/pn-teaser-card.cjs.entry.js.map +1 -1
  158. package/dist/cjs/pn-titletag.cjs.entry.js +3 -3
  159. package/dist/cjs/pn-titletag.cjs.entry.js.map +1 -1
  160. package/dist/cjs/pn-usp-promoter.cjs.entry.js +3 -3
  161. package/dist/cjs/pn-usp-promoter.cjs.entry.js.map +1 -1
  162. package/dist/collection/collection-manifest.json +0 -7
  163. package/dist/collection/components/animation/pn-animated-tile/pn-animated-tile.css +0 -25
  164. package/dist/collection/components/animation/pn-play-on-scroll/pn-video-overlay/pn-video-overlay.css +0 -25
  165. package/dist/collection/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.css +0 -25
  166. package/dist/collection/components/cards/pn-quote-card/pn-quote-card.css +0 -25
  167. package/dist/collection/components/cards/pn-teaser-card/pn-teaser-card.css +0 -25
  168. package/dist/collection/components/cards/pn-teaser-card/pn-teaser-card.js +11 -8
  169. package/dist/collection/components/cards/pn-teaser-card/pn-teaser-card.js.map +1 -1
  170. package/dist/collection/components/cards/pn-teaser-card/pn-teaser-card.stories.js +3 -3
  171. package/dist/collection/components/charts/pn-chart/pn-chart.css +0 -25
  172. package/dist/collection/components/charts/pn-charts-card/pn-charts-card.css +0 -25
  173. package/dist/collection/components/cta/pn-cta-block/pn-cta-block.css +0 -25
  174. package/dist/collection/components/cta/pn-parcel-tracker/pn-parcel-tracker.css +0 -25
  175. package/dist/collection/components/cta/pn-quick-cta/pn-quick-cta.css +0 -25
  176. package/dist/collection/components/cta/pn-share/pn-share-item.css +0 -25
  177. package/dist/collection/components/cta/pn-share/pn-share.css +0 -25
  178. package/dist/collection/components/cta/pn-spotlight/pn-spotlight.css +0 -25
  179. package/dist/collection/components/data-visualization/pn-stats-info/pn-stats-info-data/pn-stats-info-data.css +0 -25
  180. package/dist/collection/components/data-visualization/pn-stats-info/pn-stats-info.css +0 -25
  181. package/dist/collection/components/input/pn-address-autofill/pn-address-autofill.css +1 -31
  182. package/dist/collection/components/input/pn-address-autofill/pn-address-autofill.js +68 -58
  183. package/dist/collection/components/input/pn-address-autofill/pn-address-autofill.js.map +1 -1
  184. package/dist/collection/components/input/pn-address-autofill/pn-address-autofill.stories.js +1 -2
  185. package/dist/collection/components/input/pn-address-autofill/translations.js +3 -6
  186. package/dist/collection/components/input/pn-address-autofill/translations.js.map +1 -1
  187. package/dist/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar-level.css +0 -25
  188. package/dist/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.css +0 -25
  189. package/dist/collection/components/input/pn-choice-button/pn-choice-button.css +0 -25
  190. package/dist/collection/components/input/pn-date-and-time/pn-date-and-time.css +0 -25
  191. package/dist/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.css +0 -25
  192. package/dist/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js +6 -18
  193. package/dist/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js.map +1 -1
  194. package/dist/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows-row.css +0 -25
  195. package/dist/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.css +0 -25
  196. package/dist/collection/components/input/pn-filter-checkbox/pn-filter-checkbox.css +0 -25
  197. package/dist/collection/components/input/pn-marketweb-input/pn-marketweb-input.css +0 -25
  198. package/dist/collection/components/input/pn-marketweb-search/pn-marketweb-search.css +0 -25
  199. package/dist/collection/components/input/pn-marketweb-search/pn-marketweb-search.js +3 -4
  200. package/dist/collection/components/input/pn-marketweb-search/pn-marketweb-search.js.map +1 -1
  201. package/dist/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown-row.css +0 -25
  202. package/dist/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.css +0 -25
  203. package/dist/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.css +0 -50
  204. package/dist/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js +1 -1
  205. package/dist/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js.map +1 -1
  206. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.css +0 -25
  207. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.css +0 -25
  208. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.css +0 -25
  209. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js +0 -1
  210. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js.map +1 -1
  211. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.css +0 -25
  212. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js +1 -1
  213. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js.map +1 -1
  214. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.css +0 -25
  215. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js +37 -1
  216. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js.map +1 -1
  217. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.css +6 -45
  218. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +4 -4
  219. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +5 -32
  220. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js.map +1 -1
  221. package/dist/collection/components/media/pn-media-block/pn-media-block.css +0 -25
  222. package/dist/collection/components/media/pn-media-block/pn-media-block.js +8 -8
  223. package/dist/collection/components/media/pn-media-block/pn-media-block.js.map +1 -1
  224. package/dist/collection/components/media/pn-media-block/pn-media-block.stories.js +76 -76
  225. package/dist/collection/components/minor/pn-app-banner/pn-app-banner.css +0 -25
  226. package/dist/collection/components/minor/pn-app-banner/pn-app-banner.js +1 -1
  227. package/dist/collection/components/minor/pn-marketweb-icon/pn-marketweb-icon.css +0 -25
  228. package/dist/collection/components/minor/pn-marketweb-icon/pn-marketweb-icon.js +1 -1
  229. package/dist/collection/components/minor/pn-swan/pn-swan.css +0 -25
  230. package/dist/collection/components/minor/pn-swan/pn-swan.js +1 -1
  231. package/dist/collection/components/minor/pn-titletag/pn-titletag.css +0 -25
  232. package/dist/collection/components/minor/pn-titletag/pn-titletag.js +1 -1
  233. package/dist/collection/components/navigation/pn-language-selector/pn-language-selector-option.css +0 -50
  234. package/dist/collection/components/navigation/pn-language-selector/pn-language-selector-option.js +1 -1
  235. package/dist/collection/components/navigation/pn-language-selector/pn-language-selector.css +0 -50
  236. package/dist/collection/components/navigation/pn-language-selector/pn-language-selector.js +1 -1
  237. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-level.css +0 -25
  238. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-level.js +2 -2
  239. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-link.css +0 -25
  240. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-link.js +1 -1
  241. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-list.css +0 -25
  242. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-list.js +1 -1
  243. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav.css +0 -25
  244. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav.js +1 -1
  245. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-level.css +0 -25
  246. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-level.js +1 -1
  247. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-link.css +0 -25
  248. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-link.js +1 -1
  249. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.css +0 -25
  250. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.js +1 -1
  251. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav.css +0 -25
  252. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav.js +1 -1
  253. package/dist/collection/components/navigation/pn-site-footer/pn-site-footer-col.css +0 -50
  254. package/dist/collection/components/navigation/pn-site-footer/pn-site-footer-col.js +1 -1
  255. package/dist/collection/components/navigation/pn-site-footer/pn-site-footer.css +0 -50
  256. package/dist/collection/components/navigation/pn-site-footer/pn-site-footer.js +1 -1
  257. package/dist/collection/components/navigation/pn-site-selector/pn-site-selector-item.css +0 -25
  258. package/dist/collection/components/navigation/pn-site-selector/pn-site-selector-item.js +1 -1
  259. package/dist/collection/components/navigation/pn-site-selector/pn-site-selector.css +0 -25
  260. package/dist/collection/components/navigation/pn-site-selector/pn-site-selector.js +1 -1
  261. package/dist/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.css +0 -25
  262. package/dist/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.js +1 -1
  263. package/dist/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.css +0 -25
  264. package/dist/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.js +1 -1
  265. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.css +0 -25
  266. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.js +1 -1
  267. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.css +0 -25
  268. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.js +2 -2
  269. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-type.css +0 -25
  270. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-type.js +1 -1
  271. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal.css +0 -25
  272. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal.js +1 -1
  273. package/dist/collection/components/profile/pn-profile-selector/pn-profile-selector-option.css +0 -25
  274. package/dist/collection/components/profile/pn-profile-selector/pn-profile-selector-option.js +1 -1
  275. package/dist/collection/components/profile/pn-profile-selector/pn-profile-selector.css +0 -25
  276. package/dist/collection/components/profile/pn-profile-selector/pn-profile-selector.js +1 -1
  277. package/dist/collection/components/utilities/pn-breakpoints/pn-breakpoints.css +0 -25
  278. package/dist/collection/components/utilities/pn-breakpoints/pn-breakpoints.js +1 -1
  279. package/dist/collection/components/widgets/pn-find-price/pn-find-price-result.css +0 -25
  280. package/dist/collection/components/widgets/pn-find-price/pn-find-price-result.js +1 -1
  281. package/dist/collection/components/widgets/pn-find-price/pn-find-price.css +0 -25
  282. package/dist/collection/components/widgets/pn-find-price/pn-find-price.js +2 -2
  283. package/dist/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.css +0 -25
  284. package/dist/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.js +1 -1
  285. package/dist/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.css +0 -25
  286. package/dist/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.js +1 -1
  287. package/dist/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.css +0 -25
  288. package/dist/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.js +1 -1
  289. package/dist/collection/components/widgets/pn-link-list/pn-link-list.css +0 -25
  290. package/dist/collection/components/widgets/pn-link-list/pn-link-list.js +1 -1
  291. package/dist/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.css +0 -25
  292. package/dist/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +1 -1
  293. package/dist/collection/components/widgets/pn-product-card/pn-product-card-info.css +0 -25
  294. package/dist/collection/components/widgets/pn-product-card/pn-product-card-price.css +0 -25
  295. package/dist/collection/components/widgets/pn-product-card/pn-product-card.css +0 -25
  296. package/dist/collection/components/widgets/pn-product-card/pn-product-card.js +1 -1
  297. package/dist/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.css +0 -25
  298. package/dist/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +1 -1
  299. package/dist/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.css +0 -25
  300. package/dist/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +2 -2
  301. package/dist/collection/components/widgets/pn-product-tile/pn-product-tile-info.css +0 -25
  302. package/dist/collection/components/widgets/pn-product-tile/pn-product-tile-info.js +1 -1
  303. package/dist/collection/components/widgets/pn-product-tile/pn-product-tile-price.css +0 -25
  304. package/dist/collection/components/widgets/pn-product-tile/pn-product-tile.css +0 -25
  305. package/dist/collection/components/widgets/pn-product-tile/pn-product-tile.js +1 -1
  306. package/dist/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.css +0 -25
  307. package/dist/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js +1 -1
  308. package/dist/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.css +0 -25
  309. package/dist/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +3 -3
  310. package/dist/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.css +0 -25
  311. package/dist/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +1 -1
  312. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.css +0 -25
  313. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.js +1 -1
  314. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.css +0 -25
  315. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.js +1 -1
  316. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.css +0 -25
  317. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.css +0 -25
  318. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.js +1 -1
  319. package/dist/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.css +0 -25
  320. package/dist/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.js +1 -1
  321. package/dist/collection/globals/HeadingTag.js +2 -2
  322. package/dist/collection/globals/HeadingTag.js.map +1 -1
  323. package/dist/collection/utils/utils.js +0 -11
  324. package/dist/collection/utils/utils.js.map +1 -1
  325. package/dist/components/FetchHelper.js +243 -1
  326. package/dist/components/FetchHelper.js.map +1 -1
  327. package/dist/components/pn-address-autofill.js +73 -50
  328. package/dist/components/pn-address-autofill.js.map +1 -1
  329. package/dist/components/pn-animated-tile.js +1 -1
  330. package/dist/components/pn-animated-tile.js.map +1 -1
  331. package/dist/components/pn-app-banner.js +2 -2
  332. package/dist/components/pn-app-banner.js.map +1 -1
  333. package/dist/components/pn-bonus-progressbar-level.js +1 -1
  334. package/dist/components/pn-bonus-progressbar-level.js.map +1 -1
  335. package/dist/components/pn-bonus-progressbar.js +1 -1
  336. package/dist/components/pn-bonus-progressbar.js.map +1 -1
  337. package/dist/components/pn-breakpoints.js +2 -2
  338. package/dist/components/pn-breakpoints.js.map +1 -1
  339. package/dist/components/pn-chart.js +1 -1
  340. package/dist/components/pn-chart.js.map +1 -1
  341. package/dist/components/pn-charts-card.js +1 -1
  342. package/dist/components/pn-charts-card.js.map +1 -1
  343. package/dist/components/pn-choice-button2.js +1 -1
  344. package/dist/components/pn-choice-button2.js.map +1 -1
  345. package/dist/components/pn-cta-block.js +1 -1
  346. package/dist/components/pn-cta-block.js.map +1 -1
  347. package/dist/components/pn-customernumber-selector-option.js +2 -2
  348. package/dist/components/pn-customernumber-selector-option.js.map +1 -1
  349. package/dist/components/pn-customernumber-selector.js +8 -3
  350. package/dist/components/pn-customernumber-selector.js.map +1 -1
  351. package/dist/components/pn-date-and-time.js +1 -1
  352. package/dist/components/pn-date-and-time.js.map +1 -1
  353. package/dist/components/pn-dropdown-choice-adds-row.js +7 -19
  354. package/dist/components/pn-dropdown-choice-adds-row.js.map +1 -1
  355. package/dist/components/pn-dropdown-with-multi-input-rows-row2.js +1 -1
  356. package/dist/components/pn-dropdown-with-multi-input-rows-row2.js.map +1 -1
  357. package/dist/components/pn-dropdown-with-multi-input-rows.js +1 -1
  358. package/dist/components/pn-dropdown-with-multi-input-rows.js.map +1 -1
  359. package/dist/components/pn-filter-checkbox2.js +1 -1
  360. package/dist/components/pn-filter-checkbox2.js.map +1 -1
  361. package/dist/components/pn-find-price-result2.js +2 -2
  362. package/dist/components/pn-find-price-result2.js.map +1 -1
  363. package/dist/components/pn-find-price.js +3 -3
  364. package/dist/components/pn-find-price.js.map +1 -1
  365. package/dist/components/pn-find-service-and-price-result2.js +2 -2
  366. package/dist/components/pn-find-service-and-price-result2.js.map +1 -1
  367. package/dist/components/pn-find-service-and-price.js +2 -2
  368. package/dist/components/pn-find-service-and-price.js.map +1 -1
  369. package/dist/components/pn-hero-block-international.js +2 -2
  370. package/dist/components/pn-hero-block-international.js.map +1 -1
  371. package/dist/components/pn-language-selector-option2.js +2 -2
  372. package/dist/components/pn-language-selector-option2.js.map +1 -1
  373. package/dist/components/pn-language-selector2.js +2 -2
  374. package/dist/components/pn-language-selector2.js.map +1 -1
  375. package/dist/components/pn-line-shape.js +1 -1
  376. package/dist/components/pn-line-shape.js.map +1 -1
  377. package/dist/components/pn-link-list.js +2 -2
  378. package/dist/components/pn-link-list.js.map +1 -1
  379. package/dist/components/pn-mainnav-level2.js +3 -3
  380. package/dist/components/pn-mainnav-level2.js.map +1 -1
  381. package/dist/components/pn-mainnav-link2.js +2 -2
  382. package/dist/components/pn-mainnav-link2.js.map +1 -1
  383. package/dist/components/pn-mainnav-list2.js +2 -2
  384. package/dist/components/pn-mainnav-list2.js.map +1 -1
  385. package/dist/components/pn-mainnav2.js +5 -3
  386. package/dist/components/pn-mainnav2.js.map +1 -1
  387. package/dist/components/pn-marketweb-icon.js +2 -2
  388. package/dist/components/pn-marketweb-icon.js.map +1 -1
  389. package/dist/components/pn-marketweb-input2.js +4 -2
  390. package/dist/components/pn-marketweb-input2.js.map +1 -1
  391. package/dist/components/pn-marketweb-search.js +4 -5
  392. package/dist/components/pn-marketweb-search.js.map +1 -1
  393. package/dist/components/pn-marketweb-sitefooter.js +9 -6
  394. package/dist/components/pn-marketweb-sitefooter.js.map +1 -1
  395. package/dist/components/pn-marketweb-siteheader-login-linklist2.js +1 -1
  396. package/dist/components/pn-marketweb-siteheader-login-linklist2.js.map +1 -1
  397. package/dist/components/pn-marketweb-siteheader-login-links2.js +1 -1
  398. package/dist/components/pn-marketweb-siteheader-login-links2.js.map +1 -1
  399. package/dist/components/pn-marketweb-siteheader-login-mypage-button.js +1 -34
  400. package/dist/components/pn-marketweb-siteheader-login-mypage-button.js.map +1 -1
  401. package/dist/components/pn-marketweb-siteheader-login-mypage-button2.js +38 -0
  402. package/dist/components/pn-marketweb-siteheader-login-mypage-button2.js.map +1 -0
  403. package/dist/components/pn-marketweb-siteheader-login-profileselection2.js +1 -2
  404. package/dist/components/pn-marketweb-siteheader-login-profileselection2.js.map +1 -1
  405. package/dist/components/pn-marketweb-siteheader-login2.js +14 -8
  406. package/dist/components/pn-marketweb-siteheader-login2.js.map +1 -1
  407. package/dist/components/pn-marketweb-siteheader-search2.js +1 -1
  408. package/dist/components/pn-marketweb-siteheader-search2.js.map +1 -1
  409. package/dist/components/pn-marketweb-siteheader-unified-login2.js +13 -3
  410. package/dist/components/pn-marketweb-siteheader-unified-login2.js.map +1 -1
  411. package/dist/components/pn-marketweb-siteheader.js +32 -27
  412. package/dist/components/pn-marketweb-siteheader.js.map +1 -1
  413. package/dist/components/pn-media-block.js +6 -6
  414. package/dist/components/pn-media-block.js.map +1 -1
  415. package/dist/components/pn-multi-row-connected-dropdown-row2.js +1 -1
  416. package/dist/components/pn-multi-row-connected-dropdown-row2.js.map +1 -1
  417. package/dist/components/pn-multi-row-connected-dropdown.js +1 -1
  418. package/dist/components/pn-multi-row-connected-dropdown.js.map +1 -1
  419. package/dist/components/pn-parcel-tracker.js +1 -1
  420. package/dist/components/pn-parcel-tracker.js.map +1 -1
  421. package/dist/components/pn-pex-pricefinder.js +2 -2
  422. package/dist/components/pn-pex-pricefinder.js.map +1 -1
  423. package/dist/components/pn-product-card-info2.js +1 -1
  424. package/dist/components/pn-product-card-info2.js.map +1 -1
  425. package/dist/components/pn-product-card-price2.js +1 -1
  426. package/dist/components/pn-product-card-price2.js.map +1 -1
  427. package/dist/components/pn-product-card2.js +2 -2
  428. package/dist/components/pn-product-card2.js.map +1 -1
  429. package/dist/components/pn-product-pricelist-result.js +2 -2
  430. package/dist/components/pn-product-pricelist-result.js.map +1 -1
  431. package/dist/components/pn-product-pricelist.js +3 -3
  432. package/dist/components/pn-product-pricelist.js.map +1 -1
  433. package/dist/components/pn-product-tile-info2.js +2 -2
  434. package/dist/components/pn-product-tile-info2.js.map +1 -1
  435. package/dist/components/pn-product-tile-price2.js +1 -1
  436. package/dist/components/pn-product-tile-price2.js.map +1 -1
  437. package/dist/components/pn-product-tile.js +2 -2
  438. package/dist/components/pn-product-tile.js.map +1 -1
  439. package/dist/components/pn-profile-modal-customernumber.js +2 -2
  440. package/dist/components/pn-profile-modal-customernumber.js.map +1 -1
  441. package/dist/components/pn-profile-modal-profile.js +3 -3
  442. package/dist/components/pn-profile-modal-profile.js.map +1 -1
  443. package/dist/components/pn-profile-modal-type.js +2 -2
  444. package/dist/components/pn-profile-modal-type.js.map +1 -1
  445. package/dist/components/pn-profile-modal.js +2 -2
  446. package/dist/components/pn-profile-modal.js.map +1 -1
  447. package/dist/components/pn-profile-selector-option.js +2 -2
  448. package/dist/components/pn-profile-selector-option.js.map +1 -1
  449. package/dist/components/pn-profile-selector.js +2 -2
  450. package/dist/components/pn-profile-selector.js.map +1 -1
  451. package/dist/components/pn-proxio-findprice-result2.js +2 -2
  452. package/dist/components/pn-proxio-findprice-result2.js.map +1 -1
  453. package/dist/components/pn-proxio-findprice.js +5 -6
  454. package/dist/components/pn-proxio-findprice.js.map +1 -1
  455. package/dist/components/pn-proxio-pricegroup.js +3 -4
  456. package/dist/components/pn-proxio-pricegroup.js.map +1 -1
  457. package/dist/components/pn-proxio-productcard-description2.js +2 -2
  458. package/dist/components/pn-proxio-productcard-description2.js.map +1 -1
  459. package/dist/components/pn-proxio-productcard-information2.js +2 -2
  460. package/dist/components/pn-proxio-productcard-information2.js.map +1 -1
  461. package/dist/components/pn-proxio-productcard-pricelink2.js +1 -1
  462. package/dist/components/pn-proxio-productcard-pricelink2.js.map +1 -1
  463. package/dist/components/pn-proxio-productcard2.js +2 -2
  464. package/dist/components/pn-proxio-productcard2.js.map +1 -1
  465. package/dist/components/pn-quick-cta.js +1 -1
  466. package/dist/components/pn-quick-cta.js.map +1 -1
  467. package/dist/components/pn-quote-card.js +1 -1
  468. package/dist/components/pn-quote-card.js.map +1 -1
  469. package/dist/components/pn-share-item2.js +1 -1
  470. package/dist/components/pn-share-item2.js.map +1 -1
  471. package/dist/components/pn-share.js +1 -1
  472. package/dist/components/pn-share.js.map +1 -1
  473. package/dist/components/pn-sidenav-level.js +2 -2
  474. package/dist/components/pn-sidenav-level.js.map +1 -1
  475. package/dist/components/pn-sidenav-link.js +2 -2
  476. package/dist/components/pn-sidenav-link.js.map +1 -1
  477. package/dist/components/pn-sidenav-togglebutton.js +2 -2
  478. package/dist/components/pn-sidenav-togglebutton.js.map +1 -1
  479. package/dist/components/pn-sidenav.js +2 -2
  480. package/dist/components/pn-sidenav.js.map +1 -1
  481. package/dist/components/pn-site-footer-col2.js +2 -2
  482. package/dist/components/pn-site-footer-col2.js.map +1 -1
  483. package/dist/components/pn-site-footer2.js +2 -2
  484. package/dist/components/pn-site-footer2.js.map +1 -1
  485. package/dist/components/pn-site-selector-item2.js +2 -2
  486. package/dist/components/pn-site-selector-item2.js.map +1 -1
  487. package/dist/components/pn-site-selector2.js +2 -2
  488. package/dist/components/pn-site-selector2.js.map +1 -1
  489. package/dist/components/pn-spotlight.js +1 -1
  490. package/dist/components/pn-spotlight.js.map +1 -1
  491. package/dist/components/pn-stats-info-data2.js +1 -1
  492. package/dist/components/pn-stats-info-data2.js.map +1 -1
  493. package/dist/components/pn-stats-info.js +1 -1
  494. package/dist/components/pn-stats-info.js.map +1 -1
  495. package/dist/components/pn-swan2.js +2 -2
  496. package/dist/components/pn-swan2.js.map +1 -1
  497. package/dist/components/pn-teaser-card.js +9 -5
  498. package/dist/components/pn-teaser-card.js.map +1 -1
  499. package/dist/components/pn-titletag2.js +2 -2
  500. package/dist/components/pn-titletag2.js.map +1 -1
  501. package/dist/components/pn-usp-promoter.js +2 -2
  502. package/dist/components/pn-usp-promoter.js.map +1 -1
  503. package/dist/components/pn-video-overlay2.js +1 -1
  504. package/dist/components/pn-video-overlay2.js.map +1 -1
  505. package/dist/{components/MarketWebContextService.js → esm/FetchHelper-746f2bb6.js} +82 -2
  506. package/dist/esm/FetchHelper-746f2bb6.js.map +1 -0
  507. package/dist/esm/{index-c311acd6.js → index-51d67461.js} +5 -53
  508. package/dist/esm/index-51d67461.js.map +1 -0
  509. package/dist/esm/{index-ae60ebec.js → index-89124075.js} +2 -2
  510. package/dist/esm/{index-ae60ebec.js.map → index-89124075.js.map} +1 -1
  511. package/dist/esm/index.js +1 -1
  512. package/dist/esm/loader.js +3 -3
  513. package/dist/esm/pn-address-autofill.entry.js +74 -50
  514. package/dist/esm/pn-address-autofill.entry.js.map +1 -1
  515. package/dist/esm/pn-animated-tile.entry.js +2 -2
  516. package/dist/esm/pn-animated-tile.entry.js.map +1 -1
  517. package/dist/esm/pn-app-banner.entry.js +3 -3
  518. package/dist/esm/pn-app-banner.entry.js.map +1 -1
  519. package/dist/esm/pn-bonus-progressbar-level.entry.js +2 -2
  520. package/dist/esm/pn-bonus-progressbar-level.entry.js.map +1 -1
  521. package/dist/esm/pn-bonus-progressbar.entry.js +2 -2
  522. package/dist/esm/pn-bonus-progressbar.entry.js.map +1 -1
  523. package/dist/esm/pn-breakpoints.entry.js +3 -3
  524. package/dist/esm/pn-breakpoints.entry.js.map +1 -1
  525. package/dist/esm/pn-chart.entry.js +2 -2
  526. package/dist/esm/pn-chart.entry.js.map +1 -1
  527. package/dist/esm/pn-charts-card.entry.js +2 -2
  528. package/dist/esm/pn-charts-card.entry.js.map +1 -1
  529. package/dist/esm/pn-choice-button.entry.js +2 -2
  530. package/dist/esm/pn-choice-button.entry.js.map +1 -1
  531. package/dist/esm/pn-cta-block.entry.js +2 -2
  532. package/dist/esm/pn-cta-block.entry.js.map +1 -1
  533. package/dist/esm/pn-customernumber-selector-option.entry.js +3 -3
  534. package/dist/esm/pn-customernumber-selector-option.entry.js.map +1 -1
  535. package/dist/esm/pn-customernumber-selector.entry.js +9 -4
  536. package/dist/esm/pn-customernumber-selector.entry.js.map +1 -1
  537. package/dist/esm/pn-date-and-time.entry.js +2 -2
  538. package/dist/esm/pn-date-and-time.entry.js.map +1 -1
  539. package/dist/esm/pn-dropdown-choice-adds-row.entry.js +8 -20
  540. package/dist/esm/pn-dropdown-choice-adds-row.entry.js.map +1 -1
  541. package/dist/esm/pn-dropdown-with-multi-input-rows-row.entry.js +2 -2
  542. package/dist/esm/pn-dropdown-with-multi-input-rows-row.entry.js.map +1 -1
  543. package/dist/esm/pn-dropdown-with-multi-input-rows.entry.js +2 -2
  544. package/dist/esm/pn-dropdown-with-multi-input-rows.entry.js.map +1 -1
  545. package/dist/esm/pn-filter-checkbox.entry.js +2 -2
  546. package/dist/esm/pn-filter-checkbox.entry.js.map +1 -1
  547. package/dist/esm/pn-find-price-result.entry.js +5 -5
  548. package/dist/esm/pn-find-price-result.entry.js.map +1 -1
  549. package/dist/esm/{pn-find-price-store-f97f2325.js → pn-find-price-store-c9a9d3d4.js} +2 -2
  550. package/dist/esm/{pn-find-price-store-f97f2325.js.map → pn-find-price-store-c9a9d3d4.js.map} +1 -1
  551. package/dist/esm/pn-find-price.entry.js +6 -6
  552. package/dist/esm/pn-find-price.entry.js.map +1 -1
  553. package/dist/esm/pn-find-service-and-price-result.entry.js +5 -5
  554. package/dist/esm/pn-find-service-and-price-result.entry.js.map +1 -1
  555. package/dist/esm/{pn-find-service-and-price-store-6553566d.js → pn-find-service-and-price-store-60aa5801.js} +2 -2
  556. package/dist/esm/{pn-find-service-and-price-store-6553566d.js.map → pn-find-service-and-price-store-60aa5801.js.map} +1 -1
  557. package/dist/esm/pn-find-service-and-price.entry.js +5 -5
  558. package/dist/esm/pn-find-service-and-price.entry.js.map +1 -1
  559. package/dist/esm/pn-hero-block-international.entry.js +3 -3
  560. package/dist/esm/pn-hero-block-international.entry.js.map +1 -1
  561. package/dist/esm/pn-language-selector_9.entry.js +27 -25
  562. package/dist/esm/pn-language-selector_9.entry.js.map +1 -1
  563. package/dist/esm/pn-line-shape.entry.js +2 -2
  564. package/dist/esm/pn-line-shape.entry.js.map +1 -1
  565. package/dist/esm/pn-link-list.entry.js +3 -3
  566. package/dist/esm/pn-link-list.entry.js.map +1 -1
  567. package/dist/esm/pn-mainnav-link.entry.js +5 -5
  568. package/dist/esm/pn-mainnav-link.entry.js.map +1 -1
  569. package/dist/esm/{pn-mainnav-store-23387019.js → pn-mainnav-store-9c42bc66.js} +2 -2
  570. package/dist/esm/{pn-mainnav-store-23387019.js.map → pn-mainnav-store-9c42bc66.js.map} +1 -1
  571. package/dist/esm/pn-market-web-components.js +3 -3
  572. package/dist/esm/pn-marketweb-icon.entry.js +3 -3
  573. package/dist/esm/pn-marketweb-icon.entry.js.map +1 -1
  574. package/dist/esm/pn-marketweb-input.entry.js +5 -3
  575. package/dist/esm/pn-marketweb-input.entry.js.map +1 -1
  576. package/dist/esm/pn-marketweb-search.entry.js +5 -6
  577. package/dist/esm/pn-marketweb-search.entry.js.map +1 -1
  578. package/dist/esm/pn-marketweb-sitefooter.entry.js +9 -6
  579. package/dist/esm/pn-marketweb-sitefooter.entry.js.map +1 -1
  580. package/dist/esm/{pn-marketweb-siteheader-login-button_4.entry.js → pn-marketweb-siteheader-login-button_5.entry.js} +26 -9
  581. package/dist/esm/pn-marketweb-siteheader-login-button_5.entry.js.map +1 -0
  582. package/dist/esm/pn-marketweb-siteheader-login-linklist.entry.js +4 -4
  583. package/dist/esm/pn-marketweb-siteheader-login-linklist.entry.js.map +1 -1
  584. package/dist/esm/{pn-marketweb-siteheader-store-f60eb1e4.js → pn-marketweb-siteheader-store-91f74255.js} +2 -2
  585. package/dist/esm/{pn-marketweb-siteheader-store-f60eb1e4.js.map → pn-marketweb-siteheader-store-91f74255.js.map} +1 -1
  586. package/dist/esm/pn-marketweb-siteheader.entry.js +9 -10
  587. package/dist/esm/pn-marketweb-siteheader.entry.js.map +1 -1
  588. package/dist/esm/pn-media-block.entry.js +6 -6
  589. package/dist/esm/pn-media-block.entry.js.map +1 -1
  590. package/dist/esm/pn-multi-row-connected-dropdown-row.entry.js +2 -2
  591. package/dist/esm/pn-multi-row-connected-dropdown-row.entry.js.map +1 -1
  592. package/dist/esm/pn-multi-row-connected-dropdown.entry.js +2 -2
  593. package/dist/esm/pn-multi-row-connected-dropdown.entry.js.map +1 -1
  594. package/dist/esm/pn-multiple-input.entry.js +1 -1
  595. package/dist/esm/pn-parcel-tracker.entry.js +2 -2
  596. package/dist/esm/pn-parcel-tracker.entry.js.map +1 -1
  597. package/dist/esm/pn-pex-pricefinder.entry.js +3 -3
  598. package/dist/esm/pn-pex-pricefinder.entry.js.map +1 -1
  599. package/dist/esm/pn-play-on-scroll.entry.js +1 -1
  600. package/dist/esm/pn-product-card_3.entry.js +5 -5
  601. package/dist/esm/pn-product-card_3.entry.js.map +1 -1
  602. package/dist/esm/pn-product-pricelist-result.entry.js +4 -4
  603. package/dist/esm/pn-product-pricelist-result.entry.js.map +1 -1
  604. package/dist/esm/pn-product-pricelist.entry.js +6 -6
  605. package/dist/esm/pn-product-pricelist.entry.js.map +1 -1
  606. package/dist/esm/pn-product-tile-info_2.entry.js +4 -4
  607. package/dist/esm/pn-product-tile-info_2.entry.js.map +1 -1
  608. package/dist/esm/pn-product-tile.entry.js +3 -3
  609. package/dist/esm/pn-product-tile.entry.js.map +1 -1
  610. package/dist/esm/pn-profile-modal-customernumber.entry.js +3 -3
  611. package/dist/esm/pn-profile-modal-customernumber.entry.js.map +1 -1
  612. package/dist/esm/pn-profile-modal-profile.entry.js +6 -6
  613. package/dist/esm/pn-profile-modal-profile.entry.js.map +1 -1
  614. package/dist/esm/{pn-profile-modal-store-5d651bd5.js → pn-profile-modal-store-4655b124.js} +2 -2
  615. package/dist/esm/{pn-profile-modal-store-5d651bd5.js.map → pn-profile-modal-store-4655b124.js.map} +1 -1
  616. package/dist/esm/pn-profile-modal-type.entry.js +5 -5
  617. package/dist/esm/pn-profile-modal-type.entry.js.map +1 -1
  618. package/dist/esm/pn-profile-modal.entry.js +5 -5
  619. package/dist/esm/pn-profile-modal.entry.js.map +1 -1
  620. package/dist/esm/pn-profile-selector-option.entry.js +3 -3
  621. package/dist/esm/pn-profile-selector-option.entry.js.map +1 -1
  622. package/dist/esm/pn-profile-selector.entry.js +3 -3
  623. package/dist/esm/pn-profile-selector.entry.js.map +1 -1
  624. package/dist/esm/pn-proxio-findprice-result.entry.js +3 -3
  625. package/dist/esm/pn-proxio-findprice-result.entry.js.map +1 -1
  626. package/dist/esm/pn-proxio-findprice.entry.js +7 -8
  627. package/dist/esm/pn-proxio-findprice.entry.js.map +1 -1
  628. package/dist/esm/pn-proxio-pricegroup.entry.js +4 -5
  629. package/dist/esm/pn-proxio-pricegroup.entry.js.map +1 -1
  630. package/dist/esm/pn-proxio-productcard_4.entry.js +8 -8
  631. package/dist/esm/pn-proxio-productcard_4.entry.js.map +1 -1
  632. package/dist/esm/pn-quick-cta.entry.js +2 -2
  633. package/dist/esm/pn-quick-cta.entry.js.map +1 -1
  634. package/dist/esm/pn-quote-card.entry.js +2 -2
  635. package/dist/esm/pn-quote-card.entry.js.map +1 -1
  636. package/dist/esm/pn-scroll_2.entry.js +2 -2
  637. package/dist/esm/pn-scroll_2.entry.js.map +1 -1
  638. package/dist/esm/pn-share-item.entry.js +2 -2
  639. package/dist/esm/pn-share-item.entry.js.map +1 -1
  640. package/dist/esm/pn-share.entry.js +2 -2
  641. package/dist/esm/pn-share.entry.js.map +1 -1
  642. package/dist/esm/pn-sidenav-level.entry.js +5 -5
  643. package/dist/esm/pn-sidenav-level.entry.js.map +1 -1
  644. package/dist/esm/pn-sidenav-link.entry.js +5 -5
  645. package/dist/esm/pn-sidenav-link.entry.js.map +1 -1
  646. package/dist/esm/{pn-sidenav-store-e2038d79.js → pn-sidenav-store-85bdb1e6.js} +2 -2
  647. package/dist/esm/{pn-sidenav-store-e2038d79.js.map → pn-sidenav-store-85bdb1e6.js.map} +1 -1
  648. package/dist/esm/pn-sidenav-togglebutton.entry.js +5 -5
  649. package/dist/esm/pn-sidenav-togglebutton.entry.js.map +1 -1
  650. package/dist/esm/pn-sidenav.entry.js +5 -5
  651. package/dist/esm/pn-sidenav.entry.js.map +1 -1
  652. package/dist/esm/pn-site-footer_3.entry.js +7 -7
  653. package/dist/esm/pn-site-footer_3.entry.js.map +1 -1
  654. package/dist/esm/pn-spotlight.entry.js +2 -2
  655. package/dist/esm/pn-spotlight.entry.js.map +1 -1
  656. package/dist/esm/pn-stats-info-data.entry.js +2 -2
  657. package/dist/esm/pn-stats-info-data.entry.js.map +1 -1
  658. package/dist/esm/pn-stats-info.entry.js +2 -2
  659. package/dist/esm/pn-stats-info.entry.js.map +1 -1
  660. package/dist/esm/pn-teaser-card.entry.js +9 -5
  661. package/dist/esm/pn-teaser-card.entry.js.map +1 -1
  662. package/dist/esm/pn-titletag.entry.js +3 -3
  663. package/dist/esm/pn-titletag.entry.js.map +1 -1
  664. package/dist/esm/pn-usp-promoter.entry.js +3 -3
  665. package/dist/esm/pn-usp-promoter.entry.js.map +1 -1
  666. package/dist/package.json +3 -5
  667. package/dist/pn-market-web-components/index.esm.js +1 -1
  668. package/dist/pn-market-web-components/index.esm.js.map +1 -1
  669. package/dist/pn-market-web-components/p-066e9db9.entry.js +2 -0
  670. package/dist/pn-market-web-components/{p-7b4f9fdf.entry.js.map → p-066e9db9.entry.js.map} +1 -1
  671. package/dist/pn-market-web-components/p-0ec8d040.entry.js +2 -0
  672. package/dist/pn-market-web-components/{p-65a046be.entry.js.map → p-0ec8d040.entry.js.map} +1 -1
  673. package/dist/pn-market-web-components/p-13190b30.js +2 -0
  674. package/dist/pn-market-web-components/{p-ad9a7633.entry.js → p-155c2049.entry.js} +2 -2
  675. package/dist/pn-market-web-components/p-190c6938.entry.js +2 -0
  676. package/dist/pn-market-web-components/{p-389a94e7.entry.js.map → p-190c6938.entry.js.map} +1 -1
  677. package/dist/pn-market-web-components/p-1ec21bd6.entry.js +2 -0
  678. package/dist/pn-market-web-components/{p-f4b14be8.entry.js.map → p-1ec21bd6.entry.js.map} +1 -1
  679. package/dist/pn-market-web-components/p-231b97e1.entry.js +2 -0
  680. package/dist/pn-market-web-components/{p-659a4db5.entry.js.map → p-231b97e1.entry.js.map} +1 -1
  681. package/dist/pn-market-web-components/p-23d69d70.entry.js +2 -0
  682. package/dist/pn-market-web-components/p-23d69d70.entry.js.map +1 -0
  683. package/dist/pn-market-web-components/p-24086c59.entry.js +2 -0
  684. package/dist/pn-market-web-components/{p-7b7629c5.entry.js.map → p-24086c59.entry.js.map} +1 -1
  685. package/dist/pn-market-web-components/{p-8836de82.js → p-2509d18d.js} +2 -2
  686. package/dist/pn-market-web-components/p-25d53df2.entry.js +2 -0
  687. package/dist/pn-market-web-components/{p-72f57a04.entry.js.map → p-25d53df2.entry.js.map} +1 -1
  688. package/dist/pn-market-web-components/p-25dfc349.entry.js +2 -0
  689. package/dist/pn-market-web-components/{p-84fc8e05.entry.js.map → p-25dfc349.entry.js.map} +1 -1
  690. package/dist/pn-market-web-components/{p-f0df7694.entry.js → p-278cda98.entry.js} +4 -4
  691. package/dist/pn-market-web-components/{p-f0df7694.entry.js.map → p-278cda98.entry.js.map} +1 -1
  692. package/dist/pn-market-web-components/p-27d138b4.entry.js +2 -0
  693. package/dist/pn-market-web-components/p-27d138b4.entry.js.map +1 -0
  694. package/dist/pn-market-web-components/p-2b03a4e1.entry.js +2 -0
  695. package/dist/pn-market-web-components/p-2b03a4e1.entry.js.map +1 -0
  696. package/dist/pn-market-web-components/p-3fb8e665.entry.js +2 -0
  697. package/dist/pn-market-web-components/{p-71db6836.entry.js.map → p-3fb8e665.entry.js.map} +1 -1
  698. package/dist/pn-market-web-components/p-45b8cadb.entry.js +2 -0
  699. package/dist/pn-market-web-components/{p-9454075f.entry.js.map → p-45b8cadb.entry.js.map} +1 -1
  700. package/dist/pn-market-web-components/p-45d1e1be.entry.js +2 -0
  701. package/dist/pn-market-web-components/{p-3d10bc37.entry.js.map → p-45d1e1be.entry.js.map} +1 -1
  702. package/dist/pn-market-web-components/p-4d2ca281.entry.js +2 -0
  703. package/dist/pn-market-web-components/{p-ad282b7c.entry.js.map → p-4d2ca281.entry.js.map} +1 -1
  704. package/dist/pn-market-web-components/p-4e3059dd.entry.js +2 -0
  705. package/dist/pn-market-web-components/{p-7db6ef34.entry.js.map → p-4e3059dd.entry.js.map} +1 -1
  706. package/dist/pn-market-web-components/p-4fa5bc85.entry.js +2 -0
  707. package/dist/pn-market-web-components/{p-0fc01d3f.entry.js.map → p-4fa5bc85.entry.js.map} +1 -1
  708. package/dist/pn-market-web-components/p-530274ae.entry.js +2 -0
  709. package/dist/pn-market-web-components/{p-39b75c62.entry.js.map → p-530274ae.entry.js.map} +1 -1
  710. package/dist/pn-market-web-components/p-545c24c0.entry.js +2 -0
  711. package/dist/pn-market-web-components/{p-da56370b.entry.js.map → p-545c24c0.entry.js.map} +1 -1
  712. package/dist/pn-market-web-components/p-55643d76.entry.js +2 -0
  713. package/dist/pn-market-web-components/{p-2a58d83b.entry.js.map → p-55643d76.entry.js.map} +1 -1
  714. package/dist/pn-market-web-components/{p-8a651698.entry.js → p-560e5291.entry.js} +2 -2
  715. package/dist/pn-market-web-components/p-572c4d81.entry.js +2 -0
  716. package/dist/pn-market-web-components/p-572c4d81.entry.js.map +1 -0
  717. package/dist/pn-market-web-components/p-59549c74.entry.js +2 -0
  718. package/dist/pn-market-web-components/{p-b9590d81.entry.js.map → p-59549c74.entry.js.map} +1 -1
  719. package/dist/pn-market-web-components/p-59cb7166.entry.js +2 -0
  720. package/dist/pn-market-web-components/p-59cb7166.entry.js.map +1 -0
  721. package/dist/pn-market-web-components/p-5a1b6e6d.entry.js +2 -0
  722. package/dist/pn-market-web-components/{p-c4e353b3.entry.js.map → p-5a1b6e6d.entry.js.map} +1 -1
  723. package/dist/pn-market-web-components/p-5d06e48f.entry.js +2 -0
  724. package/dist/pn-market-web-components/p-5d06e48f.entry.js.map +1 -0
  725. package/dist/pn-market-web-components/p-62cabd1e.entry.js +2 -0
  726. package/dist/pn-market-web-components/{p-66da6e15.entry.js.map → p-62cabd1e.entry.js.map} +1 -1
  727. package/dist/pn-market-web-components/p-64d0dbba.entry.js +2 -0
  728. package/dist/pn-market-web-components/{p-c9038b03.entry.js.map → p-64d0dbba.entry.js.map} +1 -1
  729. package/dist/pn-market-web-components/p-652f97b9.js +2 -0
  730. package/dist/pn-market-web-components/p-65ab3003.entry.js +2 -0
  731. package/dist/pn-market-web-components/{p-41cdac85.entry.js.map → p-65ab3003.entry.js.map} +1 -1
  732. package/dist/pn-market-web-components/{p-6b1d045c.js → p-65f243c1.js} +2 -2
  733. package/dist/pn-market-web-components/p-65f243c1.js.map +1 -0
  734. package/dist/pn-market-web-components/p-6647d2c4.entry.js +2 -0
  735. package/dist/pn-market-web-components/{p-79e4715c.entry.js.map → p-6647d2c4.entry.js.map} +1 -1
  736. package/dist/pn-market-web-components/p-6a5f7dee.entry.js +2 -0
  737. package/dist/pn-market-web-components/{p-3e197670.entry.js.map → p-6a5f7dee.entry.js.map} +1 -1
  738. package/dist/pn-market-web-components/p-6fdd5b5a.entry.js +2 -0
  739. package/dist/pn-market-web-components/{p-cbb1d57d.entry.js.map → p-6fdd5b5a.entry.js.map} +1 -1
  740. package/dist/pn-market-web-components/p-7076038b.entry.js +2 -0
  741. package/dist/pn-market-web-components/{p-daa74e60.entry.js.map → p-7076038b.entry.js.map} +1 -1
  742. package/dist/pn-market-web-components/p-725aba56.entry.js +2 -0
  743. package/dist/pn-market-web-components/p-725aba56.entry.js.map +1 -0
  744. package/dist/pn-market-web-components/p-72dbca40.entry.js +2 -0
  745. package/dist/pn-market-web-components/{p-2c19edca.entry.js.map → p-72dbca40.entry.js.map} +1 -1
  746. package/dist/pn-market-web-components/p-74fd7435.entry.js +2 -0
  747. package/dist/pn-market-web-components/{p-8d98f709.entry.js.map → p-74fd7435.entry.js.map} +1 -1
  748. package/dist/pn-market-web-components/p-758f1b53.entry.js +2 -0
  749. package/dist/pn-market-web-components/{p-95d32ab4.entry.js.map → p-758f1b53.entry.js.map} +1 -1
  750. package/dist/pn-market-web-components/p-76e6708b.entry.js +2 -0
  751. package/dist/pn-market-web-components/{p-292db484.entry.js.map → p-76e6708b.entry.js.map} +1 -1
  752. package/dist/pn-market-web-components/p-776f3d51.entry.js +2 -0
  753. package/dist/pn-market-web-components/{p-64851da0.entry.js.map → p-776f3d51.entry.js.map} +1 -1
  754. package/dist/pn-market-web-components/p-77a35f5e.entry.js +2 -0
  755. package/dist/pn-market-web-components/{p-542f949d.entry.js.map → p-77a35f5e.entry.js.map} +1 -1
  756. package/dist/pn-market-web-components/p-7c3091eb.entry.js +2 -0
  757. package/dist/pn-market-web-components/p-7c3091eb.entry.js.map +1 -0
  758. package/dist/pn-market-web-components/p-856c235c.entry.js +2 -0
  759. package/dist/pn-market-web-components/{p-f28059f4.entry.js.map → p-856c235c.entry.js.map} +1 -1
  760. package/dist/pn-market-web-components/{p-f9083b7a.js → p-8af1b914.js} +2 -2
  761. package/dist/pn-market-web-components/p-8c26b98d.entry.js +2 -0
  762. package/dist/pn-market-web-components/{p-61bd81d7.entry.js.map → p-8c26b98d.entry.js.map} +1 -1
  763. package/dist/pn-market-web-components/p-90242f18.entry.js +2 -0
  764. package/dist/pn-market-web-components/{p-f5d03222.entry.js.map → p-90242f18.entry.js.map} +1 -1
  765. package/dist/pn-market-web-components/p-94a69959.entry.js +2 -0
  766. package/dist/pn-market-web-components/p-94a69959.entry.js.map +1 -0
  767. package/dist/pn-market-web-components/p-95519556.entry.js +2 -0
  768. package/dist/pn-market-web-components/{p-c89cb749.entry.js.map → p-95519556.entry.js.map} +1 -1
  769. package/dist/pn-market-web-components/{p-930e2943.js → p-959a37d9.js} +2 -2
  770. package/dist/pn-market-web-components/p-a38118be.entry.js +2 -0
  771. package/dist/pn-market-web-components/{p-08b473e0.entry.js.map → p-a38118be.entry.js.map} +1 -1
  772. package/dist/pn-market-web-components/p-a419cd91.entry.js +2 -0
  773. package/dist/pn-market-web-components/{p-230ef9aa.entry.js.map → p-a419cd91.entry.js.map} +1 -1
  774. package/dist/pn-market-web-components/p-a54a298b.entry.js +2 -0
  775. package/dist/pn-market-web-components/p-a54a298b.entry.js.map +1 -0
  776. package/dist/pn-market-web-components/p-a6866467.entry.js +2 -0
  777. package/dist/pn-market-web-components/{p-619f2143.entry.js.map → p-a6866467.entry.js.map} +1 -1
  778. package/dist/pn-market-web-components/p-a72c2729.entry.js +2 -0
  779. package/dist/pn-market-web-components/{p-9088d3f5.entry.js.map → p-a72c2729.entry.js.map} +1 -1
  780. package/dist/pn-market-web-components/p-aeeabb32.entry.js +2 -0
  781. package/dist/pn-market-web-components/{p-4f639380.entry.js.map → p-aeeabb32.entry.js.map} +1 -1
  782. package/dist/pn-market-web-components/p-b35cdbac.entry.js +2 -0
  783. package/dist/pn-market-web-components/{p-5a981927.entry.js.map → p-b35cdbac.entry.js.map} +1 -1
  784. package/dist/pn-market-web-components/p-b5a0275d.entry.js +2 -0
  785. package/dist/pn-market-web-components/{p-8d874454.entry.js.map → p-b5a0275d.entry.js.map} +1 -1
  786. package/dist/pn-market-web-components/p-b693f78a.entry.js +2 -0
  787. package/dist/pn-market-web-components/{p-d17af75d.entry.js.map → p-b693f78a.entry.js.map} +1 -1
  788. package/dist/pn-market-web-components/p-b9340e9c.entry.js +2 -0
  789. package/dist/pn-market-web-components/p-b9340e9c.entry.js.map +1 -0
  790. package/dist/pn-market-web-components/p-b9505c69.entry.js +2 -0
  791. package/dist/pn-market-web-components/{p-e8622338.entry.js.map → p-b9505c69.entry.js.map} +1 -1
  792. package/dist/pn-market-web-components/p-bb1c965e.js +3 -0
  793. package/dist/pn-market-web-components/p-bb1c965e.js.map +1 -0
  794. package/dist/pn-market-web-components/p-c5772021.entry.js +2 -0
  795. package/dist/pn-market-web-components/{p-015127bf.entry.js.map → p-c5772021.entry.js.map} +1 -1
  796. package/dist/pn-market-web-components/{p-fb4cdf98.js → p-cafe11a9.js} +2 -2
  797. package/dist/pn-market-web-components/p-cf39491b.entry.js +2 -0
  798. package/dist/pn-market-web-components/{p-34a98554.entry.js.map → p-cf39491b.entry.js.map} +1 -1
  799. package/dist/pn-market-web-components/p-d0a085cc.entry.js +2 -0
  800. package/dist/pn-market-web-components/{p-d7170c0e.entry.js.map → p-d0a085cc.entry.js.map} +1 -1
  801. package/dist/pn-market-web-components/{p-793e1339.js → p-e09a907b.js} +2 -2
  802. package/dist/pn-market-web-components/p-e2e3ac2f.entry.js +2 -0
  803. package/dist/pn-market-web-components/{p-ce87ff8a.entry.js.map → p-e2e3ac2f.entry.js.map} +1 -1
  804. package/dist/pn-market-web-components/p-e5ae757f.entry.js +2 -0
  805. package/dist/pn-market-web-components/{p-d5c45da2.entry.js.map → p-e5ae757f.entry.js.map} +1 -1
  806. package/dist/pn-market-web-components/p-e6e012fb.entry.js +2 -0
  807. package/dist/pn-market-web-components/{p-35847eda.entry.js.map → p-e6e012fb.entry.js.map} +1 -1
  808. package/dist/pn-market-web-components/p-e8278e9e.entry.js +2 -0
  809. package/dist/pn-market-web-components/{p-85b42b44.entry.js.map → p-e8278e9e.entry.js.map} +1 -1
  810. package/dist/pn-market-web-components/p-e916e99d.entry.js +2 -0
  811. package/dist/pn-market-web-components/{p-60b77eed.entry.js.map → p-e916e99d.entry.js.map} +1 -1
  812. package/dist/pn-market-web-components/p-ea3d6f7e.entry.js +2 -0
  813. package/dist/pn-market-web-components/{p-19bbac6d.entry.js.map → p-ea3d6f7e.entry.js.map} +1 -1
  814. package/dist/pn-market-web-components/p-ea7b0d21.entry.js +2 -0
  815. package/dist/pn-market-web-components/{p-4aedb76c.entry.js.map → p-ea7b0d21.entry.js.map} +1 -1
  816. package/dist/pn-market-web-components/{p-a73e4811.entry.js → p-eaee1dd6.entry.js} +2 -2
  817. package/dist/pn-market-web-components/{p-a73e4811.entry.js.map → p-eaee1dd6.entry.js.map} +1 -1
  818. package/dist/pn-market-web-components/p-fc157a1e.entry.js +2 -0
  819. package/dist/pn-market-web-components/{p-763a4e13.entry.js.map → p-fc157a1e.entry.js.map} +1 -1
  820. package/dist/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  821. package/dist/pn-market-web-components/pn-market-web-components.esm.js.map +1 -1
  822. package/dist/types/components/cards/pn-teaser-card/pn-teaser-card.d.ts +1 -1
  823. package/dist/types/components/input/pn-address-autofill/pn-address-autofill.d.ts +3 -2
  824. package/dist/types/components/input/pn-address-autofill/translations.d.ts +0 -3
  825. package/dist/types/components/input/pn-marketweb-search/pn-marketweb-search.d.ts +1 -1
  826. package/dist/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.d.ts +2 -0
  827. package/dist/types/components/media/pn-media-block/pn-media-block.d.ts +1 -1
  828. package/dist/types/components.d.ts +8 -293
  829. package/dist/types/globals/HeadingTag.d.ts +1 -1
  830. package/dist/types/utils/utils.d.ts +0 -1
  831. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/bin/stencil +0 -0
  832. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/static/favicon.ico +0 -0
  833. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/templates/directory-index.html +0 -0
  834. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/xdg-open +0 -0
  835. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/core-js.js +0 -0
  836. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/dom.js +0 -0
  837. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/es5-html-element.js +0 -0
  838. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/index.js +0 -0
  839. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/system.js +0 -0
  840. package/dist/vscode-data.json +3 -535
  841. package/package.json +3 -5
  842. package/dist/cjs/FetchHelper-2d4c697c.js +0 -85
  843. package/dist/cjs/FetchHelper-2d4c697c.js.map +0 -1
  844. package/dist/cjs/HeadingTag-19376e1f.js +0 -12
  845. package/dist/cjs/HeadingTag-19376e1f.js.map +0 -1
  846. package/dist/cjs/LocalStorageService-e1ee3fac.js +0 -66
  847. package/dist/cjs/LocalStorageService-e1ee3fac.js.map +0 -1
  848. package/dist/cjs/MarketWebContextService-0fdc43c8.js.map +0 -1
  849. package/dist/cjs/alert_exclamation_circle-24f29a5b.js +0 -8
  850. package/dist/cjs/alert_exclamation_circle-24f29a5b.js.map +0 -1
  851. package/dist/cjs/angle_up-049ec1d8.js +0 -12
  852. package/dist/cjs/angle_up-049ec1d8.js.map +0 -1
  853. package/dist/cjs/close-9e014a80.js +0 -8
  854. package/dist/cjs/close-9e014a80.js.map +0 -1
  855. package/dist/cjs/index-b02670c2.js.map +0 -1
  856. package/dist/cjs/pn-chat-message_2.cjs.entry.js +0 -347
  857. package/dist/cjs/pn-chat-message_2.cjs.entry.js.map +0 -1
  858. package/dist/cjs/pn-chat.cjs.entry.js +0 -474
  859. package/dist/cjs/pn-chat.cjs.entry.js.map +0 -1
  860. package/dist/cjs/pn-chat.service-5a8d89b9.js +0 -155
  861. package/dist/cjs/pn-chat.service-5a8d89b9.js.map +0 -1
  862. package/dist/cjs/pn-level-up-modal.cjs.entry.js +0 -77
  863. package/dist/cjs/pn-level-up-modal.cjs.entry.js.map +0 -1
  864. package/dist/cjs/pn-level-up.cjs.entry.js +0 -139
  865. package/dist/cjs/pn-level-up.cjs.entry.js.map +0 -1
  866. package/dist/cjs/pn-level-up.service-0e8e67c2.js +0 -71
  867. package/dist/cjs/pn-level-up.service-0e8e67c2.js.map +0 -1
  868. package/dist/cjs/pn-marketweb-siteheader-login-button_4.cjs.entry.js.map +0 -1
  869. package/dist/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js +0 -25
  870. package/dist/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js.map +0 -1
  871. package/dist/cjs/pn-marketweb-table.cjs.entry.js +0 -467
  872. package/dist/cjs/pn-marketweb-table.cjs.entry.js.map +0 -1
  873. package/dist/cjs/pn-qr-code-generator.cjs.entry.js +0 -2945
  874. package/dist/cjs/pn-qr-code-generator.cjs.entry.js.map +0 -1
  875. package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.css +0 -146
  876. package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js +0 -119
  877. package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js.map +0 -1
  878. package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.js +0 -219
  879. package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.js.map +0 -1
  880. package/dist/collection/components/widgets/pn-chat/pn-chat-stories-constants.js +0 -103
  881. package/dist/collection/components/widgets/pn-chat/pn-chat-stories-constants.js.map +0 -1
  882. package/dist/collection/components/widgets/pn-chat/pn-chat.css +0 -238
  883. package/dist/collection/components/widgets/pn-chat/pn-chat.js +0 -840
  884. package/dist/collection/components/widgets/pn-chat/pn-chat.js.map +0 -1
  885. package/dist/collection/components/widgets/pn-chat/pn-chat.models.js +0 -2
  886. package/dist/collection/components/widgets/pn-chat/pn-chat.models.js.map +0 -1
  887. package/dist/collection/components/widgets/pn-chat/pn-chat.service.js +0 -149
  888. package/dist/collection/components/widgets/pn-chat/pn-chat.service.js.map +0 -1
  889. package/dist/collection/components/widgets/pn-chat/pn-chat.stories.js +0 -116
  890. package/dist/collection/components/widgets/pn-chat/pn-chat.stories.js.map +0 -1
  891. package/dist/collection/components/widgets/pn-chat/translations.js +0 -78
  892. package/dist/collection/components/widgets/pn-chat/translations.js.map +0 -1
  893. package/dist/collection/components/widgets/pn-chat/types.js +0 -2
  894. package/dist/collection/components/widgets/pn-chat/types.js.map +0 -1
  895. package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.css +0 -94
  896. package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js +0 -262
  897. package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js.map +0 -1
  898. package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js +0 -31
  899. package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js.map +0 -1
  900. package/dist/collection/components/widgets/pn-level-up/pn-level-up.css +0 -114
  901. package/dist/collection/components/widgets/pn-level-up/pn-level-up.js +0 -476
  902. package/dist/collection/components/widgets/pn-level-up/pn-level-up.js.map +0 -1
  903. package/dist/collection/components/widgets/pn-level-up/pn-level-up.models.js +0 -2
  904. package/dist/collection/components/widgets/pn-level-up/pn-level-up.models.js.map +0 -1
  905. package/dist/collection/components/widgets/pn-level-up/pn-level-up.service.js +0 -65
  906. package/dist/collection/components/widgets/pn-level-up/pn-level-up.service.js.map +0 -1
  907. package/dist/collection/components/widgets/pn-level-up/pn-level-up.stories.js +0 -88
  908. package/dist/collection/components/widgets/pn-level-up/pn-level-up.stories.js.map +0 -1
  909. package/dist/collection/components/widgets/pn-level-up/types.js +0 -2
  910. package/dist/collection/components/widgets/pn-level-up/types.js.map +0 -1
  911. package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.css +0 -96
  912. package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.js +0 -494
  913. package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.js.map +0 -1
  914. package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.js +0 -82
  915. package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.js.map +0 -1
  916. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.css +0 -264
  917. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.js +0 -701
  918. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.js.map +0 -1
  919. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.service.js +0 -38
  920. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.service.js.map +0 -1
  921. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.js +0 -158
  922. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.js.map +0 -1
  923. package/dist/collection/components/widgets/pn-marketweb-table/translations.js +0 -81
  924. package/dist/collection/components/widgets/pn-marketweb-table/translations.js.map +0 -1
  925. package/dist/collection/components/widgets/pn-marketweb-table/types.js +0 -2
  926. package/dist/collection/components/widgets/pn-marketweb-table/types.js.map +0 -1
  927. package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.css +0 -61
  928. package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js +0 -198
  929. package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js.map +0 -1
  930. package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.js +0 -29
  931. package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.js.map +0 -1
  932. package/dist/collection/globals/LocalStorageService.js +0 -50
  933. package/dist/collection/globals/LocalStorageService.js.map +0 -1
  934. package/dist/collection/globals/ScreensizeDetect.js +0 -80
  935. package/dist/collection/globals/ScreensizeDetect.js.map +0 -1
  936. package/dist/collection/globals/types.js +0 -2
  937. package/dist/collection/globals/types.js.map +0 -1
  938. package/dist/components/HeadingTag.js +0 -10
  939. package/dist/components/HeadingTag.js.map +0 -1
  940. package/dist/components/LocalStorageService.js +0 -64
  941. package/dist/components/LocalStorageService.js.map +0 -1
  942. package/dist/components/MarketWebContextService.js.map +0 -1
  943. package/dist/components/alert_exclamation_circle.js +0 -6
  944. package/dist/components/alert_exclamation_circle.js.map +0 -1
  945. package/dist/components/angle_up.js +0 -9
  946. package/dist/components/angle_up.js.map +0 -1
  947. package/dist/components/close.js +0 -6
  948. package/dist/components/close.js.map +0 -1
  949. package/dist/components/pn-chat-message.d.ts +0 -11
  950. package/dist/components/pn-chat-message.js +0 -8
  951. package/dist/components/pn-chat-message.js.map +0 -1
  952. package/dist/components/pn-chat-message2.js +0 -70
  953. package/dist/components/pn-chat-message2.js.map +0 -1
  954. package/dist/components/pn-chat.d.ts +0 -11
  955. package/dist/components/pn-chat.js +0 -534
  956. package/dist/components/pn-chat.js.map +0 -1
  957. package/dist/components/pn-chat.service.js +0 -153
  958. package/dist/components/pn-chat.service.js.map +0 -1
  959. package/dist/components/pn-level-up-modal.d.ts +0 -11
  960. package/dist/components/pn-level-up-modal.js +0 -8
  961. package/dist/components/pn-level-up-modal.js.map +0 -1
  962. package/dist/components/pn-level-up-modal2.js +0 -170
  963. package/dist/components/pn-level-up-modal2.js.map +0 -1
  964. package/dist/components/pn-level-up.d.ts +0 -11
  965. package/dist/components/pn-level-up.js +0 -185
  966. package/dist/components/pn-level-up.js.map +0 -1
  967. package/dist/components/pn-marketweb-carousel.d.ts +0 -11
  968. package/dist/components/pn-marketweb-carousel.js +0 -8
  969. package/dist/components/pn-marketweb-carousel.js.map +0 -1
  970. package/dist/components/pn-marketweb-carousel2.js +0 -326
  971. package/dist/components/pn-marketweb-carousel2.js.map +0 -1
  972. package/dist/components/pn-marketweb-table.d.ts +0 -11
  973. package/dist/components/pn-marketweb-table.js +0 -510
  974. package/dist/components/pn-marketweb-table.js.map +0 -1
  975. package/dist/components/pn-qr-code-generator.d.ts +0 -11
  976. package/dist/components/pn-qr-code-generator.js +0 -8
  977. package/dist/components/pn-qr-code-generator.js.map +0 -1
  978. package/dist/components/pn-qr-code-generator2.js +0 -2967
  979. package/dist/components/pn-qr-code-generator2.js.map +0 -1
  980. package/dist/esm/FetchHelper-4789695a.js +0 -83
  981. package/dist/esm/FetchHelper-4789695a.js.map +0 -1
  982. package/dist/esm/HeadingTag-e20016ab.js +0 -10
  983. package/dist/esm/HeadingTag-e20016ab.js.map +0 -1
  984. package/dist/esm/LocalStorageService-78b1794d.js +0 -64
  985. package/dist/esm/LocalStorageService-78b1794d.js.map +0 -1
  986. package/dist/esm/MarketWebContextService-16c15670.js +0 -245
  987. package/dist/esm/MarketWebContextService-16c15670.js.map +0 -1
  988. package/dist/esm/alert_exclamation_circle-f0fe7c7b.js +0 -6
  989. package/dist/esm/alert_exclamation_circle-f0fe7c7b.js.map +0 -1
  990. package/dist/esm/angle_up-b5f955ea.js +0 -9
  991. package/dist/esm/angle_up-b5f955ea.js.map +0 -1
  992. package/dist/esm/close-9e7bd787.js +0 -6
  993. package/dist/esm/close-9e7bd787.js.map +0 -1
  994. package/dist/esm/index-c311acd6.js.map +0 -1
  995. package/dist/esm/pn-chat-message_2.entry.js +0 -342
  996. package/dist/esm/pn-chat-message_2.entry.js.map +0 -1
  997. package/dist/esm/pn-chat.entry.js +0 -470
  998. package/dist/esm/pn-chat.entry.js.map +0 -1
  999. package/dist/esm/pn-chat.service-0def5c4e.js +0 -153
  1000. package/dist/esm/pn-chat.service-0def5c4e.js.map +0 -1
  1001. package/dist/esm/pn-level-up-modal.entry.js +0 -73
  1002. package/dist/esm/pn-level-up-modal.entry.js.map +0 -1
  1003. package/dist/esm/pn-level-up.entry.js +0 -135
  1004. package/dist/esm/pn-level-up.entry.js.map +0 -1
  1005. package/dist/esm/pn-level-up.service-5c602f23.js +0 -69
  1006. package/dist/esm/pn-level-up.service-5c602f23.js.map +0 -1
  1007. package/dist/esm/pn-marketweb-siteheader-login-button_4.entry.js.map +0 -1
  1008. package/dist/esm/pn-marketweb-siteheader-login-mypage-button.entry.js +0 -21
  1009. package/dist/esm/pn-marketweb-siteheader-login-mypage-button.entry.js.map +0 -1
  1010. package/dist/esm/pn-marketweb-table.entry.js +0 -463
  1011. package/dist/esm/pn-marketweb-table.entry.js.map +0 -1
  1012. package/dist/esm/pn-qr-code-generator.entry.js +0 -2941
  1013. package/dist/esm/pn-qr-code-generator.entry.js.map +0 -1
  1014. package/dist/pn-market-web-components/p-015127bf.entry.js +0 -2
  1015. package/dist/pn-market-web-components/p-08b473e0.entry.js +0 -2
  1016. package/dist/pn-market-web-components/p-0b5a125d.entry.js +0 -2
  1017. package/dist/pn-market-web-components/p-0b5a125d.entry.js.map +0 -1
  1018. package/dist/pn-market-web-components/p-0b920554.js +0 -2
  1019. package/dist/pn-market-web-components/p-0b920554.js.map +0 -1
  1020. package/dist/pn-market-web-components/p-0fc01d3f.entry.js +0 -2
  1021. package/dist/pn-market-web-components/p-17c43a96.entry.js +0 -2
  1022. package/dist/pn-market-web-components/p-17c43a96.entry.js.map +0 -1
  1023. package/dist/pn-market-web-components/p-19bbac6d.entry.js +0 -2
  1024. package/dist/pn-market-web-components/p-230ef9aa.entry.js +0 -2
  1025. package/dist/pn-market-web-components/p-268dc1fa.entry.js +0 -2
  1026. package/dist/pn-market-web-components/p-268dc1fa.entry.js.map +0 -1
  1027. package/dist/pn-market-web-components/p-28d2f7fa.entry.js +0 -2
  1028. package/dist/pn-market-web-components/p-28d2f7fa.entry.js.map +0 -1
  1029. package/dist/pn-market-web-components/p-292db484.entry.js +0 -2
  1030. package/dist/pn-market-web-components/p-2a58d83b.entry.js +0 -2
  1031. package/dist/pn-market-web-components/p-2c19edca.entry.js +0 -2
  1032. package/dist/pn-market-web-components/p-3478f368.js +0 -2
  1033. package/dist/pn-market-web-components/p-3478f368.js.map +0 -1
  1034. package/dist/pn-market-web-components/p-34a98554.entry.js +0 -2
  1035. package/dist/pn-market-web-components/p-35847eda.entry.js +0 -2
  1036. package/dist/pn-market-web-components/p-366fd15a.js +0 -2
  1037. package/dist/pn-market-web-components/p-366fd15a.js.map +0 -1
  1038. package/dist/pn-market-web-components/p-389a94e7.entry.js +0 -2
  1039. package/dist/pn-market-web-components/p-39b75c62.entry.js +0 -2
  1040. package/dist/pn-market-web-components/p-3a936c5d.entry.js +0 -2
  1041. package/dist/pn-market-web-components/p-3a936c5d.entry.js.map +0 -1
  1042. package/dist/pn-market-web-components/p-3d10bc37.entry.js +0 -2
  1043. package/dist/pn-market-web-components/p-3e197670.entry.js +0 -2
  1044. package/dist/pn-market-web-components/p-40bce1b1.entry.js +0 -2
  1045. package/dist/pn-market-web-components/p-40bce1b1.entry.js.map +0 -1
  1046. package/dist/pn-market-web-components/p-41cdac85.entry.js +0 -2
  1047. package/dist/pn-market-web-components/p-4aedb76c.entry.js +0 -2
  1048. package/dist/pn-market-web-components/p-4e924d13.entry.js +0 -2
  1049. package/dist/pn-market-web-components/p-4e924d13.entry.js.map +0 -1
  1050. package/dist/pn-market-web-components/p-4f639380.entry.js +0 -2
  1051. package/dist/pn-market-web-components/p-51f136f3.entry.js +0 -2
  1052. package/dist/pn-market-web-components/p-51f136f3.entry.js.map +0 -1
  1053. package/dist/pn-market-web-components/p-542f949d.entry.js +0 -2
  1054. package/dist/pn-market-web-components/p-5a981927.entry.js +0 -2
  1055. package/dist/pn-market-web-components/p-5f4ccd8a.js +0 -2
  1056. package/dist/pn-market-web-components/p-5f4ccd8a.js.map +0 -1
  1057. package/dist/pn-market-web-components/p-60b77eed.entry.js +0 -2
  1058. package/dist/pn-market-web-components/p-619f2143.entry.js +0 -2
  1059. package/dist/pn-market-web-components/p-61bd81d7.entry.js +0 -2
  1060. package/dist/pn-market-web-components/p-64851da0.entry.js +0 -2
  1061. package/dist/pn-market-web-components/p-659a4db5.entry.js +0 -2
  1062. package/dist/pn-market-web-components/p-65a046be.entry.js +0 -2
  1063. package/dist/pn-market-web-components/p-66da6e15.entry.js +0 -2
  1064. package/dist/pn-market-web-components/p-6b1d045c.js.map +0 -1
  1065. package/dist/pn-market-web-components/p-6bec8d72.js +0 -2
  1066. package/dist/pn-market-web-components/p-6bec8d72.js.map +0 -1
  1067. package/dist/pn-market-web-components/p-71db6836.entry.js +0 -2
  1068. package/dist/pn-market-web-components/p-72828265.js +0 -2
  1069. package/dist/pn-market-web-components/p-72f57a04.entry.js +0 -2
  1070. package/dist/pn-market-web-components/p-763a4e13.entry.js +0 -2
  1071. package/dist/pn-market-web-components/p-76c2c01f.js +0 -2
  1072. package/dist/pn-market-web-components/p-76c2c01f.js.map +0 -1
  1073. package/dist/pn-market-web-components/p-79e4715c.entry.js +0 -2
  1074. package/dist/pn-market-web-components/p-7b4f9fdf.entry.js +0 -2
  1075. package/dist/pn-market-web-components/p-7b7629c5.entry.js +0 -2
  1076. package/dist/pn-market-web-components/p-7db6ef34.entry.js +0 -2
  1077. package/dist/pn-market-web-components/p-809ed802.entry.js +0 -2
  1078. package/dist/pn-market-web-components/p-809ed802.entry.js.map +0 -1
  1079. package/dist/pn-market-web-components/p-82546a44.js +0 -3
  1080. package/dist/pn-market-web-components/p-82546a44.js.map +0 -1
  1081. package/dist/pn-market-web-components/p-84fc8e05.entry.js +0 -2
  1082. package/dist/pn-market-web-components/p-85b42b44.entry.js +0 -2
  1083. package/dist/pn-market-web-components/p-8d78b631.js +0 -2
  1084. package/dist/pn-market-web-components/p-8d78b631.js.map +0 -1
  1085. package/dist/pn-market-web-components/p-8d874454.entry.js +0 -2
  1086. package/dist/pn-market-web-components/p-8d98f709.entry.js +0 -2
  1087. package/dist/pn-market-web-components/p-9088d3f5.entry.js +0 -2
  1088. package/dist/pn-market-web-components/p-920ce5f2.entry.js +0 -2
  1089. package/dist/pn-market-web-components/p-920ce5f2.entry.js.map +0 -1
  1090. package/dist/pn-market-web-components/p-923aa6d2.entry.js +0 -2
  1091. package/dist/pn-market-web-components/p-923aa6d2.entry.js.map +0 -1
  1092. package/dist/pn-market-web-components/p-9454075f.entry.js +0 -2
  1093. package/dist/pn-market-web-components/p-95d32ab4.entry.js +0 -2
  1094. package/dist/pn-market-web-components/p-a298a263.entry.js +0 -2
  1095. package/dist/pn-market-web-components/p-a298a263.entry.js.map +0 -1
  1096. package/dist/pn-market-web-components/p-ad282b7c.entry.js +0 -2
  1097. package/dist/pn-market-web-components/p-b9590d81.entry.js +0 -2
  1098. package/dist/pn-market-web-components/p-c4e353b3.entry.js +0 -2
  1099. package/dist/pn-market-web-components/p-c89cb749.entry.js +0 -2
  1100. package/dist/pn-market-web-components/p-c9038b03.entry.js +0 -2
  1101. package/dist/pn-market-web-components/p-cbb1d57d.entry.js +0 -2
  1102. package/dist/pn-market-web-components/p-cda742ba.entry.js +0 -2
  1103. package/dist/pn-market-web-components/p-cda742ba.entry.js.map +0 -1
  1104. package/dist/pn-market-web-components/p-ce87ff8a.entry.js +0 -2
  1105. package/dist/pn-market-web-components/p-cf8a1fb9.js +0 -2
  1106. package/dist/pn-market-web-components/p-cf8a1fb9.js.map +0 -1
  1107. package/dist/pn-market-web-components/p-d17af75d.entry.js +0 -2
  1108. package/dist/pn-market-web-components/p-d5c45da2.entry.js +0 -2
  1109. package/dist/pn-market-web-components/p-d7170c0e.entry.js +0 -2
  1110. package/dist/pn-market-web-components/p-d75a2f7c.entry.js +0 -2
  1111. package/dist/pn-market-web-components/p-d75a2f7c.entry.js.map +0 -1
  1112. package/dist/pn-market-web-components/p-da56370b.entry.js +0 -2
  1113. package/dist/pn-market-web-components/p-daa74e60.entry.js +0 -2
  1114. package/dist/pn-market-web-components/p-dc2ee6f8.entry.js +0 -2
  1115. package/dist/pn-market-web-components/p-dc2ee6f8.entry.js.map +0 -1
  1116. package/dist/pn-market-web-components/p-e8622338.entry.js +0 -2
  1117. package/dist/pn-market-web-components/p-eb21f772.entry.js +0 -2
  1118. package/dist/pn-market-web-components/p-eb21f772.entry.js.map +0 -1
  1119. package/dist/pn-market-web-components/p-efab81a9.entry.js +0 -2
  1120. package/dist/pn-market-web-components/p-efab81a9.entry.js.map +0 -1
  1121. package/dist/pn-market-web-components/p-f28059f4.entry.js +0 -2
  1122. package/dist/pn-market-web-components/p-f28d0971.entry.js +0 -2
  1123. package/dist/pn-market-web-components/p-f28d0971.entry.js.map +0 -1
  1124. package/dist/pn-market-web-components/p-f4b14be8.entry.js +0 -2
  1125. package/dist/pn-market-web-components/p-f5d03222.entry.js +0 -2
  1126. package/dist/pn-market-web-components/p-fe466661.js +0 -2
  1127. package/dist/types/components/widgets/pn-chat/pn-chat-message/pn-chat-message.d.ts +0 -11
  1128. package/dist/types/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.d.ts +0 -7
  1129. package/dist/types/components/widgets/pn-chat/pn-chat-stories-constants.d.ts +0 -43
  1130. package/dist/types/components/widgets/pn-chat/pn-chat.d.ts +0 -72
  1131. package/dist/types/components/widgets/pn-chat/pn-chat.models.d.ts +0 -22
  1132. package/dist/types/components/widgets/pn-chat/pn-chat.service.d.ts +0 -26
  1133. package/dist/types/components/widgets/pn-chat/pn-chat.stories.d.ts +0 -8
  1134. package/dist/types/components/widgets/pn-chat/translations.d.ts +0 -77
  1135. package/dist/types/components/widgets/pn-chat/types.d.ts +0 -68
  1136. package/dist/types/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.d.ts +0 -23
  1137. package/dist/types/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.d.ts +0 -5
  1138. package/dist/types/components/widgets/pn-level-up/pn-level-up.d.ts +0 -43
  1139. package/dist/types/components/widgets/pn-level-up/pn-level-up.models.d.ts +0 -22
  1140. package/dist/types/components/widgets/pn-level-up/pn-level-up.service.d.ts +0 -16
  1141. package/dist/types/components/widgets/pn-level-up/pn-level-up.stories.d.ts +0 -7
  1142. package/dist/types/components/widgets/pn-level-up/types.d.ts +0 -1
  1143. package/dist/types/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.d.ts +0 -48
  1144. package/dist/types/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.d.ts +0 -7
  1145. package/dist/types/components/widgets/pn-marketweb-table/pn-marketweb-table.d.ts +0 -55
  1146. package/dist/types/components/widgets/pn-marketweb-table/pn-marketweb-table.service.d.ts +0 -11
  1147. package/dist/types/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.d.ts +0 -26
  1148. package/dist/types/components/widgets/pn-marketweb-table/translations.d.ts +0 -80
  1149. package/dist/types/components/widgets/pn-marketweb-table/types.d.ts +0 -38
  1150. package/dist/types/components/widgets/pn-qr-code-generator/pn-qr-code-generator.d.ts +0 -23
  1151. package/dist/types/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.d.ts +0 -5
  1152. package/dist/types/globals/LocalStorageService.d.ts +0 -14
  1153. package/dist/types/globals/ScreensizeDetect.d.ts +0 -29
  1154. package/dist/types/globals/types.d.ts +0 -20
  1155. /package/dist/pn-market-web-components/{p-fe466661.js.map → p-13190b30.js.map} +0 -0
  1156. /package/dist/pn-market-web-components/{p-ad9a7633.entry.js.map → p-155c2049.entry.js.map} +0 -0
  1157. /package/dist/pn-market-web-components/{p-8836de82.js.map → p-2509d18d.js.map} +0 -0
  1158. /package/dist/pn-market-web-components/{p-8a651698.entry.js.map → p-560e5291.entry.js.map} +0 -0
  1159. /package/dist/pn-market-web-components/{p-72828265.js.map → p-652f97b9.js.map} +0 -0
  1160. /package/dist/pn-market-web-components/{p-f9083b7a.js.map → p-8af1b914.js.map} +0 -0
  1161. /package/dist/pn-market-web-components/{p-930e2943.js.map → p-959a37d9.js.map} +0 -0
  1162. /package/dist/pn-market-web-components/{p-fb4cdf98.js.map → p-cafe11a9.js.map} +0 -0
  1163. /package/dist/pn-market-web-components/{p-793e1339.js.map → p-e09a907b.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"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C9B,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,WAAW,GAAG,EAAE,EAClC,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,QAAQ,EAC/B,GAAG,EAAE,UAAU,CAAC,QAAQ,CAAC,EACzB,MAAM,EAAE,IAAI,CAAC,MAAM,GAAG,UAAU,GACT,CAC1B,IACC,IAAI,CACJ,EACN,4DAAK,IAAI,EAAC,cAAc,IACrB,IAAI,CAAC,IAAI,CAAC,oBAAoB,IAC7B,SAAG,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,EAAC,QAAQ,IACjD,eAAS,IAAI,EAAE,UAAU,EAAE,KAAK,EAAC,SAAS,GAAW,EACpD,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAC1B,IACF,IAAI,CACJ,EAEN,4DAAK,IAAI,EAAC,gBAAgB,IACvB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,KAAK,gBAAgB,IACtD,WAAK,EAAE,EAAC,SAAS,IACf,cAAK,KAAK,CAAC,IAAI,CAAC,kBAAkB,CAAM,EACxC,eACE,SAAG,IAAI,EAAE,UAAU,CAAC,eAAe,CAAC,EAAE,MAAM,EAAC,QAAQ,IACnD,WAAK,KAAK,EAAC,mBAAmB,EAAC,GAAG,EAAE,UAAU,CAAC,YAAY,CAAC,GAAQ,CAClE,EACJ,SAAG,IAAI,EAAE,UAAU,CAAC,WAAW,CAAC,EAAE,MAAM,EAAC,QAAQ,IAC/C,WAAK,KAAK,EAAC,iBAAiB,EAAC,GAAG,EAAE,UAAU,CAAC,QAAQ,CAAC,GAAQ,CAC5D,CACA,CACF,IACJ,IAAI,CACJ,CACU,CAEf,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["node_modules/pn-design-assets/pn-assets/icons/map_marker.js","src/components/widgets/pn-find-price/data.js","src/components/widgets/pn-find-price/pn-find-price-store.tsx","src/components/widgets/pn-find-price/pn-find-price-result.scss?tag=pn-find-price-result","src/components/widgets/pn-find-price/pn-find-price-result.tsx"],"sourcesContent":["const icon = '<svg class=\"pn-icon-svg\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"#000\" fill-rule=\"evenodd\" d=\"M12 2a8 8 0 0 0-6.857 12.124l.014.022 4.454 6.586a2.884 2.884 0 0 0 4.778 0l4.454-6.586.014-.022A8 8 0 0 0 12 2m-6 8a6 6 0 1 1 11.156 3.07l-4.424 6.541a.883.883 0 0 1-1.464 0L6.844 13.07A5.97 5.97 0 0 1 6 10m6-2.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5\" clip-rule=\"evenodd\"/></svg>';\nexport const map_marker = icon;\nexport const mapMarker = icon;\n","const sizeCategories = [\n { name: 'Small', value: 'Small', illustration: 'eli1n', unit: 'small' },\n { name: 'Medium', value: 'Medium', illustration: 'medium-package', unit: 'medium' },\n { name: 'Large', value: 'Large', illustration: 'large-package', unit: 'large' },\n];\n\nconst weights = {\n small: [\n { name: '50 g', abbreviation: 'g', value: 50 },\n { name: '100 g', abbreviation: 'g', value: 100 },\n { name: '250 g', abbreviation: 'g', value: 250 },\n { name: '500 g', abbreviation: 'g', value: 500 },\n { name: '1 kg', abbreviation: 'kg', value: 1 },\n { name: '2 kg', abbreviation: 'kg', value: 2 },\n ],\n medium: [\n { name: '1 kg', abbreviation: 'kg', value: 1 },\n { name: '2 kg', abbreviation: 'kg', value: 2 },\n { name: '3 kg', abbreviation: 'kg', value: 3 },\n { name: '5 kg', abbreviation: 'kg', value: 5 },\n { name: '10 kg', abbreviation: 'kg', value: 10 },\n { name: '15 kg', abbreviation: 'kg', value: 15 },\n { name: '20 kg', abbreviation: 'kg', value: 20 },\n ],\n large: [\n { name: '3 kg', abbreviation: 'kg', value: 3 },\n { name: '5 kg', abbreviation: 'kg', value: 5 },\n { name: '10 kg', abbreviation: 'kg', value: 10 },\n { name: '15 kg', abbreviation: 'kg', value: 15 },\n { name: '20 kg', abbreviation: 'kg', value: 20 },\n ],\n};\n\nconst RealValues = {\n WebUrl: 'https://riktigavykort.postnord.se/sv',\n AndroidAppUrl: 'https://play.google.com/store/apps/details?id=se.posten.riktigavykort&hl=sv',\n AndroidImg: 'https://com-inte.postnord.com/globalassets/icons/logos-and-badges/google-play-badge_se.svg',\n IosAppUrl: 'https://apps.apple.com/se/app/riktiga-vykort/id444458799?l=sv',\n IosImg: 'https://com-inte.postnord.com/globalassets/icons/logos-and-badges/app_store_badge_se_rgb_blk.svg',\n};\n\nconst fileLocation = 'https://com-inte.postnord.com/globalassets/global/prices/sv-findprice-1-PN.xlsx';\n\nconst sendDirectUrl = 'https://portal.postnord.com/skickadirekt/';\n\nconst stampShopUrl = 'https://shop.postnord.se/ebutik/default.aspx';\n\nconst productDescriptionUrl = 'https://se-inte.postnord.com/skicka-forsandelser/brev-och-vykort/';\n\nexport { weights, sizeCategories, fileLocation, sendDirectUrl, stampShopUrl, RealValues };\n","import { createStore } from '@stencil/store';\n// Read more about how stencil stores work here: https://stenciljs.com/docs/stencil-store\n\nconst { state, onChange } = createStore({\n i18n: {\n componentheading: '',\n deliveryscopeheading: '',\n resultlistheading: '',\n sizeheading: '',\n weightheading: '',\n weightlabel: '',\n maxweightlabel: '',\n maxmeasurementlabel: '',\n senddirectcta: '',\n stampshopcta: '',\n message: '',\n servicePointHeader: '',\n servicePointLink: '',\n realPostcard: '',\n realPostcardMobile: '',\n ombudHeader: '',\n },\n market: {\n currency: '',\n country: '',\n servicePoint: '',\n },\n});\n\nexport { state, onChange };\nexport default state;\n","@import '../../../globals/main.scss';\n\npn-find-price-result {\n .test {\n margin: 3em 0;\n }\n}\n\n.resultcontent {\n display: flex;\n // flex-wrap: wrap;\n // flex-direction: row;\n //align-items: flex-start;\n justify-content: center;\n flex-grow: 1;\n}\n","import { Component, h, Prop, Host, Watch, State } from '@stencil/core';\nimport { ProductPriceItem } from './pn-find-price-types';\nimport { state } from './pn-find-price-store';\nimport { sendDirectUrl, stampShopUrl, RealValues } from './data.js';\nimport { bolt, box_label, map_marker } from 'pn-design-assets/pn-assets/icons.js';\n\n@Component({\n tag: 'pn-find-price-result',\n styleUrl: 'pn-find-price-result.scss',\n})\nexport class PnfindPriceResult {\n @Prop({ mutable: true }) item: ProductPriceItem = null;\n\n @Prop() shownitems: ProductPriceItem[] = [];\n @Prop() Usp1?: string;\n @Prop() Usp2?: string;\n @Prop() Usp3?: string;\n @Prop() description?: string[] = [];\n @Prop() showMeasurement?: boolean = false;\n @State() weightText = '';\n @State() linkId: string = '';\n @State() shopLabel: string = '';\n @State() shopUrl: string = '';\n @State() shopId: string = '';\n\n componentWillLoad() {\n this.composeItems();\n }\n\n @Watch('item')\n composeItems() {\n if (this.item.additionalusp) {\n var x = this.item.additionalusp.split('/');\n this.Usp1 = x.length > 0 ? x[0] : null;\n this.Usp2 = x.length > 1 ? x[1] : null;\n this.Usp3 = x.length > 2 ? x[2] : null;\n }\n if (this.item.description) {\n this.description = this.item.description.split('#bullet').filter(x => x !== '');\n }\n\n this.showMeasurement = this.item.maxmått !== null || this.item.rulle !== null;\n this.linkId = `${this.item.id}-${this.item.maxweight}-${this.item.sizecategory}-${this.item.name.toLocaleLowerCase().replace(/[^a-zA-Z0-9]/g, '')}`;\n\n var showServicepointLink = this.item.ombudpurchase === 'Yes';\n\n this.shopLabel = showServicepointLink ? state.i18n.ombudHeader : state.i18n.stampshopcta;\n this.shopUrl = showServicepointLink ? state.market.servicePoint : stampShopUrl;\n this.shopId = showServicepointLink ? '-servicepoint' : '-stampshop';\n }\n\n render() {\n return (\n <Host>\n {\n <pn-product-card data-productid={this.item.id}>\n <pn-illustration slot=\"illustration\" illustration={this.item.illustration}></pn-illustration>\n <div slot=\"title\">\n {this.item.infopagelink ? (\n <h2>\n <a href={this.item.infopagelink} target=\"_blank\">\n {this.item.name}\n </a>\n </h2>\n ) : (\n <h2>{this.item.name}</h2>\n )}\n {this.item.highestrankusp === 'Snabbast' ? (\n <pn-titletag slot=\"Snabbast\" icon={bolt} color=\"blue700\">\n {this.item.highestrankusp}\n </pn-titletag>\n ) : this.item.highestrankusp === 'Billigast' ? (\n <pn-titletag slot=\"Billigast\" icon={box_label} color=\"green700\">\n {this.item.highestrankusp}\n </pn-titletag>\n ) : null}\n </div>\n <div slot=\"content\">\n <div class=\"content\">\n {this.item.description ? (\n <div class=\"description\">\n {this.description.map(desc => (\n <li>{desc}</li>\n ))}\n </div>\n ) : null}\n {this.item.info ? <div class=\"description\">{this.item.info}</div> : null}\n </div>\n </div>\n {this.item.note ? (\n <div slot=\"note\">\n <p>{this.item.note}</p>\n </div>\n ) : null}\n {this.item.additionalusp ? (\n <div slot=\"additionalUSP\">\n {this.Usp1 ? <span>{this.Usp1}</span> : null}\n {this.Usp2 ? <span>{this.Usp2}</span> : null}\n {this.Usp3 ? <span>{this.Usp3}</span> : null}\n </div>\n ) : null}\n {this.showMeasurement ? <pn-product-card-info paket={this.item.maxmått} rulle={this.item.rulle}></pn-product-card-info> : null}\n <div slot=\"cardprice\">\n {this.item.pricesenddirect ? (\n <pn-product-card-price\n slot=\"sendDirectPrice\"\n label={state.i18n.senddirectcta}\n amount={this.item.pricesenddirect + ''}\n currency={state.market.currency}\n url={sendDirectUrl}\n linkid={this.linkId + '-portal'}\n ></pn-product-card-price>\n ) : null}\n {this.item.pricestamps ? (\n this.item.name.toLocaleLowerCase() !== 'riktiga vykort' ? (\n <pn-product-card-price\n slot=\"stampPrice\"\n label={this.shopLabel}\n amount={this.item.pricestamps + ''}\n currency={state.market.currency}\n url={this.shopUrl}\n linkid={this.linkId + this.shopId}\n ></pn-product-card-price>\n ) : (\n <pn-product-card-price\n slot=\"riktiga\"\n label={state.i18n.realPostcard}\n amount={this.item.pricestamps + ''}\n currency={state.market.currency}\n url={RealValues['WebUrl']}\n linkid={this.linkId + '-riktiga'}\n ></pn-product-card-price>\n )\n ) : null}\n </div>\n <div slot=\"servicepoint\">\n {this.item.showservicepointlink ? (\n <a href={state.market.servicePoint} target=\"_blank\">\n <pn-icon icon={map_marker} color=\"blue700\"></pn-icon>\n {state.i18n.servicePointLink}\n </a>\n ) : null}\n </div>\n\n <div slot=\"mobiledownload\">\n {this.item.name.toLocaleLowerCase() === 'riktiga vykort' ? (\n <div id=\"riktiga\">\n <h4>{state.i18n.realPostcardMobile}</h4>\n <div>\n <a href={RealValues['AndroidAppUrl']} target=\"_blank\">\n <img class=\"riktigaAndroidImg\" src={RealValues['AndroidImg']}></img>\n </a>\n <a href={RealValues['IosAppUrl']} target=\"_blank\">\n <img class=\"riktigaAppleImg\" src={RealValues['IosImg']}></img>\n </a>\n </div>\n </div>\n ) : null}\n </div>\n </pn-product-card>\n }\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"pn-find-price-result2.js","mappings":";;;;;;;;AAAA,MAAM,IAAI,GAAG,6ZAA6Z,CAAC;AACpa,MAAM,UAAU,GAAG,IAAI;;ACDzB,MAAC,cAAc,GAAG;AACvB,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE;AACzE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,gBAAgB,EAAE,IAAI,EAAE,QAAQ,EAAE;AACrF,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,EAAE;AACjF,EAAE;AACF;AACK,MAAC,OAAO,GAAG;AAChB,EAAE,KAAK,EAAE;AACT,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE;AAClD,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE;AACpD,IAAI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e,CAAC,EAAE,MAAM,EAAC,QAAQ,IACnD,WAAK,KAAK,EAAC,mBAAmB,EAAC,GAAG,EAAE,UAAU,CAAC,YAAY,CAAC,GAAQ,CAClE,EACJ,SAAG,IAAI,EAAE,UAAU,CAAC,WAAW,CAAC,EAAE,MAAM,EAAC,QAAQ,IAC/C,WAAK,KAAK,EAAC,iBAAiB,EAAC,GAAG,EAAE,UAAU,CAAC,QAAQ,CAAC,GAAQ,CAC5D,CACA,CACF,IACJ,IAAI,CACJ,CACU,CAEf,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["node_modules/pn-design-assets/pn-assets/icons/map_marker.js","src/components/widgets/pn-find-price/data.js","src/components/widgets/pn-find-price/pn-find-price-store.tsx","src/components/widgets/pn-find-price/pn-find-price-result.scss?tag=pn-find-price-result","src/components/widgets/pn-find-price/pn-find-price-result.tsx"],"sourcesContent":["const icon = '<svg class=\"pn-icon-svg\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"#000\" fill-rule=\"evenodd\" d=\"M12 2a8 8 0 0 0-6.857 12.124l.014.022 4.454 6.586a2.884 2.884 0 0 0 4.778 0l4.454-6.586.014-.022A8 8 0 0 0 12 2m-6 8a6 6 0 1 1 11.156 3.07l-4.424 6.541a.883.883 0 0 1-1.464 0L6.844 13.07A5.97 5.97 0 0 1 6 10m6-2.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5\" clip-rule=\"evenodd\"/></svg>';\nexport const map_marker = icon;\nexport const mapMarker = icon;\n","const sizeCategories = [\n { name: 'Small', value: 'Small', illustration: 'eli1n', unit: 'small' },\n { name: 'Medium', value: 'Medium', illustration: 'medium-package', unit: 'medium' },\n { name: 'Large', value: 'Large', illustration: 'large-package', unit: 'large' },\n];\n\nconst weights = {\n small: [\n { name: '50 g', abbreviation: 'g', value: 50 },\n { name: '100 g', abbreviation: 'g', value: 100 },\n { name: '250 g', abbreviation: 'g', value: 250 },\n { name: '500 g', abbreviation: 'g', value: 500 },\n { name: '1 kg', abbreviation: 'kg', value: 1 },\n { name: '2 kg', abbreviation: 'kg', value: 2 },\n ],\n medium: [\n { name: '1 kg', abbreviation: 'kg', value: 1 },\n { name: '2 kg', abbreviation: 'kg', value: 2 },\n { name: '3 kg', abbreviation: 'kg', value: 3 },\n { name: '5 kg', abbreviation: 'kg', value: 5 },\n { name: '10 kg', abbreviation: 'kg', value: 10 },\n { name: '15 kg', abbreviation: 'kg', value: 15 },\n { name: '20 kg', abbreviation: 'kg', value: 20 },\n ],\n large: [\n { name: '3 kg', abbreviation: 'kg', value: 3 },\n { name: '5 kg', abbreviation: 'kg', value: 5 },\n { name: '10 kg', abbreviation: 'kg', value: 10 },\n { name: '15 kg', abbreviation: 'kg', value: 15 },\n { name: '20 kg', abbreviation: 'kg', value: 20 },\n ],\n};\n\nconst RealValues = {\n WebUrl: 'https://riktigavykort.postnord.se/sv',\n AndroidAppUrl: 'https://play.google.com/store/apps/details?id=se.posten.riktigavykort&hl=sv',\n AndroidImg: 'https://com-inte.postnord.com/globalassets/icons/logos-and-badges/google-play-badge_se.svg',\n IosAppUrl: 'https://apps.apple.com/se/app/riktiga-vykort/id444458799?l=sv',\n IosImg: 'https://com-inte.postnord.com/globalassets/icons/logos-and-badges/app_store_badge_se_rgb_blk.svg',\n};\n\nconst fileLocation = 'https://com-inte.postnord.com/globalassets/global/prices/sv-findprice-1-PN.xlsx';\n\nconst sendDirectUrl = 'https://portal.postnord.com/skickadirekt/';\n\nconst stampShopUrl = 'https://shop.postnord.se/ebutik/default.aspx';\n\nconst productDescriptionUrl = 'https://se-inte.postnord.com/skicka-forsandelser/brev-och-vykort/';\n\nexport { weights, sizeCategories, fileLocation, sendDirectUrl, stampShopUrl, RealValues };\n","import { createStore } from '@stencil/store';\n// Read more about how stencil stores work here: https://stenciljs.com/docs/stencil-store\n\nconst { state, onChange } = createStore({\n i18n: {\n componentheading: '',\n deliveryscopeheading: '',\n resultlistheading: '',\n sizeheading: '',\n weightheading: '',\n weightlabel: '',\n maxweightlabel: '',\n maxmeasurementlabel: '',\n senddirectcta: '',\n stampshopcta: '',\n message: '',\n servicePointHeader: '',\n servicePointLink: '',\n realPostcard: '',\n realPostcardMobile: '',\n ombudHeader: '',\n },\n market: {\n currency: '',\n country: '',\n servicePoint: '',\n },\n});\n\nexport { state, onChange };\nexport default state;\n","@import '../../../globals/main.scss';\n\npn-find-price-result {\n .test {\n margin: 3em 0;\n }\n}\n\n.resultcontent {\n display: flex;\n // flex-wrap: wrap;\n // flex-direction: row;\n //align-items: flex-start;\n justify-content: center;\n flex-grow: 1;\n}\n","import { Component, h, Prop, Host, Watch, State } from '@stencil/core';\nimport { ProductPriceItem } from './pn-find-price-types';\nimport { state } from './pn-find-price-store';\nimport { sendDirectUrl, stampShopUrl, RealValues } from './data.js';\nimport { bolt, box_label, map_marker } from 'pn-design-assets/pn-assets/icons.js';\n\n@Component({\n tag: 'pn-find-price-result',\n styleUrl: 'pn-find-price-result.scss',\n})\nexport class PnfindPriceResult {\n @Prop({ mutable: true }) item: ProductPriceItem = null;\n\n @Prop() shownitems: ProductPriceItem[] = [];\n @Prop() Usp1?: string;\n @Prop() Usp2?: string;\n @Prop() Usp3?: string;\n @Prop() description?: string[] = [];\n @Prop() showMeasurement?: boolean = false;\n @State() weightText = '';\n @State() linkId: string = '';\n @State() shopLabel: string = '';\n @State() shopUrl: string = '';\n @State() shopId: string = '';\n\n componentWillLoad() {\n this.composeItems();\n }\n\n @Watch('item')\n composeItems() {\n if (this.item.additionalusp) {\n var x = this.item.additionalusp.split('/');\n this.Usp1 = x.length > 0 ? x[0] : null;\n this.Usp2 = x.length > 1 ? x[1] : null;\n this.Usp3 = x.length > 2 ? x[2] : null;\n }\n if (this.item.description) {\n this.description = this.item.description.split('#bullet').filter(x => x !== '');\n }\n\n this.showMeasurement = this.item.maxmått !== null || this.item.rulle !== null;\n this.linkId = `${this.item.id}-${this.item.maxweight}-${this.item.sizecategory}-${this.item.name.toLocaleLowerCase().replace(/[^a-zA-Z0-9]/g, '')}`;\n\n var showServicepointLink = this.item.ombudpurchase === 'Yes';\n\n this.shopLabel = showServicepointLink ? state.i18n.ombudHeader : state.i18n.stampshopcta;\n this.shopUrl = showServicepointLink ? state.market.servicePoint : stampShopUrl;\n this.shopId = showServicepointLink ? '-servicepoint' : '-stampshop';\n }\n\n render() {\n return (\n <Host>\n {\n <pn-product-card data-productid={this.item.id}>\n <pn-illustration slot=\"illustration\" illustration={this.item.illustration}></pn-illustration>\n <div slot=\"title\">\n {this.item.infopagelink ? (\n <h2>\n <a href={this.item.infopagelink} target=\"_blank\">\n {this.item.name}\n </a>\n </h2>\n ) : (\n <h2>{this.item.name}</h2>\n )}\n {this.item.highestrankusp === 'Snabbast' ? (\n <pn-titletag slot=\"Snabbast\" icon={bolt} color=\"blue700\">\n {this.item.highestrankusp}\n </pn-titletag>\n ) : this.item.highestrankusp === 'Billigast' ? (\n <pn-titletag slot=\"Billigast\" icon={box_label} color=\"green700\">\n {this.item.highestrankusp}\n </pn-titletag>\n ) : null}\n </div>\n <div slot=\"content\">\n <div class=\"content\">\n {this.item.description ? (\n <div class=\"description\">\n {this.description.map(desc => (\n <li>{desc}</li>\n ))}\n </div>\n ) : null}\n {this.item.info ? <div class=\"description\">{this.item.info}</div> : null}\n </div>\n </div>\n {this.item.note ? (\n <div slot=\"note\">\n <p>{this.item.note}</p>\n </div>\n ) : null}\n {this.item.additionalusp ? (\n <div slot=\"additionalUSP\">\n {this.Usp1 ? <span>{this.Usp1}</span> : null}\n {this.Usp2 ? <span>{this.Usp2}</span> : null}\n {this.Usp3 ? <span>{this.Usp3}</span> : null}\n </div>\n ) : null}\n {this.showMeasurement ? <pn-product-card-info paket={this.item.maxmått} rulle={this.item.rulle}></pn-product-card-info> : null}\n <div slot=\"cardprice\">\n {this.item.pricesenddirect ? (\n <pn-product-card-price\n slot=\"sendDirectPrice\"\n label={state.i18n.senddirectcta}\n amount={this.item.pricesenddirect + ''}\n currency={state.market.currency}\n url={sendDirectUrl}\n linkid={this.linkId + '-portal'}\n ></pn-product-card-price>\n ) : null}\n {this.item.pricestamps ? (\n this.item.name.toLocaleLowerCase() !== 'riktiga vykort' ? (\n <pn-product-card-price\n slot=\"stampPrice\"\n label={this.shopLabel}\n amount={this.item.pricestamps + ''}\n currency={state.market.currency}\n url={this.shopUrl}\n linkid={this.linkId + this.shopId}\n ></pn-product-card-price>\n ) : (\n <pn-product-card-price\n slot=\"riktiga\"\n label={state.i18n.realPostcard}\n amount={this.item.pricestamps + ''}\n currency={state.market.currency}\n url={RealValues['WebUrl']}\n linkid={this.linkId + '-riktiga'}\n ></pn-product-card-price>\n )\n ) : null}\n </div>\n <div slot=\"servicepoint\">\n {this.item.showservicepointlink ? (\n <a href={state.market.servicePoint} target=\"_blank\">\n <pn-icon icon={map_marker} color=\"blue700\"></pn-icon>\n {state.i18n.servicePointLink}\n </a>\n ) : null}\n </div>\n\n <div slot=\"mobiledownload\">\n {this.item.name.toLocaleLowerCase() === 'riktiga vykort' ? (\n <div id=\"riktiga\">\n <h4>{state.i18n.realPostcardMobile}</h4>\n <div>\n <a href={RealValues['AndroidAppUrl']} target=\"_blank\">\n <img class=\"riktigaAndroidImg\" src={RealValues['AndroidImg']}></img>\n </a>\n <a href={RealValues['IosAppUrl']} target=\"_blank\">\n <img class=\"riktigaAppleImg\" src={RealValues['IosImg']}></img>\n </a>\n </div>\n </div>\n ) : null}\n </div>\n </pn-product-card>\n }\n </Host>\n );\n }\n}\n"],"version":3}
@@ -115,7 +115,7 @@ const postnordPerson1Svg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTA0IiBoZW
115
115
 
116
116
  const cloudsSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjc4IiBoZWlnaHQ9IjU1IiB2aWV3Qm94PSIwIDAgMjc4IDU1IiBmaWxsPSJub25lIiB4bWxucz0iaH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S41NjYyMiAzNC41ODcySDcuNDE2NThDMy44NjM0NiAzNC41ODcyIDAuOTk4MDQ3IDM4LjI0NDggMC45OTgwNDcgNDIuNzE1NFY0Ni4xMDIySDEyLjAzOTFaIiBmaWxsPSIjRTBGOEZGIi8+CjxwYXRoIGQ9Ik0xMzEuMDU2IDI2LjU4NjRDMTMxLjQ0OSAzMC4wNDIzIDEzMy45NDggMzIuNjg5NSAxMzYuOTkxIDMyLjY4OTVIMTYyLjg5MUMxNjYuMjA5IDMyLjY4OTUgMTY4Ljg4IDI5LjU0MjYgMTY4Ljg4IDI1LjYzMjhWMjUuNTM3NUMxNjguODggMjEuNjI3NyAxNjYuMjA5IDE4LjQ4MDggMTYyLjg5MSAxOC40ODA4SDE1OS45MDdDMTU4Ljc3NyAxMy44MDE1IDE1NS4zMyAxMC4zNzUzIDE1MS4yMzYgMTAuMzc1M0gxNDYuNDJDMTQ1Ljk3MSA0LjcwNTMzIDE0MS45MjEgMC4yNjcwOSAxMzYuOTkxIDAuMjY3MDlDMTMyLjA2MiAwLjI2NzA5IDEyOC4wMTIgNC43MDUzMyAxMjcuNTYzIDEwLjM3NTNIMTI0LjUyOEMxMTkuNTEgMTAuMzc1MyAxMTUuNDYzIDE1LjUyNDcgMTE1LjQ2MyAyMS44MTg0VjI2LjU4NjRIMTMxLjA1NloiIGZpbGw9IiNFMEY4RkYiLz4KPC9zdmc+Cg==';
117
117
 
118
- const pnFindPriceCss = "@charset \"UTF-8\";pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-find-price .sizeTable{background-color:transparent !important;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 .findprice-form fieldset{border:none}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:flex;align-items: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{align-content: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}";
118
+ const pnFindPriceCss = "@charset \"UTF-8\";pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}pn-find-price .sizeTable{background-color:transparent !important;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 .findprice-form fieldset{border:none}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:flex;align-items: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{align-content: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}";
119
119
  const PnFindPriceStyle0 = pnFindPriceCss;
120
120
 
121
121
  const PnfindPrice = /*@__PURE__*/ proxyCustomElement(class PnfindPrice extends HTMLElement {
@@ -207,11 +207,11 @@ const PnfindPrice = /*@__PURE__*/ proxyCustomElement(class PnfindPrice extends H
207
207
  this.filteredItems = weightFilteredData;
208
208
  }
209
209
  render() {
210
- return (h("div", { key: 'f905b0634bc06e41d7bd959e0fff9462b1b168da', class: "findprice-form" }, h("fieldset", { key: 'eb218cd4d546f67297b35327e6cc6082b77c81e6' }, h("legend", { key: 'e1bd485b4f129219fb3a883cf6d466244b210162', class: "heading" }, state.i18n.sizeheading), h("div", { key: 'b5efeb0832a14e7b77e9e4f0196aa07579dca2c7', class: "sizecategory" }, h("table", { key: '127474d40d75b7d24f5909c7af200024280b1540', class: "sizeTable" }, h("img", { key: 'b6a5e9ebdecf0a8b230d38386c2dc1d2989bbeba', id: "clouds", src: cloudsSvg }), h("tr", { key: '65a5e896096d2cb3365d74eb2375f503abddada7' }, h("td", { key: '9d50eb0443891868faf8154c11127f5ef18ecafb' }, h("img", { key: 'c924592e2f737141a06d3bab591bb2b300d08d63', class: "firstCell", src: postnordPerson1Svg })), h("td", { key: '5dca188e6cb05aa3dfb1f9ebf8e8c1e3fd387bc5' }, h("img", { key: 'e2f2d66cc90b95f43500bef802ae72a18b51a1b5', src: smallPackageSvg })), h("td", { key: 'c20fb170d3a20925992be1dd93dd99490b3b58e9' }, h("img", { key: 'eb4bc86caaea96967702632c8de19c6d16c123fb', src: mediumPackageSvg })), h("td", { key: 'c73045e6208d836be4499d945ab52517b86a76c7' }, h("img", { key: '027d4c3cc7683f24a3c56233ca704e6b9baaf591', src: largePackageSvg }))), h("tr", { key: '3ba6d9aaca95b5d80b76a4b410d9fb18bcf135f1' }, h("td", { key: '5e065c50e949135609001b050dcb7eea2dbe806a' }), sizeCategories.map(sizeCategory => (h("td", null, h("pn-radio-button", { id: 'findpricecategory-' + sizeCategory.value, radioid: sizeCategory.value, value: sizeCategory.value, name: "sizecategory", checked: sizeCategory.value === this.sizecategory.value, onChange: () => {
210
+ return (h("div", { key: '9861488c008d9f59921a606451c0e4d6b09eec99', class: "findprice-form" }, h("fieldset", { key: '3affcdc0763637875c78eaf119487ff41aa72996' }, h("legend", { key: 'dd9b9145db5924d09d2dbeeb164b55192f359953', class: "heading" }, state.i18n.sizeheading), h("div", { key: '3a5bc69dba0e8d25c3be90cf3c5f0f883226d630', class: "sizecategory" }, h("table", { key: '807ed7a3c3c79d8bd135279a8b19f8a2f348f84c', class: "sizeTable" }, h("img", { key: 'eae577294be91aee531839fa9b02eb434f345db5', id: "clouds", src: cloudsSvg }), h("tr", { key: 'a849d4cc5799bdfcf87f190299ba6c052dc0a9fc' }, h("td", { key: '1a709ddba39a00dd531db3f399147f7f3a89ef10' }, h("img", { key: '21c348ca869ee49c58f33acd24e15f19b8bb445e', class: "firstCell", src: postnordPerson1Svg })), h("td", { key: '8de8c83a82fb8e7ce18763ee3e4cdd9d78fa6aae' }, h("img", { key: '92a6bf91425a836b2202432e38c5bff09630563c', src: smallPackageSvg })), h("td", { key: '4e1b6c5686c325b97cf13a702067dd3e71af3097' }, h("img", { key: 'd96752de4a5c11b224a13943a51813fb3ef7445f', src: mediumPackageSvg })), h("td", { key: '5c0f48c47d839b9da7e08885e9f3aa7825a70d05' }, h("img", { key: '9074b9af5ef725470ff6ad18d2aa94286e0ad133', src: largePackageSvg }))), h("tr", { key: '6bbf9231e7174ef7c9ba72ecabdd686498e91c16' }, h("td", { key: '0be96b86477ea76cfcd42b592e75928ead8490c6' }), sizeCategories.map(sizeCategory => (h("td", null, h("pn-radio-button", { id: 'findpricecategory-' + sizeCategory.value, radioid: sizeCategory.value, value: sizeCategory.value, name: "sizecategory", checked: sizeCategory.value === this.sizecategory.value, onChange: () => {
211
211
  this.sizecategory = sizeCategories.filter(x => x.value === sizeCategory.value)[0];
212
212
  this.weight = { value: 0, name: '' };
213
213
  this.weightvalue = this.weight.value;
214
- } })))))))), h("fieldset", { key: 'd92250abdec1d53b422c535196f1564ce2a340ed' }, h("legend", { key: 'c65f1411972556f0fec1463d06612a92e13c2978', 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(wght => (h("pn-choice-button", { id: 'findpriceweight-' + wght.value, choiceid: this.sizecategory.value + wght.value, name: "weight", type: "radio", value: !this.weight.value ? 0 : weights[this.sizecategory.unit].findIndex(x => x.value === this.weightvalue), checked: wght.value === this.weight.value, onChange: () => {
214
+ } })))))))), h("fieldset", { key: 'dacae57f9d409cbd9527dbd55126d1ac8528faf8' }, h("legend", { key: '2833dc460f0a6e25b51ad6c03a0c97ad79afff7a', 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(wght => (h("pn-choice-button", { id: 'findpriceweight-' + wght.value, choiceid: this.sizecategory.value + wght.value, name: "weight", type: "radio", value: !this.weight.value ? 0 : weights[this.sizecategory.unit].findIndex(x => x.value === this.weightvalue), checked: wght.value === this.weight.value, onChange: () => {
215
215
  this.weight = weights[this.sizecategory.unit].filter(x => x.value === wght.value)[0];
216
216
  this.weightvalue = this.weight.value;
217
217
  } }, wght.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((item) => (h("div", null, h("pn-find-price-result", { item: item })))))) : null)));
@@ -1 +1 @@
1
- {"file":"pn-find-price.js","mappings":";;;;;;;;;AAAO,MAAM,YAAY,GAAG;IAC1B,EAAE,EAAE;QACF,gBAAgB,EAAE,mFAAmF;QACrG,oBAAoB,EAAE,gCAAgC;QACtD,iBAAiB,EAAE,8BAA8B;QACjD,WAAW,EAAE,wCAAwC;QACrD,aAAa,EAAE,qCAAqC;QACpD,WAAW,EAAE,MAAM;QACnB,cAAc,EAAE,SAAS;QACzB,mBAAmB,EAAE,UAAU;QAC/B,aAAa,EAAE,YAAY;QAC3B,YAAY,EAAE,cAAc;QAC5B,OAAO,EAAE,6BAA6B;QACtC,kBAAkB,EAAE,oCAAoC;QACxD,gBAAgB,EAAE,qBAAqB;QACvC,YAAY,EAAE,oBAAoB;QAClC,kBAAkB,EAAE,iBAAiB;QACrC,WAAW,EAAE,eAAe;KAC7B;IACD,EAAE,EAAE;QACF,gBAAgB,EAAE,gGAAgG;QAClH,oBAAoB,EAAE,+BAA+B;QACrD,iBAAiB,EAAE,+BAA+B;QAClD,WAAW,EAAE,oCAAoC;QACjD,aAAa,EAAE,sCAAsC;QACrD,WAAW,EAAE,QAAQ;QACrB,cAAc,EAAE,YAAY;QAC5B,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AI,CACC,CACP,EACN;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["clouds","person","small","medium","large"],"sources":["src/components/widgets/pn-find-price/pn-find-price-translations.ts","src/components/widgets/pn-find-price/img/small-package.svg","src/components/widgets/pn-find-price/img/medium-package.svg","src/components/widgets/pn-find-price/img/large-package.svg","src/components/widgets/pn-find-price/img/postnord-person1.svg","src/components/widgets/pn-find-price/img/clouds.svg","src/components/widgets/pn-find-price/pn-find-price.scss?tag=pn-find-price","src/components/widgets/pn-find-price/pn-find-price.tsx"],"sourcesContent":["export const translations = {\n sv: {\n componentheading: 'Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?',\n deliveryscopeheading: 'Endast leveranser inom Sverige',\n resultlistheading: 'Några bra alternativ för dig',\n sizeheading: 'Uppskatta storleken på din försändelse',\n weightheading: 'Uppskatta vikten på din försändelse',\n weightlabel: 'Vikt',\n maxweightlabel: 'Maxvikt',\n maxmeasurementlabel: 'Maxvolym',\n senddirectcta: 'Köp online',\n stampshopcta: 'Till butiken',\n message: '*Vid köp hos valfritt ombud',\n servicePointHeader: 'Eller hitta närmaste serviceställe',\n servicePointLink: 'Hitta Serviceställe',\n realPostcard: 'Köp Riktiga Vykort',\n realPostcardMobile: 'Ladda ner appen',\n ombudHeader: 'Köp via ombud',\n },\n en: {\n componentheading: 'Our prices and terms and conditions for domestic shipments for you as a direct paying customer',\n deliveryscopeheading: 'Deliveries within Sweden only',\n resultlistheading: 'Some suitable options for you',\n sizeheading: 'Estimate the size of your shipment',\n weightheading: 'Estimate the weight of your shipment',\n weightlabel: 'Weight',\n maxweightlabel: 'Max weight',\n maxmeasurementlabel: 'Maximum measurement',\n senddirectcta: 'Buy Online',\n stampshopcta: 'To the Store',\n message: 'When buying from any agent',\n servicePointHeader: 'Find service point',\n servicePointLink: 'Find service point',\n realPostcard: 'Buy Postcards',\n realPostcardMobile: 'Download the app',\n ombudHeader: 'Purchase by agent',\n },\n da: {\n componentheading: 'Vad vill du skicka?',\n deliveryscopeheading: 'Kun leveringer indenfor Sverige',\n resultlistheading: 'Nogle passende muligheder for dig',\n sizeheading: 'Anslå størrelsen på din forsendelse',\n weightheading: 'Anslå vægten af din forsendelse',\n weightlabel: 'Vægt',\n maxweightlabel: 'Max vægt',\n maxmeasurementlabel: 'Maks. Volumen',\n senddirectcta: 'Køb Online',\n stampshopcta: 'Til butikken',\n message: 'When buying from any agent',\n servicePointHeader: 'Find nærmeste servicested',\n servicePointLink: 'Find nærmeste servicested',\n realPostcard: 'Køb Riktiga Vykort',\n ombudHeader: 'Køb af agent',\n },\n no: {\n componentheading: 'Vad vill du skicka?',\n deliveryscopeheading: 'Kun leveranser innen Sverige',\n resultlistheading: 'Some suitable options for you',\n weightlabel: 'Vekt',\n maxweightlabel: 'Maks vekt',\n maxmeasurementlabel: 'Maks volum',\n senddirectcta: 'Buy shipping in Send Direct',\n stampshopcta: 'Order home stamps from the webshop',\n },\n fi: {\n componentheading: 'Vad vill du skicka?',\n deliveryscopeheading: 'Toimitukset vain Ruotsin sisällä',\n resultlistheading: 'Some suitable options for you',\n weightlabel: 'Paino',\n maxweightlabel: 'Max paino',\n maxmeasurementlabel: 'Max äänenvoimakkuus',\n senddirectcta: 'Buy shipping in Send Direct',\n stampshopcta: 'Order home stamps from the webshop',\n },\n};\n\nexport const markets = {\n se: {\n currency: 'kr',\n country: 'Sweden',\n servicePoint: 'https://www.postnord.se/vara-verktyg/sok-brevlada-eller-servicestalle',\n },\n dk: {\n currency: 'dk',\n country: 'Denmark',\n servicePoint: 'https://www.postnord.dk/varktojer/find-os',\n },\n fi: {\n currency: ' €',\n country: 'Finland',\n servicePoint: '',\n },\n no: {\n currency: 'kr',\n country: 'Norway',\n servicePoint: '',\n },\n};\n","<svg width=\"54\" height=\"38\" viewBox=\"0 0 54 38\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M44.3848 38H50.3017C51.9339 38 53.3111 36.2357 53.3111 33.9964V4.00357C53.3111 1.83214 51.9849 0 50.3017 0H44.3848V38Z\" fill=\"#005D92\"/>\n<path d=\"M47.3433 38H13.321C11.6887 38 10.3115 36.2357 10.3115 33.9964V4.00357C10.3115 1.83214 11.6377 0 13.321 0H44.8439C46.2211 0 47.3433 1.49286 47.3433 3.325V38Z\" fill=\"#00A0D6\"/>\n<path d=\"M43.3143 10.7895C43.3143 12.9609 41.9881 14.7252 40.3559 14.7252H35.9692C34.3369 14.7252 33.0107 12.9609 33.0107 10.7895C33.0107 8.61804 34.3369 6.85376 35.9692 6.85376H40.3559C42.0391 6.92162 43.3143 8.61804 43.3143 10.7895Z\" fill=\"#8EDDF9\"/>\n<g clip-path=\"url(#clip0_1246_34703)\">\n<path d=\"M23.3114 32.6772H0.688477V23.2348L10.3784 13.4694C11.3047 12.5358 12.7849 12.5389 13.7074 13.4763L23.3114 23.2348V32.6772Z\" fill=\"#005D92\"/>\n<path d=\"M5.28627 17.0176H18.7132C19.3401 17.0176 19.9414 17.2013 20.3847 17.5284C20.828 17.8555 21.0771 18.2991 21.0771 18.7617V33.3734H2.92285V18.7617C2.92285 18.2991 3.1719 17.8555 3.61521 17.5284C4.05852 17.2013 4.65978 17.0176 5.28671 17.0176H5.28627Z\" fill=\"#F9F8F8\"/>\n<path d=\"M12.0776 23.7432H7.41657C7.19891 23.7432 7.02246 23.9256 7.02246 24.1507V24.1508C7.02246 24.3759 7.19891 24.5583 7.41657 24.5583H12.0776C12.2952 24.5583 12.4717 24.3759 12.4717 24.1508V24.1507C12.4717 23.9256 12.2952 23.7432 12.0776 23.7432Z\" fill=\"#D3CECB\"/>\n<path d=\"M16.987 25.761H7.41657C7.19891 25.761 7.02246 25.9434 7.02246 26.1685V26.1686C7.02246 26.3937 7.19891 26.5762 7.41657 26.5762H16.987C17.2046 26.5762 17.3811 26.3937 17.3811 26.1686V26.1685C17.3811 25.9434 17.2046 25.761 16.987 25.761Z\" fill=\"#D3CECB\"/>\n<path d=\"M16.987 27.6598H7.41657C7.19891 27.6598 7.02246 27.8422 7.02246 28.0673V28.0674C7.02246 28.2925 7.19891 28.475 7.41657 28.475H16.987C17.2046 28.475 17.3811 28.2925 17.3811 28.0674V28.0673C17.3811 27.8422 17.2046 27.6598 16.987 27.6598Z\" fill=\"#D3CECB\"/>\n<path d=\"M10.3217 30.2231H7.41657C7.19891 30.2231 7.02246 30.4056 7.02246 30.6307V30.6308C7.02246 30.8559 7.19891 31.0383 7.41657 31.0383H10.3217C10.5394 31.0383 10.7158 30.8559 10.7158 30.6308V30.6307C10.7158 30.4056 10.5394 30.2231 10.3217 30.2231Z\" fill=\"#D3CECB\"/>\n<path d=\"M0.688813 23.2346L19.8537 37.9165H3.10689C1.77124 37.9165 0.688477 36.7997 0.688477 35.4219L0.688813 23.2346Z\" fill=\"#00A0D6\"/>\n<path d=\"M23.3119 23.3242L4.13477 37.9161H20.8934C22.2291 37.9161 23.3119 36.7993 23.3119 35.4215V23.3242Z\" fill=\"#8EDDF9\"/>\n<path d=\"M12.0378 21.9537C12.9492 21.9537 13.6881 21.1916 13.6881 20.2513C13.6881 19.3111 12.9489 18.549 12.0378 18.549C11.1267 18.549 10.3877 19.3111 10.3877 20.2513C10.3877 21.1916 11.1265 21.9537 12.0378 21.9537Z\" fill=\"#005D92\"/>\n<path d=\"M13.6778 20.0662C13.4119 20.1936 13.1318 20.3163 12.8714 20.4306C12.3538 20.6581 11.865 20.8728 11.5107 21.0907C11.3925 21.1632 11.1087 21.3375 10.9971 21.5725C11.0876 21.6481 11.1857 21.7135 11.2896 21.7677C11.2888 21.6813 11.4305 21.5431 11.6825 21.3883C12.0173 21.1828 12.4961 20.9725 13.003 20.7498C13.233 20.6486 13.4597 20.5487 13.6758 20.4487C13.691 20.3218 13.6916 20.1935 13.6774 20.0665L13.6778 20.0662Z\" fill=\"#00A0D6\"/>\n<path d=\"M13.2568 19.3703C13.2131 19.2881 13.1603 19.2102 13.0992 19.1378C12.7291 19.3731 12.2814 19.6447 11.7601 19.8243C11.2262 20.0084 10.8085 20.0936 10.4639 20.0738C10.4729 20.1672 10.4928 20.2594 10.5231 20.3489C10.9281 20.3572 11.3749 20.2487 11.8664 20.0793C12.4144 19.8904 12.8755 19.6122 13.2568 19.3703Z\" fill=\"#00A0D6\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1246_34703\">\n<rect width=\"22.623\" height=\"27.5625\" fill=\"white\" transform=\"translate(0.688477 10.3541)\"/>\n</clipPath>\n</defs>\n</svg>\n","<svg width=\"67\" height=\"60\" viewBox=\"0 0 67 60\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M8.03842 59.9998H47.8903V8.18823H4.0293V55.1448C4.0293 57.8259 5.82442 59.9998 8.03842 59.9998Z\" fill=\"#00A0D6\"/>\n<path d=\"M58.2437 60H46.7549V6.52173H62.911V54.2753C62.911 57.4637 60.8167 60 58.2437 60Z\" fill=\"#005D92\"/>\n<path d=\"M4.44928 16.1593H47.4726C49.6866 16.1593 51.4218 13.9854 51.4218 11.3767C51.4218 8.69556 49.6267 6.59412 47.4726 6.59412H4.44928C2.23529 6.59412 0.5 8.76803 0.5 11.3767C0.5 13.9854 2.23529 16.1593 4.44928 16.1593Z\" fill=\"#00A0D6\"/>\n<path d=\"M62.5511 16.1591H56.1485C53.9345 16.1591 52.1992 13.9852 52.1992 11.3765C52.1992 8.69532 53.9944 6.59387 56.1485 6.59387H62.5511C64.7651 6.59387 66.5004 8.76778 66.5004 11.3765C66.5004 13.9852 64.7053 16.1591 62.5511 16.1591Z\" fill=\"#005D92\"/>\n<path d=\"M4.0293 16.8839L46.7534 24.7825V16.1593H4.0293V16.8839Z\" fill=\"#005D92\"/>\n<path d=\"M18.5703 60H17.6727V6.88406C17.4932 6.88406 17.3736 6.81159 17.2539 6.73913C15.8776 5.94203 14.8005 3.26087 15.1596 1.5942C15.3391 0.579711 16.0571 0 17.0145 0C17.6727 0 18.1514 0.362319 18.5105 0.869566C18.9293 1.52174 19.049 2.53623 18.9892 3.47826C20.1261 1.88406 21.6819 0.869566 22.7589 1.01449C23.477 1.15942 23.9557 1.73913 24.0155 2.68116C24.0754 3.33333 23.8959 4.34783 22.8188 5.21739C21.7417 6.15942 19.9466 6.73913 18.6302 6.81159V60H18.5703ZM16.8949 1.08696C16.2366 1.08696 16.0571 1.52174 15.9973 1.81159C15.7579 3.04348 16.6555 5.21739 17.6129 5.72464C17.6727 5.72464 17.6727 5.72464 17.7326 5.7971C17.9719 4.71014 18.2711 2.46377 17.7326 1.52174C17.5531 1.23188 17.3137 1.08696 16.8949 1.08696C16.9547 1.08696 16.8949 1.08696 16.8949 1.08696ZM22.4598 2.10145C21.4425 2.10145 19.5876 3.62319 18.7498 5.7971C19.7671 5.65217 21.263 5.21739 22.2204 4.42029C22.8188 3.91304 23.118 3.4058 23.0581 2.82609C22.9983 2.24638 22.8188 2.17391 22.5794 2.10145C22.5196 2.10145 22.5196 2.10145 22.4598 2.10145Z\" fill=\"#005D92\"/>\n<path d=\"M50.4035 32.6086H4.0293V33.6956H50.4035V32.6086Z\" fill=\"#005D92\"/>\n</svg>\n","<svg width=\"97\" height=\"121\" viewBox=\"0 0 97 121\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M12.5998 120.224H69.3265V16.1737H5.80371V108.774C5.80371 115.104 8.84529 120.224 12.5998 120.224Z\" fill=\"#005D92\"/>\n<path d=\"M84.3612 120.224H67.7275V12.754H91.1573V108.784C91.1573 115.104 88.1157 120.224 84.3612 120.224Z\" fill=\"#0D234B\"/>\n<path d=\"M6.36867 32.114H68.7687C71.941 32.114 74.5192 27.784 74.5192 22.434C74.5192 17.094 71.947 12.754 68.7687 12.754H6.36867C3.19639 12.754 0.618164 17.084 0.618164 22.434C0.618164 27.774 3.19639 32.114 6.36867 32.114Z\" fill=\"#005D92\"/>\n<path d=\"M90.6312 32.114H81.2866C78.1143 32.114 75.5361 27.784 75.5361 22.434C75.5361 17.094 78.1084 12.754 81.2866 12.754H90.6312C93.8035 12.754 96.3817 17.084 96.3817 22.434C96.3817 27.774 93.8094 32.114 90.6312 32.114Z\" fill=\"#0D234B\"/>\n<path d=\"M5.80371 33.6439L67.7285 49.3939V32.1139H5.80371V33.6439Z\" fill=\"#0D234B\"/>\n<path d=\"M26.6381 120.224H25.747V13.2038C25.438 13.1538 25.1826 13.0638 25.0044 12.9138C23.139 11.4138 21.6063 6.17382 22.0757 2.89382C22.236 1.78382 22.7529 -0.0961666 24.541 0.00383339C25.4083 0.0438334 26.0856 0.603826 26.543 1.68383C27.2024 3.22383 27.2737 5.60383 27.1608 7.73383C28.8004 4.13383 31.2183 1.80383 32.8104 2.13383C33.7549 2.33383 34.349 3.44382 34.4381 5.19382C34.5272 6.97382 33.9569 8.64383 32.7747 10.0238C31.0995 11.9838 28.4381 13.0938 26.6321 13.2238V120.224H26.6381ZM24.4341 1.50383C23.5965 1.50383 23.1093 2.07383 22.943 3.25383C22.5747 5.86383 23.8994 10.3638 25.3905 11.5638C25.4856 11.6438 25.6341 11.6938 25.8182 11.7238C26.1687 9.63383 26.7331 4.69383 25.8182 2.56383C25.5272 1.88383 25.0994 1.53383 24.5173 1.51383C24.4875 1.50383 24.4638 1.50383 24.4341 1.50383ZM32.4955 3.59382C30.8975 3.59382 27.9866 6.96383 26.7925 11.7138C28.343 11.5238 30.7252 10.5938 32.2757 8.78383C33.1906 7.71383 33.6183 6.55383 33.5589 5.31383C33.4876 3.93383 33.0361 3.68383 32.7094 3.61383C32.6381 3.60383 32.5668 3.59382 32.4955 3.59382Z\" fill=\"#0D234B\"/>\n<path d=\"M70.4917 65.704H5.81055V67.2041H70.4917V65.704Z\" fill=\"#0D234B\"/>\n</svg>\n","<svg width=\"104\" height=\"162\" viewBox=\"0 0 104 162\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M29.0016 143.399H19.6016V152.199H29.0016V143.399Z\" fill=\"#99290A\"/>\n<path d=\"M19.6 152.2L17 159H32L28.9 150.3L19.6 152.2Z\" fill=\"#0D234B\"/>\n<path d=\"M49.1 147.5H39V154.8H49.1V147.5Z\" fill=\"#99290A\"/>\n<path d=\"M39 152.9V159.2H65.5L49.1 151.5V149.3L39 152.9Z\" fill=\"#0D234B\"/>\n<path d=\"M65.5 159.199H39V161.799H65.5V159.199Z\" fill=\"white\"/>\n<path d=\"M44.5016 157.1C45.5509 157.1 46.4016 156.249 46.4016 155.2C46.4016 154.15 45.5509 153.3 44.5016 153.3C43.4522 153.3 42.6016 154.15 42.6016 155.2C42.6016 156.249 43.4522 157.1 44.5016 157.1Z\" fill=\"#005D92\"/>\n<path d=\"M29.0016 143.399H19.6016V152.199H29.0016V143.399Z\" fill=\"#99290A\"/>\n<path d=\"M19.6 152.2L17 159H32L28.9 150.3L19.6 152.2Z\" fill=\"#0D234B\"/>\n<path d=\"M49.1 147.5H39V154.8H49.1V147.5Z\" fill=\"#99290A\"/>\n<path d=\"M11.6016 84.4992L12.8016 86.8992C13.7016 88.6992 15.3016 89.9992 17.2016 90.4992L18.2016 90.7992L15.2016 83.1992L11.6016 84.4992Z\" fill=\"#99290A\"/>\n<path d=\"M39 152.9V159H65.5L49.1 151.5V149.3L39 152.9Z\" fill=\"#0D234B\"/>\n<path d=\"M20.6 85.1H12.3C11.3 85.1 10.5 84.3 10.5 83.3V62H20.6V85.1Z\" fill=\"#FBC2C1\"/>\n<path d=\"M33.3984 65.6992V147.899H14.8984V89.5992C14.8984 80.9992 17.3984 72.8992 22.0984 65.6992H33.3984Z\" fill=\"#005D92\"/>\n<path d=\"M33.8992 65.6992H44.4992L55.1992 103.699C55.8992 106.099 56.2992 108.699 56.2992 111.199V147.899H38.9992V111.599L32.6992 86.7992V65.6992H33.8992Z\" fill=\"#005D92\"/>\n<path opacity=\"0.2\" d=\"M37.8 82.5L39 111.6L33.5 89.9L33.6 84.2L34.2 83.6L37.8 82.5Z\" fill=\"#0D234B\"/>\n<path d=\"M28.3984 35.1H16.3984V19.3C16.3984 15 19.8984 11.5 24.1984 11.5H28.4984V35.1H28.3984Z\" fill=\"black\"/>\n<path d=\"M42.5 35.0996H20V12.3996C20 6.19961 25 1.09961 31.3 1.09961C37.5 1.19961 42.5 6.19961 42.5 12.3996V35.0996Z\" fill=\"black\"/>\n<path d=\"M33.599 25.6992H32.299C28.099 25.5992 24.699 21.9992 24.899 17.7992L25.099 12.4992C25.199 8.29921 28.799 4.89921 32.999 5.09921C37.199 5.19921 40.599 8.79921 40.399 12.9992L40.199 19.6992C39.999 23.0992 37.099 25.7992 33.599 25.6992Z\" fill=\"#99290A\"/>\n<path d=\"M25.8008 15.4992H27.5008C28.7008 15.4992 29.7008 14.4992 29.7008 13.2992V11.5992C34.3008 14.0992 41.8008 12.6992 41.8008 12.6992L40.1008 6.19922L28.8008 7.99922L25.8008 15.4992Z\" fill=\"black\"/>\n<path d=\"M25.8 15.4998H21.5L25.8 4.7998L31.6 3.2998L37.9 4.3998L39.8 8.7998L28.3 9.39981L25.8 15.4998Z\" fill=\"black\"/>\n<path d=\"M24.4992 18.6996C25.7695 18.6996 26.7992 17.6699 26.7992 16.3996C26.7992 15.1294 25.7695 14.0996 24.4992 14.0996C23.229 14.0996 22.1992 15.1294 22.1992 16.3996C22.1992 17.6699 23.229 18.6996 24.4992 18.6996Z\" fill=\"#99290A\"/>\n<path d=\"M34.7016 31.4H26.1016L26.9016 22.5L34.7016 23.8V31.4Z\" fill=\"#99290A\"/>\n<path d=\"M34.5 25.6994C34.5 25.6994 31.7 26.0994 29.5 24.8994\" stroke=\"#4F1600\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path d=\"M65.5 159H39V162H65.5V159Z\" fill=\"#005D92\"/>\n<path d=\"M32 159H17V162H32V159Z\" fill=\"#005D92\"/>\n<path d=\"M45.5 66.4098L10.5 65.6098V39.3098C10.5 34.1098 14.7 30.0098 19.8 30.0098H41L45.5 40.3098V66.4098Z\" fill=\"#FBC2C1\"/>\n<path d=\"M37.2008 72.1992H21.1008C18.7008 72.1992 16.8008 69.8992 17.4008 67.4992L23.7008 46.8992L37.2008 46.1992V72.1992Z\" fill=\"#FBC2C1\"/>\n<path d=\"M46.4016 49.8994L46.5016 72.7994H15.6016V47.3994L46.4016 49.8994Z\" fill=\"#FBC2C1\"/>\n<path d=\"M33.6016 90.5998V83.7998\" stroke=\"#0D234B\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M33.6016 83.8L37.8016 82.5\" stroke=\"#0D234B\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M37.4016 27.1992H24.1016V35.2992H37.4016V27.1992Z\" fill=\"#FBC2C1\"/>\n<path d=\"M33.3984 141.8H14.8984V148H33.3984V141.8Z\" fill=\"#005D92\"/>\n<path d=\"M56.2 141.8H39V148H56.2V141.8Z\" fill=\"#005D92\"/>\n<path d=\"M44.5016 157.1C45.5509 157.1 46.4016 156.249 46.4016 155.2C46.4016 154.15 45.5509 153.3 44.5016 153.3C43.4522 153.3 42.6016 154.15 42.6016 155.2C42.6016 156.249 43.4522 157.1 44.5016 157.1Z\" fill=\"#005D92\"/>\n<path d=\"M56.2 143.399H39\" stroke=\"#0D234B\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M33.3984 143.399H14.8984\" stroke=\"#0D234B\" stroke-width=\"0.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path opacity=\"0.3\" d=\"M26.1016 28.3994V31.5994\" stroke=\"#F06365\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path opacity=\"0.3\" d=\"M28.5 28.3994V31.5994\" stroke=\"#F06365\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path opacity=\"0.3\" d=\"M30.8008 28.3994V31.5994\" stroke=\"#F06365\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path opacity=\"0.3\" d=\"M33.1016 28.3994V31.5994\" stroke=\"#F06365\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path opacity=\"0.3\" d=\"M35.5 28.3994V31.5994\" stroke=\"#F06365\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path d=\"M30.6016 80.7998L15.6016 76.3998V72.7998H32.6016L30.6016 80.7998Z\" fill=\"white\"/>\n<path d=\"M49.8016 78.9992L35.6016 78.7992L32.6016 72.7992L46.6016 72.6992L49.8016 78.9992Z\" fill=\"white\"/>\n<path d=\"M15.6016 72.7994V47.3994\" stroke=\"#2D2013\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M48.0013 55.0993L36.3013 40.0993C34.0013 37.3993 34.5013 33.2993 37.3013 31.2993C40.1013 29.0993 44.1013 29.7993 46.0013 32.7993L56.0013 49.0993L48.0013 55.0993Z\" fill=\"#FBC2C1\"/>\n<path d=\"M46.3984 53.3992V47.1992\" stroke=\"#2D2013\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M84.1511 48.8L74.696 47C74.696 47 74.4969 47 74.3974 47H52V57L74.1983 52.1C75.0941 51.9 75.4922 51.6 75.7908 50.8L83.753 51.2C84.3501 51.2 84.7483 50.9 84.9473 50.3C85.0468 49.8 85.0468 49.3 84.5492 49C84.4497 48.9 84.3501 48.9 84.1511 48.8Z\" fill=\"#99290A\"/>\n<path d=\"M69.6192 55.2919L52 57V47H72.0002L71.5041 53.0877C71.4049 54.2423 70.6113 55.1869 69.6192 55.2919Z\" fill=\"#FBC2C1\"/>\n<rect x=\"47\" y=\"47\" width=\"10\" height=\"10\" rx=\"5\" fill=\"#FBC2C1\"/>\n<path opacity=\"0.2\" d=\"M54.5 47L53 50L57 47H54.5Z\" fill=\"#E5474C\"/>\n</svg>\n","<svg width=\"278\" height=\"55\" viewBox=\"0 0 278 55\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M247.355 49.6815C247.694 52.479 249.722 54.6261 252.181 54.6261H272.926C275.62 54.6261 277.798 52.0522 277.798 48.8686V48.8008C277.798 45.6173 275.62 43.0433 272.926 43.0433H270.537C269.608 39.2439 266.846 36.473 263.585 36.473H259.717C259.373 31.841 256.101 28.2092 252.124 28.2092C248.146 28.2092 244.88 31.841 244.53 36.473H242.095C238.083 36.473 234.816 40.6726 234.816 45.8205V49.6815H247.355Z\" fill=\"#E0F8FF\"/>\n<path d=\"M12.0391 46.1022C12.3176 48.5569 14.0867 50.4373 16.2421 50.4373H34.5807C36.9304 50.4373 38.8216 48.202 38.8216 45.4248V45.3571C38.8216 42.5799 36.9304 40.3446 34.5807 40.3446H32.4684C31.6678 37.0209 29.227 34.5872 26.3283 34.5872H22.9179C22.6004 30.5597 19.7327 27.4071 16.2421 27.4071C12.7514 27.4071 9.88371 30.5597 9.56622 34.5872H7.41658C3.86346 34.5872 0.998047 38.2448 0.998047 42.7154V46.1022H12.0391Z\" fill=\"#E0F8FF\"/>\n<path d=\"M131.056 26.5864C131.449 30.0423 133.948 32.6895 136.991 32.6895H162.891C166.209 32.6895 168.88 29.5426 168.88 25.6328V25.5375C168.88 21.6277 166.209 18.4808 162.891 18.4808H159.907C158.777 13.8015 155.33 10.3753 151.236 10.3753H146.42C145.971 4.70533 141.921 0.26709 136.991 0.26709C132.062 0.26709 128.012 4.70533 127.563 10.3753H124.528C119.51 10.3753 115.463 15.5247 115.463 21.8184V26.5864H131.056Z\" fill=\"#E0F8FF\"/>\n</svg>\n","@import '../../../globals/main.scss';\n\npn-find-price {\n .sizeTable {\n background-color: transparent !important;\n border-style: none !important;\n border: 0 !important;\n position: relative;\n\n > tr td {\n margin-bottom: 1em;\n text-align: center;\n vertical-align: bottom;\n padding-right: 1em;\n padding-top: 1em;\n }\n\n #clouds {\n position: absolute;\n top: 0em;\n left: 4em;\n z-index: -1;\n }\n }\n\n .firstCell {\n margin-right: 0;\n margin-left: auto;\n }\n\n .findprice-form {\n max-width: 60em;\n margin: 0em auto 3em auto;\n\n fieldset {\n border: none;\n }\n }\n [slot='title'] {\n margin-bottom: 1rem;\n }\n h2 {\n text-align: center;\n }\n .heading {\n text-align: center;\n line-height: 1.1;\n font-weight: bold;\n margin-bottom: 1rem;\n color: $blue700;\n }\n\n .resultHeading {\n text-align: center;\n font-size: 1.5em;\n line-height: 1.1;\n font-weight: bold;\n margin-bottom: 2em;\n }\n\n .sizecategory {\n margin-top: 1em;\n margin-bottom: 3rem;\n font-size: 0.9em;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .weightoption {\n font-size: 0.9em;\n\n max-width: 41rem;\n margin: 0 auto;\n }\n .weightoption-content {\n text-align: center;\n pn-choice-button {\n width: 7em;\n line-height: 3.3em;\n font-size: 0.9em;\n vertical-align: bottom;\n > label {\n align-content: center;\n justify-content: center;\n }\n ::before {\n content: 'Max \\a0';\n font-weight: lighter;\n }\n }\n }\n\n .resultlist {\n margin: 3.2rem 0;\n }\n\n .servicePoint {\n text-align: center;\n\n pn-illustration {\n display: block;\n max-width: 5em;\n max-height: 5em;\n margin: 1.5em auto 0 auto;\n }\n\n h3 {\n margin-top: 0.8em;\n margin-bottom: 0.9em;\n }\n\n a {\n color: $blue700;\n text-decoration: none;\n &:hover {\n color: $blue900;\n text-decoration: underline;\n }\n }\n }\n}\n","import { Component, h, Prop, State, Watch } from '@stencil/core';\nimport { translations, markets } from './pn-find-price-translations';\nimport { ProductPriceSourceData, ProductPriceItem, FindPriceWeight, PnfindPriceMarket, PnfindPricei18n, FindPriceSizeCategory } from './pn-find-price-types';\nimport { weights, sizeCategories, fileLocation } from './data.js';\nimport { convertFileForSizeCategogy } from '../../../globals/shared/productprice/convert.js';\nimport { state } from './pn-find-price-store';\nimport small from './img/small-package.svg';\nimport medium from './img/medium-package.svg';\nimport large from './img/large-package.svg';\nimport person from './img/postnord-person1.svg';\nimport clouds from './img/clouds.svg';\n\n@Component({\n tag: 'pn-find-price',\n styleUrl: 'pn-find-price.scss',\n})\nexport class PnfindPrice {\n @Prop() source: string = fileLocation;\n @Prop({ mutable: true }) language: string = 'sv';\n @Prop({ mutable: true }) market: string = 'se';\n\n @State() filteredItems: ProductPriceItem[] = [];\n @State() weight: FindPriceWeight = { value: 0, name: '' } as FindPriceWeight;\n @State() weightvalue: number = 0;\n @State() sourceData: ProductPriceSourceData = { types: [], data: [] };\n @State() sizecategory: FindPriceSizeCategory = { value: '', name: '', icon: '', unit: '' } as FindPriceSizeCategory;\n\n componentWillLoad() {\n this.setState();\n this.getDataSource();\n }\n\n async getDataSource() {\n const cacheBusting = `?cache=${Math.floor(Math.random() * (10000 - 1) + 1)}`;\n const req = await fetch(this.source + cacheBusting);\n const reqbody = await req.blob();\n try {\n const convertedData = await convertFileForSizeCategogy(reqbody);\n this.sourceData = convertedData;\n\n //for keeping small value preselected\n this.sizecategory = (sizeCategories as FindPriceSizeCategory[]).filter(x => x.value === 'Small')[0];\n\n this.filterItems();\n } catch (e) {\n console.log('Unable to parse data');\n }\n }\n\n @Watch('market')\n @Watch('language')\n setState() {\n if (this.market) {\n state.market = markets[this.market] as PnfindPriceMarket;\n }\n if (this.language && translations[this.language]) {\n state.i18n = translations[this.language] as PnfindPricei18n;\n }\n }\n\n @Watch('sizecategory')\n @Watch('weightvalue')\n filterItems() {\n if (!this.sourceData?.data) {\n console.log('Data has not yet been loaded');\n return;\n }\n\n //to handle withing country search\n const deliveryScopeData = this.sourceData.data.filter(x => x.deliveryscope.toLocaleLowerCase() === state.market.country.toLocaleLowerCase());\n if (!this.sizecategory) {\n return;\n }\n\n const sizeItemData = deliveryScopeData.filter(x => x.sizecategory.toLocaleLowerCase() === this.sizecategory.value.toLocaleLowerCase());\n\n if (!this.weight) {\n return;\n }\n const comparisonWeight = this.weight.value <= 20 ? this.weight.value * 1000 : this.weight.value;\n\n let weightFilteredData = sizeItemData.filter(x => (x.maxweight <= 20 ? x.maxweight * 1000 : x.maxweight) === comparisonWeight);\n\n if (this.weightvalue !== 0) {\n let clubbedProducts = sizeItemData\n .filter(x => x.maxweight.toString().includes('upto'))\n .filter(x => Number(x.maxweight.toString().toLocaleLowerCase().replace('upto', '')) - comparisonWeight >= 0);\n weightFilteredData = weightFilteredData.concat(clubbedProducts);\n }\n\n if (weightFilteredData.length === 0 && this.weightvalue !== 0) {\n weightFilteredData = sizeItemData.filter(x => (x.maxweight <= 20 ? x.maxweight * 1000 : x.maxweight) >= comparisonWeight);\n\n if (weightFilteredData.length > 0) {\n //sort based on the maxvalue\n weightFilteredData.sort((a, b) => {\n return a.maxweight - b.maxweight;\n });\n\n // map to get the next unique item\n const uniqueWeightOptions = [...new Map(weightFilteredData.reverse().map(item => [item['id'], item])).values()];\n if (uniqueWeightOptions.length > 0) {\n weightFilteredData = uniqueWeightOptions;\n }\n }\n }\n\n //10000 to handle the null values in the rank column, to keep such products at the end of the list\n weightFilteredData.sort((a, b) => {\n var ra = a.rank ? a.rank : 10000;\n var rb = b.rank ? b.rank : 10000;\n\n var ua = a.highestrankusp ? a.highestrankusp : 'z';\n var ub = b.highestrankusp ? b.highestrankusp : 'z';\n\n const compareUsp = ua.localeCompare(ub);\n const compareRank = ra - rb;\n\n return compareUsp || compareRank;\n });\n\n this.filteredItems = weightFilteredData;\n }\n\n render() {\n return (\n <div class=\"findprice-form\">\n <fieldset>\n <legend class=\"heading\">{state.i18n.sizeheading}</legend>\n <div class=\"sizecategory\">\n <table class=\"sizeTable\">\n <img id=\"clouds\" src={clouds}></img>\n <tr>\n <td>\n <img class=\"firstCell\" src={person}></img>\n </td>\n <td>\n <img src={small}></img>\n </td>\n <td>\n <img src={medium}></img>\n </td>\n <td>\n <img src={large}></img>\n </td>\n </tr>\n <tr>\n <td></td>\n {sizeCategories.map(sizeCategory => (\n <td>\n <pn-radio-button\n id={'findpricecategory-' + sizeCategory.value}\n radioid={sizeCategory.value}\n value={sizeCategory.value}\n name=\"sizecategory\"\n checked={sizeCategory.value === this.sizecategory.value}\n onChange={() => {\n this.sizecategory = (sizeCategories as FindPriceSizeCategory[]).filter(x => x.value === sizeCategory.value)[0];\n\n this.weight = { value: 0, name: '' } as FindPriceWeight;\n this.weightvalue = this.weight.value;\n }}\n ></pn-radio-button>\n </td>\n ))}\n </tr>\n </table>\n </div>\n </fieldset>\n\n <fieldset>\n <legend class=\"heading\">{state.i18n.weightheading}</legend>\n {this.sizecategory.value && weights[this.sizecategory.unit] ? (\n <div class=\"weightoption\">\n {\n <div class=\"weightoption-content\">\n {weights[this.sizecategory.unit].map(wght => (\n <pn-choice-button\n id={'findpriceweight-' + wght.value}\n choiceid={this.sizecategory.value + wght.value}\n name=\"weight\"\n type=\"radio\"\n value={!this.weight.value ? 0 : weights[this.sizecategory.unit].findIndex(x => x.value === this.weightvalue)}\n checked={wght.value === this.weight.value}\n onChange={() => {\n this.weight = (weights[this.sizecategory.unit] as FindPriceWeight[]).filter(x => x.value === wght.value)[0];\n this.weightvalue = this.weight.value;\n }}\n >\n {wght.name}\n </pn-choice-button>\n ))}\n </div>\n }\n </div>\n ) : null}\n\n {this.filteredItems && this.filteredItems.length > 0 ? (\n <div class=\"resultlist\">\n {state.i18n.resultlistheading ? <div class=\"resultHeading\">{state.i18n.resultlistheading}</div> : null}\n {this.filteredItems.map((item: ProductPriceItem) => (\n <div>\n <pn-find-price-result item={item}></pn-find-price-result>\n </div>\n ))}\n </div>\n ) : null}\n </fieldset>\n </div>\n );\n }\n}\n"],"version":3}
1
+ {"file":"pn-find-price.js","mappings":";;;;;;;;;AAAO,MAAM,YAAY,GAAG;IAC1B,EAAE,EAAE;QACF,gBAAgB,EAAE,mFAAmF;QACrG,oBAAoB,EAAE,gCAAgC;QACtD,i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C,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;gBAC5G,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC;aACtC,IAEA,IAAI,CAAC,IAAI,CACO,CACpB,CAAC,CACE,CAEJ,IACJ,IAAI,EAEP,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,IAClD,WAAK,KAAK,EAAC,YAAY,IACpB,KAAK,CAAC,IAAI,CAAC,iBAAiB,GAAG,WAAK,KAAK,EAAC,eAAe,IAAE,KAAK,CAAC,IAAI,CAAC,iBAAiB,CAAO,GAAG,IAAI,EACrG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,IAAsB,MAC7C,eACE,4BAAsB,IAAI,EAAE,IAAI,GAAyB,CACrD,CACP,CAAC,CACE,IACJ,IAAI,CACC,CACP,EACN;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["clouds","person","small","medium","large"],"sources":["src/components/widgets/pn-find-price/pn-find-price-translations.ts","src/components/widgets/pn-find-price/img/small-package.svg","src/components/widgets/pn-find-price/img/medium-package.svg","src/components/widgets/pn-find-price/img/large-package.svg","src/components/widgets/pn-find-price/img/postnord-person1.svg","src/components/widgets/pn-find-price/img/clouds.svg","src/components/widgets/pn-find-price/pn-find-price.scss?tag=pn-find-price","src/components/widgets/pn-find-price/pn-find-price.tsx"],"sourcesContent":["export const translations = {\n sv: {\n componentheading: 'Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?',\n deliveryscopeheading: 'Endast leveranser inom Sverige',\n resultlistheading: 'Några bra alternativ för dig',\n sizeheading: 'Uppskatta storleken på din försändelse',\n weightheading: 'Uppskatta vikten på din försändelse',\n weightlabel: 'Vikt',\n maxweightlabel: 'Maxvikt',\n maxmeasurementlabel: 'Maxvolym',\n senddirectcta: 'Köp online',\n stampshopcta: 'Till butiken',\n message: '*Vid köp hos valfritt ombud',\n servicePointHeader: 'Eller hitta närmaste serviceställe',\n servicePointLink: 'Hitta Serviceställe',\n realPostcard: 'Köp Riktiga Vykort',\n realPostcardMobile: 'Ladda ner appen',\n ombudHeader: 'Köp via ombud',\n },\n en: {\n componentheading: 'Our prices and terms and conditions for domestic shipments for you as a direct paying customer',\n deliveryscopeheading: 'Deliveries within Sweden only',\n resultlistheading: 'Some suitable options for you',\n sizeheading: 'Estimate the size of your shipment',\n weightheading: 'Estimate the weight of your shipment',\n weightlabel: 'Weight',\n maxweightlabel: 'Max weight',\n maxmeasurementlabel: 'Maximum measurement',\n senddirectcta: 'Buy Online',\n stampshopcta: 'To the Store',\n message: 'When buying from any agent',\n servicePointHeader: 'Find service point',\n servicePointLink: 'Find service point',\n realPostcard: 'Buy Postcards',\n realPostcardMobile: 'Download the app',\n ombudHeader: 'Purchase by agent',\n },\n da: {\n componentheading: 'Vad vill du skicka?',\n deliveryscopeheading: 'Kun leveringer indenfor Sverige',\n resultlistheading: 'Nogle passende muligheder for dig',\n sizeheading: 'Anslå størrelsen på din forsendelse',\n weightheading: 'Anslå vægten af din forsendelse',\n weightlabel: 'Vægt',\n maxweightlabel: 'Max vægt',\n maxmeasurementlabel: 'Maks. Volumen',\n senddirectcta: 'Køb Online',\n stampshopcta: 'Til butikken',\n message: 'When buying from any agent',\n servicePointHeader: 'Find nærmeste servicested',\n servicePointLink: 'Find nærmeste servicested',\n realPostcard: 'Køb Riktiga Vykort',\n ombudHeader: 'Køb af agent',\n },\n no: {\n componentheading: 'Vad vill du skicka?',\n deliveryscopeheading: 'Kun leveranser innen Sverige',\n resultlistheading: 'Some suitable options for you',\n weightlabel: 'Vekt',\n maxweightlabel: 'Maks vekt',\n maxmeasurementlabel: 'Maks volum',\n senddirectcta: 'Buy shipping in Send Direct',\n stampshopcta: 'Order home stamps from the webshop',\n },\n fi: {\n componentheading: 'Vad vill du skicka?',\n deliveryscopeheading: 'Toimitukset vain Ruotsin sisällä',\n resultlistheading: 'Some suitable options for you',\n weightlabel: 'Paino',\n maxweightlabel: 'Max paino',\n maxmeasurementlabel: 'Max äänenvoimakkuus',\n senddirectcta: 'Buy shipping in Send Direct',\n stampshopcta: 'Order home stamps from the webshop',\n },\n};\n\nexport const markets = {\n se: {\n currency: 'kr',\n country: 'Sweden',\n servicePoint: 'https://www.postnord.se/vara-verktyg/sok-brevlada-eller-servicestalle',\n },\n dk: {\n currency: 'dk',\n country: 'Denmark',\n servicePoint: 'https://www.postnord.dk/varktojer/find-os',\n },\n fi: {\n currency: ' €',\n country: 'Finland',\n servicePoint: '',\n },\n no: {\n currency: 'kr',\n country: 'Norway',\n servicePoint: '',\n },\n};\n","<svg width=\"54\" height=\"38\" viewBox=\"0 0 54 38\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M44.3848 38H50.3017C51.9339 38 53.3111 36.2357 53.3111 33.9964V4.00357C53.3111 1.83214 51.9849 0 50.3017 0H44.3848V38Z\" fill=\"#005D92\"/>\n<path d=\"M47.3433 38H13.321C11.6887 38 10.3115 36.2357 10.3115 33.9964V4.00357C10.3115 1.83214 11.6377 0 13.321 0H44.8439C46.2211 0 47.3433 1.49286 47.3433 3.325V38Z\" fill=\"#00A0D6\"/>\n<path d=\"M43.3143 10.7895C43.3143 12.9609 41.9881 14.7252 40.3559 14.7252H35.9692C34.3369 14.7252 33.0107 12.9609 33.0107 10.7895C33.0107 8.61804 34.3369 6.85376 35.9692 6.85376H40.3559C42.0391 6.92162 43.3143 8.61804 43.3143 10.7895Z\" fill=\"#8EDDF9\"/>\n<g clip-path=\"url(#clip0_1246_34703)\">\n<path d=\"M23.3114 32.6772H0.688477V23.2348L10.3784 13.4694C11.3047 12.5358 12.7849 12.5389 13.7074 13.4763L23.3114 23.2348V32.6772Z\" fill=\"#005D92\"/>\n<path d=\"M5.28627 17.0176H18.7132C19.3401 17.0176 19.9414 17.2013 20.3847 17.5284C20.828 17.8555 21.0771 18.2991 21.0771 18.7617V33.3734H2.92285V18.7617C2.92285 18.2991 3.1719 17.8555 3.61521 17.5284C4.05852 17.2013 4.65978 17.0176 5.28671 17.0176H5.28627Z\" fill=\"#F9F8F8\"/>\n<path d=\"M12.0776 23.7432H7.41657C7.19891 23.7432 7.02246 23.9256 7.02246 24.1507V24.1508C7.02246 24.3759 7.19891 24.5583 7.41657 24.5583H12.0776C12.2952 24.5583 12.4717 24.3759 12.4717 24.1508V24.1507C12.4717 23.9256 12.2952 23.7432 12.0776 23.7432Z\" fill=\"#D3CECB\"/>\n<path d=\"M16.987 25.761H7.41657C7.19891 25.761 7.02246 25.9434 7.02246 26.1685V26.1686C7.02246 26.3937 7.19891 26.5762 7.41657 26.5762H16.987C17.2046 26.5762 17.3811 26.3937 17.3811 26.1686V26.1685C17.3811 25.9434 17.2046 25.761 16.987 25.761Z\" fill=\"#D3CECB\"/>\n<path d=\"M16.987 27.6598H7.41657C7.19891 27.6598 7.02246 27.8422 7.02246 28.0673V28.0674C7.02246 28.2925 7.19891 28.475 7.41657 28.475H16.987C17.2046 28.475 17.3811 28.2925 17.3811 28.0674V28.0673C17.3811 27.8422 17.2046 27.6598 16.987 27.6598Z\" fill=\"#D3CECB\"/>\n<path d=\"M10.3217 30.2231H7.41657C7.19891 30.2231 7.02246 30.4056 7.02246 30.6307V30.6308C7.02246 30.8559 7.19891 31.0383 7.41657 31.0383H10.3217C10.5394 31.0383 10.7158 30.8559 10.7158 30.6308V30.6307C10.7158 30.4056 10.5394 30.2231 10.3217 30.2231Z\" fill=\"#D3CECB\"/>\n<path d=\"M0.688813 23.2346L19.8537 37.9165H3.10689C1.77124 37.9165 0.688477 36.7997 0.688477 35.4219L0.688813 23.2346Z\" fill=\"#00A0D6\"/>\n<path d=\"M23.3119 23.3242L4.13477 37.9161H20.8934C22.2291 37.9161 23.3119 36.7993 23.3119 35.4215V23.3242Z\" fill=\"#8EDDF9\"/>\n<path d=\"M12.0378 21.9537C12.9492 21.9537 13.6881 21.1916 13.6881 20.2513C13.6881 19.3111 12.9489 18.549 12.0378 18.549C11.1267 18.549 10.3877 19.3111 10.3877 20.2513C10.3877 21.1916 11.1265 21.9537 12.0378 21.9537Z\" fill=\"#005D92\"/>\n<path d=\"M13.6778 20.0662C13.4119 20.1936 13.1318 20.3163 12.8714 20.4306C12.3538 20.6581 11.865 20.8728 11.5107 21.0907C11.3925 21.1632 11.1087 21.3375 10.9971 21.5725C11.0876 21.6481 11.1857 21.7135 11.2896 21.7677C11.2888 21.6813 11.4305 21.5431 11.6825 21.3883C12.0173 21.1828 12.4961 20.9725 13.003 20.7498C13.233 20.6486 13.4597 20.5487 13.6758 20.4487C13.691 20.3218 13.6916 20.1935 13.6774 20.0665L13.6778 20.0662Z\" fill=\"#00A0D6\"/>\n<path d=\"M13.2568 19.3703C13.2131 19.2881 13.1603 19.2102 13.0992 19.1378C12.7291 19.3731 12.2814 19.6447 11.7601 19.8243C11.2262 20.0084 10.8085 20.0936 10.4639 20.0738C10.4729 20.1672 10.4928 20.2594 10.5231 20.3489C10.9281 20.3572 11.3749 20.2487 11.8664 20.0793C12.4144 19.8904 12.8755 19.6122 13.2568 19.3703Z\" fill=\"#00A0D6\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1246_34703\">\n<rect width=\"22.623\" height=\"27.5625\" fill=\"white\" transform=\"translate(0.688477 10.3541)\"/>\n</clipPath>\n</defs>\n</svg>\n","<svg width=\"67\" height=\"60\" viewBox=\"0 0 67 60\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M8.03842 59.9998H47.8903V8.18823H4.0293V55.1448C4.0293 57.8259 5.82442 59.9998 8.03842 59.9998Z\" fill=\"#00A0D6\"/>\n<path d=\"M58.2437 60H46.7549V6.52173H62.911V54.2753C62.911 57.4637 60.8167 60 58.2437 60Z\" fill=\"#005D92\"/>\n<path d=\"M4.44928 16.1593H47.4726C49.6866 16.1593 51.4218 13.9854 51.4218 11.3767C51.4218 8.69556 49.6267 6.59412 47.4726 6.59412H4.44928C2.23529 6.59412 0.5 8.76803 0.5 11.3767C0.5 13.9854 2.23529 16.1593 4.44928 16.1593Z\" fill=\"#00A0D6\"/>\n<path d=\"M62.5511 16.1591H56.1485C53.9345 16.1591 52.1992 13.9852 52.1992 11.3765C52.1992 8.69532 53.9944 6.59387 56.1485 6.59387H62.5511C64.7651 6.59387 66.5004 8.76778 66.5004 11.3765C66.5004 13.9852 64.7053 16.1591 62.5511 16.1591Z\" fill=\"#005D92\"/>\n<path d=\"M4.0293 16.8839L46.7534 24.7825V16.1593H4.0293V16.8839Z\" fill=\"#005D92\"/>\n<path d=\"M18.5703 60H17.6727V6.88406C17.4932 6.88406 17.3736 6.81159 17.2539 6.73913C15.8776 5.94203 14.8005 3.26087 15.1596 1.5942C15.3391 0.579711 16.0571 0 17.0145 0C17.6727 0 18.1514 0.362319 18.5105 0.869566C18.9293 1.52174 19.049 2.53623 18.9892 3.47826C20.1261 1.88406 21.6819 0.869566 22.7589 1.01449C23.477 1.15942 23.9557 1.73913 24.0155 2.68116C24.0754 3.33333 23.8959 4.34783 22.8188 5.21739C21.7417 6.15942 19.9466 6.73913 18.6302 6.81159V60H18.5703ZM16.8949 1.08696C16.2366 1.08696 16.0571 1.52174 15.9973 1.81159C15.7579 3.04348 16.6555 5.21739 17.6129 5.72464C17.6727 5.72464 17.6727 5.72464 17.7326 5.7971C17.9719 4.71014 18.2711 2.46377 17.7326 1.52174C17.5531 1.23188 17.3137 1.08696 16.8949 1.08696C16.9547 1.08696 16.8949 1.08696 16.8949 1.08696ZM22.4598 2.10145C21.4425 2.10145 19.5876 3.62319 18.7498 5.7971C19.7671 5.65217 21.263 5.21739 22.2204 4.42029C22.8188 3.91304 23.118 3.4058 23.0581 2.82609C22.9983 2.24638 22.8188 2.17391 22.5794 2.10145C22.5196 2.10145 22.5196 2.10145 22.4598 2.10145Z\" fill=\"#005D92\"/>\n<path d=\"M50.4035 32.6086H4.0293V33.6956H50.4035V32.6086Z\" fill=\"#005D92\"/>\n</svg>\n","<svg width=\"97\" height=\"121\" viewBox=\"0 0 97 121\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M12.5998 120.224H69.3265V16.1737H5.80371V108.774C5.80371 115.104 8.84529 120.224 12.5998 120.224Z\" fill=\"#005D92\"/>\n<path d=\"M84.3612 120.224H67.7275V12.754H91.1573V108.784C91.1573 115.104 88.1157 120.224 84.3612 120.224Z\" fill=\"#0D234B\"/>\n<path d=\"M6.36867 32.114H68.7687C71.941 32.114 74.5192 27.784 74.5192 22.434C74.5192 17.094 71.947 12.754 68.7687 12.754H6.36867C3.19639 12.754 0.618164 17.084 0.618164 22.434C0.618164 27.774 3.19639 32.114 6.36867 32.114Z\" fill=\"#005D92\"/>\n<path d=\"M90.6312 32.114H81.2866C78.1143 32.114 75.5361 27.784 75.5361 22.434C75.5361 17.094 78.1084 12.754 81.2866 12.754H90.6312C93.8035 12.754 96.3817 17.084 96.3817 22.434C96.3817 27.774 93.8094 32.114 90.6312 32.114Z\" fill=\"#0D234B\"/>\n<path d=\"M5.80371 33.6439L67.7285 49.3939V32.1139H5.80371V33.6439Z\" fill=\"#0D234B\"/>\n<path d=\"M26.6381 120.224H25.747V13.2038C25.438 13.1538 25.1826 13.0638 25.0044 12.9138C23.139 11.4138 21.6063 6.17382 22.0757 2.89382C22.236 1.78382 22.7529 -0.0961666 24.541 0.00383339C25.4083 0.0438334 26.0856 0.603826 26.543 1.68383C27.2024 3.22383 27.2737 5.60383 27.1608 7.73383C28.8004 4.13383 31.2183 1.80383 32.8104 2.13383C33.7549 2.33383 34.349 3.44382 34.4381 5.19382C34.5272 6.97382 33.9569 8.64383 32.7747 10.0238C31.0995 11.9838 28.4381 13.0938 26.6321 13.2238V120.224H26.6381ZM24.4341 1.50383C23.5965 1.50383 23.1093 2.07383 22.943 3.25383C22.5747 5.86383 23.8994 10.3638 25.3905 11.5638C25.4856 11.6438 25.6341 11.6938 25.8182 11.7238C26.1687 9.63383 26.7331 4.69383 25.8182 2.56383C25.5272 1.88383 25.0994 1.53383 24.5173 1.51383C24.4875 1.50383 24.4638 1.50383 24.4341 1.50383ZM32.4955 3.59382C30.8975 3.59382 27.9866 6.96383 26.7925 11.7138C28.343 11.5238 30.7252 10.5938 32.2757 8.78383C33.1906 7.71383 33.6183 6.55383 33.5589 5.31383C33.4876 3.93383 33.0361 3.68383 32.7094 3.61383C32.6381 3.60383 32.5668 3.59382 32.4955 3.59382Z\" fill=\"#0D234B\"/>\n<path d=\"M70.4917 65.704H5.81055V67.2041H70.4917V65.704Z\" fill=\"#0D234B\"/>\n</svg>\n","<svg width=\"104\" height=\"162\" viewBox=\"0 0 104 162\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M29.0016 143.399H19.6016V152.199H29.0016V143.399Z\" fill=\"#99290A\"/>\n<path d=\"M19.6 152.2L17 159H32L28.9 150.3L19.6 152.2Z\" fill=\"#0D234B\"/>\n<path d=\"M49.1 147.5H39V154.8H49.1V147.5Z\" fill=\"#99290A\"/>\n<path d=\"M39 152.9V159.2H65.5L49.1 151.5V149.3L39 152.9Z\" fill=\"#0D234B\"/>\n<path d=\"M65.5 159.199H39V161.799H65.5V159.199Z\" fill=\"white\"/>\n<path d=\"M44.5016 157.1C45.5509 157.1 46.4016 156.249 46.4016 155.2C46.4016 154.15 45.5509 153.3 44.5016 153.3C43.4522 153.3 42.6016 154.15 42.6016 155.2C42.6016 156.249 43.4522 157.1 44.5016 157.1Z\" fill=\"#005D92\"/>\n<path d=\"M29.0016 143.399H19.6016V152.199H29.0016V143.399Z\" fill=\"#99290A\"/>\n<path d=\"M19.6 152.2L17 159H32L28.9 150.3L19.6 152.2Z\" fill=\"#0D234B\"/>\n<path d=\"M49.1 147.5H39V154.8H49.1V147.5Z\" fill=\"#99290A\"/>\n<path d=\"M11.6016 84.4992L12.8016 86.8992C13.7016 88.6992 15.3016 89.9992 17.2016 90.4992L18.2016 90.7992L15.2016 83.1992L11.6016 84.4992Z\" fill=\"#99290A\"/>\n<path d=\"M39 152.9V159H65.5L49.1 151.5V149.3L39 152.9Z\" fill=\"#0D234B\"/>\n<path d=\"M20.6 85.1H12.3C11.3 85.1 10.5 84.3 10.5 83.3V62H20.6V85.1Z\" fill=\"#FBC2C1\"/>\n<path d=\"M33.3984 65.6992V147.899H14.8984V89.5992C14.8984 80.9992 17.3984 72.8992 22.0984 65.6992H33.3984Z\" fill=\"#005D92\"/>\n<path d=\"M33.8992 65.6992H44.4992L55.1992 103.699C55.8992 106.099 56.2992 108.699 56.2992 111.199V147.899H38.9992V111.599L32.6992 86.7992V65.6992H33.8992Z\" fill=\"#005D92\"/>\n<path opacity=\"0.2\" d=\"M37.8 82.5L39 111.6L33.5 89.9L33.6 84.2L34.2 83.6L37.8 82.5Z\" fill=\"#0D234B\"/>\n<path d=\"M28.3984 35.1H16.3984V19.3C16.3984 15 19.8984 11.5 24.1984 11.5H28.4984V35.1H28.3984Z\" fill=\"black\"/>\n<path d=\"M42.5 35.0996H20V12.3996C20 6.19961 25 1.09961 31.3 1.09961C37.5 1.19961 42.5 6.19961 42.5 12.3996V35.0996Z\" fill=\"black\"/>\n<path d=\"M33.599 25.6992H32.299C28.099 25.5992 24.699 21.9992 24.899 17.7992L25.099 12.4992C25.199 8.29921 28.799 4.89921 32.999 5.09921C37.199 5.19921 40.599 8.79921 40.399 12.9992L40.199 19.6992C39.999 23.0992 37.099 25.7992 33.599 25.6992Z\" fill=\"#99290A\"/>\n<path d=\"M25.8008 15.4992H27.5008C28.7008 15.4992 29.7008 14.4992 29.7008 13.2992V11.5992C34.3008 14.0992 41.8008 12.6992 41.8008 12.6992L40.1008 6.19922L28.8008 7.99922L25.8008 15.4992Z\" fill=\"black\"/>\n<path d=\"M25.8 15.4998H21.5L25.8 4.7998L31.6 3.2998L37.9 4.3998L39.8 8.7998L28.3 9.39981L25.8 15.4998Z\" fill=\"black\"/>\n<path d=\"M24.4992 18.6996C25.7695 18.6996 26.7992 17.6699 26.7992 16.3996C26.7992 15.1294 25.7695 14.0996 24.4992 14.0996C23.229 14.0996 22.1992 15.1294 22.1992 16.3996C22.1992 17.6699 23.229 18.6996 24.4992 18.6996Z\" fill=\"#99290A\"/>\n<path d=\"M34.7016 31.4H26.1016L26.9016 22.5L34.7016 23.8V31.4Z\" fill=\"#99290A\"/>\n<path d=\"M34.5 25.6994C34.5 25.6994 31.7 26.0994 29.5 24.8994\" stroke=\"#4F1600\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path d=\"M65.5 159H39V162H65.5V159Z\" fill=\"#005D92\"/>\n<path d=\"M32 159H17V162H32V159Z\" fill=\"#005D92\"/>\n<path d=\"M45.5 66.4098L10.5 65.6098V39.3098C10.5 34.1098 14.7 30.0098 19.8 30.0098H41L45.5 40.3098V66.4098Z\" fill=\"#FBC2C1\"/>\n<path d=\"M37.2008 72.1992H21.1008C18.7008 72.1992 16.8008 69.8992 17.4008 67.4992L23.7008 46.8992L37.2008 46.1992V72.1992Z\" fill=\"#FBC2C1\"/>\n<path d=\"M46.4016 49.8994L46.5016 72.7994H15.6016V47.3994L46.4016 49.8994Z\" fill=\"#FBC2C1\"/>\n<path d=\"M33.6016 90.5998V83.7998\" stroke=\"#0D234B\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M33.6016 83.8L37.8016 82.5\" stroke=\"#0D234B\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M37.4016 27.1992H24.1016V35.2992H37.4016V27.1992Z\" fill=\"#FBC2C1\"/>\n<path d=\"M33.3984 141.8H14.8984V148H33.3984V141.8Z\" fill=\"#005D92\"/>\n<path d=\"M56.2 141.8H39V148H56.2V141.8Z\" fill=\"#005D92\"/>\n<path d=\"M44.5016 157.1C45.5509 157.1 46.4016 156.249 46.4016 155.2C46.4016 154.15 45.5509 153.3 44.5016 153.3C43.4522 153.3 42.6016 154.15 42.6016 155.2C42.6016 156.249 43.4522 157.1 44.5016 157.1Z\" fill=\"#005D92\"/>\n<path d=\"M56.2 143.399H39\" stroke=\"#0D234B\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M33.3984 143.399H14.8984\" stroke=\"#0D234B\" stroke-width=\"0.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path opacity=\"0.3\" d=\"M26.1016 28.3994V31.5994\" stroke=\"#F06365\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path opacity=\"0.3\" d=\"M28.5 28.3994V31.5994\" stroke=\"#F06365\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path opacity=\"0.3\" d=\"M30.8008 28.3994V31.5994\" stroke=\"#F06365\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path opacity=\"0.3\" d=\"M33.1016 28.3994V31.5994\" stroke=\"#F06365\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path opacity=\"0.3\" d=\"M35.5 28.3994V31.5994\" stroke=\"#F06365\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path d=\"M30.6016 80.7998L15.6016 76.3998V72.7998H32.6016L30.6016 80.7998Z\" fill=\"white\"/>\n<path d=\"M49.8016 78.9992L35.6016 78.7992L32.6016 72.7992L46.6016 72.6992L49.8016 78.9992Z\" fill=\"white\"/>\n<path d=\"M15.6016 72.7994V47.3994\" stroke=\"#2D2013\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M48.0013 55.0993L36.3013 40.0993C34.0013 37.3993 34.5013 33.2993 37.3013 31.2993C40.1013 29.0993 44.1013 29.7993 46.0013 32.7993L56.0013 49.0993L48.0013 55.0993Z\" fill=\"#FBC2C1\"/>\n<path d=\"M46.3984 53.3992V47.1992\" stroke=\"#2D2013\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M84.1511 48.8L74.696 47C74.696 47 74.4969 47 74.3974 47H52V57L74.1983 52.1C75.0941 51.9 75.4922 51.6 75.7908 50.8L83.753 51.2C84.3501 51.2 84.7483 50.9 84.9473 50.3C85.0468 49.8 85.0468 49.3 84.5492 49C84.4497 48.9 84.3501 48.9 84.1511 48.8Z\" fill=\"#99290A\"/>\n<path d=\"M69.6192 55.2919L52 57V47H72.0002L71.5041 53.0877C71.4049 54.2423 70.6113 55.1869 69.6192 55.2919Z\" fill=\"#FBC2C1\"/>\n<rect x=\"47\" y=\"47\" width=\"10\" height=\"10\" rx=\"5\" fill=\"#FBC2C1\"/>\n<path opacity=\"0.2\" d=\"M54.5 47L53 50L57 47H54.5Z\" fill=\"#E5474C\"/>\n</svg>\n","<svg width=\"278\" height=\"55\" viewBox=\"0 0 278 55\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M247.355 49.6815C247.694 52.479 249.722 54.6261 252.181 54.6261H272.926C275.62 54.6261 277.798 52.0522 277.798 48.8686V48.8008C277.798 45.6173 275.62 43.0433 272.926 43.0433H270.537C269.608 39.2439 266.846 36.473 263.585 36.473H259.717C259.373 31.841 256.101 28.2092 252.124 28.2092C248.146 28.2092 244.88 31.841 244.53 36.473H242.095C238.083 36.473 234.816 40.6726 234.816 45.8205V49.6815H247.355Z\" fill=\"#E0F8FF\"/>\n<path d=\"M12.0391 46.1022C12.3176 48.5569 14.0867 50.4373 16.2421 50.4373H34.5807C36.9304 50.4373 38.8216 48.202 38.8216 45.4248V45.3571C38.8216 42.5799 36.9304 40.3446 34.5807 40.3446H32.4684C31.6678 37.0209 29.227 34.5872 26.3283 34.5872H22.9179C22.6004 30.5597 19.7327 27.4071 16.2421 27.4071C12.7514 27.4071 9.88371 30.5597 9.56622 34.5872H7.41658C3.86346 34.5872 0.998047 38.2448 0.998047 42.7154V46.1022H12.0391Z\" fill=\"#E0F8FF\"/>\n<path d=\"M131.056 26.5864C131.449 30.0423 133.948 32.6895 136.991 32.6895H162.891C166.209 32.6895 168.88 29.5426 168.88 25.6328V25.5375C168.88 21.6277 166.209 18.4808 162.891 18.4808H159.907C158.777 13.8015 155.33 10.3753 151.236 10.3753H146.42C145.971 4.70533 141.921 0.26709 136.991 0.26709C132.062 0.26709 128.012 4.70533 127.563 10.3753H124.528C119.51 10.3753 115.463 15.5247 115.463 21.8184V26.5864H131.056Z\" fill=\"#E0F8FF\"/>\n</svg>\n","@import '../../../globals/main.scss';\n\npn-find-price {\n .sizeTable {\n background-color: transparent !important;\n border-style: none !important;\n border: 0 !important;\n position: relative;\n\n > tr td {\n margin-bottom: 1em;\n text-align: center;\n vertical-align: bottom;\n padding-right: 1em;\n padding-top: 1em;\n }\n\n #clouds {\n position: absolute;\n top: 0em;\n left: 4em;\n z-index: -1;\n }\n }\n\n .firstCell {\n margin-right: 0;\n margin-left: auto;\n }\n\n .findprice-form {\n max-width: 60em;\n margin: 0em auto 3em auto;\n\n fieldset {\n border: none;\n }\n }\n [slot='title'] {\n margin-bottom: 1rem;\n }\n h2 {\n text-align: center;\n }\n .heading {\n text-align: center;\n line-height: 1.1;\n font-weight: bold;\n margin-bottom: 1rem;\n color: $blue700;\n }\n\n .resultHeading {\n text-align: center;\n font-size: 1.5em;\n line-height: 1.1;\n font-weight: bold;\n margin-bottom: 2em;\n }\n\n .sizecategory {\n margin-top: 1em;\n margin-bottom: 3rem;\n font-size: 0.9em;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .weightoption {\n font-size: 0.9em;\n\n max-width: 41rem;\n margin: 0 auto;\n }\n .weightoption-content {\n text-align: center;\n pn-choice-button {\n width: 7em;\n line-height: 3.3em;\n font-size: 0.9em;\n vertical-align: bottom;\n > label {\n align-content: center;\n justify-content: center;\n }\n ::before {\n content: 'Max \\a0';\n font-weight: lighter;\n }\n }\n }\n\n .resultlist {\n margin: 3.2rem 0;\n }\n\n .servicePoint {\n text-align: center;\n\n pn-illustration {\n display: block;\n max-width: 5em;\n max-height: 5em;\n margin: 1.5em auto 0 auto;\n }\n\n h3 {\n margin-top: 0.8em;\n margin-bottom: 0.9em;\n }\n\n a {\n color: $blue700;\n text-decoration: none;\n &:hover {\n color: $blue900;\n text-decoration: underline;\n }\n }\n }\n}\n","import { Component, h, Prop, State, Watch } from '@stencil/core';\nimport { translations, markets } from './pn-find-price-translations';\nimport { ProductPriceSourceData, ProductPriceItem, FindPriceWeight, PnfindPriceMarket, PnfindPricei18n, FindPriceSizeCategory } from './pn-find-price-types';\nimport { weights, sizeCategories, fileLocation } from './data.js';\nimport { convertFileForSizeCategogy } from '../../../globals/shared/productprice/convert.js';\nimport { state } from './pn-find-price-store';\nimport small from './img/small-package.svg';\nimport medium from './img/medium-package.svg';\nimport large from './img/large-package.svg';\nimport person from './img/postnord-person1.svg';\nimport clouds from './img/clouds.svg';\n\n@Component({\n tag: 'pn-find-price',\n styleUrl: 'pn-find-price.scss',\n})\nexport class PnfindPrice {\n @Prop() source: string = fileLocation;\n @Prop({ mutable: true }) language: string = 'sv';\n @Prop({ mutable: true }) market: string = 'se';\n\n @State() filteredItems: ProductPriceItem[] = [];\n @State() weight: FindPriceWeight = { value: 0, name: '' } as FindPriceWeight;\n @State() weightvalue: number = 0;\n @State() sourceData: ProductPriceSourceData = { types: [], data: [] };\n @State() sizecategory: FindPriceSizeCategory = { value: '', name: '', icon: '', unit: '' } as FindPriceSizeCategory;\n\n componentWillLoad() {\n this.setState();\n this.getDataSource();\n }\n\n async getDataSource() {\n const cacheBusting = `?cache=${Math.floor(Math.random() * (10000 - 1) + 1)}`;\n const req = await fetch(this.source + cacheBusting);\n const reqbody = await req.blob();\n try {\n const convertedData = await convertFileForSizeCategogy(reqbody);\n this.sourceData = convertedData;\n\n //for keeping small value preselected\n this.sizecategory = (sizeCategories as FindPriceSizeCategory[]).filter(x => x.value === 'Small')[0];\n\n this.filterItems();\n } catch (e) {\n console.log('Unable to parse data');\n }\n }\n\n @Watch('market')\n @Watch('language')\n setState() {\n if (this.market) {\n state.market = markets[this.market] as PnfindPriceMarket;\n }\n if (this.language && translations[this.language]) {\n state.i18n = translations[this.language] as PnfindPricei18n;\n }\n }\n\n @Watch('sizecategory')\n @Watch('weightvalue')\n filterItems() {\n if (!this.sourceData?.data) {\n console.log('Data has not yet been loaded');\n return;\n }\n\n //to handle withing country search\n const deliveryScopeData = this.sourceData.data.filter(x => x.deliveryscope.toLocaleLowerCase() === state.market.country.toLocaleLowerCase());\n if (!this.sizecategory) {\n return;\n }\n\n const sizeItemData = deliveryScopeData.filter(x => x.sizecategory.toLocaleLowerCase() === this.sizecategory.value.toLocaleLowerCase());\n\n if (!this.weight) {\n return;\n }\n const comparisonWeight = this.weight.value <= 20 ? this.weight.value * 1000 : this.weight.value;\n\n let weightFilteredData = sizeItemData.filter(x => (x.maxweight <= 20 ? x.maxweight * 1000 : x.maxweight) === comparisonWeight);\n\n if (this.weightvalue !== 0) {\n let clubbedProducts = sizeItemData\n .filter(x => x.maxweight.toString().includes('upto'))\n .filter(x => Number(x.maxweight.toString().toLocaleLowerCase().replace('upto', '')) - comparisonWeight >= 0);\n weightFilteredData = weightFilteredData.concat(clubbedProducts);\n }\n\n if (weightFilteredData.length === 0 && this.weightvalue !== 0) {\n weightFilteredData = sizeItemData.filter(x => (x.maxweight <= 20 ? x.maxweight * 1000 : x.maxweight) >= comparisonWeight);\n\n if (weightFilteredData.length > 0) {\n //sort based on the maxvalue\n weightFilteredData.sort((a, b) => {\n return a.maxweight - b.maxweight;\n });\n\n // map to get the next unique item\n const uniqueWeightOptions = [...new Map(weightFilteredData.reverse().map(item => [item['id'], item])).values()];\n if (uniqueWeightOptions.length > 0) {\n weightFilteredData = uniqueWeightOptions;\n }\n }\n }\n\n //10000 to handle the null values in the rank column, to keep such products at the end of the list\n weightFilteredData.sort((a, b) => {\n var ra = a.rank ? a.rank : 10000;\n var rb = b.rank ? b.rank : 10000;\n\n var ua = a.highestrankusp ? a.highestrankusp : 'z';\n var ub = b.highestrankusp ? b.highestrankusp : 'z';\n\n const compareUsp = ua.localeCompare(ub);\n const compareRank = ra - rb;\n\n return compareUsp || compareRank;\n });\n\n this.filteredItems = weightFilteredData;\n }\n\n render() {\n return (\n <div class=\"findprice-form\">\n <fieldset>\n <legend class=\"heading\">{state.i18n.sizeheading}</legend>\n <div class=\"sizecategory\">\n <table class=\"sizeTable\">\n <img id=\"clouds\" src={clouds}></img>\n <tr>\n <td>\n <img class=\"firstCell\" src={person}></img>\n </td>\n <td>\n <img src={small}></img>\n </td>\n <td>\n <img src={medium}></img>\n </td>\n <td>\n <img src={large}></img>\n </td>\n </tr>\n <tr>\n <td></td>\n {sizeCategories.map(sizeCategory => (\n <td>\n <pn-radio-button\n id={'findpricecategory-' + sizeCategory.value}\n radioid={sizeCategory.value}\n value={sizeCategory.value}\n name=\"sizecategory\"\n checked={sizeCategory.value === this.sizecategory.value}\n onChange={() => {\n this.sizecategory = (sizeCategories as FindPriceSizeCategory[]).filter(x => x.value === sizeCategory.value)[0];\n\n this.weight = { value: 0, name: '' } as FindPriceWeight;\n this.weightvalue = this.weight.value;\n }}\n ></pn-radio-button>\n </td>\n ))}\n </tr>\n </table>\n </div>\n </fieldset>\n\n <fieldset>\n <legend class=\"heading\">{state.i18n.weightheading}</legend>\n {this.sizecategory.value && weights[this.sizecategory.unit] ? (\n <div class=\"weightoption\">\n {\n <div class=\"weightoption-content\">\n {weights[this.sizecategory.unit].map(wght => (\n <pn-choice-button\n id={'findpriceweight-' + wght.value}\n choiceid={this.sizecategory.value + wght.value}\n name=\"weight\"\n type=\"radio\"\n value={!this.weight.value ? 0 : weights[this.sizecategory.unit].findIndex(x => x.value === this.weightvalue)}\n checked={wght.value === this.weight.value}\n onChange={() => {\n this.weight = (weights[this.sizecategory.unit] as FindPriceWeight[]).filter(x => x.value === wght.value)[0];\n this.weightvalue = this.weight.value;\n }}\n >\n {wght.name}\n </pn-choice-button>\n ))}\n </div>\n }\n </div>\n ) : null}\n\n {this.filteredItems && this.filteredItems.length > 0 ? (\n <div class=\"resultlist\">\n {state.i18n.resultlistheading ? <div class=\"resultHeading\">{state.i18n.resultlistheading}</div> : null}\n {this.filteredItems.map((item: ProductPriceItem) => (\n <div>\n <pn-find-price-result item={item}></pn-find-price-result>\n </div>\n ))}\n </div>\n ) : null}\n </fieldset>\n </div>\n );\n }\n}\n"],"version":3}
@@ -22,7 +22,7 @@ const { state, onChange } = createStore({
22
22
  },
23
23
  });
24
24
 
25
- const pnFindServiceAndPriceResultCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}";
25
+ const pnFindServiceAndPriceResultCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}";
26
26
  const PnFindServiceAndPriceResultStyle0 = pnFindServiceAndPriceResultCss;
27
27
 
28
28
  const PnfindServiceAndPriceResult = /*@__PURE__*/ proxyCustomElement(class PnfindServiceAndPriceResult extends HTMLElement {
@@ -53,7 +53,7 @@ const PnfindServiceAndPriceResult = /*@__PURE__*/ proxyCustomElement(class Pnfin
53
53
  // (this.item.what === "letter" && this.item.maxweight > 999) ? Math.round(this.item.maxweight/1000) + " kg" : this.item.maxweight + " g";
54
54
  }
55
55
  render() {
56
- return (h(Host, { key: '47d8e3473abc44c2f33670ce759b589a3b2fd942' }, this.shownitems.map(item => (h("pn-product-card", null, h("pn-illustration", { slot: "illustration", illustration: item.illustration }), h("div", { slot: "content" }, h("div", { class: "content" }, h("h3", null, item.name), item.description ? h("div", { class: "description" }, item.description) : null, item.info ? h("div", { class: "description" }, item.info) : null)), item.maxweight ? h("pn-product-tile-info", { label: state.i18n.maxweightlabel, text: this.weightText }) : null, item.pricestamps ? (h("pn-product-tile-price", { slot: "price", label: state.i18n.stampshopcta, amount: item.pricestamps + '', currency: state.market.currency })) : null, item.pricesenddirect ? (h("pn-product-tile-price", { slot: "price", label: state.i18n.senddirectcta, amount: item.pricesenddirect + '', currency: state.market.currency, url: "https://portal.postnord.com/skickadirekt/" })) : null, item.note ? (h("small", { slot: "note" }, h("p", null, item.note))) : null)))));
56
+ return (h(Host, { key: '6a4bac61a7b07cd203798ad66e723bd7e45298e2' }, this.shownitems.map(item => (h("pn-product-card", null, h("pn-illustration", { slot: "illustration", illustration: item.illustration }), h("div", { slot: "content" }, h("div", { class: "content" }, h("h3", null, item.name), item.description ? h("div", { class: "description" }, item.description) : null, item.info ? h("div", { class: "description" }, item.info) : null)), item.maxweight ? h("pn-product-tile-info", { label: state.i18n.maxweightlabel, text: this.weightText }) : null, item.pricestamps ? (h("pn-product-tile-price", { slot: "price", label: state.i18n.stampshopcta, amount: item.pricestamps + '', currency: state.market.currency })) : null, item.pricesenddirect ? (h("pn-product-tile-price", { slot: "price", label: state.i18n.senddirectcta, amount: item.pricesenddirect + '', currency: state.market.currency, url: "https://portal.postnord.com/skickadirekt/" })) : null, item.note ? (h("small", { slot: "note" }, h("p", null, item.note))) : null)))));
57
57
  }
58
58
  static get watchers() { return {
59
59
  "item": ["composeItems"]
@@ -1 +1 @@
1
- {"file":"pn-find-service-and-price-result2.js","mappings":";;;;;;AACA;MAEM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,WAAW,CAAC;IACtC,IAAI,EAAE;QACJ,gBAAgB,EAAE,EAAE;QACpB,oBAAoB,EAAE,EAAE;QACxB,WAAW,EAAE,EA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AAG,EAAE,EAAE,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,QAAQ,GAA0B,IAC1J,IAAI,EAEP,IAAI,CAAC,eAAe,IACnB,6BACE,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,aAAa,EAC/B,MAAM,EAAE,IAAI,CAAC,eAAe,GAAG,EAAE,EACjC,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,QAAQ,EAC/B,GAAG,EAAC,2CAA2C,GACxB,IACvB,IAAI,EACP,IAAI,CAAC,IAAI,IACR,aAAO,IAAI,EAAC,MAAM,IAChB,aAAI,IAAI,CAAC,IAAI,CAAK,CACZ,IACN,IAAI,CACQ,CACnB,CAAC,CACG,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/widgets/pn-find-service-and-price/pn-find-service-and-price-store.tsx","src/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.scss?tag=pn-find-service-and-price-result","src/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.tsx"],"sourcesContent":["import { createStore } from '@stencil/store';\n// Read more about how stencil stores work here: https://stenciljs.com/docs/stencil-store\n\nconst { state, onChange } = createStore({\n i18n: {\n componentheading: '',\n deliveryscopeheading: '',\n sizeheading: '',\n resultlistheading: '',\n weightlabel: '',\n maxweightlabel: '',\n maxmeasurementlabel: '',\n senddirectcta: '',\n stampshopcta: '',\n },\n market: {\n currency: '',\n },\n});\n\nexport { state, onChange };\nexport default state;\n","@import '../../../globals/main.scss';\n\npn-find-service-and-price-result {\n}\n","import { Component, h, Prop, Host, Watch, State } from '@stencil/core';\nimport { ProductPriceItem } from '../../../globals/shared/productprice/product-price-types';\nimport { state } from './pn-find-service-and-price-store';\n\n@Component({\n tag: 'pn-find-service-and-price-result',\n styleUrl: 'pn-find-service-and-price-result.scss',\n})\nexport class PnfindServiceAndPriceResult {\n @Prop({ mutable: true }) item: ProductPriceItem = null;\n\n @Prop() shownitems: ProductPriceItem[] = [];\n @State() weightText = '';\n componentWillLoad() {\n this.composeItems();\n }\n\n @Watch('item')\n composeItems() {\n this.shownitems = [this.item];\n // this.shownitems = [];\n // if (this.item.pricestamps) {\n // this.shownitems.push({...this.item, priceagent: null, pricesenddirect: null});\n // }\n // if (this.item.priceagent) {\n // this.shownitems.push({...this.item, pricestamps: null, pricesenddirect: null});\n // }\n // if (this.item.pricesenddirect) {\n // this.shownitems.push({...this.item, pricestamps: null, priceagent: null});\n // }\n // Parcels are always in KG. Letter KG must be converted from grams\n // this.weightText = (this.item.what === \"parcel\") ? this.item.maxweight + 'kg' :\n // (this.item.what === \"letter\" && this.item.maxweight > 999) ? Math.round(this.item.maxweight/1000) + \" kg\" : this.item.maxweight + \" g\";\n }\n\n render() {\n return (\n <Host>\n {this.shownitems.map(item => (\n <pn-product-card>\n <pn-illustration slot=\"illustration\" illustration={item.illustration}></pn-illustration>\n <div slot=\"content\">\n <div class=\"content\">\n <h3>{item.name}</h3>\n {item.description ? <div class=\"description\">{item.description}</div> : null}\n {item.info ? <div class=\"description\">{item.info}</div> : null}\n </div>\n </div>\n\n {item.maxweight ? <pn-product-tile-info label={state.i18n.maxweightlabel} text={this.weightText}></pn-product-tile-info> : null}\n {/* { item.maximummeasurements ? (<pn-product-tile-info label={state.i18n.maxmeasurementlabel} text={item.maximummeasurements}></pn-product-tile-info>) : null } */}\n {item.pricestamps ? (\n <pn-product-tile-price slot=\"price\" label={state.i18n.stampshopcta} amount={item.pricestamps + ''} currency={state.market.currency}></pn-product-tile-price>\n ) : null}\n {/* { item.priceagent ? (<pn-product-tile-price slot=\"price\" label=\"\" amount={item.priceagent+''} currency={ state.market.currency } url=\"https://shop.postnord.se/ebutik/default.aspx\"></pn-product-tile-price>) : null } */}\n {item.pricesenddirect ? (\n <pn-product-tile-price\n slot=\"price\"\n label={state.i18n.senddirectcta}\n amount={item.pricesenddirect + ''}\n currency={state.market.currency}\n url=\"https://portal.postnord.com/skickadirekt/\"\n ></pn-product-tile-price>\n ) : null}\n {item.note ? (\n <small slot=\"note\">\n <p>{item.note}</p>\n </small>\n ) : null}\n </pn-product-card>\n ))}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"pn-find-service-and-price-result2.js","mappings":";;;;;;AACA;MAEM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,WAAW,CAAC;IACtC,IAAI,EAAE;QACJ,gBAAgB,EAAE,EAAE;QACpB,oBAAoB,EAAE,EAAE;QACxB,WAAW,EAAE,EAAE;QACf,iBAAiB,EAAE,EAAE;QACrB,WAAW,EAAE,EAAE;QACf,cAAc,EAAE,EAAE;QAClB,mBAAmB,EAAE,EAAE;QACvB,aAAa,EAAE,EAAE;QACjB,YAAY,EAAE,EAAE;KACjB;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,EAAE;KACb;CACF;;AClBD,MAAM,8BAA8B,GAAG,iFAAiF,CAAC;AACzH,0CAAe,8BAA8B;;MCOhC,2BAA2B;;;;oBACY,IAAI;0BAEb,EAAE;0BACrB,EAAE;;IACxB,iBAAiB;QACf,IAAI,CAAC,YAAY,EAAE,CAAC;KACrB;IAGD,YAAY;QACV,IAAI,CAAC,UAAU,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;;;;;;;;;;KAc/B;IAED,MAAM;QACJ,QACE,EAAC,IAAI,uDACF,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,KACvB,2BACE,uBAAiB,IAAI,EAAC,cAAc,EAAC,YAAY,EAAE,IAAI,CAAC,YAAY,GAAoB,EACxF,WAAK,IAAI,EAAC,SAAS,IACjB,WAAK,KAAK,EAAC,SAAS,IAClB,cAAK,IAAI,CAAC,IAAI,CAAM,EACnB,IAAI,CAAC,WAAW,GAAG,WAAK,KAAK,EAAC,aAAa,IAAE,IAAI,CAAC,WAAW,CAAO,GAAG,IAAI,EAC3E,IAAI,CAAC,IAAI,GAAG,WAAK,KAAK,EAAC,aAAa,IAAE,IAAI,CAAC,IAAI,CAAO,GAAG,IAAI,CAC1D,CACF,EAEL,IAAI,CAAC,SAAS,GAAG,4BAAsB,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE,IAAI,EAAE,IAAI,CAAC,UAAU,GAAyB,GAAG,IAAI,EAE9H,IAAI,CAAC,WAAW,IACf,6BAAuB,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,MAAM,EAAE,IAAI,CAAC,WAAW,GAAG,EAAE,EAAE,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,QAAQ,GAA0B,IAC1J,IAAI,EAEP,IAAI,CAAC,eAAe,IACnB,6BACE,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,aAAa,EAC/B,MAAM,EAAE,IAAI,CAAC,eAAe,GAAG,EAAE,EACjC,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,QAAQ,EAC/B,GAAG,EAAC,2CAA2C,GACxB,IACvB,IAAI,EACP,IAAI,CAAC,IAAI,IACR,aAAO,IAAI,EAAC,MAAM,IAChB,aAAI,IAAI,CAAC,IAAI,CAAK,CACZ,IACN,IAAI,CACQ,CACnB,CAAC,CACG,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/widgets/pn-find-service-and-price/pn-find-service-and-price-store.tsx","src/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.scss?tag=pn-find-service-and-price-result","src/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.tsx"],"sourcesContent":["import { createStore } from '@stencil/store';\n// Read more about how stencil stores work here: https://stenciljs.com/docs/stencil-store\n\nconst { state, onChange } = createStore({\n i18n: {\n componentheading: '',\n deliveryscopeheading: '',\n sizeheading: '',\n resultlistheading: '',\n weightlabel: '',\n maxweightlabel: '',\n maxmeasurementlabel: '',\n senddirectcta: '',\n stampshopcta: '',\n },\n market: {\n currency: '',\n },\n});\n\nexport { state, onChange };\nexport default state;\n","@import '../../../globals/main.scss';\n\npn-find-service-and-price-result {\n}\n","import { Component, h, Prop, Host, Watch, State } from '@stencil/core';\nimport { ProductPriceItem } from '../../../globals/shared/productprice/product-price-types';\nimport { state } from './pn-find-service-and-price-store';\n\n@Component({\n tag: 'pn-find-service-and-price-result',\n styleUrl: 'pn-find-service-and-price-result.scss',\n})\nexport class PnfindServiceAndPriceResult {\n @Prop({ mutable: true }) item: ProductPriceItem = null;\n\n @Prop() shownitems: ProductPriceItem[] = [];\n @State() weightText = '';\n componentWillLoad() {\n this.composeItems();\n }\n\n @Watch('item')\n composeItems() {\n this.shownitems = [this.item];\n // this.shownitems = [];\n // if (this.item.pricestamps) {\n // this.shownitems.push({...this.item, priceagent: null, pricesenddirect: null});\n // }\n // if (this.item.priceagent) {\n // this.shownitems.push({...this.item, pricestamps: null, pricesenddirect: null});\n // }\n // if (this.item.pricesenddirect) {\n // this.shownitems.push({...this.item, pricestamps: null, priceagent: null});\n // }\n // Parcels are always in KG. Letter KG must be converted from grams\n // this.weightText = (this.item.what === \"parcel\") ? this.item.maxweight + 'kg' :\n // (this.item.what === \"letter\" && this.item.maxweight > 999) ? Math.round(this.item.maxweight/1000) + \" kg\" : this.item.maxweight + \" g\";\n }\n\n render() {\n return (\n <Host>\n {this.shownitems.map(item => (\n <pn-product-card>\n <pn-illustration slot=\"illustration\" illustration={item.illustration}></pn-illustration>\n <div slot=\"content\">\n <div class=\"content\">\n <h3>{item.name}</h3>\n {item.description ? <div class=\"description\">{item.description}</div> : null}\n {item.info ? <div class=\"description\">{item.info}</div> : null}\n </div>\n </div>\n\n {item.maxweight ? <pn-product-tile-info label={state.i18n.maxweightlabel} text={this.weightText}></pn-product-tile-info> : null}\n {/* { item.maximummeasurements ? (<pn-product-tile-info label={state.i18n.maxmeasurementlabel} text={item.maximummeasurements}></pn-product-tile-info>) : null } */}\n {item.pricestamps ? (\n <pn-product-tile-price slot=\"price\" label={state.i18n.stampshopcta} amount={item.pricestamps + ''} currency={state.market.currency}></pn-product-tile-price>\n ) : null}\n {/* { item.priceagent ? (<pn-product-tile-price slot=\"price\" label=\"\" amount={item.priceagent+''} currency={ state.market.currency } url=\"https://shop.postnord.se/ebutik/default.aspx\"></pn-product-tile-price>) : null } */}\n {item.pricesenddirect ? (\n <pn-product-tile-price\n slot=\"price\"\n label={state.i18n.senddirectcta}\n amount={item.pricesenddirect + ''}\n currency={state.market.currency}\n url=\"https://portal.postnord.com/skickadirekt/\"\n ></pn-product-tile-price>\n ) : null}\n {item.note ? (\n <small slot=\"note\">\n <p>{item.note}</p>\n </small>\n ) : null}\n </pn-product-card>\n ))}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -127,7 +127,7 @@ const weights = {
127
127
  ],
128
128
  };
129
129
 
130
- const pnFindServiceAndPriceCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}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: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%;transform:translateY(-50%);right:1.2em;margin-top:1.55rem;font-weight:500}pn-find-service-and-price .weightoption-range{flex-grow:1;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:flex;justify-content:space-between;font-size:0.75em}pn-find-service-and-price .resultlist{margin:3em 0}";
130
+ const pnFindServiceAndPriceCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}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: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%;transform:translateY(-50%);right:1.2em;margin-top:1.55rem;font-weight:500}pn-find-service-and-price .weightoption-range{flex-grow:1;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:flex;justify-content:space-between;font-size:0.75em}pn-find-service-and-price .resultlist{margin:3em 0}";
131
131
  const PnFindServiceAndPriceStyle0 = pnFindServiceAndPriceCss;
132
132
 
133
133
  const PnfindServiceAndPrice = /*@__PURE__*/ proxyCustomElement(class PnfindServiceAndPrice extends HTMLElement {
@@ -217,7 +217,7 @@ const PnfindServiceAndPrice = /*@__PURE__*/ proxyCustomElement(class PnfindServi
217
217
  this.filteredItems = weightFilteredData;
218
218
  }
219
219
  render() {
220
- return (h("div", { key: '0de982c8ec40481b1a547375c6ebe90dd0793e68' }, h("div", { key: 'c91c7d40a40133f018332de72c9e2d01bb345be8', class: "findprice-form" }, state.i18n.componentheading ? h("h2", null, state.i18n.componentheading) : null, h("div", { key: '2806ec049ae3cad22813d139b57526faea25300b', class: "postagetypes" }, postagetypes.map(postagetype => (h("pn-choice-button", { choiceid: postagetype.value, value: postagetype.value, name: "postagetype", type: "radio", checked: postagetype.value === this.postagetype.value, onChange: () => {
220
+ return (h("div", { key: '15c5a4f1695ae66a41fb0190c87ca5302f3c3093' }, h("div", { key: '57532a1ae5e93552f6a3db4977ad54534f93a408', class: "findprice-form" }, state.i18n.componentheading ? h("h2", null, state.i18n.componentheading) : null, h("div", { key: 'c8a72e92f08b28bfc78c91ed6c6bb78c26f2c38a', class: "postagetypes" }, postagetypes.map(postagetype => (h("pn-choice-button", { choiceid: postagetype.value, value: postagetype.value, name: "postagetype", type: "radio", checked: postagetype.value === this.postagetype.value, onChange: () => {
221
221
  this.postagetype = postagetypes.filter(x => x.value === postagetype.value)[0];
222
222
  this.deliveryscope = { value: '', name: '', icon: '' };
223
223
  this.weight = { value: 0, name: '' };
@@ -1 +1 @@
1
- {"file":"pn-find-service-and-price.js","mappings":";;;;;;;;AAAO,MAAM,YAAY,GAAG;IAC1B,EAAE,EAAE;QACF,gBAAgB,EAAE,qBAAqB;QACvC,oBAAoB,EAAE,gBAAgB;QACtC,WAAW,EAAE,uBAAuB;QACpC,iBAAiB,EAAE,mBAAmB;QACtC,WAAW,EAAE,MAAM;QACnB,cAAc,EAAE,SAAS;QACzB,mBAAmB,EAAE,UAAU;QAC/B,aAAa,EAAE,6BAA6B;QAC5C,YAAY,EAAE,+BAA+B;KAC9C;IACD,EAAE,EAAE;QACF,gBAAgB,EAAE,2BAA2B;QAC7C,oBAAoB,EAAE,gBAAgB;QACtC,WAAW,EAAE,yBAAyB;QACtC,iBAAiB,EAAE,+BAA+B;QAClD,WAAW,EAAE,QAAQ;QACrB,cAAc,EAAE,YAAY;QAC5B,mBAAmB,EAAE,qBAAqB;QAC1C,aAAa,EAAE,6BAA6B;QAC5C,YAAY,EAAE,oCAAoC;KACnD;IACD,EAAE,EAAE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;;;;;;;;;;;;","names":[],"sources":["src/components/widgets/pn-find-service-and-price/pn-find-service-and-price-translations.ts","src/components/widgets/pn-find-service-and-price/data.js","src/components/widgets/pn-find-service-and-price/pn-find-service-and-price.scss?tag=pn-find-service-and-price","src/components/widgets/pn-find-service-and-price/pn-find-service-and-price.tsx"],"sourcesContent":["export const translations = {\n sv: {\n componentheading: 'Vad vill du skicka?',\n deliveryscopeheading: 'Hit eller dit?',\n sizeheading: 'Hur mycket väger det?',\n resultlistheading: 'Några utvalda val',\n weightlabel: 'Vikt',\n maxweightlabel: 'Maxvikt',\n maxmeasurementlabel: 'Maxvolym',\n senddirectcta: 'Köp frakt via Skicka Direkt',\n stampshopcta: 'Köp frimärken via vår webshop',\n },\n en: {\n componentheading: 'What do you want to send?',\n deliveryscopeheading: 'Here or there?',\n sizeheading: 'How much does it weigh?',\n resultlistheading: 'Some suitable options for you',\n weightlabel: 'Weight',\n maxweightlabel: 'Max weight',\n maxmeasurementlabel: 'Maximum measurement',\n senddirectcta: 'Buy shipping in Send Direct',\n stampshopcta: 'Order home stamps from the webshop',\n },\n da: {\n componentheading: 'Vad vill du skicka?',\n deliveryscopeheading: 'Here or there?',\n sizeheading: 'How much does it weigh?',\n resultlistheading: 'Some suitable options for you',\n weightlabel: 'Vægt',\n maxweightlabel: 'Max vægt',\n maxmeasurementlabel: 'Maks. Volumen',\n senddirectcta: 'Buy shipping in Send Direct',\n stampshopcta: 'Order home stamps from the webshop',\n },\n no: {\n componentheading: 'Vad vill du skicka?',\n deliveryscopeheading: 'Here or there?',\n sizeheading: 'How much does it weigh?',\n resultlistheading: 'Some suitable options for you',\n weightlabel: 'Vekt',\n maxweightlabel: 'Maks vekt',\n maxmeasurementlabel: 'Maks volum',\n senddirectcta: 'Buy shipping in Send Direct',\n stampshopcta: 'Order home stamps from the webshop',\n },\n fi: {\n componentheading: 'Vad vill du skicka?',\n deliveryscopeheading: 'Here or there?',\n sizeheading: 'How much does it weigh?',\n resultlistheading: 'Some suitable options for you',\n weightlabel: 'Paino',\n maxweightlabel: 'Max paino',\n maxmeasurementlabel: 'Max äänenvoimakkuus',\n senddirectcta: 'Buy shipping in Send Direct',\n stampshopcta: 'Order home stamps from the webshop',\n },\n};\n\nexport const markets = {\n se: {\n currency: 'kr',\n },\n dk: {\n currency: 'dk',\n },\n fi: {\n currency: ' €',\n },\n no: {\n currency: 'kr',\n },\n};\n","const postagetypes = [\n { name: 'Brev', value: 'letter', illustration: 'letterbox-reply-letter-plants' },\n { name: 'Paket', value: 'parcel', illustration: 'tracking' },\n];\n\nconst deliveryscopes = {\n letter: [\n { name: 'Sweden', value: 'sweden', illustration: 'letterboxes' },\n { name: 'Abroad', value: 'abroad', illustration: 'character-box-letters-globe' },\n ],\n parcel: [\n { name: 'Sweden', value: 'sweden', illustration: 'letterboxes' },\n { name: 'Within Europe', value: 'withineurope', illustration: 'character-box-letters-globe' },\n { name: 'Outside Europe', value: 'outsideeurope', illustration: 'discover' },\n ],\n};\n\nconst weights = {\n letter: [\n { name: '50g', abbreviation: 'g', value: 50 },\n { name: '100g', abbreviation: 'g', value: 100 },\n { name: '250g', abbreviation: 'g', value: 250 },\n { name: '500g', abbreviation: 'g', value: 500 },\n { name: '1kg', abbreviation: 'kg', value: 1 },\n { name: '2kg', abbreviation: 'kg', value: 2 },\n ],\n parcel: [\n { name: '1kg', abbreviation: 'kg', value: 1 },\n { name: '2kg', abbreviation: 'kg', value: 2 },\n { name: '3kg', abbreviation: 'kg', value: 3 },\n { name: '4kg', abbreviation: 'kg', value: 4 },\n { name: '5kg', abbreviation: 'kg', value: 5 },\n { name: '6kg', abbreviation: 'kg', value: 6 },\n { name: '7Kg', abbreviation: 'kg', value: 7 },\n { name: '8kg', abbreviation: 'kg', value: 8 },\n { name: '9kg', abbreviation: 'kg', value: 9 },\n { name: '10kg', abbreviation: 'kg', value: 10 },\n { name: '11kg', abbreviation: 'kg', value: 11 },\n { name: '12kg', abbreviation: 'kg', value: 12 },\n { name: '13kg', abbreviation: 'kg', value: 13 },\n { name: '14kg', abbreviation: 'kg', value: 14 },\n { name: '15kg', abbreviation: 'kg', value: 15 },\n { name: '16kg', abbreviation: 'kg', value: 16 },\n { name: '17kg', abbreviation: 'kg', value: 17 },\n { name: '18kg', abbreviation: 'kg', value: 18 },\n { name: '20kg', abbreviation: 'kg', value: 20 },\n ],\n};\n\nexport { postagetypes, weights, deliveryscopes };\n","@import '../../../globals/main.scss';\n\npn-find-service-and-price {\n .findprice-form {\n max-width: 50em;\n margin: 0 auto;\n }\n\n h2,\n .heading {\n text-align: center;\n font-size: 1.5em;\n line-height: 1.1;\n font-weight: bold;\n margin-bottom: 1rem;\n }\n .postagetypes,\n .deliveryscope {\n text-align: center;\n margin-bottom: 3rem;\n }\n\n .weightoption {\n display: flex;\n gap: 1em;\n }\n\n .weightoption-input {\n width: 5em;\n position: relative;\n\n input::-webkit-outer-spin-button,\n input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n }\n\n .weightoption-input-abbreviation {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n right: 1.2em;\n margin-top: 1.55rem;\n font-weight: 500;\n }\n\n .weightoption-range {\n flex-grow: 1;\n align-self: flex-end;\n position: relative;\n top: 0.5em;\n input {\n width: calc(100% - 1.5em);\n }\n datalist {\n width: 100%;\n display: flex;\n justify-content: space-between;\n font-size: 0.75em;\n }\n }\n\n .resultlist {\n margin: 3em 0;\n }\n}\n","import { Component, h, Prop, State, Watch } from '@stencil/core';\nimport { translations, markets } from './pn-find-service-and-price-translations';\nimport { ProductPriceSourceData, ProductPriceItem } from '../../../globals/shared/productprice/product-price-types';\nimport {\n FindServiceAndPricePostageType,\n FindServiceAndPriceWeight,\n FindServiceAndPriceDeliveryScope,\n PnfindServiceAndPriceMarket,\n PnfindServiceAndPricei18n,\n} from './pn-find-service-and-price-types';\nimport { postagetypes, weights, deliveryscopes } from './data.js';\nimport { convertFileFromStream } from '../../../globals/shared/productprice/convert.js';\nimport { state } from './pn-find-service-and-price-store';\n\n@Component({\n tag: 'pn-find-service-and-price',\n styleUrl: 'pn-find-service-and-price.scss',\n})\nexport class PnfindServiceAndPrice {\n @Prop() source: string = 'https://com-inte.postnord.com/globalassets/global/prices/sv-se-findprice.xlsx';\n @Prop({ mutable: true }) language: string = 'sv';\n @Prop({ mutable: true }) market: string = 'se';\n\n @State() filteredItems: ProductPriceItem[] = [];\n @State() postagetype: FindServiceAndPricePostageType = {\n value: '',\n name: '',\n icon: '',\n } as FindServiceAndPricePostageType;\n @State() weight: FindServiceAndPriceWeight = { value: 0, name: '' } as FindServiceAndPriceWeight;\n @State() weightvalue: number = 0;\n @State() deliveryscope: FindServiceAndPriceDeliveryScope = {\n value: '',\n name: '',\n icon: '',\n } as FindServiceAndPriceDeliveryScope;\n @State() sourceData: ProductPriceSourceData = { types: [], data: [] };\n\n componentWillLoad() {\n this.setState();\n this.getDataSource();\n\n // window.setTimeout(() => {\n // this.postagetype = postagetypes[0];\n // this.deliveryscope = deliveryscopes[this.postagetype.value][0];\n // this.weight = weights[this.postagetype.value][0];\n // this.weightvalue = this.weight.value;\n // }, 500)\n }\n\n async getDataSource() {\n const cacheBusting = `?cache=${Math.floor(Math.random() * (10000 - 1) + 1)}`;\n const req = await fetch(this.source + cacheBusting);\n const reqbody = await req.blob();\n try {\n const convertedData = await convertFileFromStream(reqbody);\n this.sourceData = convertedData;\n this.filterItems();\n } catch (e) {\n console.log('Unable to parse data');\n }\n }\n\n @Watch('market')\n @Watch('language')\n setState() {\n if (this.market) {\n state.market = markets[this.market] as PnfindServiceAndPriceMarket;\n }\n if (this.language && translations[this.language]) {\n state.i18n = translations[this.language] as PnfindServiceAndPricei18n;\n }\n }\n\n @Watch('postagetype')\n @Watch('deliveryscope')\n @Watch('weightvalue')\n filterItems() {\n // this.debug = `Postagetype: ${this.postagetype.value}. <br/>Weight: ${ this.weight.value }`;\n if (!this.sourceData?.data) {\n console.log('Data has not yet been loaded');\n return;\n }\n if (!this.postagetype) {\n return;\n }\n const typeData = this.sourceData.data.filter(x => x.what === this.postagetype.value);\n if (!this.deliveryscope) {\n return;\n }\n const deliveryScopeData = typeData.filter(x => x.deliveryscope === this.deliveryscope.value);\n if (!this.weight || !this.weight.value) {\n return;\n }\n\n // For letters we use grams. Otherwise we use KG\n const comparisonWeight = this.weight.abbreviation.toLocaleLowerCase() === 'kg' && this.postagetype.value === 'letter' ? this.weight.value * 1000 : this.weight.value;\n\n let weightFilteredData = deliveryScopeData.filter(x => x.maxweight === comparisonWeight);\n\n // In parcels the maxwidths don't necessarily start at 1kg so we fetch any type below the user selected value\n if (weightFilteredData.length === 0) {\n weightFilteredData = deliveryScopeData.filter(x => x.maxweight >= comparisonWeight);\n if (weightFilteredData.length > 0) {\n // We reverse the result array since the map will take the last unique item instead of the first\n const uniqueWeightOptions = [...new Map(weightFilteredData.reverse().map(item => [item['id'], item])).values()];\n if (uniqueWeightOptions.length > 0) {\n weightFilteredData = uniqueWeightOptions;\n }\n }\n }\n\n this.filteredItems = weightFilteredData;\n }\n\n render() {\n return (\n <div>\n <div class=\"findprice-form\">\n {state.i18n.componentheading ? <h2>{state.i18n.componentheading}</h2> : null}\n <div class=\"postagetypes\">\n {postagetypes.map(postagetype => (\n <pn-choice-button\n choiceid={postagetype.value}\n value={postagetype.value}\n name=\"postagetype\"\n type=\"radio\"\n checked={postagetype.value === this.postagetype.value}\n onChange={() => {\n this.postagetype = (postagetypes as FindServiceAndPricePostageType[]).filter(x => x.value === postagetype.value)[0];\n this.deliveryscope = { value: '', name: '', icon: '' } as FindServiceAndPriceDeliveryScope;\n this.weight = { value: 0, name: '' } as FindServiceAndPriceWeight;\n this.weightvalue = this.weight.value;\n }}\n >\n <pn-illustration illustration={postagetype.illustration}></pn-illustration> {postagetype.name}\n </pn-choice-button>\n ))}\n </div>\n\n {this.postagetype.value && deliveryscopes[this.postagetype.value] ? (\n <div>\n {state.i18n.deliveryscopeheading ? <div class=\"heading\">{state.i18n.deliveryscopeheading}</div> : null}\n <div class=\"deliveryscope\">\n {deliveryscopes[this.postagetype.value].map(deliveryscope => (\n <pn-choice-button\n choiceid={this.postagetype.value + deliveryscope.value}\n value={deliveryscope.value}\n name=\"deliveryscope\"\n type=\"radio\"\n checked={deliveryscope.value === this.deliveryscope.value}\n onChange={() => {\n this.deliveryscope = (deliveryscopes[this.postagetype.value] as FindServiceAndPriceDeliveryScope[]).filter(x => x.value === deliveryscope.value)[0];\n if (this.weight.value === 0) {\n this.weight = weights[this.postagetype.value][0];\n this.weightvalue = this.weight.value;\n }\n }}\n >\n <pn-illustration illustration={deliveryscope.illustration}></pn-illustration> {deliveryscope.name}\n </pn-choice-button>\n ))}\n </div>\n </div>\n ) : null}\n\n {this.postagetype.value && weights[this.postagetype.value] && this.deliveryscope.value ? (\n <div>\n {state.i18n.sizeheading ? <div class=\"heading\">{state.i18n.sizeheading}</div> : null}\n <div class=\"weightoption\">\n <div class=\"weightoption-input\">\n <pn-input\n inputid=\"weightvalue\"\n name=\"weightvalue\"\n type=\"number\"\n label={state.i18n.weightlabel}\n value={this.weightvalue}\n onChange={e => {\n if (e && e.target && e.target.value) {\n const weightNum = parseInt(e.target.value, 10);\n if (!isNaN(weightNum)) {\n let matchingWeights = (weights[this.postagetype.value] as FindServiceAndPriceWeight[]).filter(x => {\n let weightInGrams = x.abbreviation === 'kg' ? x.value * 1000 : x.value;\n return weightInGrams >= weightNum;\n });\n if (matchingWeights && matchingWeights.length > 0) {\n this.weight = matchingWeights[0];\n this.weightvalue = this.weight.value;\n }\n }\n }\n }}\n ></pn-input>\n <span class=\"weightoption-input-abbreviation\">{this.weight.abbreviation}</span>\n </div>\n <div class=\"weightoption-range\">\n <input\n type=\"range\"\n id=\"weightrange\"\n name=\"weightrange\"\n list=\"weightlist\"\n value={!this.weight.value ? 0 : weights[this.postagetype.value].findIndex(x => x.value === this.weightvalue)}\n onChange={e => {\n const value = (e.target as HTMLInputElement).value;\n this.weight = weights[this.postagetype.value][value];\n this.weightvalue = this.weight.value;\n }}\n min=\"0\"\n // max={ weights[this.postagetype.value][weights[this.postagetype.value].length - 1].value }\n max={weights[this.postagetype.value].length - 1}\n />\n <datalist id=\"weightlist\">\n {weights[this.postagetype.value].map((weight, weightindex) => {\n let labelText = weight.name;\n if (weights[this.postagetype.value].length > 6) {\n labelText = weightindex % 5 === 0 || weightindex === 0 || weightindex === weights[this.postagetype.value].length - 1 ? weight.name : '';\n }\n return <option value={weightindex} {...(labelText ? { label: labelText } : {})}></option>;\n })}\n </datalist>\n </div>\n </div>\n </div>\n ) : null}\n </div>\n {this.filteredItems && this.filteredItems.length > 0 ? (\n <div class=\"resultlist\">\n {state.i18n.resultlistheading ? <div class=\"heading\">{state.i18n.resultlistheading}</div> : null}\n {this.filteredItems.map((item: ProductPriceItem) => (\n <div>\n <pn-find-service-and-price-result item={item}></pn-find-service-and-price-result>\n </div>\n ))}\n </div>\n ) : null}\n </div>\n );\n }\n}\n"],"version":3}
1
+ {"file":"pn-find-service-and-price.js","mappings":";;;;;;;;AAAO,MAAM,YAAY,GAAG;IAC1B,EAAE,EAAE;QACF,gBAAgB,EAAE,qBAAqB;QACvC,oBAAoB,EAAE,gBAAgB;QACtC,WAAW,EAAE,uBAAuB;QACpC,iBAAiB,EAAE,mBAAmB;QACtC,WAAW,EAAE,MAAM;QACnB,cAAc,EAAE,SAAS;QACzB,mBAAmB,EAAE,UAAU;QAC/B,aAAa,EAAE,6BAA6B;QAC5C,YAAY,EAAE,+BAA+B;KAC9C;IACD,EAAE,EAAE;QACF,gBAAgB,EAAE,2BAA2B;QAC7C,oBAAoB,EAAE,gBAAgB;QACtC,WAAW,EAAE,yBAAyB;QACtC,iBAAiB,EAAE,+BAA+B;QAClD,WAAW,EAAE,QAAQ;QACrB,cAAc,EAAE,YAAY;QAC5B,mBAAmB,EAAE,qBAAqB;QAC1C,aAAa,EAAE,6BAA6B;QAC5C,YAAY,EAAE,oCAAoC;KACnD;IACD,EAAE,EAAE;QACF,gBAAgB,EAAE,qBAAqB;QACvC,oB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find-service-and-price/pn-find-service-and-price-translations.ts","src/components/widgets/pn-find-service-and-price/data.js","src/components/widgets/pn-find-service-and-price/pn-find-service-and-price.scss?tag=pn-find-service-and-price","src/components/widgets/pn-find-service-and-price/pn-find-service-and-price.tsx"],"sourcesContent":["export const translations = {\n sv: {\n componentheading: 'Vad vill du skicka?',\n deliveryscopeheading: 'Hit eller dit?',\n sizeheading: 'Hur mycket väger det?',\n resultlistheading: 'Några utvalda val',\n weightlabel: 'Vikt',\n maxweightlabel: 'Maxvikt',\n maxmeasurementlabel: 'Maxvolym',\n senddirectcta: 'Köp frakt via Skicka Direkt',\n stampshopcta: 'Köp frimärken via vår webshop',\n },\n en: {\n componentheading: 'What do you want to send?',\n deliveryscopeheading: 'Here or there?',\n sizeheading: 'How much does it weigh?',\n resultlistheading: 'Some suitable options for you',\n weightlabel: 'Weight',\n maxweightlabel: 'Max weight',\n maxmeasurementlabel: 'Maximum measurement',\n senddirectcta: 'Buy shipping in Send Direct',\n stampshopcta: 'Order home stamps from the webshop',\n },\n da: {\n componentheading: 'Vad vill du skicka?',\n deliveryscopeheading: 'Here or there?',\n sizeheading: 'How much does it weigh?',\n resultlistheading: 'Some suitable options for you',\n weightlabel: 'Vægt',\n maxweightlabel: 'Max vægt',\n maxmeasurementlabel: 'Maks. Volumen',\n senddirectcta: 'Buy shipping in Send Direct',\n stampshopcta: 'Order home stamps from the webshop',\n },\n no: {\n componentheading: 'Vad vill du skicka?',\n deliveryscopeheading: 'Here or there?',\n sizeheading: 'How much does it weigh?',\n resultlistheading: 'Some suitable options for you',\n weightlabel: 'Vekt',\n maxweightlabel: 'Maks vekt',\n maxmeasurementlabel: 'Maks volum',\n senddirectcta: 'Buy shipping in Send Direct',\n stampshopcta: 'Order home stamps from the webshop',\n },\n fi: {\n componentheading: 'Vad vill du skicka?',\n deliveryscopeheading: 'Here or there?',\n sizeheading: 'How much does it weigh?',\n resultlistheading: 'Some suitable options for you',\n weightlabel: 'Paino',\n maxweightlabel: 'Max paino',\n maxmeasurementlabel: 'Max äänenvoimakkuus',\n senddirectcta: 'Buy shipping in Send Direct',\n stampshopcta: 'Order home stamps from the webshop',\n },\n};\n\nexport const markets = {\n se: {\n currency: 'kr',\n },\n dk: {\n currency: 'dk',\n },\n fi: {\n currency: ' €',\n },\n no: {\n currency: 'kr',\n },\n};\n","const postagetypes = [\n { name: 'Brev', value: 'letter', illustration: 'letterbox-reply-letter-plants' },\n { name: 'Paket', value: 'parcel', illustration: 'tracking' },\n];\n\nconst deliveryscopes = {\n letter: [\n { name: 'Sweden', value: 'sweden', illustration: 'letterboxes' },\n { name: 'Abroad', value: 'abroad', illustration: 'character-box-letters-globe' },\n ],\n parcel: [\n { name: 'Sweden', value: 'sweden', illustration: 'letterboxes' },\n { name: 'Within Europe', value: 'withineurope', illustration: 'character-box-letters-globe' },\n { name: 'Outside Europe', value: 'outsideeurope', illustration: 'discover' },\n ],\n};\n\nconst weights = {\n letter: [\n { name: '50g', abbreviation: 'g', value: 50 },\n { name: '100g', abbreviation: 'g', value: 100 },\n { name: '250g', abbreviation: 'g', value: 250 },\n { name: '500g', abbreviation: 'g', value: 500 },\n { name: '1kg', abbreviation: 'kg', value: 1 },\n { name: '2kg', abbreviation: 'kg', value: 2 },\n ],\n parcel: [\n { name: '1kg', abbreviation: 'kg', value: 1 },\n { name: '2kg', abbreviation: 'kg', value: 2 },\n { name: '3kg', abbreviation: 'kg', value: 3 },\n { name: '4kg', abbreviation: 'kg', value: 4 },\n { name: '5kg', abbreviation: 'kg', value: 5 },\n { name: '6kg', abbreviation: 'kg', value: 6 },\n { name: '7Kg', abbreviation: 'kg', value: 7 },\n { name: '8kg', abbreviation: 'kg', value: 8 },\n { name: '9kg', abbreviation: 'kg', value: 9 },\n { name: '10kg', abbreviation: 'kg', value: 10 },\n { name: '11kg', abbreviation: 'kg', value: 11 },\n { name: '12kg', abbreviation: 'kg', value: 12 },\n { name: '13kg', abbreviation: 'kg', value: 13 },\n { name: '14kg', abbreviation: 'kg', value: 14 },\n { name: '15kg', abbreviation: 'kg', value: 15 },\n { name: '16kg', abbreviation: 'kg', value: 16 },\n { name: '17kg', abbreviation: 'kg', value: 17 },\n { name: '18kg', abbreviation: 'kg', value: 18 },\n { name: '20kg', abbreviation: 'kg', value: 20 },\n ],\n};\n\nexport { postagetypes, weights, deliveryscopes };\n","@import '../../../globals/main.scss';\n\npn-find-service-and-price {\n .findprice-form {\n max-width: 50em;\n margin: 0 auto;\n }\n\n h2,\n .heading {\n text-align: center;\n font-size: 1.5em;\n line-height: 1.1;\n font-weight: bold;\n margin-bottom: 1rem;\n }\n .postagetypes,\n .deliveryscope {\n text-align: center;\n margin-bottom: 3rem;\n }\n\n .weightoption {\n display: flex;\n gap: 1em;\n }\n\n .weightoption-input {\n width: 5em;\n position: relative;\n\n input::-webkit-outer-spin-button,\n input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n }\n\n .weightoption-input-abbreviation {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n right: 1.2em;\n margin-top: 1.55rem;\n font-weight: 500;\n }\n\n .weightoption-range {\n flex-grow: 1;\n align-self: flex-end;\n position: relative;\n top: 0.5em;\n input {\n width: calc(100% - 1.5em);\n }\n datalist {\n width: 100%;\n display: flex;\n justify-content: space-between;\n font-size: 0.75em;\n }\n }\n\n .resultlist {\n margin: 3em 0;\n }\n}\n","import { Component, h, Prop, State, Watch } from '@stencil/core';\nimport { translations, markets } from './pn-find-service-and-price-translations';\nimport { ProductPriceSourceData, ProductPriceItem } from '../../../globals/shared/productprice/product-price-types';\nimport {\n FindServiceAndPricePostageType,\n FindServiceAndPriceWeight,\n FindServiceAndPriceDeliveryScope,\n PnfindServiceAndPriceMarket,\n PnfindServiceAndPricei18n,\n} from './pn-find-service-and-price-types';\nimport { postagetypes, weights, deliveryscopes } from './data.js';\nimport { convertFileFromStream } from '../../../globals/shared/productprice/convert.js';\nimport { state } from './pn-find-service-and-price-store';\n\n@Component({\n tag: 'pn-find-service-and-price',\n styleUrl: 'pn-find-service-and-price.scss',\n})\nexport class PnfindServiceAndPrice {\n @Prop() source: string = 'https://com-inte.postnord.com/globalassets/global/prices/sv-se-findprice.xlsx';\n @Prop({ mutable: true }) language: string = 'sv';\n @Prop({ mutable: true }) market: string = 'se';\n\n @State() filteredItems: ProductPriceItem[] = [];\n @State() postagetype: FindServiceAndPricePostageType = {\n value: '',\n name: '',\n icon: '',\n } as FindServiceAndPricePostageType;\n @State() weight: FindServiceAndPriceWeight = { value: 0, name: '' } as FindServiceAndPriceWeight;\n @State() weightvalue: number = 0;\n @State() deliveryscope: FindServiceAndPriceDeliveryScope = {\n value: '',\n name: '',\n icon: '',\n } as FindServiceAndPriceDeliveryScope;\n @State() sourceData: ProductPriceSourceData = { types: [], data: [] };\n\n componentWillLoad() {\n this.setState();\n this.getDataSource();\n\n // window.setTimeout(() => {\n // this.postagetype = postagetypes[0];\n // this.deliveryscope = deliveryscopes[this.postagetype.value][0];\n // this.weight = weights[this.postagetype.value][0];\n // this.weightvalue = this.weight.value;\n // }, 500)\n }\n\n async getDataSource() {\n const cacheBusting = `?cache=${Math.floor(Math.random() * (10000 - 1) + 1)}`;\n const req = await fetch(this.source + cacheBusting);\n const reqbody = await req.blob();\n try {\n const convertedData = await convertFileFromStream(reqbody);\n this.sourceData = convertedData;\n this.filterItems();\n } catch (e) {\n console.log('Unable to parse data');\n }\n }\n\n @Watch('market')\n @Watch('language')\n setState() {\n if (this.market) {\n state.market = markets[this.market] as PnfindServiceAndPriceMarket;\n }\n if (this.language && translations[this.language]) {\n state.i18n = translations[this.language] as PnfindServiceAndPricei18n;\n }\n }\n\n @Watch('postagetype')\n @Watch('deliveryscope')\n @Watch('weightvalue')\n filterItems() {\n // this.debug = `Postagetype: ${this.postagetype.value}. <br/>Weight: ${ this.weight.value }`;\n if (!this.sourceData?.data) {\n console.log('Data has not yet been loaded');\n return;\n }\n if (!this.postagetype) {\n return;\n }\n const typeData = this.sourceData.data.filter(x => x.what === this.postagetype.value);\n if (!this.deliveryscope) {\n return;\n }\n const deliveryScopeData = typeData.filter(x => x.deliveryscope === this.deliveryscope.value);\n if (!this.weight || !this.weight.value) {\n return;\n }\n\n // For letters we use grams. Otherwise we use KG\n const comparisonWeight = this.weight.abbreviation.toLocaleLowerCase() === 'kg' && this.postagetype.value === 'letter' ? this.weight.value * 1000 : this.weight.value;\n\n let weightFilteredData = deliveryScopeData.filter(x => x.maxweight === comparisonWeight);\n\n // In parcels the maxwidths don't necessarily start at 1kg so we fetch any type below the user selected value\n if (weightFilteredData.length === 0) {\n weightFilteredData = deliveryScopeData.filter(x => x.maxweight >= comparisonWeight);\n if (weightFilteredData.length > 0) {\n // We reverse the result array since the map will take the last unique item instead of the first\n const uniqueWeightOptions = [...new Map(weightFilteredData.reverse().map(item => [item['id'], item])).values()];\n if (uniqueWeightOptions.length > 0) {\n weightFilteredData = uniqueWeightOptions;\n }\n }\n }\n\n this.filteredItems = weightFilteredData;\n }\n\n render() {\n return (\n <div>\n <div class=\"findprice-form\">\n {state.i18n.componentheading ? <h2>{state.i18n.componentheading}</h2> : null}\n <div class=\"postagetypes\">\n {postagetypes.map(postagetype => (\n <pn-choice-button\n choiceid={postagetype.value}\n value={postagetype.value}\n name=\"postagetype\"\n type=\"radio\"\n checked={postagetype.value === this.postagetype.value}\n onChange={() => {\n this.postagetype = (postagetypes as FindServiceAndPricePostageType[]).filter(x => x.value === postagetype.value)[0];\n this.deliveryscope = { value: '', name: '', icon: '' } as FindServiceAndPriceDeliveryScope;\n this.weight = { value: 0, name: '' } as FindServiceAndPriceWeight;\n this.weightvalue = this.weight.value;\n }}\n >\n <pn-illustration illustration={postagetype.illustration}></pn-illustration> {postagetype.name}\n </pn-choice-button>\n ))}\n </div>\n\n {this.postagetype.value && deliveryscopes[this.postagetype.value] ? (\n <div>\n {state.i18n.deliveryscopeheading ? <div class=\"heading\">{state.i18n.deliveryscopeheading}</div> : null}\n <div class=\"deliveryscope\">\n {deliveryscopes[this.postagetype.value].map(deliveryscope => (\n <pn-choice-button\n choiceid={this.postagetype.value + deliveryscope.value}\n value={deliveryscope.value}\n name=\"deliveryscope\"\n type=\"radio\"\n checked={deliveryscope.value === this.deliveryscope.value}\n onChange={() => {\n this.deliveryscope = (deliveryscopes[this.postagetype.value] as FindServiceAndPriceDeliveryScope[]).filter(x => x.value === deliveryscope.value)[0];\n if (this.weight.value === 0) {\n this.weight = weights[this.postagetype.value][0];\n this.weightvalue = this.weight.value;\n }\n }}\n >\n <pn-illustration illustration={deliveryscope.illustration}></pn-illustration> {deliveryscope.name}\n </pn-choice-button>\n ))}\n </div>\n </div>\n ) : null}\n\n {this.postagetype.value && weights[this.postagetype.value] && this.deliveryscope.value ? (\n <div>\n {state.i18n.sizeheading ? <div class=\"heading\">{state.i18n.sizeheading}</div> : null}\n <div class=\"weightoption\">\n <div class=\"weightoption-input\">\n <pn-input\n inputid=\"weightvalue\"\n name=\"weightvalue\"\n type=\"number\"\n label={state.i18n.weightlabel}\n value={this.weightvalue}\n onChange={e => {\n if (e && e.target && e.target.value) {\n const weightNum = parseInt(e.target.value, 10);\n if (!isNaN(weightNum)) {\n let matchingWeights = (weights[this.postagetype.value] as FindServiceAndPriceWeight[]).filter(x => {\n let weightInGrams = x.abbreviation === 'kg' ? x.value * 1000 : x.value;\n return weightInGrams >= weightNum;\n });\n if (matchingWeights && matchingWeights.length > 0) {\n this.weight = matchingWeights[0];\n this.weightvalue = this.weight.value;\n }\n }\n }\n }}\n ></pn-input>\n <span class=\"weightoption-input-abbreviation\">{this.weight.abbreviation}</span>\n </div>\n <div class=\"weightoption-range\">\n <input\n type=\"range\"\n id=\"weightrange\"\n name=\"weightrange\"\n list=\"weightlist\"\n value={!this.weight.value ? 0 : weights[this.postagetype.value].findIndex(x => x.value === this.weightvalue)}\n onChange={e => {\n const value = (e.target as HTMLInputElement).value;\n this.weight = weights[this.postagetype.value][value];\n this.weightvalue = this.weight.value;\n }}\n min=\"0\"\n // max={ weights[this.postagetype.value][weights[this.postagetype.value].length - 1].value }\n max={weights[this.postagetype.value].length - 1}\n />\n <datalist id=\"weightlist\">\n {weights[this.postagetype.value].map((weight, weightindex) => {\n let labelText = weight.name;\n if (weights[this.postagetype.value].length > 6) {\n labelText = weightindex % 5 === 0 || weightindex === 0 || weightindex === weights[this.postagetype.value].length - 1 ? weight.name : '';\n }\n return <option value={weightindex} {...(labelText ? { label: labelText } : {})}></option>;\n })}\n </datalist>\n </div>\n </div>\n </div>\n ) : null}\n </div>\n {this.filteredItems && this.filteredItems.length > 0 ? (\n <div class=\"resultlist\">\n {state.i18n.resultlistheading ? <div class=\"heading\">{state.i18n.resultlistheading}</div> : null}\n {this.filteredItems.map((item: ProductPriceItem) => (\n <div>\n <pn-find-service-and-price-result item={item}></pn-find-service-and-price-result>\n </div>\n ))}\n </div>\n ) : null}\n </div>\n );\n }\n}\n"],"version":3}