@postnord/pn-marketweb-components 1.0.49-beta4 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. package/cjs/{index-9027dc96.js → index-28bbc937.js} +1 -1
  2. package/cjs/{index-0a6b1eef.js → index-e3e27c79.js} +6 -0
  3. package/cjs/loader.cjs.js +2 -2
  4. package/cjs/pn-bonus-progressbar-level.cjs.entry.js +1 -1
  5. package/cjs/pn-bonus-progressbar.cjs.entry.js +1 -1
  6. package/cjs/pn-choice-button.cjs.entry.js +1 -1
  7. package/cjs/pn-filter-checkbox.cjs.entry.js +1 -1
  8. package/cjs/pn-find-price-result.cjs.entry.js +5 -5
  9. package/cjs/{pn-find-price-store-f9766c41.js → pn-find-price-store-6aab7fd0.js} +1 -2
  10. package/cjs/pn-find-price.cjs.entry.js +9 -12
  11. package/cjs/pn-find-service-and-price-result.cjs.entry.js +3 -3
  12. package/cjs/{pn-find-service-and-price-store-914d170b.js → pn-find-service-and-price-store-16a7936c.js} +1 -1
  13. package/cjs/pn-find-service-and-price.cjs.entry.js +3 -3
  14. package/cjs/pn-language-selector_9.cjs.entry.js +65 -5
  15. package/cjs/pn-mainnav-link.cjs.entry.js +3 -3
  16. package/cjs/{pn-mainnav-store-f8bacb50.js → pn-mainnav-store-61a75ea0.js} +1 -1
  17. package/cjs/pn-market-web-components.cjs.js +2 -2
  18. package/cjs/pn-marketweb-input.cjs.entry.js +76 -0
  19. package/cjs/pn-marketweb-search.cjs.entry.js +103 -0
  20. package/cjs/pn-marketweb-sitefooter.cjs.entry.js +1 -1
  21. package/cjs/pn-marketweb-siteheader.cjs.entry.js +6 -4
  22. package/cjs/pn-pex-pricefinder.cjs.entry.js +11 -3
  23. package/cjs/pn-product-card_3.cjs.entry.js +9 -9
  24. package/cjs/pn-product-pricelist-result.cjs.entry.js +3 -3
  25. package/cjs/{pn-product-pricelist-store-d101b50e.js → pn-product-pricelist-store-86310b5a.js} +1 -1
  26. package/cjs/pn-product-pricelist.cjs.entry.js +4 -4
  27. package/cjs/pn-product-tile_3.cjs.entry.js +1 -1
  28. package/cjs/pn-profile-selector-option.cjs.entry.js +1 -1
  29. package/cjs/pn-profile-selector.cjs.entry.js +1 -1
  30. package/cjs/pn-sidenav-level.cjs.entry.js +3 -3
  31. package/cjs/pn-sidenav-link.cjs.entry.js +3 -3
  32. package/cjs/{pn-sidenav-store-eed02285.js → pn-sidenav-store-d9bd9e00.js} +1 -1
  33. package/cjs/pn-sidenav.cjs.entry.js +3 -3
  34. package/cjs/pn-site-footer_2.cjs.entry.js +1 -1
  35. package/collection/collection-manifest.json +2 -1
  36. package/collection/components/input/pn-marketweb-input/marketweb-input.stories.js +51 -0
  37. package/collection/components/input/pn-marketweb-input/pn-marketweb-input.css +156 -0
  38. package/collection/components/input/pn-marketweb-input/pn-marketweb-input.js +412 -0
  39. package/collection/components/input/{pn-filter-search/search-field.stories.js → pn-marketweb-search/marketweb-search-field.stories.js} +15 -3
  40. package/collection/components/input/{pn-filter-search/pn-filter-search.css → pn-marketweb-search/pn-marketweb-search.css} +22 -17
  41. package/collection/components/input/{pn-filter-search/pn-filter-search.js → pn-marketweb-search/pn-marketweb-search.js} +67 -9
  42. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search-store.js +9 -0
  43. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.js +79 -3
  44. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +23 -3
  45. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +3 -3
  46. package/collection/components/widgets/pn-find-price/img/clouds.svg +5 -0
  47. package/collection/components/widgets/pn-find-price/pn-find-price-result.js +2 -2
  48. package/collection/components/widgets/pn-find-price/pn-find-price-store.js +0 -1
  49. package/collection/components/widgets/pn-find-price/pn-find-price-translations.js +1 -6
  50. package/collection/components/widgets/pn-find-price/pn-find-price.css +14 -4
  51. package/collection/components/widgets/pn-find-price/pn-find-price.js +4 -3
  52. package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +10 -2
  53. package/collection/components/widgets/pn-product-card/pn-product-card-info.css +6 -7
  54. package/collection/components/widgets/pn-product-card/pn-product-card-info.js +2 -3
  55. package/collection/components/widgets/pn-product-card/pn-product-card-price.css +22 -5
  56. package/collection/components/widgets/pn-product-card/pn-product-card-price.js +1 -1
  57. package/collection/components/widgets/pn-product-card/pn-product-card.css +88 -30
  58. package/collection/components/widgets/pn-product-card/pn-product-card.js +1 -1
  59. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.css +1 -0
  60. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.stories.js +1 -1
  61. package/custom-elements/index.d.ts +12 -6
  62. package/custom-elements/index.js +298 -126
  63. package/esm/{index-70b099b5.js → index-5397620b.js} +7 -1
  64. package/esm/{index-d3007e8f.js → index-7b21ecff.js} +1 -1
  65. package/esm/loader.js +2 -2
  66. package/esm/pn-bonus-progressbar-level.entry.js +1 -1
  67. package/esm/pn-bonus-progressbar.entry.js +1 -1
  68. package/esm/pn-choice-button.entry.js +1 -1
  69. package/esm/pn-filter-checkbox.entry.js +1 -1
  70. package/esm/pn-find-price-result.entry.js +5 -5
  71. package/esm/{pn-find-price-store-ddd3f427.js → pn-find-price-store-3301df0a.js} +1 -2
  72. package/esm/pn-find-price.entry.js +9 -12
  73. package/esm/pn-find-service-and-price-result.entry.js +3 -3
  74. package/esm/{pn-find-service-and-price-store-012f2e49.js → pn-find-service-and-price-store-65df46a0.js} +1 -1
  75. package/esm/pn-find-service-and-price.entry.js +3 -3
  76. package/esm/pn-language-selector_9.entry.js +79 -19
  77. package/esm/pn-mainnav-link.entry.js +3 -3
  78. package/esm/{pn-mainnav-store-395ee066.js → pn-mainnav-store-28571e54.js} +1 -1
  79. package/esm/pn-market-web-components.js +2 -2
  80. package/esm/pn-marketweb-input.entry.js +72 -0
  81. package/esm/pn-marketweb-search.entry.js +99 -0
  82. package/esm/pn-marketweb-sitefooter.entry.js +1 -1
  83. package/esm/pn-marketweb-siteheader.entry.js +6 -4
  84. package/esm/pn-pex-pricefinder.entry.js +11 -3
  85. package/esm/pn-product-card_3.entry.js +9 -9
  86. package/esm/pn-product-pricelist-result.entry.js +3 -3
  87. package/esm/{pn-product-pricelist-store-909c5238.js → pn-product-pricelist-store-2c336043.js} +1 -1
  88. package/esm/pn-product-pricelist.entry.js +4 -4
  89. package/esm/pn-product-tile_3.entry.js +1 -1
  90. package/esm/pn-profile-selector-option.entry.js +1 -1
  91. package/esm/pn-profile-selector.entry.js +1 -1
  92. package/esm/pn-sidenav-level.entry.js +3 -3
  93. package/esm/pn-sidenav-link.entry.js +3 -3
  94. package/esm/{pn-sidenav-store-f0db4a1f.js → pn-sidenav-store-50b186d6.js} +1 -1
  95. package/esm/pn-sidenav.entry.js +3 -3
  96. package/esm/pn-site-footer_2.entry.js +1 -1
  97. package/esm-es5/{index-70b099b5.js → index-5397620b.js} +1 -1
  98. package/esm-es5/{index-d3007e8f.js → index-7b21ecff.js} +1 -1
  99. package/esm-es5/loader.js +1 -1
  100. package/esm-es5/pn-bonus-progressbar-level.entry.js +1 -1
  101. package/esm-es5/pn-bonus-progressbar.entry.js +1 -1
  102. package/esm-es5/pn-choice-button.entry.js +1 -1
  103. package/esm-es5/pn-filter-checkbox.entry.js +1 -1
  104. package/esm-es5/pn-find-price-result.entry.js +1 -1
  105. package/esm-es5/pn-find-price-store-3301df0a.js +1 -0
  106. package/esm-es5/pn-find-price.entry.js +1 -1
  107. package/esm-es5/pn-find-service-and-price-result.entry.js +1 -1
  108. package/esm-es5/{pn-find-service-and-price-store-012f2e49.js → pn-find-service-and-price-store-65df46a0.js} +1 -1
  109. package/esm-es5/pn-find-service-and-price.entry.js +1 -1
  110. package/esm-es5/pn-language-selector_9.entry.js +1 -1
  111. package/esm-es5/pn-mainnav-link.entry.js +1 -1
  112. package/esm-es5/{pn-mainnav-store-395ee066.js → pn-mainnav-store-28571e54.js} +1 -1
  113. package/esm-es5/pn-market-web-components.js +1 -1
  114. package/esm-es5/pn-marketweb-input.entry.js +1 -0
  115. package/esm-es5/pn-marketweb-search.entry.js +1 -0
  116. package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
  117. package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
  118. package/esm-es5/pn-pex-pricefinder.entry.js +1 -1
  119. package/esm-es5/pn-product-card_3.entry.js +1 -1
  120. package/esm-es5/pn-product-pricelist-result.entry.js +1 -1
  121. package/esm-es5/{pn-product-pricelist-store-909c5238.js → pn-product-pricelist-store-2c336043.js} +1 -1
  122. package/esm-es5/pn-product-pricelist.entry.js +1 -1
  123. package/esm-es5/pn-product-tile_3.entry.js +1 -1
  124. package/esm-es5/pn-profile-selector-option.entry.js +1 -1
  125. package/esm-es5/pn-profile-selector.entry.js +1 -1
  126. package/esm-es5/pn-sidenav-level.entry.js +1 -1
  127. package/esm-es5/pn-sidenav-link.entry.js +1 -1
  128. package/esm-es5/{pn-sidenav-store-f0db4a1f.js → pn-sidenav-store-50b186d6.js} +1 -1
  129. package/esm-es5/pn-sidenav.entry.js +1 -1
  130. package/esm-es5/pn-site-footer_2.entry.js +1 -1
  131. package/package.json +1 -1
  132. package/pn-market-web-components/{p-b49c9d34.system.entry.js → p-01fbbbbc.system.entry.js} +1 -1
  133. package/pn-market-web-components/{p-7ce21cb3.system.js → p-02ea55ad.system.js} +1 -1
  134. package/pn-market-web-components/{p-71a31b15.entry.js → p-045a349a.entry.js} +1 -1
  135. package/pn-market-web-components/p-07cc9f6b.system.entry.js +1 -0
  136. package/pn-market-web-components/{p-24df62a2.js → p-0cacf9fb.js} +1 -1
  137. package/pn-market-web-components/{p-d26967cb.entry.js → p-10b95894.entry.js} +1 -1
  138. package/pn-market-web-components/p-13eb4c66.system.entry.js +1 -0
  139. package/pn-market-web-components/{p-9aac6bd5.entry.js → p-15112837.entry.js} +1 -1
  140. package/pn-market-web-components/{p-69b751a8.system.entry.js → p-1ce871c5.system.entry.js} +1 -1
  141. package/pn-market-web-components/{p-d546d0c3.entry.js → p-227e1d46.entry.js} +1 -1
  142. package/pn-market-web-components/{p-39760c45.system.entry.js → p-2718b89a.system.entry.js} +1 -1
  143. package/pn-market-web-components/{p-702f06b7.system.entry.js → p-2870b0c5.system.entry.js} +1 -1
  144. package/pn-market-web-components/p-36654f2a.system.js +1 -0
  145. package/pn-market-web-components/p-3971ddb9.system.js +1 -0
  146. package/pn-market-web-components/{p-5d34bb8f.system.entry.js → p-401b57b1.system.entry.js} +1 -1
  147. package/pn-market-web-components/{p-7598c3ac.entry.js → p-40264b65.entry.js} +1 -1
  148. package/pn-market-web-components/{p-aea09ac6.entry.js → p-51df9292.entry.js} +1 -1
  149. package/pn-market-web-components/{p-a439468a.system.entry.js → p-57cc0679.system.entry.js} +1 -1
  150. package/pn-market-web-components/p-58e8d7d5.js +1 -0
  151. package/pn-market-web-components/{p-3ba257c5.entry.js → p-5c41acb2.entry.js} +1 -1
  152. package/pn-market-web-components/p-5d587499.js +1 -0
  153. package/pn-market-web-components/p-5e78891a.entry.js +1 -0
  154. package/pn-market-web-components/{p-42da096a.system.entry.js → p-625fb7fb.system.entry.js} +1 -1
  155. package/pn-market-web-components/p-67887512.system.js +1 -0
  156. package/pn-market-web-components/{p-544f8fb9.entry.js → p-715d1ef7.entry.js} +1 -1
  157. package/pn-market-web-components/p-72195bd8.entry.js +1 -0
  158. package/pn-market-web-components/{p-4d5aa13e.entry.js → p-774b7a9f.entry.js} +1 -1
  159. package/pn-market-web-components/{p-802afa1f.system.entry.js → p-7b93d570.system.entry.js} +1 -1
  160. package/pn-market-web-components/{p-56ba3951.entry.js → p-7d75ea68.entry.js} +1 -1
  161. package/pn-market-web-components/p-7e494e9d.system.entry.js +1 -0
  162. package/pn-market-web-components/p-80dce81e.system.entry.js +1 -0
  163. package/pn-market-web-components/{p-acd9d186.system.entry.js → p-8144bcbc.system.entry.js} +1 -1
  164. package/pn-market-web-components/{p-ac5a749b.entry.js → p-81d764a0.entry.js} +1 -1
  165. package/pn-market-web-components/p-825b8fb8.system.js +1 -0
  166. package/pn-market-web-components/{p-99e471b8.js → p-84699999.js} +1 -1
  167. package/pn-market-web-components/{p-ab699e09.entry.js → p-86b271f4.entry.js} +1 -1
  168. package/pn-market-web-components/p-86f06e26.js +1 -0
  169. package/pn-market-web-components/{p-38e0dc75.system.entry.js → p-885bc8d7.system.entry.js} +1 -1
  170. package/pn-market-web-components/p-8fc7732d.system.entry.js +1 -0
  171. package/pn-market-web-components/p-996d8a6a.entry.js +1 -0
  172. package/pn-market-web-components/p-9e8c5793.system.entry.js +1 -0
  173. package/pn-market-web-components/p-9edaf6b6.system.entry.js +1 -0
  174. package/pn-market-web-components/p-a5bc1695.system.js +1 -0
  175. package/pn-market-web-components/{p-b4f843da.system.js → p-a5f75560.system.js} +1 -1
  176. package/pn-market-web-components/{p-8897e421.entry.js → p-adc639c8.entry.js} +1 -1
  177. package/pn-market-web-components/{p-6fea1ae6.system.js → p-add7d76c.system.js} +1 -1
  178. package/pn-market-web-components/{p-9ae8e043.js → p-ae2bd55f.js} +1 -1
  179. package/pn-market-web-components/{p-2c361d9e.system.entry.js → p-aeb26d10.system.entry.js} +1 -1
  180. package/pn-market-web-components/{p-3552ae09.entry.js → p-b4f0228c.entry.js} +1 -1
  181. package/pn-market-web-components/p-bb626ab4.js +1 -0
  182. package/pn-market-web-components/p-c0c52dc6.entry.js +1 -0
  183. package/pn-market-web-components/{p-8325d608.entry.js → p-c240b614.entry.js} +1 -1
  184. package/pn-market-web-components/p-c34db063.entry.js +1 -0
  185. package/pn-market-web-components/{p-da2fa398.system.entry.js → p-c418bb48.system.entry.js} +1 -1
  186. package/pn-market-web-components/{p-3f8b459a.system.entry.js → p-d46d9b6e.system.entry.js} +1 -1
  187. package/pn-market-web-components/{p-0b796318.system.entry.js → p-d7776336.system.entry.js} +1 -1
  188. package/pn-market-web-components/{p-7fca7510.entry.js → p-e056d2c6.entry.js} +1 -1
  189. package/pn-market-web-components/p-e474b831.entry.js +1 -0
  190. package/pn-market-web-components/p-e5fffc92.entry.js +1 -0
  191. package/pn-market-web-components/p-e9fe5c54.entry.js +1 -0
  192. package/pn-market-web-components/p-f4cb2104.system.entry.js +1 -0
  193. package/pn-market-web-components/{p-00d6033e.entry.js → p-f774e2cc.entry.js} +1 -1
  194. package/pn-market-web-components/{p-4f0f8e9f.system.entry.js → p-f7b013a7.system.entry.js} +1 -1
  195. package/pn-market-web-components/{p-2b120338.system.entry.js → p-fc1083d2.system.entry.js} +1 -1
  196. package/pn-market-web-components/p-fc6a09e0.system.entry.js +1 -0
  197. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  198. package/pn-market-web-components/pn-market-web-components.js +1 -1
  199. package/types/components/input/pn-marketweb-input/pn-marketweb-input.d.ts +32 -0
  200. package/types/components/input/{pn-filter-search/pn-filter-search.d.ts → pn-marketweb-search/pn-marketweb-search.d.ts} +9 -1
  201. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search-store.d.ts +11 -0
  202. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.d.ts +6 -0
  203. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-types.d.ts +1 -0
  204. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.d.ts +2 -0
  205. package/types/components/widgets/pn-find-price/pn-find-price-store.d.ts +0 -2
  206. package/types/components/widgets/pn-find-price/pn-find-price-translations.d.ts +0 -5
  207. package/types/components/widgets/pn-find-price/pn-find-price-types.d.ts +0 -1
  208. package/types/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.d.ts +1 -0
  209. package/types/components.d.ts +156 -65
  210. package/cjs/pn-filter-search.cjs.entry.js +0 -69
  211. package/esm/pn-filter-search.entry.js +0 -65
  212. package/esm-es5/pn-filter-search.entry.js +0 -1
  213. package/esm-es5/pn-find-price-store-ddd3f427.js +0 -1
  214. package/pn-market-web-components/p-15836764.js +0 -1
  215. package/pn-market-web-components/p-1ccd3831.entry.js +0 -1
  216. package/pn-market-web-components/p-208a0a7b.entry.js +0 -1
  217. package/pn-market-web-components/p-28316927.js +0 -1
  218. package/pn-market-web-components/p-39ecfda9.system.entry.js +0 -1
  219. package/pn-market-web-components/p-39ff2013.system.entry.js +0 -1
  220. package/pn-market-web-components/p-4c9b1ae9.system.js +0 -1
  221. package/pn-market-web-components/p-4f8537fb.system.js +0 -1
  222. package/pn-market-web-components/p-58623439.entry.js +0 -1
  223. package/pn-market-web-components/p-66fb0f57.entry.js +0 -1
  224. package/pn-market-web-components/p-6df0b06e.entry.js +0 -1
  225. package/pn-market-web-components/p-731efb7b.system.entry.js +0 -1
  226. package/pn-market-web-components/p-7a7f380b.system.js +0 -1
  227. package/pn-market-web-components/p-87a4810e.system.entry.js +0 -1
  228. package/pn-market-web-components/p-ad5b20ce.js +0 -1
  229. package/pn-market-web-components/p-b4a0e5fd.system.entry.js +0 -1
  230. package/pn-market-web-components/p-b4b6ab95.system.js +0 -1
  231. package/pn-market-web-components/p-cf516409.js +0 -1
  232. package/pn-market-web-components/p-cfa3be4a.entry.js +0 -1
  233. package/pn-market-web-components/p-dc48d8f8.system.entry.js +0 -1
  234. package/pn-market-web-components/p-e732c60a.system.entry.js +0 -1
  235. package/pn-market-web-components/p-fbdc9ea5.system.entry.js +0 -1
  236. package/pn-market-web-components/p-fdad9fb6.entry.js +0 -1
  237. package/pn-market-web-components/p-ff678bef.system.js +0 -1
