@peculiar/certificates-viewer 4.1.0 → 4.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 (662) hide show
  1. package/components/actions.js +3 -3
  2. package/components/actions.js.map +1 -1
  3. package/components/arrow_top.js +6 -6
  4. package/components/arrow_top.js.map +1 -1
  5. package/components/attribute-certificate-viewer.js +222 -220
  6. package/components/attribute-certificate-viewer.js.map +1 -1
  7. package/components/button-menu.js +36 -35
  8. package/components/button-menu.js.map +1 -1
  9. package/components/button.js +42 -42
  10. package/components/button.js.map +1 -1
  11. package/components/certificate-viewer.js +250 -249
  12. package/components/certificate-viewer.js.map +1 -1
  13. package/components/circular-progress.js +34 -33
  14. package/components/circular-progress.js.map +1 -1
  15. package/components/crl-viewer.js +214 -213
  16. package/components/crl-viewer.js.map +1 -1
  17. package/components/cross.js +9 -9
  18. package/components/cross.js.map +1 -1
  19. package/components/csr-viewer.js +200 -202
  20. package/components/csr-viewer.js.map +1 -1
  21. package/components/download.js +56 -56
  22. package/components/download.js.map +1 -1
  23. package/components/highlight-words.js +45 -44
  24. package/components/highlight-words.js.map +1 -1
  25. package/components/index2.js +146 -156
  26. package/components/index2.js.map +1 -1
  27. package/components/issuer_name.js +6 -6
  28. package/components/issuer_name.js.map +1 -1
  29. package/components/miscellaneous.js +4049 -4037
  30. package/components/miscellaneous.js.map +1 -1
  31. package/components/peculiar-attribute-certificate-viewer.d.ts +2 -2
  32. package/components/peculiar-button-menu.d.ts +2 -2
  33. package/components/peculiar-certificate-decoder.d.ts +2 -2
  34. package/components/peculiar-certificate-decoder.js +183 -182
  35. package/components/peculiar-certificate-decoder.js.map +1 -1
  36. package/components/peculiar-certificate-viewer.d.ts +2 -2
  37. package/components/peculiar-certificates-viewer.d.ts +2 -2
  38. package/components/peculiar-certificates-viewer.js +297 -296
  39. package/components/peculiar-certificates-viewer.js.map +1 -1
  40. package/components/peculiar-circular-progress.d.ts +2 -2
  41. package/components/peculiar-crl-viewer.d.ts +2 -2
  42. package/components/peculiar-csr-viewer.d.ts +2 -2
  43. package/components/peculiar-highlight-words.d.ts +2 -2
  44. package/components/peculiar-text-hider.d.ts +2 -2
  45. package/components/peculiar-text-hider.js +23 -22
  46. package/components/peculiar-text-hider.js.map +1 -1
  47. package/components/subject_name.js +35 -35
  48. package/components/subject_name.js.map +1 -1
  49. package/dist/cjs/actions-789906f5.js +23 -0
  50. package/dist/cjs/{actions-19013d4a.js.map → actions-789906f5.js.map} +1 -1
  51. package/dist/cjs/app-globals-c20ffa41.js +10 -0
  52. package/dist/cjs/app-globals-c20ffa41.js.map +1 -0
  53. package/dist/cjs/arrow_top-76e4261e.js +37 -0
  54. package/dist/cjs/{arrow_top-834fb7ec.js.map → arrow_top-76e4261e.js.map} +1 -1
  55. package/dist/cjs/button-87086210.js +77 -0
  56. package/dist/cjs/{button-14e2b73f.js.map → button-87086210.js.map} +1 -1
  57. package/dist/cjs/{certification_request-bf416170.js → certification_request-b0d72620.js} +3326 -3331
  58. package/dist/cjs/certification_request-b0d72620.js.map +1 -0
  59. package/dist/cjs/crl-812dd7a1.js +312 -0
  60. package/dist/cjs/crl-812dd7a1.js.map +1 -0
  61. package/dist/cjs/cross-bd099933.js +51 -0
  62. package/dist/cjs/{cross-9872c473.js.map → cross-bd099933.js.map} +1 -1
  63. package/dist/cjs/{download-0fa5b33c.js → download-6f550549.js} +50 -50
  64. package/dist/cjs/download-6f550549.js.map +1 -0
  65. package/dist/cjs/download-820d66ba.js +23 -0
  66. package/dist/cjs/{download-254ddc57.js.map → download-820d66ba.js.map} +1 -1
  67. package/dist/cjs/{index-efd561e9.js → index-e2ae280a.js} +398 -145
  68. package/dist/cjs/index-e2ae280a.js.map +1 -0
  69. package/dist/cjs/index.cjs.js +8 -8
  70. package/dist/cjs/link-a3d3799d.js +25 -0
  71. package/dist/cjs/{link-6aea0be4.js.map → link-a3d3799d.js.map} +1 -1
  72. package/dist/cjs/loader.cjs.js +4 -2
  73. package/dist/cjs/loader.cjs.js.map +1 -1
  74. package/dist/cjs/miscellaneous-dcb93a5b.js +1419 -0
  75. package/dist/cjs/miscellaneous-dcb93a5b.js.map +1 -0
  76. package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js +481 -480
  77. package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js.map +1 -1
  78. package/dist/cjs/peculiar-button-menu_3.cjs.entry.js +72 -69
  79. package/dist/cjs/peculiar-button-menu_3.cjs.entry.js.map +1 -1
  80. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +151 -150
  81. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js.map +1 -1
  82. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +107 -106
  83. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js.map +1 -1
  84. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +258 -257
  85. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js.map +1 -1
  86. package/dist/cjs/peculiar-text-hider.cjs.entry.js +12 -11
  87. package/dist/cjs/peculiar-text-hider.cjs.entry.js.map +1 -1
  88. package/dist/cjs/peculiar.cjs.js +5 -3
  89. package/dist/cjs/peculiar.cjs.js.map +1 -1
  90. package/dist/cjs/x509_certificate-ebf4cbd4.js +160 -0
  91. package/dist/cjs/x509_certificate-ebf4cbd4.js.map +1 -0
  92. package/dist/collection/collection-manifest.json +2 -2
  93. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js +259 -259
  94. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js.map +1 -1
  95. package/dist/collection/components/button/button.js +9 -9
  96. package/dist/collection/components/button/button.js.map +1 -1
  97. package/dist/collection/components/button-menu/button-menu.js +60 -60
  98. package/dist/collection/components/button-menu/button-menu.js.map +1 -1
  99. package/dist/collection/components/certificate-decoder/certificate-decoder.js +211 -211
  100. package/dist/collection/components/certificate-decoder/certificate-decoder.js.map +1 -1
  101. package/dist/collection/components/certificate-details-parts/attributes/activity_description_attribute.js +4 -3
  102. package/dist/collection/components/certificate-details-parts/attributes/activity_description_attribute.js.map +1 -1
  103. package/dist/collection/components/certificate-details-parts/attributes/as_string_attribute.js +2 -2
  104. package/dist/collection/components/certificate-details-parts/attributes/as_string_attribute.js.map +1 -1
  105. package/dist/collection/components/certificate-details-parts/attributes/basic_attribute.js +6 -6
  106. package/dist/collection/components/certificate-details-parts/attributes/basic_attribute.js.map +1 -1
  107. package/dist/collection/components/certificate-details-parts/attributes/challenge_password_attribute.js +2 -2
  108. package/dist/collection/components/certificate-details-parts/attributes/challenge_password_attribute.js.map +1 -1
  109. package/dist/collection/components/certificate-details-parts/attributes/index.js +42 -42
  110. package/dist/collection/components/certificate-details-parts/attributes/index.js.map +1 -1
  111. package/dist/collection/components/certificate-details-parts/attributes/insurance_value_attribute.js +3 -3
  112. package/dist/collection/components/certificate-details-parts/attributes/insurance_value_attribute.js.map +1 -1
  113. package/dist/collection/components/certificate-details-parts/attributes/name_attribute.js +2 -2
  114. package/dist/collection/components/certificate-details-parts/attributes/name_attribute.js.map +1 -1
  115. package/dist/collection/components/certificate-details-parts/attributes/name_part.js +5 -5
  116. package/dist/collection/components/certificate-details-parts/attributes/name_part.js.map +1 -1
  117. package/dist/collection/components/certificate-details-parts/attributes/type_relationship_attribute.js +2 -2
  118. package/dist/collection/components/certificate-details-parts/attributes/type_relationship_attribute.js.map +1 -1
  119. package/dist/collection/components/certificate-details-parts/attributes/unstructured_name_attribute.js +2 -2
  120. package/dist/collection/components/certificate-details-parts/attributes/unstructured_name_attribute.js.map +1 -1
  121. package/dist/collection/components/certificate-details-parts/attributes/valuation_ranking_attribute.js +14 -14
  122. package/dist/collection/components/certificate-details-parts/attributes/valuation_ranking_attribute.js.map +1 -1
  123. package/dist/collection/components/certificate-details-parts/attributes/web_gdpr_attribute.js +4 -3
  124. package/dist/collection/components/certificate-details-parts/attributes/web_gdpr_attribute.js.map +1 -1
  125. package/dist/collection/components/certificate-details-parts/basic_information.js +12 -12
  126. package/dist/collection/components/certificate-details-parts/basic_information.js.map +1 -1
  127. package/dist/collection/components/certificate-details-parts/extensions/archive_rev_info_extension.js +2 -2
  128. package/dist/collection/components/certificate-details-parts/extensions/archive_rev_info_extension.js.map +1 -1
  129. package/dist/collection/components/certificate-details-parts/extensions/as_string_extension.js +2 -2
  130. package/dist/collection/components/certificate-details-parts/extensions/as_string_extension.js.map +1 -1
  131. package/dist/collection/components/certificate-details-parts/extensions/attribute_value.js +1 -1
  132. package/dist/collection/components/certificate-details-parts/extensions/attribute_value.js.map +1 -1
  133. package/dist/collection/components/certificate-details-parts/extensions/authority_key_identifier_extension.js +8 -8
  134. package/dist/collection/components/certificate-details-parts/extensions/authority_key_identifier_extension.js.map +1 -1
  135. package/dist/collection/components/certificate-details-parts/extensions/basic_constraints_extension.js +2 -2
  136. package/dist/collection/components/certificate-details-parts/extensions/basic_constraints_extension.js.map +1 -1
  137. package/dist/collection/components/certificate-details-parts/extensions/basic_extension.js +7 -7
  138. package/dist/collection/components/certificate-details-parts/extensions/basic_extension.js.map +1 -1
  139. package/dist/collection/components/certificate-details-parts/extensions/biometric_syntax_extension.js +5 -5
  140. package/dist/collection/components/certificate-details-parts/extensions/biometric_syntax_extension.js.map +1 -1
  141. package/dist/collection/components/certificate-details-parts/extensions/ca_version_extension.js +3 -3
  142. package/dist/collection/components/certificate-details-parts/extensions/ca_version_extension.js.map +1 -1
  143. package/dist/collection/components/certificate-details-parts/extensions/cabforganization_identifier_extension.js +19 -0
  144. package/dist/collection/components/certificate-details-parts/extensions/cabforganization_identifier_extension.js.map +1 -0
  145. package/dist/collection/components/certificate-details-parts/extensions/certificate_policies_extension.js +23 -23
  146. package/dist/collection/components/certificate-details-parts/extensions/certificate_policies_extension.js.map +1 -1
  147. package/dist/collection/components/certificate-details-parts/extensions/certificate_template_extension.js +2 -2
  148. package/dist/collection/components/certificate-details-parts/extensions/certificate_template_extension.js.map +1 -1
  149. package/dist/collection/components/certificate-details-parts/extensions/certificate_transparency_extension.js +5 -5
  150. package/dist/collection/components/certificate-details-parts/extensions/certificate_transparency_extension.js.map +1 -1
  151. package/dist/collection/components/certificate-details-parts/extensions/crl_distribution_points_extension.js +8 -8
  152. package/dist/collection/components/certificate-details-parts/extensions/crl_distribution_points_extension.js.map +1 -1
  153. package/dist/collection/components/certificate-details-parts/extensions/crl_number_extension.js +2 -2
  154. package/dist/collection/components/certificate-details-parts/extensions/crl_number_extension.js.map +1 -1
  155. package/dist/collection/components/certificate-details-parts/extensions/crl_reason_extension.js +2 -2
  156. package/dist/collection/components/certificate-details-parts/extensions/crl_reason_extension.js.map +1 -1
  157. package/dist/collection/components/certificate-details-parts/extensions/enroll_cert_type_extension.js +2 -2
  158. package/dist/collection/components/certificate-details-parts/extensions/enroll_cert_type_extension.js.map +1 -1
  159. package/dist/collection/components/certificate-details-parts/extensions/entrust_version_info_extension.js +2 -2
  160. package/dist/collection/components/certificate-details-parts/extensions/entrust_version_info_extension.js.map +1 -1
  161. package/dist/collection/components/certificate-details-parts/extensions/extended_key_usage_extension.js +5 -5
  162. package/dist/collection/components/certificate-details-parts/extensions/extended_key_usage_extension.js.map +1 -1
  163. package/dist/collection/components/certificate-details-parts/extensions/general_name_part.js +52 -52
  164. package/dist/collection/components/certificate-details-parts/extensions/general_name_part.js.map +1 -1
  165. package/dist/collection/components/certificate-details-parts/extensions/index.js +123 -118
  166. package/dist/collection/components/certificate-details-parts/extensions/index.js.map +1 -1
  167. package/dist/collection/components/certificate-details-parts/extensions/info_access_syntax_extension.js +5 -5
  168. package/dist/collection/components/certificate-details-parts/extensions/info_access_syntax_extension.js.map +1 -1
  169. package/dist/collection/components/certificate-details-parts/extensions/issuing_distribution_point_extension.js +4 -4
  170. package/dist/collection/components/certificate-details-parts/extensions/issuing_distribution_point_extension.js.map +1 -1
  171. package/dist/collection/components/certificate-details-parts/extensions/key_description_extension.js +58 -58
  172. package/dist/collection/components/certificate-details-parts/extensions/key_description_extension.js.map +1 -1
  173. package/dist/collection/components/certificate-details-parts/extensions/key_usage_extension.js +2 -2
  174. package/dist/collection/components/certificate-details-parts/extensions/key_usage_extension.js.map +1 -1
  175. package/dist/collection/components/certificate-details-parts/extensions/lei_extension.js +2 -2
  176. package/dist/collection/components/certificate-details-parts/extensions/lei_extension.js.map +1 -1
  177. package/dist/collection/components/certificate-details-parts/extensions/lei_role_extennsion.js +2 -2
  178. package/dist/collection/components/certificate-details-parts/extensions/lei_role_extennsion.js.map +1 -1
  179. package/dist/collection/components/certificate-details-parts/extensions/logotype_extension.js +42 -42
  180. package/dist/collection/components/certificate-details-parts/extensions/logotype_extension.js.map +1 -1
  181. package/dist/collection/components/certificate-details-parts/extensions/name_constraints_extension.js +5 -5
  182. package/dist/collection/components/certificate-details-parts/extensions/name_constraints_extension.js.map +1 -1
  183. package/dist/collection/components/certificate-details-parts/extensions/netscape_cert_type_extension.js +2 -2
  184. package/dist/collection/components/certificate-details-parts/extensions/netscape_cert_type_extension.js.map +1 -1
  185. package/dist/collection/components/certificate-details-parts/extensions/netscape_comment_extension.js +2 -2
  186. package/dist/collection/components/certificate-details-parts/extensions/netscape_comment_extension.js.map +1 -1
  187. package/dist/collection/components/certificate-details-parts/extensions/policy_constraints_extension.js +2 -2
  188. package/dist/collection/components/certificate-details-parts/extensions/policy_constraints_extension.js.map +1 -1
  189. package/dist/collection/components/certificate-details-parts/extensions/policy_mappings_extension.js +6 -7
  190. package/dist/collection/components/certificate-details-parts/extensions/policy_mappings_extension.js.map +1 -1
  191. package/dist/collection/components/certificate-details-parts/extensions/private_key_usage_period_extension.js +2 -2
  192. package/dist/collection/components/certificate-details-parts/extensions/private_key_usage_period_extension.js.map +1 -1
  193. package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js +29 -29
  194. package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js.map +1 -1
  195. package/dist/collection/components/certificate-details-parts/extensions/subject_alternative_name_extension.js +2 -2
  196. package/dist/collection/components/certificate-details-parts/extensions/subject_alternative_name_extension.js.map +1 -1
  197. package/dist/collection/components/certificate-details-parts/extensions/subject_directory_attributes_extension.js +5 -5
  198. package/dist/collection/components/certificate-details-parts/extensions/subject_directory_attributes_extension.js.map +1 -1
  199. package/dist/collection/components/certificate-details-parts/extensions/subject_key_identifier_extension.js +8 -8
  200. package/dist/collection/components/certificate-details-parts/extensions/subject_key_identifier_extension.js.map +1 -1
  201. package/dist/collection/components/certificate-details-parts/extensions/timestamp_extension.js +2 -2
  202. package/dist/collection/components/certificate-details-parts/extensions/timestamp_extension.js.map +1 -1
  203. package/dist/collection/components/certificate-details-parts/extensions/tn_auth_list_extension.js +6 -8
  204. package/dist/collection/components/certificate-details-parts/extensions/tn_auth_list_extension.js.map +1 -1
  205. package/dist/collection/components/certificate-details-parts/holder.js +19 -21
  206. package/dist/collection/components/certificate-details-parts/holder.js.map +1 -1
  207. package/dist/collection/components/certificate-details-parts/issuer.js +8 -8
  208. package/dist/collection/components/certificate-details-parts/issuer.js.map +1 -1
  209. package/dist/collection/components/certificate-details-parts/issuer_name.js +6 -6
  210. package/dist/collection/components/certificate-details-parts/issuer_name.js.map +1 -1
  211. package/dist/collection/components/certificate-details-parts/miscellaneous.js +6 -6
  212. package/dist/collection/components/certificate-details-parts/miscellaneous.js.map +1 -1
  213. package/dist/collection/components/certificate-details-parts/public_key.js +29 -29
  214. package/dist/collection/components/certificate-details-parts/public_key.js.map +1 -1
  215. package/dist/collection/components/certificate-details-parts/revoked_certificates.js +30 -30
  216. package/dist/collection/components/certificate-details-parts/revoked_certificates.js.map +1 -1
  217. package/dist/collection/components/certificate-details-parts/row.js +26 -26
  218. package/dist/collection/components/certificate-details-parts/row.js.map +1 -1
  219. package/dist/collection/components/certificate-details-parts/signature.js +13 -13
  220. package/dist/collection/components/certificate-details-parts/signature.js.map +1 -1
  221. package/dist/collection/components/certificate-details-parts/subject_name.js +5 -5
  222. package/dist/collection/components/certificate-details-parts/subject_name.js.map +1 -1
  223. package/dist/collection/components/certificate-details-parts/thumbprints.js +12 -12
  224. package/dist/collection/components/certificate-details-parts/thumbprints.js.map +1 -1
  225. package/dist/collection/components/certificate-summary/certificate-summary.js +3 -3
  226. package/dist/collection/components/certificate-summary/certificate-summary.js.map +1 -1
  227. package/dist/collection/components/certificate-viewer/certificate-viewer.js +278 -278
  228. package/dist/collection/components/certificate-viewer/certificate-viewer.js.map +1 -1
  229. package/dist/collection/components/certificates-viewer/certificates-viewer.js +374 -374
  230. package/dist/collection/components/certificates-viewer/certificates-viewer.js.map +1 -1
  231. package/dist/collection/components/circular-progress/circular-progress.js +67 -67
  232. package/dist/collection/components/circular-progress/circular-progress.js.map +1 -1
  233. package/dist/collection/components/crl-viewer/crl-viewer.js +229 -229
  234. package/dist/collection/components/crl-viewer/crl-viewer.js.map +1 -1
  235. package/dist/collection/components/csr-viewer/csr-viewer.js +211 -219
  236. package/dist/collection/components/csr-viewer/csr-viewer.js.map +1 -1
  237. package/dist/collection/components/highlight-words/highlight-words.js +60 -60
  238. package/dist/collection/components/highlight-words/highlight-words.js.map +1 -1
  239. package/dist/collection/components/icons/actions.js +2 -2
  240. package/dist/collection/components/icons/actions.js.map +1 -1
  241. package/dist/collection/components/icons/arrow_bottom.js +2 -2
  242. package/dist/collection/components/icons/arrow_bottom.js.map +1 -1
  243. package/dist/collection/components/icons/arrow_top.js +2 -2
  244. package/dist/collection/components/icons/arrow_top.js.map +1 -1
  245. package/dist/collection/components/icons/cross.js +2 -2
  246. package/dist/collection/components/icons/cross.js.map +1 -1
  247. package/dist/collection/components/icons/details.js +2 -2
  248. package/dist/collection/components/icons/details.js.map +1 -1
  249. package/dist/collection/components/icons/download.js +2 -2
  250. package/dist/collection/components/icons/download.js.map +1 -1
  251. package/dist/collection/components/icons/link.js +2 -2
  252. package/dist/collection/components/icons/link.js.map +1 -1
  253. package/dist/collection/components/link/link.js +4 -4
  254. package/dist/collection/components/link/link.js.map +1 -1
  255. package/dist/collection/components/text-hider/text-hider.js +23 -23
  256. package/dist/collection/components/text-hider/text-hider.js.map +1 -1
  257. package/dist/collection/components/typography/typography.js +32 -32
  258. package/dist/collection/components/typography/typography.js.map +1 -1
  259. package/dist/collection/constants/logs.js +77 -76
  260. package/dist/collection/constants/logs.js.map +1 -1
  261. package/dist/collection/constants/oids.js +2334 -2314
  262. package/dist/collection/constants/oids.js.map +1 -1
  263. package/dist/collection/crypto/asn_data.js +31 -31
  264. package/dist/collection/crypto/asn_data.js.map +1 -1
  265. package/dist/collection/crypto/attribute.js +35 -51
  266. package/dist/collection/crypto/attribute.js.map +1 -1
  267. package/dist/collection/crypto/crl.js +66 -66
  268. package/dist/collection/crypto/crl.js.map +1 -1
  269. package/dist/collection/crypto/csr.js +76 -69
  270. package/dist/collection/crypto/csr.js.map +1 -1
  271. package/dist/collection/crypto/extension.js +64 -135
  272. package/dist/collection/crypto/extension.js.map +1 -1
  273. package/dist/collection/crypto/extensions/cabforganization_identifier.js +54 -0
  274. package/dist/collection/crypto/extensions/cabforganization_identifier.js.map +1 -0
  275. package/dist/collection/crypto/extensions/index.js +5 -0
  276. package/dist/collection/crypto/extensions/index.js.map +1 -0
  277. package/dist/collection/crypto/name.js +31 -31
  278. package/dist/collection/crypto/name.js.map +1 -1
  279. package/dist/collection/crypto/provider.js +26 -26
  280. package/dist/collection/crypto/provider.js.map +1 -1
  281. package/dist/collection/crypto/utils.js +23 -23
  282. package/dist/collection/crypto/utils.js.map +1 -1
  283. package/dist/collection/crypto/x509_attribute_certificate.js +66 -66
  284. package/dist/collection/crypto/x509_attribute_certificate.js.map +1 -1
  285. package/dist/collection/crypto/x509_certificate.js +139 -139
  286. package/dist/collection/crypto/x509_certificate.js.map +1 -1
  287. package/dist/collection/utils/camel_case_to_words.js +2 -2
  288. package/dist/collection/utils/camel_case_to_words.js.map +1 -1
  289. package/dist/collection/utils/date_formatter.js +6 -6
  290. package/dist/collection/utils/date_formatter.js.map +1 -1
  291. package/dist/collection/utils/download.js +24 -24
  292. package/dist/collection/utils/download.js.map +1 -1
  293. package/dist/collection/utils/download_from_buffer.js +25 -25
  294. package/dist/collection/utils/download_from_buffer.js.map +1 -1
  295. package/dist/collection/utils/get_string_by_oid.js +5 -5
  296. package/dist/collection/utils/get_string_by_oid.js.map +1 -1
  297. package/dist/collection/utils/is_link.js +1 -1
  298. package/dist/collection/utils/is_link.js.map +1 -1
  299. package/dist/collection/utils/l10n.js +25 -25
  300. package/dist/collection/utils/l10n.js.map +1 -1
  301. package/dist/collection/utils/read_file.js +40 -40
  302. package/dist/collection/utils/read_file.js.map +1 -1
  303. package/dist/collection/utils/validator.js +13 -13
  304. package/dist/collection/utils/validator.js.map +1 -1
  305. package/dist/esm/actions-aebcbc9d.js +21 -0
  306. package/dist/esm/{actions-8d745b2a.js.map → actions-aebcbc9d.js.map} +1 -1
  307. package/dist/esm/app-globals-5e9b67e0.js +8 -0
  308. package/dist/esm/app-globals-5e9b67e0.js.map +1 -0
  309. package/dist/esm/arrow_top-aee1ee02.js +34 -0
  310. package/dist/esm/{arrow_top-fc298828.js.map → arrow_top-aee1ee02.js.map} +1 -1
  311. package/dist/esm/button-a2fabf9a.js +74 -0
  312. package/dist/esm/{button-35146bdd.js.map → button-a2fabf9a.js.map} +1 -1
  313. package/dist/esm/{certification_request-c9dc8e9c.js → certification_request-2c054ece.js} +3325 -3331
  314. package/dist/esm/certification_request-2c054ece.js.map +1 -0
  315. package/dist/esm/crl-a7318483.js +308 -0
  316. package/dist/esm/crl-a7318483.js.map +1 -0
  317. package/dist/esm/cross-1377606f.js +47 -0
  318. package/dist/esm/{cross-9ec9a759.js.map → cross-1377606f.js.map} +1 -1
  319. package/dist/esm/download-14dc1047.js +21 -0
  320. package/dist/esm/{download-0cc3077a.js.map → download-14dc1047.js.map} +1 -1
  321. package/dist/esm/{download-aacb6eff.js → download-8c128e2e.js} +50 -50
  322. package/dist/esm/download-8c128e2e.js.map +1 -0
  323. package/dist/esm/{index-4079bbb5.js → index-ae188432.js} +398 -145
  324. package/dist/esm/index-ae188432.js.map +1 -0
  325. package/dist/esm/index.js +8 -8
  326. package/dist/esm/link-7e4e9060.js +23 -0
  327. package/dist/esm/{link-ad24c3be.js.map → link-7e4e9060.js.map} +1 -1
  328. package/dist/esm/loader.js +5 -3
  329. package/dist/esm/loader.js.map +1 -1
  330. package/dist/esm/miscellaneous-0e98b5bc.js +1401 -0
  331. package/dist/esm/miscellaneous-0e98b5bc.js.map +1 -0
  332. package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js +481 -480
  333. package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -1
  334. package/dist/esm/peculiar-button-menu_3.entry.js +72 -69
  335. package/dist/esm/peculiar-button-menu_3.entry.js.map +1 -1
  336. package/dist/esm/peculiar-certificate-decoder.entry.js +151 -150
  337. package/dist/esm/peculiar-certificate-decoder.entry.js.map +1 -1
  338. package/dist/esm/peculiar-certificate-viewer.entry.js +107 -106
  339. package/dist/esm/peculiar-certificate-viewer.entry.js.map +1 -1
  340. package/dist/esm/peculiar-certificates-viewer.entry.js +258 -257
  341. package/dist/esm/peculiar-certificates-viewer.entry.js.map +1 -1
  342. package/dist/esm/peculiar-text-hider.entry.js +12 -11
  343. package/dist/esm/peculiar-text-hider.entry.js.map +1 -1
  344. package/dist/esm/peculiar.js +6 -4
  345. package/dist/esm/peculiar.js.map +1 -1
  346. package/dist/esm/x509_certificate-ad568d3a.js +158 -0
  347. package/dist/esm/x509_certificate-ad568d3a.js.map +1 -0
  348. package/dist/esm-es5/{actions-8d745b2a.js → actions-aebcbc9d.js} +2 -2
  349. package/dist/esm-es5/app-globals-5e9b67e0.js +5 -0
  350. package/dist/esm-es5/app-globals-5e9b67e0.js.map +1 -0
  351. package/dist/esm-es5/{arrow_top-fc298828.js → arrow_top-aee1ee02.js} +2 -2
  352. package/dist/esm-es5/button-a2fabf9a.js +19 -0
  353. package/dist/esm-es5/certification_request-2c054ece.js +97 -0
  354. package/dist/esm-es5/certification_request-2c054ece.js.map +1 -0
  355. package/dist/esm-es5/crl-a7318483.js +33 -0
  356. package/dist/esm-es5/crl-a7318483.js.map +1 -0
  357. package/dist/esm-es5/{cross-9ec9a759.js → cross-1377606f.js} +2 -2
  358. package/dist/esm-es5/{download-0cc3077a.js → download-14dc1047.js} +2 -2
  359. package/dist/esm-es5/{download-aacb6eff.js → download-8c128e2e.js} +3 -3
  360. package/dist/esm-es5/{download-aacb6eff.js.map → download-8c128e2e.js.map} +1 -1
  361. package/dist/esm-es5/index-ae188432.js +6 -0
  362. package/dist/esm-es5/index-ae188432.js.map +1 -0
  363. package/dist/esm-es5/index.js +1 -1
  364. package/dist/esm-es5/{link-ad24c3be.js → link-7e4e9060.js} +3 -3
  365. package/dist/esm-es5/loader.js +2 -2
  366. package/dist/esm-es5/loader.js.map +1 -1
  367. package/dist/esm-es5/miscellaneous-0e98b5bc.js +369 -0
  368. package/dist/esm-es5/miscellaneous-0e98b5bc.js.map +1 -0
  369. package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js +17 -17
  370. package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -1
  371. package/dist/esm-es5/peculiar-button-menu_3.entry.js +1 -1
  372. package/dist/esm-es5/peculiar-button-menu_3.entry.js.map +1 -1
  373. package/dist/esm-es5/peculiar-certificate-decoder.entry.js +3 -3
  374. package/dist/esm-es5/peculiar-certificate-decoder.entry.js.map +1 -1
  375. package/dist/esm-es5/peculiar-certificate-viewer.entry.js +2 -2
  376. package/dist/esm-es5/peculiar-certificate-viewer.entry.js.map +1 -1
  377. package/dist/esm-es5/peculiar-certificates-viewer.entry.js +3 -3
  378. package/dist/esm-es5/peculiar-certificates-viewer.entry.js.map +1 -1
  379. package/dist/esm-es5/peculiar-text-hider.entry.js +1 -1
  380. package/dist/esm-es5/peculiar-text-hider.entry.js.map +1 -1
  381. package/dist/esm-es5/peculiar.js +2 -2
  382. package/dist/esm-es5/peculiar.js.map +1 -1
  383. package/dist/esm-es5/x509_certificate-ad568d3a.js +12 -0
  384. package/dist/esm-es5/{x509_certificate-8cf268d1.js.map → x509_certificate-ad568d3a.js.map} +1 -1
  385. package/dist/peculiar/index.esm.js +1 -1
  386. package/dist/peculiar/{p-5e49b881.system.entry.js → p-00302a20.system.entry.js} +3 -3
  387. package/dist/peculiar/p-00302a20.system.entry.js.map +1 -0
  388. package/dist/peculiar/p-0dbc8238.system.js +13 -0
  389. package/dist/peculiar/{p-cfca7dae.system.js.map → p-0dbc8238.system.js.map} +1 -1
  390. package/dist/peculiar/{p-1ef997ee.js → p-1302bd67.js} +11 -11
  391. package/dist/peculiar/p-1302bd67.js.map +1 -0
  392. package/dist/peculiar/{p-59e5ac12.js → p-1f766dd5.js} +1 -1
  393. package/dist/peculiar/p-243244af.system.js +13 -0
  394. package/dist/peculiar/{p-0fc2e2b4.js → p-27ca6743.js} +2 -2
  395. package/dist/peculiar/p-3cb79cd9.js +6 -0
  396. package/dist/peculiar/p-3cb79cd9.js.map +1 -0
  397. package/dist/peculiar/{p-72f53d81.js → p-3d44cbd2.js} +3 -3
  398. package/dist/peculiar/p-3f9af5f5.system.js +97 -0
  399. package/dist/peculiar/p-3f9af5f5.system.js.map +1 -0
  400. package/dist/peculiar/{p-0bd7c6bc.system.entry.js → p-496449cf.system.entry.js} +10 -10
  401. package/dist/peculiar/p-496449cf.system.entry.js.map +1 -0
  402. package/dist/peculiar/p-4bc5ddbe.js +19 -0
  403. package/dist/peculiar/{p-025b3cfb.entry.js → p-54b37ef9.entry.js} +2 -2
  404. package/dist/peculiar/p-54b37ef9.entry.js.map +1 -0
  405. package/dist/peculiar/p-5a662d6f.system.js +13 -0
  406. package/dist/peculiar/{p-e5b18cd1.entry.js → p-5c6f9a14.entry.js} +3 -3
  407. package/dist/peculiar/p-5c6f9a14.entry.js.map +1 -0
  408. package/dist/peculiar/p-5cf4562f.system.entry.js +111 -0
  409. package/dist/peculiar/p-5cf4562f.system.entry.js.map +1 -0
  410. package/dist/peculiar/{p-2f48fe70.entry.js → p-5f3b0fc7.entry.js} +3 -3
  411. package/dist/peculiar/p-5f3b0fc7.entry.js.map +1 -0
  412. package/dist/peculiar/{p-24050d82.system.entry.js → p-6680f277.system.entry.js} +10 -10
  413. package/dist/peculiar/p-6680f277.system.entry.js.map +1 -0
  414. package/dist/peculiar/p-713563fb.entry.js +5 -0
  415. package/dist/peculiar/p-713563fb.entry.js.map +1 -0
  416. package/dist/peculiar/{p-ca02a823.js → p-75166532.js} +60 -53
  417. package/dist/peculiar/p-75166532.js.map +1 -0
  418. package/dist/peculiar/p-821bdcdc.system.js +6 -0
  419. package/dist/peculiar/p-821bdcdc.system.js.map +1 -0
  420. package/dist/peculiar/p-8393399a.system.js +5 -0
  421. package/dist/peculiar/p-8393399a.system.js.map +1 -0
  422. package/dist/peculiar/p-8bbee8f4.system.js +13 -0
  423. package/dist/peculiar/p-924790f5.js +33 -0
  424. package/dist/peculiar/p-924790f5.js.map +1 -0
  425. package/dist/peculiar/p-9712b827.system.js +20 -0
  426. package/dist/peculiar/{p-2fcad8cb.system.js.map → p-9712b827.system.js.map} +1 -1
  427. package/dist/peculiar/{p-370cee20.js → p-99efefea.js} +2 -2
  428. package/dist/peculiar/{p-1ceb0fe3.js → p-a9487007.js} +2 -2
  429. package/dist/peculiar/{p-17e3c47b.js → p-ae91d778.js} +2 -2
  430. package/dist/peculiar/p-afbd1c8e.entry.js +5 -0
  431. package/dist/peculiar/p-afbd1c8e.entry.js.map +1 -0
  432. package/dist/peculiar/p-b2890eb8.system.js +5 -0
  433. package/dist/peculiar/p-b5389885.system.entry.js +5 -0
  434. package/dist/peculiar/p-b5389885.system.entry.js.map +1 -0
  435. package/dist/peculiar/p-c156b495.system.js +33 -0
  436. package/dist/peculiar/p-c156b495.system.js.map +1 -0
  437. package/dist/peculiar/p-c23fd001.entry.js +110 -0
  438. package/dist/peculiar/p-c23fd001.entry.js.map +1 -0
  439. package/dist/peculiar/p-c241e4ba.system.js +20 -0
  440. package/dist/peculiar/{p-c99507d4.system.js.map → p-c241e4ba.system.js.map} +1 -1
  441. package/dist/peculiar/p-c2995a63.system.js +5 -0
  442. package/dist/peculiar/p-c2995a63.system.js.map +1 -0
  443. package/dist/peculiar/p-dac867e8.js +5 -0
  444. package/dist/peculiar/p-dac867e8.js.map +1 -0
  445. package/dist/peculiar/p-dde511c8.system.js +43 -0
  446. package/dist/{cjs/download-0fa5b33c.js.map → peculiar/p-dde511c8.system.js.map} +1 -1
  447. package/dist/peculiar/p-e4ad4f13.system.entry.js +5 -0
  448. package/dist/peculiar/p-e4ad4f13.system.entry.js.map +1 -0
  449. package/dist/peculiar/p-e6a6e602.js +12 -0
  450. package/dist/peculiar/p-eea904d7.system.js +27 -0
  451. package/dist/peculiar/{p-ddae2f8e.system.js.map → p-eea904d7.system.js.map} +1 -1
  452. package/dist/peculiar/p-ff3ced3c.system.js +369 -0
  453. package/dist/peculiar/p-ff3ced3c.system.js.map +1 -0
  454. package/dist/peculiar/peculiar.esm.js +1 -1
  455. package/dist/peculiar/peculiar.esm.js.map +1 -1
  456. package/dist/peculiar/peculiar.js +15 -15
  457. package/dist/types/components/attribute-certificate-viewer/attribute-certificate-viewer.d.ts +68 -68
  458. package/dist/types/components/button/button.d.ts +4 -4
  459. package/dist/types/components/button-menu/button-menu.d.ts +7 -7
  460. package/dist/types/components/certificate-decoder/certificate-decoder.d.ts +31 -31
  461. package/dist/types/components/certificate-details-parts/attributes/activity_description_attribute.d.ts +1 -1
  462. package/dist/types/components/certificate-details-parts/attributes/as_string_attribute.d.ts +1 -1
  463. package/dist/types/components/certificate-details-parts/attributes/basic_attribute.d.ts +1 -1
  464. package/dist/types/components/certificate-details-parts/attributes/challenge_password_attribute.d.ts +1 -1
  465. package/dist/types/components/certificate-details-parts/attributes/index.d.ts +1 -1
  466. package/dist/types/components/certificate-details-parts/attributes/insurance_value_attribute.d.ts +1 -1
  467. package/dist/types/components/certificate-details-parts/attributes/name_attribute.d.ts +1 -1
  468. package/dist/types/components/certificate-details-parts/attributes/name_part.d.ts +1 -1
  469. package/dist/types/components/certificate-details-parts/attributes/type_relationship_attribute.d.ts +1 -1
  470. package/dist/types/components/certificate-details-parts/attributes/unstructured_name_attribute.d.ts +1 -1
  471. package/dist/types/components/certificate-details-parts/attributes/valuation_ranking_attribute.d.ts +1 -1
  472. package/dist/types/components/certificate-details-parts/attributes/web_gdpr_attribute.d.ts +1 -1
  473. package/dist/types/components/certificate-details-parts/basic_information.d.ts +8 -8
  474. package/dist/types/components/certificate-details-parts/extensions/archive_rev_info_extension.d.ts +1 -1
  475. package/dist/types/components/certificate-details-parts/extensions/as_string_extension.d.ts +1 -1
  476. package/dist/types/components/certificate-details-parts/extensions/authority_key_identifier_extension.d.ts +1 -1
  477. package/dist/types/components/certificate-details-parts/extensions/basic_constraints_extension.d.ts +1 -1
  478. package/dist/types/components/certificate-details-parts/extensions/basic_extension.d.ts +1 -1
  479. package/dist/types/components/certificate-details-parts/extensions/biometric_syntax_extension.d.ts +1 -1
  480. package/dist/types/components/certificate-details-parts/extensions/ca_version_extension.d.ts +1 -1
  481. package/dist/types/components/certificate-details-parts/extensions/cabforganization_identifier_extension.d.ts +15 -0
  482. package/dist/types/components/certificate-details-parts/extensions/certificate_policies_extension.d.ts +1 -1
  483. package/dist/types/components/certificate-details-parts/extensions/certificate_template_extension.d.ts +1 -1
  484. package/dist/types/components/certificate-details-parts/extensions/certificate_transparency_extension.d.ts +1 -1
  485. package/dist/types/components/certificate-details-parts/extensions/crl_distribution_points_extension.d.ts +1 -1
  486. package/dist/types/components/certificate-details-parts/extensions/crl_number_extension.d.ts +1 -1
  487. package/dist/types/components/certificate-details-parts/extensions/crl_reason_extension.d.ts +1 -1
  488. package/dist/types/components/certificate-details-parts/extensions/enroll_cert_type_extension.d.ts +1 -1
  489. package/dist/types/components/certificate-details-parts/extensions/entrust_version_info_extension.d.ts +1 -1
  490. package/dist/types/components/certificate-details-parts/extensions/extended_key_usage_extension.d.ts +1 -1
  491. package/dist/types/components/certificate-details-parts/extensions/general_name_part.d.ts +1 -1
  492. package/dist/types/components/certificate-details-parts/extensions/index.d.ts +2 -2
  493. package/dist/types/components/certificate-details-parts/extensions/info_access_syntax_extension.d.ts +1 -1
  494. package/dist/types/components/certificate-details-parts/extensions/issuing_distribution_point_extension.d.ts +1 -1
  495. package/dist/types/components/certificate-details-parts/extensions/key_description_extension.d.ts +1 -1
  496. package/dist/types/components/certificate-details-parts/extensions/key_usage_extension.d.ts +1 -1
  497. package/dist/types/components/certificate-details-parts/extensions/lei_extension.d.ts +1 -1
  498. package/dist/types/components/certificate-details-parts/extensions/lei_role_extennsion.d.ts +1 -1
  499. package/dist/types/components/certificate-details-parts/extensions/logotype_extension.d.ts +1 -1
  500. package/dist/types/components/certificate-details-parts/extensions/name_constraints_extension.d.ts +1 -1
  501. package/dist/types/components/certificate-details-parts/extensions/netscape_cert_type_extension.d.ts +1 -1
  502. package/dist/types/components/certificate-details-parts/extensions/netscape_comment_extension.d.ts +1 -1
  503. package/dist/types/components/certificate-details-parts/extensions/policy_constraints_extension.d.ts +1 -1
  504. package/dist/types/components/certificate-details-parts/extensions/policy_mappings_extension.d.ts +1 -1
  505. package/dist/types/components/certificate-details-parts/extensions/private_key_usage_period_extension.d.ts +1 -1
  506. package/dist/types/components/certificate-details-parts/extensions/qc_statements_extension.d.ts +1 -1
  507. package/dist/types/components/certificate-details-parts/extensions/subject_alternative_name_extension.d.ts +1 -1
  508. package/dist/types/components/certificate-details-parts/extensions/subject_directory_attributes_extension.d.ts +1 -1
  509. package/dist/types/components/certificate-details-parts/extensions/subject_key_identifier_extension.d.ts +1 -1
  510. package/dist/types/components/certificate-details-parts/extensions/timestamp_extension.d.ts +1 -1
  511. package/dist/types/components/certificate-details-parts/extensions/tn_auth_list_extension.d.ts +1 -1
  512. package/dist/types/components/certificate-details-parts/holder.d.ts +1 -1
  513. package/dist/types/components/certificate-details-parts/issuer.d.ts +1 -1
  514. package/dist/types/components/certificate-details-parts/issuer_name.d.ts +2 -2
  515. package/dist/types/components/certificate-details-parts/miscellaneous.d.ts +1 -1
  516. package/dist/types/components/certificate-details-parts/public_key.d.ts +1 -1
  517. package/dist/types/components/certificate-details-parts/revoked_certificates.d.ts +1 -1
  518. package/dist/types/components/certificate-details-parts/row.d.ts +7 -7
  519. package/dist/types/components/certificate-details-parts/signature.d.ts +1 -1
  520. package/dist/types/components/certificate-details-parts/subject_name.d.ts +1 -1
  521. package/dist/types/components/certificate-details-parts/thumbprints.d.ts +1 -1
  522. package/dist/types/components/certificate-summary/certificate-summary.d.ts +2 -2
  523. package/dist/types/components/certificate-viewer/certificate-viewer.d.ts +74 -74
  524. package/dist/types/components/certificates-viewer/certificates-viewer.d.ts +75 -75
  525. package/dist/types/components/circular-progress/circular-progress.d.ts +10 -10
  526. package/dist/types/components/crl-viewer/crl-viewer.d.ts +56 -56
  527. package/dist/types/components/csr-viewer/csr-viewer.d.ts +52 -53
  528. package/dist/types/components/highlight-words/highlight-words.d.ts +8 -8
  529. package/dist/types/components/icons/actions.d.ts +1 -1
  530. package/dist/types/components/icons/arrow_bottom.d.ts +1 -1
  531. package/dist/types/components/icons/arrow_top.d.ts +1 -1
  532. package/dist/types/components/icons/cross.d.ts +1 -1
  533. package/dist/types/components/icons/details.d.ts +1 -1
  534. package/dist/types/components/icons/download.d.ts +1 -1
  535. package/dist/types/components/icons/link.d.ts +1 -1
  536. package/dist/types/components/link/link.d.ts +2 -2
  537. package/dist/types/components/text-hider/text-hider.d.ts +2 -2
  538. package/dist/types/components/typography/typography.d.ts +4 -4
  539. package/dist/types/components.d.ts +24 -0
  540. package/dist/types/constants/logs.d.ts +77 -76
  541. package/dist/types/constants/oids.d.ts +2326 -2307
  542. package/dist/types/crypto/asn_data.d.ts +6 -6
  543. package/dist/types/crypto/attribute.d.ts +21 -6
  544. package/dist/types/crypto/crl.d.ts +23 -23
  545. package/dist/types/crypto/csr.d.ts +23 -21
  546. package/dist/types/crypto/extension.d.ts +52 -5
  547. package/dist/types/crypto/extensions/cabforganization_identifier.d.ts +23 -0
  548. package/dist/types/crypto/extensions/index.d.ts +1 -0
  549. package/dist/types/crypto/name.d.ts +7 -7
  550. package/dist/types/crypto/provider.d.ts +15 -15
  551. package/dist/types/crypto/x509_attribute_certificate.d.ts +24 -24
  552. package/dist/types/crypto/x509_certificate.d.ts +33 -33
  553. package/dist/types/stencil-public-runtime.d.ts +29 -0
  554. package/dist/types/utils/download.d.ts +16 -16
  555. package/dist/types/utils/l10n.d.ts +56 -56
  556. package/dist/types/utils/read_file.d.ts +7 -7
  557. package/hydrate/index.d.ts +2 -2
  558. package/hydrate/index.js +12072 -10170
  559. package/package.json +21 -13
  560. package/dist/cjs/actions-19013d4a.js +0 -23
  561. package/dist/cjs/arrow_top-834fb7ec.js +0 -37
  562. package/dist/cjs/button-14e2b73f.js +0 -77
  563. package/dist/cjs/certification_request-bf416170.js.map +0 -1
  564. package/dist/cjs/crl-d9591b95.js +0 -322
  565. package/dist/cjs/crl-d9591b95.js.map +0 -1
  566. package/dist/cjs/cross-9872c473.js +0 -51
  567. package/dist/cjs/download-254ddc57.js +0 -23
  568. package/dist/cjs/index-efd561e9.js.map +0 -1
  569. package/dist/cjs/link-6aea0be4.js +0 -25
  570. package/dist/cjs/miscellaneous-6e800553.js +0 -1400
  571. package/dist/cjs/miscellaneous-6e800553.js.map +0 -1
  572. package/dist/cjs/x509_certificate-53feebd3.js +0 -160
  573. package/dist/cjs/x509_certificate-53feebd3.js.map +0 -1
  574. package/dist/esm/actions-8d745b2a.js +0 -21
  575. package/dist/esm/arrow_top-fc298828.js +0 -34
  576. package/dist/esm/button-35146bdd.js +0 -74
  577. package/dist/esm/certification_request-c9dc8e9c.js.map +0 -1
  578. package/dist/esm/crl-70e85374.js +0 -318
  579. package/dist/esm/crl-70e85374.js.map +0 -1
  580. package/dist/esm/cross-9ec9a759.js +0 -47
  581. package/dist/esm/download-0cc3077a.js +0 -21
  582. package/dist/esm/download-aacb6eff.js.map +0 -1
  583. package/dist/esm/index-4079bbb5.js.map +0 -1
  584. package/dist/esm/link-ad24c3be.js +0 -23
  585. package/dist/esm/miscellaneous-0763f98e.js +0 -1383
  586. package/dist/esm/miscellaneous-0763f98e.js.map +0 -1
  587. package/dist/esm/x509_certificate-8cf268d1.js +0 -158
  588. package/dist/esm/x509_certificate-8cf268d1.js.map +0 -1
  589. package/dist/esm-es5/button-35146bdd.js +0 -19
  590. package/dist/esm-es5/certification_request-c9dc8e9c.js +0 -97
  591. package/dist/esm-es5/certification_request-c9dc8e9c.js.map +0 -1
  592. package/dist/esm-es5/crl-70e85374.js +0 -33
  593. package/dist/esm-es5/crl-70e85374.js.map +0 -1
  594. package/dist/esm-es5/index-4079bbb5.js +0 -6
  595. package/dist/esm-es5/index-4079bbb5.js.map +0 -1
  596. package/dist/esm-es5/miscellaneous-0763f98e.js +0 -362
  597. package/dist/esm-es5/miscellaneous-0763f98e.js.map +0 -1
  598. package/dist/esm-es5/x509_certificate-8cf268d1.js +0 -12
  599. package/dist/peculiar/p-025b3cfb.entry.js.map +0 -1
  600. package/dist/peculiar/p-0b356bb5.js +0 -6
  601. package/dist/peculiar/p-0b356bb5.js.map +0 -1
  602. package/dist/peculiar/p-0bd7c6bc.system.entry.js.map +0 -1
  603. package/dist/peculiar/p-10d2d400.system.js +0 -34
  604. package/dist/peculiar/p-10d2d400.system.js.map +0 -1
  605. package/dist/peculiar/p-14f281b0.system.js +0 -43
  606. package/dist/peculiar/p-14f281b0.system.js.map +0 -1
  607. package/dist/peculiar/p-15cb92b5.system.js +0 -97
  608. package/dist/peculiar/p-15cb92b5.system.js.map +0 -1
  609. package/dist/peculiar/p-1ef997ee.js.map +0 -1
  610. package/dist/peculiar/p-24050d82.system.entry.js.map +0 -1
  611. package/dist/peculiar/p-2f48fe70.entry.js.map +0 -1
  612. package/dist/peculiar/p-2fcad8cb.system.js +0 -20
  613. package/dist/peculiar/p-31b60224.system.js +0 -362
  614. package/dist/peculiar/p-31b60224.system.js.map +0 -1
  615. package/dist/peculiar/p-33196289.entry.js +0 -5
  616. package/dist/peculiar/p-33196289.entry.js.map +0 -1
  617. package/dist/peculiar/p-4ab9673f.system.entry.js +0 -111
  618. package/dist/peculiar/p-4ab9673f.system.entry.js.map +0 -1
  619. package/dist/peculiar/p-5151cb6f.system.entry.js +0 -5
  620. package/dist/peculiar/p-5151cb6f.system.entry.js.map +0 -1
  621. package/dist/peculiar/p-53784f15.system.entry.js +0 -5
  622. package/dist/peculiar/p-53784f15.system.entry.js.map +0 -1
  623. package/dist/peculiar/p-542412ae.js +0 -33
  624. package/dist/peculiar/p-542412ae.js.map +0 -1
  625. package/dist/peculiar/p-5aabeba7.system.js +0 -6
  626. package/dist/peculiar/p-5aabeba7.system.js.map +0 -1
  627. package/dist/peculiar/p-5ab007e9.entry.js +0 -5
  628. package/dist/peculiar/p-5ab007e9.entry.js.map +0 -1
  629. package/dist/peculiar/p-5e49b881.system.entry.js.map +0 -1
  630. package/dist/peculiar/p-6cb88fd6.system.js +0 -13
  631. package/dist/peculiar/p-7f9beaa8.js +0 -19
  632. package/dist/peculiar/p-80832207.system.js +0 -5
  633. package/dist/peculiar/p-80832207.system.js.map +0 -1
  634. package/dist/peculiar/p-94a453d7.js +0 -12
  635. package/dist/peculiar/p-9c91dd68.entry.js +0 -110
  636. package/dist/peculiar/p-9c91dd68.entry.js.map +0 -1
  637. package/dist/peculiar/p-a3eeb94b.system.js +0 -5
  638. package/dist/peculiar/p-b313be9e.system.js +0 -13
  639. package/dist/peculiar/p-c99507d4.system.js +0 -20
  640. package/dist/peculiar/p-ca02a823.js.map +0 -1
  641. package/dist/peculiar/p-cfca7dae.system.js +0 -13
  642. package/dist/peculiar/p-ddae2f8e.system.js +0 -27
  643. package/dist/peculiar/p-e5b18cd1.entry.js.map +0 -1
  644. package/dist/peculiar/p-e6a3b4d4.system.js +0 -13
  645. /package/dist/esm-es5/{actions-8d745b2a.js.map → actions-aebcbc9d.js.map} +0 -0
  646. /package/dist/esm-es5/{arrow_top-fc298828.js.map → arrow_top-aee1ee02.js.map} +0 -0
  647. /package/dist/esm-es5/{button-35146bdd.js.map → button-a2fabf9a.js.map} +0 -0
  648. /package/dist/esm-es5/{cross-9ec9a759.js.map → cross-1377606f.js.map} +0 -0
  649. /package/dist/esm-es5/{download-0cc3077a.js.map → download-14dc1047.js.map} +0 -0
  650. /package/dist/esm-es5/{link-ad24c3be.js.map → link-7e4e9060.js.map} +0 -0
  651. /package/dist/peculiar/{p-59e5ac12.js.map → p-1f766dd5.js.map} +0 -0
  652. /package/dist/peculiar/{p-6cb88fd6.system.js.map → p-243244af.system.js.map} +0 -0
  653. /package/dist/peculiar/{p-0fc2e2b4.js.map → p-27ca6743.js.map} +0 -0
  654. /package/dist/peculiar/{p-72f53d81.js.map → p-3d44cbd2.js.map} +0 -0
  655. /package/dist/peculiar/{p-7f9beaa8.js.map → p-4bc5ddbe.js.map} +0 -0
  656. /package/dist/peculiar/{p-b313be9e.system.js.map → p-5a662d6f.system.js.map} +0 -0
  657. /package/dist/peculiar/{p-e6a3b4d4.system.js.map → p-8bbee8f4.system.js.map} +0 -0
  658. /package/dist/peculiar/{p-370cee20.js.map → p-99efefea.js.map} +0 -0
  659. /package/dist/peculiar/{p-1ceb0fe3.js.map → p-a9487007.js.map} +0 -0
  660. /package/dist/peculiar/{p-17e3c47b.js.map → p-ae91d778.js.map} +0 -0
  661. /package/dist/peculiar/{p-a3eeb94b.system.js.map → p-b2890eb8.system.js.map} +0 -0
  662. /package/dist/peculiar/{p-94a453d7.js.map → p-e6a6e602.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"download-0fa5b33c.js","mappings":";;;;;AAAA;;;;;;;AAQA;;;;;;;;;;SAWgB,kBAAkB,CAChC,KAAkB,EAClB,IAAY,EACZ,SAAiB,EACjB,OAAe,0BAA0B;EAEzC,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,CAAC,KAAK,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;;EAG/C,IAAI,SAAS,CAAC,UAAU,EAAE;;IAExB,SAAS,CAAC,UAA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L,sBAAsB,CACvB,CAAC;GACH;EAED,KAAK,EAAE,CAAC,GAAW,EAAE,IAAY;IAC/B,kBAAkB,CAChBA,SAAO,CAAC,UAAU,CAAC,GAAG,CAAC,EACvB,IAAI,EACJ,KAAK,EACL,sBAAsB,CACvB,CAAC;GACH;CACF;;;;;;;;","names":["Convert"],"sources":["src/utils/download_from_buffer.ts","../../node_modules/pvtsutils/build/index.js","src/utils/download.ts"],"sourcesContent":["/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * Download from buffer\n *\n * @example\n * ```js\n * import { downloadFromBuffer } from './utils';\n *\n * downloadFromBuffer(arrayBufferValue, 'myFile', 'pdf', 'applciation/pdf');\n * ```\n */\n\nexport function downloadFromBuffer(\n value: ArrayBuffer,\n name: string,\n extension: string,\n mime: string = 'application/octet-stream',\n) {\n const blob = new Blob([value], { type: mime });\n\n // @ts-ignore\n if (navigator.msSaveBlob) { // IE10+ : (has Blob, but not a[download] or URL)\n // @ts-ignore\n navigator.msSaveBlob(blob, `${name}.${extension}`);\n\n return new Promise((resolve) => {\n setTimeout(resolve, 100);\n });\n }\n\n const blobURL = window.URL.createObjectURL(blob);\n\n const link = document.createElement('a');\n const frame = document.createElement('iframe');\n\n link.style.display = 'none';\n frame.style.display = 'none';\n\n frame.name = blobURL;\n document.body.appendChild(frame);\n\n link.href = blobURL;\n link.target = blobURL;\n link.download = `${name}.${extension}`;\n document.body.appendChild(link);\n link.dispatchEvent(new MouseEvent('click'));\n document.body.removeChild(link);\n\n return new Promise<void>((resolve) => {\n setTimeout(\n () => {\n document.body.removeChild(frame);\n resolve();\n },\n 100,\n );\n });\n}\n","/*!\n * MIT License\n * \n * Copyright (c) 2017-2022 Peculiar Ventures, LLC\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n * \n */\n\n'use strict';\n\nconst ARRAY_BUFFER_NAME = \"[object ArrayBuffer]\";\nclass BufferSourceConverter {\n static isArrayBuffer(data) {\n return Object.prototype.toString.call(data) === ARRAY_BUFFER_NAME;\n }\n static toArrayBuffer(data) {\n if (this.isArrayBuffer(data)) {\n return data;\n }\n if (data.byteLength === data.buffer.byteLength) {\n return data.buffer;\n }\n if (data.byteOffset === 0 && data.byteLength === data.buffer.byteLength) {\n return data.buffer;\n }\n return this.toUint8Array(data.buffer)\n .slice(data.byteOffset, data.byteOffset + data.byteLength)\n .buffer;\n }\n static toUint8Array(data) {\n return this.toView(data, Uint8Array);\n }\n static toView(data, type) {\n if (data.constructor === type) {\n return data;\n }\n if (this.isArrayBuffer(data)) {\n return new type(data);\n }\n if (this.isArrayBufferView(data)) {\n return new type(data.buffer, data.byteOffset, data.byteLength);\n }\n throw new TypeError(\"The provided value is not of type '(ArrayBuffer or ArrayBufferView)'\");\n }\n static isBufferSource(data) {\n return this.isArrayBufferView(data)\n || this.isArrayBuffer(data);\n }\n static isArrayBufferView(data) {\n return ArrayBuffer.isView(data)\n || (data && this.isArrayBuffer(data.buffer));\n }\n static isEqual(a, b) {\n const aView = BufferSourceConverter.toUint8Array(a);\n const bView = BufferSourceConverter.toUint8Array(b);\n if (aView.length !== bView.byteLength) {\n return false;\n }\n for (let i = 0; i < aView.length; i++) {\n if (aView[i] !== bView[i]) {\n return false;\n }\n }\n return true;\n }\n static concat(...args) {\n let buffers;\n if (Array.isArray(args[0]) && !(args[1] instanceof Function)) {\n buffers = args[0];\n }\n else if (Array.isArray(args[0]) && args[1] instanceof Function) {\n buffers = args[0];\n }\n else {\n if (args[args.length - 1] instanceof Function) {\n buffers = args.slice(0, args.length - 1);\n }\n else {\n buffers = args;\n }\n }\n let size = 0;\n for (const buffer of buffers) {\n size += buffer.byteLength;\n }\n const res = new Uint8Array(size);\n let offset = 0;\n for (const buffer of buffers) {\n const view = this.toUint8Array(buffer);\n res.set(view, offset);\n offset += view.length;\n }\n if (args[args.length - 1] instanceof Function) {\n return this.toView(res, args[args.length - 1]);\n }\n return res.buffer;\n }\n}\n\nconst STRING_TYPE = \"string\";\nconst HEX_REGEX = /^[0-9a-f]+$/i;\nconst BASE64_REGEX = /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/;\nconst BASE64URL_REGEX = /^[a-zA-Z0-9-_]+$/;\nclass Utf8Converter {\n static fromString(text) {\n const s = unescape(encodeURIComponent(text));\n const uintArray = new Uint8Array(s.length);\n for (let i = 0; i < s.length; i++) {\n uintArray[i] = s.charCodeAt(i);\n }\n return uintArray.buffer;\n }\n static toString(buffer) {\n const buf = BufferSourceConverter.toUint8Array(buffer);\n let encodedString = \"\";\n for (let i = 0; i < buf.length; i++) {\n encodedString += String.fromCharCode(buf[i]);\n }\n const decodedString = decodeURIComponent(escape(encodedString));\n return decodedString;\n }\n}\nclass Utf16Converter {\n static toString(buffer, littleEndian = false) {\n const arrayBuffer = BufferSourceConverter.toArrayBuffer(buffer);\n const dataView = new DataView(arrayBuffer);\n let res = \"\";\n for (let i = 0; i < arrayBuffer.byteLength; i += 2) {\n const code = dataView.getUint16(i, littleEndian);\n res += String.fromCharCode(code);\n }\n return res;\n }\n static fromString(text, littleEndian = false) {\n const res = new ArrayBuffer(text.length * 2);\n const dataView = new DataView(res);\n for (let i = 0; i < text.length; i++) {\n dataView.setUint16(i * 2, text.charCodeAt(i), littleEndian);\n }\n return res;\n }\n}\nclass Convert {\n static isHex(data) {\n return typeof data === STRING_TYPE\n && HEX_REGEX.test(data);\n }\n static isBase64(data) {\n return typeof data === STRING_TYPE\n && BASE64_REGEX.test(data);\n }\n static isBase64Url(data) {\n return typeof data === STRING_TYPE\n && BASE64URL_REGEX.test(data);\n }\n static ToString(buffer, enc = \"utf8\") {\n const buf = BufferSourceConverter.toUint8Array(buffer);\n switch (enc.toLowerCase()) {\n case \"utf8\":\n return this.ToUtf8String(buf);\n case \"binary\":\n return this.ToBinary(buf);\n case \"hex\":\n return this.ToHex(buf);\n case \"base64\":\n return this.ToBase64(buf);\n case \"base64url\":\n return this.ToBase64Url(buf);\n case \"utf16le\":\n return Utf16Converter.toString(buf, true);\n case \"utf16\":\n case \"utf16be\":\n return Utf16Converter.toString(buf);\n default:\n throw new Error(`Unknown type of encoding '${enc}'`);\n }\n }\n static FromString(str, enc = \"utf8\") {\n if (!str) {\n return new ArrayBuffer(0);\n }\n switch (enc.toLowerCase()) {\n case \"utf8\":\n return this.FromUtf8String(str);\n case \"binary\":\n return this.FromBinary(str);\n case \"hex\":\n return this.FromHex(str);\n case \"base64\":\n return this.FromBase64(str);\n case \"base64url\":\n return this.FromBase64Url(str);\n case \"utf16le\":\n return Utf16Converter.fromString(str, true);\n case \"utf16\":\n case \"utf16be\":\n return Utf16Converter.fromString(str);\n default:\n throw new Error(`Unknown type of encoding '${enc}'`);\n }\n }\n static ToBase64(buffer) {\n const buf = BufferSourceConverter.toUint8Array(buffer);\n if (typeof btoa !== \"undefined\") {\n const binary = this.ToString(buf, \"binary\");\n return btoa(binary);\n }\n else {\n return Buffer.from(buf).toString(\"base64\");\n }\n }\n static FromBase64(base64) {\n const formatted = this.formatString(base64);\n if (!formatted) {\n return new ArrayBuffer(0);\n }\n if (!Convert.isBase64(formatted)) {\n throw new TypeError(\"Argument 'base64Text' is not Base64 encoded\");\n }\n if (typeof atob !== \"undefined\") {\n return this.FromBinary(atob(formatted));\n }\n else {\n return new Uint8Array(Buffer.from(formatted, \"base64\")).buffer;\n }\n }\n static FromBase64Url(base64url) {\n const formatted = this.formatString(base64url);\n if (!formatted) {\n return new ArrayBuffer(0);\n }\n if (!Convert.isBase64Url(formatted)) {\n throw new TypeError(\"Argument 'base64url' is not Base64Url encoded\");\n }\n return this.FromBase64(this.Base64Padding(formatted.replace(/\\-/g, \"+\").replace(/\\_/g, \"/\")));\n }\n static ToBase64Url(data) {\n return this.ToBase64(data).replace(/\\+/g, \"-\").replace(/\\//g, \"_\").replace(/\\=/g, \"\");\n }\n static FromUtf8String(text, encoding = Convert.DEFAULT_UTF8_ENCODING) {\n switch (encoding) {\n case \"ascii\":\n return this.FromBinary(text);\n case \"utf8\":\n return Utf8Converter.fromString(text);\n case \"utf16\":\n case \"utf16be\":\n return Utf16Converter.fromString(text);\n case \"utf16le\":\n case \"usc2\":\n return Utf16Converter.fromString(text, true);\n default:\n throw new Error(`Unknown type of encoding '${encoding}'`);\n }\n }\n static ToUtf8String(buffer, encoding = Convert.DEFAULT_UTF8_ENCODING) {\n switch (encoding) {\n case \"ascii\":\n return this.ToBinary(buffer);\n case \"utf8\":\n return Utf8Converter.toString(buffer);\n case \"utf16\":\n case \"utf16be\":\n return Utf16Converter.toString(buffer);\n case \"utf16le\":\n case \"usc2\":\n return Utf16Converter.toString(buffer, true);\n default:\n throw new Error(`Unknown type of encoding '${encoding}'`);\n }\n }\n static FromBinary(text) {\n const stringLength = text.length;\n const resultView = new Uint8Array(stringLength);\n for (let i = 0; i < stringLength; i++) {\n resultView[i] = text.charCodeAt(i);\n }\n return resultView.buffer;\n }\n static ToBinary(buffer) {\n const buf = BufferSourceConverter.toUint8Array(buffer);\n let res = \"\";\n for (let i = 0; i < buf.length; i++) {\n res += String.fromCharCode(buf[i]);\n }\n return res;\n }\n static ToHex(buffer) {\n const buf = BufferSourceConverter.toUint8Array(buffer);\n let result = \"\";\n const len = buf.length;\n for (let i = 0; i < len; i++) {\n const byte = buf[i];\n if (byte < 16) {\n result += \"0\";\n }\n result += byte.toString(16);\n }\n return result;\n }\n static FromHex(hexString) {\n let formatted = this.formatString(hexString);\n if (!formatted) {\n return new ArrayBuffer(0);\n }\n if (!Convert.isHex(formatted)) {\n throw new TypeError(\"Argument 'hexString' is not HEX encoded\");\n }\n if (formatted.length % 2) {\n formatted = `0${formatted}`;\n }\n const res = new Uint8Array(formatted.length / 2);\n for (let i = 0; i < formatted.length; i = i + 2) {\n const c = formatted.slice(i, i + 2);\n res[i / 2] = parseInt(c, 16);\n }\n return res.buffer;\n }\n static ToUtf16String(buffer, littleEndian = false) {\n return Utf16Converter.toString(buffer, littleEndian);\n }\n static FromUtf16String(text, littleEndian = false) {\n return Utf16Converter.fromString(text, littleEndian);\n }\n static Base64Padding(base64) {\n const padCount = 4 - (base64.length % 4);\n if (padCount < 4) {\n for (let i = 0; i < padCount; i++) {\n base64 += \"=\";\n }\n }\n return base64;\n }\n static formatString(data) {\n return (data === null || data === void 0 ? void 0 : data.replace(/[\\n\\r\\t ]/g, \"\")) || \"\";\n }\n}\nConvert.DEFAULT_UTF8_ENCODING = \"utf8\";\n\nfunction assign(target, ...sources) {\n const res = arguments[0];\n for (let i = 1; i < arguments.length; i++) {\n const obj = arguments[i];\n for (const prop in obj) {\n res[prop] = obj[prop];\n }\n }\n return res;\n}\nfunction combine(...buf) {\n const totalByteLength = buf.map((item) => item.byteLength).reduce((prev, cur) => prev + cur);\n const res = new Uint8Array(totalByteLength);\n let currentPos = 0;\n buf.map((item) => new Uint8Array(item)).forEach((arr) => {\n for (const item2 of arr) {\n res[currentPos++] = item2;\n }\n });\n return res.buffer;\n}\nfunction isEqual(bytes1, bytes2) {\n if (!(bytes1 && bytes2)) {\n return false;\n }\n if (bytes1.byteLength !== bytes2.byteLength) {\n return false;\n }\n const b1 = new Uint8Array(bytes1);\n const b2 = new Uint8Array(bytes2);\n for (let i = 0; i < bytes1.byteLength; i++) {\n if (b1[i] !== b2[i]) {\n return false;\n }\n }\n return true;\n}\n\nexports.BufferSourceConverter = BufferSourceConverter;\nexports.Convert = Convert;\nexports.assign = assign;\nexports.combine = combine;\nexports.isEqual = isEqual;\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Convert } from 'pvtsutils';\n\nimport { downloadFromBuffer } from './download_from_buffer';\n\nexport class Download {\n public static cert = {\n asPEM: (pem: string, name: string) => {\n downloadFromBuffer(\n Convert.FromString(pem),\n name,\n 'cer',\n 'application/pkix-cert',\n );\n },\n\n asDER: (hex: string, name: string) => {\n downloadFromBuffer(\n Convert.FromString(hex),\n name,\n 'cer',\n 'application/pkix-cert',\n );\n },\n };\n\n public static attrCert = {\n asPEM: (pem: string, name: string) => {\n downloadFromBuffer(\n Convert.FromString(pem),\n name,\n 'cer',\n 'application/pkix-attr-cert',\n );\n },\n\n asDER: (hex: string, name: string) => {\n downloadFromBuffer(\n Convert.FromString(hex),\n name,\n 'cer',\n 'application/pkix-attr-cert',\n );\n },\n };\n\n public static csr = {\n asPEM: (pem: string, name: string) => {\n downloadFromBuffer(\n Convert.FromString(pem),\n name,\n 'csr',\n 'application/pkcs10',\n );\n },\n\n asDER: (hex: string, name: string) => {\n downloadFromBuffer(\n Convert.FromString(hex),\n name,\n 'csr',\n 'application/pkcs10',\n );\n },\n };\n\n public static crl = {\n asPEM: (pem: string, name: string) => {\n downloadFromBuffer(\n Convert.FromString(pem),\n name,\n 'crl',\n 'application/pkix-crl',\n );\n },\n\n asDER: (hex: string, name: string) => {\n downloadFromBuffer(\n Convert.FromString(hex),\n name,\n 'crl',\n 'application/pkix-crl',\n );\n },\n };\n}\n"],"version":3}
