@pine-ds/core 0.2.0 → 0.2.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 (310) hide show
  1. package/components/index2.js +3 -4
  2. package/components/index2.js.map +1 -1
  3. package/components/pds-accordion.js +9 -3
  4. package/components/pds-accordion.js.map +1 -1
  5. package/components/pds-avatar.js +1 -1
  6. package/components/pds-icon2.js +1 -1
  7. package/components/pds-icon2.js.map +1 -1
  8. package/components/pds-link.js +1 -1
  9. package/components/pds-link.js.map +1 -1
  10. package/dist/cjs/{index-3aab9699.js → index-968864bf.js} +3 -5
  11. package/dist/cjs/index-968864bf.js.map +1 -0
  12. package/dist/cjs/{index-4cd639bf.js → index-9b7c547c.js} +15 -3
  13. package/dist/cjs/index-9b7c547c.js.map +1 -0
  14. package/dist/cjs/loader.cjs.js +1 -1
  15. package/dist/cjs/pds-accordion.cjs.entry.js +10 -4
  16. package/dist/cjs/pds-accordion.cjs.entry.js.map +1 -1
  17. package/dist/cjs/pds-avatar.cjs.entry.js +2 -2
  18. package/dist/cjs/pds-box.cjs.entry.js +1 -1
  19. package/dist/cjs/pds-button.cjs.entry.js +1 -1
  20. package/dist/cjs/pds-checkbox_2.cjs.entry.js +2 -2
  21. package/dist/cjs/pds-chip.cjs.entry.js +1 -1
  22. package/dist/cjs/pds-copytext.cjs.entry.js +1 -1
  23. package/dist/cjs/pds-divider.cjs.entry.js +1 -1
  24. package/dist/cjs/pds-icon.cjs.entry.js +2 -2
  25. package/dist/cjs/pds-icon.cjs.entry.js.map +1 -1
  26. package/dist/cjs/pds-image.cjs.entry.js +1 -1
  27. package/dist/cjs/pds-input.cjs.entry.js +2 -2
  28. package/dist/cjs/{pds-label-c988430d.js → pds-label-b30f3c13.js} +2 -2
  29. package/dist/cjs/{pds-label-c988430d.js.map → pds-label-b30f3c13.js.map} +1 -1
  30. package/dist/cjs/pds-link.cjs.entry.js +3 -3
  31. package/dist/cjs/pds-link.cjs.entry.js.map +1 -1
  32. package/dist/cjs/pds-progress.cjs.entry.js +1 -1
  33. package/dist/cjs/pds-radio.cjs.entry.js +2 -2
  34. package/dist/cjs/pds-row.cjs.entry.js +1 -1
  35. package/dist/cjs/pds-sortable-item.cjs.entry.js +1 -1
  36. package/dist/cjs/pds-sortable.cjs.entry.js +1 -1
  37. package/dist/cjs/pds-switch.cjs.entry.js +2 -2
  38. package/dist/cjs/pds-tab.cjs.entry.js +1 -1
  39. package/dist/cjs/pds-table-body.cjs.entry.js +1 -1
  40. package/dist/cjs/pds-table-head-cell.cjs.entry.js +1 -1
  41. package/dist/cjs/pds-table-head.cjs.entry.js +1 -1
  42. package/dist/cjs/pds-table-row.cjs.entry.js +1 -1
  43. package/dist/cjs/pds-table.cjs.entry.js +1 -1
  44. package/dist/cjs/pds-tabpanel.cjs.entry.js +1 -1
  45. package/dist/cjs/pds-tabs.cjs.entry.js +1 -1
  46. package/dist/cjs/pds-textarea.cjs.entry.js +2 -2
  47. package/dist/cjs/pds-tooltip.cjs.entry.js +1 -1
  48. package/dist/cjs/pine-core.cjs.js +2 -2
  49. package/dist/cjs/pine-core.cjs.js.map +1 -1
  50. package/dist/collection/collection-manifest.json +2 -2
  51. package/dist/collection/components/pds-accordion/pds-accordion.css +24 -1
  52. package/dist/collection/components/pds-accordion/pds-accordion.js +8 -2
  53. package/dist/collection/components/pds-accordion/pds-accordion.js.map +1 -1
  54. package/dist/collection/components/pds-link/pds-link.css +4 -3
  55. package/dist/docs.json +3 -3
  56. package/dist/esm/{index-09d6e504.js → index-5e54ea50.js} +15 -3
  57. package/dist/esm/index-5e54ea50.js.map +1 -0
  58. package/dist/esm/{index-acbaa5e7.js → index-9835dc94.js} +4 -5
  59. package/dist/esm/index-9835dc94.js.map +1 -0
  60. package/dist/esm/loader.js +2 -2
  61. package/dist/esm/pds-accordion.entry.js +10 -4
  62. package/dist/esm/pds-accordion.entry.js.map +1 -1
  63. package/dist/esm/pds-avatar.entry.js +2 -2
  64. package/dist/esm/pds-box.entry.js +1 -1
  65. package/dist/esm/pds-button.entry.js +1 -1
  66. package/dist/esm/pds-checkbox_2.entry.js +2 -2
  67. package/dist/esm/pds-chip.entry.js +1 -1
  68. package/dist/esm/pds-copytext.entry.js +1 -1
  69. package/dist/esm/pds-divider.entry.js +1 -1
  70. package/dist/esm/pds-icon.entry.js +2 -2
  71. package/dist/esm/pds-icon.entry.js.map +1 -1
  72. package/dist/esm/pds-image.entry.js +1 -1
  73. package/dist/esm/pds-input.entry.js +2 -2
  74. package/dist/esm/{pds-label-ea621e18.js → pds-label-39814469.js} +2 -2
  75. package/dist/esm/{pds-label-ea621e18.js.map → pds-label-39814469.js.map} +1 -1
  76. package/dist/esm/pds-link.entry.js +3 -3
  77. package/dist/esm/pds-link.entry.js.map +1 -1
  78. package/dist/esm/pds-progress.entry.js +1 -1
  79. package/dist/esm/pds-radio.entry.js +2 -2
  80. package/dist/esm/pds-row.entry.js +1 -1
  81. package/dist/esm/pds-sortable-item.entry.js +1 -1
  82. package/dist/esm/pds-sortable.entry.js +1 -1
  83. package/dist/esm/pds-switch.entry.js +2 -2
  84. package/dist/esm/pds-tab.entry.js +1 -1
  85. package/dist/esm/pds-table-body.entry.js +1 -1
  86. package/dist/esm/pds-table-head-cell.entry.js +1 -1
  87. package/dist/esm/pds-table-head.entry.js +1 -1
  88. package/dist/esm/pds-table-row.entry.js +1 -1
  89. package/dist/esm/pds-table.entry.js +1 -1
  90. package/dist/esm/pds-tabpanel.entry.js +1 -1
  91. package/dist/esm/pds-tabs.entry.js +1 -1
  92. package/dist/esm/pds-textarea.entry.js +2 -2
  93. package/dist/esm/pds-tooltip.entry.js +1 -1
  94. package/dist/esm/pine-core.js +3 -3
  95. package/dist/esm/pine-core.js.map +1 -1
  96. package/dist/esm-es5/index-5e54ea50.js +3 -0
  97. package/dist/esm-es5/index-5e54ea50.js.map +1 -0
  98. package/dist/esm-es5/{index-acbaa5e7.js → index-9835dc94.js} +2 -2
  99. package/dist/esm-es5/index-9835dc94.js.map +1 -0
  100. package/dist/esm-es5/loader.js +1 -1
  101. package/dist/esm-es5/pds-accordion.entry.js +1 -1
  102. package/dist/esm-es5/pds-accordion.entry.js.map +1 -1
  103. package/dist/esm-es5/pds-avatar.entry.js +1 -1
  104. package/dist/esm-es5/pds-box.entry.js +1 -1
  105. package/dist/esm-es5/pds-button.entry.js +1 -1
  106. package/dist/esm-es5/pds-checkbox_2.entry.js +1 -1
  107. package/dist/esm-es5/pds-chip.entry.js +1 -1
  108. package/dist/esm-es5/pds-copytext.entry.js +1 -1
  109. package/dist/esm-es5/pds-divider.entry.js +1 -1
  110. package/dist/esm-es5/pds-icon.entry.js +1 -1
  111. package/dist/esm-es5/pds-icon.entry.js.map +1 -1
  112. package/dist/esm-es5/pds-image.entry.js +1 -1
  113. package/dist/esm-es5/pds-input.entry.js +1 -1
  114. package/dist/esm-es5/{pds-label-ea621e18.js → pds-label-39814469.js} +2 -2
  115. package/dist/esm-es5/pds-link.entry.js +1 -1
  116. package/dist/esm-es5/pds-link.entry.js.map +1 -1
  117. package/dist/esm-es5/pds-progress.entry.js +1 -1
  118. package/dist/esm-es5/pds-radio.entry.js +1 -1
  119. package/dist/esm-es5/pds-row.entry.js +1 -1
  120. package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
  121. package/dist/esm-es5/pds-sortable.entry.js +1 -1
  122. package/dist/esm-es5/pds-switch.entry.js +1 -1
  123. package/dist/esm-es5/pds-tab.entry.js +1 -1
  124. package/dist/esm-es5/pds-table-body.entry.js +1 -1
  125. package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
  126. package/dist/esm-es5/pds-table-head.entry.js +1 -1
  127. package/dist/esm-es5/pds-table-row.entry.js +1 -1
  128. package/dist/esm-es5/pds-table.entry.js +1 -1
  129. package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
  130. package/dist/esm-es5/pds-tabs.entry.js +1 -1
  131. package/dist/esm-es5/pds-textarea.entry.js +1 -1
  132. package/dist/esm-es5/pds-tooltip.entry.js +1 -1
  133. package/dist/esm-es5/pine-core.js +1 -1
  134. package/dist/esm-es5/pine-core.js.map +1 -1
  135. package/dist/pine-core/{p-4b3e96c0.system.entry.js → p-02ff0a87.system.entry.js} +2 -2
  136. package/dist/pine-core/{p-671527a0.entry.js → p-08c496ee.entry.js} +2 -2
  137. package/dist/pine-core/{p-ea131385.system.entry.js → p-0b4a3e15.system.entry.js} +2 -2
  138. package/dist/pine-core/{p-41ca8678.system.entry.js → p-1176b1ae.system.entry.js} +2 -2
  139. package/dist/pine-core/{p-e8b02bb3.system.entry.js → p-19cb2923.system.entry.js} +2 -2
  140. package/dist/pine-core/{p-76dd047d.entry.js → p-1a8582cd.entry.js} +2 -2
  141. package/dist/pine-core/{p-c1c8ded7.entry.js → p-1acdba43.entry.js} +2 -2
  142. package/dist/pine-core/{p-136ac055.system.js → p-2ca5f853.system.js} +2 -2
  143. package/dist/pine-core/p-2ca5f853.system.js.map +1 -0
  144. package/dist/pine-core/{p-48669610.system.entry.js → p-2e9881db.system.entry.js} +2 -2
  145. package/dist/pine-core/p-36a8c980.system.entry.js +2 -0
  146. package/dist/pine-core/p-36a8c980.system.entry.js.map +1 -0
  147. package/dist/pine-core/{p-c29d23a4.entry.js → p-37977a94.entry.js} +2 -2
  148. package/dist/pine-core/p-394e00a2.entry.js +2 -0
  149. package/dist/pine-core/p-394e00a2.entry.js.map +1 -0
  150. package/dist/pine-core/{p-7275ec39.entry.js → p-395cf3d0.entry.js} +2 -2
  151. package/dist/pine-core/p-445792b5.system.js +3 -0
  152. package/dist/pine-core/p-445792b5.system.js.map +1 -0
  153. package/dist/pine-core/{p-daba2a44.system.entry.js → p-44be28a1.system.entry.js} +2 -2
  154. package/dist/pine-core/{p-c15b86e9.js → p-450da80f.js} +2 -2
  155. package/dist/pine-core/p-450da80f.js.map +1 -0
  156. package/dist/pine-core/p-452d82a8.system.entry.js +2 -0
  157. package/dist/pine-core/p-452d82a8.system.entry.js.map +1 -0
  158. package/dist/pine-core/{p-151aafa9.entry.js → p-46d00870.entry.js} +2 -2
  159. package/dist/pine-core/{p-0b0d7886.system.js → p-480a95e5.system.js} +2 -2
  160. package/dist/pine-core/{p-0b0d7886.system.js.map → p-480a95e5.system.js.map} +1 -1
  161. package/dist/pine-core/{p-f32db55d.system.entry.js → p-483b873b.system.entry.js} +2 -2
  162. package/dist/pine-core/{p-2e531f68.entry.js → p-4b5956a3.entry.js} +2 -2
  163. package/dist/pine-core/{p-341eb1ee.system.entry.js → p-4f3c9367.system.entry.js} +2 -2
  164. package/dist/pine-core/{p-1e8a1f31.system.entry.js → p-50222d44.system.entry.js} +2 -2
  165. package/dist/pine-core/{p-45160e15.entry.js → p-525195d2.entry.js} +2 -2
  166. package/dist/pine-core/{p-25cf60f1.system.entry.js → p-5729cd96.system.entry.js} +2 -2
  167. package/dist/pine-core/{p-3b3f8185.entry.js → p-5eb56ebf.entry.js} +2 -2
  168. package/dist/pine-core/{p-aa285167.entry.js → p-6a7259df.entry.js} +2 -2
  169. package/dist/pine-core/p-722c93b9.entry.js +2 -0
  170. package/dist/pine-core/p-722c93b9.entry.js.map +1 -0
  171. package/dist/pine-core/{p-e411498b.entry.js → p-752dfaa6.entry.js} +2 -2
  172. package/dist/pine-core/p-780136bd.entry.js +2 -0
  173. package/dist/pine-core/p-780136bd.entry.js.map +1 -0
  174. package/dist/pine-core/{p-f544d96d.entry.js → p-7835a3e2.entry.js} +2 -2
  175. package/dist/pine-core/{p-fe4fb39f.entry.js → p-7e75c2e3.entry.js} +2 -2
  176. package/dist/pine-core/{p-a49d36be.entry.js → p-820c8929.entry.js} +2 -2
  177. package/dist/pine-core/{p-57a0a6c5.entry.js → p-869e7901.entry.js} +2 -2
  178. package/dist/pine-core/{p-485d225c.entry.js → p-8cad6b7a.entry.js} +2 -2
  179. package/dist/pine-core/{p-eeaa22fa.entry.js → p-93dd9bc7.entry.js} +2 -2
  180. package/dist/pine-core/{p-be64d326.system.entry.js → p-99e033f1.system.entry.js} +2 -2
  181. package/dist/pine-core/{p-95958653.entry.js → p-9a89fdb8.entry.js} +2 -2
  182. package/dist/pine-core/{p-315a1809.system.entry.js → p-a0368388.system.entry.js} +2 -2
  183. package/dist/pine-core/{p-0a62887c.system.entry.js → p-a3c3dae3.system.entry.js} +2 -2
  184. package/dist/pine-core/{p-7cd9020d.entry.js → p-aaced44a.entry.js} +2 -2
  185. package/dist/pine-core/{p-bb0f674a.system.entry.js → p-b851f394.system.entry.js} +2 -2
  186. package/dist/pine-core/{p-2dd4eacc.system.entry.js → p-c04fb6c0.system.entry.js} +2 -2
  187. package/dist/pine-core/{p-4b7083de.entry.js → p-c0713e59.entry.js} +2 -2
  188. package/dist/pine-core/{p-a219ad37.system.entry.js → p-c0c0038a.system.entry.js} +2 -2
  189. package/dist/pine-core/{p-fe79bcc0.system.entry.js → p-c20075a6.system.entry.js} +2 -2
  190. package/dist/pine-core/{p-770e1547.system.entry.js → p-c6448545.system.entry.js} +2 -2
  191. package/dist/pine-core/{p-87cc56ab.entry.js → p-c707d9d0.entry.js} +2 -2
  192. package/dist/pine-core/{p-17ba6ff2.js → p-caa88065.js} +2 -2
  193. package/dist/pine-core/{p-7c8acdb3.system.entry.js → p-cbe37d9d.system.entry.js} +2 -2
  194. package/dist/pine-core/{p-c834304b.entry.js → p-ccb0d9ee.entry.js} +2 -2
  195. package/dist/pine-core/{p-20e8c2e6.system.entry.js → p-ce887d74.system.entry.js} +2 -2
  196. package/dist/pine-core/{p-cfa7ba93.entry.js → p-d3fe5de5.entry.js} +2 -2
  197. package/dist/pine-core/{p-9fd21396.system.entry.js → p-d7606cb1.system.entry.js} +2 -2
  198. package/dist/pine-core/{p-c5ada91d.system.entry.js → p-df656817.system.entry.js} +2 -2
  199. package/dist/pine-core/{p-c88139ec.system.entry.js → p-e20cf701.system.entry.js} +2 -2
  200. package/dist/pine-core/p-e74f35bd.js +3 -0
  201. package/dist/pine-core/p-e74f35bd.js.map +1 -0
  202. package/dist/pine-core/p-e7ea6002.system.entry.js +2 -0
  203. package/dist/pine-core/p-e7ea6002.system.entry.js.map +1 -0
  204. package/dist/pine-core/{p-11b9aebc.system.entry.js → p-f30b2078.system.entry.js} +2 -2
  205. package/dist/pine-core/{p-c68421c3.entry.js → p-f403ff37.entry.js} +2 -2
  206. package/dist/pine-core/{p-4da2e899.system.js → p-f5826ecc.system.js} +2 -2
  207. package/dist/pine-core/{p-8cc2e2f8.entry.js → p-f72dc7fd.entry.js} +2 -2
  208. package/dist/pine-core/{p-0bcc6945.system.entry.js → p-fe949ea3.system.entry.js} +2 -2
  209. package/dist/pine-core/pine-core.esm.js +1 -1
  210. package/dist/pine-core/pine-core.esm.js.map +1 -1
  211. package/dist/pine-core/pine-core.js +1 -1
  212. package/dist/pine-core/svg/add-square.svg +1 -0
  213. package/dist/pine-core/svg/block.svg +1 -0
  214. package/dist/pine-core/svg/button.svg +1 -0
  215. package/dist/pine-core/svg/code-block.svg +1 -0
  216. package/dist/pine-core/svg/floppy-disk.svg +1 -0
  217. package/dist/pine-core/svg/fullscreen.svg +1 -1
  218. package/dist/pine-core/svg/heading-1.svg +1 -0
  219. package/dist/pine-core/svg/heading-2.svg +1 -0
  220. package/dist/pine-core/svg/heading-3.svg +1 -0
  221. package/dist/pine-core/svg/heading-4.svg +1 -0
  222. package/dist/pine-core/svg/heading-5.svg +1 -0
  223. package/dist/pine-core/svg/heading-6.svg +1 -0
  224. package/dist/pine-core/svg/heading-small.svg +1 -1
  225. package/dist/pine-core/svg/list-numbers.svg +1 -1
  226. package/dist/pine-core/svg/redo.svg +1 -1
  227. package/dist/pine-core/svg/sales-filled.svg +1 -1
  228. package/dist/pine-core/svg/sales-outline.svg +1 -1
  229. package/dist/pine-core/svg/user-filled.svg +1 -1
  230. package/dist/types/components/pds-accordion/pds-accordion.d.ts +1 -0
  231. package/hydrate/index.js +41 -22
  232. package/package.json +3 -3
  233. package/dist/cjs/index-3aab9699.js.map +0 -1
  234. package/dist/cjs/index-4cd639bf.js.map +0 -1
  235. package/dist/esm/index-09d6e504.js.map +0 -1
  236. package/dist/esm/index-acbaa5e7.js.map +0 -1
  237. package/dist/esm-es5/index-09d6e504.js +0 -3
  238. package/dist/esm-es5/index-09d6e504.js.map +0 -1
  239. package/dist/esm-es5/index-acbaa5e7.js.map +0 -1
  240. package/dist/pine-core/p-136ac055.system.js.map +0 -1
  241. package/dist/pine-core/p-24f4102e.system.entry.js +0 -2
  242. package/dist/pine-core/p-24f4102e.system.entry.js.map +0 -1
  243. package/dist/pine-core/p-280eca34.system.entry.js +0 -2
  244. package/dist/pine-core/p-280eca34.system.entry.js.map +0 -1
  245. package/dist/pine-core/p-7248b927.entry.js +0 -2
  246. package/dist/pine-core/p-7248b927.entry.js.map +0 -1
  247. package/dist/pine-core/p-87b363c8.entry.js +0 -2
  248. package/dist/pine-core/p-87b363c8.entry.js.map +0 -1
  249. package/dist/pine-core/p-b4226e23.system.entry.js +0 -2
  250. package/dist/pine-core/p-b4226e23.system.entry.js.map +0 -1
  251. package/dist/pine-core/p-b5b5ce83.js +0 -3
  252. package/dist/pine-core/p-b5b5ce83.js.map +0 -1
  253. package/dist/pine-core/p-c15b86e9.js.map +0 -1
  254. package/dist/pine-core/p-c563d4e7.system.js +0 -3
  255. package/dist/pine-core/p-c563d4e7.system.js.map +0 -1
  256. package/dist/pine-core/p-cbecf6ee.entry.js +0 -2
  257. package/dist/pine-core/p-cbecf6ee.entry.js.map +0 -1
  258. /package/dist/esm-es5/{pds-label-ea621e18.js.map → pds-label-39814469.js.map} +0 -0
  259. /package/dist/pine-core/{p-4b3e96c0.system.entry.js.map → p-02ff0a87.system.entry.js.map} +0 -0
  260. /package/dist/pine-core/{p-671527a0.entry.js.map → p-08c496ee.entry.js.map} +0 -0
  261. /package/dist/pine-core/{p-ea131385.system.entry.js.map → p-0b4a3e15.system.entry.js.map} +0 -0
  262. /package/dist/pine-core/{p-41ca8678.system.entry.js.map → p-1176b1ae.system.entry.js.map} +0 -0
  263. /package/dist/pine-core/{p-e8b02bb3.system.entry.js.map → p-19cb2923.system.entry.js.map} +0 -0
  264. /package/dist/pine-core/{p-76dd047d.entry.js.map → p-1a8582cd.entry.js.map} +0 -0
  265. /package/dist/pine-core/{p-c1c8ded7.entry.js.map → p-1acdba43.entry.js.map} +0 -0
  266. /package/dist/pine-core/{p-48669610.system.entry.js.map → p-2e9881db.system.entry.js.map} +0 -0
  267. /package/dist/pine-core/{p-c29d23a4.entry.js.map → p-37977a94.entry.js.map} +0 -0
  268. /package/dist/pine-core/{p-7275ec39.entry.js.map → p-395cf3d0.entry.js.map} +0 -0
  269. /package/dist/pine-core/{p-daba2a44.system.entry.js.map → p-44be28a1.system.entry.js.map} +0 -0
  270. /package/dist/pine-core/{p-151aafa9.entry.js.map → p-46d00870.entry.js.map} +0 -0
  271. /package/dist/pine-core/{p-f32db55d.system.entry.js.map → p-483b873b.system.entry.js.map} +0 -0
  272. /package/dist/pine-core/{p-2e531f68.entry.js.map → p-4b5956a3.entry.js.map} +0 -0
  273. /package/dist/pine-core/{p-341eb1ee.system.entry.js.map → p-4f3c9367.system.entry.js.map} +0 -0
  274. /package/dist/pine-core/{p-1e8a1f31.system.entry.js.map → p-50222d44.system.entry.js.map} +0 -0
  275. /package/dist/pine-core/{p-45160e15.entry.js.map → p-525195d2.entry.js.map} +0 -0
  276. /package/dist/pine-core/{p-25cf60f1.system.entry.js.map → p-5729cd96.system.entry.js.map} +0 -0
  277. /package/dist/pine-core/{p-3b3f8185.entry.js.map → p-5eb56ebf.entry.js.map} +0 -0
  278. /package/dist/pine-core/{p-aa285167.entry.js.map → p-6a7259df.entry.js.map} +0 -0
  279. /package/dist/pine-core/{p-e411498b.entry.js.map → p-752dfaa6.entry.js.map} +0 -0
  280. /package/dist/pine-core/{p-f544d96d.entry.js.map → p-7835a3e2.entry.js.map} +0 -0
  281. /package/dist/pine-core/{p-fe4fb39f.entry.js.map → p-7e75c2e3.entry.js.map} +0 -0
  282. /package/dist/pine-core/{p-a49d36be.entry.js.map → p-820c8929.entry.js.map} +0 -0
  283. /package/dist/pine-core/{p-57a0a6c5.entry.js.map → p-869e7901.entry.js.map} +0 -0
  284. /package/dist/pine-core/{p-485d225c.entry.js.map → p-8cad6b7a.entry.js.map} +0 -0
  285. /package/dist/pine-core/{p-eeaa22fa.entry.js.map → p-93dd9bc7.entry.js.map} +0 -0
  286. /package/dist/pine-core/{p-be64d326.system.entry.js.map → p-99e033f1.system.entry.js.map} +0 -0
  287. /package/dist/pine-core/{p-95958653.entry.js.map → p-9a89fdb8.entry.js.map} +0 -0
  288. /package/dist/pine-core/{p-315a1809.system.entry.js.map → p-a0368388.system.entry.js.map} +0 -0
  289. /package/dist/pine-core/{p-0a62887c.system.entry.js.map → p-a3c3dae3.system.entry.js.map} +0 -0
  290. /package/dist/pine-core/{p-7cd9020d.entry.js.map → p-aaced44a.entry.js.map} +0 -0
  291. /package/dist/pine-core/{p-bb0f674a.system.entry.js.map → p-b851f394.system.entry.js.map} +0 -0
  292. /package/dist/pine-core/{p-2dd4eacc.system.entry.js.map → p-c04fb6c0.system.entry.js.map} +0 -0
  293. /package/dist/pine-core/{p-4b7083de.entry.js.map → p-c0713e59.entry.js.map} +0 -0
  294. /package/dist/pine-core/{p-a219ad37.system.entry.js.map → p-c0c0038a.system.entry.js.map} +0 -0
  295. /package/dist/pine-core/{p-fe79bcc0.system.entry.js.map → p-c20075a6.system.entry.js.map} +0 -0
  296. /package/dist/pine-core/{p-770e1547.system.entry.js.map → p-c6448545.system.entry.js.map} +0 -0
  297. /package/dist/pine-core/{p-87cc56ab.entry.js.map → p-c707d9d0.entry.js.map} +0 -0
  298. /package/dist/pine-core/{p-17ba6ff2.js.map → p-caa88065.js.map} +0 -0
  299. /package/dist/pine-core/{p-7c8acdb3.system.entry.js.map → p-cbe37d9d.system.entry.js.map} +0 -0
  300. /package/dist/pine-core/{p-c834304b.entry.js.map → p-ccb0d9ee.entry.js.map} +0 -0
  301. /package/dist/pine-core/{p-20e8c2e6.system.entry.js.map → p-ce887d74.system.entry.js.map} +0 -0
  302. /package/dist/pine-core/{p-cfa7ba93.entry.js.map → p-d3fe5de5.entry.js.map} +0 -0
  303. /package/dist/pine-core/{p-9fd21396.system.entry.js.map → p-d7606cb1.system.entry.js.map} +0 -0
  304. /package/dist/pine-core/{p-c5ada91d.system.entry.js.map → p-df656817.system.entry.js.map} +0 -0
  305. /package/dist/pine-core/{p-c88139ec.system.entry.js.map → p-e20cf701.system.entry.js.map} +0 -0
  306. /package/dist/pine-core/{p-11b9aebc.system.entry.js.map → p-f30b2078.system.entry.js.map} +0 -0
  307. /package/dist/pine-core/{p-c68421c3.entry.js.map → p-f403ff37.entry.js.map} +0 -0
  308. /package/dist/pine-core/{p-4da2e899.system.js.map → p-f5826ecc.system.js.map} +0 -0
  309. /package/dist/pine-core/{p-8cc2e2f8.entry.js.map → p-f72dc7fd.entry.js.map} +0 -0
  310. /package/dist/pine-core/{p-0bcc6945.system.entry.js.map → p-fe949ea3.system.entry.js.map} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"names":["missingAssetPathWarning","getAssetPath","path","_a","metaPineAssetPath","document","head","querySelector","dataset","pineAssetPath","windowAssetPath","window","__PINE_ASSET_PATH__","cdnAssetPath","assetBasePath","startsWith","console","warn","assetPath","substring","endsWith","CACHED_MAP","getIconMap","Map","win","PdsIcons","map","getName","iconName","icon","isSrc","isStr","toLower","trim","invalidChars","replace","getNamedUrl","url","get","getSrc","src","getUrl","pdsIcon","name","str","length","test","val","toLowerCase","inheritAttributes","el","attributes","attributeObject","forEach","attr","hasAttribute","value","getAttribute","removeAttribute","validateContent","svgContent","div","createElement","innerHTML","i","childNodes","nodeName","removeChild","svgElm","firstElementChild","svgClass","setAttribute","isValid","elm","nodeType","indexOf","isSvgDataUrl","isEncodedDataUrl","pdsIconContent","requests","parser","getSvgContent","sanitize","req","fetch","DOMParser","doc","parseFromString","svg","set","outerHTML","Promise","resolve","then","rsp","ok","text","pdsIconCss","PdsIconStyle0","PdsIcon","constructor","hostRef","this","inheritedAttributes","hasAriaHidden","ariaLabel","undefined","isVisible","color","size","iconSize","sizes","small","regular","medium","large","componentWillLoad","connectedCallback","waitUntilVisible","loadIcon","disconnectedCallback","io","disconnect","has","label","render","style","height","width","h","Host","Object","assign","role","class","createColorClasses","rootMargin","cb","IntersectionObserver","data","isIntersecting","observe","assetsDirs"],"sources":["../../node_modules/@pine-ds/icons/dist/collection/components/pds-icon/assetPath.js","../../node_modules/@pine-ds/icons/dist/collection/components/pds-icon/utils.js","../../node_modules/@pine-ds/icons/dist/collection/components/pds-icon/validate.js","../../node_modules/@pine-ds/icons/dist/collection/components/pds-icon/request.js","../../node_modules/@pine-ds/icons/dist/collection/components/pds-icon/pds-icon.css?tag=pds-icon&encapsulation=shadow","../../node_modules/@pine-ds/icons/dist/collection/components/pds-icon/pds-icon.js"],"sourcesContent":["import { Build } from \"@stencil/core\";\nlet missingAssetPathWarning = false;\n/**\n *\n * Reads the component asset path config from meta tag or a global variable.\n * This is a temporary workaround until these issues have been addressed:\n *\n * https://github.com/ionic-team/stencil/issues/2826/\n * https://github.com/ionic-team/stencil/issues/3470\n * https://github.com/ionic-team/stencil-ds-output-targets/issues/186\n */\nexport const getAssetPath = (path) => {\n var _a;\n const metaPineAssetPath = (_a = document.head.querySelector('meta[data-pine-asset-path]')) === null || _a === void 0 ? void 0 : _a.dataset.pineAssetPath;\n // Get the asset path from the window object if available\n const windowAssetPath = window.__PINE_ASSET_PATH__;\n // Set the CDN Asset path using the latest version\n const cdnAssetPath = 'https://cdn.jsdelivr.net/npm/@pine-ds/icons/dist/pds-icons/';\n const assetBasePath = Build.isTesting ? '/dist/pds-icons' : metaPineAssetPath || windowAssetPath || cdnAssetPath || '/';\n // Display a warning if the assets are fetched from the CDN.\n if (assetBasePath.startsWith('https://cdn.jsdelivr.net/npm/') && !missingAssetPathWarning) {\n missingAssetPathWarning = true;\n console.warn(`\n Fetching Pine asssets from jsDelivr CDN.\\n\\n It's recommended that you bundle Pine Assets with your application and setting the path accordingly.\\n\\nFor more information you read the documentation:\n `);\n }\n let assetPath = path;\n if (path.startsWith('./')) {\n assetPath = path.substring(2);\n }\n if (!assetBasePath.endsWith('/')) {\n assetPath = '/' + assetPath;\n }\n return assetBasePath + assetPath;\n};\n//# sourceMappingURL=assetPath.js.map\n","import { getAssetPath } from \"./assetPath\";\nlet CACHED_MAP;\nexport const addIcons = (icons) => {\n const map = getIconMap();\n Object.keys(icons).forEach(name => map.set(name, icons[name]));\n};\nexport const getIconMap = () => {\n if (typeof window === 'undefined') {\n return new Map();\n }\n else {\n if (!CACHED_MAP) {\n const win = window; // eslint-disable-line @typescript-eslint/no-explicit-any\n win.PdsIcons = win.PdsIcons || {};\n CACHED_MAP = win.PdsIcons.map = win.PdsIcons.map || new Map();\n }\n return CACHED_MAP;\n }\n};\nexport const getName = (iconName, icon) => {\n if (!iconName && icon && !isSrc(icon)) {\n iconName = icon;\n }\n if (isStr(iconName)) {\n iconName = toLower(iconName);\n }\n if (!isStr(iconName) || iconName.trim() === '') {\n return null;\n }\n const invalidChars = iconName.replace(/[a-z]|-|\\d/gi, '');\n if (invalidChars != '') {\n return null;\n }\n return iconName;\n};\nconst getNamedUrl = (iconName) => {\n const url = getIconMap().get(iconName);\n if (url) {\n return url;\n }\n return getAssetPath(`svg/${iconName}.svg`);\n};\nexport const getSrc = (src) => {\n if (isStr(src)) {\n src = src.trim();\n if (isSrc(src)) {\n return src;\n }\n }\n return null;\n};\nexport const getUrl = (pdsIcon) => {\n let url = getSrc(pdsIcon.src);\n if (url) {\n return url;\n }\n url = getName(pdsIcon.name, pdsIcon.icon);\n if (url) {\n return getNamedUrl(url);\n }\n if (pdsIcon.icon) {\n url = getSrc(pdsIcon.icon);\n if (url) {\n return url;\n }\n }\n return null;\n};\nexport const isSrc = (str) => str.length > 0 && /(\\/|\\.)/.test(str);\nexport const isStr = (val) => typeof val === 'string'; // eslint-disable-line @typescript-eslint/no-explicit-any\nexport const toLower = (val) => val.toLowerCase();\n/**\n * Elements inside of web components sometimes need to inherit global attributes\n * set on the host. For example, the inner input in `ion-input` should inherit\n * the `title` attribute that developers set directly on `ion-input`. This\n * helper function should be called in componentWillLoad and assigned to a variable\n * that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\nexport const inheritAttributes = (el, attributes = []) => {\n const attributeObject = {}; // eslint-disable-line @typescript-eslint/no-explicit-any\n attributes.forEach(attr => {\n if (el.hasAttribute(attr)) {\n const value = el.getAttribute(attr);\n if (value !== null) {\n attributeObject[attr] = el.getAttribute(attr);\n }\n el.removeAttribute(attr);\n }\n });\n return attributeObject;\n};\n//# sourceMappingURL=utils.js.map\n","import { isStr } from \"./utils\";\nexport const validateContent = (svgContent) => {\n const div = document.createElement('div');\n div.innerHTML = svgContent;\n // setup this way to ensure it works on our buddy IE\n for (let i = div.childNodes.length - 1; i >= 0; i--) {\n if (div.childNodes[i].nodeName.toLowerCase() !== 'svg') {\n div.removeChild(div.childNodes[i]);\n }\n }\n // must only have 1 root element\n const svgElm = div.firstElementChild;\n if (svgElm && svgElm.nodeName.toLowerCase() === 'svg') {\n const svgClass = svgElm.getAttribute('class') || '';\n svgElm.setAttribute('class', (svgClass + ' s-pds-icon').trim());\n // root element must be an svg\n // lets double check we've got valid elements\n // do not allow scripts\n if (isValid(svgElm)) {\n return div.innerHTML;\n }\n }\n return '';\n};\nexport const isValid = (elm) => {\n if (elm.nodeType === 1) {\n if (elm.nodeName.toLowerCase() === 'script') {\n return false;\n }\n for (let i = 0; i < elm.attributes.length; i++) {\n const name = elm.attributes[i].name;\n if (isStr(name) && name.toLowerCase().indexOf('on') === 0) {\n return false;\n }\n }\n for (let i = 0; i < elm.childNodes.length; i++) {\n if (!isValid(elm.childNodes[i])) {\n return false;\n }\n }\n }\n return true;\n};\nexport const isSvgDataUrl = (url) => url.startsWith('data:image/svg+xml');\nexport const isEncodedDataUrl = (url) => url.indexOf(';utf8,') !== -1;\n//# sourceMappingURL=validate.js.map\n","import { isEncodedDataUrl, isSvgDataUrl, validateContent } from \"./validate\";\nexport const pdsIconContent = new Map();\nconst requests = new Map(); // eslint-disable-line @typescript-eslint/no-explicit-any\nlet parser;\nexport const getSvgContent = (url, sanitize = false) => {\n let req = requests.get(url);\n if (!req) {\n if (typeof fetch != 'undefined' && typeof document !== 'undefined') {\n if (isSvgDataUrl(url) && isEncodedDataUrl(url)) {\n if (!parser) {\n parser = new DOMParser();\n }\n const doc = parser.parseFromString(url, 'text/html');\n const svg = doc.querySelector('svg');\n if (svg) {\n pdsIconContent.set(url, svg.outerHTML);\n }\n return Promise.resolve();\n }\n else {\n // we don't have a request\n req = fetch(url).then((rsp) => {\n if (rsp.ok) {\n return rsp.text().then((svgContent) => {\n if (svgContent && sanitize !== false) {\n svgContent = validateContent(svgContent);\n }\n pdsIconContent.set(url, svgContent || '');\n });\n }\n pdsIconContent.set(url, '');\n });\n requests.set(url, req);\n }\n }\n else {\n pdsIconContent.set(url, '');\n return Promise.resolve();\n }\n }\n return req;\n};\n//# sourceMappingURL=request.js.map\n",":host {\n contain: strict;\n display: inline-block;\n fill: currentColor;\n height: 1em;\n width: 1em;\n}\n:host .pdsicon {\n fill: currentColor;\n}\n\n.pds-icon-fill-none {\n fill: none;\n}\n\n.icon-inner,\n.pds-icon,\nsvg {\n display: block;\n height: 100%;\n width: 100%;\n}","import { Build, Host, h } from \"@stencil/core\";\nimport { getSvgContent, pdsIconContent } from \"./request\";\nimport { getName, getUrl, inheritAttributes } from \"./utils\";\nexport class PdsIcon {\n constructor() {\n this.inheritedAttributes = {}; // eslint-disable-line @typescript-eslint/no-explicit-any\n this.hasAriaHidden = () => {\n const { el } = this;\n return el.hasAttribute('aria-hidden') && el.getAttribute('aria-hidden') === 'true';\n };\n this.ariaLabel = undefined;\n this.isVisible = false;\n this.svgContent = undefined;\n this.color = undefined;\n this.icon = undefined;\n this.name = undefined;\n this.size = 'regular';\n this.src = undefined;\n }\n iconSize() {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const sizes = {\n small: '12px',\n regular: '16px',\n medium: '20px',\n large: '24px',\n };\n if (sizes[this.size]) {\n return sizes[this.size];\n }\n else {\n return this.size;\n }\n }\n componentWillLoad() {\n this.inheritedAttributes = inheritAttributes(this.el, ['aria-label']);\n }\n connectedCallback() {\n this.waitUntilVisible(this.el, '50px', () => {\n this.isVisible = true;\n this.loadIcon();\n });\n }\n disconnectedCallback() {\n if (this.io) {\n this.io.disconnect();\n this.io = undefined;\n }\n }\n loadIcon() {\n if (Build.isBrowser && this.isVisible) {\n const url = getUrl(this);\n if (url) {\n if (pdsIconContent.has(url)) {\n this.svgContent = pdsIconContent.get(url);\n }\n else {\n getSvgContent(url).then(() => (this.svgContent = pdsIconContent.get(url)));\n }\n }\n }\n const label = getName(this.name, this.icon);\n if (label) {\n this.ariaLabel = label.replace(/\\-/g, ' ');\n }\n }\n render() {\n const { ariaLabel, inheritedAttributes } = this;\n const style = {\n height: this.iconSize(),\n width: this.iconSize(),\n color: this.color,\n };\n return (h(Host, Object.assign({ \"aria-label\": ariaLabel !== undefined && !this.hasAriaHidden() ? ariaLabel : null, role: \"img\", style: style, class: Object.assign({}, createColorClasses(this.color)) }, inheritedAttributes), Build.isBrowser && this.svgContent ? (h(\"div\", { class: \"icon-inner\", innerHTML: this.svgContent })) : (h(\"div\", { class: \"icon-inner\" }))));\n }\n /*****\n * Private Methods\n ****/\n waitUntilVisible(el, rootMargin, cb) {\n if (Build.isBrowser && typeof window !== 'undefined' && (window).IntersectionObserver) {\n const io = (this.io = new (window).IntersectionObserver((data) => {\n if (data[0].isIntersecting) {\n io.disconnect();\n this.io = undefined;\n cb();\n }\n }, { rootMargin }));\n io.observe(el);\n }\n else {\n // browser doesn't support IntersectionObserver\n // so just fallback to always show it\n cb();\n }\n }\n static get is() { return \"pds-icon\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"pds-icon.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"pds-icon.css\"]\n };\n }\n static get assetsDirs() { return [\"svg\"]; }\n static get properties() {\n return {\n \"color\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"\\nThe color of the icon\"\n },\n \"attribute\": \"color\",\n \"reflect\": false\n },\n \"icon\": {\n \"type\": \"any\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"This a combination of both `name` and `src`. If a `src` url is detected\\nit will set the `src` property. Otherwise it assumes it's a built-in named\\nSVG and set the `name` property.\"\n },\n \"attribute\": \"icon\",\n \"reflect\": false\n },\n \"name\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The name of the icon to use from\\nthe built-in set.\"\n },\n \"attribute\": \"name\",\n \"reflect\": true\n },\n \"size\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"| 'small' // 12px\\n | 'regular' // 16px\\n | 'medium' // 20px\\n | 'large' // 24px\\n | 'auto'\\n | string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The size of the icon. This can be\\n'small', 'regular', 'medium', large, or a\\ncustom value (40px, 1rem, etc)\"\n },\n \"attribute\": \"size\",\n \"reflect\": true,\n \"defaultValue\": \"'regular'\"\n },\n \"src\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"\\nSpecifies the exact `src` of an SVG file to use.\"\n },\n \"attribute\": \"src\",\n \"reflect\": false\n }\n };\n }\n static get states() {\n return {\n \"ariaLabel\": {},\n \"isVisible\": {},\n \"svgContent\": {}\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"name\",\n \"methodName\": \"loadIcon\"\n }, {\n \"propName\": \"src\",\n \"methodName\": \"loadIcon\"\n }, {\n \"propName\": \"icon\",\n \"methodName\": \"loadIcon\"\n }];\n }\n}\nconst createColorClasses = (color) => {\n return color\n ? {\n 'pds-color': true,\n [`pds-color-${color}`]: true,\n }\n : null;\n};\n//# sourceMappingURL=pds-icon.js.map\n"],"mappings":"yDACA,IAAIA,EAA0B,MAUvB,MAAMC,EAAgBC,IACzB,IAAIC,EACJ,MAAMC,GAAqBD,EAAKE,SAASC,KAAKC,cAAc,iCAAmC,MAAQJ,SAAY,OAAS,EAAIA,EAAGK,QAAQC,cAE3I,MAAMC,EAAkBC,OAAOC,oBAE/B,MAAMC,EAAe,8DACrB,MAAMC,EAAsDV,GAAqBM,GAAmBG,GAAgB,IAEpH,GAAIC,EAAcC,WAAW,mCAAqCf,EAAyB,CACvFA,EAA0B,KAC1BgB,QAAQC,KAAK,sNAGrB,CACI,IAAIC,EAAYhB,EAChB,GAAIA,EAAKa,WAAW,MAAO,CACvBG,EAAYhB,EAAKiB,UAAU,EACnC,CACI,IAAKL,EAAcM,SAAS,KAAM,CAC9BF,EAAY,IAAMA,CAC1B,CACI,OAAOJ,EAAgBI,CAAS,EChCpC,IAAIG,EAKG,MAAMC,EAAa,KACtB,UAAWX,SAAW,YAAa,CAC/B,OAAO,IAAIY,GACnB,KACS,CACD,IAAKF,EAAY,CACb,MAAMG,EAAMb,OACZa,EAAIC,SAAWD,EAAIC,UAAY,GAC/BJ,EAAaG,EAAIC,SAASC,IAAMF,EAAIC,SAASC,KAAO,IAAIH,GACpE,CACQ,OAAOF,CACf,GAEO,MAAMM,EAAU,CAACC,EAAUC,K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B,CACnF,MAAMjB,EAAMnB,KAAKmB,GAAK,IAAI,OAASiB,sBAAsBC,IACrD,GAAIA,EAAK,GAAGC,eAAgB,CACxBnB,EAAGC,aACHpB,KAAKmB,GAAKf,UACV+B,G,IAEL,CAAED,eACLf,EAAGoB,QAAQ3F,E,KAEV,CAGDuF,G,EAeR,qBAAWK,GAAe,MAAO,CAAC,MAAO,C,6GAgH7C,MAAMP,EAAsB3B,GACjBA,EACD,CACE,YAAa,KACb,CAAC,aAAaA,KAAU,MAE1B,K"}
@@ -1,2 +0,0 @@
1
- import{r as i,h as s}from"./p-b5b5ce83.js";import{l as n}from"./p-c15b86e9.js";const e=":host{--border-radius:var(--pine-border-radius-sm);--color:var(--pine-color-neutral-charcoal-400);--font-size:var(--pine-font-size-body);--font-size-sm:var(--pine-font-size-body-sm);--font-size-xs:var(--pine-font-size-body-xs);--font-weight:var(--pine-font-weight-medium);--margin-inline-start:var(--pine-spacing-xxs);--outline:4px solid var(--pine-color-primary-200);--svg-lg:15px;--svg-md:13px;--svg-sm:11px;display:inline}:host pds-icon{-webkit-margin-start:var(--margin-inline-start);margin-inline-start:var(--margin-inline-start)}.pds-link{-ms-flex-align:center;align-items:center;color:var(--color);display:-ms-inline-flexbox;display:inline-flex;font-weight:inherit}.pds-link:focus{border-radius:var(--border-radius);outline:var(--outline)}.pds-link--sm{font-size:var(--font-size-xs)}.pds-link--sm pds-icon{height:var(--svg-sm);width:var(--svg-sm)}.pds-link--md{font-size:var(--font-size-sm)}.pds-link--md pds-icon{height:var(--svg-md);width:var(--svg-md)}.pds-link--lg{font-size:var(--font-size)}.pds-link--lg pds-icon{height:var(--svg-lg);width:var(--svg-lg)}.pds-link--plain{font-weight:var(--font-weight);text-decoration:none}.pds-link--plain:hover{text-decoration:underline}.pds-link--default{text-decoration:underline}.pds-link--default:hover{text-decoration:none}";const t=e;const r=class{constructor(s){i(this,s);this.componentId=undefined;this.external=false;this.variant="inline";this.fontSize="lg";this.href=undefined}classNames(){const i=["pds-link"];if(this.fontSize){i.push("pds-link--"+this.fontSize)}if(this.variant){i.push("pds-link--"+this.variant)}return i.join(" ")}render(){return s("a",{key:"72e9712a881a175bab71e2d9beb2d0307582bde3",class:this.classNames(),href:this.href,id:this.componentId,target:this.external?"_blank":undefined,part:"link"},s("slot",{key:"13f8e29adcfc55e7aeb62bd5e67105ce4d21eca7"},this.href),this.external&&s("pds-icon",{icon:n,size:this.fontSize}))}};r.style=t;export{r as pds_link};
2
- //# sourceMappingURL=p-87b363c8.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["pdsLinkCss","PdsLinkStyle0","PdsLink","classNames","this","fontSize","push","variant","join","render","h","key","class","href","id","componentId","target","external","undefined","part","icon","launch","size"],"sources":["src/components/pds-link/pds-link.scss?tag=pds-link&encapsulation=shadow","src/components/pds-link/pds-link.tsx"],"sourcesContent":[":host {\n\n --border-radius: var(--pine-border-radius-sm);\n --color: var(--pine-color-neutral-charcoal-400);\n --font-size: var(--pine-font-size-body);\n --font-size-sm: var(--pine-font-size-body-sm);\n --font-size-xs: var(--pine-font-size-body-xs);\n --font-weight: var(--pine-font-weight-medium);\n --margin-inline-start: var(--pine-spacing-xxs);\n --outline: 4px solid var(--pine-color-primary-200);\n --svg-lg: 15px;\n --svg-md: 13px;\n --svg-sm: 11px;\n\n display: inline;\n\n pds-icon {\n margin-inline-start: var(--margin-inline-start);\n }\n}\n\n.pds-link {\n align-items: center;\n color: var(--color);\n display: inline-flex;\n font-weight: inherit;\n\n &:focus {\n border-radius: var(--border-radius);\n outline: var(--outline);\n }\n}\n\n// We have a small consensus stating that\n// fonts will be REMs, box-model will be\n// discussed later px or (r)em's\n.pds-link--sm {\n font-size: var(--font-size-xs);\n\n pds-icon {\n height: var(--svg-sm);\n width: var(--svg-sm);\n }\n}\n\n.pds-link--md {\n font-size: var(--font-size-sm);\n\n pds-icon {\n height: var(--svg-md);\n width: var(--svg-md);\n }\n}\n\n.pds-link--lg {\n font-size: var(--font-size);\n\n pds-icon {\n height: var(--svg-lg);\n width: var(--svg-lg);\n }\n}\n\n.pds-link--plain {\n font-weight: var(--font-weight);\n text-decoration: none;\n\n &:hover {\n text-decoration: underline;\n }\n}\n\n// Default = inline link\n.pds-link--default {\n text-decoration: underline;\n\n &:hover {\n text-decoration: none;\n }\n}\n","import { Component, h, Prop } from '@stencil/core';\n\nimport { launch } from '@pine-ds/icons/icons';\n\n/**\n * @part link - The main link element that represents the link component.\n * @slot - Content is placed between the opening closing tags.\n */\n@Component({\n tag: 'pds-link',\n styleUrl: 'pds-link.scss',\n shadow: true,\n})\nexport class PdsLink {\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * When enabled, opens link in a new tab.\n * @defaultValue false\n */\n @Prop() external = false;\n\n /**\n *\n * Modifies the look of the link\n */\n @Prop() variant: 'inline' | 'plain' = 'inline';\n\n /**\n *\n * The Font size follows t-shirt model\n * sm: 12px\n * md: 14px\n * lg: 16px\n * @defaultValue lg\n */\n @Prop() fontSize: 'sm' | 'md' | 'lg' = 'lg';\n\n /**\n * The URL that the hyperlink points to.\n */\n @Prop() href!: string;\n\n private classNames() {\n const classNames = ['pds-link'];\n\n if (this.fontSize) {\n classNames.push('pds-link--' + this.fontSize);\n }\n\n if (this.variant) {\n classNames.push('pds-link--' + this.variant);\n }\n\n return classNames.join(' ');\n }\n\n render() {\n\n return (\n <a\n class={this.classNames()}\n href={this.href}\n id={this.componentId}\n target={this.external ? '_blank' : undefined}\n part=\"link\"\n >\n <slot>{this.href}</slot>\n {this.external &&\n <pds-icon icon={launch} size={this.fontSize}></pds-icon>\n }\n </a>\n );\n }\n}\n"],"mappings":"+EAAA,MAAMA,EAAa,+vCACnB,MAAAC,EAAeD,E,MCYFE,EAAO,M,kEAUC,M,aAMmB,S,cAUC,K,oBAO/B,UAAAC,GACN,MAAMA,EAAa,CAAC,YAEpB,GAAIC,KAAKC,SAAU,CACjBF,EAAWG,KAAK,aAAeF,KAAKC,S,CAGtC,GAAID,KAAKG,QAAS,CAChBJ,EAAWG,KAAK,aAAeF,KAAKG,Q,CAGtC,OAAOJ,EAAWK,KAAK,I,CAGzB,MAAAC,GAEE,OACEC,EAAA,KAAAC,IAAA,2CACEC,MAAOR,KAAKD,aACZU,KAAMT,KAAKS,KACXC,GAAIV,KAAKW,YACTC,OAAQZ,KAAKa,SAAW,SAAWC,UACnCC,KAAK,QAELT,EAAA,QAAAC,IAAA,4CAAOP,KAAKS,MACXT,KAAKa,UACJP,EAAA,YAAUU,KAAMC,EAAQC,KAAMlB,KAAKC,W"}
@@ -1,2 +0,0 @@
1
- System.register(["./p-c563d4e7.system.js"],(function(n){"use strict";var i,r,t,e;return{setters:[function(n){i=n.r;r=n.h;t=n.H;e=n.g}],execute:function(){var s=false;var u=function(n){var i;var r=(i=document.head.querySelector("meta[data-pine-asset-path]"))===null||i===void 0?void 0:i.dataset.pineAssetPath;var t=window.__PINE_ASSET_PATH__;var e="https://cdn.jsdelivr.net/npm/@pine-ds/icons/dist/pds-icons/";var u=r||t||e||"/";if(u.startsWith("https://cdn.jsdelivr.net/npm/")&&!s){s=true;console.warn("\n Fetching Pine asssets from jsDelivr CDN.\n\n It's recommended that you bundle Pine Assets with your application and setting the path accordingly.\n\nFor more information you read the documentation:\n ")}var a=n;if(n.startsWith("./")){a=n.substring(2)}if(!u.endsWith("/")){a="/"+a}return u+a};var a;var f=function(){if(typeof window==="undefined"){return new Map}else{if(!a){var n=window;n.PdsIcons=n.PdsIcons||{};a=n.PdsIcons.map=n.PdsIcons.map||new Map}return a}};var o=function(n,i){if(!n&&i&&!v(i)){n=i}if(h(n)){n=p(n)}if(!h(n)||n.trim()===""){return null}var r=n.replace(/[a-z]|-|\d/gi,"");if(r!=""){return null}return n};var c=function(n){var i=f().get(n);if(i){return i}return u("svg/".concat(n,".svg"))};var l=function(n){if(h(n)){n=n.trim();if(v(n)){return n}}return null};var d=function(n){var i=l(n.src);if(i){return i}i=o(n.name,n.icon);if(i){return c(i)}if(n.icon){i=l(n.icon);if(i){return i}}return null};var v=function(n){return n.length>0&&/(\/|\.)/.test(n)};var h=function(n){return typeof n==="string"};var p=function(n){return n.toLowerCase()};var g=function(n,i){if(i===void 0){i=[]}var r={};i.forEach((function(i){if(n.hasAttribute(i)){var t=n.getAttribute(i);if(t!==null){r[i]=n.getAttribute(i)}n.removeAttribute(i)}}));return r};var m=function(n){var i=document.createElement("div");i.innerHTML=n;for(var r=i.childNodes.length-1;r>=0;r--){if(i.childNodes[r].nodeName.toLowerCase()!=="svg"){i.removeChild(i.childNodes[r])}}var t=i.firstElementChild;if(t&&t.nodeName.toLowerCase()==="svg"){var e=t.getAttribute("class")||"";t.setAttribute("class",(e+" s-pds-icon").trim());if(w(t)){return i.innerHTML}}return""};var w=function(n){if(n.nodeType===1){if(n.nodeName.toLowerCase()==="script"){return false}for(var i=0;i<n.attributes.length;i++){var r=n.attributes[i].name;if(h(r)&&r.toLowerCase().indexOf("on")===0){return false}}for(var i=0;i<n.childNodes.length;i++){if(!w(n.childNodes[i])){return false}}}return true};var b=function(n){return n.startsWith("data:image/svg+xml")};var y=function(n){return n.indexOf(";utf8,")!==-1};var j=new Map;var x=new Map;var M;var O=function(n,i){if(i===void 0){i=false}var r=x.get(n);if(!r){if(typeof fetch!="undefined"&&typeof document!=="undefined"){if(b(n)&&y(n)){if(!M){M=new DOMParser}var t=M.parseFromString(n,"text/html");var e=t.querySelector("svg");if(e){j.set(n,e.outerHTML)}return Promise.resolve()}else{r=fetch(n).then((function(r){if(r.ok){return r.text().then((function(r){if(r&&i!==false){r=m(r)}j.set(n,r||"")}))}j.set(n,"")}));x.set(n,r)}}else{j.set(n,"");return Promise.resolve()}}return r};var P=":host{contain:strict;display:inline-block;fill:currentColor;height:1em;width:1em}:host .pdsicon{fill:currentColor}.pds-icon-fill-none{fill:none}.icon-inner,.pds-icon,svg{display:block;height:100%;width:100%}";var D=P;var I=n("pds_icon",function(){function n(n){var r=this;i(this,n);this.inheritedAttributes={};this.hasAriaHidden=function(){var n=r.el;return n.hasAttribute("aria-hidden")&&n.getAttribute("aria-hidden")==="true"};this.ariaLabel=undefined;this.isVisible=false;this.svgContent=undefined;this.color=undefined;this.icon=undefined;this.name=undefined;this.size="regular";this.src=undefined}n.prototype.iconSize=function(){var n={small:"12px",regular:"16px",medium:"20px",large:"24px"};if(n[this.size]){return n[this.size]}else{return this.size}};n.prototype.componentWillLoad=function(){this.inheritedAttributes=g(this.el,["aria-label"])};n.prototype.connectedCallback=function(){var n=this;this.waitUntilVisible(this.el,"50px",(function(){n.isVisible=true;n.loadIcon()}))};n.prototype.disconnectedCallback=function(){if(this.io){this.io.disconnect();this.io=undefined}};n.prototype.loadIcon=function(){var n=this;if(this.isVisible){var i=d(this);if(i){if(j.has(i)){this.svgContent=j.get(i)}else{O(i).then((function(){return n.svgContent=j.get(i)}))}}}var r=o(this.name,this.icon);if(r){this.ariaLabel=r.replace(/\-/g," ")}};n.prototype.render=function(){var n=this,i=n.ariaLabel,e=n.inheritedAttributes;var s={height:this.iconSize(),width:this.iconSize(),color:this.color};return r(t,Object.assign({"aria-label":i!==undefined&&!this.hasAriaHidden()?i:null,role:"img",style:s,class:Object.assign({},C(this.color))},e),this.svgContent?r("div",{class:"icon-inner",innerHTML:this.svgContent}):r("div",{class:"icon-inner"}))};n.prototype.waitUntilVisible=function(n,i,r){var t=this;if(typeof window!=="undefined"&&window.IntersectionObserver){var e=this.io=new window.IntersectionObserver((function(n){if(n[0].isIntersecting){e.disconnect();t.io=undefined;r()}}),{rootMargin:i});e.observe(n)}else{r()}};Object.defineProperty(n,"assetsDirs",{get:function(){return["svg"]},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"el",{get:function(){return e(this)},enumerable:false,configurable:true});Object.defineProperty(n,"watchers",{get:function(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"]}},enumerable:false,configurable:true});return n}());var C=function(n){var i;return n?(i={"pds-color":true},i["pds-color-".concat(n)]=true,i):null};I.style=D}}}));
2
- //# sourceMappingURL=p-b4226e23.system.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["missingAssetPathWarning","getAssetPath","path","_a","metaPineAssetPath","document","head","querySelector","dataset","pineAssetPath","windowAssetPath","window","__PINE_ASSET_PATH__","cdnAssetPath","assetBasePath","startsWith","console","warn","assetPath","substring","endsWith","CACHED_MAP","getIconMap","Map","win","PdsIcons","map","getName","iconName","icon","isSrc","isStr","toLower","trim","invalidChars","replace","getNamedUrl","url","get","concat","getSrc","src","getUrl","pdsIcon","name","str","length","test","val","toLowerCase","inheritAttributes","el","attributes","attributeObject","forEach","attr","hasAttribute","value","getAttribute","removeAttribute","validateContent","svgContent","div","createElement","innerHTML","i","childNodes","nodeName","removeChild","svgElm","firstElementChild","svgClass","setAttribute","isValid","elm","nodeType","indexOf","isSvgDataUrl","isEncodedDataUrl","pdsIconContent","requests","parser","getSvgContent","sanitize","req","fetch","DOMParser","doc","parseFromString","svg","set","outerHTML","Promise","resolve","then","rsp","ok","text","pdsIconCss","PdsIconStyle0","PdsIcon","exports","class_1","hostRef","_this","this","inheritedAttributes","hasAriaHidden","ariaLabel","undefined","isVisible","color","size","prototype","iconSize","sizes","small","regular","medium","large","componentWillLoad","connectedCallback","waitUntilVisible","loadIcon","disconnectedCallback","io","disconnect","url_1","has","label","render","_b","style","height","width","h","Host","Object","assign","role","class","createColorClasses","rootMargin","cb","IntersectionObserver","io_1","data","isIntersecting","observe","defineProperty"],"sources":["../../node_modules/@pine-ds/icons/dist/collection/components/pds-icon/assetPath.js","../../node_modules/@pine-ds/icons/dist/collection/components/pds-icon/utils.js","../../node_modules/@pine-ds/icons/dist/collection/components/pds-icon/validate.js","../../node_modules/@pine-ds/icons/dist/collection/components/pds-icon/request.js","../../node_modules/@pine-ds/icons/dist/collection/components/pds-icon/pds-icon.css?tag=pds-icon&encapsulation=shadow","../../node_modules/@pine-ds/icons/dist/collection/components/pds-icon/pds-icon.js"],"sourcesContent":["import { Build } from \"@stencil/core\";\nlet missingAssetPathWarning = false;\n/**\n *\n * Reads the component asset path config from meta tag or a global variable.\n * This is a temporary workaround until these issues have been addressed:\n *\n * https://github.com/ionic-team/stencil/issues/2826/\n * https://github.com/ionic-team/stencil/issues/3470\n * https://github.com/ionic-team/stencil-ds-output-targets/issues/186\n */\nexport const getAssetPath = (path) => {\n var _a;\n const metaPineAssetPath = (_a = document.head.querySelector('meta[data-pine-asset-path]')) === null || _a === void 0 ? void 0 : _a.dataset.pineAssetPath;\n // Get the asset path from the window object if available\n const windowAssetPath = window.__PINE_ASSET_PATH__;\n // Set the CDN Asset path using the latest version\n const cdnAssetPath = 'https://cdn.jsdelivr.net/npm/@pine-ds/icons/dist/pds-icons/';\n const assetBasePath = Build.isTesting ? '/dist/pds-icons' : metaPineAssetPath || windowAssetPath || cdnAssetPath || '/';\n // Display a warning if the assets are fetched from the CDN.\n if (assetBasePath.startsWith('https://cdn.jsdelivr.net/npm/') && !missingAssetPathWarning) {\n missingAssetPathWarning = true;\n console.warn(`\n Fetching Pine asssets from jsDelivr CDN.\\n\\n It's recommended that you bundle Pine Assets with your application and setting the path accordingly.\\n\\nFor more information you read the documentation:\n `);\n }\n let assetPath = path;\n if (path.startsWith('./')) {\n assetPath = path.substring(2);\n }\n if (!assetBasePath.endsWith('/')) {\n assetPath = '/' + assetPath;\n }\n return assetBasePath + assetPath;\n};\n//# sourceMappingURL=assetPath.js.map\n","import { getAssetPath } from \"./assetPath\";\nlet CACHED_MAP;\nexport const addIcons = (icons) => {\n const map = getIconMap();\n Object.keys(icons).forEach(name => map.set(name, icons[name]));\n};\nexport const getIconMap = () => {\n if (typeof window === 'undefined') {\n return new Map();\n }\n else {\n if (!CACHED_MAP) {\n const win = window; // eslint-disable-line @typescript-eslint/no-explicit-any\n win.PdsIcons = win.PdsIcons || {};\n CACHED_MAP = win.PdsIcons.map = win.PdsIcons.map || new Map();\n }\n return CACHED_MAP;\n }\n};\nexport const getName = (iconName, icon) => {\n if (!iconName && icon && !isSrc(icon)) {\n iconName = icon;\n }\n if (isStr(iconName)) {\n iconName = toLower(iconName);\n }\n if (!isStr(iconName) || iconName.trim() === '') {\n return null;\n }\n const invalidChars = iconName.replace(/[a-z]|-|\\d/gi, '');\n if (invalidChars != '') {\n return null;\n }\n return iconName;\n};\nconst getNamedUrl = (iconName) => {\n const url = getIconMap().get(iconName);\n if (url) {\n return url;\n }\n return getAssetPath(`svg/${iconName}.svg`);\n};\nexport const getSrc = (src) => {\n if (isStr(src)) {\n src = src.trim();\n if (isSrc(src)) {\n return src;\n }\n }\n return null;\n};\nexport const getUrl = (pdsIcon) => {\n let url = getSrc(pdsIcon.src);\n if (url) {\n return url;\n }\n url = getName(pdsIcon.name, pdsIcon.icon);\n if (url) {\n return getNamedUrl(url);\n }\n if (pdsIcon.icon) {\n url = getSrc(pdsIcon.icon);\n if (url) {\n return url;\n }\n }\n return null;\n};\nexport const isSrc = (str) => str.length > 0 && /(\\/|\\.)/.test(str);\nexport const isStr = (val) => typeof val === 'string'; // eslint-disable-line @typescript-eslint/no-explicit-any\nexport const toLower = (val) => val.toLowerCase();\n/**\n * Elements inside of web components sometimes need to inherit global attributes\n * set on the host. For example, the inner input in `ion-input` should inherit\n * the `title` attribute that developers set directly on `ion-input`. This\n * helper function should be called in componentWillLoad and assigned to a variable\n * that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\nexport const inheritAttributes = (el, attributes = []) => {\n const attributeObject = {}; // eslint-disable-line @typescript-eslint/no-explicit-any\n attributes.forEach(attr => {\n if (el.hasAttribute(attr)) {\n const value = el.getAttribute(attr);\n if (value !== null) {\n attributeObject[attr] = el.getAttribute(attr);\n }\n el.removeAttribute(attr);\n }\n });\n return attributeObject;\n};\n//# sourceMappingURL=utils.js.map\n","import { isStr } from \"./utils\";\nexport const validateContent = (svgContent) => {\n const div = document.createElement('div');\n div.innerHTML = svgContent;\n // setup this way to ensure it works on our buddy IE\n for (let i = div.childNodes.length - 1; i >= 0; i--) {\n if (div.childNodes[i].nodeName.toLowerCase() !== 'svg') {\n div.removeChild(div.childNodes[i]);\n }\n }\n // must only have 1 root element\n const svgElm = div.firstElementChild;\n if (svgElm && svgElm.nodeName.toLowerCase() === 'svg') {\n const svgClass = svgElm.getAttribute('class') || '';\n svgElm.setAttribute('class', (svgClass + ' s-pds-icon').trim());\n // root element must be an svg\n // lets double check we've got valid elements\n // do not allow scripts\n if (isValid(svgElm)) {\n return div.innerHTML;\n }\n }\n return '';\n};\nexport const isValid = (elm) => {\n if (elm.nodeType === 1) {\n if (elm.nodeName.toLowerCase() === 'script') {\n return false;\n }\n for (let i = 0; i < elm.attributes.length; i++) {\n const name = elm.attributes[i].name;\n if (isStr(name) && name.toLowerCase().indexOf('on') === 0) {\n return false;\n }\n }\n for (let i = 0; i < elm.childNodes.length; i++) {\n if (!isValid(elm.childNodes[i])) {\n return false;\n }\n }\n }\n return true;\n};\nexport const isSvgDataUrl = (url) => url.startsWith('data:image/svg+xml');\nexport const isEncodedDataUrl = (url) => url.indexOf(';utf8,') !== -1;\n//# sourceMappingURL=validate.js.map\n","import { isEncodedDataUrl, isSvgDataUrl, validateContent } from \"./validate\";\nexport const pdsIconContent = new Map();\nconst requests = new Map(); // eslint-disable-line @typescript-eslint/no-explicit-any\nlet parser;\nexport const getSvgContent = (url, sanitize = false) => {\n let req = requests.get(url);\n if (!req) {\n if (typeof fetch != 'undefined' && typeof document !== 'undefined') {\n if (isSvgDataUrl(url) && isEncodedDataUrl(url)) {\n if (!parser) {\n parser = new DOMParser();\n }\n const doc = parser.parseFromString(url, 'text/html');\n const svg = doc.querySelector('svg');\n if (svg) {\n pdsIconContent.set(url, svg.outerHTML);\n }\n return Promise.resolve();\n }\n else {\n // we don't have a request\n req = fetch(url).then((rsp) => {\n if (rsp.ok) {\n return rsp.text().then((svgContent) => {\n if (svgContent && sanitize !== false) {\n svgContent = validateContent(svgContent);\n }\n pdsIconContent.set(url, svgContent || '');\n });\n }\n pdsIconContent.set(url, '');\n });\n requests.set(url, req);\n }\n }\n else {\n pdsIconContent.set(url, '');\n return Promise.resolve();\n }\n }\n return req;\n};\n//# sourceMappingURL=request.js.map\n",":host {\n contain: strict;\n display: inline-block;\n fill: currentColor;\n height: 1em;\n width: 1em;\n}\n:host .pdsicon {\n fill: currentColor;\n}\n\n.pds-icon-fill-none {\n fill: none;\n}\n\n.icon-inner,\n.pds-icon,\nsvg {\n display: block;\n height: 100%;\n width: 100%;\n}","import { Build, Host, h } from \"@stencil/core\";\nimport { getSvgContent, pdsIconContent } from \"./request\";\nimport { getName, getUrl, inheritAttributes } from \"./utils\";\nexport class PdsIcon {\n constructor() {\n this.inheritedAttributes = {}; // eslint-disable-line @typescript-eslint/no-explicit-any\n this.hasAriaHidden = () => {\n const { el } = this;\n return el.hasAttribute('aria-hidden') && el.getAttribute('aria-hidden') === 'true';\n };\n this.ariaLabel = undefined;\n this.isVisible = false;\n this.svgContent = undefined;\n this.color = undefined;\n this.icon = undefined;\n this.name = undefined;\n this.size = 'regular';\n this.src = undefined;\n }\n iconSize() {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const sizes = {\n small: '12px',\n regular: '16px',\n medium: '20px',\n large: '24px',\n };\n if (sizes[this.size]) {\n return sizes[this.size];\n }\n else {\n return this.size;\n }\n }\n componentWillLoad() {\n this.inheritedAttributes = inheritAttributes(this.el, ['aria-label']);\n }\n connectedCallback() {\n this.waitUntilVisible(this.el, '50px', () => {\n this.isVisible = true;\n this.loadIcon();\n });\n }\n disconnectedCallback() {\n if (this.io) {\n this.io.disconnect();\n this.io = undefined;\n }\n }\n loadIcon() {\n if (Build.isBrowser && this.isVisible) {\n const url = getUrl(this);\n if (url) {\n if (pdsIconContent.has(url)) {\n this.svgContent = pdsIconContent.get(url);\n }\n else {\n getSvgContent(url).then(() => (this.svgContent = pdsIconContent.get(url)));\n }\n }\n }\n const label = getName(this.name, this.icon);\n if (label) {\n this.ariaLabel = label.replace(/\\-/g, ' ');\n }\n }\n render() {\n const { ariaLabel, inheritedAttributes } = this;\n const style = {\n height: this.iconSize(),\n width: this.iconSize(),\n color: this.color,\n };\n return (h(Host, Object.assign({ \"aria-label\": ariaLabel !== undefined && !this.hasAriaHidden() ? ariaLabel : null, role: \"img\", style: style, class: Object.assign({}, createColorClasses(this.color)) }, inheritedAttributes), Build.isBrowser && this.svgContent ? (h(\"div\", { class: \"icon-inner\", innerHTML: this.svgContent })) : (h(\"div\", { class: \"icon-inner\" }))));\n }\n /*****\n * Private Methods\n ****/\n waitUntilVisible(el, rootMargin, cb) {\n if (Build.isBrowser && typeof window !== 'undefined' && (window).IntersectionObserver) {\n const io = (this.io = new (window).IntersectionObserver((data) => {\n if (data[0].isIntersecting) {\n io.disconnect();\n this.io = undefined;\n cb();\n }\n }, { rootMargin }));\n io.observe(el);\n }\n else {\n // browser doesn't support IntersectionObserver\n // so just fallback to always show it\n cb();\n }\n }\n static get is() { return \"pds-icon\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"pds-icon.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"pds-icon.css\"]\n };\n }\n static get assetsDirs() { return [\"svg\"]; }\n static get properties() {\n return {\n \"color\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"\\nThe color of the icon\"\n },\n \"attribute\": \"color\",\n \"reflect\": false\n },\n \"icon\": {\n \"type\": \"any\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"This a combination of both `name` and `src`. If a `src` url is detected\\nit will set the `src` property. Otherwise it assumes it's a built-in named\\nSVG and set the `name` property.\"\n },\n \"attribute\": \"icon\",\n \"reflect\": false\n },\n \"name\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The name of the icon to use from\\nthe built-in set.\"\n },\n \"attribute\": \"name\",\n \"reflect\": true\n },\n \"size\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"| 'small' // 12px\\n | 'regular' // 16px\\n | 'medium' // 20px\\n | 'large' // 24px\\n | 'auto'\\n | string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The size of the icon. This can be\\n'small', 'regular', 'medium', large, or a\\ncustom value (40px, 1rem, etc)\"\n },\n \"attribute\": \"size\",\n \"reflect\": true,\n \"defaultValue\": \"'regular'\"\n },\n \"src\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"\\nSpecifies the exact `src` of an SVG file to use.\"\n },\n \"attribute\": \"src\",\n \"reflect\": false\n }\n };\n }\n static get states() {\n return {\n \"ariaLabel\": {},\n \"isVisible\": {},\n \"svgContent\": {}\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"name\",\n \"methodName\": \"loadIcon\"\n }, {\n \"propName\": \"src\",\n \"methodName\": \"loadIcon\"\n }, {\n \"propName\": \"icon\",\n \"methodName\": \"loadIcon\"\n }];\n }\n}\nconst createColorClasses = (color) => {\n return color\n ? {\n 'pds-color': true,\n [`pds-color-${color}`]: true,\n }\n : null;\n};\n//# sourceMappingURL=pds-icon.js.map\n"],"mappings":"0JACA,IAAIA,EAA0B,MAUvB,IAAMC,EAAe,SAACC,GACzB,IAAIC,EACJ,IAAMC,GAAqBD,EAAKE,SAASC,KAAKC,cAAc,iC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GnB,aACHtB,EAAKqB,GAAKhB,UACVkC,G,IAEL,CAAED,WAAUA,IACfG,EAAGG,QAAQjG,E,KAEV,CAGD4F,G,GAeRN,OAAAY,eAAW/C,EAAA,aAAU,C,IAArB,WAA0B,MAAO,CAAC,MAAO,E,gTAxGzB,IAwNpB,IAAMuC,EAAqB,SAAC9B,G,MACxB,OAAOA,G,GAEC,YAAa,MACboB,EAAC,aAAA5F,OAAawE,IAAU,K,GAE1B,IACV,E"}
@@ -1,3 +0,0 @@
1
- const e="pine-core";const t={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:true,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:true,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:true,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,slot:true,slotChildNodesFix:false,slotRelocation:true,state:true,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};let n;let s;let l;let o=false;let i=false;let f=false;let c=false;let r=false;const u=(e,t="")=>{{return()=>{}}};const a=(e,t)=>{{return()=>{}}};const d="r";const p="o";const $="s";const m="t";const v="s-id";const h="sty-id";const y="c-id";const b="{visibility:hidden}.hydrated{visibility:inherit}";const g="slot-fb{display:contents}slot-fb[hidden]{display:none}";const w="http://www.w3.org/1999/xlink";const S={};const k=e=>e!=null;const C=e=>{e=typeof e;return e==="object"||e==="function"};function x(e){var t,n,s;return(s=(n=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&s!==void 0?s:undefined}const R=(e,t,...n)=>{let s=null;let l=null;let o=null;let i=false;let f=false;const c=[];const r=t=>{for(let n=0;n<t.length;n++){s=t[n];if(Array.isArray(s)){r(s)}else if(s!=null&&typeof s!=="boolean"){if(i=typeof e!=="function"&&!C(s)){s=String(s)}if(i&&f){c[c.length-1].t+=s}else{c.push(i?T(null,s):s)}f=i}}};r(n);if(t){if(t.key){l=t.key}if(t.name){o=t.name}{const e=t.className||t.class;if(e){t.class=typeof e!=="object"?e:Object.keys(e).filter((t=>e[t])).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,c,D)}const u=T(e,null);u.l=t;if(c.length>0){u.o=c}{u.i=l}{u.u=o}return u};const T=(e,t)=>{const n={p:0,$:e,t,m:null,o:null};{n.l=null}{n.i=null}{n.u=null}return n};const L={};const j=e=>e&&e.$===L;const D={forEach:(e,t)=>e.map(O).forEach(t),map:(e,t)=>e.map(O).map(t).map(M)};const O=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.u,vtag:e.$,vtext:e.t});const M=e=>{if(typeof e.vtag==="function"){const t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return R(e.vtag,t,...e.vchildren||[])}const t=T(e.vtag,e.vtext);t.l=e.vattrs;t.o=e.vchildren;t.i=e.vkey;t.u=e.vname;return t};const F=(e,t,n,s)=>{const l=u("hydrateClient",t);const o=e.shadowRoot;const i=[];const f=[];const c=o?[]:null;const r=s.v=T(t,null);if(!Ge.h){N(_e.body,Ge.h=new Map)}e[v]=n;e.removeAttribute(v);A(r,i,f,c,e,e,n);i.map((e=>{const n=e.S+"."+e.k;const s=Ge.h.get(n);const l=e.m;if(s&&Je&&s["s-en"]===""){s.parentNode.insertBefore(l,s.nextSibling)}if(!o){l["s-hn"]=t;if(s){l["s-ol"]=s;l["s-ol"]["s-nr"]=l}}Ge.h.delete(n)}));if(o){c.map((e=>{if(e){o.appendChild(e)}}))}l()};const A=(e,t,n,s,l,o,i)=>{let f;let c;let r;let u;if(o.nodeType===1){f=o.getAttribute(y);if(f){c=f.split(".");if(c[0]===i||c[0]==="0"){r={p:0,S:c[0],k:c[1],C:c[2],R:c[3],$:o.tagName.toLowerCase(),m:o,l:null,o:null,i:null,u:null,t:null};t.push(r);o.removeAttribute(y);if(!e.o){e.o=[]}e.o[r.R]=r;e=r;if(s&&r.C==="0"){s[r.R]=r.m}}}for(u=o.childNodes.length-1;u>=0;u--){A(e,t,n,s,l,o.childNodes[u],i)}if(o.shadowRoot){for(u=o.shadowRoot.childNodes.length-1;u>=0;u--){A(e,t,n,s,l,o.shadowRoot.childNodes[u],i)}}}else if(o.nodeType===8){c=o.nodeValue.split(".");if(c[1]===i||c[1]==="0"){f=c[0];r={p:0,S:c[1],k:c[2],C:c[3],R:c[4],m:o,l:null,o:null,i:null,u:null,$:null,t:null};if(f===m){r.m=o.nextSibling;if(r.m&&r.m.nodeType===3){r.t=r.m.textContent;t.push(r);o.remove();if(!e.o){e.o=[]}e.o[r.R]=r;if(s&&r.C==="0"){s[r.R]=r.m}}}else if(r.S===i){if(f===$){r.$="slot";if(c[5]){o["s-sn"]=r.u=c[5]}else{o["s-sn"]=""}o["s-sr"]=true;if(s){r.m=_e.createElement(r.$);if(r.u){r.m.setAttribute("name",r.u)}o.parentNode.insertBefore(r.m,o);o.remove();if(r.C==="0"){s[r.R]=r.m}}n.push(r);if(!e.o){e.o=[]}e.o[r.R]=r}else if(f===d){if(s){o.remove()}else{l["s-cr"]=o;o["s-cn"]=true}}}}}else if(e&&e.$==="style"){const t=T(null,o.textContent);t.m=o;t.R="0";e.o=[t]}};const N=(e,t)=>{if(e.nodeType===1){let n=0;for(;n<e.childNodes.length;n++){N(e.childNodes[n],t)}if(e.shadowRoot){for(n=0;n<e.shadowRoot.childNodes.length;n++){N(e.shadowRoot.childNodes[n],t)}}}else if(e.nodeType===8){const n=e.nodeValue.split(".");if(n[0]===p){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};const P=(e,t)=>{if(e!=null&&!C(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};const U=e=>Ie(e).$hostElement$;const W=(e,t,n)=>{const s=U(e);return{emit:e=>E(s,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}};const E=(e,t,n)=>{const s=Ge.ce(t,n);e.dispatchEvent(s);return s};const I=new WeakMap;const z=(e,t,n)=>{let s=Ve.get(e);if(et&&n){s=s||new CSSStyleSheet;if(typeof s==="string"){s=t}else{s.replaceSync(t)}}else{s=t}Ve.set(e,s)};const B=(e,t,n)=>{var s;const l=Q(t);const o=Ve.get(l);e=e.nodeType===11?e:_e;if(o){if(typeof o==="string"){e=e.head||e;let n=I.get(e);let i;if(!n){I.set(e,n=new Set)}if(!n.has(l)){if(e.host&&(i=e.querySelector(`[${h}="${l}"]`))){i.innerHTML=o}else{i=_e.createElement("style");i.innerHTML=o;const t=(s=Ge.T)!==null&&s!==void 0?s:x(_e);if(t!=null){i.setAttribute("nonce",t)}e.insertBefore(i,e.querySelector("link"))}if(t.p&4){i.innerHTML+=g}if(n){n.add(l)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]}}return l};const H=e=>{const t=e.L;const n=e.$hostElement$;const s=t.p;const l=u("attachStyles",t.j);const o=B(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(s&10){n["s-sc"]=o;n.classList.add(o+"-h");if(s&2){n.classList.add(o+"-s")}}l()};const Q=(e,t)=>"sc-"+e.j;const q=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{");const K=(e,t,n,s,l,o)=>{if(n!==s){let i=He(e,t);let f=t.toLowerCase();if(t==="class"){const t=e.classList;const l=X(n);const o=X(s);t.remove(...l.filter((e=>e&&!o.includes(e))));t.add(...o.filter((e=>e&&!l.includes(e))))}else if(t==="style"){{for(const t in n){if(!s||s[t]==null){if(t.includes("-")){e.style.removeProperty(t)}else{e.style[t]=""}}}}for(const t in s){if(!n||s[t]!==n[t]){if(t.includes("-")){e.style.setProperty(t,s[t])}else{e.style[t]=s[t]}}}}else if(t==="key");else if(t==="ref"){if(s){s(e)}}else if(!i&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(He(Xe,f)){t=f.slice(2)}else{t=f[2]+t.slice(3)}if(n||s){const l=t.endsWith(_);t=t.replace(G,"");if(n){Ge.rel(e,t,n,l)}if(s){Ge.ael(e,t,s,l)}}}else{const c=C(s);if((i||c&&s!==null)&&!l){try{if(!e.tagName.includes("-")){const l=s==null?"":s;if(t==="list"){i=false}else if(n==null||e[t]!=l){e[t]=l}}else{e[t]=s}}catch(e){}}let r=false;{if(f!==(f=f.replace(/^xlink\:?/,""))){t=f;r=true}}if(s==null||s===false){if(s!==false||e.getAttribute(t)===""){if(r){e.removeAttributeNS(w,t)}else{e.removeAttribute(t)}}}else if((!i||o&4||l)&&!c){s=s===true?"":s;if(r){e.setAttributeNS(w,t,s)}else{e.setAttribute(t,s)}}}}};const V=/\s/;const X=e=>!e?[]:e.split(V);const _="Capture";const G=new RegExp(_+"$");const J=(e,t,n,s)=>{const l=t.m.nodeType===11&&t.m.host?t.m.host:t.m;const o=e&&e.l||S;const i=t.l||S;{for(s in o){if(!(s in i)){K(l,s,o[s],undefined,n,t.p)}}}for(s in i){K(l,s,o[s],i[s],n,t.p)}};const Y=(e,t,i,r)=>{const u=t.o[i];let a=0;let d;let p;let $;if(!o){f=true;if(u.$==="slot"){if(n){r.classList.add(n+"-s")}u.p|=u.o?2:1}}if(u.t!==null){d=u.m=_e.createTextNode(u.t)}else if(u.p&1){d=u.m=_e.createTextNode("")}else{d=u.m=_e.createElement(u.p&2?"slot-fb":u.$);{J(null,u,c)}if(k(n)&&d["s-si"]!==n){d.classList.add(d["s-si"]=n)}if(u.o){for(a=0;a<u.o.length;++a){p=Y(e,u,a,d);if(p){d.appendChild(p)}}}}d["s-hn"]=l;{if(u.p&(2|1)){d["s-sr"]=true;d["s-cr"]=s;d["s-sn"]=u.u||"";$=e&&e.o&&e.o[i];if($&&$.$===u.$&&e.m){{Z(e.m,false)}}}}return d};const Z=(e,t)=>{Ge.p|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const s=n[e];if(s["s-hn"]!==l&&s["s-ol"]){oe(s).insertBefore(s,le(s));s["s-ol"].remove();s["s-ol"]=undefined;s["s-sh"]=undefined;f=true}if(t){Z(s,t)}}Ge.p&=~1};const ee=(e,t,n,s,o,i)=>{let f=e["s-cr"]&&e["s-cr"].parentNode||e;let c;if(f.shadowRoot&&f.tagName===l){f=f.shadowRoot}for(;o<=i;++o){if(s[o]){c=Y(null,n,o,e);if(c){s[o].m=c;f.insertBefore(c,le(t))}}}};const te=(e,t,n)=>{for(let s=t;s<=n;++s){const t=e[s];if(t){const e=t.m;ae(t);if(e){{i=true;if(e["s-ol"]){e["s-ol"].remove()}else{Z(e,true)}}e.remove()}}}};const ne=(e,t,n,s,l=false)=>{let o=0;let i=0;let f=0;let c=0;let r=t.length-1;let u=t[0];let a=t[r];let d=s.length-1;let p=s[0];let $=s[d];let m;let v;while(o<=r&&i<=d){if(u==null){u=t[++o]}else if(a==null){a=t[--r]}else if(p==null){p=s[++i]}else if($==null){$=s[--d]}else if(se(u,p,l)){ie(u,p,l);u=t[++o];p=s[++i]}else if(se(a,$,l)){ie(a,$,l);a=t[--r];$=s[--d]}else if(se(u,$,l)){if(u.$==="slot"||$.$==="slot"){Z(u.m.parentNode,false)}ie(u,$,l);e.insertBefore(u.m,a.m.nextSibling);u=t[++o];$=s[--d]}else if(se(a,p,l)){if(u.$==="slot"||$.$==="slot"){Z(a.m.parentNode,false)}ie(a,p,l);e.insertBefore(a.m,u.m);a=t[--r];p=s[++i]}else{f=-1;{for(c=o;c<=r;++c){if(t[c]&&t[c].i!==null&&t[c].i===p.i){f=c;break}}}if(f>=0){v=t[f];if(v.$!==p.$){m=Y(t&&t[i],n,f,e)}else{ie(v,p,l);t[f]=undefined;m=v.m}p=s[++i]}else{m=Y(t&&t[i],n,i,e);p=s[++i]}if(m){{oe(u.m).insertBefore(m,le(u.m))}}}}if(o>r){ee(e,s[d+1]==null?null:s[d+1].m,n,s,i,d)}else if(i>d){te(t,o,r)}};const se=(e,t,n=false)=>{if(e.$===t.$){if(e.$==="slot"){return e.u===t.u}if(!n){return e.i===t.i}return true}return false};const le=e=>e&&e["s-ol"]||e;const oe=e=>(e["s-ol"]?e["s-ol"]:e).parentNode;const ie=(e,t,n=false)=>{const s=t.m=e.m;const l=e.o;const i=t.o;const f=t.$;const r=t.t;let u;if(r===null){{if(f==="slot"&&!o);else{J(e,t,c)}}if(l!==null&&i!==null){ne(s,l,t,i,n)}else if(i!==null){if(e.t!==null){s.textContent=""}ee(s,null,t,i,0,i.length-1)}else if(l!==null){te(l,0,l.length-1)}}else if(u=s["s-cr"]){u.parentNode.textContent=r}else if(e.t!==r){s.data=r}};const fe=e=>{const t=e.childNodes;for(const e of t){if(e.nodeType===1){if(e["s-sr"]){const n=e["s-sn"];e.hidden=false;for(const s of t){if(s!==e){if(s["s-hn"]!==e["s-hn"]||n!==""){if(s.nodeType===1&&(n===s.getAttribute("slot")||n===s["s-sn"])){e.hidden=true;break}}else{if(s.nodeType===1||s.nodeType===3&&s.textContent.trim()!==""){e.hidden=true;break}}}}}fe(e)}}};const ce=[];const re=e=>{let n;let s;let l;for(const o of e.childNodes){if(o["s-sr"]&&(n=o["s-cr"])&&n.parentNode){s=n.parentNode.childNodes;const e=o["s-sn"];for(l=s.length-1;l>=0;l--){n=s[l];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==o["s-hn"]&&!t.experimentalSlotFixes){if(ue(n,e)){let t=ce.find((e=>e.D===n));i=true;n["s-sn"]=n["s-sn"]||e;if(t){t.D["s-sh"]=o["s-hn"];t.O=o}else{n["s-sh"]=o["s-hn"];ce.push({O:o,D:n})}if(n["s-sr"]){ce.map((e=>{if(ue(e.D,n["s-sn"])){t=ce.find((e=>e.D===n));if(t&&!e.O){e.O=t.O}}}))}}else if(!ce.some((e=>e.D===n))){ce.push({D:n})}}}}if(o.nodeType===1){re(o)}}};const ue=(e,t)=>{if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};const ae=e=>{{e.l&&e.l.ref&&e.l.ref(null);e.o&&e.o.map(ae)}};const de=(e,t,c=false)=>{var r,u,a,d;const p=e.$hostElement$;const $=e.L;const m=e.v||T(null,null);const v=j(t)?t:R(null,null,t);l=p.tagName;if($.M){v.l=v.l||{};$.M.map((([e,t])=>v.l[t]=p[e]))}if(c&&v.l){for(const e of Object.keys(v.l)){if(p.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){v.l[e]=p[e]}}}v.$=null;v.p|=4;e.v=v;v.m=m.m=p.shadowRoot||p;{n=p["s-sc"]}o=($.p&1)!==0;{s=p["s-cr"];i=false}ie(m,v,c);{Ge.p|=1;if(f){re(v.m);for(const e of ce){const t=e.D;if(!t["s-ol"]){const e=_e.createTextNode("");e["s-nr"]=t;t.parentNode.insertBefore(t["s-ol"]=e,t)}}for(const e of ce){const t=e.D;const n=e.O;if(n){const e=n.parentNode;let s=n.nextSibling;{let n=(r=t["s-ol"])===null||r===void 0?void 0:r.previousSibling;while(n){let l=(u=n["s-nr"])!==null&&u!==void 0?u:null;if(l&&l["s-sn"]===t["s-sn"]&&e===l.parentNode){l=l.nextSibling;if(!l||!l["s-nr"]){s=l;break}}n=n.previousSibling}}if(!s&&e!==t.parentNode||t.nextSibling!==s){if(t!==s){if(!t["s-hn"]&&t["s-ol"]){t["s-hn"]=t["s-ol"].parentNode.nodeName}e.insertBefore(t,s);if(t.nodeType===1){t.hidden=(a=t["s-ih"])!==null&&a!==void 0?a:false}}}}else{if(t.nodeType===1){if(c){t["s-ih"]=(d=t.hidden)!==null&&d!==void 0?d:false}t.hidden=true}}}}if(i){fe(v.m)}Ge.p&=~1;ce.length=0}s=undefined};const pe=(e,t)=>{if(t&&!e.F&&t["s-p"]){t["s-p"].push(new Promise((t=>e.F=t)))}};const $e=(e,t)=>{{e.p|=16}if(e.p&4){e.p|=512;return}pe(e,e.A);const n=()=>me(e,t);return ft(n)};const me=(e,t)=>{const n=u("scheduleUpdate",e.L.j);const s=e.N;let l;if(t){{e.p|=256;if(e.P){e.P.map((([e,t])=>Se(s,e,t)));e.P=undefined}}{l=Se(s,"componentWillLoad")}}{l=ve(l,(()=>Se(s,"componentWillRender")))}n();return ve(l,(()=>ye(e,s,t)))};const ve=(e,t)=>he(e)?e.then(t):t();const he=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";const ye=async(e,t,n)=>{var s;const l=e.$hostElement$;const o=u("update",e.L.j);const i=l["s-rc"];if(n){H(e)}const f=u("render",e.L.j);{be(e,t,l,n)}if(i){i.map((e=>e()));l["s-rc"]=undefined}f();o();{const t=(s=l["s-p"])!==null&&s!==void 0?s:[];const n=()=>ge(e);if(t.length===0){n()}else{Promise.all(t).then(n);e.p|=4;t.length=0}}};const be=(e,t,n,s)=>{try{t=t.render();{e.p&=~16}{e.p|=2}{{{de(e,t,s)}}}}catch(t){Qe(t,e.$hostElement$)}return null};const ge=e=>{const t=e.L.j;const n=e.$hostElement$;const s=u("postUpdate",t);const l=e.N;const o=e.A;{Se(l,"componentDidRender")}if(!(e.p&64)){e.p|=64;{ke(n)}{Se(l,"componentDidLoad")}s();{e.U(n);if(!o){we()}}}else{{Se(l,"componentDidUpdate")}s()}{e.W(n)}{if(e.F){e.F();e.F=undefined}if(e.p&512){it((()=>$e(e,false)))}e.p&=~(4|512)}};const we=t=>{{ke(_e.documentElement)}it((()=>E(Xe,"appload",{detail:{namespace:e}})))};const Se=(e,t,n)=>{if(e&&e[t]){try{return e[t](n)}catch(e){Qe(e)}}return undefined};const ke=e=>e.classList.add("hydrated");const Ce=(e,t)=>Ie(e).I.get(t);const xe=(e,t,n,s)=>{const l=Ie(e);const o=l.$hostElement$;const i=l.I.get(t);const f=l.p;const c=l.N;n=P(n,s.B[t][0]);const r=Number.isNaN(i)&&Number.isNaN(n);const u=n!==i&&!r;if((!(f&8)||i===undefined)&&u){l.I.set(t,n);if(c){if(s.H&&f&128){const e=s.H[t];if(e){e.map((e=>{try{c[e](n,i,t)}catch(e){Qe(e,o)}}))}}if((f&(2|16))===2){$e(l,false)}}}};const Re=(e,t,n)=>{var s;const l=e.prototype;if(t.B){if(e.watchers){t.H=e.watchers}const o=Object.entries(t.B);o.map((([e,[s]])=>{if(s&31||n&2&&s&32){Object.defineProperty(l,e,{get(){return Ce(this,e)},set(n){xe(this,e,n,t)},configurable:true,enumerable:true})}else if(n&1&&s&64){Object.defineProperty(l,e,{value(...t){var n;const s=Ie(this);return(n=s===null||s===void 0?void 0:s.q)===null||n===void 0?void 0:n.then((()=>{var n;return(n=s.N)===null||n===void 0?void 0:n[e](...t)}))}})}}));if(n&1){const n=new Map;l.attributeChangedCallback=function(e,s,o){Ge.jmp((()=>{var i;const f=n.get(e);if(this.hasOwnProperty(f)){o=this[f];delete this[f]}else if(l.hasOwnProperty(f)&&typeof this[f]==="number"&&this[f]==o){return}else if(f==null){const n=Ie(this);const l=n===null||n===void 0?void 0:n.p;if(l&&!(l&8)&&l&128&&o!==s){const l=n.N;const f=(i=t.H)===null||i===void 0?void 0:i[e];f===null||f===void 0?void 0:f.forEach((t=>{if(l[t]!=null){l[t].call(l,o,s,e)}}))}return}this[f]=o===null&&typeof this[f]==="boolean"?false:o}))};e.observedAttributes=Array.from(new Set([...Object.keys((s=t.H)!==null&&s!==void 0?s:{}),...o.filter((([e,t])=>t[0]&15)).map((([e,s])=>{var l;const o=s[1]||e;n.set(o,e);if(s[0]&512){(l=t.M)===null||l===void 0?void 0:l.push([e,o])}return o}))]))}}return e};const Te=async(e,t,n,s)=>{let l;if((t.p&32)===0){t.p|=32;const s=n.K;if(s){l=Ke(n);if(l.then){const e=a();l=await l;e()}if(!l.isProxied){{n.H=l.watchers}Re(l,n,2);l.isProxied=true}const e=u("createInstance",n.j);{t.p|=8}try{new l(t)}catch(e){Qe(e)}{t.p&=~8}{t.p|=128}e();Le(t.N)}else{l=e.constructor;customElements.whenDefined(n.j).then((()=>t.p|=128))}if(l.style){let e=l.style;const t=Q(n);if(!Ve.has(t)){const s=u("registerStyles",n.j);z(t,e,!!(n.p&1));s()}}}const o=t.A;const i=()=>$e(t,true);if(o&&o["s-rc"]){o["s-rc"].push(i)}else{i()}};const Le=e=>{{Se(e,"connectedCallback")}};const je=e=>{if((Ge.p&1)===0){const t=Ie(e);const n=t.L;const s=u("connectedCallback",n.j);if(!(t.p&1)){t.p|=1;let s;{s=e.getAttribute(v);if(s){if(n.p&1){const t=B(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}F(e,n.j,s,t)}}if(!s){if(n.p&(4|8)){De(e)}}{let n=e;while(n=n.parentNode||n.host){if(n.nodeType===1&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){pe(t,t.A=n);break}}}if(n.B){Object.entries(n.B).map((([t,[n]])=>{if(n&31&&e.hasOwnProperty(t)){const n=e[t];delete e[t];e[t]=n}}))}{Te(e,t,n)}}else{Ae(e,t,n.V);if(t===null||t===void 0?void 0:t.N){Le(t.N)}else if(t===null||t===void 0?void 0:t.X){t.X.then((()=>Le(t.N)))}}s()}};const De=e=>{const t=e["s-cr"]=_e.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};const Oe=e=>{{Se(e,"disconnectedCallback")}};const Me=async e=>{if((Ge.p&1)===0){const t=Ie(e);{if(t._){t._.map((e=>e()));t._=undefined}}if(t===null||t===void 0?void 0:t.N){Oe(t.N)}else if(t===null||t===void 0?void 0:t.X){t.X.then((()=>Oe(t.N)))}}};const Fe=(e,t={})=>{var n;const s=u();const l=[];const o=t.exclude||[];const i=Xe.customElements;const f=_e.head;const c=f.querySelector("meta[charset]");const r=_e.createElement("style");const a=[];const d=_e.querySelectorAll(`[${h}]`);let p;let $=true;let m=0;Object.assign(Ge,t);Ge.G=new URL(t.resourcesUrl||"./",_e.baseURI).href;{Ge.p|=2}{for(;m<d.length;m++){z(d[m].getAttribute(h),q(d[m].innerHTML),true)}}let v=false;e.map((e=>{e[1].map((t=>{var n;const s={p:t[0],j:t[1],B:t[2],V:t[3]};if(s.p&4){v=true}{s.B=t[2]}{s.V=t[3]}{s.M=[]}{s.H=(n=t[4])!==null&&n!==void 0?n:{}}const f=s.j;const c=class extends HTMLElement{constructor(e){super(e);e=this;Be(e,s);if(s.p&1){{{e.attachShadow({mode:"open"})}}}}connectedCallback(){if(p){clearTimeout(p);p=null}if($){a.push(this)}else{Ge.jmp((()=>je(this)))}}disconnectedCallback(){Ge.jmp((()=>Me(this)))}componentOnReady(){return Ie(this).X}};s.K=e[0];if(!o.includes(f)&&!i.get(f)){l.push(f);i.define(f,Re(c,s,1))}}))}));if(l.length>0){if(v){r.textContent+=g}{r.textContent+=l+b}if(r.innerHTML.length){r.setAttribute("data-styles","");const e=(n=Ge.T)!==null&&n!==void 0?n:x(_e);if(e!=null){r.setAttribute("nonce",e)}f.insertBefore(r,c?c.nextSibling:f.firstChild)}}$=false;if(a.length){a.map((e=>e.connectedCallback()))}else{{Ge.jmp((()=>p=setTimeout(we,30)))}}s()};const Ae=(e,t,n,s)=>{if(n){n.map((([n,s,l])=>{const o=Pe(e,n);const i=Ne(t,l);const f=Ue(n);Ge.ael(o,s,i,f);(t._=t._||[]).push((()=>Ge.rel(o,s,i,f)))}))}};const Ne=(e,t)=>n=>{try{{if(e.p&256){e.N[t](n)}else{(e.P=e.P||[]).push([t,n])}}}catch(e){Qe(e)}};const Pe=(e,t)=>{if(t&16)return _e.body;return e};const Ue=e=>Ye?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;const We=e=>Ge.T=e;const Ee=new WeakMap;const Ie=e=>Ee.get(e);const ze=(e,t)=>Ee.set(t.N=e,t);const Be=(e,t)=>{const n={p:0,$hostElement$:e,L:t,I:new Map};{n.q=new Promise((e=>n.W=e))}{n.X=new Promise((e=>n.U=e));e["s-p"]=[];e["s-rc"]=[]}Ae(e,n,t.V);return Ee.set(e,n)};const He=(e,t)=>t in e;const Qe=(e,t)=>(0,console.error)(e,t);const qe=new Map;const Ke=(e,t,n)=>{const s=e.j.replace(/-/g,"_");const l=e.K;const o=qe.get(l);if(o){return o[s]}
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${l}.entry.js${""}`).then((e=>{{qe.set(l,e)}return e[s]}),Qe)};const Ve=new Map;const Xe=typeof window!=="undefined"?window:{};const _e=Xe.document||{head:{}};const Ge={p:0,G:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)};const Je=true;const Ye=(()=>{let e=false;try{_e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=true}}))}catch(e){}return e})();const Ze=e=>Promise.resolve(e);const et=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();const tt=[];const nt=[];const st=(e,t)=>n=>{e.push(n);if(!r){r=true;if(t&&Ge.p&4){it(ot)}else{Ge.raf(ot)}}};const lt=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){Qe(e)}}e.length=0};const ot=()=>{lt(tt);{lt(nt);if(r=tt.length>0){Ge.raf(ot)}}};const it=e=>Ze().then(e);const ft=st(nt,true);export{L as H,Fe as b,W as c,U as g,R as h,Ze as p,ze as r,We as s};
3
- //# sourceMappingURL=p-b5b5ce83.js.map