@peculiar/certificates-viewer 3.10.1 → 4.0.2

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 (589) hide show
  1. package/README.md +40 -64
  2. package/components/actions.js +21 -0
  3. package/components/actions.js.map +1 -0
  4. package/components/arrow_top.js +34 -0
  5. package/components/arrow_top.js.map +1 -0
  6. package/components/attribute-certificate-viewer.js +281 -0
  7. package/components/attribute-certificate-viewer.js.map +1 -0
  8. package/components/button-menu.js +52 -0
  9. package/components/button-menu.js.map +1 -0
  10. package/components/button.js +74 -0
  11. package/components/button.js.map +1 -0
  12. package/components/certificate-viewer.js +300 -0
  13. package/components/certificate-viewer.js.map +1 -0
  14. package/components/circular-progress.js +48 -0
  15. package/components/circular-progress.js.map +1 -0
  16. package/components/crl-viewer.js +263 -0
  17. package/components/crl-viewer.js.map +1 -0
  18. package/components/cross.js +47 -0
  19. package/components/cross.js.map +1 -0
  20. package/components/csr-viewer.js +233 -0
  21. package/components/csr-viewer.js.map +1 -0
  22. package/components/custom-elements.d.ts +2 -0
  23. package/components/download.js +500 -0
  24. package/components/download.js.map +1 -0
  25. package/components/highlight-words.js +60 -0
  26. package/components/highlight-words.js.map +1 -0
  27. package/components/index.d.ts +33 -0
  28. package/components/index.js +11 -0
  29. package/components/index.js.map +1 -0
  30. package/components/index2.js +299 -0
  31. package/components/index2.js.map +1 -0
  32. package/components/issuer_name.js +26 -0
  33. package/components/issuer_name.js.map +1 -0
  34. package/components/miscellaneous.js +13393 -0
  35. package/components/miscellaneous.js.map +1 -0
  36. package/components/package.json +9 -0
  37. package/components/peculiar-attribute-certificate-viewer.d.ts +11 -0
  38. package/components/peculiar-attribute-certificate-viewer.js +11 -0
  39. package/components/peculiar-attribute-certificate-viewer.js.map +1 -0
  40. package/components/peculiar-button-menu.d.ts +11 -0
  41. package/components/peculiar-button-menu.js +11 -0
  42. package/components/peculiar-button-menu.js.map +1 -0
  43. package/components/peculiar-certificate-decoder.d.ts +11 -0
  44. package/components/peculiar-certificate-decoder.js +234 -0
  45. package/components/peculiar-certificate-decoder.js.map +1 -0
  46. package/components/peculiar-certificate-viewer.d.ts +11 -0
  47. package/components/peculiar-certificate-viewer.js +11 -0
  48. package/components/peculiar-certificate-viewer.js.map +1 -0
  49. package/components/peculiar-certificates-viewer.d.ts +11 -0
  50. package/components/peculiar-certificates-viewer.js +344 -0
  51. package/components/peculiar-certificates-viewer.js.map +1 -0
  52. package/components/peculiar-circular-progress.d.ts +11 -0
  53. package/components/peculiar-circular-progress.js +11 -0
  54. package/components/peculiar-circular-progress.js.map +1 -0
  55. package/components/peculiar-crl-viewer.d.ts +11 -0
  56. package/components/peculiar-crl-viewer.js +11 -0
  57. package/components/peculiar-crl-viewer.js.map +1 -0
  58. package/components/peculiar-csr-viewer.d.ts +11 -0
  59. package/components/peculiar-csr-viewer.js +11 -0
  60. package/components/peculiar-csr-viewer.js.map +1 -0
  61. package/components/peculiar-highlight-words.d.ts +11 -0
  62. package/components/peculiar-highlight-words.js +11 -0
  63. package/components/peculiar-highlight-words.js.map +1 -0
  64. package/components/peculiar-text-hider.d.ts +11 -0
  65. package/components/peculiar-text-hider.js +42 -0
  66. package/components/peculiar-text-hider.js.map +1 -0
  67. package/components/subject_name.js +71 -0
  68. package/components/subject_name.js.map +1 -0
  69. package/dist/cjs/actions-19013d4a.js +23 -0
  70. package/dist/cjs/actions-19013d4a.js.map +1 -0
  71. package/dist/cjs/arrow_top-834fb7ec.js +37 -0
  72. package/dist/cjs/arrow_top-834fb7ec.js.map +1 -0
  73. package/dist/cjs/button-14e2b73f.js +77 -0
  74. package/dist/cjs/button-14e2b73f.js.map +1 -0
  75. package/dist/cjs/{certification_request-d5c6e32d.js → certification_request-c0cafa72.js} +236 -71
  76. package/dist/cjs/certification_request-c0cafa72.js.map +1 -0
  77. package/dist/cjs/{crl-5bce64c4.js → crl-b4322166.js} +8 -7
  78. package/dist/cjs/crl-b4322166.js.map +1 -0
  79. package/dist/cjs/cross-9872c473.js +51 -0
  80. package/dist/cjs/cross-9872c473.js.map +1 -0
  81. package/dist/cjs/download-254ddc57.js +23 -0
  82. package/dist/cjs/download-254ddc57.js.map +1 -0
  83. package/dist/cjs/{download-93f7b773.js → download-972dda8a.js} +2 -0
  84. package/dist/cjs/download-972dda8a.js.map +1 -0
  85. package/dist/cjs/index-efd561e9.js +2477 -0
  86. package/dist/cjs/index-efd561e9.js.map +1 -0
  87. package/dist/cjs/index.cjs.js +20 -1
  88. package/dist/cjs/index.cjs.js.map +1 -0
  89. package/dist/cjs/link-6aea0be4.js +25 -0
  90. package/dist/cjs/link-6aea0be4.js.map +1 -0
  91. package/dist/cjs/loader.cjs.js +6 -12
  92. package/dist/cjs/loader.cjs.js.map +1 -0
  93. package/dist/cjs/{miscellaneous-cac1cd8b.js → miscellaneous-e43aaae5.js} +73 -70
  94. package/dist/cjs/miscellaneous-e43aaae5.js.map +1 -0
  95. package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js +93 -35
  96. package/dist/cjs/peculiar-attribute-certificate-viewer_3.cjs.entry.js.map +1 -0
  97. package/dist/cjs/peculiar-button-menu_3.cjs.entry.js +98 -0
  98. package/dist/cjs/peculiar-button-menu_3.cjs.entry.js.map +1 -0
  99. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js +30 -19
  100. package/dist/cjs/peculiar-certificate-decoder.cjs.entry.js.map +1 -0
  101. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js +35 -11
  102. package/dist/cjs/peculiar-certificate-viewer.cjs.entry.js.map +1 -0
  103. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +145 -85
  104. package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js.map +1 -0
  105. package/dist/cjs/peculiar-text-hider.cjs.entry.js +7 -13
  106. package/dist/cjs/peculiar-text-hider.cjs.entry.js.map +1 -0
  107. package/dist/cjs/peculiar.cjs.js +10 -57
  108. package/dist/cjs/peculiar.cjs.js.map +1 -0
  109. package/dist/cjs/{x509_certificate-3760e0a8.js → x509_certificate-989b1435.js} +5 -4
  110. package/dist/cjs/x509_certificate-989b1435.js.map +1 -0
  111. package/dist/collection/collection-manifest.json +12 -16
  112. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js +189 -145
  113. package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js.map +1 -0
  114. package/dist/collection/components/button/button.js +14 -126
  115. package/dist/collection/components/button/button.js.map +1 -0
  116. package/dist/collection/components/button/index.js +5 -0
  117. package/dist/collection/components/button/index.js.map +1 -0
  118. package/dist/collection/components/button-menu/button-menu.css +46 -0
  119. package/dist/collection/components/button-menu/button-menu.js +78 -0
  120. package/dist/collection/components/button-menu/button-menu.js.map +1 -0
  121. package/dist/collection/components/certificate-decoder/certificate-decoder.css +456 -44
  122. package/dist/collection/components/certificate-decoder/certificate-decoder.js +109 -101
  123. package/dist/collection/components/certificate-decoder/certificate-decoder.js.map +1 -0
  124. package/dist/collection/components/certificate-details-parts/attributes/activity_description_attribute.js +6 -11
  125. package/dist/collection/components/certificate-details-parts/attributes/activity_description_attribute.js.map +1 -0
  126. package/dist/collection/components/certificate-details-parts/attributes/as_string_attribute.js +5 -5
  127. package/dist/collection/components/certificate-details-parts/attributes/as_string_attribute.js.map +1 -0
  128. package/dist/collection/components/certificate-details-parts/attributes/basic_attribute.js +5 -6
  129. package/dist/collection/components/certificate-details-parts/attributes/basic_attribute.js.map +1 -0
  130. package/dist/collection/components/certificate-details-parts/attributes/challenge_password_attribute.js +5 -5
  131. package/dist/collection/components/certificate-details-parts/attributes/challenge_password_attribute.js.map +1 -0
  132. package/dist/collection/components/certificate-details-parts/attributes/index.js +16 -15
  133. package/dist/collection/components/certificate-details-parts/attributes/index.js.map +1 -0
  134. package/dist/collection/components/certificate-details-parts/attributes/insurance_value_attribute.js +5 -5
  135. package/dist/collection/components/certificate-details-parts/attributes/insurance_value_attribute.js.map +1 -0
  136. package/dist/collection/components/certificate-details-parts/attributes/name_attribute.js +5 -5
  137. package/dist/collection/components/certificate-details-parts/attributes/name_attribute.js.map +1 -0
  138. package/dist/collection/components/certificate-details-parts/attributes/name_part.js +4 -3
  139. package/dist/collection/components/certificate-details-parts/attributes/name_part.js.map +1 -0
  140. package/dist/collection/components/certificate-details-parts/attributes/type_relationship_attribute.js +5 -4
  141. package/dist/collection/components/certificate-details-parts/attributes/type_relationship_attribute.js.map +1 -0
  142. package/dist/collection/components/certificate-details-parts/attributes/unstructured_name_attribute.js +5 -5
  143. package/dist/collection/components/certificate-details-parts/attributes/unstructured_name_attribute.js.map +1 -0
  144. package/dist/collection/components/certificate-details-parts/attributes/valuation_ranking_attribute.js +5 -5
  145. package/dist/collection/components/certificate-details-parts/attributes/valuation_ranking_attribute.js.map +1 -0
  146. package/dist/collection/components/certificate-details-parts/attributes/web_gdpr_attribute.js +6 -13
  147. package/dist/collection/components/certificate-details-parts/attributes/web_gdpr_attribute.js.map +1 -0
  148. package/dist/collection/components/certificate-details-parts/basic_information.js +4 -3
  149. package/dist/collection/components/certificate-details-parts/basic_information.js.map +1 -0
  150. package/dist/collection/components/certificate-details-parts/extensions/archive_rev_info_extension.js +5 -5
  151. package/dist/collection/components/certificate-details-parts/extensions/archive_rev_info_extension.js.map +1 -0
  152. package/dist/collection/components/certificate-details-parts/extensions/as_string_extension.js +5 -5
  153. package/dist/collection/components/certificate-details-parts/extensions/as_string_extension.js.map +1 -0
  154. package/dist/collection/components/certificate-details-parts/extensions/attribute_value.js +2 -1
  155. package/dist/collection/components/certificate-details-parts/extensions/attribute_value.js.map +1 -0
  156. package/dist/collection/components/certificate-details-parts/extensions/authority_key_identifier_extension.js +10 -15
  157. package/dist/collection/components/certificate-details-parts/extensions/authority_key_identifier_extension.js.map +1 -0
  158. package/dist/collection/components/certificate-details-parts/extensions/basic_constraints_extension.js +6 -7
  159. package/dist/collection/components/certificate-details-parts/extensions/basic_constraints_extension.js.map +1 -0
  160. package/dist/collection/components/certificate-details-parts/extensions/basic_extension.js +5 -6
  161. package/dist/collection/components/certificate-details-parts/extensions/basic_extension.js.map +1 -0
  162. package/dist/collection/components/certificate-details-parts/extensions/biometric_syntax_extension.js +8 -12
  163. package/dist/collection/components/certificate-details-parts/extensions/biometric_syntax_extension.js.map +1 -0
  164. package/dist/collection/components/certificate-details-parts/extensions/ca_version_extension.js +5 -6
  165. package/dist/collection/components/certificate-details-parts/extensions/ca_version_extension.js.map +1 -0
  166. package/dist/collection/components/certificate-details-parts/extensions/certificate_policies_extension.js +26 -27
  167. package/dist/collection/components/certificate-details-parts/extensions/certificate_policies_extension.js.map +1 -0
  168. package/dist/collection/components/certificate-details-parts/extensions/certificate_template_extension.js +5 -7
  169. package/dist/collection/components/certificate-details-parts/extensions/certificate_template_extension.js.map +1 -0
  170. package/dist/collection/components/certificate-details-parts/extensions/certificate_transparency_extension.js +8 -13
  171. package/dist/collection/components/certificate-details-parts/extensions/certificate_transparency_extension.js.map +1 -0
  172. package/dist/collection/components/certificate-details-parts/extensions/crl_distribution_points_extension.js +4 -3
  173. package/dist/collection/components/certificate-details-parts/extensions/crl_distribution_points_extension.js.map +1 -0
  174. package/dist/collection/components/certificate-details-parts/extensions/crl_number_extension.js +6 -6
  175. package/dist/collection/components/certificate-details-parts/extensions/crl_number_extension.js.map +1 -0
  176. package/dist/collection/components/certificate-details-parts/extensions/crl_reason_extension.js +5 -5
  177. package/dist/collection/components/certificate-details-parts/extensions/crl_reason_extension.js.map +1 -0
  178. package/dist/collection/components/certificate-details-parts/extensions/enroll_cert_type_extension.js +5 -5
  179. package/dist/collection/components/certificate-details-parts/extensions/enroll_cert_type_extension.js.map +1 -0
  180. package/dist/collection/components/certificate-details-parts/extensions/entrust_version_info_extension.js +5 -6
  181. package/dist/collection/components/certificate-details-parts/extensions/entrust_version_info_extension.js.map +1 -0
  182. package/dist/collection/components/certificate-details-parts/extensions/extended_key_usage_extension.js +7 -7
  183. package/dist/collection/components/certificate-details-parts/extensions/extended_key_usage_extension.js.map +1 -0
  184. package/dist/collection/components/certificate-details-parts/extensions/general_name_part.js +7 -6
  185. package/dist/collection/components/certificate-details-parts/extensions/general_name_part.js.map +1 -0
  186. package/dist/collection/components/certificate-details-parts/extensions/index.js +46 -45
  187. package/dist/collection/components/certificate-details-parts/extensions/index.js.map +1 -0
  188. package/dist/collection/components/certificate-details-parts/extensions/info_access_syntax_extension.js +8 -9
  189. package/dist/collection/components/certificate-details-parts/extensions/info_access_syntax_extension.js.map +1 -0
  190. package/dist/collection/components/certificate-details-parts/extensions/issuing_distribution_point_extension.js +7 -11
  191. package/dist/collection/components/certificate-details-parts/extensions/issuing_distribution_point_extension.js.map +1 -0
  192. package/dist/collection/components/certificate-details-parts/extensions/key_usage_extension.js +5 -5
  193. package/dist/collection/components/certificate-details-parts/extensions/key_usage_extension.js.map +1 -0
  194. package/dist/collection/components/certificate-details-parts/extensions/lei_extension.js +5 -5
  195. package/dist/collection/components/certificate-details-parts/extensions/lei_extension.js.map +1 -0
  196. package/dist/collection/components/certificate-details-parts/extensions/lei_role_extennsion.js +5 -5
  197. package/dist/collection/components/certificate-details-parts/extensions/lei_role_extennsion.js.map +1 -0
  198. package/dist/collection/components/certificate-details-parts/extensions/logotype_extension.js +8 -11
  199. package/dist/collection/components/certificate-details-parts/extensions/logotype_extension.js.map +1 -0
  200. package/dist/collection/components/certificate-details-parts/extensions/name_constraints_extension.js +4 -3
  201. package/dist/collection/components/certificate-details-parts/extensions/name_constraints_extension.js.map +1 -0
  202. package/dist/collection/components/certificate-details-parts/extensions/netscape_cert_type_extension.js +5 -5
  203. package/dist/collection/components/certificate-details-parts/extensions/netscape_cert_type_extension.js.map +1 -0
  204. package/dist/collection/components/certificate-details-parts/extensions/netscape_comment_extension.js +5 -5
  205. package/dist/collection/components/certificate-details-parts/extensions/netscape_comment_extension.js.map +1 -0
  206. package/dist/collection/components/certificate-details-parts/extensions/policy_constraints_extension.js +6 -7
  207. package/dist/collection/components/certificate-details-parts/extensions/policy_constraints_extension.js.map +1 -0
  208. package/dist/collection/components/certificate-details-parts/extensions/policy_mappings_extension.js +5 -4
  209. package/dist/collection/components/certificate-details-parts/extensions/policy_mappings_extension.js.map +1 -0
  210. package/dist/collection/components/certificate-details-parts/extensions/private_key_usage_period_extension.js +6 -7
  211. package/dist/collection/components/certificate-details-parts/extensions/private_key_usage_period_extension.js.map +1 -0
  212. package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js +13 -16
  213. package/dist/collection/components/certificate-details-parts/extensions/qc_statements_extension.js.map +1 -0
  214. package/dist/collection/components/certificate-details-parts/extensions/subject_alternative_name_extension.js +4 -3
  215. package/dist/collection/components/certificate-details-parts/extensions/subject_alternative_name_extension.js.map +1 -0
  216. package/dist/collection/components/certificate-details-parts/extensions/subject_directory_attributes_extension.js +8 -9
  217. package/dist/collection/components/certificate-details-parts/extensions/subject_directory_attributes_extension.js.map +1 -0
  218. package/dist/collection/components/certificate-details-parts/extensions/subject_key_identifier_extension.js +10 -15
  219. package/dist/collection/components/certificate-details-parts/extensions/subject_key_identifier_extension.js.map +1 -0
  220. package/dist/collection/components/certificate-details-parts/extensions/timestamp_extension.js +7 -9
  221. package/dist/collection/components/certificate-details-parts/extensions/timestamp_extension.js.map +1 -0
  222. package/dist/collection/components/certificate-details-parts/extensions/tn_auth_list_extension.js +4 -3
  223. package/dist/collection/components/certificate-details-parts/extensions/tn_auth_list_extension.js.map +1 -0
  224. package/dist/collection/components/certificate-details-parts/holder.js +8 -11
  225. package/dist/collection/components/certificate-details-parts/holder.js.map +1 -0
  226. package/dist/collection/components/certificate-details-parts/index.js +1 -0
  227. package/dist/collection/components/certificate-details-parts/index.js.map +1 -0
  228. package/dist/collection/components/certificate-details-parts/issuer.js +5 -4
  229. package/dist/collection/components/certificate-details-parts/issuer.js.map +1 -0
  230. package/dist/collection/components/certificate-details-parts/issuer_name.js +6 -4
  231. package/dist/collection/components/certificate-details-parts/issuer_name.js.map +1 -0
  232. package/dist/collection/components/certificate-details-parts/miscellaneous.js +8 -13
  233. package/dist/collection/components/certificate-details-parts/miscellaneous.js.map +1 -0
  234. package/dist/collection/components/certificate-details-parts/public_key.js +8 -7
  235. package/dist/collection/components/certificate-details-parts/public_key.js.map +1 -0
  236. package/dist/collection/components/certificate-details-parts/revoked_certificates.js +9 -11
  237. package/dist/collection/components/certificate-details-parts/revoked_certificates.js.map +1 -0
  238. package/dist/collection/components/certificate-details-parts/row.js +13 -18
  239. package/dist/collection/components/certificate-details-parts/row.js.map +1 -0
  240. package/dist/collection/components/certificate-details-parts/signature.js +5 -4
  241. package/dist/collection/components/certificate-details-parts/signature.js.map +1 -0
  242. package/dist/collection/components/certificate-details-parts/subject_name.js +4 -3
  243. package/dist/collection/components/certificate-details-parts/subject_name.js.map +1 -0
  244. package/dist/collection/components/certificate-details-parts/thumbprints.js +4 -3
  245. package/dist/collection/components/certificate-details-parts/thumbprints.js.map +1 -0
  246. package/dist/collection/components/certificate-summary/certificate-summary.js +9 -77
  247. package/dist/collection/components/certificate-summary/certificate-summary.js.map +1 -0
  248. package/dist/collection/components/certificate-summary/index.js +5 -0
  249. package/dist/collection/components/certificate-summary/index.js.map +1 -0
  250. package/dist/collection/components/certificate-viewer/certificate-viewer.css +471 -104
  251. package/dist/collection/components/certificate-viewer/certificate-viewer.js +206 -178
  252. package/dist/collection/components/certificate-viewer/certificate-viewer.js.map +1 -0
  253. package/dist/collection/components/certificates-viewer/certificates-viewer.css +540 -267
  254. package/dist/collection/components/certificates-viewer/certificates-viewer.js +261 -266
  255. package/dist/collection/components/certificates-viewer/certificates-viewer.js.map +1 -0
  256. package/dist/collection/components/circular-progress/circular-progress.css +2 -11
  257. package/dist/collection/components/circular-progress/circular-progress.js +60 -63
  258. package/dist/collection/components/circular-progress/circular-progress.js.map +1 -0
  259. package/dist/collection/components/crl-viewer/crl-viewer.js +166 -139
  260. package/dist/collection/components/crl-viewer/crl-viewer.js.map +1 -0
  261. package/dist/collection/components/csr-viewer/csr-viewer.js +149 -124
  262. package/dist/collection/components/csr-viewer/csr-viewer.js.map +1 -0
  263. package/dist/collection/components/highlight-words/highlight-words.css +1 -9
  264. package/dist/collection/components/highlight-words/highlight-words.js +35 -28
  265. package/dist/collection/components/highlight-words/highlight-words.js.map +1 -0
  266. package/dist/collection/components/icons/actions.js +16 -0
  267. package/dist/collection/components/icons/actions.js.map +1 -0
  268. package/dist/collection/components/icons/arrow_bottom.js +16 -0
  269. package/dist/collection/components/icons/arrow_bottom.js.map +1 -0
  270. package/dist/collection/components/icons/arrow_top.js +16 -0
  271. package/dist/collection/components/icons/arrow_top.js.map +1 -0
  272. package/dist/collection/components/icons/cross.js +16 -0
  273. package/dist/collection/components/icons/cross.js.map +1 -0
  274. package/dist/collection/components/icons/details.js +16 -0
  275. package/dist/collection/components/icons/details.js.map +1 -0
  276. package/dist/collection/components/icons/download.js +16 -0
  277. package/dist/collection/components/icons/download.js.map +1 -0
  278. package/dist/collection/components/icons/index.js +11 -0
  279. package/dist/collection/components/icons/index.js.map +1 -0
  280. package/dist/collection/components/icons/link.js +16 -0
  281. package/dist/collection/components/icons/link.js.map +1 -0
  282. package/dist/collection/components/link/index.js +5 -0
  283. package/dist/collection/components/link/index.js.map +1 -0
  284. package/dist/collection/components/link/link.js +9 -61
  285. package/dist/collection/components/link/link.js.map +1 -0
  286. package/dist/collection/components/text-hider/text-hider.css +9 -36
  287. package/dist/collection/components/text-hider/text-hider.js +21 -68
  288. package/dist/collection/components/text-hider/text-hider.js.map +1 -0
  289. package/dist/collection/components/typography/index.js +5 -0
  290. package/dist/collection/components/typography/index.js.map +1 -0
  291. package/dist/collection/components/typography/typography.js +39 -126
  292. package/dist/collection/components/typography/typography.js.map +1 -0
  293. package/dist/collection/constants/logs.js +1 -0
  294. package/dist/collection/constants/logs.js.map +1 -0
  295. package/dist/collection/constants/oids.js +1 -0
  296. package/dist/collection/constants/oids.js.map +1 -0
  297. package/dist/collection/crypto/asn_data.js +13 -7
  298. package/dist/collection/crypto/asn_data.js.map +1 -0
  299. package/dist/collection/crypto/attribute.js +11 -10
  300. package/dist/collection/crypto/attribute.js.map +1 -0
  301. package/dist/collection/crypto/crl.js +9 -8
  302. package/dist/collection/crypto/crl.js.map +1 -0
  303. package/dist/collection/crypto/csr.js +11 -10
  304. package/dist/collection/crypto/csr.js.map +1 -0
  305. package/dist/collection/crypto/extension.js +16 -15
  306. package/dist/collection/crypto/extension.js.map +1 -0
  307. package/dist/collection/crypto/index.js +1 -0
  308. package/dist/collection/crypto/index.js.map +1 -0
  309. package/dist/collection/crypto/name.js +15 -9
  310. package/dist/collection/crypto/name.js.map +1 -0
  311. package/dist/collection/crypto/provider.js +4 -3
  312. package/dist/collection/crypto/provider.js.map +1 -0
  313. package/dist/collection/crypto/utils.js +4 -3
  314. package/dist/collection/crypto/utils.js.map +1 -0
  315. package/dist/collection/crypto/x509_attribute_certificate.js +9 -8
  316. package/dist/collection/crypto/x509_attribute_certificate.js.map +1 -0
  317. package/dist/collection/crypto/x509_certificate.js +12 -11
  318. package/dist/collection/crypto/x509_certificate.js.map +1 -0
  319. package/dist/collection/index.js +5 -0
  320. package/dist/collection/index.js.map +1 -0
  321. package/dist/collection/locales/en.json +4 -3
  322. package/dist/collection/utils/date_formatter.js +3 -2
  323. package/dist/collection/utils/date_formatter.js.map +1 -0
  324. package/dist/collection/utils/download.js +3 -2
  325. package/dist/collection/utils/download.js.map +1 -0
  326. package/dist/collection/utils/download_from_buffer.js +1 -0
  327. package/dist/collection/utils/download_from_buffer.js.map +1 -0
  328. package/dist/collection/utils/get_string_by_oid.js +2 -1
  329. package/dist/collection/utils/get_string_by_oid.js.map +1 -0
  330. package/dist/collection/utils/index.js +2 -1
  331. package/dist/collection/utils/index.js.map +1 -0
  332. package/dist/collection/utils/is_link.js +1 -0
  333. package/dist/collection/utils/is_link.js.map +1 -0
  334. package/dist/collection/utils/l10n.js +2 -1
  335. package/dist/collection/utils/l10n.js.map +1 -0
  336. package/dist/collection/utils/read_file.js +1 -0
  337. package/dist/collection/utils/read_file.js.map +1 -0
  338. package/dist/collection/utils/third_party_links.js +1 -0
  339. package/dist/collection/utils/third_party_links.js.map +1 -0
  340. package/dist/collection/utils/validator.js +1 -0
  341. package/dist/collection/utils/validator.js.map +1 -0
  342. package/dist/collection/www-copy/index.js +138 -32
  343. package/dist/esm/actions-8d745b2a.js +21 -0
  344. package/dist/esm/actions-8d745b2a.js.map +1 -0
  345. package/dist/esm/arrow_top-fc298828.js +34 -0
  346. package/dist/esm/arrow_top-fc298828.js.map +1 -0
  347. package/dist/esm/button-35146bdd.js +74 -0
  348. package/dist/esm/button-35146bdd.js.map +1 -0
  349. package/dist/esm/{certification_request-23cd5124.js → certification_request-5cadde9f.js} +171 -9
  350. package/dist/esm/certification_request-5cadde9f.js.map +1 -0
  351. package/dist/esm/{crl-7f23c111.js → crl-11670c3e.js} +7 -6
  352. package/dist/esm/crl-11670c3e.js.map +1 -0
  353. package/dist/esm/cross-9ec9a759.js +47 -0
  354. package/dist/esm/cross-9ec9a759.js.map +1 -0
  355. package/dist/esm/download-0cc3077a.js +21 -0
  356. package/dist/esm/download-0cc3077a.js.map +1 -0
  357. package/dist/esm/{download-91511aeb.js → download-57c5bf8f.js} +2 -0
  358. package/dist/esm/download-57c5bf8f.js.map +1 -0
  359. package/dist/esm/index-4079bbb5.js +2448 -0
  360. package/dist/esm/index-4079bbb5.js.map +1 -0
  361. package/dist/esm/index.js +10 -1
  362. package/dist/esm/index.js.map +1 -0
  363. package/dist/esm/link-ad24c3be.js +23 -0
  364. package/dist/esm/link-ad24c3be.js.map +1 -0
  365. package/dist/esm/loader.js +6 -12
  366. package/dist/esm/loader.js.map +1 -0
  367. package/dist/esm/{miscellaneous-c7c0d04a.js → miscellaneous-7793a310.js} +40 -37
  368. package/dist/esm/miscellaneous-7793a310.js.map +1 -0
  369. package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js +81 -23
  370. package/dist/esm/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -0
  371. package/dist/esm/peculiar-button-menu_3.entry.js +92 -0
  372. package/dist/esm/peculiar-button-menu_3.entry.js.map +1 -0
  373. package/dist/esm/peculiar-certificate-decoder.entry.js +30 -19
  374. package/dist/esm/peculiar-certificate-decoder.entry.js.map +1 -0
  375. package/dist/esm/peculiar-certificate-viewer.entry.js +35 -11
  376. package/dist/esm/peculiar-certificate-viewer.entry.js.map +1 -0
  377. package/dist/esm/peculiar-certificates-viewer.entry.js +145 -85
  378. package/dist/esm/peculiar-certificates-viewer.entry.js.map +1 -0
  379. package/dist/esm/peculiar-text-hider.entry.js +7 -13
  380. package/dist/esm/peculiar-text-hider.entry.js.map +1 -0
  381. package/dist/esm/peculiar.js +8 -58
  382. package/dist/esm/peculiar.js.map +1 -0
  383. package/dist/esm/{x509_certificate-d8e0af2d.js → x509_certificate-dfae6999.js} +4 -3
  384. package/dist/esm/x509_certificate-dfae6999.js.map +1 -0
  385. package/dist/esm-es5/actions-8d745b2a.js +12 -0
  386. package/dist/esm-es5/actions-8d745b2a.js.map +1 -0
  387. package/dist/esm-es5/arrow_top-fc298828.js +19 -0
  388. package/dist/esm-es5/arrow_top-fc298828.js.map +1 -0
  389. package/dist/esm-es5/button-35146bdd.js +19 -0
  390. package/dist/esm-es5/button-35146bdd.js.map +1 -0
  391. package/dist/esm-es5/certification_request-5cadde9f.js +97 -0
  392. package/dist/esm-es5/certification_request-5cadde9f.js.map +1 -0
  393. package/dist/esm-es5/crl-11670c3e.js +33 -0
  394. package/dist/esm-es5/crl-11670c3e.js.map +1 -0
  395. package/dist/esm-es5/cross-9ec9a759.js +26 -0
  396. package/dist/esm-es5/cross-9ec9a759.js.map +1 -0
  397. package/dist/esm-es5/download-0cc3077a.js +12 -0
  398. package/dist/esm-es5/download-0cc3077a.js.map +1 -0
  399. package/dist/esm-es5/download-57c5bf8f.js +19 -0
  400. package/dist/esm-es5/download-57c5bf8f.js.map +1 -0
  401. package/dist/esm-es5/index-4079bbb5.js +6 -0
  402. package/dist/esm-es5/index-4079bbb5.js.map +1 -0
  403. package/dist/esm-es5/index.js +5 -0
  404. package/dist/esm-es5/index.js.map +1 -0
  405. package/dist/esm-es5/link-ad24c3be.js +12 -0
  406. package/dist/esm-es5/link-ad24c3be.js.map +1 -0
  407. package/dist/esm-es5/loader.js +5 -0
  408. package/dist/esm-es5/loader.js.map +1 -0
  409. package/dist/esm-es5/miscellaneous-7793a310.js +348 -0
  410. package/dist/esm-es5/miscellaneous-7793a310.js.map +1 -0
  411. package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js +110 -0
  412. package/dist/esm-es5/peculiar-attribute-certificate-viewer_3.entry.js.map +1 -0
  413. package/dist/esm-es5/peculiar-button-menu_3.entry.js +5 -0
  414. package/dist/esm-es5/peculiar-button-menu_3.entry.js.map +1 -0
  415. package/dist/esm-es5/peculiar-certificate-decoder.entry.js +12 -0
  416. package/dist/esm-es5/peculiar-certificate-decoder.entry.js.map +1 -0
  417. package/dist/esm-es5/peculiar-certificate-viewer.entry.js +5 -0
  418. package/dist/esm-es5/peculiar-certificate-viewer.entry.js.map +1 -0
  419. package/dist/esm-es5/peculiar-certificates-viewer.entry.js +12 -0
  420. package/dist/esm-es5/peculiar-certificates-viewer.entry.js.map +1 -0
  421. package/dist/esm-es5/peculiar-text-hider.entry.js +5 -0
  422. package/dist/esm-es5/peculiar-text-hider.entry.js.map +1 -0
  423. package/dist/esm-es5/peculiar.js +5 -0
  424. package/dist/esm-es5/peculiar.js.map +1 -0
  425. package/dist/esm-es5/x509_certificate-dfae6999.js +12 -0
  426. package/dist/esm-es5/x509_certificate-dfae6999.js.map +1 -0
  427. package/dist/index.js +1 -1
  428. package/dist/peculiar/index.esm.js +2 -1
  429. package/dist/peculiar/index.esm.js.map +1 -0
  430. package/dist/peculiar/locales/en.json +4 -3
  431. package/dist/peculiar/p-0b356bb5.js +6 -0
  432. package/dist/peculiar/p-0b356bb5.js.map +1 -0
  433. package/dist/peculiar/p-0b475f2a.system.entry.js +111 -0
  434. package/dist/peculiar/p-0b475f2a.system.entry.js.map +1 -0
  435. package/dist/peculiar/p-0fc2e2b4.js +19 -0
  436. package/dist/peculiar/p-0fc2e2b4.js.map +1 -0
  437. package/dist/peculiar/p-17e3c47b.js +12 -0
  438. package/dist/peculiar/p-17e3c47b.js.map +1 -0
  439. package/dist/peculiar/p-1844b807.system.entry.js +5 -0
  440. package/dist/peculiar/p-1844b807.system.entry.js.map +1 -0
  441. package/dist/peculiar/p-1ceb0fe3.js +12 -0
  442. package/dist/peculiar/p-1ceb0fe3.js.map +1 -0
  443. package/dist/peculiar/p-1de0381c.system.js +5 -0
  444. package/dist/peculiar/p-1de0381c.system.js.map +1 -0
  445. package/dist/peculiar/p-2fcad8cb.system.js +20 -0
  446. package/dist/peculiar/p-2fcad8cb.system.js.map +1 -0
  447. package/dist/peculiar/p-31586b23.system.js +13 -0
  448. package/dist/peculiar/p-31586b23.system.js.map +1 -0
  449. package/dist/peculiar/p-33196289.entry.js +5 -0
  450. package/dist/peculiar/p-33196289.entry.js.map +1 -0
  451. package/dist/peculiar/p-370cee20.js +26 -0
  452. package/dist/peculiar/p-370cee20.js.map +1 -0
  453. package/dist/peculiar/p-43eb3721.js +33 -0
  454. package/dist/peculiar/p-43eb3721.js.map +1 -0
  455. package/dist/peculiar/p-441109db.system.entry.js +13 -0
  456. package/dist/peculiar/p-441109db.system.entry.js.map +1 -0
  457. package/dist/peculiar/p-5151cb6f.system.entry.js +5 -0
  458. package/dist/peculiar/p-5151cb6f.system.entry.js.map +1 -0
  459. package/dist/peculiar/p-53784f15.system.entry.js +5 -0
  460. package/dist/peculiar/p-53784f15.system.entry.js.map +1 -0
  461. package/dist/peculiar/p-5aabeba7.system.js +6 -0
  462. package/dist/peculiar/p-5aabeba7.system.js.map +1 -0
  463. package/dist/peculiar/p-5ab007e9.entry.js +5 -0
  464. package/dist/peculiar/p-5ab007e9.entry.js.map +1 -0
  465. package/dist/peculiar/p-6667fe6e.system.js +34 -0
  466. package/dist/peculiar/p-6667fe6e.system.js.map +1 -0
  467. package/dist/peculiar/p-673336cf.entry.js +110 -0
  468. package/dist/peculiar/p-673336cf.entry.js.map +1 -0
  469. package/dist/peculiar/p-6cb88fd6.system.js +13 -0
  470. package/dist/peculiar/p-6cb88fd6.system.js.map +1 -0
  471. package/dist/peculiar/p-6e79b9c8.js +12 -0
  472. package/dist/peculiar/p-6e79b9c8.js.map +1 -0
  473. package/dist/peculiar/p-74c241e7.js +97 -0
  474. package/dist/peculiar/p-74c241e7.js.map +1 -0
  475. package/dist/peculiar/p-7f9beaa8.js +19 -0
  476. package/dist/peculiar/p-7f9beaa8.js.map +1 -0
  477. package/dist/peculiar/p-7f9fef87.entry.js +5 -0
  478. package/dist/peculiar/p-7f9fef87.entry.js.map +1 -0
  479. package/dist/peculiar/p-80832207.system.js +5 -0
  480. package/dist/peculiar/p-80832207.system.js.map +1 -0
  481. package/dist/peculiar/p-882e1281.entry.js +12 -0
  482. package/dist/peculiar/p-882e1281.entry.js.map +1 -0
  483. package/dist/peculiar/p-94a453d7.js +12 -0
  484. package/dist/peculiar/p-94a453d7.js.map +1 -0
  485. package/dist/peculiar/p-a053c132.js +19 -0
  486. package/dist/peculiar/p-a053c132.js.map +1 -0
  487. package/dist/peculiar/p-a6e2e335.js +348 -0
  488. package/dist/peculiar/p-a6e2e335.js.map +1 -0
  489. package/dist/peculiar/p-ae9189f6.system.js +19 -0
  490. package/dist/peculiar/p-ae9189f6.system.js.map +1 -0
  491. package/dist/peculiar/p-b313be9e.system.js +13 -0
  492. package/dist/peculiar/p-b313be9e.system.js.map +1 -0
  493. package/dist/peculiar/p-bcc86979.entry.js +12 -0
  494. package/dist/peculiar/p-bcc86979.entry.js.map +1 -0
  495. package/dist/peculiar/p-c0a298fd.system.js +97 -0
  496. package/dist/peculiar/p-c0a298fd.system.js.map +1 -0
  497. package/dist/peculiar/p-c362dc5e.system.js +348 -0
  498. package/dist/peculiar/p-c362dc5e.system.js.map +1 -0
  499. package/dist/peculiar/p-c99507d4.system.js +20 -0
  500. package/dist/peculiar/p-c99507d4.system.js.map +1 -0
  501. package/dist/peculiar/p-ddae2f8e.system.js +27 -0
  502. package/dist/peculiar/p-ddae2f8e.system.js.map +1 -0
  503. package/dist/peculiar/p-e39de121.system.entry.js +13 -0
  504. package/dist/peculiar/p-e39de121.system.entry.js.map +1 -0
  505. package/dist/peculiar/p-e6a3b4d4.system.js +13 -0
  506. package/dist/peculiar/p-e6a3b4d4.system.js.map +1 -0
  507. package/dist/peculiar/peculiar.css +1 -1
  508. package/dist/peculiar/peculiar.esm.js +2 -1
  509. package/dist/peculiar/peculiar.esm.js.map +1 -0
  510. package/dist/peculiar/peculiar.js +127 -0
  511. package/dist/types/components/attribute-certificate-viewer/attribute-certificate-viewer.d.ts +15 -3
  512. package/dist/types/components/button/button.d.ts +5 -16
  513. package/dist/types/components/button/index.d.ts +2 -0
  514. package/dist/types/components/button-menu/button-menu.d.ts +21 -0
  515. package/dist/types/components/certificate-decoder/certificate-decoder.d.ts +9 -6
  516. package/dist/types/components/certificate-details-parts/miscellaneous.d.ts +1 -1
  517. package/dist/types/components/certificate-summary/certificate-summary.d.ts +4 -3
  518. package/dist/types/components/certificate-summary/index.d.ts +1 -0
  519. package/dist/types/components/certificate-viewer/certificate-viewer.d.ts +13 -5
  520. package/dist/types/components/certificates-viewer/certificates-viewer.d.ts +22 -11
  521. package/dist/types/components/crl-viewer/crl-viewer.d.ts +13 -5
  522. package/dist/types/components/csr-viewer/csr-viewer.d.ts +13 -5
  523. package/dist/types/components/icons/actions.d.ts +12 -0
  524. package/dist/types/components/icons/arrow_bottom.d.ts +12 -0
  525. package/dist/types/components/icons/arrow_top.d.ts +12 -0
  526. package/dist/types/components/icons/cross.d.ts +12 -0
  527. package/dist/types/components/icons/details.d.ts +12 -0
  528. package/dist/types/components/icons/download.d.ts +12 -0
  529. package/dist/types/components/icons/index.d.ts +7 -0
  530. package/dist/types/components/icons/link.d.ts +12 -0
  531. package/dist/types/components/link/index.d.ts +1 -0
  532. package/dist/types/components/link/link.d.ts +6 -6
  533. package/dist/types/components/text-hider/text-hider.d.ts +0 -3
  534. package/dist/types/components/typography/index.d.ts +1 -0
  535. package/dist/types/components/typography/typography.d.ts +10 -20
  536. package/dist/types/components.d.ts +74 -175
  537. package/dist/types/crypto/attribute.d.ts +1 -1
  538. package/dist/types/crypto/extension.d.ts +1 -1
  539. package/dist/types/index.d.ts +4 -0
  540. package/dist/types/interface.d.ts +98 -6
  541. package/dist/types/stencil-public-runtime.d.ts +110 -23
  542. package/dist/types/utils/l10n.d.ts +5 -4
  543. package/dist/types/utils/read_file.d.ts +1 -1
  544. package/hydrate/index.d.ts +218 -0
  545. package/hydrate/index.js +22549 -0
  546. package/hydrate/package.json +6 -0
  547. package/loader/index.d.ts +10 -1
  548. package/loader/index.js +1 -1
  549. package/loader/package.json +1 -0
  550. package/package.json +6 -4
  551. package/dist/cjs/dom-f57e260e.js +0 -78
  552. package/dist/cjs/index-064e95c7.js +0 -1486
  553. package/dist/cjs/l10n-ddc7cff9.js +0 -169
  554. package/dist/cjs/peculiar-button-split_4.cjs.entry.js +0 -128
  555. package/dist/cjs/peculiar-button.cjs.entry.js +0 -40
  556. package/dist/cjs/peculiar-link.cjs.entry.js +0 -29
  557. package/dist/cjs/peculiar-typography.cjs.entry.js +0 -38
  558. package/dist/collection/components/button/button.css +0 -81
  559. package/dist/collection/components/button-split/button-split.css +0 -57
  560. package/dist/collection/components/button-split/button-split.js +0 -116
  561. package/dist/collection/components/certificate-summary/certificate-summary.css +0 -49
  562. package/dist/collection/components/link/link.css +0 -59
  563. package/dist/collection/components/typography/typography.css +0 -95
  564. package/dist/esm/dom-f1b08a97.js +0 -76
  565. package/dist/esm/index-bbd484d9.js +0 -1455
  566. package/dist/esm/l10n-d48f35ff.js +0 -165
  567. package/dist/esm/peculiar-button-split_4.entry.js +0 -121
  568. package/dist/esm/peculiar-button.entry.js +0 -36
  569. package/dist/esm/peculiar-link.entry.js +0 -25
  570. package/dist/esm/peculiar-typography.entry.js +0 -34
  571. package/dist/esm/polyfills/css-shim.js +0 -1
  572. package/dist/peculiar/p-01cea5c0.entry.js +0 -11
  573. package/dist/peculiar/p-3bfefa4a.entry.js +0 -18
  574. package/dist/peculiar/p-4e8169cb.entry.js +0 -4
  575. package/dist/peculiar/p-57b89412.entry.js +0 -4
  576. package/dist/peculiar/p-5b4eed12.entry.js +0 -4
  577. package/dist/peculiar/p-610b85e3.entry.js +0 -4
  578. package/dist/peculiar/p-6d37c8b5.entry.js +0 -4
  579. package/dist/peculiar/p-711b4e1e.js +0 -18
  580. package/dist/peculiar/p-81a88a33.js +0 -11
  581. package/dist/peculiar/p-918aeee4.entry.js +0 -4
  582. package/dist/peculiar/p-9f4ee110.js +0 -22
  583. package/dist/peculiar/p-a050e184.js +0 -69
  584. package/dist/peculiar/p-c24c26c2.js +0 -32
  585. package/dist/peculiar/p-df53fbcc.entry.js +0 -4
  586. package/dist/peculiar/p-ec250cc4.js +0 -12
  587. package/dist/peculiar/p-f7683ba5.js +0 -5
  588. package/dist/peculiar/p-fe05f51e.js +0 -79
  589. package/dist/types/components/button-split/button-split.d.ts +0 -21