1
+ {"version":3,"names":["downloadFromBuffer","value","name","extension","mime","blob","Blob","type","navigator","msSaveBlob","concat","Promise","resolve","setTimeout","blobURL","window","URL","createObjectURL","link","document","createElement","frame","style","display","body","appendChild","href","target","download","dispatchEvent","MouseEvent","removeChild","ARRAY_BUFFER_NAME","BufferSourceConverter","isArrayBuffer","data","Object","prototype","toString","call","toArrayBuffer","this","byteLength","buffer","byteOffset","toUint8Array","slice","toView","Uint8Array","constructor","isArrayBufferView","TypeError","isBufferSource","ArrayBuffer","isView","isEqual","a","b","aView","bView","length","i","args","_i","arguments","buffers","Array","isArray","Function","size","_a","buffers_1","res","offset","_b","buffers_2","view","set","STRING_TYPE","HEX_REGEX","BASE64_REGEX","BASE64URL_REGEX","Utf8Converter","fromString","text","s","unescape","encodeURIComponent","uintArray","charCodeAt","buf","encodedString","String","fromCharCode","decodedString","decodeURIComponent","escape","Utf16Converter","littleEndian","arrayBuffer","dataView","DataView","code","getUint16","setUint16","Convert","isHex","test","isBase64","isBase64Url","ToString","enc","toLowerCase","ToUtf8String","ToBinary","ToHex","ToBase64","ToBase64Url","Error","FromString","str","FromUtf8String","FromBinary","FromHex","FromBase64","FromBase64Url","btoa","binary","Buffer","from","base64","formatted","formatString","atob","base64url","Base64Padding","replace","encoding","DEFAULT_UTF8_ENCODING","stringLength","resultView","result","len","byte","hexString","c","parseInt","ToUtf16String","FromUtf16String","padCount","bytes1","bytes2","b1","b2","Download","cert","asPEM","pem","asDER","hex","attrCert","csr","crl"],"sources":["src/utils/download_from_buffer.ts","../../node_modules/pvtsutils/build/index.js","src/utils/download.ts"],"sourcesContent":["/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * Download from buffer\n *\n * @example\n * ```js\n * import { downloadFromBuffer } from './utils';\n *\n * downloadFromBuffer(arrayBufferValue, 'myFile', 'pdf', 'applciation/pdf');\n * ```\n */\n\nexport function downloadFromBuffer(\n value: ArrayBuffer,\n name: string,\n extension: string,\n mime: string = 'application/octet-stream',\n) {\n const blob = new Blob([value], { type: mime });\n\n // @ts-ignore\n if (navigator.msSaveBlob) { // IE10+ : (has Blob, but not a[download] or URL)\n // @ts-ignore\n navigator.msSaveBlob(blob, `${name}.${extension}`);\n\n return new Promise((resolve) => {\n setTimeout(resolve, 100);\n });\n }\n\n const blobURL = window.URL.createObjectURL(blob);\n\n const link = document.createElement('a');\n const frame = document.createElement('iframe');\n\n link.style.display = 'none';\n frame.style.display = 'none';\n\n frame.name = blobURL;\n document.body.appendChild(frame);\n\n link.href = blobURL;\n link.target = blobURL;\n link.download = `${name}.${extension}`;\n document.body.appendChild(link);\n link.dispatchEvent(new MouseEvent('click'));\n document.body.removeChild(link);\n\n return new Promise<void>((resolve) => {\n setTimeout(\n () => {\n document.body.removeChild(frame);\n resolve();\n },\n 100,\n );\n });\n}\n","/*!\n * MIT License\n * \n * Copyright (c) 2017-2022 Peculiar Ventures, LLC\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n * \n */\n\n'use strict';\n\nconst ARRAY_BUFFER_NAME = \"[object ArrayBuffer]\";\nclass BufferSourceConverter {\n static isArrayBuffer(data) {\n return Object.prototype.toString.call(data) === ARRAY_BUFFER_NAME;\n }\n static toArrayBuffer(data) {\n if (this.isArrayBuffer(data)) {\n return data;\n }\n if (data.byteLength === data.buffer.byteLength) {\n return data.buffer;\n }\n if (data.byteOffset === 0 && data.byteLength === data.buffer.byteLength) {\n return data.buffer;\n }\n return this.toUint8Array(data.buffer)\n .slice(data.byteOffset, data.byteOffset + data.byteLength)\n .buffer;\n }\n static toUint8Array(data) {\n return this.toView(data, Uint8Array);\n }\n static toView(data, type) {\n if (data.constructor === type) {\n return data;\n }\n if (this.isArrayBuffer(data)) {\n return new type(data);\n }\n if (this.isArrayBufferView(data)) {\n return new type(data.buffer, data.byteOffset, data.byteLength);\n }\n throw new TypeError(\"The provided value is not of type '(ArrayBuffer or ArrayBufferView)'\");\n }\n static isBufferSource(data) {\n return this.isArrayBufferView(data)\n || this.isArrayBuffer(data);\n }\n static isArrayBufferView(data) {\n return ArrayBuffer.isView(data)\n || (data && this.isArrayBuffer(data.buffer));\n }\n static isEqual(a, b) {\n const aView = BufferSourceConverter.toUint8Array(a);\n const bView = BufferSourceConverter.toUint8Array(b);\n if (aView.length !== bView.byteLength) {\n return false;\n }\n for (let i = 0; i < aView.length; i++) {\n if (aView[i] !== bView[i]) {\n return false;\n }\n }\n return true;\n }\n static concat(...args) {\n let buffers;\n if (Array.isArray(args[0]) && !(args[1] instanceof Function)) {\n buffers = args[0];\n }\n else if (Array.isArray(args[0]) && args[1] instanceof Function) {\n buffers = args[0];\n }\n else {\n if (args[args.length - 1] instanceof Function) {\n buffers = args.slice(0, args.length - 1);\n }\n else {\n buffers = args;\n }\n }\n let size = 0;\n for (const buffer of buffers) {\n size += buffer.byteLength;\n }\n const res = new Uint8Array(size);\n let offset = 0;\n for (const buffer of buffers) {\n const view = this.toUint8Array(buffer);\n res.set(view, offset);\n offset += view.length;\n }\n if (args[args.length - 1] instanceof Function) {\n return this.toView(res, args[args.length - 1]);\n }\n return res.buffer;\n }\n}\n\nconst STRING_TYPE = \"string\";\nconst HEX_REGEX = /^[0-9a-f]+$/i;\nconst BASE64_REGEX = /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/;\nconst BASE64URL_REGEX = /^[a-zA-Z0-9-_]+$/;\nclass Utf8Converter {\n static fromString(text) {\n const s = unescape(encodeURIComponent(text));\n const uintArray = new Uint8Array(s.length);\n for (let i = 0; i < s.length; i++) {\n uintArray[i] = s.charCodeAt(i);\n }\n return uintArray.buffer;\n }\n static toString(buffer) {\n const buf = BufferSourceConverter.toUint8Array(buffer);\n let encodedString = \"\";\n for (let i = 0; i < buf.length; i++) {\n encodedString += String.fromCharCode(buf[i]);\n }\n const decodedString = decodeURIComponent(escape(encodedString));\n return decodedString;\n }\n}\nclass Utf16Converter {\n static toString(buffer, littleEndian = false) {\n const arrayBuffer = BufferSourceConverter.toArrayBuffer(buffer);\n const dataView = new DataView(arrayBuffer);\n let res = \"\";\n for (let i = 0; i < arrayBuffer.byteLength; i += 2) {\n const code = dataView.getUint16(i, littleEndian);\n res += String.fromCharCode(code);\n }\n return res;\n }\n static fromString(text, littleEndian = false) {\n const res = new ArrayBuffer(text.length * 2);\n const dataView = new DataView(res);\n for (let i = 0; i < text.length; i++) {\n dataView.setUint16(i * 2, text.charCodeAt(i), littleEndian);\n }\n return res;\n }\n}\nclass Convert {\n static isHex(data) {\n return typeof data === STRING_TYPE\n && HEX_REGEX.test(data);\n }\n static isBase64(data) {\n return typeof data === STRING_TYPE\n && BASE64_REGEX.test(data);\n }\n static isBase64Url(data) {\n return typeof data === STRING_TYPE\n && BASE64URL_REGEX.test(data);\n }\n static ToString(buffer, enc = \"utf8\") {\n const buf = BufferSourceConverter.toUint8Array(buffer);\n switch (enc.toLowerCase()) {\n case \"utf8\":\n return this.ToUtf8String(buf);\n case \"binary\":\n return this.ToBinary(buf);\n case \"hex\":\n return this.ToHex(buf);\n case \"base64\":\n return this.ToBase64(buf);\n case \"base64url\":\n return this.ToBase64Url(buf);\n case \"utf16le\":\n return Utf16Converter.toString(buf, true);\n case \"utf16\":\n case \"utf16be\":\n return Utf16Converter.toString(buf);\n default:\n throw new Error(`Unknown type of encoding '${enc}'`);\n }\n }\n static FromString(str, enc = \"utf8\") {\n if (!str) {\n return new ArrayBuffer(0);\n }\n switch (enc.toLowerCase()) {\n case \"utf8\":\n return this.FromUtf8String(str);\n case \"binary\":\n return this.FromBinary(str);\n case \"hex\":\n return this.FromHex(str);\n case \"base64\":\n return this.FromBase64(str);\n case \"base64url\":\n return this.FromBase64Url(str);\n case \"utf16le\":\n return Utf16Converter.fromString(str, true);\n case \"utf16\":\n case \"utf16be\":\n return Utf16Converter.fromString(str);\n default:\n throw new Error(`Unknown type of encoding '${enc}'`);\n }\n }\n static ToBase64(buffer) {\n const buf = BufferSourceConverter.toUint8Array(buffer);\n if (typeof btoa !== \"undefined\") {\n const binary = this.ToString(buf, \"binary\");\n return btoa(binary);\n }\n else {\n return Buffer.from(buf).toString(\"base64\");\n }\n }\n static FromBase64(base64) {\n const formatted = this.formatString(base64);\n if (!formatted) {\n return new ArrayBuffer(0);\n }\n if (!Convert.isBase64(formatted)) {\n throw new TypeError(\"Argument 'base64Text' is not Base64 encoded\");\n }\n if (typeof atob !== \"undefined\") {\n return this.FromBinary(atob(formatted));\n }\n else {\n return new Uint8Array(Buffer.from(formatted, \"base64\")).buffer;\n }\n }\n static FromBase64Url(base64url) {\n const formatted = this.formatString(base64url);\n if (!formatted) {\n return new ArrayBuffer(0);\n }\n if (!Convert.isBase64Url(formatted)) {\n throw new TypeError(\"Argument 'base64url' is not Base64Url encoded\");\n }\n return this.FromBase64(this.Base64Padding(formatted.replace(/\\-/g, \"+\").replace(/\\_/g, \"/\")));\n }\n static ToBase64Url(data) {\n return this.ToBase64(data).replace(/\\+/g, \"-\").replace(/\\//g, \"_\").replace(/\\=/g, \"\");\n }\n static FromUtf8String(text, encoding = Convert.DEFAULT_UTF8_ENCODING) {\n switch (encoding) {\n case \"ascii\":\n return this.FromBinary(text);\n case \"utf8\":\n return Utf8Converter.fromString(text);\n case \"utf16\":\n case \"utf16be\":\n return Utf16Converter.fromString(text);\n case \"utf16le\":\n case \"usc2\":\n return Utf16Converter.fromString(text, true);\n default:\n throw new Error(`Unknown type of encoding '${encoding}'`);\n }\n }\n static ToUtf8String(buffer, encoding = Convert.DEFAULT_UTF8_ENCODING) {\n switch (encoding) {\n case \"ascii\":\n return this.ToBinary(buffer);\n case \"utf8\":\n return Utf8Converter.toString(buffer);\n case \"utf16\":\n case \"utf16be\":\n return Utf16Converter.toString(buffer);\n case \"utf16le\":\n case \"usc2\":\n return Utf16Converter.toString(buffer, true);\n default:\n throw new Error(`Unknown type of encoding '${encoding}'`);\n }\n }\n static FromBinary(text) {\n const stringLength = text.length;\n const resultView = new Uint8Array(stringLength);\n for (let i = 0; i < stringLength; i++) {\n resultView[i] = text.charCodeAt(i);\n }\n return resultView.buffer;\n }\n static ToBinary(buffer) {\n const buf = BufferSourceConverter.toUint8Array(buffer);\n let res = \"\";\n for (let i = 0; i < buf.length; i++) {\n res += String.fromCharCode(buf[i]);\n }\n return res;\n }\n static ToHex(buffer) {\n const buf = BufferSourceConverter.toUint8Array(buffer);\n let result = \"\";\n const len = buf.length;\n for (let i = 0; i < len; i++) {\n const byte = buf[i];\n if (byte < 16) {\n result += \"0\";\n }\n result += byte.toString(16);\n }\n return result;\n }\n static FromHex(hexString) {\n let formatted = this.formatString(hexString);\n if (!formatted) {\n return new ArrayBuffer(0);\n }\n if (!Convert.isHex(formatted)) {\n throw new TypeError(\"Argument 'hexString' is not HEX encoded\");\n }\n if (formatted.length % 2) {\n formatted = `0${formatted}`;\n }\n const res = new Uint8Array(formatted.length / 2);\n for (let i = 0; i < formatted.length; i = i + 2) {\n const c = formatted.slice(i, i + 2);\n res[i / 2] = parseInt(c, 16);\n }\n return res.buffer;\n }\n static ToUtf16String(buffer, littleEndian = false) {\n return Utf16Converter.toString(buffer, littleEndian);\n }\n static FromUtf16String(text, littleEndian = false) {\n return Utf16Converter.fromString(text, littleEndian);\n }\n static Base64Padding(base64) {\n const padCount = 4 - (base64.length % 4);\n if (padCount < 4) {\n for (let i = 0; i < padCount; i++) {\n base64 += \"=\";\n }\n }\n return base64;\n }\n static formatString(data) {\n return (data === null || data === void 0 ? void 0 : data.replace(/[\\n\\r\\t ]/g, \"\")) || \"\";\n }\n}\nConvert.DEFAULT_UTF8_ENCODING = \"utf8\";\n\nfunction assign(target, ...sources) {\n const res = arguments[0];\n for (let i = 1; i < arguments.length; i++) {\n const obj = arguments[i];\n for (const prop in obj) {\n res[prop] = obj[prop];\n }\n }\n return res;\n}\nfunction combine(...buf) {\n const totalByteLength = buf.map((item) => item.byteLength).reduce((prev, cur) => prev + cur);\n const res = new Uint8Array(totalByteLength);\n let currentPos = 0;\n buf.map((item) => new Uint8Array(item)).forEach((arr) => {\n for (const item2 of arr) {\n res[currentPos++] = item2;\n }\n });\n return res.buffer;\n}\nfunction isEqual(bytes1, bytes2) {\n if (!(bytes1 && bytes2)) {\n return false;\n }\n if (bytes1.byteLength !== bytes2.byteLength) {\n return false;\n }\n const b1 = new Uint8Array(bytes1);\n const b2 = new Uint8Array(bytes2);\n for (let i = 0; i < bytes1.byteLength; i++) {\n if (b1[i] !== b2[i]) {\n return false;\n }\n }\n return true;\n}\n\nexports.BufferSourceConverter = BufferSourceConverter;\nexports.Convert = Convert;\nexports.assign = assign;\nexports.combine = combine;\nexports.isEqual = isEqual;\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Convert } from 'pvtsutils';\n\nimport { downloadFromBuffer } from './download_from_buffer';\n\nexport class Download {\n public static cert = {\n asPEM: (pem: string, name: string) => {\n downloadFromBuffer(\n Convert.FromString(pem),\n name,\n 'cer',\n 'application/pkix-cert',\n );\n },\n\n asDER: (hex: string, name: string) => {\n downloadFromBuffer(\n Convert.FromString(hex),\n name,\n 'cer',\n 'application/pkix-cert',\n );\n },\n };\n\n public static attrCert = {\n asPEM: (pem: string, name: string) => {\n downloadFromBuffer(\n Convert.FromString(pem),\n name,\n 'cer',\n 'application/pkix-attr-cert',\n );\n },\n\n asDER: (hex: string, name: string) => {\n downloadFromBuffer(\n Convert.FromString(hex),\n name,\n 'cer',\n 'application/pkix-attr-cert',\n );\n },\n };\n\n public static csr = {\n asPEM: (pem: string, name: string) => {\n downloadFromBuffer(\n Convert.FromString(pem),\n name,\n 'csr',\n 'application/pkcs10',\n );\n },\n\n asDER: (hex: string, name: string) => {\n downloadFromBuffer(\n Convert.FromString(hex),\n name,\n 'csr',\n 'application/pkcs10',\n );\n },\n };\n\n public static crl = {\n asPEM: (pem: string, name: string) => {\n downloadFromBuffer(\n Convert.FromString(pem),\n name,\n 'crl',\n 'application/pkix-crl',\n );\n },\n\n asDER: (hex: string, name: string) => {\n downloadFromBuffer(\n Convert.FromString(hex),\n name,\n 'crl',\n 'application/pkix-crl',\n );\n },\n };\n}\n"],"mappings":";;;;;;;;;;wBAmBgBA,EACdC,EACAC,EACAC,EACAC,GAAA,GAAAA,SAAA,GAAAA,EAAA,0BAAyC,CAEzC,IAAMC,EAAO,IAAIC,KAAK,CAACL,GAAQ,CAAEM,KAAMH,IAGvC,GAAII,UAAUC,WAAY,CAExBD,UAAUC,WAAWJ,EAAM,GAAAK,OAAGR,EAAI,KAAAQ,OAAIP,IAEtC,OAAO,IAAIQ,SAAQ,SAACC,GAClBC,WAAWD,EAAS,I,IAIxB,IAAME,EAAUC,OAAOC,IAAIC,gBAAgBZ,GAE3C,IAAMa,EAAOC,SAASC,cAAc,KACpC,IAAMC,EAAQF,SAASC,cAAc,UAErCF,EAAKI,MAAMC,QAA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C,EAAa3J,GACnBF,EACEyG,EAAQc,WAAWsC,GACnB3J,EACA,MACA,qB,EAIJ4J,MAAO,SAACC,EAAa7J,GACnBF,EACEyG,EAAQc,WAAWwC,GACnB7J,EACA,MACA,qB,GAKQwJ,EAAAQ,IAAM,CAClBN,MAAO,SAACC,EAAa3J,GACnBF,EACEyG,EAAQc,WAAWsC,GACnB3J,EACA,MACA,uB,EAIJ4J,MAAO,SAACC,EAAa7J,GACnBF,EACEyG,EAAQc,WAAWwC,GACnB7J,EACA,MACA,uB"}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
+ */
4
+ System.register(["./p-821bdcdc.system.js","./p-9712b827.system.js","./p-5a662d6f.system.js"],(function(t){"use strict";var e,r,s,i,a,o,n;return{setters:[function(t){e=t.r;r=t.h;s=t.H;i=t.g},function(t){a=t.T;o=t.B},function(t){n=t.A}],execute:function(){var c='.sc-peculiar-button-menu-h{display:-ms-inline-flexbox;display:inline-flex;position:relative}.is_shown.sc-peculiar-button-menu-h .button_popover.sc-peculiar-button-menu:before{position:fixed;width:100%;height:100%;top:0;left:0;content:""}.is_shown.sc-peculiar-button-menu-h .popover.sc-peculiar-button-menu{display:block}.popover.sc-peculiar-button-menu{min-width:200px;position:absolute;top:100%;right:0;border-radius:4px;z-index:1;-webkit-box-shadow:var(--pv-shadow-light-medium);box-shadow:var(--pv-shadow-light-medium);background:var(--pv-color-white);padding:var(--pv-size-base-2) 0;margin:var(--pv-size-base) 0;display:none}.button_option.sc-peculiar-button-menu{width:100%;-ms-flex-pack:start;justify-content:flex-start;border-radius:0}.group.sc-peculiar-button-menu:not(:last-child){border-bottom:1px solid var(--pv-color-gray-5);padding-bottom:var(--pv-size-base-2);margin-bottom:var(--pv-size-base)}.group_title.sc-peculiar-button-menu{line-height:var(--pv-size-base-6);padding:0 var(--pv-size-base-2)}';var u=c;var l=t("peculiar_button_menu",function(){function t(t){var r=this;e(this,t);this.handleClick=function(){r.open=!r.open};this.groups=[];this.open=false}t.prototype.render=function(){var t=this;return r(s,{key:"484c56eb147ee97b4be9d9c0c324a6192be5d1b4",class:{is_shown:this.open}},r(o,{key:"00b7864c569169633c30a69f26185891ba9c39d1",class:"button_popover",onClick:this.handleClick,startIcon:r(n,null)}),r("div",{key:"afe0500732f053c8b22c65ec11bd2010546fc5e6",role:"dialog",tabIndex:-1,class:"popover","aria-hidden":String(this.open)},this.groups.map((function(e){return r("div",{class:"group"},r(a,{variant:"c2",color:"gray-9",class:"group_title"},e.title),e.options.map((function(e){return r(o,{class:"button_option",startIcon:e.startIcon,href:e.href,onClick:function(r){r.stopPropagation();t.handleClick();if(e.onClick){e.onClick(r)}}},e.text)})))}))))};return t}());l.style=u;var d=":host{display:block;width:100%}@-webkit-keyframes circular-rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes circular-rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes circular-dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:100, 200;stroke-dashoffset:-15}to{stroke-dasharray:100, 200;stroke-dashoffset:-120}}@keyframes circular-dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:100, 200;stroke-dashoffset:-15}to{stroke-dasharray:100, 200;stroke-dashoffset:-120}}.circle_progress{margin:0 auto}.circle_progress_svg{-webkit-animation:circular-rotate 1.4s linear infinite;animation:circular-rotate 1.4s linear infinite}.circle_progress_circle{stroke-linecap:round;-webkit-animation:circular-dash 1.4s ease-in-out infinite;animation:circular-dash 1.4s ease-in-out infinite;stroke-dasharray:80, 200;stroke-dashoffset:0;stroke:var(--pv-color-secondary)}.circle_progress_backdrop{stroke:var(--pv-color-gray-3)}";var h=d;var f=t("peculiar_circular_progress",function(){function t(t){e(this,t);this.box=50;this.size=24;this.width=4}t.prototype.render=function(){return r(s,{key:"c53e431e95eb8d2328e4a612d678db3dbf4d98f8"},r("div",{key:"816dcbef66c4b41a68949cc61abce6fb238d6026",class:"circle_progress",style:{width:"".concat(this.size,"px"),height:"".concat(this.size,"px")}},r("svg",{key:"6858994e0d7c8166f24930dc161efb9f6f24cf5d",class:"circle_progress_svg",viewBox:"0 0 ".concat(this.box," ").concat(this.box)},r("circle",{key:"721859338d69dadca5854258688263a83dcad136",class:"circle_progress_backdrop",cx:this.box/2,cy:this.box/2,r:this.box/2-5,fill:"none",style:{strokeWidth:"".concat(this.width,"px")}}),r("circle",{key:"aca038b2a6534a5c4cce604514612a48b4e25c9f",class:"circle_progress_circle",cx:this.box/2,cy:this.box/2,r:this.box/2-5,fill:"none",style:{strokeWidth:"".concat(this.width,"px")}}))))};return t}());f.style=h;var p=":host{display:inline}::slotted(mark){background-color:var(--pv-color-attention-tint-4)}";var b=p;var v=t("peculiar_highlight_words",function(){function t(t){e(this,t);this.tag="mark";this.search=undefined}t.prototype.componentDidLoad=function(){this.handleHighlightSearch()};t.prototype.componentDidUpdate=function(){this.handleHighlightSearch()};t.prototype.handleHighlightSearch=function(){var t=this.resetHighlightSearch(this.host.innerHTML);var e=t;if(this.search){var r=new RegExp("(".concat(this.search,")"),"gi");e=t.replace(r,"<".concat(this.tag,">$1</").concat(this.tag,">"))}this.host.innerHTML=e};t.prototype.resetHighlightSearch=function(t){var e=new RegExp("</?".concat(this.tag,">"),"g");return t.replace(e,"")};t.prototype.render=function(){return r(s,{key:"138017ba171c6a5a3e9bf365cba2cb67fdd29b06"},r("slot",{key:"a1bf1fee5c437fe7e98bd954c11a5f282a5da02c"}))};Object.defineProperty(t.prototype,"host",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());v.style=b}}}));
5
+ //# sourceMappingURL=p-e4ad4f13.system.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["buttonMenuCss","PeculiarButtonMenuStyle0","ButtonMenu","exports","this","handleClick","_this","open","class_1","prototype","render","h","Host","key","class","is_shown","Button","onClick","startIcon","ActionsIcon","role","tabIndex","String","groups","map","group","Typography","variant","color","title","options","option","href","event","stopPropagation","text","circularProgressCss","PeculiarCircularProgressStyle0","CircularProgress","box","class_2","style","width","concat","size","height","viewBox","cx","cy","r","fill","strokeWidth","highlightWordsCss","PeculiarHighlightWordsStyle0","HighlightWords","tag","class_3","componentDidLoad","handleHighlightSearch","componentDidUpdate","basicString","resetHighlightSearch","host","innerHTML","result","search","substring","RegExp","replace","source"],"sources":["src/components/button-menu/button-menu.scss?tag=peculiar-button-menu&encapsulation=scoped","src/components/button-menu/button-menu.tsx","src/components/circular-progress/circular-progress.scss?tag=peculiar-circular-progress&encapsulation=shadow","src/components/circular-progress/circular-progress.tsx","src/components/highlight-words/highlight-words.scss?tag=peculiar-highlight-words&encapsulation=shadow","src/components/highlight-words/highlight-words.tsx"],"sourcesContent":[":host {\n display: inline-flex;\n position: relative;\n\n &.is_shown {\n .button_popover {\n &:before {\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n content: '';\n }\n }\n\n .popover {\n display: block;\n }\n }\n}\n\n.popover {\n min-width: 200px;\n position: absolute;\n top: 100%;\n right: 0;\n border-radius: 4px;\n z-index: 1;\n box-shadow: var(--pv-shadow-light-medium);\n background: var(--pv-color-white);\n padding: var(--pv-size-base-2) 0;\n margin: var(--pv-size-base) 0;\n display: none;\n}\n\n.button_option {\n width: 100%;\n justify-content: flex-start;\n border-radius: 0;\n}\n\n.group {\n &:not(:last-child) {\n border-bottom: 1px solid var(--pv-color-gray-5);\n padding-bottom: var(--pv-size-base-2);\n margin-bottom: var(--pv-size-base);\n }\n}\n\n.group_title {\n line-height: var(--pv-size-base-6);\n padding: 0 var(--pv-size-base-2);\n}\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n h,\n State,\n Prop,\n Host,\n} from '@stencil/core';\nimport { Button, ButtonProps } from '../button';\nimport { Typography } from '../typography';\nimport { ActionsIcon } from '../icons';\n\nexport interface ButtonMenuGroupOptions extends ButtonProps {\n text: string | string[];\n}\n\nexport interface ButtonMenuGroup {\n title: string | string[];\n options: ButtonMenuGroupOptions[];\n}\n\n@Component({\n tag: 'peculiar-button-menu',\n styleUrl: 'button-menu.scss',\n scoped: true,\n})\nexport class ButtonMenu {\n @Prop() groups: ButtonMenuGroup[] = [];\n\n @State() open: boolean = false;\n\n handleClick = () => {\n this.open = !this.open;\n };\n\n render() {\n return (\n <Host\n class={{\n is_shown: this.open,\n }}\n >\n <Button\n class=\"button_popover\"\n onClick={this.handleClick}\n startIcon={<ActionsIcon />}\n />\n <div\n role=\"dialog\"\n tabIndex={-1}\n class=\"popover\"\n aria-hidden={String(this.open)}\n >\n {this.groups.map((group) => (\n <div class=\"group\">\n <Typography\n variant=\"c2\"\n color=\"gray-9\"\n class=\"group_title\"\n >\n {group.title}\n </Typography>\n {group.options.map((option) => (\n <Button\n class=\"button_option\"\n startIcon={option.startIcon}\n href={option.href}\n onClick={(event) => {\n event.stopPropagation();\n\n this.handleClick();\n\n if (option.onClick) {\n option.onClick(event);\n }\n }}\n >\n {option.text}\n </Button>\n ))}\n </div>\n ))}\n </div>\n </Host>\n );\n }\n}\n",":host {\n display: block;\n width: 100%;\n}\n\n@keyframes circular-rotate {\n to {\n transform: rotate(1turn);\n }\n}\n\n@keyframes circular-dash {\n 0% {\n stroke-dasharray: 1,200;\n stroke-dashoffset: 0;\n }\n\n 50% {\n stroke-dasharray: 100,200;\n stroke-dashoffset: -15;\n }\n\n to {\n stroke-dasharray: 100,200;\n stroke-dashoffset: -120;\n }\n}\n\n.circle_progress {\n margin: 0 auto;\n}\n\n.circle_progress_svg {\n animation: circular-rotate 1.4s linear infinite;\n}\n\n.circle_progress_circle {\n stroke-linecap: round;\n animation: circular-dash 1.4s ease-in-out infinite;\n stroke-dasharray: 80,200;\n stroke-dashoffset: 0;\n stroke: var(--pv-color-secondary);\n}\n\n.circle_progress_backdrop {\n stroke: var(--pv-color-gray-3);\n}\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Host,\n h,\n Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'peculiar-circular-progress',\n styleUrl: 'circular-progress.scss',\n shadow: true,\n})\nexport class CircularProgress {\n /**\n * Width/height of progress circle.\n */\n @Prop() size: number = 24;\n\n /**\n * Stroke width of progress bar circle.\n */\n @Prop() width: number = 4;\n\n private box: number = 50;\n\n render() {\n return (\n <Host>\n <div\n class=\"circle_progress\"\n style={{\n width: `${this.size}px`,\n height: `${this.size}px`,\n }}\n >\n <svg\n class=\"circle_progress_svg\"\n viewBox={`0 0 ${this.box} ${this.box}`}\n >\n <circle\n class=\"circle_progress_backdrop\"\n cx={this.box / 2}\n cy={this.box / 2}\n r={(this.box / 2) - 5}\n fill=\"none\"\n style={{\n strokeWidth: `${this.width}px`,\n }}\n />\n <circle\n class=\"circle_progress_circle\"\n cx={this.box / 2}\n cy={this.box / 2}\n r={(this.box / 2) - 5}\n fill=\"none\"\n style={{\n strokeWidth: `${this.width}px`,\n }}\n />\n </svg>\n </div>\n </Host>\n );\n }\n}\n",":host {\n display: inline;\n}\n\n::slotted(mark) {\n background-color: var(--pv-color-attention-tint-4);\n}\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component, Host, h, Element, Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'peculiar-highlight-words',\n styleUrl: 'highlight-words.scss',\n shadow: true,\n})\nexport class HighlightWords {\n @Element() host: HTMLElement;\n\n @Prop() search: string;\n\n private tag: string = 'mark';\n\n componentDidLoad() {\n this.handleHighlightSearch();\n }\n\n componentDidUpdate() {\n this.handleHighlightSearch();\n }\n\n handleHighlightSearch() {\n const basicString = this.resetHighlightSearch(this.host.innerHTML);\n let result = basicString;\n\n if (this.search) {\n const substring = new RegExp(`(${this.search})`, 'gi');\n\n result = basicString.replace(substring, `<${this.tag}>$1</${this.tag}>`);\n }\n\n this.host.innerHTML = result;\n }\n\n resetHighlightSearch(source: string) {\n // eslint-disable-next-line no-useless-escape\n const substring = new RegExp(`<\\/?${this.tag}>`, 'g');\n\n return source.replace(substring, '');\n }\n\n render() {\n return (\n <Host>\n <slot />\n </Host>\n );\n }\n}\n"],"mappings":";;;8PAAA,IAAMA,EAAgB,s/BACtB,IAAAC,EAAeD,E,ICgCFE,EAAUC,EAAA,kC,mCAKrBC,KAAAC,YAAc,WACZC,EAAKC,MAAQD,EAAKC,I,cALgB,G,UAEX,K,CAMzBC,EAAAC,UAAAC,OAAA,eAAAJ,EAAAF,KACE,OACEO,EAACC,EAAI,CAAAC,IAAA,2CACHC,MAAO,CACLC,SAAUX,KAAKG,OAGjBI,EAACK,EAAM,CAAAH,IAAA,2CACLC,MAAM,iBACNG,QAASb,KAAKC,YACda,UAAWP,EAACQ,EAAW,QAEzBR,EAAA,OAAAE,IAAA,2CACEO,KAAK,SACLC,UAAW,EACXP,MAAM,UAAS,cACFQ,OAAOlB,KAAKG,OAExBH,KAAKmB,OAAOC,KAAI,SAACC,GAAK,OACrBd,EAAA,OAAKG,MAAM,SACTH,EAACe,EAAU,CACTC,QAAQ,KACRC,MAAM,SACNd,MAAM,eAELW,EAAMI,OAERJ,EAAMK,QAAQN,KAAI,SAACO,GAAM,OACxBpB,EAACK,EAAM,CACLF,MAAM,gBACNI,UAAWa,EAAOb,UAClBc,KAAMD,EAAOC,KACbf,QAAS,SAACgB,GACRA,EAAMC,kBAEN5B,EAAKD,cAEL,GAAI0B,EAAOd,QAAS,CAClBc,EAAOd,QAAQgB,E,IAIlBF,EAAOI,KAfc,IATP,K,WA3BV,I,UCjCvB,IAAMC,EAAsB,2/BAC5B,IAAAC,EAAeD,E,ICmBFE,EAAgBnC,EAAA,wC,wBAWnBC,KAAAmC,IAAc,G,UAPC,G,WAKC,C,CA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AAKmD,IAAG,K,CAGtEnD,KAAK0D,KAAKC,UAAYC,C,EAGxBR,EAAA/C,UAAAoD,qBAAA,SAAqBQ,GAEnB,IAAMH,EAAY,IAAIC,OAAO,MAAAxB,OAAOvC,KAAKmD,IAAG,KAAK,KAEjD,OAAOc,EAAOD,QAAQF,EAAW,G,EAGnCV,EAAA/C,UAAAC,OAAA,WACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,QAAAE,IAAA,6C,yHAtCmB,I"}
@@ -0,0 +1,12 @@
1
+ /*!
2
+ * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
+ */
4
+ import{h as r}from"./p-3cb79cd9.js";import{T as o}from"./p-4bc5ddbe.js";
5
+ /**
6
+ * @license
7
+ * Copyright (c) Peculiar Ventures, LLC.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */const e=(e,n)=>{const{href:t,variant:a}=e;return r(o,{component:"a",variant:a,color:"secondary",href:t,target:"_blank",rel:"noreferrer noopener"},n)};export{e as L};
12
+ //# sourceMappingURL=p-e6a6e602.js.map
@@ -0,0 +1,27 @@
1
+ /*!
2
+ * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
+ */
4
+ System.register(["./p-821bdcdc.system.js"],(function(a){"use strict";var t;return{setters:[function(a){t=a.h}],execute:function(){
5
+ /**
6
+ * @license
7
+ * Copyright (c) Peculiar Ventures, LLC.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+ var r=a("D",(function(a){var r=a.color,l=r===void 0?"secondary":r;return t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"31",fill:"none"},t("path",{fill:"var(--pv-color-".concat(l,")"),d:"M6.71 19.79a1 1 0 0 0-.33-.21 1 1 0 0 0-.76 0 1 1 0 0 0-.33.21 1 1 0 0 0-.21.33 1 1 0 0 0 .21 1.09c.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1 1 0 0 0 .21-1.09 1 1 0 0 0-.21-.33ZM10 11.5h14a1 1 0 0 0 0-2H10a1 1 0 0 0 0 2Zm-3.29 3.29a1 1 0 0 0-1.09-.21 1.15 1.15 0 0 0-.33.21 1 1 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1 1 0 0 0-.21-.33ZM24 14.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2ZM6.71 9.79a1 1 0 0 0-.33-.21 1 1 0 0 0-1.09.21 1.15 1.15 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a1 1 0 0 0 1.09-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1.15 1.15 0 0 0-.21-.33ZM24 19.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z"}))}));
13
+ /**
14
+ * @license
15
+ * Copyright (c) Peculiar Ventures, LLC.
16
+ *
17
+ * This source code is licensed under the MIT license found in the
18
+ * LICENSE file in the root directory of this source tree.
19
+ */var l=a("L",(function(a){var r=a.color,l=r===void 0?"secondary":r;return t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"31",fill:"none"},t("path",{fill:"var(--pv-color-".concat(l,")"),d:"M21 14.32a1 1 0 0 0-1 1v7.18a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-11a1 1 0 0 1 1-1h7.18a1 1 0 0 0 0-2H8a3 3 0 0 0-3 3v11a3 3 0 0 0 3 3h11a3 3 0 0 0 3-3v-7.18a1 1 0 0 0-1-1Zm3.92-8.2a1 1 0 0 0-.54-.54A1 1 0 0 0 24 5.5h-6a1 1 0 1 0 0 2h3.59l-10.3 10.29a1.002 1.002 0 0 0 .325 1.639 1 1 0 0 0 1.095-.219L23 8.91v3.59a1 1 0 0 0 2 0v-6a1.001 1.001 0 0 0-.08-.38Z"}))}));
20
+ /**
21
+ * @license
22
+ * Copyright (c) Peculiar Ventures, LLC.
23
+ *
24
+ * This source code is licensed under the MIT license found in the
25
+ * LICENSE file in the root directory of this source tree.
26
+ */var v=a("C",(function(a){var r=a.color,l=r===void 0?"gray-9":r;return t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",fill:"none"},t("path",{fill:"var(--pv-color-".concat(l,")"),"fill-rule":"evenodd",d:"m16.37 15 5.442 5.44c.25.252.25.663 0 .914l-.459.457a.646.646 0 0 1-.913 0L15 16.371l-5.44 5.44a.648.648 0 0 1-.915 0l-.457-.457a.649.649 0 0 1 0-.913L13.63 15 8.188 9.56a.649.649 0 0 1 0-.914l.457-.457a.648.648 0 0 1 .915 0l5.44 5.44 5.44-5.44a.646.646 0 0 1 .913 0l.46.457c.25.25.25.662 0 .913L16.37 15Z","clip-rule":"evenodd"}))}))}}}));
27
+ //# sourceMappingURL=p-eea904d7.system.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["DetailsIcon","exports","props","_a","color","h","xmlns","width","height","fill","concat","d","LinkIcon","CrossIcon"],"sources":["src/components/icons/details.tsx","src/components/icons/link.tsx","src/components/icons/cross.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { FunctionalComponent, h } from '@stencil/core';\nimport type { ColorType } from '../../interface';\n\nexport const DetailsIcon: FunctionalComponent<{ color?: ColorType }> = (props) => {\n const { color = 'secondary' } = props;\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"30\"\n height=\"31\"\n fill=\"none\"\n >\n <path\n fill={`var(--pv-color-${color})`}\n d=\"M6.71 19.79a1 1 0 0 0-.33-.21 1 1 0 0 0-.76 0 1 1 0 0 0-.33.21 1 1 0 0 0-.21.33 1 1 0 0 0 .21 1.09c.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1 1 0 0 0 .21-1.09 1 1 0 0 0-.21-.33ZM10 11.5h14a1 1 0 0 0 0-2H10a1 1 0 0 0 0 2Zm-3.29 3.29a1 1 0 0 0-1.09-.21 1.15 1.15 0 0 0-.33.21 1 1 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1 1 0 0 0-.21-.33ZM24 14.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2ZM6.71 9.79a1 1 0 0 0-.33-.21 1 1 0 0 0-1.09.21 1.15 1.15 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a1 1 0 0 0 1.09-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1.15 1.15 0 0 0-.21-.33ZM24 19.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z\"\n />\n </svg>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { FunctionalComponent, h } from '@stencil/core';\nimport type { ColorType } from '../../interface';\n\nexport const LinkIcon: FunctionalComponent<{ color?: ColorType }> = (props) => {\n const { color = 'secondary' } = props;\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"30\"\n height=\"31\"\n fill=\"none\"\n >\n <path\n fill={`var(--pv-color-${color})`}\n d=\"M21 14.32a1 1 0 0 0-1 1v7.18a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-11a1 1 0 0 1 1-1h7.18a1 1 0 0 0 0-2H8a3 3 0 0 0-3 3v11a3 3 0 0 0 3 3h11a3 3 0 0 0 3-3v-7.18a1 1 0 0 0-1-1Zm3.92-8.2a1 1 0 0 0-.54-.54A1 1 0 0 0 24 5.5h-6a1 1 0 1 0 0 2h3.59l-10.3 10.29a1.002 1.002 0 0 0 .325 1.639 1 1 0 0 0 1.095-.219L23 8.91v3.59a1 1 0 0 0 2 0v-6a1.001 1.001 0 0 0-.08-.38Z\"\n />\n </svg>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { FunctionalComponent, h } from '@stencil/core';\nimport type { ColorType } from '../../interface';\n\nexport const CrossIcon: FunctionalComponent<{ color?: ColorType }> = (props) => {\n const { color = 'gray-9' } = props;\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"30\"\n height=\"30\"\n fill=\"none\"\n >\n <path\n fill={`var(--pv-color-${color})`}\n fill-rule=\"evenodd\"\n d=\"m16.37 15 5.442 5.44c.25.252.25.663 0 .914l-.459.457a.646.646 0 0 1-.913 0L15 16.371l-5.44 5.44a.648.648 0 0 1-.915 0l-.457-.457a.649.649 0 0 1 0-.913L13.63 15 8.188 9.56a.649.649 0 0 1 0-.914l.457-.457a.648.648 0 0 1 .915 0l5.44 5.44 5.44-5.44a.646.646 0 0 1 .913 0l.46.457c.25.25.25.662 0 .913L16.37 15Z\"\n clip-rule=\"evenodd\"\n />\n </svg>\n );\n};\n"],"mappings":";;;;;;;;;;;IAWaA,EAAWC,EAAA,KAA+C,SAACC,GAC9D,IAAAC,EAAwBD,EAAKE,MAA7BA,EAAKD,SAAA,EAAG,YAAWA,EAE3B,OACEE,EAAA,OACEC,MAAM,6BACNC,MAAM,KACNC,OAAO,KACPC,KAAK,QAELJ,EAAA,QACEI,KAAM,kBAAAC,OAAkBN,EAAK,KAC7BO,EAAE,kxBAIV;;;;;;;aChBaC,EAAQX,EAAA,KAA+C,SAACC,GAC3D,IAAAC,EAAwBD,EAAKE,MAA7BA,EAAKD,SAAA,EAAG,YAAWA,EAE3B,OACEE,EAAA,OACEC,MAAM,6BACNC,MAAM,KACNC,OAAO,KACPC,KAAK,QAELJ,EAAA,QACEI,KAAM,kBAAAC,OAAkBN,EAAK,KAC7BO,EAAE,oWAIV;;;;;;;aChBaE,EAASZ,EAAA,KAA+C,SAACC,GAC5D,IAAAC,EAAqBD,EAAKE,MAA1BA,EAAKD,SAAA,EAAG,SAAQA,EAExB,OACEE,EAAA,OACEC,MAAM,6BACNC,MAAM,KACNC,OAAO,KACPC,KAAK,QAELJ,EAAA,QACEI,KAAM,kBAAAC,OAAkBN,EAAK,KAAG,YACtB,UACVO,EAAE,oTAAmT,YAC3S,YAIlB,G"}
1
+ {"version":3,"names":["DetailsIcon","exports","props","_a","color","h","xmlns","width","height","fill","concat","d","LinkIcon","CrossIcon"],"sources":["src/components/icons/details.tsx","src/components/icons/link.tsx","src/components/icons/cross.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { FunctionalComponent, h } from '@stencil/core';\nimport type { ColorType } from '../../interface';\n\nexport const DetailsIcon: FunctionalComponent<{ color?: ColorType }> = (props) => {\n const { color = 'secondary' } = props;\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"30\"\n height=\"31\"\n fill=\"none\"\n >\n <path\n fill={`var(--pv-color-${color})`}\n d=\"M6.71 19.79a1 1 0 0 0-.33-.21 1 1 0 0 0-.76 0 1 1 0 0 0-.33.21 1 1 0 0 0-.21.33 1 1 0 0 0 .21 1.09c.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1 1 0 0 0 .21-1.09 1 1 0 0 0-.21-.33ZM10 11.5h14a1 1 0 0 0 0-2H10a1 1 0 0 0 0 2Zm-3.29 3.29a1 1 0 0 0-1.09-.21 1.15 1.15 0 0 0-.33.21 1 1 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1 1 0 0 0-.21-.33ZM24 14.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2ZM6.71 9.79a1 1 0 0 0-.33-.21 1 1 0 0 0-1.09.21 1.15 1.15 0 0 0-.21.33.94.94 0 0 0 0 .76c.05.121.122.233.21.33.097.088.209.16.33.21a1 1 0 0 0 1.09-.21 1.15 1.15 0 0 0 .21-.33.94.94 0 0 0 0-.76 1.15 1.15 0 0 0-.21-.33ZM24 19.5H10a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z\"\n />\n </svg>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { FunctionalComponent, h } from '@stencil/core';\nimport type { ColorType } from '../../interface';\n\nexport const LinkIcon: FunctionalComponent<{ color?: ColorType }> = (props) => {\n const { color = 'secondary' } = props;\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"30\"\n height=\"31\"\n fill=\"none\"\n >\n <path\n fill={`var(--pv-color-${color})`}\n d=\"M21 14.32a1 1 0 0 0-1 1v7.18a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-11a1 1 0 0 1 1-1h7.18a1 1 0 0 0 0-2H8a3 3 0 0 0-3 3v11a3 3 0 0 0 3 3h11a3 3 0 0 0 3-3v-7.18a1 1 0 0 0-1-1Zm3.92-8.2a1 1 0 0 0-.54-.54A1 1 0 0 0 24 5.5h-6a1 1 0 1 0 0 2h3.59l-10.3 10.29a1.002 1.002 0 0 0 .325 1.639 1 1 0 0 0 1.095-.219L23 8.91v3.59a1 1 0 0 0 2 0v-6a1.001 1.001 0 0 0-.08-.38Z\"\n />\n </svg>\n );\n};\n","/**\n * @license\n * Copyright (c) Peculiar Ventures, LLC.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { FunctionalComponent, h } from '@stencil/core';\nimport type { ColorType } from '../../interface';\n\nexport const CrossIcon: FunctionalComponent<{ color?: ColorType }> = (props) => {\n const { color = 'gray-9' } = props;\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"30\"\n height=\"30\"\n fill=\"none\"\n >\n <path\n fill={`var(--pv-color-${color})`}\n fill-rule=\"evenodd\"\n d=\"m16.37 15 5.442 5.44c.25.252.25.663 0 .914l-.459.457a.646.646 0 0 1-.913 0L15 16.371l-5.44 5.44a.648.648 0 0 1-.915 0l-.457-.457a.649.649 0 0 1 0-.913L13.63 15 8.188 9.56a.649.649 0 0 1 0-.914l.457-.457a.648.648 0 0 1 .915 0l5.44 5.44 5.44-5.44a.646.646 0 0 1 .913 0l.46.457c.25.25.25.662 0 .913L16.37 15Z\"\n clip-rule=\"evenodd\"\n />\n </svg>\n );\n};\n"],"mappings":";;;;;;;;;;;IAWaA,EAAWC,EAAA,KAA+C,SAACC,GAC9D,IAAAC,EAAwBD,EAAKE,MAA7BA,EAAKD,SAAA,EAAG,YAAWA,EAE3B,OACEE,EAAA,OACEC,MAAM,6BACNC,MAAM,KACNC,OAAO,KACPC,KAAK,QAELJ,EAAA,QACEI,KAAM,kBAAAC,OAAkBN,EAAK,KAC7BO,EAAE,kxBAIV;;;;;;;mBChBaC,EAAQX,EAAA,KAA+C,SAACC,GAC3D,IAAAC,EAAwBD,EAAKE,MAA7BA,EAAKD,SAAA,EAAG,YAAWA,EAE3B,OACEE,EAAA,OACEC,MAAM,6BACNC,MAAM,KACNC,OAAO,KACPC,KAAK,QAELJ,EAAA,QACEI,KAAM,kBAAAC,OAAkBN,EAAK,KAC7BO,EAAE,oWAIV;;;;;;;mBChBaE,EAASZ,EAAA,KAA+C,SAACC,GAC5D,IAAAC,EAAqBD,EAAKE,MAA1BA,EAAKD,SAAA,EAAG,SAAQA,EAExB,OACEE,EAAA,OACEC,MAAM,6BACNC,MAAM,KACNC,OAAO,KACPC,KAAK,QAELJ,EAAA,QACEI,KAAM,kBAAAC,OAAkBN,EAAK,KAAG,YACtB,UACVO,EAAE,oTAAmT,YAC3S,YAIlB,G"}