@@ -1 +1 @@
1
- import{r as registerInstance,h,a as Host}from"./index-70b099b5.js";import{s as state}from"./pn-product-pricelist-store-909c5238.js";import"./index-d3007e8f.js";var pnProductPricelistResultCss="";var PnFindProductPricelistResult=function(){function t(t){registerInstance(this,t);this.item=null;this.shownitems=[];this.weightText=""}t.prototype.componentWillLoad=function(){this.composeItems()};t.prototype.composeItems=function(){this.shownitems=[];if(this.item.pricestamps){this.shownitems.push(Object.assign(Object.assign({},this.item),{priceagent:null,pricesenddirect:null}))}if(this.item.priceagent){this.shownitems.push(Object.assign(Object.assign({},this.item),{pricestamps:null,pricesenddirect:null}))}if(this.item.pricesenddirect){this.shownitems.push(Object.assign(Object.assign({},this.item),{pricestamps:null,priceagent:null}))}this.weightText=this.item.what==="parcel"?this.item.maxweight+"kg":this.item.what==="letter"&&this.item.maxweight>999?Math.round(this.item.maxweight/1e3)+" kg":this.item.maxweight+" g"};t.prototype.render=function(){var t=this;return h(Host,null,this.shownitems.map((function(e){return h("pn-product-tile",null,h("pn-illustration",{slot:"illustration",illustration:e.illustration}),h("div",{slot:"content"},h("div",{class:"content"},h("h3",null,e.name),e.description?h("div",{class:"description"},e.description):null,e.info?h("div",{class:"description"},e.info):null)),e.maxweight?h("pn-product-tile-info",{label:state.i18n.maxweightlabel,text:t.weightText}):null,e.maximummeasurements?h("pn-product-tile-info",{label:state.i18n.maxmeasurementlabel,text:e.maximummeasurements}):null,e.pricestamps?h("pn-product-tile-price",{slot:"price",label:state.i18n.stampshopcta,amount:e.pricestamps+"",currency:state.market.currency}):null,e.priceagent?h("pn-product-tile-price",{slot:"price",label:"",amount:e.priceagent+"",currency:state.market.currency,url:"https://shop.postnord.se/ebutik/default.aspx"}):null,e.pricesenddirect?h("pn-product-tile-price",{slot:"price",label:state.i18n.senddirectcta,amount:e.pricesenddirect+"",currency:state.market.currency,url:"https://portal.postnord.com/skickadirekt/"}):null,e.note?h("small",{slot:"note"},h("p",null,e.note)):null)})))};Object.defineProperty(t,"watchers",{get:function(){return{item:["composeItems"]}},enumerable:false,configurable:true});return t}();PnFindProductPricelistResult.style=pnProductPricelistResultCss;export{PnFindProductPricelistResult as pn_product_pricelist_result};
1
+ import{r as registerInstance,h,a as Host}from"./index-5397620b.js";import{s as state}from"./pn-product-pricelist-store-2c336043.js";import"./index-7b21ecff.js";var pnProductPricelistResultCss="";var PnFindProductPricelistResult=function(){function t(t){registerInstance(this,t);this.item=null;this.shownitems=[];this.weightText=""}t.prototype.componentWillLoad=function(){this.composeItems()};t.prototype.composeItems=function(){this.shownitems=[];if(this.item.pricestamps){this.shownitems.push(Object.assign(Object.assign({},this.item),{priceagent:null,pricesenddirect:null}))}if(this.item.priceagent){this.shownitems.push(Object.assign(Object.assign({},this.item),{pricestamps:null,pricesenddirect:null}))}if(this.item.pricesenddirect){this.shownitems.push(Object.assign(Object.assign({},this.item),{pricestamps:null,priceagent:null}))}this.weightText=this.item.what==="parcel"?this.item.maxweight+"kg":this.item.what==="letter"&&this.item.maxweight>999?Math.round(this.item.maxweight/1e3)+" kg":this.item.maxweight+" g"};t.prototype.render=function(){var t=this;return h(Host,null,this.shownitems.map((function(e){return h("pn-product-tile",null,h("pn-illustration",{slot:"illustration",illustration:e.illustration}),h("div",{slot:"content"},h("div",{class:"content"},h("h3",null,e.name),e.description?h("div",{class:"description"},e.description):null,e.info?h("div",{class:"description"},e.info):null)),e.maxweight?h("pn-product-tile-info",{label:state.i18n.maxweightlabel,text:t.weightText}):null,e.maximummeasurements?h("pn-product-tile-info",{label:state.i18n.maxmeasurementlabel,text:e.maximummeasurements}):null,e.pricestamps?h("pn-product-tile-price",{slot:"price",label:state.i18n.stampshopcta,amount:e.pricestamps+"",currency:state.market.currency}):null,e.priceagent?h("pn-product-tile-price",{slot:"price",label:"",amount:e.priceagent+"",currency:state.market.currency,url:"https://shop.postnord.se/ebutik/default.aspx"}):null,e.pricesenddirect?h("pn-product-tile-price",{slot:"price",label:state.i18n.senddirectcta,amount:e.pricesenddirect+"",currency:state.market.currency,url:"https://portal.postnord.com/skickadirekt/"}):null,e.note?h("small",{slot:"note"},h("p",null,e.note)):null)})))};Object.defineProperty(t,"watchers",{get:function(){return{item:["composeItems"]}},enumerable:false,configurable:true});return t}();PnFindProductPricelistResult.style=pnProductPricelistResultCss;export{PnFindProductPricelistResult as pn_product_pricelist_result};
@@ -1 +1 @@
1
- import{c as createStore}from"./index-d3007e8f.js";var _a=createStore({i18n:{maxweightlabel:"",weightlabel:"",maxmeasurementlabel:"",sizeheading:"",senddirectcta:"",stampshopcta:""},market:{currency:""}}),state=_a.state,onChange=_a.onChange;export{state as s};
1
+ import{c as createStore}from"./index-7b21ecff.js";var _a=createStore({i18n:{maxweightlabel:"",weightlabel:"",maxmeasurementlabel:"",sizeheading:"",senddirectcta:"",stampshopcta:""},market:{currency:""}}),state=_a.state,onChange=_a.onChange;export{state as s};
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,a){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function s(e){try{l(a.next(e))}catch(t){r(t)}}function o(e){try{l(a["throw"](e))}catch(t){r(t)}}function l(e){e.done?i(e.value):n(e.value).then(s,o)}l((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,r,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,n&&(r=s[0]&2?n["return"]:s[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;if(n=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(s[0]===6&&i.label<r[1]){i.label=r[1];r=s;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(s);break}if(r[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(o){s=[6,o];n=0}finally{a=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var a=0,n=t.length,r;a<n;a++){if(r||!(a in t)){if(!r)r=Array.prototype.slice.call(t,0,a);r[a]=t[a]}}return e.concat(r||Array.prototype.slice.call(t))};import{r as registerInstance,h,a as Host}from"./index-70b099b5.js";import{a as convertFileFromStream}from"./convert-ae809f9c.js";import{s as state}from"./pn-product-pricelist-store-909c5238.js";import"./index-d3007e8f.js";var translations={sv:{maxweightlabel:"Maxvikt",weightlabel:"Vikt",maxmeasurementlabel:"Maxvolym",sizeheading:"Hur mycket väger det?",senddirectcta:"Köp frakt via Skicka Direkt",stampshopcta:"Köp frimärken via vår webshop"},en:{maxweightlabel:"Max weight",weightlabel:"Weight",maxmeasurementlabel:"Maximum measurement",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},da:{maxweightlabel:"Max vægt",weightlabel:"Vægt",maxmeasurementlabel:"Maks. Volumen",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},no:{maxweightlabel:"Maks vekt",weightlabel:"Vekt",maxmeasurementlabel:"Maks volum",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},fi:{maxweightlabel:"Max paino",weightlabel:"Piano",maxmeasurementlabel:"Max äänenvoimakkuus",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"}};var markets={se:{currency:"kr"},dk:{currency:"dk"},fi:{currency:" €"},no:{currency:"kr"}};var weights={letter:[{name:"50g",abbreviation:"g",value:50},{name:"100g",abbreviation:"g",value:100},{name:"250g",abbreviation:"g",value:250},{name:"500g",abbreviation:"g",value:500},{name:"1kg",abbreviation:"kg",value:1},{name:"2kg",abbreviation:"kg",value:2}],parcel:[{name:"1kg",abbreviation:"kg",value:1},{name:"2kg",abbreviation:"kg",value:2},{name:"3kg",abbreviation:"kg",value:3},{name:"4kg",abbreviation:"kg",value:4},{name:"5kg",abbreviation:"kg",value:5},{name:"6kg",abbreviation:"kg",value:6},{name:"7Kg",abbreviation:"kg",value:7},{name:"8kg",abbreviation:"kg",value:8},{name:"9kg",abbreviation:"kg",value:9},{name:"10kg",abbreviation:"kg",value:10},{name:"11kg",abbreviation:"kg",value:11},{name:"12kg",abbreviation:"kg",value:12},{name:"13kg",abbreviation:"kg",value:13},{name:"14kg",abbreviation:"kg",value:14},{name:"15kg",abbreviation:"kg",value:15},{name:"16kg",abbreviation:"kg",value:16},{name:"17kg",abbreviation:"kg",value:17},{name:"18kg",abbreviation:"kg",value:18},{name:"20kg",abbreviation:"kg",value:20}]};var pnProductPricelistCss='pn-product-pricelist pn-spinner{margin:1em auto}pn-product-pricelist h2,pn-product-pricelist .heading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-product-pricelist .content,pn-product-pricelist .weightselection{max-width:50em;margin:0 auto 1em}pn-product-pricelist .weightoption{display:-ms-flexbox;display:flex;gap:1em}pn-product-pricelist .weightoption-input{width:5em;position:relative}pn-product-pricelist .weightoption-input input::-webkit-outer-spin-button,pn-product-pricelist .weightoption-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}pn-product-pricelist .weightoption-input-abbreviation{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:1.2em;margin-top:1.55rem;font-weight:500}pn-product-pricelist .weightoption-range{-ms-flex-positive:1;flex-grow:1;-ms-flex-item-align:end;align-self:flex-end;position:relative;top:0.5em}pn-product-pricelist .weightoption-range input{width:calc(100% - 1.5em)}pn-product-pricelist .weightoption-range datalist{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75em}pn-product-pricelist .resultlist:not([data-list-count="0"]){margin-top:2em}';var PnFindProductPricelist=function(){function e(e){registerInstance(this,e);this.source="https://com-integration.postnord.com/globalassets/global/prices/sv-se-findprice.xlsx";this.language="sv";this.market="se";this.productid="";this.filteredItems=[];this.sourceData={types:[],data:[]};this.gotData=false;this.loading=false;this.postagetype={value:""};this.weight={value:0,name:""};this.weightvalue=0}e.prototype.componentWillLoad=function(){this.setState();this.getDataSource().then((function(){}))};e.prototype.setState=function(){if(this.market){state.market=markets[this.market]}if(this.language&&translations[this.language]){state.i18n=translations[this.language]}};e.prototype.getDataSource=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i,a,n;return __generator(this,(function(r){switch(r.label){case 0:if(!this.productid){return[2]}this.loading=true;e="?cache=".concat(Math.floor(Math.random()*(1e4-1)+1));return[4,fetch(this.source+e)];case 1:t=r.sent();return[4,t.blob()];case 2:i=r.sent();r.label=3;case 3:r.trys.push([3,5,,6]);return[4,convertFileFromStream(i)];case 4:a=r.sent();this.sourceData=a;this.filterItems();return[3,6];case 5:n=r.sent();this.loading=false;console.warn("Unable to parse data");return[3,6];case 6:return[2]}}))}))};e.prototype.filterItems=function(){var e=this;var t;if(!((t=this.sourceData)===null||t===void 0?void 0:t.data)){console.info("Data has not yet been loaded");return}this.loading=false;var i=this.sourceData.data.filter((function(t){return t.id===e.productid}));if(i.length===0){return}this.postagetype.value=i[0].what;if(!weights[this.postagetype.value]||weights[this.postagetype.value].length===0){return}if(this.weightvalue===0){this.weight=weights[this.postagetype.value][0];this.weightvalue=this.weight.value}var a=this.weight.abbreviation.toLocaleLowerCase()==="kg"&&this.postagetype.value==="letter"?this.weight.value*1e3:this.weight.value;var n=i.filter((function(e){return e.maxweight===a}));if(n.length===0){n=i.filter((function(e){return e.maxweight>=a}));if(n.length>0){var r=__spreadArray([],new Map(n.reverse().map((function(e){return[e["id"],e]}))).values(),true);if(r.length>0){n=r}}}this.filteredItems=n;this.gotData=this.filteredItems.length>0};e.prototype.render=function(){var e=this;return h(Host,null,h("div",{class:"content"},h("slot",null)),this.loading?h("pn-spinner",null):null,this.postagetype.value&&weights[this.postagetype.value]?h("div",{class:"weightselection"},state.i18n.sizeheading?h("div",{class:"heading"},state.i18n.sizeheading):null,h("div",{class:"weightoption"},h("div",{class:"weightoption-input"},h("pn-input",{inputid:"weightvalue",name:"weightvalue",type:"number",label:state.i18n.weightlabel,value:this.weightvalue,onChange:function(t){if(t&&t.target&&t.target.value){var i=parseInt(t.target.value,10);if(!isNaN(i)){var a=weights[e.postagetype.value].filter((function(e){var t=e.abbreviation==="kg"?e.value*1e3:e.value;return t>=i}));if(a&&a.length>0){e.weight=a[0];e.weightvalue=e.weight.value}}}}}),h("span",{class:"weightoption-input-abbreviation"},this.weight.abbreviation)),h("div",{class:"weightoption-range"},h("input",{type:"range",id:"weightrange",name:"weightrange",list:"weightlist",value:!this.weight.value?0:weights[this.postagetype.value].findIndex((function(t){return t.value===e.weightvalue})),onChange:function(t){var i=t.target.value;e.weight=weights[e.postagetype.value][i];e.weightvalue=e.weight.value},min:"0",max:weights[this.postagetype.value].length-1}),h("datalist",{id:"weightlist"},weights[this.postagetype.value].map((function(t,i){var a=t.name;if(weights[e.postagetype.value].length>6){a=i%5===0||i===0||i===weights[e.postagetype.value].length-1?t.name:""}return h("option",Object.assign({value:i},a?{label:a}:{}))})))))):null,h("div",{class:"resultlist","data-list-count":this.filteredItems.length},this.filteredItems.map((function(e){return h("div",null,h("pn-product-pricelist-result",{item:e}))}))))};Object.defineProperty(e,"watchers",{get:function(){return{market:["setState"],language:["setState"],postagetype:["filterItems"],weightvalue:["filterItems"]}},enumerable:false,configurable:true});return e}();PnFindProductPricelist.style=pnProductPricelistCss;export{PnFindProductPricelist as pn_product_pricelist};
1
+ var __awaiter=this&&this.__awaiter||function(e,t,i,a){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function s(e){try{l(a.next(e))}catch(t){r(t)}}function o(e){try{l(a["throw"](e))}catch(t){r(t)}}function l(e){e.done?i(e.value):n(e.value).then(s,o)}l((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,r,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,n&&(r=s[0]&2?n["return"]:s[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;if(n=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(s[0]===6&&i.label<r[1]){i.label=r[1];r=s;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(s);break}if(r[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(o){s=[6,o];n=0}finally{a=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var a=0,n=t.length,r;a<n;a++){if(r||!(a in t)){if(!r)r=Array.prototype.slice.call(t,0,a);r[a]=t[a]}}return e.concat(r||Array.prototype.slice.call(t))};import{r as registerInstance,h,a as Host}from"./index-5397620b.js";import{a as convertFileFromStream}from"./convert-ae809f9c.js";import{s as state}from"./pn-product-pricelist-store-2c336043.js";import"./index-7b21ecff.js";var translations={sv:{maxweightlabel:"Maxvikt",weightlabel:"Vikt",maxmeasurementlabel:"Maxvolym",sizeheading:"Hur mycket väger det?",senddirectcta:"Köp frakt via Skicka Direkt",stampshopcta:"Köp frimärken via vår webshop"},en:{maxweightlabel:"Max weight",weightlabel:"Weight",maxmeasurementlabel:"Maximum measurement",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},da:{maxweightlabel:"Max vægt",weightlabel:"Vægt",maxmeasurementlabel:"Maks. Volumen",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},no:{maxweightlabel:"Maks vekt",weightlabel:"Vekt",maxmeasurementlabel:"Maks volum",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},fi:{maxweightlabel:"Max paino",weightlabel:"Piano",maxmeasurementlabel:"Max äänenvoimakkuus",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"}};var markets={se:{currency:"kr"},dk:{currency:"dk"},fi:{currency:" €"},no:{currency:"kr"}};var weights={letter:[{name:"50g",abbreviation:"g",value:50},{name:"100g",abbreviation:"g",value:100},{name:"250g",abbreviation:"g",value:250},{name:"500g",abbreviation:"g",value:500},{name:"1kg",abbreviation:"kg",value:1},{name:"2kg",abbreviation:"kg",value:2}],parcel:[{name:"1kg",abbreviation:"kg",value:1},{name:"2kg",abbreviation:"kg",value:2},{name:"3kg",abbreviation:"kg",value:3},{name:"4kg",abbreviation:"kg",value:4},{name:"5kg",abbreviation:"kg",value:5},{name:"6kg",abbreviation:"kg",value:6},{name:"7Kg",abbreviation:"kg",value:7},{name:"8kg",abbreviation:"kg",value:8},{name:"9kg",abbreviation:"kg",value:9},{name:"10kg",abbreviation:"kg",value:10},{name:"11kg",abbreviation:"kg",value:11},{name:"12kg",abbreviation:"kg",value:12},{name:"13kg",abbreviation:"kg",value:13},{name:"14kg",abbreviation:"kg",value:14},{name:"15kg",abbreviation:"kg",value:15},{name:"16kg",abbreviation:"kg",value:16},{name:"17kg",abbreviation:"kg",value:17},{name:"18kg",abbreviation:"kg",value:18},{name:"20kg",abbreviation:"kg",value:20}]};var pnProductPricelistCss='pn-product-pricelist pn-spinner{margin:1em auto}pn-product-pricelist h2,pn-product-pricelist .heading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-product-pricelist .content,pn-product-pricelist .weightselection{max-width:50em;margin:0 auto 1em}pn-product-pricelist .weightoption{display:-ms-flexbox;display:flex;gap:1em}pn-product-pricelist .weightoption-input{width:5em;position:relative;display:none}pn-product-pricelist .weightoption-input input::-webkit-outer-spin-button,pn-product-pricelist .weightoption-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}pn-product-pricelist .weightoption-input-abbreviation{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:1.2em;margin-top:1.55rem;font-weight:500}pn-product-pricelist .weightoption-range{-ms-flex-positive:1;flex-grow:1;-ms-flex-item-align:end;align-self:flex-end;position:relative;top:0.5em}pn-product-pricelist .weightoption-range input{width:calc(100% - 1.5em)}pn-product-pricelist .weightoption-range datalist{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75em}pn-product-pricelist .resultlist:not([data-list-count="0"]){margin-top:2em}';var PnFindProductPricelist=function(){function e(e){registerInstance(this,e);this.source="https://com-integration.postnord.com/globalassets/global/prices/sv-se-findprice.xlsx";this.language="sv";this.market="se";this.productid="";this.filteredItems=[];this.sourceData={types:[],data:[]};this.gotData=false;this.loading=false;this.postagetype={value:""};this.weight={value:0,name:""};this.weightvalue=0}e.prototype.componentWillLoad=function(){this.setState();this.getDataSource().then((function(){}))};e.prototype.setState=function(){if(this.market){state.market=markets[this.market]}if(this.language&&translations[this.language]){state.i18n=translations[this.language]}};e.prototype.getDataSource=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i,a,n;return __generator(this,(function(r){switch(r.label){case 0:if(!this.productid){return[2]}this.loading=true;e="?cache=".concat(Math.floor(Math.random()*(1e4-1)+1));return[4,fetch(this.source+e)];case 1:t=r.sent();return[4,t.blob()];case 2:i=r.sent();r.label=3;case 3:r.trys.push([3,5,,6]);return[4,convertFileFromStream(i)];case 4:a=r.sent();this.sourceData=a;this.filterItems();return[3,6];case 5:n=r.sent();this.loading=false;console.warn("Unable to parse data");return[3,6];case 6:return[2]}}))}))};e.prototype.filterItems=function(){var e=this;var t;if(!((t=this.sourceData)===null||t===void 0?void 0:t.data)){console.info("Data has not yet been loaded");return}this.loading=false;var i=this.sourceData.data.filter((function(t){return t.id===e.productid}));if(i.length===0){return}this.postagetype.value=i[0].what;if(!weights[this.postagetype.value]||weights[this.postagetype.value].length===0){return}if(this.weightvalue===0){this.weight=weights[this.postagetype.value][0];this.weightvalue=this.weight.value}var a=this.weight.abbreviation.toLocaleLowerCase()==="kg"&&this.postagetype.value==="letter"?this.weight.value*1e3:this.weight.value;var n=i.filter((function(e){return e.maxweight===a}));if(n.length===0){n=i.filter((function(e){return e.maxweight>=a}));if(n.length>0){var r=__spreadArray([],new Map(n.reverse().map((function(e){return[e["id"],e]}))).values(),true);if(r.length>0){n=r}}}this.filteredItems=n;this.gotData=this.filteredItems.length>0};e.prototype.render=function(){var e=this;return h(Host,null,h("div",{class:"content"},h("slot",null)),this.loading?h("pn-spinner",null):null,this.postagetype.value&&weights[this.postagetype.value]?h("div",{class:"weightselection"},state.i18n.sizeheading?h("div",{class:"heading"},state.i18n.sizeheading):null,h("div",{class:"weightoption"},h("div",{class:"weightoption-input"},h("pn-input",{inputid:"weightvalue",name:"weightvalue",type:"number",label:state.i18n.weightlabel,value:this.weightvalue,onChange:function(t){if(t&&t.target&&t.target.value){var i=parseInt(t.target.value,10);if(!isNaN(i)){var a=weights[e.postagetype.value].filter((function(e){var t=e.abbreviation==="kg"?e.value*1e3:e.value;return t>=i}));if(a&&a.length>0){e.weight=a[0];e.weightvalue=e.weight.value}}}}}),h("span",{class:"weightoption-input-abbreviation"},this.weight.abbreviation)),h("div",{class:"weightoption-range"},h("input",{type:"range",id:"weightrange",name:"weightrange",list:"weightlist",value:!this.weight.value?0:weights[this.postagetype.value].findIndex((function(t){return t.value===e.weightvalue})),onChange:function(t){var i=t.target.value;e.weight=weights[e.postagetype.value][i];e.weightvalue=e.weight.value},min:"0",max:weights[this.postagetype.value].length-1}),h("datalist",{id:"weightlist"},weights[this.postagetype.value].map((function(t,i){var a=t.name;if(weights[e.postagetype.value].length>6){a=i%5===0||i===0||i===weights[e.postagetype.value].length-1?t.name:""}return h("option",Object.assign({value:i},a?{label:a}:{}))})))))):null,h("div",{class:"resultlist","data-list-count":this.filteredItems.length},this.filteredItems.map((function(e){return h("div",null,h("pn-product-pricelist-result",{item:e}))}))))};Object.defineProperty(e,"watchers",{get:function(){return{market:["setState"],language:["setState"],postagetype:["filterItems"],weightvalue:["filterItems"]}},enumerable:false,configurable:true});return e}();PnFindProductPricelist.style=pnProductPricelistCss;export{PnFindProductPricelist as pn_product_pricelist};
@@ -1 +1 @@
1
- import{r as registerInstance,h,a as Host}from"./index-70b099b5.js";var pnProductTileCss="pn-product-tile{margin-bottom:1em;border:0.1rem solid #D3CECB;outline:none;background:white;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);display:-ms-flexbox;display:flex;padding:1.5em;word-break:break-word;text-decoration:none;border-radius:0.8rem}pn-product-tile [slot=content] h3{display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:0.5em}pn-product-tile>pn-illustration{min-width:8rem;width:8rem;height:8rem;margin-right:3rem;-ms-flex-item-align:center;align-self:center}pn-product-tile .tilecontent{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}pn-product-tile .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:100%}pn-product-tile .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;max-width:66.6666666667%;-ms-flex-flow:wrap;flex-flow:wrap}pn-product-tile .info>*{min-width:6em;margin:0.2em 1em 0.2em 0}";var PnProductTile=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,null,h("slot",{name:"illustration"}),h("div",{class:"tilecontent"},h("div",{class:"details"},h("slot",{name:"content"}),h("div",{class:"info"},h("slot",null)),h("slot",{name:"note"})),h("slot",{name:"price"})))};return e}();PnProductTile.style=pnProductTileCss;var pnProductTileInfoCss="pn-product-tile-info{-ms-flex-item-align:center;align-self:center}";var PnProductTileInfo=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,null,this.label?h("p",null,h("small",null,this.label)):null,this.text?h("h3",null,this.text):null)};return e}();h("pn-icon",{symbol:"align-center",small:"false",color:"black"});PnProductTileInfo.style=pnProductTileInfoCss;var pnProductTilePriceCss="pn-product-tile-price{margin-top:1em;white-space:nowrap;text-align:right}pn-product-tile-price span{font-size:3em;font-size:clamp(2em, 6vw, 3em)}pn-product-tile-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-tile-price+pn-product-tile-price{margin-left:1.5em}pn-product-tile-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-tile-price a{text-decoration:none;color:#005D92}pn-product-tile-price a h3{text-decoration:underline}";var PnProductTilePrice=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){if(!this.amount){return}return this.url?h(Host,null,h("h3",null,this.amount?h("span",null,this.amount):null,this.currency?h("span",null,this.currency):null),this.label?h("a",{href:this.url},h("pn-button",{small:"true",icon:"arrow-right"},this.label)):null):h(Host,null,h("h3",null,this.amount?h("span",null,this.amount):null,this.currency?h("span",null,this.currency):null))};return e}();PnProductTilePrice.style=pnProductTilePriceCss;export{PnProductTile as pn_product_tile,PnProductTileInfo as pn_product_tile_info,PnProductTilePrice as pn_product_tile_price};
1
+ import{r as registerInstance,h,a as Host}from"./index-5397620b.js";var pnProductTileCss="pn-product-tile{margin-bottom:1em;border:0.1rem solid #D3CECB;outline:none;background:white;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);display:-ms-flexbox;display:flex;padding:1.5em;word-break:break-word;text-decoration:none;border-radius:0.8rem}pn-product-tile [slot=content] h3{display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:0.5em}pn-product-tile>pn-illustration{min-width:8rem;width:8rem;height:8rem;margin-right:3rem;-ms-flex-item-align:center;align-self:center}pn-product-tile .tilecontent{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}pn-product-tile .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:100%}pn-product-tile .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;max-width:66.6666666667%;-ms-flex-flow:wrap;flex-flow:wrap}pn-product-tile .info>*{min-width:6em;margin:0.2em 1em 0.2em 0}";var PnProductTile=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,null,h("slot",{name:"illustration"}),h("div",{class:"tilecontent"},h("div",{class:"details"},h("slot",{name:"content"}),h("div",{class:"info"},h("slot",null)),h("slot",{name:"note"})),h("slot",{name:"price"})))};return e}();PnProductTile.style=pnProductTileCss;var pnProductTileInfoCss="pn-product-tile-info{-ms-flex-item-align:center;align-self:center}";var PnProductTileInfo=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,null,this.label?h("p",null,h("small",null,this.label)):null,this.text?h("h3",null,this.text):null)};return e}();h("pn-icon",{symbol:"align-center",small:"false",color:"black"});PnProductTileInfo.style=pnProductTileInfoCss;var pnProductTilePriceCss="pn-product-tile-price{margin-top:1em;white-space:nowrap;text-align:right}pn-product-tile-price span{font-size:3em;font-size:clamp(2em, 6vw, 3em)}pn-product-tile-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-tile-price+pn-product-tile-price{margin-left:1.5em}pn-product-tile-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-tile-price a{text-decoration:none;color:#005D92}pn-product-tile-price a h3{text-decoration:underline}";var PnProductTilePrice=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){if(!this.amount){return}return this.url?h(Host,null,h("h3",null,this.amount?h("span",null,this.amount):null,this.currency?h("span",null,this.currency):null),this.label?h("a",{href:this.url},h("pn-button",{small:"true",icon:"arrow-right"},this.label)):null):h(Host,null,h("h3",null,this.amount?h("span",null,this.amount):null,this.currency?h("span",null,this.currency):null))};return e}();PnProductTilePrice.style=pnProductTilePriceCss;export{PnProductTile as pn_product_tile,PnProductTileInfo as pn_product_tile_info,PnProductTilePrice as pn_product_tile_price};
@@ -1 +1 @@
1
- import{r as registerInstance,h,a as Host,g as getElement}from"./index-70b099b5.js";var pnProfileSelectorOptionCss="pn-profile-selector-option{display:-ms-flexbox;display:flex;width:100%;border-bottom:1px solid #D3CECB;padding:1.2rem 0}pn-profile-selector-option:first-of-type{margin-top:2.4rem}pn-profile-selector-option:last-of-type{border-bottom:0;padding-bottom:0}pn-profile-selector-option:last-of-type .profileselectoroption{padding-bottom:0}.profileselectoroption{display:-ms-flexbox;display:flex;width:100%;padding:1.2rem 0;text-decoration:none}.profileselectoroption pn-icon{-ms-flex-item-align:center;align-self:center;position:relative;-webkit-transform:translateX(-1rem);transform:translateX(-1rem);-webkit-transition:-webkit-transform 0.25s linear;transition:-webkit-transform 0.25s linear;transition:transform 0.25s linear;transition:transform 0.25s linear, -webkit-transform 0.25s linear}.profileselectoroption:hover .profileselectoroption-name,.profileselectoroption:focus .profileselectoroption-name,.profileselectoroption:active .profileselectoroption-name{text-decoration:underline}.profileselectoroption:hover pn-icon,.profileselectoroption:focus pn-icon,.profileselectoroption:active pn-icon{-webkit-transform:none;transform:none;-webkit-transition-timing-function:ease;transition-timing-function:ease}.profileselectoroption-text{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.profileselectoroption-name{font-size:1em;color:#005D92;font-weight:700}.profileselectoroption-identifier{color:#5E554A;font-size:0.75em}";var PnProfileSelectorOption=function(){function e(e){registerInstance(this,e);this.name="";this.identifier="";this.url=""}e.prototype.render=function(){return h(Host,null,h("a",{class:"profileselectoroption",href:this.url},h("span",{class:"profileselectoroption-text"},h("span",{class:"profileselectoroption-name"},this.name),h("span",{class:"profileselectoroption-identifier"},this.identifier)),h("pn-icon",{symbol:"arrow-right",small:"false",color:"blue700"})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnProfileSelectorOption.style=pnProfileSelectorOptionCss;export{PnProfileSelectorOption as pn_profile_selector_option};
1
+ import{r as registerInstance,h,a as Host,g as getElement}from"./index-5397620b.js";var pnProfileSelectorOptionCss="pn-profile-selector-option{display:-ms-flexbox;display:flex;width:100%;border-bottom:1px solid #D3CECB;padding:1.2rem 0}pn-profile-selector-option:first-of-type{margin-top:2.4rem}pn-profile-selector-option:last-of-type{border-bottom:0;padding-bottom:0}pn-profile-selector-option:last-of-type .profileselectoroption{padding-bottom:0}.profileselectoroption{display:-ms-flexbox;display:flex;width:100%;padding:1.2rem 0;text-decoration:none}.profileselectoroption pn-icon{-ms-flex-item-align:center;align-self:center;position:relative;-webkit-transform:translateX(-1rem);transform:translateX(-1rem);-webkit-transition:-webkit-transform 0.25s linear;transition:-webkit-transform 0.25s linear;transition:transform 0.25s linear;transition:transform 0.25s linear, -webkit-transform 0.25s linear}.profileselectoroption:hover .profileselectoroption-name,.profileselectoroption:focus .profileselectoroption-name,.profileselectoroption:active .profileselectoroption-name{text-decoration:underline}.profileselectoroption:hover pn-icon,.profileselectoroption:focus pn-icon,.profileselectoroption:active pn-icon{-webkit-transform:none;transform:none;-webkit-transition-timing-function:ease;transition-timing-function:ease}.profileselectoroption-text{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.profileselectoroption-name{font-size:1em;color:#005D92;font-weight:700}.profileselectoroption-identifier{color:#5E554A;font-size:0.75em}";var PnProfileSelectorOption=function(){function e(e){registerInstance(this,e);this.name="";this.identifier="";this.url=""}e.prototype.render=function(){return h(Host,null,h("a",{class:"profileselectoroption",href:this.url},h("span",{class:"profileselectoroption-text"},h("span",{class:"profileselectoroption-name"},this.name),h("span",{class:"profileselectoroption-identifier"},this.identifier)),h("pn-icon",{symbol:"arrow-right",small:"false",color:"blue700"})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnProfileSelectorOption.style=pnProfileSelectorOptionCss;export{PnProfileSelectorOption as pn_profile_selector_option};
@@ -1 +1 @@
1
- import{r as registerInstance,h,a as Host,g as getElement}from"./index-70b099b5.js";var translations={sv:{introMessage:"Vilket kundnummer vill du hantera idag?"},en:{introMessage:"Which customer number do you want to handle today?"},da:{introMessage:"Hvilket kundenummer vil du håndtere i dag?"},no:{introMessage:"Hvilket kundenummer ønsker du å håndtere i dag?"},fi:{introMessage:"Mitä asiakasnumeroa haluat käsitellä tänään?"}};var pnProfileSelectorCss="pn-profile-selector{margin:1em auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:42.4rem;max-width:38.4rem;width:100%;padding:1.6rem;border-radius:8px;background:#FFFFFF}.profileselector-container{padding:3.2rem;border-radius:8px;-webkit-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);border:0.1rem solid #F3F2F2;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.profileselector-logo svg{display:block;margin:0 auto 2.4rem}.profileselector-intromessage{text-align:center;font-weight:700}";var PnProfileSelector=function(){function e(e){registerInstance(this,e);this.language="sv";this.returnUrl="/";this.i18n=translations["en"];this.isLoading=true;this.numberOfProfiles=1}e.prototype.componentWillLoad=function(){this.init()};e.prototype.init=function(){this.setTranslations()};e.prototype.setTranslations=function(){if(this.language&&translations[this.language]){this.i18n=translations[this.language]}};e.prototype.render=function(){return h(Host,null,h("div",{class:"profileselector-container"},h("div",{class:"profileselector-logo"},h("svg",{viewBox:"0 0 133 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"17.1rem",height:"3.2rem"},h("path",{"fill-rule":"evenodd","clip-rule":"evenodd",fill:"#00A0D6",d:"M132.749 0.333618V20.9198H126.976V19.3809C126.976 19.3809 125.475 21.4316 122.191 21.4316C117.381 21.4316 114.662 17.7015 114.662 13.0327C114.662 8.47612 117.776 4.7187 122.617 4.7187C125.589 4.7187 126.976 6.19924 126.976 6.19924V1.47206L132.749 0.333618ZM54.2322 1.67091H60.0055V5.20216H65.3564L62.7235 10.0999H60.0055V20.9198H54.2322V1.67091ZM28.2484 21.4023C32.8051 21.4023 37.6446 18.8974 37.6446 12.9187C37.6446 7.16616 32.9746 4.69042 28.4461 4.69042C23.8042 4.69042 19.049 7.25192 19.049 13.175C19.049 18.9549 23.7199 21.4023 28.2484 21.4023ZM28.3327 9.78608C30.2294 9.78608 31.5032 11.1243 31.5032 13.0902C31.5032 14.9392 30.2575 16.3076 28.3327 16.3076C26.437 16.3076 25.1351 14.9392 25.1351 13.0902C25.1351 11.1243 26.4089 9.78608 28.3327 9.78608ZM47.0708 10.8963C46.8158 10.8574 46.5804 10.8239 46.3639 10.7931C44.9938 10.5979 44.3827 10.5108 44.3827 9.87279C44.3827 9.24608 45.146 8.9888 46.6465 8.9888C49.1941 8.9888 51.4298 9.84357 51.4298 9.84357L52.4488 5.43022C52.4488 5.43022 49.9865 4.71869 46.7027 4.71869C41.1841 4.71869 38.2965 6.85422 38.2965 10.2705C38.2965 12.9187 39.8532 14.485 44.4108 15.0825C46.3355 15.3388 47.0427 15.4519 47.0427 16.1644C47.0427 16.8486 46.2784 17.0757 44.9484 17.0757C42.0608 17.0757 39.3437 15.8515 39.3437 15.8515L38.1832 20.4081C38.1832 20.4081 40.9003 21.375 44.4389 21.375C50.3826 21.375 53.1279 19.2668 53.1279 15.8223C53.1279 13.0902 51.6555 11.6087 47.0708 10.8963ZM76.1968 4.69042C72.8287 4.69042 71.6111 6.74018 71.6111 6.74018V5.20216H65.8369V20.9198H71.6111V12.8612C71.6111 10.8689 72.3483 9.95666 74.1297 9.95666C75.913 9.95666 76.1687 11.4381 76.1687 13.3173V20.9198H81.9982V11.2666C81.9982 6.93903 79.9339 4.69042 76.1968 4.69042ZM123.948 9.8153C125.843 9.8153 127.144 11.1818 127.144 13.0327C127.144 14.9958 125.87 16.335 123.948 16.335C122.051 16.335 120.778 14.9958 120.778 13.0327C120.778 11.1818 122.024 9.8153 123.948 9.8153ZM112.456 10.213C110.53 10.213 109.088 10.9537 109.088 13.3456V20.9198H103.313V5.20216H109.088V7.02479C109.088 7.02479 109.965 4.97409 113.191 4.97409C114.181 4.97409 114.55 5.14467 114.55 5.14467L114.408 10.4976C114.408 10.4976 113.643 10.213 112.456 10.213ZM11.9728 13.0902C11.9728 11.1243 10.699 9.78608 8.80235 9.78608C6.87853 9.78608 5.6038 11.1243 5.6038 13.0902C5.6038 14.9392 6.9057 16.3076 8.80235 16.3076C10.728 16.3076 11.9728 14.9392 11.9728 13.0902ZM10.1333 21.4023C14.9728 21.4023 18.0871 17.6468 18.0871 13.0902C18.0871 8.41958 15.3699 4.69042 10.5576 4.69042C7.27472 4.69042 5.77426 6.74018 5.77426 6.74018V5.20216H0V25.4453H5.77426V19.9227C5.77426 19.9227 7.16139 21.4023 10.1333 21.4023ZM95.7984 13.0902C95.7984 11.1243 94.5246 9.78608 92.6279 9.78608C90.7032 9.78608 89.4284 11.1243 89.4284 13.0902C89.4284 14.9392 90.7322 16.3076 92.6279 16.3076C94.5536 16.3076 95.7984 14.9392 95.7984 13.0902ZM92.5427 21.4023C97.0994 21.4023 101.94 18.8974 101.94 12.9187C101.94 7.16616 97.2698 4.69042 92.7413 4.69042C88.0984 4.69042 83.3442 7.25192 83.3442 13.175C83.3442 18.9549 88.0142 21.4023 92.5427 21.4023Z"}))),h("div",{class:"profileselector-intromessage"},this.i18n.introMessage),h("slot",null)))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnProfileSelector.style=pnProfileSelectorCss;export{PnProfileSelector as pn_profile_selector};
1
+ import{r as registerInstance,h,a as Host,g as getElement}from"./index-5397620b.js";var translations={sv:{introMessage:"Vilket kundnummer vill du hantera idag?"},en:{introMessage:"Which customer number do you want to handle today?"},da:{introMessage:"Hvilket kundenummer vil du håndtere i dag?"},no:{introMessage:"Hvilket kundenummer ønsker du å håndtere i dag?"},fi:{introMessage:"Mitä asiakasnumeroa haluat käsitellä tänään?"}};var pnProfileSelectorCss="pn-profile-selector{margin:1em auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:42.4rem;max-width:38.4rem;width:100%;padding:1.6rem;border-radius:8px;background:#FFFFFF}.profileselector-container{padding:3.2rem;border-radius:8px;-webkit-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);border:0.1rem solid #F3F2F2;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.profileselector-logo svg{display:block;margin:0 auto 2.4rem}.profileselector-intromessage{text-align:center;font-weight:700}";var PnProfileSelector=function(){function e(e){registerInstance(this,e);this.language="sv";this.returnUrl="/";this.i18n=translations["en"];this.isLoading=true;this.numberOfProfiles=1}e.prototype.componentWillLoad=function(){this.init()};e.prototype.init=function(){this.setTranslations()};e.prototype.setTranslations=function(){if(this.language&&translations[this.language]){this.i18n=translations[this.language]}};e.prototype.render=function(){return h(Host,null,h("div",{class:"profileselector-container"},h("div",{class:"profileselector-logo"},h("svg",{viewBox:"0 0 133 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"17.1rem",height:"3.2rem"},h("path",{"fill-rule":"evenodd","clip-rule":"evenodd",fill:"#00A0D6",d:"M132.749 0.333618V20.9198H126.976V19.3809C126.976 19.3809 125.475 21.4316 122.191 21.4316C117.381 21.4316 114.662 17.7015 114.662 13.0327C114.662 8.47612 117.776 4.7187 122.617 4.7187C125.589 4.7187 126.976 6.19924 126.976 6.19924V1.47206L132.749 0.333618ZM54.2322 1.67091H60.0055V5.20216H65.3564L62.7235 10.0999H60.0055V20.9198H54.2322V1.67091ZM28.2484 21.4023C32.8051 21.4023 37.6446 18.8974 37.6446 12.9187C37.6446 7.16616 32.9746 4.69042 28.4461 4.69042C23.8042 4.69042 19.049 7.25192 19.049 13.175C19.049 18.9549 23.7199 21.4023 28.2484 21.4023ZM28.3327 9.78608C30.2294 9.78608 31.5032 11.1243 31.5032 13.0902C31.5032 14.9392 30.2575 16.3076 28.3327 16.3076C26.437 16.3076 25.1351 14.9392 25.1351 13.0902C25.1351 11.1243 26.4089 9.78608 28.3327 9.78608ZM47.0708 10.8963C46.8158 10.8574 46.5804 10.8239 46.3639 10.7931C44.9938 10.5979 44.3827 10.5108 44.3827 9.87279C44.3827 9.24608 45.146 8.9888 46.6465 8.9888C49.1941 8.9888 51.4298 9.84357 51.4298 9.84357L52.4488 5.43022C52.4488 5.43022 49.9865 4.71869 46.7027 4.71869C41.1841 4.71869 38.2965 6.85422 38.2965 10.2705C38.2965 12.9187 39.8532 14.485 44.4108 15.0825C46.3355 15.3388 47.0427 15.4519 47.0427 16.1644C47.0427 16.8486 46.2784 17.0757 44.9484 17.0757C42.0608 17.0757 39.3437 15.8515 39.3437 15.8515L38.1832 20.4081C38.1832 20.4081 40.9003 21.375 44.4389 21.375C50.3826 21.375 53.1279 19.2668 53.1279 15.8223C53.1279 13.0902 51.6555 11.6087 47.0708 10.8963ZM76.1968 4.69042C72.8287 4.69042 71.6111 6.74018 71.6111 6.74018V5.20216H65.8369V20.9198H71.6111V12.8612C71.6111 10.8689 72.3483 9.95666 74.1297 9.95666C75.913 9.95666 76.1687 11.4381 76.1687 13.3173V20.9198H81.9982V11.2666C81.9982 6.93903 79.9339 4.69042 76.1968 4.69042ZM123.948 9.8153C125.843 9.8153 127.144 11.1818 127.144 13.0327C127.144 14.9958 125.87 16.335 123.948 16.335C122.051 16.335 120.778 14.9958 120.778 13.0327C120.778 11.1818 122.024 9.8153 123.948 9.8153ZM112.456 10.213C110.53 10.213 109.088 10.9537 109.088 13.3456V20.9198H103.313V5.20216H109.088V7.02479C109.088 7.02479 109.965 4.97409 113.191 4.97409C114.181 4.97409 114.55 5.14467 114.55 5.14467L114.408 10.4976C114.408 10.4976 113.643 10.213 112.456 10.213ZM11.9728 13.0902C11.9728 11.1243 10.699 9.78608 8.80235 9.78608C6.87853 9.78608 5.6038 11.1243 5.6038 13.0902C5.6038 14.9392 6.9057 16.3076 8.80235 16.3076C10.728 16.3076 11.9728 14.9392 11.9728 13.0902ZM10.1333 21.4023C14.9728 21.4023 18.0871 17.6468 18.0871 13.0902C18.0871 8.41958 15.3699 4.69042 10.5576 4.69042C7.27472 4.69042 5.77426 6.74018 5.77426 6.74018V5.20216H0V25.4453H5.77426V19.9227C5.77426 19.9227 7.16139 21.4023 10.1333 21.4023ZM95.7984 13.0902C95.7984 11.1243 94.5246 9.78608 92.6279 9.78608C90.7032 9.78608 89.4284 11.1243 89.4284 13.0902C89.4284 14.9392 90.7322 16.3076 92.6279 16.3076C94.5536 16.3076 95.7984 14.9392 95.7984 13.0902ZM92.5427 21.4023C97.0994 21.4023 101.94 18.8974 101.94 12.9187C101.94 7.16616 97.2698 4.69042 92.7413 4.69042C88.0984 4.69042 83.3442 7.25192 83.3442 13.175C83.3442 18.9549 88.0142 21.4023 92.5427 21.4023Z"}))),h("div",{class:"profileselector-intromessage"},this.i18n.introMessage),h("slot",null)))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnProfileSelector.style=pnProfileSelectorCss;export{PnProfileSelector as pn_profile_selector};
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function l(e){try{o(i.next(e))}catch(t){a(t)}}function s(e){try{o(i["throw"](e))}catch(t){a(t)}}function o(e){e.done?n(e.value):r(e.value).then(l,s)}o((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(t){return o([e,t])}}function o(l){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(a=l[0]&2?r["return"]:l[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;if(r=0,a)l=[l[0]&2,a.value];switch(l[0]){case 0:case 1:a=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;r=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){n.label=l[1];break}if(l[0]===6&&n.label<a[1]){n.label=a[1];a=l;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(l);break}if(a[2])n.ops.pop();n.trys.pop();continue}l=t.call(e,n)}catch(s){l=[6,s];r=0}finally{i=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};import{r as registerInstance,h,a as Host,g as getElement}from"./index-70b099b5.js";import{s as state,o as onChange}from"./pn-sidenav-store-f0db4a1f.js";import"./index-d3007e8f.js";var pnSidenavLevelCss='pn-sidenav-level{display:block;-ms-flex-preferred-size:100%;flex-basis:100%}pn-sidenav-level[data-level="2"]{padding-left:2.5em;overflow:hidden;-webkit-transition:max-height ease 0.2s;transition:max-height ease 0.2s;max-height:40em}pn-sidenav-level[data-level="2"][aria-hidden=true]{max-height:0}';var PnSidenavLevel=function(){function e(e){registerInstance(this,e);this.level=1;this.levelId="";this.isOpen=false;this.parentName="";this.parentHref="";this.parentLinkId="";this.alignment="right"}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var n=this;return __generator(this,(function(i){e=this.hostElement.parentElement;if(e.tagName.toLowerCase()!=="nav"){this.level=2}if(e.tagName.toLowerCase()==="pn-sidenav-link"){this.parentName=e.getAttribute("name")+"";this.parentHref=e.getAttribute("href")+"";this.parentLinkId=e.getAttribute("linkid")+"";t=this.parentName.toLowerCase().replace(/\W/gi,"_");this.levelId="sidenav-lvl".concat(this.level,"-").concat(t);if(e.getAttribute("current")+""==="true"){state.openLevel=this.levelId;this.onChangeOpenLevel()}}onChange("openLevel",(function(){n.onChangeOpenLevel()}));return[2]}))}))};e.prototype.onOpen=function(){};e.prototype.onChangeOpenLevel=function(){this.isOpen=state.openLevel===this.levelId};e.prototype.render=function(){var e;var t={"aria-hidden":this.level>1?!this.isOpen+"":null,"data-level":this.level+"",id:(e=this.levelId)!==null&&e!==void 0?e:""};return h(Host,Object.assign({},t,{"data-asdfasdf":this.isOpen}),h("slot",null))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{isOpen:["onOpen"]}},enumerable:false,configurable:true});return e}();PnSidenavLevel.style=pnSidenavLevelCss;export{PnSidenavLevel as pn_sidenav_level};
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function l(e){try{o(i.next(e))}catch(t){a(t)}}function s(e){try{o(i["throw"](e))}catch(t){a(t)}}function o(e){e.done?n(e.value):r(e.value).then(l,s)}o((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(t){return o([e,t])}}function o(l){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(a=l[0]&2?r["return"]:l[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;if(r=0,a)l=[l[0]&2,a.value];switch(l[0]){case 0:case 1:a=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;r=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){n.label=l[1];break}if(l[0]===6&&n.label<a[1]){n.label=a[1];a=l;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(l);break}if(a[2])n.ops.pop();n.trys.pop();continue}l=t.call(e,n)}catch(s){l=[6,s];r=0}finally{i=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};import{r as registerInstance,h,a as Host,g as getElement}from"./index-5397620b.js";import{s as state,o as onChange}from"./pn-sidenav-store-50b186d6.js";import"./index-7b21ecff.js";var pnSidenavLevelCss='pn-sidenav-level{display:block;-ms-flex-preferred-size:100%;flex-basis:100%}pn-sidenav-level[data-level="2"]{padding-left:2.5em;overflow:hidden;-webkit-transition:max-height ease 0.2s;transition:max-height ease 0.2s;max-height:40em}pn-sidenav-level[data-level="2"][aria-hidden=true]{max-height:0}';var PnSidenavLevel=function(){function e(e){registerInstance(this,e);this.level=1;this.levelId="";this.isOpen=false;this.parentName="";this.parentHref="";this.parentLinkId="";this.alignment="right"}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var n=this;return __generator(this,(function(i){e=this.hostElement.parentElement;if(e.tagName.toLowerCase()!=="nav"){this.level=2}if(e.tagName.toLowerCase()==="pn-sidenav-link"){this.parentName=e.getAttribute("name")+"";this.parentHref=e.getAttribute("href")+"";this.parentLinkId=e.getAttribute("linkid")+"";t=this.parentName.toLowerCase().replace(/\W/gi,"_");this.levelId="sidenav-lvl".concat(this.level,"-").concat(t);if(e.getAttribute("current")+""==="true"){state.openLevel=this.levelId;this.onChangeOpenLevel()}}onChange("openLevel",(function(){n.onChangeOpenLevel()}));return[2]}))}))};e.prototype.onOpen=function(){};e.prototype.onChangeOpenLevel=function(){this.isOpen=state.openLevel===this.levelId};e.prototype.render=function(){var e;var t={"aria-hidden":this.level>1?!this.isOpen+"":null,"data-level":this.level+"",id:(e=this.levelId)!==null&&e!==void 0?e:""};return h(Host,Object.assign({},t,{"data-asdfasdf":this.isOpen}),h("slot",null))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{isOpen:["onOpen"]}},enumerable:false,configurable:true});return e}();PnSidenavLevel.style=pnSidenavLevelCss;export{PnSidenavLevel as pn_sidenav_level};
@@ -1 +1 @@
1
- import{r as registerInstance,h,a as Host,g as getElement}from"./index-70b099b5.js";import{s as state}from"./pn-sidenav-store-f0db4a1f.js";import"./index-d3007e8f.js";var pnSidenavLinkCss='pn-sidenav-link{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.pn-sidenav-link{font-weight:normal;position:relative;border:0 none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:transparent;color:#005D92;font-size:1em;padding:1.1rem 1.5rem 1.1rem;overflow:hidden;text-decoration:none;cursor:pointer;-ms-flex-positive:1;flex-grow:1}.pn-sidenav-link::before{content:"";display:block;width:0.4rem;border-top-right-radius:0.3rem;border-bottom-right-radius:0.3rem;height:100%;position:absolute;left:0;top:0;bottom:0;-webkit-transform:translateX(-0.4rem);transform:translateX(-0.4rem);background:#005D92;-webkit-transition:-webkit-transform linear 0.35s;transition:-webkit-transform linear 0.35s;transition:transform linear 0.35s;transition:transform linear 0.35s, -webkit-transform linear 0.35s}.pn-sidenav-link:hover,.pn-sidenav-link:focus,[current=true]>.pn-sidenav-link{background-color:#E0F8FF;color:#005D92;outline:0;-webkit-box-shadow:none;box-shadow:none}.pn-sidenav-link:hover::before,.pn-sidenav-link:focus::before,[current=true]>.pn-sidenav-link::before{-webkit-transform:none;transform:none}.pn-sidenav-link:active{background-color:#F3F2F2;color:#00A0D6;-webkit-box-shadow:none;box-shadow:none}.pn-sidenav-link>pn-icon{padding-right:1em}.pn-sidenav-link-expand{margin-left:auto;border:0;font-size:1em;background:transparent;outline:0;padding:0 1em 0 0.5em;cursor:pointer}.pn-sidenav-link-expand:hover,.pn-sidenav-link-expand:focus,[current=true]>.pn-sidenav-link-expand{background-color:#E0F8FF;color:#005D92;outline:0;-webkit-box-shadow:none;box-shadow:none}.pn-sidenav-link-expand:hover::before,.pn-sidenav-link-expand:focus::before,[current=true]>.pn-sidenav-link-expand::before{-webkit-transform:none;transform:none}button>.pn-sidenav-link-expand{padding-right:0}.pn-sidenav-link-expand pn-icon{width:14px}';var PnSidenavLink=function(){function n(n){registerInstance(this,n);this.name="";this.href="";this.target=null;this.linkid=null;this.icon="";this.current=false;this.levelId="";this.open=false;this.hasChildren=false}n.prototype.componentWillLoad=function(){this.hasChildren=this.hostElement.querySelectorAll("pn-sidenav-level").length>0;var n=this.name.toLowerCase().replace(/\W/gi,"_");if(this.hasChildren&&this.name){this.levelId="sidenav-lvl".concat(2,"-").concat(n)}if(!this.linkid&&this.name){this.linkid="sidenav-link-".concat(n)}};n.prototype.onExpandClick=function(){state.openLevel=state.openLevel+""===this.levelId+""?"":this.levelId};n.prototype.getTagName=function(){return this.href?"a":"button"};n.prototype.render=function(){var n=this.getTagName();var e={href:this.href,target:this.target,id:this.linkid,class:"pn-sidenav-link"};var i={"aria-controls":this.levelId,"aria-pressed":"","aria-label":(this.open?state.i18n.close:state.i18n.open)+" "+this.name,"aria-expanded":(state.openLevel+""===this.levelId+"")+"",onClick:this.onExpandClick.bind(this)};return h(Host,{role:"listitem",name:this.name,href:this.href,linkid:this.linkid,current:this.current+""},h(n,Object.assign({},e,n==="button"&&Object.assign({},i)),this.icon?h("pn-icon",{symbol:this.icon,color:"blue700"}):null,h("span",null,this.name),this.hasChildren&&n==="button"?h("div",{class:"pn-sidenav-link-expand"},this.open?h("pn-icon",{class:"first-level_icon",symbol:"angle-small-up",color:"blue700"}):h("pn-icon",{class:"first-level_icon",symbol:"angle-small-down",color:"blue700"})):null),this.hasChildren&&n==="a"?h("button",Object.assign({},i,{class:"pn-sidenav-link-expand"}),this.open?h("pn-icon",{class:"first-level_icon",symbol:"angle-small-up",color:"blue700"}):h("pn-icon",{class:"first-level_icon",symbol:"angle-small-down",color:"blue700"})):null,h("slot",null))};Object.defineProperty(n.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return n}();PnSidenavLink.style=pnSidenavLinkCss;export{PnSidenavLink as pn_sidenav_link};
1
+ import{r as registerInstance,h,a as Host,g as getElement}from"./index-5397620b.js";import{s as state}from"./pn-sidenav-store-50b186d6.js";import"./index-7b21ecff.js";var pnSidenavLinkCss='pn-sidenav-link{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.pn-sidenav-link{font-weight:normal;position:relative;border:0 none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:transparent;color:#005D92;font-size:1em;padding:1.1rem 1.5rem 1.1rem;overflow:hidden;text-decoration:none;cursor:pointer;-ms-flex-positive:1;flex-grow:1}.pn-sidenav-link::before{content:"";display:block;width:0.4rem;border-top-right-radius:0.3rem;border-bottom-right-radius:0.3rem;height:100%;position:absolute;left:0;top:0;bottom:0;-webkit-transform:translateX(-0.4rem);transform:translateX(-0.4rem);background:#005D92;-webkit-transition:-webkit-transform linear 0.35s;transition:-webkit-transform linear 0.35s;transition:transform linear 0.35s;transition:transform linear 0.35s, -webkit-transform linear 0.35s}.pn-sidenav-link:hover,.pn-sidenav-link:focus,[current=true]>.pn-sidenav-link{background-color:#E0F8FF;color:#005D92;outline:0;-webkit-box-shadow:none;box-shadow:none}.pn-sidenav-link:hover::before,.pn-sidenav-link:focus::before,[current=true]>.pn-sidenav-link::before{-webkit-transform:none;transform:none}.pn-sidenav-link:active{background-color:#F3F2F2;color:#00A0D6;-webkit-box-shadow:none;box-shadow:none}.pn-sidenav-link>pn-icon{padding-right:1em}.pn-sidenav-link-expand{margin-left:auto;border:0;font-size:1em;background:transparent;outline:0;padding:0 1em 0 0.5em;cursor:pointer}.pn-sidenav-link-expand:hover,.pn-sidenav-link-expand:focus,[current=true]>.pn-sidenav-link-expand{background-color:#E0F8FF;color:#005D92;outline:0;-webkit-box-shadow:none;box-shadow:none}.pn-sidenav-link-expand:hover::before,.pn-sidenav-link-expand:focus::before,[current=true]>.pn-sidenav-link-expand::before{-webkit-transform:none;transform:none}button>.pn-sidenav-link-expand{padding-right:0}.pn-sidenav-link-expand pn-icon{width:14px}';var PnSidenavLink=function(){function n(n){registerInstance(this,n);this.name="";this.href="";this.target=null;this.linkid=null;this.icon="";this.current=false;this.levelId="";this.open=false;this.hasChildren=false}n.prototype.componentWillLoad=function(){this.hasChildren=this.hostElement.querySelectorAll("pn-sidenav-level").length>0;var n=this.name.toLowerCase().replace(/\W/gi,"_");if(this.hasChildren&&this.name){this.levelId="sidenav-lvl".concat(2,"-").concat(n)}if(!this.linkid&&this.name){this.linkid="sidenav-link-".concat(n)}};n.prototype.onExpandClick=function(){state.openLevel=state.openLevel+""===this.levelId+""?"":this.levelId};n.prototype.getTagName=function(){return this.href?"a":"button"};n.prototype.render=function(){var n=this.getTagName();var e={href:this.href,target:this.target,id:this.linkid,class:"pn-sidenav-link"};var i={"aria-controls":this.levelId,"aria-pressed":"","aria-label":(this.open?state.i18n.close:state.i18n.open)+" "+this.name,"aria-expanded":(state.openLevel+""===this.levelId+"")+"",onClick:this.onExpandClick.bind(this)};return h(Host,{role:"listitem",name:this.name,href:this.href,linkid:this.linkid,current:this.current+""},h(n,Object.assign({},e,n==="button"&&Object.assign({},i)),this.icon?h("pn-icon",{symbol:this.icon,color:"blue700"}):null,h("span",null,this.name),this.hasChildren&&n==="button"?h("div",{class:"pn-sidenav-link-expand"},this.open?h("pn-icon",{class:"first-level_icon",symbol:"angle-small-up",color:"blue700"}):h("pn-icon",{class:"first-level_icon",symbol:"angle-small-down",color:"blue700"})):null),this.hasChildren&&n==="a"?h("button",Object.assign({},i,{class:"pn-sidenav-link-expand"}),this.open?h("pn-icon",{class:"first-level_icon",symbol:"angle-small-up",color:"blue700"}):h("pn-icon",{class:"first-level_icon",symbol:"angle-small-down",color:"blue700"})):null,h("slot",null))};Object.defineProperty(n.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return n}();PnSidenavLink.style=pnSidenavLinkCss;export{PnSidenavLink as pn_sidenav_link};
@@ -1 +1 @@
1
- import{c as createStore}from"./index-d3007e8f.js";var _a=createStore({openLevel:"",openMenu:false,i18n:{open:"",close:"",navLabel:""}}),state=_a.state,onChange=_a.onChange;export{onChange as o,state as s};
1
+ import{c as createStore}from"./index-7b21ecff.js";var _a=createStore({openLevel:"",openMenu:false,i18n:{open:"",close:"",navLabel:""}}),state=_a.state,onChange=_a.onChange;export{onChange as o,state as s};
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(n,e,t,a){function i(n){return n instanceof t?n:new t((function(e){e(n)}))}return new(t||(t=Promise))((function(t,r){function o(n){try{l(a.next(n))}catch(e){r(e)}}function s(n){try{l(a["throw"](n))}catch(e){r(e)}}function l(n){n.done?t(n.value):i(n.value).then(o,s)}l((a=a.apply(n,e||[])).next())}))};var __generator=this&&this.__generator||function(n,e){var t={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,i,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(n){return function(e){return l([n,e])}}function l(o){if(a)throw new TypeError("Generator is already executing.");while(t)try{if(a=1,i&&(r=o[0]&2?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;if(i=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;i=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(r=t.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){t.label=o[1];break}if(o[0]===6&&t.label<r[1]){t.label=r[1];r=o;break}if(r&&t.label<r[2]){t.label=r[2];t.ops.push(o);break}if(r[2])t.ops.pop();t.trys.pop();continue}o=e.call(n,t)}catch(s){o=[6,s];i=0}finally{a=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};import{r as registerInstance,h,a as Host,g as getElement}from"./index-70b099b5.js";import{s as state}from"./pn-sidenav-store-f0db4a1f.js";import"./index-d3007e8f.js";var translations={sv:{open:"Öppna",close:"Stäng",navLabel:"Undernavigering"},en:{open:"Open",close:"Close",navLabel:"Sub navigation"},da:{open:"Åbne",close:"Stæng",navLabel:"Undernavigation"},no:{open:"Åpne",close:"Stäng",navLabel:"Undernavigering"},fi:{open:"Avaa",close:"Sulje",navLabel:"Ali navigointi"}};var pnSidenavCss="";var PnSidenav=function(){function n(n){registerInstance(this,n);this.language="sv";this.navLabel="";this.i18n={open:"",close:"",navLabel:""}}n.prototype.componentWillLoad=function(){this.init()};n.prototype.init=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){this.setLanguage();return[2]}))}))};n.prototype.setLanguage=function(){if(translations[this.language]){state.i18n=translations[this.language];if(!this.navLabel){this.navLabel=this.i18n.navLabel}}};n.prototype.onOpenSubMenuLevelChange=function(n){state.openLevel=n.detail};n.prototype.render=function(){return h(Host,null,h("nav",{class:"sidenav","aria-label":this.navLabel},h("slot",null)))};Object.defineProperty(n.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return n}();PnSidenav.style=pnSidenavCss;export{PnSidenav as pn_sidenav};
1
+ var __awaiter=this&&this.__awaiter||function(n,e,t,a){function i(n){return n instanceof t?n:new t((function(e){e(n)}))}return new(t||(t=Promise))((function(t,r){function o(n){try{l(a.next(n))}catch(e){r(e)}}function s(n){try{l(a["throw"](n))}catch(e){r(e)}}function l(n){n.done?t(n.value):i(n.value).then(o,s)}l((a=a.apply(n,e||[])).next())}))};var __generator=this&&this.__generator||function(n,e){var t={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,i,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(n){return function(e){return l([n,e])}}function l(o){if(a)throw new TypeError("Generator is already executing.");while(t)try{if(a=1,i&&(r=o[0]&2?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;if(i=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;i=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(r=t.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){t.label=o[1];break}if(o[0]===6&&t.label<r[1]){t.label=r[1];r=o;break}if(r&&t.label<r[2]){t.label=r[2];t.ops.push(o);break}if(r[2])t.ops.pop();t.trys.pop();continue}o=e.call(n,t)}catch(s){o=[6,s];i=0}finally{a=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};import{r as registerInstance,h,a as Host,g as getElement}from"./index-5397620b.js";import{s as state}from"./pn-sidenav-store-50b186d6.js";import"./index-7b21ecff.js";var translations={sv:{open:"Öppna",close:"Stäng",navLabel:"Undernavigering"},en:{open:"Open",close:"Close",navLabel:"Sub navigation"},da:{open:"Åbne",close:"Stæng",navLabel:"Undernavigation"},no:{open:"Åpne",close:"Stäng",navLabel:"Undernavigering"},fi:{open:"Avaa",close:"Sulje",navLabel:"Ali navigointi"}};var pnSidenavCss="";var PnSidenav=function(){function n(n){registerInstance(this,n);this.language="sv";this.navLabel="";this.i18n={open:"",close:"",navLabel:""}}n.prototype.componentWillLoad=function(){this.init()};n.prototype.init=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){this.setLanguage();return[2]}))}))};n.prototype.setLanguage=function(){if(translations[this.language]){state.i18n=translations[this.language];if(!this.navLabel){this.navLabel=this.i18n.navLabel}}};n.prototype.onOpenSubMenuLevelChange=function(n){state.openLevel=n.detail};n.prototype.render=function(){return h(Host,null,h("nav",{class:"sidenav","aria-label":this.navLabel},h("slot",null)))};Object.defineProperty(n.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return n}();PnSidenav.style=pnSidenavCss;export{PnSidenav as pn_sidenav};
@@ -1 +1 @@
1
- import{r as registerInstance,h,a as Host}from"./index-70b099b5.js";var pnSiteFooterCss="pn-site-footer{display:block;line-height:1.5}pn-site-footer a{color:#005D92}pn-site-footer a:hover{color:#0D234B;text-decoration:underline}pn-site-footer h3{font-size:2.4rem;margin-bottom:0.5rem;line-height:1.2}pn-site-footer p{font-size:1.6rem}pn-site-footer ul.social-media{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row}pn-site-footer ul.social-media li{margin-right:1.6rem}pn-site-footer>svg{display:block}pn-site-footer>div{background:#F3F2F2}.pn-sitefooter-top{display:-ms-flexbox;display:flex}.pn-sitefooter-cols{-ms-flex-item-align:center;align-self:center;-ms-flex-pack:center;justify-content:center;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;margin:0 auto;max-width:90em}.pn-sitefooter-bottom [slot=bottom]{max-width:90em;margin:0 auto;padding:1.6rem 0;display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;-ms-flex-pack:center;justify-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap;border-top:1px solid #D3CECB;border-bottom:1px solid #D3CECB}.pn-sitefooter-bottom [slot=bottom] span,.pn-sitefooter-bottom [slot=bottom] a{line-height:2;margin:0 1.6rem;text-decoration:none}.pn-sitefooter-bottom [slot=bottom] li{line-height:2em;margin:0 1.6rem}.pn-sitefooter-logo{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;padding:3rem}.pn-sitefooter-logo svg{display:block;width:13.3rem;height:2.6rem}";var PnSiteFooter=function(){function e(e){registerInstance(this,e);this.url="";this.linktitle="PostNord"}e.prototype.componentWillLoad=function(){};e.prototype.render=function(){return h(Host,null,h("svg",{fill:"none",viewBox:"0 0 1680 126",role:"presentation"},h("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 124.425C265.751 43.517 547.794 0 840 0c292.21 0 574.25 43.517 840 124.425V126H0v-1.575z",fill:"#F3F2F2"})),h("div",{class:"pn-sitefooter-top"},h("div",{class:"pn-sitefooter-cols"},h("slot",null))),h("div",{class:"pn-sitefooter-bottom"},h("slot",{name:"bottom"})),h("div",{class:"pn-sitefooter-logo"},this.url?h("a",{href:this.url,title:this.linktitle,"aria-label":this.linktitle},h("svg",{viewBox:"0 0 133 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M132.749 0.333618V20.9198H126.976V19.3809C126.976 19.3809 125.475 21.4316 122.191 21.4316C117.381 21.4316 114.662 17.7015 114.662 13.0327C114.662 8.47612 117.776 4.7187 122.617 4.7187C125.589 4.7187 126.976 6.19924 126.976 6.19924V1.47206L132.749 0.333618ZM54.2322 1.67091H60.0055V5.20216H65.3564L62.7235 10.0999H60.0055V20.9198H54.2322V1.67091ZM28.2484 21.4023C32.8051 21.4023 37.6446 18.8974 37.6446 12.9187C37.6446 7.16616 32.9746 4.69042 28.4461 4.69042C23.8042 4.69042 19.049 7.25192 19.049 13.175C19.049 18.9549 23.7199 21.4023 28.2484 21.4023ZM28.3327 9.78608C30.2294 9.78608 31.5032 11.1243 31.5032 13.0902C31.5032 14.9392 30.2575 16.3076 28.3327 16.3076C26.437 16.3076 25.1351 14.9392 25.1351 13.0902C25.1351 11.1243 26.4089 9.78608 28.3327 9.78608ZM47.0708 10.8963C46.8158 10.8574 46.5804 10.8239 46.3639 10.7931C44.9938 10.5979 44.3827 10.5108 44.3827 9.87279C44.3827 9.24608 45.146 8.9888 46.6465 8.9888C49.1941 8.9888 51.4298 9.84357 51.4298 9.84357L52.4488 5.43022C52.4488 5.43022 49.9865 4.71869 46.7027 4.71869C41.1841 4.71869 38.2965 6.85422 38.2965 10.2705C38.2965 12.9187 39.8532 14.485 44.4108 15.0825C46.3355 15.3388 47.0427 15.4519 47.0427 16.1644C47.0427 16.8486 46.2784 17.0757 44.9484 17.0757C42.0608 17.0757 39.3437 15.8515 39.3437 15.8515L38.1832 20.4081C38.1832 20.4081 40.9003 21.375 44.4389 21.375C50.3826 21.375 53.1279 19.2668 53.1279 15.8223C53.1279 13.0902 51.6555 11.6087 47.0708 10.8963ZM76.1968 4.69042C72.8287 4.69042 71.6111 6.74018 71.6111 6.74018V5.20216H65.8369V20.9198H71.6111V12.8612C71.6111 10.8689 72.3483 9.95666 74.1297 9.95666C75.913 9.95666 76.1687 11.4381 76.1687 13.3173V20.9198H81.9982V11.2666C81.9982 6.93903 79.9339 4.69042 76.1968 4.69042ZM123.948 9.8153C125.843 9.8153 127.144 11.1818 127.144 13.0327C127.144 14.9958 125.87 16.335 123.948 16.335C122.051 16.335 120.778 14.9958 120.778 13.0327C120.778 11.1818 122.024 9.8153 123.948 9.8153ZM112.456 10.213C110.53 10.213 109.088 10.9537 109.088 13.3456V20.9198H103.313V5.20216H109.088V7.02479C109.088 7.02479 109.965 4.97409 113.191 4.97409C114.181 4.97409 114.55 5.14467 114.55 5.14467L114.408 10.4976C114.408 10.4976 113.643 10.213 112.456 10.213ZM11.9728 13.0902C11.9728 11.1243 10.699 9.78608 8.80235 9.78608C6.87853 9.78608 5.6038 11.1243 5.6038 13.0902C5.6038 14.9392 6.9057 16.3076 8.80235 16.3076C10.728 16.3076 11.9728 14.9392 11.9728 13.0902ZM10.1333 21.4023C14.9728 21.4023 18.0871 17.6468 18.0871 13.0902C18.0871 8.41958 15.3699 4.69042 10.5576 4.69042C7.27472 4.69042 5.77426 6.74018 5.77426 6.74018V5.20216H0V25.4453H5.77426V19.9227C5.77426 19.9227 7.16139 21.4023 10.1333 21.4023ZM95.7984 13.0902C95.7984 11.1243 94.5246 9.78608 92.6279 9.78608C90.7032 9.78608 89.4284 11.1243 89.4284 13.0902C89.4284 14.9392 90.7322 16.3076 92.6279 16.3076C94.5536 16.3076 95.7984 14.9392 95.7984 13.0902ZM92.5427 21.4023C97.0994 21.4023 101.94 18.8974 101.94 12.9187C101.94 7.16616 97.2698 4.69042 92.7413 4.69042C88.0984 4.69042 83.3442 7.25192 83.3442 13.175C83.3442 18.9549 88.0142 21.4023 92.5427 21.4023Z",fill:"black"}))):h("svg",{viewBox:"0 0 133 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M132.749 0.333618V20.9198H126.976V19.3809C126.976 19.3809 125.475 21.4316 122.191 21.4316C117.381 21.4316 114.662 17.7015 114.662 13.0327C114.662 8.47612 117.776 4.7187 122.617 4.7187C125.589 4.7187 126.976 6.19924 126.976 6.19924V1.47206L132.749 0.333618ZM54.2322 1.67091H60.0055V5.20216H65.3564L62.7235 10.0999H60.0055V20.9198H54.2322V1.67091ZM28.2484 21.4023C32.8051 21.4023 37.6446 18.8974 37.6446 12.9187C37.6446 7.16616 32.9746 4.69042 28.4461 4.69042C23.8042 4.69042 19.049 7.25192 19.049 13.175C19.049 18.9549 23.7199 21.4023 28.2484 21.4023ZM28.3327 9.78608C30.2294 9.78608 31.5032 11.1243 31.5032 13.0902C31.5032 14.9392 30.2575 16.3076 28.3327 16.3076C26.437 16.3076 25.1351 14.9392 25.1351 13.0902C25.1351 11.1243 26.4089 9.78608 28.3327 9.78608ZM47.0708 10.8963C46.8158 10.8574 46.5804 10.8239 46.3639 10.7931C44.9938 10.5979 44.3827 10.5108 44.3827 9.87279C44.3827 9.24608 45.146 8.9888 46.6465 8.9888C49.1941 8.9888 51.4298 9.84357 51.4298 9.84357L52.4488 5.43022C52.4488 5.43022 49.9865 4.71869 46.7027 4.71869C41.1841 4.71869 38.2965 6.85422 38.2965 10.2705C38.2965 12.9187 39.8532 14.485 44.4108 15.0825C46.3355 15.3388 47.0427 15.4519 47.0427 16.1644C47.0427 16.8486 46.2784 17.0757 44.9484 17.0757C42.0608 17.0757 39.3437 15.8515 39.3437 15.8515L38.1832 20.4081C38.1832 20.4081 40.9003 21.375 44.4389 21.375C50.3826 21.375 53.1279 19.2668 53.1279 15.8223C53.1279 13.0902 51.6555 11.6087 47.0708 10.8963ZM76.1968 4.69042C72.8287 4.69042 71.6111 6.74018 71.6111 6.74018V5.20216H65.8369V20.9198H71.6111V12.8612C71.6111 10.8689 72.3483 9.95666 74.1297 9.95666C75.913 9.95666 76.1687 11.4381 76.1687 13.3173V20.9198H81.9982V11.2666C81.9982 6.93903 79.9339 4.69042 76.1968 4.69042ZM123.948 9.8153C125.843 9.8153 127.144 11.1818 127.144 13.0327C127.144 14.9958 125.87 16.335 123.948 16.335C122.051 16.335 120.778 14.9958 120.778 13.0327C120.778 11.1818 122.024 9.8153 123.948 9.8153ZM112.456 10.213C110.53 10.213 109.088 10.9537 109.088 13.3456V20.9198H103.313V5.20216H109.088V7.02479C109.088 7.02479 109.965 4.97409 113.191 4.97409C114.181 4.97409 114.55 5.14467 114.55 5.14467L114.408 10.4976C114.408 10.4976 113.643 10.213 112.456 10.213ZM11.9728 13.0902C11.9728 11.1243 10.699 9.78608 8.80235 9.78608C6.87853 9.78608 5.6038 11.1243 5.6038 13.0902C5.6038 14.9392 6.9057 16.3076 8.80235 16.3076C10.728 16.3076 11.9728 14.9392 11.9728 13.0902ZM10.1333 21.4023C14.9728 21.4023 18.0871 17.6468 18.0871 13.0902C18.0871 8.41958 15.3699 4.69042 10.5576 4.69042C7.27472 4.69042 5.77426 6.74018 5.77426 6.74018V5.20216H0V25.4453H5.77426V19.9227C5.77426 19.9227 7.16139 21.4023 10.1333 21.4023ZM95.7984 13.0902C95.7984 11.1243 94.5246 9.78608 92.6279 9.78608C90.7032 9.78608 89.4284 11.1243 89.4284 13.0902C89.4284 14.9392 90.7322 16.3076 92.6279 16.3076C94.5536 16.3076 95.7984 14.9392 95.7984 13.0902ZM92.5427 21.4023C97.0994 21.4023 101.94 18.8974 101.94 12.9187C101.94 7.16616 97.2698 4.69042 92.7413 4.69042C88.0984 4.69042 83.3442 7.25192 83.3442 13.175C83.3442 18.9549 88.0142 21.4023 92.5427 21.4023Z",fill:"black"}))))};return e}();PnSiteFooter.style=pnSiteFooterCss;var pnSiteFooterColCss="pn-site-footer-col{min-width:15em;padding:2.5em 1.5rem 0}@media screen and (min-width: 48em){pn-site-footer-col{max-width:25%}}pn-site-footer-col ul{list-style-type:none;padding:0;margin:0}pn-site-footer-col li{margin-bottom:1.6rem}pn-site-footer-col a{text-decoration:none;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}pn-site-footer-col p{margin-top:0;margin-bottom:1rem}";var PnSiteFooterCol=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,null,h("slot",null))};return e}();PnSiteFooterCol.style=pnSiteFooterColCss;export{PnSiteFooter as pn_site_footer,PnSiteFooterCol as pn_site_footer_col};
1
+ import{r as registerInstance,h,a as Host}from"./index-5397620b.js";var pnSiteFooterCss="pn-site-footer{display:block;line-height:1.5}pn-site-footer a{color:#005D92}pn-site-footer a:hover{color:#0D234B;text-decoration:underline}pn-site-footer h3{font-size:2.4rem;margin-bottom:0.5rem;line-height:1.2}pn-site-footer p{font-size:1.6rem}pn-site-footer ul.social-media{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row}pn-site-footer ul.social-media li{margin-right:1.6rem}pn-site-footer>svg{display:block}pn-site-footer>div{background:#F3F2F2}.pn-sitefooter-top{display:-ms-flexbox;display:flex}.pn-sitefooter-cols{-ms-flex-item-align:center;align-self:center;-ms-flex-pack:center;justify-content:center;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;margin:0 auto;max-width:90em}.pn-sitefooter-bottom [slot=bottom]{max-width:90em;margin:0 auto;padding:1.6rem 0;display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;-ms-flex-pack:center;justify-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap;border-top:1px solid #D3CECB;border-bottom:1px solid #D3CECB}.pn-sitefooter-bottom [slot=bottom] span,.pn-sitefooter-bottom [slot=bottom] a{line-height:2;margin:0 1.6rem;text-decoration:none}.pn-sitefooter-bottom [slot=bottom] li{line-height:2em;margin:0 1.6rem}.pn-sitefooter-logo{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;padding:3rem}.pn-sitefooter-logo svg{display:block;width:13.3rem;height:2.6rem}";var PnSiteFooter=function(){function e(e){registerInstance(this,e);this.url="";this.linktitle="PostNord"}e.prototype.componentWillLoad=function(){};e.prototype.render=function(){return h(Host,null,h("svg",{fill:"none",viewBox:"0 0 1680 126",role:"presentation"},h("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 124.425C265.751 43.517 547.794 0 840 0c292.21 0 574.25 43.517 840 124.425V126H0v-1.575z",fill:"#F3F2F2"})),h("div",{class:"pn-sitefooter-top"},h("div",{class:"pn-sitefooter-cols"},h("slot",null))),h("div",{class:"pn-sitefooter-bottom"},h("slot",{name:"bottom"})),h("div",{class:"pn-sitefooter-logo"},this.url?h("a",{href:this.url,title:this.linktitle,"aria-label":this.linktitle},h("svg",{viewBox:"0 0 133 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M132.749 0.333618V20.9198H126.976V19.3809C126.976 19.3809 125.475 21.4316 122.191 21.4316C117.381 21.4316 114.662 17.7015 114.662 13.0327C114.662 8.47612 117.776 4.7187 122.617 4.7187C125.589 4.7187 126.976 6.19924 126.976 6.19924V1.47206L132.749 0.333618ZM54.2322 1.67091H60.0055V5.20216H65.3564L62.7235 10.0999H60.0055V20.9198H54.2322V1.67091ZM28.2484 21.4023C32.8051 21.4023 37.6446 18.8974 37.6446 12.9187C37.6446 7.16616 32.9746 4.69042 28.4461 4.69042C23.8042 4.69042 19.049 7.25192 19.049 13.175C19.049 18.9549 23.7199 21.4023 28.2484 21.4023ZM28.3327 9.78608C30.2294 9.78608 31.5032 11.1243 31.5032 13.0902C31.5032 14.9392 30.2575 16.3076 28.3327 16.3076C26.437 16.3076 25.1351 14.9392 25.1351 13.0902C25.1351 11.1243 26.4089 9.78608 28.3327 9.78608ZM47.0708 10.8963C46.8158 10.8574 46.5804 10.8239 46.3639 10.7931C44.9938 10.5979 44.3827 10.5108 44.3827 9.87279C44.3827 9.24608 45.146 8.9888 46.6465 8.9888C49.1941 8.9888 51.4298 9.84357 51.4298 9.84357L52.4488 5.43022C52.4488 5.43022 49.9865 4.71869 46.7027 4.71869C41.1841 4.71869 38.2965 6.85422 38.2965 10.2705C38.2965 12.9187 39.8532 14.485 44.4108 15.0825C46.3355 15.3388 47.0427 15.4519 47.0427 16.1644C47.0427 16.8486 46.2784 17.0757 44.9484 17.0757C42.0608 17.0757 39.3437 15.8515 39.3437 15.8515L38.1832 20.4081C38.1832 20.4081 40.9003 21.375 44.4389 21.375C50.3826 21.375 53.1279 19.2668 53.1279 15.8223C53.1279 13.0902 51.6555 11.6087 47.0708 10.8963ZM76.1968 4.69042C72.8287 4.69042 71.6111 6.74018 71.6111 6.74018V5.20216H65.8369V20.9198H71.6111V12.8612C71.6111 10.8689 72.3483 9.95666 74.1297 9.95666C75.913 9.95666 76.1687 11.4381 76.1687 13.3173V20.9198H81.9982V11.2666C81.9982 6.93903 79.9339 4.69042 76.1968 4.69042ZM123.948 9.8153C125.843 9.8153 127.144 11.1818 127.144 13.0327C127.144 14.9958 125.87 16.335 123.948 16.335C122.051 16.335 120.778 14.9958 120.778 13.0327C120.778 11.1818 122.024 9.8153 123.948 9.8153ZM112.456 10.213C110.53 10.213 109.088 10.9537 109.088 13.3456V20.9198H103.313V5.20216H109.088V7.02479C109.088 7.02479 109.965 4.97409 113.191 4.97409C114.181 4.97409 114.55 5.14467 114.55 5.14467L114.408 10.4976C114.408 10.4976 113.643 10.213 112.456 10.213ZM11.9728 13.0902C11.9728 11.1243 10.699 9.78608 8.80235 9.78608C6.87853 9.78608 5.6038 11.1243 5.6038 13.0902C5.6038 14.9392 6.9057 16.3076 8.80235 16.3076C10.728 16.3076 11.9728 14.9392 11.9728 13.0902ZM10.1333 21.4023C14.9728 21.4023 18.0871 17.6468 18.0871 13.0902C18.0871 8.41958 15.3699 4.69042 10.5576 4.69042C7.27472 4.69042 5.77426 6.74018 5.77426 6.74018V5.20216H0V25.4453H5.77426V19.9227C5.77426 19.9227 7.16139 21.4023 10.1333 21.4023ZM95.7984 13.0902C95.7984 11.1243 94.5246 9.78608 92.6279 9.78608C90.7032 9.78608 89.4284 11.1243 89.4284 13.0902C89.4284 14.9392 90.7322 16.3076 92.6279 16.3076C94.5536 16.3076 95.7984 14.9392 95.7984 13.0902ZM92.5427 21.4023C97.0994 21.4023 101.94 18.8974 101.94 12.9187C101.94 7.16616 97.2698 4.69042 92.7413 4.69042C88.0984 4.69042 83.3442 7.25192 83.3442 13.175C83.3442 18.9549 88.0142 21.4023 92.5427 21.4023Z",fill:"black"}))):h("svg",{viewBox:"0 0 133 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M132.749 0.333618V20.9198H126.976V19.3809C126.976 19.3809 125.475 21.4316 122.191 21.4316C117.381 21.4316 114.662 17.7015 114.662 13.0327C114.662 8.47612 117.776 4.7187 122.617 4.7187C125.589 4.7187 126.976 6.19924 126.976 6.19924V1.47206L132.749 0.333618ZM54.2322 1.67091H60.0055V5.20216H65.3564L62.7235 10.0999H60.0055V20.9198H54.2322V1.67091ZM28.2484 21.4023C32.8051 21.4023 37.6446 18.8974 37.6446 12.9187C37.6446 7.16616 32.9746 4.69042 28.4461 4.69042C23.8042 4.69042 19.049 7.25192 19.049 13.175C19.049 18.9549 23.7199 21.4023 28.2484 21.4023ZM28.3327 9.78608C30.2294 9.78608 31.5032 11.1243 31.5032 13.0902C31.5032 14.9392 30.2575 16.3076 28.3327 16.3076C26.437 16.3076 25.1351 14.9392 25.1351 13.0902C25.1351 11.1243 26.4089 9.78608 28.3327 9.78608ZM47.0708 10.8963C46.8158 10.8574 46.5804 10.8239 46.3639 10.7931C44.9938 10.5979 44.3827 10.5108 44.3827 9.87279C44.3827 9.24608 45.146 8.9888 46.6465 8.9888C49.1941 8.9888 51.4298 9.84357 51.4298 9.84357L52.4488 5.43022C52.4488 5.43022 49.9865 4.71869 46.7027 4.71869C41.1841 4.71869 38.2965 6.85422 38.2965 10.2705C38.2965 12.9187 39.8532 14.485 44.4108 15.0825C46.3355 15.3388 47.0427 15.4519 47.0427 16.1644C47.0427 16.8486 46.2784 17.0757 44.9484 17.0757C42.0608 17.0757 39.3437 15.8515 39.3437 15.8515L38.1832 20.4081C38.1832 20.4081 40.9003 21.375 44.4389 21.375C50.3826 21.375 53.1279 19.2668 53.1279 15.8223C53.1279 13.0902 51.6555 11.6087 47.0708 10.8963ZM76.1968 4.69042C72.8287 4.69042 71.6111 6.74018 71.6111 6.74018V5.20216H65.8369V20.9198H71.6111V12.8612C71.6111 10.8689 72.3483 9.95666 74.1297 9.95666C75.913 9.95666 76.1687 11.4381 76.1687 13.3173V20.9198H81.9982V11.2666C81.9982 6.93903 79.9339 4.69042 76.1968 4.69042ZM123.948 9.8153C125.843 9.8153 127.144 11.1818 127.144 13.0327C127.144 14.9958 125.87 16.335 123.948 16.335C122.051 16.335 120.778 14.9958 120.778 13.0327C120.778 11.1818 122.024 9.8153 123.948 9.8153ZM112.456 10.213C110.53 10.213 109.088 10.9537 109.088 13.3456V20.9198H103.313V5.20216H109.088V7.02479C109.088 7.02479 109.965 4.97409 113.191 4.97409C114.181 4.97409 114.55 5.14467 114.55 5.14467L114.408 10.4976C114.408 10.4976 113.643 10.213 112.456 10.213ZM11.9728 13.0902C11.9728 11.1243 10.699 9.78608 8.80235 9.78608C6.87853 9.78608 5.6038 11.1243 5.6038 13.0902C5.6038 14.9392 6.9057 16.3076 8.80235 16.3076C10.728 16.3076 11.9728 14.9392 11.9728 13.0902ZM10.1333 21.4023C14.9728 21.4023 18.0871 17.6468 18.0871 13.0902C18.0871 8.41958 15.3699 4.69042 10.5576 4.69042C7.27472 4.69042 5.77426 6.74018 5.77426 6.74018V5.20216H0V25.4453H5.77426V19.9227C5.77426 19.9227 7.16139 21.4023 10.1333 21.4023ZM95.7984 13.0902C95.7984 11.1243 94.5246 9.78608 92.6279 9.78608C90.7032 9.78608 89.4284 11.1243 89.4284 13.0902C89.4284 14.9392 90.7322 16.3076 92.6279 16.3076C94.5536 16.3076 95.7984 14.9392 95.7984 13.0902ZM92.5427 21.4023C97.0994 21.4023 101.94 18.8974 101.94 12.9187C101.94 7.16616 97.2698 4.69042 92.7413 4.69042C88.0984 4.69042 83.3442 7.25192 83.3442 13.175C83.3442 18.9549 88.0142 21.4023 92.5427 21.4023Z",fill:"black"}))))};return e}();PnSiteFooter.style=pnSiteFooterCss;var pnSiteFooterColCss="pn-site-footer-col{min-width:15em;padding:2.5em 1.5rem 0}@media screen and (min-width: 48em){pn-site-footer-col{max-width:25%}}pn-site-footer-col ul{list-style-type:none;padding:0;margin:0}pn-site-footer-col li{margin-bottom:1.6rem}pn-site-footer-col a{text-decoration:none;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}pn-site-footer-col p{margin-top:0;margin-bottom:1rem}";var PnSiteFooterCol=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,null,h("slot",null))};return e}();PnSiteFooterCol.style=pnSiteFooterColCss;export{PnSiteFooter as pn_site_footer,PnSiteFooterCol as pn_site_footer_col};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postnord/pn-marketweb-components",
3
- "version": "1.0.49-beta4",
3
+ "version": "2.0.1",
4
4
  "description": "PostNord Market Websites Components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -1 +1 @@
1
- System.register(["./p-ff678bef.system.js"],(function(e){"use strict";var t,o,i;return{setters:[function(e){t=e.r;o=e.h;i=e.a}],execute:function(){var l="pn-site-footer{display:block;line-height:1.5}pn-site-footer a{color:#005D92}pn-site-footer a:hover{color:#0D234B;text-decoration:underline}pn-site-footer h3{font-size:2.4rem;margin-bottom:0.5rem;line-height:1.2}pn-site-footer p{font-size:1.6rem}pn-site-footer ul.social-media{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row}pn-site-footer ul.social-media li{margin-right:1.6rem}pn-site-footer>svg{display:block}pn-site-footer>div{background:#F3F2F2}.pn-sitefooter-top{display:-ms-flexbox;display:flex}.pn-sitefooter-cols{-ms-flex-item-align:center;align-self:center;-ms-flex-pack:center;justify-content:center;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;margin:0 auto;max-width:90em}.pn-sitefooter-bottom [slot=bottom]{max-width:90em;margin:0 auto;padding:1.6rem 0;display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;-ms-flex-pack:center;justify-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap;border-top:1px solid #D3CECB;border-bottom:1px solid #D3CECB}.pn-sitefooter-bottom [slot=bottom] span,.pn-sitefooter-bottom [slot=bottom] a{line-height:2;margin:0 1.6rem;text-decoration:none}.pn-sitefooter-bottom [slot=bottom] li{line-height:2em;margin:0 1.6rem}.pn-sitefooter-logo{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;padding:3rem}.pn-sitefooter-logo svg{display:block;width:13.3rem;height:2.6rem}";var n=e("pn_site_footer",function(){function e(e){t(this,e);this.url="";this.linktitle="PostNord"}e.prototype.componentWillLoad=function(){};e.prototype.render=function(){return o(i,null,o("svg",{fill:"none",viewBox:"0 0 1680 126",role:"presentation"},o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 124.425C265.751 43.517 547.794 0 840 0c292.21 0 574.25 43.517 840 124.425V126H0v-1.575z",fill:"#F3F2F2"})),o("div",{class:"pn-sitefooter-top"},o("div",{class:"pn-sitefooter-cols"},o("slot",null))),o("div",{class:"pn-sitefooter-bottom"},o("slot",{name:"bottom"})),o("div",{class:"pn-sitefooter-logo"},this.url?o("a",{href:this.url,title:this.linktitle,"aria-label":this.linktitle},o("svg",{viewBox:"0 0 133 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M132.749 0.333618V20.9198H126.976V19.3809C126.976 19.3809 125.475 21.4316 122.191 21.4316C117.381 21.4316 114.662 17.7015 114.662 13.0327C114.662 8.47612 117.776 4.7187 122.617 4.7187C125.589 4.7187 126.976 6.19924 126.976 6.19924V1.47206L132.749 0.333618ZM54.2322 1.67091H60.0055V5.20216H65.3564L62.7235 10.0999H60.0055V20.9198H54.2322V1.67091ZM28.2484 21.4023C32.8051 21.4023 37.6446 18.8974 37.6446 12.9187C37.6446 7.16616 32.9746 4.69042 28.4461 4.69042C23.8042 4.69042 19.049 7.25192 19.049 13.175C19.049 18.9549 23.7199 21.4023 28.2484 21.4023ZM28.3327 9.78608C30.2294 9.78608 31.5032 11.1243 31.5032 13.0902C31.5032 14.9392 30.2575 16.3076 28.3327 16.3076C26.437 16.3076 25.1351 14.9392 25.1351 13.0902C25.1351 11.1243 26.4089 9.78608 28.3327 9.78608ZM47.0708 10.8963C46.8158 10.8574 46.5804 10.8239 46.3639 10.7931C44.9938 10.5979 44.3827 10.5108 44.3827 9.87279C44.3827 9.24608 45.146 8.9888 46.6465 8.9888C49.1941 8.9888 51.4298 9.84357 51.4298 9.84357L52.4488 5.43022C52.4488 5.43022 49.9865 4.71869 46.7027 4.71869C41.1841 4.71869 38.2965 6.85422 38.2965 10.2705C38.2965 12.9187 39.8532 14.485 44.4108 15.0825C46.3355 15.3388 47.0427 15.4519 47.0427 16.1644C47.0427 16.8486 46.2784 17.0757 44.9484 17.0757C42.0608 17.0757 39.3437 15.8515 39.3437 15.8515L38.1832 20.4081C38.1832 20.4081 40.9003 21.375 44.4389 21.375C50.3826 21.375 53.1279 19.2668 53.1279 15.8223C53.1279 13.0902 51.6555 11.6087 47.0708 10.8963ZM76.1968 4.69042C72.8287 4.69042 71.6111 6.74018 71.6111 6.74018V5.20216H65.8369V20.9198H71.6111V12.8612C71.6111 10.8689 72.3483 9.95666 74.1297 9.95666C75.913 9.95666 76.1687 11.4381 76.1687 13.3173V20.9198H81.9982V11.2666C81.9982 6.93903 79.9339 4.69042 76.1968 4.69042ZM123.948 9.8153C125.843 9.8153 127.144 11.1818 127.144 13.0327C127.144 14.9958 125.87 16.335 123.948 16.335C122.051 16.335 120.778 14.9958 120.778 13.0327C120.778 11.1818 122.024 9.8153 123.948 9.8153ZM112.456 10.213C110.53 10.213 109.088 10.9537 109.088 13.3456V20.9198H103.313V5.20216H109.088V7.02479C109.088 7.02479 109.965 4.97409 113.191 4.97409C114.181 4.97409 114.55 5.14467 114.55 5.14467L114.408 10.4976C114.408 10.4976 113.643 10.213 112.456 10.213ZM11.9728 13.0902C11.9728 11.1243 10.699 9.78608 8.80235 9.78608C6.87853 9.78608 5.6038 11.1243 5.6038 13.0902C5.6038 14.9392 6.9057 16.3076 8.80235 16.3076C10.728 16.3076 11.9728 14.9392 11.9728 13.0902ZM10.1333 21.4023C14.9728 21.4023 18.0871 17.6468 18.0871 13.0902C18.0871 8.41958 15.3699 4.69042 10.5576 4.69042C7.27472 4.69042 5.77426 6.74018 5.77426 6.74018V5.20216H0V25.4453H5.77426V19.9227C5.77426 19.9227 7.16139 21.4023 10.1333 21.4023ZM95.7984 13.0902C95.7984 11.1243 94.5246 9.78608 92.6279 9.78608C90.7032 9.78608 89.4284 11.1243 89.4284 13.0902C89.4284 14.9392 90.7322 16.3076 92.6279 16.3076C94.5536 16.3076 95.7984 14.9392 95.7984 13.0902ZM92.5427 21.4023C97.0994 21.4023 101.94 18.8974 101.94 12.9187C101.94 7.16616 97.2698 4.69042 92.7413 4.69042C88.0984 4.69042 83.3442 7.25192 83.3442 13.175C83.3442 18.9549 88.0142 21.4023 92.5427 21.4023Z",fill:"black"}))):o("svg",{viewBox:"0 0 133 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M132.749 0.333618V20.9198H126.976V19.3809C126.976 19.3809 125.475 21.4316 122.191 21.4316C117.381 21.4316 114.662 17.7015 114.662 13.0327C114.662 8.47612 117.776 4.7187 122.617 4.7187C125.589 4.7187 126.976 6.19924 126.976 6.19924V1.47206L132.749 0.333618ZM54.2322 1.67091H60.0055V5.20216H65.3564L62.7235 10.0999H60.0055V20.9198H54.2322V1.67091ZM28.2484 21.4023C32.8051 21.4023 37.6446 18.8974 37.6446 12.9187C37.6446 7.16616 32.9746 4.69042 28.4461 4.69042C23.8042 4.69042 19.049 7.25192 19.049 13.175C19.049 18.9549 23.7199 21.4023 28.2484 21.4023ZM28.3327 9.78608C30.2294 9.78608 31.5032 11.1243 31.5032 13.0902C31.5032 14.9392 30.2575 16.3076 28.3327 16.3076C26.437 16.3076 25.1351 14.9392 25.1351 13.0902C25.1351 11.1243 26.4089 9.78608 28.3327 9.78608ZM47.0708 10.8963C46.8158 10.8574 46.5804 10.8239 46.3639 10.7931C44.9938 10.5979 44.3827 10.5108 44.3827 9.87279C44.3827 9.24608 45.146 8.9888 46.6465 8.9888C49.1941 8.9888 51.4298 9.84357 51.4298 9.84357L52.4488 5.43022C52.4488 5.43022 49.9865 4.71869 46.7027 4.71869C41.1841 4.71869 38.2965 6.85422 38.2965 10.2705C38.2965 12.9187 39.8532 14.485 44.4108 15.0825C46.3355 15.3388 47.0427 15.4519 47.0427 16.1644C47.0427 16.8486 46.2784 17.0757 44.9484 17.0757C42.0608 17.0757 39.3437 15.8515 39.3437 15.8515L38.1832 20.4081C38.1832 20.4081 40.9003 21.375 44.4389 21.375C50.3826 21.375 53.1279 19.2668 53.1279 15.8223C53.1279 13.0902 51.6555 11.6087 47.0708 10.8963ZM76.1968 4.69042C72.8287 4.69042 71.6111 6.74018 71.6111 6.74018V5.20216H65.8369V20.9198H71.6111V12.8612C71.6111 10.8689 72.3483 9.95666 74.1297 9.95666C75.913 9.95666 76.1687 11.4381 76.1687 13.3173V20.9198H81.9982V11.2666C81.9982 6.93903 79.9339 4.69042 76.1968 4.69042ZM123.948 9.8153C125.843 9.8153 127.144 11.1818 127.144 13.0327C127.144 14.9958 125.87 16.335 123.948 16.335C122.051 16.335 120.778 14.9958 120.778 13.0327C120.778 11.1818 122.024 9.8153 123.948 9.8153ZM112.456 10.213C110.53 10.213 109.088 10.9537 109.088 13.3456V20.9198H103.313V5.20216H109.088V7.02479C109.088 7.02479 109.965 4.97409 113.191 4.97409C114.181 4.97409 114.55 5.14467 114.55 5.14467L114.408 10.4976C114.408 10.4976 113.643 10.213 112.456 10.213ZM11.9728 13.0902C11.9728 11.1243 10.699 9.78608 8.80235 9.78608C6.87853 9.78608 5.6038 11.1243 5.6038 13.0902C5.6038 14.9392 6.9057 16.3076 8.80235 16.3076C10.728 16.3076 11.9728 14.9392 11.9728 13.0902ZM10.1333 21.4023C14.9728 21.4023 18.0871 17.6468 18.0871 13.0902C18.0871 8.41958 15.3699 4.69042 10.5576 4.69042C7.27472 4.69042 5.77426 6.74018 5.77426 6.74018V5.20216H0V25.4453H5.77426V19.9227C5.77426 19.9227 7.16139 21.4023 10.1333 21.4023ZM95.7984 13.0902C95.7984 11.1243 94.5246 9.78608 92.6279 9.78608C90.7032 9.78608 89.4284 11.1243 89.4284 13.0902C89.4284 14.9392 90.7322 16.3076 92.6279 16.3076C94.5536 16.3076 95.7984 14.9392 95.7984 13.0902ZM92.5427 21.4023C97.0994 21.4023 101.94 18.8974 101.94 12.9187C101.94 7.16616 97.2698 4.69042 92.7413 4.69042C88.0984 4.69042 83.3442 7.25192 83.3442 13.175C83.3442 18.9549 88.0142 21.4023 92.5427 21.4023Z",fill:"black"}))))};return e}());n.style=l;var r="pn-site-footer-col{min-width:15em;padding:2.5em 1.5rem 0}@media screen and (min-width: 48em){pn-site-footer-col{max-width:25%}}pn-site-footer-col ul{list-style-type:none;padding:0;margin:0}pn-site-footer-col li{margin-bottom:1.6rem}pn-site-footer-col a{text-decoration:none;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}pn-site-footer-col p{margin-top:0;margin-bottom:1rem}";var s=e("pn_site_footer_col",function(){function e(e){t(this,e)}e.prototype.render=function(){return o(i,null,o("slot",null))};return e}());s.style=r}}}));
1
+ System.register(["./p-36654f2a.system.js"],(function(e){"use strict";var t,o,i;return{setters:[function(e){t=e.r;o=e.h;i=e.a}],execute:function(){var l="pn-site-footer{display:block;line-height:1.5}pn-site-footer a{color:#005D92}pn-site-footer a:hover{color:#0D234B;text-decoration:underline}pn-site-footer h3{font-size:2.4rem;margin-bottom:0.5rem;line-height:1.2}pn-site-footer p{font-size:1.6rem}pn-site-footer ul.social-media{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row}pn-site-footer ul.social-media li{margin-right:1.6rem}pn-site-footer>svg{display:block}pn-site-footer>div{background:#F3F2F2}.pn-sitefooter-top{display:-ms-flexbox;display:flex}.pn-sitefooter-cols{-ms-flex-item-align:center;align-self:center;-ms-flex-pack:center;justify-content:center;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;margin:0 auto;max-width:90em}.pn-sitefooter-bottom [slot=bottom]{max-width:90em;margin:0 auto;padding:1.6rem 0;display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;-ms-flex-pack:center;justify-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap;border-top:1px solid #D3CECB;border-bottom:1px solid #D3CECB}.pn-sitefooter-bottom [slot=bottom] span,.pn-sitefooter-bottom [slot=bottom] a{line-height:2;margin:0 1.6rem;text-decoration:none}.pn-sitefooter-bottom [slot=bottom] li{line-height:2em;margin:0 1.6rem}.pn-sitefooter-logo{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;padding:3rem}.pn-sitefooter-logo svg{display:block;width:13.3rem;height:2.6rem}";var n=e("pn_site_footer",function(){function e(e){t(this,e);this.url="";this.linktitle="PostNord"}e.prototype.componentWillLoad=function(){};e.prototype.render=function(){return o(i,null,o("svg",{fill:"none",viewBox:"0 0 1680 126",role:"presentation"},o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 124.425C265.751 43.517 547.794 0 840 0c292.21 0 574.25 43.517 840 124.425V126H0v-1.575z",fill:"#F3F2F2"})),o("div",{class:"pn-sitefooter-top"},o("div",{class:"pn-sitefooter-cols"},o("slot",null))),o("div",{class:"pn-sitefooter-bottom"},o("slot",{name:"bottom"})),o("div",{class:"pn-sitefooter-logo"},this.url?o("a",{href:this.url,title:this.linktitle,"aria-label":this.linktitle},o("svg",{viewBox:"0 0 133 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M132.749 0.333618V20.9198H126.976V19.3809C126.976 19.3809 125.475 21.4316 122.191 21.4316C117.381 21.4316 114.662 17.7015 114.662 13.0327C114.662 8.47612 117.776 4.7187 122.617 4.7187C125.589 4.7187 126.976 6.19924 126.976 6.19924V1.47206L132.749 0.333618ZM54.2322 1.67091H60.0055V5.20216H65.3564L62.7235 10.0999H60.0055V20.9198H54.2322V1.67091ZM28.2484 21.4023C32.8051 21.4023 37.6446 18.8974 37.6446 12.9187C37.6446 7.16616 32.9746 4.69042 28.4461 4.69042C23.8042 4.69042 19.049 7.25192 19.049 13.175C19.049 18.9549 23.7199 21.4023 28.2484 21.4023ZM28.3327 9.78608C30.2294 9.78608 31.5032 11.1243 31.5032 13.0902C31.5032 14.9392 30.2575 16.3076 28.3327 16.3076C26.437 16.3076 25.1351 14.9392 25.1351 13.0902C25.1351 11.1243 26.4089 9.78608 28.3327 9.78608ZM47.0708 10.8963C46.8158 10.8574 46.5804 10.8239 46.3639 10.7931C44.9938 10.5979 44.3827 10.5108 44.3827 9.87279C44.3827 9.24608 45.146 8.9888 46.6465 8.9888C49.1941 8.9888 51.4298 9.84357 51.4298 9.84357L52.4488 5.43022C52.4488 5.43022 49.9865 4.71869 46.7027 4.71869C41.1841 4.71869 38.2965 6.85422 38.2965 10.2705C38.2965 12.9187 39.8532 14.485 44.4108 15.0825C46.3355 15.3388 47.0427 15.4519 47.0427 16.1644C47.0427 16.8486 46.2784 17.0757 44.9484 17.0757C42.0608 17.0757 39.3437 15.8515 39.3437 15.8515L38.1832 20.4081C38.1832 20.4081 40.9003 21.375 44.4389 21.375C50.3826 21.375 53.1279 19.2668 53.1279 15.8223C53.1279 13.0902 51.6555 11.6087 47.0708 10.8963ZM76.1968 4.69042C72.8287 4.69042 71.6111 6.74018 71.6111 6.74018V5.20216H65.8369V20.9198H71.6111V12.8612C71.6111 10.8689 72.3483 9.95666 74.1297 9.95666C75.913 9.95666 76.1687 11.4381 76.1687 13.3173V20.9198H81.9982V11.2666C81.9982 6.93903 79.9339 4.69042 76.1968 4.69042ZM123.948 9.8153C125.843 9.8153 127.144 11.1818 127.144 13.0327C127.144 14.9958 125.87 16.335 123.948 16.335C122.051 16.335 120.778 14.9958 120.778 13.0327C120.778 11.1818 122.024 9.8153 123.948 9.8153ZM112.456 10.213C110.53 10.213 109.088 10.9537 109.088 13.3456V20.9198H103.313V5.20216H109.088V7.02479C109.088 7.02479 109.965 4.97409 113.191 4.97409C114.181 4.97409 114.55 5.14467 114.55 5.14467L114.408 10.4976C114.408 10.4976 113.643 10.213 112.456 10.213ZM11.9728 13.0902C11.9728 11.1243 10.699 9.78608 8.80235 9.78608C6.87853 9.78608 5.6038 11.1243 5.6038 13.0902C5.6038 14.9392 6.9057 16.3076 8.80235 16.3076C10.728 16.3076 11.9728 14.9392 11.9728 13.0902ZM10.1333 21.4023C14.9728 21.4023 18.0871 17.6468 18.0871 13.0902C18.0871 8.41958 15.3699 4.69042 10.5576 4.69042C7.27472 4.69042 5.77426 6.74018 5.77426 6.74018V5.20216H0V25.4453H5.77426V19.9227C5.77426 19.9227 7.16139 21.4023 10.1333 21.4023ZM95.7984 13.0902C95.7984 11.1243 94.5246 9.78608 92.6279 9.78608C90.7032 9.78608 89.4284 11.1243 89.4284 13.0902C89.4284 14.9392 90.7322 16.3076 92.6279 16.3076C94.5536 16.3076 95.7984 14.9392 95.7984 13.0902ZM92.5427 21.4023C97.0994 21.4023 101.94 18.8974 101.94 12.9187C101.94 7.16616 97.2698 4.69042 92.7413 4.69042C88.0984 4.69042 83.3442 7.25192 83.3442 13.175C83.3442 18.9549 88.0142 21.4023 92.5427 21.4023Z",fill:"black"}))):o("svg",{viewBox:"0 0 133 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M132.749 0.333618V20.9198H126.976V19.3809C126.976 19.3809 125.475 21.4316 122.191 21.4316C117.381 21.4316 114.662 17.7015 114.662 13.0327C114.662 8.47612 117.776 4.7187 122.617 4.7187C125.589 4.7187 126.976 6.19924 126.976 6.19924V1.47206L132.749 0.333618ZM54.2322 1.67091H60.0055V5.20216H65.3564L62.7235 10.0999H60.0055V20.9198H54.2322V1.67091ZM28.2484 21.4023C32.8051 21.4023 37.6446 18.8974 37.6446 12.9187C37.6446 7.16616 32.9746 4.69042 28.4461 4.69042C23.8042 4.69042 19.049 7.25192 19.049 13.175C19.049 18.9549 23.7199 21.4023 28.2484 21.4023ZM28.3327 9.78608C30.2294 9.78608 31.5032 11.1243 31.5032 13.0902C31.5032 14.9392 30.2575 16.3076 28.3327 16.3076C26.437 16.3076 25.1351 14.9392 25.1351 13.0902C25.1351 11.1243 26.4089 9.78608 28.3327 9.78608ZM47.0708 10.8963C46.8158 10.8574 46.5804 10.8239 46.3639 10.7931C44.9938 10.5979 44.3827 10.5108 44.3827 9.87279C44.3827 9.24608 45.146 8.9888 46.6465 8.9888C49.1941 8.9888 51.4298 9.84357 51.4298 9.84357L52.4488 5.43022C52.4488 5.43022 49.9865 4.71869 46.7027 4.71869C41.1841 4.71869 38.2965 6.85422 38.2965 10.2705C38.2965 12.9187 39.8532 14.485 44.4108 15.0825C46.3355 15.3388 47.0427 15.4519 47.0427 16.1644C47.0427 16.8486 46.2784 17.0757 44.9484 17.0757C42.0608 17.0757 39.3437 15.8515 39.3437 15.8515L38.1832 20.4081C38.1832 20.4081 40.9003 21.375 44.4389 21.375C50.3826 21.375 53.1279 19.2668 53.1279 15.8223C53.1279 13.0902 51.6555 11.6087 47.0708 10.8963ZM76.1968 4.69042C72.8287 4.69042 71.6111 6.74018 71.6111 6.74018V5.20216H65.8369V20.9198H71.6111V12.8612C71.6111 10.8689 72.3483 9.95666 74.1297 9.95666C75.913 9.95666 76.1687 11.4381 76.1687 13.3173V20.9198H81.9982V11.2666C81.9982 6.93903 79.9339 4.69042 76.1968 4.69042ZM123.948 9.8153C125.843 9.8153 127.144 11.1818 127.144 13.0327C127.144 14.9958 125.87 16.335 123.948 16.335C122.051 16.335 120.778 14.9958 120.778 13.0327C120.778 11.1818 122.024 9.8153 123.948 9.8153ZM112.456 10.213C110.53 10.213 109.088 10.9537 109.088 13.3456V20.9198H103.313V5.20216H109.088V7.02479C109.088 7.02479 109.965 4.97409 113.191 4.97409C114.181 4.97409 114.55 5.14467 114.55 5.14467L114.408 10.4976C114.408 10.4976 113.643 10.213 112.456 10.213ZM11.9728 13.0902C11.9728 11.1243 10.699 9.78608 8.80235 9.78608C6.87853 9.78608 5.6038 11.1243 5.6038 13.0902C5.6038 14.9392 6.9057 16.3076 8.80235 16.3076C10.728 16.3076 11.9728 14.9392 11.9728 13.0902ZM10.1333 21.4023C14.9728 21.4023 18.0871 17.6468 18.0871 13.0902C18.0871 8.41958 15.3699 4.69042 10.5576 4.69042C7.27472 4.69042 5.77426 6.74018 5.77426 6.74018V5.20216H0V25.4453H5.77426V19.9227C5.77426 19.9227 7.16139 21.4023 10.1333 21.4023ZM95.7984 13.0902C95.7984 11.1243 94.5246 9.78608 92.6279 9.78608C90.7032 9.78608 89.4284 11.1243 89.4284 13.0902C89.4284 14.9392 90.7322 16.3076 92.6279 16.3076C94.5536 16.3076 95.7984 14.9392 95.7984 13.0902ZM92.5427 21.4023C97.0994 21.4023 101.94 18.8974 101.94 12.9187C101.94 7.16616 97.2698 4.69042 92.7413 4.69042C88.0984 4.69042 83.3442 7.25192 83.3442 13.175C83.3442 18.9549 88.0142 21.4023 92.5427 21.4023Z",fill:"black"}))))};return e}());n.style=l;var r="pn-site-footer-col{min-width:15em;padding:2.5em 1.5rem 0}@media screen and (min-width: 48em){pn-site-footer-col{max-width:25%}}pn-site-footer-col ul{list-style-type:none;padding:0;margin:0}pn-site-footer-col li{margin-bottom:1.6rem}pn-site-footer-col a{text-decoration:none;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}pn-site-footer-col p{margin-top:0;margin-bottom:1rem}";var s=e("pn_site_footer_col",function(){function e(e){t(this,e)}e.prototype.render=function(){return o(i,null,o("slot",null))};return e}());s.style=r}}}));
@@ -1 +1 @@
1
- System.register(["./p-b4b6ab95.system.js"],(function(e){"use strict";var n;return{setters:[function(e){n=e.c}],execute:function(){var t=n({openLevel:"",openMenu:false,i18n:{open:"",close:"",navLabel:""}}),s=t.state,o=t.onChange;e({s:s,o:o})}}}));
1
+ System.register(["./p-825b8fb8.system.js"],(function(e){"use strict";var n;return{setters:[function(e){n=e.c}],execute:function(){var t=n({openLevel:"",openMenu:false,i18n:{open:"",close:"",navLabel:""}}),s=t.state,o=t.onChange;e({s:s,o:o})}}}));
@@ -1 +1 @@
1
- import{r as t,h as e,a as i}from"./p-cf516409.js";import{a}from"./p-9adc3940.js";import{s as n}from"./p-9ae8e043.js";import"./p-ad5b20ce.js";const s={sv:{maxweightlabel:"Maxvikt",weightlabel:"Vikt",maxmeasurementlabel:"Maxvolym",sizeheading:"Hur mycket väger det?",senddirectcta:"Köp frakt via Skicka Direkt",stampshopcta:"Köp frimärken via vår webshop"},en:{maxweightlabel:"Max weight",weightlabel:"Weight",maxmeasurementlabel:"Maximum measurement",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},da:{maxweightlabel:"Max vægt",weightlabel:"Vægt",maxmeasurementlabel:"Maks. Volumen",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},no:{maxweightlabel:"Maks vekt",weightlabel:"Vekt",maxmeasurementlabel:"Maks volum",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},fi:{maxweightlabel:"Max paino",weightlabel:"Piano",maxmeasurementlabel:"Max äänenvoimakkuus",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"}},o={se:{currency:"kr"},dk:{currency:"dk"},fi:{currency:" €"},no:{currency:"kr"}},r={letter:[{name:"50g",abbreviation:"g",value:50},{name:"100g",abbreviation:"g",value:100},{name:"250g",abbreviation:"g",value:250},{name:"500g",abbreviation:"g",value:500},{name:"1kg",abbreviation:"kg",value:1},{name:"2kg",abbreviation:"kg",value:2}],parcel:[{name:"1kg",abbreviation:"kg",value:1},{name:"2kg",abbreviation:"kg",value:2},{name:"3kg",abbreviation:"kg",value:3},{name:"4kg",abbreviation:"kg",value:4},{name:"5kg",abbreviation:"kg",value:5},{name:"6kg",abbreviation:"kg",value:6},{name:"7Kg",abbreviation:"kg",value:7},{name:"8kg",abbreviation:"kg",value:8},{name:"9kg",abbreviation:"kg",value:9},{name:"10kg",abbreviation:"kg",value:10},{name:"11kg",abbreviation:"kg",value:11},{name:"12kg",abbreviation:"kg",value:12},{name:"13kg",abbreviation:"kg",value:13},{name:"14kg",abbreviation:"kg",value:14},{name:"15kg",abbreviation:"kg",value:15},{name:"16kg",abbreviation:"kg",value:16},{name:"17kg",abbreviation:"kg",value:17},{name:"18kg",abbreviation:"kg",value:18},{name:"20kg",abbreviation:"kg",value:20}]};let l=class{constructor(e){t(this,e),this.source="https://com-integration.postnord.com/globalassets/global/prices/sv-se-findprice.xlsx",this.language="sv",this.market="se",this.productid="",this.filteredItems=[],this.sourceData={types:[],data:[]},this.gotData=!1,this.loading=!1,this.postagetype={value:""},this.weight={value:0,name:""},this.weightvalue=0}componentWillLoad(){this.setState(),this.getDataSource().then((()=>{}))}setState(){this.market&&(n.market=o[this.market]),this.language&&s[this.language]&&(n.i18n=s[this.language])}async getDataSource(){if(!this.productid)return;this.loading=!0;const t=`?cache=${Math.floor(9999*Math.random()+1)}`,e=await fetch(this.source+t),i=await e.blob();try{const t=await a(i);this.sourceData=t,this.filterItems()}catch(n){this.loading=!1,console.warn("Unable to parse data")}}filterItems(){var t;if(!(null===(t=this.sourceData)||void 0===t?void 0:t.data))return void console.info("Data has not yet been loaded");this.loading=!1;const e=this.sourceData.data.filter((t=>t.id===this.productid));if(0===e.length)return;if(this.postagetype.value=e[0].what,!r[this.postagetype.value]||0===r[this.postagetype.value].length)return;0===this.weightvalue&&(this.weight=r[this.postagetype.value][0],this.weightvalue=this.weight.value);const i="kg"===this.weight.abbreviation.toLocaleLowerCase()&&"letter"===this.postagetype.value?1e3*this.weight.value:this.weight.value;let a=e.filter((t=>t.maxweight===i));if(0===a.length&&(a=e.filter((t=>t.maxweight>=i)),a.length>0)){const t=[...new Map(a.reverse().map((t=>[t.id,t]))).values()];t.length>0&&(a=t)}this.filteredItems=a,this.gotData=this.filteredItems.length>0}render(){return e(i,null,e("div",{class:"content"},e("slot",null)),this.loading?e("pn-spinner",null):null,this.postagetype.value&&r[this.postagetype.value]?e("div",{class:"weightselection"},n.i18n.sizeheading?e("div",{class:"heading"},n.i18n.sizeheading):null,e("div",{class:"weightoption"},e("div",{class:"weightoption-input"},e("pn-input",{inputid:"weightvalue",name:"weightvalue",type:"number",label:n.i18n.weightlabel,value:this.weightvalue,onChange:t=>{if(t&&t.target&&t.target.value){const e=parseInt(t.target.value,10);if(!isNaN(e)){let t=r[this.postagetype.value].filter((t=>("kg"===t.abbreviation?1e3*t.value:t.value)>=e));t&&t.length>0&&(this.weight=t[0],this.weightvalue=this.weight.value)}}}}),e("span",{class:"weightoption-input-abbreviation"},this.weight.abbreviation)),e("div",{class:"weightoption-range"},e("input",{type:"range",id:"weightrange",name:"weightrange",list:"weightlist",value:this.weight.value?r[this.postagetype.value].findIndex((t=>t.value===this.weightvalue)):0,onChange:t=>{this.weight=r[this.postagetype.value][t.target.value],this.weightvalue=this.weight.value},min:"0",max:r[this.postagetype.value].length-1}),e("datalist",{id:"weightlist"},r[this.postagetype.value].map(((t,i)=>{let a=t.name;return r[this.postagetype.value].length>6&&(a=i%5==0||0===i||i===r[this.postagetype.value].length-1?t.name:""),e("option",Object.assign({value:i},a?{label:a}:{}))})))))):null,e("div",{class:"resultlist","data-list-count":this.filteredItems.length},this.filteredItems.map((t=>e("div",null,e("pn-product-pricelist-result",{item:t}))))))}static get watchers(){return{market:["setState"],language:["setState"],postagetype:["filterItems"],weightvalue:["filterItems"]}}};l.style='pn-product-pricelist pn-spinner{margin:1em auto}pn-product-pricelist h2,pn-product-pricelist .heading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-product-pricelist .content,pn-product-pricelist .weightselection{max-width:50em;margin:0 auto 1em}pn-product-pricelist .weightoption{display:-ms-flexbox;display:flex;gap:1em}pn-product-pricelist .weightoption-input{width:5em;position:relative}pn-product-pricelist .weightoption-input input::-webkit-outer-spin-button,pn-product-pricelist .weightoption-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}pn-product-pricelist .weightoption-input-abbreviation{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:1.2em;margin-top:1.55rem;font-weight:500}pn-product-pricelist .weightoption-range{-ms-flex-positive:1;flex-grow:1;-ms-flex-item-align:end;align-self:flex-end;position:relative;top:0.5em}pn-product-pricelist .weightoption-range input{width:calc(100% - 1.5em)}pn-product-pricelist .weightoption-range datalist{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75em}pn-product-pricelist .resultlist:not([data-list-count="0"]){margin-top:2em}';export{l as pn_product_pricelist}
1
+ import{r as t,h as e,a as i}from"./p-58e8d7d5.js";import{a}from"./p-9adc3940.js";import{s as n}from"./p-ae2bd55f.js";import"./p-86f06e26.js";const s={sv:{maxweightlabel:"Maxvikt",weightlabel:"Vikt",maxmeasurementlabel:"Maxvolym",sizeheading:"Hur mycket väger det?",senddirectcta:"Köp frakt via Skicka Direkt",stampshopcta:"Köp frimärken via vår webshop"},en:{maxweightlabel:"Max weight",weightlabel:"Weight",maxmeasurementlabel:"Maximum measurement",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},da:{maxweightlabel:"Max vægt",weightlabel:"Vægt",maxmeasurementlabel:"Maks. Volumen",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},no:{maxweightlabel:"Maks vekt",weightlabel:"Vekt",maxmeasurementlabel:"Maks volum",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},fi:{maxweightlabel:"Max paino",weightlabel:"Piano",maxmeasurementlabel:"Max äänenvoimakkuus",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"}},o={se:{currency:"kr"},dk:{currency:"dk"},fi:{currency:" €"},no:{currency:"kr"}},r={letter:[{name:"50g",abbreviation:"g",value:50},{name:"100g",abbreviation:"g",value:100},{name:"250g",abbreviation:"g",value:250},{name:"500g",abbreviation:"g",value:500},{name:"1kg",abbreviation:"kg",value:1},{name:"2kg",abbreviation:"kg",value:2}],parcel:[{name:"1kg",abbreviation:"kg",value:1},{name:"2kg",abbreviation:"kg",value:2},{name:"3kg",abbreviation:"kg",value:3},{name:"4kg",abbreviation:"kg",value:4},{name:"5kg",abbreviation:"kg",value:5},{name:"6kg",abbreviation:"kg",value:6},{name:"7Kg",abbreviation:"kg",value:7},{name:"8kg",abbreviation:"kg",value:8},{name:"9kg",abbreviation:"kg",value:9},{name:"10kg",abbreviation:"kg",value:10},{name:"11kg",abbreviation:"kg",value:11},{name:"12kg",abbreviation:"kg",value:12},{name:"13kg",abbreviation:"kg",value:13},{name:"14kg",abbreviation:"kg",value:14},{name:"15kg",abbreviation:"kg",value:15},{name:"16kg",abbreviation:"kg",value:16},{name:"17kg",abbreviation:"kg",value:17},{name:"18kg",abbreviation:"kg",value:18},{name:"20kg",abbreviation:"kg",value:20}]};let l=class{constructor(e){t(this,e),this.source="https://com-integration.postnord.com/globalassets/global/prices/sv-se-findprice.xlsx",this.language="sv",this.market="se",this.productid="",this.filteredItems=[],this.sourceData={types:[],data:[]},this.gotData=!1,this.loading=!1,this.postagetype={value:""},this.weight={value:0,name:""},this.weightvalue=0}componentWillLoad(){this.setState(),this.getDataSource().then((()=>{}))}setState(){this.market&&(n.market=o[this.market]),this.language&&s[this.language]&&(n.i18n=s[this.language])}async getDataSource(){if(!this.productid)return;this.loading=!0;const t=`?cache=${Math.floor(9999*Math.random()+1)}`,e=await fetch(this.source+t),i=await e.blob();try{const t=await a(i);this.sourceData=t,this.filterItems()}catch(n){this.loading=!1,console.warn("Unable to parse data")}}filterItems(){var t;if(!(null===(t=this.sourceData)||void 0===t?void 0:t.data))return void console.info("Data has not yet been loaded");this.loading=!1;const e=this.sourceData.data.filter((t=>t.id===this.productid));if(0===e.length)return;if(this.postagetype.value=e[0].what,!r[this.postagetype.value]||0===r[this.postagetype.value].length)return;0===this.weightvalue&&(this.weight=r[this.postagetype.value][0],this.weightvalue=this.weight.value);const i="kg"===this.weight.abbreviation.toLocaleLowerCase()&&"letter"===this.postagetype.value?1e3*this.weight.value:this.weight.value;let a=e.filter((t=>t.maxweight===i));if(0===a.length&&(a=e.filter((t=>t.maxweight>=i)),a.length>0)){const t=[...new Map(a.reverse().map((t=>[t.id,t]))).values()];t.length>0&&(a=t)}this.filteredItems=a,this.gotData=this.filteredItems.length>0}render(){return e(i,null,e("div",{class:"content"},e("slot",null)),this.loading?e("pn-spinner",null):null,this.postagetype.value&&r[this.postagetype.value]?e("div",{class:"weightselection"},n.i18n.sizeheading?e("div",{class:"heading"},n.i18n.sizeheading):null,e("div",{class:"weightoption"},e("div",{class:"weightoption-input"},e("pn-input",{inputid:"weightvalue",name:"weightvalue",type:"number",label:n.i18n.weightlabel,value:this.weightvalue,onChange:t=>{if(t&&t.target&&t.target.value){const e=parseInt(t.target.value,10);if(!isNaN(e)){let t=r[this.postagetype.value].filter((t=>("kg"===t.abbreviation?1e3*t.value:t.value)>=e));t&&t.length>0&&(this.weight=t[0],this.weightvalue=this.weight.value)}}}}),e("span",{class:"weightoption-input-abbreviation"},this.weight.abbreviation)),e("div",{class:"weightoption-range"},e("input",{type:"range",id:"weightrange",name:"weightrange",list:"weightlist",value:this.weight.value?r[this.postagetype.value].findIndex((t=>t.value===this.weightvalue)):0,onChange:t=>{this.weight=r[this.postagetype.value][t.target.value],this.weightvalue=this.weight.value},min:"0",max:r[this.postagetype.value].length-1}),e("datalist",{id:"weightlist"},r[this.postagetype.value].map(((t,i)=>{let a=t.name;return r[this.postagetype.value].length>6&&(a=i%5==0||0===i||i===r[this.postagetype.value].length-1?t.name:""),e("option",Object.assign({value:i},a?{label:a}:{}))})))))):null,e("div",{class:"resultlist","data-list-count":this.filteredItems.length},this.filteredItems.map((t=>e("div",null,e("pn-product-pricelist-result",{item:t}))))))}static get watchers(){return{market:["setState"],language:["setState"],postagetype:["filterItems"],weightvalue:["filterItems"]}}};l.style='pn-product-pricelist pn-spinner{margin:1em auto}pn-product-pricelist h2,pn-product-pricelist .heading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-product-pricelist .content,pn-product-pricelist .weightselection{max-width:50em;margin:0 auto 1em}pn-product-pricelist .weightoption{display:-ms-flexbox;display:flex;gap:1em}pn-product-pricelist .weightoption-input{width:5em;position:relative;display:none}pn-product-pricelist .weightoption-input input::-webkit-outer-spin-button,pn-product-pricelist .weightoption-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}pn-product-pricelist .weightoption-input-abbreviation{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:1.2em;margin-top:1.55rem;font-weight:500}pn-product-pricelist .weightoption-range{-ms-flex-positive:1;flex-grow:1;-ms-flex-item-align:end;align-self:flex-end;position:relative;top:0.5em}pn-product-pricelist .weightoption-range input{width:calc(100% - 1.5em)}pn-product-pricelist .weightoption-range datalist{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75em}pn-product-pricelist .resultlist:not([data-list-count="0"]){margin-top:2em}';export{l as pn_product_pricelist}
@@ -0,0 +1 @@
1
+ System.register(["./p-36654f2a.system.js","./p-3971ddb9.system.js","./p-825b8fb8.system.js"],(function(t){"use strict";var i,e,s,n;return{setters:[function(t){i=t.r;e=t.h;s=t.a},function(t){n=t.s},function(){}],execute:function(){var l="pn-find-price-result .test{margin:3em 0}.resultcontent{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}";var r=t("pn_find_price_result",function(){function t(t){i(this,t);this.item=null;this.shownitems=[];this.description=[];this.weightText=""}t.prototype.componentWillLoad=function(){this.composeItems()};t.prototype.composeItems=function(){if(this.item.additionalusp){var t=this.item.additionalusp.split("/");this.Usp1=t.length>0?t[0]:null;this.Usp2=t.length>1?t[1]:null;this.Usp3=t.length>2?t[2]:null}if(this.item.description){this.description=this.item.description.split("#bullet").filter((function(t){return t!==""}))}};t.prototype.render=function(){return e(s,null,e("pn-product-card",null,e("pn-illustration",{slot:"illustration",illustration:this.item.illustration}),e("div",{slot:"title"},e("h2",null,this.item.name," "),this.item.highestrankusp?this.item.highestrankusp==="Billigast"?e("span",{slot:"Billigast"},this.item.highestrankusp,e("pn-icon",{symbol:"box-label",small:"false",color:"green700"})):e("span",{slot:"Snabbast"},this.item.highestrankusp,e("pn-icon",{symbol:"bolt",small:"false",color:"blue700"})):null),e("div",{slot:"content"},e("div",{class:"content"},this.item.description?e("div",{class:"description"},this.description.map((function(t){return e("li",null,t)}))):null,this.item.info?e("div",{class:"description"},this.item.info):null)),this.item.note?e("small",{slot:"note"},e("p",null,this.item.note)):null,this.item.additionalusp?e("div",{slot:"additionalUSP"},this.Usp1?e("span",null,this.Usp1):null,this.Usp2?e("span",null,this.Usp2):null,this.Usp3?e("span",null,this.Usp3):null):null,this.item.paket?e("pn-product-card-info",{paket:this.item.paket,rulle:this.item.rulle}):null,e("div",{slot:"cardprice"},this.item.priceagent?e("pn-product-card-price",{slot:"price",label:"",amount:this.item.priceagent+"",currency:n.market.currency,url:"https://shop.postnord.se/ebutik/default.aspx",service:this.item.name+"-eshop"}):null,this.item.pricesenddirect?e("pn-product-card-price",{slot:"sendDirectPrice",label:n.i18n.senddirectcta,amount:this.item.pricesenddirect+"",currency:n.market.currency,url:"https://portal.postnord.com/skickadirekt/",service:this.item.name+"-portal"}):null,this.item.pricestamps?e("pn-product-card-price",{slot:"stampPrice",label:n.i18n.stampshopcta,amount:this.item.pricestamps+"",currency:n.market.currency,url:"https://shop.postnord.se/ebutik/default.aspx",service:this.item.name+"-eshop"}):null)))};Object.defineProperty(t,"watchers",{get:function(){return{item:["composeItems"]}},enumerable:false,configurable:true});return t}());r.style=l}}}));
@@ -1 +1 @@
1
- import{c as e}from"./p-ad5b20ce.js";const{state:a}=e({i18n:{componentheading:"",deliveryscopeheading:"",sizeheading:"",resultlistheading:"",weightlabel:"",maxweightlabel:"",maxmeasurementlabel:"",senddirectcta:"",stampshopcta:""},market:{currency:""}});export{a as s}
1
+ import{c as e}from"./p-86f06e26.js";const{state:a}=e({i18n:{componentheading:"",deliveryscopeheading:"",sizeheading:"",resultlistheading:"",weightlabel:"",maxweightlabel:"",maxmeasurementlabel:"",senddirectcta:"",stampshopcta:""},market:{currency:""}});export{a as s}
@@ -1 +1 @@
1
- import{r as e,h as t,a as l}from"./p-cf516409.js";let i=class{constructor(t){e(this,t)}render(){return t(l,null,t("slot",{name:"illustration"}),t("div",{class:"tilecontent"},t("div",{class:"details"},t("slot",{name:"content"}),t("div",{class:"info"},t("slot",null)),t("slot",{name:"note"})),t("slot",{name:"price"})))}};i.style="pn-product-tile{margin-bottom:1em;border:0.1rem solid #D3CECB;outline:none;background:white;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);display:-ms-flexbox;display:flex;padding:1.5em;word-break:break-word;text-decoration:none;border-radius:0.8rem}pn-product-tile [slot=content] h3{display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:0.5em}pn-product-tile>pn-illustration{min-width:8rem;width:8rem;height:8rem;margin-right:3rem;-ms-flex-item-align:center;align-self:center}pn-product-tile .tilecontent{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}pn-product-tile .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:100%}pn-product-tile .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;max-width:66.6666666667%;-ms-flex-flow:wrap;flex-flow:wrap}pn-product-tile .info>*{min-width:6em;margin:0.2em 1em 0.2em 0}";let n=class{constructor(t){e(this,t)}render(){return t(l,null,this.label?t("p",null,t("small",null,this.label)):null,this.text?t("h3",null,this.text):null)}};t("pn-icon",{symbol:"align-center",small:"false",color:"black"}),n.style="pn-product-tile-info{-ms-flex-item-align:center;align-self:center}";let s=class{constructor(t){e(this,t)}render(){if(this.amount)return this.url?t(l,null,t("h3",null,this.amount?t("span",null,this.amount):null,this.currency?t("span",null,this.currency):null),this.label?t("a",{href:this.url},t("pn-button",{small:"true",icon:"arrow-right"},this.label)):null):t(l,null,t("h3",null,this.amount?t("span",null,this.amount):null,this.currency?t("span",null,this.currency):null))}};s.style="pn-product-tile-price{margin-top:1em;white-space:nowrap;text-align:right}pn-product-tile-price span{font-size:3em;font-size:clamp(2em, 6vw, 3em)}pn-product-tile-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-tile-price+pn-product-tile-price{margin-left:1.5em}pn-product-tile-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-tile-price a{text-decoration:none;color:#005D92}pn-product-tile-price a h3{text-decoration:underline}";export{i as pn_product_tile,n as pn_product_tile_info,s as pn_product_tile_price}
1
+ import{r as e,h as t,a as l}from"./p-58e8d7d5.js";let i=class{constructor(t){e(this,t)}render(){return t(l,null,t("slot",{name:"illustration"}),t("div",{class:"tilecontent"},t("div",{class:"details"},t("slot",{name:"content"}),t("div",{class:"info"},t("slot",null)),t("slot",{name:"note"})),t("slot",{name:"price"})))}};i.style="pn-product-tile{margin-bottom:1em;border:0.1rem solid #D3CECB;outline:none;background:white;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);display:-ms-flexbox;display:flex;padding:1.5em;word-break:break-word;text-decoration:none;border-radius:0.8rem}pn-product-tile [slot=content] h3{display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:0.5em}pn-product-tile>pn-illustration{min-width:8rem;width:8rem;height:8rem;margin-right:3rem;-ms-flex-item-align:center;align-self:center}pn-product-tile .tilecontent{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}pn-product-tile .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:100%}pn-product-tile .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;max-width:66.6666666667%;-ms-flex-flow:wrap;flex-flow:wrap}pn-product-tile .info>*{min-width:6em;margin:0.2em 1em 0.2em 0}";let n=class{constructor(t){e(this,t)}render(){return t(l,null,this.label?t("p",null,t("small",null,this.label)):null,this.text?t("h3",null,this.text):null)}};t("pn-icon",{symbol:"align-center",small:"false",color:"black"}),n.style="pn-product-tile-info{-ms-flex-item-align:center;align-self:center}";let s=class{constructor(t){e(this,t)}render(){if(this.amount)return this.url?t(l,null,t("h3",null,this.amount?t("span",null,this.amount):null,this.currency?t("span",null,this.currency):null),this.label?t("a",{href:this.url},t("pn-button",{small:"true",icon:"arrow-right"},this.label)):null):t(l,null,t("h3",null,this.amount?t("span",null,this.amount):null,this.currency?t("span",null,this.currency):null))}};s.style="pn-product-tile-price{margin-top:1em;white-space:nowrap;text-align:right}pn-product-tile-price span{font-size:3em;font-size:clamp(2em, 6vw, 3em)}pn-product-tile-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-tile-price+pn-product-tile-price{margin-left:1.5em}pn-product-tile-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-tile-price a{text-decoration:none;color:#005D92}pn-product-tile-price a h3{text-decoration:underline}";export{i as pn_product_tile,n as pn_product_tile_info,s as pn_product_tile_price}
@@ -0,0 +1 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function r(e){try{s(i.next(e))}catch(t){o(t)}}function l(e){try{s(i["throw"](e))}catch(t){o(t)}}function s(e){e.done?n(e.value):a(e.value).then(r,l)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(e){return function(t){return s([e,t])}}function s(r){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;a=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){n.label=r[1];break}if(r[0]===6&&n.label<o[1]){n.label=o[1];o=r;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(r);break}if(o[2])n.ops.pop();n.trys.pop();continue}r=t.call(e,n)}catch(l){r=[6,l];a=0}finally{i=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};System.register(["./p-36654f2a.system.js","./p-add7d76c.system.js","./p-55513980.system.js","./p-825b8fb8.system.js"],(function(e){"use strict";var t,n,i,a,o,r,l,s,u;return{setters:[function(e){t=e.r;n=e.e;i=e.h;a=e.a;o=e.g},function(e){r=e.s;l=e.o},function(e){s=e.M},function(e){u=e.c}],execute:function(){var c={sv:{heading:"Språk"},en:{heading:"Language"},da:{heading:"Sprog"},no:{heading:"Språk"},fi:{heading:"Kieli"}};var d="pn-language-selector{max-height:5.2rem}pn-language-selector pn-nav-dropdown:not([data-open]) .nav-dropdown-content-container,pn-language-selector pn-nav-dropdown[data-open=false] .nav-dropdown-content-container{display:none}pn-language-selector pn-nav-dropdown{display:block}.languageselector{position:relative}.languageselector-togglebtn{cursor:pointer;border:0;padding:0.64rem 0;background-color:#FFFFFF;color:#005D92;font-size:1.6rem}.languageselector-togglebtn:hover,.languageselector-togglebtn:focus,.languageselector-togglebtn:active{color:#0D234B;text-decoration:underline}.languageselector-togglebtn svg{width:1.9rem;height:1.9rem}.languageselector-title{padding:0.8rem 1.6rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.languageselector-list{margin:0;padding:0;list-style:none}";var m=e("pn_language_selector",function(){function e(e){t(this,e);this.setLanguage=n(this,"setLanguage",7);this.value="";this.selectedLanguageName="";this.options=[]}e.prototype.componentWillLoad=function(){this.setInitialSelectedLanguageName();this.setTranslations()};e.prototype.componentDidLoad=function(){this.initialize()};e.prototype.initialize=function(){this.setSelectedLanguageName();this.addEventBindingsToOptions()};e.prototype.setInitialSelectedLanguageName=function(){if(!window.Intl||!this.value){return}var e=new Intl.DisplayNames([this.value],{type:"language"});if(!e){return}var t=e.of(this.value);if(!t){return}this.selectedLanguageName=t.charAt(0).toUpperCase()+t.slice(1)};e.prototype.addEventBindingsToOptions=function(){var e=this;var t=[].slice.apply(this.hostElement.querySelectorAll("pn-language-selector-option"));t.map((function(t){t.removeEventListener("setCurrentLanguage",(function(t){e.onSetCurrentLanguage(t.detail)}));t.addEventListener("setCurrentLanguage",(function(t){e.onSetCurrentLanguage(t.detail)}))}))};e.prototype.setSelectedLanguageName=function(){var e=this;var t=[].slice.apply(this.hostElement.querySelectorAll("pn-language-selector-option"));t.map((function(t){if(t.getAttribute("code")==e.value){e.selectedLanguageName=t.getAttribute("name")}}))};e.prototype.onSetCurrentLanguage=function(e){this.value=e.code;this.selectedLanguageName=e.name;this.setLanguage.emit(this.value)};e.prototype.setTranslations=function(){if(c[this.value]){this.i18n=c[this.value]}};e.prototype.onValueChange=function(){var e=this;var t;var n=(t=this.hostElement.querySelectorAll("pn-language-selector-option"))!==null&&t!==void 0?t:[];n.forEach((function(t){var n=(t.getAttribute("code")===e.value)+"";if(t.getAttribute("selected")+""!==n){t.setAttribute("selected",n)}}))};e.prototype.render=function(){return i(a,{value:this.value},i("pn-nav-dropdown",{label:this.selectedLanguageName,icon:"globe"},i("nav",{class:"languageselector-nav","aria-label":this.i18n.heading},i("strong",{class:"languageselector-title"},this.i18n.heading),i("div",{class:"languageselector-list",role:"list"},i("slot",null)))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["setSelectedLanguageName","setTranslations","onValueChange"]}},enumerable:false,configurable:true});return e}());m.style=d;var g="pn-language-selector-option{margin:0;padding:0;list-style:none}.languageselector-button,.languageselector-link{width:100%;padding:1.1rem 1.6rem 1.1rem 1.4rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:relative;text-decoration:none;border:0;cursor:pointer;background-color:#FFFFFF;color:#005D92;font-size:1.6rem;font-weight:bold;border-radius:0}.languageselector-button:hover,.languageselector-button:focus,.languageselector-button:active,.languageselector-link:hover,.languageselector-link:focus,.languageselector-link:active{color:#0D234B;text-decoration:underline;-webkit-box-shadow:none;box-shadow:none;background-color:#F3F2F2;color:#005D92;outline:none}.languageselector-itemtext{display:inline-block;margin-left:1rem}.languageselector-radio-outer{background:#fff;border:0.1em solid #D3CECB;border-radius:50%;height:1.5em;width:1.5em;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, -webkit-box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, -webkit-box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.1s, -webkit-box-shadow 0.1s;cursor:pointer}.languageselector-radio-outer:focus>.languageselector-radio-outer,.languageselector-radio-outer:active>.languageselector-radio-outer{-webkit-box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92;box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92}.languageselector-radio-outer:hover>.languageselector-radio-outer{border:0.1rem solid #005D92;background:#E0F8FF}[selected=true] .languageselector-radio-outer{border:0.1rem solid #005D92}.languageselector-radio-inner{-webkit-transform:scale(0);transform:scale(0);height:1em;width:1em;background-color:#005D92;border-radius:50%;-webkit-transform-origin:center center;transform-origin:center center;-webkit-transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92), -webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92)}[selected=true] .languageselector-radio-inner{-webkit-transform:scale(1);transform:scale(1)}";var h=e("pn_language_selector_option",function(){function e(e){t(this,e);this.setCurrentLanguage=n(this,"setCurrentLanguage",7);this.name="";this.code="";this.url="";this.selected=false}e.prototype.onOptionClick=function(){var e={name:this.name,code:this.code,url:this.url,current:true};this.setCurrentLanguage.emit(e)};e.prototype.render=function(){return i(a,{role:"listitem",selected:this.selected+"",code:this.code,name:this.name},!this.url?i("button",{class:"languageselector-button","data-langcode":this.code,onClick:this.onOptionClick.bind(this)},i("span",{class:"languageselector-radio-outer"},i("span",{class:"languageselector-radio-inner"})),i("span",{class:"languageselector-itemtext"},this.name," - ",this.code)):i("a",{href:this.url,target:"_self",class:"languageselector-link","data-langcode":this.code},i("span",{class:"languageselector-radio-outer"},i("span",{class:"languageselector-radio-inner"})),i("span",{class:"languageselector-itemtext"},this.name," - ",this.code)))};return e}());h.style=g;var p={sv:{menuHomeButton:"Hem",menuGoBackButton:"Gå tillbaka",mainMenuButton:"Meny",menuStartButton:"Start",navLabel:"Huvudnavigation"},en:{menuHomeButton:"Home",menuGoBackButton:"Go back",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Main navigation"},da:{menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbage",mainMenuButton:"Menu",menuStartButton:"Start",navLabel:"Hovednavigation"},no:{menuHomeButton:"Hjem",menuGoBackButton:"Gå tilbake",mainMenuButton:"Meny",menuStartButton:"Start",navLabel:"Hovednavigasjon"},fi:{menuHomeButton:"Koti",menuGoBackButton:"Mene takaisin",mainMenuButton:"Valikko",menuStartButton:"Alkaa",navLabel:"Päänavigointi"}};var f="pn-mainnav{display:-ms-flexbox;display:flex;-ms-flex-flow:row-reverse;flex-flow:row-reverse;position:relative;width:100%;min-height:5.1rem}@media screen and (min-width: 48em){pn-mainnav{-ms-flex-flow:row;flex-flow:row}}@media screen and (min-width: 64em){pn-mainnav{-ms-flex-flow:column;flex-flow:column}}@media screen and (min-width: 64em){pn-mainnav [slot=footer]{display:none}}pn-mainnav>nav{height:auto;width:100vw;background-color:#FFFFFF;z-index:2;-webkit-transform:translateX(100vw);transform:translateX(100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;visibility:hidden;position:fixed;top:3em;bottom:0;left:0}@media screen and (min-width: 48em){pn-mainnav>nav{top:6.5em}}pn-mainnav>nav[data-menu-open=true]{visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}@media screen and (min-width: 64em){pn-mainnav>nav{-ms-flex-flow:row-reverse;flex-flow:row-reverse;top:0;position:static;height:auto;width:100%;-ms-flex-pack:justify;justify-content:space-between;visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}}pn-mainnav>nav a{text-decoration:none}pn-mainnav>nav button{cursor:pointer}.mainnav-toggle{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center}@media screen and (min-width: 64em){.mainnav-toggle{display:none}}.mainnav-toggle>button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:#005D92;color:#FFFFFF;border-radius:2.4rem;border:none;padding:0.6rem 1.6rem;cursor:pointer;font-size:1.6rem}.mainnav-toggle>button:focus{outline:0}.mainnav-toggle>button pn-icon{margin-left:0.8rem;display:block}.mainnav-toggle>button svg{display:block;margin:-0.2rem -0.5rem -0.2rem 0;height:1.9rem;width:1.9rem}";var v=e("pn_mainnav",function(){function e(e){t(this,e);this.menuLanguageChange=n(this,"menuLanguageChange",7);this.marketChange=n(this,"marketChange",7);this.menuOpenChange=n(this,"menuOpenChange",7);this.market="se";this.language="sv";this.navigationId="mainnav";this.openMenu=false;this.navLabel=""}e.prototype.componentWillLoad=function(){this.init();document.removeEventListener("mousedown",this._onClickOutside.bind(this));document.addEventListener("mousedown",this._onClickOutside.bind(this))};e.prototype.init=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.setLanguage();this.setMarket();return[2]}))}))};e.prototype._onClickOutside=function(e){var t=!this.hostElement.contains(e.target);if(t){r.openLevel=""}};e.prototype.setLanguage=function(){this.menuLanguageChange.emit(this.language)};e.prototype.setMarket=function(){this.marketChange.emit(this.market)};e.prototype.onLanguageChange=function(e){if(p[e.detail]){r.i18n=p[e.detail];if(!this.navLabel){this.navLabel=r.i18n.navLabel}}};e.prototype.setMenuOpenState=function(){r.openMenu=!r.openMenu;this.menuOpenChange.emit(r.openMenu)};e.prototype.onOpenMenuLevelChange=function(e){r.openLevel=e.detail};e.prototype.render=function(){return i(a,null,i("div",{class:"mainnav-toggle"},i("button",{"aria-controls":this.navigationId,"aria-expanded":r.openMenu+"",onClick:this.setMenuOpenState.bind(this)},r.i18n.mainMenuButton,i("pn-icon",{symbol:r.openMenu?"close":"bars",color:"white"}))),i("nav",{class:"mainnav","aria-label":this.navLabel,"data-menu-open":r.openMenu+"","data-menu-currentlevel":r.currentLevel,id:this.navigationId},i("slot",null)))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());v.style=f;var b='pn-mainnav-level{display:block}pn-mainnav-level:not(.hydrated){max-height:5.6rem;overflow:hidden}pn-mainnav-level[data-level="1"]{width:100%;right:0;overflow-y:scroll;overflow-x:hidden;-ms-flex:1;flex:1}@media screen and (min-width: 64em){pn-mainnav-level[data-level="1"]{width:auto;overflow:initial}pn-mainnav-level[data-level="1"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level="2"]{position:absolute;top:0;bottom:0;left:0;width:100vw;padding:0;background-color:#FFFFFF;z-index:1;-webkit-transform:translateX(100vw);transform:translateX(100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;overflow:scroll;visibility:hidden}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"]{left:0;top:calc(100% + 1rem);bottom:auto;border-radius:1.6rem;width:auto;padding:1.6rem 1.6rem 0 1.6rem;-webkit-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);-moz-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);height:auto;z-index:3;display:none}pn-mainnav-level[data-level="2"][data-menuitem-rightaligned=true]{right:0;left:unset}}@media screen and (max-height: 33.125em){pn-mainnav-level[data-level="2"]{-ms-overflow-style:none;scrollbar-width:none}pn-mainnav-level[data-level="2"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level="2"][aria-hidden=false]{-webkit-transform:translateX(0);transform:translateX(0);visibility:visible}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][aria-hidden=false]{display:block;overflow:visible}pn-mainnav-level[data-level="2"][aria-hidden=false]:not([data-level-listcount="1"]){display:grid;grid-template-columns:minmax(12em, 20em) 1fr;grid-template-rows:auto auto;gap:0px 1.6rem;grid-template-areas:"top top" "left right"}}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][data-level-alignment=left]{right:0;left:unset}}@media screen and (min-width: 64em){pn-mainnav-level[data-level="2"][data-level-alignment=center]{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}}pn-mainnav-level[data-level="2"] a{color:#005D92;text-decoration:none}pn-mainnav-level [slot=top]{display:-ms-flexbox;display:flex}@media screen and (min-width: 48em){pn-mainnav-level [slot=top]{display:none}}[data-menu-currentlevel="2"] pn-mainnav-level [slot=footer]{display:none;-ms-scroll-chaining:none;overscroll-behavior:contain}.mainnav-level-header{grid-area:top}.mainnav-level-header>label{position:absolute;width:0.1rem;height:0.1rem;padding:0;margin:-0.1rem;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;white-space:nowrap}.mainnav-level-header>button{display:block;position:relative;border:none;background-color:transparent;color:#005D92;padding:2.4rem 0 2.4rem 6.2rem;width:100%;text-align:left}@media screen and (min-width: 64em){.mainnav-level-header>button{display:none;speak:none}}.mainnav-level-header>button>pn-icon{speak:none;position:absolute;height:2.4rem;width:2.4rem;left:3rem;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}[data-level="2"] .mainnav-level-header>pn-mainnav-link>a{font-size:2.4rem}';var w=e("pn_mainnav_level",function(){function e(e){t(this,e);this.level=1;this.levelId="";this.isOpen=false;this.parentName="";this.parentHref="";this.parentLinkId="";this.listCount=0;this.alignment="right"}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var n=this;return __generator(this,(function(i){this.listCount=this.hostElement.querySelectorAll(":scope > pn-mainnav-list").length;e=this.hostElement.parentElement;if(e.tagName.toLowerCase()!=="nav"){this.level=2}if(e.tagName.toLowerCase()==="pn-mainnav-link"){this.parentName=e.getAttribute("name")+"";this.parentHref=e.getAttribute("href")+"";this.parentLinkId=e.getAttribute("linkid")+"";t=this.parentName.toLowerCase().replace(/\W/gi,"_");this.levelId="mainnav-lvl".concat(this.level,"-").concat(t)}l("openLevel",(function(){n.onChangeOpenLevel()}));return[2]}))}))};e.prototype.onOpen=function(){var e=this;if(this.level===2){requestAnimationFrame((function(){var t=e.hostElement.getClientRects()[0];if(!t){return}var n=e.hostElement.parentElement.parentElement.parentElement.parentElement;if(n&&n.tagName.toLowerCase()==="nav"){var i=n.getClientRects()[0];if(!i){return}if(t.right>window.innerWidth){var a=e.hostElement.parentElement.getClientRects()[0];if(a.left-t.width<0){e.alignment="center"}else{e.alignment="left"}}}}))}};e.prototype.onChangeOpenLevel=function(){this.isOpen=r.openLevel===this.levelId;r.currentLevel=this.level};e.prototype.render=function(){return i(a,Object.assign({role:"navigation"},this.level>1&&this.levelId?{"aria-hidden":!this.isOpen+""}:{},{"data-level-listcount":this.listCount+"","data-level-alignment":this.alignment,"data-level":this.level+""},this.levelId?{id:this.levelId}:{}),this.level>1?i("div",{class:"mainnav-level-header"},i("label",{htmlFor:this.levelId},r.i18n.menuGoBackButton),i("button",{class:"secondlevel-backbtn",onClick:function(){r.openLevel="";r.currentLevel=1},"aria-expanded":(r.openLevel===this.levelId)+""},i("pn-icon",{symbol:"arrow-left",color:"blue700"}),r.i18n.menuStartButton),this.parentHref&&this.parentName?i("pn-mainnav-link",{href:this.parentHref,name:this.parentName,linkid:this.parentLinkId}):null):null,i("slot",{name:"top"}),i("slot",null),i("slot",{name:"additional"}),i("slot",{name:"footer"}))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{isOpen:["onOpen"]}},enumerable:false,configurable:true});return e}());w.style=b;var y='pn-mainnav-list{display:block;overflow:visible;list-style:none;margin:0;padding:0;grid-area:right}@media screen and (min-width: 64em){pn-mainnav-list+pn-mainnav-list{grid-area:left;border-right:0.1rem solid #D3CECB;margin-bottom:1.6rem;margin-right:-0.7rem;padding-right:0.7rem}}[data-level="1"]>pn-mainnav-list{overflow:scroll;-webkit-overflow-scrolling:touch}@media screen and (min-width: 64em){[data-level="1"]>pn-mainnav-list{height:100%;display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;overflow:visible;padding:0}}@media screen and (min-width: 64em){[data-level="2"]>pn-mainnav-list[data-navlist-showcolumns=true]{-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:1.6rem;-moz-column-gap:1.6rem;column-gap:1.6rem;padding-bottom:1.6rem}}.mainnav-list-heading{display:none;font-weight:bold;-webkit-column-span:all;-moz-column-span:all;column-span:all;font-size:1.8rem;padding:1.4rem 1.4rem 1.4rem 4.8rem}@media screen and (min-width: 64em){.mainnav-list-heading{display:block;padding:0 1.4rem 1.4rem 1.4rem}}';var k=e("pn_mainnav_list",function(){function e(e){t(this,e);this.heading="";this.linkCount=0}e.prototype.componentWillLoad=function(){this.linkCount=this.hostElement.querySelectorAll(":scope > pn-mainnav-link").length};e.prototype.render=function(){return i(a,{class:"mainnav-list",role:"list","data-navlist-itemcount":this.linkCount+"","data-navlist-showcolumns":(this.linkCount>=8)+""},this.heading?i("div",{class:"mainnav-list-heading"},this.heading):null,i("slot",null))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());k.style=y;var x="pn-marketweb-siteheader-login{padding:1rem 0;max-height:5.2rem;position:relative}pn-marketweb-siteheader-login strong{padding:0.8rem 1.6rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}pn-marketweb-siteheader-login ul,pn-marketweb-siteheader-login li{list-style:none;margin:0;padding:0}pn-marketweb-siteheader-login li{padding:0.8rem 1.6rem}pn-marketweb-siteheader-login li pn-button{display:block;width:100%}pn-marketweb-siteheader-login pn-nav-dropdown{display:none}pn-marketweb-siteheader-login.hydrated pn-nav-dropdown{display:block}";var L=e("pn_marketweb_siteheader_login",function(){function e(e){t(this,e);this.loginStateChange=n(this,"loginStateChange",7);this.endpoint="";this.token="";this.emitEvents=true;this.loginDialog=null;this.loginManager=null;this.loggedIn=false;this.toggleButtonText="";this.username=""}e.prototype.componentWillLoad=function(){this.loginManager=new s({endpoint:this.endpoint,eventTarget:this.hostElement});this.hostElement["loginmanager"]=this.loginManager;if(this.token){this.loginManager.registerToken(this.token,"backend")}else if(this.emitEvents){this.loginManager.invalidateTokenOfType("backend")}this.hostElement.addEventListener(this.loginManager.events.loginstatechange,this.onLoginStateChange.bind(this));this.init()};e.prototype.init=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.toggleButtonText=this.loginDialog.loginMenuLinkText;this.loginManager.init(this.emitEvents);this.setToggleButtonText();return[2]}))}))};e.prototype.setUserName=function(){var e=this.loginManager.getUserInfo();var t="";if(!this.loggedIn||!e){this.username=t}if(e.given_name){t=e.given_name+((e===null||e===void 0?void 0:e.family_name)?" ".concat(e===null||e===void 0?void 0:e.family_name):"")}if(!t&&e.email){t=e.email}this.username=t};e.prototype.setToggleButtonText=function(){if(this.loggedIn){this.toggleButtonText=this.username;if(!this.toggleButtonText){this.toggleButtonText=this.loginDialog.loggedInButtonText}}else{this.toggleButtonText=this.loginDialog.loginMenuLinkText}};e.prototype.onLoginStateChange=function(e){if(this.loggedIn!==e.detail&&this.emitEvents){this.loggedIn=e.detail;this.loginStateChange.emit({loggedIn:this.loggedIn,token:this.loginManager.getToken()});this.setUserName();this.setToggleButtonText()}};e.prototype.uniqueId=function(e){return"loginlink-"+e.replace(/[^A-Za-z0-9.\\\/]/gim,"")+"-"+(this.emitEvents?"1":"2")};e.prototype.linkAppearanceAttributes=function(e){var t={};if(e.linkType){switch(e.linkType){case"primary":t={appearance:"",variant:""};break;case"secondary":t={appearance:"light",variant:"outlined"};break;case"regularlink":default:t={appearance:"light",variant:"borderless",icon:"arrow-right"};break}return t}if(!e.linkType){t={appearance:e.primaryLinkApperance?"dark":"light"}}return t};e.prototype.render=function(){var e=this;var t,n,o;if(!this.loginDialog){return}var r={username:null};if(this.username){r.username=this.username}return i(a,Object.assign({},r),i("pn-nav-dropdown",{label:this.toggleButtonText,icon:"user",class:"siteheader-logindialog"},!this.loginDialog.overrideLoginMenu?i("div",{"data-loggedin":this.loggedIn+""},!this.loggedIn?i("div",null,(t=this.loginDialog.loginTitle)!==null&&t!==void 0?t:i("strong",null,this.loginDialog.loginTitle),((n=this.loginDialog.loginMenuLinks)===null||n===void 0?void 0:n.length)>0?i("ul",null,this.loginDialog.loginMenuLinks.map((function(t,n){var a=n===0&&!t.href?e.loginManager.getLoginUrl():t.href;return i("li",null,i("pn-button",Object.assign({href:a,id:e.uniqueId(t.linkText)},e.linkAppearanceAttributes(t),t.openInNewWindow&&{target:"_blank"}),t.linkText))}))):i("ul",null,i("li",null,i("pn-button",{href:this.loginManager.getLoginUrl(this.loginDialog.loginUrl),target:"_top"},this.loginDialog.loginLinkText)),i("li",null,i("pn-button",{href:this.loginDialog.registerUrl,target:"_top",appearance:"light",variant:"outlined"},this.loginDialog.createLoginLinkText)))):i("div",null,i("ul",null,this.loginDialog.loggedInLinks.map((function(t){var n=t.href.indexOf("logout")!==-1;var a=n?e.loginManager.getLogoutUrl(t.href.replace("logout","").replace("http://window.location.href/?","").replace("https://window.location.href/?","")):t.href;return i("li",null,i("pn-button",Object.assign({href:a,id:e.uniqueId(t.linkText)},t.openInNewWindow&&{target:"_blank"},e.linkAppearanceAttributes(t),{onClick:function(){if(n){e.loginManager.clearUserData()}}}),t.linkText))}))))):i("div",null,i("ul",null,(o=this.loginDialog.loginMenuLinks)===null||o===void 0?void 0:o.map((function(e){return i("li",null,i("a",{href:e.href,target:e.openInNewWindow?"_blank":"_self",class:"btn btn-link"},e.linkText))}))))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{i18n:["init"],loginDialog:["init"]}},enumerable:false,configurable:true});return e}());L.style=x;var C=u({searchValue:"",autocompleteSuggestions:{},requestAbortController:new AbortController}),_=C.state,S=C.onChange;var E=".siteheader-search a{display:none}@media screen and (min-width: 48em){.siteheader-search a{display:block}}.siteheader-search pn-search-field.button-icon pn-button,.siteheader-search pn-button{display:-ms-inline-flexbox;display:inline-flex}.siteheader-search pn-search-field.button-icon pn-button button,.siteheader-search pn-button button{-ms-flex-item-align:center;align-self:center;padding:0;height:2.3em;width:2.3em;line-height:0;min-height:unset;min-width:unset}.siteheader-search pn-search-field.button-icon pn-button pn-icon,.siteheader-search pn-button pn-icon{margin-left:0}.siteheader-search form{-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:auto;-ms-flex:none;flex:none;display:-ms-flexbox;display:flex;padding:0;margin:0 0 0 0.4rem;position:relative}@media screen and (min-width: 60em){.siteheader-search form{margin-right:1.6rem}}.siteheader-search form pn-search-field{min-width:13.5em}.siteheader-search form pn-search-field .input-container{-ms-flex-item-align:center;align-self:center}.siteheader-search form pn-search-field input{height:auto;min-height:1em;padding:0.6em 0.75em}";var F=e("pn_marketweb_siteheader_search",function(){function e(e){t(this,e);this.showOnlyLink=false;this.hideSearch=false;this.search={};this.primary=false;this.autoCompleteOptions=[]}e.prototype.onSearchValueUpdate=function(){this.getAutocomplete(_.searchValue)};e.prototype.getAutocomplete=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i;return __generator(this,(function(a){switch(a.label){case 0:if(!this.search.AutocompleteEndpoint||e.length<2){this.autoCompleteOptions=[];return[2]}if(_.autocompleteSuggestions[e]){this.setAutocompleteSuggestions(_.autocompleteSuggestions[e]);return[2]}return[4,fetch("".concat(this.search.AutocompleteEndpoint,"?prefix=").concat(e,"&size=10"),{signal:_.requestAbortController.signal}).catch((function(e){console.log("Unable to fetch autocomplete suggestions",e)}))];case 1:t=a.sent();if(!t){return[2]}return[4,t.json()];case 2:n=a.sent();if(!n||!n.hits||!n.hits.length){return[2]}i=n.hits.map((function(e){return e.query}));_.autocompleteSuggestions[e]=i;this.setAutocompleteSuggestions(i);return[2]}}))}))};e.prototype.setAutocompleteSuggestions=function(e){if(typeof e!=="object"||typeof e.length!=="number"||e.length===0){return}this.autoCompleteOptions=e};e.prototype.componentWillLoad=function(){var e=this;S("searchValue",(function(){e.onSearchValueUpdate()}))};e.prototype.componentDidRender=function(){var e=this.hostElement.querySelector("pn-search-field input:not([list])");if(e&&this.search.AutocompleteEndpoint){e.setAttribute("list","siteheader-search-autocomplete")}};e.prototype.render=function(){var e=this;if(!this.search.formActionUrl||this.hideSearch){return}var t=this.search.AutocompleteEndpoint?{list:"siteheader-search-autocomplete"}:{};return i("div",{class:"siteheader-search"},this.showOnlyLink?i("a",{href:this.search.formActionUrl,title:this.i18n.searchlabel},i("pn-button",{appearance:"light",icon:"search"})):i("form",{method:"get",action:this.search.formActionUrl,role:"search"},i("pn-search-field",Object.assign({label:this.i18n.searchlabel,name:"q",button:"icon"},t,{onUpdate:function(e){_.searchValue=e.detail},onSearch:function(){var t=e.hostElement.querySelector("form");if(t){t.submit()}},placeholder:this.i18n.searchplaceholder})),this.primary&&this.search.AutocompleteEndpoint?i("datalist",{id:"siteheader-search-autocomplete"},this.autoCompleteOptions.map((function(e){return i("option",null,e)}))):null))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());F.style=E;var B={sv:{navlabel:"Webbplatsväljare"},en:{navlabel:"Website selector"},da:{navlabel:"Webstedsvælger"},no:{navlabel:"Nettstedsvelger"},fi:{navlabel:"Verkkosivun valitsin"}};var M="pn-site-selector{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;max-height:5.2rem}@media screen and (min-width: 75em){pn-site-selector{display:block}}.siteselector-heading{display:block;padding:0;margin-bottom:1.6rem}@media screen and (min-width: 75em){.siteselector-heading{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-top:0.8rem}}.siteselector-list{list-style:none;margin:0;padding:0}";var O=e("pn_site_selector",function(){function e(e){t(this,e);this.buttontext="postnord";this.heading="PostNord";this.language="sv";this.i18n={navlabel:"Site selector"}}e.prototype.componentWillLoad=function(){this.setLanguage()};e.prototype.setLanguage=function(){if(B[this.language]){this.i18n=B[this.language]}};e.prototype.render=function(){return i(a,null,i("pn-nav-dropdown",{label:this.buttontext,icon:"angle-small-down"},i("nav",{class:"siteselector-nav","aria-label":this.i18n.navlabel},this.heading?i("strong",{class:"siteselector-heading"},this.heading):null,i("ul",{class:"siteselector-list"},i("slot",null)))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());O.style=M;var A="pn-site-selector-item{display:block}pn-site-selector-item>div,pn-site-selector-item>a{padding:0.8rem 0;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;position:relative}.siteselector-item-link{border-radius:0;text-decoration:none;color:#005D92;-ms-flex-direction:row;flex-direction:row}.siteselector-item-link:hover,.siteselector-item-link:focus{background-color:#F3F2F2;color:#005D92;text-decoration:underline;outline:none;-webkit-box-shadow:none;box-shadow:none}.siteselector-item-link:active{background-color:#F3F2F2;color:#00A0D6;outline:none}.siteselector-item-link>span{-ms-flex-positive:1;flex-grow:1}.siteselector-item-link pn-icon{right:3.2rem;height:1.9rem;width:1.9rem;-ms-flex-item-align:center;align-self:center}.siteselector-item-link pn-icon svg{width:100%;height:auto}.siteselector-item-title{display:block}.siteselector-item-description{color:#2D2013;font-size:1.28rem}a:hover>.siteselector-item-description,a:focus>.siteselector-item-description{background-color:#F3F2F2;color:#005D92;text-decoration:underline;outline:none}a:active>.siteselector-item-description{background-color:#F3F2F2;color:#00A0D6;outline:none}";var D=e("pn_site_selector_item",function(){function e(e){t(this,e);this.url="";this.heading="";this.description="";this.newwindow=false}e.prototype.render=function(){return i(a,{role:"listitem"},this.url?i("a",{class:"siteselector-item-link",href:this.url,target:this.newwindow?"_blank":"self",rel:this.newwindow?"nofollow noopener":""},i("span",null,this.heading&&i("span",{class:"siteselector-item-title"},this.heading),this.description&&i("small",{class:"siteselector-item-description"},this.description)),i("pn-icon",{symbol:"angle-small-right",color:"blue700"})):i("div",null,this.heading&&i("span",{class:"siteselector-item-title"},this.heading),this.description&&i("small",{class:"siteselector-item-description"},this.description)))};return e}());D.style=A}}}));
@@ -1 +1 @@
1
- import{r as t,h as e,a as o,g as n}from"./p-cf516409.js";let i=class{constructor(e){t(this,e),this.type="checkbox",this.disabled=!1,this.checked=!1,this.indeterminate=!1}handlechange(){this.indeterminate=!1}componentDidLoad(){this.checkAndSetIndeterminateState()}componentDidUpdate(){this.checkAndSetIndeterminateState()}checkAndSetIndeterminateState(){let t=this.hostElement.querySelector(`#${this.choiceid}`);t&&(t.indeterminate=this.indeterminate)}render(){return e(o,null,e("input",{type:this.type,id:this.choiceid,value:this.value,name:this.name||this.choiceid,disabled:this.disabled,checked:this.checked}),e("label",{htmlFor:this.choiceid,class:"pn-choice-button"},e("slot",null)))}get hostElement(){return n(this)}};i.style="pn-choice-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:none;display:inline-block;background:#fff;position:relative;margin:0.2em 0.4em}pn-choice-button input{opacity:0;position:absolute;top:0;left:0;pointer-events:none;margin:0;width:100%;height:100%}pn-choice-button label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:0.4rem 0.8rem;border:0.1rem solid #D3CECB;color:#005D92;font-weight:500;border-radius:0.8rem;text-align:center;cursor:pointer;-webkit-transition:background 0.2s, -webkit-box-shadow 0.1s;transition:background 0.2s, -webkit-box-shadow 0.1s;transition:box-shadow 0.1s, background 0.2s;transition:box-shadow 0.1s, background 0.2s, -webkit-box-shadow 0.1s}pn-choice-button label pn-illustration{display:inline-block;width:3rem;height:3rem;margin-right:0.9rem}pn-choice-button>input:checked+label.pn-choice-button{background:#E0F8FF;color:#005D92;border-color:#005D92;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13)}pn-choice-button>input:indeterminate+label.pn-choice-button{background:#FFFFFF;color:#005D92}pn-choice-button>input:hover+label.pn-choice-button{background:#E0F8FF}pn-choice-button>input:focus+label.pn-choice-button,pn-choice-button>input:active+label.pn-choice-button{-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92}pn-choice-button>input:active+label.pn-choice-button{background:#8EDDF9}pn-choice-button>input:disabled+label.pn-choice-button{background-color:#D3CECB}pn-choice-button>input:checked+label.pn-choice-button:hover{background:#8EDDF9}pn-choice-button>input:checked+label.pn-choice-button:active{background:#8EDDF9;border:0.1rem solid #00A0D6}";export{i as pn_choice_button}
1
+ import{r as t,h as e,a as o,g as n}from"./p-58e8d7d5.js";let i=class{constructor(e){t(this,e),this.type="checkbox",this.disabled=!1,this.checked=!1,this.indeterminate=!1}handlechange(){this.indeterminate=!1}componentDidLoad(){this.checkAndSetIndeterminateState()}componentDidUpdate(){this.checkAndSetIndeterminateState()}checkAndSetIndeterminateState(){let t=this.hostElement.querySelector(`#${this.choiceid}`);t&&(t.indeterminate=this.indeterminate)}render(){return e(o,null,e("input",{type:this.type,id:this.choiceid,value:this.value,name:this.name||this.choiceid,disabled:this.disabled,checked:this.checked}),e("label",{htmlFor:this.choiceid,class:"pn-choice-button"},e("slot",null)))}get hostElement(){return n(this)}};i.style="pn-choice-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:none;display:inline-block;background:#fff;position:relative;margin:0.2em 0.4em}pn-choice-button input{opacity:0;position:absolute;top:0;left:0;pointer-events:none;margin:0;width:100%;height:100%}pn-choice-button label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:0.4rem 0.8rem;border:0.1rem solid #D3CECB;color:#005D92;font-weight:500;border-radius:0.8rem;text-align:center;cursor:pointer;-webkit-transition:background 0.2s, -webkit-box-shadow 0.1s;transition:background 0.2s, -webkit-box-shadow 0.1s;transition:box-shadow 0.1s, background 0.2s;transition:box-shadow 0.1s, background 0.2s, -webkit-box-shadow 0.1s}pn-choice-button label pn-illustration{display:inline-block;width:3rem;height:3rem;margin-right:0.9rem}pn-choice-button>input:checked+label.pn-choice-button{background:#E0F8FF;color:#005D92;border-color:#005D92;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13)}pn-choice-button>input:indeterminate+label.pn-choice-button{background:#FFFFFF;color:#005D92}pn-choice-button>input:hover+label.pn-choice-button{background:#E0F8FF}pn-choice-button>input:focus+label.pn-choice-button,pn-choice-button>input:active+label.pn-choice-button{-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92}pn-choice-button>input:active+label.pn-choice-button{background:#8EDDF9}pn-choice-button>input:disabled+label.pn-choice-button{background-color:#D3CECB}pn-choice-button>input:checked+label.pn-choice-button:hover{background:#8EDDF9}pn-choice-button>input:checked+label.pn-choice-button:active{background:#8EDDF9;border:0.1rem solid #00A0D6}";export{i as pn_choice_button}
@@ -1 +1 @@
1
- System.register(["./p-ff678bef.system.js"],(function(e){"use strict";var t,n,o,i;return{setters:[function(e){t=e.r;n=e.h;o=e.a;i=e.g}],execute:function(){var c="pn-choice-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:none;display:inline-block;background:#fff;position:relative;margin:0.2em 0.4em}pn-choice-button input{opacity:0;position:absolute;top:0;left:0;pointer-events:none;margin:0;width:100%;height:100%}pn-choice-button label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:0.4rem 0.8rem;border:0.1rem solid #D3CECB;color:#005D92;font-weight:500;border-radius:0.8rem;text-align:center;cursor:pointer;-webkit-transition:background 0.2s, -webkit-box-shadow 0.1s;transition:background 0.2s, -webkit-box-shadow 0.1s;transition:box-shadow 0.1s, background 0.2s;transition:box-shadow 0.1s, background 0.2s, -webkit-box-shadow 0.1s}pn-choice-button label pn-illustration{display:inline-block;width:3rem;height:3rem;margin-right:0.9rem}pn-choice-button>input:checked+label.pn-choice-button{background:#E0F8FF;color:#005D92;border-color:#005D92;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13)}pn-choice-button>input:indeterminate+label.pn-choice-button{background:#FFFFFF;color:#005D92}pn-choice-button>input:hover+label.pn-choice-button{background:#E0F8FF}pn-choice-button>input:focus+label.pn-choice-button,pn-choice-button>input:active+label.pn-choice-button{-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92}pn-choice-button>input:active+label.pn-choice-button{background:#8EDDF9}pn-choice-button>input:disabled+label.pn-choice-button{background-color:#D3CECB}pn-choice-button>input:checked+label.pn-choice-button:hover{background:#8EDDF9}pn-choice-button>input:checked+label.pn-choice-button:active{background:#8EDDF9;border:0.1rem solid #00A0D6}";var r=e("pn_choice_button",function(){function e(e){t(this,e);this.type="checkbox";this.disabled=false;this.checked=false;this.indeterminate=false}e.prototype.handlechange=function(){this.indeterminate=false};e.prototype.componentDidLoad=function(){this.checkAndSetIndeterminateState()};e.prototype.componentDidUpdate=function(){this.checkAndSetIndeterminateState()};e.prototype.checkAndSetIndeterminateState=function(){var e=this.hostElement.querySelector("#".concat(this.choiceid));if(e){e.indeterminate=this.indeterminate}};e.prototype.render=function(){return n(o,null,n("input",{type:this.type,id:this.choiceid,value:this.value,name:this.name||this.choiceid,disabled:this.disabled,checked:this.checked}),n("label",{htmlFor:this.choiceid,class:"pn-choice-button"},n("slot",null)))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());r.style=c}}}));
1
+ System.register(["./p-36654f2a.system.js"],(function(e){"use strict";var t,n,o,i;return{setters:[function(e){t=e.r;n=e.h;o=e.a;i=e.g}],execute:function(){var c="pn-choice-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:none;display:inline-block;background:#fff;position:relative;margin:0.2em 0.4em}pn-choice-button input{opacity:0;position:absolute;top:0;left:0;pointer-events:none;margin:0;width:100%;height:100%}pn-choice-button label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:0.4rem 0.8rem;border:0.1rem solid #D3CECB;color:#005D92;font-weight:500;border-radius:0.8rem;text-align:center;cursor:pointer;-webkit-transition:background 0.2s, -webkit-box-shadow 0.1s;transition:background 0.2s, -webkit-box-shadow 0.1s;transition:box-shadow 0.1s, background 0.2s;transition:box-shadow 0.1s, background 0.2s, -webkit-box-shadow 0.1s}pn-choice-button label pn-illustration{display:inline-block;width:3rem;height:3rem;margin-right:0.9rem}pn-choice-button>input:checked+label.pn-choice-button{background:#E0F8FF;color:#005D92;border-color:#005D92;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13)}pn-choice-button>input:indeterminate+label.pn-choice-button{background:#FFFFFF;color:#005D92}pn-choice-button>input:hover+label.pn-choice-button{background:#E0F8FF}pn-choice-button>input:focus+label.pn-choice-button,pn-choice-button>input:active+label.pn-choice-button{-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92}pn-choice-button>input:active+label.pn-choice-button{background:#8EDDF9}pn-choice-button>input:disabled+label.pn-choice-button{background-color:#D3CECB}pn-choice-button>input:checked+label.pn-choice-button:hover{background:#8EDDF9}pn-choice-button>input:checked+label.pn-choice-button:active{background:#8EDDF9;border:0.1rem solid #00A0D6}";var r=e("pn_choice_button",function(){function e(e){t(this,e);this.type="checkbox";this.disabled=false;this.checked=false;this.indeterminate=false}e.prototype.handlechange=function(){this.indeterminate=false};e.prototype.componentDidLoad=function(){this.checkAndSetIndeterminateState()};e.prototype.componentDidUpdate=function(){this.checkAndSetIndeterminateState()};e.prototype.checkAndSetIndeterminateState=function(){var e=this.hostElement.querySelector("#".concat(this.choiceid));if(e){e.indeterminate=this.indeterminate}};e.prototype.render=function(){return n(o,null,n("input",{type:this.type,id:this.choiceid,value:this.value,name:this.name||this.choiceid,disabled:this.disabled,checked:this.checked}),n("label",{htmlFor:this.choiceid,class:"pn-choice-button"},n("slot",null)))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());r.style=c}}}));
@@ -1 +1 @@
1
- import{r as e,h as s,a as t,g as i}from"./p-cf516409.js";import{s as a,o as n}from"./p-15836764.js";import"./p-ad5b20ce.js";let h=class{constructor(s){e(this,s),this.level=1,this.levelId="",this.isOpen=!1,this.parentName="",this.parentHref="",this.parentLinkId="",this.alignment="right"}async componentWillLoad(){const e=this.hostElement.parentElement;if("nav"!==e.tagName.toLowerCase()&&(this.level=2),"pn-sidenav-link"===e.tagName.toLowerCase()){this.parentName=e.getAttribute("name")+"",this.parentHref=e.getAttribute("href")+"",this.parentLinkId=e.getAttribute("linkid")+"";const s=this.parentName.toLowerCase().replace(/\W/gi,"_");this.levelId=`sidenav-lvl${this.level}-${s}`,e.getAttribute("current")+""=="true"&&(a.openLevel=this.levelId,this.onChangeOpenLevel())}n("openLevel",(()=>{this.onChangeOpenLevel()}))}onOpen(){}onChangeOpenLevel(){this.isOpen=a.openLevel===this.levelId}render(){var e;const i={"aria-hidden":this.level>1?!this.isOpen+"":null,"data-level":this.level+"",id:null!==(e=this.levelId)&&void 0!==e?e:""};return s(t,Object.assign({},i,{"data-asdfasdf":this.isOpen}),s("slot",null))}get hostElement(){return i(this)}static get watchers(){return{isOpen:["onOpen"]}}};h.style='pn-sidenav-level{display:block;-ms-flex-preferred-size:100%;flex-basis:100%}pn-sidenav-level[data-level="2"]{padding-left:2.5em;overflow:hidden;-webkit-transition:max-height ease 0.2s;transition:max-height ease 0.2s;max-height:40em}pn-sidenav-level[data-level="2"][aria-hidden=true]{max-height:0}';export{h as pn_sidenav_level}
1
+ import{r as e,h as s,a as t,g as i}from"./p-58e8d7d5.js";import{s as a,o as n}from"./p-bb626ab4.js";import"./p-86f06e26.js";let h=class{constructor(s){e(this,s),this.level=1,this.levelId="",this.isOpen=!1,this.parentName="",this.parentHref="",this.parentLinkId="",this.alignment="right"}async componentWillLoad(){const e=this.hostElement.parentElement;if("nav"!==e.tagName.toLowerCase()&&(this.level=2),"pn-sidenav-link"===e.tagName.toLowerCase()){this.parentName=e.getAttribute("name")+"",this.parentHref=e.getAttribute("href")+"",this.parentLinkId=e.getAttribute("linkid")+"";const s=this.parentName.toLowerCase().replace(/\W/gi,"_");this.levelId=`sidenav-lvl${this.level}-${s}`,e.getAttribute("current")+""=="true"&&(a.openLevel=this.levelId,this.onChangeOpenLevel())}n("openLevel",(()=>{this.onChangeOpenLevel()}))}onOpen(){}onChangeOpenLevel(){this.isOpen=a.openLevel===this.levelId}render(){var e;const i={"aria-hidden":this.level>1?!this.isOpen+"":null,"data-level":this.level+"",id:null!==(e=this.levelId)&&void 0!==e?e:""};return s(t,Object.assign({},i,{"data-asdfasdf":this.isOpen}),s("slot",null))}get hostElement(){return i(this)}static get watchers(){return{isOpen:["onOpen"]}}};h.style='pn-sidenav-level{display:block;-ms-flex-preferred-size:100%;flex-basis:100%}pn-sidenav-level[data-level="2"]{padding-left:2.5em;overflow:hidden;-webkit-transition:max-height ease 0.2s;transition:max-height ease 0.2s;max-height:40em}pn-sidenav-level[data-level="2"][aria-hidden=true]{max-height:0}';export{h as pn_sidenav_level}
@@ -1 +1 @@
1
- System.register(["./p-ff678bef.system.js"],(function(e){"use strict";var t,o,n,i;return{setters:[function(e){t=e.r;o=e.h;n=e.a;i=e.g}],execute:function(){var c=":host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host input{opacity:0;position:absolute}:host input[type=checkbox]+label.pn-checkbox{width:1.5em;min-width:1.5em;height:1.5em;min-height:1.5em;background:#fff;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:relative;border:0.1rem solid #969087;cursor:pointer;border-radius:0.4rem;cursor:pointer;-webkit-transition-duration:220ms;transition-duration:220ms;-webkit-transition-timing-function:cubic-bezier(0.79, 0.14, 0.15, 0.86);transition-timing-function:cubic-bezier(0.79, 0.14, 0.15, 0.86);-webkit-transition-property:border, background, -webkit-box-shadow;transition-property:border, background, -webkit-box-shadow;transition-property:border, background, box-shadow;transition-property:border, background, box-shadow, -webkit-box-shadow}:host input[type=checkbox]+label.pn-checkbox svg{width:80%;fill:none}:host input[type=checkbox]+label.pn-checkbox svg polyline{stroke:#FFF;-webkit-transform-origin:0 0;transform-origin:0 0;stroke-linecap:round;stroke-dasharray:23;stroke-dashoffset:23;-webkit-transition-delay:none;transition-delay:none;-webkit-transition:stroke-dashoffset 180ms cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:stroke-dashoffset 180ms cubic-bezier(0.79, 0.14, 0.15, 0.86)}:host input[type=checkbox]:hover+label.pn-checkbox{border:0.1rem solid #005D92;background:#E0F8FF}:host input[type=checkbox]:checked+label.pn-checkbox,:host input[type=checkbox]:indeterminate+label.pn-checkbox{background:#005D92;border:0.1rem solid #005D92}:host input[type=checkbox]:checked+label.pn-checkbox svg polyline,:host input[type=checkbox]:indeterminate+label.pn-checkbox svg polyline{-webkit-transition-delay:220ms;transition-delay:220ms}:host input[type=checkbox]:checked+label.pn-checkbox svg polyline.checkmark-path{stroke-dashoffset:0}:host input[type=checkbox]:indeterminate+label.pn-checkbox svg polyline.indeterminate-path{stroke-dashoffset:0}:host input[type=checkbox]:focus+label.pn-checkbox,:host input[type=checkbox]:active+label.pn-checkbox{-webkit-box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92;box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92}:host input[type=checkbox]:disabled+label.pn-checkbox{background-color:#D3CECB;border:0.1rem solid #969087;cursor:not-allowed}:host input[type=checkbox]:disabled+label.pn-checkbox svg polyline{stroke:#969087}:host input[type=checkbox]:disabled:checked+label.pn-checkbox{border:0.1rem solid transparent}:host input[type=checkbox]:disabled:active+label.pn-checkbox{-webkit-box-shadow:none;box-shadow:none}";var s=e("pn_filter_checkbox",function(){function e(e){t(this,e);this.disabled=false;this.checked=false;this.indeterminate=false}e.prototype.handlechange=function(){this.indeterminate=false};e.prototype.componentDidLoad=function(){this.checkAndSetIndeterminateState();this.bindEvents()};e.prototype.componentDidUpdate=function(){this.checkAndSetIndeterminateState()};e.prototype.bindEvents=function(){var e=this;var t=document.querySelectorAll('label[for="'+this.checkboxid+'"]');t.forEach((function(t){t.addEventListener("click",(function(){e.hostElement.shadowRoot.querySelector("label").click()}))}));var o=this.hostElement.shadowRoot.querySelector("input");o.addEventListener("change",this.onCheckboxChange.bind(this,o))};e.prototype.onCheckboxChange=function(e){var t=this.hostElement.querySelector("input.hidden-"+this.checkboxid);if(t){t.value=e.checked?this.value:"";t.dispatchEvent(new CustomEvent("change",{detail:t}))}};e.prototype.checkAndSetIndeterminateState=function(){var e=this.hostElement.querySelector("#".concat(this.checkboxid));if(e){e.indeterminate=this.indeterminate}};e.prototype.renderInputOutsideShadowRoot=function(){var e;var t=this.hostElement.querySelector("input.hidden-"+this.checkboxid);if(!t){t=this.hostElement.ownerDocument.createElement("input");t.type="hidden";t.classList.add("hidden-"+this.checkboxid);this.hostElement.appendChild(t)}t.name=(e=this.name)!==null&&e!==void 0?e:this.checkboxid};e.prototype.render=function(){this.renderInputOutsideShadowRoot();return o(n,{checked:this.checked,id:this.checkboxid},o("input",{type:"checkbox",id:this.checkboxid,value:this.value,name:this.name||this.checkboxid,disabled:this.disabled,checked:this.checked}),o("label",{htmlFor:this.checkboxid,class:"pn-checkbox"},o("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none"},o("polyline",{class:"checkmark-path",points:"4,12 9,17 20,6","stroke-width":"3"}),o("polyline",{class:"indeterminate-path",points:"4,12 20,12","stroke-width":"3"}))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());s.style=c}}}));
1
+ System.register(["./p-36654f2a.system.js"],(function(e){"use strict";var t,o,n,i;return{setters:[function(e){t=e.r;o=e.h;n=e.a;i=e.g}],execute:function(){var c=":host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host input{opacity:0;position:absolute}:host input[type=checkbox]+label.pn-checkbox{width:1.5em;min-width:1.5em;height:1.5em;min-height:1.5em;background:#fff;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:relative;border:0.1rem solid #969087;cursor:pointer;border-radius:0.4rem;cursor:pointer;-webkit-transition-duration:220ms;transition-duration:220ms;-webkit-transition-timing-function:cubic-bezier(0.79, 0.14, 0.15, 0.86);transition-timing-function:cubic-bezier(0.79, 0.14, 0.15, 0.86);-webkit-transition-property:border, background, -webkit-box-shadow;transition-property:border, background, -webkit-box-shadow;transition-property:border, background, box-shadow;transition-property:border, background, box-shadow, -webkit-box-shadow}:host input[type=checkbox]+label.pn-checkbox svg{width:80%;fill:none}:host input[type=checkbox]+label.pn-checkbox svg polyline{stroke:#FFF;-webkit-transform-origin:0 0;transform-origin:0 0;stroke-linecap:round;stroke-dasharray:23;stroke-dashoffset:23;-webkit-transition-delay:none;transition-delay:none;-webkit-transition:stroke-dashoffset 180ms cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:stroke-dashoffset 180ms cubic-bezier(0.79, 0.14, 0.15, 0.86)}:host input[type=checkbox]:hover+label.pn-checkbox{border:0.1rem solid #005D92;background:#E0F8FF}:host input[type=checkbox]:checked+label.pn-checkbox,:host input[type=checkbox]:indeterminate+label.pn-checkbox{background:#005D92;border:0.1rem solid #005D92}:host input[type=checkbox]:checked+label.pn-checkbox svg polyline,:host input[type=checkbox]:indeterminate+label.pn-checkbox svg polyline{-webkit-transition-delay:220ms;transition-delay:220ms}:host input[type=checkbox]:checked+label.pn-checkbox svg polyline.checkmark-path{stroke-dashoffset:0}:host input[type=checkbox]:indeterminate+label.pn-checkbox svg polyline.indeterminate-path{stroke-dashoffset:0}:host input[type=checkbox]:focus+label.pn-checkbox,:host input[type=checkbox]:active+label.pn-checkbox{-webkit-box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92;box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92}:host input[type=checkbox]:disabled+label.pn-checkbox{background-color:#D3CECB;border:0.1rem solid #969087;cursor:not-allowed}:host input[type=checkbox]:disabled+label.pn-checkbox svg polyline{stroke:#969087}:host input[type=checkbox]:disabled:checked+label.pn-checkbox{border:0.1rem solid transparent}:host input[type=checkbox]:disabled:active+label.pn-checkbox{-webkit-box-shadow:none;box-shadow:none}";var s=e("pn_filter_checkbox",function(){function e(e){t(this,e);this.disabled=false;this.checked=false;this.indeterminate=false}e.prototype.handlechange=function(){this.indeterminate=false};e.prototype.componentDidLoad=function(){this.checkAndSetIndeterminateState();this.bindEvents()};e.prototype.componentDidUpdate=function(){this.checkAndSetIndeterminateState()};e.prototype.bindEvents=function(){var e=this;var t=document.querySelectorAll('label[for="'+this.checkboxid+'"]');t.forEach((function(t){t.addEventListener("click",(function(){e.hostElement.shadowRoot.querySelector("label").click()}))}));var o=this.hostElement.shadowRoot.querySelector("input");o.addEventListener("change",this.onCheckboxChange.bind(this,o))};e.prototype.onCheckboxChange=function(e){var t=this.hostElement.querySelector("input.hidden-"+this.checkboxid);if(t){t.value=e.checked?this.value:"";t.dispatchEvent(new CustomEvent("change",{detail:t}))}};e.prototype.checkAndSetIndeterminateState=function(){var e=this.hostElement.querySelector("#".concat(this.checkboxid));if(e){e.indeterminate=this.indeterminate}};e.prototype.renderInputOutsideShadowRoot=function(){var e;var t=this.hostElement.querySelector("input.hidden-"+this.checkboxid);if(!t){t=this.hostElement.ownerDocument.createElement("input");t.type="hidden";t.classList.add("hidden-"+this.checkboxid);this.hostElement.appendChild(t)}t.name=(e=this.name)!==null&&e!==void 0?e:this.checkboxid};e.prototype.render=function(){this.renderInputOutsideShadowRoot();return o(n,{checked:this.checked,id:this.checkboxid},o("input",{type:"checkbox",id:this.checkboxid,value:this.value,name:this.name||this.checkboxid,disabled:this.disabled,checked:this.checked}),o("label",{htmlFor:this.checkboxid,class:"pn-checkbox"},o("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none"},o("polyline",{class:"checkmark-path",points:"4,12 9,17 20,6","stroke-width":"3"}),o("polyline",{class:"indeterminate-path",points:"4,12 20,12","stroke-width":"3"}))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());s.style=c}}}));