@peculiar/certificates-viewer 1.17.3 → 1.17.6
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.
- package/dist/cjs/{download-78e61b1d.js → download-1cf6585c.js} +42 -8
- package/dist/cjs/{l10n-91045362.js → l10n-f5651bb0.js} +1 -1
- package/dist/cjs/peculiar-attribute-certificate-viewer_9.cjs.entry.js +16 -41
- package/dist/cjs/peculiar-certificate-summary_3.cjs.entry.js +1 -1
- package/dist/cjs/peculiar-certificates-viewer.cjs.entry.js +2 -2
- package/dist/collection/components/attribute-certificate-viewer/attribute-certificate-viewer.js +3 -14
- package/dist/collection/components/certificate-viewer/certificate-viewer.js +2 -13
- package/dist/collection/components/csr-viewer/csr-viewer.js +3 -14
- package/dist/collection/utils/third_party_links.js +10 -0
- package/dist/esm/{download-c6153e99.js → download-dea7e15e.js} +42 -8
- package/dist/esm/{l10n-25aa4c54.js → l10n-6ab04c66.js} +1 -1
- package/dist/esm/peculiar-attribute-certificate-viewer_9.entry.js +16 -41
- package/dist/esm/peculiar-certificate-summary_3.entry.js +1 -1
- package/dist/esm/peculiar-certificates-viewer.entry.js +2 -2
- package/dist/esm-es5/{download-c6153e99.js → download-dea7e15e.js} +65 -27
- package/dist/esm-es5/{l10n-25aa4c54.js → l10n-6ab04c66.js} +15 -10
- package/dist/esm-es5/peculiar-attribute-certificate-viewer_9.entry.js +15 -41
- package/dist/esm-es5/peculiar-certificate-summary_3.entry.js +1 -1
- package/dist/esm-es5/peculiar-certificates-viewer.entry.js +2 -2
- package/dist/peculiar/{p-b817b484.system.entry.js → p-150d1ad1.system.entry.js} +1 -1
- package/dist/peculiar/p-557d912f.system.js +1 -1
- package/dist/peculiar/{p-05d621c2.system.js → p-590831d1.system.js} +11 -11
- package/dist/peculiar/{p-d97c01b2.entry.js → p-65bdcd21.entry.js} +17 -10
- package/dist/peculiar/{p-8e2bede4.js → p-6b2a8d50.js} +10 -10
- package/dist/peculiar/{p-fca4a08b.system.entry.js → p-704409ca.system.entry.js} +1 -1
- package/dist/peculiar/{p-bbac8b2a.entry.js → p-73a580ff.entry.js} +1 -1
- package/dist/peculiar/{p-cffe0126.js → p-79bbe633.js} +1 -1
- package/dist/peculiar/{p-d20fc814.system.entry.js → p-ae8de220.system.entry.js} +42 -35
- package/dist/peculiar/{p-be2b0d6d.system.js → p-ee7045c5.system.js} +5 -5
- package/dist/peculiar/{p-8a166731.entry.js → p-f304a39b.entry.js} +1 -1
- package/dist/peculiar/peculiar.esm.js +1 -1
- package/dist/types/components/attribute-certificate-viewer/attribute-certificate-viewer.d.ts +0 -3
- package/dist/types/components/certificate-viewer/certificate-viewer.d.ts +0 -3
- package/dist/types/components/csr-viewer/csr-viewer.d.ts +0 -3
- package/dist/types/utils/third_party_links.d.ts +10 -0
- package/package.json +20 -20
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, r as registerInstance, H as Host, c as createEvent } from './index-5ef692cc.js';
|
|
2
|
-
import { A as AsnData, a as Attribute$1, i as index, b as id_pkcs9_at_extensionRequest, c as AsnParser, E as ExtensionRequest, d as Extension, e as AsnConvert, f as id_pkcs9_at_unstructuredName, U as UnstructuredName, g as id_pkcs9_at_challengePassword, C as ChallengePassword, h as id_ValuationRanking, V as ValuationRanking, j as id_InsuranceValue, I as InsuranceValue, k as id_WebGDPR, W as WebGDPR, l as id_ActivityDescription, m as ActivityDescription, n as id_TypeRelationship, T as TypeRelationship, o as id_DomainNameTechnicalOperator, D as DomainNameTechnicalOperator, p as id_DomainNameOwner, q as DomainNameOwner, r as id_DomainNameLegalRepresentative, s as DomainNameLegalRepresentative, t as id_DomainNameBeneficiary, u as DomainNameBeneficiary, v as certificateRawToBuffer, w as AttributeCertificate, x as getCertificateThumbprint, y as hexFormat, z as base64Format, B as CertificationRequest, N as Name, F as id_ecPublicKey, G as ECParameters, H as id_rsaEncryption, R as RSAPublicKey, O as OIDs, J as Name$1, K as OtherName, L as DisplayText, M as EDIPartyName, P as UserNotice, Q as KeyUsage, S as BasicConstraints, X as ExtendedKeyUsage, Y as SubjectKeyIdentifier, Z as AuthorityKeyIdentifier, _ as CRLDistributionPoints, $ as AuthorityInfoAccessSyntax, a0 as SubjectAlternativeName, a1 as CertificatePolicies, a2 as CertificateTransparency, a3 as NameConstraints, a4 as CertificateTemplate, a5 as EnrollCertTypeChoice, a6 as CaVersion, a7 as QCStatements, a8 as NetscapeComment, a9 as NetscapeCertType, aa as LeiRole, ab as LeiChoice, ac as Timestamp, ad as ArchiveRevInfo, ae as CRLReason, af as SubjectDirectoryAttributes, ag as PrivateKeyUsagePeriod, ah as EntrustVersionInfo, ai as BiometricSyntax, aj as LogotypeExtn, ak as TNAuthorizationList, al as Download, am as isPem, an as isX509Pem, ao as isPkcs10Pem, ap as isX509AttributePem, aq as X509Certificate } from './download-
|
|
3
|
-
import { d as dateDiff, l as l10n, a as dateShort, h as history } from './l10n-
|
|
2
|
+
import { A as AsnData, a as Attribute$1, i as index, b as id_pkcs9_at_extensionRequest, c as AsnParser, E as ExtensionRequest, d as Extension, e as AsnConvert, f as id_pkcs9_at_unstructuredName, U as UnstructuredName, g as id_pkcs9_at_challengePassword, C as ChallengePassword, h as id_ValuationRanking, V as ValuationRanking, j as id_InsuranceValue, I as InsuranceValue, k as id_WebGDPR, W as WebGDPR, l as id_ActivityDescription, m as ActivityDescription, n as id_TypeRelationship, T as TypeRelationship, o as id_DomainNameTechnicalOperator, D as DomainNameTechnicalOperator, p as id_DomainNameOwner, q as DomainNameOwner, r as id_DomainNameLegalRepresentative, s as DomainNameLegalRepresentative, t as id_DomainNameBeneficiary, u as DomainNameBeneficiary, v as certificateRawToBuffer, w as AttributeCertificate, x as getCertificateThumbprint, y as hexFormat, z as base64Format, B as CertificationRequest, N as Name, F as id_ecPublicKey, G as ECParameters, H as id_rsaEncryption, R as RSAPublicKey, O as OIDs, J as Name$1, K as OtherName, L as DisplayText, M as EDIPartyName, P as UserNotice, Q as KeyUsage, S as BasicConstraints, X as ExtendedKeyUsage, Y as SubjectKeyIdentifier, Z as AuthorityKeyIdentifier, _ as CRLDistributionPoints, $ as AuthorityInfoAccessSyntax, a0 as SubjectAlternativeName, a1 as CertificatePolicies, a2 as CertificateTransparency, a3 as NameConstraints, a4 as CertificateTemplate, a5 as EnrollCertTypeChoice, a6 as CaVersion, a7 as QCStatements, a8 as NetscapeComment, a9 as NetscapeCertType, aa as LeiRole, ab as LeiChoice, ac as Timestamp, ad as ArchiveRevInfo, ae as CRLReason, af as SubjectDirectoryAttributes, ag as PrivateKeyUsagePeriod, ah as EntrustVersionInfo, ai as BiometricSyntax, aj as LogotypeExtn, ak as TNAuthorizationList, al as Download, am as isPem, an as isX509Pem, ao as isPkcs10Pem, ap as isX509AttributePem, aq as X509Certificate } from './download-dea7e15e.js';
|
|
3
|
+
import { d as dateDiff, l as l10n, a as dateShort, h as history } from './l10n-6ab04c66.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @license
|
|
@@ -1429,6 +1429,17 @@ const Miscellaneous = (props) => {
|
|
|
1429
1429
|
];
|
|
1430
1430
|
};
|
|
1431
1431
|
|
|
1432
|
+
/**
|
|
1433
|
+
* @license
|
|
1434
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
1435
|
+
*
|
|
1436
|
+
* This source code is licensed under the MIT license found in the
|
|
1437
|
+
* LICENSE file in the root directory of this source tree.
|
|
1438
|
+
*/
|
|
1439
|
+
const getLEILink = (lei) => `https://search.gleif.org/#/record/${lei}`;
|
|
1440
|
+
const getDNSNameLink = (dnsName) => `https://search.censys.io/search?resource=hosts&q=dns.names%3A${dnsName}`;
|
|
1441
|
+
const getIPAddressLink = (ipAddress) => `https://search.censys.io/search?resource=hosts&q=ip%3A${ipAddress}`;
|
|
1442
|
+
|
|
1432
1443
|
/**
|
|
1433
1444
|
* @license
|
|
1434
1445
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
@@ -1536,18 +1547,6 @@ const AttributeCertificateViewer = class {
|
|
|
1536
1547
|
}
|
|
1537
1548
|
}
|
|
1538
1549
|
// eslint-disable-next-line class-methods-use-this
|
|
1539
|
-
getLEILink(value) {
|
|
1540
|
-
return `https://search.gleif.org/#/record/${value}`;
|
|
1541
|
-
}
|
|
1542
|
-
// eslint-disable-next-line class-methods-use-this
|
|
1543
|
-
getDNSNameLink(value) {
|
|
1544
|
-
return `https://censys.io/ipv4?q=${value}`;
|
|
1545
|
-
}
|
|
1546
|
-
// eslint-disable-next-line class-methods-use-this
|
|
1547
|
-
getIPAddressLink(value) {
|
|
1548
|
-
return `https://censys.io/ipv4?q=${value}`;
|
|
1549
|
-
}
|
|
1550
|
-
// eslint-disable-next-line class-methods-use-this
|
|
1551
1550
|
renderErrorState() {
|
|
1552
1551
|
return (h("div", { class: "status_wrapper" }, h("peculiar-typography", { type: "b1", class: "interaction_text" }, "There was an error decoding this attribute certificate.")));
|
|
1553
1552
|
}
|
|
@@ -1562,7 +1561,7 @@ const AttributeCertificateViewer = class {
|
|
|
1562
1561
|
if (!this.certificateDecoded) {
|
|
1563
1562
|
return this.renderEmptyState();
|
|
1564
1563
|
}
|
|
1565
|
-
return (h(Host, null, h("table", null, h(BasicInformation, Object.assign({}, this.certificateDecoded)), h(Issuer, { issuer: this.certificateDecoded.issuer }), h(Holder, { holder: this.certificateDecoded.holder }), h(Signature, { signature: this.certificateDecoded.signature }), h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink:
|
|
1564
|
+
return (h(Host, null, h("table", null, h(BasicInformation, Object.assign({}, this.certificateDecoded)), h(Issuer, { issuer: this.certificateDecoded.issuer }), h(Holder, { holder: this.certificateDecoded.holder }), h(Signature, { signature: this.certificateDecoded.signature }), h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), h(Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (h(Miscellaneous, { certificate: this.certificateDecoded })))));
|
|
1566
1565
|
}
|
|
1567
1566
|
static get watchers() { return {
|
|
1568
1567
|
"certificate": ["watchCertificateAndDecode"]
|
|
@@ -1887,18 +1886,6 @@ const CertificateViewer = class {
|
|
|
1887
1886
|
}
|
|
1888
1887
|
}
|
|
1889
1888
|
}
|
|
1890
|
-
// eslint-disable-next-line class-methods-use-this
|
|
1891
|
-
getLEILink(value) {
|
|
1892
|
-
return `https://search.gleif.org/#/record/${value}`;
|
|
1893
|
-
}
|
|
1894
|
-
// eslint-disable-next-line class-methods-use-this
|
|
1895
|
-
getDNSNameLink(value) {
|
|
1896
|
-
return `https://censys.io/ipv4?q=${value}`;
|
|
1897
|
-
}
|
|
1898
|
-
// eslint-disable-next-line class-methods-use-this
|
|
1899
|
-
getIPAddressLink(value) {
|
|
1900
|
-
return `https://censys.io/ipv4?q=${value}`;
|
|
1901
|
-
}
|
|
1902
1889
|
getIssuerDnLink() {
|
|
1903
1890
|
return this.issuerDnLink;
|
|
1904
1891
|
}
|
|
@@ -1917,7 +1904,7 @@ const CertificateViewer = class {
|
|
|
1917
1904
|
if (!this.certificateDecoded) {
|
|
1918
1905
|
return this.renderEmptyState();
|
|
1919
1906
|
}
|
|
1920
|
-
return (h(Host, { "data-view": this.view }, h("table", null, h(BasicInformation, Object.assign({}, this.certificateDecoded)), h(SubjectName, { name: this.certificateDecoded.subject }), h(IssuerName, { name: this.certificateDecoded.issuer, issuerDnLink: this.getIssuerDnLink() }), h(PublicKey, { publicKey: this.certificateDecoded.publicKey }), h(Signature, { signature: this.certificateDecoded.signature }), h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), h(Extensions, { extensions: this.certificateDecoded.extensions, getLEILink:
|
|
1907
|
+
return (h(Host, { "data-view": this.view }, h("table", null, h(BasicInformation, Object.assign({}, this.certificateDecoded)), h(SubjectName, { name: this.certificateDecoded.subject }), h(IssuerName, { name: this.certificateDecoded.issuer, issuerDnLink: this.getIssuerDnLink() }), h(PublicKey, { publicKey: this.certificateDecoded.publicKey }), h(Signature, { signature: this.certificateDecoded.signature }), h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), h(Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (h(Miscellaneous, { certificate: this.certificateDecoded })))));
|
|
1921
1908
|
}
|
|
1922
1909
|
static get watchers() { return {
|
|
1923
1910
|
"certificate": ["watchCertificateAndDecode"]
|
|
@@ -1979,18 +1966,6 @@ const CsrViewer = class {
|
|
|
1979
1966
|
}
|
|
1980
1967
|
}
|
|
1981
1968
|
// eslint-disable-next-line class-methods-use-this
|
|
1982
|
-
getLEILink(value) {
|
|
1983
|
-
return `https://search.gleif.org/#/record/${value}`;
|
|
1984
|
-
}
|
|
1985
|
-
// eslint-disable-next-line class-methods-use-this
|
|
1986
|
-
getDNSNameLink(value) {
|
|
1987
|
-
return `https://censys.io/ipv4?q=${value}`;
|
|
1988
|
-
}
|
|
1989
|
-
// eslint-disable-next-line class-methods-use-this
|
|
1990
|
-
getIPAddressLink(value) {
|
|
1991
|
-
return `https://censys.io/ipv4?q=${value}`;
|
|
1992
|
-
}
|
|
1993
|
-
// eslint-disable-next-line class-methods-use-this
|
|
1994
1969
|
renderErrorState() {
|
|
1995
1970
|
return (h("div", { class: "status_wrapper" }, h("peculiar-typography", { type: "b1", class: "interaction_text" }, "There was an error decoding this certificate request.")));
|
|
1996
1971
|
}
|
|
@@ -2013,7 +1988,7 @@ const CsrViewer = class {
|
|
|
2013
1988
|
return this.renderEmptyState();
|
|
2014
1989
|
}
|
|
2015
1990
|
const extensionRequestAttribute = this.getExtensionRequestAttribute();
|
|
2016
|
-
return (h(Host, { "data-view": this.view }, h("table", null, h(BasicInformation, Object.assign({}, this.certificateDecoded)), h(SubjectName, { name: this.certificateDecoded.subject }), h(PublicKey, { publicKey: this.certificateDecoded.publicKey }), h(Signature, { signature: this.certificateDecoded.signature }), h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink:
|
|
1991
|
+
return (h(Host, { "data-view": this.view }, h("table", null, h(BasicInformation, Object.assign({}, this.certificateDecoded)), h(SubjectName, { name: this.certificateDecoded.subject }), h(PublicKey, { publicKey: this.certificateDecoded.publicKey }), h(Signature, { signature: this.certificateDecoded.signature }), h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), h(Extensions, { extensions: extensionRequestAttribute === null || extensionRequestAttribute === void 0 ? void 0 : extensionRequestAttribute.value, title: "Extension Request", getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (h(Miscellaneous, { certificate: this.certificateDecoded })))));
|
|
2017
1992
|
}
|
|
2018
1993
|
static get watchers() { return {
|
|
2019
1994
|
"certificate": ["watchCertificateAndDecode"]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-5ef692cc.js';
|
|
2
|
-
import { l as l10n, a as dateShort } from './l10n-
|
|
2
|
+
import { l as l10n, a as dateShort } from './l10n-6ab04c66.js';
|
|
3
3
|
|
|
4
4
|
const certificateSummaryCss = ":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%}}";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5ef692cc.js';
|
|
2
|
-
import { aq as X509Certificate, al as Download, O as OIDs } from './download-
|
|
3
|
-
import { l as l10n } from './l10n-
|
|
2
|
+
import { aq as X509Certificate, al as Download, O as OIDs } from './download-dea7e15e.js';
|
|
3
|
+
import { l as l10n } from './l10n-6ab04c66.js';
|
|
4
4
|
|
|
5
5
|
const certificatesViewerCss = ":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%;word-wrap:break-word;min-width:280px;overflow:auto;position:relative;background:white;background:rgba(var(--pv-color-light-rgb), 1)}table{width:100%;table-layout:fixed;border-collapse:collapse;border-spacing:0}table thead{background-color:rgba(53, 132, 247, 0.07);background-color:rgba(var(--pv-color-primary-rgb), 0.07)}table tr td{vertical-align:middle}table tbody tr:not(.expanded_summary){cursor:pointer}table tr{border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1)}table th{padding:15px 10px;border-width:1px;border-style:solid;border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1)}table td{padding:8px 10px;border-width:1px;border-style:solid;border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1)}table .col_issuer,table .col_name,table .col_public_key{width:16%}table .col_actions,table .col_tests{width:18%}table.m_extra .col_issuer,table.m_extra .col_name,table.m_extra .col_public_key{width:12%}table.m_extra .col_actions,table.m_extra .col_tests{width:17%}table tr.expanded td:not(:last-child){border-right-color:transparent}table tr.expanded td{border-bottom-color:transparent}.expanded{border-bottom-color:transparent;background-color:rgba(53, 132, 247, 0.04);background-color:rgba(var(--pv-color-primary-rgb), 0.04)}table tr.expanded_summary{background-color:rgba(53, 132, 247, 0.04);background-color:rgba(var(--pv-color-primary-rgb), 0.04)}table tr.expanded_summary td{vertical-align:top;padding:10px 20px 26px}@-webkit-keyframes fadeIn{0%{opacity:0.001}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0.001}100%{opacity:1}}.modal_wrapper{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1;overflow:auto;text-align:center;-webkit-animation:fadeIn 200ms;animation:fadeIn 200ms;padding:30px 10px}.modal_wrapper:before{display:inline-block;vertical-align:middle;width:0;height:100%;content:\"\"}.modal_backdrop{background:rgba(42, 49, 52, 0.5);background:rgba(var(--pv-color-dark-rgb), 0.5);z-index:-1;position:fixed;top:0;right:0;bottom:0;left:0}.modal_container{position:relative;display:inline-block;vertical-align:middle;width:100%;max-width:900px;text-align:left;border-radius:3px;overflow:hidden;background-color:white;background-color:rgba(var(--pv-color-light-rgb), 1);height:100%}.modal_title{background-color:rgba(53, 132, 247, 0.07);background-color:rgba(var(--pv-color-primary-rgb), 0.07);border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1);border-bottom-width:1px;border-bottom-style:solid;padding:20px 60px 16px 20px;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:60px}.modal_content{height:calc(100% - 60px);overflow-y:auto}.modal_close{cursor:pointer;border:none;background-color:transparent;position:absolute;top:0;bottom:0;right:0;padding:0 12px;-webkit-transition:opacity 100ms;transition:opacity 100ms;outline:none}.modal_close:hover{opacity:0.6}.modal_close svg{fill:#2a3134;fill:rgba(var(--pv-color-dark-rgb), 1)}.button_table_action{margin:2px}.mobile_title{display:none}.status_wrapper{height:85px;text-align:center;pointer-events:none}.search_section{background-color:rgba(53, 132, 247, 0.07);background-color:rgba(var(--pv-color-primary-rgb), 0.07);border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1);height:50px;padding:10px;border-width:1px 1px 0 1px;border-style:solid}.input_search{height:100%;width:100%;border-radius:3px;border-width:1px;border-style:solid;padding:0 14px;font-size:12px;outline:none;border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1);color:#2a3134;color:rgba(var(--pv-color-dark-rgb), 1)}.input_search::-moz-placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-rgb), 1)}.input_search:-ms-input-placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-rgb), 1)}.input_search::-webkit-input-placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-rgb), 1)}.input_search::-ms-input-placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-rgb), 1)}.input_search::placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-rgb), 1)}.loading_container{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(42, 49, 52, 0.3);background:rgba(var(--pv-color-dark-rgb), 0.3);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.align_center{text-align:center}@media (hover: hover){table tbody tr:not(.expanded_summary):hover{background-color:rgba(53, 132, 247, 0.04);background-color:rgba(var(--pv-color-primary-rgb), 0.04)}}@media (max-width: 900px){table,tbody,tr,td{display:block}thead{display:none}tr{padding:0 15px;border-width:1px;border-style:solid}tr:not(:first-child){margin-top:-1px}tr:not(.expanded_summary) td:first-child{border:none !important}table td{padding-left:0;padding-right:0;border-width:1px 0 0 0 !important;border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr.expanded_summary td{padding:15px 0}.mobile_title{display:inline-block;width:90px;vertical-align:middle}.modal_title{padding:17px 60px 17px 15px}.content{display:inline-block;width:calc(100% - 90px);vertical-align:middle;text-align:left}.expanded_summary{border-top-color:transparent;padding-bottom:10px}.expanded_summary td:before{content:none}.status_wrapper{height:266px;display:table-cell}.search_section{height:60px;padding:15px}.align_center{text-align:inherit}}";
|
|
6
6
|
|
|
@@ -47,7 +47,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
47
47
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
|
-
import { c as createCommonjsModule, u as unwrapExports, b as commonjsGlobal, d as dateDiff } from './l10n-
|
|
50
|
+
import { c as createCommonjsModule, u as unwrapExports, b as commonjsGlobal, d as dateDiff } from './l10n-6ab04c66.js';
|
|
51
51
|
//**************************************************************************************
|
|
52
52
|
//**************************************************************************************
|
|
53
53
|
// noinspection FunctionWithMultipleReturnPointsJS
|
|
@@ -80,8 +80,8 @@ function bufferToHexCodes(inputBuffer, inputOffset, inputLength, insertSpace) {
|
|
|
80
80
|
if (inputLength === void 0) { inputLength = (inputBuffer.byteLength - inputOffset); }
|
|
81
81
|
if (insertSpace === void 0) { insertSpace = false; }
|
|
82
82
|
var result = "";
|
|
83
|
-
for (var _i = 0,
|
|
84
|
-
var item =
|
|
83
|
+
for (var _i = 0, _d = (new Uint8Array(inputBuffer, inputOffset, inputLength)); _i < _d.length; _i++) {
|
|
84
|
+
var item = _d[_i];
|
|
85
85
|
// noinspection ChainedFunctionCallJS
|
|
86
86
|
var str = item.toString(16).toUpperCase();
|
|
87
87
|
// noinspection ConstantOnRightSideOfComparisonJS, NonBlockStatementBodyJS
|
|
@@ -216,15 +216,15 @@ function utilConcatBuf() {
|
|
|
216
216
|
//endregion
|
|
217
217
|
//region Calculate output length
|
|
218
218
|
// noinspection NonBlockStatementBodyJS
|
|
219
|
-
for (var
|
|
220
|
-
var buffer = buffers_1[
|
|
219
|
+
for (var _d = 0, buffers_1 = buffers; _d < buffers_1.length; _d++) {
|
|
220
|
+
var buffer = buffers_1[_d];
|
|
221
221
|
outputLength += buffer.byteLength;
|
|
222
222
|
}
|
|
223
223
|
//endregion
|
|
224
224
|
var retBuf = new ArrayBuffer(outputLength);
|
|
225
225
|
var retView = new Uint8Array(retBuf);
|
|
226
|
-
for (var
|
|
227
|
-
var buffer = buffers_2[
|
|
226
|
+
for (var _e = 0, buffers_2 = buffers; _e < buffers_2.length; _e++) {
|
|
227
|
+
var buffer = buffers_2[_e];
|
|
228
228
|
// noinspection NestedFunctionCallJS
|
|
229
229
|
retView.set(new Uint8Array(buffer), prevLength);
|
|
230
230
|
prevLength += buffer.byteLength;
|
|
@@ -248,15 +248,15 @@ function utilConcatView() {
|
|
|
248
248
|
//endregion
|
|
249
249
|
//region Calculate output length
|
|
250
250
|
// noinspection NonBlockStatementBodyJS
|
|
251
|
-
for (var
|
|
252
|
-
var view = views_1[
|
|
251
|
+
for (var _d = 0, views_1 = views; _d < views_1.length; _d++) {
|
|
252
|
+
var view = views_1[_d];
|
|
253
253
|
outputLength += view.length;
|
|
254
254
|
}
|
|
255
255
|
//endregion
|
|
256
256
|
var retBuf = new ArrayBuffer(outputLength);
|
|
257
257
|
var retView = new Uint8Array(retBuf);
|
|
258
|
-
for (var
|
|
259
|
-
var view = views_2[
|
|
258
|
+
for (var _e = 0, views_2 = views; _e < views_2.length; _e++) {
|
|
259
|
+
var view = views_2[_e];
|
|
260
260
|
retView.set(view, prevLength);
|
|
261
261
|
prevLength += view.length;
|
|
262
262
|
}
|
|
@@ -395,6 +395,16 @@ function padNumber(inputNumber, fullLength) {
|
|
|
395
395
|
//**************************************************************************************
|
|
396
396
|
/* eslint-disable indent */
|
|
397
397
|
//**************************************************************************************
|
|
398
|
+
//region Other utility functions
|
|
399
|
+
//**************************************************************************************
|
|
400
|
+
function assertBigInt() {
|
|
401
|
+
if (typeof BigInt === "undefined") {
|
|
402
|
+
throw new Error("BigInt is not defined. Your environment doesn't implement BigInt.");
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
//**************************************************************************************
|
|
406
|
+
//endregion
|
|
407
|
+
//**************************************************************************************
|
|
398
408
|
//region Declaration of global variables
|
|
399
409
|
//**************************************************************************************
|
|
400
410
|
var powers2 = [new Uint8Array([1])];
|
|
@@ -1484,8 +1494,8 @@ var Constructed = /** @class */ (function (_super) {
|
|
|
1484
1494
|
//**********************************************************************************
|
|
1485
1495
|
Constructed.prototype.toString = function () {
|
|
1486
1496
|
var values = [];
|
|
1487
|
-
for (var _i = 0,
|
|
1488
|
-
var value =
|
|
1497
|
+
for (var _i = 0, _d = this.valueBlock.value; _i < _d.length; _i++) {
|
|
1498
|
+
var value = _d[_i];
|
|
1489
1499
|
values.push(value.toString().split("\n").map(function (o) { return " " + o; }).join("\n"));
|
|
1490
1500
|
}
|
|
1491
1501
|
var blockName = this.idBlock.tagClass === 3
|
|
@@ -2630,6 +2640,7 @@ var Integer = /** @class */ (function (_super) {
|
|
|
2630
2640
|
};
|
|
2631
2641
|
//**********************************************************************************
|
|
2632
2642
|
Integer.prototype.toString = function () {
|
|
2643
|
+
assertBigInt();
|
|
2633
2644
|
var hex = bufferToHexCodes(this.valueBlock.valueHex);
|
|
2634
2645
|
var bigInt = BigInt("0x" + hex);
|
|
2635
2646
|
return this.constructor.blockName() + " : " + bigInt.toString();
|
|
@@ -2742,6 +2753,26 @@ var LocalSidValueBlock = /** @class */ (function (_super) {
|
|
|
2742
2753
|
}
|
|
2743
2754
|
return (inputOffset + this.blockLength);
|
|
2744
2755
|
};
|
|
2756
|
+
Object.defineProperty(LocalSidValueBlock.prototype, "valueBigInt", {
|
|
2757
|
+
//**********************************************************************************
|
|
2758
|
+
/**
|
|
2759
|
+
* Save a BigInt value immediately as an array of octects.
|
|
2760
|
+
*/
|
|
2761
|
+
set: function (value) {
|
|
2762
|
+
assertBigInt();
|
|
2763
|
+
var bits = BigInt(value).toString(2);
|
|
2764
|
+
while (bits.length % 7) {
|
|
2765
|
+
bits = '0' + bits;
|
|
2766
|
+
}
|
|
2767
|
+
var bytes = new Uint8Array(bits.length / 7);
|
|
2768
|
+
for (var i = 0; i < bytes.length; i++) {
|
|
2769
|
+
bytes[i] = parseInt(bits.slice(i * 7, i * 7 + 7), 2) + (i + 1 < bytes.length ? 0x80 : 0);
|
|
2770
|
+
}
|
|
2771
|
+
this.fromBER(bytes.buffer, 0, bytes.length);
|
|
2772
|
+
},
|
|
2773
|
+
enumerable: false,
|
|
2774
|
+
configurable: true
|
|
2775
|
+
});
|
|
2745
2776
|
//**********************************************************************************
|
|
2746
2777
|
/**
|
|
2747
2778
|
* Encoding of current ASN.1 block into ASN.1 encoded array (BER rules)
|
|
@@ -2934,9 +2965,16 @@ var LocalObjectIdentifierValueBlock = /** @class */ (function (_super) {
|
|
|
2934
2965
|
}
|
|
2935
2966
|
else {
|
|
2936
2967
|
var sidBlock = new LocalSidValueBlock();
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2968
|
+
if (sid > Number.MAX_SAFE_INTEGER) {
|
|
2969
|
+
assertBigInt();
|
|
2970
|
+
var sidValue = BigInt(sid);
|
|
2971
|
+
sidBlock.valueBigInt = sidValue;
|
|
2972
|
+
}
|
|
2973
|
+
else {
|
|
2974
|
+
sidBlock.valueDec = parseInt(sid, 10);
|
|
2975
|
+
if (isNaN(sidBlock.valueDec))
|
|
2976
|
+
return true;
|
|
2977
|
+
}
|
|
2940
2978
|
if (this.value.length === 0) {
|
|
2941
2979
|
sidBlock.isFirstSid = true;
|
|
2942
2980
|
flag = true;
|
|
@@ -5851,7 +5889,7 @@ var build = createCommonjsModule(function (module, exports) {
|
|
|
5851
5889
|
return this.toView(data, Uint8Array);
|
|
5852
5890
|
};
|
|
5853
5891
|
BufferSourceConverter.toView = function (data, type) {
|
|
5854
|
-
if (typeof Buffer !== "undefined" && Buffer.isBuffer(data)) {
|
|
5892
|
+
if (typeof Buffer !== "undefined" && typeof Buffer.isBuffer === "function" && Buffer.isBuffer(data)) {
|
|
5855
5893
|
return new type(data.buffer, data.byteOffset, data.byteLength);
|
|
5856
5894
|
}
|
|
5857
5895
|
if (this.isArrayBuffer(data)) {
|
|
@@ -6344,10 +6382,10 @@ var AsnSchemaStorage = /** @class */ (function () {
|
|
|
6344
6382
|
return this.items.has(target);
|
|
6345
6383
|
};
|
|
6346
6384
|
AsnSchemaStorage.prototype.get = function (target) {
|
|
6347
|
-
var _a, _b, _c
|
|
6385
|
+
var _a, _b, _c;
|
|
6348
6386
|
var schema = this.items.get(target);
|
|
6349
6387
|
if (!schema) {
|
|
6350
|
-
throw new Error("Cannot get schema for '" + ((
|
|
6388
|
+
throw new Error("Cannot get schema for '" + ((_c = (_b = (_a = target === null || target === void 0 ? void 0 : target.prototype) === null || _a === void 0 ? void 0 : _a.constructor) === null || _b === void 0 ? void 0 : _b.name) !== null && _c !== void 0 ? _c : target) + "' target");
|
|
6351
6389
|
}
|
|
6352
6390
|
return schema;
|
|
6353
6391
|
};
|
|
@@ -13035,7 +13073,7 @@ var certificateRawToBuffer = function (raw) {
|
|
|
13035
13073
|
};
|
|
13036
13074
|
var getCertificateThumbprint = function (algorithm, data) { return __awaiter(void 0, void 0, void 0, function () {
|
|
13037
13075
|
var crypto;
|
|
13038
|
-
return __generator(this, function (
|
|
13076
|
+
return __generator(this, function (_d) {
|
|
13039
13077
|
crypto = cryptoProvider.get();
|
|
13040
13078
|
return [2 /*return*/, crypto.subtle.digest(algorithm, data)];
|
|
13041
13079
|
});
|
|
@@ -13082,7 +13120,7 @@ var X509Certificate = /** @class */ (function (_super) {
|
|
|
13082
13120
|
};
|
|
13083
13121
|
Object.defineProperty(X509Certificate.prototype, "publicKey", {
|
|
13084
13122
|
get: function () {
|
|
13085
|
-
var
|
|
13123
|
+
var _d = this.asn.tbsCertificate.subjectPublicKeyInfo, subjectPublicKey = _d.subjectPublicKey, algorithm = _d.algorithm;
|
|
13086
13124
|
var params;
|
|
13087
13125
|
if (algorithm.algorithm === id_ecPublicKey && algorithm.parameters) {
|
|
13088
13126
|
params = AsnConvert.parse(algorithm.parameters, ECParameters);
|
|
@@ -13102,7 +13140,7 @@ var X509Certificate = /** @class */ (function (_super) {
|
|
|
13102
13140
|
});
|
|
13103
13141
|
Object.defineProperty(X509Certificate.prototype, "signature", {
|
|
13104
13142
|
get: function () {
|
|
13105
|
-
var
|
|
13143
|
+
var _d = this.asn, signatureValue = _d.signatureValue, signatureAlgorithm = _d.signatureAlgorithm;
|
|
13106
13144
|
return {
|
|
13107
13145
|
value: signatureValue,
|
|
13108
13146
|
algorithm: signatureAlgorithm.algorithm,
|
|
@@ -13124,17 +13162,17 @@ var X509Certificate = /** @class */ (function (_super) {
|
|
|
13124
13162
|
if (algorithm === void 0) { algorithm = 'SHA-1'; }
|
|
13125
13163
|
return __awaiter(this, void 0, void 0, function () {
|
|
13126
13164
|
var thumbprint, error_1;
|
|
13127
|
-
return __generator(this, function (
|
|
13128
|
-
switch (
|
|
13165
|
+
return __generator(this, function (_d) {
|
|
13166
|
+
switch (_d.label) {
|
|
13129
13167
|
case 0:
|
|
13130
|
-
|
|
13168
|
+
_d.trys.push([0, 2, , 3]);
|
|
13131
13169
|
return [4 /*yield*/, getCertificateThumbprint(algorithm, this.raw)];
|
|
13132
13170
|
case 1:
|
|
13133
|
-
thumbprint =
|
|
13171
|
+
thumbprint = _d.sent();
|
|
13134
13172
|
this.thumbprints[algorithm['name'] || algorithm] = index.Convert.ToHex(thumbprint);
|
|
13135
13173
|
return [3 /*break*/, 3];
|
|
13136
13174
|
case 2:
|
|
13137
|
-
error_1 =
|
|
13175
|
+
error_1 = _d.sent();
|
|
13138
13176
|
console.error('Error thumbprint get:', error_1);
|
|
13139
13177
|
return [3 /*break*/, 3];
|
|
13140
13178
|
case 3: return [2 /*return*/];
|
|
@@ -574,13 +574,18 @@ var history = Object.assign(browserHistory, {
|
|
|
574
574
|
});
|
|
575
575
|
var dayjs_min = createCommonjsModule(function (module, exports) {
|
|
576
576
|
!function (t, e) { module.exports = e(); }(commonjsGlobal, (function () { var t = 1e3, e = 6e4, n = 36e5, r = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", f = "month", h = "quarter", c = "year", d = "date", $ = "Invalid Date", l = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|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, M = { 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("_") }, m = function (t, e, n) { var r = String(t); return !r || r.length >= e ? t : "" + Array(e + 1 - r.length).join(n) + t; }, g = { s: m, z: function (t) { var e = -t.utcOffset(), n = Math.abs(e), r = Math.floor(n / 60), i = n % 60; return (e <= 0 ? "+" : "-") + m(r, 2, "0") + ":" + m(i, 2, "0"); }, m: function t(e, n) { if (e.date() < n.date())
|
|
577
|
-
return -t(n, e); var r = 12 * (n.year() - e.year()) + (n.month() - e.month()), i = e.clone().add(r, f), s = n - i < 0, u = e.clone().add(r + (s ? -1 : 1), f); return +(-(r + (n - 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: f, y: c, w: o, d: a, D: d, h: u, m: s, s: i, ms: r, Q: h }[t] || String(t || "").toLowerCase().replace(/s$/, ""); }, u: function (t) { return void 0 === t; } },
|
|
578
|
-
return
|
|
579
|
-
|
|
577
|
+
return -t(n, e); var r = 12 * (n.year() - e.year()) + (n.month() - e.month()), i = e.clone().add(r, f), s = n - i < 0, u = e.clone().add(r + (s ? -1 : 1), f); return +(-(r + (n - 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: f, y: c, w: o, d: a, D: d, h: u, m: s, s: i, ms: r, Q: h }[t] || String(t || "").toLowerCase().replace(/s$/, ""); }, u: function (t) { return void 0 === t; } }, v = "en", D = {}; D[v] = M; var p = function (t) { return t instanceof _; }, S = function t(e, n, r) { var i; if (!e)
|
|
578
|
+
return v; if ("string" == typeof e) {
|
|
579
|
+
var s = e.toLowerCase();
|
|
580
|
+
D[s] && (i = s), n && (D[s] = n, i = s);
|
|
581
|
+
var u = e.split("-");
|
|
582
|
+
if (!i && u.length > 1)
|
|
583
|
+
return t(u[0]);
|
|
584
|
+
}
|
|
580
585
|
else {
|
|
581
|
-
var
|
|
582
|
-
|
|
583
|
-
} return !
|
|
586
|
+
var a = e.name;
|
|
587
|
+
D[a] = e, i = a;
|
|
588
|
+
} return !r && i && (v = i), i || !r && v; }, w = function (t, e) { if (p(t))
|
|
584
589
|
return t.clone(); var n = "object" == typeof e ? e : {}; return n.date = t, n.args = arguments, new _(n); }, O = g; O.l = S, O.i = p, O.w = function (t, e) { return w(t, { locale: e.$L, utc: e.$u, x: e.$x, $offset: e.$offset }); }; var _ = function () { function M(t) { this.$L = S(t.locale, null, !0), this.parse(t); } var m = M.prototype; return m.parse = function (t) { this.$d = function (t) { var e = t.date, n = t.utc; if (null === e)
|
|
585
590
|
return new Date(NaN); if (O.u(e))
|
|
586
591
|
return new Date; if (e instanceof Date)
|
|
@@ -594,8 +599,8 @@ var dayjs_min = createCommonjsModule(function (module, exports) {
|
|
|
594
599
|
case c: return r ? $(1, 0) : $(31, 11);
|
|
595
600
|
case f: return r ? $(1, M) : $(0, M + 1);
|
|
596
601
|
case o:
|
|
597
|
-
var
|
|
598
|
-
return $(r ? m -
|
|
602
|
+
var v = this.$locale().weekStart || 0, D = (y < v ? y + 7 : y) - v;
|
|
603
|
+
return $(r ? m - D : m + (6 - D), M);
|
|
599
604
|
case a:
|
|
600
605
|
case d: return l(g + "Hours", 0);
|
|
601
606
|
case u: return l(g + "Minutes", 1);
|
|
@@ -612,8 +617,8 @@ var dayjs_min = createCommonjsModule(function (module, exports) {
|
|
|
612
617
|
return this.set(c, this.$y + r); if (l === a)
|
|
613
618
|
return y(1); if (l === o)
|
|
614
619
|
return y(7); var M = (d = {}, d[s] = e, d[u] = n, d[i] = t, d)[l] || 1, m = this.$d.getTime() + r * M; return O.w(m, this); }, m.subtract = function (t, e) { return this.add(-1 * t, e); }, m.format = function (t) { var e = this, n = this.$locale(); if (!this.isValid())
|
|
615
|
-
return n.invalidDate || $; var r = t || "YYYY-MM-DDTHH:mm:ssZ", i = O.z(this), s = this.$H, u = this.$m, a = this.$M, o = n.weekdays, f = n.months, h = function (t, n, i, s) { return t && (t[n] || t(e, r)) || i[n].substr(0, s); }, c = function (t) { return O.s(s % 12 || 12, t, "0"); }, d = n.meridiem || function (t, e, n) { var r = t < 12 ? "AM" : "PM"; return n ? r.toLowerCase() : r; }, l = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: a + 1, MM: O.s(a + 1, 2, "0"), MMM: h(n.monthsShort, a, f, 3), MMMM: h(f, a), D: this.$D, DD: O.s(this.$D, 2, "0"), d: String(this.$W), dd: h(n.weekdaysMin, this.$W, o, 2), ddd: h(n.weekdaysShort, this.$W, o, 3), dddd: o[this.$W], H: String(s), HH: O.s(s, 2, "0"), h: c(1), hh: c(2), a: d(s, u, !0), A: d(s, u, !1), m: String(u), mm: O.s(u, 2, "0"), s: String(this.$s), ss: O.s(this.$s, 2, "0"), SSS: O.s(this.$ms, 3, "0"), Z: i }; return r.replace(y, (function (t, e) { return e || l[t] || i.replace(":", ""); })); }, m.utcOffset = function () { return 15 * -Math.round(this.$d.getTimezoneOffset() / 15); }, m.diff = function (r, d, $) { var l, y = O.p(d), M = w(r), m = (M.utcOffset() - this.utcOffset()) * e, g = this - M,
|
|
616
|
-
return this.$L; var n = this.clone(), r = S(t, e, !0); return r && (n.$L = r), n; }, m.clone = function () { return O.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(); }, M; }(), b = _.prototype; return w.prototype = b, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", f], ["$y", c], ["$D", d]].forEach((function (t) { b[t[1]] = function (e) { return this.$g(e, t[0], t[1]); }; })), w.extend = function (t, e) { return t.$i || (t(e, _, w), t.$i = !0), w; }, w.locale = S, w.isDayjs = p, w.unix = function (t) { return w(1e3 * t); }, w.en = v
|
|
620
|
+
return n.invalidDate || $; var r = t || "YYYY-MM-DDTHH:mm:ssZ", i = O.z(this), s = this.$H, u = this.$m, a = this.$M, o = n.weekdays, f = n.months, h = function (t, n, i, s) { return t && (t[n] || t(e, r)) || i[n].substr(0, s); }, c = function (t) { return O.s(s % 12 || 12, t, "0"); }, d = n.meridiem || function (t, e, n) { var r = t < 12 ? "AM" : "PM"; return n ? r.toLowerCase() : r; }, l = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: a + 1, MM: O.s(a + 1, 2, "0"), MMM: h(n.monthsShort, a, f, 3), MMMM: h(f, a), D: this.$D, DD: O.s(this.$D, 2, "0"), d: String(this.$W), dd: h(n.weekdaysMin, this.$W, o, 2), ddd: h(n.weekdaysShort, this.$W, o, 3), dddd: o[this.$W], H: String(s), HH: O.s(s, 2, "0"), h: c(1), hh: c(2), a: d(s, u, !0), A: d(s, u, !1), m: String(u), mm: O.s(u, 2, "0"), s: String(this.$s), ss: O.s(this.$s, 2, "0"), SSS: O.s(this.$ms, 3, "0"), Z: i }; return r.replace(y, (function (t, e) { return e || l[t] || i.replace(":", ""); })); }, m.utcOffset = function () { return 15 * -Math.round(this.$d.getTimezoneOffset() / 15); }, m.diff = function (r, d, $) { var l, y = O.p(d), M = w(r), m = (M.utcOffset() - this.utcOffset()) * e, g = this - M, v = O.m(this, M); return v = (l = {}, l[c] = v / 12, l[f] = v, l[h] = v / 3, l[o] = (g - m) / 6048e5, l[a] = (g - m) / 864e5, l[u] = g / n, l[s] = g / e, l[i] = g / t, l)[y] || g, $ ? v : O.a(v); }, m.daysInMonth = function () { return this.endOf(f).$D; }, m.$locale = function () { return D[this.$L]; }, m.locale = function (t, e) { if (!t)
|
|
621
|
+
return this.$L; var n = this.clone(), r = S(t, e, !0); return r && (n.$L = r), n; }, m.clone = function () { return O.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(); }, M; }(), b = _.prototype; return w.prototype = b, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", f], ["$y", c], ["$D", d]].forEach((function (t) { b[t[1]] = function (e) { return this.$g(e, t[0], t[1]); }; })), w.extend = function (t, e) { return t.$i || (t(e, _, w), t.$i = !0), w; }, w.locale = S, w.isDayjs = p, w.unix = function (t) { return w(1e3 * t); }, w.en = D[v], w.Ls = D, w.p = {}, w; }));
|
|
617
622
|
});
|
|
618
623
|
/**
|
|
619
624
|
* @license
|
|
@@ -48,8 +48,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
import { h, r as registerInstance, H as Host, c as createEvent } from './index-5ef692cc.js';
|
|
51
|
-
import { A as AsnData, a as Attribute$1, i as index, b as id_pkcs9_at_extensionRequest, c as AsnParser, E as ExtensionRequest, d as Extension, e as AsnConvert, f as id_pkcs9_at_unstructuredName, U as UnstructuredName, g as id_pkcs9_at_challengePassword, C as ChallengePassword, h as id_ValuationRanking, V as ValuationRanking, j as id_InsuranceValue, I as InsuranceValue, k as id_WebGDPR, W as WebGDPR, l as id_ActivityDescription, m as ActivityDescription, n as id_TypeRelationship, T as TypeRelationship, o as id_DomainNameTechnicalOperator, D as DomainNameTechnicalOperator, p as id_DomainNameOwner, q as DomainNameOwner, r as id_DomainNameLegalRepresentative, s as DomainNameLegalRepresentative, t as id_DomainNameBeneficiary, u as DomainNameBeneficiary, v as certificateRawToBuffer, w as AttributeCertificate, x as getCertificateThumbprint, y as hexFormat, z as base64Format, B as CertificationRequest, N as Name, F as id_ecPublicKey, G as ECParameters, H as id_rsaEncryption, R as RSAPublicKey, O as OIDs, J as Name$1, K as OtherName, L as DisplayText, M as EDIPartyName, P as UserNotice, Q as KeyUsage, S as BasicConstraints, X as ExtendedKeyUsage, Y as SubjectKeyIdentifier, Z as AuthorityKeyIdentifier, _ as CRLDistributionPoints, $ as AuthorityInfoAccessSyntax, a0 as SubjectAlternativeName, a1 as CertificatePolicies, a2 as CertificateTransparency, a3 as NameConstraints, a4 as CertificateTemplate, a5 as EnrollCertTypeChoice, a6 as CaVersion, a7 as QCStatements, a8 as NetscapeComment, a9 as NetscapeCertType, aa as LeiRole, ab as LeiChoice, ac as Timestamp, ad as ArchiveRevInfo, ae as CRLReason, af as SubjectDirectoryAttributes, ag as PrivateKeyUsagePeriod, ah as EntrustVersionInfo, ai as BiometricSyntax, aj as LogotypeExtn, ak as TNAuthorizationList, al as Download, am as isPem, an as isX509Pem, ao as isPkcs10Pem, ap as isX509AttributePem, aq as X509Certificate } from './download-
|
|
52
|
-
import { d as dateDiff, l as l10n, a as dateShort, h as history } from './l10n-
|
|
51
|
+
import { A as AsnData, a as Attribute$1, i as index, b as id_pkcs9_at_extensionRequest, c as AsnParser, E as ExtensionRequest, d as Extension, e as AsnConvert, f as id_pkcs9_at_unstructuredName, U as UnstructuredName, g as id_pkcs9_at_challengePassword, C as ChallengePassword, h as id_ValuationRanking, V as ValuationRanking, j as id_InsuranceValue, I as InsuranceValue, k as id_WebGDPR, W as WebGDPR, l as id_ActivityDescription, m as ActivityDescription, n as id_TypeRelationship, T as TypeRelationship, o as id_DomainNameTechnicalOperator, D as DomainNameTechnicalOperator, p as id_DomainNameOwner, q as DomainNameOwner, r as id_DomainNameLegalRepresentative, s as DomainNameLegalRepresentative, t as id_DomainNameBeneficiary, u as DomainNameBeneficiary, v as certificateRawToBuffer, w as AttributeCertificate, x as getCertificateThumbprint, y as hexFormat, z as base64Format, B as CertificationRequest, N as Name, F as id_ecPublicKey, G as ECParameters, H as id_rsaEncryption, R as RSAPublicKey, O as OIDs, J as Name$1, K as OtherName, L as DisplayText, M as EDIPartyName, P as UserNotice, Q as KeyUsage, S as BasicConstraints, X as ExtendedKeyUsage, Y as SubjectKeyIdentifier, Z as AuthorityKeyIdentifier, _ as CRLDistributionPoints, $ as AuthorityInfoAccessSyntax, a0 as SubjectAlternativeName, a1 as CertificatePolicies, a2 as CertificateTransparency, a3 as NameConstraints, a4 as CertificateTemplate, a5 as EnrollCertTypeChoice, a6 as CaVersion, a7 as QCStatements, a8 as NetscapeComment, a9 as NetscapeCertType, aa as LeiRole, ab as LeiChoice, ac as Timestamp, ad as ArchiveRevInfo, ae as CRLReason, af as SubjectDirectoryAttributes, ag as PrivateKeyUsagePeriod, ah as EntrustVersionInfo, ai as BiometricSyntax, aj as LogotypeExtn, ak as TNAuthorizationList, al as Download, am as isPem, an as isX509Pem, ao as isPkcs10Pem, ap as isX509AttributePem, aq as X509Certificate } from './download-dea7e15e.js';
|
|
52
|
+
import { d as dateDiff, l as l10n, a as dateShort, h as history } from './l10n-6ab04c66.js';
|
|
53
53
|
/**
|
|
54
54
|
* @license
|
|
55
55
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
@@ -1396,6 +1396,16 @@ var Miscellaneous = function (props) {
|
|
|
1396
1396
|
}] }, l10n.getString('download.pem')))),
|
|
1397
1397
|
];
|
|
1398
1398
|
};
|
|
1399
|
+
/**
|
|
1400
|
+
* @license
|
|
1401
|
+
* Copyright (c) Peculiar Ventures, LLC.
|
|
1402
|
+
*
|
|
1403
|
+
* This source code is licensed under the MIT license found in the
|
|
1404
|
+
* LICENSE file in the root directory of this source tree.
|
|
1405
|
+
*/
|
|
1406
|
+
var getLEILink = function (lei) { return "https://search.gleif.org/#/record/" + lei; };
|
|
1407
|
+
var getDNSNameLink = function (dnsName) { return "https://search.censys.io/search?resource=hosts&q=dns.names%3A" + dnsName; };
|
|
1408
|
+
var getIPAddressLink = function (ipAddress) { return "https://search.censys.io/search?resource=hosts&q=ip%3A" + ipAddress; };
|
|
1399
1409
|
/**
|
|
1400
1410
|
* @license
|
|
1401
1411
|
* Copyright (c) Peculiar Ventures, LLC.
|
|
@@ -1514,18 +1524,6 @@ var AttributeCertificateViewer = /** @class */ (function () {
|
|
|
1514
1524
|
}
|
|
1515
1525
|
};
|
|
1516
1526
|
// eslint-disable-next-line class-methods-use-this
|
|
1517
|
-
class_1.prototype.getLEILink = function (value) {
|
|
1518
|
-
return "https://search.gleif.org/#/record/" + value;
|
|
1519
|
-
};
|
|
1520
|
-
// eslint-disable-next-line class-methods-use-this
|
|
1521
|
-
class_1.prototype.getDNSNameLink = function (value) {
|
|
1522
|
-
return "https://censys.io/ipv4?q=" + value;
|
|
1523
|
-
};
|
|
1524
|
-
// eslint-disable-next-line class-methods-use-this
|
|
1525
|
-
class_1.prototype.getIPAddressLink = function (value) {
|
|
1526
|
-
return "https://censys.io/ipv4?q=" + value;
|
|
1527
|
-
};
|
|
1528
|
-
// eslint-disable-next-line class-methods-use-this
|
|
1529
1527
|
class_1.prototype.renderErrorState = function () {
|
|
1530
1528
|
return (h("div", { class: "status_wrapper" }, h("peculiar-typography", { type: "b1", class: "interaction_text" }, "There was an error decoding this attribute certificate.")));
|
|
1531
1529
|
};
|
|
@@ -1540,7 +1538,7 @@ var AttributeCertificateViewer = /** @class */ (function () {
|
|
|
1540
1538
|
if (!this.certificateDecoded) {
|
|
1541
1539
|
return this.renderEmptyState();
|
|
1542
1540
|
}
|
|
1543
|
-
return (h(Host, null, h("table", null, h(BasicInformation, Object.assign({}, this.certificateDecoded)), h(Issuer, { issuer: this.certificateDecoded.issuer }), h(Holder, { holder: this.certificateDecoded.holder }), h(Signature, { signature: this.certificateDecoded.signature }), h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink:
|
|
1541
|
+
return (h(Host, null, h("table", null, h(BasicInformation, Object.assign({}, this.certificateDecoded)), h(Issuer, { issuer: this.certificateDecoded.issuer }), h(Holder, { holder: this.certificateDecoded.holder }), h(Signature, { signature: this.certificateDecoded.signature }), h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), h(Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (h(Miscellaneous, { certificate: this.certificateDecoded })))));
|
|
1544
1542
|
};
|
|
1545
1543
|
Object.defineProperty(class_1, "watchers", {
|
|
1546
1544
|
get: function () {
|
|
@@ -1906,18 +1904,6 @@ var CertificateViewer = /** @class */ (function () {
|
|
|
1906
1904
|
}
|
|
1907
1905
|
}
|
|
1908
1906
|
};
|
|
1909
|
-
// eslint-disable-next-line class-methods-use-this
|
|
1910
|
-
class_3.prototype.getLEILink = function (value) {
|
|
1911
|
-
return "https://search.gleif.org/#/record/" + value;
|
|
1912
|
-
};
|
|
1913
|
-
// eslint-disable-next-line class-methods-use-this
|
|
1914
|
-
class_3.prototype.getDNSNameLink = function (value) {
|
|
1915
|
-
return "https://censys.io/ipv4?q=" + value;
|
|
1916
|
-
};
|
|
1917
|
-
// eslint-disable-next-line class-methods-use-this
|
|
1918
|
-
class_3.prototype.getIPAddressLink = function (value) {
|
|
1919
|
-
return "https://censys.io/ipv4?q=" + value;
|
|
1920
|
-
};
|
|
1921
1907
|
class_3.prototype.getIssuerDnLink = function () {
|
|
1922
1908
|
return this.issuerDnLink;
|
|
1923
1909
|
};
|
|
@@ -1936,7 +1922,7 @@ var CertificateViewer = /** @class */ (function () {
|
|
|
1936
1922
|
if (!this.certificateDecoded) {
|
|
1937
1923
|
return this.renderEmptyState();
|
|
1938
1924
|
}
|
|
1939
|
-
return (h(Host, { "data-view": this.view }, h("table", null, h(BasicInformation, Object.assign({}, this.certificateDecoded)), h(SubjectName, { name: this.certificateDecoded.subject }), h(IssuerName, { name: this.certificateDecoded.issuer, issuerDnLink: this.getIssuerDnLink() }), h(PublicKey, { publicKey: this.certificateDecoded.publicKey }), h(Signature, { signature: this.certificateDecoded.signature }), h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), h(Extensions, { extensions: this.certificateDecoded.extensions, getLEILink:
|
|
1925
|
+
return (h(Host, { "data-view": this.view }, h("table", null, h(BasicInformation, Object.assign({}, this.certificateDecoded)), h(SubjectName, { name: this.certificateDecoded.subject }), h(IssuerName, { name: this.certificateDecoded.issuer, issuerDnLink: this.getIssuerDnLink() }), h(PublicKey, { publicKey: this.certificateDecoded.publicKey }), h(Signature, { signature: this.certificateDecoded.signature }), h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), h(Extensions, { extensions: this.certificateDecoded.extensions, getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (h(Miscellaneous, { certificate: this.certificateDecoded })))));
|
|
1940
1926
|
};
|
|
1941
1927
|
Object.defineProperty(class_3, "watchers", {
|
|
1942
1928
|
get: function () {
|
|
@@ -2021,18 +2007,6 @@ var CsrViewer = /** @class */ (function () {
|
|
|
2021
2007
|
}
|
|
2022
2008
|
};
|
|
2023
2009
|
// eslint-disable-next-line class-methods-use-this
|
|
2024
|
-
class_4.prototype.getLEILink = function (value) {
|
|
2025
|
-
return "https://search.gleif.org/#/record/" + value;
|
|
2026
|
-
};
|
|
2027
|
-
// eslint-disable-next-line class-methods-use-this
|
|
2028
|
-
class_4.prototype.getDNSNameLink = function (value) {
|
|
2029
|
-
return "https://censys.io/ipv4?q=" + value;
|
|
2030
|
-
};
|
|
2031
|
-
// eslint-disable-next-line class-methods-use-this
|
|
2032
|
-
class_4.prototype.getIPAddressLink = function (value) {
|
|
2033
|
-
return "https://censys.io/ipv4?q=" + value;
|
|
2034
|
-
};
|
|
2035
|
-
// eslint-disable-next-line class-methods-use-this
|
|
2036
2010
|
class_4.prototype.renderErrorState = function () {
|
|
2037
2011
|
return (h("div", { class: "status_wrapper" }, h("peculiar-typography", { type: "b1", class: "interaction_text" }, "There was an error decoding this certificate request.")));
|
|
2038
2012
|
};
|
|
@@ -2055,7 +2029,7 @@ var CsrViewer = /** @class */ (function () {
|
|
|
2055
2029
|
return this.renderEmptyState();
|
|
2056
2030
|
}
|
|
2057
2031
|
var extensionRequestAttribute = this.getExtensionRequestAttribute();
|
|
2058
|
-
return (h(Host, { "data-view": this.view }, h("table", null, h(BasicInformation, Object.assign({}, this.certificateDecoded)), h(SubjectName, { name: this.certificateDecoded.subject }), h(PublicKey, { publicKey: this.certificateDecoded.publicKey }), h(Signature, { signature: this.certificateDecoded.signature }), h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink:
|
|
2032
|
+
return (h(Host, { "data-view": this.view }, h("table", null, h(BasicInformation, Object.assign({}, this.certificateDecoded)), h(SubjectName, { name: this.certificateDecoded.subject }), h(PublicKey, { publicKey: this.certificateDecoded.publicKey }), h(Signature, { signature: this.certificateDecoded.signature }), h(Thumbprints, { thumbprints: this.certificateDecoded.thumbprints }), h(Attributes, { attributes: this.certificateDecoded.attributes, getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), h(Extensions, { extensions: extensionRequestAttribute === null || extensionRequestAttribute === void 0 ? void 0 : extensionRequestAttribute.value, title: "Extension Request", getLEILink: getLEILink, getDNSNameLink: getDNSNameLink, getIPAddressLink: getIPAddressLink, getAuthKeyIdParentLink: this.getAuthKeyIdParentLink, getAuthKeyIdSiblingsLink: this.getAuthKeyIdSiblingsLink, getSubjectKeyIdChildrenLink: this.getSubjectKeyIdChildrenLink, getSubjectKeyIdSiblingsLink: this.getSubjectKeyIdSiblingsLink }), this.download && (h(Miscellaneous, { certificate: this.certificateDecoded })))));
|
|
2059
2033
|
};
|
|
2060
2034
|
Object.defineProperty(class_4, "watchers", {
|
|
2061
2035
|
get: function () {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-5ef692cc.js';
|
|
2
|
-
import { l as l10n, a as dateShort } from './l10n-
|
|
2
|
+
import { l as l10n, a as dateShort } from './l10n-6ab04c66.js';
|
|
3
3
|
var certificateSummaryCss = ":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%}}";
|
|
4
4
|
var CertificateSummary = /** @class */ (function () {
|
|
5
5
|
function CertificateSummary(hostRef) {
|
|
@@ -35,8 +35,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-5ef692cc.js';
|
|
38
|
-
import { aq as X509Certificate, al as Download, O as OIDs } from './download-
|
|
39
|
-
import { l as l10n } from './l10n-
|
|
38
|
+
import { aq as X509Certificate, al as Download, O as OIDs } from './download-dea7e15e.js';
|
|
39
|
+
import { l as l10n } from './l10n-6ab04c66.js';
|
|
40
40
|
var certificatesViewerCss = ":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%;word-wrap:break-word;min-width:280px;overflow:auto;position:relative;background:white;background:rgba(var(--pv-color-light-rgb), 1)}table{width:100%;table-layout:fixed;border-collapse:collapse;border-spacing:0}table thead{background-color:rgba(53, 132, 247, 0.07);background-color:rgba(var(--pv-color-primary-rgb), 0.07)}table tr td{vertical-align:middle}table tbody tr:not(.expanded_summary){cursor:pointer}table tr{border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1)}table th{padding:15px 10px;border-width:1px;border-style:solid;border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1)}table td{padding:8px 10px;border-width:1px;border-style:solid;border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1)}table .col_issuer,table .col_name,table .col_public_key{width:16%}table .col_actions,table .col_tests{width:18%}table.m_extra .col_issuer,table.m_extra .col_name,table.m_extra .col_public_key{width:12%}table.m_extra .col_actions,table.m_extra .col_tests{width:17%}table tr.expanded td:not(:last-child){border-right-color:transparent}table tr.expanded td{border-bottom-color:transparent}.expanded{border-bottom-color:transparent;background-color:rgba(53, 132, 247, 0.04);background-color:rgba(var(--pv-color-primary-rgb), 0.04)}table tr.expanded_summary{background-color:rgba(53, 132, 247, 0.04);background-color:rgba(var(--pv-color-primary-rgb), 0.04)}table tr.expanded_summary td{vertical-align:top;padding:10px 20px 26px}@-webkit-keyframes fadeIn{0%{opacity:0.001}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0.001}100%{opacity:1}}.modal_wrapper{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1;overflow:auto;text-align:center;-webkit-animation:fadeIn 200ms;animation:fadeIn 200ms;padding:30px 10px}.modal_wrapper:before{display:inline-block;vertical-align:middle;width:0;height:100%;content:\"\"}.modal_backdrop{background:rgba(42, 49, 52, 0.5);background:rgba(var(--pv-color-dark-rgb), 0.5);z-index:-1;position:fixed;top:0;right:0;bottom:0;left:0}.modal_container{position:relative;display:inline-block;vertical-align:middle;width:100%;max-width:900px;text-align:left;border-radius:3px;overflow:hidden;background-color:white;background-color:rgba(var(--pv-color-light-rgb), 1);height:100%}.modal_title{background-color:rgba(53, 132, 247, 0.07);background-color:rgba(var(--pv-color-primary-rgb), 0.07);border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1);border-bottom-width:1px;border-bottom-style:solid;padding:20px 60px 16px 20px;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:60px}.modal_content{height:calc(100% - 60px);overflow-y:auto}.modal_close{cursor:pointer;border:none;background-color:transparent;position:absolute;top:0;bottom:0;right:0;padding:0 12px;-webkit-transition:opacity 100ms;transition:opacity 100ms;outline:none}.modal_close:hover{opacity:0.6}.modal_close svg{fill:#2a3134;fill:rgba(var(--pv-color-dark-rgb), 1)}.button_table_action{margin:2px}.mobile_title{display:none}.status_wrapper{height:85px;text-align:center;pointer-events:none}.search_section{background-color:rgba(53, 132, 247, 0.07);background-color:rgba(var(--pv-color-primary-rgb), 0.07);border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1);height:50px;padding:10px;border-width:1px 1px 0 1px;border-style:solid}.input_search{height:100%;width:100%;border-radius:3px;border-width:1px;border-style:solid;padding:0 14px;font-size:12px;outline:none;border-color:#d1d5d9;border-color:rgba(var(--pv-color-grey_3-rgb), 1);color:#2a3134;color:rgba(var(--pv-color-dark-rgb), 1)}.input_search::-moz-placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-rgb), 1)}.input_search:-ms-input-placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-rgb), 1)}.input_search::-webkit-input-placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-rgb), 1)}.input_search::-ms-input-placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-rgb), 1)}.input_search::placeholder{color:#d1d5d9;color:rgba(var(--pv-color-grey_3-rgb), 1)}.loading_container{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(42, 49, 52, 0.3);background:rgba(var(--pv-color-dark-rgb), 0.3);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.align_center{text-align:center}@media (hover: hover){table tbody tr:not(.expanded_summary):hover{background-color:rgba(53, 132, 247, 0.04);background-color:rgba(var(--pv-color-primary-rgb), 0.04)}}@media (max-width: 900px){table,tbody,tr,td{display:block}thead{display:none}tr{padding:0 15px;border-width:1px;border-style:solid}tr:not(:first-child){margin-top:-1px}tr:not(.expanded_summary) td:first-child{border:none !important}table td{padding-left:0;padding-right:0;border-width:1px 0 0 0 !important;border-color:rgba(209, 213, 217, 0.5);border-color:rgba(var(--pv-color-grey_3-rgb), 0.5)}table tr.expanded_summary td{padding:15px 0}.mobile_title{display:inline-block;width:90px;vertical-align:middle}.modal_title{padding:17px 60px 17px 15px}.content{display:inline-block;width:calc(100% - 90px);vertical-align:middle;text-align:left}.expanded_summary{border-top-color:transparent;padding-bottom:10px}.expanded_summary td:before{content:none}.status_wrapper{height:266px;display:table-cell}.search_section{height:60px;padding:15px}.align_center{text-align:inherit}}";
|
|
41
41
|
var CertificatesViewer = /** @class */ (function () {
|
|
42
42
|
function class_1(hostRef) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-9f815f76.system.js","./p-
|
|
1
|
+
System.register(["./p-9f815f76.system.js","./p-ee7045c5.system.js"],(function(t){"use strict";var r,e,i,s,o,a;return{setters:[function(t){r=t.r;e=t.h;i=t.H;s=t.g},function(t){o=t.l;a=t.a}],execute:function(){var n=":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%}}";var h=t("peculiar_certificate_summary",function(){function t(t){r(this,t);this.showIssuer=true}t.prototype.renderRow=function(t,r,i){return e("tr",null,e("td",null,e("peculiar-typography",{color:"grey_5"},t,":")),e("td",null,e("peculiar-typography",{class:"meta_value",monospace:i},r)))};t.prototype.render=function(){return e(i,null,e("table",null,e("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,true),this.renderRow(o.getString("version"),this.certificate.version),this.renderRow(o.getString("validity"),this.certificate.validity),this.renderRow(o.getString("issued"),a(this.certificate.notBefore)),this.renderRow(o.getString("expired"),a(this.certificate.notAfter)))))};return t}());h.style=n;var c=":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)}";var l=t("peculiar_circular_progress",function(){function t(t){r(this,t);this.size=24;this.width=4;this.box=50}t.prototype.render=function(){return e(i,null,e("div",{class:"circle_progress",style:{width:this.size+"px",height:this.size+"px"}},e("svg",{class:"circle_progress_svg",viewBox:"0 0 "+this.box+" "+this.box},e("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"}}),e("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"}}))))};return t}());l.style=c;var d=":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)}";var g=t("peculiar_highlight_words",function(){function t(t){r(this,t);this.tag="mark"}t.prototype.componentDidLoad=function(){this.handleHighlightSearch()};t.prototype.componentDidUpdate=function(){this.handleHighlightSearch()};t.prototype.handleHighlightSearch=function(){var t=this.resetHighlightSearch(this.host.innerHTML);var r=t;if(this.search){var e=new RegExp("("+this.search+")","gi");r=t.replace(e,"<"+this.tag+">$1</"+this.tag+">")}this.host.innerHTML=r};t.prototype.resetHighlightSearch=function(t){var r=new RegExp("</?"+this.tag+">","g");return t.replace(r,"")};t.prototype.render=function(){return e(i,null,e("slot",null))};Object.defineProperty(t.prototype,"host",{get:function(){return s(this)},enumerable:false,configurable:true});return t}());g.style=d}}}));
|