@@ -1,18 +0,0 @@
1
- /*!
2
- * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
- */
4
- /**
5
- * @license
6
- * Copyright (c) Peculiar Ventures, LLC.
7
- *
8
- * This source code is licensed under the MIT license found in the
9
- * LICENSE file in the root directory of this source tree.
10
- */
11
- function t(t,r,e,n="application/octet-stream"){const s=new Blob([t],{type:n});if(navigator.msSaveBlob)return navigator.msSaveBlob(s,`${r}.${e}`),new Promise((t=>{setTimeout(t,100)}));const i=window.URL.createObjectURL(s),a=document.createElement("a"),o=document.createElement("iframe");return a.style.display="none",o.style.display="none",o.name=i,document.body.appendChild(o),a.href=i,a.target=i,a.download=`${r}.${e}`,document.body.appendChild(a),a.dispatchEvent(new MouseEvent("click")),document.body.removeChild(a),new Promise((t=>{setTimeout((()=>{document.body.removeChild(o),t()}),100)}))}var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,r,e){return t(e={path:r,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},e.exports),e.exports}var n=e((function(t,r){Object.defineProperty(r,"__esModule",{value:!0});class e{static isArrayBuffer(t){return"[object ArrayBuffer]"===Object.prototype.toString.call(t)}static toArrayBuffer(t){return this.isArrayBuffer(t)?t:t.byteLength===t.buffer.byteLength?t.buffer:this.toUint8Array(t).slice().buffer}static toUint8Array(t){return this.toView(t,Uint8Array)}static toView(t,r){if(t.constructor===r)return t;if(this.isArrayBuffer(t))return new r(t);if(this.isArrayBufferView(t))return new r(t.buffer,t.byteOffset,t.byteLength);throw new TypeError("The provided value is not of type '(ArrayBuffer or ArrayBufferView)'")}static isBufferSource(t){return this.isArrayBufferView(t)||this.isArrayBuffer(t)}static isArrayBufferView(t){return ArrayBuffer.isView(t)||t&&this.isArrayBuffer(t.buffer)}static isEqual(t,r){const n=e.toUint8Array(t),s=e.toUint8Array(r);if(n.length!==s.byteLength)return!1;for(let t=0;t<n.length;t++)if(n[t]!==s[t])return!1;return!0}static concat(...t){if(Array.isArray(t[0])){const r=t[0];let e=0;for(const t of r)e+=t.byteLength;const n=new Uint8Array(e);let s=0;for(const t of r){const r=this.toUint8Array(t);n.set(r,s),s+=r.length}return t[1]?this.toView(n,t[1]):n.buffer}return this.concat(t)}}class n{static fromString(t){const r=unescape(encodeURIComponent(t)),e=new Uint8Array(r.length);for(let t=0;t<r.length;t++)e[t]=r.charCodeAt(t);return e.buffer}static toString(t){const r=e.toUint8Array(t);let n="";for(let t=0;t<r.length;t++)n+=String.fromCharCode(r[t]);return decodeURIComponent(escape(n))}}class s{static toString(t,r=!1){const n=e.toArrayBuffer(t),s=new DataView(n);let i="";for(let t=0;t<n.byteLength;t+=2){const e=s.getUint16(t,r);i+=String.fromCharCode(e)}return i}static fromString(t,r=!1){const e=new ArrayBuffer(2*t.length),n=new DataView(e);for(let e=0;e<t.length;e++)n.setUint16(2*e,t.charCodeAt(e),r);return e}}class i{static isHex(t){return"string"==typeof t&&/^[a-z0-9]+$/i.test(t)}static isBase64(t){return"string"==typeof t&&/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}static isBase64Url(t){return"string"==typeof t&&/^[a-zA-Z0-9-_]+$/i.test(t)}static ToString(t,r="utf8"){const n=e.toUint8Array(t);switch(r.toLowerCase()){case"utf8":return this.ToUtf8String(n);case"binary":return this.ToBinary(n);case"hex":return this.ToHex(n);case"base64":return this.ToBase64(n);case"base64url":return this.ToBase64Url(n);case"utf16le":return s.toString(n,!0);case"utf16":case"utf16be":return s.toString(n);default:throw new Error(`Unknown type of encoding '${r}'`)}}static FromString(t,r="utf8"){if(!t)return new ArrayBuffer(0);switch(r.toLowerCase()){case"utf8":return this.FromUtf8String(t);case"binary":return this.FromBinary(t);case"hex":return this.FromHex(t);case"base64":return this.FromBase64(t);case"base64url":return this.FromBase64Url(t);case"utf16le":return s.fromString(t,!0);case"utf16":case"utf16be":return s.fromString(t);default:throw new Error(`Unknown type of encoding '${r}'`)}}static ToBase64(t){const r=e.toUint8Array(t);if("undefined"!=typeof btoa){const t=this.ToString(r,"binary");return btoa(t)}return Buffer.from(r).toString("base64")}static FromBase64(t){const r=this.formatString(t);if(!r)return new ArrayBuffer(0);if(!i.isBase64(r))throw new TypeError("Argument 'base64Text' is not Base64 encoded");return"undefined"!=typeof atob?this.FromBinary(atob(r)):new Uint8Array(Buffer.from(r,"base64")).buffer}static FromBase64Url(t){const r=this.formatString(t);if(!r)return new ArrayBuffer(0);if(!i.isBase64Url(r))throw new TypeError("Argument 'base64url' is not Base64Url encoded");return this.FromBase64(this.Base64Padding(r.replace(/\-/g,"+").replace(/\_/g,"/")))}static ToBase64Url(t){return this.ToBase64(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,"")}static FromUtf8String(t,r=i.DEFAULT_UTF8_ENCODING){switch(r){case"ascii":return this.FromBinary(t);case"utf8":return n.fromString(t);case"utf16":case"utf16be":return s.fromString(t);case"utf16le":case"usc2":return s.fromString(t,!0);default:throw new Error(`Unknown type of encoding '${r}'`)}}static ToUtf8String(t,r=i.DEFAULT_UTF8_ENCODING){switch(r){case"ascii":return this.ToBinary(t);case"utf8":return n.toString(t);case"utf16":case"utf16be":return s.toString(t);case"utf16le":case"usc2":return s.toString(t,!0);default:throw new Error(`Unknown type of encoding '${r}'`)}}static FromBinary(t){const r=t.length,e=new Uint8Array(r);for(let n=0;n<r;n++)e[n]=t.charCodeAt(n);return e.buffer}static ToBinary(t){const r=e.toUint8Array(t);let n="";for(let t=0;t<r.length;t++)n+=String.fromCharCode(r[t]);return n}static ToHex(t){const r=e.toUint8Array(t),n=[],s=r.length;for(let t=0;t<s;t++){const e=r[t].toString(16).padStart(2,"0");n.push(e)}return n.join("")}static FromHex(t){let r=this.formatString(t);if(!r)return new ArrayBuffer(0);if(!i.isHex(r))throw new TypeError("Argument 'hexString' is not HEX encoded");r.length%2&&(r=`0${r}`);const e=new Uint8Array(r.length/2);for(let t=0;t<r.length;t+=2){const n=r.slice(t,t+2);e[t/2]=parseInt(n,16)}return e.buffer}static ToUtf16String(t,r=!1){return s.toString(t,r)}static FromUtf16String(t,r=!1){return s.fromString(t,r)}static Base64Padding(t){const r=4-t.length%4;if(r<4)for(let e=0;e<r;e++)t+="=";return t}static formatString(t){return(null==t?void 0:t.replace(/[\n\r\t ]/g,""))||""}}i.DEFAULT_UTF8_ENCODING="utf8",r.BufferSourceConverter=e,r.Convert=i,r.assign=function(t){const r=arguments[0];for(let t=1;t<arguments.length;t++){const e=arguments[t];for(const t in e)r[t]=e[t]}return r},r.combine=function(...t){const r=t.map((t=>t.byteLength)).reduce(((t,r)=>t+r)),e=new Uint8Array(r);let n=0;return t.map((t=>new Uint8Array(t))).forEach((t=>{for(const r of t)e[n++]=r})),e.buffer},r.isEqual=function(t,r){if(!t||!r)return!1;if(t.byteLength!==r.byteLength)return!1;const e=new Uint8Array(t),n=new Uint8Array(r);for(let r=0;r<t.byteLength;r++)if(e[r]!==n[r])return!1;return!0}}));
12
- /**
13
- * @license
14
- * Copyright (c) Peculiar Ventures, LLC.
15
- *
16
- * This source code is licensed under the MIT license found in the
17
- * LICENSE file in the root directory of this source tree.
18
- */class s{}s.cert={asPEM:(r,e)=>{t(n.Convert.FromString(r),e,"cer","application/pkix-cert")},asDER:(r,e)=>{t(n.Convert.FromString(r),e,"cer","application/pkix-cert")}},s.attrCert={asPEM:(r,e)=>{t(n.Convert.FromString(r),e,"cer","application/pkix-attr-cert")},asDER:(r,e)=>{t(n.Convert.FromString(r),e,"cer","application/pkix-attr-cert")}},s.csr={asPEM:(r,e)=>{t(n.Convert.FromString(r),e,"csr","application/pkcs10")},asDER:(r,e)=>{t(n.Convert.FromString(r),e,"csr","application/pkcs10")}},s.crl={asPEM:(r,e)=>{t(n.Convert.FromString(r),e,"crl","application/pkix-crl")},asDER:(r,e)=>{t(n.Convert.FromString(r),e,"crl","application/pkix-crl")}};export{s as D,r as a,n as b,e as c,t as d}
@@ -1,11 +0,0 @@
1
- /*!
2
- * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
- */
4
- import{A as t,e as s,C as e,N as r,E as i,f as n,g as o,h as a,j as h,R as u,k as c,l as m,m as f,n as l,o as g,p,q as E,r as b}from"./p-fe05f51e.js";import{b as C,D as A}from"./p-711b4e1e.js";import{d as w}from"./p-ec250cc4.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
- */class N extends t{constructor(t){super(s(t),e),this.thumbprints={},this.type="X.509 Certificate";const{tbsCertificate:i}=this.asn;this.serialNumber=C.Convert.ToHex(i.serialNumber),this.subject=new r(i.subject).toJSON(),this.issuer=new r(i.issuer).toJSON(),this.version=i.version+1;const n=i.validity.notBefore.utcTime||i.validity.notBefore.generalTime;if(!n)throw new Error("Cannot get 'notBefore' value");this.notBefore=n;const o=i.validity.notAfter.utcTime||i.validity.notAfter.generalTime;if(!o)throw new Error("Cannot get 'notAfter' value");this.notAfter=o,this.validity=w(this.notBefore,this.notAfter)}parseExtensions(){const{tbsCertificate:t}=this.asn;t.extensions&&(this.extensions=t.extensions.map((t=>new i(n.serialize(t)))))}getPublicKeyInfo(t){const{subjectPublicKey:s,algorithm:e}=t;let r;return e.algorithm===o&&e.parameters&&(r=n.parse(e.parameters,a)),e.algorithm===h&&(r=n.parse(s,u)),e.algorithm===c&&(r=n.parse(s,m),r=r.map((t=>this.getPublicKeyInfo(t)))),{params:r,value:n.serialize(t),algorithm:e.algorithm}}get publicKey(){return this.getPublicKeyInfo(this.asn.tbsCertificate.subjectPublicKeyInfo)}get signature(){const{signatureValue:t,signatureAlgorithm:s}=this.asn;let e;if(s.algorithm===f){const r=n.parse(t,l);e=n.parse(s.parameters,g).map(((t,s)=>Object.assign(Object.assign({},t),{value:r[s]})))}return{params:e,value:t,algorithm:s.algorithm}}exportAsBase64(){return C.Convert.ToBase64(this.raw)}exportAsHexFormatted(){return p(C.Convert.ToHex(this.raw))}exportAsPemFormatted(){return`-----BEGIN CERTIFICATE-----\n${E(this.exportAsBase64())}\n-----END CERTIFICATE-----`}async getThumbprint(t="SHA-1"){try{const s=await b(t,this.raw);s&&(this.thumbprints[t]=C.Convert.ToHex(s))}catch(t){console.error("Error thumbprint get:",t)}}get commonName(){if(!this.subject)return"";for(let t=0;t<this.subject.length;t+=1){const s=this.subject[t];if("CN"===s.shortName||"E"===s.shortName||"O"===s.shortName)return s.value}return""}get issuerCommonName(){if(!this.issuer)return"";for(let t=0;t<this.issuer.length;t+=1){const s=this.issuer[t];if("CN"===s.shortName)return s.value;if("E"===s.shortName)return s.value}return""}get isRoot(){return JSON.stringify(this.issuer)===JSON.stringify(this.subject)}subjectToString(){return this.subject?this.subject.map((t=>`${t.shortName}=${t.value}`)).join(", "):""}issuerToString(){return this.issuer?this.issuer.map((t=>`${t.shortName}=${t.value}`)).join(", "):""}downloadAsPEM(t){A.cert.asPEM(this.exportAsPemFormatted(),t||this.commonName)}downloadAsDER(t){A.cert.asDER(this.exportAsHexFormatted(),t||this.commonName)}}export{N as X}
@@ -1,4 +0,0 @@
1
- /*!
2
- * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
- */
4
- import{r as t,h as o}from"./p-f7683ba5.js";const r=class{constructor(o){t(this,o),this.fill="stroke",this.handleClick=t=>{if(this.disabled)return t.preventDefault(),void t.stopPropagation();this.onClick&&this.onClick(t)}}render(){const t=!!this.href;return o(t?"a":"button",{class:{button:!0,button_stroke:"stroke"===this.fill,button_fill:"fill"===this.fill,button_disabled:this.disabled},disabled:this.disabled,type:!t&&"button",href:t&&this.href,target:t&&this.target?this.target:null,rel:t&&"noreferrer noopener",onClick:this.handleClick,part:"base"},o("span",{part:"label",class:"button_label"},o("slot",null)))}};r.style=':host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:inline-block;width:auto;cursor:pointer;position:relative;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-ms-touch-action:manipulation;touch-action:manipulation;-webkit-user-drag:none;-ms-content-zooming:none;word-wrap:break-word;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;--pv-button-padding-end:5px;--pv-button-padding-start:5px}.button{font-family:"Open Sans", "Arial", sans-serif;font-family:var(--pv-font-family);font-size:13px;font-size:var(--pv-font-size-b3);letter-spacing:0.03em;letter-spacing:var(--pv-letter-spacing-normal);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;border-style:solid;border-width:1px;font-weight:400;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;vertical-align:middle;cursor:inherit;height:30px;line-height:30px;border-radius:2px;padding:0 5px;padding:0 var(--pv-button-padding-end) 0 var(--pv-button-padding-start)}.button::-moz-focus-inner{border:0}.button:focus{outline:none;-webkit-box-shadow:0 4px 10px 0 rgba(var(--pv-color-dark-rgb), 0.1);box-shadow:0 4px 10px 0 rgba(var(--pv-color-dark-rgb), 0.1)}.button[disabled]{opacity:0.5;cursor:not-allowed}.button_stroke{border-color:rgba(53, 132, 247, 0.3);border-color:rgba(var(--pv-color-primary-rgb), 0.3);color:#3584f7;color:rgba(var(--pv-color-primary-rgb), 1);background-color:transparent}.button_fill{border-color:#3584f7;border-color:rgba(var(--pv-color-primary-rgb), 1);background-color:#3584f7;background-color:rgba(var(--pv-color-primary-rgb), 1);color:white;color:rgba(var(--pv-color-light-rgb), 1)}.button_label{-webkit-transition:opacity 200ms;transition:opacity 200ms}.button:hover .button_label{opacity:0.7}';export{r as peculiar_button}
@@ -1,22 +0,0 @@
1
- /*!
2
- * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
- */
4
- self,function(){var t=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function n(n){var i=t.has(n);return n=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(n),!i&&n}function i(t){var n=t.isConnected;if(void 0!==n)return n;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function e(t,n){for(;n&&n!==t&&!n.nextSibling;)n=n.parentNode;return n&&n!==t?n.nextSibling:null}function o(t,n,i){i=void 0===i?new Set:i;for(var r=t;r;){if(r.nodeType===Node.ELEMENT_NODE){var f=r;n(f);var c=f.localName;if("link"===c&&"import"===f.getAttribute("rel")){if((r=f.import)instanceof Node&&!i.has(r))for(i.add(r),r=r.firstChild;r;r=r.nextSibling)o(r,n,i);r=e(t,f);continue}if("template"===c){r=e(t,f);continue}if(f=f.__CE_shadowRoot)for(f=f.firstChild;f;f=f.nextSibling)o(f,n,i)}r=r.firstChild?r.firstChild:e(t,r)}}function r(t,n,i){t[n]=i}function f(){this.a=new Map,this.g=new Map,this.c=[],this.f=[],this.b=!1}function c(t,n){t.b&&o(n,(function(n){return u(t,n)}))}function u(t,n){if(t.b&&!n.__CE_patched){n.__CE_patched=!0;for(var i=0;i<t.c.length;i++)t.c[i](n);for(i=0;i<t.f.length;i++)t.f[i](n)}}function s(t,n){var i=[];for(o(n,(function(t){return i.push(t)})),n=0;n<i.length;n++){var e=i[n];1===e.__CE_state?t.connectedCallback(e):l(t,e)}}function a(t,n){var i=[];for(o(n,(function(t){return i.push(t)})),n=0;n<i.length;n++){var e=i[n];1===e.__CE_state&&t.disconnectedCallback(e)}}function h(t,n,i){var e=(i=void 0===i?{}:i).u||new Set,r=i.i||function(n){return l(t,n)},f=[];if(o(n,(function(n){if("link"===n.localName&&"import"===n.getAttribute("rel")){var i=n.import;i instanceof Node&&(i.__CE_isImportDocument=!0,i.__CE_hasRegistry=!0),i&&"complete"===i.readyState?i.__CE_documentLoadHandled=!0:n.addEventListener("load",(function(){var i=n.import;if(!i.__CE_documentLoadHandled){i.__CE_documentLoadHandled=!0;var o=new Set(e);o.delete(i),h(t,i,{u:o,i:r})}}))}else f.push(n)}),e),t.b)for(n=0;n<f.length;n++)u(t,f[n]);for(n=0;n<f.length;n++)r(f[n])}function l(t,n){if(void 0===n.__CE_state){var e=n.ownerDocument;if((e.defaultView||e.__CE_isImportDocument&&e.__CE_hasRegistry)&&(e=t.a.get(n.localName))){e.constructionStack.push(n);var o=e.constructorFunction;try{try{if(new o!==n)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{e.constructionStack.pop()}}catch(t){throw n.__CE_state=2,t}if(n.__CE_state=1,n.__CE_definition=e,e.attributeChangedCallback)for(e=e.observedAttributes,o=0;o<e.length;o++){var r=e[o],f=n.getAttribute(r);null!==f&&t.attributeChangedCallback(n,r,null,f,null)}i(n)&&t.connectedCallback(n)}}}function d(t){var n=document;this.c=t,this.a=n,this.b=void 0,h(this.c,this.a),"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function w(t){t.b&&t.b.disconnect()}function v(){var t=this;this.b=this.a=void 0,this.c=new Promise((function(n){t.b=n,t.a&&n(t.a)}))}function m(t){if(t.a)throw Error("Already resolved.");t.a=void 0,t.b&&t.b(void 0)}function b(t){this.c=!1,this.a=t,this.j=new Map,this.f=function(t){return t()},this.b=!1,this.g=[],this.o=new d(t)}f.prototype.connectedCallback=function(t){var n=t.__CE_definition;n.connectedCallback&&n.connectedCallback.call(t)},f.prototype.disconnectedCallback=function(t){var n=t.__CE_definition;n.disconnectedCallback&&n.disconnectedCallback.call(t)},f.prototype.attributeChangedCallback=function(t,n,i,e,o){var r=t.__CE_definition;r.attributeChangedCallback&&-1<r.observedAttributes.indexOf(n)&&r.attributeChangedCallback.call(t,n,i,e,o)},d.prototype.f=function(t){var n=this.a.readyState;for("interactive"!==n&&"complete"!==n||w(this),n=0;n<t.length;n++)for(var i=t[n].addedNodes,e=0;e<i.length;e++)h(this.c,i[e])},b.prototype.l=function(t,i){var e=this;if(!(i instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!n(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(this.a.a.get(t))throw Error("A custom element with name '"+t+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var o=function(t){var n=r[t];if(void 0!==n&&!(n instanceof Function))throw Error("The '"+t+"' callback must be a function.");return n},r=i.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=o("connectedCallback"),c=o("disconnectedCallback"),u=o("adoptedCallback"),s=o("attributeChangedCallback"),a=i.observedAttributes||[]}catch(t){return}finally{this.c=!1}(function(t,n,i){t.a.set(n,i),t.g.set(i.constructorFunction,i)})(this.a,t,i={localName:t,constructorFunction:i,connectedCallback:f,disconnectedCallback:c,adoptedCallback:u,attributeChangedCallback:s,observedAttributes:a,constructionStack:[]}),this.g.push(i),this.b||(this.b=!0,this.f((function(){return function(t){if(!1!==t.b){t.b=!1;for(var n=t.g,i=[],e=new Map,o=0;o<n.length;o++)e.set(n[o].localName,[]);for(h(t.a,document,{i:function(n){if(void 0===n.__CE_state){var o=n.localName,r=e.get(o);r?r.push(n):t.a.a.get(o)&&i.push(n)}}}),o=0;o<i.length;o++)l(t.a,i[o]);for(;0<n.length;){var r=n.shift();o=r.localName,r=e.get(r.localName);for(var f=0;f<r.length;f++)l(t.a,r[f]);(o=t.j.get(o))&&m(o)}}}(e)})))},b.prototype.i=function(t){h(this.a,t)},b.prototype.get=function(t){if(t=this.a.a.get(t))return t.constructorFunction},b.prototype.m=function(t){if(!n(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var i=this.j.get(t);return i||(i=new v,this.j.set(t,i),this.a.a.get(t)&&!this.g.some((function(n){return n.localName===t}))&&m(i)),i.c},b.prototype.s=function(t){w(this.o);var n=this.f;this.f=function(i){return t((function(){return n(i)}))}},window.CustomElementRegistry=b,b.prototype.define=b.prototype.l,b.prototype.upgrade=b.prototype.i,b.prototype.get=b.prototype.get,b.prototype.whenDefined=b.prototype.m,b.prototype.polyfillWrapFlushCallback=b.prototype.s;var E=window.Document.prototype.createElement,p=window.Document.prototype.createElementNS,g=window.Document.prototype.importNode,y=window.Document.prototype.prepend,C=window.Document.prototype.append,T=window.DocumentFragment.prototype.prepend,j=window.DocumentFragment.prototype.append,D=window.Node.prototype.cloneNode,N=window.Node.prototype.appendChild,A=window.Node.prototype.insertBefore,O=window.Node.prototype.removeChild,M=window.Node.prototype.replaceChild,k=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),L=window.Element.prototype.attachShadow,S=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),F=window.Element.prototype.getAttribute,H=window.Element.prototype.setAttribute,x=window.Element.prototype.removeAttribute,z=window.Element.prototype.getAttributeNS,P=window.Element.prototype.setAttributeNS,R=window.Element.prototype.removeAttributeNS,$=window.Element.prototype.insertAdjacentElement,_=window.Element.prototype.insertAdjacentHTML,B=window.Element.prototype.prepend,I=window.Element.prototype.append,U=window.Element.prototype.before,W=window.Element.prototype.after,q=window.Element.prototype.replaceWith,G=window.Element.prototype.remove,J=window.HTMLElement,K=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Q=window.HTMLElement.prototype.insertAdjacentElement,V=window.HTMLElement.prototype.insertAdjacentHTML,X=new function(){};function Y(t,n,e){function o(n){return function(e){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var f=[],c=0;c<o.length;c++){var u=o[c];if(u instanceof Element&&i(u)&&f.push(u),u instanceof DocumentFragment)for(u=u.firstChild;u;u=u.nextSibling)r.push(u);else r.push(u)}for(n.apply(this,o),o=0;o<f.length;o++)a(t,f[o]);if(i(this))for(o=0;o<r.length;o++)(f=r[o])instanceof Element&&s(t,f)}}void 0!==e.h&&(n.prepend=o(e.h)),void 0!==e.append&&(n.append=o(e.append))}var Z=window.customElements;if(!Z||Z.forcePolyfill||"function"!=typeof Z.define||"function"!=typeof Z.get){var tt=new f;!function(){var t=tt;window.HTMLElement=function(){function n(){var n=this.constructor,i=t.g.get(n);if(!i)throw Error("The custom element being constructed was not registered with `customElements`.");var e=i.constructionStack;if(0===e.length)return e=E.call(document,i.localName),Object.setPrototypeOf(e,n.prototype),e.__CE_state=1,e.__CE_definition=i,u(t,e),e;var o=e[i=e.length-1];if(o===X)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");return e[i]=X,Object.setPrototypeOf(o,n.prototype),u(t,o),o}return Object.defineProperty(n.prototype=J.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n}),n}()}(),function(){var t=tt;r(Document.prototype,"createElement",(function(n){if(this.__CE_hasRegistry){var i=t.a.get(n);if(i)return new i.constructorFunction}return n=E.call(this,n),u(t,n),n})),r(Document.prototype,"importNode",(function(n,i){return n=g.call(this,n,!!i),this.__CE_hasRegistry?h(t,n):c(t,n),n})),r(Document.prototype,"createElementNS",(function(n,i){if(this.__CE_hasRegistry&&(null===n||"http://www.w3.org/1999/xhtml"===n)){var e=t.a.get(i);if(e)return new e.constructorFunction}return n=p.call(this,n,i),u(t,n),n})),Y(t,Document.prototype,{h:y,append:C})}(),Y(tt,DocumentFragment.prototype,{h:T,append:j}),function(){function t(t,e){Object.defineProperty(t,"textContent",{enumerable:e.enumerable,configurable:!0,get:e.get,set:function(t){if(this.nodeType===Node.TEXT_NODE)e.set.call(this,t);else{var o=void 0;if(this.firstChild){var r=this.childNodes,f=r.length;if(0<f&&i(this)){o=Array(f);for(var c=0;c<f;c++)o[c]=r[c]}}if(e.set.call(this,t),o)for(t=0;t<o.length;t++)a(n,o[t])}}})}var n=tt;r(Node.prototype,"insertBefore",(function(t,e){if(t instanceof DocumentFragment){var o=Array.prototype.slice.apply(t.childNodes);if(t=A.call(this,t,e),i(this))for(e=0;e<o.length;e++)s(n,o[e]);return t}return o=i(t),e=A.call(this,t,e),o&&a(n,t),i(this)&&s(n,t),e})),r(Node.prototype,"appendChild",(function(t){if(t instanceof DocumentFragment){var e=Array.prototype.slice.apply(t.childNodes);if(t=N.call(this,t),i(this))for(var o=0;o<e.length;o++)s(n,e[o]);return t}return e=i(t),o=N.call(this,t),e&&a(n,t),i(this)&&s(n,t),o})),r(Node.prototype,"cloneNode",(function(t){return t=D.call(this,!!t),this.ownerDocument.__CE_hasRegistry?h(n,t):c(n,t),t})),r(Node.prototype,"removeChild",(function(t){var e=i(t),o=O.call(this,t);return e&&a(n,t),o})),r(Node.prototype,"replaceChild",(function(t,e){if(t instanceof DocumentFragment){var o=Array.prototype.slice.apply(t.childNodes);if(t=M.call(this,t,e),i(this))for(a(n,e),e=0;e<o.length;e++)s(n,o[e]);return t}o=i(t);var r=M.call(this,t,e),f=i(this);return f&&a(n,e),o&&a(n,t),f&&s(n,t),r})),k&&k.get?t(Node.prototype,k):function(t,n){t.b=!0,t.c.push(n)}(n,(function(n){t(n,{enumerable:!0,configurable:!0,get:function(){for(var t=[],n=0;n<this.childNodes.length;n++){var i=this.childNodes[n];i.nodeType!==Node.COMMENT_NODE&&t.push(i.textContent)}return t.join("")},set:function(t){for(;this.firstChild;)O.call(this,this.firstChild);null!=t&&""!==t&&N.call(this,document.createTextNode(t))}})}))}(),function(){function t(t,n){Object.defineProperty(t,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){var e=this,r=void 0;if(i(this)&&(r=[],o(this,(function(t){t!==e&&r.push(t)}))),n.set.call(this,t),r)for(var u=0;u<r.length;u++){var s=r[u];1===s.__CE_state&&f.disconnectedCallback(s)}return this.ownerDocument.__CE_hasRegistry?h(f,this):c(f,this),t}})}function n(t,n){r(t,"insertAdjacentElement",(function(t,e){var o=i(e);return t=n.call(this,t,e),o&&a(f,e),i(t)&&s(f,e),t}))}function e(t,n){function i(t,n){for(var i=[];t!==n;t=t.nextSibling)i.push(t);for(n=0;n<i.length;n++)h(f,i[n])}r(t,"insertAdjacentHTML",(function(t,e){if("beforebegin"===(t=t.toLowerCase())){var o=this.previousSibling;n.call(this,t,e),i(o||this.parentNode.firstChild,this)}else if("afterbegin"===t)o=this.firstChild,n.call(this,t,e),i(this.firstChild,o);else if("beforeend"===t)o=this.lastChild,n.call(this,t,e),i(o||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+t+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");o=this.nextSibling,n.call(this,t,e),i(this.nextSibling,o)}}))}var f=tt;L&&r(Element.prototype,"attachShadow",(function(t){t=L.call(this,t);var n=f;if(n.b&&!t.__CE_patched){t.__CE_patched=!0;for(var i=0;i<n.c.length;i++)n.c[i](t)}return this.__CE_shadowRoot=t})),S&&S.get?t(Element.prototype,S):K&&K.get?t(HTMLElement.prototype,K):function(t,n){t.b=!0,t.f.push(n)}(f,(function(n){t(n,{enumerable:!0,configurable:!0,get:function(){return D.call(this,!0).innerHTML},set:function(t){var n="template"===this.localName,i=n?this.content:this,e=p.call(document,this.namespaceURI,this.localName);for(e.innerHTML=t;0<i.childNodes.length;)O.call(i,i.childNodes[0]);for(t=n?e.content:e;0<t.childNodes.length;)N.call(i,t.childNodes[0])}})})),r(Element.prototype,"setAttribute",(function(t,n){if(1!==this.__CE_state)return H.call(this,t,n);var i=F.call(this,t);H.call(this,t,n),n=F.call(this,t),f.attributeChangedCallback(this,t,i,n,null)})),r(Element.prototype,"setAttributeNS",(function(t,n,i){if(1!==this.__CE_state)return P.call(this,t,n,i);var e=z.call(this,t,n);P.call(this,t,n,i),i=z.call(this,t,n),f.attributeChangedCallback(this,n,e,i,t)})),r(Element.prototype,"removeAttribute",(function(t){if(1!==this.__CE_state)return x.call(this,t);var n=F.call(this,t);x.call(this,t),null!==n&&f.attributeChangedCallback(this,t,n,null,null)})),r(Element.prototype,"removeAttributeNS",(function(t,n){if(1!==this.__CE_state)return R.call(this,t,n);var i=z.call(this,t,n);R.call(this,t,n);var e=z.call(this,t,n);i!==e&&f.attributeChangedCallback(this,n,i,e,t)})),Q?n(HTMLElement.prototype,Q):$?n(Element.prototype,$):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),V?e(HTMLElement.prototype,V):_?e(Element.prototype,_):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."),Y(f,Element.prototype,{h:B,append:I}),function(t){function n(n){return function(e){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var f=[],c=0;c<o.length;c++){var u=o[c];if(u instanceof Element&&i(u)&&f.push(u),u instanceof DocumentFragment)for(u=u.firstChild;u;u=u.nextSibling)r.push(u);else r.push(u)}for(n.apply(this,o),o=0;o<f.length;o++)a(t,f[o]);if(i(this))for(o=0;o<r.length;o++)(f=r[o])instanceof Element&&s(t,f)}}var e=Element.prototype;void 0!==U&&(e.before=n(U)),void 0!==U&&(e.after=n(W)),void 0!==q&&r(e,"replaceWith",(function(n){for(var e=[],o=0;o<arguments.length;++o)e[o]=arguments[o];o=[];for(var r=[],f=0;f<e.length;f++){var c=e[f];if(c instanceof Element&&i(c)&&r.push(c),c instanceof DocumentFragment)for(c=c.firstChild;c;c=c.nextSibling)o.push(c);else o.push(c)}for(f=i(this),q.apply(this,e),e=0;e<r.length;e++)a(t,r[e]);if(f)for(a(t,this),e=0;e<o.length;e++)(r=o[e])instanceof Element&&s(t,r)})),void 0!==G&&r(e,"remove",(function(){var n=i(this);G.call(this),n&&a(t,this)}))}(f)}(),document.__CE_hasRegistry=!0;var nt=new b(tt);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:nt})}}(),"string"!=typeof document.baseURI&&Object.defineProperty(Document.prototype,"baseURI",{enumerable:!0,configurable:!0,get:function(){var t=document.querySelector("base");return t&&t.href?t.href:document.URL}}),"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(t,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");return i.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),i},window.CustomEvent.prototype=window.Event.prototype),function(t,n,i){t.composedPath||(t.composedPath=function(){if(this.path)return this.path;var t=this.target;for(this.path=[];null!==t.parentNode;)this.path.push(t),t=t.parentNode;return this.path.push(n,i),this.path})}(Event.prototype,document,window),
5
- /*!
6
- Element.closest and Element.matches
7
- https://github.com/jonathantneal/closest
8
- Creative Commons Zero v1.0 Universal
9
- */
10
- function(t){"function"!=typeof t.matches&&(t.matches=t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||function(t){t=(this.document||this.ownerDocument).querySelectorAll(t);for(var n=0;t[n]&&t[n]!==this;)++n;return!!t[n]}),"function"!=typeof t.closest&&(t.closest=function(t){for(var n=this;n&&1===n.nodeType;){if(n.matches(t))return n;n=n.parentNode}return null})}(window.Element.prototype),
11
- /*!
12
- Element.getRootNode()
13
- */
14
- function(t){function n(t){return(t=i(t))&&11===t.nodeType?n(t.host):t}function i(t){return t&&t.parentNode?i(t.parentNode):t}"function"!=typeof t.getRootNode&&(t.getRootNode=function(t){return t&&t.composed?n(this):i(this)})}(Element.prototype),
15
- /*!
16
- Element.isConnected()
17
- */
18
- function(t){"isConnected"in t||Object.defineProperty(t,"isConnected",{configurable:!0,enumerable:!0,get:function(){var t=this.getRootNode({composed:!0});return t&&9===t.nodeType}})}(Element.prototype),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})})),function(t){"classList"in t||Object.defineProperty(t,"classList",{get:function(){var t=this,n=(t.getAttribute("class")||"").replace(/^\s+|\s$/g,"").split(/\s+/g);function i(){n.length>0?t.setAttribute("class",n.join(" ")):t.removeAttribute("class")}return""===n[0]&&n.splice(0,1),n.toggle=function(t,e){void 0!==e?e?n.add(t):n.remove(t):-1!==n.indexOf(t)?n.splice(n.indexOf(t),1):n.push(t),i()},n.add=function(){for(var t=[].slice.call(arguments),e=0,o=t.length;e<o;e++)-1===n.indexOf(t[e])&&n.push(t[e]);i()},n.remove=function(){for(var t=[].slice.call(arguments),e=0,o=t.length;e<o;e++)-1!==n.indexOf(t[e])&&n.splice(n.indexOf(t[e]),1);i()},n.item=function(t){return n[t]},n.contains=function(t){return-1!==n.indexOf(t)},n.replace=function(t,e){-1!==n.indexOf(t)&&n.splice(n.indexOf(t),1,e),i()},n.value=t.getAttribute("class")||"",n}})}(Element.prototype),
19
- /*!
20
- DOMTokenList
21
- */
22
- function(t){try{document.body.classList.add()}catch(e){var n=t.add,i=t.remove;t.add=function(){for(var t=0;t<arguments.length;t++)n.call(this,arguments[t])},t.remove=function(){for(var t=0;t<arguments.length;t++)i.call(this,arguments[t])}}}(DOMTokenList.prototype);
@@ -1,69 +0,0 @@
1
- /*!
2
- * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
- */
4
- import{h as e}from"./p-f7683ba5.js";import{l as a,a as n}from"./p-ec250cc4.js";import{b as t}from"./p-711b4e1e.js";import{_ as c,$ as o,a3 as s,u as i,a4 as f,a5 as l,a6 as r,a7 as d,a8 as u,a9 as b,aa as m,ab as v,ac as p,ad as x,ae as g,af as y,ag as h,ah as C,ai as N,aj as S,ak as A,al as D,am as I,an as j,ao as G,ap as T,aq as O,ar as k,as as P,at as L,au as R,av as V,aw as B,ax as $,ay as E,az as U,aA as K,aB as H,a0 as M,aC as X,aD as Y,aE as _,aF as q,aG as w,aH as z,aI as F,aJ as Q,aK as W,aL as J}from"./p-fe05f51e.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
- */function Z(e){const a=c[e];return a?`${a} (${e})`:e}
12
- /**
13
- * @license
14
- * Copyright (c) Peculiar Ventures, LLC.
15
- *
16
- * This source code is licensed under the MIT license found in the
17
- * LICENSE file in the root directory of this source tree.
18
- */const ee=e=>`https://search.gleif.org/#/record/${e}`,ae=e=>`https://search.censys.io/search?resource=hosts&q=dns.names%3A${e}`,ne=e=>`https://search.censys.io/search?resource=hosts&q=ip%3A${e}`
19
- /**
20
- * @license
21
- * Copyright (c) Peculiar Ventures, LLC.
22
- *
23
- * This source code is licensed under the MIT license found in the
24
- * LICENSE file in the root directory of this source tree.
25
- */,te=(a,n)=>e("tr",null,e("td",{colSpan:2},e("table",null,n))),ce=a=>{const{value:n}=a;return n?e("tr",{class:"title"},e("td",{colSpan:2},e("peculiar-typography",{type:"h6"},n))):null},oe=a=>{const{name:n,value:t,monospace:c,collapse:o,href:s,extraValue:i}=a;if(!n)return null;if(null==t)return null;let f;f=o?e("peculiar-text-hider",null,t):t;const l=!!t.toString();return e("tr",null,e("td",{colSpan:l?1:2},e("peculiar-typography",{color:"grey_5"},n,l?":":"")),l&&e("td",{class:{monospace:c}},function(e){return 0===e.indexOf("http")}
26
- /**
27
- * @license
28
- * Copyright (c) Peculiar Ventures, LLC.
29
- *
30
- * This source code is licensed under the MIT license found in the
31
- * LICENSE file in the root directory of this source tree.
32
- */(t.toString())||s?e("peculiar-link",{href:s||t.toString()},t):e("peculiar-typography",{monospace:c},f,i)))},se=t=>{const{serialNumber:c,version:o,validity:s,notBefore:i,notAfter:f,lastUpdate:l,nextUpdate:r,type:d}=t;return[e(ce,{value:a.getString("basicInformation")}),e(oe,{name:a.getString("type"),value:d}),e(oe,{name:a.getString("serialNumber"),value:c,monospace:!0}),e(oe,{name:a.getString("version"),value:o}),e(oe,{name:a.getString("validity"),value:s}),e(oe,{name:a.getString("issued"),value:i?n(i):void 0}),e(oe,{name:a.getString("expired"),value:f?n(f):void 0}),e(oe,{name:a.getString("lastUpdate"),value:l?n(l):void 0}),e(oe,{name:a.getString("nextUpdate"),value:r?n(r):void 0})]};
33
- /**
34
- * @license
35
- * Copyright (c) Peculiar Ventures, LLC.
36
- *
37
- * This source code is licensed under the MIT license found in the
38
- * LICENSE file in the root directory of this source tree.
39
- */
40
- function ie(e){if("modulus"in e.params){let a=e.params.modulus.byteLength;return a%2&&(a-=1),8*a}return null}function fe(e){return"publicExponent"in e.params?3===e.params.publicExponent.byteLength?65537:3:null}const le=n=>{const{publicKey:c}=n;if(!c)return null;function o(n){return[e(oe,{name:a.getString("algorithm"),value:Z(n.algorithm)}),e(oe,{name:a.getString("namedCurve"),value:Z("namedCurve"in n.params?n.params.namedCurve:void 0)}),e(oe,{name:a.getString("exponent"),value:fe(n)}),e(oe,{name:a.getString("modulus"),value:ie(n)}),e(oe,{name:a.getString("value"),value:t.Convert.ToHex(n.value),monospace:!0,collapse:!0})]}return[e(ce,{value:a.getString("publicKeyInfo")}),o(c),Array.isArray(c.params)&&c.params.length&&c.params.map((a=>e(te,null,o(a))))]},re=n=>{const{name:t}=n;return[e(ce,{value:a.getString("subjectName")}),t.map((a=>e(oe,{name:a.name||a.type,value:a.value})))]},de=n=>{const{name:t,issuerDnLink:c}=n,o=a.getString("issuerName");return[e(ce,{value:c?e("peculiar-link",{href:c,type:"h6"},o):o}),t.map((a=>e(oe,{name:a.name||a.type,value:a.value})))]},ue=n=>{const{signature:c}=n;if(!c)return null;function o(n){return[e(oe,{name:a.getString("algorithm"),value:Z(n.algorithm)}),e(oe,{name:a.getString("value"),value:t.Convert.ToHex(n.value),monospace:!0,collapse:!0})]}return[e(ce,{value:a.getString("signature")}),o(c),c.params&&c.params.length&&c.params.map((a=>e(te,null,o(a))))]},be=n=>{const{thumbprints:t}=n;if(!t)return null;const c=Object.keys(t);return c.length?[e(ce,{value:a.getString("fingerprints")}),c.map((a=>e(oe,{name:a,value:t[a],monospace:!0})))]:null},me=(n,t)=>{const{extension:c}=n;return[e(oe,{name:"Name",value:Z(c.asn.extnID)}),e(oe,{name:"Critical",value:a.getString(c.asn.critical?"yes":"no")}),t,e("tr",null,e("td",{colSpan:2,class:"divider"},e("span",{class:"bg_fill"})))]},ve=a=>{const{extension:n}=a;return e(me,{extension:n},e(oe,{name:"Usage",value:n.value.toJSON().join(", ")}))},pe=n=>{const{extension:t}=n;return e(me,{extension:t},e(oe,{name:"Certificate Authority",value:a.getString(t.value.cA?"yes":"no")}),e(oe,{name:"Path Length Constraint",value:t.value.pathLenConstraint}))},xe=a=>{const{extension:n}=a;return e(me,{extension:n},Boolean(n.value.length)&&[e(oe,{name:"Purposes:",value:""}),n.value.map((a=>e(te,null,e(oe,{name:"Purpose",value:Z(a)}))))])},ge=a=>{const{extension:n,getSubjectKeyIdChildrenLink:c,getSubjectKeyIdSiblingsLink:o}=a,s=t.Convert.ToHex(n.value.buffer),i=c(s),f=o(s);return e(me,{extension:n},e(oe,{name:"Key ID",value:s,monospace:!0,extraValue:[i&&e("span",null," [",e("peculiar-link",{href:i},"children"),"]"),f&&e("span",null," [",e("peculiar-link",{href:f},"siblings"),"]")]}))},ye=a=>{const{extension:n,getAuthKeyIdParentLink:c,getAuthKeyIdSiblingsLink:o}=a,s=t.Convert.ToHex(n.value.keyIdentifier.buffer),i=c(s),f=o(s);return e(me,{extension:n},e(oe,{name:"Key ID",value:s,monospace:!0,extraValue:[i&&e("span",null," [",e("peculiar-link",{href:i},"parents"),"]"),f&&e("span",null," [",e("peculiar-link",{href:f},"siblings"),"]")]}))},he={otherName:"Other Name",rfc822Name:"RFC 822 Name",dNSName:"DNS Name",x400Address:"X400 Address",directoryName:"Directory Name",ediPartyName:"Edi Party Name ",uniformResourceIdentifier:"URI",iPAddress:"IP Address",registeredID:"Registered ID"},Ce=a=>{const{generalName:n,getDNSNameLink:d,getIPAddressLink:u}=a;return n?Object.keys(n).map((a=>{const b=n[a];if(b instanceof o)return[e(oe,{name:he[a]||a,value:""}),e(te,null,b.map((a=>a.map((a=>e(oe,{name:c[a.type]||a.type,value:a.value.toString()}))))))];if(b instanceof s){try{const a=i.parse(b.value,f);return e(oe,{name:c[b.typeId]||b.typeId,value:a.toString()})}catch(e){}try{const a=i.parse(b.value,l);if(a.explicitText)return e(oe,{name:c[b.typeId]||b.typeId,value:a.explicitText.toString()})}catch(e){}return e(oe,{name:c[b.typeId]||b.typeId,value:t.Convert.ToHex(b.value),monospace:!0})}return t.BufferSourceConverter.isBufferSource(b)?e(oe,{name:he[a]||a,value:t.Convert.ToString(b)}):e(oe,b instanceof r?{name:he[a]||a,value:b.partyName.toString()}:"dNSName"===a?{name:he[a]||a,value:b,href:d(b)}:"iPAddress"===a?{name:he[a]||a,value:b,href:u(b)}:{name:he[a]||a,value:b})})):null},Ne=a=>{const{extension:n}=a;return e(me,{extension:n},n.value.map((n=>{var t,c;return[null===(t=n.distributionPoint)||void 0===t?void 0:t.fullName.map((n=>e(Ce,Object.assign({generalName:n},a)))),null===(c=n.cRLIssuer)||void 0===c?void 0:c.map((n=>e(Ce,Object.assign({generalName:n},a))))]})))},Se=a=>{const{extension:n}=a;return e(me,{extension:n},Boolean(n.value.length)&&[e(oe,{name:"Descriptions:",value:""}),n.value.map((n=>e(te,null,e(oe,{name:"Method",value:Z(n.accessMethod)}),e(Ce,Object.assign({generalName:n.accessLocation},a)))))])},Ae=a=>{const{extension:n}=a;return e(me,{extension:n},n.value.map((n=>e(Ce,Object.assign({generalName:n},a)))))},De=a=>{const{extension:n}=a;return e(me,{extension:n},Boolean(n.value.length)&&[e(oe,{name:"Policies:",value:""}),n.value.map((a=>e(te,null,e(oe,{name:"Policy ID",value:Z(a.policyIdentifier)}),a.policyQualifiers&&Boolean(a.policyQualifiers.length)&&[e(oe,{name:"Qualifiers:",value:""}),a.policyQualifiers.map((a=>{const n=[e(oe,{name:"Qualifier ID",value:Z(a.policyQualifierId)})];if("1.3.6.1.5.5.7.2.1"===a.policyQualifierId){const t=i.parse(a.qualifier,f);n.push(e(oe,{name:"Value",value:t.toString()}))}if("1.3.6.1.5.5.7.2.2"===a.policyQualifierId){const t=i.parse(a.qualifier,l);t.explicitText&&n.push(e(oe,{name:"Value",value:t.explicitText.toString()}))}return e(te,null,n)}))])))])},Ie={"9606c02c690033aa1d145f59c6e2648d0549f0df96aab8db915a70d8ecf390a5":"Akamai CT","39376f545f7b4607f59742d768cd5d2437bf3473b6534a4834bcf72e681c83c9":"Alpha CT",a577ac9ced7548dd8f025b67a241089df86e0f476ec203c2ecbedb185f282638:"CNNIC CT",cdb5179b7fc1c046feea31136a3f8f002e6182faf8896fecc8b2f5b5ab604900:"Certly.IO","1fbc36e002ede97f40199e86b3573b8a4217d80187746ad0da03a06054d20df4":"Cloudflare “Nimbus2017”",db74afeecb29ecb1feca3e716d2ce5b9aabb36f7847183c75d9d4f37b61fbf64:"Cloudflare “Nimbus2018”","747eda8331ad331091219cce254f4270c2bffd5e422008c6373579e6107bcc56":"Cloudflare “Nimbus2019”","5ea773f9df56c0e7b536487dd049e0327a919a0c84a112128418759681714558":"Cloudflare “Nimbus2020”","4494652eb0eeceafc44007d8a8fe28c0dae682bed8cb31b53fd33396b5b681a8":"Cloudflare “Nimbus2021”","41c8cab1df22464a10c6a13a0942875e4e318b1b03ebeb4bc768f090629606f6":"Cloudflare “Nimbus2022”","7a328c54d8b72db620ea38e0521ee98416703213854d3bd22bc13a57a352eb52":"Cloudflare “Nimbus2023”","6ff141b5647e4222f7ef052cefae7c21fd608e27d2af5a6e9f4b8a37d6633ee5":"DigiCert Nessie2018",fe446108b1d01ab78a62ccfeab6ab2b2babff3abdad80a4d8b30df2d0008830c:"DigiCert Nessie2019",c652a0ec48ceb3fcab170992c43a87413309e80065a26252401ba3362a17c565:"DigiCert Nessie2020",eec095ee8d72640f92e3c3b91bc712a3696a097b4b6a1a1438e647b2cbedc5f9:"DigiCert Nessie2021","51a3b0f5fd01799c566db837788f0ca47acc1b27cbf79e88429a0dfed48b05e5":"DigiCert Nessie2022",b3737707e18450f86386d605a9dc11094a792db1670c0b87dcf0030e7936a59a:"DigiCert Nessie2023","5614069a2fd7c2ecd3f5e1bd44b23ec74676b9bc99115cc0ef949855d689d0dd":"DigiCert Server","8775bfe7597cf88c43995fbdf36eff568d475636ff4ab560c1b4eaff5ea0830f":"DigiCert Server 2",c1164ae0a772d2d4392dc80ac10770d4f0c49bde991a4840c1fa075164f63360:"DigiCert Yeti2018",e2694bae26e8e94009e8861bb63b83d43ee7fe7488fba48f2893019dddf1dbfe:"DigiCert Yeti2019",f095a459f200d18240102d2f93888ead4bfe1d47e399e1d034a6b0a8aa8eb273:"DigiCert Yeti2020","5cdc4392fee6ab4544b15e9ad456e61037fbd5fa47dca17394b25ee6f6c70eca":"DigiCert Yeti2021","2245450759552456963fa12ff1f76d86e0232663adc04b7f5dc6835c6ee20f02":"DigiCert Yeti2022","35cf191bbfb16c57bf0fad4c6d42cbbbb627202651ea3fe12aefa803c33bd64c":"DigiCert Yeti2023","717ea7420975be84a2723553f1777c26dd51af4e102144094d9019b462fb6668":"GDCA 1","14308d90ccd030135005c01ca526d81e84e87624e39b6248e08f724aea3bb42a":"GDCA 2",c9cf890a21109c666cc17a3ed065c930d0e0135a9feba85af14210b8072421aa:"GDCA CT #1","924a30f909336ff435d6993a10ac75a2c641728e7fc2d659ae6188ffad40ce01":"GDCA CT #2",fad4c97cc49ee2f8ac85c5ea5cea09d0220dbbf4e49c6b50662ff868f86b8c28:"Google “Argon2017”",a4501269055a15545e6211ab37bc103f62ae5576a45e4b1714453e1b22106a25:"Google “Argon2018”","63f2dbcde83bcc2ccf0b728427576b33a48d61778fbd75a638b1c768544bd88d":"Google “Argon2019”",b21e05cc8ba2cd8a204e8766f92bb98a2520676bdafa70e7b249532def8b905e:"Google “Argon2020”",f65c942fd1773022145418083094568ee34d131933bfdf0c2f200bcc4ef164e3:"Google “Argon2021”","2979bef09e393921f056739f63a577e5be577d9c600af8f94d5d265c255dc784":"Google “Argon2022”","68f698f81f6482be3a8ceeb9281d4cfc71515d6793d444d10a67acbb4f4ffbc4":"Google “Aviator”",c3bf03a7e1ca8841c607bae3ff4270fca5ec45b186ebbe4e2cf3fc778630f5f6:"Google “Crucible”","1d024b8eb1498b344dfd87ea3efc0996f7506f235d1d497061a4773c439c25fb":"Google “Daedalus”","293c519654c83965baaa50fc5807d4b76fbf587a2972dca4c30cf4e54547f478":"Google “Icarus”",a4b90990b418581487bb13a2cc67700a3c359804f91bdfb8e377cd0ec80ddc10:"Google “Pilot”",ee4bbdb775ce60bae142691fabe19e66a30f7e5fb072d88300c47b897aa8fdcb:"Google “Rocketeer”",bbd9dfbc1f8a71b593942397aa927b473857950aab52e81a909664368e1ed185:"Google “Skydiver”","52eb4b225ec896974850675f23e43bc1d021e3214ce52ecd5fa87c203cdfca03":"Google “Solera2018”","0b760e9a8b9a682f88985b15e947501a56446bba8830785c3842994386450c00":"Google “Solera2019”","1fc72ce5a1b799f400c359bff96ca3913548e8644220610952e9ba1774f7bac7":"Google “Solera2020”",a3c99845e80ab7ce00157b3742df0207dd272b2b602ecf98ee2c12db9c5ae7e7:"Google “Solera2021”","697aafca1a6b536fae21205046debad7e0eaea13d2432e6e9d8fb379f2b9aaf3":"Google “Solera2022”",a899d8780c9290aaf462f31880ccfbd52451e970d0fbf591ef75b0d99b645681:"Google “Submariner”",b0cc83e5a5f97d6baf7c09cc284904872ac7e88b132c6350b7c6fd26e16c6c77:"Google “Testtube”",b10cd559a6d67846811f7df9a51532739ac48d703bea0323da5d38755bc0ad4e:"Google “Xenon2018”","084114980071532c16190460bcfc47fdc2653afa292c72b37ff863ae29ccc9f0":"Google “Xenon2019”","07b75c1be57d68fff1b0c61d2315c7bae6577c5794b76aeebc613a1a69d3a21c":"Google “Xenon2020”","7d3ef2f88fff88556824c2c0ca9e5289792bc50e78097f2e6a9768997e22f0d7":"Google “Xenon2021”","46a555eb75fa912030b5a28969f4f37d112c4174befd49b885abf2fc70fe6d47":"Google “Xenon2022”","7461b4a09cfb3d41d75159575b2e7649a445a8d27709b0cc564a6482b7eb41a3":"Izenpe","8941449c70742e06b9fc9ce7b116ba0024aa36d59af44f0204404f00f7ea8566":"Izenpe “Argi”","296afa2d568bca0d2ea844956ae9721fc35fa355ecda99693aafd458a71aefdd":"Let“s Encrypt ”Clicky”","537b69a3564335a9c04904e39593b2c298eb8d7a6e83023635c627248cd6b440":"Nordu “flimsy”",aae70b7f3cb8d566c86c2f16979c9f445f69ab0eb4535589b2f77a030104f3cd:"Nordu “plausible”",e0127629e90496564e3d0147984498aa48f8adb16600eb7902a1ef9909906273:"PuChuangSiDa CT",cf55e28923497c340d5206d05353aeb25834b52f1f8dc9526809f212efdd7ca6:"SHECA CT 1","32dc59c2d4c41968d56e14bc61ac8f0e45db39faf3c155aa4252f5001fa0c623":"SHECA CT 2",db76fdadac65e7d09508886e2159bd8b90352f5fead3e3dc5e22eb350acc7b98:"Sectigo (Comodo) “Dodo” CT","6f5376ac31f03119d89900a45115ff77151c11d902c10029068db2089a37d913":"Sectigo (Comodo) “Mammoth” CT","5581d4c2169036014aea0b9b573c53f0c0e43878702508172fa3aa1d0713d30c":"Sectigo (Comodo) “Sabre” CT","34bb6ad6c3df9c03eea8a499ff7891486c9d5e5cac92d01f7bfd1bce19db48ef":"StartCom",ddeb1d2b7a0d4fa6208b81ad8168707e2e8e9d01d55c888d3d11c4cdb6ecbecc:"Symantec",a7ce4a4e6207e0addee5fdaa4b1f86768767b5d002a55d47310e7e670a95eab2:"Symantec Deneb","15970488d7b997a05beb52512adee8d2e8b4a3165264121a9fabfbd5f85ad93f":"Symantec “Sirius”",bc78e1dfc5f63c684649334da10fa15f0979692009c081b4f3f6917f3ed9b8a5:"Symantec “Vega”",b0b784bc81c0ddc47544e883f05985bb9077d134d8ab88b2b2e533980b8e508b:"Up In The Air “Behind the Sofa”",ac3b9aed7fa9674757159e6d7d575672f9d98100941e9bdeffeca1313b75782d:"Venafi","03019df3fd85a69a8ebd1facc6da9ba73e469774fe77f579fc5a08b8328c1d6b":"Venafi Gen2 CT","41b2dc2e89e63ce4af1ba7bb29bf68c6dee6f9f1cc047e30dffae3b3ba259263":"WoSign","63d0006026dde10bb0601f452446965ee2b6ea2cd4fbc95ac866a550af9075b7":"WoSign 2","9e4ff73dc3ce220b69217c899e468076abf8d78636d5ccfc85a31a75628ba88b":"WoSign CT #1"},je=a=>{const{extension:t}=a;return e(me,{extension:t},Boolean(t.value.items.length)&&[e(oe,{name:"Signed Certificate Timestamps:",value:""}),t.value.toJSON().map((a=>e(te,null,e(oe,{name:"Version",value:a.version+1}),e(oe,{name:"Log Operator",value:Ie[a.logId]||a.logId}),e(oe,{name:"Log Key ID",value:a.logId,monospace:!0}),e(oe,{name:"Timestamp",value:n(a.timestamp)}),e(oe,{name:"Signature Algorithm",value:`${a.hashAlgorithm} ${a.signatureAlgorithm}`.toUpperCase()}),e(oe,{name:"Signature",value:a.signature,monospace:!0}))))])},Ge=a=>{var n,t;const{extension:c}=a;return e(me,{extension:c},null===(n=c.value.excludedSubtrees)||void 0===n?void 0:n.map((n=>e(Ce,Object.assign({generalName:n.base},a)))),null===(t=c.value.permittedSubtrees)||void 0===t?void 0:t.map((n=>e(Ce,Object.assign({generalName:n.base},a)))))},Te=a=>{const{extension:n}=a;return e(me,{extension:n},e(oe,{name:"Template ID",value:n.value.templateID}),e(oe,{name:"Template Major Version",value:n.value.templateMajorVersion}),e(oe,{name:"Template Minor Version",value:n.value.templateMinorVersion}))},Oe=a=>{const{extension:n}=a;return e(me,{extension:n},e(oe,{name:"Name",value:n.value.toString()}))},ke=a=>{const{extension:n}=a,t=n.value.getVersion();return e(me,{extension:n},e(oe,{name:"Certificate Index",value:t.certificateIndex}),e(oe,{name:"Key Index",value:t.keyIndex}))};
41
- /**
42
- * @license
43
- * Copyright (c) Peculiar Ventures, LLC.
44
- *
45
- * This source code is licensed under the MIT license found in the
46
- * LICENSE file in the root directory of this source tree.
47
- */var Pe,Le,Re,Ve;let Be=class{constructor(e){"string"==typeof e?this.alphabetic=e:"number"==typeof e&&(this.numeric=e)}};d([u({type:b.PrintableString})],Be.prototype,"alphabetic",void 0),d([u({type:b.PrintableString})],Be.prototype,"numeric",void 0),Be=d([m({type:v.Choice})],Be);class $e{constructor(e={}){this.currency=new Be,this.amount=0,this.exponent=0,Object.assign(this,e)}}d([u({type:Be})],$e.prototype,"currency",void 0),d([u({type:b.Integer})],$e.prototype,"amount",void 0),d([u({type:b.Integer})],$e.prototype,"exponent",void 0);let Ee=class extends $e{};Ee=d([m({type:v.Sequence})],Ee);let Ue=class{constructor(e=0){this.value=e}};d([u({type:b.Integer})],Ue.prototype,"value",void 0),Ue=d([m({type:v.Choice})],Ue);let Ke=class{constructor(e={}){this.url="",this.language="",Object.assign(this,e)}};d([u({type:b.IA5String})],Ke.prototype,"url",void 0),d([u({type:b.PrintableString})],Ke.prototype,"language",void 0),Ke=d([m({type:v.Sequence})],Ke);let He=Pe=class extends p{constructor(e){super(e),Object.setPrototypeOf(this,Pe.prototype)}};He=Pe=d([m({type:v.Sequence,itemType:Ke})],He);let Me=Le=class extends He{constructor(e){super(e),Object.setPrototypeOf(this,Le.prototype)}};Me=Le=d([m({type:v.Sequence,itemType:Ke})],Me);let Xe=Re=class extends p{constructor(e){super(e),Object.setPrototypeOf(this,Re.prototype)}};Xe=Re=d([m({type:v.Sequence,itemType:b.ObjectIdentifier})],Xe);let Ye=Ve=class extends p{constructor(e){super(e),Object.setPrototypeOf(this,Ve.prototype)}};Ye=Ve=d([m({type:v.Sequence,itemType:b.PrintableString})],Ye);const _e=a=>{const{extension:n}=a;return e(me,{extension:n},Boolean(n.value.length)&&[e(oe,{name:"Statements:",value:""}),n.value.map((a=>e(te,null,e(oe,{name:"Statement ID",value:Z(a.statementId)}),function(a,n){if(!n.byteLength)return null;if(a===x){const a=i.parse(n,g);return e(oe,{name:"Semantics Identifier",value:Z(a.semanticsIdentifier)})}if("0.4.0.1862.1.6"===a){const a=i.parse(n,Xe);return e(oe,{name:"QC Types",value:a.map((e=>Z(e))).join(", ")})}if("0.4.0.1862.1.3"===a){const a=i.parse(n,Ue);return e(oe,{name:"Retention Period",value:`${a.value} years`})}if("0.4.0.1862.1.5"===a){const a=i.parse(n,He);return[e(oe,{name:"PDS Locations:",value:""}),a.map((a=>e(te,null,e(oe,{name:"URL",value:a.url}),e(oe,{name:"Language",value:a.language}))))]}return e(oe,{name:"Info",value:t.Convert.ToHex(n),monospace:!0})}(a.statementId,a.statementInfo))))])},qe=a=>{const{extension:n}=a;return e(me,{extension:n},e(oe,{name:"Comment",value:n.value.value}))},we=a=>{const{extension:n}=a;return e(me,{extension:n},e(oe,{name:"Type",value:n.value.toJSON().join(", ")}))},ze=a=>{const{extension:n}=a;return e(me,{extension:n},e(oe,{name:"Role",value:n.value.text}))},Fe=a=>{const{extension:n,getLEILink:t}=a;return e(me,{extension:n},e(oe,{name:"Identifier",value:n.value.text,href:t(n.value.text)}))},Qe=n=>{const{extension:t}=n;return e(me,{extension:t},e(oe,{name:"Version",value:t.value.version}),e(Ce,Object.assign({generalName:t.value.location},n)),e(oe,{name:"Requires Auth",value:a.getString(t.value.requiresAuth?"yes":"no")}))},We=a=>{const{extension:n}=a;return e(me,{extension:n},e(oe,{name:"Version",value:n.value.version}))},Je=a=>{const{extension:n}=a;return e(me,{extension:n},e(oe,{name:"Reason",value:n.value.toJSON()}))};
48
- /**
49
- * @license
50
- * Copyright (c) Peculiar Ventures, LLC.
51
- *
52
- * This source code is licensed under the MIT license found in the
53
- * LICENSE file in the root directory of this source tree.
54
- */
55
- function Ze(e){return t.Convert.ToString(e.values[0])}
56
- /**
57
- * @license
58
- * Copyright (c) Peculiar Ventures, LLC.
59
- *
60
- * This source code is licensed under the MIT license found in the
61
- * LICENSE file in the root directory of this source tree.
62
- */const ea=a=>{const{extension:n}=a;return e(me,{extension:n},Boolean(n.value.length)&&[e(oe,{name:"Attributes:",value:""}),n.value.map((a=>e(te,null,e(oe,{name:"Type",value:Z(a.type)}),e(oe,{name:"Value",value:Ze(a)}))))])},aa=a=>{const{extension:n}=a;return e(me,{extension:n},e(oe,{name:"Value",value:n.value,monospace:!0}))},na=a=>{const{extension:t}=a;return e(me,{extension:t},e(oe,{name:"Not Before",value:n(t.value.notBefore)}),e(oe,{name:"Not After",value:n(t.value.notAfter)}))},ta=a=>{const{extension:n}=a;return e(me,{extension:n},e(oe,{name:"Version",value:n.value.entrustVers}),e(oe,{name:"Info Flags",value:n.value.entrustInfoFlags.toJSON().join(", ")}))},ca=a=>{const{extension:n}=a;return e(me,{extension:n},Boolean(n.value.length)&&[e(oe,{name:"Biometrics:",value:""}),n.value.map((a=>e(te,null,e(oe,{name:"OID",value:Z(a.typeOfBiometricData.biometricDataOid)}),e(oe,{name:"Type",value:a.typeOfBiometricData.predefinedBiometricType}),e(oe,{name:"Algorithm",value:Z(a.hashAlgorithm.algorithm)}),e(oe,{name:"Hash",value:t.Convert.ToHex(a.biometricDataHash.buffer),monospace:!0}),e(oe,{name:"Source Uri",value:a.sourceDataUri}))))])},oa=a=>{const{extension:n}=a,c=a=>a?a.map((a=>{const{imageDetails:n}=a;return[e(oe,{name:"Image Type",value:n.mediaType}),e(oe,{name:"Image Hash",value:t.Convert.ToHex(n.logotypeHash[0].hashValue),monospace:!0}),e(oe,{name:"Image URL",value:n.logotypeURI[0],monospace:!0,collapse:!0}),e(oe,{name:"Image Hash Algorithm",value:Z(n.logotypeHash[0].hashAlg.algorithm)})]})):null,o=a=>a?a.map((a=>{const{audioDetails:n}=a;return[e(oe,{name:"Audio Type",value:n.mediaType}),e(oe,{name:"Audio Hash",value:t.Convert.ToHex(n.logotypeHash[0].hashValue),monospace:!0}),e(oe,{name:"Audio URL",value:n.logotypeURI[0],monospace:!0,collapse:!0}),e(oe,{name:"Audio Hash Algorithm",value:Z(n.logotypeHash[0].hashAlg.algorithm)})]})):null,s=(a,n)=>{if(!n||!n.direct)return null;const{image:t,audio:s}=n.direct;return[e(oe,{name:"Type",value:a}),c(t),o(s),e("tr",null,e("td",null),e("td",null))]};return e(me,{extension:n},s("Subject",n.value.subjectLogo),s("Issuer",n.value.issuerLogo))},sa=a=>{const{extension:n}=a;return e(me,{extension:n},n.value.map(((a,n)=>[e(oe,{name:`Entry #${n+1}`,value:""}),e(oe,{name:"SPC",value:a.spc}),e(oe,{name:"Range",value:a.range?`start=${a.range.start} count==${a.range.count}`:null}),e(oe,{name:"One",value:a.one})])))},ia=a=>{const{extension:n}=a;return e(me,{extension:n},n.value.requireExplicitPolicy&&e(oe,{name:"Require Explicit Policy",value:y.toASN(n.value.requireExplicitPolicy).valueBlock.toString()}),n.value.inhibitPolicyMapping&&e(oe,{name:"Inhibit Policy Mapping",value:y.toASN(n.value.inhibitPolicyMapping).valueBlock.toString()}))},fa=a=>{const{extension:n}=a;return e(me,{extension:n},n.value.map(((a,n)=>[e(oe,{name:`Policy #${n+1}`,value:""}),e(oe,{name:"Issuer Domain",value:Z(a.issuerDomainPolicy)}),e(oe,{name:"Subject Domain",value:Z(a.subjectDomainPolicy)})])))},la=n=>{const{extension:t}=n;return e(me,{extension:t},e(oe,{name:a.getString("value"),value:t.value.value}))},ra=n=>{var t;const{extension:c}=n;return e(me,{extension:c},null===(t=c.value.distributionPoint)||void 0===t?void 0:t.fullName.map((a=>e(Ce,Object.assign({generalName:a},n)))),c.value.onlySomeReasons&&e(oe,{name:a.getString("onlyReasons"),value:c.value.onlySomeReasons.toJSON().join(", ")}),c.value.indirectCRL&&e(oe,{name:a.getString("indirectCRL"),value:a.getString("yes")}),c.value.onlyContainsUserCerts&&e(oe,{name:a.getString("onlyUserCertificates"),value:a.getString("yes")}),c.value.onlyContainsAttributeCerts&&e(oe,{name:a.getString("onlyAttributeCertificates"),value:a.getString("yes")}),c.value.onlyContainsCACerts&&e(oe,{name:a.getString("onlyCACertificates"),value:a.getString("yes")}))},da=a=>{const{extensions:n,title:t}=a;return n&&n.length?[e(ce,{value:t||"Extensions"}),n.map((n=>{try{return n.value instanceof h?e(ve,{extension:n}):n.value instanceof C?e(pe,{extension:n}):n.value instanceof N?e(xe,{extension:n}):n.value instanceof S?e(ge,Object.assign({extension:n},a)):n.value instanceof A?e(ye,Object.assign({extension:n},a)):n.value instanceof D?e(Ne,Object.assign({extension:n},a)):n.value instanceof I||n.value instanceof j?e(Se,Object.assign({extension:n},a)):n.value instanceof G?e(Ae,Object.assign({extension:n},a)):n.value instanceof T?e(De,{extension:n}):n.value instanceof O?e(je,{extension:n}):n.value instanceof k?e(Ge,Object.assign({extension:n},a)):n.value instanceof P?e(Te,{extension:n}):n.value instanceof L?e(Oe,{extension:n}):n.value instanceof R?e(ke,{extension:n}):n.value instanceof V?e(_e,{extension:n}):n.value instanceof B?e(qe,{extension:n}):n.value instanceof $?e(we,{extension:n}):n.value instanceof E?e(ze,{extension:n}):n.value instanceof U?e(Fe,Object.assign({extension:n},a)):n.value instanceof K?e(Qe,Object.assign({extension:n},a)):n.value instanceof H?e(We,{extension:n}):n.value instanceof M?e(Je,{extension:n}):n.value instanceof X?e(ea,{extension:n}):n.value instanceof Y?e(na,{extension:n}):n.value instanceof _?e(ta,{extension:n}):n.value instanceof q?e(ca,{extension:n}):n.value instanceof w?e(oa,{extension:n}):n.value instanceof z?e(sa,{extension:n}):n.value instanceof F?e(ia,{extension:n}):n.value instanceof Q?e(fa,{extension:n}):n.value instanceof W?e(la,{extension:n}):n.value instanceof J?e(ra,Object.assign({extension:n},a)):e("string"==typeof n.value?aa:me,{extension:n})}catch(e){return console.error("Error render extension:",n.asn.extnID),null}}))]:null},ua=n=>{const{certificate:t}=n;return[e(ce,{value:a.getString("miscellaneous")}),e("tr",null,e("td",{class:"vertical_align_middle"},e("peculiar-typography",{color:"grey_5"},a.getString("download"),":")),e("td",null,e("peculiar-button-split",{onClick:()=>t.downloadAsPEM(),actions:[{text:a.getString("download.der"),onClick:()=>t.downloadAsDER()}]},a.getString("download.pem"))))]};
63
- /**
64
- * @license
65
- * Copyright (c) Peculiar Ventures, LLC.
66
- *
67
- * This source code is licensed under the MIT license found in the
68
- * LICENSE file in the root directory of this source tree.
69
- */export{se as B,da as E,Ce as G,de as I,ua as M,le as P,oe as R,ue as S,te as T,ce as a,be as b,ee as c,ae as d,ne as e,re as f,Z as g}
@@ -1,32 +0,0 @@
1
- /*!
2
- * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
- */
4
- import{A as t,s,t as e,u as r,v as i,E as a,f as n,w as o,U as h,x as c,y as u,z as l,V as m,B as E,I as g,D as p,W as A,F as b,G as f,H as d,T as w,J as x,K as C,L as T,M as R,O as I,P as v,Q as k,S as N,e as F,X as y,r as B,p as D,q as P,Y as H,N as S,g as L,h as X,j,R as U,Z as q}from"./p-fe05f51e.js";import{b as G,D as K}from"./p-711b4e1e.js";import{d as M}from"./p-ec250cc4.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
- */class $ extends t{constructor(t){super(t,s);const F=this.getAsnExtnValue();switch(this.asn.type){case k:this.value=r.parse(F,N);break;case I:this.value=r.parse(F,v);break;case T:this.value=r.parse(F,R);break;case x:this.value=r.parse(F,C);break;case d:this.value=r.parse(F,w);break;case b:this.value=r.parse(F,f);break;case p:this.value=r.parse(F,A);break;case E:this.value=r.parse(F,g);break;case l:this.value=r.parse(F,m);break;case c:this.value=r.parse(F,u);break;case o:this.value=r.parse(F,h);break;case e:{const t=r.parse(F,i);this.value=t.map((t=>new a(n.serialize(t))));break}default:this.value=G.Convert.ToHex(F)}}getAsnExtnValue(){return this.asn.values[0]}}
12
- /**
13
- * @license
14
- * Copyright (c) Peculiar Ventures, LLC.
15
- *
16
- * This source code is licensed under the MIT license found in the
17
- * LICENSE file in the root directory of this source tree.
18
- */class O extends t{constructor(t){var s;super(F(t),y),this.thumbprints={},this.type="X.509 Attribute Certificate";const{acinfo:e}=this.asn;this.serialNumber=G.Convert.ToHex(e.serialNumber),this.version=e.version;const r=e.attrCertValidityPeriod.notBeforeTime;if(!r)throw new Error("Cannot get 'notBefore' value");this.notBefore=r;const i=e.attrCertValidityPeriod.notAfterTime;if(!i)throw new Error("Cannot get 'notAfter' value");this.notAfter=i,this.validity=M(this.notBefore,this.notAfter),this.issuer=e.issuer.v1Form||(null===(s=e.issuer.v2Form)||void 0===s?void 0:s.issuerName),this.holder=e.holder}get signature(){const{signatureValue:t,signatureAlgorithm:s}=this.asn;return{value:t,algorithm:s.algorithm}}parseExtensions(){const{acinfo:t}=this.asn;t.extensions&&(this.extensions=t.extensions.map((t=>new a(n.serialize(t)))))}parseAttributes(){const{acinfo:t}=this.asn;t.attributes&&(this.attributes=t.attributes.map((t=>new $(n.serialize(t)))))}async getThumbprint(t="SHA-1"){try{const s=await B(t,this.raw);s&&(this.thumbprints[t]=G.Convert.ToHex(s))}catch(t){console.error("Error thumbprint get:",t)}}exportAsBase64(){return G.Convert.ToBase64(this.raw)}exportAsHexFormatted(){return D(G.Convert.ToHex(this.raw))}exportAsPemFormatted(){return`-----BEGIN ATTRIBUTE CERTIFICATE-----\n${P(this.exportAsBase64())}\n-----END ATTRIBUTE CERTIFICATE-----`}get commonName(){return`attribute-certificate-${this.thumbprints["SHA-1"]}`}downloadAsPEM(t){K.attrCert.asPEM(this.exportAsPemFormatted(),t||this.commonName)}downloadAsDER(t){K.attrCert.asDER(this.exportAsHexFormatted(),t||this.commonName)}}
19
- /**
20
- * @license
21
- * Copyright (c) Peculiar Ventures, LLC.
22
- *
23
- * This source code is licensed under the MIT license found in the
24
- * LICENSE file in the root directory of this source tree.
25
- */class Q extends t{constructor(t){super(F(t),H),this.thumbprints={},this.type="PKCS#10 Certificate Request";const{certificationRequestInfo:s}=this.asn;this.subject=new S(s.subject).toJSON(),this.version=s.version}get publicKey(){const{subjectPublicKey:t,algorithm:s}=this.asn.certificationRequestInfo.subjectPKInfo;let e;return s.algorithm===L&&s.parameters&&(e=n.parse(s.parameters,X)),s.algorithm===j&&(e=n.parse(t,U)),{params:e,value:n.serialize(this.asn.certificationRequestInfo.subjectPKInfo),algorithm:s.algorithm}}get signature(){const{signature:t,signatureAlgorithm:s}=this.asn;return{value:t,algorithm:s.algorithm}}get commonName(){if(!this.subject)return"";for(let t=0;t<this.subject.length;t+=1){const s=this.subject[t];if("CN"===s.shortName||"E"===s.shortName||"O"===s.shortName)return s.value}return""}async getThumbprint(t="SHA-1"){try{const s=await B(t,this.raw);s&&(this.thumbprints[t]=G.Convert.ToHex(s))}catch(t){console.error("Error thumbprint get:",t)}}parseAttributes(){const{certificationRequestInfo:t}=this.asn;t.attributes&&(this.attributes=t.attributes.map((t=>new $(n.serialize(t)))))}exportAsBase64(){return G.Convert.ToBase64(this.raw)}exportAsHexFormatted(){return D(G.Convert.ToHex(this.raw))}exportAsPemFormatted(){return`-----BEGIN CERTIFICATE REQUEST-----\n${P(this.exportAsBase64())}\n-----END CERTIFICATE REQUEST-----`}downloadAsPEM(t){K.csr.asPEM(this.exportAsPemFormatted(),t||this.commonName)}downloadAsDER(t){K.csr.asDER(this.exportAsHexFormatted(),t||this.commonName)}}
26
- /**
27
- * @license
28
- * Copyright (c) Peculiar Ventures, LLC.
29
- *
30
- * This source code is licensed under the MIT license found in the
31
- * LICENSE file in the root directory of this source tree.
32
- */class V extends t{constructor(t){super(F(t),q),this.thumbprints={},this.type="X.509 Certificate Revocation List";const{tbsCertList:s}=this.asn;this.issuer=new S(s.issuer).toJSON(),this.version=s.version+1,this.lastUpdate=s.thisUpdate.getTime(),this.nextUpdate=s.nextUpdate.getTime(),this.revokedCertificates=(s.revokedCertificates||[]).map((t=>{var s;return{revocationDate:t.revocationDate,userCertificate:t.userCertificate,crlEntryExtensions:null===(s=t.crlEntryExtensions)||void 0===s?void 0:s.map((t=>new a(n.serialize(t))))}}))}async getThumbprint(t="SHA-1"){try{const s=await B(t,this.raw);s&&(this.thumbprints[t]=G.Convert.ToHex(s))}catch(t){console.error("Error thumbprint get:",t)}}get signature(){const{signature:t,signatureAlgorithm:s}=this.asn;return{value:t,algorithm:s.algorithm}}get commonName(){if(!this.issuer)return"";for(let t=0;t<this.issuer.length;t+=1){const s=this.issuer[t];if("CN"===s.shortName||"E"===s.shortName||"O"===s.shortName)return s.value}return""}parseExtensions(){const{tbsCertList:t}=this.asn;t.crlExtensions&&(this.extensions=t.crlExtensions.map((t=>new a(n.serialize(t)))))}exportAsBase64(){return G.Convert.ToBase64(this.raw)}exportAsHexFormatted(){return D(G.Convert.ToHex(this.raw))}exportAsPemFormatted(){return`-----BEGIN X509 CRL-----\n${P(this.exportAsBase64())}\n-----END X509 CRL-----`}downloadAsPEM(t){K.crl.asPEM(this.exportAsPemFormatted(),t||this.commonName)}downloadAsDER(t){K.crl.asDER(this.exportAsHexFormatted(),t||this.commonName)}}export{Q as C,O as X,V as a}
@@ -1,4 +0,0 @@
1
- /*!
2
- * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
- */
4
- import{r as t,h as i,H as r,g as s}from"./p-f7683ba5.js";import{l as o,a as e}from"./p-ec250cc4.js";import"./p-711b4e1e.js";const a=class{constructor(i){t(this,i),this.fill="stroke",this.actions=[],this.open=!1,this.onClickSplitButton=t=>{t.stopPropagation(),this.open=!this.open}}onClickActiveButton(t,i){this.open=!1,t(i)}renderActiveSplitState(){return this.open?i("div",{class:"button_split_container"},this.actions.map((t=>i("peculiar-button",{fill:"fill",class:"button_split_action",onClick:this.onClickActiveButton.bind(this,t.onClick)},t.text)))):null}render(){return i("div",{class:{button_split:!0}},i("peculiar-button",{fill:this.fill,onClick:this.onClick},i("slot",null)),i("peculiar-button",{fill:this.fill,onClick:this.onClickSplitButton,class:{button_split_with_icon:!0,m_open:this.open}},i("svg",{viewBox:"0 0 7 5",xmlns:"http://www.w3.org/2000/svg",class:"button_split_icon"},i("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.459.124c.934.001 1.442.994.84 1.644L4.425 3.794c-.44.475-1.244.475-1.684 0L.862 1.764C.26 1.115.77.12 1.705.122l3.754.003z"}))),this.renderActiveSplitState())}};a.style=':host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:inline-block;vertical-align:top;position:relative;white-space:nowrap;font-size:0}.button_split_icon{width:7px;height:5px;display:inline-block;vertical-align:middle}.button_split_with_icon{width:25px;border-bottom-left-radius:0;border-top-left-radius:0}.button_split_with_icon.m_open::part(base):before{position:fixed;width:100%;height:100%;top:0;left:0;content:""}.button_split_action{width:100%}.button_split_container{position:absolute;bottom:calc(100% + 1px);left:0;width:100%;border-radius:2px;-webkit-box-shadow:0px -2px 1px rgb(var(--pv-color-light-rgb)), 0px 0px 10px rgba(var(--pv-color-dark-rgb), 0.0241168);box-shadow:0px -2px 1px rgb(var(--pv-color-light-rgb)), 0px 0px 10px rgba(var(--pv-color-dark-rgb), 0.0241168);z-index:1}.button_split>peculiar-button:first-of-type::part(base){border-top-right-radius:0;border-bottom-right-radius:0}.button_split>peculiar-button:last-of-type::part(base){border-top-left-radius:0;border-bottom-left-radius:0}.button_split>peculiar-button:not(:first-child){margin-left:-1px}';const l=class{constructor(i){t(this,i),this.showIssuer=!0}renderRow(t,r,s){return i("tr",null,i("td",null,i("peculiar-typography",{color:"grey_5"},t,":")),i("td",null,i("peculiar-typography",{class:"meta_value",monospace:s},r)))}render(){return i(r,null,i("table",null,i("tbody",null,this.renderRow(o.getString("subjectName"),this.certificate.subjectToString()),this.showIssuer&&this.renderRow(o.getString("issuerName"),this.certificate.issuerToString()),this.renderRow(o.getString("serialNumber"),this.certificate.serialNumber,!0),this.renderRow(o.getString("version"),this.certificate.version),this.renderRow(o.getString("validity"),this.certificate.validity),this.renderRow(o.getString("issued"),e(this.certificate.notBefore)),this.renderRow(o.getString("expired"),e(this.certificate.notAfter)))))}};l.style=":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:block;width:100%}td{border:none;padding:0}table{width:100%;border-spacing:0;border-collapse:collapse}td{vertical-align:top;padding-top:5px;padding-bottom:5px}table td:first-child{width:130px;padding-right:10px}table td:last-child{width:calc(100% - 130px)}@media (max-width: 900px){table,tr,td{display:block}table td:last-child,table td:first-child{width:100%}}";const n=class{constructor(i){t(this,i),this.size=24,this.width=4,this.box=50}render(){return i(r,null,i("div",{class:"circle_progress",style:{width:`${this.size}px`,height:`${this.size}px`}},i("svg",{class:"circle_progress_svg",viewBox:`0 0 ${this.box} ${this.box}`},i("circle",{class:"circle_progress_backdrop",cx:this.box/2,cy:this.box/2,r:this.box/2-5,fill:"none",style:{strokeWidth:`${this.width}px`}}),i("circle",{class:"circle_progress_circle",cx:this.box/2,cy:this.box/2,r:this.box/2-5,fill:"none",style:{strokeWidth:`${this.width}px`}}))))}};n.style=":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}: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:#3584f7;stroke:rgba(var(--pv-color-primary-rgb), 1)}.circle_progress_backdrop{stroke:#d1d5d9;stroke:rgba(var(--pv-color-grey_3-rgb), 1)}";const h=class{constructor(i){t(this,i),this.tag="mark"}componentDidLoad(){this.handleHighlightSearch()}componentDidUpdate(){this.handleHighlightSearch()}handleHighlightSearch(){const t=this.resetHighlightSearch(this.host.innerHTML);let i=t;if(this.search){const r=new RegExp(`(${this.search})`,"gi");i=t.replace(r,`<${this.tag}>$1</${this.tag}>`)}this.host.innerHTML=i}resetHighlightSearch(t){const i=new RegExp(`</?${this.tag}>`,"g");return t.replace(i,"")}render(){return i(r,null,i("slot",null))}get host(){return s(this)}};h.style=":host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *,:host *:before,:host *:after{-webkit-box-sizing:inherit;box-sizing:inherit}:host{display:inline}::slotted(mark){background-color:rgba(247, 168, 49, 0.4);background-color:rgba(var(--pv-color-attention-rgb), 0.4)}";export{a as peculiar_button_split,l as peculiar_certificate_summary,n as peculiar_circular_progress,h as peculiar_highlight_words}
@@ -1,12 +0,0 @@
1
- /*!
2
- * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
- */
4
- import{c as t,a as n}from"./p-711b4e1e.js";var r=t((function(t){t.exports=function(){var t=6e4,n=36e5,r="millisecond",e="second",i="minute",s="hour",u="day",a="week",o="month",h="quarter",c="year",f="date",d="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var n=["th","st","nd","rd"],r=t%100;return"["+t+(n[(r-20)%10]||n[r]||n[0])+"]"}},m=function(t,n,r){var e=String(t);return!e||e.length>=n?t:""+Array(n+1-e.length).join(r)+t},M={s:m,z:function(t){var n=-t.utcOffset(),r=Math.abs(n),e=Math.floor(r/60),i=r%60;return(n<=0?"+":"-")+m(e,2,"0")+":"+m(i,2,"0")},m:function t(n,r){if(n.date()<r.date())return-t(r,n);var e=12*(r.year()-n.year())+(r.month()-n.month()),i=n.clone().add(e,o),s=r-i<0,u=n.clone().add(e+(s?-1:1),o);return+(-(e+(r-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:o,y:c,w:a,d:u,D:f,h:s,m:i,s:e,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},D="en",p={};p[D]=y;var g=function(t){return t instanceof _},w=function t(n,r,e){var i;if(!n)return D;if("string"==typeof n){var s=n.toLowerCase();p[s]&&(i=s),r&&(p[s]=r,i=s);var u=n.split("-");if(!i&&u.length>1)return t(u[0])}else{var a=n.name;p[a]=n,i=a}return!e&&i&&(D=i),i||!e&&D},S=function(t,n){if(g(t))return t.clone();var r="object"==typeof n?n:{};return r.date=t,r.args=arguments,new _(r)},b=M;b.l=w,b.i=g,b.w=function(t,n){return S(t,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var _=function(){function y(t){this.$L=w(t.locale,null,!0),this.parse(t)}var m=y.prototype;return m.parse=function(t){this.$d=function(t){var n=t.date,r=t.utc;if(null===n)return new Date(NaN);if(b.u(n))return new Date;if(n instanceof Date)return new Date(n);if("string"==typeof n&&!/Z$/i.test(n)){var e=n.match(l);if(e){var i=e[2]-1||0,s=(e[7]||"0").substring(0,3);return r?new Date(Date.UTC(e[1],i,e[3]||1,e[4]||0,e[5]||0,e[6]||0,s)):new Date(e[1],i,e[3]||1,e[4]||0,e[5]||0,e[6]||0,s)}}return new Date(n)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return b},m.isValid=function(){return!(this.$d.toString()===d)},m.isSame=function(t,n){var r=S(t);return this.startOf(n)<=r&&r<=this.endOf(n)},m.isAfter=function(t,n){return S(t)<this.startOf(n)},m.isBefore=function(t,n){return this.endOf(n)<S(t)},m.$g=function(t,n,r){return b.u(t)?this[n]:this.set(r,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,n){var r=this,h=!!b.u(n)||n,d=b.p(t),l=function(t,n){var e=b.w(r.$u?Date.UTC(r.$y,n,t):new Date(r.$y,n,t),r);return h?e:e.endOf(u)},v=function(t,n){return b.w(r.toDate()[t].apply(r.toDate("s"),(h?[0,0,0,0]:[23,59,59,999]).slice(n)),r)},y=this.$W,m=this.$M,M=this.$D,D="set"+(this.$u?"UTC":"");switch(d){case c:return h?l(1,0):l(31,11);case o:return h?l(1,m):l(0,m+1);case a:var p=this.$locale().weekStart||0,g=(y<p?y+7:y)-p;return l(h?M-g:M+(6-g),m);case u:case f:return v(D+"Hours",0);case s:return v(D+"Minutes",1);case i:return v(D+"Seconds",2);case e:return v(D+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,n){var a,h=b.p(t),d="set"+(this.$u?"UTC":""),l=(a={},a[u]=d+"Date",a[f]=d+"Date",a[o]=d+"Month",a[c]=d+"FullYear",a[s]=d+"Hours",a[i]=d+"Minutes",a[e]=d+"Seconds",a[r]=d+"Milliseconds",a)[h],v=h===u?this.$D+(n-this.$W):n;if(h===o||h===c){var y=this.clone().set(f,1);y.$d[l](v),y.init(),this.$d=y.set(f,Math.min(this.$D,y.daysInMonth())).$d}else l&&this.$d[l](v);return this.init(),this},m.set=function(t,n){return this.clone().$set(t,n)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,h){var f,d=this;r=Number(r);var l=b.p(h),v=function(t){var n=S(d);return b.w(n.date(n.date()+Math.round(t*r)),d)};if(l===o)return this.set(o,this.$M+r);if(l===c)return this.set(c,this.$y+r);if(l===u)return v(1);if(l===a)return v(7);var y=(f={},f[i]=t,f[s]=n,f[e]=1e3,f)[l]||1,m=this.$d.getTime()+r*y;return b.w(m,this)},m.subtract=function(t,n){return this.add(-1*t,n)},m.format=function(t){var n=this,r=this.$locale();if(!this.isValid())return r.invalidDate||d;var e=t||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=r.weekdays,h=r.months,c=function(t,r,i,s){return t&&(t[r]||t(n,e))||i[r].slice(0,s)},f=function(t){return b.s(s%12||12,t,"0")},l=r.meridiem||function(t,n,r){var e=t<12?"AM":"PM";return r?e.toLowerCase():e},y={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:b.s(a+1,2,"0"),MMM:c(r.monthsShort,a,h,3),MMMM:c(h,a),D:this.$D,DD:b.s(this.$D,2,"0"),d:String(this.$W),dd:c(r.weekdaysMin,this.$W,o,2),ddd:c(r.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:b.s(s,2,"0"),h:f(1),hh:f(2),a:l(s,u,!0),A:l(s,u,!1),m:String(u),mm:b.s(u,2,"0"),s:String(this.$s),ss:b.s(this.$s,2,"0"),SSS:b.s(this.$ms,3,"0"),Z:i};return e.replace(v,(function(t,n){return n||y[t]||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,f,d){var l,v=b.p(f),y=S(r),m=(y.utcOffset()-this.utcOffset())*t,M=this-y,D=b.m(this,y);return D=(l={},l[c]=D/12,l[o]=D,l[h]=D/3,l[a]=(M-m)/6048e5,l[u]=(M-m)/864e5,l[s]=M/n,l[i]=M/t,l[e]=M/1e3,l)[v]||M,d?D:b.a(D)},m.daysInMonth=function(){return this.endOf(o).$D},m.$locale=function(){return p[this.$L]},m.locale=function(t,n){if(!t)return this.$L;var r=this.clone(),e=w(t,n,!0);return e&&(r.$L=e),r},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},y}(),C=_.prototype;return S.prototype=C,[["$ms",r],["$s",e],["$m",i],["$H",s],["$W",u],["$M",o],["$y",c],["$D",f]].forEach((function(t){C[t[1]]=function(n){return this.$g(n,t[0],t[1])}})),S.extend=function(t,n){return t.$i||(t(n,_,S),t.$i=!0),S},S.locale=w,S.isDayjs=g,S.unix=function(t){return S(1e3*t)},S.en=p[D],S.Ls=p,S.p={},S}()})),e=t((function(t){t.exports=function(t,n,r){t=t||{};var e=n.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function s(t,n,r,i){return e.fromToBase(t,n,r,i)}r.en.relativeTime=i,e.fromToBase=function(n,e,s,u,a){for(var o,h,c,f=s.$locale().relativeTime||i,d=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],l=d.length,v=0;v<l;v+=1){var y=d[v];y.d&&(o=u?r(n).diff(s,y.d,!0):s.diff(n,y.d,!0));var m=(t.rounding||Math.round)(Math.abs(o));if(c=o>0,m<=y.r||!y.r){m<=1&&v>0&&(y=d[v-1]);var M=f[y.l];a&&(m=a(""+m)),h="string"==typeof M?M.replace("%d",m):M(m,e,y.l,c);break}}if(e)return h;var D=c?f.future:f.past;return"function"==typeof D?D(h):D.replace("%s",h)},e.to=function(t,n){return s(t,n,this,!0)},e.from=function(t,n){return s(t,n,this)};var u=function(t){return t.$u?r.utc():r()};e.toNow=function(t){return this.to(u(this),t)},e.fromNow=function(t){return this.from(u(this),t)}}}));
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
- r.extend(e);const i=t=>new Date(t).toUTCString(),s=(t,n)=>{if(!t||!n)return"";const e=r(t),i=r(n);return e.to(i,!0)},u={en:{basicInformation:"Basic Information",subjectName:"Subject Name",issuerName:"Issuer Name",publicKeyInfo:"Public Key Info",signature:"Signature",extensions:"Extensions",miscellaneous:"Miscellaneous",download:"Download","download.pem":"Download PEM","download.der":"Download DER",serialNumber:"Serial Number",version:"Version",validity:"Validity",issued:"Issued",expired:"Expired",lastUpdate:"Last Update",nextUpdate:"Next Update",algorithm:"Algorithm",namedCurve:"Named Curve",exponent:"Exponent",modulus:"Modulus",value:"Value",valid:"Valid",revoked:"Revoked",issuer:"Issuer",name:"Name",publicKey:"Public Key",fingerprint:"Fingerprint",fingerprints:"Fingerprints",actions:"Actions",details:"Details",testURLs:"Test URLs",certificateDetails:"Certificate Details",holder:"Holder",digestInfo:"Digest Info",type:"Type",revokedCertificates:"Revoked Certificates",revocationDate:"Revocation Date",yes:"Yes",no:"No",onlyUserCertificates:"Only User Certificates",onlyAttributeCertificates:"Only Attribute Certificates",onlyCACertificates:"Only CA Certificates",indirectCRL:"Indirect CRL",onlyReasons:"Only Reasons",crlEntryExtensions:"CRL Entry Extensions"}},a=new class{constructor(){this.setLocale=t=>{this.locale=t&&u[t]?t:"en"},this.getLocale=()=>this.locale;const t=window.navigator.language.slice(0,2).toLowerCase();this.setLocale(t)}getString(t,n){const r=u[this.locale][t];if(!r)return"";if(!n)return r;const e=r.split(n.pattern);return e.length>1?[e[0],n.replacer,e[1]]:r}};export{i as a,s as d,a as l}
@@ -1,5 +0,0 @@
1
- /*!
2
- * © Peculiar Ventures https://peculiarventures.com/ - MIT License
3
- */
4
- const e="peculiar";let t,n,l=!1,s=!1;const o="undefined"!=typeof window?window:{},i=o.document||{head:{}},c={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},r=e=>Promise.resolve(e),a=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),u=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=e,i=f(t,s),r=p(n);c.ael(o,l,i,r),(t.o=t.o||[]).push((()=>c.rel(o,l,i,r)))}))},f=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){ee(e)}},p=e=>0!=(2&e),h="http://www.w3.org/1999/xlink",d=new WeakMap,y=e=>"sc-"+e.p,m={},$=e=>"object"==(e=typeof e)||"function"===e,w=(e,t,...n)=>{let l=null,s=null,o=!1,i=!1;const c=[],r=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?r(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof e&&!$(l))&&(l+=""),o&&i?c[c.length-1].h+=l:c.push(o?b(null,l):l),i=o)};if(r(n),t){t.key&&(s=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,v);const a=b(e,null);return a.m=t,c.length>0&&(a.$=c),a.g=s,a},b=(e,t)=>({t:0,v:e,h:t,j:null,$:null,m:null,g:null}),g={},v={forEach:(e,t)=>e.map(j).forEach(t),map:(e,t)=>e.map(j).map(t).map(S)},j=e=>({vattrs:e.m,vchildren:e.$,vkey:e.g,vname:e.S,vtag:e.v,vtext:e.h}),S=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),w(e.vtag,t,...e.vchildren||[])}const t=b(e.vtag,e.vtext);return t.m=e.vattrs,t.$=e.vchildren,t.g=e.vkey,t.S=e.vname,t},k=(e,t,n,l,s,i)=>{if(n!==l){let r=Z(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,s=M(n),o=M(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const o=$(l);if((r||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const s=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,c=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(h,t):e.removeAttribute(t)):(!r||4&i||s)&&!o&&(l=!0===l?"":l,c?e.setAttributeNS(h,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):Z(o,a)?a.slice(2):a[2]+t.slice(3),n&&c.rel(e,t,n,!1),l&&c.ael(e,t,l,!1)}},O=/\s/,M=e=>e?e.split(O):[],x=(e,t,n,l)=>{const s=11===t.j.nodeType&&t.j.host?t.j.host:t.j,o=e&&e.m||m,i=t.m||m;for(l in o)l in i||k(s,l,o[l],void 0,n,t.t);for(l in i)k(s,l,o[l],i[l],n,t.t)},C=(e,n,s)=>{const o=n.$[s];let c,r,a=0;if(null!==o.h)c=o.j=i.createTextNode(o.h);else{if(l||(l="svg"===o.v),c=o.j=i.createElementNS(l?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.v),l&&"foreignObject"===o.v&&(l=!1),x(null,o,l),null!=t&&c["s-si"]!==t&&c.classList.add(c["s-si"]=t),o.$)for(a=0;a<o.$.length;++a)r=C(e,o,a),r&&c.appendChild(r);"svg"===o.v?l=!1:"foreignObject"===c.tagName&&(l=!0)}return c},_=(e,t,l,s,o,i)=>{let c,r=e;for(r.shadowRoot&&r.tagName===n&&(r=r.shadowRoot);o<=i;++o)s[o]&&(c=C(null,l,o),c&&(s[o].j=c,r.insertBefore(c,t)))},E=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.j,P(l),s.remove())},L=(e,t)=>e.v===t.v&&e.g===t.g,N=(e,t)=>{const n=t.j=e.j,s=e.$,o=t.$,i=t.v,c=t.h;null===c?(l="svg"===i||"foreignObject"!==i&&l,"slot"===i||x(e,t,l),null!==s&&null!==o?((e,t,n,l)=>{let s,o,i=0,c=0,r=0,a=0,u=t.length-1,f=t[0],p=t[u],h=l.length-1,d=l[0],y=l[h];for(;i<=u&&c<=h;)if(null==f)f=t[++i];else if(null==p)p=t[--u];else if(null==d)d=l[++c];else if(null==y)y=l[--h];else if(L(f,d))N(f,d),f=t[++i],d=l[++c];else if(L(p,y))N(p,y),p=t[--u],y=l[--h];else if(L(f,y))N(f,y),e.insertBefore(f.j,p.j.nextSibling),f=t[++i],y=l[--h];else if(L(p,d))N(p,d),e.insertBefore(p.j,f.j),p=t[--u],d=l[++c];else{for(r=-1,a=i;a<=u;++a)if(t[a]&&null!==t[a].g&&t[a].g===d.g){r=a;break}r>=0?(o=t[r],o.v!==d.v?s=C(t&&t[c],n,r):(N(o,d),t[r]=void 0,s=o.j),d=l[++c]):(s=C(t&&t[c],n,c),d=l[++c]),s&&f.j.parentNode.insertBefore(s,f.j)}i>u?_(e,null==l[h+1]?null:l[h+1].j,n,l,c,h):c>h&&E(t,i,u)})(n,s,t,o):null!==o?(null!==e.h&&(n.textContent=""),_(n,null,t,o,0,o.length-1)):null!==s&&E(s,0,s.length-1),l&&"svg"===i&&(l=!1)):e.h!==c&&(n.data=c)},P=e=>{e.m&&e.m.ref&&e.m.ref(null),e.$&&e.$.map(P)},T=e=>Q(e).k,U=(e,t,n)=>{const l=T(e);return{emit:e=>W(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},W=(e,t,n)=>{const l=c.ce(t,n);return e.dispatchEvent(l),l},A=(e,t)=>{t&&!e.O&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.O=t)))},D=(e,t)=>{if(e.t|=16,!(4&e.t))return A(e,e.M),ue((()=>F(e,t)));e.t|=512},F=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>z(n,e,t))),e.u=null),l=z(n,"componentWillLoad")),B(l,(()=>H(e,n,t)))},H=async(e,t,n)=>{const l=e.k,s=l["s-rc"];n&&(e=>{const t=e.C,n=e.k,l=t.t,s=((e,t)=>{let n=y(t);const l=le.get(n);if(e=11===e.nodeType?e:i,l)if("string"==typeof l){let t,s=d.get(e=e.head||e);s||d.set(e,s=new Set),s.has(n)||(t=i.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),s&&s.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);R(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>q(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},R=(e,l)=>{try{l=l.render(),e.t&=-17,e.t|=2,((e,l)=>{const s=e.k,o=e.C,i=e._||b(null,null),c=(e=>e&&e.v===g)(l)?l:w(null,null,l);n=s.tagName,o.L&&(c.m=c.m||{},o.L.map((([e,t])=>c.m[t]=s[e]))),c.v=null,c.t|=4,e._=c,c.j=i.j=s.shadowRoot||s,t=s["s-sc"],N(i,c)})(e,l)}catch(t){ee(t,e.k)}return null},q=e=>{const t=e.k,n=e.i,l=e.M;64&e.t?z(n,"componentDidUpdate"):(e.t|=64,G(t),z(n,"componentDidLoad"),e.N(t),l||V()),e.O&&(e.O(),e.O=void 0),512&e.t&&ae((()=>D(e,!1))),e.t&=-517},V=()=>{G(i.documentElement),ae((()=>W(o,"appload",{detail:{namespace:"peculiar"}})))},z=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){ee(e)}},B=(e,t)=>e&&e.then?e.then(t):t(),G=e=>e.classList.add("hydrated"),I=(e,t,n)=>{if(t.P){e.watchers&&(t.T=e.watchers);const l=Object.entries(t.P),s=e.prototype;if(l.map((([e,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(s,e,{get(){return((e,t)=>Q(this).U.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=Q(e),o=s.k,i=s.U.get(t),c=s.t,r=s.i;if(n=((e,t)=>null==e||$(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.P[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.U.set(t,n),r)){if(l.T&&128&c){const e=l.T[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){ee(e,o)}}))}2==(18&c)&&D(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){c.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.L.push([e,s]),s}))}}return e},J=(e,t={})=>{const n=[],l=t.exclude||[],s=o.customElements,r=i.head,f=r.querySelector("meta[charset]"),p=i.createElement("style"),h=[];let d,m=!0;Object.assign(c,t),c.l=new URL(t.resourcesUrl||"./",i.baseURI).href,e.map((e=>{e[1].map((t=>{const o={t:t[0],p:t[1],P:t[2],W:t[3]};o.P=t[2],o.W=t[3],o.L=[],o.T={};const i=o.p,r=class extends HTMLElement{constructor(e){super(e),Y(e=this,o),1&o.t&&e.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),m?h.push(this):c.jmp((()=>(e=>{if(0==(1&c.t)){const t=Q(e),n=t.C,l=()=>{};if(1&t.t)u(e,t,n.W);else{t.t|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){A(t,t.M=n);break}}n.P&&Object.entries(n.P).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),ae((()=>(async(e,t,n,l,s)=>{if(0==(32&t.t)){{if(t.t|=32,(s=ne(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.T=s.watchers,I(s,n,2),s.isProxied=!0);const e=()=>{};t.t|=8;try{new s(t)}catch(e){ee(e)}t.t&=-9,t.t|=128,e()}if(s.style){let e=s.style;const t=y(n);if(!le.has(t)){const l=()=>{};((e,t,n)=>{let l=le.get(e);a&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,le.set(e,l)})(t,e,!!(1&n.t)),l()}}}const o=t.M,i=()=>D(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)))}l()}})(this)))}disconnectedCallback(){c.jmp((()=>(()=>{if(0==(1&c.t)){const e=Q(this);e.o&&(e.o.map((e=>e())),e.o=void 0)}})()))}componentOnReady(){return Q(this).A}};o.D=e[0],l.includes(i)||s.get(i)||(n.push(i),s.define(i,I(r,o,1)))}))})),p.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",p.setAttribute("data-styles",""),r.insertBefore(p,f?f.nextSibling:r.firstChild),m=!1,h.length?h.map((e=>e.connectedCallback())):c.jmp((()=>d=setTimeout(V,30)))},K=new WeakMap,Q=e=>K.get(e),X=(e,t)=>K.set(t.i=e,t),Y=(e,t)=>{const n={t:0,k:e,C:t,U:new Map};return n.A=new Promise((e=>n.N=e)),e["s-p"]=[],e["s-rc"]=[],u(e,n,t.W),K.set(e,n)},Z=(e,t)=>t in e,ee=(e,t)=>(0,console.error)(e,t),te=new Map,ne=e=>{const t=e.p.replace(/-/g,"_"),n=e.D,l=te.get(n);return l?l[t]:__sc_import_peculiar(`./${n}.entry.js`).then((e=>(te.set(n,e),e[t])),ee)
5
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},le=new Map,se=[],oe=[],ie=(e,t)=>n=>{e.push(n),s||(s=!0,t&&4&c.t?ae(re):c.raf(re))},ce=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){ee(e)}e.length=0},re=()=>{ce(se),ce(oe),(s=se.length>0)&&c.raf(re)},ae=e=>r().then(e),ue=ie(oe,!0);export{g as H,e as N,J as b,U as c,i as d,T as g,w as h,r as p,X as r,o as w}